tocco-legacy-bundle 3.13.35 → 3.13.36
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/changelog.md +6 -0
- package/dist/chunk-544.706af9111f7a2b58b228.js +40 -0
- package/dist/chunk-599.801f6e87f8b21bdebd2b.js +1 -0
- package/dist/chunk-87.3a17ec1fde5460bf64f1.js +1 -0
- package/dist/{chunk-actions.99e81bf6987794dc1c41.js → chunk-actions.c633fadd4090c5f01a1b.js} +1 -1
- package/dist/docs-browser.js +1 -1
- package/dist/entity-browser.js +5 -5
- package/dist/input-edit.js +2 -2
- package/dist/login.js +1 -1
- package/dist/merge.js +1 -1
- package/dist/password-update.js +1 -1
- package/dist/resource-scheduler.js +1 -1
- package/dist/sso-login.js +1 -1
- package/dist/two-factor-connector.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-544.5680825413e77ca136b9.js +0 -40
- package/dist/chunk-599.a37a63189539a99b41c3.js +0 -1
- package/dist/chunk-87.3d4d1dd3a63b1b614117.js +0 -1
package/dist/entity-browser.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @license MIT
|
|
11
11
|
*/
|
|
12
|
-
function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var o;n.d(t,{AO:()=>d,G3:()=>Z,Gh:()=>L,HS:()=>F,Oi:()=>s,Rr:()=>p,TM:()=>c,VV:()=>z,aE:()=>re,pX:()=>G,pb:()=>R,rc:()=>o,sC:()=>a,tH:()=>W,ue:()=>g,yD:()=>M}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(e){void 0===e&&(e={});let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:i=!1}=e;t=n.map(((e,t)=>m(e,"string"==typeof e?null:e.state,0===t?"default":void 0)));let a=l(null==r?t.length-1:r),c=o.Pop,s=null;function l(e){return Math.min(Math.max(e,0),t.length-1)}function h(){return t[a]}function m(e,n,r){void 0===n&&(n=null);let o=f(t?h().pathname:"/",e,n,r);return u("/"===o.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),o}function v(e){return"string"==typeof e?e:d(e)}return{get index(){return a},get action(){return c},get location(){return h()},createHref:v,createURL:e=>new URL(v(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?p(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){c=o.Push;let r=m(e,n);a+=1,t.splice(a,t.length,r),i&&s&&s({action:c,location:r,delta:1})},replace(e,n){c=o.Replace;let r=m(e,n);t[a]=r,i&&s&&s({action:c,location:r,delta:0})},go(e){c=o.Pop;let n=l(a+e),r=t[n];a=n,s&&s({action:c,location:r,delta:e})},listen:e=>(s=e,()=>{s=null})}}function c(e){return void 0===e&&(e={}),h((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=p(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),f("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:d(t))}),(function(e,t){u("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function s(e,t){if(!1===e||null==e)throw new Error(t)}function u(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function l(e,t){return{usr:e.state,key:e.key,idx:t}}function f(e,t,n,o){return void 0===n&&(n=null),r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:n,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function p(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function h(e,t,n,a){void 0===a&&(a={});let{window:c=document.defaultView,v5Compat:u=!1}=a,p=c.history,h=o.Pop,m=null,v=y();function y(){return(p.state||{idx:null}).idx}function g(){h=o.Pop;let e=y(),t=null==e?null:e-v;v=e,m&&m({action:h,location:w.location,delta:t})}function b(e){let t="null"!==c.location.origin?c.location.origin:c.location.href,n="string"==typeof e?e:d(e);return n=n.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==v&&(v=0,p.replaceState(r({},p.state,{idx:v}),""));let w={get action(){return h},get location(){return e(c,p)},listen(e){if(m)throw new Error("A history only accepts one active listener");return c.addEventListener(i,g),m=e,()=>{c.removeEventListener(i,g),m=null}},createHref:e=>t(c,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=o.Push;let r=f(w.location,e,t);n&&n(r,e),v=y()+1;let i=l(r,v),a=w.createHref(r);try{p.pushState(i,"",a)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;c.location.assign(a)}u&&m&&m({action:h,location:w.location,delta:1})},replace:function(e,t){h=o.Replace;let r=f(w.location,e,t);n&&n(r,e),v=y();let i=l(r,v),a=w.createHref(r);p.replaceState(i,"",a),u&&m&&m({action:h,location:w.location,delta:0})},go:e=>p.go(e)};return w}var m;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(m||(m={}));const v=new Set(["lazy","caseSensitive","path","id","index","children"]);function y(e,t,n,o){return void 0===n&&(n=[]),void 0===o&&(o={}),e.map(((e,i)=>{let a=[...n,String(i)],c="string"==typeof e.id?e.id:a.join("-");if(s(!0!==e.index||!e.children,"Cannot specify children on an index route"),s(!o[c],'Found a route id collision on id "'+c+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=r({},e,t(e),{id:c});return o[c]=n,n}{let n=r({},e,t(e),{id:c,children:void 0});return o[c]=n,e.children&&(n.children=y(e.children,t,a,o)),n}}))}function g(e,t,n){return void 0===n&&(n="/"),b(e,t,n,!1)}function b(e,t,n,r){let o=R(("string"==typeof t?p(t):t).pathname||"/",n);if(null==o)return null;let i=w(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e<i.length;++e){let t=D(o);a=C(i[e],t,r)}return a}function w(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let o=(e,o,i)=>{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let c=F([r,a.relativePath]),u=n.concat(a);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+c+'".'),w(e.children,t,u,c)),(null!=e.path||e.index)&&t.push({path:c,score:P(c,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of x(e.path))o(e,t,n);else o(e,t)})),t}function x(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=x(r.join("/")),c=[];return c.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&c.push(...a),c.map((t=>e.startsWith("/")&&""===t?"/":t))}const A=/^:[\w-]+$/,O=3,E=2,S=1,k=10,j=-2,T=e=>"*"===e;function P(e,t){let n=e.split("/"),r=n.length;return n.some(T)&&(r+=j),t&&(r+=E),n.filter((e=>!T(e))).reduce(((e,t)=>e+(A.test(t)?O:""===t?S:k)),r)}function C(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,o={},i="/",a=[];for(let e=0;e<r.length;++e){let c=r[e],s=e===r.length-1,u="/"===i?t:t.slice(i.length)||"/",l=_({path:c.relativePath,caseSensitive:c.caseSensitive,end:s},u),f=c.route;if(!l&&s&&n&&!r[r.length-1].route.index&&(l=_({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},u)),!l)return null;Object.assign(o,l.params),a.push({params:o,pathname:F([i,l.pathname]),pathnameBase:H(F([i,l.pathnameBase])),route:f}),"/"!==l.pathnameBase&&(i=F([i,l.pathnameBase]))}return a}function _(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);u("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),c=o.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=c[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const s=c[n];return e[r]=o&&!s?void 0:(s||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function D(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return u(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function R(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function N(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function I(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function M(e,t){let n=I(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function L(e,t,n,o){let i;void 0===o&&(o=!1),"string"==typeof e?i=p(e):(i=r({},e),s(!i.pathname||!i.pathname.includes("?"),N("?","pathname","search",i)),s(!i.pathname||!i.pathname.includes("#"),N("#","pathname","hash",i)),s(!i.search||!i.search.includes("#"),N("#","search","hash",i)));let a,c=""===e||""===i.pathname,u=c?"/":i.pathname;if(null==u)a=n;else{let e=t.length-1;if(!o&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof e?p(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:B(r),hash:U(o)}}(i,a),f=u&&"/"!==u&&u.endsWith("/"),d=(c||"."===u)&&n.endsWith("/");return l.pathname.endsWith("/")||!f&&!d||(l.pathname+="/"),l}const F=e=>e.join("/").replace(/\/\/+/g,"/"),H=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),B=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",U=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class W extends Error{}class z{constructor(e,t,n,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function G(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const Y=["post","put","patch","delete"],q=new Set(Y),V=["get",...Y],$=new Set(V),K=new Set([301,302,303,307,308]),J=new Set([307,308]),X={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Q={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Z={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},ee=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,te=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),ne="remix-router-transitions";function re(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,i=!n;let a;if(s(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;a=e=>({hasErrorBoundary:t(e)})}else a=te;let c,l,d,p={},h=y(e.routes,a,void 0,p),v=e.basename||"/",w=e.dataStrategy||pe,x=e.patchRoutesOnNavigation,A=r({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),O=null,E=new Set,S=null,k=null,j=null,T=null!=e.hydrationData,P=g(h,e.history.location,v),C=null;if(null==P&&!x){let t=je(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=ke(h);P=n,C={[r.id]:t}}if(P&&!e.hydrationData){st(P,h,e.history.location.pathname).active&&(P=null)}if(P)if(P.some((e=>e.route.lazy)))l=!1;else if(P.some((e=>e.route.loader)))if(A.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=P.findIndex((e=>void 0!==n[e.route.id]));l=P.slice(0,e+1).every((e=>!se(e.route,t,n)))}else l=P.every((e=>!se(e.route,t,n)))}else l=null!=e.hydrationData;else l=!0;else if(l=!1,P=[],A.v7_partialHydration){let t=st(null,h,e.history.location.pathname);t.active&&t.matches&&(P=t.matches)}let _,D,N={historyAction:e.history.action,location:e.history.location,matches:P,initialized:l,navigation:X,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||C,fetchers:new Map,blockers:new Map},I=o.Pop,M=!1,L=!1,F=new Map,H=null,B=!1,U=!1,W=[],z=new Set,Y=new Map,q=0,V=-1,$=new Map,K=new Set,re=new Map,ae=new Map,ue=new Set,le=new Map,de=new Map;function be(e,t){void 0===t&&(t={}),N=r({},N,e);let n=[],o=[];A.v7_fetcherPersist&&N.fetchers.forEach(((e,t)=>{"idle"===e.state&&(ue.has(t)?o.push(t):n.push(t))})),[...E].forEach((e=>e(N,{deletedFetchers:o,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync}))),A.v7_fetcherPersist&&(n.forEach((e=>N.fetchers.delete(e))),o.forEach((e=>Je(e))))}function we(t,n,i){var a,s;let u,{flushSync:l}=void 0===i?{}:i,f=null!=N.actionData&&null!=N.navigation.formMethod&&Le(N.navigation.formMethod)&&"loading"===N.navigation.state&&!0!==(null==(a=t.state)?void 0:a._isRedirect);u=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:f?N.actionData:null;let d=n.loaderData?Oe(N.loaderData,n.loaderData,n.matches||[],n.errors):N.loaderData,p=N.blockers;p.size>0&&(p=new Map(p),p.forEach(((e,t)=>p.set(t,Z))));let m,v=!0===M||null!=N.navigation.formMethod&&Le(N.navigation.formMethod)&&!0!==(null==(s=t.state)?void 0:s._isRedirect);if(c&&(h=c,c=void 0),B||I===o.Pop||(I===o.Push?e.history.push(t,t.state):I===o.Replace&&e.history.replace(t,t.state)),I===o.Pop){let e=F.get(N.location.pathname);e&&e.has(t.pathname)?m={currentLocation:N.location,nextLocation:t}:F.has(t.pathname)&&(m={currentLocation:t,nextLocation:N.location})}else if(L){let e=F.get(N.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),F.set(N.location.pathname,e)),m={currentLocation:N.location,nextLocation:t}}be(r({},n,{actionData:u,loaderData:d,historyAction:I,location:t,initialized:!0,navigation:X,revalidation:"idle",restoreScrollPosition:ct(t,n.matches||N.matches),preventScrollReset:v,blockers:p}),{viewTransitionOpts:m,flushSync:!0===l}),I=o.Pop,M=!1,L=!1,B=!1,U=!1,W=[]}async function xe(t,n,i){_&&_.abort(),_=null,I=t,B=!0===(i&&i.startUninterruptedRevalidation),function(e,t){if(S&&j){let n=at(e,t);S[n]=j()}}(N.location,N.matches),M=!0===(i&&i.preventScrollReset),L=!0===(i&&i.enableViewTransition);let a=c||h,s=i&&i.overrideNavigation,u=g(a,n,v),l=!0===(i&&i.flushSync),f=st(u,a,n.pathname);if(f.active&&f.matches&&(u=f.matches),!u){let{error:e,notFoundMatches:t,route:r}=ot(n.pathname);return void we(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:l})}if(N.initialized&&!U&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(N.location,n)&&!(i&&i.submission&&Le(i.submission.formMethod)))return void we(n,{matches:u},{flushSync:l});_=new AbortController;let d,p=ge(e.history,n,_.signal,i&&i.submission);if(i&&i.pendingError)d=[Se(u).route.id,{type:m.error,error:i.pendingError}];else if(i&&i.submission&&Le(i.submission.formMethod)){let t=await async function(e,t,n,r,i,a){void 0===a&&(a={});Ue();let c,s=function(e,t){let n={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return n}(t,n);if(be({navigation:s},{flushSync:!0===a.flushSync}),i){let n=await ut(r,t.pathname,e.signal);if("aborted"===n.type)return{shortCircuited:!0};if("error"===n.type){let e=Se(n.partialMatches).route.id;return{matches:n.partialMatches,pendingActionResult:[e,{type:m.error,error:n.error}]}}if(!n.matches){let{notFoundMatches:e,error:n,route:r}=ot(t.pathname);return{matches:e,pendingActionResult:[r.id,{type:m.error,error:n}]}}r=n.matches}let u=We(r,t);if(u.route.action||u.route.lazy){if(c=(await Ie("action",N,e,[u],r,null))[u.route.id],e.signal.aborted)return{shortCircuited:!0}}else c={type:m.error,error:je(405,{method:e.method,pathname:t.pathname,routeId:u.route.id})};if(Re(c)){let t;if(a&&null!=a.replace)t=a.replace;else{t=ye(c.response.headers.get("Location"),new URL(e.url),v)===N.location.pathname+N.location.search}return await Ne(e,c,!0,{submission:n,replace:t}),{shortCircuited:!0}}if(_e(c))throw je(400,{type:"defer-action"});if(De(c)){let e=Se(r,u.route.id);return!0!==(a&&a.replace)&&(I=o.Push),{matches:r,pendingActionResult:[e.route.id,c]}}return{matches:r,pendingActionResult:[u.route.id,c]}}(p,n,i.submission,u,f.active,{replace:i.replace,flushSync:l});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(De(r)&&G(r.error)&&404===r.error.status)return _=null,void we(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}u=t.matches||u,d=t.pendingActionResult,s=Ge(n,i.submission),l=!1,f.active=!1,p=ge(e.history,p.url,p.signal)}let{shortCircuited:y,matches:b,loaderData:w,errors:x}=await async function(t,n,o,i,a,s,u,l,f,d,p){let m=a||Ge(n,s),y=s||u||ze(m),g=!(B||A.v7_partialHydration&&f);if(i){if(g){let e=Pe(p);be(r({navigation:m},void 0!==e?{actionData:e}:{}),{flushSync:d})}let e=await ut(o,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=Se(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=ot(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}o=e.matches}let b=c||h,[w,x]=ce(e.history,N,o,y,n,A.v7_partialHydration&&!0===f,A.v7_skipActionErrorRevalidation,U,W,z,ue,re,K,b,v,p);if(it((e=>!(o&&o.some((t=>t.route.id===e)))||w&&w.some((t=>t.route.id===e)))),V=++q,0===w.length&&0===x.length){let e=Ze();return we(n,r({matches:o,loaderData:{},errors:p&&De(p[1])?{[p[0]]:p[1].error}:null},Ee(p),e?{fetchers:new Map(N.fetchers)}:{}),{flushSync:d}),{shortCircuited:!0}}if(g){let e={};if(!i){e.navigation=m;let t=Pe(p);void 0!==t&&(e.actionData=t)}x.length>0&&(e.fetchers=function(e){return e.forEach((e=>{let t=N.fetchers.get(e.key),n=Ye(void 0,t?t.data:void 0);N.fetchers.set(e.key,n)})),new Map(N.fetchers)}(x)),be(e,{flushSync:d})}x.forEach((e=>{Xe(e.key),e.controller&&Y.set(e.key,e.controller)}));let O=()=>x.forEach((e=>Xe(e.key)));_&&_.signal.addEventListener("abort",O);let{loaderResults:E,fetcherResults:S}=await Me(N,o,w,x,t);if(t.signal.aborted)return{shortCircuited:!0};_&&_.signal.removeEventListener("abort",O);x.forEach((e=>Y.delete(e.key)));let k=Te(E);if(k)return await Ne(t,k.result,!0,{replace:l}),{shortCircuited:!0};if(k=Te(S),k)return K.add(k.key),await Ne(t,k.result,!0,{replace:l}),{shortCircuited:!0};let{loaderData:j,errors:T}=Ae(N,o,E,p,x,S,le);le.forEach(((e,t)=>{e.subscribe((n=>{(n||e.done)&&le.delete(t)}))})),A.v7_partialHydration&&f&&N.errors&&(T=r({},N.errors,T));let P=Ze(),C=et(V),D=P||C||x.length>0;return r({matches:o,loaderData:j,errors:T},D?{fetchers:new Map(N.fetchers)}:{})}(p,n,u,f.active,s,i&&i.submission,i&&i.fetcherSubmission,i&&i.replace,i&&!0===i.initialHydration,l,d);y||(_=null,we(n,r({matches:b||u},Ee(d),{loaderData:w,errors:x})))}function Pe(e){return e&&!De(e[1])?{[e[0]]:e[1].data}:N.actionData?0===Object.keys(N.actionData).length?null:N.actionData:void 0}async function Ne(i,a,c,u){let{submission:l,fetcherSubmission:d,preventScrollReset:p,replace:h}=void 0===u?{}:u;a.response.headers.has("X-Remix-Revalidate")&&(U=!0);let m=a.response.headers.get("Location");s(m,"Expected a Location header on the redirect Response"),m=ye(m,new URL(i.url),v);let y=f(N.location,m,{_isRedirect:!0});if(n){let n=!1;if(a.response.headers.has("X-Remix-Reload-Document"))n=!0;else if(ee.test(m)){const r=e.history.createURL(m);n=r.origin!==t.location.origin||null==R(r.pathname,v)}if(n)return void(h?t.location.replace(m):t.location.assign(m))}_=null;let g=!0===h||a.response.headers.has("X-Remix-Replace")?o.Replace:o.Push,{formMethod:b,formAction:w,formEncType:x}=N.navigation;!l&&!d&&b&&w&&x&&(l=ze(N.navigation));let A=l||d;if(J.has(a.response.status)&&A&&Le(A.formMethod))await xe(g,y,{submission:r({},A,{formAction:m}),preventScrollReset:p||M,enableViewTransition:c?L:void 0});else{let e=Ge(y,l);await xe(g,y,{overrideNavigation:e,fetcherSubmission:d,preventScrollReset:p||M,enableViewTransition:c?L:void 0})}}async function Ie(e,t,n,r,o,i){let c,s={};try{c=await he(w,e,t,n,r,o,i,p,a)}catch(e){return r.forEach((t=>{s[t.route.id]={type:m.error,error:e}})),s}for(let[e,t]of Object.entries(c))if(Ce(t)){let r=t.result;s[e]={type:m.redirect,response:ve(r,n,e,o,v,A.v7_relativeSplatPath)}}else s[e]=await me(t);return s}async function Me(t,n,r,o,i){let a=t.matches,c=Ie("loader",t,i,r,n,null),s=Promise.all(o.map((async n=>{if(n.matches&&n.match&&n.controller){let r=(await Ie("loader",t,ge(e.history,n.path,n.controller.signal),[n.match],n.matches,n.key))[n.match.route.id];return{[n.key]:r}}return Promise.resolve({[n.key]:{type:m.error,error:je(404,{pathname:n.path})}})}))),u=await c,l=(await s).reduce(((e,t)=>Object.assign(e,t)),{});return await Promise.all([Fe(n,u,i.signal,a,t.loaderData),He(n,l,o)]),{loaderResults:u,fetcherResults:l}}function Ue(){U=!0,W.push(...it()),re.forEach(((e,t)=>{Y.has(t)&&z.add(t),Xe(t)}))}function Ve(e,t,n){void 0===n&&(n={}),N.fetchers.set(e,t),be({fetchers:new Map(N.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function $e(e,t,n,r){void 0===r&&(r={});let o=Se(N.matches,t);Je(e),be({errors:{[o.route.id]:n},fetchers:new Map(N.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Ke(e){return A.v7_fetcherPersist&&(ae.set(e,(ae.get(e)||0)+1),ue.has(e)&&ue.delete(e)),N.fetchers.get(e)||Q}function Je(e){let t=N.fetchers.get(e);!Y.has(e)||t&&"loading"===t.state&&$.has(e)||Xe(e),re.delete(e),$.delete(e),K.delete(e),ue.delete(e),z.delete(e),N.fetchers.delete(e)}function Xe(e){let t=Y.get(e);t&&(t.abort(),Y.delete(e))}function Qe(e){for(let t of e){let e=qe(Ke(t).data);N.fetchers.set(t,e)}}function Ze(){let e=[],t=!1;for(let n of K){let r=N.fetchers.get(n);s(r,"Expected fetcher: "+n),"loading"===r.state&&(K.delete(n),e.push(n),t=!0)}return Qe(e),t}function et(e){let t=[];for(let[n,r]of $)if(r<e){let e=N.fetchers.get(n);s(e,"Expected fetcher: "+n),"loading"===e.state&&(Xe(n),$.delete(n),t.push(n))}return Qe(t),t.length>0}function tt(e){N.blockers.delete(e),de.delete(e)}function nt(e,t){let n=N.blockers.get(e)||Z;s("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);let r=new Map(N.blockers);r.set(e,t),be({blockers:r})}function rt(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(0===de.size)return;de.size>1&&u(!1,"A router only supports one blocker at a time");let o=Array.from(de.entries()),[i,a]=o[o.length-1],c=N.blockers.get(i);return c&&"proceeding"===c.state?void 0:a({currentLocation:t,nextLocation:n,historyAction:r})?i:void 0}function ot(e){let t=je(404,{pathname:e}),n=c||h,{matches:r,route:o}=ke(n);return it(),{notFoundMatches:r,route:o,error:t}}function it(e){let t=[];return le.forEach(((n,r)=>{e&&!e(r)||(n.cancel(),t.push(r),le.delete(r))})),t}function at(e,t){if(k){return k(e,t.map((e=>function(e,t){let{route:n,pathname:r,params:o}=e;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}(e,N.loaderData))))||e.key}return e.key}function ct(e,t){if(S){let n=at(e,t),r=S[n];if("number"==typeof r)return r}return null}function st(e,t,n){if(x){if(!e){return{active:!0,matches:b(t,n,v,!0)||[]}}if(Object.keys(e[0].params).length>0){return{active:!0,matches:b(t,n,v,!0)}}}return{active:!1,matches:null}}async function ut(e,t,n){if(!x)return{type:"success",matches:e};let r=e;for(;;){let e=null==c,o=c||h,i=p;try{await x({path:t,matches:r,patch:(e,t)=>{n.aborted||fe(e,t,o,i,a)}})}catch(e){return{type:"error",error:e,partialMatches:r}}finally{e&&!n.aborted&&(h=[...h])}if(n.aborted)return{type:"aborted"};let s=g(o,t,v);if(s)return{type:"success",matches:s};let u=b(o,t,v,!0);if(!u||r.length===u.length&&r.every(((e,t)=>e.route.id===u[t].route.id)))return{type:"success",matches:null};r=u}}return d={get basename(){return v},get future(){return A},get state(){return N},get routes(){return h},get window(){return t},initialize:function(){if(O=e.history.listen((t=>{let{action:n,location:r,delta:o}=t;if(D)return D(),void(D=void 0);u(0===de.size||null!=o,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let i=rt({currentLocation:N.location,nextLocation:r,historyAction:n});if(i&&null!=o){let t=new Promise((e=>{D=e}));return e.history.go(-1*o),void nt(i,{state:"blocked",location:r,proceed(){nt(i,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),t.then((()=>e.history.go(o)))},reset(){let e=new Map(N.blockers);e.set(i,Z),be({blockers:e})}})}return xe(n,r)})),n){!function(e,t){try{let n=e.sessionStorage.getItem(ne);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(e){}}(t,F);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(ne,JSON.stringify(n))}catch(e){u(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,F);t.addEventListener("pagehide",e),H=()=>t.removeEventListener("pagehide",e)}return N.initialized||xe(o.Pop,N.location,{initialHydration:!0}),d},subscribe:function(e){return E.add(e),()=>E.delete(e)},enableScrollRestoration:function(e,t,n){if(S=e,j=t,k=n||null,!T&&N.navigation===X){T=!0;let e=ct(N.location,N.matches);null!=e&&be({restoreScrollPosition:e})}return()=>{S=null,j=null,k=null}},navigate:async function t(n,i){if("number"==typeof n)return void e.history.go(n);let a=oe(N.location,N.matches,v,A.v7_prependBasename,n,A.v7_relativeSplatPath,null==i?void 0:i.fromRouteId,null==i?void 0:i.relative),{path:c,submission:s,error:u}=ie(A.v7_normalizeFormMethod,!1,a,i),l=N.location,d=f(N.location,c,i&&i.state);d=r({},d,e.history.encodeLocation(d));let p=i&&null!=i.replace?i.replace:void 0,h=o.Push;!0===p?h=o.Replace:!1===p||null!=s&&Le(s.formMethod)&&s.formAction===N.location.pathname+N.location.search&&(h=o.Replace);let m=i&&"preventScrollReset"in i?!0===i.preventScrollReset:void 0,y=!0===(i&&i.flushSync),g=rt({currentLocation:l,nextLocation:d,historyAction:h});if(!g)return await xe(h,d,{submission:s,pendingError:u,preventScrollReset:m,replace:i&&i.replace,enableViewTransition:i&&i.viewTransition,flushSync:y});nt(g,{state:"blocked",location:d,proceed(){nt(g,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),t(n,i)},reset(){let e=new Map(N.blockers);e.set(g,Z),be({blockers:e})}})},fetch:function(t,n,r,o){if(i)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Xe(t);let a=!0===(o&&o.flushSync),u=c||h,l=oe(N.location,N.matches,v,A.v7_prependBasename,r,A.v7_relativeSplatPath,n,null==o?void 0:o.relative),f=g(u,l,v),d=st(f,u,l);if(d.active&&d.matches&&(f=d.matches),!f)return void $e(t,n,je(404,{pathname:l}),{flushSync:a});let{path:p,submission:m,error:y}=ie(A.v7_normalizeFormMethod,!0,l,o);if(y)return void $e(t,n,y,{flushSync:a});let b=We(f,p),w=!0===(o&&o.preventScrollReset);m&&Le(m.formMethod)?async function(t,n,r,o,i,a,u,l,f){function d(e){if(!e.route.action&&!e.route.lazy){let e=je(405,{method:f.formMethod,pathname:r,routeId:n});return $e(t,n,e,{flushSync:u}),!0}return!1}if(Ue(),re.delete(t),!a&&d(o))return;let p=N.fetchers.get(t);Ve(t,function(e,t){let n={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return n}(f,p),{flushSync:u});let m=new AbortController,y=ge(e.history,r,m.signal,f);if(a){let e=await ut(i,r,y.signal);if("aborted"===e.type)return;if("error"===e.type)return void $e(t,n,e.error,{flushSync:u});if(!e.matches)return void $e(t,n,je(404,{pathname:r}),{flushSync:u});if(d(o=We(i=e.matches,r)))return}Y.set(t,m);let b=q,w=await Ie("action",N,y,[o],i,t),x=w[o.route.id];if(y.signal.aborted)return void(Y.get(t)===m&&Y.delete(t));if(A.v7_fetcherPersist&&ue.has(t)){if(Re(x)||De(x))return void Ve(t,qe(void 0))}else{if(Re(x))return Y.delete(t),V>b?void Ve(t,qe(void 0)):(K.add(t),Ve(t,Ye(f)),Ne(y,x,!1,{fetcherSubmission:f,preventScrollReset:l}));if(De(x))return void $e(t,n,x.error)}if(_e(x))throw je(400,{type:"defer-action"});let O=N.navigation.location||N.location,E=ge(e.history,O,m.signal),S=c||h,k="idle"!==N.navigation.state?g(S,N.navigation.location,v):N.matches;s(k,"Didn't find any matches after fetcher action");let j=++q;$.set(t,j);let T=Ye(f,x.data);N.fetchers.set(t,T);let[P,C]=ce(e.history,N,k,f,O,!1,A.v7_skipActionErrorRevalidation,U,W,z,ue,re,K,S,v,[o.route.id,x]);C.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,n=N.fetchers.get(t),r=Ye(void 0,n?n.data:void 0);N.fetchers.set(t,r),Xe(t),e.controller&&Y.set(t,e.controller)})),be({fetchers:new Map(N.fetchers)});let D=()=>C.forEach((e=>Xe(e.key)));m.signal.addEventListener("abort",D);let{loaderResults:R,fetcherResults:M}=await Me(N,k,P,C,E);if(m.signal.aborted)return;m.signal.removeEventListener("abort",D),$.delete(t),Y.delete(t),C.forEach((e=>Y.delete(e.key)));let L=Te(R);if(L)return Ne(E,L.result,!1,{preventScrollReset:l});if(L=Te(M),L)return K.add(L.key),Ne(E,L.result,!1,{preventScrollReset:l});let{loaderData:F,errors:H}=Ae(N,k,R,void 0,C,M,le);if(N.fetchers.has(t)){let e=qe(x.data);N.fetchers.set(t,e)}et(j),"loading"===N.navigation.state&&j>V?(s(I,"Expected pending action"),_&&_.abort(),we(N.navigation.location,{matches:k,loaderData:F,errors:H,fetchers:new Map(N.fetchers)})):(be({errors:H,loaderData:Oe(N.loaderData,F,k,H),fetchers:new Map(N.fetchers)}),U=!1)}(t,n,p,b,f,d.active,a,w,m):(re.set(t,{routeId:n,path:p}),async function(t,n,r,o,i,a,c,u,l){let f=N.fetchers.get(t);Ve(t,Ye(l,f?f.data:void 0),{flushSync:c});let d=new AbortController,p=ge(e.history,r,d.signal);if(a){let e=await ut(i,r,p.signal);if("aborted"===e.type)return;if("error"===e.type)return void $e(t,n,e.error,{flushSync:c});if(!e.matches)return void $e(t,n,je(404,{pathname:r}),{flushSync:c});o=We(i=e.matches,r)}Y.set(t,d);let h=q,m=await Ie("loader",N,p,[o],i,t),v=m[o.route.id];_e(v)&&(v=await Be(v,p.signal,!0)||v);Y.get(t)===d&&Y.delete(t);if(p.signal.aborted)return;if(ue.has(t))return void Ve(t,qe(void 0));if(Re(v))return V>h?void Ve(t,qe(void 0)):(K.add(t),void await Ne(p,v,!1,{preventScrollReset:u}));if(De(v))return void $e(t,n,v.error);s(!_e(v),"Unhandled fetcher deferred data"),Ve(t,qe(v.data))}(t,n,p,b,f,d.active,a,w,m))},revalidate:function(){Ue(),be({revalidation:"loading"}),"submitting"!==N.navigation.state&&("idle"!==N.navigation.state?xe(I||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation,enableViewTransition:!0===L}):xe(N.historyAction,N.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Ke,deleteFetcher:function(e){if(A.v7_fetcherPersist){let t=(ae.get(e)||0)-1;t<=0?(ae.delete(e),ue.add(e)):ae.set(e,t)}else Je(e);be({fetchers:new Map(N.fetchers)})},dispose:function(){O&&O(),H&&H(),E.clear(),_&&_.abort(),N.fetchers.forEach(((e,t)=>Je(t))),N.blockers.forEach(((e,t)=>tt(t)))},getBlocker:function(e,t){let n=N.blockers.get(e)||Z;return de.get(e)!==t&&de.set(e,t),n},deleteBlocker:tt,patchRoutes:function(e,t){let n=null==c;fe(e,t,c||h,p,a),n&&(h=[...h],be({}))},_internalFetchControllers:Y,_internalActiveDeferreds:le,_internalSetRoutes:function(e){p={},c=y(e,a,void 0,p)}},d}Symbol("deferred");function oe(e,t,n,r,o,i,a,c){let s,u;if(a){s=[];for(let e of t)if(s.push(e),e.route.id===a){u=e;break}}else s=t,u=t[t.length-1];let l=L(o||".",M(s,i),R(e.pathname,n)||e.pathname,"path"===c);if(null==o&&(l.search=e.search,l.hash=e.hash),(null==o||""===o||"."===o)&&u){let e=Ue(l.search);if(u.route.index&&!e)l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&e){let e=new URLSearchParams(l.search),t=e.getAll("index");e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let n=e.toString();l.search=n?"?"+n:""}}return r&&"/"!==n&&(l.pathname="/"===l.pathname?n:F([n,l.pathname])),d(l)}function ie(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!Me(r.formMethod))return{path:n,error:je(405,{method:r.formMethod})};let o,i,a=()=>({path:n,error:je(400,{type:"invalid-body"})}),c=r.formMethod||"get",u=e?c.toUpperCase():c.toLowerCase(),l=Pe(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!Le(u))return a();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce(((e,t)=>{let[n,r]=t;return""+e+n+"="+r+"\n"}),""):String(r.body);return{path:n,submission:{formMethod:u,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!Le(u))return a();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:u,formAction:l,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return a()}}}if(s("function"==typeof FormData,"FormData is not available in this environment"),r.formData)o=be(r.formData),i=r.formData;else if(r.body instanceof FormData)o=be(r.body),i=r.body;else if(r.body instanceof URLSearchParams)o=r.body,i=we(o);else if(null==r.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(r.body),i=we(o)}catch(e){return a()}let f={formMethod:u,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(Le(f.formMethod))return{path:n,submission:f};let h=p(n);return t&&h.search&&Ue(h.search)&&o.append("index",""),h.search="?"+o,{path:d(h),submission:f}}function ae(e,t,n){void 0===n&&(n=!1);let r=e.findIndex((e=>e.route.id===t));return r>=0?e.slice(0,n?r+1:r):e}function ce(e,t,n,o,i,a,c,s,u,l,f,d,p,h,m,v){let y=v?De(v[1])?v[1].error:v[1].data:void 0,b=e.createURL(t.location),w=e.createURL(i),x=n;a&&t.errors?x=ae(n,Object.keys(t.errors)[0],!0):v&&De(v[1])&&(x=ae(n,v[0]));let A=v?v[1].statusCode:void 0,O=c&&A&&A>=400,E=x.filter(((e,n)=>{let{route:i}=e;if(i.lazy)return!0;if(null==i.loader)return!1;if(a)return se(i,t.loaderData,t.errors);if(function(e,t,n){let r=!t||n.route.id!==t.route.id,o=void 0===e[n.route.id];return r||o}(t.loaderData,t.matches[n],e)||u.some((t=>t===e.route.id)))return!0;let c=t.matches[n],l=e;return le(e,r({currentUrl:b,currentParams:c.params,nextUrl:w,nextParams:l.params},o,{actionResult:y,actionStatus:A,defaultShouldRevalidate:!O&&(s||b.pathname+b.search===w.pathname+w.search||b.search!==w.search||ue(c,l))}))})),S=[];return d.forEach(((e,i)=>{if(a||!n.some((t=>t.route.id===e.routeId))||f.has(i))return;let c=g(h,e.path,m);if(!c)return void S.push({key:i,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let u=t.fetchers.get(i),d=We(c,e.path),v=!1;p.has(i)?v=!1:l.has(i)?(l.delete(i),v=!0):v=u&&"idle"!==u.state&&void 0===u.data?s:le(d,r({currentUrl:b,currentParams:t.matches[t.matches.length-1].params,nextUrl:w,nextParams:n[n.length-1].params},o,{actionResult:y,actionStatus:A,defaultShouldRevalidate:!O&&s})),v&&S.push({key:i,routeId:e.routeId,path:e.path,matches:c,match:d,controller:new AbortController})})),[E,S]}function se(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=null!=t&&void 0!==t[e.id],o=null!=n&&void 0!==n[e.id];return!(!r&&o)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!o)}function ue(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function le(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function fe(e,t,n,r,o){var i;let a;if(e){let t=r[e];s(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),a=t.children}else a=n;let c=y(t.filter((e=>!a.some((t=>de(e,t))))),o,[e||"_","patch",String((null==(i=a)?void 0:i.length)||"0")],r);a.push(...c)}function de(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every(((e,n)=>{var r;return null==(r=t.children)?void 0:r.some((t=>de(e,t)))})))}async function pe(e){let{matches:t}=e,n=t.filter((e=>e.shouldLoad));return(await Promise.all(n.map((e=>e.resolve())))).reduce(((e,t,r)=>Object.assign(e,{[n[r].route.id]:t})),{})}async function he(e,t,n,o,i,a,c,l,f,d){let p=a.map((e=>e.route.lazy?async function(e,t,n){if(!e.lazy)return;let o=await e.lazy();if(!e.lazy)return;let i=n[e.id];s(i,"No route found in manifest");let a={};for(let e in o){let t=void 0!==i[e]&&"hasErrorBoundary"!==e;u(!t,'Route "'+i.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||v.has(e)||(a[e]=o[e])}Object.assign(i,a),Object.assign(i,r({},t(i),{lazy:void 0}))}(e.route,f,l):void 0)),h=a.map(((e,n)=>{let a=p[n],c=i.some((t=>t.route.id===e.route.id));return r({},e,{shouldLoad:c,resolve:async n=>(n&&"GET"===o.method&&(e.route.lazy||e.route.loader)&&(c=!0),c?async function(e,t,n,r,o,i){let a,c,u=r=>{let a,s=new Promise(((e,t)=>a=t));c=()=>a(),t.signal.addEventListener("abort",c);let u=o=>"function"!=typeof r?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+n.route.id+"]")):r({request:t,params:n.params,context:i},...void 0!==o?[o]:[]),l=(async()=>{try{return{type:"data",result:await(o?o((e=>u(e))):u())}}catch(e){return{type:"error",result:e}}})();return Promise.race([l,s])};try{let o=n.route[e];if(r)if(o){let e,[t]=await Promise.all([u(o).catch((t=>{e=t})),r]);if(void 0!==e)throw e;a=t}else{if(await r,o=n.route[e],!o){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw je(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:m.data,result:void 0}}a=await u(o)}else{if(!o){let e=new URL(t.url);throw je(404,{pathname:e.pathname+e.search})}a=await u(o)}s(void 0!==a.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:m.error,result:e}}finally{c&&t.signal.removeEventListener("abort",c)}return a}(t,o,e,a,n,d):Promise.resolve({type:m.data,result:void 0}))})})),y=await e({matches:h,request:o,params:a[0].params,fetcherKey:c,context:d});try{await Promise.all(p)}catch(e){}return y}async function me(e){let{result:t,type:n}=e;if(Ie(t)){let e;try{let n=t.headers.get("Content-Type");e=n&&/\bapplication\/json\b/.test(n)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:m.error,error:e}}return n===m.error?{type:m.error,error:new z(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:m.data,data:e,statusCode:t.status,headers:t.headers}}if(n===m.error){if(Ne(t)){var r,o;if(t.data instanceof Error)return{type:m.error,error:t.data,statusCode:null==(o=t.init)?void 0:o.status};t=new z((null==(r=t.init)?void 0:r.status)||500,void 0,t.data)}return{type:m.error,error:t,statusCode:G(t)?t.status:void 0}}var i,a,c,s;return function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(t)?{type:m.deferred,deferredData:t,statusCode:null==(i=t.init)?void 0:i.status,headers:(null==(a=t.init)?void 0:a.headers)&&new Headers(t.init.headers)}:Ne(t)?{type:m.data,data:t.data,statusCode:null==(c=t.init)?void 0:c.status,headers:null!=(s=t.init)&&s.headers?new Headers(t.init.headers):void 0}:{type:m.data,data:t}}function ve(e,t,n,r,o,i){let a=e.headers.get("Location");if(s(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!ee.test(a)){let c=r.slice(0,r.findIndex((e=>e.route.id===n))+1);a=oe(new URL(t.url),c,o,!0,a,i),e.headers.set("Location",a)}return e}function ye(e,t,n){if(ee.test(e)){let r=e,o=r.startsWith("//")?new URL(t.protocol+r):new URL(r),i=null!=R(o.pathname,n);if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function ge(e,t,n,r){let o=e.createURL(Pe(t)).toString(),i={signal:n};if(r&&Le(r.formMethod)){let{formMethod:e,formEncType:t}=r;i.method=e.toUpperCase(),"application/json"===t?(i.headers=new Headers({"Content-Type":t}),i.body=JSON.stringify(r.json)):"text/plain"===t?i.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?i.body=be(r.formData):i.body=r.formData}return new Request(o,i)}function be(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function we(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function xe(e,t,n,r,o){let i,a={},c=null,u=!1,l={},f=n&&De(n[1])?n[1].error:void 0;return e.forEach((n=>{if(!(n.route.id in t))return;let d=n.route.id,p=t[d];if(s(!Re(p),"Cannot handle redirect results in processLoaderData"),De(p)){let t=p.error;if(void 0!==f&&(t=f,f=void 0),c=c||{},o)c[d]=t;else{let n=Se(e,d);null==c[n.route.id]&&(c[n.route.id]=t)}a[d]=void 0,u||(u=!0,i=G(p.error)?p.error.status:500),p.headers&&(l[d]=p.headers)}else _e(p)?(r.set(d,p.deferredData),a[d]=p.deferredData.data,null==p.statusCode||200===p.statusCode||u||(i=p.statusCode),p.headers&&(l[d]=p.headers)):(a[d]=p.data,p.statusCode&&200!==p.statusCode&&!u&&(i=p.statusCode),p.headers&&(l[d]=p.headers))})),void 0!==f&&n&&(c={[n[0]]:f},a[n[0]]=void 0),{loaderData:a,errors:c,statusCode:i||200,loaderHeaders:l}}function Ae(e,t,n,o,i,a,c){let{loaderData:u,errors:l}=xe(t,n,o,c,!1);return i.forEach((t=>{let{key:n,match:o,controller:i}=t,c=a[n];if(s(c,"Did not find corresponding fetcher result"),!i||!i.signal.aborted)if(De(c)){let t=Se(e.matches,null==o?void 0:o.route.id);l&&l[t.route.id]||(l=r({},l,{[t.route.id]:c.error})),e.fetchers.delete(n)}else if(Re(c))s(!1,"Unhandled fetcher revalidation redirect");else if(_e(c))s(!1,"Unhandled fetcher deferred data");else{let t=qe(c.data);e.fetchers.set(n,t)}})),{loaderData:u,errors:l}}function Oe(e,t,n,o){let i=r({},t);for(let r of n){let n=r.route.id;if(t.hasOwnProperty(n)?void 0!==t[n]&&(i[n]=t[n]):void 0!==e[n]&&r.route.loader&&(i[n]=e[n]),o&&o.hasOwnProperty(n))break}return i}function Ee(e){return e?De(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Se(e,t){return(t?e.slice(0,e.findIndex((e=>e.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function ke(e){let t=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function je(e,t){let{pathname:n,routeId:r,method:o,type:i,message:a}=void 0===t?{}:t,c="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(c="Bad Request",o&&n&&r?s="You made a "+o+' request to "'+n+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===i?s="defer() is not supported in actions":"invalid-body"===i&&(s="Unable to encode submission body")):403===e?(c="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):404===e?(c="Not Found",s='No route matches URL "'+n+'"'):405===e&&(c="Method Not Allowed",o&&n&&r?s="You made a "+o.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':o&&(s='Invalid request method "'+o.toUpperCase()+'"')),new z(e||500,c,new Error(s),!0)}function Te(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(Re(r))return{key:n,result:r}}}function Pe(e){return d(r({},"string"==typeof e?p(e):e,{hash:""}))}function Ce(e){return Ie(e.result)&&K.has(e.result.status)}function _e(e){return e.type===m.deferred}function De(e){return e.type===m.error}function Re(e){return(e&&e.type)===m.redirect}function Ne(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function Ie(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function Me(e){return $.has(e.toLowerCase())}function Le(e){return q.has(e.toLowerCase())}async function Fe(e,t,n,r,o){let i=Object.entries(t);for(let a=0;a<i.length;a++){let[c,s]=i[a],u=e.find((e=>(null==e?void 0:e.route.id)===c));if(!u)continue;let l=r.find((e=>e.route.id===u.route.id)),f=null!=l&&!ue(l,u)&&void 0!==(o&&o[u.route.id]);_e(s)&&f&&await Be(s,n,!1).then((e=>{e&&(t[c]=e)}))}}async function He(e,t,n){for(let r=0;r<n.length;r++){let{key:o,routeId:i,controller:a}=n[r],c=t[o];e.find((e=>(null==e?void 0:e.route.id)===i))&&(_e(c)&&(s(a,"Expected an AbortController for revalidating fetcher deferred result"),await Be(c,a.signal,!0).then((e=>{e&&(t[o]=e)}))))}}async function Be(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:m.data,data:e.deferredData.unwrappedData}}catch(e){return{type:m.error,error:e}}return{type:m.data,data:e.deferredData.data}}}function Ue(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function We(e,t){let n="string"==typeof t?p(t).search:t.search;if(e[e.length-1].route.index&&Ue(n||""))return e[e.length-1];let r=I(e);return r[r.length-1]}function ze(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:a}=e;if(t&&n&&r)return null!=o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function Ge(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ye(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function qe(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}},9455:(e,t)=>{"use strict";t.A=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0}},70139:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(86554),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return null};e.sagaMiddleware.run(r.Ay,t)}},90388:(e,t,n)=>{"use strict";n.d(t,{LS:()=>o,Wu:()=>i,f3:()=>r,nm:()=>a});var r="EMIT_ACTION",o="DISPATCH_EMITTED_ACTION",i=function(e){return{type:r,payload:{action:e}}},a=function(e){return{type:o,payload:{action:e}}}},88951:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(70139),o=n(90388);const i={emitAction:o.Wu,dispatchEmittedAction:o.nm,addToStore:r.Y}},86554:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(90388),c=o().mark(s);function s(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.Q7)([(0,i.jP)(a.f3,u,e),(0,i.jP)(a.LS,l)]);case 2:case"end":return t.stop()}}),c)}function u(e,t){var n=t.payload;return o().mark((function t(){var r,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.action,t.next=3,(0,i.Lt)(e);case 3:if(!(a=t.sent)){t.next=7;break}return t.next=7,(0,i.T1)(a,r);case 7:case"end":return t.stop()}}),t)}))()}function l(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.action,e.next=3,(0,i.yJ)(n);case 3:case"end":return e.stop()}}),e)}))()}},57416:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Object.freeze({ACTION:"action",REPORT:"report",ACTION_GROUP:"action-group",ACTION_BAR:"action-bar"})},93360:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r,o=n(39892),i=n.n(o),a=n(26396),c=n.n(a),s=n(4883),u=n(71468),l=n(88208),f=n(19461),d=n(38159),p=n(88951),h=n(77582),m=n(80064),v=n(74848),y=["appId","fetchActionPackages","actionPackages","customActionEventHandlers"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w=function(){return r||(r=(0,v.jsx)(l.A,{}))};const x=function(e){var t={emitAction:function(e){return p.A.dispatchEmittedAction(e)},fetchActionPackages:m.qk};return(0,u.Ng)((function(e){return{actionPackages:e.dynamicActions.actionPackages}}),t)((function(t){var n=t.appId,r=t.fetchActionPackages,o=t.actionPackages,a=t.customActionEventHandlers,c=void 0===a?{}:a,u=i()(t,y),l=null!=o;if((0,s.useEffect)((function(){l||r()}),[r,l]),!l)return w();var p=e[n]||function(e){if(!e)return null;var t=e.packageName,n=e.appName;return function(e){return(0,v.jsx)(h.A,b(b(b({},e),d.A.asInputProps()),{},{packageName:t,appName:n}))}}(function(e,t){var n=e?e.filter((function(e){return e.appName===t})):null;return n&&n.length>0?n[0]:null}(o,n));return p?(0,v.jsx)(s.Suspense,{fallback:w(),children:(0,v.jsx)(p,b(b({appId:n},u),c[n]))}):(f.A.logError("no action found with id: ".concat(n)),null)}))}},12859:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Object.freeze({CUSTOM:"custom",SIMPLE:"simple",REPORT:"report",DIVIDER:"divider",LEGACY:"legacy"})},89347:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,v:()=>o});var r=n(57416),o=function(e){return!!e&&Object.values(r.A).indexOf(e)>=0},i=function(e,t){return!e||!t||t.includes(e)}},97313:(e,t,n)=>{"use strict";n.d(t,{A:()=>f,G:()=>d});var r=n(14672),o=n(29056),i=n(59042),a=n(18994),c=n(69679),s=n(49235),u=n(62150),l=n(17623);const f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return{}};e.sagaMiddleware.run(r.A.autoRestartSaga(l.A,t,i.A.logError)),o.A.injectReducers(e,{actions:a.A}),e.sagaMiddleware.run(c.Ay)};var d=function(e){o.A.injectReducers(e,{dynamicActions:s.A}),e.sagaMiddleware.run(u.A)}},11063:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(26396),o=n.n(r),i=n(90179),a=n.n(i),c=n(4883),s=n(57416),u=n(89347),l=n(18614),f=n(51360),d=n(77311),p=n(74848);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=e.definition,n=e.onClick,r=e.selection,o=e.parent,i=e.mode,h=e.callback,m=e.disabled,v=e.customRenderedActions,y=e.actionConditions,g=e.addActionCondition;if((0,c.useEffect)((function(){var e=(0,l.x)(t);"ID"===r.type&&1===r.ids.length&&e.length>0&&e.forEach((function(e){return g(r.ids[0],e)}))}),[t,r,g]),!(0,l.a)(t,r,y))return null;if(v&&v[t.id])return v[t.id](t);if(!(0,u.L)(i,t.scopes))return null;var b=t.componentType===s.A.ACTION_GROUP?f.A:d.A;return(0,p.jsx)(b,{definition:t,onClick:function(e){n(a()(e,["label"]),r,o,h)},disabled:m,actionConditions:y,selection:r,selectedCount:r.count})};const y=function(e){return e.definition.componentType===s.A.ACTION_BAR?e.definition.children.map((function(t){return(0,p.jsx)(v,m(m({},e),{},{definition:t}),"action-".concat(e.definition.id,"-").concat(t.id))})):(0,p.jsx)(v,m({},e))}},51360:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(26396),o=n.n(r),i=n(38798),a=n(73621),c=n(64116),s=n(94674),u=n(18614),l=n(77699),f=n(42941),d=n(74848),p=n(4883);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t,n=e.onClick,r=e.definition,o=e.intl,i=e.index,s=e.actionConditions,h=e.selection,y=h.count;if(!(0,u.a)(r,h,s))return null;var g=(0,l.r)(y,r),b=!0===r.readonly||!g,w=(0,l.A)(y,r,o),x="action-group"===r.componentType,A=x?r.icon:void 0,O=null===(t=r.children)||void 0===t||null===(t=t.map((function(t){return v(m(m({},e),{},{definition:t}))})))||void 0===t?void 0:t.filter((function(e){return e}));return"action-group"===r.componentType&&0===O.length?null:(0,p.createElement)(a.A,m(m({},!x&&!b&&{onClick:function(){return n(r)}}),{},{disabled:b,title:w,key:"MenuItem-".concat(r.id,"-").concat(i),"data-cy":"menuitem-".concat(r.id)}),(0,d.jsxs)("span",{children:[A&&(0,d.jsx)(f.M,{children:(0,d.jsx)(c.A,{icon:A})}),r.label]}),"action-group"===r.componentType&&O)};const y=(0,i.Ay)((function(e){var t=e.definition,n=e.onClick,r=t.defaultAction&&Object.keys(t.defaultAction).length>0,o=r?t.defaultAction.label:t.label,i=r?function(){n(t.defaultAction)}:null,a=r?t.defaultAction.id:t.id,c=t.children.map((function(t,n){return v(m(m({},e),{},{index:n,definition:t}))})).filter((function(e){return e}));return 0===c.length?null:(0,d.jsx)(s.A,{buttonProps:{look:"raised"},label:o,"data-cy":"btn-action-".concat(a),onClick:i,icon:t.icon,children:c})}))},77582:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(26396),i=n.n(o),a=n(39892),c=n.n(a),s=n(51510),u=n(88208),l=n(96668),f=n(74848),d=["packageName","appName","theme"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const h=(0,s.SL)((function(e){var t=e.packageName,n=e.appName,o=e.theme,a=c()(e,d),s=l.A.useBundledApp({packageName:t,appName:n});return s?(0,f.jsx)(s,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({customTheme:o},a)):r||(r=(0,f.jsx)(u.A,{}))}))},89862:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(22056),s=n.n(c),u=n(4883),l=n(38798),f=n(38466),d=n(78350),p=n(36301),h=n(74848);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const y=(0,l.Ay)((function(e){var t,n,r=e.settingsDefinition,i=e.formApp,a=e.onSubmit,c=e.listApp,l=e.docsApp,m=e.intl,y=null===(t=r.customSettings)||void 0===t?void 0:t.entity,g=(0,u.useState)({valid:!1,customSettingsValid:!y}),b=s()(g,2),w=b[0],x=b[1],A=(0,d.WC)(r,m),O=y?r.customSettings.form.form:void 0,E=(0,u.useMemo)((function(){return(0,f.A)(i)}),[i]);return(0,h.jsx)(p.n,{children:(0,h.jsx)(E,{listApp:c,docsApp:l,form:O?v(v({},A),{},{children:[].concat(o()(A.children),o()(O.children))}):A,onChange:function(e){var t=e.values,n=e.valid;x((function(e){return v(v({},e),{},{values:t,valid:n})}))},submitText:(n="client.common.report.generate",m.formatMessage({id:n})),onSubmit:function(){var e=y?(0,d.W9)(O,w.values):{},t=v(v({},(0,d.vN)(r,(0,d.bl)(w.values))),{},{customSettings:e});a(t)},mode:"create",labelPosition:"inside"})})}))},77311:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(26396),o=n.n(r),i=n(38798),a=n(62764),c=n(77699),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const f=(0,i.Ay)((function(e){var t,n=e.definition,r=e.onClick,o=e.selectedCount,i=e.disabled,u=e.intl,f=function(e){return!("NO"===e.useLabel||"HIDE"===e.useLabel)},d=!0===n.readonly||!(0,c.r)(o,n)||i,p=n.label&&f(n)?n.label:"",h=(0,c.A)(o,n,u)||(f(n)?"":n.label),m="ICON"===n.buttonType,v="TEXT"===n.buttonType,y=null===(t=n.buttonStyle)||void 0===t?void 0:t.toLowerCase(),g="REGULAR"===n.buttonType?l({look:"raised"},"paper"===y?{}:{ink:y}):{look:m||v?"flat":"raised",withoutBackground:m||v};return(0,s.jsx)(a.A,l({iconOnly:m,removePadding:v,"data-cy":"btn-action-".concat(n.id),onClick:function(e){r(n),e.stopPropagation()},icon:n.icon,label:p,title:h,disabled:d},g))}))},42941:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166),s=a.Ay.span.withConfig({displayName:"StyledActionGroupIcon"})(r||(r=i()(["\n margin-right: ",";\n"])),c.A.space(-1.9))},36301:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166),s=a.Ay.div.withConfig({displayName:"StyledReportSettings"})(r||(r=i()(["\n margin-bottom: ",";\n\n && {\n > div:first-of-type {\n margin-bottom: 10px;\n }\n }\n"])),c.A.space(1))},18614:(e,t,n)=>{"use strict";n.d(t,{a:()=>u,x:()=>s});var r=n(58156),o=n.n(r),i=n(63375),a=n.n(i),c=n(4642),s=function(e){var t,n=[e.conditionName];return(null===(t=e.children)||void 0===t?void 0:t.length)>0&&e.children.flatMap((function(e){return s(e)})).forEach((function(e){return n.push(e)})),a()(n.filter((function(e){return(null==e?void 0:e.length)>0})))},u=function(e,t,n){if(e.conditionName)if("ID"===t.type&&1===t.ids.length){if(!o()(n,[e.conditionName,t.ids[0]],!1))return!1}else c.A.logError("Action conditions are only allowed for ID selections of a single entity");return!0}},77699:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,r:()=>r});var r=function(e,t){var n=t.minSelection,r=t.maxSelection;return!(i(e,n)||a(e,r))},o=function(e,t,n){var r=t.minSelection,o=t.maxSelection;return i(e,r)?n.formatMessage({id:"client.component.actions.notEnoughSelected"},{minSelection:r}):a(e,o)?n.formatMessage({id:"client.component.actions.tooManySelected"},{maxSelection:o}):null},i=function(e,t){return t&&e<t},a=function(e,t){return t&&e>t}},61524:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(71468),o=n(11063),i=n(27493),a=n(58189),c={onClick:i.actionInvoke,addActionCondition:a.nY};const s=(0,r.Ng)((function(e,t){return{actionConditions:e.actions.actionConditions}}),c)(o.A)},38466:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(71468),o=n(88951),i={emitAction:function(e){return o.A.dispatchEmittedAction(e)}};const a=(0,r.Ng)(null,i)},13128:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(93360),o=n(89347),i=n(12859),a=n(97313),c=n(61524),s=n(27493),u=n(58189),l=n(53716);const f={isAction:o.v,Action:c.A,actionFactory:r.A,actionTypes:i.A,addToStore:a.A,dynamicActionsAddToStore:a.G,actions:s,getSingleEntitySelection:l.Q,reevaluateActionCondition:u.cw}},29939:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var r=n(92207),o=n.n(r),i=n(32742),a=n(90167),c=n(19461),s=n(94727),u=n(72942),l=n(74848),f=o().mark(p),d=o().mark(g);function p(e,t,n,r,i){var s;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!e.appId){o.next=21;break}if(!e.fullscreen){o.next=11;break}if(!i.customActions||!i.customActions.fullscreen){o.next=7;break}return o.next=5,(0,a.T1)(v,{definition:e,selection:t,config:i});case 5:o.next=9;break;case 7:return o.next=9,(0,a.T1)(c.A.logError,"Unable to render custom action: No fullscreen handler provided");case 9:o.next=19;break;case 11:if(!i.appComponent){o.next=17;break}return o.next=14,(0,a.T1)(m,{definition:e,config:i,selection:t});case 14:case 25:return o.abrupt("return",o.sent);case 17:return o.next=19,(0,a.T1)(c.A.logError,"Unable to render custom action: No appComponent provided");case 19:o.next=30;break;case 21:if(!(s=i&&i.customActions&&i.customActions[e.id])){o.next=28;break}return o.next=25,(0,a.T1)(y,{definition:e,selection:t,parent:n,params:r,config:i,handler:s});case 28:return o.next=30,(0,a.T1)(c.A.logError,"Unable to load custom action with id ".concat(e.id));case 30:case"end":return o.stop()}}),f)}var h={OK:"ok",NOT_OK:"not_ok",CANCEL:"cancel"};function m(e){var t=e.definition,n=e.selection,r=e.config;return o().mark((function e(){var c,f,d,p,m,v,y;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.T1)(i.Ix);case 2:return c=e.sent,e.next=5,(0,a.Lt)(s.A.localeSelector);case 5:return f=e.sent,d=r.appComponent,e.next=9,(0,a.yJ)(u.A.modal("action-".concat(t.appId),"client.actions.".concat(t.appId,".title"),null,(function(e){var o=e.close;return(0,l.jsx)(d,{appId:t.appId,context:r.context,actionProperties:t.properties,selection:n,navigationStrategy:r.navigationStrategy||{},locale:f,onSuccess:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=e.message,r=e.remoteEvents;o(),c.put({status:h.OK,title:t,message:n,remoteEvents:r})},onError:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=e.message;o(),c.put({status:h.NOT_OK,title:t,message:n})},onCancel:function(){o(),c.put({status:h.CANCEL})},customActionEventHandlers:r.customActionEventHandlers})}),!0));case 9:return e.next=11,(0,a.s)(c);case 11:if((p=e.sent).status!==h.CANCEL){e.next=14;break}return e.abrupt("return",null);case 14:if(m=p.status===h.OK,null===p.title){e.next=20;break}return v=m?"success":"error",y=p.title||m?"client.component.actions.successDefault":"client.component.actions.errorText",e.next=20,(0,a.yJ)(u.A.toaster({type:v,title:y,body:p.message}));case 20:return e.abrupt("return",{success:m,remoteEvents:p.remoteEvents});case 21:case"end":return e.stop()}}),e)}))()}function v(e){var t=e.definition,n=e.selection,r=e.config;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.T1)(r.customActions.fullscreen,t,n);case 2:case"end":return e.stop()}}),e)}))()}function y(e){var t=e.definition,n=e.selection,r=e.config,c=e.parent,s=e.params,u=e.handler;return o().mark((function e(){var l,f,d,p;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.T1)(i.Ix);case 2:return l=e.sent,f=function(e){var t=e.title,n=e.message,r=e.remoteEvents;l.put({status:h.OK,title:t,message:n,remoteEvents:r})},d=function(e){var t=e.title,n=e.message;l.put({status:h.NOT_OK,title:t,message:n})},p=function(){l.put({status:h.CANCEL})},e.next=8,(0,a.T1)(u,t,n,c,s,r,f,d,p);case 8:return e.next=10,(0,a.T1)(g,l);case 10:return e.abrupt("return",e.sent);case 11:case"end":return e.stop()}}),e)}))()}function g(e){var t,n,r,i;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,a.s)(e);case 2:if((t=o.sent).status!==h.CANCEL){o.next=5;break}return o.abrupt("return",null);case 5:if(n=t.status===h.OK,!t.title){o.next=11;break}return r=n?"success":"error",i="default"===t.title?"client.component.actions.successDefault":t.title,o.next=11,(0,a.yJ)(u.A.toaster({type:r,title:i,body:t.message}));case 11:return o.abrupt("return",{success:n,remoteEvents:t.remoteEvents});case 12:case"end":return o.stop()}}),d)}},28192:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(12859),a=n(29939),c=n(5659),s=n(37560),u=n(76950);const l=o()(o()(o()(o()({},i.A.SIMPLE,u.Ay),i.A.REPORT,s.Ay),i.A.CUSTOM,a.Ay),i.A.LEGACY,c.Ay)},5659:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>X});var r=n(22056),o=n.n(r),i=n(26396),a=n.n(i),c=n(92207),s=n.n(c),u=n(11331),l=n.n(u),f=n(32742),d=n(90167),p=n(18242),h=n(72942),m=n(87774),v=n(57327);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=s().mark(I),w=s().mark(F),x=s().mark(H),A=s().mark(B),O=s().mark(U),E=s().mark(W),S=s().mark(z),k=s().mark(K),j=s().mark(J),T=s().mark(X);function P(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return C(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var _=["Single selection only, aborting...","Nothing selected, aborting..."],D=["Folder","Resource"],R=function(e){return new Promise((function(t,n){var r=document.createElement("script");r.src=e,r.onload=t,r.onerror=n,document.head.appendChild(r)}))},N=function(e){return new Promise((function(t,n){var r=document.getElementsByTagName("head")[0],o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.href=e,o.media="all",o.onload=t,o.onerror=n,r.appendChild(o)}))};function I(e){var t,n,r,o,i,a,c;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return t=window.legacyActionEnv||"new",s.next=3,(0,d.T1)(p.A.getLongTermMetaInfo);case 3:if(n=s.sent,r=n.revision,o=r){s.next=10;break}return s.next=9,(0,d.T1)(v.A.fetchServerRevision);case 9:o=s.sent;case 10:i=P(e),s.prev=11,i.s();case 13:if((a=i.n()).done){s.next=20;break}if(!(c=a.value).envs.includes(t)){s.next=18;break}return s.next=18,(0,d.T1)(c.handler,"".concat(c.src,"?v=").concat(o));case 18:s.next=13;break;case 20:s.next=25;break;case 22:s.prev=22,s.t0=s.catch(11),i.e(s.t0);case 25:return s.prev=25,i.f(),s.finish(25);case 28:case"end":return s.stop()}}),b,null,[[11,22,25,28]])}var M=[{src:"/nice2/javascript/lang.release.js",handler:R,envs:["new"]},{src:"/nice2/javascript/nice2-ext-newclient-actions.release.js",handler:R,envs:["new"]},{src:"/nice2/javascript/nice2-admin.release.js",handler:R,envs:["new"]},{src:"/nice2/javascript/nice2-newclient-actions-public.release.js",handler:R,envs:["legacy-public"]},{src:"/nice2/javascript/nice2-newclient-actions-setup.release.js",handler:R,envs:["legacy-public","legacy-admin","new"]},{src:"/nice2/dwr-all.js",handler:R,envs:["new"]},{src:"/js/ext-extensions/ckeditor/ckeditor/ckeditor.js",handler:R,envs:["new"]},{src:"/css/themes/blue-medium.css",handler:N,envs:["new"]},{src:"/css/nice2-admin.css",handler:N,envs:["new"]},{src:"/css/nice2-new-client-legacy-actions.css",handler:N,envs:["new"]}],L=function(e,t){return function(n){e.put(n),t&&t.put(n)}};function F(e){var t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=3,(0,d.s)(e);case 3:return t=r.sent,n=m.A.remoteEvent(t),r.next=7,(0,d.yJ)(n);case 7:r.next=0;break;case 9:case"end":return r.stop()}}),w)}function H(){var e,t,n,r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,d.T1)([window.app,window.app.getDataRegistry]);case 2:if(!(e=o.sent).setNewClientCallback){o.next=18;break}return o.next=6,(0,d.T1)(f.Ix);case 6:return t=o.sent,o.next=9,(0,d.T1)(f.Ix);case 9:return n=o.sent,o.next=12,(0,d.T1)(L,t,n);case 12:return r=o.sent,o.next=15,(0,d.T1)([e,e.setNewClientCallback],r);case 15:return o.next=17,(0,d.cH)(F,t);case 17:return o.abrupt("return",n);case 18:case"end":return o.stop()}}),x)}function B(e){var t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:t=e.message.replace(/ /g," "),r.t0=e.level,r.next="ERROR"===r.t0?4:"INFO"===r.t0?6:8;break;case 4:return n=h.A.toaster({type:"error",title:t}),r.abrupt("break",9);case 6:return n=h.A.toaster({type:"info",title:t}),r.abrupt("break",9);case 8:throw new Error("Unsupported notification level: ".concat(e.level));case 9:if(!n){r.next=12;break}return r.next=12,(0,d.yJ)(n);case 12:case"end":return r.stop()}}),A)}function U(e){var t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=3,(0,d.s)(e);case 3:return t=n.sent,n.next=6,(0,d.T1)(B,t);case 6:n.next=0;break;case 8:case"end":return n.stop()}}),O)}function W(){var e,t,n,r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,d.T1)([window.app,window.app.getGui]);case 2:return e=o.sent,o.next=5,(0,d.T1)([e,e.getNotifier]);case 5:if(!(t=o.sent).setNewClientCallback){o.next=17;break}return o.next=9,(0,d.T1)(f.Ix);case 9:return n=o.sent,o.next=12,(0,d.T1)(L,n);case 12:return r=o.sent,o.next=15,(0,d.T1)([t,t.setNewClientCallback],r);case 15:return o.next=17,(0,d.cH)(U,n);case 17:case"end":return o.stop()}}),E)}function z(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!0===window.legacyActionsEnvInitialized){e.next=5;break}return e.next=3,(0,d.T1)(I,M);case 3:return e.next=5,(0,d.T1)(window.setUpLegacyActionsEnv);case 5:return e.next=7,(0,d.T1)(W);case 7:return e.next=9,(0,d.T1)(H);case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),S)}var G=function(e){return e.list},Y=function(e){return e.entityList?g(g({},e.input),e.entityList):void 0},q=function(e){return e.entityDetail?g(g({},e.input),e.entityDetail):void 0},V=function(e){return g(g({},new window.nice2.netui.ManualQuery),{},{entityName:e.entityName,queryWhere:e.query.where})},$=function(e){return g(g({},new window.form.FormIdentifier),{},{scope:"list",formName:e.formDefinition.id})};function K(e){var t,n,r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t={entityName:e.entityName},"ID"!==e.type){o.next=7;break}n=D.includes(e.entityName),t.selectedEntities=e.ids,t.selectionType=n?"ENTITY_DOCS":"SELECTION",o.next=18;break;case 7:if("QUERY"!==e.type){o.next=17;break}return o.next=10,(0,d.Lt)(G);case 10:r=o.sent,t.selectionType="NEW_CLIENT_QUERY",t.manualQuery=V(e),t.listForm=$(r),t.searchFilters=e.query.filter,o.next=18;break;case 17:throw new Error("Unsupported selection type: ".concat(e.type));case 18:return o.abrupt("return",t);case 19:case"end":return o.stop()}}),k)}function J(){var e,t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,d.Lt)(Y);case 2:return e=n.sent,n.next=5,(0,d.Lt)(q);case 5:if(t=n.sent,!e||!t){n.next=8;break}throw new Error("Unable to get form scope. Unexpected state: entityList and entityDetail exist");case 8:if(!e){n.next=10;break}return n.abrupt("return","list");case 10:if(!t){n.next=20;break}if("update"!==t.mode){n.next=15;break}return n.abrupt("return","update");case 15:if("create"!==t.mode){n.next=19;break}return n.abrupt("return","create");case 19:throw new Error("Unable to get form scope. Unexpected detail mode: ".concat(t.mode));case 20:throw new Error("Unable to get form scope. Expected to find either entityList or entityDetail in state");case 21:case"end":return n.stop()}}),j)}function X(e,t,n,r,i){var a,c,u,f,p,h,m,v,y,g;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,d.T1)(z);case 2:if(a=n.sent,(c=new window.nice2.netui.actions.model.ClientActionDefinition(e.path,e.id)).setEnabled(!e.readOnly),!l()(e.properties)){n.next=9;break}return u=Object.entries(e.properties).map((function(e){var t=o()(e,2),n=t[0],r=t[1];return(0,d.T1)([c,c.setProperty],n,r)})),n.next=9,(0,d.Q7)(u);case 9:if((f=new window.nice2.modules.NewClientLegacyActionsModule({entityName:t.entityName,formName:t.entityName})).init(),p=new window.nice2.modules.NewClientLegacyActionsPanel({entityName:t.entityName}),h=new window.nice2.modules.entityexplorer.EntityExplorerActionContext(f,p),"ID"===t.type&&1===t.ids.length&&(h.getRecord=function(){return{id:t.ids[0]}}),n.t0=t.entityName,n.t1=e.scope,n.t1){n.next=20;break}return n.next=19,(0,d.T1)(J);case 19:n.t1=n.sent;case 20:return n.t2=n.t1,m={entityName:n.t0,scope:n.t2},v=window.NetuiActionRegistry.newActionFromDefinition(c,m,h),n.next=25,(0,d.T1)(K,t);case 25:y=n.sent,v.getSelectionNumber=function(){return"ID"===t.type?t.ids.length:0},v.getSelection=function(){return y},n.prev=28,v.perform(),n.next=37;break;case 32:if(n.prev=32,n.t3=n.catch(28),g=n.t3 instanceof Error?n.t3.message:n.t3,_.includes(g)){n.next=37;break}throw n.t3;case 37:if(!a){n.next=41;break}return n.next=40,(0,d.s)(a);case 40:return n.abrupt("return",{success:!0});case 41:case"end":return n.stop()}}),T,null,[[28,32]])}},37560:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>S});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(32742),s=n(90167),u=n(46836),l=n(38159),f=n(18562),d=n(72942),p=n(57327),h=n(89862),m=n(76950),v=n(74848);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=a().mark(S),w=a().mark(k),x=a().mark(j),A=a().mark(P),O=a().mark(C),E=a().mark(_);function S(e,t,n,r,o){return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!l.A.isInWidgetEmbedded()){n.next=5;break}return n.next=3,(0,s.T1)(j,e,t,o);case 3:n.next=7;break;case 5:return n.next=7,(0,s.T1)(k,e,t,o);case 7:case"end":return n.stop()}}),b)}function k(e,t,n){var r,o,i,u;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,s.T1)(C,e,t);case 2:return r=a.sent,a.next=5,(0,s.T1)(c.Ix);case 5:return o=a.sent,a.next=8,(0,s.T1)(P,r,o,n);case 8:return i=a.sent,a.next=11,(0,s.s)(o);case 11:return u=a.sent,a.next=14,(0,s.T1)(_,e,r,t,u);case 14:return a.next=16,(0,s.yJ)(d.A.removeModal(i));case 16:case"end":return a.stop()}}),w)}function j(e,t,n){var r,o,i,u,l,f,p,h,m;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,s.T1)(C,e,t);case 2:if(r=a.sent,o=T(r),i={},!r.customSettings){a.next=21;break}return l=g(g({},r),{},{generalSettings:[],recipientSettings:[]}),a.next=9,(0,s.T1)(c.Ix);case 9:return f=a.sent,a.next=12,(0,s.T1)(P,l,f,n);case 12:return p=a.sent,a.next=15,(0,s.s)(f);case 15:return h=a.sent,a.next=18,(0,s.yJ)(d.A.removeModal(p));case 18:u=h.customSettings,a.next=22;break;case 21:u=null;case 22:return m={generalSettings:o,recipientSettings:i,customSettings:u},a.next=25,(0,s.T1)(_,e,r,t,m);case 25:case"end":return a.stop()}}),x)}var T=function(e){return e.generalSettings.reduce((function(e,t){var n;return g(g({},e),{},o()({},t.id,(null===(n=t.defaultValue)||void 0===n?void 0:n.key)||t.defaultValue))}),{})};function P(e,t,n){var r,o;return a().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return r=function(e){return t.put(e)},i.next=3,(0,s.T1)(f.A);case 3:return o=i.sent,i.next=6,(0,s.yJ)(d.A.modal(o,e.description.name,null,(function(){return(0,v.jsx)(h.A,{listApp:n.listApp,docsApp:n.docsApp,formApp:n.formApp,onSubmit:r,settingsDefinition:e})}),!0));case 6:return i.abrupt("return",o);case 7:case"end":return i.stop()}}),A)}function C(e,t){var n,r,o,i;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n={body:t,method:"POST"},r="report/".concat(e.reportId,"/settings"),a.next=4,(0,s.T1)(p.A.requestSaga,r,n);case 4:return o=a.sent,i=o.body,a.abrupt("return",i);case 7:case"end":return a.stop()}}),O)}function _(e,t,n,r){var o,i,c,l,f;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=r.generalSettings,i=r.recipientSettings,c=r.customSettings,e.endpoint="report/generations",l=t.customSettings?u.A.toEntity(g({__model:t.customSettings.entity.name},c)):null,f={additionalProperties:{reportId:e.reportId,generalSettings:o,recipientSettings:i},formData:l},a.next=6,(0,s.T1)(m.pQ,e,n,null,f);case 6:case"end":return a.stop()}}),E)}},76950:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>T,pQ:()=>P});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(92207),s=n.n(c),u=n(58156),l=n.n(u),f=n(58065),d=n(90167),p=n(46516),h=n(25355),m=n(59042),v=n(72942),y=n(72543),g=n(9063),b=n(57327),w=n(74848);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var O=s().mark(T),E=s().mark(P),S=s().mark(C),k=s().mark(_),j=s().mark(D);function T(e,t,n,r,o){var i,a;return s().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return i=e.runInBackgroundTask,a=i?P:C,c.next=4,(0,d.T1)(a,e,t,n,r,o);case 4:return c.abrupt("return",c.sent);case 5:case"end":return c.stop()}}),O)}function P(e,t,n,r){var o;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,d.T1)(b.A.requestSaga,e.endpoint,{method:"POST",body:A(A({entity:t.entityName,selection:t,parent:n},r),{},{params:{background:!0},formProperties:e.properties}),acceptedErrorCodes:["VALIDATION_FAILED"]});case 2:if(!(o=i.sent).body||!1!==o.body.success){i.next=6;break}return i.next=6,(0,d.yJ)(v.A.toaster({type:"error",title:"client.common.unexpectedError",body:o.body.title||"client.component.actions.errorText"}));case 6:case"end":return i.stop()}}),E)}function C(e,t,n,r,i){var a,c,u;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,d.T1)(_,e,t,n,r);case 2:return null!=(c=s.sent)&&c.success&&(u=l()(i,["customActionEventHandlers",e.id,"onSuccess"],null))&&u(),s.abrupt("return",A(A({},c),{},{remoteEvents:o()(c&&c.success?[{type:"entity-update-event",payload:{parent:n,entities:[{entityName:t.entityName}],reload:null===(a=c.flags)||void 0===a?void 0:a.reloadDetail}}]:[])}));case 5:case"end":return s.stop()}}),S)}function _(e,t,n,r){var o,i,a,c;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return o=e.progressMsg||"client.component.actions.defaultProgressMessage",s.prev=1,s.next=4,(0,d.T1)(b.A.requestSaga,e.endpoint,{method:"POST",body:A(A({entity:t.entityName,selection:t,parent:n},r),{},{formProperties:e.properties}),acceptedErrorCodes:["VALIDATION_FAILED","ERROR_ID"],blockingInfoTitle:o});case 4:if(!(i=s.sent).body||"VALIDATION_FAILED"!==i.body.errorCode){s.next=10;break}return s.next=8,(0,d.yJ)(v.A.toaster({type:"error",title:"client.component.actions.validationError",body:h.A.getErrorCompact(i.body.errors)}));case 8:case 13:case 22:s.next=27;break;case 10:if(!i.body||"ERROR_ID"!==i.body.errorCode){s.next=15;break}return s.next=13,(0,d.yJ)(v.A.toaster({type:"error",title:"client.common.unexpectedError",body:(0,w.jsx)(f.A,{id:"client.component.actions.errorIdText",values:{errorId:i.body.errorId}})}));case 15:if(!(i.body&&i.body.params&&i.body.params.downloadUrl)){s.next=24;break}return a=p.A.getDownloadUrl(i.body.params.downloadUrl),s.next=19,(0,d.T1)(b.A.requestBytesSaga,a,{method:"POST",body:A(A({entity:t.entityName,selection:t,parent:n},r),{},{formProperties:e.properties})});case 19:return c=s.sent,s.next=22,(0,d.T1)(p.A.downloadReadableStream,c.body,i.body.params.filename);case 24:if(null==i||!i.body){s.next=27;break}return s.next=27,(0,d.T1)(D,i,!0===i.body.success?"success":"warning");case 27:return s.abrupt("return",i.body);case 30:if(s.prev=30,s.t0=s.catch(1),s.t0 instanceof b.A.ClientQuestionCancelledException){s.next=35;break}return s.next=35,(0,d.yJ)(m.A.logError("client.common.unexpectedError","client.component.actions.errorText",s.t0));case 35:case"end":return s.stop()}}),k,null,[[1,30]])}function D(e,t){var n,r,o,i,a;return s().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=e.body.title||"client.component.actions.successDefault",r=e.body.message,o=e.body.notificationKey?"".concat(g.SG).concat(e.body.notificationKey):void 0,c.next=5,(0,d.T1)(v.A.transformNotificationResult,e.body.result);case 5:return i=c.sent,a=function(e){var t=e.navigationStrategy,n=e.cancelTask;return(0,w.jsx)(y.Ay,{notification:{key:o,message:r,result:i},navigationStrategy:t,cancelTask:n})},c.next=9,(0,d.yJ)(v.A.toaster({type:t,title:n,message:r,body:a,key:o,source:v.A.toasterSources.SYNC_ACTION}));case 9:case"end":return c.stop()}}),j)}},27493:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ACTION_INVOKE:()=>r,ACTION_INVOKED:()=>i,ACTION_IN_PROGRESS:()=>o,actionInvoke:()=>a,actionInvoked:()=>c});var r="actions/ACTION_INVOKE",o="actions/ACTION_IN_PROGRESS",i="actions/ACTION_INVOKED",a=function(e,t,n){return{type:r,payload:{definition:e,selection:t,parent:n}}},c=function(e,t,n){return{type:i,payload:{definition:e,selection:t,response:n}}}},58189:(e,t,n)=>{"use strict";n.d(t,{Eb:()=>i,G0:()=>c,cw:()=>s,fL:()=>r,n5:()=>o,nY:()=>a});var r="actions/ADD_ACTION_CONDITION",o="actions/SET_ACTION_CONDITION_RESULT",i="actions/REEVALUATE_ACTION_CONDITION",a=function(e,t){return{type:r,payload:{key:e,condition:t}}},c=function(e){return{type:o,payload:{results:e}}},s=function(e){return{type:i,payload:{key:e}}}},18994:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(22056),o=n.n(r),i=n(21259),a=n.n(i),c=n(26396),s=n.n(c),u=n(55364),l=n.n(u),f=n(58189);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=s()(s()({},f.fL,(function(e,t){var n=t.payload,r=n.key,o=n.condition;return p(p({},e),{},{actionConditions:p(p({},e.actionConditions),{},s()({},o,p(s()({},r,null),e.actionConditions[o])))})})),f.n5,(function(e,t){var n=t.payload.results;return p(p({},e),{},{actionConditions:p(p({},e.actionConditions),l().apply(void 0,[{}].concat(a()(Object.entries(n).map((function(t){var n=o()(t,2),r=n[0],i=n[1];return s()({},r,p(p({},e.actionConditions[r]),i))}))))))})})),m={actionConditions:{}};function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,t=arguments.length>1?arguments[1]:void 0,n=h[t.type];return n?n(e,t):e}},69679:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h});var r=n(22056),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(57327),u=n(58189),l=a().mark(h),f=a().mark(m),d=a().mark(y),p=function(e){return e.actions};function h(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.Q7)([(0,c.sg)(10,u.fL,m),(0,c.jP)(u.Eb,v)]);case 2:case"end":return e.stop()}}),l)}function m(){var e,t,n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,c.Lt)(p);case 2:return e=r.sent,t=e.actionConditions,n=Object.entries(t).map((function(e){var t=o()(e,2),n=t[0],r=t[1];return{conditionName:n,keys:g(r)}})),r.next=7,(0,c.T1)(y,n);case 7:case"end":return r.stop()}}),f)}function v(e){var t=e.payload.key;return a().mark((function e(){var n,r,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.Lt)(p);case 2:return n=e.sent,r=n.actionConditions,o=Object.keys(r).map((function(e){return{conditionName:e,keys:[t]}})),e.next=7,(0,c.T1)(y,o);case 7:case"end":return e.stop()}}),e)}))()}function y(e){var t,n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(0!==e.length){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,(0,c.T1)(s.A.requestSaga,"client/actionConditions",{method:"POST",body:{conditions:e}});case 4:return t=r.sent,n=t.body.results,r.next=8,(0,c.yJ)(u.G0(n));case 8:case"end":return r.stop()}}),d)}var g=function(e){return Object.entries(e).filter((function(e){var t=o()(e,2);t[0];return null===t[1]})).map((function(e){var t=o()(e,2),n=t[0];t[1];return n}))}},80064:(e,t,n)=>{"use strict";n.d(t,{Qi:()=>r,kO:()=>o,q6:()=>a,qk:()=>i});var r="actions/FETCH_ACTION_PACKAGES",o="actions/SET_ACTION_PACKAGES",i=function(){return{type:r}},a=function(e){return{type:o,payload:{actionPackages:e}}}},49235:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(80064),c=o()({},a.kO,i.A.singleTransferReducer("actionPackages")),s={actionPackages:null};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},62150:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(57327),c=n(80064),s=o().mark(l),u=o().mark(f);function l(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.Q7)([(0,i.p8)(c.Qi,f)]);case 2:case"end":return e.stop()}}),s)}function f(){var e,t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.A.requestSaga,"/client/actionPackages",{method:"GET"});case 2:return t=n.sent,n.next=5,(0,i.yJ)(c.q6((null===(e=t.body)||void 0===e?void 0:e.actionPackages)||[]));case 5:case"end":return n.stop()}}),u)}},65500:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r,o=n(92207),i=n.n(o),a=n(58065),c=n(32742),s=n(90167),u=n(72942),l=n(42837),f=n(74848),d=i().mark(h);function p(e){var t=e.preparationResponse,n=e.config,r=(void 0===n?{}:n).navigationStrategy;return i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.preCheck||!1!==t.preCheck.success||!t.preCheck.confirmMessage){e.next=5;break}return n=t.preCheck.customTitle,e.next=4,(0,s.T1)(h,(0,l.X)(t.preCheck,r),n);case 4:return e.abrupt("return",{abort:!0});case 5:return e.abrupt("return",{abort:!1});case 6:case"end":return e.stop()}}),e)}))()}function h(e,t){var n,o;return i().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,s.T1)(c.Ix);case 2:return n=i.sent,o=function(){return n.put(!1)},i.next=6,(0,s.yJ)(u.A.info(t||"client.component.actions.confirmTitle",e,r||(r=(0,f.jsx)(a.A,{id:"client.common.ok"})),o));case 6:return i.next=8,(0,s.s)(n);case 8:return i.abrupt("return",i.sent);case 9:case"end":return i.stop()}}),d)}},37332:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o,i=n(92207),a=n.n(i),c=n(58065),s=n(32742),u=n(90167),l=n(72942),f=n(42837),d=n(74848),p=a().mark(m);function h(e){var t=e.preparationResponse,n=e.config,r=(void 0===n?{}:n).navigationStrategy;return a().mark((function e(){var n,o,i,c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.preCheck||!0!==t.preCheck.success||!t.preCheck.confirmMessage){e.next=6;break}return n=t.preCheck,o=n.defaultAction,i=n.customTitle,e.next=4,(0,u.T1)(m,(0,f.X)(t.preCheck,r),o,i);case 4:return c=e.sent,e.abrupt("return",{abort:!c});case 6:return e.abrupt("return",{abort:!1});case 7:case"end":return e.stop()}}),e)}))()}function m(e,t,n){var i,f,h;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,u.T1)(s.Ix);case 2:return i=a.sent,f=function(){return i.put(!0)},h=function(){return i.put(!1)},a.next=7,(0,u.yJ)(l.A.confirm(n||"client.component.actions.confirmTitle",e,r||(r=(0,d.jsx)(c.A,{id:"client.common.ok"})),o||(o=(0,d.jsx)(c.A,{id:"client.common.cancel"})),f,h,t));case 7:return a.next=9,(0,u.s)(i);case 9:return a.abrupt("return",a.sent);case 10:case"end":return a.stop()}}),p)}},18654:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(77661).Ay},71610:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>A});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(32742),s=n(90167),u=n(46836),l=n(72942),f=n(57327),d=n(38466),p=n(65500),h=n(37332),m=n(31267),v=n(77661),y=n(74848),g=a().mark(k),b=a().mark(T);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e){var t=e.preparationResponse,n=e.definition,r=e.selection,o=e.config;return a().mark((function e(){var i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.initialFormValues){e.next=5;break}return e.next=3,(0,s.T1)(E,t.initialFormValues,o,n,r);case 3:return i=e.sent,e.abrupt("return",{abort:null===i,params:{formData:i}});case 5:return e.abrupt("return",{abort:!1});case 6:case"end":return e.stop()}}),e)}))()}var O=function(e){return{formValues:e}};function E(e,t,n,r){var o=e.formDefinition,i=e.defaultValues,u=e.conditions,f=e.formTitle,p=e.formMessage,h=e.noButtons;return a().mark((function e(){var m,v,g,b,w,x,A,E,k,j;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.T1)(c.Ix);case 2:return m=e.sent,v=(new Date).valueOf(),g=function(e){var t=e.values;return m.put(O(t))},b=function(){return m.put({cancel:!0})},w=(0,d.A)(t.formApp),x=S(o.form,u),A=l.A.modal(v,f,p,(function(){return(0,y.jsx)(w,{form:x,detailApp:t.detailApp,listApp:t.listApp,docsApp:t.docsApp,onSubmit:g,defaultValues:i,mode:"create",entityName:o.model,labelPosition:"inside",noButtons:h,navigationStrategy:t.navigationStrategy||{}})}),!0,b),e.next=11,(0,s.yJ)(A);case 11:E="".concat(v,"-error-toaster");case 12:return e.next=15,(0,s.s)(m);case 15:if(!(k=e.sent).cancel){e.next=20;break}return e.next=19,(0,s.yJ)(l.A.removeToaster(E,!1));case 19:return e.abrupt("return",null);case 20:return j=k.formValues?{model:o.model,paths:k.formValues}:null,e.next=23,(0,s.T1)(T,j,n,r,E,t);case 23:if(!e.sent){e.next=28;break}return e.next=27,(0,s.yJ)(l.A.removeModal(v));case 27:return e.abrupt("return",j);case 28:e.next=12;break;case 30:case"end":return e.stop()}}),e)}))()}var S=function(e,t){return t&&0!==Object.keys(t).length?x(x(x({},e),u.A.relationFieldTypes.includes(e.dataType)&&t[e.id]?{condition:t[e.id]}:{}),e.children?{children:e.children.map((function(e){return S(e,t)}))}:{}):e};function k(e,t,n){var r;return a().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,s.T1)(f.A.requestSaga,"".concat(t.endpoint,"/validate"),{method:"POST",body:{entity:n.entityName,selection:n,formData:e,formProperties:t.properties}});case 2:return r=o.sent,o.abrupt("return",r.body);case 4:case"end":return o.stop()}}),g)}var j=function(){return[p.A,m.A,h.A]};function T(e,t,n,r,o){var i,c,u,f,d;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!t.endpoint){a.next=6;break}return a.next=3,(0,s.T1)(k,e,t,n);case 3:a.t0=a.sent,a.next=7;break;case 6:a.t0={};case 7:return i=a.t0,a.next=10,(0,s.T1)(j);case 10:return c=a.sent,a.next=13,(0,s.T1)(v.Lw,t,n,o,i,c);case 13:if(u=a.sent,f=u.abort,d=u.abortMessage,!f||!d){a.next=21;break}return a.next=19,(0,s.yJ)(l.A.toaster({key:r,type:"warning",title:"client.component.actions.validationFailed",body:d}));case 19:a.next=23;break;case 21:return a.next=23,(0,s.yJ)(l.A.removeToaster(r,!1));case 23:return a.abrupt("return",!f);case 24:case"end":return a.stop()}}),b)}},25015:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o,i,a=n(92207),c=n.n(a),s=n(58065),u=n(32742),l=n(90167),f=n(72942),d=n(74848),p=c().mark(m);function h(e){var t=e.definition,n=e.selection;return c().mark((function e(){var r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.showConfirmation&&n&&n.count>t.confirmationThreshold)){e.next=5;break}return e.next=3,(0,l.T1)(m,n.count);case 3:return r=e.sent,e.abrupt("return",{abort:!r});case 5:return e.abrupt("return",{abort:!1});case 6:case"end":return e.stop()}}),e)}))()}function m(e){var t,n,a;return c().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,l.T1)(u.Ix);case 2:return t=c.sent,n=function(){return t.put(!0)},a=function(){return t.put(!1)},c.next=7,(0,l.yJ)(f.A.confirm(r||(r=(0,d.jsx)(s.A,{id:"client.component.actions.confirmTitle"})),(0,d.jsx)(s.A,{id:"client.component.actions.largeSelectionConfirm",values:{count:e}}),o||(o=(0,d.jsx)(s.A,{id:"client.common.ok"})),i||(i=(0,d.jsx)(s.A,{id:"client.common.cancel"})),n,a));case 7:return c.next=9,(0,l.s)(t);case 9:return c.abrupt("return",c.sent);case 10:case"end":return c.stop()}}),p)}},42837:(e,t,n)=>{"use strict";n.d(t,{X:()=>p});var r=n(21259),o=n.n(r),i=n(22056),a=n.n(i),c=n(62193),s=n.n(c),u=n(58065),l=n(56775),f=n(74848),d=function(e){var t=e.message,n=e.entities,r=e.navigationStrategy;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l.Ay.P,{children:t}),(0,f.jsx)(l.Ay.P,{children:Object.entries(n).map((function(e){var t=a()(e,2),n=t[0],o=t[1];return(0,f.jsxs)(l.Ay.Span,{children:[(0,f.jsx)(u.A,{id:"client.entities.".concat(n)})," (",null!=r&&r.ListLink?(0,f.jsx)(r.ListLink,{entityName:n,entityKeys:o.slice(0,100),children:o.length}):(0,f.jsx)(l.Ay.Span,{children:o.length}),")"]},n)})).reduce((function(e,t){return[].concat(o()(e),[t,", "])}),[]).slice(0,-1)})]})},p=function(e,t){var n=e.confirmMessage,r=e.entities;return s()(r)?n:(0,f.jsx)(d,{message:n,entities:r,navigationStrategy:t})}},31267:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(92207),o=n.n(r);function i(e){var t=e.preparationResponse;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.preCheck||!1!==t.preCheck.success){e.next=2;break}return e.abrupt("return",{abort:!0,abortMessage:t.preCheck.message||"client.component.actions.errorText"});case 2:return e.abrupt("return",{abort:!1});case 3:case"end":return e.stop()}}),e)}))()}},77661:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>E,Lw:()=>O});var r=n(26396),o=n.n(r),i=n(21259),a=n.n(i),c=n(92207),s=n.n(c),u=n(90167),l=n(57327),f=n(65500),d=n(37332),p=n(71610),h=n(25015),m=n(31267);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=s().mark(x),b=s().mark(O),w=s().mark(E);function x(e,t,n){var r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,u.T1)(l.A.requestSaga,e.endpoint+"/check",{method:"POST",body:{selection:t,parent:n,formProperties:e.properties}});case 2:return r=o.sent,o.abrupt("return",r.body);case 4:case"end":return o.stop()}}),g)}var A=function(e){return[].concat(a()(e.customPreparationHandlers||[]),[h.A,f.A,m.A,d.A,p.Ay])};function O(e,t,n,r,o){var i,a,c,l,f,d,p,h;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:i=!1,a=null,c={},l=t,f=0;case 5:if(i||!o[f]){s.next=18;break}return d=o[f],p={preparationResponse:r,params:c,definition:e,selection:l,config:n},s.next=10,(0,u.T1)(d,p);case 10:h=s.sent,i=h.abort,c=y(y({},c),h.params),h.abortMessage&&(a=h.abortMessage),h.selection&&(l=h.selection),f++,s.next=5;break;case 18:return s.abrupt("return",{abort:i,abortMessage:a,params:c,selection:l});case 19:case"end":return s.stop()}}),b)}function E(e,t,n,r){var o,i;return s().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!e.endpoint){a.next=6;break}return a.next=3,(0,u.T1)(x,e,t,n);case 3:a.t0=a.sent,a.next=7;break;case 6:a.t0={};case 7:return o=a.t0,a.next=10,(0,u.T1)(A,r);case 10:return i=a.sent,a.next=13,(0,u.T1)(O,e,t,r,o,i);case 13:return a.abrupt("return",a.sent);case 14:case"end":return a.stop()}}),w)}},17623:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(92207),o=n.n(r),i=n(90167),a=n(72942),c=n(87774),s=n(28192),u=n(27493),l=n(18654),f=o().mark(d);function d(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.Q7)([(0,i.jP)(u.ACTION_INVOKE,p,e)]);case 2:case"end":return t.stop()}}),f)}function p(e,t){var n=t.payload;return o().mark((function t(){var r,f,d,p,h,m,v,y,g,b,w;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.definition,f=n.selection,d=n.parent,t.next=3,(0,i.Lt)(e);case 3:return p=t.sent,t.next=6,(0,i.T1)(l.A,r,f,d,p);case 6:if(h=t.sent,m=h.abort,v=h.abortMessage,y=h.params,g=h.selection,m){t.next=24;break}return b=s.A[r.actionType],t.next=15,(0,i.T1)(b,r,g,d,y,p);case 15:if(!(w=t.sent)||!w.remoteEvents){t.next=19;break}return t.next=19,(0,i.Q7)(w.remoteEvents.map((function(e){return(0,i.yJ)(c.A.remoteEvent(e))})));case 19:if(!w||!w.success){t.next=22;break}return t.next=22,(0,i.yJ)(u.actionInvoked(r,g,w));case 22:t.next=27;break;case 24:if(!v){t.next=27;break}return t.next=27,(0,i.yJ)(a.A.toaster({type:"error",title:v}));case 27:case"end":return t.stop()}}),t)}))()}},78350:(e,t,n)=>{"use strict";n.d(t,{W9:()=>v,WC:()=>g,bl:()=>y,vN:()=>m});var r=n(26396),o=n.n(r),i=n(40860),a=n.n(i),c=n(5556),s=n.n(c),u=n(47383),l=n(68216);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p="generalSettings",h="recipientSettings",m=(Object.freeze({DISPLAY:"display",DOWNLOAD:"download"}),function(e,t){var n=function(n){return o()({},n,(e[n]||[]).reduce((function(e,n){return d(d({},e),{},o()({},n.id,t[n.id]))}),{}))};return d(d({},n(p)),n(h))}),v=function(e,t){return(0,l.t_)(e).reduce((function(e,n){return d(d({},e),u.A.isDefined(t[n.id])?o()({},n.id,t[n.id]):{})}),{})},y=function(e){var t=function(e){return null!=e&&e.key?e.key:e};return a()(e,(function(e,n,r){return d(d({},e),{},o()({},r,Array.isArray(n)?n.map(t):t(n)))}),{})},g=function(e,t){var n=function(e){return t.formatMessage({id:e})},r=function(t){return(e[t]||[]).map((function(e){return{children:[d(d(d({componentType:"field",dataType:e.dataType,defaultValue:e.defaultValue,id:e.id,label:e.label||e.description,path:e.id},e.targetEntity?{targetEntity:e.targetEntity}:{}),e.validation?{validation:e.validation}:{}),e.options?{options:e.options}:{})],componentType:"field-set",hidden:!1,id:e.id,label:e.label||e.description,readonly:e.disabled,scopes:[]}}))};return{componentType:"form",label:null,modelid:"Bill_report_settings",modelName:"",readonly:!1,children:[{componentType:"layout",id:"generalSettings",label:n("client.common.report.generalSettings"),layoutType:"vertical-box",children:r(p)},{componentType:"layout",id:"recipientSettings",label:n("client.common.report.recipientSettings"),layoutType:"vertical-box",children:r(h)}]}};s().shape({customSettings:s().shape({form:s().object,entity:s().object}),generalSettings:s().array,recipient:s().array,description:s().shape({name:s().string.isRequired})})},53716:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var r=function(e,t){return{entityName:e,type:"ID",ids:[t],count:1}}},26289:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4883),o=n(60991),i=n(71468),a=n(44518),c=n(81764),s=n(36581),u=n(63387),l=n(65237),f=(n(63645),n(74848));const d=function(e){var t=e.store,d=e.content,p=e.theme,h=(0,r.useCallback)((function(e){e&&n.e(310).then(n.bind(n,37107)).then((function(t){t.dom.watch({autoReplaceSvgRoot:e,observeMutationsRoot:e})}))}),[]);return(0,f.jsx)(i.Kq,{store:t,children:(0,f.jsx)(l.A,{customTheme:p,children:(0,f.jsx)(c.A.KeyDownWatcher,{className:a.e,children:(0,f.jsx)(s.A,{children:(0,f.jsx)(o.Dk,{children:(0,f.jsx)(u.n,{ref:h,children:d})})})})})})}},43215:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(88208),o=n(74848);const i=function(e){var t=e.children,n=e.intlInitialised,i=e.cacheInitialised;return(0,o.jsx)(r.A,{required:[i,n],children:t})}},74932:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(71468),o=n(43215);const i=(0,r.Ng)((function(e){return{intlInitialised:!e.app||e.app.intlInitialised,cacheInitialised:!e.app||e.app.cacheInitialised}}))(o.A)},36581:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(74932).A},63387:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r,o=n(72189),i=n.n(o),a=n(51510).Ay.div.withConfig({displayName:"StyledApp"})(r||(r=i()(["\n display: flex;\n flex-direction: column;\n height: 100%;\n"])))},71476:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(55364),i=n.n(o),a=n(4883),c=n(51510),s=n(94200),u=n(29436),l=n(7068),f=n(7250),d=n(38159),p=n(74848);const h=(0,c.SL)((function(e){var t=e.themeType,n=e.customTheme,o=e.children,h=e.theme,m=function(e){return d.A.getEmbedType()===d.A.EmbedType.widget?u.A:"light"===e?s.A.defaultTheme:s.A.darkTheme}(t),v=(0,a.useMemo)((function(){return i()({},m,n)}),[m,n]);return(0,p.jsx)(c.NP,{theme:h||v,children:(0,p.jsxs)(c.ID,{shouldForwardProp:l.A.shouldForwardProp,children:[r||(r=(0,p.jsx)(f.A,{})),o]})})}))},65237:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(20577),i=n(71476),a={setThemeType:o.kd};const c=(0,r.Ng)((function(e){return{themeType:e.theme.themeType}}),a)(i.A)},37959:(e,t,n)=>{"use strict";n.d(t,{Cq:()=>g,Ef:()=>y,HA:()=>w,P2:()=>b,wr:()=>x});var r=n(79092),o=n.n(r),i=n(92207),a=n.n(i),c=n(80299),s=n.n(c),u=n(5338),l=n(19461),f=n(59042),d=n(26289),p=n(71067),h=n(62904),m=n(20577),v=n(74848),y=function(e,t,n,r){var i=r.input,c=void 0===i?{}:i,u=r.actions,y=void 0===u?void 0:u,g=r.publicPath,b=void 0===g?void 0:g,w=r.textResourceModules,x=void 0===w?[]:w;try{var E=c.customTheme;b&&O(b),y&&A(y,n),n.dispatch((0,h.D4)());var S=c?c.locale:null,k=s()([e],x);n.dispatch((0,p.pk)(k)),n.dispatch((0,p.mW)({shouldSetupIntl:!0,locale:S})),n.dispatch((0,m.Cq)());var j=function(){var e=o()(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.dispatch((0,p.pL)(t)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{component:(0,v.jsx)(d.A,{store:n,content:t,theme:E}),store:n,methods:{setLocale:j}}}catch(e){try{n.dispatch(f.A.logError("Error","Error creating react application: ",e))}catch(t){l.A.logError("Error creating react application: ",e),l.A.logError("Unable to log error: ",t)}}},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"root",n=document.getElementById(t);(0,u.H)(n).render(e)},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"root",n=document.getElementById(t);(0,u.H)(n).unmount(),g(e,t)},w=function(e,t){window.reactRegistry&&window.reactRegistry.register(e,t)},x=function(e,t,n){return{name:e,init:t,App:n,setWebpacksPublicPath:O}},A=function(e,t){e.forEach((function(e){t.dispatch(e)}))},O=function(e){n.p=e}},61402:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(37959),o=n(61473),i=n(62904),a=n(37821),c=n(20577),s=n(43378);const u={renderApp:r.Cq,reloadApp:r.P2,createApp:r.Ef,createStore:a.y,registerAppInRegistry:r.HA,createBundleableApp:r.wr,useApp:s.A,getEvents:s.k,setInput:i.zF,inputChanged:i.Ru,initThemeType:c.Cq,setThemeType:c.kd,INPUT_CHANGED:i.We,INPUT_INITIALIZED:i.SN,reinitialiseCache:o.H6,forceCacheInvalidation:o.I4}},71067:(e,t,n)=>{"use strict";n.d(t,{CA:()=>o,H6:()=>c,SI:()=>r,Vu:()=>d,_$:()=>i,mW:()=>p,pL:()=>l,pk:()=>f,rR:()=>a,rl:()=>u,sj:()=>s,wT:()=>h});var r="app/SETUP_INTL",o="app/CHANGE_LOCALE",i="app/SET_TEXT_RESOURCE_MODULES",a="app/SET_INTL_INITIALISED",c="app/INITIALISE_CACHE",s="app/SET_CACHE_INITIALISED",u=function(e){return{type:r,payload:{locale:e}}},l=function(e){return{type:o,payload:{locale:e}}},f=function(e){return{type:i,payload:{textResourceModules:e}}},d=function(e){return{type:a,payload:{intlInitialised:e}}},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.shouldSetupIntl,n=void 0!==t&&t,r=e.forceInvalidation,o=void 0!==r&&r,i=e.locale;return{type:c,payload:{shouldSetupIntl:n,forceInvalidation:o,locale:i}}},h=function(e){return{type:s,payload:{cacheInitialised:e}}}},42944:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});const r=n(80884).A},80884:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(71067),c=o()(o()(o()({},a._$,i.A.singleTransferReducer("textResourceModules")),a.rR,i.A.singleTransferReducer("intlInitialised")),a.sj,i.A.singleTransferReducer("cacheInitialised")),s={textResourceModules:[],intlInitialised:!1,cacheInitialised:!1};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},61473:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,H6:()=>x,I4:()=>A});var r=n(92207),o=n.n(r),i=n(90167),a=n(94727),c=n(7054),s=n(71067),u=n(41401),l=o().mark(v),f=o().mark(y),d=o().mark(A),p=function(e){return e.app},h=!1,m=function(){h=!1};function v(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.Q7)([(0,i.p8)(s.SI,g),(0,i.p8)(s.CA,b),(0,i.p8)(s.H6,w)]);case 2:case"end":return e.stop()}}),l)}function y(e){var t,n,r;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,i.Lt)(p);case 2:return t=o.sent,n=t.textResourceModules,o.next=6,(0,i.T1)(a.A.getChangeLocaleAction,n,e);case 6:return r=o.sent,o.next=9,(0,i.yJ)(r);case 9:case"end":return o.stop()}}),f)}function g(e){var t=e.payload.locale;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t){e.next=5;break}return e.next=4,(0,i.T1)(a.A.getUserLocale);case 4:n=e.sent;case 5:return e.next=7,(0,i.T1)(y,n);case 7:return e.next=9,(0,i.yJ)(s.Vu(!0));case 9:case"end":return e.stop()}}),e)}))()}function b(e){var t=e.payload.locale;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(x,{locale:t});case 2:return e.next=4,(0,i.T1)(y,t);case 4:case"end":return e.stop()}}),e)}))()}function w(e){var t=e.payload,n=t.shouldSetupIntl,r=t.forceInvalidation,a=t.locale;return o().mark((function e(){var t,l,f,d;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!h){e.next=7;break}return e.next=3,(0,i.yJ)(s.wT(!0));case 3:if(!n){e.next=6;break}return e.next=6,(0,i.yJ)(s.rl(a));case 6:return e.abrupt("return");case 7:return e.next=9,(0,i.T1)(u.g3,{locale:a});case 9:if(t=e.sent,l=t.invalidObjectCache,f=t.invalidLongTermCache,d=t.cache,!f&&!r){e.next=18;break}return e.next=16,(0,i.T1)(u.M5);case 16:return e.next=18,(0,i.T1)(u.UR,d);case 18:if(!l&&!r){e.next=25;break}return e.next=21,(0,i.T1)(u.fX);case 21:return e.next=23,(0,i.T1)(u.he,d);case 23:return e.next=25,(0,i.T1)(c.A.clearPersistedViews);case 25:return h=!0,e.next=28,(0,i.yJ)(s.wT(!0));case 28:if(!n){e.next=31;break}return e.next=31,(0,i.yJ)(s.rl(a));case 31:case"end":return e.stop()}}),e)}))()}function x(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).locale;return o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.T1)(m);case 2:return t.next=4,(0,i.yJ)(s.mW({shouldSetupIntl:!1,locale:e}));case 4:return t.next=6,(0,i.s)(s.sj);case 6:case"end":return t.stop()}}),t)}))()}function A(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(m);case 2:return e.next=4,(0,i.yJ)(s.mW({shouldSetupIntl:!1,forceInvalidation:!0}));case 4:return e.next=6,(0,i.s)(s.sj);case 6:case"end":return e.stop()}}),d)}},41401:(e,t,n)=>{"use strict";n.d(t,{M5:()=>d,UR:()=>h,fX:()=>p,g3:()=>f,he:()=>m});var r=n(92207),o=n.n(r),i=n(90167),a=n(94727),c=n(18242),s=n(57327),u=o().mark(d),l=o().mark(p);function f(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).locale;return o().mark((function t(){var n,r,u,l,f,d,p,h,m,v,y,g,b,w,x,A;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.T1)(s.A.fetchServerRevision);case 2:return n=t.sent,t.next=5,(0,i.T1)(a.A.loadUserWithLocale);case 5:return r=t.sent,u=r.locale,l=r.username,f=r.businessUnitId,d=e||u,p=c.A.getObjectCacheMetaInfo(),h=p.locale,m=p.businessUnitId,v=p.username,y=c.A.getLongTermMetaInfo(),g=y.revision,b=!h||h!==d,w=m!==f,x=v!==l,A=g!==n,t.abrupt("return",{invalidObjectCache:b||w||x,invalidLongTermCache:A,cache:{locale:d,businessUnitId:f,username:l,revision:n}});case 15:case"end":return t.stop()}}),t)}))()}function d(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.clearLongTerm);case 2:case"end":return e.stop()}}),u)}function p(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.clearObjectCache);case 2:case"end":return e.stop()}}),l)}function h(e){var t=e.revision;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.setLongTermMetaInfo,{revision:t});case 2:case"end":return e.stop()}}),e)}))()}function m(e){var t=e.locale,n=e.businessUnitId,r=e.username;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.setObjectCacheMetaInfo,{locale:t,businessUnitId:n,username:r});case 2:case"end":return e.stop()}}),e)}))()}},62904:(e,t,n)=>{"use strict";n.d(t,{D4:()=>u,Ru:()=>l,SN:()=>c,We:()=>a,kv:()=>i,zF:()=>s});var r=n(26396),o=n.n(r),i="input/SET_INPUT",a="input/INPUT_CHANGED",c="input/INPUT_INITIALIZED",s=function(e,t){return{type:i,payload:o()({},e,t)}},u=function(){return{type:c}},l=function(e,t){return{type:a,payload:{input:e,prevInput:t}}}},92699:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});const r=n(18459).A},18459:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(62904);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=o()({},i.kv,(function(e,t){var n=t.payload;return c(c({},e),n)})),u={};function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0,n=s[t.type];return n?n(e,t):e}},37821:(e,t,n)=>{"use strict";n.d(t,{y:()=>A});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(20038),s=n(60991),u=n(14644),l=n(32742),f=n(90167),d=n(29056),p=n(14672),h=n(59042),m=n(42944),v=n(61473),y=n(92699),g=n(70306),b=n(41011);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=function(e){var t=window.__INITIAL_STATE__||{};return e&&(t.input=e,t.intl={locale:e.locale}),t}(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),r=(0,l.Ay)(),i=x(x({},e),{},{input:y.Ay,app:m.Ay,intl:s.oi,theme:g.Ay});e=(0,u.HY)(i);var a=(0,c.U1)({reducer:e,devTools:undefined,preloadedState:n,middleware:function(e){return[r]}}),w=[v.Ay,b.A].concat(o()(t||[]));if(a.allReducers=i,a.sagas=w,a.sagaMiddleware=r,a.hotReloadReducers=d.A.hotReloadReducers,w&&w.length>0){var A=p.A.createGenerator(w.map((function(e){return(0,f.Zy)(e)})));r.run(p.A.autoRestartSaga(A,null,h.A.logError))}return a}},20577:(e,t,n)=>{"use strict";n.d(t,{Cq:()=>i,kd:()=>a,nn:()=>r,tS:()=>o});var r="theme/INIT_THEMETYPE",o="theme/SET_THEMETYPE",i=function(){return{type:r}},a=function(e){return{type:o,payload:{themeType:e}}}},70306:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});const r=n(80462).A},80462:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(20577),c=o()({},a.tS,i.A.singleTransferReducer("themeType")),s={themeType:"light"};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},41011:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(18242),c=n(20577),s=o().mark(l),u=o().mark(f);function l(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.Q7)([(0,i.p8)(c.nn,f)]);case 2:case"end":return e.stop()}}),s)}function f(){var e,t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.A.getLongTerm,"admin","theme");case 2:return e=n.sent,t=e||"light",n.next=6,(0,i.yJ)(c.kd(t));case 6:case"end":return n.stop()}}),u)}},43378:(e,t,n)=>{"use strict";n.d(t,{A:()=>b,k:()=>g});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(62193),s=n.n(c),u=n(2404),l=n.n(u),f=n(71086),d=n.n(f),p=n(4883),h=n(7311),m=n(62904);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=function(e,t){return e.reduce((function(e,n){return y(y({},e),t[n]?o()({},n,t[n]):{})}),{})};const b=function(e){var t,n=e.initApp,r=e.props,o=e.packageName,i=e.externalEvents,c=void 0===i?[]:i,u=(0,p.useState)(null),f=a()(u,2),v=f[0],y=f[1],b=null==v?void 0:v.store,w=v?v.component:null,x=(null==b||null===(t=b.getState())||void 0===t?void 0:t.input)||{};return(0,p.useEffect)((function(){y(n(o,r,g(c,r)))}),[]),h.A.useDidUpdate((function(){var e,t,n,o=d()(r,(function(e,t){return!l()(e,x[t])})),i=d()(x,(function(e,t){return Object.keys(o).includes(t)}));!s()(o)&&b&&(e=o,t=i,n=Object.keys(e).map((function(t){return(0,m.zF)(t,e[t])})),n.length>0&&n.push((0,m.Ru)(e,t)),n).forEach((function(e){b.dispatch(e)}))}),[r,x]),{component:w,setApp:y,store:b}}},42625:(e,t,n)=>{"use strict";n.d(t,{g:()=>r,v:()=>o});var r="tocco-util/LOG_ERROR",o=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Date.now();return{type:r,payload:{title:e,description:t,error:n,dateTime:o}}}},94075:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r,o=n(82274),i=n.n(o),a=n(65044),c=n.n(a),s=n(65611),u=n.n(s),l=n(18337),f=n.n(l),d=n(56994),p=n.n(d),h=n(4883),m=n(78928),v=n(74848);function y(e,t,n){return t=f()(t),u()(e,g()?Reflect.construct(t,n||[],f()(e).constructor):t.apply(e,n))}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}const b=function(e){function t(e){var n;return i()(this,t),(n=y(this,t,[e])).state={hasError:!1,error:null},n}return p()(t,e),c()(t,[{key:"componentDidCatch",value:function(e){var t=this.props,n=t.logError,r=t.intl;n(r.formatMessage({id:"client.component.errorBoundary.notificationTitle"}),r.formatMessage({id:"client.component.errorBoundary.notificationDescription"}),e)}},{key:"render",value:function(){return this.state.hasError?r||(r=(0,v.jsx)(m.A,{})):this.props.children||null}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0,error:e}}}])}(h.Component)},70192:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(38798),o=n(71468),i=n(42625),a=n(94075),c={logError:i.v};const s=(0,o.Ng)(null,c)((0,r.Ay)(a.A))},93899:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(29056),o=n(54382),i=n(70323),a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];t&&r.A.injectReducers(e,{errorLogging:o.A}),e.sagaMiddleware.run(i.Ay,t,n)}},14217:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(11223),o=n(82520),i=n(14568);const a={console:r.A,notification:o.A,remote:i.A}},11223:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(19461),c=o().mark(s);function s(e,t,n){return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,i.T1)(a.A.logError,"".concat(e,": \n").concat(t,"\n"),n);case 2:case"end":return r.stop()}}),c)}},82520:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(72942),c=o().mark(s);function s(e,t,n){var r;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.A.toaster,{type:"error",title:e,body:t});case 2:return r=n.sent,n.next=5,(0,i.yJ)(r);case 5:case"end":return n.stop()}}),c)}},14568:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(4642),c=o().mark(s);function s(e,t,n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(a.A.logException,n);case 2:case"end":return e.stop()}}),c)}},59042:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(42625),o=n(70192),i=n(93899);const a={logError:r.v,addToStore:i.Y,ErrorBoundary:o.A}},54382:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(42625);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=a()({},c.g,(function(e,t){var n=t.payload,r=n.title,i=n.description,a=n.error,c=n.dateTime;return u(u({},e),{},{messages:[{title:r,description:i,error:a,dateTime:c}].concat(o()(e.messages)).slice(0,100)})})),f={messages:[]};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0,n=l[t.type];return n?n(e,t):e}},70323:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(42625),s=n(14217),u=o().mark(f),l=o().mark(p);function f(e,t){return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e){n.next=5;break}return n.next=3,(0,i.jP)(c.g,d,t);case 3:n.next=7;break;case 5:return n.next=7,(0,i.jP)(c.g,p);case 7:case"end":return n.stop()}}),u)}function d(e,t){var n=t.payload;return o().mark((function t(){var r,a,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.title,a=n.description,c=n.error,t.next=3,(0,i.Q7)(e.map((function(e){return(0,i.T1)(s.A[e],r,a,c)})));case 3:case"end":return t.stop()}}),t)}))()}function p(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),l)}},60004:(e,t,n)=>{"use strict";n.d(t,{P5:()=>a,aX:()=>i,w2:()=>r,zR:()=>o});var r="externalEvents/FIRE_EXTERNAL_EVENT",o="externalEvents/FIRE_VISIBILITY_STATUS_CHANGE_EVENT",i=function(e,t){return{type:r,payload:{name:e,payload:t}}},a=function(e){return{type:o,payload:{status:e}}}},43913:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i,g:()=>o});var r=n(12170),o=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];e&&e[t]&&e[t].apply(e,r)},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return{}};e.sagaMiddleware.run(r.Ay,t)}},28391:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(60004),o=n(43913),i=n(21022);const a={fireExternalEvent:r.aX,fireVisibilityStatusChangeEvent:r.P5,addToStore:o.Y,createPropTypes:i.R}},12170:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m});var r=n(85735),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(38159),u=n(60004),l=n(43913),f=a().mark(m),d=a().mark(v),p=a().mark(y),h=a().mark(b);function m(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.Q7)([(0,c.jP)(u.w2,y,e),(0,c.jP)(u.w2,b,e),(0,c.jP)(u.zR,w)]);case 2:case"end":return t.stop()}}),f)}function v(e){var t;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.Lt)(e);case 2:if(!(t=n.sent)){n.next=5;break}return n.abrupt("return","object"===o()(null==t?void 0:t.events)?t:{events:t});case 5:return n.abrupt("return",null);case 6:case"end":return n.stop()}}),d)}function y(e,t){var n,r,o,i,s;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=t.payload,r=n.name,o=n.payload,a.next=3,(0,c.T1)(v,e);case 3:return i=a.sent,s=i.events,a.next=7,(0,c.T1)(l.g,s,r,o);case 7:case"end":return a.stop()}}),p)}function g(e,t){return"string"==typeof e?{name:e,payload:t}:"function"==typeof e?e(t):e}function b(e,t){var n,r,i,s,l,f;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=t.payload,r=n.name,i=n.payload,a.next=3,(0,c.T1)(v,e);case 3:if(s=a.sent,l=s.eventMap,!(l&&["string","function","object"].includes(o()(l[r])))){a.next=10;break}return f=g(l[r],i),a.next=10,(0,c.yJ)(u.aX(f.name,f.payload));case 10:case"end":return a.stop()}}),h)}function w(e){var t=e.payload;return a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!s.A.isInWidgetEmbedded()){e.next=3;break}return e.next=3,(0,c.yJ)(u.aX("onVisibilityStatusChange",t));case 3:case"end":return e.stop()}}),e)}))()}},21022:(e,t,n)=>{"use strict";n.d(t,{R:()=>u});var r=n(26396),o=n.n(r),i=n(5556),a=n.n(i);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(e){return e.reduce((function(e,t){return s(s({},e),{},o()({},t,a().func))}),{})}},58364:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Object.freeze({FIELD_SET:"field-set",FIELD:"field",ACTION:"action",ACTION_BAR:"action-bar",LAYOUT:"layout",TABLE:"table",SUB_TABLE:"sub-table",DISPLAY:"display",TERMS:"terms"})},68216:(e,t,n)=>{"use strict";n.d(t,{Hm:()=>b,kV:()=>h,t_:()=>m,wW:()=>w,wY:()=>g});var r=n(26396),o=n.n(r),i=n(21259),a=n.n(i),c=n(44383),s=n.n(c),u=n(63375),l=n.n(u),f=n(58364);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e,t){return"input-".concat(e,"-").concat(t)},m=function(e){return y(e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1])},v=[f.A.FIELD,f.A.DISPLAY,f.A.TERMS],y=function(e,t){for(var n=[],r=0;r<e.children.length;r++){e.children[r].children&&n.push.apply(n,a()(y(e.children[r],t)));var o=e.children[r].componentType;!v.includes(o)||t&&!0===e.hidden||n.push(p(p({},e.children[r]),{},{readonly:e.readonly,ignoreCopy:e.ignoreCopy}))}return n},g=function(e){return e.filter((function(e){return null!==e.defaultValue&&void 0!==e.defaultValue})).reduce((function(e,t){return p(p({},e),{},o()({},t.path||t.id,t.defaultValue))}),{})},b={location:function(e){var t=s()(e.locationMapping,["postcode","city"]);return{mapping:t,paths:Object.values(t).filter(Boolean)}},address:function(e){var t=s()(e.locationMapping,["street"]);return{mapping:t,paths:Object.values(t).filter(Boolean)}}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};return l()(e.filter((function(e){return e.componentType===f.A.FIELD&&t(e)})).reduce((function(e,t){return[].concat(a()(e),a()(b[t.dataType]?b[t.dataType](t).paths:[t.path||t.id]))}),[]))}},91358:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r,o=n(26396),i=n.n(o),a=n(39892),c=n.n(a),s=n(72189),u=n.n(s),l=n(4883),f=n(51510),d=n(19917),p=n(74848),h=["config","children","keyDownHandler"];function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=f.Ay.div.withConfig({displayName:"StyledDiv"})(r||(r=u()(["\n display: contents;\n\n :focus {\n outline: none;\n }\n"])));const g=function(e){var t=e.config,n=e.children,r=e.keyDownHandler,o=c()(e,h),i=(0,l.useCallback)((function(e,n){var o=(0,d.C)(t,e,n);o&&(e.preventDefault(),e.stopPropagation()),r(o)}),[t,r]),a=(0,l.useCallback)((function(e){return i(e,!0)}),[i]);return(0,l.useEffect)((function(){return document.addEventListener("keydown",a),function(){document.removeEventListener("keydown",a)}}),[a]),(0,p.jsx)(y,v(v({tabIndex:"0",onKeyDown:function(e){return i(e)}},o),{},{children:n}))}},66079:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(58959),i=n(91358),a={keyDownHandler:o.u2};const c=(0,r.Ng)((function(e){var t;return{config:(null===(t=e.keyDown)||void 0===t?void 0:t.config)||[]}}),a)(i.A)},69952:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(29056),o=n(10656),i=n(12405),a=function(e,t){r.A.injectReducers(e,{keyDown:o.A}),e.sagaMiddleware.run(i.Ay,t)}},58959:(e,t,n)=>{"use strict";n.d(t,{Nk:()=>i,R:()=>o,sE:()=>r,u2:()=>a});var r="keyDown/SET_CONFIG",o="keyDown/KEY_DOWN",i=function(e){return{type:r,payload:{config:e}}},a=function(e){return{type:o,payload:{config:e}}}},81764:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(69952),o=n(58959),i=n(66079);const a={keyDown:o.u2,addToStore:r.Y,KeyDownWatcher:i.A}},10656:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(58959),c=o()({},a.sE,i.A.singleTransferReducer("config")),s={config:[]};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},12405:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u});var r=n(92207),o=n.n(r),i=n(90167),a=n(58959),c=o().mark(u),s=o().mark(l);function u(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.Q7)([(0,i.T1)(l,e),(0,i.jP)(a.R,f)]);case 2:case"end":return t.stop()}}),c)}function l(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.Nk(e));case 2:case"end":return t.stop()}}),s)}function f(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.config)){e.next=4;break}return e.next=4,(0,i.Q7)(n.actions.map((function(e){return(0,i.yJ)(e)})));case 4:case"end":return e.stop()}}),e)}))()}},19917:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var r=function(e,t,n){return e.find((function(e){return(e.code===t.code||e.key===t.key)&&(e.ctrl?e.ctrl===t.ctrlKey||e.ctrl===t.metaKey:e.ctrl===t.ctrlKey&&e.ctrl===t.metaKey)&&e.alt===t.altKey&&n===e.global}))}},57537:(e,t,n)=>{"use strict";n.d(t,{ED:()=>o,KG:()=>r,QC:()=>a,qM:()=>i,sr:()=>s,ur:()=>c});var r="login/SET_LOGGED_IN",o="login/SET_ADMIN_ALLOWED",i="login/DO_SESSION_CHECK",a=function(e){return{type:r,payload:{loggedIn:e}}},c=function(e){return{type:o,payload:{adminAllowed:e}}},s=function(){return{type:i}}},96450:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(57537),o=n(51652),i=n(7731);const a={addToStore:o.Y,setLoggedIn:r.QC,SET_LOGGED_IN:r.KG,setAdminAllowed:r.ur,doSessionCheck:r.sr,doSessionRequest:i.ZW,doRequest:i.p0}},51652:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(29056),o=n(52942),i=n(7731),a=function(e){r.A.injectReducers(e,{login:o.A}),e.sagaMiddleware.run(i.Ay)}},52942:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(57537),c=o()(o()({},a.KG,i.A.singleTransferReducer("loggedIn")),a.ED,i.A.singleTransferReducer("adminAllowed")),s={loggedIn:void 0,adminAllowed:void 0};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},7731:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,ZW:()=>h,p0:()=>p});var r=n(92207),o=n.n(r),i=n(90167),a=n(19461),c=n(79253),s=n(72942),u=n(57537),l=o().mark(h),f=o().mark(m),d=o().mark(v);function p(e,t){return c.A.executeRequest(e,t).then(c.A.extractBody).catch((function(e){return a.A.logError("Failed to execute request",e),{success:!1}}))}function h(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(p,"session",{method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),l)}function m(){var e,t,n;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,i.T1)(h);case 2:return e=r.sent,t=e.success,n=e.adminAllowed,r.next=7,(0,i.yJ)(u.ur(n));case 7:return r.next=9,(0,i.yJ)(u.QC(t));case 9:return r.next=11,(0,i.yJ)(s.A.connectSocket());case 11:case"end":return r.stop()}}),f)}function v(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.Q7)([(0,i.p8)(u.qM,m)]);case 2:case"end":return e.stop()}}),d)}},75302:(e,t,n)=>{"use strict";n.d(t,{E:()=>b,T:()=>w});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(57327),u=n(59939),l=a().mark(b),f=a().mark(w);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={failed:"error",info:"info",warning:"warning",success:"success"},m="running_infinite",v="running_absolute",y="pending",g=function(e){return e.status&&(e.status===y||e.status===v||e.status===m)};function b(e){var t;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=p(p({},e),{},{type:h[e.type]||"info",result:e.result?JSON.parse(e.result):null,taskProgress:e.taskProgress?p(p({},e.taskProgress),{},{isRunning:g(e.taskProgress),percentage:Math.round(100/e.taskProgress.total*e.taskProgress.done)}):null}),n.next=3,(0,c.T1)(w,t.result);case 3:return t.result=n.sent,n.abrupt("return",t);case 5:case"end":return n.stop()}}),l)}function w(e){var t,n,r,o,i,l;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!e||e.type!==u.Hz.outputjob){a.next=14;break}return t=null,a.prev=2,n=e.content[0].key,a.next=6,(0,c.T1)(s.A.fetchEntity,"Output_job",n,{paths:["document"]});case 6:r=a.sent,o=r.paths.document.value,i=o.fileName,l=o.binaryLink,t={name:i,link:l,description:e.content[0].display},a.next=13;break;case 11:a.prev=11,a.t0=a.catch(2);case 13:return a.abrupt("return",p(p({},e),{},{file:t}));case 14:return a.abrupt("return",e);case 15:case"end":return a.stop()}}),f,null,[[2,11]])}},77376:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(85015),o=n.n(r),i=n(58065),a=n(33563),c=n(74848);const s=function(e){var t,n=e.children;return o()(n)?(t=n)&&/<\/?[a-zA-Z0-9]*\/?>/.test(t)?(0,c.jsx)(a.A,{type:"html",value:n}):function(e){return e&&e.startsWith("client.")}(n)?(0,c.jsx)(i.A,{id:n}):(0,c.jsx)("span",{children:n}):n}},67529:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(77376).A},17872:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(67529),o=n(72736),i=n(74848);const a=function(e){var t=e.notification.message;return t&&0!==t.trim().length?(0,i.jsx)(o.z5,{children:(0,i.jsx)(r.A,{children:t})}):null}},42832:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(17872),o=n(93870),i=n(96989),a=n(74848);const c=function(e){var t=e.notification,n=e.cancelTask,c=e.navigationStrategy,s=t.result,u=t.taskProgress;return s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.A,{notification:t}),(0,a.jsx)(o.A,{notification:t,navigationStrategy:c})]}):u?(0,a.jsx)(i.A,{notification:t,navigationStrategy:c,cancelTask:n}):(0,a.jsx)(r.A,{notification:t})}},93870:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(59939),a=n(91558),c=n(58123),s=n(74848),u=o()(o()({},i.Hz.outputjob,c.A),i.Hz.entities,a.A);const l=function(e){var t=e.notification,n=e.navigationStrategy,r=t.result.type;if(u[r]){var o=u[r];return(0,s.jsx)(o,{notification:t,navigationStrategy:n})}return console.log("No Result mapper defined for type",r),null}},72736:(e,t,n)=>{"use strict";n.d(t,{Bj:()=>x,Ey:()=>O,Me:()=>S,Rd:()=>j,Yi:()=>b,o0:()=>k,tJ:()=>g,vv:()=>E,wV:()=>w,z5:()=>A});var r,o,i,a,c,s,u,l,f,d,p=n(72189),h=n.n(p),m=n(51510),v=n(26166),y=n(57488),g=m.Ay.div.withConfig({displayName:"StyledTaskProgressWrapper"})(r||(r=h()(["\n margin-bottom: ",";\n\n a {\n padding-right: 1rem;\n }\n"])),v.A.space(-1.5)),b=m.Ay.span.withConfig({displayName:"StyledSpinnerWrapper"})(o||(o=h()(["\n margin-right: ",";\n"])),v.A.space(-1.5)),w=m.Ay.div.withConfig({displayName:"StyledProgressOuter"})(i||(i=h()(["\n border: 0.5px solid ",";\n width: 100%;\n height: 5px;\n"])),y.t7.color("paper")),x=m.Ay.div.withConfig({displayName:"StyledProgressInner"})(a||(a=h()(["\n background-color: ",";\n width: ","%;\n height: 5px;\n"])),y.t7.color("paper"),(function(e){return e.percentage})),A=m.Ay.span.withConfig({displayName:"StyledMessage"})(c||(c=h()(["\n margin-right: ",";\n"])),v.A.space(-2)),O=m.Ay.div.withConfig({displayName:"StyledDetailLinkWrapper"})(s||(s=h()(["\n margin-top: ",";\n margin-bottom: ",";\n\n * {\n font-size: ",";\n text-decoration: none;\n }\n"])),v.A.space(-2),v.A.space(-2),v.A.font(-1)),E=m.Ay.div.withConfig({displayName:"StyledOutputJobWrapper"})(u||(u=h()(["\n a {\n color: ",";\n text-decoration: none;\n\n &:link {\n color: ","; /* nice2 reset */\n }\n\n &:hover {\n text-decoration: underline;\n }\n }\n"])),y.t7.color("text"),y.t7.color("text")),S=m.Ay.div.withConfig({displayName:"StyledFileDescription"})(l||(l=h()(["\n margin-bottom: ",";\n\n && {\n a {\n text-decoration: underline;\n }\n }\n"])),v.A.space(0)),k=m.Ay.span.withConfig({displayName:"StyledIconWrapper"})(f||(f=h()(["\n padding-right: ",";\n"])),v.A.space(-1.5)),j=m.Ay.div.withConfig({displayName:"StyledCancelWrapper"})(d||(d=h()(["\n color: ",";\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n cursor: pointer;\n }\n"])),y.t7.color("text"))},96989:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r,o,i,a,c,s=n(58065),u=n(69556),l=n(64116),f=n(59939),d=n(17872),p=n(72736),h=n(74848);const m=function(e){var t=e.notification,n=e.cancelTask,m=e.navigationStrategy,v=t.taskProgress,y=(null==m?void 0:m.DetailLink)&&"completed"!==v.status,g=t.type===f.QE.info&&v.isRunning&&v.supportsCancellation;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(p.tJ,{children:[(0,h.jsx)(p.Yi,{children:v.isRunning&&(r||(r=(0,h.jsx)(u.A,{})))}),(0,h.jsx)(d.A,{notification:t})]}),"running_absolute"===v.status&&(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(p.wV,{children:(0,h.jsx)(p.Bj,{percentage:v.percentage})})}),(0,h.jsx)(p.Ey,{children:y&&(0,h.jsxs)(m.DetailLink,{entityName:"Task_execution",entityKey:v.taskExecutionKey,children:[o||(o=(0,h.jsx)(p.o0,{children:(0,h.jsx)(l.A,{icon:"arrow-right"})})),i||(i=(0,h.jsx)(s.A,{id:"client.common.notification.outputJobShowTask"}))]})}),g&&(0,h.jsxs)(p.Rd,{onClick:function(){return n(v.taskExecutionKey)},children:[a||(a=(0,h.jsx)(p.o0,{children:(0,h.jsx)(l.A,{icon:"times"})})),c||(c=(0,h.jsx)(s.A,{id:"client.common.notification.cancelTask"}))]})]})}},72543:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});const r=n(42832).A},91558:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r,o=n(22056),i=n.n(o),a=n(94394),c=n.n(a),s=n(58065),u=n(39319),l=n(56775),f=n(64116),d=n(72736),p=n(74848),h=function(e){var t=e.hasTooManyEntities,n=e.children;return t?(0,p.jsx)(u.A,{content:(0,p.jsx)(l.Ay.P,{children:(0,p.jsx)(s.A,{id:"client.common.notification.tooManyRecords",values:{max:100}})}),placement:"top",children:n}):n};const m=function(e){var t=e.notification.result,n=e.navigationStrategy,o=t.content;return(0,p.jsx)(p.Fragment,{children:Object.entries(c()(o,(function(e){return e.model}))).map((function(e){var t=i()(e,2),o=t[0],a=t[1];return(0,p.jsx)(d.Ey,{children:n&&n.ListOrDetailLink&&(0,p.jsx)(h,{hasTooManyEntities:a.length>100,children:(0,p.jsxs)(n.ListOrDetailLink,{entityName:o,entityKeys:a.map((function(e){return e.key})).slice(0,100),children:[r||(r=(0,p.jsx)(f.A,{icon:"arrow-right"}))," ",(0,p.jsx)(s.A,{id:"client.common.notification.entitiesOpen",values:{modelName:a.at(0).modelName}})]})})},"entitylink-"+o)}))})}},58123:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r,o,i,a,c,s,u=n(58065),l=n(38798),f=n(64116),d=n(46516),p=n(72736),h=n(74848);const m=(0,l.Ay)((function(e){var t=e.notification.result,n=e.navigationStrategy,l=e.intl,m=t.file,v=t.content,y=function(e){return l.formatMessage({id:e})},g=y("client.common.notification.outputJobFileLink"),b=y("client.common.notification.outputJobFileDownload");return m?(0,h.jsxs)(p.vv,{children:[(0,h.jsx)(p.Me,{children:(0,h.jsx)("a",{href:m.link,target:"_blank",rel:"noreferrer",title:g,children:m.description})}),(0,h.jsx)("div",{children:(0,h.jsxs)("a",{href:m.link,target:"_blank",rel:"noreferrer",title:g,children:[r||(r=(0,h.jsx)(p.o0,{children:(0,h.jsx)(f.A,{icon:"eye"})})),o||(o=(0,h.jsx)(u.A,{id:"client.common.notification.outputJobFileLink"}))]})}),d.A.downloadSupportedByBrowser()&&(0,h.jsxs)("a",{href:d.A.addParameterToURL(m.link,"download",!0),target:"_blank",rel:"noreferrer",title:b,children:[i||(i=(0,h.jsx)(p.o0,{children:(0,h.jsx)(f.A,{icon:"arrow-to-bottom"})})),a||(a=(0,h.jsx)(u.A,{id:"client.common.notification.outputJobFileDownload"}))]}),(0,h.jsx)(p.Ey,{children:n&&n.DetailLink&&(0,h.jsxs)(n.DetailLink,{entityName:v[0].model,entityKey:v[0].key,children:[c||(c=(0,h.jsx)(f.A,{icon:"arrow-right"}))," ",s||(s=(0,h.jsx)(u.A,{id:"client.common.notification.outputJobOpen"}))]})})]}):null}))},97425:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r,o=n(839),i=n(46326),a=n(74848);const c=function(e){var t=e.navigationStrategy;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.A,{navigationStrategy:t}),r||(r=(0,a.jsx)(o.A,{}))]})}},55816:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(97425).A},72942:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(75302),o=n(55816),i=n(90929),a=n(50715),c=n(24268),s=n(66537),u=n(15199),l=n(47408),f=n(95579),d=n(45695);const p={transformNotificationResult:r.T,addToStore:d.Y,Notifications:o.A,NotificationCenter:a.A,confirm:c.lJ,yesNoQuestion:c.no,info:c.pq,blockingInfo:i.uX,removeBlockingInfo:i.c4,modal:s.yl,removeModal:s.QC,toaster:l.XM,removeToaster:l.pv,connectSocket:u.cH,closeSocket:u.sM,toasterSources:f.A}},77389:(e,t,n)=>{"use strict";n.d(t,{N:()=>s,S:()=>u});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=c.Ay.div.withConfig({displayName:"StyledPageOverlay"})(r||(r=a()(["\n background-color: rgba(50 50 50 / 70%);\n height: 100%;\n width: 100%;\n position: fixed;\n top: 0;\n left: 0;\n"]))),u=c.Ay.div.withConfig({displayName:"StyledHolder"})(o||(o=a()(["\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n position: absolute;\n\n /* higher than StyledHeader and very high value to prevent other elements blocking it when implemented as a widget\n lower than ext-js legacy actions */\n z-index: 9000;\n"])))},6951:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(56775),o=n(38159),i=n(67529),a=n(20440),c=n(5071),s=n(74848);const u=function(e){var t=e.blocker,n=t.title,u=t.body,l=e.isLatest,f=o.A.embedStrategy({mapping:a.p});return(0,s.jsxs)(c.n,{styles:f.blockingDiplayStyles,isLatest:l,children:[n&&(0,s.jsx)(r.Ay.H1,{children:(0,s.jsx)(c.z,{styles:f.titleWrapperStyles,children:(0,s.jsx)(i.A,{children:n})})}),u&&(0,s.jsx)(r.Ay.Span,{children:(0,s.jsx)(i.A,{children:u})})]})}},5071:(e,t,n)=>{"use strict";n.d(t,{n:()=>l,z:()=>f});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(26166),u=n(57488),l=c.Ay.div.withConfig({displayName:"StyledBlockingDisplay"})(r||(r=a()(["\n /* only latest modal should be above mask */\n z-index: ",";\n position: fixed;\n top: 10px;\n left: 50%;\n transform: translateX(-155px);\n width: 310px;\n padding: ",";\n ","\n"])),(function(e){return e.isLatest?1:-1}),s.A.space(-.5),(function(e){return e.styles})),f=c.Ay.span.withConfig({displayName:"StyledTitleWrapper"})(o||(o=a()(["\n font-size: ",";\n font-weight: ",";\n ","\n"])),s.A.font(1.5),u.t7.fontWeight("regular"),(function(e){return e.styles}))},89854:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(57488);const u={blockingDiplayStyles:(0,c.AH)(r||(r=a()(["\n background-color: ",";\n\n * {\n color: ",";\n }\n"])),s.t7.color("signal.info"),s.t7.color("paper")),titleWrapperStyles:(0,c.AH)(o||(o=a()(["\n color: ",";\n"])),s.t7.color("paper"))}},20440:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});var r=n(26396),o=n.n(r),i=n(38159),a=n(89854),c=n(70877),s=o()(o()({},i.A.EmbedType.admin,a.Ay),i.A.EmbedType.widget,c.A)},70877:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(57488);const u={blockingDiplayStyles:(0,c.AH)(r||(r=a()(["\n background-color: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n * {\n color: ",";\n }\n"])),s.t7.color("paper"),s.t7.color("border"),s.t7.radii("toaster"),s.t7.color("text")),titleWrapperStyles:(0,c.AH)(o||(o=a()(["\n color: ",";\n"])),s.t7.color("signal.info"))}},90929:(e,t,n)=>{"use strict";n.d(t,{I8:()=>o,c4:()=>i,jY:()=>r,uX:()=>a});var r="notification/BLOCKING_INFO",o="notification/REMOVE_BLOCKING_INFO",i=function(e){return{type:o,payload:{id:e}}},a=function(e,t,n){return{type:r,payload:{id:e,title:t,body:n}}}},13251:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(90929),s=o().mark(l),u=o().mark(f);function l(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,i.Q7)([(0,i.jP)(c.jY,f),(0,i.jP)(c.I8,f)]);case 3:case"end":return t.stop()}}),s)}function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),u)}},61660:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(22056),o=n.n(r),i=n(4883),a=n(74916),c=n(64116),s=n(56775),u=n(32224),l=n(72543),f=n(3732),d=n(47509),p=n(74848),h={warning:"exclamation-circle",error:"times-circle",success:"check-circle",info:"info-circle"};const m=function(e){var t=e.notification,n=e.markAsRead,r=e.cancelTask,m=e.navigationStrategy,v=(0,i.useRef)(null),y=u.A.selectUnit(new Date(t.timestamp)),g=(0,i.useState)((function(){return t.read})),b=o()(g,1)[0];return(0,d.A)(v,(function(){t.read||n(t.key)})),(0,p.jsxs)(f.Pv,{ref:v,read:b,"data-cy":"notification-item",children:[(0,p.jsxs)(f.Ux,{notificationType:t.type,children:[(0,p.jsx)(f.o0,{children:(0,p.jsx)(c.A,{icon:h[t.type]})}),(0,p.jsx)(f.ze,{children:(0,p.jsx)(s.Ay.H5,{children:t.title})})]}),(0,p.jsx)(l.Ay,{notification:t,navigationStrategy:m,cancelTask:r}),(0,p.jsx)(f.kG,{children:(0,p.jsx)(a.A,{value:y.diffValue,unit:y.unit})})]})}},10213:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r,o,i,a,c=n(4883),s=n(58065),u=n(69556),l=n(56775),f=n(59939),d=n(61660),p=n(3732),h=n(74848);const m=function(e){var t=e.loadNotifications,n=e.notifications,m=e.moreNotificationsAvailable,v=e.isLoadingMoreNotifications,y=e.markAsRead,g=e.cancelTask,b=e.navigationStrategy,w=(0,c.useRef)(null);(0,c.useEffect)((function(){t()}),[t]);var x=Object.keys(n).map((function(e){return n[e]})).filter((function(e){return!e.result||e.result.type!==f.Hz.outputjob||e.result.file})).filter((function(e){return!e.taskProgress||"cancelled"!==e.taskProgress.status})).sort((function(e,t){return new Date(t.timestamp)-new Date(e.timestamp)})).map((function(e){return(0,h.jsx)(d.A,{markAsRead:y,cancelTask:g,notification:e,navigationStrategy:b},"notification-".concat(e.key))}));return(0,h.jsxs)(p.K4,{ref:w,onScroll:function(){var e=Object.keys(n).length;w.current.scrollTop+w.current.offsetHeight>=w.current.scrollHeight&&(!v&&m)&&t(e)},children:[r||(r=(0,h.jsx)(p.k9,{children:(0,h.jsx)(s.A,{id:"client.admin.notification.title"})})),x,v&&(o||(o=(0,h.jsx)(u.A,{}))),x.length>0&&!m&&(i||(i=(0,h.jsx)(l.Ay.I,{children:(0,h.jsx)(s.A,{id:"client.admin.notification.noMoreNotifications"})}))),0===x.length&&!v&&(a||(a=(0,h.jsx)(l.Ay.I,{children:(0,h.jsx)(s.A,{id:"client.admin.notification.noNotification"})})))]})}},77418:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(91727),i=n(10213),a={loadNotifications:o.fg,markAsRead:o.aI,cancelTask:o.yX};const c=(0,r.Ng)((function(e){return{notifications:e.notification.center.notifications,moreNotificationsAvailable:e.notification.center.moreNotificationsAvailable,isLoadingMoreNotifications:e.notification.center.isLoadingMoreNotifications}}),a)(i.A)},3732:(e,t,n)=>{"use strict";n.d(t,{K4:()=>S,Pv:()=>b,Ux:()=>w,k9:()=>O,kG:()=>E,o0:()=>x,ze:()=>A});var r,o,i,a,c,s,u,l,f=n(72189),d=n.n(f),p=n(51510),h=n(57488),m=n(26166),v=n(85431),y=n(72736),g={warning:h.t7.color("signal.warning"),error:h.t7.color("signal.danger"),success:h.t7.color("signal.success"),info:h.t7.color("signal.info")},b=p.Ay.article.withConfig({displayName:"StyledNotification"})(r||(r=d()(["\n margin-bottom: ",";\n padding: ",";\n ","\n"])),m.A.space(0),m.A.space(-1),(function(e){return!e.read&&(0,p.AH)(o||(o=d()(["\n background-color: ",";\n "])),h.t7.color("backgroundBody"))})),w=p.Ay.header.withConfig({displayName:"StyledNotificationHeader"})(i||(i=d()(["\n display: flex;\n align-items: center;\n margin-bottom: ",";\n\n * {\n margin-top: 0 !important;\n color: "," !important;\n }\n"])),m.A.space(-1),(function(e){var t=e.notificationType;return g[t]})),x=p.Ay.span.withConfig({displayName:"StyledIconWrapper"})(a||(a=d()(["\n display: inline-block;\n margin-right: ",";\n font-size: ",";\n"])),m.A.space(-1.5),m.A.font(5)),A=p.Ay.span.withConfig({displayName:"StyledTitleWrapper"})(c||(c=d()(["\n * {\n font-weight: "," !important;\n }\n"])),h.t7.fontWeight("regular")),O=p.Ay.div.withConfig({displayName:"StyledNotificationTitleWrapper"})(s||(s=d()(["\n ","\n margin-bottom: ",";\n"])),(0,v.A)({fontSize:m.A.font(2.9),fontWeight:h.t7.fontWeight("bold"),color:h.t7.color("secondary")}),m.A.space(-.5)),E=p.Ay.div.withConfig({displayName:"StyledTimeStamp"})(u||(u=d()(["\n font-size: ",";\n"])),m.A.font(-2)),S=p.Ay.div.withConfig({displayName:"StyledNotificationCenter"})(l||(l=d()(["\n max-height: calc(100dvh - 100px);\n overflow-y: auto;\n width: inherit;\n padding: ",";\n background-color: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n /* within the notification center the progress bars need another color */\n "," {\n background-color: transparent;\n border: 0.5px solid ",";\n }\n\n "," {\n background-color: ",";\n }\n ","\n"])),m.A.space(-.5),h.t7.color("paper"),h.t7.color("secondaryLight"),h.t7.radii("menu"),y.wV,h.t7.color("text"),y.Bj,h.t7.color("textLighter"),(0,v.A)())},50715:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(77418).A},47509:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(22056),o=n.n(r),i=n(4883);const a=function(e,t){var n=new IntersectionObserver((function(e){o()(e,1)[0].isIntersecting&&(t(),n.disconnect())}));(0,i.useEffect)((function(){return n.observe(e.current),function(){n.disconnect()}}),[])}},91727:(e,t,n)=>{"use strict";n.d(t,{EL:()=>p,GD:()=>s,Ji:()=>u,Ng:()=>v,OC:()=>r,UI:()=>c,VR:()=>y,aI:()=>b,d_:()=>m,dm:()=>f,fg:()=>h,gd:()=>a,iV:()=>l,jA:()=>d,o_:()=>g,uD:()=>i,wD:()=>o,yX:()=>w});var r="notification/SET_UNREAD_NOTIFICATION_KEYS",o="notification/UPDATE_UNREAD_NOTIFICATION",i="notification/LOAD_NOTIFICATIONS",a="notification/SET_NOTIFICATION",c="notification/SET_MORE_NOTIFICATIONS_AVAILABLE",s="notification/UPDATE_NOTIFICATION",u="notification/IS_LOADING_MORE_NOTIFICATIONS",l="notification/MARK_AS_READ",f="notification/CANCEL_TASK",d=function(e){return{type:r,payload:{unreadNotificationKeys:e}}},p=function(e,t){return{type:o,payload:{notificationKey:e,read:t}}},h=function(){return{type:i,payload:{offset:arguments.length>0&&void 0!==arguments[0]?arguments[0]:0}}},m=function(e){return{type:a,payload:{notifications:e}}},v=function(e){return{type:c,payload:{moreNotificationsAvailable:e}}},y=function(e){return{type:s,payload:{notification:e}}},g=function(){return{type:u,payload:{isLoadingMoreNotifications:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}},b=function(e){return{type:l,payload:{notificationKey:e}}},w=function(e){return{type:f,payload:{taskExecutionKey:e}}}},87456:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(80299),a=n.n(i),c=n(29056),s=n(91727);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=o()(o()(o()(o()(o()(o()({},s.gd,(function(e,t){var n=t.payload.notifications;return l(l({},e),{},{notifications:l(l({},e.notifications),n),isLoadingMoreNotifications:!1})})),s.UI,c.A.singleTransferReducer("moreNotificationsAvailable")),s.GD,(function(e,t){var n=t.payload.notification;return l(l({},e),{},{notifications:l(l({},e.notifications),{},o()({},n.key,n))})})),s.OC,c.A.singleTransferReducer("unreadNotificationKeys")),s.wD,(function(e,t){var n,r=t.payload,o=r.notificationKey;return n=r.read?e.unreadNotificationKeys.filter((function(e){return e!==o})):a()(e.unreadNotificationKeys,[o]),l(l({},e),{},{unreadNotificationKeys:n})})),s.Ji,c.A.singleTransferReducer("isLoadingMoreNotifications")),d={notifications:{},isLoadingMoreNotifications:!1,unreadNotificationKeys:[],moreNotificationsAvailable:!0};function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0,n=f[t.type];return n?n(e,t):e}},86421:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(57327),u=n(75302),l=n(91727);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=a().mark(v),h=a().mark(y),m=10;function v(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,c.Q7)([(0,c.T1)(y),(0,c.jP)(l.uD,g),(0,c.jP)(l.iV,b),(0,c.jP)(l.dm,w)]);case 3:case"end":return t.stop()}}),p)}function y(){var e,t,n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e={where:"read == false and relPrincipal.username == :currentUsername"},r.next=3,(0,c.T1)(s.A.fetchAllEntities,"Notification",e,{method:"GET"});case 3:return t=r.sent,n=t.map((function(e){return e.key})),r.next=7,(0,c.yJ)(l.jA(n));case 7:case"end":return r.stop()}}),h)}function g(e){var t=e.payload.offset;return a().mark((function e(){var n,r,i,f;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.yJ)(l.o_());case 2:return n={_limit:m,_offset:t},e.next=5,(0,c.T1)(s.A.requestSaga,"client/notifications",{method:"GET",queryParams:n});case 5:return r=e.sent,e.next=8,(0,c.Q7)(r.body.data.map((function(e){return(0,c.T1)(u.E,e)})));case 8:if(i=e.sent,f=i.reduce((function(e,t){return d(d({},e),{},o()({},t.key,t))}),{}),!(Object.keys(f).length<m)){e.next=13;break}return e.next=13,(0,c.yJ)(l.Ng(!1));case 13:return e.next=15,(0,c.yJ)(l.d_(f));case 15:case"end":return e.stop()}}),e)}))()}function b(e){var t=e.payload.notificationKey;return a().mark((function e(){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={method:"PATCH"},e.next=3,(0,c.T1)(s.A.requestSaga,"client/notifications/".concat(t,"/read"),n);case 3:case"end":return e.stop()}}),e)}))()}function w(e){var t=e.payload.taskExecutionKey;return a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.T1)(s.A.requestSaga,"client/tasks/".concat(t),{method:"DELETE"});case 2:case"end":return e.stop()}}),e)}))()}},24268:(e,t,n)=>{"use strict";n.d(t,{l9:()=>o,lJ:()=>a,nG:()=>r,no:()=>c,pq:()=>s,rD:()=>i});var r="notification/CONFIRM",o="notification/YES_NO_QUESTION",i="notification/INFO",a=function(e,t,n,o,i,a,c){return{type:r,payload:{title:e,message:t,okText:n,cancelText:o,onOk:i,onCancel:a,defaultAction:c}}},c=function(e,t,n,r,i,a,c){return{type:o,payload:{title:e,message:t,yesText:n,noText:r,onYes:i,onNo:a,onCancel:c}}},s=function(e,t,n,r){return{type:i,payload:{title:e,message:t,okText:n,onOk:r}}}},47055:(e,t,n)=>{"use strict";n.d(t,{LT:()=>f,fY:()=>l,oV:()=>u});var r=n(4883),o=n(82064),i=n(18562),a=n(66537),c=n(53550),s=n(74848);function u(e){var t=e.title,n=e.message,o=e.okText,u=e.cancelText,l=e.onOk,f=e.onCancel,d=e.defaultAction,p=void 0===d?"submit":d,h=(0,i.A)();return(0,a.yl)(h,t,n,(function(e){var t=e.close,n=function(e){"Enter"===e.key?(e.preventDefault(),"submit"===p?l():"cancel"===p&&f(),t()):"Escape"===e.key&&(f(),t())};(0,r.useEffect)((function(){return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n)}}),[]);var i=[{label:o,primary:"submit"===p,look:"submit"===p?"raised":"flat","data-cy":"btn-confirm-ok",callback:function(){l(),t()}},{label:u,primary:"cancel"===p,look:"cancel"===p?"raised":"flat","data-cy":"btn-confirm-cancel",callback:function(){f(),t()}}];return(0,s.jsx)(c.A,{buttons:i})}),!0,f)}function l(e){var t=e.title,n=e.message,r=e.yesText,u=e.noText,l=e.onYes,f=e.onNo,d=e.onCancel,p=(0,i.A)();return(0,a.yl)(p,t,n,(function(e){var t=e.close,n=function(){f(),t()};(0,o.L)(n);var i=[{label:r,callback:function(){l(),t()}},{label:u,primary:!0,look:"raised",callback:n}];return(0,s.jsx)(c.A,{buttons:i})}),!0,d)}function f(e){var t=e.title,n=e.message,o=e.okText,u=e.onOk,l=(0,i.A)();return(0,a.yl)(l,t,n,(function(e){var t=e.close,n=function(e){"Enter"===e.key&&(e.preventDefault(),u(),t())};(0,r.useEffect)((function(){return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n)}}),[]);var i=[{label:o,primary:!0,look:"raised","data-cy":"btn-confirm-ok",callback:function(){u(),t()}}];return(0,s.jsx)(c.A,{buttons:i})}),!1)}},74914:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(24268),s=n(47055),u=o().mark(f),l=o().mark(m);function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return t.next=3,(0,i.Q7)([(0,i.jP)(c.nG,d),(0,i.jP)(c.l9,p),(0,i.jP)(c.rD,h)]);case 3:t.next=7;break;case 5:return t.next=7,(0,i.Q7)([(0,i.jP)(c.nG,m),(0,i.jP)(c.l9,m),(0,i.jP)(c.rD,m)]);case 7:case"end":return t.stop()}}),u)}function d(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(s.oV,t);case 2:return n=e.sent,e.next=5,(0,i.yJ)(n);case 5:case"end":return e.stop()}}),e)}))()}function p(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(s.fY,t);case 2:return n=e.sent,e.next=5,(0,i.yJ)(n);case 5:case"end":return e.stop()}}),e)}))()}function h(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(s.LT,t);case 2:return n=e.sent,e.next=5,(0,i.yJ)(n);case 5:case"end":return e.stop()}}),e)}))()}function m(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),l)}},53550:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(26396),o=n.n(r),i=n(39892),a=n.n(i),c=n(77271),s=n(29495),u=n(4883),l=n(74848),f=["primary","callback","label"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const h=function(e){var t=e.buttons;return(0,l.jsx)(s.er,{children:t.map((function(e,t){var n=e.primary,r=e.callback,o=e.label,i=a()(e,f);return(0,u.createElement)(s.BF,p(p({},n?{ink:c.A.ink.PRIMARY}:{}),{},{key:t,onClick:r},i),o)}))})}},54870:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(4883),i=n(56775),a=n(67529),c=n(29495),s=n(74848);const u=function(e){var t,n=e.modal,u=n.cancelable,l=n.message,f=n.title,d=n.id,p=n.component,h=e.onClose,m=e.onCancel,v=e.isLatest,y=(0,o.useRef)(null),g=(0,o.useCallback)((function(){h(d)}),[h,d]),b=(0,o.useCallback)((function(){m(d)}),[m,d]);(0,o.useEffect)((function(){var e=function(e){"Escape"===e.key&&u&&b()};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[b,u]),(0,o.useLayoutEffect)((function(){y.current&&setTimeout((function(){return window.scrollTo(0,0)}),10)}),[y]);var w=(0,o.useMemo)((function(){return t||(t=(0,s.jsx)(p,{close:g}))}),[p,g]);return(0,s.jsxs)(s.Fragment,{children:[r||(r=(0,s.jsx)(c.kH,{})),(0,s.jsx)(c.ap,{isLatest:v,children:(0,s.jsxs)(c.ek,{ref:y,"data-cy":"modal-content",children:[(0,s.jsxs)(c.mf,{children:[f&&(0,s.jsx)(c.ze,{children:(0,s.jsx)(i.Ay.H1,{children:(0,s.jsx)(a.A,{children:f})})}),u&&(0,s.jsx)(c.K3,{onClick:b,type:"button","data-cy":"btn-modal-close",children:"✕"})]}),(0,s.jsxs)(c.hb,{children:[l&&(0,s.jsx)(c.UT,{children:(0,s.jsx)(i.Ay.Span,{children:(0,s.jsx)(a.A,{children:l})})}),w]})]})})]})}},29495:(e,t,n)=>{"use strict";n.d(t,{BF:()=>C,K3:()=>E,UT:()=>P,ap:()=>S,ek:()=>O,er:()=>_,hb:()=>T,kH:()=>D,mf:()=>k,ze:()=>j});var r,o,i,a,c,s,u,l,f,d,p=n(72189),h=n.n(p),m=n(51510),v=n(26166),y=n(57488),g=n(7647),b=n(43104),w=n(62764),x=n(86703),A=v.A.space(.5),O=m.Ay.div.withConfig({displayName:"StyledModalContent"})(r||(r=h()(["\n position: relative;\n background-color: ",";\n border-radius: ",";\n padding: ",";\n display: grid;\n grid-template-rows: [header] auto [body] 1fr;\n\n /* within the modal the load mask height must be set to auto to prevent cut off when sticky buttons are present */\n "," {\n height: auto;\n }\n\n "," {\n padding-right: 0;\n }\n\n @media (min-width: 501px) {\n top: 10dvh;\n box-shadow: 2px 2px 10px rgba(0 0 0 / 40%);\n max-height: 80%;\n min-width: 350px;\n max-width: 700px;\n margin: auto;\n }\n\n @media (max-width: 500px) {\n box-sizing: border-box;\n height: 100dvh;\n width: 100dvw;\n }\n"])),y.t7.color("paper"),y.t7.radii("modal"),A,g.A,b.A),E=m.Ay.button.withConfig({displayName:"StyledCloseButton"})(o||(o=h()(["\n background-color: transparent;\n border: none;\n cursor: pointer;\n font-size: 22px;\n opacity: 0.8;\n outline: none;\n position: relative;\n padding: 0;\n z-index: 1;\n margin-left: auto;\n align-self: flex-start;\n color: ",";\n\n &:hover {\n opacity: 1;\n }\n\n &:focus {\n outline: none;\n }\n"])),y.t7.color("text")),S=m.Ay.div.withConfig({displayName:"StyledModalWrapper"})(i||(i=h()(["\n width: 100%;\n height: 100%;\n position: absolute;\n\n /* only latest modal should be above mask */\n z-index: ",";\n"])),(function(e){return e.isLatest?1:-1})),k=m.Ay.div.withConfig({displayName:"StyledModalHeader"})(a||(a=h()(["\n grid-row-start: header;\n display: flex;\n"]))),j=m.Ay.div.withConfig({displayName:"StyledTitleWrapper"})(c||(c=h()(["\n padding-bottom: ",";\n"])),v.A.space(.5)),T=m.Ay.div.withConfig({displayName:"StyledModalBody"})(s||(s=h()(["\n grid-row-start: body;\n overflow: hidden auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n"]))),P=m.Ay.div.withConfig({displayName:"StyledMessageWrapper"})(u||(u=h()(["\n padding-bottom: ",";\n"])),v.A.space(0)),C=(0,m.Ay)(w.A).withConfig({displayName:"StyledModalButton"})(l||(l=h()(["\n margin-top: ",";\n\n &:last-child {\n margin-right: 0;\n }\n"])),v.A.space(0)),_=m.Ay.div.withConfig({displayName:"StyledModalButtonWrapper"})(f||(f=h()(["\n display: flex;\n justify-content: flex-end;\n"]))),D=(0,m.DU)(d||(d=h()(["\n "," {\n && {\n z-index: 9999999; /* higher than StyledModalHolder */\n }\n }\n\n html,\n body {\n /* prevent scroll of background when modal is open */\n overflow: hidden !important;\n\n /* fix scroll to top on WP when scroll-behaviour is set to smooth */\n scroll-behavior: auto !important;\n }\n"])),x.Ec)},66537:(e,t,n)=>{"use strict";n.d(t,{Cv:()=>r,QC:()=>a,dt:()=>o,yl:()=>i});var r="notification/MODAL",o="notification/REMOVE_MODAL",i=function(e,t,n,o){return{type:r,payload:{id:e,title:t,message:n,component:o,cancelable:!(arguments.length>4&&void 0!==arguments[4])||arguments[4],cancelCallback:arguments.length>5&&void 0!==arguments[5]?arguments[5]:function(){}}}},a=function(e){return{type:o,payload:{id:e}}}},91787:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(66537),s=o().mark(l),u=o().mark(f);function l(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,i.Q7)([(0,i.jP)(c.Cv,f),(0,i.jP)(c.dt,f)]);case 3:case"end":return t.stop()}}),s)}function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),u)}},3290:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r,o=n(81845),i=n.n(o),a=n(44518),c=n(77389),s=n(52274),u=n(52183),l=n(75790),f=n(74848);const d=function(e){var t=e.overlays;return t.length>0&&i().createPortal((0,f.jsxs)(c.S,{className:a.e,children:[t.map((function(e,n){return function(e,t,n){return e.type===l.A.MODAL?(0,f.jsx)(u.A,{idx:t,modal:e,isLatest:n},t):e.type===l.A.BLOCKER?(0,f.jsx)(s.A,{idx:t,blocker:e,isLatest:n},t):null}(e,n,n+1===t.length)})),r||(r=(0,f.jsx)(c.N,{}))]}),document.body)}},52354:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(66537),i=n(3290),a={closeModal:o.QC};const c=(0,r.Ng)((function(e){return{overlays:e.notification.overlay.overlays}}),a)(i.A)},52274:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6951),o=n(74848);const i=function(e){var t=e.blocker,n=e.isLatest;return(0,o.jsx)(r.A,{blocker:t,isLatest:n})}},839:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(52354).A},39014:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(54870),o=n(74848);const i=function(e){var t=e.modal,n=e.isLatest,i=e.closeModal;return(0,o.jsx)(r.A,{modal:t,onClose:i,onCancel:function(e){i(e),t.cancelable&&t.cancelCallback&&t.cancelCallback()},isLatest:n})}},52183:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(66537),i=n(39014),a={closeModal:o.QC};const c=(0,r.Ng)((function(){return{}}),a)(i.A)},75790:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={MODAL:"MODAL",BLOCKER:"BLOCKING_INFO"}},30255:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(90929),s=n(66537),u=n(75790);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={overlays:[]},p=function(e){return function(t,n){var r=n.payload.id;return f(f({},t),{},{overlays:t.overlays.filter((function(t){return t.type!==e||t.id!==r}))})}},h=a()(a()(a()(a()({},s.Cv,(function(e,t){var n=t.payload,r=n.id,i=n.title,a=n.message,c=n.component,s=n.cancelable,l=n.cancelCallback;return f(f({},e),{},{overlays:[].concat(o()(e.overlays),[{id:r,title:i,message:a,component:c,cancelable:s,cancelCallback:l,type:u.A.MODAL}])})})),s.dt,p(u.A.MODAL)),c.jY,(function(e,t){var n=t.payload,r=n.id,i=n.title,a=n.body;return f(f({},e),{},{overlays:[].concat(o()(e.overlays),[{id:r,title:i,body:a,type:u.A.BLOCKER}])})})),c.I8,p(u.A.BLOCKER));function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0,n=h[t.type];return n?n(e,t):e}},15199:(e,t,n)=>{"use strict";n.d(t,{AI:()=>l,CO:()=>a,Do:()=>r,bf:()=>o,cH:()=>c,e$:()=>i,sM:()=>s,sx:()=>u});var r="notification/CONNECT_SOCKET",o="notification/CLOSE_SOCKET",i="notification/SOCKET_MESSAGE_RECEIVED",a="notification/ADD_IGNORE_TOASTER",c=function(){return{type:r}},s=function(){return{type:o}},u=function(e){return{type:i,payload:{data:e}}},l=function(e){return{type:a,payload:{key:e}}}},35536:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(15199);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=a()({},c.CO,(function(e,t){var n=t.payload.key;return u(u({},e),{},{ignoredToasters:o()(new Set([].concat(o()(e.ignoredToasters),[n])))})})),f={ignoredToasters:[]};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0,n=l[t.type];return n?n(e,t):e}},2405:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g});var r=n(92207),o=n.n(r),i=n(90167),a=n(84847),c=n(20451),s=n(75302),u=n(91727),l=n(47408),f=n(15199),d=n(9063),p=o().mark(g),h=o().mark(b),m=o().mark(w),v=function(e){return e.notification.socket},y=function(e){return e.notification.toaster.toasters};function g(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=3;break}return t.next=3,(0,i.Q7)([(0,i.jP)(f.e$,x),(0,i.jP)(l.MO,A),(0,i.jP)(f.Do,b),(0,i.jP)(f.bf,w)]);case 3:case"end":return t.stop()}}),p)}function b(){var e;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.T1)(a.A.getOriginId);case 2:return e=t.sent,t.next=5,(0,i.T1)(c.A.connectSocket,{name:"notification",messageReceivedAction:f.sx,originId:e});case 5:case"end":return t.stop()}}),h)}function w(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.closeSocket,"notification");case 2:case"end":return e.stop()}}),m)}function x(e){var t=e.payload.data;return o().mark((function e(){var n,r,c,f,p;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(s.E,t);case 2:return n=e.sent,e.next=5,(0,i.Lt)(v);case 5:if(r=e.sent,c=r.ignoredToasters,f=!1,n.originId!==a.A.getOriginId()){e.next=16;break}return e.next=11,(0,i.T1)(d.vh,n);case 11:if(p=e.sent,c.includes(p.key)||n.read){e.next=16;break}return e.next=15,(0,i.yJ)((0,l.XM)(p));case 15:f=!0;case 16:if(f&&!n.read){e.next=19;break}return e.next=19,(0,i.yJ)((0,u.EL)(n.key,n.read));case 19:return e.next=21,(0,i.yJ)((0,u.VR)(n));case 21:case"end":return e.stop()}}),e)}))()}function A(e){var t=e.payload,n=t.key,r=t.manually;return o().mark((function e(){var t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.startsWith(d.SG)){e.next=11;break}if(!r){e.next=4;break}return e.next=4,(0,i.yJ)(f.AI(n));case 4:return e.next=6,(0,i.Lt)(y);case 6:if("success"!==e.sent[n].type&&!r){e.next=11;break}return t=n.replace(d.SG,""),e.next=11,(0,i.yJ)((0,u.aI)(t));case 11:case"end":return e.stop()}}),e)}))()}},9063:(e,t,n)=>{"use strict";n.d(t,{SG:()=>l,vh:()=>f});var r=n(26396),o=n.n(r),i=n(38159),a=n(72543),c=n(59939),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l="socket-msg-",f=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:"".concat(l).concat(e.key),type:e.type,time:new Date(e.timestamp),title:e.title,message:e.message,body:function(t){var n=t.navigationStrategy,r=t.cancelTask;return(0,s.jsx)(a.Ay,{notification:e,navigationStrategy:n,cancelTask:r})}},function(e){return e.taskProgress&&e.taskProgress.isRunning}(e)||function(e){var t;return i.A.isInWidgetEmbedded()&&(null===(t=e.result)||void 0===t?void 0:t.type)===c.Hz.outputjob}(e)?{duration:-1}:{})}},15698:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(38159),o=n(96028);const i=r.A.embedStrategyFactory({mapping:o.p})},68962:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(81845),o=n.n(r),i=n(44518),a=n(15698),c=n(57163),s=n(74848);const u=function(e){var t=e.toasters,n=e.removeToaster,r=e.cancelTask,u=e.navigationStrategy,l=Object.values(t).sort((function(e,t){return new Date(e.timestamp)-new Date(t.timestamp)})).map((function(e){return(0,s.jsx)(a.A,{toaster:e,closeToaster:n,cancelTask:r,navigationStrategy:u},"toaster-".concat(e.key))}));return(0,s.jsx)(s.Fragment,{children:t&&o().createPortal((0,s.jsx)(c.$e,{className:i.e,children:l}),document.body)})}},27267:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(71468),o=n(91727),i=n(47408),a=n(68962),c={removeToaster:i.pv,cancelTask:o.yX};const s=(0,r.Ng)((function(e){return{toasters:e.notification.toaster.toasters}}),c)(a.A)},46326:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(27267).A},57163:(e,t,n)=>{"use strict";n.d(t,{$e:()=>k,K3:()=>x,cM:()=>w,c_:()=>A,iB:()=>S,o0:()=>E,ze:()=>O});var r,o,i,a,c,s,u,l,f=n(72189),d=n.n(f),p=n(51510),h=n(26166),m=n(50098),v=n(57488),y=n(28888),g=n(85431),b=(0,p.i7)(r||(r=d()(["\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n"]))),w=p.Ay.div.withConfig({displayName:"StyledToaster"})(o||(o=d()(["\n ","\n margin-bottom: ",";\n padding: ",";\n box-shadow: 0 7px 12px -3px rgba(0 0 0 / 70%);\n animation-name: ",";\n animation-duration: 0.8s;\n pointer-events: auto;\n max-height: 90dvh;\n overflow-y: auto;\n\n @media only screen and (max-width: 500px) {\n width: 90%;\n margin-left: auto;\n margin-right: auto;\n }\n"])),(function(e){return e.styles}),h.A.space(-.5),h.A.space(0),b),x=(0,p.Ay)(m.A).withConfig({displayName:"StyledCloseButton"})(i||(i=d()(["\n padding: 0;\n font-size: ",";\n color: ",";\n float: right;\n opacity: 0.9;\n\n &,\n &&:hover {\n background: transparent;\n cursor: pointer;\n }\n ","\n"])),h.A.font(3),v.t7.color("backgroundBody"),(function(e){return e.styles})),A=p.Ay.div.withConfig({displayName:"StyledIconTitleWrapper"})(a||(a=d()(["\n display: flex;\n gap: ",";\n padding-right: ",";\n\n "," {\n margin-top: 0;\n }\n ","\n"])),h.A.space(0),h.A.space(0),y.rd,(function(e){return e.styles})),O=p.Ay.span.withConfig({displayName:"StyledTitleWrapper"})(c||(c=d()(["\n font-size: ",";\n font-weight: ",";\n position: relative;\n top: 1px;\n bottom: 2px;\n"])),h.A.font(1.5),v.t7.fontWeight("regular")),E=p.Ay.div.withConfig({displayName:"StyledIconWrapper"})(s||(s=d()(["\n font-size: ",";\n"])),h.A.font(7)),S=p.Ay.div.withConfig({displayName:"StyledContentWrapper"})(u||(u=d()(["\n padding-top: ",";\n color: ",";\n"])),h.A.space(-1),v.t7.color("textToaster")),k=p.Ay.div.withConfig({displayName:"StyledToasterBox"})(l||(l=d()(["\n display: flex;\n flex-direction: column-reverse;\n justify-content: flex-start;\n pointer-events: none;\n ",";\n position: fixed;\n height: calc(100% - (40px + 55px)); /* subtract height of header plus some additional padding */\n min-width: 310px;\n max-width: 400px;\n top: 40px; /* height of Header to prevent coverage */\n right: 55px;\n\n /* lower than StyledModalHolder and very high value \n to prevent other elements blocking it when implemented as a widget */\n z-index: 99999;\n\n @media only screen and (max-width: 500px) {\n width: 100%;\n height: calc(100% - 50px); /* subtract height of header */\n right: 0;\n margin: auto;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n }\n"])),(0,g.A)())},97262:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(22056),o=n.n(r),i=n(4883),a=n(64116),c=n(56775),s=n(7311),u=n(67529),l=n(57163),f=n(74848);const d=function(e){var t=e.toaster,n=e.closeToaster,r=e.cancelTask,d=e.navigationStrategy,p=e.styles,h=(0,i.useCallback)((function(){n(t.key,!1)}),[t.key,n]),m=s.A.useUserActive(h),v=o()(m,3),y=v[0],g=v[1],b=v[2];(0,i.useEffect)((function(){y(t.duration)}),[t.duration,y]);return(0,f.jsxs)(l.cM,{onMouseOver:function(){g()},onMouseLeave:function(){b()},type:t.type,styles:null==p?void 0:p.toasterStyles,"data-cy":"toaster-wrapper-".concat(t.key),children:[(0,f.jsx)(l.K3,{icon:"times",onClick:function(){n(t.key,!0)},styles:null==p?void 0:p.closeButtonStyles}),(0,f.jsxs)(l.c_,{type:t.type,styles:null==p?void 0:p.iconTitleWrapperStyles,children:[t.icon&&(0,f.jsx)(l.o0,{children:(0,f.jsx)(a.A,{icon:t.icon,hasFixedWidth:!1})}),t.title&&(0,f.jsx)(c.Ay.H1,{children:(0,f.jsx)(l.ze,{"data-cy":"toaster-title",children:(0,f.jsx)(u.A,{children:t.title})})})]}),t.body&&(0,f.jsx)(l.iB,{"data-cy":"toaster-content",children:(0,f.jsx)(u.A,{children:"function"==typeof t.body?(0,f.jsx)(t.body,{navigationStrategy:d,cancelTask:r}):t.body})})]},t.key)}},27458:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(72637),a=n.n(i),c=n(16193),s=n.n(c),u=n(97262),l=n(8583),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const p=function(e){var t=s()({},(a()(e),e));return(0,f.jsx)(u.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({styles:{toasterStyles:l.L,closeButtonStyles:l.X}},t))}},8583:(e,t,n)=>{"use strict";n.d(t,{L:()=>l,X:()=>f});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(57488),u={info:"info",success:"success",error:"danger",warning:"warning"},l=function(){return(0,c.AH)(r||(r=a()(["\n background-color: "," !important;\n\n *,\n a:link // reset legacy styling\n {\n color: "," !important;\n }\n"])),(function(e){return function(e,t){return u[e]?t.colors.signal[u[e]]:"#ccc"}(e.type,e.theme)}),s.t7.color("textToaster"))},f=function(){return(0,c.AH)(o||(o=a()(["\n &:hover {\n opacity: 1;\n color: ",";\n }\n"])),s.t7.color("textToaster"))}},96028:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});var r=n(26396),o=n.n(r),i=n(38159),a=n(27458),c=n(18871),s=o()(o()({},i.A.EmbedType.admin,a.A),i.A.EmbedType.widget,c.A)},18871:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(72637),a=n.n(i),c=n(16193),s=n.n(c),u=n(97262),l=n(34938),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const p=function(e){var t=s()({},(a()(e),e));return(0,f.jsx)(u.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({styles:{toasterStyles:l.Lv,iconTitleWrapperStyles:l.lD}},t))}},34938:(e,t,n)=>{"use strict";n.d(t,{Lv:()=>l,lD:()=>f});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(57488),u={info:"info",success:"success",error:"danger",warning:"warning"},l=function(){return(0,c.AH)(r||(r=a()(["\n background-color: "," !important;\n border-radius: ",";\n border: 1px solid ",";\n\n *,\n a:link // reset legacy styling\n {\n color: "," !important;\n }\n"])),s.t7.color("paper"),s.t7.radii("statusLabel"),s.t7.color("border"),s.t7.color("text"))},f=function(){return(0,c.AH)(o||(o=a()(["\n * {\n color: "," !important;\n }\n"])),(function(e){return function(e,t){return u[e]?t.colors.signal[u[e]]:"#ccc"}(e.type,e.theme)}))}},47408:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>i,GE:()=>s,MO:()=>o,XM:()=>a,hf:()=>r,pv:()=>c});var r="notification/TOASTER",o="notification/REMOVE_TOASTER",i="notification/REMOVE_TOASTER_FROM_STORE",a=function(e){return{type:r,payload:{toaster:e}}},c=function(e,t){return{type:o,payload:{key:e,manually:t}}},s=function(e){return{type:i,payload:{key:e}}}},23747:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(85735),o=n.n(r),i=n(39892),a=n.n(i),c=n(26396),s=n.n(c),u=n(47408),l=n(65123),f=n(95579);function d(e){var t=function(e,t){if("object"!=o()(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o()(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o()(t)?t:t+""}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=s()(s()({},u.hf,(function(e,t){var n=t.payload.toaster,r=(0,l.BD)(n),o=e.toasters[r.key];return!o||function(e){return e.source!==f.A.SYNC_ACTION}(o)?h(h({},e),{},{toasters:h(h({},e.toasters),{},s()({},r.key,r))}):e})),u.Bk,(function(e,t){var n=t.payload.key,r=e.toasters,o=(r[n],a()(r,[n].map(d)));return h(h({},e),{},{toasters:h({},o)})})),v={toasters:{}};function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=arguments.length>1?arguments[1]:void 0,n=m[t.type];return n?n(e,t):e}},64822:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(47408),s=o().mark(l),u=o().mark(f);function l(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return t.next=3,(0,i.Q7)([(0,i.jP)(c.MO,d)]);case 3:t.next=7;break;case 5:return t.next=7,(0,i.Q7)([(0,i.jP)(c.hf,f),(0,i.jP)(c.MO,f)]);case 7:case"end":return t.stop()}}),s)}function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),u)}function d(e){var t=e.payload,n=t.key;t.manually;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.yJ)(c.GE(n));case 2:case"end":return e.stop()}}),e)}))()}},65123:(e,t,n)=>{"use strict";n.d(t,{BD:()=>d});var r=n(26396),o=n.n(r),i=n(5556),a=n.n(i),c=n(18562),s=n(59939);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e,t){return Number.isInteger(e)?e:(0,s.ie)(t)?-1:5e3},d=function(e){if(!e.title&&!e.body)return null;var t=e.type&&Object.keys(s.QE).includes(e.type)?e.type:s.QE.neutral;return l(l(l(l(l({type:t,key:e.key||(0,c.A)()},e.title&&{title:e.title}),e.message&&{message:e.message}),e.body&&{body:e.body}),{},{icon:e.icon||s.KD[t]},e.onClose&&"function"==typeof e.onClose&&{onClose:e.onClose}),{},{duration:f(e.duration,t),time:e.time instanceof Date?e.time:new Date},e.source&&{source:e.source})};a().shape({type:a().oneOf(Object.values(s.QE)).isRequired,title:a().oneOfType([a().string,a().func]),message:a().oneOfType([a().string,a().func]),body:a().oneOfType([a().string,a().func]),onClose:a().func,icons:a().string,duration:a().number,time:a().instanceOf(Date)})},95579:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={SYNC_ACTION:"sync-action"}},45695:(e,t,n)=>{"use strict";n.d(t,{Y:()=>m});var r=n(14644),o=n(29056),i=n(13251),a=n(87456),c=n(86421),s=n(74914),u=n(91787),l=n(30255),f=n(35536),d=n(2405),p=n(23747),h=n(64822),m=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).withNotificationCenter,m=void 0!==n&&n;t&&o.A.injectReducers(e,{notification:(0,r.HY)({socket:f.A,toaster:p.A,center:a.A,overlay:l.A})}),e.sagaMiddleware.run(i.A,t),e.sagaMiddleware.run(s.Ay,t),e.sagaMiddleware.run(u.A,t),e.sagaMiddleware.run(d.Ay,t),e.sagaMiddleware.run(h.Ay,t),t&&m&&e.sagaMiddleware.run(c.Ay)}},59939:(e,t,n)=>{"use strict";n.d(t,{Hz:()=>s,KD:()=>l,QE:()=>c,ie:()=>u});var r=n(26396),o=n.n(r),i=n(5556),a=n.n(i),c={neutral:"neutral",info:"info",warning:"warning",error:"error",success:"success"},s={outputjob:"OUTPUTJOB",entities:"ENTITIES"},u=function(e){return e===c.error||e===c.warning},l=o()(o()(o()(o()(o()({},c.neutral,null),c.error,"times-circle"),c.warning,"exclamation-circle"),c.success,"check-circle"),c.info,"info-circle");a().shape({key:a().string.isRequired,message:a().string,read:a().bool,timestamp:a().string,originId:a().string,type:a().string,taskProgress:a().shape({taskExecutionKey:a().string.isRequired,status:a().string,message:a().string,percentage:a().number,done:a().number,total:a().number,supportsCancellation:a().bool,isRunning:a().bool})})},94749:(e,t,n)=>{"use strict";n.d(t,{I:()=>r,x:()=>o});var r="remoteEvents/REMOTE_EVENT",o=function(e){return{type:r,payload:{event:e}}}},87774:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(94749);const o={REMOTE_EVENT:r.I,remoteEvent:r.x}},29564:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(65044),o=n.n(r),i=n(82274),a=n.n(i),c=n(65611),s=n.n(c),u=n(18337),l=n.n(u),f=n(56994),d=n.n(f);function p(e,t,n){return t=l()(t),s()(e,h()?Reflect.construct(t,n||[],l()(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}const m=function(e){function t(){return a()(this,t),p(this,t,arguments)}return d()(t,e),o()(t)}(n(17307).A)},22729:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(65044),o=n.n(r),i=n(82274),a=n.n(i),c=n(65611),s=n.n(c),u=n(18337),l=n.n(u),f=n(56994),d=n.n(f);function p(e,t,n){return t=l()(t),s()(e,h()?Reflect.construct(t,n||[],l()(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}const m=function(e){function t(){return a()(this,t),p(this,t,arguments)}return d()(t,e),o()(t)}(n(17307).A)},30355:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(65044),o=n.n(r),i=n(82274),a=n.n(i),c=n(65611),s=n.n(c),u=n(18337),l=n.n(u),f=n(56994),d=n.n(f);function p(e,t,n){return t=l()(t),s()(e,h()?Reflect.construct(t,n||[],l()(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}const m=function(e){function t(e){var n;return a()(this,t),(n=p(this,t)).message=e,n}return d()(t,e),o()(t)}(n(17307).A)},52259:(e,t,n)=>{"use strict";n.d(t,{OO:()=>h});var r=n(92207),o=n.n(r),i=n(32742),a=n(90167),c=n(72942),s=n(29564),u=n(38726),l=o().mark(m),f=o().mark(y),d=o().mark(g),p={ConfirmQuestionHandler:y,YesNoQuestionHandler:g};function h(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.addBlockingInfoAction,c=r.removeBlockingInfoAction;return o().mark((function r(){var l,f;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("GET"!==t.options.method&&"HEAD"!==t.options.method){r.next=2;break}return r.abrupt("return",e);case 2:l={};case 3:if(!e.body||!e.body.clientQuestion){r.next=26;break}return r.next=6,(0,a.T1)(m,e.body.clientQuestion);case 6:if(null!=(f=r.sent).answer){r.next=13;break}if(!n.returnCancelledClientQuestion){r.next=12;break}return r.abrupt("return",e);case 12:throw new s.A("Client question cancelled by user");case 13:if(l[e.body.clientQuestion.id]=f.answer,t.options.body=JSON.stringify({clientAnswers:l,payload:n.body}),!i){r.next=18;break}return r.next=18,(0,a.yJ)(i);case 18:return r.next=20,(0,a.T1)(u.w,t.url,t.options,n.acceptedErrorCodes,n.acceptedStatusCodes);case 20:if(e=r.sent,!c){r.next=24;break}return r.next=24,(0,a.yJ)(c);case 24:r.next=3;break;case 26:return r.abrupt("return",e);case 27:case"end":return r.stop()}}),r)}))()}function m(e){var t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(t=p[e.handler])){n.next=5;break}return n.next=4,(0,a.T1)(t,e);case 4:return n.abrupt("return",n.sent);case 5:throw new Error("No question handler found for client question",e);case 6:case"end":return n.stop()}}),l)}var v=function(e){return{answer:e}};function y(e){var t,n,r,s,u,l,d;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,a.T1)(i.Ix);case 2:return t=o.sent,n=function(){return t.put(v(!0))},r=function(){return t.put(v(null))},s=e.header,u=e.message,l=e.okText,d=e.cancelText,o.next=8,(0,a.yJ)(c.A.confirm(s,u,l,d,n,r));case 8:return o.next=10,(0,a.s)(t);case 10:return o.abrupt("return",o.sent);case 11:case"end":return o.stop()}}),f)}function g(e){var t,n,r,s,u,l,f,p;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,a.T1)(i.Ix);case 2:return t=o.sent,n=function(){return t.put(v(!0))},r=function(){return t.put(v(!1))},s=function(){return t.put(v(null))},u=e.header,l=e.message,f=e.yesText,p=e.noText,o.next=9,(0,a.yJ)(c.A.yesNoQuestion(u,l,f,p,n,r,s));case 9:return o.next=11,(0,a.s)(t);case 11:return o.abrupt("return",o.sent);case 12:case"end":return o.stop()}}),d)}},36094:(e,t,n)=>{"use strict";n.d(t,{CO:()=>se,Cx:()=>$,D8:()=>ie,HM:()=>re,Jt:()=>ae,LU:()=>M,Ov:()=>I,QN:()=>N,UA:()=>L,_P:()=>J,aO:()=>K,cM:()=>ee,f2:()=>z,fW:()=>U,hc:()=>V,op:()=>Z,qj:()=>F,qq:()=>B,rN:()=>G,rS:()=>Y,sU:()=>ce,s_:()=>te,tL:()=>oe});var r=n(21259),o=n.n(r),i=n(22056),a=n.n(i),c=n(26396),s=n.n(c),u=n(92207),l=n.n(u),f=n(58156),d=n.n(f),p=n(23805),h=n.n(p),m=n(23181),v=n.n(m),y=n(40860),g=n.n(y),b=n(90167),w=n(18242),x=n(80211),A=n(31781),O=l().mark(I),E=l().mark(F),S=l().mark($),k=l().mark(re),j=l().mark(oe),T=l().mark(ie),P=l().mark(ae),C=l().mark(ce),_=l().mark(se);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e){return e};return l().mark((function i(){var a,c,s,u,f,d,p;return l().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a=r.method,c=void 0===a?"POST":a,s=r.useSelectors,u=void 0===s||s,i.next=3,(0,b.T1)(Z,n);case 3:return f=i.sent,d=R({method:c,queryParams:R({_omitLinks:!0,_useSelectors:u},"GET"===c&&R(R({},te(f)),{},{_permissions:!0}))},"POST"===c&&{body:R(R({},f),{},{permissions:!0})}),i.next=7,(0,b.T1)(A.Gt,"entities/2.0/".concat(e,"/").concat(t),d);case 7:return p=i.sent,i.next=10,(0,b.T1)(o,p.body);case 10:return i.abrupt("return",i.sent);case 11:case"end":return i.stop()}}),i)}))()}function I(e,t){var n;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n={method:"GET",queryParams:{_omitLinks:!0}},r.prev=1,r.next=4,(0,b.T1)(A.Gt,"entities/2.0/".concat(e,"/").concat(t),n);case 4:return r.abrupt("return",!0);case 7:return r.prev=7,r.t0=r.catch(1),r.abrupt("return",!1);case 10:case"end":return r.stop()}}),O,null,[[1,7]])}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return l().mark((function o(){return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.t0=d(),o.next=3,B(s()({},e,[t]),n,r);case 3:return o.t1=o.sent,o.t2="".concat(e,".").concat(t),o.abrupt("return",(0,o.t0)(o.t1,o.t2,null));case 6:case"end":return o.stop()}}),o)}))()}function L(e,t,n){U(s()({},e,[t]),n)}function F(e,t,n,r,o){var i,a;return l().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return i={method:"POST",queryParams:{_paths:r.join(",")},body:{entityName:o,type:"ID",ids:n}},c.next=3,(0,b.T1)(A.Gt,"forms/".concat(e,"_").concat(t,"/display-expressions"),i);case 3:return a=c.sent,c.abrupt("return",a.body.displayExpressions.reduce((function(e,t){return R(R({},e),{},s()({},t.key,t.displayExpressions))}),{}));case 5:case"end":return c.stop()}}),E)}var H=function(e,t,n){var r=n?".".concat(n):"";return"".concat(e,".").concat(t).concat(r)};function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return l().mark((function r(){var o,i;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=Object.entries(e).map((function(e){var n=a()(e,2),r=n[0],o=n[1];return{model:r,keys:o.filter((function(e){return void 0===w.A.getObjectCache("display",H(r,e,t))})),displays:o.map((function(e){return{key:e,display:w.A.getObjectCache("display",H(r,e,t))}})).filter((function(e){return void 0!==e.display}))}})),r.next=3,W(o,t,n);case 3:return i=r.sent,r.abrupt("return",o.reduce((function(e,t){var n=t.model,r=t.displays;return R(R({},e),{},s()({},n,R(R({},e[n]),r.reduce((function(e,t){var n=t.key,r=t.display;return R(R({},e),{},s()({},n,r))}),{}))))}),i));case 5:case"end":return r.stop()}}),r)}))()}function U(e,t){Object.entries(e).forEach((function(e){var n=a()(e,2),r=n[0];n[1].forEach((function(e){return w.A.removeObjectCache("display",H(r,e,t))}))}))}function W(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return l().mark((function r(){var o,i,c,u,f;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!((o=e.filter((function(e){return e.keys.length>0})).map((function(e){return{model:e.model,keys:e.keys}}))).length>0)){r.next=12;break}return i={method:"POST",body:{data:o},queryParams:{_ignoreFallback:n}},c=t?"/".concat(t):"",r.next=6,(0,b.T1)(A.Gt,"entities/2.0/displays".concat(c),i);case 6:return u=r.sent,f=u.body.data.reduce((function(e,t){var n=t.model,r=t.values;return R(R({},e),{},s()({},n,r.reduce((function(e,t){var n=t.key,r=t.display;return R(R({},e),{},s()({},n,r))}),{})))}),{}),Object.entries(f).forEach((function(e){var n=a()(e,2),r=n[0],o=n[1];Object.entries(o).forEach((function(e){var n=a()(e,2),o=n[0],i=n[1];w.A.addObjectCache("display",H(r,o,t),i)}))})),r.abrupt("return",f);case 12:return r.abrupt("return",{});case 13:case"end":return r.stop()}}),r)}))()}function z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l().mark((function r(){var o,i,a,c,s,u,f;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.method,i=void 0===o?"POST":o,a=n.endpoint,r.next=3,(0,b.T1)(Z,t);case 3:return c=r.sent,s=(a||"entities/2.0/".concat(e))+"/count",u=R({method:i},"GET"===i?{queryParams:te(c)}:{body:c}),r.next=8,(0,b.T1)(A.Gt,s,u);case 8:return f=r.sent,r.abrupt("return",f.body.count);case 10:case"end":return r.stop()}}),r)}))()}function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Q;return l().mark((function i(){var a,c,s,u,f,d,p,h,m,y;return l().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,b.T1)(x.BA);case 2:return a=i.sent,c=n.method,s=void 0===c?"POST":c,u=n.endpoint,f=n.allKeys,i.next=6,(0,b.T1)(z,e,t,n);case 6:return d=i.sent,p=f?1:Math.ceil(d/a),h=u||"entities/2.0/".concat(e).concat("POST"===s?"/search":""),m=v()(p).map((function(e){return e+1})).map((function(e){return R(R({},t),{},{page:e,limit:a})})).map(Z).map((function(e){return(0,b.T1)(q,s,f,e,h,r)})),i.next=12,(0,b.Q7)(m);case 12:return y=i.sent,i.abrupt("return",y.reduce((function(e,t){return[].concat(o()(e),o()(t))}),[]));case 14:case"end":return i.stop()}}),i)}))()}function Y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Q;return l().mark((function o(){var i,a,c,s,u,f;return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=n.method,a=void 0===i?"POST":i,c=n.endpoint,s=n.allKeys,o.next=3,(0,b.T1)(Z,t);case 3:return u=o.sent,f=c||"entities/2.0/".concat(e).concat("POST"===a?"/search":""),o.next=7,(0,b.T1)(q,a,s,u,f,r);case 7:return o.abrupt("return",o.sent);case 8:case"end":return o.stop()}}),o)}))()}function q(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Q;return l().mark((function i(){var a,c;return l().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a=R({method:e,queryParams:R({_omitLinks:!0,_allKeys:t},"GET"===e&&te(n))},"POST"===e&&{body:n}),i.next=3,(0,b.T1)(A.Gt,r,a);case 3:return c=i.sent,i.next=6,(0,b.T1)(o,c.body);case 6:return i.abrupt("return",i.sent);case 7:case"end":return i.stop()}}),i)}))()}function V(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return l().mark((function o(){var i,a,c,s;return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(void 0===r&&(r="create"===t),i="".concat(e,"/").concat(t),void 0===w.A.getObjectCache("forms",i)||r){o.next=4;break}return o.abrupt("return",w.A.getObjectCache("forms",i));case 4:return a=R(R({},["create","search"].includes(t)?{queryParams:{_display:!0}}:{}),n&&{acceptedStatusCodes:[404]}),o.next=7,(0,b.T1)(A.Gt,"forms/".concat(i),a);case 7:if(c=o.sent,!n||404!==c.status){o.next=11;break}return w.A.addObjectCache("forms",i,null),o.abrupt("return",null);case 11:return o.next=13,(0,b.T1)(X,c.body);case 13:return s=o.sent,w.A.addObjectCache("forms",i,s),o.abrupt("return",s);case 16:case"end":return o.stop()}}),o)}))()}function $(e){var t;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,b.T1)(A.Gt,"client/searchfilters/".concat(e));case 2:return t=n.sent,n.abrupt("return",t.body.filters);case 4:case"end":return n.stop()}}),S)}function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J;return l().mark((function n(){var r,o,i;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(r=w.A.getObjectCache("model",e))){n.next=3;break}return n.abrupt("return",r);case 3:return n.next=5,(0,b.T1)(A.Gt,"entities/".concat(e,"/model"));case 5:return o=n.sent,n.next=8,(0,b.T1)(t,o.body);case 8:return i=n.sent,w.A.addObjectCache("model",e,i),n.abrupt("return",i);case 11:case"end":return n.stop()}}),n)}))()}var J=function(e){var t={name:e.name,label:e.label,markable:e.markable,useNiceFields:e.useNiceFields,keyField:e.keyField,paths:{}};return e.fields.forEach((function(e){t.paths[e.fieldName]=R({},e)})),e.relations.forEach((function(e){t.paths[e.relationName]=R({type:"relation"},e)})),t},X=function(e){return e.form},Q=function(e){return e.data},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.conditions,n=e.fields,r=e.form,o=e.limit,i=e.search,a=e.sorting,c=e.page,s=e.paths,u=e.where,l=e.relations,f=e.filter,d=e.keys,p=e.constriction;return R(R(R(R(R(R(R(R(R(R(R(R(R({},t?{conditions:t}:{}),Array.isArray(n)?{fields:0===n.length?"!":n}:{}),r?{form:r}:{}),o?{limit:o}:{}),i?{search:i}:{}),a?{sort:ee(a)}:{}),c&&o?{offset:(c-1)*o}:{}),s?{paths:s}:{}),u?{where:u}:{}),Array.isArray(l)?{relations:0===l.length?"!":l}:{}),f?{filter:f}:{}),d?{keys:d}:{}),p?{constriction:p}:{})},ee=function(e){return e.map((function(e){return"".concat(e.field," ").concat(e.order)})).join(", ")},te=function(e){return g()(e,(function(e,t,n){var r={};return"conditions"===n?r=ne(t):r["_"+n]=Array.isArray(t)?t.join(","):t,R(R({},e),r)}),{})},ne=function(e){return g()(e,(function(e,t,n){return R(R({},e),{},s()({},n,h()(t)&&t.value?t.value:t))}),{})};function re(){var e,t,n,r,o,i;return l().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,b.T1)(A.Gt,"principals");case 2:return e=a.sent,t=e.body,n=t.username,r=t.businessUnit,o=t.inWrongBusinessUnit,i={username:n,currentBusinessUnit:r,inWrongBusinessUnit:o},a.abrupt("return",i);case 6:case"end":return a.stop()}}),k)}function oe(e){var t,n;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t={method:"POST",body:{selection:e}},r.next=3,(0,b.T1)(A.Gt,"client/markings",t);case 3:return n=r.sent,r.abrupt("return",n.body.markings);case 5:case"end":return r.stop()}}),j)}function ie(e,t){var n,r;return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n={method:"GET"},o.next=3,(0,b.T1)(A.Gt,"client/markings/".concat(e,"/").concat(t),n);case 3:return r=o.sent,o.abrupt("return",r.body.marked);case 5:case"end":return o.stop()}}),T)}function ae(e,t,n){var r;return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return r={method:"PATCH",body:{marked:n}},o.next=3,(0,b.T1)(A.Gt,"client/markings/".concat(e,"/").concat(t),r);case 3:case"end":return o.stop()}}),P)}function ce(){var e,t,n;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=w.A.getLongTerm("server","locales"))){r.next=3;break}return r.abrupt("return",e);case 3:return r.next=5,(0,b.T1)(A.Gt,"locales");case 5:return t=r.sent,n=t.body.locales,w.A.addLongTerm("server","locales",n),r.abrupt("return",n);case 9:case"end":return r.stop()}}),C)}function se(){var e,t,n;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=w.A.getLongTerm("server","modules"))){r.next=3;break}return r.abrupt("return",e);case 3:return r.next=5,(0,b.T1)(A.Gt,"modules");case 5:return t=r.sent,n=t.body.modules,w.A.addLongTerm("server","modules",n),r.abrupt("return",n);case 9:case"end":return r.stop()}}),_)}},7947:(e,t,n)=>{"use strict";n.d(t,{Hk:()=>p,SF:()=>d,jz:()=>f,o4:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(31781),c=o().mark(l),s=o().mark(f),u=o().mark(p);function l(e){var t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.Gt,"client/preferences".concat(e?"/"+e:""));case 2:return t=n.sent,n.abrupt("return",t.body.preferences);case 4:case"end":return n.stop()}}),c)}function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.T1)(a.Gt,"client/preferences/".concat(e),{method:"DELETE"});case 2:case"end":return t.stop()}}),s)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/nice2/ui/settings";return o().mark((function n(){return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.Gt,"client/preferences",{method:"PATCH",body:{path:t,values:e}});case 2:case"end":return n.stop()}}),n)}))()}function p(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(a.Gt,"client/settings/reset",{method:"POST"});case 2:case"end":return e.stop()}}),u)}},80211:(e,t,n)=>{"use strict";n.d(t,{BA:()=>m,lQ:()=>p,rL:()=>h});var r=n(92207),o=n.n(r),i=n(90179),a=n.n(i),c=n(90167),s=n(18242),u=n(31781),l=o().mark(p),f=o().mark(h),d=o().mark(m);function p(){var e,t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.T1)(u.Gt,"client/settings");case 2:return e=n.sent,t=a()(e.body,["_links"]),n.abrupt("return",t);case 5:case"end":return n.stop()}}),l)}function h(){var e,t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.T1)(u.Gt,"client/settings");case 2:return e=n.sent,t=a()(e.body,["_links"]),n.abrupt("return",t.niceRevision);case 5:case"end":return n.stop()}}),f)}function m(){var e,t,n;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=s.A.getObjectCache("server","maxLimit"))){r.next=5;break}return r.abrupt("return",e);case 5:return r.next=7,(0,c.T1)(p);case 7:return t=r.sent,n=t.maxLimit,s.A.addObjectCache("server","maxLimit",n),r.abrupt("return",n);case 11:case"end":return r.stop()}}),d)}},57327:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(29564),o=n(22729),i=n(36094),a=n(7947),c=n(80211),s=n(30355),u=n(31781);const l={requestSaga:u.Gt,requestBytesSaga:u.r9,simpleRequest:u.M$,ClientQuestionCancelledException:r.A,ForbiddenException:o.A,InformationError:s.A,fetchEntity:i.QN,fetchAllEntities:i.rN,fetchEntitiesPage:i.rS,fetchDisplay:i.LU,invalidateDisplay:i.UA,fetchDisplays:i.qq,invalidateDisplays:i.fW,fetchDisplayExpressions:i.qj,fetchForm:i.hc,fetchModel:i.aO,defaultModelTransformer:i._P,fetchEntityCount:i.f2,fetchSearchFilters:i.Cx,buildRequestQuery:i.op,requestQueryToUrlParams:i.s_,fetchPrincipal:i.HM,fetchUserPreferences:a.o4,deleteUserPreferences:a.jz,savePreferences:a.SF,resetAllPreferences:a.Hk,fetchServerSettings:c.lQ,fetchServerRevision:c.rL,fetchServerMaxLimit:c.BA,createSortingString:i.cM,fetchMarkings:i.tL,fetchMarked:i.D8,setMarked:i.Jt,entityExists:i.Ov,fetchLocales:i.sU,fetchModules:i.CO}},38726:(e,t,n)=>{"use strict";n.d(t,{A:()=>m,w:()=>h});var r=n(26396),o=n.n(r),i=n(14672),a=n(30355);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=412,l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!(e.ok||n.includes(e.status)||e.body&&t.includes(e.body.errorCode))){if(409===e.status&&e.body.information)throw new a.A(e.body.information);var r="".concat(e.statusText," ").concat(e.body?e.body.message:"");throw new Error(r)}return e},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e.json()},n=e.ok,r=e.headers,o=e.status,i={ok:n,headers:r,status:o,statusText:e.statusText};return 204===o?s(s({},i),{},{body:null}):t(e).then((function(e){return s(s({},i),{},{body:e})})).catch((function(e){return s(s({},i),{},{body:null})}))},d=function(e){return f(e,(function(e){return e.blob()}))},p=function(e){return s(s({},e),{},{referrerPolicy:"no-referrer-when-downgrade",signal:i.A.abortController.signal})};function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return r.push(u),fetch(e,p(t)).then((function(e){return f(e)})).then((function(e){return l(e,n,r)}))}function m(e,t,n,r){return fetch(e,p(t)).then((function(e){return d(e)})).then((function(e){return l(e,n,r)}))}},31781:(e,t,n)=>{"use strict";n.d(t,{Gt:()=>A,M$:()=>S,r9:()=>O});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(38159),u=n(94727),l=n(79253),f=n(18562),d=n(72942),p=n(52259),h=n(30355),m=n(38726);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=a().mark(x),b=a().mark(E),w=function(e){var t=Object.keys(e||{}).filter((function(t){return!!e[t]})).sort((function(e,t){return e.localeCompare(t)})).map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e))})).join("&"):"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&");return t?"?".concat(t):""};function x(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof h.A)){t.next=5;break}return t.next=3,(0,c.yJ)(d.A.toaster({type:"info",title:"client.common.information",body:e.message}));case 3:t.next=6;break;case 5:throw e;case 6:case"end":return t.stop()}}),g)}function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a().mark((function n(){var r,o,i,s,u;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.T1)(E,t);case 2:return n.next=4,(0,c.T1)(k,e,t);case 4:return r=n.sent,n.next=7,(0,c.T1)(j,t);case 7:if(o=n.sent,i=o.addBlockingInfoAction,s=o.removeBlockingInfoAction,n.prev=9,!i){n.next=13;break}return n.next=13,(0,c.yJ)(i);case 13:return n.next=15,(0,c.T1)(m.w,r.url,r.options,t.acceptedErrorCodes,t.acceptedStatusCodes);case 15:if(u=n.sent,!s){n.next=19;break}return n.next=19,(0,c.yJ)(s);case 19:return n.next=21,(0,c.T1)(p.OO,u,r,t,o);case 21:return u=n.sent,n.abrupt("return",u);case 25:if(n.prev=25,n.t0=n.catch(9),!s){n.next=30;break}return n.next=30,(0,c.yJ)(s);case 30:return n.next=32,x(n.t0);case 32:return n.abrupt("return",{});case 33:case"end":return n.stop()}}),n,null,[[9,25]])}))()}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a().mark((function n(){var r;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.T1)(E,t);case 2:return n.next=4,(0,c.T1)(k,e,t);case 4:return r=n.sent,n.prev=5,n.next=8,(0,c.T1)(m.A,r.url,r.options,t.acceptedErrorCodes,t.acceptedStatusCodes);case 8:return n.abrupt("return",n.sent);case 11:return n.prev=11,n.t0=n.catch(5),n.next=15,x(n.t0);case 15:return n.abrupt("return",{});case 16:case"end":return n.stop()}}),n,null,[[5,11]])}))()}function E(e){var t,n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null!==(t=e.queryParams)&&void 0!==t&&t.locale){r.next=5;break}return r.next=3,(0,c.Lt)(u.A.localeSelector);case 3:n=r.sent,e.queryParams=y(y({},e.queryParams),{},{locale:n});case 5:return r.abrupt("return",e);case 6:case"end":return r.stop()}}),b)}var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=k(e,t);return(0,m.w)(n.url,n.options,t.acceptedErrorCodes,t.acceptedStatusCodes)};function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.queryParams,r=void 0===n?{}:n,o=t.method,i=void 0===o?"GET":o,a=t.backendUrl,c=void 0===a?s.A.getBackendUrl():a,u=l.A.prepareHeaders(t),f=t.body;!f||f instanceof FormData||"string"==typeof f||(f=JSON.stringify(f));var d=y({method:i,headers:u,credentials:"include"},f?{body:f}:{}),p=s.A.getWidgetConfigKey(),h=y(y({},r),r._widget_key?{}:{_widget_key:p}),m=w(h),v=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")||t.startsWith("nice2")?l.A.prepareUrl(e,t):"".concat(e,"/nice2/rest/").concat(t)}(c,e);return{url:"".concat(v).concat(m),options:d}}function j(e){var t=e.blockingInfoTitle;return a().mark((function e(){var n,r,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=10;break}return e.next=3,(0,c.T1)(f.A);case 3:return n=e.sent,r=t,o=d.A.blockingInfo(n,r),i=d.A.removeBlockingInfo(n),e.abrupt("return",{addBlockingInfoAction:o,removeBlockingInfoAction:i});case 10:return e.abrupt("return",{});case 11:case"end":return e.stop()}}),e)}))()}},20451:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(77419);const o={connectSocket:r.cH,closeSocket:r.sM}},77419:(e,t,n)=>{"use strict";n.d(t,{cH:()=>v,sM:()=>y});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(32742),s=n(90167),u=n(19461),l=n(38159),f=a().mark(v);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=1e3,m={};function v(e){var t,n,r;return a().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,s.T1)(b,e.name,e.originId);case 2:return t=o.sent,o.next=5,(0,s.T1)(g,p(p({},e),{},{url:t}));case 5:n=o.sent;case 6:return o.next=9,(0,s.s)(n);case 9:return r=o.sent,o.next=12,(0,s.yJ)(r);case 12:o.next=6;break;case 14:case"end":return o.stop()}}),f)}function y(e){m[e].close(h)}var g=function(e){return(0,c.Od)((function(t){var n=function(){var r=e.url,o=e.messageReceivedAction,i=e.name;m[i]=new WebSocket(r),m[i].onmessage=function(e){var n=JSON.parse(e.data);t(o(n))},m[i].onclose=function(e){e.code!==h&&n()},m[i].onerror=function(e){u.A.log("socket error",e)}};return n(),function(){}}))},b=function(e,t){var n=(l.A.getBackendUrl()||window.location.origin).replace("http://","ws://").replace("https://","wss://");return"".concat(n,"/nice2/websocket/").concat(e,"?X-Origin-Id=").concat(t)}},52334:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,X:()=>i});var r=n(5556),o={NONE:"none",FULLTEXT:"fulltext",SIMPLE:"simple",SIMPLE_ADVANCED:"simple_advanced",ADVANCED:"advanced",ADMIN:"admin"},i=n.n(r)().oneOf(Object.values(o));const a=o},94200:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={defaultTheme:{name:"default",colors:{paper:"#fff",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textPopover:"#fcfcfc",backgroundBody:"#dee6ed",backgroundBreadcrumbs:"#dee6ed",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#e6e6e6",hoverInteractiveIcon:"#263e5b",loadingSpinner:"#000",breadcrumbsActive:"#b22a31",border:"#ccc",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",dangerLight:"#e77c7c",info:"#027cc1",infoLight:"#78cdfe",success:"#337f37",successLight:"#91d395",warning:"#ec8a00",warningLight:"#ffd7a0",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0,menuEntries:"4px"},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1,diffViewer:{codeFoldGutterBackground:"#e6e6e6",codeFoldBackground:"#f2f2f2",gutterBackground:"#f2f2f2",diffViewerTitleBackground:"#fff",diffViewerTitleBorderColor:"#fff",emptyLineBackground:"#fcfcfc",addedBackground:"#cbffce",addedColor:"#24292e",removedBackground:"#ffbfbf",removedColor:"#24292e",wordAddedBackground:"#91d395",wordRemovedBackground:"#e77c7c",addedGutterBackground:"#91d395",removedGutterBackground:"#e77c7c"}},darkTheme:{name:"dark",colors:{paper:"#212330",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#6eafff",secondaryLight:"#82baff",secondaryLighter:"#9ECAFF",text:"#dfdfdf",textLight:"#bdbdbd",textLighter:"#818181",textDisabled:"#7a7a7a",textLabel:"#121212",textToaster:"#000",textPopover:"#fff",backgroundBody:"#2C2F41",backgroundBreadcrumbs:"#2C2F41",backgroundPopover:"#757575",backgroundItemHover:"#444",backgroundItemSelected:"#565656",backgroundItemLastOpened:"#636363",backgroundTableEvenRow:"#2f2f2f",backgroundTableTiles:"#2f2f2f",backgroundScrollbar:"#444",backgroundScrollbarHover:"#666",backgroundPanelHeaderFooter:"#444",backgroundTypographyCode:"#444",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#6e6e6e",hoverInteractiveIcon:"#fff",loadingSpinner:"#cccccc",breadcrumbsActive:"#82baff",border:"#666",borderTable:"#666",borderLight:"#444",borderSelect:"#4fade5",signal:{danger:"#d74444",dangerLight:"#f18888",info:"#4fade5",infoLight:"#9ce6ff",success:"#4DAC54",successLight:"#72c172",warning:"#ec8a00",warningLight:"#ffcc84",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0,menuEntries:"4px"},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"dracula",diffViewerDarkTheme:!0,diffViewer:{diffViewerBackground:"#212330",codeFoldGutterBackground:"#444",codeFoldBackground:"#2f2f2f",gutterBackground:"#2f2f2f",diffViewerTitleBackground:"#212330",diffViewerTitleBorderColor:"#212330",emptyLineBackground:"#2f2f2f",diffViewerColor:"#dfdfdf",addedBackground:"#217a28",addedColor:"#dfdfdf",removedBackground:"#b92e2e",removedColor:"#dfdfdf",wordAddedBackground:"#35913c",wordRemovedBackground:"#d74444",addedGutterBackground:"#35913c",removedGutterBackground:"#d74444"}}}},29436:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(72817).A},72817:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={name:"widget",colors:{paper:"#FFFFFF",primary:"#000000",primaryLight:"#424242",secondary:"#333",secondaryLight:"#7c7c7c",secondaryLighter:"#bababa",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textPopover:"#fcfcfc",backgroundBody:"#EDF1F5",backgroundBreadcrumbs:"#DEE6ED",backgroundPopover:"#424242",backgroundItemHover:"#E6E6E6",backgroundItemSelected:"#CCC",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundMultiValue:"#e6e6e6",loadingSpinner:"#000",border:"#ccc",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",dangerLight:"#e77c7c",info:"#027cc1",infoLight:"#78cdfe",success:"#337f37",successLight:"#91d395",warning:"#ec8a00",warningLight:"#ffd7a0",neutral:"#CECECE"}},fontFamily:{monospace:"inherit",regular:"inherit"},fontSize:{base:1,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"2px",buttonLarge:"4px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0},space:{base:1,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1,diffViewer:{}}},7068:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8281);const o={shouldForwardProp:n(23433).A,isPropValid:r.A}},8281:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(91907);const o=function(e){return(0,r.A)(e)}},23433:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8281);const o=function(e,t){return"string"!=typeof t||(0,r.A)(e)}},50098:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(26396),o=n.n(r),i=n(5556),a=n.n(i),c=n(4883),s=n.n(c),u=n(64116),l=n(77271),f=n(67821),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=s().forwardRef((function(e,t){return(0,d.jsx)(f.A,h(h({ref:t,type:"button"},e),{},{children:(0,d.jsx)(u.A,{icon:e.icon})}))}));m.propTypes={disabled:a().bool,icon:a().string.isRequired,ink:l.A.inkPropTypes,look:a().oneOf([l.A.look.FLAT,l.A.look.RAISED]),onClick:a().func,title:a().string,tabIndex:a().number,"data-cy":a().string};const v=m},67821:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(26166),u=n(47616),l=n(85431),f=n(62124);const d=c.Ay.button.withConfig({displayName:"StyledButton"})(o||(o=a()(["\n ","\n ","\n ","\n cursor: pointer;\n"])),(0,l.A)(),f.A,(function(){return(0,c.AH)(r||(r=a()(["\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n padding: ",";\n\n /* ensure that width has at least the size of height */\n min-width: calc(\n 1rem * "," * "," + 2.4 * ","\n );\n box-sizing: border-box;\n"])),s.A.space(-3),u.A.fontSize("base"),u.A.lineHeight("regular"),s.A.space(-3))}))},62764:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(26396),o=n.n(r),i=n(4883),a=n.n(i),c=n(64116),s=n(69556),u=n(77271),l=n(15777),f=n(5975),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const m=a().forwardRef((function(e,t){var n=e.aria,r=e.ink,o=e.label,i=e.title,a=e.icon,p=e.pending,m=e.look,v=void 0===m?u.A.look.FLAT:m,y=e.iconPosition,g=void 0===y?u.A.position.PREPEND:y,b=e.type,w=void 0===b?"button":b,x=e.iconOnly,A=e.children,O=(0,l.j)().labelVisibility;return(0,d.jsxs)(f.Ay,h(h(h({ref:t},n),e),{},{ink:r||u.A.ink.BASE,"data-cy":e["data-cy"],title:i||o,labelVisibility:O,type:w,children:[a&&!p&&(0,d.jsx)(c.A,{icon:a}),p&&(0,d.jsx)(s.A,{ink:r||u.A.ink.BASE,look:v,position:g,size:"1em"}),!x&&o?(0,d.jsx)(f.Bd,{children:o}):A||""]}))}))},15777:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p,j:()=>d,r5:()=>u});var r=n(22056),o=n.n(r),i=n(4883),a=n.n(i),c=n(7311),s=n(74848),u={visible:"visible",hidden:"hidden",responsive:"responsive"},l={labelVisibility:u.responsive},f=a().createContext(l),d=function(){return(0,i.useContext)(f)};const p=function(e){var t=e.children,n=(0,i.useRef)(null),r=c.A.useResizeObserver(),a=o()(r,2),l=a[0],d=a[1],p=n.current?(null==d?void 0:d.width)<n.current:(null==d?void 0:d.height)>45;(0,i.useEffect)((function(){n.current=p?d.width+1:null}),[p]);var h=(0,i.useMemo)((function(){return{labelVisibility:p?u.hidden:u.visible}}),[p]);return(0,s.jsx)(f.Provider,{value:h,children:t(l)})}},5975:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m,Bd:()=>d,C6:()=>h});var r,o,i,a=n(72189),c=n.n(a),s=n(51510),u=n(26166),l=n(57488),f=n(79455),d=s.Ay.span.withConfig({displayName:"StyledLabelWrapper"})(r||(r=c()([""]))),p=s.Ay.button.withConfig({displayName:"StyledButton"})(o||(o=c()(["\n ","\n"])),f.i),h=s.Ay.div.withConfig({displayName:"StyledStickyButtonWrapper"})(i||(i=c()(["\n position: sticky;\n bottom: 0;\n padding-top: ",";\n background-color: ",";\n display: flex;\n justify-content: ",";\n z-index: 1;\n\n ",":last-child {\n margin-right: 0;\n }\n"])),u.A.space(0),l.t7.color("paper"),(function(e){return"LEFT"===e.position?"flex-start":"flex-end"}),p);const m=p},79455:(e,t,n)=>{"use strict";n.d(t,{i:()=>y});var r,o,i,a,c=n(72189),s=n.n(c),u=n(51510),l=n(77271),f=n(47616),d=n(26166),p=n(85431),h=n(62124),m=n(15777),v=n(5975),y=(0,u.AH)(a||(a=s()(["\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n text-align: center;\n vertical-align: middle;\n white-space: nowrap;\n border: none;\n border-radius: ",";\n margin-right: ",";\n padding: "," ",";\n cursor: pointer;\n ","\n ","\n ","\n ","\n ","\n\n & > span:first-child {\n margin-left: 0;\n }\n ","\n"])),f.A.radii("button"),d.A.space(-1.38),d.A.space(-2.1),d.A.space(0),(0,p.A)(),(function(e){return e.withoutBackground?(0,u.AH)(i||(i=s()(["\n background: transparent;\n"]))):(0,h.A)(e)}),(function(e){return n=(t=e).dense,o=t.theme,n?(0,u.AH)(r||(r=s()(["\n line-height: ",";\n padding: "," ",";\n "])),f.A.lineHeight("dense")({theme:o}),d.A.space(-3.5)({theme:o}),d.A.space(-1.5)({theme:o})):null;var t,n,o}),(function(e){return n=(t=e).iconOnly,r=t.removePadding,n||r?(0,u.AH)(o||(o=s()(["\n padding: 0;\n margin: 0;\n "]))):null;var t,n,r}),(function(e){return function(e){var t=e.icon,n=e.pending,r=e.iconPosition;if(t||n)return r===l.A.position.APPEND?"\n > span {\n order: -1;\n margin-right: .5rem;\n }\n ":"\n > span {\n margin-left: .5rem;\n }\n "}(e)}),(function(e){var t=e.icon,n=e.labelVisibility,r="\n ".concat(v.Bd," {\n display: none;\n }\n ");return t&&n===m.r5.hidden?r:t&&n===m.r5.responsive&&"\n @media screen and (max-width: 1024px) {\n ".concat(r,"\n }\n ")}))},12450:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(5556),o=n.n(r),i=n(4883),a=n.n(i),c=n(78847),s=n(74848),u=a().forwardRef((function(e,t){return(0,s.jsx)(c.A,{ref:t,children:e.children})}));u.propTypes={children:o().node};const l=u},78847:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(5975);const s=a.Ay.div.withConfig({displayName:"StyledButtonGroup"})(r||(r=i()(["\n display: flex;\n\n &&& > "," {\n &:not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n\n &:not(:last-child) {\n margin-right: 0;\n border-right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n }\n"])),c.Ay)},40809:(e,t,n)=>{"use strict";n.d(t,{I:()=>v});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(93564),s=n(57488),u=n(85431),l=n(26166),f=s.t7.color("secondaryLight"),d=s.t7.color("paper"),p=s.t7.color("text"),h=s.t7.color("secondary"),m=s.t7.radii("form"),v=(0,a.DU)(r||(r=i()(["\n .react-datepicker-popper {\n && {\n /* higher than StyledHolder and very high value to prevent other elements blocking it when implemented as a widget */\n z-index: 9100;\n margin: 0;\n }\n }\n\n .react-datepicker-wrapper {\n width: 100%;\n\n .react-datepicker__input-container {\n "," {\n color: ",";\n }\n }\n }\n\n .react-datepicker.react-datepicker .react-datepicker__time-container--with-today-button,\n .react-datepicker.react-datepicker .react-datepicker__time-container .react-datepicker__time {\n border-radius: "," !important;\n height: 100%;\n }\n\n .react-datepicker {\n && {\n * {\n box-sizing: content-box; /* prevent box-sizing problems in widgets */\n }\n border-radius: ",";\n border: 1px solid ",";\n background-color: ",";\n ","\n\n .react-datepicker__header {\n ","\n border-radius: 0;\n background-color: ",";\n padding-bottom: 0;\n border-top-left-radius: ",";\n border-top-right-radius: ",";\n }\n\n .react-datepicker__navigation {\n top: 3px;\n }\n\n .react-datepicker__navigation--previous,\n .react-datepicker__navigation--next {\n margin-top: ",";\n }\n ","\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow,\n .react-datepicker__navigation-icon:before {\n border-color: "," !important;\n border-width: 1.5px 1.5px 0 0;\n }\n\n .react-datepicker__month-read-view--selected-month,\n .react-datepicker__year-read-view--selected-year {\n font-size: ",";\n font-weight: ",";\n }\n\n .react-datepicker__current-month {\n ","\n }\n\n .react-datepicker__day-name {\n color: ",";\n font-size: ",";\n }\n\n .react-datepicker__day,\n .react-datepicker__day-name {\n border: 1px solid transparent;\n padding: ",";\n outline: none;\n }\n\n .react-datepicker__day.react-datepicker__day--selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n color: #fff; /* static in all themes */\n\n &:focus {\n border-color: ",";\n background-color: ",";\n }\n }\n\n .react-datepicker__day--keyboard-selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n }\n\n .react-datepicker__day--today,\n .react-datepicker__month-text--today,\n .react-datepicker__quarter-text--today,\n .react-datepicker__year-text--today {\n border-radius: 50%;\n border-color: ",";\n }\n\n .react-datepicker__today-button {\n ","\n background-color: ",";\n border-top: 0;\n padding-bottom: ",";\n padding-top: 0;\n\n &:hover > button {\n background-color: ",";\n }\n\n &:last-child {\n border-radius: ",";\n }\n }\n\n .react-datepicker__input-time-container {\n display: flex;\n justify-content: center;\n margin: 5px 0;\n align-items: baseline;\n gap: ",";\n background-color: ",";\n\n .react-datepicker-time__input {\n margin: 0;\n\n input {\n width: 80px;\n border: 1px solid ",";\n border-radius: ",";\n text-align: center;\n margin-top: ",";\n margin-bottom: ",";\n }\n }\n }\n\n .react-datepicker-time__header {\n font-size: ",";\n color: ",";\n font-weight: ",";\n padding-bottom: ",";\n }\n\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--scroll {\n width: 250px;\n margin: 8px auto;\n display: grid;\n grid-template-columns: 140px 70px;\n }\n\n .react-datepicker__month-read-view,\n .react-datepicker__year-read-view {\n color: ",";\n visibility: visible !important;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n font-size: ",";\n }\n\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type,\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n border-radius: 0;\n }\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n top: 8px;\n right: 0;\n width: 5px;\n height: 5px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: -8px;\n }\n }\n\n .react-datepicker__year-dropdown-container--select,\n .react-datepicker__month-dropdown-container--select,\n .react-datepicker__month-year-dropdown-container--select,\n .react-datepicker__year-dropdown-container--scroll,\n .react-datepicker__month-dropdown-container--scroll,\n .react-datepicker__month-year-dropdown-container--scroll {\n margin: 0 2px;\n }\n\n .react-datepicker__year-read-view--down-arrow {\n right: -4px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: 3px;\n }\n }\n\n .react-datepicker__day-names {\n margin-bottom: 0;\n }\n\n .react-datepicker__day,\n .react-datepicker__month-text,\n .react-datepicker__quarter-text,\n .react-datepicker__year-text {\n color: ",";\n\n &:hover {\n border-color: ",";\n background-color: ",";\n border-radius: 50%;\n color: #fff;\n }\n }\n\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n height: 100%;\n border-radius: ",";\n background-color: ",";\n\n ul.react-datepicker__time-list {\n height: 100% !important;\n\n & li.react-datepicker__time-list-item {\n height: auto;\n }\n\n & li.react-datepicker__time-list-item:hover {\n background-color: ",";\n }\n\n & li.react-datepicker__time-list-item--selected {\n background-color: ",";\n }\n }\n }\n\n .react-datepicker__year-dropdown {\n left: 40%;\n top: 45px;\n }\n\n .react-datepicker__navigation--years-upcoming:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 8px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(-45deg);\n }\n\n .react-datepicker__navigation--years-previous:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 6px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(135deg);\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ",";\n border-radius: 0;\n border-color: ",";\n box-shadow: 0 0 5px rgb(0 0 0 / 30%);\n }\n\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: ",";\n }\n\n .react-datepicker__month-option--selected {\n left: 10px;\n }\n\n .react-datepicker__day--outside-month {\n color: ",";\n }\n\n .react-datepicker__time-container--with-today-button {\n border-color: ",";\n border-radius: ",";\n right: -88px;\n top: -0.5px;\n }\n\n .react-datepicker__header--time {\n display: none;\n }\n }\n }\n"])),c.i,p,s.t7.radii("form"),m,f,d,(0,u.A)(),(0,u.A)(),f,m,m,l.A.space(-.6),"\n .react-datepicker__current-month.react-datepicker__current-month--hasYearDropdown.react-datepicker__current-month--hasMonthDropdown {\n // Avoid showing the month and year a second time when it has month and year dropdowns.\n display: none;\n }\n",d,l.A.font(1),s.t7.fontWeight("bold"),(0,u.A)({fontWeight:s.t7.fontWeight("bold")}),d,l.A.font(-2),l.A.space(-1.8),h,h,h,f,f,f,h,(0,u.A)(),d,l.A.space(-.5),s.t7.color("backgroundItemHover"),m,l.A.space(-.5),d,s.t7.color("border"),s.t7.radii("form"),l.A.space(-1),l.A.space(-1),l.A.font(1),d,s.t7.fontWeight("bold"),l.A.space(-1),d,l.A.font(0),p,f,f,s.t7.radii("form"),d,f,h,p,p,d,f,s.t7.color("backgroundItemHover"),s.t7.color("textDisabled"),s.t7.color("border"),s.t7.radii("form"))},91890:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r,o=n(58065),i=n(19309),a=n(74848);const c=function(){return r||(r=(0,a.jsx)(i.d,{children:(0,a.jsx)(o.A,{id:"client.component.errorBoundary.text"})}))}},19309:(e,t,n)=>{"use strict";n.d(t,{d:()=>l});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(85431),s=n(57488),u=n(26166),l=a.Ay.div.withConfig({displayName:"StyledWrapper"})(r||(r=i()(["\n ",";\n background-color: ",";\n color: ",";\n padding: ",";\n"])),(0,c.A)(),(function(e){return e.theme.colors.signal.danger}),s.t7.color("paper"),u.A.space(-.5))},78928:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(91890).A},22598:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r,o=n(94712),i=n(74848);const a=function(e){var t=e.type,n=e.value,a=e.options,c=e.breakWords,s=e.useTitle,u=e.id;return null==n||""===n?r||(r=(0,i.jsx)("span",{})):(0,i.jsx)(o.A,{componentType:t,value:n,options:a,breakWords:c,useTitle:s,id:u})}},94712:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r,o=n(51629),i=n(38925),a=n(65190),c=n(65587),s=n(12955),u=n(10498),l=n(809),f=n(3321),d=n(59182),p=n(16019),h=n(10102),m=n(99058),v=n(18714),y=n(17517),g=n(41253),b=n(59189),w=n(41224),x=n(94370),A=n(74666),O=n(74848),E={boolean:o.A,date:i.A,datetime:a.A,document:u.A,"document-compact":s.A,duration:l.A,email:f.A,html:d.A,integer:p.A,"multi-remote":h.A,"multi-select":h.A,number:m.A,percent:v.A,phone:y.A,remote:g.A,"single-select":g.A,string:b.A,text:w.A,time:x.A,url:A.A,description:c.A};const S=function(e){var t=e.componentType,n=e.value,o=e.options,i=e.breakWords,a=void 0===i||i,c=e.useTitle,s=void 0===c||c,u=e.id;if(E[t]){var l=E[t];return(0,O.jsx)(l,{value:n,options:o,breakWords:a,useTitle:s,id:u})}return console.log("No FormattedValue mapper defined for component type",t,n),r||(r=(0,O.jsx)("div",{}))}},51629:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(51510),o=n(64116),i=n(74848);const a=(0,r.SL)((function(e){return(0,i.jsx)(o.A,{style:{fontSize:"".concat(e.theme.fontSize.base,"rem")},icon:e.value?"check":"times"})}))},38925:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6442),o=n(65013),i=n(56775),a=n(74848);const c=function(e){var t=(0,r.A)();return(0,a.jsx)(i.Ay.Time,{dateTime:e.value,title:t.formatDate(e.value),children:(0,a.jsx)(o.FormattedDate,{value:e.value,year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC",id:e.id})})}},65190:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(12541),i=n(65013),a=n(38798),c=n(56775),s=n(74848);const u=(0,a.Ay)((function(e){var t=e.value,n=e.intl,a=new Date(t);if(!t||isNaN(a))return console.error("DateTimeFormatter: Invalid date",t),r||(r=(0,s.jsx)(c.Ay.Span,{}));var u=(0,o.GP)(a,"HH:mm");return(0,s.jsxs)(c.Ay.Time,{dateTime:a.toISOString(),title:"".concat(n.formatDate(a),", ").concat(u),children:[(0,s.jsx)(i.FormattedDate,{value:a,year:"numeric",month:"2-digit",day:"2-digit"}),", ",u]})}))},65587:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(26396),i=n.n(o),a=n(64116),c=n(39319),s=n(56775),u=n(59182),l=n(67940),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const h=function(e){var t=e.options||{},n=(0,f.jsxs)(f.Fragment,{children:[t.title&&(0,f.jsx)(s.Ay.H5,{children:t.title}),(0,f.jsx)(u.A,p({},e))]});return"text"===t.mode?n:(0,f.jsx)(c.A,{content:n,isPlainHtml:!0,children:r||(r=(0,f.jsx)(l.o,{children:(0,f.jsx)(a.A,{icon:"question-circle"})}))})}},12955:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58156),o=n.n(r),i=n(46516),a=n(73329),c=n(44905),s=n(39319),u=n(74848);const l=function(e){var t=e.value,n=e.options||{},r=n.tooltips,l=n.loadTooltip,f=o()(r,t.resourceKey,null);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.A,{content:f?(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:a.A.sanitizeHtml(f)}}):null,children:(0,u.jsx)("span",{onMouseOver:function(){return l&&!f&&l(t.resourceKey)},children:(0,u.jsx)(c.A,{alt:t.alt||t.fileName,icon:"eye",look:"raised",target:"_blank",href:t.binaryLink,onClick:function(e){e.stopPropagation()}})})}),(0,u.jsx)(c.A,{alt:t.alt||t.fileName,icon:"arrow-to-bottom",look:"raised",target:"_blank",href:i.A.getDownloadUrl(t.binaryLink),onClick:function(e){e.stopPropagation()}})]})}},10498:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(39682),o=n(74848);const i=function(e){return(0,o.jsx)(r.A,{id:e.id,onUpload:function(){},immutable:!0,textResources:{download:e.options.downloadText},value:e.value?e.value:null})}},809:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(32224),o=n(56775),i=n(74848);const a=function(e){var t=e.value,n=parseInt(t),a=r.A.formatDuration(n);return(0,i.jsx)(o.Ay.Time,{dateTime:a,title:a,children:a})}},3321:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(44905),o=n(74848);const i=function(e){return(0,o.jsx)(r.A,{href:"mailto:".concat(e.value.toString()),target:"_blank",onClick:function(e){return e.stopPropagation()},label:e.value.toString(),breakWords:e.breakWords,useTitle:e.useTitle})}},59182:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(73329),a=n(67940),c=n(41224),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l=function(e){var t=e.id,n=e.value,r=e.breakWords,l=e.className,f=e.options;return(void 0===f?{}:f).escapeHtml?(0,s.jsx)(c.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)):(0,s.jsx)(a.b,{id:t,dangerouslySetInnerHTML:{__html:i.A.sanitizeHtml(n)},breakWords:r,className:l})}},16019:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(56775),o=n(74848);const i=function(e){return(0,o.jsx)(r.Ay.Span,{breakWords:e.breakWords,useTitle:e.useTitle,children:e.value.toString()})}},10102:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(26396),o=n.n(r),i=n(58156),a=n.n(i),c=n(4883),s=n(73329),u=n(39319),l=n(56775),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){return"; "};const m=function(e){var t=e.value,n=e.options,r=e.breakWords,o=e.useTitle,i=n||{},d=i.navigationStrategy,m=i.linkProps,v=i.tooltips,y=i.loadTooltip,g=(null==t?void 0:t.length)>0?t.map((function(e){if(null!=d&&d.DetailLink){var t=a()(v,e.key,null);return(0,f.jsx)("span",{onClick:function(e){return e.stopPropagation()},children:(0,f.jsx)(d.DetailLink,p(p({},m),{},{entityKey:e.key,children:(0,f.jsx)(u.A,{content:t?(0,f.jsx)("div",{dangerouslySetInnerHTML:{__html:s.A.sanitizeHtml(t)}}):null,children:(0,f.jsx)("span",{onMouseOver:function(){return y&&!t&&y(e.key)},children:e.display})})}))},e.key)}return(0,f.jsx)(c.Fragment,{children:e.display},e.key)})).reduce((function(e,t,n){return[e,(0,f.jsx)(h,{},"sep".concat(n)),t]})):null;return(0,f.jsx)(l.Ay.Span,{breakWords:r,useTitle:o,children:g})}},99058:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(65013),o=n(56775),i=n(74848);const a=function(e){return(0,i.jsx)(o.Ay.Span,{breakWords:e.breakWords,useTitle:e.useTitle,children:(0,i.jsx)(r.FormattedNumber,{value:e.value,style:"decimal",minimumFractionDigits:e.options&&e.options.postPointDigits||2})})}},18714:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(65013),o=n(56775),i=n(74848);const a=function(e){var t;return(0,i.jsx)(o.Ay.Span,{breakWords:e.breakWords,useTitle:e.useTitle,children:(0,i.jsx)(r.FormattedNumber,{value:e.value,style:"percent",minimumFractionDigits:null==e||null===(t=e.options)||void 0===t?void 0:t.postPointDigits})})}},17517:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(4883),a=n(74848);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=(0,i.lazy)((function(){return Promise.all([n.e(211),n.e(672)]).then(n.bind(n,74302))}));const l=function(e){return(0,a.jsx)(i.Suspense,{fallback:"",children:(0,a.jsx)(u,s({},e))})}},41253:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(26396),o=n.n(r),i=n(58156),a=n.n(i),c=n(47383),s=n(73329),u=n(39319),l=n(56775),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const h=function(e){var t=e.value,n=e.options,r=e.breakWords,o=e.id,i=n||{},d=i.tooltips,h=i.loadTooltip,m=i.navigationStrategy,v=i.linkProps,y=a()(d,t.key,null);t=c.A.getOrFirst(t);var g=(0,f.jsx)(l.Ay.Span,{breakWords:r,useTitle:!y,id:o,children:t.display});return(null!=m&&m.DetailLink?(0,f.jsx)("span",{onClick:function(e){return e.stopPropagation()},children:(0,f.jsx)(m.DetailLink,p(p({},v),{},{entityKey:t.key,children:(0,f.jsx)(u.A,{content:y?(0,f.jsx)("div",{dangerouslySetInnerHTML:{__html:s.A.sanitizeHtml(y)}}):null,children:(0,f.jsx)("span",{onMouseOver:function(){return h&&!y&&h(t.key)},id:o,children:g})})}))}):null)||g}},59189:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(56775),o=n(74848);const i=function(e){return(0,o.jsx)(r.Ay.Span,{breakWords:e.breakWords,useTitle:e.useTitle,id:e.id,children:e.value.toString()})}},67940:(e,t,n)=>{"use strict";n.d(t,{b:()=>m,o:()=>p});var r,o,i,a=n(72189),c=n.n(a),s=n(51510),u=n(5016),l=n(46005),f=n(57488),d=n(26166),p=s.Ay.span.withConfig({displayName:"StyledIconWrapper"})(r||(r=c()(["\n color: ",";\n font-size: ",";\n margin-left: -",";\n"])),f.t7.color("text"),d.A.font(1),d.A.space(-2)),h=(0,s.AH)(o||(o=c()(["\n display: inline-block;\n color: ","; /* nice2 reset */\n line-height: ","; /* nice2 reset */\n text-align: left; /* nice2 reset */\n vertical-align: unset; /* nice2 reset */\n font-size: 100% !important; /* nice2 reset */\n font-weight: "," !important; /* nice2 reset */\n padding: "," "," !important; /* nice2 reset */\n white-space: normal !important; /* nice2 reset */\n border-radius: ",";\n"])),f.t7.color("text"),f.t7.lineHeight("regular"),f.t7.fontWeight("regular"),d.A.space(-3),d.A.space(-1.5),f.t7.radii("statusLabel")),m=(0,s.Ay)(u.oY).withConfig({displayName:"StyledHtmlFormatter"})(i||(i=c()(["\n &&& {\n ","\n margin: 0 0 ",";\n\n svg {\n margin-right: ",";\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n\n .label {\n ","\n }\n\n .label-danger {\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-info {\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-warning {\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-success {\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-neutral {\n ","\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-status {\n border-radius: ",";\n padding: "," ",";\n\n &.filled {\n color: ",";\n background-color: ",";\n }\n }\n\n .label-attention {\n background-color: "," !important; /* nice2 reset */\n padding: "," "," !important;\n\n a {\n text-decoration: underline;\n color: #000; /* same color in all themes */\n }\n }\n }\n"])),(function(e){return(0,l.g)(e,"html")}),d.A.space(-1),d.A.space(-1.5),h,f.t7.color("signal.dangerLight"),f.t7.color("textLabel"),f.t7.color("signal.infoLight"),f.t7.color("textLabel"),f.t7.color("signal.warningLight"),f.t7.color("textLabel"),f.t7.color("signal.successLight"),f.t7.color("textLabel"),h,f.t7.color("signal.neutral"),f.t7.color("textLabel"),f.t7.radii("statusLabel"),d.A.space(-2.1),d.A.space(0),f.t7.color("paper"),f.t7.color("signal.info"),f.t7.color("signal.warningLight"),d.A.space(-1.5),d.A.space(.5))},41224:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(56775),o=n(74848);const i=function(e){return e.breakWords?(0,o.jsx)(r.Ay.P,{breakWords:!0,useTitle:e.useTitle,id:e.id,children:(t=e.value,t.split("\n").flatMap((function(e,t,n){return t+1<n.length?[e,(0,o.jsx)("br",{},t)]:e})))}):(0,o.jsx)(r.Ay.Span,{breakWords:!1,useTitle:e.useTitle,id:e.id,children:e.value.replace("/\n/g"," ")});var t}},94370:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12541),o=n(38798),i=n(56775),a=n(74848),c=function(e,t){return parseInt(e.split(":")[t])||0};const s=(0,o.Ay)((function(e){var t=e.value,n=(e.intl,c(t,0)),o=c(t,1),s=c(t,2),u=c(t,3),l=new Date(2e3,1,1,n,o,s,u),f=(0,r.GP)(l,"HH:mm:ss.SSS"),d=(0,r.GP)(l,"HH:mm");return(0,a.jsx)(i.Ay.Time,{dateTime:f,title:d,children:d})}))},74666:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(44905),o=n(74848);const i=function(e){var t=e.value,n=e.breakWords,i=e.useTitle;return(0,o.jsx)(r.A,{onClick:function(e){e.stopPropagation()},href:t,target:"_blank",rel:"noopener noreferrer",label:t,breakWords:n,useTitle:i,neutral:!1})}},33563:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(22598).A},4787:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(57488),s=(0,a.DU)(r||(r=i()(["\n /****** Global text colors *****/\n \n /* usages: display expressions, freemarker, html content, icon styling, template snippets, ... */\n .text-success {\n color: ",";\n }\n\n .text-info {\n color: ",";\n }\n\n .text-warning {\n color: ",";\n }\n\n .text-danger {\n color: ",";\n }\n\n .text-muted {\n color: ",";\n }\n\n /***** Global text colors *****/\n\n /***** Template Snippets ******/\n\n /* light_cellrenderer */\n .light_cellrenderer {\n font-size: 1.6rem;\n display: inline-block;\n min-width: 1.7rem;\n }\n\n /***** Template Snippets *****/\n"])),c.t7.color("signal.success"),c.t7.color("signal.info"),c.t7.color("signal.warning"),c.t7.color("signal.danger"),c.t7.color("textDisabled"))},23260:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(57488),s=(0,a.DU)(r||(r=i()(["\n /* Chrome, Edge, and Safari */\n ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ",";\n\n &:hover {\n background-color: ",";\n }\n }\n\n /* Firefox */\n * {\n scrollbar-color: "," transparent; /* Firefox workaround */\n scrollbar-width: thin;\n }\n"])),c.t7.color("backgroundScrollbar"),c.t7.color("backgroundScrollbarHover"),c.t7.color("backgroundScrollbar"))},7250:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,o=n(40809),i=n(4787),a=n(23260),c=n(74848);const s=function(){return r||(r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.h,{}),(0,c.jsx)(o.I,{}),(0,c.jsx)(a.E,{})]}))}},44518:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var r="tocco-app"},64116:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r,o=n(26396),i=n.n(o),a=n(4883),c=n.n(a),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=(0,a.lazy)((function(){return Promise.all([n.e(310),n.e(103),n.e(916)]).then(n.bind(n,8264))}));const d=function(e){return(0,s.jsx)(a.Suspense,{fallback:r||(r=(0,s.jsx)(c().Fragment,{})),children:(0,s.jsx)(f,l({},e))})}},93564:(e,t,n)=>{"use strict";n.d(t,{i:()=>a});var r,o=n(72189),i=n.n(o),a=n(51510).Ay.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=i()([""])))},43104:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166);const s=a.Ay.div.withConfig({displayName:"StyledLayoutContainer"})(r||(r=i()(["\n display: grid;\n padding-right: ",";\n ",";\n ",";\n"])),c.A.space(0),(function(e){var t=e.containerWidth,n=e.theme,r=e.minBoxWidth;return t<600?"grid-template-columns: 100%;":"grid-template-columns: repeat(auto-fit, minmax(".concat(r,"px, 1fr));\n grid-gap: ").concat(c.A.space(.25)({theme:n}))}),(function(e){return e.occupiesRemainingHeight&&"\n flex: 1;\n "}))},44905:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(64116),i=n(77271),a=n(72189),c=n.n(a),s=n(51510),u=n(85431),l=n(33090),f=n(47616);const d=s.Ay.a.withConfig({displayName:"StyledLink"})(r||(r=c()(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,u.A)(),(function(e){return e.breakWords?(0,l.K)():(0,l.s)()}),f.A.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var p=n(74848);const h=function(e){var t=e.alt,n=e.breakWords,r=void 0===n||n,a=e.download,c=e.href,s=void 0===c?"#":c,u=e.neutral,l=e.onClick,f=e.rel,h=e.tabIndex,m=e.target,v=void 0===m?"_self":m,y=e.title,g=e.label,b=e.icon,w=e.children,x=e.useTitle,A=void 0===x||x,O=y||(r?void 0:g);return(0,p.jsxs)(d,{alt:t,breakWords:r,download:a,href:s,neutral:u,onClick:l,rel:f,tabIndex:h,target:v,title:A?O:void 0,children:[b&&(0,p.jsx)(o.A,{icon:b,position:i.A.position.PREPEND}),g||w]})}},88208:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r,o=n(22056),i=n.n(o),a=n(4883),c=n(69556),s=n(56775),u=n(7647),l=n(74848);const f=function(e){var t=e.promises,n=e.required,o=e.children,f=e.loadingText,d=e.className,p=(0,a.useState)(!1),h=i()(p,2),m=h[0],v=h[1],y=(0,a.useState)(!0),g=i()(y,2),b=g[0],w=g[1];(0,a.useEffect)((function(){return t&&Promise.all(t).then((function(){var e;e=!0,b&&v(e)})),function(){w(!1)}}),[]);var x=n&&Array.isArray(n)?!n.some((function(e){return!e})):!!t&&m;return(0,l.jsx)(u.A,{className:d,children:x?o:(0,l.jsxs)(u.i,{children:[r||(r=(0,l.jsx)(c.A,{size:"30px"},"loading-spinner")),f&&(0,l.jsx)(s.Ay.Span,{children:f},"loadingText")]})})}},7647:(e,t,n)=>{"use strict";n.d(t,{A:()=>m,i:()=>h});var r,o,i,a,c=n(72189),s=n.n(c),u=n(51510),l=n(5016),f=n(26166),d=(0,u.i7)(r||(r=s()(["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"]))),p=(0,u.AH)(o||(o=s()(["\n animation: "," 400ms ease-in-out both;\n"])),d),h=u.Ay.div.withConfig({displayName:"StyledLoadingIconAndTest"})(i||(i=s()(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: ",";\n ",";\n\n > "," {\n margin-top: ",";\n z-index: 1;\n }\n"])),f.A.space(-1),p,l.oY,f.A.space(-1));const m=u.Ay.div.withConfig({displayName:"StyledLoadMask"})(a||(a=s()(["\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n z-index: 0; /* prevent interference with StyledPageOverlay when implemented as widget */\n"])))},69556:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r,o=n(26396),i=n.n(o),a=n(4883),c=n.n(a),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=(0,a.lazy)((function(){return n.e(770).then(n.bind(n,68389))}));const d=function(e){return(0,s.jsx)(a.Suspense,{fallback:r||(r=(0,s.jsx)(c().Fragment,{})),children:(0,s.jsx)(f,l({},e))})}},94674:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(58689),s=n(34743),u=n(18491),l=n(4883),f=n(81845),d=n(12450),p=n(62764),h=n(99978),m=n(64116),v=n(5975),y=n(8634),g=n(74848);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const x=function(e){var t=e.onOpen,n=e.children,r=e.onClick,o=e.buttonProps,i=e.label,b=e.icon,x=(0,l.useState)(null),A=a()(x,2),O=A[0],E=A[1],S=(0,l.useState)(!1),k=a()(S,2),j=k[0],T=k[1],P=(0,l.useState)(!1),C=a()(P,2),_=C[0],D=C[1],R=function(){T(!j),t&&!_&&(t(),D(!0))},N=function(){T(!1)},I=j?"chevron-up":"chevron-down",M=(0,c.we)({open:j,onOpenChange:T,placement:"bottom-start",middleware:[(0,s.cY)(5),(0,s.UU)(),(0,s.Ej)({apply:function(e){var t=e.availableHeight;(0,f.flushSync)((function(){return E(t-15)}))}})],whileElementsMounted:u.ll}),L=M.refs,F=M.floatingStyles,H=M.context,B=(0,c.kp)(H),U=(0,c.s9)(H),W=(0,c.bv)([B,U]),z=W.getReferenceProps,G=W.getFloatingProps;return r?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(d.A,w(w({ref:L.setReference},z()),{},{children:[(0,g.jsx)(p.A,w(w({},o||{}),{},{onClick:r,label:i,"data-cy":e["data-cy"],icon:b})),(0,g.jsx)(y.qn,w(w({icon:I,onClick:R},o||{}),{},{"data-cy":"btn-buttonmenu-open"}))]})),j&&(0,g.jsx)(h.A,{floatingStyles:w(w({},F),{},{maxHeight:O}),getFloatingProps:G,refs:L,isOpen:j,onClose:N,children:n})]}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(p.A,w(w(w({"data-cy":e["data-cy"]},o||{}),{},{ref:L.setReference},z()),{},{onClick:R,icon:b,children:[(0,g.jsx)(v.Bd,{children:i}),(0,g.jsx)(y.o0,{children:(0,g.jsx)(m.A,{icon:I})})]})),j&&(0,g.jsx)(h.A,{floatingStyles:w(w({},F),{},{maxHeight:O}),getFloatingProps:G,refs:L,isOpen:j,onClose:N,children:n})]})}},99978:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(58689),a=n(4883),c=n.n(a),s=n(44518),u=n(8634),l=n(74848);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const p=function(e){var t=e.floatingStyles,n=e.getFloatingProps,r=e.refs,o=e.isOpen,a=e.onClose,f=e.children;return o?(0,l.jsx)(u.X7,{children:f&&o&&(0,l.jsx)(i.XF,{children:(0,l.jsx)(u.WB,d(d({ref:r.setFloating,style:t},n()),{},{className:s.e,children:c().Children.map(f,(function(e){return e&&c().cloneElement(e,{onClose:a})}))}))})}):null}},73621:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(26396),o=n.n(r),i=n(39892),a=n.n(i),c=n(4883),s=n.n(c),u=n(8634),l=n(74848),f=["children","onClick","onClose","disabled","closeOnClick","title","level"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){var t=e.children,n=e.onClick,r=e.onClose,o=e.disabled,i=e.closeOnClick,c=void 0===i||i,d=e.title,h=e.level,m=a()(e,f),v=s().Children.toArray(t).filter(Boolean),y=v.length>1,g=Boolean(n),b=v.map((function(e,t){var n,i=h?h++:1;return"MenuItem"===(null===(n=e.type)||void 0===n?void 0:n.displayName)?s().cloneElement(e,p(p({},e.props),{},{onClose:r,closeOnClick:c,level:i,key:"menu-item-".concat(t,"-").concat(i)})):(0,l.jsx)(u.j9,{hasOnClick:g,isGroup:y,title:d,disabled:o,look:"raised",level:h,"data-cy":m["data-cy"],children:e},"menu-item-label-".concat(t,"-").concat(i))}));return(0,l.jsx)(u.mV,{onClick:function(e){g&&!o&&(n(),c&&r&&r()),e.stopPropagation()},level:h,children:b})};h.displayName="MenuItem";const m=h},8634:(e,t,n)=>{"use strict";n.d(t,{WB:()=>O,X7:()=>A,j9:()=>S,mV:()=>E,o0:()=>w,qn:()=>x});var r,o,i,a,c,s,u,l,f=n(72189),d=n.n(f),p=n(51510),h=n(52690),m=n(26166),v=n(62764),y=n(85431),g=n(57488),b=n(62124),w=p.Ay.div.withConfig({displayName:"StyledIconWrapper"})(r||(r=d()(["\n margin-left: ",";\n margin-right: -",";\n"])),m.A.space(-1.7),m.A.space(-2.1)),x=(0,p.Ay)(v.A).withConfig({displayName:"StyledIconButtonWrapper"})(o||(o=d()(["\n padding-left: ",";\n padding-right: ",";\n"])),m.A.space(-.5),m.A.space(-.5)),A=p.Ay.div.withConfig({displayName:"StyledFloatingUiWrapper"})(i||(i=d()(["\n position: absolute;\n"]))),O=p.Ay.div.withConfig({displayName:"StyledFloatingUi"})(a||(a=d()(["\n min-height: calc(2 * "," + ","); /* min-height of 1 entry */\n width: max-content;\n overflow: hidden auto;\n background: ",";\n box-shadow: 0 0 5px rgba(0 0 0 / 30%);\n border: 1px solid ",";\n border-radius: ",";\n z-index: 9999999; /* higher than StyledModalHolder */\n box-sizing: border-box;\n"])),m.A.space(-1.4),m.A.font(0),g.t7.color("paper"),g.t7.color("secondaryLight"),g.t7.radii("menu")),E=p.Ay.div.withConfig({displayName:"StyledMenuItem"})(c||(c=d()(["\n min-width: 200px;\n max-width: 300px;\n"]))),S=p.Ay.div.withConfig({displayName:"StyledItemLabel"})(s||(s=d()(["\n cursor: ",";\n ","\n ","\n /* increased padding on touchdevices */\n padding: ","\n calc("," + ",");\n font-weight: ",";\n box-shadow: none;\n\n &:disabled,\n &[disabled] {\n color: ",";\n cursor: text;\n }\n"])),(function(e){return e.hasOnClick?"pointer":"default"}),(0,y.A)(),(function(e){return e.hasOnClick?(0,b.A)(e):""}),h.A.isPrimaryTouchDevice()?(0,p.AH)(u||(u=d()(["\n ","\n ","\n ","\n "])),m.A.space(-1.4),m.A.space(-.5),m.A.space(-1.4)):(0,p.AH)(l||(l=d()(["\n ","\n ","\n ","\n "])),m.A.space(-2),m.A.space(-.5),m.A.space(-2)),m.A.space(-.5),(function(e){return 10*(e.level||0)+"px"}),(function(e){return e.isGroup?g.t7.fontWeight("bold"):g.t7.fontWeight("regular")}),g.t7.color("textDisabled"))},41250:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(58689),s=n(34743),u=n(4883),l=n(44518),f=n(36471),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const m=function(e){var t=e.children,n=e.content,r=e.isPlainHtml,o=void 0===r||r,i=e.rimless,p=void 0!==i&&i,m=(0,u.useState)(!1),v=a()(m,2),y=v[0],g=v[1],b=(0,u.useRef)(null),w=(0,c.we)({open:y,onOpenChange:g,middleware:[(0,s.UU)(),(0,s.BN)({padding:20}),(0,s.UE)({element:b}),(0,s.cY)(5)]}),x=w.refs,A=w.floatingStyles,O=w.context,E=(0,c.Mk)(O,{delay:{open:500,close:0}}),S=(0,c.bv)([E]),k=S.getReferenceProps,j=S.getFloatingProps;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",h(h({ref:x.setReference},k()),{},{children:t})),y&&n&&(0,d.jsx)(c.XF,{children:(0,d.jsxs)(f.W,h(h({ref:x.setFloating,style:A,rimless:p},j()),{},{className:l.e,children:[(0,d.jsx)(c.ie,{ref:b,context:O}),(0,d.jsx)(f.f,{isPlainHtml:o,children:n})]}))})]})}},36471:(e,t,n)=>{"use strict";n.d(t,{W:()=>d,f:()=>p});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(67940),u=n(46005),l=n(57488),f=n(26166),d=c.Ay.div.withConfig({displayName:"StyledFloatingUi"})(r||(r=a()(["\n && {\n pointer-events: none; /* prevent flickering of tooltip */\n background-color: ",";\n max-width: 400px;\n z-index: 100000010;\n padding: ",";\n\n * {\n color: ",";\n }\n\n svg path {\n /* style FloatingArrow SVG */\n fill: ",";\n }\n }\n"])),l.t7.color("backgroundPopover"),(function(e){return e.rimless?"0":f.A.space(0)}),l.t7.color("textPopover"),l.t7.color("backgroundPopover")),p=c.Ay.div.withConfig({displayName:"StyledBox"})(o||(o=a()(["\n && {\n ",";\n\n &,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n "," {\n color: ",";\n overflow-wrap: break-word;\n }\n }\n"])),(function(e){return e.isPlainHtml&&(0,u.g)(e,"html")}),s.b,l.t7.color("textPopover"))},39319:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(41250).A},32694:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,o=n(64116),i=n(56775),a=n(40203),c=n(74848);const s=function(e){var t=e.thumbnailUrl,n=e.alt,s=e.srcUrl,u=(e.fileName,e.caption),l=e.maxDimensionX,f=e.maxDimensionY,d=t?(0,c.jsx)("img",{alt:n,title:n,src:t}):(0,c.jsx)("div",{title:n,children:r||(r=(0,c.jsx)(o.A,{icon:"file-alt"}))});return(0,c.jsxs)(a.A,{maxDimensionX:l,maxDimensionY:f,children:[(0,c.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:s,children:d}),u&&(0,c.jsx)(i.Ay.Figcaption,{children:u})]})}},40203:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166),s=n(57488);const u=a.Ay.figure.withConfig({displayName:"StyledPreview"})(r||(r=i()(["\n && {\n vertical-align: top;\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n margin: 0; /* reset css overwrite */\n\n img {\n margin-top: ",";\n border: 1px solid ",";\n border-radius: ",";\n max-width: ",";\n max-height: ",";\n min-width: 90px; /* prevent collapse to 1px if there is no preview generated */\n }\n\n figcaption {\n text-align: center;\n }\n }\n"])),c.A.space(-2.2),s.t7.color("border"),s.t7.radii("form"),(function(e){return e.maxDimensionX||"100%"}),(function(e){return e.maxDimensionY||"100%"}))},80031:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o,i=n(58065),a=n(62764),c=n(93043),s=n(74848);const u=function(e){var t=e.onYes,n=e.onNo;return(0,s.jsxs)(c.t,{children:[(0,s.jsx)(a.A,{ink:"primary",look:"raised",type:"button",onClick:t,autoFocus:!0,children:r||(r=(0,s.jsx)(i.A,{id:"client.common.yes"}))}),(0,s.jsx)(a.A,{type:"button",onClick:n,children:o||(o=(0,s.jsx)(i.A,{id:"client.common.no"}))})]})}},93043:(e,t,n)=>{"use strict";n.d(t,{t:()=>u});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166),s=n(57488),u=a.Ay.div.withConfig({displayName:"StyledButtonWrapper"})(r||(r=i()(["\n padding-top: ",";\n background-color: ",";\n display: flex;\n justify-content: flex-end;\n"])),c.A.space(0),s.t7.color("paper"))},44002:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(80031).A},86703:(e,t,n)=>{"use strict";n.d(t,{EM:()=>I,Ec:()=>D,Jd:()=>M,NL:()=>L,NR:()=>P,PD:()=>T,YC:()=>H,fp:()=>F,iX:()=>N,jl:()=>R,qV:()=>_,wO:()=>C});var r,o,i,a,c,s,u,l,f,d,p,h,m,v=n(26396),y=n.n(v),g=n(72189),b=n.n(g),w=n(49514),x=n(92149),A=n(51510),O=n(57488),E=n(26166),S=n(85431);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=A.Ay.span.withConfig({displayName:"StyledClickableWrapper"})(r||(r=b()(["\n pointer-events: auto;\n cursor: pointer;\n"]))),P=A.Ay.div.withConfig({displayName:"StyledReactSelectOuterWrapper"})(o||(o=b()(["\n outline-style: none;\n cursor: ",";\n"])),(function(e){return e.immutable&&"text"})),C=A.Ay.div.withConfig({displayName:"StyledReactSelectInnerWrapper"})(i||(i=b()(["\n outline-style: none;\n"]))),_=A.Ay.div.withConfig({displayName:"StyledIndicatorsContainerWrapper"})(a||(a=b()(["\n position: relative;\n z-index: 1;\n background-color: ",";\n border-radius: ",";\n ",";\n"])),O.t7.color("paper"),O.t7.radii("form"),(function(e){return e.isTopAligned&&(0,A.AH)(c||(c=b()(["\n position: absolute;\n right: 0;\n top: 0;\n "])))})),D=(0,A.Ay)(x.A).withConfig({displayName:"StyledTether"})(s||(s=b()(["\n && {\n z-index: 1;\n }\n"]))),R=(A.Ay.div.withConfig({displayName:"StyledNonTether"})(u||(u=b()(["\n position: absolute;\n padding-bottom: ",";\n z-index: 2; /* higher than StyledTether and StyledIndicatorsContainerWrapper */\n"])),E.A.space(1.5)),(0,A.Ay)(w.c.Menu).attrs((function(e){return{theme:e.selectTheme}})).withConfig({displayName:"StyledMenu"})(l||(l=b()(["\n && {\n margin: 8px 0 8px -10px;\n width: calc(","px + 20px);\n position: relative;\n\n .tether-target-attached-top & {\n transform: translateY(-","px);\n }\n }\n"])),(function(e){return e.wrapperWidth}),(function(e){return e.wrapperHeight+6}))),N=A.Ay.div.withConfig({displayName:"StyledMoreOptionsAvailable"})(f||(f=b()(["\n && {\n ","\n cursor: default;\n padding: "," ",";\n }\n"])),(0,S.A)({color:O.t7.color("signal.info"),lineHeight:"normal"}),E.A.space(-.5),E.A.space(-.2)),I=A.Ay.div.withConfig({displayName:"StyledSingleValueWrapper"})(d||(d=b()(["\n overflow-x: hidden;\n position: relative;\n color: ",";\n"])),(function(e){return e.isDisabled?O.t7.color("text"):"inherit"})),M=A.Ay.div.withConfig({displayName:"StyledDropdownIndicatorWrapper"})(p||(p=b()(["\n && {\n position: relative;\n width: 25px;\n height: 25px;\n display: flex;\n align-items: center;\n }\n"]))),L=A.Ay.div.withConfig({displayName:"StyledMultiValueWrapper"})(h||(h=b()(["\n overflow: hidden;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n"]))),F=A.Ay.span.withConfig({displayName:"StyledMultiValueLabelWrapper"})(m||(m=b()(["\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),H=function(e){var t=e.colors.paper,n=e.colors.backgroundItemHover,r=e.colors.backgroundItemSelected,o=e.colors.text,i=e.colors.borderSelect,a=e.colors.textDisabled,c=e.radii.form,s=E.A.space(-1)({theme:e}),u=E.A.space(-2)({theme:e}),l={color:o,fontFamily:e.fontFamily.regular,fontSize:"".concat(e.fontSize.base,"rem"),fontWeight:e.fontWeights.regular,lineHeight:e.lineHeights.regular},f=function(e){return e.isMulti&&(e.selectProps.hasAdvancedSearch||e.selectProps.hasDocsTreeSearch)},d=function(t){return j(j({},t),{},{color:e.colors.signal.info,cursor:"default",textAlign:"left"})};return{container:function(e,t){return j(j(j({},e),l),{},{outline:0})},control:function(e,t){return j(j({},e),{},{backgroundColor:"transparent",borderWidth:0,boxShadow:null,minHeight:0,flexWrap:"nowrap",position:"relative",display:f(t)?"block":e.display})},noOptionsMessage:d,loadingMessage:d,option:function(o,i){var a=t;return i.isSelected?a=r:i.isFocused&&(a=n),j(j({},o),{},{color:e.colors.text,backgroundColor:a,cursor:"pointer",":active":{backgroundColor:i.isSelected?r:n}})},indicatorsContainer:function(e,t){return j(j({},e),{},{alignSelf:"flex-end","> *":{padding:"0 !important;"}})},input:function(e,t){var n=50;return t.selectProps.hasDocsTreeSearch&&(n+=25),t.selectProps.hasAdvancedSearch&&(n+=25),t.selectProps.hasCreatePermission&&(n+=25),j(j(j({},e),{},{minHeight:t.isDisabled?"0":"2.6rem",paddingTop:t.isDisabled?"0":"2px",paddingBottom:t.isDisabled?"0":"2px"},f(t)?{width:"calc(100% - ".concat(n,"px)")}:{}),{},{overflow:"hidden",margin:"0",color:o})},menu:function(t,n){return{backgroundColor:e.colors.paper,boxShadow:"0 0 6px ".concat(i),borderRadius:c}},menuList:function(t,n){return j(j(j({},t),l),{},{border:"1px solid ".concat(i),borderRadius:c,padding:"0",backgroundColor:e.colors.paper})},multiValue:function(t,n){return j(j({},t),{},{borderRadius:c,margin:"".concat(s," ").concat(u," 0 0"),backgroundColor:e.colors.backgroundMultiValue,justifyContent:"space-between"},f(n)&&!n.isDisabled?{width:"100%",maxWidth:"300px"}:{})},multiValueLabel:function(e,t){return j(j({},e),{},{borderRadius:c,color:o,fontSize:"inherit",lineHeight:1.8})},multiValueRemove:function(e,t){return j(j({},e),{},{borderRadius:0,color:o,display:t.isDisabled?"none":"flex",":hover":j(j({},e[":hover"]),{},{color:o,backgroundColor:r,cursor:"pointer"})})},singleValue:function(e,t){return j(j({},e),{},{color:t.isDisabled?a:o,margin:0,whiteSpace:"wrap"})},valueContainer:function(e,t){return j(j({},e),{},{padding:0,margin:0,minHeight:t.isDisabled?"0":"2.6rem"})}}}},91437:(e,t,n)=>{"use strict";n.d(t,{H1:()=>a,H2:()=>c,H3:()=>s,H4:()=>u,H5:()=>l,H6:()=>f});var r=n(58737),o=n(28888),i=n(74848),a=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H1":a,s=e.children;return(0,i.jsx)(o.rd,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},c=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H2":a,s=e.children;return(0,i.jsx)(o.kv,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},s=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H3":a,s=e.children;return(0,i.jsx)(o.dT,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},u=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H4":a,s=e.children;return(0,i.jsx)(o.kg,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},l=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H5":a,s=e.children;return(0,i.jsx)(o.dE,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},f=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H6":a,s=e.children;return(0,i.jsx)(o.kB,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})}},64795:(e,t,n)=>{"use strict";n.d(t,{Dd:()=>a,Dl:()=>c,Dt:()=>s,Li:()=>u,Ol:()=>l,Ul:()=>f});var r=n(58737),o=n(69684),i=n(74848),a=function(e){var t=e.breakWords,n=void 0===t||t,a=e.children;return(0,i.jsx)(o.sq,{breakWords:n,title:n?void 0:(0,r.A)(a),children:a})},c=function(e){return(0,i.jsx)(o.sS,{children:e.children})},s=function(e){var t=e.breakWords,n=void 0===t||t,a=e.children;return(0,i.jsx)(o.GJ,{breakWords:n,title:n?void 0:(0,r.A)(a),children:a})},u=function(e){var t=e.children;return(0,i.jsx)(o.vx,{children:t})},l=function(e){var t=e.children;return(0,i.jsx)(o.ZY,{children:t})},f=function(e){var t=e.children;return(0,i.jsx)(o.dV,{as:"ul",children:t})}},16107:(e,t,n)=>{"use strict";n.d(t,{AC:()=>v,A_:()=>s,B:()=>a,CU:()=>h,Cy:()=>c,Em:()=>u,H2:()=>d,I:()=>f,JU:()=>p,L9:()=>b,Nu:()=>l,OH:()=>A,Oc:()=>g,P:()=>m,Pb:()=>w,Q:()=>k,S:()=>y,U:()=>E,dN:()=>x,gX:()=>O,gw:()=>S});var r=n(58737),o=n(5016),i=n(74848),a=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.or,{breakWords:n,title:j(n,a,c),children:c})},c=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.pR,{title:j(n,a,c),children:c})},s=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.rY,{breakWords:n,title:j(n,a,c),children:c})},u=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.QF,{breakWords:n,title:j(n,a,c),children:c})},l=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.aB,{breakWords:n,title:j(n,a,c),children:c})},f=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.vB,{breakWords:n,title:j(n,a,c),children:c})},d=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.MM,{breakWords:n,title:j(n,a,c),children:c})},p=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children,s=e.htmlFor;return(0,i.jsx)(o.Gw,{breakWords:n,title:j(n,a,c),htmlFor:s,children:c})},h=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.Li,{breakWords:n,title:j(n,a,c),children:c})},m=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children,s=e.id;return(0,i.jsx)(o.C$,{breakWords:n,title:j(n,a,c),id:s,children:c})},v=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.rs,{breakWords:n,title:j(n,a,c),children:c})},y=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.v8,{breakWords:n,title:j(n,a,c),children:c})},g=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.fN,{breakWords:n,title:j(n,a,c),children:c})},b=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children,s=e.id;return(0,i.jsx)(o.oY,{breakWords:n,title:j(n,a,c),id:s,children:c})},w=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.AB,{breakWords:n,title:j(n,a,c),children:c})},x=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.AE,{breakWords:n,title:j(n,a,c),children:c})},A=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.Ng,{breakWords:n,title:j(n,a,c),children:c})},O=function(e){var t=e.breakWords,n=void 0!==t&&t,r=e.title,a=e.dateTime,c=e.children;return(0,i.jsx)(o.F1,{breakWords:n,title:r,dateTime:a,children:c})},E=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.vr,{breakWords:n,title:j(n,a,c),children:c})},S=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.zG,{breakWords:n,title:j(n,a,c),children:c})},k=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.Js,{breakWords:n,title:j(n,a,c),children:c})},j=function(e,t,n){return!t||e?void 0:(0,r.A)(n)}},28888:(e,t,n)=>{"use strict";n.d(t,{dE:()=>O,dT:()=>x,kB:()=>E,kg:()=>A,kv:()=>w,rd:()=>b});var r,o,i,a,c,s,u,l=n(72189),f=n.n(l),d=n(51510),p=n(26166),h=n(85431),m=n(47616),v=n(33090),y=function(e){var t;switch(e.styledLike){case"H1":t=p.A.font(5)(e);break;case"H2":t=p.A.font(4)(e);break;case"H3":t=p.A.font(3)(e);break;case"H4":t=p.A.font(2)(e);break;case"H5":t=p.A.font(1)(e);break;default:t=p.A.font(0)(e)}return(0,h.A)({fontWeight:m.A.fontWeight("bold"),fontSize:t})},g=function(e){return(0,d.AH)(r||(r=f()(["\n margin-top: ",";\n margin-bottom: ",";\n\n h1 + &,\n h2 + &,\n h3 + &,\n h4 + &,\n h5 + &,\n h6 + & {\n margin-top: 0;\n }\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n"])),p.A.space(0),p.A.space(-1))},b=d.Ay.h1.withConfig({displayName:"StyledH1"})(o||(o=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),w=d.Ay.h2.withConfig({displayName:"StyledH2"})(i||(i=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),x=d.Ay.h3.withConfig({displayName:"StyledH3"})(a||(a=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),A=d.Ay.h4.withConfig({displayName:"StyledH4"})(c||(c=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),O=d.Ay.h5.withConfig({displayName:"StyledH5"})(s||(s=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),E=d.Ay.h6.withConfig({displayName:"StyledH6"})(u||(u=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()}))},69684:(e,t,n)=>{"use strict";n.d(t,{GJ:()=>b,ZY:()=>A,dV:()=>O,sS:()=>g,sq:()=>y,vx:()=>w});var r,o,i,a,c,s,u,l=n(72189),f=n.n(l),d=n(51510),p=n(85431),h=n(33090),m=n(26166),v=n(47616),y=d.Ay.dd.withConfig({displayName:"StyledDd"})(r||(r=f()(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,p.A)(),(function(e){return e.breakWords?(0,h.K)():(0,h.s)()})),g=d.Ay.dl.withConfig({displayName:"StyledDl"})(o||(o=f()(["\n && {\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),m.A.space(-1)),b=d.Ay.dt.withConfig({displayName:"StyledDt"})(i||(i=f()(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,p.A)({fontWeight:v.A.fontWeight("bold")}),(function(e){return e.breakWords?(0,h.K)():(0,h.s)()})),w=d.Ay.li.withConfig({displayName:"StyledLi"})(a||(a=f()(["\n && {\n ","\n ","\n }\n"])),(0,p.A)(),(0,h.K)()),x=d.Ay.ol.withConfig({displayName:"StyledList"})(c||(c=f()(["\n && {\n display: block;\n list-style-position: outside;\n margin: 0 0 "," ",";\n padding: 0;\n\n &&,\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),m.A.space(-1),m.A.space(-.1)),A=(0,d.Ay)(x).withConfig({displayName:"StyledOl"})(s||(s=f()(["\n list-style-type: decimal;\n"]))),O=(0,d.Ay)(x).withConfig({displayName:"StyledUl"})(u||(u=f()(["\n && {\n list-style-type: disc;\n }\n"])))},5016:(e,t,n)=>{"use strict";n.d(t,{AB:()=>Y,AE:()=>q,C$:()=>B,F1:()=>$,Gw:()=>F,Js:()=>X,Li:()=>H,MM:()=>L,Ng:()=>V,QF:()=>N,aB:()=>I,fN:()=>z,oY:()=>G,or:()=>_,pR:()=>D,rY:()=>R,rs:()=>U,v8:()=>W,vB:()=>M,vr:()=>K,zG:()=>J});var r,o,i,a,c,s,u,l,f,d,p,h,m,v,y,g,b,w,x,A,O,E=n(72189),S=n.n(E),k=n(51510),j=n(85431),T=n(57488),P=n(33090),C=n(26166),_=k.Ay.b.withConfig({displayName:"StyledB"})(r||(r=S()(["\n && {\n ","\n }\n ","\n"])),(0,j.A)({fontWeight:T.t7.fontWeight("bold")}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),D=k.Ay.code.withConfig({displayName:"StyledCode"})(o||(o=S()(["\n && {\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n white-space: pre;\n overflow-y: auto;\n }\n"])),(0,j.A)({fontFamily:T.t7.fontFamily("monospace"),fontSize:C.A.font(-1)}),T.t7.color("backgroundTypographyCode"),T.t7.radii("form"),C.A.space(-4),C.A.space(-2)),R=k.Ay.del.withConfig({displayName:"StyledDel"})(i||(i=S()(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),N=k.Ay.em.withConfig({displayName:"StyledEm"})(a||(a=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),I=k.Ay.figcaption.withConfig({displayName:"StyledFigcaption"})(c||(c=S()(["\n && {\n ","\n ","\n margin: "," 0 "," 0;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,j.A)({fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),C.A.space(-2),C.A.space(-1)),M=k.Ay.i.withConfig({displayName:"StyledI"})(s||(s=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),L=k.Ay.ins.withConfig({displayName:"StyledIns"})(u||(u=S()(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),F=k.Ay.label.withConfig({displayName:"StyledLabel"})(l||(l=S()(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),C.A.space(-1)),H=k.Ay.mark.withConfig({displayName:"StyledMark"})(f||(f=S()(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,j.A)({fontFamily:T.t7.fontFamily("monospace"),color:T.t7.color("paper")}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),T.t7.color("signal.info"),T.t7.radii("form"),C.A.space(-4),C.A.space(-2)),B=k.Ay.p.withConfig({displayName:"StyledP"})(d||(d=S()(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),C.A.space(-1)),U=k.Ay.pre.withConfig({displayName:"StyledPre"})(p||(p=S()(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n display: block;\n margin: 0 0 ",";\n padding: "," ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,j.A)({fontFamily:T.t7.fontFamily("monospace"),fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),T.t7.color("backgroundTypographyCode"),T.t7.radii("form"),T.t7.color("border"),C.A.space(-1),C.A.space(-3),C.A.space(-2)),W=k.Ay.s.withConfig({displayName:"StyledS"})(h||(h=S()(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),z=k.Ay.small.withConfig({displayName:"StyledSmall"})(m||(m=S()(["\n && {\n ","\n font-size: calc(1em / ",");\n ","\n }\n"])),(0,j.A)(),T.t7.fontSize("factor"),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),G=k.Ay.span.withConfig({displayName:"StyledSpan"})(v||(v=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),Y=k.Ay.sub.withConfig({displayName:"StyledSub"})(y||(y=S()(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n bottom: -0.25em;\n vertical-align: baseline;\n }\n"])),(0,j.A)({fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),q=k.Ay.sup.withConfig({displayName:"StyledSup"})(g||(g=S()(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n top: -0.5em;\n vertical-align: baseline;\n }\n"])),(0,j.A)({fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),V=k.Ay.strong.withConfig({displayName:"StyledStrong"})(b||(b=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)({fontWeight:T.t7.fontWeight("bold")}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),$=k.Ay.time.withConfig({displayName:"StyledTime"})(w||(w=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),K=k.Ay.u.withConfig({displayName:"StyledU"})(x||(x=S()(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),J=k.Ay.var.withConfig({displayName:"StyledVar"})(A||(A=S()(["\n && {\n ","\n ","\n &:after {\n content: ']';\n }\n\n &:before {\n content: '[';\n }\n }\n"])),(0,j.A)({fontFamily:T.t7.fontFamily("monospace"),fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),X=k.Ay.q.withConfig({displayName:"StyledQ"})(O||(O=S()(["\n && {\n ","\n ","\n &:after {\n content: close-quote;\n }\n\n &:before {\n content: open-quote;\n }\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}))},56775:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a});var r=n(91437),o=n(64795),i=n(16107);const a={H1:r.H1,H2:r.H2,H3:r.H3,H4:r.H4,H5:r.H5,H6:r.H6,Dd:o.Dd,Dt:o.Dt,Dl:o.Dl,Li:o.Li,Ol:o.Ol,Ul:o.Ul,B:i.B,Code:i.Cy,Del:i.A_,Em:i.Em,Figcaption:i.Nu,I:i.I,Ins:i.H2,Label:i.JU,Mark:i.CU,P:i.P,Pre:i.AC,Q:i.Q,S:i.S,Small:i.Oc,Span:i.L9,Strong:i.OH,Sub:i.Pb,Sup:i.dN,Time:i.gX,U:i.U,Var:i.gw}},46005:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(58156),o=n.n(r),i=n(47616),a=n(26166),c=function(e,t){var n="\n color: ".concat(i.A.color("text")(e),";\n font-family: ").concat(i.A.fontFamily("regular")(e),";\n font-size: ").concat(a.A.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(i.A.fontWeight("regular")(e),";\n line-height: ").concat(i.A.lineHeight("regular")(e),";\n\n a {\n color: ").concat(i.A.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(o()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(o()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(i.A.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(a.A.font(5)(e),";}\n h2 {font-size: ").concat(a.A.font(4)(e),";}\n h3 {font-size: ").concat(a.A.font(3)(e),";}\n h4 {font-size: ").concat(a.A.font(2)(e),";}\n h5 {font-size: ").concat(a.A.font(1)(e),";}\n h6 {font-size: ").concat(a.A.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(i.A.fontWeight("bold")(e),";\n margin-top: ").concat(a.A.space(0)(e),";\n margin-bottom: ").concat(a.A.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(a.A.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(a.A.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},5092:(e,t,n)=>{"use strict";n.d(t,{DK:()=>j,J5:()=>S,PJ:()=>O,PZ:()=>w,iN:()=>x,ue:()=>E,vv:()=>A,xe:()=>k});var r,o,i,a,c,s,u,l,f=n(72189),d=n.n(f),p=n(51510),h=n(5975),m=n(5016),v=n(26166),y=n(57488),g=n(85431),b=n(27113),w=p.Ay.section.withConfig({displayName:"StyledSection"})(r||(r=d()(["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n"]))),x=p.Ay.div.withConfig({displayName:"StyledButtonsWrapper"})(o||(o=d()(["\n display: flex;\n align-items: center;\n\n "," {\n margin: 0;\n border-radius: 50%;\n padding: ",";\n\n a:hover {\n color: unset;\n }\n }\n"])),h.Ay,v.A.space(-2)),A=p.Ay.div.withConfig({displayName:"StyledDropzone"})(i||(i=d()(["\n width: 100%;\n\n &:hover {\n "," {\n background-color: ",";\n }\n }\n"])),h.Ay,y.t7.color("backgroundItemHover")),O=p.Ay.div.withConfig({displayName:"StyledUploadInput"})(a||(a=d()(["\n ","\n cursor: ",";\n background-color: ",";\n color: ",";\n padding: "," 0 0 0;\n display: flex;\n\n "," {\n float: right;\n position: relative;\n top: -",";\n margin: 0;\n border-radius: 50%;\n padding: ",";\n }\n"])),(0,g.A)(),(function(e){return e.immutable?"not-allowed":"pointer"}),y.t7.color("paper"),(function(e){return e.immutable?b.D.shade2(e):b.D.base(e)}),v.A.space(-2),h.Ay,v.A.space(-3.1),v.A.space(-1.5)),E=p.Ay.div.withConfig({displayName:"StyledUploadProgress"})(c||(c=d()(["\n && {\n padding-top: ",";\n text-align: center;\n display: inline-block;\n }\n"])),v.A.space(-2)),S=(0,p.Ay)(m.oY).withConfig({displayName:"StyledUploadProgressText"})(s||(s=d()(["\n && {\n ","\n }\n"])),(0,g.A)({fontSize:v.A.font(-1)})),k=p.Ay.div.withConfig({displayName:"StyledUploadProgressIconAndText"})(u||(u=d()(["\n && {\n display: flex;\n justify-content: center;\n align-items: center;\n\n span {\n margin-left: ",";\n }\n }\n"])),v.A.space(-2)),j=p.Ay.div.withConfig({displayName:"StyledView"})(l||(l=d()(["\n display: flex;\n justify-content: space-between;\n padding-top: ",";\n"])),v.A.space(-2))},39682:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(2404),s=n.n(c),u=n(4883),l=n(35212),f=n(24909),d=n(52826),p=n(74848);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const v=function(e){var t=e.value,n=e.textResources,r=void 0===n?{}:n,o=e.onUpload,i=e.onChoose,c=e.allowedFileTypes,h=void 0===c?[]:c,v=(0,u.useRef)(t),y=(0,u.useState)({isUploading:!1,previewFile:null}),g=a()(y,2),b=g[0],w=g[1];return(0,u.useEffect)((function(){s()(v.current,t)||w({isUploading:!1,previewFile:null}),v.current=t}),[t]),null!=t&&t.binaryLink?(0,p.jsx)(d.A,m(m({},e),{},{deleteTitle:r.delete,downloadTitle:r.download})):b.isUploading?(0,p.jsx)(f.A,m({file:b.previewFile,text:r.uploading},e)):(0,p.jsx)(l.A,m(m({},e),{},{onDrop:function(e){!function(e){w({isUploading:!0,previewFile:e})}(e),o(e)},onChoose:i,allowedFileTypes:h}))}},35212:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(26396),o=n.n(r),i=n(78074),a=n(38798),c=n(62764),s=n(5092),u=n(74848);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const d=(0,a.Ay)((function(e){var t=e.id,n=e.onDrop,r=e.immutable,o=e.text,a=e.onChoose,l=e.intl,d=e.allowedFileTypes,p=function(e){return l.formatMessage({id:e})};return(0,u.jsxs)(s.PJ,{immutable:r,"data-cy":"upload-".concat(t),children:[(0,u.jsx)(i.Ay,{onDrop:function(e){var t=e.map((function(e){return Object.assign(e,{preview:URL.createObjectURL(e)})}));n(t[0])},multiple:!1,disabled:r,title:o||"drag and drop or click",children:function(e){var n=e.getRootProps,r=e.getInputProps;return(0,u.jsx)(s.PZ,{children:(0,u.jsxs)(s.vv,f(f({},n()),{},{children:[(0,u.jsx)("input",f(f({},r()),{},{accept:d.join(", ")})),(0,u.jsx)(c.A,{icon:"arrow-to-top",label:p("client.component.upload.uploadFile"),iconOnly:!0,"data-cy":"btn-upload-".concat(t)})]}))})}}),a&&(0,u.jsx)(c.A,{onClick:function(e){a(),e.stopPropagation()},icon:"folder",label:p("client.component.upload.browseDocs"),iconOnly:!0})]})}))},24909:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(69556),o=n(32694),i=n(77271),a=n(16250),c=n(5092),s=n(74848);const u=function(e){var t=e.file,n=e.text;return(0,s.jsxs)(c.ue,{children:[(0,s.jsx)(o.A,{alt:t.name,caption:t.name,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:t.preview,thumbnailUrl:t.type.startsWith("image")?t.preview:null}),(0,s.jsxs)(c.xe,{children:[(0,s.jsx)(r.A,{position:i.A.position.PREPEND}),(0,s.jsxs)(c.J5,{children:[n||"uploading"," (",(0,a.C)(t.size),")"]})]})]})}},52826:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(46516),a=n(62764),c=n(44905),s=n(32694),u=n(5092),l=n(74848);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const p=function(e){var t,n=e.value,r=e.downloadTitle,o=e.immutable,f=e.onUpload,p=e.deleteTitle,h=null===(t=n.binaryLink)||void 0===t?void 0:t.startsWith("blob:");return(0,l.jsxs)(u.DK,{className:"StyledView",children:[(0,l.jsx)(s.A,d(d({alt:n.fileName},h&&{caption:n.fileName}),{},{fileName:n.fileName,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:n.binaryLink,thumbnailUrl:n.thumbnailLink})),(0,l.jsxs)(u.iN,{children:[!o&&(0,l.jsx)(a.A,{icon:"trash",onClick:function(){return f(null)},tabIndex:-1,title:p||"delete"}),(0,l.jsx)(a.A,{children:(0,l.jsx)(c.A,{neutral:!0,icon:"arrow-to-bottom",target:"_blank",href:i.A.getDownloadUrl(n.binaryLink),tabIndex:-1,title:r||"download"})})]})]})}},16250:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var r=function(e){var t=Math.floor(Math.log(e)/Math.log(1024));return"".concat(1*(e/Math.pow(1024,t)).toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB"][t])}},27113:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,K:()=>a});var r=n(58156),o=n.n(r),i={base:function(e){var t=e.theme;return o()(t,"colors.text")},shade1:function(e){var t=e.theme;return o()(t,"colors.textLight")},shade2:function(e){var t=e.theme;return o()(t,"colors.textLighter")},signal:function(e){var t=e.theme,n=e.signal;return o()(t,"colors.signal.".concat(n))},hasValue:function(e){var t=e.theme;return o()(t,"colors.signal.info")}},a={base:function(e){var t=e.theme;return o()(t,"colors.border")},signal:function(e){var t=e.theme,n=e.signal;return o()(t,"colors.signal.".concat(n))},isDirty:function(e){var t=e.theme;return o()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}}},85431:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(47616),s=n(26166);const u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.AH)(r||(r=i()(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||c.A.color("text"),e.fontFamily||c.A.fontFamily("regular"),e.fontSize||s.A.font(0),e.fontStyle||"normal",e.fontWeight||c.A.fontWeight("regular"),e.lineHeight||c.A.lineHeight("regular"))}},33090:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,s:()=>r});var r=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},o=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"}},77271:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(5556),o=n.n(r),i={NONE:"none",SPIN:"spin"},a={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},c={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},s={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},u={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},l=o().oneOf(Object.values(i)),f=o().oneOf(Object.values(a)),d=o().oneOf(Object.values(s)),p=o().oneOf(Object.values(u));const h={animation:i,animationPropTypes:l,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:a,inkPropTypes:f,layout:c,layoutPropTypes:o().oneOf(Object.values(c)),look:s,lookPropTypes:d,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return o().oneOf(Object.values(e))},position:u,positionPropTypes:p}},58737:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(85735),o=n.n(r),i=n(4883),a=n.n(i),c=function(e){var t="";return a().Children.map(e,(function(e,n){"string"==typeof e||"number"==typeof e?t="".concat(t).concat(e):"object"===o()(e)&&e.props.children?t="".concat(t).concat(c(e.props.children)):"object"===o()(e)&&e.props.dangerouslySetInnerHTML&&(t="".concat(t," ").concat(s(e.props.dangerouslySetInnerHTML.__html)))})),t},s=function(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""};const u=c},57488:(e,t,n)=>{"use strict";n.d(t,{t7:()=>r});var r=n(47616).A},62124:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r,o=n(72189),i=n.n(o),a=n(31357),c=n(51510),s=n(47616),u=function(e,t){return(0,a.W0)(e,s.A.color("text")({theme:t}),s.A.color("paper")({theme:t}))};const l=function(e){var t=e.ink,n=e.look,o=e.theme,l=function(e,t,n){var r="secondary"===e&&"raised"===t;return"primary"===e&&"raised"===t?s.A.color("primary")({theme:n}):r?s.A.color("secondary")({theme:n}):s.A.color("paper")({theme:n})}(t,n,o),f=function(e,t,n,r){return"primary"===e&&"raised"!==t?s.A.color("primary")({theme:n}):u(r,n)}(t,n,o,l),d=function(e,t,n){return"primary"!==e&&"raised"===t?"0px 0px 0px 1px ".concat(s.A.color("secondaryLight")({theme:n})," inset;"):"none"}(t,n,o),p=function(e,t,n){return"raised"===t?"primary"===e?s.A.color("primaryLight")({theme:n}):s.A.color("secondaryLight")({theme:n}):s.A.color("backgroundItemHover")({theme:n})}(t,n,o),h=function(e,t,n){return"raised"===e?s.A.color("paper")({theme:t}):u(n,t)}(n,o,l);return(0,c.AH)(r||(r=i()(["\n && {\n color: ",";\n }\n background: ",";\n box-shadow: ",";\n outline: none;\n border: none;\n\n &:active,\n &[aria-pressed='true'] {\n background: ",";\n }\n\n &:disabled,\n &[disabled] {\n background: ",";\n opacity: 0.5;\n cursor: text;\n }\n\n &:focus:not(:disabled),\n &:focus:not([disabled]),\n &:hover:not(:disabled),\n &:hover:not([disabled]) {\n background: ",";\n color: ",";\n }\n "])),f,l,d,(0,a.a)(.1,p),"dark"!==o.name?(0,a.uq)(.41,l):"transparent",p,h)}},26166:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(36944),o=n.n(r),i=n(47616),a=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(o()(c(t,e,n),3)).concat(r)},c=function(e,t,n){return Math.pow(n,t)*e};const s={declareScale:a,exponentiate:c,font:function(e,t){return function(n){return a(e,i.A.fontSize("base")(n),i.A.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return a(e,i.A.space("base")(n),i.A.space("factor")(n),t)}}}},47616:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(58156),o=n.n(r),i=n(94200),a=function(e){return 0===Object.keys(e).length?i.A:e};const c={color:function(e){return function(t){var n=t.theme;return o()(a(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(a(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(a(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(a(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(a(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return o()(a(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(a(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return o()(a(n),"specificProperties.".concat(e))}}}},82064:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(4883),o=function(e){(0,r.useEffect)((function(){var t=function(t){"Enter"===t.key&&"TEXTAREA"!==t.target.tagName&&(t.preventDefault(),t.stopPropagation(),e())};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}),[e])}},44855:(e,t,n)=>{"use strict";n.d(t,{U:()=>c});var r=n(21259),o=n.n(r),i=n(47383),a=n(19461),c=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t.reduce((function(t,r){return i.A.isDefined(e[r.name])&&"function"==typeof r.action?t.push(r.action.apply(r,o()(r.argsFactory(e)))):r.mandatory&&n&&a.A.logError("Mandatory field '".concat(r.name,"' not set in input")),t}),[])}},66498:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getDispatchActions:n(44855).U}},27306:(e,t,n)=>{"use strict";n.d(t,{K:()=>h,N:()=>p});var r=n(26396),o=n.n(r),i=n(21259),a=n.n(i),c=n(58156),s=n.n(c),u=n(63560),l=n.n(u);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(e,t,n){var r={};return e.forEach((function(e){t.forEach((function(t){if(e[t]){var o=e[t];(Array.isArray(o)?o:[o]).filter((function(e){return null!==e})).forEach((function(e){var t=e.model,o=e.key;(function(e,t,n){return!!s()(n,["defaultDisplays",e,t],"")})(t,o,n)||function(e,t,n){return s()(n,[e],[]).includes(t)}(t,o,r)||l()(r,[t],[].concat(a()(s()(r,[t],[])),[o]))}))}}))})),r},h=function(e){return e.reduce((function(e,t){return d(d({},e),{},o()({},t.model,[].concat(a()(e[t.model]||[]),[t.key])))}),{})}},3185:(e,t,n)=>{"use strict";n.d(t,{Fx:()=>P,Tx:()=>j,VG:()=>S,Y5:()=>T,qq:()=>k,zg:()=>C});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(58156),s=n.n(c),u=n(2404),l=n.n(u),f=n(23805),d=n.n(f),p=n(90179),h=n.n(p),m=n(44383),v=n.n(m),y=n(40860),g=n.n(y),b=n(63560),w=n.n(b),x=n(31444),A=n.n(x);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S={KEY:"__key",MODEL:"__model",VERSION:"__version"},k=["single-select-box","multi-select-box","single-remote-field","multi-remote-field"],j=["key","display","model","version"],T=function(e){return E(a()(a()(a()({},S.KEY,e.key),S.MODEL,e.model),S.VERSION,e.version),P(e.paths))},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return g()(e,(function(e,n,r){var i=[].concat(o()(t),[r]),c={};n.value&&(c=Array.isArray(n.value)?n.value.reduce((function(e,t){return function(e,t){return g()(t,(function(e,t,n){var r=(Array.isArray(t)?t:[t]).filter((function(e){return null!==e}));return E(E({},e),{},a()({},n,A()([].concat(o()(e[n]||[]),o()(r)),l())))}),e)}(e,P(t.paths,i))}),{}):P(n.value.paths,i));var u=a()({},i.join("."),function(e,t){switch(e){case"entity":return t?v()(t,j):null;case"entity-list":return t.length>0?t.map((function(e){return v()(e,j)})):null;case"login":return s()(t,"username");case"longitude":case"latitude":return s()(t,"value");default:return t}}(n.type,n.value));return E(E(E({},e),u),c)}),{})},C=function(e){var t=function(e){return Array.isArray(e)?e.map((function(e){return t(e)})):d()(e)?function(e){return e.pickAllProperties?h()(e,["pickAllProperties"]):v()(e,["key","version","id","resourceKey"])}(e):e},n=Object.keys(e).reduce((function(n,r){if(i=r,!Object.values(S).includes(i)){var o=r.split(".").join(".paths.").split(".");return w()(n,o,t(e[r]))}var i;return n}),{});return{model:e[S.MODEL],key:e[S.KEY],version:e[S.VERSION],paths:n}}},20944:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getEventRelationshipModulesQuery:function(e){return{query:{where:"relModule.pk == ".concat(e,' and relEvent_relationship_registration.unique_id == "show"'),paths:["relCourse","relEvent_relationship_type.unique_id","sorting"],sort:"sorting desc"},entityName:"Event_relationship"}}}},31431:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var r=function(e){var t=e.lastIndexOf("_");return{formName:e.substring(0,t),scope:e.substring(t+1)}}},46836:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(27306),o=n(3185),i=n(20944),a=n(31431),c=n(8592);const s={metaFields:o.VG,relationFieldTypes:o.qq,relevantRelationAttributes:o.Tx,getFlattenEntity:o.Y5,flattenPaths:o.Fx,toEntity:o.zg,getPathDisplayRequest:r.N,getDisplayRequest:r.K,getColumnDefinition:c.wx,isRightAligned:c.rQ,splitFormId:a.G,eventRegistration:i.A,getSortingAttributes:c.kz}},8592:(e,t,n)=>{"use strict";n.d(t,{kz:()=>s,rQ:()=>l,wx:()=>f});var r=n(26396),o=n.n(r);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return!e.hidden},s=function(e,t){var n=null==t?void 0:t.findIndex((function(t){return t.field===e.id}));return n>=0?{sortRank:n+1,order:t[n].order}:{}},u=["counter","decimal","double","integer","latitude","long","longitude","moneyamount","percent","serial","sorting","version","number"],l=function(e){var t;return 1===(null==e||null===(t=e.children)||void 0===t?void 0:t.length)?u.includes(e.children[0].dataType):!(null==e||!e.dataType)&&u.includes(e.dataType)},f=function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return e?e.filter((function(e){return!e.hidden&&e.children.filter(c).length>0})).map((function(e,r){return{idx:r,id:e.id,label:e.label,sorting:a({sortable:e.sortable},s(e,t)),children:e.children.filter(c),resizable:!e.widthFixed,alignment:l(e)?"right":"left",shrinkToContent:e.shrinkToContent||!1,sticky:e.sticky||!1,CellRenderer:function(e){var t=e.rowData;return e.column.children.map((function(e){return n.apply(void 0,[e,t].concat(o))}))}}})):[]}},61818:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(5556),o=n.n(r),i=n(44984),a=o().shape({embedType:o().oneOf(i.hZ),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})},82682:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={propTypes:n(61818).t}},77039:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(39621),o=n(74848);const i=function(e){var t=e.packageName,n=e.appName;return"PRODUCTION"!==r.A.getRunEnv()?(0,o.jsxs)("div",{children:['Fehler beim Laden der "',n,'" App im Package "',t,'".']}):null}},52265:(e,t,n)=>{"use strict";n.d(t,{p:()=>h});var r=n(79092),o=n.n(r),i=n(22056),a=n.n(i),c=n(92207),s=n.n(c),u=n(4883),l=n(4642),f=n(77039),d=n(74846),p=n(74848),h=function(e){var t,n=e.packageName,r=e.appName,i=(0,u.useState)(null),c=a()(i,2),h=c[0],m=c[1];return(0,u.useEffect)((function(){var e=function(){var e=o()(s().mark((function e(){var o,i,a,c,u;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=(null===(o=window.toccoBootstrap)||void 0===o?void 0:o.backendUrl)||"",e.next=4,d.A.loadBundle(n,r,i);case 4:a=e.sent,c=a.app,u=c.App,(0,c.setWebpacksPublicPath)(i+d.A.getDistPath(n)),m((function(){return u})),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),l.A.logError(e.t0),m((function(){return function(){return t||(t=(0,p.jsx)(f.A,{packageName:n,appName:r}))}}));case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();e()}),[]),h}},96668:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(52265),o=n(74846);const i={useBundledApp:r.p,loadBundle:o.A.loadBundle,loadScriptAsync:o.A.loadScriptAsync,getEntryFilePath:o.A.getEntryFilePath}},74846:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(16964),o=n(34767);const i={loadBundle:r.p,loadScriptAsync:r.w,getEntryFilePath:o.C,getDistPath:o.q}},16964:(e,t,n)=>{"use strict";n.d(t,{p:()=>u,w:()=>s});var r=n(79092),o=n.n(r),i=n(92207),a=n.n(i),c=n(34767),s=function(e){return new Promise((function(t,n){var r=document.createElement("script");r.src=e,r.async=!0,r.type="text/javascript",r.onload=function(){t()},r.onerror=function(){n(new Error("Could not load script."))},r.crossorogin=!0;var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(r,o)}))},u=function(){var e=o()(a().mark((function e(t,n){var r,o,i,u=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=u.length>2&&void 0!==u[2]?u[2]:"",o="tocco-".concat(n),i=window[o]){e.next=7;break}return e.next=6,s(r+(0,c.C)(t,n));case 6:i=window[o];case 7:return e.abrupt("return",i);case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},34767:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,q:()=>r});var r=function(e){return"/js/tocco-".concat(e,"/dist/")},o=function(e,t){var n=e!==t?t:"index";return"".concat(r(e)).concat(n,".js")}},8516:(e,t,n)=>{"use strict";n.d(t,{G7:()=>E,GS:()=>p,Kb:()=>m,L5:()=>b,P8:()=>v,SP:()=>A,WD:()=>S,XO:()=>j,ZR:()=>d,fX:()=>x,p5:()=>k,sv:()=>g});var r=n(73357),o=n.n(r),i=n(19461),a=n(39621),c="meta",s="tocco.cache",u=function(e,t){return"".concat(s,".").concat(e,".").concat(t)},l={},f=function(e,t){l[e]=t},d=function(e,t,n){return h(e,t,n,f)},p=function(e,t,n){return h(e,t,n,(r=localStorage,function(e,t){return r.setItem(e,JSON.stringify(t))}));var r},h=function(e,t,n,r){return"PRODUCTION"!==a.A.getRunEnv()?null:r(u(e,t),n)},m=function(e,t){return l[u(e,t)]},v=function(e,t){return y(e,t,localStorage)},y=function(e,t,n){var r=n.getItem(u(e,t));if(r)return JSON.parse(r)},g=function(e,t){return o()(l,u(e,t))},b=function(e,t){return w(e,t,localStorage)},w=function(e,t,n){return n.removeItem(u(e,t))},x=function(){i.A.log("cache - object cache invalidated"),Object.keys(l).forEach((function(e){return o()(l,e)}))},A=function(){i.A.log("cache - long term cache invalidated"),O(localStorage)},O=function(e){Object.keys(e).filter((function(e){return e.startsWith(s)&&!function(e){return e.startsWith("".concat(s,".").concat(c))}(e)})).forEach((function(t){return e.removeItem(t)}))},E=function(){return{revision:v(c,"revision")}},S=function(e){var t=e.revision;p(c,"revision",t||"")},k=function(){return{locale:m(c,"locale"),businessUnitId:m(c,"businessUnitId"),username:m(c,"username")}},j=function(e){var t=e.locale,n=e.businessUnitId,r=e.username;d(c,"locale",t||""),d(c,"businessUnitId",n||""),d(c,"username",r||"")}},18242:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8516);const o={addObjectCache:r.ZR,addLongTerm:r.GS,getObjectCache:r.Kb,getLongTerm:r.P8,removeObjectCache:r.sv,removeLongTerm:r.L5,clearObjectCache:r.fX,clearLongTerm:r.SP,getLongTermMetaInfo:r.G7,setLongTermMetaInfo:r.WD,getObjectCacheMetaInfo:r.p5,setObjectCacheMetaInfo:r.XO}},3388:(e,t,n)=>{"use strict";n.d(t,{FF:()=>o,Rm:()=>i,vV:()=>r});var r=function(){window.console&&(console.error||console.log).apply(void 0,arguments)},o=function(){window.console&&(console.warn||console.log).apply(void 0,arguments)},i=function(){var e;window.console&&(e=console).log.apply(e,arguments)}},19461:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3388);const o={log:r.Rm,logError:r.vV,logWarning:r.FF}},32224:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(19609);const o={millisecondsToDuration:r.ss,formatDuration:r.a3,getDateFnsLocale:r.Me,getLocalizedDateFormat:r.Rj,getLocalizedDateTimeFormat:r.ax,getLocalizedDateFormatWithoutPunctuation:r.zQ,getLocalizedDateTimeFormatWithoutPunctuation:r.yX,getTimeZone:r.O,useTwoDigitYear:r.EQ,setCurrentTime:r.hW,selectUnit:r.xb}},19609:(e,t,n)=>{"use strict";n.d(t,{EQ:()=>x,Me:()=>v,O:()=>E,Rj:()=>y,a3:()=>m,ax:()=>g,hW:()=>A,ss:()=>h,xb:()=>O,yX:()=>w,zQ:()=>b});var r=n(14533),o=n(40337),i=n(74279),a=n(4155),c=n(81007),s=n(36374),u=n(86688),l=n(14501),f=n(75867),d=n(95494),p=n(98166),h=function(e){if(!e&&0!==e)return{hours:"",minutes:"",seconds:""};var t=(0,p.O5)(e/1e3%60,3);e-=Math.round(1e3*t);var n=parseInt(e/6e4%60);e-=1e3*n*60;var r=parseInt(e/36e5);return(n<0||r<0)&&(t=Math.abs(t)),r<0&&(n=Math.abs(n)),{hours:r,minutes:n,seconds:t}},m=function(e){var t=h(e),n=t.hours,r=t.minutes,o=t.seconds,i="".concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")),a="".concat(i,":").concat(o.toFixed(3).padStart(6,"0"));return o?a:i},v=function(e){switch(e){case"fr":return f.O;case"en":return l.c;case"it":return d.it;default:return u.de}},y=function(e){return v(e).formatLong.date({width:"short"})},g=function(e){return"".concat(y(e)," HH:mm")},b=function(e){return y(e).replace(/[/.]/g,"")},w=function(e){return"".concat(b(e)," HHmm")},x=function(e){return e.replace(/y+/,"yy")},A=function(e){var t=new Date,n=new Date(e);return n=(0,r.a)(n,(0,o.q)(t)),n=(0,i.g)(n,(0,a.O)(t)),n=(0,c.g)(n,0),n=(0,s.$)(n,0)},O=function(e){var t=864e5,n=e-(new Date).getTime();if(n>-864e5){var r=Math.round(n/1e3);return r>-60?{diffValue:r,unit:"second"}:r>-3600?{diffValue:Math.ceil(r/60),unit:"minute"}:{diffValue:Math.ceil(r/3600),unit:"hour"}}var o=Math.round(n/t);return o>-30?{diffValue:o,unit:"day"}:o>-365?{diffValue:Math.ceil(o/30),unit:"month"}:{diffValue:Math.ceil(o/365),unit:"year"}},E=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}},81570:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var r=function(){return"matchMedia"in window&&window.matchMedia("(pointer: coarse)").matches}},52690:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(81570);const o={isSafari:n(53458).n,isPrimaryTouchDevice:r.i}},53458:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var r=function(){var e,t=(null===(e=navigator)||void 0===e?void 0:e.userAgent)||"";return/^((?!chrome|android).)*safari/i.test(t)}},81062:(e,t,n)=>{"use strict";n.d(t,{CZ:()=>i,Is:()=>r,hY:()=>o,qI:()=>a,r2:()=>s,y_:()=>c});var r=function(e,t){var n=document.createElement("a");n.href=e,n.download=t||e.split("/").pop(),n.target="_blank",document.body.appendChild(n),n.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(e),n.remove&&n.remove()},o=function(e,t){var n=document.createElement("a"),r=URL.createObjectURL(e);n.href=r,n.download=t,n.target="_blank",document.body.appendChild(n),n.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(r),n.remove&&n.remove()},i=function(e){var t=document.createElement("a");t.href=e,t.target="_blank",document.body.appendChild(t),t.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(e),t.remove&&t.remove()},a=function(){var e=document.createElement("a"),t=void 0!==e.download;return e.remove&&e.remove(),t},c=function(e){return s(e,"download",!0)},s=function(e,t,n){return"".concat(e).concat(e&&e.indexOf("?")>=0?"&":"?").concat(t,"=").concat(n)}},46516:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(81062);const o={downloadUrl:r.Is,downloadReadableStream:r.hY,openUrl:r.CZ,downloadSupportedByBrowser:r.qI,getDownloadUrl:r.y_,addParameterToURL:r.r2}},58169:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,r:()=>u});var r=n(26396),o=n.n(r),i=n(19461),a=n(44984),c=n(74848);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u=function(e){var t=e.mapping;return t[(0,a.M7)()||a.w2.admin]||t[a.w2.admin]};const l=function(e){var t=e.mapping;e.propTypes;return function(e){var n=u({mapping:t});return n||i.A.logError("Unable to render embed component: No embed component defined."),(0,c.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}}},44984:(e,t,n)=>{"use strict";n.d(t,{KC:()=>p,K_:()=>v,M7:()=>h,Sk:()=>b,W2:()=>y,Wb:()=>u,Wi:()=>d,Zn:()=>l,f:()=>m,fG:()=>w,hZ:()=>a,ne:()=>f,w2:()=>i,wE:()=>s,wP:()=>g,wU:()=>o});var r=n(19461),o="__n-u-l-l__",i={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},a=Object.values(i),c={backendUrl:void 0,businessUnit:void 0,ruleProvider:void 0,embedType:i.admin,widgetConfigKey:void 0},s=function(){return c.backendUrl||""},u=function(e){c.backendUrl=e},l=function(){return c.businessUnit},f=function(e){c.businessUnit=e},d=function(){return c.ruleProvider},p=function(e){c.ruleProvider=e},h=function(){return c.embedType},m=function(){var e=h();return[i.admin,i.legacyAdmin].includes(e)},v=function(){var e=h();return[i.widget].includes(e)},y=function(e){a.includes(e)?c.embedType=e:r.A.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(a.join(", ")))},g=function(){return c.widgetConfigKey},b=function(e){c.widgetConfigKey=e},w=function(){return{backendUrl:c.backendUrl,businessUnit:c.businessUnit,appContext:{embedType:c.embedType,widgetConfigKey:c.widgetConfigKey}}}},8062:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(44984),o=function(e){var t,n,o,i;(e.backendUrl&&(0,r.Wb)(e.backendUrl),e.businessUnit&&(0,r.ne)(e.businessUnit),e.ruleProvider&&(0,r.KC)(e.ruleProvider),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,r.W2)(null===(o=e.appContext)||void 0===o?void 0:o.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,r.Sk)(null===(i=e.appContext)||void 0===i?void 0:i.widgetConfigKey)}},38159:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(58169),o=n(44984),i=n(8062);const a={EmbedType:o.w2,isInAdminEmbedded:o.f,isInWidgetEmbedded:o.K_,embedStrategyFactory:r.A,embedStrategy:r.r,getBackendUrl:o.wE,setBackendUrl:o.Wb,getBusinessUnit:o.Zn,getRuleProvider:o.Wi,setBusinessUnit:o.ne,setRuleProvider:o.KC,getEmbedType:o.M7,setEmbedType:o.W2,getWidgetConfigKey:o.wP,setWidgetConfigKey:o.Sk,asInputProps:o.fG,NULL_BUSINESS_UNIT:o.wU,ALLOWED_EMBED_TYPES:o.hZ,setInputEnvs:i.T}},73329:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={sanitizeHtml:n(26487).A}},26487:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(42838),o=n.n(r),i=["border","border-spacing","padding","margin","text-align","width"];o().addHook("afterSanitizeAttributes",(function(e){if(e&&!(e instanceof SVGElement)&&"function"==typeof e.hasAttribute&&e.hasAttribute("style")){var t=(n=e.style,i.map((function(e){var t=n[e];return t&&"string"==typeof t&&!function(e){return/\w\(/.test(e)}(t)?"".concat(e,":").concat(t,";"):null})).filter(Boolean).join(""));t?e.setAttribute("style",t):e.removeAttribute("style")}var n;return e}));const a=function(e){return e?o().sanitize(e,{FORBID_TAGS:["style"],ADD_ATTR:["target"]}):e}},94727:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(32120);const o={initIntl:r.cT,getChangeLocaleAction:r.f0,localeSelector:r.G3,loadUserWithLocale:r.Y$,getUserLocale:r.YK}},32120:(e,t,n)=>{"use strict";n.d(t,{G3:()=>m,Y$:()=>b,YK:()=>g,cT:()=>v,f0:()=>y});var r=n(26396),o=n.n(r),i=n(79092),a=n.n(i),c=n(92207),s=n.n(c),u=n(60991),l=n(18242),f=n(79253);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=["de","fr","en","it"],m=function(e){return e.intl.locale},v=function(){var e=a()(s().mark((function e(t,n,r){var o,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=r){e.next=5;break}return e.next=4,g();case 4:o=e.sent;case 5:return e.next=7,y(n,o);case 7:return i=e.sent,e.abrupt("return",t.dispatch(i));case 9:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),y=function(){var e=a()(s().mark((function e(t,n){var r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w(n,t);case 2:return r=e.sent,e.abrupt("return",(0,u.D6)({locale:n.replace("_","-"),messages:r}));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),g=function(){var e=a()(s().mark((function e(){var t,n,r,o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=l.A.getObjectCacheMetaInfo(),!(n=t.locale)){e.next=3;break}return e.abrupt("return",n);case 3:return e.next=5,b();case 5:return r=e.sent,o=r.locale,e.abrupt("return",o);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),b=function(){var e=a()(s().mark((function e(){var t,n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.A.executeRequest("username").then(f.A.extractBody);case 2:return t=e.sent,n=t.locale,"anonymous"===t.username&&(r=void 0,o=void 0,r=window.navigator.userLanguage||window.navigator.language,o=r.indexOf("-")>0?r.split("-")[0]:r,n=h.includes(o)?o:"en"),e.abrupt("return",p(p({},t),{},{locale:n}));case 6:case"end":return e.stop()}var r,o}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(){var e=a()(s().mark((function e(t,n){var r,i,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r={},i=[],n.forEach((function(e){var n=l.A.getLongTerm("textResource","".concat(t,".").concat(e));n?r=p(p({},r),n):i.push(e)})),!(i.length>0)){e.next=8;break}return e.next=6,x(t,i);case 6:a=e.sent,i.forEach((function(e){var n=Object.keys(a).filter((function(t){return t.match(new RegExp("^client\\."+e+".*","g"))})).reduce((function(e,t){return p(p({},e),{},o()({},t,a[t]))}),{});l.A.addLongTerm("textResource","".concat(t,".").concat(e),n),r=p(p({},r),n)}));case 8:return e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),x=function(e,t){var n="".concat(t.join(",")),r=n?"&module=".concat(n):"",o="textresource?locale=".concat(e).concat(r);return f.A.executeRequest(o).then(f.A.extractBody)}},98166:(e,t,n)=>{"use strict";n.d(t,{O5:()=>o,O9:()=>a,Yd:()=>r,lW:()=>i});var r=function(e){return e&&Array.isArray(e)?e.length>0?e[0]:[]:e},o=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},i=function(e){return navigator.clipboard?navigator.clipboard.writeText(e):Promise.reject(new Error("navigator.clipboard API not available"))},a=function(e){return null!=e}},4394:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var r=function(e){return e?e.replace(/­/g,""):e}},47383:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(98166),o=n(4394);const i={difference:n(77896).i,getOrFirst:r.Yd,adjustedHTMLString:o.H,roundDecimalPlaces:r.O5,copyToClipboard:r.lW,isDefined:r.O9}},77896:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(85735),o=n.n(r),i=n(2404),a=n.n(i),c=n(69752),s=n.n(c),u=function(e){return"object"===o()(e)&&null!==e},l=function(e,t){return s()(e,(function(e,n,r){a()(n,t[r])||(e[r]=u(n)&&u(t[r])?l(n,t[r]):n)}))}},39621:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getRunEnv:n(17056).j}},17056:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(1882),o=n.n(r),i=function(){return window.app&&o()(window.app.getRunEnv)?window.app.getRunEnv():"PRODUCTION"}},84847:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getOriginId:n(29272).A}},29272:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(18562),o="_tocco_originId";const i=function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.A)());return sessionStorage.setItem(o,e),e}},33393:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(38684);const o={fromQueryString:r.qt,toQueryString:r.zJ}},38684:(e,t,n)=>{"use strict";n.d(t,{qt:()=>u,zJ:()=>s});var r=n(23805),o=n.n(r),i=n(73916),a=n.n(i),c=n(86663),s=function(e){var t=a()(e,(function(e){return o()(e)?JSON.stringify(e):e}));return c.stringify(t)},u=function(e){var t=c.parse(e);return a()(t,(function(e){return l(e)?JSON.parse(e):e}))},l=function(e){if("string"!=typeof e)return!1;try{var t=JSON.parse(e);return"[object Object]"===Object.prototype.toString.call(t)}catch(e){return!1}}},31540:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(4883),s=n.n(c),u=n(9075),l=n(74848);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"onChange";return s().forwardRef((function(r,i){var s=r.value,f=(0,c.useState)(s),p=a()(f,2),h=p[0],m=p[1],v=(0,u.A)(h,t),y=a()(v,2),g=y[0],b=y[1],w=(0,c.useRef)(s),x=r[n];return(0,c.useEffect)((function(){h!==s&&h===g&&(m(s),w.current=s,b(s))}),[s]),(0,c.useEffect)((function(){x&&w.current!==g&&(x(g),w.current=g)}),[g,x]),(0,l.jsx)(e,d(d(d({},r),{},{value:h},o()({},n,m)),{},{ref:i}))}))}},7311:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(31540),o=n(8523),i=n(9075),a=n(48102),c=n(56797),s=n(13466),u=n(21433);const l={useAutofocus:o.A,useDebounce:i.A,Debouncer:r.A,useUserActive:u.A,usePrevious:c.A,useDidUpdate:a.A,useResizeObserver:s.A}},8523:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4883),o=n(81570);const i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(0,r.useEffect)((function(){if(!t.disabled&&e.current&&!(0,o.i)()){if(t.selectFulltextFields){var n=e.current.querySelector('input[id$="txtFulltext"]:not([disabled])');if(n)return void n.focus()}var r=e.current.querySelector('input[type="text"]:not([disabled]), input[type="search"]:not([disabled]), textarea:not([disabled])');r&&setTimeout((function(){r.focus()}),0)}}),n)}},9075:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(22056),o=n.n(r),i=n(4883);function a(e,t){var n=(0,i.useState)(e),r=o()(n,2),a=r[0],c=r[1];return(0,i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),[a,c]}},48102:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4883);const o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,r.useRef)(!1);(0,r.useEffect)((function(){n.current?e():n.current=!0}),t)}},56797:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4883);const o=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){t.current=e}),[e]),t.current}},13466:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(22056),o=n.n(r),i=n(4883);const a=function(){var e=(0,i.useState)(),t=o()(e,2),n=t[0],r=t[1],a=(0,i.useRef)(),c=(0,i.useCallback)((function(e){if(Array.isArray(e)){var t=e[0];r(t.contentRect)}}),[]),s=(0,i.useCallback)((function(e){e&&(a.current=new ResizeObserver((function(e){return c(e)})),a.current.observe(e))}),[c]);return(0,i.useEffect)((function(){return function(){a.current&&(a.current.disconnect(),a.current=null)}}),[]),[s,n]}},21433:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(22056),o=n.n(r),i=n(4883);const a=function(e){var t=(0,i.useRef)(null),n=(0,i.useState)(null),r=o()(n,2),a=r[0],c=r[1],s=(0,i.useCallback)((function(){a>0&&(t.current=setTimeout((function(){e()}),a))}),[a,e]),u=(0,i.useCallback)((function(){t.current&&clearTimeout(t.current)}),[]);return(0,i.useEffect)((function(){return u(),window.addEventListener("mousemove",s,{once:!0}),window.addEventListener("touchstart",s,{once:!0}),function(){u()}}),[u,s]),[c,u,s]}},29056:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(16693),o=n(98036),i=n(7097),a=n(89524);const c={singleTransferReducer:i.A,mappingTransferReducer:r.A,injectReducers:o.r,hotReloadReducers:o.Q,toggleReducer:a.A}},16693:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(26396),o=n.n(r);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const c=function(e,t){return function(n,r){var i=r.payload[e];return a(a({},n),{},o()({},t,i))}}},98036:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d,r:()=>p});var r=n(26396),o=n.n(r),i=n(66245),a=n.n(i),c=n(44383),s=n.n(c),u=n(14644);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=function(e,t){var n=f(f({},e.allReducers),t),r=(0,u.HY)(n);e.replaceReducer(r),e.dispatch({type:"replaceReducer"}),e.allReducers=n},p=function(e,t){var n=a()(Object.keys(t),Object.keys(e.allReducers));if(n.length>0){var r=f(f({},e.allReducers),s()(t,n));d(e,r)}}},7097:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(26396),o=n.n(r),i=n(63560),a=n.n(i);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const s=function(e,t){return function(n,r){var i=r.payload[e],s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n);return a()(s,t?t+"."+e:e,i),s}}},89524:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(26396),o=n.n(r);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const c=function(e){return function(t){return a(a({},t),{},o()({},e,!t[e]))}}},4642:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(35674);const o={logError:r.v,logException:r.c}},35674:(e,t,n)=>{"use strict";n.d(t,{c:()=>l,v:()=>f});var r=n(79092),o=n.n(r),i=n(92207),a=n.n(i),c=n(19461),s=n(79253),u="error",l=function(){var e=o()(a().mark((function e(t){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="ERROR MESSAGE: ".concat(t.message," \nSTACK: ").concat(t.stack?t.stack.substring(0,1e3):"-"),c.A.logError(n),e.next=4,d(u,n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=o()(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c.A.logError(t),e.next=3,d(u,t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=o()(a().mark((function e(t,n){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.A.executeRequest("log?level=".concat(t,"&message=").concat(encodeURI(n)),{method:"POST"});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t,n){return e.apply(this,arguments)}}()},79253:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(46544);const o={prepareHeaders:r.qp,prepareUrl:r.Ne,executeRequest:r.Vc,extractBody:r.i9}},46544:(e,t,n)=>{"use strict";n.d(t,{Ne:()=>h,Vc:()=>m,i9:()=>v,qp:()=>p});var r=n(26396),o=n.n(r),i=n(85735),a=n.n(i),c=n(32224),s=n(38159),u=n(84847);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={method:"GET",credentials:"include"},p=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===a()(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",u.A.getOriginId()),!t.has("X-Business-Unit")&&s.A.getBusinessUnit()&&t.set("X-Business-Unit",s.A.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",s.A.isInAdminEmbedded()?"client":"widget"),s.A.getRuleProvider()&&t.set("X-Rule-Provider-Id",s.A.getRuleProvider()),t.has("X-Timezone")||t.set("X-Timezone",c.A.getTimeZone()),t},h=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)},m=function(e){var t=function(e){return f(f(f({},d),e),{},{headers:p(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=s.A.getBackendUrl(),r=h(n,e);return fetch(r,t)},v=function(e){return e.json()}},82462:(e,t,n)=>{"use strict";n.d(t,{cC:()=>i,dQ:()=>a,j9:()=>r});var r=new AbortController,o=!1,i=function(){o=!0},a=function(){o=!1};window.addEventListener("beforeunload",(function(e){o?(e.preventDefault(),e.returnValue=""):r.abort()})),window.addEventListener("pagehide",(function(){r.signal.aborted||r.abort()}))},14672:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82462),o=n(25202);const i={autoRestartSaga:o.zT,createGenerator:o.oW,injectSaga:o.e6,abortController:r.j9,deactivatePreventFromLeaving:r.dQ,activatePreventFromLeaving:r.cC}},25202:(e,t,n)=>{"use strict";n.d(t,{e6:()=>l,oW:()=>u,zT:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(19461),c=n(82462),s=function(e,t,n){return o().mark((function r(){var s,u,l,f=arguments;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:for(s=f.length,u=new Array(s),l=0;l<s;l++)u[l]=f[l];case 1:return r.prev=2,r.next=5,i.T1.apply(void 0,[e,t].concat(u));case 5:r.next=16;break;case 7:if(r.prev=7,r.t0=r.catch(2),!1!==c.j9.signal.aborted){r.next=16;break}if(!n){r.next=15;break}return r.next=13,(0,i.yJ)(n("client.common.unexpectedError","client.common.unexpectedError",r.t0));case 13:r.next=16;break;case 15:a.A.logError("error",r.t0);case 16:r.next=1;break;case 18:case"end":return r.stop()}}),r,null,[[2,7]])}))},u=function(e){return o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.Q7)(e);case 2:case"end":return t.stop()}}),t)}))},l=function(e,t,n){e.sagas.includes(t)||(e.sagas.push(t),e.sagaMiddleware.run(s(t,null,n)))}},25355:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getErrorCompact:n(11200).a}},11200:(e,t,n)=>{"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(s)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{a:()=>i});var i=function(e){var t,n=r(e);try{for(n.s();!(t=n.n()).done;){var o=t.value;if(o.entityValidatorErrors&&!a(o.entityValidatorErrors))return c(o.entityValidatorErrors)[0];if(o.paths&&!a(o.paths))return c(c(o.paths))[0]}}catch(e){n.e(e)}finally{n.f()}return null},a=function(e){return 0===Object.keys(e).length},c=function(e){return Object.keys(e).length>=1?e[Object.keys(e)[0]]:void 0}},7054:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(64812);const o={persistViewInfo:r.MI,viewInfoSelector:r.po,clearPersistedViews:r.zQ}},64812:(e,t,n)=>{"use strict";n.d(t,{MI:()=>f,po:()=>l,zQ:()=>d});var r=n(26396),o=n.n(r),i=n(58156),a=n.n(i);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={},l=function(e){return a()(u,[e,"info"],{})},f=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;u=s(s({},u),{},o()({},e,{level:n,info:s(s({},a()(u,[e,"info"],{})),t)}))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;u=s({},Object.keys(u).reduce((function(t,n){var r=u[n];return s(s({},t),r.level<e&&o()({},n,r))}),{}))}},71635:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,Bt:()=>r,EJ:()=>l,F4:()=>s,M4:()=>o,XN:()=>d,d8:()=>f,o7:()=>c,wr:()=>i,z3:()=>a});var r="detailView/SET_FORM_TOUCHED",o="root/LOAD_DETAIL_PARAMS",i="root/SET_DETAIL_PARAMS",a="root/CLEAR_DETAIL_PARAMS",c="root/SHOW_PENDING_CHANGES_MODAL",s=function(e){return{type:r,payload:{formTouched:e}}},u=function(e){return{type:o,payload:{url:e}}},l=function(e){return{type:i,payload:{detailParams:e}}},f=function(){return{type:a}},d=function(e,t){return{type:c,payload:{message:e,confirmCallback:t}}}},27752:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(31601),o=n.n(r),i=n(76314),a=n.n(i)()(o());a.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap);"]),a.push([e.id,"\n",""]);const c=a},76314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},31601:e=>{"use strict";e.exports=function(e){return e[1]}},30454:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=i(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),c=0;c<a.length;c++){var s=a[c];e=e.replace(new RegExp(s,"g"),t[s])}return e}(e)}}},42838:function(e){
|
|
12
|
+
function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var o;n.d(t,{AO:()=>d,G3:()=>ee,Gh:()=>F,HS:()=>H,Oi:()=>s,Rr:()=>p,TM:()=>c,VV:()=>G,aE:()=>oe,pX:()=>Y,pb:()=>N,rc:()=>o,ro:()=>w,sC:()=>a,tH:()=>z,ue:()=>g,yD:()=>L}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(e){void 0===e&&(e={});let t,{initialEntries:n=["/"],initialIndex:r,v5Compat:i=!1}=e;t=n.map(((e,t)=>m(e,"string"==typeof e?null:e.state,0===t?"default":void 0)));let a=l(null==r?t.length-1:r),c=o.Pop,s=null;function l(e){return Math.min(Math.max(e,0),t.length-1)}function h(){return t[a]}function m(e,n,r){void 0===n&&(n=null);let o=f(t?h().pathname:"/",e,n,r);return u("/"===o.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),o}function v(e){return"string"==typeof e?e:d(e)}return{get index(){return a},get action(){return c},get location(){return h()},createHref:v,createURL:e=>new URL(v(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?p(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,n){c=o.Push;let r=m(e,n);a+=1,t.splice(a,t.length,r),i&&s&&s({action:c,location:r,delta:1})},replace(e,n){c=o.Replace;let r=m(e,n);t[a]=r,i&&s&&s({action:c,location:r,delta:0})},go(e){c=o.Pop;let n=l(a+e),r=t[n];a=n,s&&s({action:c,location:r,delta:e})},listen:e=>(s=e,()=>{s=null})}}function c(e){return void 0===e&&(e={}),h((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=p(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),f("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:d(t))}),(function(e,t){u("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")}),e)}function s(e,t){if(!1===e||null==e)throw new Error(t)}function u(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function l(e,t){return{usr:e.state,key:e.key,idx:t}}function f(e,t,n,o){return void 0===n&&(n=null),r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?p(t):t,{state:n,key:t&&t.key||o||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function p(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function h(e,t,n,a){void 0===a&&(a={});let{window:c=document.defaultView,v5Compat:u=!1}=a,p=c.history,h=o.Pop,m=null,v=y();function y(){return(p.state||{idx:null}).idx}function g(){h=o.Pop;let e=y(),t=null==e?null:e-v;v=e,m&&m({action:h,location:w.location,delta:t})}function b(e){let t="null"!==c.location.origin?c.location.origin:c.location.href,n="string"==typeof e?e:d(e);return n=n.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==v&&(v=0,p.replaceState(r({},p.state,{idx:v}),""));let w={get action(){return h},get location(){return e(c,p)},listen(e){if(m)throw new Error("A history only accepts one active listener");return c.addEventListener(i,g),m=e,()=>{c.removeEventListener(i,g),m=null}},createHref:e=>t(c,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){h=o.Push;let r=f(w.location,e,t);n&&n(r,e),v=y()+1;let i=l(r,v),a=w.createHref(r);try{p.pushState(i,"",a)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;c.location.assign(a)}u&&m&&m({action:h,location:w.location,delta:1})},replace:function(e,t){h=o.Replace;let r=f(w.location,e,t);n&&n(r,e),v=y();let i=l(r,v),a=w.createHref(r);p.replaceState(i,"",a),u&&m&&m({action:h,location:w.location,delta:0})},go:e=>p.go(e)};return w}var m;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(m||(m={}));const v=new Set(["lazy","caseSensitive","path","id","index","children"]);function y(e,t,n,o){return void 0===n&&(n=[]),void 0===o&&(o={}),e.map(((e,i)=>{let a=[...n,String(i)],c="string"==typeof e.id?e.id:a.join("-");if(s(!0!==e.index||!e.children,"Cannot specify children on an index route"),s(!o[c],'Found a route id collision on id "'+c+"\". Route id's must be globally unique within Data Router usages"),function(e){return!0===e.index}(e)){let n=r({},e,t(e),{id:c});return o[c]=n,n}{let n=r({},e,t(e),{id:c,children:void 0});return o[c]=n,e.children&&(n.children=y(e.children,t,a,o)),n}}))}function g(e,t,n){return void 0===n&&(n="/"),b(e,t,n,!1)}function b(e,t,n,r){let o=N(("string"==typeof t?p(t):t).pathname||"/",n);if(null==o)return null;let i=x(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e<i.length;++e){let t=R(o);a=_(i[e],t,r)}return a}function w(e,t){let{route:n,pathname:r,params:o}=e;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}function x(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let o=(e,o,i)=>{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let c=H([r,a.relativePath]),u=n.concat(a);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+c+'".'),x(e.children,t,u,c)),(null!=e.path||e.index)&&t.push({path:c,score:C(c,e.index),routesMeta:u})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of A(e.path))o(e,t,n);else o(e,t)})),t}function A(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=A(r.join("/")),c=[];return c.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&c.push(...a),c.map((t=>e.startsWith("/")&&""===t?"/":t))}const O=/^:[\w-]+$/,E=3,S=2,k=1,j=10,T=-2,P=e=>"*"===e;function C(e,t){let n=e.split("/"),r=n.length;return n.some(P)&&(r+=T),t&&(r+=S),n.filter((e=>!P(e))).reduce(((e,t)=>e+(O.test(t)?E:""===t?k:j)),r)}function _(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,o={},i="/",a=[];for(let e=0;e<r.length;++e){let c=r[e],s=e===r.length-1,u="/"===i?t:t.slice(i.length)||"/",l=D({path:c.relativePath,caseSensitive:c.caseSensitive,end:s},u),f=c.route;if(!l&&s&&n&&!r[r.length-1].route.index&&(l=D({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},u)),!l)return null;Object.assign(o,l.params),a.push({params:o,pathname:H([i,l.pathname]),pathnameBase:B(H([i,l.pathnameBase])),route:f}),"/"!==l.pathnameBase&&(i=H([i,l.pathnameBase]))}return a}function D(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);u("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,t?void 0:"i");return[i,r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),c=o.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:o}=t;if("*"===r){let e=c[n]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const s=c[n];return e[r]=o&&!s?void 0:(s||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function R(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return u(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function N(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function I(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function M(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function L(e,t){let n=M(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function F(e,t,n,o){let i;void 0===o&&(o=!1),"string"==typeof e?i=p(e):(i=r({},e),s(!i.pathname||!i.pathname.includes("?"),I("?","pathname","search",i)),s(!i.pathname||!i.pathname.includes("#"),I("#","pathname","hash",i)),s(!i.search||!i.search.includes("#"),I("#","search","hash",i)));let a,c=""===e||""===i.pathname,u=c?"/":i.pathname;if(null==u)a=n;else{let e=t.length-1;if(!o&&u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:o=""}="string"==typeof e?p(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:U(r),hash:W(o)}}(i,a),f=u&&"/"!==u&&u.endsWith("/"),d=(c||"."===u)&&n.endsWith("/");return l.pathname.endsWith("/")||!f&&!d||(l.pathname+="/"),l}const H=e=>e.join("/").replace(/\/\/+/g,"/"),B=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),U=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",W=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class z extends Error{}class G{constructor(e,t,n,r){void 0===r&&(r=!1),this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function Y(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const q=["post","put","patch","delete"],V=new Set(q),$=["get",...q],K=new Set($),J=new Set([301,302,303,307,308]),X=new Set([307,308]),Q={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Z={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ee={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},te=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ne=e=>({hasErrorBoundary:Boolean(e.hasErrorBoundary)}),re="remix-router-transitions";function oe(e){const t=e.window?e.window:"undefined"!=typeof window?window:void 0,n=void 0!==t&&void 0!==t.document&&void 0!==t.document.createElement,i=!n;let a;if(s(e.routes.length>0,"You must provide a non-empty routes array to createRouter"),e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let t=e.detectErrorBoundary;a=e=>({hasErrorBoundary:t(e)})}else a=ne;let c,l,d,p={},h=y(e.routes,a,void 0,p),v=e.basename||"/",x=e.dataStrategy||he,A=e.patchRoutesOnNavigation,O=r({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),E=null,S=new Set,k=null,j=null,T=null,P=null!=e.hydrationData,C=g(h,e.history.location,v),_=null;if(null==C&&!A){let t=Te(404,{pathname:e.history.location.pathname}),{matches:n,route:r}=je(h);C=n,_={[r.id]:t}}if(C&&!e.hydrationData){ut(C,h,e.history.location.pathname).active&&(C=null)}if(C)if(C.some((e=>e.route.lazy)))l=!1;else if(C.some((e=>e.route.loader)))if(O.v7_partialHydration){let t=e.hydrationData?e.hydrationData.loaderData:null,n=e.hydrationData?e.hydrationData.errors:null;if(n){let e=C.findIndex((e=>void 0!==n[e.route.id]));l=C.slice(0,e+1).every((e=>!ue(e.route,t,n)))}else l=C.every((e=>!ue(e.route,t,n)))}else l=null!=e.hydrationData;else l=!0;else if(l=!1,C=[],O.v7_partialHydration){let t=ut(null,h,e.history.location.pathname);t.active&&t.matches&&(C=t.matches)}let D,R,I={historyAction:e.history.action,location:e.history.location,matches:C,initialized:l,navigation:Q,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||_,fetchers:new Map,blockers:new Map},M=o.Pop,L=!1,F=!1,H=new Map,B=null,U=!1,W=!1,z=[],G=new Set,q=new Map,V=0,$=-1,K=new Map,J=new Set,oe=new Map,ce=new Map,le=new Set,fe=new Map,pe=new Map;function we(e,t){void 0===t&&(t={}),I=r({},I,e);let n=[],o=[];O.v7_fetcherPersist&&I.fetchers.forEach(((e,t)=>{"idle"===e.state&&(le.has(t)?o.push(t):n.push(t))})),[...S].forEach((e=>e(I,{deletedFetchers:o,viewTransitionOpts:t.viewTransitionOpts,flushSync:!0===t.flushSync}))),O.v7_fetcherPersist&&(n.forEach((e=>I.fetchers.delete(e))),o.forEach((e=>Xe(e))))}function xe(t,n,i){var a,s;let u,{flushSync:l}=void 0===i?{}:i,f=null!=I.actionData&&null!=I.navigation.formMethod&&Fe(I.navigation.formMethod)&&"loading"===I.navigation.state&&!0!==(null==(a=t.state)?void 0:a._isRedirect);u=n.actionData?Object.keys(n.actionData).length>0?n.actionData:null:f?I.actionData:null;let d=n.loaderData?Ee(I.loaderData,n.loaderData,n.matches||[],n.errors):I.loaderData,p=I.blockers;p.size>0&&(p=new Map(p),p.forEach(((e,t)=>p.set(t,ee))));let m,v=!0===L||null!=I.navigation.formMethod&&Fe(I.navigation.formMethod)&&!0!==(null==(s=t.state)?void 0:s._isRedirect);if(c&&(h=c,c=void 0),U||M===o.Pop||(M===o.Push?e.history.push(t,t.state):M===o.Replace&&e.history.replace(t,t.state)),M===o.Pop){let e=H.get(I.location.pathname);e&&e.has(t.pathname)?m={currentLocation:I.location,nextLocation:t}:H.has(t.pathname)&&(m={currentLocation:t,nextLocation:I.location})}else if(F){let e=H.get(I.location.pathname);e?e.add(t.pathname):(e=new Set([t.pathname]),H.set(I.location.pathname,e)),m={currentLocation:I.location,nextLocation:t}}we(r({},n,{actionData:u,loaderData:d,historyAction:M,location:t,initialized:!0,navigation:Q,revalidation:"idle",restoreScrollPosition:st(t,n.matches||I.matches),preventScrollReset:v,blockers:p}),{viewTransitionOpts:m,flushSync:!0===l}),M=o.Pop,L=!1,F=!1,U=!1,W=!1,z=[]}async function Ae(t,n,i){D&&D.abort(),D=null,M=t,U=!0===(i&&i.startUninterruptedRevalidation),function(e,t){if(k&&T){let n=ct(e,t);k[n]=T()}}(I.location,I.matches),L=!0===(i&&i.preventScrollReset),F=!0===(i&&i.enableViewTransition);let a=c||h,s=i&&i.overrideNavigation,u=g(a,n,v),l=!0===(i&&i.flushSync),f=ut(u,a,n.pathname);if(f.active&&f.matches&&(u=f.matches),!u){let{error:e,notFoundMatches:t,route:r}=it(n.pathname);return void xe(n,{matches:t,loaderData:{},errors:{[r.id]:e}},{flushSync:l})}if(I.initialized&&!W&&function(e,t){if(e.pathname!==t.pathname||e.search!==t.search)return!1;if(""===e.hash)return""!==t.hash;if(e.hash===t.hash)return!0;if(""!==t.hash)return!0;return!1}(I.location,n)&&!(i&&i.submission&&Fe(i.submission.formMethod)))return void xe(n,{matches:u},{flushSync:l});D=new AbortController;let d,p=be(e.history,n,D.signal,i&&i.submission);if(i&&i.pendingError)d=[ke(u).route.id,{type:m.error,error:i.pendingError}];else if(i&&i.submission&&Fe(i.submission.formMethod)){let t=await async function(e,t,n,r,i,a){void 0===a&&(a={});We();let c,s=function(e,t){let n={state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text};return n}(t,n);if(we({navigation:s},{flushSync:!0===a.flushSync}),i){let n=await lt(r,t.pathname,e.signal);if("aborted"===n.type)return{shortCircuited:!0};if("error"===n.type){let e=ke(n.partialMatches).route.id;return{matches:n.partialMatches,pendingActionResult:[e,{type:m.error,error:n.error}]}}if(!n.matches){let{notFoundMatches:e,error:n,route:r}=it(t.pathname);return{matches:e,pendingActionResult:[r.id,{type:m.error,error:n}]}}r=n.matches}let u=ze(r,t);if(u.route.action||u.route.lazy){if(c=(await Me("action",I,e,[u],r,null))[u.route.id],e.signal.aborted)return{shortCircuited:!0}}else c={type:m.error,error:Te(405,{method:e.method,pathname:t.pathname,routeId:u.route.id})};if(Ne(c)){let t;if(a&&null!=a.replace)t=a.replace;else{t=ge(c.response.headers.get("Location"),new URL(e.url),v)===I.location.pathname+I.location.search}return await Ie(e,c,!0,{submission:n,replace:t}),{shortCircuited:!0}}if(De(c))throw Te(400,{type:"defer-action"});if(Re(c)){let e=ke(r,u.route.id);return!0!==(a&&a.replace)&&(M=o.Push),{matches:r,pendingActionResult:[e.route.id,c]}}return{matches:r,pendingActionResult:[u.route.id,c]}}(p,n,i.submission,u,f.active,{replace:i.replace,flushSync:l});if(t.shortCircuited)return;if(t.pendingActionResult){let[e,r]=t.pendingActionResult;if(Re(r)&&Y(r.error)&&404===r.error.status)return D=null,void xe(n,{matches:t.matches,loaderData:{},errors:{[e]:r.error}})}u=t.matches||u,d=t.pendingActionResult,s=Ye(n,i.submission),l=!1,f.active=!1,p=be(e.history,p.url,p.signal)}let{shortCircuited:y,matches:b,loaderData:w,errors:x}=await async function(t,n,o,i,a,s,u,l,f,d,p){let m=a||Ye(n,s),y=s||u||Ge(m),g=!(U||O.v7_partialHydration&&f);if(i){if(g){let e=Ce(p);we(r({navigation:m},void 0!==e?{actionData:e}:{}),{flushSync:d})}let e=await lt(o,n.pathname,t.signal);if("aborted"===e.type)return{shortCircuited:!0};if("error"===e.type){let t=ke(e.partialMatches).route.id;return{matches:e.partialMatches,loaderData:{},errors:{[t]:e.error}}}if(!e.matches){let{error:e,notFoundMatches:t,route:r}=it(n.pathname);return{matches:t,loaderData:{},errors:{[r.id]:e}}}o=e.matches}let b=c||h,[w,x]=se(e.history,I,o,y,n,O.v7_partialHydration&&!0===f,O.v7_skipActionErrorRevalidation,W,z,G,le,oe,J,b,v,p);if(at((e=>!(o&&o.some((t=>t.route.id===e)))||w&&w.some((t=>t.route.id===e)))),$=++V,0===w.length&&0===x.length){let e=et();return xe(n,r({matches:o,loaderData:{},errors:p&&Re(p[1])?{[p[0]]:p[1].error}:null},Se(p),e?{fetchers:new Map(I.fetchers)}:{}),{flushSync:d}),{shortCircuited:!0}}if(g){let e={};if(!i){e.navigation=m;let t=Ce(p);void 0!==t&&(e.actionData=t)}x.length>0&&(e.fetchers=function(e){return e.forEach((e=>{let t=I.fetchers.get(e.key),n=qe(void 0,t?t.data:void 0);I.fetchers.set(e.key,n)})),new Map(I.fetchers)}(x)),we(e,{flushSync:d})}x.forEach((e=>{Qe(e.key),e.controller&&q.set(e.key,e.controller)}));let A=()=>x.forEach((e=>Qe(e.key)));D&&D.signal.addEventListener("abort",A);let{loaderResults:E,fetcherResults:S}=await Le(I,o,w,x,t);if(t.signal.aborted)return{shortCircuited:!0};D&&D.signal.removeEventListener("abort",A);x.forEach((e=>q.delete(e.key)));let k=Pe(E);if(k)return await Ie(t,k.result,!0,{replace:l}),{shortCircuited:!0};if(k=Pe(S),k)return J.add(k.key),await Ie(t,k.result,!0,{replace:l}),{shortCircuited:!0};let{loaderData:j,errors:T}=Oe(I,o,E,p,x,S,fe);fe.forEach(((e,t)=>{e.subscribe((n=>{(n||e.done)&&fe.delete(t)}))})),O.v7_partialHydration&&f&&I.errors&&(T=r({},I.errors,T));let P=et(),C=tt($),_=P||C||x.length>0;return r({matches:o,loaderData:j,errors:T},_?{fetchers:new Map(I.fetchers)}:{})}(p,n,u,f.active,s,i&&i.submission,i&&i.fetcherSubmission,i&&i.replace,i&&!0===i.initialHydration,l,d);y||(D=null,xe(n,r({matches:b||u},Se(d),{loaderData:w,errors:x})))}function Ce(e){return e&&!Re(e[1])?{[e[0]]:e[1].data}:I.actionData?0===Object.keys(I.actionData).length?null:I.actionData:void 0}async function Ie(i,a,c,u){let{submission:l,fetcherSubmission:d,preventScrollReset:p,replace:h}=void 0===u?{}:u;a.response.headers.has("X-Remix-Revalidate")&&(W=!0);let m=a.response.headers.get("Location");s(m,"Expected a Location header on the redirect Response"),m=ge(m,new URL(i.url),v);let y=f(I.location,m,{_isRedirect:!0});if(n){let n=!1;if(a.response.headers.has("X-Remix-Reload-Document"))n=!0;else if(te.test(m)){const r=e.history.createURL(m);n=r.origin!==t.location.origin||null==N(r.pathname,v)}if(n)return void(h?t.location.replace(m):t.location.assign(m))}D=null;let g=!0===h||a.response.headers.has("X-Remix-Replace")?o.Replace:o.Push,{formMethod:b,formAction:w,formEncType:x}=I.navigation;!l&&!d&&b&&w&&x&&(l=Ge(I.navigation));let A=l||d;if(X.has(a.response.status)&&A&&Fe(A.formMethod))await Ae(g,y,{submission:r({},A,{formAction:m}),preventScrollReset:p||L,enableViewTransition:c?F:void 0});else{let e=Ye(y,l);await Ae(g,y,{overrideNavigation:e,fetcherSubmission:d,preventScrollReset:p||L,enableViewTransition:c?F:void 0})}}async function Me(e,t,n,r,o,i){let c,s={};try{c=await me(x,e,t,n,r,o,i,p,a)}catch(e){return r.forEach((t=>{s[t.route.id]={type:m.error,error:e}})),s}for(let[e,t]of Object.entries(c))if(_e(t)){let r=t.result;s[e]={type:m.redirect,response:ye(r,n,e,o,v,O.v7_relativeSplatPath)}}else s[e]=await ve(t);return s}async function Le(t,n,r,o,i){let a=t.matches,c=Me("loader",t,i,r,n,null),s=Promise.all(o.map((async n=>{if(n.matches&&n.match&&n.controller){let r=(await Me("loader",t,be(e.history,n.path,n.controller.signal),[n.match],n.matches,n.key))[n.match.route.id];return{[n.key]:r}}return Promise.resolve({[n.key]:{type:m.error,error:Te(404,{pathname:n.path})}})}))),u=await c,l=(await s).reduce(((e,t)=>Object.assign(e,t)),{});return await Promise.all([He(n,u,i.signal,a,t.loaderData),Be(n,l,o)]),{loaderResults:u,fetcherResults:l}}function We(){W=!0,z.push(...at()),oe.forEach(((e,t)=>{q.has(t)&&G.add(t),Qe(t)}))}function $e(e,t,n){void 0===n&&(n={}),I.fetchers.set(e,t),we({fetchers:new Map(I.fetchers)},{flushSync:!0===(n&&n.flushSync)})}function Ke(e,t,n,r){void 0===r&&(r={});let o=ke(I.matches,t);Xe(e),we({errors:{[o.route.id]:n},fetchers:new Map(I.fetchers)},{flushSync:!0===(r&&r.flushSync)})}function Je(e){return O.v7_fetcherPersist&&(ce.set(e,(ce.get(e)||0)+1),le.has(e)&&le.delete(e)),I.fetchers.get(e)||Z}function Xe(e){let t=I.fetchers.get(e);!q.has(e)||t&&"loading"===t.state&&K.has(e)||Qe(e),oe.delete(e),K.delete(e),J.delete(e),le.delete(e),G.delete(e),I.fetchers.delete(e)}function Qe(e){let t=q.get(e);t&&(t.abort(),q.delete(e))}function Ze(e){for(let t of e){let e=Ve(Je(t).data);I.fetchers.set(t,e)}}function et(){let e=[],t=!1;for(let n of J){let r=I.fetchers.get(n);s(r,"Expected fetcher: "+n),"loading"===r.state&&(J.delete(n),e.push(n),t=!0)}return Ze(e),t}function tt(e){let t=[];for(let[n,r]of K)if(r<e){let e=I.fetchers.get(n);s(e,"Expected fetcher: "+n),"loading"===e.state&&(Qe(n),K.delete(n),t.push(n))}return Ze(t),t.length>0}function nt(e){I.blockers.delete(e),pe.delete(e)}function rt(e,t){let n=I.blockers.get(e)||ee;s("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state);let r=new Map(I.blockers);r.set(e,t),we({blockers:r})}function ot(e){let{currentLocation:t,nextLocation:n,historyAction:r}=e;if(0===pe.size)return;pe.size>1&&u(!1,"A router only supports one blocker at a time");let o=Array.from(pe.entries()),[i,a]=o[o.length-1],c=I.blockers.get(i);return c&&"proceeding"===c.state?void 0:a({currentLocation:t,nextLocation:n,historyAction:r})?i:void 0}function it(e){let t=Te(404,{pathname:e}),n=c||h,{matches:r,route:o}=je(n);return at(),{notFoundMatches:r,route:o,error:t}}function at(e){let t=[];return fe.forEach(((n,r)=>{e&&!e(r)||(n.cancel(),t.push(r),fe.delete(r))})),t}function ct(e,t){if(j){return j(e,t.map((e=>w(e,I.loaderData))))||e.key}return e.key}function st(e,t){if(k){let n=ct(e,t),r=k[n];if("number"==typeof r)return r}return null}function ut(e,t,n){if(A){if(!e){return{active:!0,matches:b(t,n,v,!0)||[]}}if(Object.keys(e[0].params).length>0){return{active:!0,matches:b(t,n,v,!0)}}}return{active:!1,matches:null}}async function lt(e,t,n){if(!A)return{type:"success",matches:e};let r=e;for(;;){let e=null==c,o=c||h,i=p;try{await A({path:t,matches:r,patch:(e,t)=>{n.aborted||de(e,t,o,i,a)}})}catch(e){return{type:"error",error:e,partialMatches:r}}finally{e&&!n.aborted&&(h=[...h])}if(n.aborted)return{type:"aborted"};let s=g(o,t,v);if(s)return{type:"success",matches:s};let u=b(o,t,v,!0);if(!u||r.length===u.length&&r.every(((e,t)=>e.route.id===u[t].route.id)))return{type:"success",matches:null};r=u}}return d={get basename(){return v},get future(){return O},get state(){return I},get routes(){return h},get window(){return t},initialize:function(){if(E=e.history.listen((t=>{let{action:n,location:r,delta:o}=t;if(R)return R(),void(R=void 0);u(0===pe.size||null!=o,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let i=ot({currentLocation:I.location,nextLocation:r,historyAction:n});if(i&&null!=o){let t=new Promise((e=>{R=e}));return e.history.go(-1*o),void rt(i,{state:"blocked",location:r,proceed(){rt(i,{state:"proceeding",proceed:void 0,reset:void 0,location:r}),t.then((()=>e.history.go(o)))},reset(){let e=new Map(I.blockers);e.set(i,ee),we({blockers:e})}})}return Ae(n,r)})),n){!function(e,t){try{let n=e.sessionStorage.getItem(re);if(n){let e=JSON.parse(n);for(let[n,r]of Object.entries(e||{}))r&&Array.isArray(r)&&t.set(n,new Set(r||[]))}}catch(e){}}(t,H);let e=()=>function(e,t){if(t.size>0){let n={};for(let[e,r]of t)n[e]=[...r];try{e.sessionStorage.setItem(re,JSON.stringify(n))}catch(e){u(!1,"Failed to save applied view transitions in sessionStorage ("+e+").")}}}(t,H);t.addEventListener("pagehide",e),B=()=>t.removeEventListener("pagehide",e)}return I.initialized||Ae(o.Pop,I.location,{initialHydration:!0}),d},subscribe:function(e){return S.add(e),()=>S.delete(e)},enableScrollRestoration:function(e,t,n){if(k=e,T=t,j=n||null,!P&&I.navigation===Q){P=!0;let e=st(I.location,I.matches);null!=e&&we({restoreScrollPosition:e})}return()=>{k=null,T=null,j=null}},navigate:async function t(n,i){if("number"==typeof n)return void e.history.go(n);let a=ie(I.location,I.matches,v,O.v7_prependBasename,n,O.v7_relativeSplatPath,null==i?void 0:i.fromRouteId,null==i?void 0:i.relative),{path:c,submission:s,error:u}=ae(O.v7_normalizeFormMethod,!1,a,i),l=I.location,d=f(I.location,c,i&&i.state);d=r({},d,e.history.encodeLocation(d));let p=i&&null!=i.replace?i.replace:void 0,h=o.Push;!0===p?h=o.Replace:!1===p||null!=s&&Fe(s.formMethod)&&s.formAction===I.location.pathname+I.location.search&&(h=o.Replace);let m=i&&"preventScrollReset"in i?!0===i.preventScrollReset:void 0,y=!0===(i&&i.flushSync),g=ot({currentLocation:l,nextLocation:d,historyAction:h});if(!g)return await Ae(h,d,{submission:s,pendingError:u,preventScrollReset:m,replace:i&&i.replace,enableViewTransition:i&&i.viewTransition,flushSync:y});rt(g,{state:"blocked",location:d,proceed(){rt(g,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),t(n,i)},reset(){let e=new Map(I.blockers);e.set(g,ee),we({blockers:e})}})},fetch:function(t,n,r,o){if(i)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Qe(t);let a=!0===(o&&o.flushSync),u=c||h,l=ie(I.location,I.matches,v,O.v7_prependBasename,r,O.v7_relativeSplatPath,n,null==o?void 0:o.relative),f=g(u,l,v),d=ut(f,u,l);if(d.active&&d.matches&&(f=d.matches),!f)return void Ke(t,n,Te(404,{pathname:l}),{flushSync:a});let{path:p,submission:m,error:y}=ae(O.v7_normalizeFormMethod,!0,l,o);if(y)return void Ke(t,n,y,{flushSync:a});let b=ze(f,p),w=!0===(o&&o.preventScrollReset);m&&Fe(m.formMethod)?async function(t,n,r,o,i,a,u,l,f){function d(e){if(!e.route.action&&!e.route.lazy){let e=Te(405,{method:f.formMethod,pathname:r,routeId:n});return Ke(t,n,e,{flushSync:u}),!0}return!1}if(We(),oe.delete(t),!a&&d(o))return;let p=I.fetchers.get(t);$e(t,function(e,t){let n={state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0};return n}(f,p),{flushSync:u});let m=new AbortController,y=be(e.history,r,m.signal,f);if(a){let e=await lt(i,r,y.signal);if("aborted"===e.type)return;if("error"===e.type)return void Ke(t,n,e.error,{flushSync:u});if(!e.matches)return void Ke(t,n,Te(404,{pathname:r}),{flushSync:u});if(d(o=ze(i=e.matches,r)))return}q.set(t,m);let b=V,w=await Me("action",I,y,[o],i,t),x=w[o.route.id];if(y.signal.aborted)return void(q.get(t)===m&&q.delete(t));if(O.v7_fetcherPersist&&le.has(t)){if(Ne(x)||Re(x))return void $e(t,Ve(void 0))}else{if(Ne(x))return q.delete(t),$>b?void $e(t,Ve(void 0)):(J.add(t),$e(t,qe(f)),Ie(y,x,!1,{fetcherSubmission:f,preventScrollReset:l}));if(Re(x))return void Ke(t,n,x.error)}if(De(x))throw Te(400,{type:"defer-action"});let A=I.navigation.location||I.location,E=be(e.history,A,m.signal),S=c||h,k="idle"!==I.navigation.state?g(S,I.navigation.location,v):I.matches;s(k,"Didn't find any matches after fetcher action");let j=++V;K.set(t,j);let T=qe(f,x.data);I.fetchers.set(t,T);let[P,C]=se(e.history,I,k,f,A,!1,O.v7_skipActionErrorRevalidation,W,z,G,le,oe,J,S,v,[o.route.id,x]);C.filter((e=>e.key!==t)).forEach((e=>{let t=e.key,n=I.fetchers.get(t),r=qe(void 0,n?n.data:void 0);I.fetchers.set(t,r),Qe(t),e.controller&&q.set(t,e.controller)})),we({fetchers:new Map(I.fetchers)});let _=()=>C.forEach((e=>Qe(e.key)));m.signal.addEventListener("abort",_);let{loaderResults:R,fetcherResults:N}=await Le(I,k,P,C,E);if(m.signal.aborted)return;m.signal.removeEventListener("abort",_),K.delete(t),q.delete(t),C.forEach((e=>q.delete(e.key)));let L=Pe(R);if(L)return Ie(E,L.result,!1,{preventScrollReset:l});if(L=Pe(N),L)return J.add(L.key),Ie(E,L.result,!1,{preventScrollReset:l});let{loaderData:F,errors:H}=Oe(I,k,R,void 0,C,N,fe);if(I.fetchers.has(t)){let e=Ve(x.data);I.fetchers.set(t,e)}tt(j),"loading"===I.navigation.state&&j>$?(s(M,"Expected pending action"),D&&D.abort(),xe(I.navigation.location,{matches:k,loaderData:F,errors:H,fetchers:new Map(I.fetchers)})):(we({errors:H,loaderData:Ee(I.loaderData,F,k,H),fetchers:new Map(I.fetchers)}),W=!1)}(t,n,p,b,f,d.active,a,w,m):(oe.set(t,{routeId:n,path:p}),async function(t,n,r,o,i,a,c,u,l){let f=I.fetchers.get(t);$e(t,qe(l,f?f.data:void 0),{flushSync:c});let d=new AbortController,p=be(e.history,r,d.signal);if(a){let e=await lt(i,r,p.signal);if("aborted"===e.type)return;if("error"===e.type)return void Ke(t,n,e.error,{flushSync:c});if(!e.matches)return void Ke(t,n,Te(404,{pathname:r}),{flushSync:c});o=ze(i=e.matches,r)}q.set(t,d);let h=V,m=await Me("loader",I,p,[o],i,t),v=m[o.route.id];De(v)&&(v=await Ue(v,p.signal,!0)||v);q.get(t)===d&&q.delete(t);if(p.signal.aborted)return;if(le.has(t))return void $e(t,Ve(void 0));if(Ne(v))return $>h?void $e(t,Ve(void 0)):(J.add(t),void await Ie(p,v,!1,{preventScrollReset:u}));if(Re(v))return void Ke(t,n,v.error);s(!De(v),"Unhandled fetcher deferred data"),$e(t,Ve(v.data))}(t,n,p,b,f,d.active,a,w,m))},revalidate:function(){We(),we({revalidation:"loading"}),"submitting"!==I.navigation.state&&("idle"!==I.navigation.state?Ae(M||I.historyAction,I.navigation.location,{overrideNavigation:I.navigation,enableViewTransition:!0===F}):Ae(I.historyAction,I.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:Je,deleteFetcher:function(e){if(O.v7_fetcherPersist){let t=(ce.get(e)||0)-1;t<=0?(ce.delete(e),le.add(e)):ce.set(e,t)}else Xe(e);we({fetchers:new Map(I.fetchers)})},dispose:function(){E&&E(),B&&B(),S.clear(),D&&D.abort(),I.fetchers.forEach(((e,t)=>Xe(t))),I.blockers.forEach(((e,t)=>nt(t)))},getBlocker:function(e,t){let n=I.blockers.get(e)||ee;return pe.get(e)!==t&&pe.set(e,t),n},deleteBlocker:nt,patchRoutes:function(e,t){let n=null==c;de(e,t,c||h,p,a),n&&(h=[...h],we({}))},_internalFetchControllers:q,_internalActiveDeferreds:fe,_internalSetRoutes:function(e){p={},c=y(e,a,void 0,p)}},d}Symbol("deferred");function ie(e,t,n,r,o,i,a,c){let s,u;if(a){s=[];for(let e of t)if(s.push(e),e.route.id===a){u=e;break}}else s=t,u=t[t.length-1];let l=F(o||".",L(s,i),N(e.pathname,n)||e.pathname,"path"===c);if(null==o&&(l.search=e.search,l.hash=e.hash),(null==o||""===o||"."===o)&&u){let e=We(l.search);if(u.route.index&&!e)l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&e){let e=new URLSearchParams(l.search),t=e.getAll("index");e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let n=e.toString();l.search=n?"?"+n:""}}return r&&"/"!==n&&(l.pathname="/"===l.pathname?n:H([n,l.pathname])),d(l)}function ae(e,t,n,r){if(!r||!function(e){return null!=e&&("formData"in e&&null!=e.formData||"body"in e&&void 0!==e.body)}(r))return{path:n};if(r.formMethod&&!Le(r.formMethod))return{path:n,error:Te(405,{method:r.formMethod})};let o,i,a=()=>({path:n,error:Te(400,{type:"invalid-body"})}),c=r.formMethod||"get",u=e?c.toUpperCase():c.toLowerCase(),l=Ce(n);if(void 0!==r.body){if("text/plain"===r.formEncType){if(!Fe(u))return a();let e="string"==typeof r.body?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce(((e,t)=>{let[n,r]=t;return""+e+n+"="+r+"\n"}),""):String(r.body);return{path:n,submission:{formMethod:u,formAction:l,formEncType:r.formEncType,formData:void 0,json:void 0,text:e}}}if("application/json"===r.formEncType){if(!Fe(u))return a();try{let e="string"==typeof r.body?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:u,formAction:l,formEncType:r.formEncType,formData:void 0,json:e,text:void 0}}}catch(e){return a()}}}if(s("function"==typeof FormData,"FormData is not available in this environment"),r.formData)o=we(r.formData),i=r.formData;else if(r.body instanceof FormData)o=we(r.body),i=r.body;else if(r.body instanceof URLSearchParams)o=r.body,i=xe(o);else if(null==r.body)o=new URLSearchParams,i=new FormData;else try{o=new URLSearchParams(r.body),i=xe(o)}catch(e){return a()}let f={formMethod:u,formAction:l,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:i,json:void 0,text:void 0};if(Fe(f.formMethod))return{path:n,submission:f};let h=p(n);return t&&h.search&&We(h.search)&&o.append("index",""),h.search="?"+o,{path:d(h),submission:f}}function ce(e,t,n){void 0===n&&(n=!1);let r=e.findIndex((e=>e.route.id===t));return r>=0?e.slice(0,n?r+1:r):e}function se(e,t,n,o,i,a,c,s,u,l,f,d,p,h,m,v){let y=v?Re(v[1])?v[1].error:v[1].data:void 0,b=e.createURL(t.location),w=e.createURL(i),x=n;a&&t.errors?x=ce(n,Object.keys(t.errors)[0],!0):v&&Re(v[1])&&(x=ce(n,v[0]));let A=v?v[1].statusCode:void 0,O=c&&A&&A>=400,E=x.filter(((e,n)=>{let{route:i}=e;if(i.lazy)return!0;if(null==i.loader)return!1;if(a)return ue(i,t.loaderData,t.errors);if(function(e,t,n){let r=!t||n.route.id!==t.route.id,o=void 0===e[n.route.id];return r||o}(t.loaderData,t.matches[n],e)||u.some((t=>t===e.route.id)))return!0;let c=t.matches[n],l=e;return fe(e,r({currentUrl:b,currentParams:c.params,nextUrl:w,nextParams:l.params},o,{actionResult:y,actionStatus:A,defaultShouldRevalidate:!O&&(s||b.pathname+b.search===w.pathname+w.search||b.search!==w.search||le(c,l))}))})),S=[];return d.forEach(((e,i)=>{if(a||!n.some((t=>t.route.id===e.routeId))||f.has(i))return;let c=g(h,e.path,m);if(!c)return void S.push({key:i,routeId:e.routeId,path:e.path,matches:null,match:null,controller:null});let u=t.fetchers.get(i),d=ze(c,e.path),v=!1;p.has(i)?v=!1:l.has(i)?(l.delete(i),v=!0):v=u&&"idle"!==u.state&&void 0===u.data?s:fe(d,r({currentUrl:b,currentParams:t.matches[t.matches.length-1].params,nextUrl:w,nextParams:n[n.length-1].params},o,{actionResult:y,actionStatus:A,defaultShouldRevalidate:!O&&s})),v&&S.push({key:i,routeId:e.routeId,path:e.path,matches:c,match:d,controller:new AbortController})})),[E,S]}function ue(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=null!=t&&void 0!==t[e.id],o=null!=n&&void 0!==n[e.id];return!(!r&&o)&&("function"==typeof e.loader&&!0===e.loader.hydrate||!r&&!o)}function le(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function fe(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}function de(e,t,n,r,o){var i;let a;if(e){let t=r[e];s(t,"No route found to patch children into: routeId = "+e),t.children||(t.children=[]),a=t.children}else a=n;let c=y(t.filter((e=>!a.some((t=>pe(e,t))))),o,[e||"_","patch",String((null==(i=a)?void 0:i.length)||"0")],r);a.push(...c)}function pe(e,t){return"id"in e&&"id"in t&&e.id===t.id||e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive&&(!(e.children&&0!==e.children.length||t.children&&0!==t.children.length)||e.children.every(((e,n)=>{var r;return null==(r=t.children)?void 0:r.some((t=>pe(e,t)))})))}async function he(e){let{matches:t}=e,n=t.filter((e=>e.shouldLoad));return(await Promise.all(n.map((e=>e.resolve())))).reduce(((e,t,r)=>Object.assign(e,{[n[r].route.id]:t})),{})}async function me(e,t,n,o,i,a,c,l,f,d){let p=a.map((e=>e.route.lazy?async function(e,t,n){if(!e.lazy)return;let o=await e.lazy();if(!e.lazy)return;let i=n[e.id];s(i,"No route found in manifest");let a={};for(let e in o){let t=void 0!==i[e]&&"hasErrorBoundary"!==e;u(!t,'Route "'+i.id+'" has a static property "'+e+'" defined but its lazy function is also returning a value for this property. The lazy route property "'+e+'" will be ignored.'),t||v.has(e)||(a[e]=o[e])}Object.assign(i,a),Object.assign(i,r({},t(i),{lazy:void 0}))}(e.route,f,l):void 0)),h=a.map(((e,n)=>{let a=p[n],c=i.some((t=>t.route.id===e.route.id));return r({},e,{shouldLoad:c,resolve:async n=>(n&&"GET"===o.method&&(e.route.lazy||e.route.loader)&&(c=!0),c?async function(e,t,n,r,o,i){let a,c,u=r=>{let a,s=new Promise(((e,t)=>a=t));c=()=>a(),t.signal.addEventListener("abort",c);let u=o=>"function"!=typeof r?Promise.reject(new Error('You cannot call the handler for a route which defines a boolean "'+e+'" [routeId: '+n.route.id+"]")):r({request:t,params:n.params,context:i},...void 0!==o?[o]:[]),l=(async()=>{try{return{type:"data",result:await(o?o((e=>u(e))):u())}}catch(e){return{type:"error",result:e}}})();return Promise.race([l,s])};try{let o=n.route[e];if(r)if(o){let e,[t]=await Promise.all([u(o).catch((t=>{e=t})),r]);if(void 0!==e)throw e;a=t}else{if(await r,o=n.route[e],!o){if("action"===e){let e=new URL(t.url),r=e.pathname+e.search;throw Te(405,{method:t.method,pathname:r,routeId:n.route.id})}return{type:m.data,result:void 0}}a=await u(o)}else{if(!o){let e=new URL(t.url);throw Te(404,{pathname:e.pathname+e.search})}a=await u(o)}s(void 0!==a.result,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){return{type:m.error,result:e}}finally{c&&t.signal.removeEventListener("abort",c)}return a}(t,o,e,a,n,d):Promise.resolve({type:m.data,result:void 0}))})})),y=await e({matches:h,request:o,params:a[0].params,fetcherKey:c,context:d});try{await Promise.all(p)}catch(e){}return y}async function ve(e){let{result:t,type:n}=e;if(Me(t)){let e;try{let n=t.headers.get("Content-Type");e=n&&/\bapplication\/json\b/.test(n)?null==t.body?null:await t.json():await t.text()}catch(e){return{type:m.error,error:e}}return n===m.error?{type:m.error,error:new G(t.status,t.statusText,e),statusCode:t.status,headers:t.headers}:{type:m.data,data:e,statusCode:t.status,headers:t.headers}}if(n===m.error){if(Ie(t)){var r,o;if(t.data instanceof Error)return{type:m.error,error:t.data,statusCode:null==(o=t.init)?void 0:o.status};t=new G((null==(r=t.init)?void 0:r.status)||500,void 0,t.data)}return{type:m.error,error:t,statusCode:Y(t)?t.status:void 0}}var i,a,c,s;return function(e){let t=e;return t&&"object"==typeof t&&"object"==typeof t.data&&"function"==typeof t.subscribe&&"function"==typeof t.cancel&&"function"==typeof t.resolveData}(t)?{type:m.deferred,deferredData:t,statusCode:null==(i=t.init)?void 0:i.status,headers:(null==(a=t.init)?void 0:a.headers)&&new Headers(t.init.headers)}:Ie(t)?{type:m.data,data:t.data,statusCode:null==(c=t.init)?void 0:c.status,headers:null!=(s=t.init)&&s.headers?new Headers(t.init.headers):void 0}:{type:m.data,data:t}}function ye(e,t,n,r,o,i){let a=e.headers.get("Location");if(s(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!te.test(a)){let c=r.slice(0,r.findIndex((e=>e.route.id===n))+1);a=ie(new URL(t.url),c,o,!0,a,i),e.headers.set("Location",a)}return e}function ge(e,t,n){if(te.test(e)){let r=e,o=r.startsWith("//")?new URL(t.protocol+r):new URL(r),i=null!=N(o.pathname,n);if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function be(e,t,n,r){let o=e.createURL(Ce(t)).toString(),i={signal:n};if(r&&Fe(r.formMethod)){let{formMethod:e,formEncType:t}=r;i.method=e.toUpperCase(),"application/json"===t?(i.headers=new Headers({"Content-Type":t}),i.body=JSON.stringify(r.json)):"text/plain"===t?i.body=r.text:"application/x-www-form-urlencoded"===t&&r.formData?i.body=we(r.formData):i.body=r.formData}return new Request(o,i)}function we(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,"string"==typeof r?r:r.name);return t}function xe(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function Ae(e,t,n,r,o){let i,a={},c=null,u=!1,l={},f=n&&Re(n[1])?n[1].error:void 0;return e.forEach((n=>{if(!(n.route.id in t))return;let d=n.route.id,p=t[d];if(s(!Ne(p),"Cannot handle redirect results in processLoaderData"),Re(p)){let t=p.error;if(void 0!==f&&(t=f,f=void 0),c=c||{},o)c[d]=t;else{let n=ke(e,d);null==c[n.route.id]&&(c[n.route.id]=t)}a[d]=void 0,u||(u=!0,i=Y(p.error)?p.error.status:500),p.headers&&(l[d]=p.headers)}else De(p)?(r.set(d,p.deferredData),a[d]=p.deferredData.data,null==p.statusCode||200===p.statusCode||u||(i=p.statusCode),p.headers&&(l[d]=p.headers)):(a[d]=p.data,p.statusCode&&200!==p.statusCode&&!u&&(i=p.statusCode),p.headers&&(l[d]=p.headers))})),void 0!==f&&n&&(c={[n[0]]:f},a[n[0]]=void 0),{loaderData:a,errors:c,statusCode:i||200,loaderHeaders:l}}function Oe(e,t,n,o,i,a,c){let{loaderData:u,errors:l}=Ae(t,n,o,c,!1);return i.forEach((t=>{let{key:n,match:o,controller:i}=t,c=a[n];if(s(c,"Did not find corresponding fetcher result"),!i||!i.signal.aborted)if(Re(c)){let t=ke(e.matches,null==o?void 0:o.route.id);l&&l[t.route.id]||(l=r({},l,{[t.route.id]:c.error})),e.fetchers.delete(n)}else if(Ne(c))s(!1,"Unhandled fetcher revalidation redirect");else if(De(c))s(!1,"Unhandled fetcher deferred data");else{let t=Ve(c.data);e.fetchers.set(n,t)}})),{loaderData:u,errors:l}}function Ee(e,t,n,o){let i=r({},t);for(let r of n){let n=r.route.id;if(t.hasOwnProperty(n)?void 0!==t[n]&&(i[n]=t[n]):void 0!==e[n]&&r.route.loader&&(i[n]=e[n]),o&&o.hasOwnProperty(n))break}return i}function Se(e){return e?Re(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function ke(e,t){return(t?e.slice(0,e.findIndex((e=>e.route.id===t))+1):[...e]).reverse().find((e=>!0===e.route.hasErrorBoundary))||e[0]}function je(e){let t=1===e.length?e[0]:e.find((e=>e.index||!e.path||"/"===e.path))||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Te(e,t){let{pathname:n,routeId:r,method:o,type:i,message:a}=void 0===t?{}:t,c="Unknown Server Error",s="Unknown @remix-run/router error";return 400===e?(c="Bad Request",o&&n&&r?s="You made a "+o+' request to "'+n+'" but did not provide a `loader` for route "'+r+'", so there is no way to handle the request.':"defer-action"===i?s="defer() is not supported in actions":"invalid-body"===i&&(s="Unable to encode submission body")):403===e?(c="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):404===e?(c="Not Found",s='No route matches URL "'+n+'"'):405===e&&(c="Method Not Allowed",o&&n&&r?s="You made a "+o.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+r+'", so there is no way to handle the request.':o&&(s='Invalid request method "'+o.toUpperCase()+'"')),new G(e||500,c,new Error(s),!0)}function Pe(e){let t=Object.entries(e);for(let e=t.length-1;e>=0;e--){let[n,r]=t[e];if(Ne(r))return{key:n,result:r}}}function Ce(e){return d(r({},"string"==typeof e?p(e):e,{hash:""}))}function _e(e){return Me(e.result)&&J.has(e.result.status)}function De(e){return e.type===m.deferred}function Re(e){return e.type===m.error}function Ne(e){return(e&&e.type)===m.redirect}function Ie(e){return"object"==typeof e&&null!=e&&"type"in e&&"data"in e&&"init"in e&&"DataWithResponseInit"===e.type}function Me(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function Le(e){return K.has(e.toLowerCase())}function Fe(e){return V.has(e.toLowerCase())}async function He(e,t,n,r,o){let i=Object.entries(t);for(let a=0;a<i.length;a++){let[c,s]=i[a],u=e.find((e=>(null==e?void 0:e.route.id)===c));if(!u)continue;let l=r.find((e=>e.route.id===u.route.id)),f=null!=l&&!le(l,u)&&void 0!==(o&&o[u.route.id]);De(s)&&f&&await Ue(s,n,!1).then((e=>{e&&(t[c]=e)}))}}async function Be(e,t,n){for(let r=0;r<n.length;r++){let{key:o,routeId:i,controller:a}=n[r],c=t[o];e.find((e=>(null==e?void 0:e.route.id)===i))&&(De(c)&&(s(a,"Expected an AbortController for revalidating fetcher deferred result"),await Ue(c,a.signal,!0).then((e=>{e&&(t[o]=e)}))))}}async function Ue(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:m.data,data:e.deferredData.unwrappedData}}catch(e){return{type:m.error,error:e}}return{type:m.data,data:e.deferredData.data}}}function We(e){return new URLSearchParams(e).getAll("index").some((e=>""===e))}function ze(e,t){let n="string"==typeof t?p(t).search:t.search;if(e[e.length-1].route.index&&We(n||""))return e[e.length-1];let r=M(e);return r[r.length-1]}function Ge(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:a}=e;if(t&&n&&r)return null!=o?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o}:null!=i?{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0}:void 0!==a?{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}:void 0}function Ye(e,t){if(t){return{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}return{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function qe(e,t){if(e){return{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}}return{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Ve(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}},9455:(e,t)=>{"use strict";t.A=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?r.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0}},70139:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(86554),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return null};e.sagaMiddleware.run(r.Ay,t)}},90388:(e,t,n)=>{"use strict";n.d(t,{LS:()=>o,Wu:()=>i,f3:()=>r,nm:()=>a});var r="EMIT_ACTION",o="DISPATCH_EMITTED_ACTION",i=function(e){return{type:r,payload:{action:e}}},a=function(e){return{type:o,payload:{action:e}}}},88951:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(70139),o=n(90388);const i={emitAction:o.Wu,dispatchEmittedAction:o.nm,addToStore:r.Y}},86554:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(90388),c=o().mark(s);function s(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.Q7)([(0,i.jP)(a.f3,u,e),(0,i.jP)(a.LS,l)]);case 2:case"end":return t.stop()}}),c)}function u(e,t){var n=t.payload;return o().mark((function t(){var r,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.action,t.next=3,(0,i.Lt)(e);case 3:if(!(a=t.sent)){t.next=7;break}return t.next=7,(0,i.T1)(a,r);case 7:case"end":return t.stop()}}),t)}))()}function l(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.action,e.next=3,(0,i.yJ)(n);case 3:case"end":return e.stop()}}),e)}))()}},57416:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Object.freeze({ACTION:"action",REPORT:"report",ACTION_GROUP:"action-group",ACTION_BAR:"action-bar"})},93360:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r,o=n(39892),i=n.n(o),a=n(26396),c=n.n(a),s=n(4883),u=n(71468),l=n(88208),f=n(19461),d=n(38159),p=n(88951),h=n(77582),m=n(80064),v=n(74848),y=["appId","fetchActionPackages","actionPackages","customActionEventHandlers"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w=function(){return r||(r=(0,v.jsx)(l.A,{}))};const x=function(e){var t={emitAction:function(e){return p.A.dispatchEmittedAction(e)},fetchActionPackages:m.qk};return(0,u.Ng)((function(e){return{actionPackages:e.dynamicActions.actionPackages}}),t)((function(t){var n=t.appId,r=t.fetchActionPackages,o=t.actionPackages,a=t.customActionEventHandlers,c=void 0===a?{}:a,u=i()(t,y),l=null!=o;if((0,s.useEffect)((function(){l||r()}),[r,l]),!l)return w();var p=e[n]||function(e){if(!e)return null;var t=e.packageName,n=e.appName;return function(e){return(0,v.jsx)(h.A,b(b(b({},e),d.A.asInputProps()),{},{packageName:t,appName:n}))}}(function(e,t){var n=e?e.filter((function(e){return e.appName===t})):null;return n&&n.length>0?n[0]:null}(o,n));return p?(0,v.jsx)(s.Suspense,{fallback:w(),children:(0,v.jsx)(p,b(b({appId:n},u),c[n]))}):(f.A.logError("no action found with id: ".concat(n)),null)}))}},12859:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Object.freeze({CUSTOM:"custom",SIMPLE:"simple",REPORT:"report",DIVIDER:"divider",LEGACY:"legacy"})},89347:(e,t,n)=>{"use strict";n.d(t,{L:()=>i,v:()=>o});var r=n(57416),o=function(e){return!!e&&Object.values(r.A).indexOf(e)>=0},i=function(e,t){return!e||!t||t.includes(e)}},97313:(e,t,n)=>{"use strict";n.d(t,{A:()=>f,G:()=>d});var r=n(14672),o=n(29056),i=n(59042),a=n(18994),c=n(69679),s=n(49235),u=n(62150),l=n(17623);const f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return{}};e.sagaMiddleware.run(r.A.autoRestartSaga(l.A,t,i.A.logError)),o.A.injectReducers(e,{actions:a.A}),e.sagaMiddleware.run(c.Ay)};var d=function(e){o.A.injectReducers(e,{dynamicActions:s.A}),e.sagaMiddleware.run(u.A)}},11063:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(26396),o=n.n(r),i=n(90179),a=n.n(i),c=n(4883),s=n(57416),u=n(89347),l=n(18614),f=n(51360),d=n(77311),p=n(74848);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t=e.definition,n=e.onClick,r=e.selection,o=e.parent,i=e.mode,h=e.callback,m=e.disabled,v=e.customRenderedActions,y=e.actionConditions,g=e.addActionCondition;if((0,c.useEffect)((function(){var e=(0,l.x)(t);"ID"===r.type&&1===r.ids.length&&e.length>0&&e.forEach((function(e){return g(r.ids[0],e)}))}),[t,r,g]),!(0,l.a)(t,r,y))return null;if(v&&v[t.id])return v[t.id](t);if(!(0,u.L)(i,t.scopes))return null;var b=t.componentType===s.A.ACTION_GROUP?f.A:d.A;return(0,p.jsx)(b,{definition:t,onClick:function(e){n(a()(e,["label"]),r,o,h)},disabled:m,actionConditions:y,selection:r,selectedCount:r.count})};const y=function(e){return e.definition.componentType===s.A.ACTION_BAR?e.definition.children.map((function(t){return(0,p.jsx)(v,m(m({},e),{},{definition:t}),"action-".concat(e.definition.id,"-").concat(t.id))})):(0,p.jsx)(v,m({},e))}},51360:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(26396),o=n.n(r),i=n(38798),a=n(73621),c=n(64116),s=n(94674),u=n(18614),l=n(77699),f=n(42941),d=n(74848),p=n(4883);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){var t,n=e.onClick,r=e.definition,o=e.intl,i=e.index,s=e.actionConditions,h=e.selection,y=h.count;if(!(0,u.a)(r,h,s))return null;var g=(0,l.r)(y,r),b=!0===r.readonly||!g,w=(0,l.A)(y,r,o),x="action-group"===r.componentType,A=x?r.icon:void 0,O=null===(t=r.children)||void 0===t||null===(t=t.map((function(t){return v(m(m({},e),{},{definition:t}))})))||void 0===t?void 0:t.filter((function(e){return e}));return"action-group"===r.componentType&&0===O.length?null:(0,p.createElement)(a.A,m(m({},!x&&!b&&{onClick:function(){return n(r)}}),{},{disabled:b,title:w,key:"MenuItem-".concat(r.id,"-").concat(i),"data-cy":"menuitem-".concat(r.id)}),(0,d.jsxs)("span",{children:[A&&(0,d.jsx)(f.M,{children:(0,d.jsx)(c.A,{icon:A})}),r.label]}),"action-group"===r.componentType&&O)};const y=(0,i.Ay)((function(e){var t=e.definition,n=e.onClick,r=t.defaultAction&&Object.keys(t.defaultAction).length>0,o=r?t.defaultAction.label:t.label,i=r?function(){n(t.defaultAction)}:null,a=r?t.defaultAction.id:t.id,c=t.children.map((function(t,n){return v(m(m({},e),{},{index:n,definition:t}))})).filter((function(e){return e}));return 0===c.length?null:(0,d.jsx)(s.A,{buttonProps:{look:"raised"},label:o,"data-cy":"btn-action-".concat(a),onClick:i,icon:t.icon,children:c})}))},77582:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(26396),i=n.n(o),a=n(39892),c=n.n(a),s=n(51510),u=n(88208),l=n(96668),f=n(74848),d=["packageName","appName","theme"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const h=(0,s.SL)((function(e){var t=e.packageName,n=e.appName,o=e.theme,a=c()(e,d),s=l.A.useBundledApp({packageName:t,appName:n});return s?(0,f.jsx)(s,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({customTheme:o},a)):r||(r=(0,f.jsx)(u.A,{}))}))},89862:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(22056),s=n.n(c),u=n(4883),l=n(38798),f=n(38466),d=n(78350),p=n(36301),h=n(74848);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const y=(0,l.Ay)((function(e){var t,n,r=e.settingsDefinition,i=e.formApp,a=e.onSubmit,c=e.listApp,l=e.docsApp,m=e.intl,y=null===(t=r.customSettings)||void 0===t?void 0:t.entity,g=(0,u.useState)({valid:!1,customSettingsValid:!y}),b=s()(g,2),w=b[0],x=b[1],A=(0,d.WC)(r,m),O=y?r.customSettings.form.form:void 0,E=(0,u.useMemo)((function(){return(0,f.A)(i)}),[i]);return(0,h.jsx)(p.n,{children:(0,h.jsx)(E,{listApp:c,docsApp:l,form:O?v(v({},A),{},{children:[].concat(o()(A.children),o()(O.children))}):A,onChange:function(e){var t=e.values,n=e.valid;x((function(e){return v(v({},e),{},{values:t,valid:n})}))},submitText:(n="client.common.report.generate",m.formatMessage({id:n})),onSubmit:function(){var e=y?(0,d.W9)(O,w.values):{},t=v(v({},(0,d.vN)(r,(0,d.bl)(w.values))),{},{customSettings:e});a(t)},mode:"create",labelPosition:"inside"})})}))},77311:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(26396),o=n.n(r),i=n(38798),a=n(62764),c=n(77699),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const f=(0,i.Ay)((function(e){var t,n=e.definition,r=e.onClick,o=e.selectedCount,i=e.disabled,u=e.intl,f=function(e){return!("NO"===e.useLabel||"HIDE"===e.useLabel)},d=!0===n.readonly||!(0,c.r)(o,n)||i,p=n.label&&f(n)?n.label:"",h=(0,c.A)(o,n,u)||(f(n)?"":n.label),m="ICON"===n.buttonType,v="TEXT"===n.buttonType,y=null===(t=n.buttonStyle)||void 0===t?void 0:t.toLowerCase(),g="REGULAR"===n.buttonType?l({look:"raised"},"paper"===y?{}:{ink:y}):{look:m||v?"flat":"raised",withoutBackground:m||v};return(0,s.jsx)(a.A,l({iconOnly:m,removePadding:v,"data-cy":"btn-action-".concat(n.id),onClick:function(e){r(n),e.stopPropagation()},icon:n.icon,label:p,title:h,disabled:d},g))}))},42941:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166),s=a.Ay.span.withConfig({displayName:"StyledActionGroupIcon"})(r||(r=i()(["\n margin-right: ",";\n"])),c.A.space(-1.9))},36301:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166),s=a.Ay.div.withConfig({displayName:"StyledReportSettings"})(r||(r=i()(["\n margin-bottom: ",";\n\n && {\n > div:first-of-type {\n margin-bottom: 10px;\n }\n }\n"])),c.A.space(1))},18614:(e,t,n)=>{"use strict";n.d(t,{a:()=>u,x:()=>s});var r=n(58156),o=n.n(r),i=n(63375),a=n.n(i),c=n(4642),s=function(e){var t,n=[e.conditionName];return(null===(t=e.children)||void 0===t?void 0:t.length)>0&&e.children.flatMap((function(e){return s(e)})).forEach((function(e){return n.push(e)})),a()(n.filter((function(e){return(null==e?void 0:e.length)>0})))},u=function(e,t,n){if(e.conditionName)if("ID"===t.type&&1===t.ids.length){if(!o()(n,[e.conditionName,t.ids[0]],!1))return!1}else c.A.logError("Action conditions are only allowed for ID selections of a single entity");return!0}},77699:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,r:()=>r});var r=function(e,t){var n=t.minSelection,r=t.maxSelection;return!(i(e,n)||a(e,r))},o=function(e,t,n){var r=t.minSelection,o=t.maxSelection;return i(e,r)?n.formatMessage({id:"client.component.actions.notEnoughSelected"},{minSelection:r}):a(e,o)?n.formatMessage({id:"client.component.actions.tooManySelected"},{maxSelection:o}):null},i=function(e,t){return t&&e<t},a=function(e,t){return t&&e>t}},61524:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(71468),o=n(11063),i=n(27493),a=n(58189),c={onClick:i.actionInvoke,addActionCondition:a.nY};const s=(0,r.Ng)((function(e,t){return{actionConditions:e.actions.actionConditions}}),c)(o.A)},38466:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(71468),o=n(88951),i={emitAction:function(e){return o.A.dispatchEmittedAction(e)}};const a=(0,r.Ng)(null,i)},13128:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(93360),o=n(89347),i=n(12859),a=n(97313),c=n(61524),s=n(27493),u=n(58189),l=n(53716);const f={isAction:o.v,Action:c.A,actionFactory:r.A,actionTypes:i.A,addToStore:a.A,dynamicActionsAddToStore:a.G,actions:s,getSingleEntitySelection:l.Q,reevaluateActionCondition:u.cw}},29939:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p});var r=n(92207),o=n.n(r),i=n(32742),a=n(90167),c=n(19461),s=n(94727),u=n(72942),l=n(74848),f=o().mark(p),d=o().mark(g);function p(e,t,n,r,i){var s;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!e.appId){o.next=21;break}if(!e.fullscreen){o.next=11;break}if(!i.customActions||!i.customActions.fullscreen){o.next=7;break}return o.next=5,(0,a.T1)(v,{definition:e,selection:t,config:i});case 5:o.next=9;break;case 7:return o.next=9,(0,a.T1)(c.A.logError,"Unable to render custom action: No fullscreen handler provided");case 9:o.next=19;break;case 11:if(!i.appComponent){o.next=17;break}return o.next=14,(0,a.T1)(m,{definition:e,config:i,selection:t});case 14:case 25:return o.abrupt("return",o.sent);case 17:return o.next=19,(0,a.T1)(c.A.logError,"Unable to render custom action: No appComponent provided");case 19:o.next=30;break;case 21:if(!(s=i&&i.customActions&&i.customActions[e.id])){o.next=28;break}return o.next=25,(0,a.T1)(y,{definition:e,selection:t,parent:n,params:r,config:i,handler:s});case 28:return o.next=30,(0,a.T1)(c.A.logError,"Unable to load custom action with id ".concat(e.id));case 30:case"end":return o.stop()}}),f)}var h={OK:"ok",NOT_OK:"not_ok",CANCEL:"cancel"};function m(e){var t=e.definition,n=e.selection,r=e.config;return o().mark((function e(){var c,f,d,p,m,v,y;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.T1)(i.Ix);case 2:return c=e.sent,e.next=5,(0,a.Lt)(s.A.localeSelector);case 5:return f=e.sent,d=r.appComponent,e.next=9,(0,a.yJ)(u.A.modal("action-".concat(t.appId),"client.actions.".concat(t.appId,".title"),null,(function(e){var o=e.close;return(0,l.jsx)(d,{appId:t.appId,context:r.context,actionProperties:t.properties,selection:n,navigationStrategy:r.navigationStrategy||{},locale:f,onSuccess:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=e.message,r=e.remoteEvents;o(),c.put({status:h.OK,title:t,message:n,remoteEvents:r})},onError:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=e.message;o(),c.put({status:h.NOT_OK,title:t,message:n})},onCancel:function(){o(),c.put({status:h.CANCEL})},customActionEventHandlers:r.customActionEventHandlers})}),!0));case 9:return e.next=11,(0,a.s)(c);case 11:if((p=e.sent).status!==h.CANCEL){e.next=14;break}return e.abrupt("return",null);case 14:if(m=p.status===h.OK,null===p.title){e.next=20;break}return v=m?"success":"error",y=p.title||m?"client.component.actions.successDefault":"client.component.actions.errorText",e.next=20,(0,a.yJ)(u.A.toaster({type:v,title:y,body:p.message}));case 20:return e.abrupt("return",{success:m,remoteEvents:p.remoteEvents});case 21:case"end":return e.stop()}}),e)}))()}function v(e){var t=e.definition,n=e.selection,r=e.config;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.T1)(r.customActions.fullscreen,t,n);case 2:case"end":return e.stop()}}),e)}))()}function y(e){var t=e.definition,n=e.selection,r=e.config,c=e.parent,s=e.params,u=e.handler;return o().mark((function e(){var l,f,d,p;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,a.T1)(i.Ix);case 2:return l=e.sent,f=function(e){var t=e.title,n=e.message,r=e.remoteEvents;l.put({status:h.OK,title:t,message:n,remoteEvents:r})},d=function(e){var t=e.title,n=e.message;l.put({status:h.NOT_OK,title:t,message:n})},p=function(){l.put({status:h.CANCEL})},e.next=8,(0,a.T1)(u,t,n,c,s,r,f,d,p);case 8:return e.next=10,(0,a.T1)(g,l);case 10:return e.abrupt("return",e.sent);case 11:case"end":return e.stop()}}),e)}))()}function g(e){var t,n,r,i;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,a.s)(e);case 2:if((t=o.sent).status!==h.CANCEL){o.next=5;break}return o.abrupt("return",null);case 5:if(n=t.status===h.OK,!t.title){o.next=11;break}return r=n?"success":"error",i="default"===t.title?"client.component.actions.successDefault":t.title,o.next=11,(0,a.yJ)(u.A.toaster({type:r,title:i,body:t.message}));case 11:return o.abrupt("return",{success:n,remoteEvents:t.remoteEvents});case 12:case"end":return o.stop()}}),d)}},28192:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(12859),a=n(29939),c=n(5659),s=n(37560),u=n(76950);const l=o()(o()(o()(o()({},i.A.SIMPLE,u.Ay),i.A.REPORT,s.Ay),i.A.CUSTOM,a.Ay),i.A.LEGACY,c.Ay)},5659:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>X});var r=n(22056),o=n.n(r),i=n(26396),a=n.n(i),c=n(92207),s=n.n(c),u=n(11331),l=n.n(u),f=n(32742),d=n(90167),p=n(18242),h=n(72942),m=n(87774),v=n(57327);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=s().mark(I),w=s().mark(F),x=s().mark(H),A=s().mark(B),O=s().mark(U),E=s().mark(W),S=s().mark(z),k=s().mark(K),j=s().mark(J),T=s().mark(X);function P(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return C(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var _=["Single selection only, aborting...","Nothing selected, aborting..."],D=["Folder","Resource"],R=function(e){return new Promise((function(t,n){var r=document.createElement("script");r.src=e,r.onload=t,r.onerror=n,document.head.appendChild(r)}))},N=function(e){return new Promise((function(t,n){var r=document.getElementsByTagName("head")[0],o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.href=e,o.media="all",o.onload=t,o.onerror=n,r.appendChild(o)}))};function I(e){var t,n,r,o,i,a,c;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return t=window.legacyActionEnv||"new",s.next=3,(0,d.T1)(p.A.getLongTermMetaInfo);case 3:if(n=s.sent,r=n.revision,o=r){s.next=10;break}return s.next=9,(0,d.T1)(v.A.fetchServerRevision);case 9:o=s.sent;case 10:i=P(e),s.prev=11,i.s();case 13:if((a=i.n()).done){s.next=20;break}if(!(c=a.value).envs.includes(t)){s.next=18;break}return s.next=18,(0,d.T1)(c.handler,"".concat(c.src,"?v=").concat(o));case 18:s.next=13;break;case 20:s.next=25;break;case 22:s.prev=22,s.t0=s.catch(11),i.e(s.t0);case 25:return s.prev=25,i.f(),s.finish(25);case 28:case"end":return s.stop()}}),b,null,[[11,22,25,28]])}var M=[{src:"/nice2/javascript/lang.release.js",handler:R,envs:["new"]},{src:"/nice2/javascript/nice2-ext-newclient-actions.release.js",handler:R,envs:["new"]},{src:"/nice2/javascript/nice2-admin.release.js",handler:R,envs:["new"]},{src:"/nice2/javascript/nice2-newclient-actions-public.release.js",handler:R,envs:["legacy-public"]},{src:"/nice2/javascript/nice2-newclient-actions-setup.release.js",handler:R,envs:["legacy-public","legacy-admin","new"]},{src:"/nice2/dwr-all.js",handler:R,envs:["new"]},{src:"/js/ext-extensions/ckeditor/ckeditor/ckeditor.js",handler:R,envs:["new"]},{src:"/css/themes/blue-medium.css",handler:N,envs:["new"]},{src:"/css/nice2-admin.css",handler:N,envs:["new"]},{src:"/css/nice2-new-client-legacy-actions.css",handler:N,envs:["new"]}],L=function(e,t){return function(n){e.put(n),t&&t.put(n)}};function F(e){var t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=3,(0,d.s)(e);case 3:return t=r.sent,n=m.A.remoteEvent(t),r.next=7,(0,d.yJ)(n);case 7:r.next=0;break;case 9:case"end":return r.stop()}}),w)}function H(){var e,t,n,r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,d.T1)([window.app,window.app.getDataRegistry]);case 2:if(!(e=o.sent).setNewClientCallback){o.next=18;break}return o.next=6,(0,d.T1)(f.Ix);case 6:return t=o.sent,o.next=9,(0,d.T1)(f.Ix);case 9:return n=o.sent,o.next=12,(0,d.T1)(L,t,n);case 12:return r=o.sent,o.next=15,(0,d.T1)([e,e.setNewClientCallback],r);case 15:return o.next=17,(0,d.cH)(F,t);case 17:return o.abrupt("return",n);case 18:case"end":return o.stop()}}),x)}function B(e){var t,n;return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:t=e.message.replace(/ /g," "),r.t0=e.level,r.next="ERROR"===r.t0?4:"INFO"===r.t0?6:8;break;case 4:return n=h.A.toaster({type:"error",title:t}),r.abrupt("break",9);case 6:return n=h.A.toaster({type:"info",title:t}),r.abrupt("break",9);case 8:throw new Error("Unsupported notification level: ".concat(e.level));case 9:if(!n){r.next=12;break}return r.next=12,(0,d.yJ)(n);case 12:case"end":return r.stop()}}),A)}function U(e){var t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=3,(0,d.s)(e);case 3:return t=n.sent,n.next=6,(0,d.T1)(B,t);case 6:n.next=0;break;case 8:case"end":return n.stop()}}),O)}function W(){var e,t,n,r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,d.T1)([window.app,window.app.getGui]);case 2:return e=o.sent,o.next=5,(0,d.T1)([e,e.getNotifier]);case 5:if(!(t=o.sent).setNewClientCallback){o.next=17;break}return o.next=9,(0,d.T1)(f.Ix);case 9:return n=o.sent,o.next=12,(0,d.T1)(L,n);case 12:return r=o.sent,o.next=15,(0,d.T1)([t,t.setNewClientCallback],r);case 15:return o.next=17,(0,d.cH)(U,n);case 17:case"end":return o.stop()}}),E)}function z(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!0===window.legacyActionsEnvInitialized){e.next=5;break}return e.next=3,(0,d.T1)(I,M);case 3:return e.next=5,(0,d.T1)(window.setUpLegacyActionsEnv);case 5:return e.next=7,(0,d.T1)(W);case 7:return e.next=9,(0,d.T1)(H);case 9:return e.abrupt("return",e.sent);case 10:case"end":return e.stop()}}),S)}var G=function(e){return e.list},Y=function(e){return e.entityList?g(g({},e.input),e.entityList):void 0},q=function(e){return e.entityDetail?g(g({},e.input),e.entityDetail):void 0},V=function(e){return g(g({},new window.nice2.netui.ManualQuery),{},{entityName:e.entityName,queryWhere:e.query.where})},$=function(e){return g(g({},new window.form.FormIdentifier),{},{scope:"list",formName:e.formDefinition.id})};function K(e){var t,n,r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(t={entityName:e.entityName},"ID"!==e.type){o.next=7;break}n=D.includes(e.entityName),t.selectedEntities=e.ids,t.selectionType=n?"ENTITY_DOCS":"SELECTION",o.next=18;break;case 7:if("QUERY"!==e.type){o.next=17;break}return o.next=10,(0,d.Lt)(G);case 10:r=o.sent,t.selectionType="NEW_CLIENT_QUERY",t.manualQuery=V(e),t.listForm=$(r),t.searchFilters=e.query.filter,o.next=18;break;case 17:throw new Error("Unsupported selection type: ".concat(e.type));case 18:return o.abrupt("return",t);case 19:case"end":return o.stop()}}),k)}function J(){var e,t;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,d.Lt)(Y);case 2:return e=n.sent,n.next=5,(0,d.Lt)(q);case 5:if(t=n.sent,!e||!t){n.next=8;break}throw new Error("Unable to get form scope. Unexpected state: entityList and entityDetail exist");case 8:if(!e){n.next=10;break}return n.abrupt("return","list");case 10:if(!t){n.next=20;break}if("update"!==t.mode){n.next=15;break}return n.abrupt("return","update");case 15:if("create"!==t.mode){n.next=19;break}return n.abrupt("return","create");case 19:throw new Error("Unable to get form scope. Unexpected detail mode: ".concat(t.mode));case 20:throw new Error("Unable to get form scope. Expected to find either entityList or entityDetail in state");case 21:case"end":return n.stop()}}),j)}function X(e,t,n,r,i){var a,c,u,f,p,h,m,v,y,g;return s().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,d.T1)(z);case 2:if(a=n.sent,(c=new window.nice2.netui.actions.model.ClientActionDefinition(e.path,e.id)).setEnabled(!e.readOnly),!l()(e.properties)){n.next=9;break}return u=Object.entries(e.properties).map((function(e){var t=o()(e,2),n=t[0],r=t[1];return(0,d.T1)([c,c.setProperty],n,r)})),n.next=9,(0,d.Q7)(u);case 9:if((f=new window.nice2.modules.NewClientLegacyActionsModule({entityName:t.entityName,formName:t.entityName})).init(),p=new window.nice2.modules.NewClientLegacyActionsPanel({entityName:t.entityName}),h=new window.nice2.modules.entityexplorer.EntityExplorerActionContext(f,p),"ID"===t.type&&1===t.ids.length&&(h.getRecord=function(){return{id:t.ids[0]}}),n.t0=t.entityName,n.t1=e.scope,n.t1){n.next=20;break}return n.next=19,(0,d.T1)(J);case 19:n.t1=n.sent;case 20:return n.t2=n.t1,m={entityName:n.t0,scope:n.t2},v=window.NetuiActionRegistry.newActionFromDefinition(c,m,h),n.next=25,(0,d.T1)(K,t);case 25:y=n.sent,v.getSelectionNumber=function(){return"ID"===t.type?t.ids.length:0},v.getSelection=function(){return y},n.prev=28,v.perform(),n.next=37;break;case 32:if(n.prev=32,n.t3=n.catch(28),g=n.t3 instanceof Error?n.t3.message:n.t3,_.includes(g)){n.next=37;break}throw n.t3;case 37:if(!a){n.next=41;break}return n.next=40,(0,d.s)(a);case 40:return n.abrupt("return",{success:!0});case 41:case"end":return n.stop()}}),T,null,[[28,32]])}},37560:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>S});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(32742),s=n(90167),u=n(46836),l=n(38159),f=n(18562),d=n(72942),p=n(57327),h=n(89862),m=n(76950),v=n(74848);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=a().mark(S),w=a().mark(k),x=a().mark(j),A=a().mark(P),O=a().mark(C),E=a().mark(_);function S(e,t,n,r,o){return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!l.A.isInWidgetEmbedded()){n.next=5;break}return n.next=3,(0,s.T1)(j,e,t,o);case 3:n.next=7;break;case 5:return n.next=7,(0,s.T1)(k,e,t,o);case 7:case"end":return n.stop()}}),b)}function k(e,t,n){var r,o,i,u;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,s.T1)(C,e,t);case 2:return r=a.sent,a.next=5,(0,s.T1)(c.Ix);case 5:return o=a.sent,a.next=8,(0,s.T1)(P,r,o,n);case 8:return i=a.sent,a.next=11,(0,s.s)(o);case 11:return u=a.sent,a.next=14,(0,s.T1)(_,e,r,t,u);case 14:return a.next=16,(0,s.yJ)(d.A.removeModal(i));case 16:case"end":return a.stop()}}),w)}function j(e,t,n){var r,o,i,u,l,f,p,h,m;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,s.T1)(C,e,t);case 2:if(r=a.sent,o=T(r),i={},!r.customSettings){a.next=21;break}return l=g(g({},r),{},{generalSettings:[],recipientSettings:[]}),a.next=9,(0,s.T1)(c.Ix);case 9:return f=a.sent,a.next=12,(0,s.T1)(P,l,f,n);case 12:return p=a.sent,a.next=15,(0,s.s)(f);case 15:return h=a.sent,a.next=18,(0,s.yJ)(d.A.removeModal(p));case 18:u=h.customSettings,a.next=22;break;case 21:u=null;case 22:return m={generalSettings:o,recipientSettings:i,customSettings:u},a.next=25,(0,s.T1)(_,e,r,t,m);case 25:case"end":return a.stop()}}),x)}var T=function(e){return e.generalSettings.reduce((function(e,t){var n;return g(g({},e),{},o()({},t.id,(null===(n=t.defaultValue)||void 0===n?void 0:n.key)||t.defaultValue))}),{})};function P(e,t,n){var r,o;return a().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return r=function(e){return t.put(e)},i.next=3,(0,s.T1)(f.A);case 3:return o=i.sent,i.next=6,(0,s.yJ)(d.A.modal(o,e.description.name,null,(function(){return(0,v.jsx)(h.A,{listApp:n.listApp,docsApp:n.docsApp,formApp:n.formApp,onSubmit:r,settingsDefinition:e})}),!0));case 6:return i.abrupt("return",o);case 7:case"end":return i.stop()}}),A)}function C(e,t){var n,r,o,i;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n={body:t,method:"POST"},r="report/".concat(e.reportId,"/settings"),a.next=4,(0,s.T1)(p.A.requestSaga,r,n);case 4:return o=a.sent,i=o.body,a.abrupt("return",i);case 7:case"end":return a.stop()}}),O)}function _(e,t,n,r){var o,i,c,l,f;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return o=r.generalSettings,i=r.recipientSettings,c=r.customSettings,e.endpoint="report/generations",l=t.customSettings?u.A.toEntity(g({__model:t.customSettings.entity.name},c)):null,f={additionalProperties:{reportId:e.reportId,generalSettings:o,recipientSettings:i},formData:l},a.next=6,(0,s.T1)(m.pQ,e,n,null,f);case 6:case"end":return a.stop()}}),E)}},76950:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>T,pQ:()=>P});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(92207),s=n.n(c),u=n(58156),l=n.n(u),f=n(58065),d=n(90167),p=n(46516),h=n(25355),m=n(59042),v=n(72942),y=n(72543),g=n(9063),b=n(57327),w=n(74848);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var O=s().mark(T),E=s().mark(P),S=s().mark(C),k=s().mark(_),j=s().mark(D);function T(e,t,n,r,o){var i,a;return s().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return i=e.runInBackgroundTask,a=i?P:C,c.next=4,(0,d.T1)(a,e,t,n,r,o);case 4:return c.abrupt("return",c.sent);case 5:case"end":return c.stop()}}),O)}function P(e,t,n,r){var o;return s().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,d.T1)(b.A.requestSaga,e.endpoint,{method:"POST",body:A(A({entity:t.entityName,selection:t,parent:n},r),{},{params:{background:!0},formProperties:e.properties}),acceptedErrorCodes:["VALIDATION_FAILED"]});case 2:if(!(o=i.sent).body||!1!==o.body.success){i.next=6;break}return i.next=6,(0,d.yJ)(v.A.toaster({type:"error",title:"client.common.unexpectedError",body:o.body.title||"client.component.actions.errorText"}));case 6:case"end":return i.stop()}}),E)}function C(e,t,n,r,i){var a,c,u;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,d.T1)(_,e,t,n,r);case 2:return null!=(c=s.sent)&&c.success&&(u=l()(i,["customActionEventHandlers",e.id,"onSuccess"],null))&&u(),s.abrupt("return",A(A({},c),{},{remoteEvents:o()(c&&c.success?[{type:"entity-update-event",payload:{parent:n,entities:[{entityName:t.entityName}],reload:null===(a=c.flags)||void 0===a?void 0:a.reloadDetail}}]:[])}));case 5:case"end":return s.stop()}}),S)}function _(e,t,n,r){var o,i,a,c;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return o=e.progressMsg||"client.component.actions.defaultProgressMessage",s.prev=1,s.next=4,(0,d.T1)(b.A.requestSaga,e.endpoint,{method:"POST",body:A(A({entity:t.entityName,selection:t,parent:n},r),{},{formProperties:e.properties}),acceptedErrorCodes:["VALIDATION_FAILED","ERROR_ID"],blockingInfoTitle:o});case 4:if(!(i=s.sent).body||"VALIDATION_FAILED"!==i.body.errorCode){s.next=10;break}return s.next=8,(0,d.yJ)(v.A.toaster({type:"error",title:"client.component.actions.validationError",body:h.A.getErrorCompact(i.body.errors)}));case 8:case 13:case 22:s.next=27;break;case 10:if(!i.body||"ERROR_ID"!==i.body.errorCode){s.next=15;break}return s.next=13,(0,d.yJ)(v.A.toaster({type:"error",title:"client.common.unexpectedError",body:(0,w.jsx)(f.A,{id:"client.component.actions.errorIdText",values:{errorId:i.body.errorId}})}));case 15:if(!(i.body&&i.body.params&&i.body.params.downloadUrl)){s.next=24;break}return a=p.A.getDownloadUrl(i.body.params.downloadUrl),s.next=19,(0,d.T1)(b.A.requestBytesSaga,a,{method:"POST",body:A(A({entity:t.entityName,selection:t,parent:n},r),{},{formProperties:e.properties})});case 19:return c=s.sent,s.next=22,(0,d.T1)(p.A.downloadReadableStream,c.body,i.body.params.filename);case 24:if(null==i||!i.body){s.next=27;break}return s.next=27,(0,d.T1)(D,i,!0===i.body.success?"success":"warning");case 27:return s.abrupt("return",i.body);case 30:if(s.prev=30,s.t0=s.catch(1),s.t0 instanceof b.A.ClientQuestionCancelledException){s.next=35;break}return s.next=35,(0,d.yJ)(m.A.logError("client.common.unexpectedError","client.component.actions.errorText",s.t0));case 35:case"end":return s.stop()}}),k,null,[[1,30]])}function D(e,t){var n,r,o,i,a;return s().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return n=e.body.title||"client.component.actions.successDefault",r=e.body.message,o=e.body.notificationKey?"".concat(g.SG).concat(e.body.notificationKey):void 0,c.next=5,(0,d.T1)(v.A.transformNotificationResult,e.body.result);case 5:return i=c.sent,a=function(e){var t=e.navigationStrategy,n=e.cancelTask;return(0,w.jsx)(y.Ay,{notification:{key:o,message:r,result:i},navigationStrategy:t,cancelTask:n})},c.next=9,(0,d.yJ)(v.A.toaster({type:t,title:n,message:r,body:a,key:o,source:v.A.toasterSources.SYNC_ACTION}));case 9:case"end":return c.stop()}}),j)}},27493:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ACTION_INVOKE:()=>r,ACTION_INVOKED:()=>i,ACTION_IN_PROGRESS:()=>o,actionInvoke:()=>a,actionInvoked:()=>c});var r="actions/ACTION_INVOKE",o="actions/ACTION_IN_PROGRESS",i="actions/ACTION_INVOKED",a=function(e,t,n){return{type:r,payload:{definition:e,selection:t,parent:n}}},c=function(e,t,n){return{type:i,payload:{definition:e,selection:t,response:n}}}},58189:(e,t,n)=>{"use strict";n.d(t,{Eb:()=>i,G0:()=>c,cw:()=>s,fL:()=>r,n5:()=>o,nY:()=>a});var r="actions/ADD_ACTION_CONDITION",o="actions/SET_ACTION_CONDITION_RESULT",i="actions/REEVALUATE_ACTION_CONDITION",a=function(e,t){return{type:r,payload:{key:e,condition:t}}},c=function(e){return{type:o,payload:{results:e}}},s=function(e){return{type:i,payload:{key:e}}}},18994:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(22056),o=n.n(r),i=n(21259),a=n.n(i),c=n(26396),s=n.n(c),u=n(55364),l=n.n(u),f=n(58189);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=s()(s()({},f.fL,(function(e,t){var n=t.payload,r=n.key,o=n.condition;return p(p({},e),{},{actionConditions:p(p({},e.actionConditions),{},s()({},o,p(s()({},r,null),e.actionConditions[o])))})})),f.n5,(function(e,t){var n=t.payload.results;return p(p({},e),{},{actionConditions:p(p({},e.actionConditions),l().apply(void 0,[{}].concat(a()(Object.entries(n).map((function(t){var n=o()(t,2),r=n[0],i=n[1];return s()({},r,p(p({},e.actionConditions[r]),i))}))))))})})),m={actionConditions:{}};function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,t=arguments.length>1?arguments[1]:void 0,n=h[t.type];return n?n(e,t):e}},69679:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h});var r=n(22056),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(57327),u=n(58189),l=a().mark(h),f=a().mark(m),d=a().mark(y),p=function(e){return e.actions};function h(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.Q7)([(0,c.sg)(10,u.fL,m),(0,c.jP)(u.Eb,v)]);case 2:case"end":return e.stop()}}),l)}function m(){var e,t,n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,c.Lt)(p);case 2:return e=r.sent,t=e.actionConditions,n=Object.entries(t).map((function(e){var t=o()(e,2),n=t[0],r=t[1];return{conditionName:n,keys:g(r)}})),r.next=7,(0,c.T1)(y,n);case 7:case"end":return r.stop()}}),f)}function v(e){var t=e.payload.key;return a().mark((function e(){var n,r,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.Lt)(p);case 2:return n=e.sent,r=n.actionConditions,o=Object.keys(r).map((function(e){return{conditionName:e,keys:[t]}})),e.next=7,(0,c.T1)(y,o);case 7:case"end":return e.stop()}}),e)}))()}function y(e){var t,n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(0!==e.length){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,(0,c.T1)(s.A.requestSaga,"client/actionConditions",{method:"POST",body:{conditions:e}});case 4:return t=r.sent,n=t.body.results,r.next=8,(0,c.yJ)(u.G0(n));case 8:case"end":return r.stop()}}),d)}var g=function(e){return Object.entries(e).filter((function(e){var t=o()(e,2);t[0];return null===t[1]})).map((function(e){var t=o()(e,2),n=t[0];t[1];return n}))}},80064:(e,t,n)=>{"use strict";n.d(t,{Qi:()=>r,kO:()=>o,q6:()=>a,qk:()=>i});var r="actions/FETCH_ACTION_PACKAGES",o="actions/SET_ACTION_PACKAGES",i=function(){return{type:r}},a=function(e){return{type:o,payload:{actionPackages:e}}}},49235:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(80064),c=o()({},a.kO,i.A.singleTransferReducer("actionPackages")),s={actionPackages:null};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},62150:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(57327),c=n(80064),s=o().mark(l),u=o().mark(f);function l(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.Q7)([(0,i.p8)(c.Qi,f)]);case 2:case"end":return e.stop()}}),s)}function f(){var e,t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.A.requestSaga,"/client/actionPackages",{method:"GET"});case 2:return t=n.sent,n.next=5,(0,i.yJ)(c.q6((null===(e=t.body)||void 0===e?void 0:e.actionPackages)||[]));case 5:case"end":return n.stop()}}),u)}},65500:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r,o=n(92207),i=n.n(o),a=n(58065),c=n(32742),s=n(90167),u=n(72942),l=n(42837),f=n(74848),d=i().mark(h);function p(e){var t=e.preparationResponse,n=e.config,r=(void 0===n?{}:n).navigationStrategy;return i().mark((function e(){var n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.preCheck||!1!==t.preCheck.success||!t.preCheck.confirmMessage){e.next=5;break}return n=t.preCheck.customTitle,e.next=4,(0,s.T1)(h,(0,l.X)(t.preCheck,r),n);case 4:return e.abrupt("return",{abort:!0});case 5:return e.abrupt("return",{abort:!1});case 6:case"end":return e.stop()}}),e)}))()}function h(e,t){var n,o;return i().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,s.T1)(c.Ix);case 2:return n=i.sent,o=function(){return n.put(!1)},i.next=6,(0,s.yJ)(u.A.info(t||"client.component.actions.confirmTitle",e,r||(r=(0,f.jsx)(a.A,{id:"client.common.ok"})),o));case 6:return i.next=8,(0,s.s)(n);case 8:return i.abrupt("return",i.sent);case 9:case"end":return i.stop()}}),d)}},37332:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o,i=n(92207),a=n.n(i),c=n(58065),s=n(32742),u=n(90167),l=n(72942),f=n(42837),d=n(74848),p=a().mark(m);function h(e){var t=e.preparationResponse,n=e.config,r=(void 0===n?{}:n).navigationStrategy;return a().mark((function e(){var n,o,i,c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.preCheck||!0!==t.preCheck.success||!t.preCheck.confirmMessage){e.next=6;break}return n=t.preCheck,o=n.defaultAction,i=n.customTitle,e.next=4,(0,u.T1)(m,(0,f.X)(t.preCheck,r),o,i);case 4:return c=e.sent,e.abrupt("return",{abort:!c});case 6:return e.abrupt("return",{abort:!1});case 7:case"end":return e.stop()}}),e)}))()}function m(e,t,n){var i,f,h;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,u.T1)(s.Ix);case 2:return i=a.sent,f=function(){return i.put(!0)},h=function(){return i.put(!1)},a.next=7,(0,u.yJ)(l.A.confirm(n||"client.component.actions.confirmTitle",e,r||(r=(0,d.jsx)(c.A,{id:"client.common.ok"})),o||(o=(0,d.jsx)(c.A,{id:"client.common.cancel"})),f,h,t));case 7:return a.next=9,(0,u.s)(i);case 9:return a.abrupt("return",a.sent);case 10:case"end":return a.stop()}}),p)}},18654:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(77661).Ay},71610:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>A});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(32742),s=n(90167),u=n(46836),l=n(72942),f=n(57327),d=n(38466),p=n(65500),h=n(37332),m=n(31267),v=n(77661),y=n(74848),g=a().mark(k),b=a().mark(T);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e){var t=e.preparationResponse,n=e.definition,r=e.selection,o=e.config;return a().mark((function e(){var i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.initialFormValues){e.next=5;break}return e.next=3,(0,s.T1)(E,t.initialFormValues,o,n,r);case 3:return i=e.sent,e.abrupt("return",{abort:null===i,params:{formData:i}});case 5:return e.abrupt("return",{abort:!1});case 6:case"end":return e.stop()}}),e)}))()}var O=function(e){return{formValues:e}};function E(e,t,n,r){var o=e.formDefinition,i=e.defaultValues,u=e.conditions,f=e.formTitle,p=e.formMessage,h=e.noButtons;return a().mark((function e(){var m,v,g,b,w,x,A,E,k,j;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.T1)(c.Ix);case 2:return m=e.sent,v=(new Date).valueOf(),g=function(e){var t=e.values;return m.put(O(t))},b=function(){return m.put({cancel:!0})},w=(0,d.A)(t.formApp),x=S(o.form,u),A=l.A.modal(v,f,p,(function(){return(0,y.jsx)(w,{form:x,detailApp:t.detailApp,listApp:t.listApp,docsApp:t.docsApp,onSubmit:g,defaultValues:i,mode:"create",entityName:o.model,labelPosition:"inside",noButtons:h,navigationStrategy:t.navigationStrategy||{}})}),!0,b),e.next=11,(0,s.yJ)(A);case 11:E="".concat(v,"-error-toaster");case 12:return e.next=15,(0,s.s)(m);case 15:if(!(k=e.sent).cancel){e.next=20;break}return e.next=19,(0,s.yJ)(l.A.removeToaster(E,!1));case 19:return e.abrupt("return",null);case 20:return j=k.formValues?{model:o.model,paths:k.formValues}:null,e.next=23,(0,s.T1)(T,j,n,r,E,t);case 23:if(!e.sent){e.next=28;break}return e.next=27,(0,s.yJ)(l.A.removeModal(v));case 27:return e.abrupt("return",j);case 28:e.next=12;break;case 30:case"end":return e.stop()}}),e)}))()}var S=function(e,t){return t&&0!==Object.keys(t).length?x(x(x({},e),u.A.relationFieldTypes.includes(e.dataType)&&t[e.id]?{condition:t[e.id]}:{}),e.children?{children:e.children.map((function(e){return S(e,t)}))}:{}):e};function k(e,t,n){var r;return a().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,s.T1)(f.A.requestSaga,"".concat(t.endpoint,"/validate"),{method:"POST",body:{entity:n.entityName,selection:n,formData:e,formProperties:t.properties}});case 2:return r=o.sent,o.abrupt("return",r.body);case 4:case"end":return o.stop()}}),g)}var j=function(){return[p.A,m.A,h.A]};function T(e,t,n,r,o){var i,c,u,f,d;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!t.endpoint){a.next=6;break}return a.next=3,(0,s.T1)(k,e,t,n);case 3:a.t0=a.sent,a.next=7;break;case 6:a.t0={};case 7:return i=a.t0,a.next=10,(0,s.T1)(j);case 10:return c=a.sent,a.next=13,(0,s.T1)(v.Lw,t,n,o,i,c);case 13:if(u=a.sent,f=u.abort,d=u.abortMessage,!f||!d){a.next=21;break}return a.next=19,(0,s.yJ)(l.A.toaster({key:r,type:"warning",title:"client.component.actions.validationFailed",body:d}));case 19:a.next=23;break;case 21:return a.next=23,(0,s.yJ)(l.A.removeToaster(r,!1));case 23:return a.abrupt("return",!f);case 24:case"end":return a.stop()}}),b)}},25015:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o,i,a=n(92207),c=n.n(a),s=n(58065),u=n(32742),l=n(90167),f=n(72942),d=n(74848),p=c().mark(m);function h(e){var t=e.definition,n=e.selection;return c().mark((function e(){var r;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.showConfirmation&&n&&n.count>t.confirmationThreshold)){e.next=5;break}return e.next=3,(0,l.T1)(m,n.count);case 3:return r=e.sent,e.abrupt("return",{abort:!r});case 5:return e.abrupt("return",{abort:!1});case 6:case"end":return e.stop()}}),e)}))()}function m(e){var t,n,a;return c().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,l.T1)(u.Ix);case 2:return t=c.sent,n=function(){return t.put(!0)},a=function(){return t.put(!1)},c.next=7,(0,l.yJ)(f.A.confirm(r||(r=(0,d.jsx)(s.A,{id:"client.component.actions.confirmTitle"})),(0,d.jsx)(s.A,{id:"client.component.actions.largeSelectionConfirm",values:{count:e}}),o||(o=(0,d.jsx)(s.A,{id:"client.common.ok"})),i||(i=(0,d.jsx)(s.A,{id:"client.common.cancel"})),n,a));case 7:return c.next=9,(0,l.s)(t);case 9:return c.abrupt("return",c.sent);case 10:case"end":return c.stop()}}),p)}},42837:(e,t,n)=>{"use strict";n.d(t,{X:()=>p});var r=n(21259),o=n.n(r),i=n(22056),a=n.n(i),c=n(62193),s=n.n(c),u=n(58065),l=n(56775),f=n(74848),d=function(e){var t=e.message,n=e.entities,r=e.navigationStrategy;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l.Ay.P,{children:t}),(0,f.jsx)(l.Ay.P,{children:Object.entries(n).map((function(e){var t=a()(e,2),n=t[0],o=t[1];return(0,f.jsxs)(l.Ay.Span,{children:[(0,f.jsx)(u.A,{id:"client.entities.".concat(n)})," (",null!=r&&r.ListLink?(0,f.jsx)(r.ListLink,{entityName:n,entityKeys:o.slice(0,100),children:o.length}):(0,f.jsx)(l.Ay.Span,{children:o.length}),")"]},n)})).reduce((function(e,t){return[].concat(o()(e),[t,", "])}),[]).slice(0,-1)})]})},p=function(e,t){var n=e.confirmMessage,r=e.entities;return s()(r)?n:(0,f.jsx)(d,{message:n,entities:r,navigationStrategy:t})}},31267:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(92207),o=n.n(r);function i(e){var t=e.preparationResponse;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.preCheck||!1!==t.preCheck.success){e.next=2;break}return e.abrupt("return",{abort:!0,abortMessage:t.preCheck.message||"client.component.actions.errorText"});case 2:return e.abrupt("return",{abort:!1});case 3:case"end":return e.stop()}}),e)}))()}},77661:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>E,Lw:()=>O});var r=n(26396),o=n.n(r),i=n(21259),a=n.n(i),c=n(92207),s=n.n(c),u=n(90167),l=n(57327),f=n(65500),d=n(37332),p=n(71610),h=n(25015),m=n(31267);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=s().mark(x),b=s().mark(O),w=s().mark(E);function x(e,t,n){var r;return s().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,u.T1)(l.A.requestSaga,e.endpoint+"/check",{method:"POST",body:{selection:t,parent:n,formProperties:e.properties}});case 2:return r=o.sent,o.abrupt("return",r.body);case 4:case"end":return o.stop()}}),g)}var A=function(e){return[].concat(a()(e.customPreparationHandlers||[]),[h.A,f.A,m.A,d.A,p.Ay])};function O(e,t,n,r,o){var i,a,c,l,f,d,p,h;return s().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:i=!1,a=null,c={},l=t,f=0;case 5:if(i||!o[f]){s.next=18;break}return d=o[f],p={preparationResponse:r,params:c,definition:e,selection:l,config:n},s.next=10,(0,u.T1)(d,p);case 10:h=s.sent,i=h.abort,c=y(y({},c),h.params),h.abortMessage&&(a=h.abortMessage),h.selection&&(l=h.selection),f++,s.next=5;break;case 18:return s.abrupt("return",{abort:i,abortMessage:a,params:c,selection:l});case 19:case"end":return s.stop()}}),b)}function E(e,t,n,r){var o,i;return s().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!e.endpoint){a.next=6;break}return a.next=3,(0,u.T1)(x,e,t,n);case 3:a.t0=a.sent,a.next=7;break;case 6:a.t0={};case 7:return o=a.t0,a.next=10,(0,u.T1)(A,r);case 10:return i=a.sent,a.next=13,(0,u.T1)(O,e,t,r,o,i);case 13:return a.abrupt("return",a.sent);case 14:case"end":return a.stop()}}),w)}},17623:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(92207),o=n.n(r),i=n(90167),a=n(72942),c=n(87774),s=n(28192),u=n(27493),l=n(18654),f=o().mark(d);function d(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.Q7)([(0,i.jP)(u.ACTION_INVOKE,p,e)]);case 2:case"end":return t.stop()}}),f)}function p(e,t){var n=t.payload;return o().mark((function t(){var r,f,d,p,h,m,v,y,g,b,w;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.definition,f=n.selection,d=n.parent,t.next=3,(0,i.Lt)(e);case 3:return p=t.sent,t.next=6,(0,i.T1)(l.A,r,f,d,p);case 6:if(h=t.sent,m=h.abort,v=h.abortMessage,y=h.params,g=h.selection,m){t.next=24;break}return b=s.A[r.actionType],t.next=15,(0,i.T1)(b,r,g,d,y,p);case 15:if(!(w=t.sent)||!w.remoteEvents){t.next=19;break}return t.next=19,(0,i.Q7)(w.remoteEvents.map((function(e){return(0,i.yJ)(c.A.remoteEvent(e))})));case 19:if(!w||!w.success){t.next=22;break}return t.next=22,(0,i.yJ)(u.actionInvoked(r,g,w));case 22:t.next=27;break;case 24:if(!v){t.next=27;break}return t.next=27,(0,i.yJ)(a.A.toaster({type:"error",title:v}));case 27:case"end":return t.stop()}}),t)}))()}},78350:(e,t,n)=>{"use strict";n.d(t,{W9:()=>v,WC:()=>g,bl:()=>y,vN:()=>m});var r=n(26396),o=n.n(r),i=n(40860),a=n.n(i),c=n(5556),s=n.n(c),u=n(47383),l=n(68216);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p="generalSettings",h="recipientSettings",m=(Object.freeze({DISPLAY:"display",DOWNLOAD:"download"}),function(e,t){var n=function(n){return o()({},n,(e[n]||[]).reduce((function(e,n){return d(d({},e),{},o()({},n.id,t[n.id]))}),{}))};return d(d({},n(p)),n(h))}),v=function(e,t){return(0,l.t_)(e).reduce((function(e,n){return d(d({},e),u.A.isDefined(t[n.id])?o()({},n.id,t[n.id]):{})}),{})},y=function(e){var t=function(e){return null!=e&&e.key?e.key:e};return a()(e,(function(e,n,r){return d(d({},e),{},o()({},r,Array.isArray(n)?n.map(t):t(n)))}),{})},g=function(e,t){var n=function(e){return t.formatMessage({id:e})},r=function(t){return(e[t]||[]).map((function(e){return{children:[d(d(d({componentType:"field",dataType:e.dataType,defaultValue:e.defaultValue,id:e.id,label:e.label||e.description,path:e.id},e.targetEntity?{targetEntity:e.targetEntity}:{}),e.validation?{validation:e.validation}:{}),e.options?{options:e.options}:{})],componentType:"field-set",hidden:!1,id:e.id,label:e.label||e.description,readonly:e.disabled,scopes:[]}}))};return{componentType:"form",label:null,modelid:"Bill_report_settings",modelName:"",readonly:!1,children:[{componentType:"layout",id:"generalSettings",label:n("client.common.report.generalSettings"),layoutType:"vertical-box",children:r(p)},{componentType:"layout",id:"recipientSettings",label:n("client.common.report.recipientSettings"),layoutType:"vertical-box",children:r(h)}]}};s().shape({customSettings:s().shape({form:s().object,entity:s().object}),generalSettings:s().array,recipient:s().array,description:s().shape({name:s().string.isRequired})})},53716:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var r=function(e,t){return{entityName:e,type:"ID",ids:[t],count:1}}},26289:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(4883),o=n(60991),i=n(71468),a=n(44518),c=n(81764),s=n(36581),u=n(63387),l=n(65237),f=(n(63645),n(74848));const d=function(e){var t=e.store,d=e.content,p=e.theme,h=(0,r.useCallback)((function(e){e&&n.e(310).then(n.bind(n,37107)).then((function(t){t.dom.watch({autoReplaceSvgRoot:e,observeMutationsRoot:e})}))}),[]);return(0,f.jsx)(i.Kq,{store:t,children:(0,f.jsx)(l.A,{customTheme:p,children:(0,f.jsx)(c.A.KeyDownWatcher,{className:a.e,children:(0,f.jsx)(s.A,{children:(0,f.jsx)(o.Dk,{children:(0,f.jsx)(u.n,{ref:h,children:d})})})})})})}},43215:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(88208),o=n(74848);const i=function(e){var t=e.children,n=e.intlInitialised,i=e.cacheInitialised;return(0,o.jsx)(r.A,{required:[i,n],children:t})}},74932:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(71468),o=n(43215);const i=(0,r.Ng)((function(e){return{intlInitialised:!e.app||e.app.intlInitialised,cacheInitialised:!e.app||e.app.cacheInitialised}}))(o.A)},36581:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(74932).A},63387:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var r,o=n(72189),i=n.n(o),a=n(51510).Ay.div.withConfig({displayName:"StyledApp"})(r||(r=i()(["\n display: flex;\n flex-direction: column;\n height: 100%;\n"])))},71476:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(55364),i=n.n(o),a=n(4883),c=n(51510),s=n(94200),u=n(29436),l=n(7068),f=n(7250),d=n(38159),p=n(74848);const h=(0,c.SL)((function(e){var t=e.themeType,n=e.customTheme,o=e.children,h=e.theme,m=function(e){return d.A.getEmbedType()===d.A.EmbedType.widget?u.A:"light"===e?s.A.defaultTheme:s.A.darkTheme}(t),v=(0,a.useMemo)((function(){return i()({},m,n)}),[m,n]);return(0,p.jsx)(c.NP,{theme:h||v,children:(0,p.jsxs)(c.ID,{shouldForwardProp:l.A.shouldForwardProp,children:[r||(r=(0,p.jsx)(f.A,{})),o]})})}))},65237:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(20577),i=n(71476),a={setThemeType:o.kd};const c=(0,r.Ng)((function(e){return{themeType:e.theme.themeType}}),a)(i.A)},37959:(e,t,n)=>{"use strict";n.d(t,{Cq:()=>g,Ef:()=>y,HA:()=>w,P2:()=>b,wr:()=>x});var r=n(79092),o=n.n(r),i=n(92207),a=n.n(i),c=n(80299),s=n.n(c),u=n(5338),l=n(19461),f=n(59042),d=n(26289),p=n(71067),h=n(62904),m=n(20577),v=n(74848),y=function(e,t,n,r){var i=r.input,c=void 0===i?{}:i,u=r.actions,y=void 0===u?void 0:u,g=r.publicPath,b=void 0===g?void 0:g,w=r.textResourceModules,x=void 0===w?[]:w;try{var E=c.customTheme;b&&O(b),y&&A(y,n),n.dispatch((0,h.D4)());var S=c?c.locale:null,k=s()([e],x);n.dispatch((0,p.pk)(k)),n.dispatch((0,p.mW)({shouldSetupIntl:!0,locale:S})),n.dispatch((0,m.Cq)());var j=function(){var e=o()(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",n.dispatch((0,p.pL)(t)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return{component:(0,v.jsx)(d.A,{store:n,content:t,theme:E}),store:n,methods:{setLocale:j}}}catch(e){try{n.dispatch(f.A.logError("Error","Error creating react application: ",e))}catch(t){l.A.logError("Error creating react application: ",e),l.A.logError("Unable to log error: ",t)}}},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"root",n=document.getElementById(t);(0,u.H)(n).render(e)},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"root",n=document.getElementById(t);(0,u.H)(n).unmount(),g(e,t)},w=function(e,t){window.reactRegistry&&window.reactRegistry.register(e,t)},x=function(e,t,n){return{name:e,init:t,App:n,setWebpacksPublicPath:O}},A=function(e,t){e.forEach((function(e){t.dispatch(e)}))},O=function(e){n.p=e}},61402:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(37959),o=n(61473),i=n(62904),a=n(37821),c=n(20577),s=n(43378);const u={renderApp:r.Cq,reloadApp:r.P2,createApp:r.Ef,createStore:a.y,registerAppInRegistry:r.HA,createBundleableApp:r.wr,useApp:s.A,getEvents:s.k,setInput:i.zF,inputChanged:i.Ru,initThemeType:c.Cq,setThemeType:c.kd,INPUT_CHANGED:i.We,INPUT_INITIALIZED:i.SN,reinitialiseCache:o.H6,forceCacheInvalidation:o.I4}},71067:(e,t,n)=>{"use strict";n.d(t,{CA:()=>o,H6:()=>c,SI:()=>r,Vu:()=>d,_$:()=>i,mW:()=>p,pL:()=>l,pk:()=>f,rR:()=>a,rl:()=>u,sj:()=>s,wT:()=>h});var r="app/SETUP_INTL",o="app/CHANGE_LOCALE",i="app/SET_TEXT_RESOURCE_MODULES",a="app/SET_INTL_INITIALISED",c="app/INITIALISE_CACHE",s="app/SET_CACHE_INITIALISED",u=function(e){return{type:r,payload:{locale:e}}},l=function(e){return{type:o,payload:{locale:e}}},f=function(e){return{type:i,payload:{textResourceModules:e}}},d=function(e){return{type:a,payload:{intlInitialised:e}}},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.shouldSetupIntl,n=void 0!==t&&t,r=e.forceInvalidation,o=void 0!==r&&r,i=e.locale;return{type:c,payload:{shouldSetupIntl:n,forceInvalidation:o,locale:i}}},h=function(e){return{type:s,payload:{cacheInitialised:e}}}},42944:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});const r=n(80884).A},80884:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(71067),c=o()(o()(o()({},a._$,i.A.singleTransferReducer("textResourceModules")),a.rR,i.A.singleTransferReducer("intlInitialised")),a.sj,i.A.singleTransferReducer("cacheInitialised")),s={textResourceModules:[],intlInitialised:!1,cacheInitialised:!1};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},61473:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,H6:()=>x,I4:()=>A});var r=n(92207),o=n.n(r),i=n(90167),a=n(94727),c=n(7054),s=n(71067),u=n(41401),l=o().mark(v),f=o().mark(y),d=o().mark(A),p=function(e){return e.app},h=!1,m=function(){h=!1};function v(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.Q7)([(0,i.p8)(s.SI,g),(0,i.p8)(s.CA,b),(0,i.p8)(s.H6,w)]);case 2:case"end":return e.stop()}}),l)}function y(e){var t,n,r;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,i.Lt)(p);case 2:return t=o.sent,n=t.textResourceModules,o.next=6,(0,i.T1)(a.A.getChangeLocaleAction,n,e);case 6:return r=o.sent,o.next=9,(0,i.yJ)(r);case 9:case"end":return o.stop()}}),f)}function g(e){var t=e.payload.locale;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t){e.next=5;break}return e.next=4,(0,i.T1)(a.A.getUserLocale);case 4:n=e.sent;case 5:return e.next=7,(0,i.T1)(y,n);case 7:return e.next=9,(0,i.yJ)(s.Vu(!0));case 9:case"end":return e.stop()}}),e)}))()}function b(e){var t=e.payload.locale;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(x,{locale:t});case 2:return e.next=4,(0,i.T1)(y,t);case 4:case"end":return e.stop()}}),e)}))()}function w(e){var t=e.payload,n=t.shouldSetupIntl,r=t.forceInvalidation,a=t.locale;return o().mark((function e(){var t,l,f,d;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!h){e.next=7;break}return e.next=3,(0,i.yJ)(s.wT(!0));case 3:if(!n){e.next=6;break}return e.next=6,(0,i.yJ)(s.rl(a));case 6:return e.abrupt("return");case 7:return e.next=9,(0,i.T1)(u.g3,{locale:a});case 9:if(t=e.sent,l=t.invalidObjectCache,f=t.invalidLongTermCache,d=t.cache,!f&&!r){e.next=18;break}return e.next=16,(0,i.T1)(u.M5);case 16:return e.next=18,(0,i.T1)(u.UR,d);case 18:if(!l&&!r){e.next=25;break}return e.next=21,(0,i.T1)(u.fX);case 21:return e.next=23,(0,i.T1)(u.he,d);case 23:return e.next=25,(0,i.T1)(c.A.clearPersistedViews);case 25:return h=!0,e.next=28,(0,i.yJ)(s.wT(!0));case 28:if(!n){e.next=31;break}return e.next=31,(0,i.yJ)(s.rl(a));case 31:case"end":return e.stop()}}),e)}))()}function x(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).locale;return o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.T1)(m);case 2:return t.next=4,(0,i.yJ)(s.mW({shouldSetupIntl:!1,locale:e}));case 4:return t.next=6,(0,i.s)(s.sj);case 6:case"end":return t.stop()}}),t)}))()}function A(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(m);case 2:return e.next=4,(0,i.yJ)(s.mW({shouldSetupIntl:!1,forceInvalidation:!0}));case 4:return e.next=6,(0,i.s)(s.sj);case 6:case"end":return e.stop()}}),d)}},41401:(e,t,n)=>{"use strict";n.d(t,{M5:()=>d,UR:()=>h,fX:()=>p,g3:()=>f,he:()=>m});var r=n(92207),o=n.n(r),i=n(90167),a=n(94727),c=n(18242),s=n(57327),u=o().mark(d),l=o().mark(p);function f(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).locale;return o().mark((function t(){var n,r,u,l,f,d,p,h,m,v,y,g,b,w,x,A;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.T1)(s.A.fetchServerRevision);case 2:return n=t.sent,t.next=5,(0,i.T1)(a.A.loadUserWithLocale);case 5:return r=t.sent,u=r.locale,l=r.username,f=r.businessUnitId,d=e||u,p=c.A.getObjectCacheMetaInfo(),h=p.locale,m=p.businessUnitId,v=p.username,y=c.A.getLongTermMetaInfo(),g=y.revision,b=!h||h!==d,w=m!==f,x=v!==l,A=g!==n,t.abrupt("return",{invalidObjectCache:b||w||x,invalidLongTermCache:A,cache:{locale:d,businessUnitId:f,username:l,revision:n}});case 15:case"end":return t.stop()}}),t)}))()}function d(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.clearLongTerm);case 2:case"end":return e.stop()}}),u)}function p(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.clearObjectCache);case 2:case"end":return e.stop()}}),l)}function h(e){var t=e.revision;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.setLongTermMetaInfo,{revision:t});case 2:case"end":return e.stop()}}),e)}))()}function m(e){var t=e.locale,n=e.businessUnitId,r=e.username;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.setObjectCacheMetaInfo,{locale:t,businessUnitId:n,username:r});case 2:case"end":return e.stop()}}),e)}))()}},62904:(e,t,n)=>{"use strict";n.d(t,{D4:()=>u,Ru:()=>l,SN:()=>c,We:()=>a,kv:()=>i,zF:()=>s});var r=n(26396),o=n.n(r),i="input/SET_INPUT",a="input/INPUT_CHANGED",c="input/INPUT_INITIALIZED",s=function(e,t){return{type:i,payload:o()({},e,t)}},u=function(){return{type:c}},l=function(e,t){return{type:a,payload:{input:e,prevInput:t}}}},92699:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});const r=n(18459).A},18459:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(62904);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var s=o()({},i.kv,(function(e,t){var n=t.payload;return c(c({},e),n)})),u={};function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0,n=s[t.type];return n?n(e,t):e}},37821:(e,t,n)=>{"use strict";n.d(t,{y:()=>A});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(20038),s=n(60991),u=n(14644),l=n(32742),f=n(90167),d=n(29056),p=n(14672),h=n(59042),m=n(42944),v=n(61473),y=n(92699),g=n(70306),b=n(41011);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=function(e){var t=window.__INITIAL_STATE__||{};return e&&(t.input=e,t.intl={locale:e.locale}),t}(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),r=(0,l.Ay)(),i=x(x({},e),{},{input:y.Ay,app:m.Ay,intl:s.oi,theme:g.Ay});e=(0,u.HY)(i);var a=(0,c.U1)({reducer:e,devTools:undefined,preloadedState:n,middleware:function(e){return[r]}}),w=[v.Ay,b.A].concat(o()(t||[]));if(a.allReducers=i,a.sagas=w,a.sagaMiddleware=r,a.hotReloadReducers=d.A.hotReloadReducers,w&&w.length>0){var A=p.A.createGenerator(w.map((function(e){return(0,f.Zy)(e)})));r.run(p.A.autoRestartSaga(A,null,h.A.logError))}return a}},20577:(e,t,n)=>{"use strict";n.d(t,{Cq:()=>i,kd:()=>a,nn:()=>r,tS:()=>o});var r="theme/INIT_THEMETYPE",o="theme/SET_THEMETYPE",i=function(){return{type:r}},a=function(e){return{type:o,payload:{themeType:e}}}},70306:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});const r=n(80462).A},80462:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(20577),c=o()({},a.tS,i.A.singleTransferReducer("themeType")),s={themeType:"light"};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},41011:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(18242),c=n(20577),s=o().mark(l),u=o().mark(f);function l(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.Q7)([(0,i.p8)(c.nn,f)]);case 2:case"end":return e.stop()}}),s)}function f(){var e,t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.A.getLongTerm,"admin","theme");case 2:return e=n.sent,t=e||"light",n.next=6,(0,i.yJ)(c.kd(t));case 6:case"end":return n.stop()}}),u)}},43378:(e,t,n)=>{"use strict";n.d(t,{A:()=>b,k:()=>g});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(62193),s=n.n(c),u=n(2404),l=n.n(u),f=n(71086),d=n.n(f),p=n(4883),h=n(7311),m=n(62904);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=function(e,t){return e.reduce((function(e,n){return y(y({},e),t[n]?o()({},n,t[n]):{})}),{})};const b=function(e){var t,n=e.initApp,r=e.props,o=e.packageName,i=e.externalEvents,c=void 0===i?[]:i,u=(0,p.useState)(null),f=a()(u,2),v=f[0],y=f[1],b=null==v?void 0:v.store,w=v?v.component:null,x=(null==b||null===(t=b.getState())||void 0===t?void 0:t.input)||{};return(0,p.useEffect)((function(){y(n(o,r,g(c,r)))}),[]),h.A.useDidUpdate((function(){var e,t,n,o=d()(r,(function(e,t){return!l()(e,x[t])})),i=d()(x,(function(e,t){return Object.keys(o).includes(t)}));!s()(o)&&b&&(e=o,t=i,n=Object.keys(e).map((function(t){return(0,m.zF)(t,e[t])})),n.length>0&&n.push((0,m.Ru)(e,t)),n).forEach((function(e){b.dispatch(e)}))}),[r,x]),{component:w,setApp:y,store:b}}},42625:(e,t,n)=>{"use strict";n.d(t,{g:()=>r,v:()=>o});var r="tocco-util/LOG_ERROR",o=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Date.now();return{type:r,payload:{title:e,description:t,error:n,dateTime:o}}}},94075:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r,o=n(82274),i=n.n(o),a=n(65044),c=n.n(a),s=n(65611),u=n.n(s),l=n(18337),f=n.n(l),d=n(56994),p=n.n(d),h=n(4883),m=n(78928),v=n(74848);function y(e,t,n){return t=f()(t),u()(e,g()?Reflect.construct(t,n||[],f()(e).constructor):t.apply(e,n))}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}const b=function(e){function t(e){var n;return i()(this,t),(n=y(this,t,[e])).state={hasError:!1,error:null},n}return p()(t,e),c()(t,[{key:"componentDidCatch",value:function(e){var t=this.props,n=t.logError,r=t.intl;n(r.formatMessage({id:"client.component.errorBoundary.notificationTitle"}),r.formatMessage({id:"client.component.errorBoundary.notificationDescription"}),e)}},{key:"render",value:function(){return this.state.hasError?r||(r=(0,v.jsx)(m.A,{})):this.props.children||null}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0,error:e}}}])}(h.Component)},70192:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(38798),o=n(71468),i=n(42625),a=n(94075),c={logError:i.v};const s=(0,o.Ng)(null,c)((0,r.Ay)(a.A))},93899:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(29056),o=n(54382),i=n(70323),a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];t&&r.A.injectReducers(e,{errorLogging:o.A}),e.sagaMiddleware.run(i.Ay,t,n)}},14217:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(11223),o=n(82520),i=n(14568);const a={console:r.A,notification:o.A,remote:i.A}},11223:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(19461),c=o().mark(s);function s(e,t,n){return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,i.T1)(a.A.logError,"".concat(e,": \n").concat(t,"\n"),n);case 2:case"end":return r.stop()}}),c)}},82520:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(72942),c=o().mark(s);function s(e,t,n){var r;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.A.toaster,{type:"error",title:e,body:t});case 2:return r=n.sent,n.next=5,(0,i.yJ)(r);case 5:case"end":return n.stop()}}),c)}},14568:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(4642),c=o().mark(s);function s(e,t,n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(a.A.logException,n);case 2:case"end":return e.stop()}}),c)}},59042:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(42625),o=n(70192),i=n(93899);const a={logError:r.v,addToStore:i.Y,ErrorBoundary:o.A}},54382:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(42625);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=a()({},c.g,(function(e,t){var n=t.payload,r=n.title,i=n.description,a=n.error,c=n.dateTime;return u(u({},e),{},{messages:[{title:r,description:i,error:a,dateTime:c}].concat(o()(e.messages)).slice(0,100)})})),f={messages:[]};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0,n=l[t.type];return n?n(e,t):e}},70323:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(42625),s=n(14217),u=o().mark(f),l=o().mark(p);function f(e,t){return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e){n.next=5;break}return n.next=3,(0,i.jP)(c.g,d,t);case 3:n.next=7;break;case 5:return n.next=7,(0,i.jP)(c.g,p);case 7:case"end":return n.stop()}}),u)}function d(e,t){var n=t.payload;return o().mark((function t(){var r,a,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.title,a=n.description,c=n.error,t.next=3,(0,i.Q7)(e.map((function(e){return(0,i.T1)(s.A[e],r,a,c)})));case 3:case"end":return t.stop()}}),t)}))()}function p(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),l)}},60004:(e,t,n)=>{"use strict";n.d(t,{P5:()=>a,aX:()=>i,w2:()=>r,zR:()=>o});var r="externalEvents/FIRE_EXTERNAL_EVENT",o="externalEvents/FIRE_VISIBILITY_STATUS_CHANGE_EVENT",i=function(e,t){return{type:r,payload:{name:e,payload:t}}},a=function(e){return{type:o,payload:{status:e}}}},43913:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i,g:()=>o});var r=n(12170),o=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];e&&e[t]&&e[t].apply(e,r)},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return{}};e.sagaMiddleware.run(r.Ay,t)}},28391:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(60004),o=n(43913),i=n(21022);const a={fireExternalEvent:r.aX,fireVisibilityStatusChangeEvent:r.P5,addToStore:o.Y,createPropTypes:i.R}},12170:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m});var r=n(85735),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(38159),u=n(60004),l=n(43913),f=a().mark(m),d=a().mark(v),p=a().mark(y),h=a().mark(b);function m(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.Q7)([(0,c.jP)(u.w2,y,e),(0,c.jP)(u.w2,b,e),(0,c.jP)(u.zR,w)]);case 2:case"end":return t.stop()}}),f)}function v(e){var t;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.Lt)(e);case 2:if(!(t=n.sent)){n.next=5;break}return n.abrupt("return","object"===o()(null==t?void 0:t.events)?t:{events:t});case 5:return n.abrupt("return",null);case 6:case"end":return n.stop()}}),d)}function y(e,t){var n,r,o,i,s;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=t.payload,r=n.name,o=n.payload,a.next=3,(0,c.T1)(v,e);case 3:return i=a.sent,s=i.events,a.next=7,(0,c.T1)(l.g,s,r,o);case 7:case"end":return a.stop()}}),p)}function g(e,t){return"string"==typeof e?{name:e,payload:t}:"function"==typeof e?e(t):e}function b(e,t){var n,r,i,s,l,f;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return n=t.payload,r=n.name,i=n.payload,a.next=3,(0,c.T1)(v,e);case 3:if(s=a.sent,l=s.eventMap,!(l&&["string","function","object"].includes(o()(l[r])))){a.next=10;break}return f=g(l[r],i),a.next=10,(0,c.yJ)(u.aX(f.name,f.payload));case 10:case"end":return a.stop()}}),h)}function w(e){var t=e.payload;return a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!s.A.isInWidgetEmbedded()){e.next=3;break}return e.next=3,(0,c.yJ)(u.aX("onVisibilityStatusChange",t));case 3:case"end":return e.stop()}}),e)}))()}},21022:(e,t,n)=>{"use strict";n.d(t,{R:()=>u});var r=n(26396),o=n.n(r),i=n(5556),a=n.n(i);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(e){return e.reduce((function(e,t){return s(s({},e),{},o()({},t,a().func))}),{})}},58364:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Object.freeze({FIELD_SET:"field-set",FIELD:"field",ACTION:"action",ACTION_BAR:"action-bar",LAYOUT:"layout",TABLE:"table",SUB_TABLE:"sub-table",DISPLAY:"display",TERMS:"terms"})},68216:(e,t,n)=>{"use strict";n.d(t,{Hm:()=>b,kV:()=>h,t_:()=>m,wW:()=>w,wY:()=>g});var r=n(26396),o=n.n(r),i=n(21259),a=n.n(i),c=n(44383),s=n.n(c),u=n(63375),l=n.n(u),f=n(58364);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e,t){return"input-".concat(e,"-").concat(t)},m=function(e){return y(e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1])},v=[f.A.FIELD,f.A.DISPLAY,f.A.TERMS],y=function(e,t){for(var n=[],r=0;r<e.children.length;r++){e.children[r].children&&n.push.apply(n,a()(y(e.children[r],t)));var o=e.children[r].componentType;!v.includes(o)||t&&!0===e.hidden||n.push(p(p({},e.children[r]),{},{readonly:e.readonly,ignoreCopy:e.ignoreCopy}))}return n},g=function(e){return e.filter((function(e){return null!==e.defaultValue&&void 0!==e.defaultValue})).reduce((function(e,t){return p(p({},e),{},o()({},t.path||t.id,t.defaultValue))}),{})},b={location:function(e){var t=s()(e.locationMapping,["postcode","city"]);return{mapping:t,paths:Object.values(t).filter(Boolean)}},address:function(e){var t=s()(e.locationMapping,["street"]);return{mapping:t,paths:Object.values(t).filter(Boolean)}}},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};return l()(e.filter((function(e){return e.componentType===f.A.FIELD&&t(e)})).reduce((function(e,t){return[].concat(a()(e),a()(b[t.dataType]?b[t.dataType](t).paths:[t.path||t.id]))}),[]))}},91358:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(26396),o=n.n(r),i=n(39892),a=n.n(i),c=n(4883),s=n(19917),u=n(81868),l=n(74848),f=["config","children","keyDownHandler"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const h=function(e){var t=e.config,n=e.children,r=e.keyDownHandler,o=a()(e,f),i=(0,c.useCallback)((function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=(0,s.C)(t,e,n);o&&(e.preventDefault(),e.stopPropagation()),r(o)}),[t,r]);return(0,c.useEffect)((function(){var e=function(e){return i(e,!0)};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[i]),(0,l.jsx)(u.r,p(p({tabIndex:"0",onKeyDown:i},o),{},{children:n}))}},66079:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(58959),i=n(91358),a={keyDownHandler:o.u2};const c=(0,r.Ng)((function(e){var t;return{config:(null===(t=e.keyDown)||void 0===t?void 0:t.config)||[]}}),a)(i.A)},81868:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(57488),s=a.Ay.div.withConfig({displayName:"StyledKeyDownWatcher"})(r||(r=i()(["\n display: contents;\n\n :focus-visible {\n outline: 2px solid ",";\n }\n"])),c.t7.color("signal.info"))},69952:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(29056),o=n(10656),i=n(12405),a=function(e,t){r.A.injectReducers(e,{keyDown:o.A}),e.sagaMiddleware.run(i.Ay,t)}},58959:(e,t,n)=>{"use strict";n.d(t,{Nk:()=>i,R:()=>o,sE:()=>r,u2:()=>a});var r="keyDown/SET_CONFIG",o="keyDown/KEY_DOWN",i=function(e){return{type:r,payload:{config:e}}},a=function(e){return{type:o,payload:{config:e}}}},81764:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(69952),o=n(58959),i=n(66079);const a={keyDown:o.u2,addToStore:r.Y,KeyDownWatcher:i.A}},10656:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(58959),c=o()({},a.sE,i.A.singleTransferReducer("config")),s={config:[]};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},12405:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u});var r=n(92207),o=n.n(r),i=n(90167),a=n(58959),c=o().mark(u),s=o().mark(l);function u(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.Q7)([(0,i.T1)(l,e),(0,i.jP)(a.R,f)]);case 2:case"end":return t.stop()}}),c)}function l(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.Nk(e));case 2:case"end":return t.stop()}}),s)}function f(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.config)){e.next=4;break}return e.next=4,(0,i.Q7)(n.actions.map((function(e){return(0,i.yJ)(e)})));case 4:case"end":return e.stop()}}),e)}))()}},19917:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var r=function(e,t,n){return e.find((function(e){return(e.code===t.code||e.key===t.key)&&(e.ctrl?e.ctrl===t.ctrlKey||e.ctrl===t.metaKey:e.ctrl===t.ctrlKey&&e.ctrl===t.metaKey)&&e.alt===t.altKey&&n===e.global}))}},57537:(e,t,n)=>{"use strict";n.d(t,{ED:()=>o,KG:()=>r,QC:()=>a,qM:()=>i,sr:()=>s,ur:()=>c});var r="login/SET_LOGGED_IN",o="login/SET_ADMIN_ALLOWED",i="login/DO_SESSION_CHECK",a=function(e){return{type:r,payload:{loggedIn:e}}},c=function(e){return{type:o,payload:{adminAllowed:e}}},s=function(){return{type:i}}},96450:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(57537),o=n(51652),i=n(7731);const a={addToStore:o.Y,setLoggedIn:r.QC,SET_LOGGED_IN:r.KG,setAdminAllowed:r.ur,doSessionCheck:r.sr,doSessionRequest:i.ZW,doRequest:i.p0}},51652:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(29056),o=n(52942),i=n(7731),a=function(e){r.A.injectReducers(e,{login:o.A}),e.sagaMiddleware.run(i.Ay)}},52942:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(26396),o=n.n(r),i=n(29056),a=n(57537),c=o()(o()({},a.KG,i.A.singleTransferReducer("loggedIn")),a.ED,i.A.singleTransferReducer("adminAllowed")),s={loggedIn:void 0,adminAllowed:void 0};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0,n=c[t.type];return n?n(e,t):e}},7731:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,ZW:()=>h,p0:()=>p});var r=n(92207),o=n.n(r),i=n(90167),a=n(19461),c=n(79253),s=n(72942),u=n(57537),l=o().mark(h),f=o().mark(m),d=o().mark(v);function p(e,t){return c.A.executeRequest(e,t).then(c.A.extractBody).catch((function(e){return a.A.logError("Failed to execute request",e),{success:!1}}))}function h(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(p,"session",{method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),l)}function m(){var e,t,n;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,i.T1)(h);case 2:return e=r.sent,t=e.success,n=e.adminAllowed,r.next=7,(0,i.yJ)(u.ur(n));case 7:return r.next=9,(0,i.yJ)(u.QC(t));case 9:return r.next=11,(0,i.yJ)(s.A.connectSocket());case 11:case"end":return r.stop()}}),f)}function v(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.Q7)([(0,i.p8)(u.qM,m)]);case 2:case"end":return e.stop()}}),d)}},75302:(e,t,n)=>{"use strict";n.d(t,{E:()=>b,T:()=>w});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(57327),u=n(59939),l=a().mark(b),f=a().mark(w);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={failed:"error",info:"info",warning:"warning",success:"success"},m="running_infinite",v="running_absolute",y="pending",g=function(e){return e.status&&(e.status===y||e.status===v||e.status===m)};function b(e){var t;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=p(p({},e),{},{type:h[e.type]||"info",result:e.result?JSON.parse(e.result):null,taskProgress:e.taskProgress?p(p({},e.taskProgress),{},{isRunning:g(e.taskProgress),percentage:Math.round(100/e.taskProgress.total*e.taskProgress.done)}):null}),n.next=3,(0,c.T1)(w,t.result);case 3:return t.result=n.sent,n.abrupt("return",t);case 5:case"end":return n.stop()}}),l)}function w(e){var t,n,r,o,i,l;return a().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(!e||e.type!==u.Hz.outputjob){a.next=14;break}return t=null,a.prev=2,n=e.content[0].key,a.next=6,(0,c.T1)(s.A.fetchEntity,"Output_job",n,{paths:["document"]});case 6:r=a.sent,o=r.paths.document.value,i=o.fileName,l=o.binaryLink,t={name:i,link:l,description:e.content[0].display},a.next=13;break;case 11:a.prev=11,a.t0=a.catch(2);case 13:return a.abrupt("return",p(p({},e),{},{file:t}));case 14:return a.abrupt("return",e);case 15:case"end":return a.stop()}}),f,null,[[2,11]])}},77376:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(85015),o=n.n(r),i=n(58065),a=n(33563),c=n(74848);const s=function(e){var t,n=e.children;return o()(n)?(t=n)&&/<\/?[a-zA-Z0-9]*\/?>/.test(t)?(0,c.jsx)(a.A,{type:"html",value:n}):function(e){return e&&e.startsWith("client.")}(n)?(0,c.jsx)(i.A,{id:n}):(0,c.jsx)("span",{children:n}):n}},67529:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(77376).A},17872:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(67529),o=n(72736),i=n(74848);const a=function(e){var t=e.notification.message;return t&&0!==t.trim().length?(0,i.jsx)(o.z5,{children:(0,i.jsx)(r.A,{children:t})}):null}},42832:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(17872),o=n(93870),i=n(96989),a=n(74848);const c=function(e){var t=e.notification,n=e.cancelTask,c=e.navigationStrategy,s=t.result,u=t.taskProgress;return s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.A,{notification:t}),(0,a.jsx)(o.A,{notification:t,navigationStrategy:c})]}):u?(0,a.jsx)(i.A,{notification:t,navigationStrategy:c,cancelTask:n}):(0,a.jsx)(r.A,{notification:t})}},93870:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(59939),a=n(91558),c=n(58123),s=n(74848),u=o()(o()({},i.Hz.outputjob,c.A),i.Hz.entities,a.A);const l=function(e){var t=e.notification,n=e.navigationStrategy,r=t.result.type;if(u[r]){var o=u[r];return(0,s.jsx)(o,{notification:t,navigationStrategy:n})}return console.log("No Result mapper defined for type",r),null}},72736:(e,t,n)=>{"use strict";n.d(t,{Bj:()=>x,Ey:()=>O,Me:()=>S,Rd:()=>j,Yi:()=>b,o0:()=>k,tJ:()=>g,vv:()=>E,wV:()=>w,z5:()=>A});var r,o,i,a,c,s,u,l,f,d,p=n(72189),h=n.n(p),m=n(51510),v=n(26166),y=n(57488),g=m.Ay.div.withConfig({displayName:"StyledTaskProgressWrapper"})(r||(r=h()(["\n margin-bottom: ",";\n\n a {\n padding-right: 1rem;\n }\n"])),v.A.space(-1.5)),b=m.Ay.span.withConfig({displayName:"StyledSpinnerWrapper"})(o||(o=h()(["\n margin-right: ",";\n"])),v.A.space(-1.5)),w=m.Ay.div.withConfig({displayName:"StyledProgressOuter"})(i||(i=h()(["\n border: 0.5px solid ",";\n width: 100%;\n height: 5px;\n"])),y.t7.color("paper")),x=m.Ay.div.withConfig({displayName:"StyledProgressInner"})(a||(a=h()(["\n background-color: ",";\n width: ","%;\n height: 5px;\n"])),y.t7.color("paper"),(function(e){return e.percentage})),A=m.Ay.span.withConfig({displayName:"StyledMessage"})(c||(c=h()(["\n margin-right: ",";\n"])),v.A.space(-2)),O=m.Ay.div.withConfig({displayName:"StyledDetailLinkWrapper"})(s||(s=h()(["\n margin-top: ",";\n margin-bottom: ",";\n\n * {\n font-size: ",";\n text-decoration: none;\n }\n"])),v.A.space(-2),v.A.space(-2),v.A.font(-1)),E=m.Ay.div.withConfig({displayName:"StyledOutputJobWrapper"})(u||(u=h()(["\n a {\n color: ",";\n text-decoration: none;\n\n &:link {\n color: ","; /* nice2 reset */\n }\n\n &:hover {\n text-decoration: underline;\n }\n }\n"])),y.t7.color("text"),y.t7.color("text")),S=m.Ay.div.withConfig({displayName:"StyledFileDescription"})(l||(l=h()(["\n margin-bottom: ",";\n\n && {\n a {\n text-decoration: underline;\n }\n }\n"])),v.A.space(0)),k=m.Ay.span.withConfig({displayName:"StyledIconWrapper"})(f||(f=h()(["\n padding-right: ",";\n"])),v.A.space(-1.5)),j=m.Ay.div.withConfig({displayName:"StyledCancelWrapper"})(d||(d=h()(["\n color: ",";\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n cursor: pointer;\n }\n"])),y.t7.color("text"))},96989:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r,o,i,a,c,s=n(58065),u=n(69556),l=n(64116),f=n(59939),d=n(17872),p=n(72736),h=n(74848);const m=function(e){var t=e.notification,n=e.cancelTask,m=e.navigationStrategy,v=t.taskProgress,y=(null==m?void 0:m.DetailLink)&&"completed"!==v.status,g=t.type===f.QE.info&&v.isRunning&&v.supportsCancellation;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(p.tJ,{children:[(0,h.jsx)(p.Yi,{children:v.isRunning&&(r||(r=(0,h.jsx)(u.A,{})))}),(0,h.jsx)(d.A,{notification:t})]}),"running_absolute"===v.status&&(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(p.wV,{children:(0,h.jsx)(p.Bj,{percentage:v.percentage})})}),(0,h.jsx)(p.Ey,{children:y&&(0,h.jsxs)(m.DetailLink,{entityName:"Task_execution",entityKey:v.taskExecutionKey,children:[o||(o=(0,h.jsx)(p.o0,{children:(0,h.jsx)(l.A,{icon:"arrow-right"})})),i||(i=(0,h.jsx)(s.A,{id:"client.common.notification.outputJobShowTask"}))]})}),g&&(0,h.jsxs)(p.Rd,{onClick:function(){return n(v.taskExecutionKey)},children:[a||(a=(0,h.jsx)(p.o0,{children:(0,h.jsx)(l.A,{icon:"times"})})),c||(c=(0,h.jsx)(s.A,{id:"client.common.notification.cancelTask"}))]})]})}},72543:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});const r=n(42832).A},91558:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r,o=n(22056),i=n.n(o),a=n(94394),c=n.n(a),s=n(58065),u=n(39319),l=n(56775),f=n(64116),d=n(72736),p=n(74848),h=function(e){var t=e.hasTooManyEntities,n=e.children;return t?(0,p.jsx)(u.A,{content:(0,p.jsx)(l.Ay.P,{children:(0,p.jsx)(s.A,{id:"client.common.notification.tooManyRecords",values:{max:100}})}),placement:"top",children:n}):n};const m=function(e){var t=e.notification.result,n=e.navigationStrategy,o=t.content;return(0,p.jsx)(p.Fragment,{children:Object.entries(c()(o,(function(e){return e.model}))).map((function(e){var t=i()(e,2),o=t[0],a=t[1];return(0,p.jsx)(d.Ey,{children:n&&n.ListOrDetailLink&&(0,p.jsx)(h,{hasTooManyEntities:a.length>100,children:(0,p.jsxs)(n.ListOrDetailLink,{entityName:o,entityKeys:a.map((function(e){return e.key})).slice(0,100),children:[r||(r=(0,p.jsx)(f.A,{icon:"arrow-right"}))," ",(0,p.jsx)(s.A,{id:"client.common.notification.entitiesOpen",values:{modelName:a.at(0).modelName}})]})})},"entitylink-"+o)}))})}},58123:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r,o,i,a,c,s,u=n(58065),l=n(38798),f=n(64116),d=n(46516),p=n(72736),h=n(74848);const m=(0,l.Ay)((function(e){var t=e.notification.result,n=e.navigationStrategy,l=e.intl,m=t.file,v=t.content,y=function(e){return l.formatMessage({id:e})},g=y("client.common.notification.outputJobFileLink"),b=y("client.common.notification.outputJobFileDownload");return m?(0,h.jsxs)(p.vv,{children:[(0,h.jsx)(p.Me,{children:(0,h.jsx)("a",{href:m.link,target:"_blank",rel:"noreferrer",title:g,children:m.description})}),(0,h.jsx)("div",{children:(0,h.jsxs)("a",{href:m.link,target:"_blank",rel:"noreferrer",title:g,children:[r||(r=(0,h.jsx)(p.o0,{children:(0,h.jsx)(f.A,{icon:"eye"})})),o||(o=(0,h.jsx)(u.A,{id:"client.common.notification.outputJobFileLink"}))]})}),d.A.downloadSupportedByBrowser()&&(0,h.jsxs)("a",{href:d.A.addParameterToURL(m.link,"download",!0),target:"_blank",rel:"noreferrer",title:b,children:[i||(i=(0,h.jsx)(p.o0,{children:(0,h.jsx)(f.A,{icon:"arrow-to-bottom"})})),a||(a=(0,h.jsx)(u.A,{id:"client.common.notification.outputJobFileDownload"}))]}),(0,h.jsx)(p.Ey,{children:n&&n.DetailLink&&(0,h.jsxs)(n.DetailLink,{entityName:v[0].model,entityKey:v[0].key,children:[c||(c=(0,h.jsx)(f.A,{icon:"arrow-right"}))," ",s||(s=(0,h.jsx)(u.A,{id:"client.common.notification.outputJobOpen"}))]})})]}):null}))},97425:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r,o=n(839),i=n(46326),a=n(74848);const c=function(e){var t=e.navigationStrategy;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.A,{navigationStrategy:t}),r||(r=(0,a.jsx)(o.A,{}))]})}},55816:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(97425).A},72942:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(75302),o=n(55816),i=n(90929),a=n(50715),c=n(24268),s=n(66537),u=n(15199),l=n(47408),f=n(95579),d=n(45695);const p={transformNotificationResult:r.T,addToStore:d.Y,Notifications:o.A,NotificationCenter:a.A,confirm:c.lJ,yesNoQuestion:c.no,info:c.pq,blockingInfo:i.uX,removeBlockingInfo:i.c4,modal:s.yl,removeModal:s.QC,toaster:l.XM,removeToaster:l.pv,connectSocket:u.cH,closeSocket:u.sM,toasterSources:f.A}},77389:(e,t,n)=>{"use strict";n.d(t,{N:()=>s,S:()=>u});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=c.Ay.div.withConfig({displayName:"StyledPageOverlay"})(r||(r=a()(["\n background-color: rgba(50 50 50 / 70%);\n height: 100%;\n width: 100%;\n position: fixed;\n top: 0;\n left: 0;\n"]))),u=c.Ay.div.withConfig({displayName:"StyledHolder"})(o||(o=a()(["\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n position: absolute;\n\n /* higher than StyledHeader and very high value to prevent other elements blocking it when implemented as a widget\n lower than ext-js legacy actions */\n z-index: 9000;\n"])))},6951:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(56775),o=n(38159),i=n(67529),a=n(20440),c=n(5071),s=n(74848);const u=function(e){var t=e.blocker,n=t.title,u=t.body,l=e.isLatest,f=o.A.embedStrategy({mapping:a.p});return(0,s.jsxs)(c.n,{styles:f.blockingDiplayStyles,isLatest:l,children:[n&&(0,s.jsx)(r.Ay.H1,{children:(0,s.jsx)(c.z,{styles:f.titleWrapperStyles,children:(0,s.jsx)(i.A,{children:n})})}),u&&(0,s.jsx)(r.Ay.Span,{children:(0,s.jsx)(i.A,{children:u})})]})}},5071:(e,t,n)=>{"use strict";n.d(t,{n:()=>l,z:()=>f});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(26166),u=n(57488),l=c.Ay.div.withConfig({displayName:"StyledBlockingDisplay"})(r||(r=a()(["\n /* only latest modal should be above mask */\n z-index: ",";\n position: fixed;\n top: 10px;\n left: 50%;\n transform: translateX(-155px);\n width: 310px;\n padding: ",";\n ","\n"])),(function(e){return e.isLatest?1:-1}),s.A.space(-.5),(function(e){return e.styles})),f=c.Ay.span.withConfig({displayName:"StyledTitleWrapper"})(o||(o=a()(["\n font-size: ",";\n font-weight: ",";\n ","\n"])),s.A.font(1.5),u.t7.fontWeight("regular"),(function(e){return e.styles}))},89854:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(57488);const u={blockingDiplayStyles:(0,c.AH)(r||(r=a()(["\n background-color: ",";\n\n * {\n color: ",";\n }\n"])),s.t7.color("signal.info"),s.t7.color("paper")),titleWrapperStyles:(0,c.AH)(o||(o=a()(["\n color: ",";\n"])),s.t7.color("paper"))}},20440:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});var r=n(26396),o=n.n(r),i=n(38159),a=n(89854),c=n(70877),s=o()(o()({},i.A.EmbedType.admin,a.Ay),i.A.EmbedType.widget,c.A)},70877:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(57488);const u={blockingDiplayStyles:(0,c.AH)(r||(r=a()(["\n background-color: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n * {\n color: ",";\n }\n"])),s.t7.color("paper"),s.t7.color("border"),s.t7.radii("toaster"),s.t7.color("text")),titleWrapperStyles:(0,c.AH)(o||(o=a()(["\n color: ",";\n"])),s.t7.color("signal.info"))}},90929:(e,t,n)=>{"use strict";n.d(t,{I8:()=>o,c4:()=>i,jY:()=>r,uX:()=>a});var r="notification/BLOCKING_INFO",o="notification/REMOVE_BLOCKING_INFO",i=function(e){return{type:o,payload:{id:e}}},a=function(e,t,n){return{type:r,payload:{id:e,title:t,body:n}}}},13251:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(90929),s=o().mark(l),u=o().mark(f);function l(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,i.Q7)([(0,i.jP)(c.jY,f),(0,i.jP)(c.I8,f)]);case 3:case"end":return t.stop()}}),s)}function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),u)}},61660:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(22056),o=n.n(r),i=n(4883),a=n(74916),c=n(64116),s=n(56775),u=n(32224),l=n(72543),f=n(3732),d=n(47509),p=n(74848),h={warning:"exclamation-circle",error:"times-circle",success:"check-circle",info:"info-circle"};const m=function(e){var t=e.notification,n=e.markAsRead,r=e.cancelTask,m=e.navigationStrategy,v=(0,i.useRef)(null),y=u.A.selectUnit(new Date(t.timestamp)),g=(0,i.useState)((function(){return t.read})),b=o()(g,1)[0];return(0,d.A)(v,(function(){t.read||n(t.key)})),(0,p.jsxs)(f.Pv,{ref:v,read:b,"data-cy":"notification-item",children:[(0,p.jsxs)(f.Ux,{notificationType:t.type,children:[(0,p.jsx)(f.o0,{children:(0,p.jsx)(c.A,{icon:h[t.type]})}),(0,p.jsx)(f.ze,{children:(0,p.jsx)(s.Ay.H5,{children:t.title})})]}),(0,p.jsx)(l.Ay,{notification:t,navigationStrategy:m,cancelTask:r}),(0,p.jsx)(f.kG,{children:(0,p.jsx)(a.A,{value:y.diffValue,unit:y.unit})})]})}},10213:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r,o,i,a,c=n(4883),s=n(58065),u=n(69556),l=n(56775),f=n(59939),d=n(61660),p=n(3732),h=n(74848);const m=function(e){var t=e.loadNotifications,n=e.notifications,m=e.moreNotificationsAvailable,v=e.isLoadingMoreNotifications,y=e.markAsRead,g=e.cancelTask,b=e.navigationStrategy,w=(0,c.useRef)(null);(0,c.useEffect)((function(){t()}),[t]);var x=Object.keys(n).map((function(e){return n[e]})).filter((function(e){return!e.result||e.result.type!==f.Hz.outputjob||e.result.file})).filter((function(e){return!e.taskProgress||"cancelled"!==e.taskProgress.status})).sort((function(e,t){return new Date(t.timestamp)-new Date(e.timestamp)})).map((function(e){return(0,h.jsx)(d.A,{markAsRead:y,cancelTask:g,notification:e,navigationStrategy:b},"notification-".concat(e.key))}));return(0,h.jsxs)(p.K4,{ref:w,onScroll:function(){var e=Object.keys(n).length;w.current.scrollTop+w.current.offsetHeight>=w.current.scrollHeight&&(!v&&m)&&t(e)},children:[r||(r=(0,h.jsx)(p.k9,{children:(0,h.jsx)(s.A,{id:"client.admin.notification.title"})})),x,v&&(o||(o=(0,h.jsx)(u.A,{}))),x.length>0&&!m&&(i||(i=(0,h.jsx)(l.Ay.I,{children:(0,h.jsx)(s.A,{id:"client.admin.notification.noMoreNotifications"})}))),0===x.length&&!v&&(a||(a=(0,h.jsx)(l.Ay.I,{children:(0,h.jsx)(s.A,{id:"client.admin.notification.noNotification"})})))]})}},77418:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(91727),i=n(10213),a={loadNotifications:o.fg,markAsRead:o.aI,cancelTask:o.yX};const c=(0,r.Ng)((function(e){return{notifications:e.notification.center.notifications,moreNotificationsAvailable:e.notification.center.moreNotificationsAvailable,isLoadingMoreNotifications:e.notification.center.isLoadingMoreNotifications}}),a)(i.A)},3732:(e,t,n)=>{"use strict";n.d(t,{K4:()=>S,Pv:()=>b,Ux:()=>w,k9:()=>O,kG:()=>E,o0:()=>x,ze:()=>A});var r,o,i,a,c,s,u,l,f=n(72189),d=n.n(f),p=n(51510),h=n(57488),m=n(26166),v=n(85431),y=n(72736),g={warning:h.t7.color("signal.warning"),error:h.t7.color("signal.danger"),success:h.t7.color("signal.success"),info:h.t7.color("signal.info")},b=p.Ay.article.withConfig({displayName:"StyledNotification"})(r||(r=d()(["\n margin-bottom: ",";\n padding: ",";\n ","\n"])),m.A.space(0),m.A.space(-1),(function(e){return!e.read&&(0,p.AH)(o||(o=d()(["\n background-color: ",";\n "])),h.t7.color("backgroundBody"))})),w=p.Ay.header.withConfig({displayName:"StyledNotificationHeader"})(i||(i=d()(["\n display: flex;\n align-items: center;\n margin-bottom: ",";\n\n * {\n margin-top: 0 !important;\n color: "," !important;\n }\n"])),m.A.space(-1),(function(e){var t=e.notificationType;return g[t]})),x=p.Ay.span.withConfig({displayName:"StyledIconWrapper"})(a||(a=d()(["\n display: inline-block;\n margin-right: ",";\n font-size: ",";\n"])),m.A.space(-1.5),m.A.font(5)),A=p.Ay.span.withConfig({displayName:"StyledTitleWrapper"})(c||(c=d()(["\n * {\n font-weight: "," !important;\n }\n"])),h.t7.fontWeight("regular")),O=p.Ay.div.withConfig({displayName:"StyledNotificationTitleWrapper"})(s||(s=d()(["\n ","\n margin-bottom: ",";\n"])),(0,v.A)({fontSize:m.A.font(2.9),fontWeight:h.t7.fontWeight("bold"),color:h.t7.color("secondary")}),m.A.space(-.5)),E=p.Ay.div.withConfig({displayName:"StyledTimeStamp"})(u||(u=d()(["\n font-size: ",";\n"])),m.A.font(-2)),S=p.Ay.div.withConfig({displayName:"StyledNotificationCenter"})(l||(l=d()(["\n max-height: calc(100dvh - 100px);\n overflow-y: auto;\n width: inherit;\n padding: ",";\n background-color: ",";\n border: 1px solid ",";\n border-radius: ",";\n\n /* within the notification center the progress bars need another color */\n "," {\n background-color: transparent;\n border: 0.5px solid ",";\n }\n\n "," {\n background-color: ",";\n }\n ","\n"])),m.A.space(-.5),h.t7.color("paper"),h.t7.color("secondaryLight"),h.t7.radii("menu"),y.wV,h.t7.color("text"),y.Bj,h.t7.color("textLighter"),(0,v.A)())},50715:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(77418).A},47509:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(22056),o=n.n(r),i=n(4883);const a=function(e,t){var n=new IntersectionObserver((function(e){o()(e,1)[0].isIntersecting&&(t(),n.disconnect())}));(0,i.useEffect)((function(){return n.observe(e.current),function(){n.disconnect()}}),[])}},91727:(e,t,n)=>{"use strict";n.d(t,{EL:()=>p,GD:()=>s,Ji:()=>u,Ng:()=>v,OC:()=>r,UI:()=>c,VR:()=>y,aI:()=>b,d_:()=>m,dm:()=>f,fg:()=>h,gd:()=>a,iV:()=>l,jA:()=>d,o_:()=>g,uD:()=>i,wD:()=>o,yX:()=>w});var r="notification/SET_UNREAD_NOTIFICATION_KEYS",o="notification/UPDATE_UNREAD_NOTIFICATION",i="notification/LOAD_NOTIFICATIONS",a="notification/SET_NOTIFICATION",c="notification/SET_MORE_NOTIFICATIONS_AVAILABLE",s="notification/UPDATE_NOTIFICATION",u="notification/IS_LOADING_MORE_NOTIFICATIONS",l="notification/MARK_AS_READ",f="notification/CANCEL_TASK",d=function(e){return{type:r,payload:{unreadNotificationKeys:e}}},p=function(e,t){return{type:o,payload:{notificationKey:e,read:t}}},h=function(){return{type:i,payload:{offset:arguments.length>0&&void 0!==arguments[0]?arguments[0]:0}}},m=function(e){return{type:a,payload:{notifications:e}}},v=function(e){return{type:c,payload:{moreNotificationsAvailable:e}}},y=function(e){return{type:s,payload:{notification:e}}},g=function(){return{type:u,payload:{isLoadingMoreNotifications:!(arguments.length>0&&void 0!==arguments[0])||arguments[0]}}},b=function(e){return{type:l,payload:{notificationKey:e}}},w=function(e){return{type:f,payload:{taskExecutionKey:e}}}},87456:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(80299),a=n.n(i),c=n(29056),s=n(91727);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=o()(o()(o()(o()(o()(o()({},s.gd,(function(e,t){var n=t.payload.notifications;return l(l({},e),{},{notifications:l(l({},e.notifications),n),isLoadingMoreNotifications:!1})})),s.UI,c.A.singleTransferReducer("moreNotificationsAvailable")),s.GD,(function(e,t){var n=t.payload.notification;return l(l({},e),{},{notifications:l(l({},e.notifications),{},o()({},n.key,n))})})),s.OC,c.A.singleTransferReducer("unreadNotificationKeys")),s.wD,(function(e,t){var n,r=t.payload,o=r.notificationKey;return n=r.read?e.unreadNotificationKeys.filter((function(e){return e!==o})):a()(e.unreadNotificationKeys,[o]),l(l({},e),{},{unreadNotificationKeys:n})})),s.Ji,c.A.singleTransferReducer("isLoadingMoreNotifications")),d={notifications:{},isLoadingMoreNotifications:!1,unreadNotificationKeys:[],moreNotificationsAvailable:!0};function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0,n=f[t.type];return n?n(e,t):e}},86421:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(57327),u=n(75302),l=n(91727);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=a().mark(v),h=a().mark(y),m=10;function v(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,c.Q7)([(0,c.T1)(y),(0,c.jP)(l.uD,g),(0,c.jP)(l.iV,b),(0,c.jP)(l.dm,w)]);case 3:case"end":return t.stop()}}),p)}function y(){var e,t,n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e={where:"read == false and relPrincipal.username == :currentUsername"},r.next=3,(0,c.T1)(s.A.fetchAllEntities,"Notification",e,{method:"GET"});case 3:return t=r.sent,n=t.map((function(e){return e.key})),r.next=7,(0,c.yJ)(l.jA(n));case 7:case"end":return r.stop()}}),h)}function g(e){var t=e.payload.offset;return a().mark((function e(){var n,r,i,f;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.yJ)(l.o_());case 2:return n={_limit:m,_offset:t},e.next=5,(0,c.T1)(s.A.requestSaga,"client/notifications",{method:"GET",queryParams:n});case 5:return r=e.sent,e.next=8,(0,c.Q7)(r.body.data.map((function(e){return(0,c.T1)(u.E,e)})));case 8:if(i=e.sent,f=i.reduce((function(e,t){return d(d({},e),{},o()({},t.key,t))}),{}),!(Object.keys(f).length<m)){e.next=13;break}return e.next=13,(0,c.yJ)(l.Ng(!1));case 13:return e.next=15,(0,c.yJ)(l.d_(f));case 15:case"end":return e.stop()}}),e)}))()}function b(e){var t=e.payload.notificationKey;return a().mark((function e(){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={method:"PATCH"},e.next=3,(0,c.T1)(s.A.requestSaga,"client/notifications/".concat(t,"/read"),n);case 3:case"end":return e.stop()}}),e)}))()}function w(e){var t=e.payload.taskExecutionKey;return a().mark((function e(){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.T1)(s.A.requestSaga,"client/tasks/".concat(t),{method:"DELETE"});case 2:case"end":return e.stop()}}),e)}))()}},24268:(e,t,n)=>{"use strict";n.d(t,{l9:()=>o,lJ:()=>a,nG:()=>r,no:()=>c,pq:()=>s,rD:()=>i});var r="notification/CONFIRM",o="notification/YES_NO_QUESTION",i="notification/INFO",a=function(e,t,n,o,i,a,c){return{type:r,payload:{title:e,message:t,okText:n,cancelText:o,onOk:i,onCancel:a,defaultAction:c}}},c=function(e,t,n,r,i,a,c){return{type:o,payload:{title:e,message:t,yesText:n,noText:r,onYes:i,onNo:a,onCancel:c}}},s=function(e,t,n,r){return{type:i,payload:{title:e,message:t,okText:n,onOk:r}}}},47055:(e,t,n)=>{"use strict";n.d(t,{LT:()=>f,fY:()=>l,oV:()=>u});var r=n(4883),o=n(82064),i=n(18562),a=n(66537),c=n(53550),s=n(74848);function u(e){var t=e.title,n=e.message,o=e.okText,u=e.cancelText,l=e.onOk,f=e.onCancel,d=e.defaultAction,p=void 0===d?"submit":d,h=(0,i.A)();return(0,a.yl)(h,t,n,(function(e){var t=e.close,n=function(e){"Enter"===e.key?(e.preventDefault(),"submit"===p?l():"cancel"===p&&f(),t()):"Escape"===e.key&&(f(),t())};(0,r.useEffect)((function(){return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n)}}),[]);var i=[{label:o,primary:"submit"===p,look:"submit"===p?"raised":"flat","data-cy":"btn-confirm-ok",callback:function(){l(),t()}},{label:u,primary:"cancel"===p,look:"cancel"===p?"raised":"flat","data-cy":"btn-confirm-cancel",callback:function(){f(),t()}}];return(0,s.jsx)(c.A,{buttons:i})}),!0,f)}function l(e){var t=e.title,n=e.message,r=e.yesText,u=e.noText,l=e.onYes,f=e.onNo,d=e.onCancel,p=(0,i.A)();return(0,a.yl)(p,t,n,(function(e){var t=e.close,n=function(){f(),t()};(0,o.L)(n);var i=[{label:r,callback:function(){l(),t()}},{label:u,primary:!0,look:"raised",callback:n}];return(0,s.jsx)(c.A,{buttons:i})}),!0,d)}function f(e){var t=e.title,n=e.message,o=e.okText,u=e.onOk,l=(0,i.A)();return(0,a.yl)(l,t,n,(function(e){var t=e.close,n=function(e){"Enter"===e.key&&(e.preventDefault(),u(),t())};(0,r.useEffect)((function(){return document.addEventListener("keydown",n),function(){document.removeEventListener("keydown",n)}}),[]);var i=[{label:o,primary:!0,look:"raised","data-cy":"btn-confirm-ok",callback:function(){u(),t()}}];return(0,s.jsx)(c.A,{buttons:i})}),!1)}},74914:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(24268),s=n(47055),u=o().mark(f),l=o().mark(m);function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return t.next=3,(0,i.Q7)([(0,i.jP)(c.nG,d),(0,i.jP)(c.l9,p),(0,i.jP)(c.rD,h)]);case 3:t.next=7;break;case 5:return t.next=7,(0,i.Q7)([(0,i.jP)(c.nG,m),(0,i.jP)(c.l9,m),(0,i.jP)(c.rD,m)]);case 7:case"end":return t.stop()}}),u)}function d(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(s.oV,t);case 2:return n=e.sent,e.next=5,(0,i.yJ)(n);case 5:case"end":return e.stop()}}),e)}))()}function p(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(s.fY,t);case 2:return n=e.sent,e.next=5,(0,i.yJ)(n);case 5:case"end":return e.stop()}}),e)}))()}function h(e){var t=e.payload;return o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(s.LT,t);case 2:return n=e.sent,e.next=5,(0,i.yJ)(n);case 5:case"end":return e.stop()}}),e)}))()}function m(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),l)}},53550:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(26396),o=n.n(r),i=n(39892),a=n.n(i),c=n(77271),s=n(29495),u=n(4883),l=n(74848),f=["primary","callback","label"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const h=function(e){var t=e.buttons;return(0,l.jsx)(s.er,{children:t.map((function(e,t){var n=e.primary,r=e.callback,o=e.label,i=a()(e,f);return(0,u.createElement)(s.BF,p(p({},n?{ink:c.A.ink.PRIMARY}:{}),{},{key:t,onClick:r},i),o)}))})}},54870:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(4883),i=n(56775),a=n(67529),c=n(29495),s=n(74848);const u=function(e){var t,n=e.modal,u=n.cancelable,l=n.message,f=n.title,d=n.id,p=n.component,h=e.onClose,m=e.onCancel,v=e.isLatest,y=(0,o.useRef)(null),g=(0,o.useCallback)((function(){h(d)}),[h,d]),b=(0,o.useCallback)((function(){m(d)}),[m,d]);(0,o.useEffect)((function(){var e=function(e){"Escape"===e.key&&u&&b()};return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}}),[b,u]),(0,o.useLayoutEffect)((function(){y.current&&setTimeout((function(){return window.scrollTo(0,0)}),10)}),[y]);var w=(0,o.useMemo)((function(){return t||(t=(0,s.jsx)(p,{close:g}))}),[p,g]);return(0,s.jsxs)(s.Fragment,{children:[r||(r=(0,s.jsx)(c.kH,{})),(0,s.jsx)(c.ap,{isLatest:v,children:(0,s.jsxs)(c.ek,{ref:y,"data-cy":"modal-content",children:[(0,s.jsxs)(c.mf,{children:[f&&(0,s.jsx)(c.ze,{children:(0,s.jsx)(i.Ay.H1,{children:(0,s.jsx)(a.A,{children:f})})}),u&&(0,s.jsx)(c.K3,{onClick:b,type:"button","data-cy":"btn-modal-close",children:"✕"})]}),(0,s.jsxs)(c.hb,{children:[l&&(0,s.jsx)(c.UT,{children:(0,s.jsx)(i.Ay.Span,{children:(0,s.jsx)(a.A,{children:l})})}),w]})]})})]})}},29495:(e,t,n)=>{"use strict";n.d(t,{BF:()=>C,K3:()=>E,UT:()=>P,ap:()=>S,ek:()=>O,er:()=>_,hb:()=>T,kH:()=>D,mf:()=>k,ze:()=>j});var r,o,i,a,c,s,u,l,f,d,p=n(72189),h=n.n(p),m=n(51510),v=n(26166),y=n(57488),g=n(7647),b=n(43104),w=n(62764),x=n(86703),A=v.A.space(.5),O=m.Ay.div.withConfig({displayName:"StyledModalContent"})(r||(r=h()(["\n position: relative;\n background-color: ",";\n border-radius: ",";\n padding: ",";\n display: grid;\n grid-template-rows: [header] auto [body] 1fr;\n\n /* within the modal the load mask height must be set to auto to prevent cut off when sticky buttons are present */\n "," {\n height: auto;\n }\n\n "," {\n padding-right: 0;\n }\n\n @media (min-width: 501px) {\n top: 10dvh;\n box-shadow: 2px 2px 10px rgba(0 0 0 / 40%);\n max-height: 80%;\n min-width: 350px;\n max-width: 700px;\n margin: auto;\n }\n\n @media (max-width: 500px) {\n box-sizing: border-box;\n height: 100dvh;\n width: 100dvw;\n }\n"])),y.t7.color("paper"),y.t7.radii("modal"),A,g.A,b.A),E=m.Ay.button.withConfig({displayName:"StyledCloseButton"})(o||(o=h()(["\n background-color: transparent;\n border: none;\n cursor: pointer;\n font-size: 22px;\n opacity: 0.8;\n outline: none;\n position: relative;\n padding: 0;\n z-index: 1;\n margin-left: auto;\n align-self: flex-start;\n color: ",";\n\n &:hover {\n opacity: 1;\n }\n\n &:focus {\n outline: none;\n }\n"])),y.t7.color("text")),S=m.Ay.div.withConfig({displayName:"StyledModalWrapper"})(i||(i=h()(["\n width: 100%;\n height: 100%;\n position: absolute;\n\n /* only latest modal should be above mask */\n z-index: ",";\n"])),(function(e){return e.isLatest?1:-1})),k=m.Ay.div.withConfig({displayName:"StyledModalHeader"})(a||(a=h()(["\n grid-row-start: header;\n display: flex;\n"]))),j=m.Ay.div.withConfig({displayName:"StyledTitleWrapper"})(c||(c=h()(["\n padding-bottom: ",";\n"])),v.A.space(.5)),T=m.Ay.div.withConfig({displayName:"StyledModalBody"})(s||(s=h()(["\n grid-row-start: body;\n overflow: hidden auto;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n"]))),P=m.Ay.div.withConfig({displayName:"StyledMessageWrapper"})(u||(u=h()(["\n padding-bottom: ",";\n"])),v.A.space(0)),C=(0,m.Ay)(w.A).withConfig({displayName:"StyledModalButton"})(l||(l=h()(["\n margin-top: ",";\n\n &:last-child {\n margin-right: 0;\n }\n"])),v.A.space(0)),_=m.Ay.div.withConfig({displayName:"StyledModalButtonWrapper"})(f||(f=h()(["\n display: flex;\n justify-content: flex-end;\n"]))),D=(0,m.DU)(d||(d=h()(["\n "," {\n && {\n z-index: 9999999; /* higher than StyledModalHolder */\n }\n }\n\n html,\n body {\n /* prevent scroll of background when modal is open */\n overflow: hidden !important;\n\n /* fix scroll to top on WP when scroll-behaviour is set to smooth */\n scroll-behavior: auto !important;\n }\n"])),x.Ec)},66537:(e,t,n)=>{"use strict";n.d(t,{Cv:()=>r,QC:()=>a,dt:()=>o,yl:()=>i});var r="notification/MODAL",o="notification/REMOVE_MODAL",i=function(e,t,n,o){return{type:r,payload:{id:e,title:t,message:n,component:o,cancelable:!(arguments.length>4&&void 0!==arguments[4])||arguments[4],cancelCallback:arguments.length>5&&void 0!==arguments[5]?arguments[5]:function(){}}}},a=function(e){return{type:o,payload:{id:e}}}},91787:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(66537),s=o().mark(l),u=o().mark(f);function l(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=3;break}return t.next=3,(0,i.Q7)([(0,i.jP)(c.Cv,f),(0,i.jP)(c.dt,f)]);case 3:case"end":return t.stop()}}),s)}function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),u)}},3290:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r,o=n(81845),i=n.n(o),a=n(44518),c=n(77389),s=n(52274),u=n(52183),l=n(75790),f=n(74848);const d=function(e){var t=e.overlays;return t.length>0&&i().createPortal((0,f.jsxs)(c.S,{className:a.e,children:[t.map((function(e,n){return function(e,t,n){return e.type===l.A.MODAL?(0,f.jsx)(u.A,{idx:t,modal:e,isLatest:n},t):e.type===l.A.BLOCKER?(0,f.jsx)(s.A,{idx:t,blocker:e,isLatest:n},t):null}(e,n,n+1===t.length)})),r||(r=(0,f.jsx)(c.N,{}))]}),document.body)}},52354:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(66537),i=n(3290),a={closeModal:o.QC};const c=(0,r.Ng)((function(e){return{overlays:e.notification.overlay.overlays}}),a)(i.A)},52274:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6951),o=n(74848);const i=function(e){var t=e.blocker,n=e.isLatest;return(0,o.jsx)(r.A,{blocker:t,isLatest:n})}},839:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(52354).A},39014:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(54870),o=n(74848);const i=function(e){var t=e.modal,n=e.isLatest,i=e.closeModal;return(0,o.jsx)(r.A,{modal:t,onClose:i,onCancel:function(e){i(e),t.cancelable&&t.cancelCallback&&t.cancelCallback()},isLatest:n})}},52183:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(71468),o=n(66537),i=n(39014),a={closeModal:o.QC};const c=(0,r.Ng)((function(){return{}}),a)(i.A)},75790:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={MODAL:"MODAL",BLOCKER:"BLOCKING_INFO"}},30255:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(90929),s=n(66537),u=n(75790);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={overlays:[]},p=function(e){return function(t,n){var r=n.payload.id;return f(f({},t),{},{overlays:t.overlays.filter((function(t){return t.type!==e||t.id!==r}))})}},h=a()(a()(a()(a()({},s.Cv,(function(e,t){var n=t.payload,r=n.id,i=n.title,a=n.message,c=n.component,s=n.cancelable,l=n.cancelCallback;return f(f({},e),{},{overlays:[].concat(o()(e.overlays),[{id:r,title:i,message:a,component:c,cancelable:s,cancelCallback:l,type:u.A.MODAL}])})})),s.dt,p(u.A.MODAL)),c.jY,(function(e,t){var n=t.payload,r=n.id,i=n.title,a=n.body;return f(f({},e),{},{overlays:[].concat(o()(e.overlays),[{id:r,title:i,body:a,type:u.A.BLOCKER}])})})),c.I8,p(u.A.BLOCKER));function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0,n=h[t.type];return n?n(e,t):e}},15199:(e,t,n)=>{"use strict";n.d(t,{AI:()=>l,CO:()=>a,Do:()=>r,bf:()=>o,cH:()=>c,e$:()=>i,sM:()=>s,sx:()=>u});var r="notification/CONNECT_SOCKET",o="notification/CLOSE_SOCKET",i="notification/SOCKET_MESSAGE_RECEIVED",a="notification/ADD_IGNORE_TOASTER",c=function(){return{type:r}},s=function(){return{type:o}},u=function(e){return{type:i,payload:{data:e}}},l=function(e){return{type:a,payload:{key:e}}}},35536:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(15199);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=a()({},c.CO,(function(e,t){var n=t.payload.key;return u(u({},e),{},{ignoredToasters:o()(new Set([].concat(o()(e.ignoredToasters),[n])))})})),f={ignoredToasters:[]};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f,t=arguments.length>1?arguments[1]:void 0,n=l[t.type];return n?n(e,t):e}},2405:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g});var r=n(92207),o=n.n(r),i=n(90167),a=n(84847),c=n(20451),s=n(75302),u=n(91727),l=n(47408),f=n(15199),d=n(9063),p=o().mark(g),h=o().mark(b),m=o().mark(w),v=function(e){return e.notification.socket},y=function(e){return e.notification.toaster.toasters};function g(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=3;break}return t.next=3,(0,i.Q7)([(0,i.jP)(f.e$,x),(0,i.jP)(l.MO,A),(0,i.jP)(f.Do,b),(0,i.jP)(f.bf,w)]);case 3:case"end":return t.stop()}}),p)}function b(){var e;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.T1)(a.A.getOriginId);case 2:return e=t.sent,t.next=5,(0,i.T1)(c.A.connectSocket,{name:"notification",messageReceivedAction:f.sx,originId:e});case 5:case"end":return t.stop()}}),h)}function w(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(c.A.closeSocket,"notification");case 2:case"end":return e.stop()}}),m)}function x(e){var t=e.payload.data;return o().mark((function e(){var n,r,c,f,p;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(s.E,t);case 2:return n=e.sent,e.next=5,(0,i.Lt)(v);case 5:if(r=e.sent,c=r.ignoredToasters,f=!1,n.originId!==a.A.getOriginId()){e.next=16;break}return e.next=11,(0,i.T1)(d.vh,n);case 11:if(p=e.sent,c.includes(p.key)||n.read){e.next=16;break}return e.next=15,(0,i.yJ)((0,l.XM)(p));case 15:f=!0;case 16:if(f&&!n.read){e.next=19;break}return e.next=19,(0,i.yJ)((0,u.EL)(n.key,n.read));case 19:return e.next=21,(0,i.yJ)((0,u.VR)(n));case 21:case"end":return e.stop()}}),e)}))()}function A(e){var t=e.payload,n=t.key,r=t.manually;return o().mark((function e(){var t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.startsWith(d.SG)){e.next=11;break}if(!r){e.next=4;break}return e.next=4,(0,i.yJ)(f.AI(n));case 4:return e.next=6,(0,i.Lt)(y);case 6:if("success"!==e.sent[n].type&&!r){e.next=11;break}return t=n.replace(d.SG,""),e.next=11,(0,i.yJ)((0,u.aI)(t));case 11:case"end":return e.stop()}}),e)}))()}},9063:(e,t,n)=>{"use strict";n.d(t,{SG:()=>l,vh:()=>f});var r=n(26396),o=n.n(r),i=n(38159),a=n(72543),c=n(59939),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l="socket-msg-",f=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:"".concat(l).concat(e.key),type:e.type,time:new Date(e.timestamp),title:e.title,message:e.message,body:function(t){var n=t.navigationStrategy,r=t.cancelTask;return(0,s.jsx)(a.Ay,{notification:e,navigationStrategy:n,cancelTask:r})}},function(e){return e.taskProgress&&e.taskProgress.isRunning}(e)||function(e){var t;return i.A.isInWidgetEmbedded()&&(null===(t=e.result)||void 0===t?void 0:t.type)===c.Hz.outputjob}(e)?{duration:-1}:{})}},15698:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(38159),o=n(96028);const i=r.A.embedStrategyFactory({mapping:o.p})},68962:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(81845),o=n.n(r),i=n(44518),a=n(15698),c=n(57163),s=n(74848);const u=function(e){var t=e.toasters,n=e.removeToaster,r=e.cancelTask,u=e.navigationStrategy,l=Object.values(t).sort((function(e,t){return new Date(e.timestamp)-new Date(t.timestamp)})).map((function(e){return(0,s.jsx)(a.A,{toaster:e,closeToaster:n,cancelTask:r,navigationStrategy:u},"toaster-".concat(e.key))}));return(0,s.jsx)(s.Fragment,{children:t&&o().createPortal((0,s.jsx)(c.$e,{className:i.e,children:l}),document.body)})}},27267:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(71468),o=n(91727),i=n(47408),a=n(68962),c={removeToaster:i.pv,cancelTask:o.yX};const s=(0,r.Ng)((function(e){return{toasters:e.notification.toaster.toasters}}),c)(a.A)},46326:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(27267).A},57163:(e,t,n)=>{"use strict";n.d(t,{$e:()=>k,K3:()=>x,cM:()=>w,c_:()=>A,iB:()=>S,o0:()=>E,ze:()=>O});var r,o,i,a,c,s,u,l,f=n(72189),d=n.n(f),p=n(51510),h=n(26166),m=n(50098),v=n(57488),y=n(28888),g=n(85431),b=(0,p.i7)(r||(r=d()(["\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n"]))),w=p.Ay.div.withConfig({displayName:"StyledToaster"})(o||(o=d()(["\n ","\n margin-bottom: ",";\n padding: ",";\n box-shadow: 0 7px 12px -3px rgba(0 0 0 / 70%);\n animation-name: ",";\n animation-duration: 0.8s;\n pointer-events: auto;\n max-height: 90dvh;\n overflow-y: auto;\n\n @media only screen and (max-width: 500px) {\n width: 90%;\n margin-left: auto;\n margin-right: auto;\n }\n"])),(function(e){return e.styles}),h.A.space(-.5),h.A.space(0),b),x=(0,p.Ay)(m.A).withConfig({displayName:"StyledCloseButton"})(i||(i=d()(["\n padding: 0;\n font-size: ",";\n color: ",";\n float: right;\n opacity: 0.9;\n\n &,\n &&:hover {\n background: transparent;\n cursor: pointer;\n }\n ","\n"])),h.A.font(3),v.t7.color("backgroundBody"),(function(e){return e.styles})),A=p.Ay.div.withConfig({displayName:"StyledIconTitleWrapper"})(a||(a=d()(["\n display: flex;\n gap: ",";\n padding-right: ",";\n\n "," {\n margin-top: 0;\n }\n ","\n"])),h.A.space(0),h.A.space(0),y.rd,(function(e){return e.styles})),O=p.Ay.span.withConfig({displayName:"StyledTitleWrapper"})(c||(c=d()(["\n font-size: ",";\n font-weight: ",";\n position: relative;\n top: 1px;\n bottom: 2px;\n"])),h.A.font(1.5),v.t7.fontWeight("regular")),E=p.Ay.div.withConfig({displayName:"StyledIconWrapper"})(s||(s=d()(["\n font-size: ",";\n"])),h.A.font(7)),S=p.Ay.div.withConfig({displayName:"StyledContentWrapper"})(u||(u=d()(["\n padding-top: ",";\n color: ",";\n"])),h.A.space(-1),v.t7.color("textToaster")),k=p.Ay.div.withConfig({displayName:"StyledToasterBox"})(l||(l=d()(["\n display: flex;\n flex-direction: column-reverse;\n justify-content: flex-start;\n pointer-events: none;\n ",";\n position: fixed;\n height: calc(100% - (40px + 55px)); /* subtract height of header plus some additional padding */\n min-width: 310px;\n max-width: 400px;\n top: 40px; /* height of Header to prevent coverage */\n right: 55px;\n\n /* lower than StyledModalHolder and very high value \n to prevent other elements blocking it when implemented as a widget */\n z-index: 99999;\n\n @media only screen and (max-width: 500px) {\n width: 100%;\n height: calc(100% - 50px); /* subtract height of header */\n right: 0;\n margin: auto;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n }\n"])),(0,g.A)())},97262:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(22056),o=n.n(r),i=n(4883),a=n(64116),c=n(56775),s=n(7311),u=n(67529),l=n(57163),f=n(74848);const d=function(e){var t=e.toaster,n=e.closeToaster,r=e.cancelTask,d=e.navigationStrategy,p=e.styles,h=(0,i.useCallback)((function(){n(t.key,!1)}),[t.key,n]),m=s.A.useUserActive(h),v=o()(m,3),y=v[0],g=v[1],b=v[2];(0,i.useEffect)((function(){y(t.duration)}),[t.duration,y]);return(0,f.jsxs)(l.cM,{onMouseOver:function(){g()},onMouseLeave:function(){b()},type:t.type,styles:null==p?void 0:p.toasterStyles,"data-cy":"toaster-wrapper-".concat(t.key),children:[(0,f.jsx)(l.K3,{icon:"times",onClick:function(){n(t.key,!0)},styles:null==p?void 0:p.closeButtonStyles}),(0,f.jsxs)(l.c_,{type:t.type,styles:null==p?void 0:p.iconTitleWrapperStyles,children:[t.icon&&(0,f.jsx)(l.o0,{children:(0,f.jsx)(a.A,{icon:t.icon,hasFixedWidth:!1})}),t.title&&(0,f.jsx)(c.Ay.H1,{children:(0,f.jsx)(l.ze,{"data-cy":"toaster-title",children:(0,f.jsx)(u.A,{children:t.title})})})]}),t.body&&(0,f.jsx)(l.iB,{"data-cy":"toaster-content",children:(0,f.jsx)(u.A,{children:"function"==typeof t.body?(0,f.jsx)(t.body,{navigationStrategy:d,cancelTask:r}):t.body})})]},t.key)}},27458:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(72637),a=n.n(i),c=n(16193),s=n.n(c),u=n(97262),l=n(8583),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const p=function(e){var t=s()({},(a()(e),e));return(0,f.jsx)(u.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({styles:{toasterStyles:l.L,closeButtonStyles:l.X}},t))}},8583:(e,t,n)=>{"use strict";n.d(t,{L:()=>l,X:()=>f});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(57488),u={info:"info",success:"success",error:"danger",warning:"warning"},l=function(){return(0,c.AH)(r||(r=a()(["\n background-color: "," !important;\n\n *,\n a:link // reset legacy styling\n {\n color: "," !important;\n }\n"])),(function(e){return function(e,t){return u[e]?t.colors.signal[u[e]]:"#ccc"}(e.type,e.theme)}),s.t7.color("textToaster"))},f=function(){return(0,c.AH)(o||(o=a()(["\n &:hover {\n opacity: 1;\n color: ",";\n }\n"])),s.t7.color("textToaster"))}},96028:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});var r=n(26396),o=n.n(r),i=n(38159),a=n(27458),c=n(18871),s=o()(o()({},i.A.EmbedType.admin,a.A),i.A.EmbedType.widget,c.A)},18871:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(72637),a=n.n(i),c=n(16193),s=n.n(c),u=n(97262),l=n(34938),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const p=function(e){var t=s()({},(a()(e),e));return(0,f.jsx)(u.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({styles:{toasterStyles:l.Lv,iconTitleWrapperStyles:l.lD}},t))}},34938:(e,t,n)=>{"use strict";n.d(t,{Lv:()=>l,lD:()=>f});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(57488),u={info:"info",success:"success",error:"danger",warning:"warning"},l=function(){return(0,c.AH)(r||(r=a()(["\n background-color: "," !important;\n border-radius: ",";\n border: 1px solid ",";\n\n *,\n a:link // reset legacy styling\n {\n color: "," !important;\n }\n"])),s.t7.color("paper"),s.t7.radii("statusLabel"),s.t7.color("border"),s.t7.color("text"))},f=function(){return(0,c.AH)(o||(o=a()(["\n * {\n color: "," !important;\n }\n"])),(function(e){return function(e,t){return u[e]?t.colors.signal[u[e]]:"#ccc"}(e.type,e.theme)}))}},47408:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>i,GE:()=>s,MO:()=>o,XM:()=>a,hf:()=>r,pv:()=>c});var r="notification/TOASTER",o="notification/REMOVE_TOASTER",i="notification/REMOVE_TOASTER_FROM_STORE",a=function(e){return{type:r,payload:{toaster:e}}},c=function(e,t){return{type:o,payload:{key:e,manually:t}}},s=function(e){return{type:i,payload:{key:e}}}},23747:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(85735),o=n.n(r),i=n(39892),a=n.n(i),c=n(26396),s=n.n(c),u=n(47408),l=n(65123),f=n(95579);function d(e){var t=function(e,t){if("object"!=o()(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o()(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o()(t)?t:t+""}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=s()(s()({},u.hf,(function(e,t){var n=t.payload.toaster,r=(0,l.BD)(n),o=e.toasters[r.key];return!o||function(e){return e.source!==f.A.SYNC_ACTION}(o)?h(h({},e),{},{toasters:h(h({},e.toasters),{},s()({},r.key,r))}):e})),u.Bk,(function(e,t){var n=t.payload.key,r=e.toasters,o=(r[n],a()(r,[n].map(d)));return h(h({},e),{},{toasters:h({},o)})})),v={toasters:{}};function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=arguments.length>1?arguments[1]:void 0,n=m[t.type];return n?n(e,t):e}},64822:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(88951),c=n(47408),s=o().mark(l),u=o().mark(f);function l(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e){t.next=5;break}return t.next=3,(0,i.Q7)([(0,i.jP)(c.MO,d)]);case 3:t.next=7;break;case 5:return t.next=7,(0,i.Q7)([(0,i.jP)(c.hf,f),(0,i.jP)(c.MO,f)]);case 7:case"end":return t.stop()}}),s)}function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.yJ)(a.A.emitAction(e));case 2:case"end":return t.stop()}}),u)}function d(e){var t=e.payload,n=t.key;t.manually;return o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.yJ)(c.GE(n));case 2:case"end":return e.stop()}}),e)}))()}},65123:(e,t,n)=>{"use strict";n.d(t,{BD:()=>d});var r=n(26396),o=n.n(r),i=n(5556),a=n.n(i),c=n(18562),s=n(59939);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=function(e,t){return Number.isInteger(e)?e:(0,s.ie)(t)?-1:5e3},d=function(e){if(!e.title&&!e.body)return null;var t=e.type&&Object.keys(s.QE).includes(e.type)?e.type:s.QE.neutral;return l(l(l(l(l({type:t,key:e.key||(0,c.A)()},e.title&&{title:e.title}),e.message&&{message:e.message}),e.body&&{body:e.body}),{},{icon:e.icon||s.KD[t]},e.onClose&&"function"==typeof e.onClose&&{onClose:e.onClose}),{},{duration:f(e.duration,t),time:e.time instanceof Date?e.time:new Date},e.source&&{source:e.source})};a().shape({type:a().oneOf(Object.values(s.QE)).isRequired,title:a().oneOfType([a().string,a().func]),message:a().oneOfType([a().string,a().func]),body:a().oneOfType([a().string,a().func]),onClose:a().func,icons:a().string,duration:a().number,time:a().instanceOf(Date)})},95579:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={SYNC_ACTION:"sync-action"}},45695:(e,t,n)=>{"use strict";n.d(t,{Y:()=>m});var r=n(14644),o=n(29056),i=n(13251),a=n(87456),c=n(86421),s=n(74914),u=n(91787),l=n(30255),f=n(35536),d=n(2405),p=n(23747),h=n(64822),m=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).withNotificationCenter,m=void 0!==n&&n;t&&o.A.injectReducers(e,{notification:(0,r.HY)({socket:f.A,toaster:p.A,center:a.A,overlay:l.A})}),e.sagaMiddleware.run(i.A,t),e.sagaMiddleware.run(s.Ay,t),e.sagaMiddleware.run(u.A,t),e.sagaMiddleware.run(d.Ay,t),e.sagaMiddleware.run(h.Ay,t),t&&m&&e.sagaMiddleware.run(c.Ay)}},59939:(e,t,n)=>{"use strict";n.d(t,{Hz:()=>s,KD:()=>l,QE:()=>c,ie:()=>u});var r=n(26396),o=n.n(r),i=n(5556),a=n.n(i),c={neutral:"neutral",info:"info",warning:"warning",error:"error",success:"success"},s={outputjob:"OUTPUTJOB",entities:"ENTITIES"},u=function(e){return e===c.error||e===c.warning},l=o()(o()(o()(o()(o()({},c.neutral,null),c.error,"times-circle"),c.warning,"exclamation-circle"),c.success,"check-circle"),c.info,"info-circle");a().shape({key:a().string.isRequired,message:a().string,read:a().bool,timestamp:a().string,originId:a().string,type:a().string,taskProgress:a().shape({taskExecutionKey:a().string.isRequired,status:a().string,message:a().string,percentage:a().number,done:a().number,total:a().number,supportsCancellation:a().bool,isRunning:a().bool})})},94749:(e,t,n)=>{"use strict";n.d(t,{I:()=>r,x:()=>o});var r="remoteEvents/REMOTE_EVENT",o=function(e){return{type:r,payload:{event:e}}}},87774:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(94749);const o={REMOTE_EVENT:r.I,remoteEvent:r.x}},29564:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(65044),o=n.n(r),i=n(82274),a=n.n(i),c=n(65611),s=n.n(c),u=n(18337),l=n.n(u),f=n(56994),d=n.n(f);function p(e,t,n){return t=l()(t),s()(e,h()?Reflect.construct(t,n||[],l()(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}const m=function(e){function t(){return a()(this,t),p(this,t,arguments)}return d()(t,e),o()(t)}(n(17307).A)},22729:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(65044),o=n.n(r),i=n(82274),a=n.n(i),c=n(65611),s=n.n(c),u=n(18337),l=n.n(u),f=n(56994),d=n.n(f);function p(e,t,n){return t=l()(t),s()(e,h()?Reflect.construct(t,n||[],l()(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}const m=function(e){function t(){return a()(this,t),p(this,t,arguments)}return d()(t,e),o()(t)}(n(17307).A)},30355:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(65044),o=n.n(r),i=n(82274),a=n.n(i),c=n(65611),s=n.n(c),u=n(18337),l=n.n(u),f=n(56994),d=n.n(f);function p(e,t,n){return t=l()(t),s()(e,h()?Reflect.construct(t,n||[],l()(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}const m=function(e){function t(e){var n;return a()(this,t),(n=p(this,t)).message=e,n}return d()(t,e),o()(t)}(n(17307).A)},52259:(e,t,n)=>{"use strict";n.d(t,{OO:()=>h});var r=n(92207),o=n.n(r),i=n(32742),a=n(90167),c=n(72942),s=n(29564),u=n(38726),l=o().mark(m),f=o().mark(y),d=o().mark(g),p={ConfirmQuestionHandler:y,YesNoQuestionHandler:g};function h(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.addBlockingInfoAction,c=r.removeBlockingInfoAction;return o().mark((function r(){var l,f;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("GET"!==t.options.method&&"HEAD"!==t.options.method){r.next=2;break}return r.abrupt("return",e);case 2:l={};case 3:if(!e.body||!e.body.clientQuestion){r.next=26;break}return r.next=6,(0,a.T1)(m,e.body.clientQuestion);case 6:if(null!=(f=r.sent).answer){r.next=13;break}if(!n.returnCancelledClientQuestion){r.next=12;break}return r.abrupt("return",e);case 12:throw new s.A("Client question cancelled by user");case 13:if(l[e.body.clientQuestion.id]=f.answer,t.options.body=JSON.stringify({clientAnswers:l,payload:n.body}),!i){r.next=18;break}return r.next=18,(0,a.yJ)(i);case 18:return r.next=20,(0,a.T1)(u.w,t.url,t.options,n.acceptedErrorCodes,n.acceptedStatusCodes);case 20:if(e=r.sent,!c){r.next=24;break}return r.next=24,(0,a.yJ)(c);case 24:r.next=3;break;case 26:return r.abrupt("return",e);case 27:case"end":return r.stop()}}),r)}))()}function m(e){var t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(t=p[e.handler])){n.next=5;break}return n.next=4,(0,a.T1)(t,e);case 4:return n.abrupt("return",n.sent);case 5:throw new Error("No question handler found for client question",e);case 6:case"end":return n.stop()}}),l)}var v=function(e){return{answer:e}};function y(e){var t,n,r,s,u,l,d;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,a.T1)(i.Ix);case 2:return t=o.sent,n=function(){return t.put(v(!0))},r=function(){return t.put(v(null))},s=e.header,u=e.message,l=e.okText,d=e.cancelText,o.next=8,(0,a.yJ)(c.A.confirm(s,u,l,d,n,r));case 8:return o.next=10,(0,a.s)(t);case 10:return o.abrupt("return",o.sent);case 11:case"end":return o.stop()}}),f)}function g(e){var t,n,r,s,u,l,f,p;return o().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,a.T1)(i.Ix);case 2:return t=o.sent,n=function(){return t.put(v(!0))},r=function(){return t.put(v(!1))},s=function(){return t.put(v(null))},u=e.header,l=e.message,f=e.yesText,p=e.noText,o.next=9,(0,a.yJ)(c.A.yesNoQuestion(u,l,f,p,n,r,s));case 9:return o.next=11,(0,a.s)(t);case 11:return o.abrupt("return",o.sent);case 12:case"end":return o.stop()}}),d)}},36094:(e,t,n)=>{"use strict";n.d(t,{CO:()=>se,Cx:()=>$,D8:()=>ie,HM:()=>re,Jt:()=>ae,LU:()=>M,Ov:()=>I,QN:()=>N,UA:()=>L,_P:()=>J,aO:()=>K,cM:()=>ee,f2:()=>z,fW:()=>U,hc:()=>V,op:()=>Z,qj:()=>F,qq:()=>B,rN:()=>G,rS:()=>Y,sU:()=>ce,s_:()=>te,tL:()=>oe});var r=n(21259),o=n.n(r),i=n(22056),a=n.n(i),c=n(26396),s=n.n(c),u=n(92207),l=n.n(u),f=n(58156),d=n.n(f),p=n(23805),h=n.n(p),m=n(23181),v=n.n(m),y=n(40860),g=n.n(y),b=n(90167),w=n(18242),x=n(80211),A=n(31781),O=l().mark(I),E=l().mark(F),S=l().mark($),k=l().mark(re),j=l().mark(oe),T=l().mark(ie),P=l().mark(ae),C=l().mark(ce),_=l().mark(se);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function N(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(e){return e};return l().mark((function i(){var a,c,s,u,f,d,p;return l().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a=r.method,c=void 0===a?"POST":a,s=r.useSelectors,u=void 0===s||s,i.next=3,(0,b.T1)(Z,n);case 3:return f=i.sent,d=R({method:c,queryParams:R({_omitLinks:!0,_useSelectors:u},"GET"===c&&R(R({},te(f)),{},{_permissions:!0}))},"POST"===c&&{body:R(R({},f),{},{permissions:!0})}),i.next=7,(0,b.T1)(A.Gt,"entities/2.0/".concat(e,"/").concat(t),d);case 7:return p=i.sent,i.next=10,(0,b.T1)(o,p.body);case 10:return i.abrupt("return",i.sent);case 11:case"end":return i.stop()}}),i)}))()}function I(e,t){var n;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n={method:"GET",queryParams:{_omitLinks:!0}},r.prev=1,r.next=4,(0,b.T1)(A.Gt,"entities/2.0/".concat(e,"/").concat(t),n);case 4:return r.abrupt("return",!0);case 7:return r.prev=7,r.t0=r.catch(1),r.abrupt("return",!1);case 10:case"end":return r.stop()}}),O,null,[[1,7]])}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return l().mark((function o(){return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.t0=d(),o.next=3,B(s()({},e,[t]),n,r);case 3:return o.t1=o.sent,o.t2="".concat(e,".").concat(t),o.abrupt("return",(0,o.t0)(o.t1,o.t2,null));case 6:case"end":return o.stop()}}),o)}))()}function L(e,t,n){U(s()({},e,[t]),n)}function F(e,t,n,r,o){var i,a;return l().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return i={method:"POST",queryParams:{_paths:r.join(",")},body:{entityName:o,type:"ID",ids:n}},c.next=3,(0,b.T1)(A.Gt,"forms/".concat(e,"_").concat(t,"/display-expressions"),i);case 3:return a=c.sent,c.abrupt("return",a.body.displayExpressions.reduce((function(e,t){return R(R({},e),{},s()({},t.key,t.displayExpressions))}),{}));case 5:case"end":return c.stop()}}),E)}var H=function(e,t,n){var r=n?".".concat(n):"";return"".concat(e,".").concat(t).concat(r)};function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return l().mark((function r(){var o,i;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=Object.entries(e).map((function(e){var n=a()(e,2),r=n[0],o=n[1];return{model:r,keys:o.filter((function(e){return void 0===w.A.getObjectCache("display",H(r,e,t))})),displays:o.map((function(e){return{key:e,display:w.A.getObjectCache("display",H(r,e,t))}})).filter((function(e){return void 0!==e.display}))}})),r.next=3,W(o,t,n);case 3:return i=r.sent,r.abrupt("return",o.reduce((function(e,t){var n=t.model,r=t.displays;return R(R({},e),{},s()({},n,R(R({},e[n]),r.reduce((function(e,t){var n=t.key,r=t.display;return R(R({},e),{},s()({},n,r))}),{}))))}),i));case 5:case"end":return r.stop()}}),r)}))()}function U(e,t){Object.entries(e).forEach((function(e){var n=a()(e,2),r=n[0];n[1].forEach((function(e){return w.A.removeObjectCache("display",H(r,e,t))}))}))}function W(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return l().mark((function r(){var o,i,c,u,f;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!((o=e.filter((function(e){return e.keys.length>0})).map((function(e){return{model:e.model,keys:e.keys}}))).length>0)){r.next=12;break}return i={method:"POST",body:{data:o},queryParams:{_ignoreFallback:n}},c=t?"/".concat(t):"",r.next=6,(0,b.T1)(A.Gt,"entities/2.0/displays".concat(c),i);case 6:return u=r.sent,f=u.body.data.reduce((function(e,t){var n=t.model,r=t.values;return R(R({},e),{},s()({},n,r.reduce((function(e,t){var n=t.key,r=t.display;return R(R({},e),{},s()({},n,r))}),{})))}),{}),Object.entries(f).forEach((function(e){var n=a()(e,2),r=n[0],o=n[1];Object.entries(o).forEach((function(e){var n=a()(e,2),o=n[0],i=n[1];w.A.addObjectCache("display",H(r,o,t),i)}))})),r.abrupt("return",f);case 12:return r.abrupt("return",{});case 13:case"end":return r.stop()}}),r)}))()}function z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l().mark((function r(){var o,i,a,c,s,u,f;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o=n.method,i=void 0===o?"POST":o,a=n.endpoint,r.next=3,(0,b.T1)(Z,t);case 3:return c=r.sent,s=(a||"entities/2.0/".concat(e))+"/count",u=R({method:i},"GET"===i?{queryParams:te(c)}:{body:c}),r.next=8,(0,b.T1)(A.Gt,s,u);case 8:return f=r.sent,r.abrupt("return",f.body.count);case 10:case"end":return r.stop()}}),r)}))()}function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Q;return l().mark((function i(){var a,c,s,u,f,d,p,h,m,y;return l().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,b.T1)(x.BA);case 2:return a=i.sent,c=n.method,s=void 0===c?"POST":c,u=n.endpoint,f=n.allKeys,i.next=6,(0,b.T1)(z,e,t,n);case 6:return d=i.sent,p=f?1:Math.ceil(d/a),h=u||"entities/2.0/".concat(e).concat("POST"===s?"/search":""),m=v()(p).map((function(e){return e+1})).map((function(e){return R(R({},t),{},{page:e,limit:a})})).map(Z).map((function(e){return(0,b.T1)(q,s,f,e,h,r)})),i.next=12,(0,b.Q7)(m);case 12:return y=i.sent,i.abrupt("return",y.reduce((function(e,t){return[].concat(o()(e),o()(t))}),[]));case 14:case"end":return i.stop()}}),i)}))()}function Y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Q;return l().mark((function o(){var i,a,c,s,u,f;return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=n.method,a=void 0===i?"POST":i,c=n.endpoint,s=n.allKeys,o.next=3,(0,b.T1)(Z,t);case 3:return u=o.sent,f=c||"entities/2.0/".concat(e).concat("POST"===a?"/search":""),o.next=7,(0,b.T1)(q,a,s,u,f,r);case 7:return o.abrupt("return",o.sent);case 8:case"end":return o.stop()}}),o)}))()}function q(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Q;return l().mark((function i(){var a,c;return l().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a=R({method:e,queryParams:R({_omitLinks:!0,_allKeys:t},"GET"===e&&te(n))},"POST"===e&&{body:n}),i.next=3,(0,b.T1)(A.Gt,r,a);case 3:return c=i.sent,i.next=6,(0,b.T1)(o,c.body);case 6:return i.abrupt("return",i.sent);case 7:case"end":return i.stop()}}),i)}))()}function V(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return l().mark((function o(){var i,a,c,s;return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(void 0===r&&(r="create"===t),i="".concat(e,"/").concat(t),void 0===w.A.getObjectCache("forms",i)||r){o.next=4;break}return o.abrupt("return",w.A.getObjectCache("forms",i));case 4:return a=R(R({},["create","search"].includes(t)?{queryParams:{_display:!0}}:{}),n&&{acceptedStatusCodes:[404]}),o.next=7,(0,b.T1)(A.Gt,"forms/".concat(i),a);case 7:if(c=o.sent,!n||404!==c.status){o.next=11;break}return w.A.addObjectCache("forms",i,null),o.abrupt("return",null);case 11:return o.next=13,(0,b.T1)(X,c.body);case 13:return s=o.sent,w.A.addObjectCache("forms",i,s),o.abrupt("return",s);case 16:case"end":return o.stop()}}),o)}))()}function $(e){var t;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,b.T1)(A.Gt,"client/searchfilters/".concat(e));case 2:return t=n.sent,n.abrupt("return",t.body.filters);case 4:case"end":return n.stop()}}),S)}function K(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J;return l().mark((function n(){var r,o,i;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(r=w.A.getObjectCache("model",e))){n.next=3;break}return n.abrupt("return",r);case 3:return n.next=5,(0,b.T1)(A.Gt,"entities/".concat(e,"/model"));case 5:return o=n.sent,n.next=8,(0,b.T1)(t,o.body);case 8:return i=n.sent,w.A.addObjectCache("model",e,i),n.abrupt("return",i);case 11:case"end":return n.stop()}}),n)}))()}var J=function(e){var t={name:e.name,label:e.label,markable:e.markable,useNiceFields:e.useNiceFields,keyField:e.keyField,paths:{}};return e.fields.forEach((function(e){t.paths[e.fieldName]=R({},e)})),e.relations.forEach((function(e){t.paths[e.relationName]=R({type:"relation"},e)})),t},X=function(e){return e.form},Q=function(e){return e.data},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.conditions,n=e.fields,r=e.form,o=e.limit,i=e.search,a=e.sorting,c=e.page,s=e.paths,u=e.where,l=e.relations,f=e.filter,d=e.keys,p=e.constriction;return R(R(R(R(R(R(R(R(R(R(R(R(R({},t?{conditions:t}:{}),Array.isArray(n)?{fields:0===n.length?"!":n}:{}),r?{form:r}:{}),o?{limit:o}:{}),i?{search:i}:{}),a?{sort:ee(a)}:{}),c&&o?{offset:(c-1)*o}:{}),s?{paths:s}:{}),u?{where:u}:{}),Array.isArray(l)?{relations:0===l.length?"!":l}:{}),f?{filter:f}:{}),d?{keys:d}:{}),p?{constriction:p}:{})},ee=function(e){return e.map((function(e){return"".concat(e.field," ").concat(e.order)})).join(", ")},te=function(e){return g()(e,(function(e,t,n){var r={};return"conditions"===n?r=ne(t):r["_"+n]=Array.isArray(t)?t.join(","):t,R(R({},e),r)}),{})},ne=function(e){return g()(e,(function(e,t,n){return R(R({},e),{},s()({},n,h()(t)&&t.value?t.value:t))}),{})};function re(){var e,t,n,r,o,i;return l().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,b.T1)(A.Gt,"principals");case 2:return e=a.sent,t=e.body,n=t.username,r=t.businessUnit,o=t.inWrongBusinessUnit,i={username:n,currentBusinessUnit:r,inWrongBusinessUnit:o},a.abrupt("return",i);case 6:case"end":return a.stop()}}),k)}function oe(e){var t,n;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t={method:"POST",body:{selection:e}},r.next=3,(0,b.T1)(A.Gt,"client/markings",t);case 3:return n=r.sent,r.abrupt("return",n.body.markings);case 5:case"end":return r.stop()}}),j)}function ie(e,t){var n,r;return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n={method:"GET"},o.next=3,(0,b.T1)(A.Gt,"client/markings/".concat(e,"/").concat(t),n);case 3:return r=o.sent,o.abrupt("return",r.body.marked);case 5:case"end":return o.stop()}}),T)}function ae(e,t,n){var r;return l().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return r={method:"PATCH",body:{marked:n}},o.next=3,(0,b.T1)(A.Gt,"client/markings/".concat(e,"/").concat(t),r);case 3:case"end":return o.stop()}}),P)}function ce(){var e,t,n;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=w.A.getLongTerm("server","locales"))){r.next=3;break}return r.abrupt("return",e);case 3:return r.next=5,(0,b.T1)(A.Gt,"locales");case 5:return t=r.sent,n=t.body.locales,w.A.addLongTerm("server","locales",n),r.abrupt("return",n);case 9:case"end":return r.stop()}}),C)}function se(){var e,t,n;return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=w.A.getLongTerm("server","modules"))){r.next=3;break}return r.abrupt("return",e);case 3:return r.next=5,(0,b.T1)(A.Gt,"modules");case 5:return t=r.sent,n=t.body.modules,w.A.addLongTerm("server","modules",n),r.abrupt("return",n);case 9:case"end":return r.stop()}}),_)}},7947:(e,t,n)=>{"use strict";n.d(t,{Hk:()=>p,SF:()=>d,jz:()=>f,o4:()=>l});var r=n(92207),o=n.n(r),i=n(90167),a=n(31781),c=o().mark(l),s=o().mark(f),u=o().mark(p);function l(e){var t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.Gt,"client/preferences".concat(e?"/"+e:""));case 2:return t=n.sent,n.abrupt("return",t.body.preferences);case 4:case"end":return n.stop()}}),c)}function f(e){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.T1)(a.Gt,"client/preferences/".concat(e),{method:"DELETE"});case 2:case"end":return t.stop()}}),s)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/nice2/ui/settings";return o().mark((function n(){return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,i.T1)(a.Gt,"client/preferences",{method:"PATCH",body:{path:t,values:e}});case 2:case"end":return n.stop()}}),n)}))()}function p(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.T1)(a.Gt,"client/settings/reset",{method:"POST"});case 2:case"end":return e.stop()}}),u)}},80211:(e,t,n)=>{"use strict";n.d(t,{BA:()=>m,lQ:()=>p,rL:()=>h});var r=n(92207),o=n.n(r),i=n(90179),a=n.n(i),c=n(90167),s=n(18242),u=n(31781),l=o().mark(p),f=o().mark(h),d=o().mark(m);function p(){var e,t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.T1)(u.Gt,"client/settings");case 2:return e=n.sent,t=a()(e.body,["_links"]),n.abrupt("return",t);case 5:case"end":return n.stop()}}),l)}function h(){var e,t;return o().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.T1)(u.Gt,"client/settings");case 2:return e=n.sent,t=a()(e.body,["_links"]),n.abrupt("return",t.niceRevision);case 5:case"end":return n.stop()}}),f)}function m(){var e,t,n;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(e=s.A.getObjectCache("server","maxLimit"))){r.next=5;break}return r.abrupt("return",e);case 5:return r.next=7,(0,c.T1)(p);case 7:return t=r.sent,n=t.maxLimit,s.A.addObjectCache("server","maxLimit",n),r.abrupt("return",n);case 11:case"end":return r.stop()}}),d)}},57327:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(29564),o=n(22729),i=n(36094),a=n(7947),c=n(80211),s=n(30355),u=n(31781);const l={requestSaga:u.Gt,requestBytesSaga:u.r9,simpleRequest:u.M$,ClientQuestionCancelledException:r.A,ForbiddenException:o.A,InformationError:s.A,fetchEntity:i.QN,fetchAllEntities:i.rN,fetchEntitiesPage:i.rS,fetchDisplay:i.LU,invalidateDisplay:i.UA,fetchDisplays:i.qq,invalidateDisplays:i.fW,fetchDisplayExpressions:i.qj,fetchForm:i.hc,fetchModel:i.aO,defaultModelTransformer:i._P,fetchEntityCount:i.f2,fetchSearchFilters:i.Cx,buildRequestQuery:i.op,requestQueryToUrlParams:i.s_,fetchPrincipal:i.HM,fetchUserPreferences:a.o4,deleteUserPreferences:a.jz,savePreferences:a.SF,resetAllPreferences:a.Hk,fetchServerSettings:c.lQ,fetchServerRevision:c.rL,fetchServerMaxLimit:c.BA,createSortingString:i.cM,fetchMarkings:i.tL,fetchMarked:i.D8,setMarked:i.Jt,entityExists:i.Ov,fetchLocales:i.sU,fetchModules:i.CO}},38726:(e,t,n)=>{"use strict";n.d(t,{A:()=>m,w:()=>h});var r=n(26396),o=n.n(r),i=n(14672),a=n(30355);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=412,l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(!(e.ok||n.includes(e.status)||e.body&&t.includes(e.body.errorCode))){if(409===e.status&&e.body.information)throw new a.A(e.body.information);var r="".concat(e.statusText," ").concat(e.body?e.body.message:"");throw new Error(r)}return e},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e.json()},n=e.ok,r=e.headers,o=e.status,i={ok:n,headers:r,status:o,statusText:e.statusText};return 204===o?s(s({},i),{},{body:null}):t(e).then((function(e){return s(s({},i),{},{body:e})})).catch((function(e){return s(s({},i),{},{body:null})}))},d=function(e){return f(e,(function(e){return e.blob()}))},p=function(e){return s(s({},e),{},{referrerPolicy:"no-referrer-when-downgrade",signal:i.A.abortController.signal})};function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return r.push(u),fetch(e,p(t)).then((function(e){return f(e)})).then((function(e){return l(e,n,r)}))}function m(e,t,n,r){return fetch(e,p(t)).then((function(e){return d(e)})).then((function(e){return l(e,n,r)}))}},31781:(e,t,n)=>{"use strict";n.d(t,{Gt:()=>A,M$:()=>S,r9:()=>O});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(90167),s=n(38159),u=n(94727),l=n(79253),f=n(18562),d=n(72942),p=n(52259),h=n(30355),m=n(38726);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=a().mark(x),b=a().mark(E),w=function(e){var t=Object.keys(e||{}).filter((function(t){return!!e[t]})).sort((function(e,t){return e.localeCompare(t)})).map((function(t){return Array.isArray(e[t])?e[t].map((function(e){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e))})).join("&"):"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))})).join("&");return t?"?".concat(t):""};function x(e){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e instanceof h.A)){t.next=5;break}return t.next=3,(0,c.yJ)(d.A.toaster({type:"info",title:"client.common.information",body:e.message}));case 3:t.next=6;break;case 5:throw e;case 6:case"end":return t.stop()}}),g)}function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a().mark((function n(){var r,o,i,s,u;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.T1)(E,t);case 2:return n.next=4,(0,c.T1)(k,e,t);case 4:return r=n.sent,n.next=7,(0,c.T1)(j,t);case 7:if(o=n.sent,i=o.addBlockingInfoAction,s=o.removeBlockingInfoAction,n.prev=9,!i){n.next=13;break}return n.next=13,(0,c.yJ)(i);case 13:return n.next=15,(0,c.T1)(m.w,r.url,r.options,t.acceptedErrorCodes,t.acceptedStatusCodes);case 15:if(u=n.sent,!s){n.next=19;break}return n.next=19,(0,c.yJ)(s);case 19:return n.next=21,(0,c.T1)(p.OO,u,r,t,o);case 21:return u=n.sent,n.abrupt("return",u);case 25:if(n.prev=25,n.t0=n.catch(9),!s){n.next=30;break}return n.next=30,(0,c.yJ)(s);case 30:return n.next=32,x(n.t0);case 32:return n.abrupt("return",{});case 33:case"end":return n.stop()}}),n,null,[[9,25]])}))()}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a().mark((function n(){var r;return a().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,c.T1)(E,t);case 2:return n.next=4,(0,c.T1)(k,e,t);case 4:return r=n.sent,n.prev=5,n.next=8,(0,c.T1)(m.A,r.url,r.options,t.acceptedErrorCodes,t.acceptedStatusCodes);case 8:return n.abrupt("return",n.sent);case 11:return n.prev=11,n.t0=n.catch(5),n.next=15,x(n.t0);case 15:return n.abrupt("return",{});case 16:case"end":return n.stop()}}),n,null,[[5,11]])}))()}function E(e){var t,n;return a().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null!==(t=e.queryParams)&&void 0!==t&&t.locale){r.next=5;break}return r.next=3,(0,c.Lt)(u.A.localeSelector);case 3:n=r.sent,e.queryParams=y(y({},e.queryParams),{},{locale:n});case 5:return r.abrupt("return",e);case 6:case"end":return r.stop()}}),b)}var S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=k(e,t);return(0,m.w)(n.url,n.options,t.acceptedErrorCodes,t.acceptedStatusCodes)};function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.queryParams,r=void 0===n?{}:n,o=t.method,i=void 0===o?"GET":o,a=t.backendUrl,c=void 0===a?s.A.getBackendUrl():a,u=l.A.prepareHeaders(t),f=t.body;!f||f instanceof FormData||"string"==typeof f||(f=JSON.stringify(f));var d=y({method:i,headers:u,credentials:"include"},f?{body:f}:{}),p=s.A.getWidgetConfigKey(),h=y(y({},r),r._widget_key?{}:{_widget_key:p}),m=w(h),v=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")||t.startsWith("nice2")?l.A.prepareUrl(e,t):"".concat(e,"/nice2/rest/").concat(t)}(c,e);return{url:"".concat(v).concat(m),options:d}}function j(e){var t=e.blockingInfoTitle;return a().mark((function e(){var n,r,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t){e.next=10;break}return e.next=3,(0,c.T1)(f.A);case 3:return n=e.sent,r=t,o=d.A.blockingInfo(n,r),i=d.A.removeBlockingInfo(n),e.abrupt("return",{addBlockingInfoAction:o,removeBlockingInfoAction:i});case 10:return e.abrupt("return",{});case 11:case"end":return e.stop()}}),e)}))()}},20451:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(77419);const o={connectSocket:r.cH,closeSocket:r.sM}},77419:(e,t,n)=>{"use strict";n.d(t,{cH:()=>v,sM:()=>y});var r=n(26396),o=n.n(r),i=n(92207),a=n.n(i),c=n(32742),s=n(90167),u=n(19461),l=n(38159),f=a().mark(v);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=1e3,m={};function v(e){var t,n,r;return a().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,s.T1)(b,e.name,e.originId);case 2:return t=o.sent,o.next=5,(0,s.T1)(g,p(p({},e),{},{url:t}));case 5:n=o.sent;case 6:return o.next=9,(0,s.s)(n);case 9:return r=o.sent,o.next=12,(0,s.yJ)(r);case 12:o.next=6;break;case 14:case"end":return o.stop()}}),f)}function y(e){m[e].close(h)}var g=function(e){return(0,c.Od)((function(t){var n=function(){var r=e.url,o=e.messageReceivedAction,i=e.name;m[i]=new WebSocket(r),m[i].onmessage=function(e){var n=JSON.parse(e.data);t(o(n))},m[i].onclose=function(e){e.code!==h&&n()},m[i].onerror=function(e){u.A.log("socket error",e)}};return n(),function(){}}))},b=function(e,t){var n=(l.A.getBackendUrl()||window.location.origin).replace("http://","ws://").replace("https://","wss://");return"".concat(n,"/nice2/websocket/").concat(e,"?X-Origin-Id=").concat(t)}},52334:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,X:()=>i});var r=n(5556),o={NONE:"none",FULLTEXT:"fulltext",SIMPLE:"simple",SIMPLE_ADVANCED:"simple_advanced",ADVANCED:"advanced",ADMIN:"admin"},i=n.n(r)().oneOf(Object.values(o));const a=o},94200:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={defaultTheme:{name:"default",colors:{paper:"#fff",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#263e5b",secondaryLight:"#347da9",secondaryLighter:"#4fade5",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textPopover:"#fcfcfc",backgroundBody:"#dee6ed",backgroundBreadcrumbs:"#dee6ed",backgroundPopover:"#424242",backgroundItemHover:"#e6e6e6",backgroundItemSelected:"#ccc",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#e6e6e6",hoverInteractiveIcon:"#263e5b",loadingSpinner:"#000",breadcrumbsActive:"#b22a31",border:"#ccc",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",dangerLight:"#e77c7c",info:"#027cc1",infoLight:"#78cdfe",success:"#337f37",successLight:"#91d395",warning:"#ec8a00",warningLight:"#ffd7a0",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0,menuEntries:"4px"},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1,diffViewer:{codeFoldGutterBackground:"#e6e6e6",codeFoldBackground:"#f2f2f2",gutterBackground:"#f2f2f2",diffViewerTitleBackground:"#fff",diffViewerTitleBorderColor:"#fff",emptyLineBackground:"#fcfcfc",addedBackground:"#cbffce",addedColor:"#24292e",removedBackground:"#ffbfbf",removedColor:"#24292e",wordAddedBackground:"#91d395",wordRemovedBackground:"#e77c7c",addedGutterBackground:"#91d395",removedGutterBackground:"#e77c7c"}},darkTheme:{name:"dark",colors:{paper:"#212330",primary:"#b22a31",primaryLight:"#d13e45",secondary:"#6eafff",secondaryLight:"#82baff",secondaryLighter:"#9ECAFF",text:"#dfdfdf",textLight:"#bdbdbd",textLighter:"#818181",textDisabled:"#7a7a7a",textLabel:"#121212",textToaster:"#000",textPopover:"#fff",backgroundBody:"#2C2F41",backgroundBreadcrumbs:"#2C2F41",backgroundPopover:"#757575",backgroundItemHover:"#444",backgroundItemSelected:"#565656",backgroundItemLastOpened:"#636363",backgroundTableEvenRow:"#2f2f2f",backgroundTableTiles:"#2f2f2f",backgroundScrollbar:"#444",backgroundScrollbarHover:"#666",backgroundPanelHeaderFooter:"#444",backgroundTypographyCode:"#444",backgroundToccoCircleProduction:"#b22a31",backgroundToccoCircleTest:"#263e5b",backgroundBurgerMenuBars:"#fff",backgroundMultiValue:"#6e6e6e",hoverInteractiveIcon:"#fff",loadingSpinner:"#cccccc",breadcrumbsActive:"#82baff",border:"#666",borderTable:"#666",borderLight:"#444",borderSelect:"#4fade5",signal:{danger:"#d74444",dangerLight:"#f18888",info:"#4fade5",infoLight:"#9ce6ff",success:"#4DAC54",successLight:"#72c172",warning:"#ec8a00",warningLight:"#ffcc84",neutral:"#CECECE"}},fontFamily:{monospace:"Ubuntu Mono, monospace",regular:"Ubuntu, sans-serif",url:"https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap"},fontSize:{base:1.3,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"13px",buttonLarge:"25px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0,menuEntries:"4px"},space:{base:1.3,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"dracula",diffViewerDarkTheme:!0,diffViewer:{diffViewerBackground:"#212330",codeFoldGutterBackground:"#444",codeFoldBackground:"#2f2f2f",gutterBackground:"#2f2f2f",diffViewerTitleBackground:"#212330",diffViewerTitleBorderColor:"#212330",emptyLineBackground:"#2f2f2f",diffViewerColor:"#dfdfdf",addedBackground:"#217a28",addedColor:"#dfdfdf",removedBackground:"#b92e2e",removedColor:"#dfdfdf",wordAddedBackground:"#35913c",wordRemovedBackground:"#d74444",addedGutterBackground:"#35913c",removedGutterBackground:"#d74444"}}}},29436:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(72817).A},72817:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={name:"widget",colors:{paper:"#FFFFFF",primary:"#000000",primaryLight:"#424242",secondary:"#333",secondaryLight:"#7c7c7c",secondaryLighter:"#bababa",text:"#000",textLight:"#595959",textLighter:"#8c8c8c",textDisabled:"#bcbcbc",textLabel:"#121212",textToaster:"#fcfcfc",textPopover:"#fcfcfc",backgroundBody:"#EDF1F5",backgroundBreadcrumbs:"#DEE6ED",backgroundPopover:"#424242",backgroundItemHover:"#E6E6E6",backgroundItemSelected:"#CCC",backgroundItemLastOpened:"#B9B9B9",backgroundTableEvenRow:"#f2f2f2",backgroundTableTiles:"#f2f2f2",backgroundScrollbar:"#999",backgroundScrollbarHover:"#808080",backgroundPanelHeaderFooter:"#f2f2f2",backgroundTypographyCode:"#e6e6e6",backgroundMultiValue:"#e6e6e6",loadingSpinner:"#000",border:"#ccc",borderTable:"#ccc",borderLight:"#ededed",borderSelect:"#027cc1",signal:{danger:"#961b1b",dangerLight:"#e77c7c",info:"#027cc1",infoLight:"#78cdfe",success:"#337f37",successLight:"#91d395",warning:"#ec8a00",warningLight:"#ffd7a0",neutral:"#CECECE"}},fontFamily:{monospace:"inherit",regular:"inherit"},fontSize:{base:1,factor:1.1},fontWeights:{regular:300,bold:500},lineHeights:{dense:1,light:1.2,regular:1.4},radii:{statusLabel:"8px",button:"2px",buttonLarge:"4px",form:0,dashboard:0,modal:0,toaster:"8px",menu:0},space:{base:1,factor:2},specificProperties:{actionBarStickyTopPosition:0},codeEditorTheme:"textmate",diffViewerDarkTheme:!1,diffViewer:{}}},7068:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8281);const o={shouldForwardProp:n(23433).A,isPropValid:r.A}},8281:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(91907);const o=function(e){return(0,r.A)(e)}},23433:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8281);const o=function(e,t){return"string"!=typeof t||(0,r.A)(e)}},50098:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(26396),o=n.n(r),i=n(5556),a=n.n(i),c=n(4883),s=n.n(c),u=n(64116),l=n(77271),f=n(67821),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=s().forwardRef((function(e,t){return(0,d.jsx)(f.A,h(h({ref:t,type:"button"},e),{},{children:(0,d.jsx)(u.A,{icon:e.icon})}))}));m.propTypes={disabled:a().bool,icon:a().string.isRequired,ink:l.A.inkPropTypes,look:a().oneOf([l.A.look.FLAT,l.A.look.RAISED]),onClick:a().func,title:a().string,tabIndex:a().number,"data-cy":a().string};const v=m},67821:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(26166),u=n(47616),l=n(85431),f=n(62124);const d=c.Ay.button.withConfig({displayName:"StyledButton"})(o||(o=a()(["\n ","\n ","\n ","\n cursor: pointer;\n"])),(0,l.A)(),f.A,(function(){return(0,c.AH)(r||(r=a()(["\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n padding: ",";\n\n /* ensure that width has at least the size of height */\n min-width: calc(\n 1rem * "," * "," + 2.4 * ","\n );\n box-sizing: border-box;\n"])),s.A.space(-3),u.A.fontSize("base"),u.A.lineHeight("regular"),s.A.space(-3))}))},62764:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(26396),o=n.n(r),i=n(4883),a=n.n(i),c=n(64116),s=n(69556),u=n(77271),l=n(15777),f=n(5975),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const m=a().forwardRef((function(e,t){var n=e.aria,r=e.ink,o=e.label,i=e.title,a=e.icon,p=e.pending,m=e.look,v=void 0===m?u.A.look.FLAT:m,y=e.iconPosition,g=void 0===y?u.A.position.PREPEND:y,b=e.type,w=void 0===b?"button":b,x=e.iconOnly,A=e.children,O=(0,l.j)().labelVisibility;return(0,d.jsxs)(f.Ay,h(h(h({ref:t},n),e),{},{ink:r||u.A.ink.BASE,"data-cy":e["data-cy"],title:i||o,labelVisibility:O,type:w,children:[a&&!p&&(0,d.jsx)(c.A,{icon:a}),p&&(0,d.jsx)(s.A,{ink:r||u.A.ink.BASE,look:v,position:g,size:"1em"}),!x&&o?(0,d.jsx)(f.Bd,{children:o}):A||""]}))}))},15777:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p,j:()=>d,r5:()=>u});var r=n(22056),o=n.n(r),i=n(4883),a=n.n(i),c=n(7311),s=n(74848),u={visible:"visible",hidden:"hidden",responsive:"responsive"},l={labelVisibility:u.responsive},f=a().createContext(l),d=function(){return(0,i.useContext)(f)};const p=function(e){var t=e.children,n=(0,i.useRef)(null),r=c.A.useResizeObserver(),a=o()(r,2),l=a[0],d=a[1],p=n.current?(null==d?void 0:d.width)<n.current:(null==d?void 0:d.height)>45;(0,i.useEffect)((function(){n.current=p?d.width+1:null}),[p]);var h=(0,i.useMemo)((function(){return{labelVisibility:p?u.hidden:u.visible}}),[p]);return(0,s.jsx)(f.Provider,{value:h,children:t(l)})}},5975:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m,Bd:()=>d,C6:()=>h});var r,o,i,a=n(72189),c=n.n(a),s=n(51510),u=n(26166),l=n(57488),f=n(79455),d=s.Ay.span.withConfig({displayName:"StyledLabelWrapper"})(r||(r=c()([""]))),p=s.Ay.button.withConfig({displayName:"StyledButton"})(o||(o=c()(["\n ","\n"])),f.i),h=s.Ay.div.withConfig({displayName:"StyledStickyButtonWrapper"})(i||(i=c()(["\n position: sticky;\n bottom: 0;\n padding-top: ",";\n background-color: ",";\n display: flex;\n justify-content: ",";\n z-index: 1;\n\n ",":last-child {\n margin-right: 0;\n }\n"])),u.A.space(0),l.t7.color("paper"),(function(e){return"LEFT"===e.position?"flex-start":"flex-end"}),p);const m=p},79455:(e,t,n)=>{"use strict";n.d(t,{i:()=>y});var r,o,i,a,c=n(72189),s=n.n(c),u=n(51510),l=n(77271),f=n(47616),d=n(26166),p=n(85431),h=n(62124),m=n(15777),v=n(5975),y=(0,u.AH)(a||(a=s()(["\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n text-align: center;\n vertical-align: middle;\n white-space: nowrap;\n border: none;\n border-radius: ",";\n margin-right: ",";\n padding: "," ",";\n cursor: pointer;\n ","\n ","\n ","\n ","\n ","\n\n & > span:first-child {\n margin-left: 0;\n }\n ","\n"])),f.A.radii("button"),d.A.space(-1.38),d.A.space(-2.1),d.A.space(0),(0,p.A)(),(function(e){return e.withoutBackground?(0,u.AH)(i||(i=s()(["\n background: transparent;\n"]))):(0,h.A)(e)}),(function(e){return n=(t=e).dense,o=t.theme,n?(0,u.AH)(r||(r=s()(["\n line-height: ",";\n padding: "," ",";\n "])),f.A.lineHeight("dense")({theme:o}),d.A.space(-3.5)({theme:o}),d.A.space(-1.5)({theme:o})):null;var t,n,o}),(function(e){return n=(t=e).iconOnly,r=t.removePadding,n||r?(0,u.AH)(o||(o=s()(["\n padding: 0;\n margin: 0;\n "]))):null;var t,n,r}),(function(e){return function(e){var t=e.icon,n=e.pending,r=e.iconPosition;if(t||n)return r===l.A.position.APPEND?"\n > span {\n order: -1;\n margin-right: .5rem;\n }\n ":"\n > span {\n margin-left: .5rem;\n }\n "}(e)}),(function(e){var t=e.icon,n=e.labelVisibility,r="\n ".concat(v.Bd," {\n display: none;\n }\n ");return t&&n===m.r5.hidden?r:t&&n===m.r5.responsive&&"\n @media screen and (max-width: 1024px) {\n ".concat(r,"\n }\n ")}))},12450:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(5556),o=n.n(r),i=n(4883),a=n.n(i),c=n(78847),s=n(74848),u=a().forwardRef((function(e,t){return(0,s.jsx)(c.A,{ref:t,children:e.children})}));u.propTypes={children:o().node};const l=u},78847:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(5975);const s=a.Ay.div.withConfig({displayName:"StyledButtonGroup"})(r||(r=i()(["\n display: flex;\n\n &&& > "," {\n &:not(:first-child) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n\n &:not(:last-child) {\n margin-right: 0;\n border-right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n }\n"])),c.Ay)},40809:(e,t,n)=>{"use strict";n.d(t,{I:()=>v});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(93564),s=n(57488),u=n(85431),l=n(26166),f=s.t7.color("secondaryLight"),d=s.t7.color("paper"),p=s.t7.color("text"),h=s.t7.color("secondary"),m=s.t7.radii("form"),v=(0,a.DU)(r||(r=i()(["\n .react-datepicker-popper {\n && {\n /* higher than StyledHolder and very high value to prevent other elements blocking it when implemented as a widget */\n z-index: 9100;\n margin: 0;\n }\n }\n\n .react-datepicker-wrapper {\n width: 100%;\n\n .react-datepicker__input-container {\n "," {\n color: ",";\n }\n }\n }\n\n .react-datepicker.react-datepicker .react-datepicker__time-container--with-today-button,\n .react-datepicker.react-datepicker .react-datepicker__time-container .react-datepicker__time {\n border-radius: "," !important;\n height: 100%;\n }\n\n .react-datepicker {\n && {\n * {\n box-sizing: content-box; /* prevent box-sizing problems in widgets */\n }\n border-radius: ",";\n border: 1px solid ",";\n background-color: ",";\n ","\n\n .react-datepicker__header {\n ","\n border-radius: 0;\n background-color: ",";\n padding-bottom: 0;\n border-top-left-radius: ",";\n border-top-right-radius: ",";\n }\n\n .react-datepicker__navigation {\n top: 3px;\n }\n\n .react-datepicker__navigation--previous,\n .react-datepicker__navigation--next {\n margin-top: ",";\n }\n ","\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow,\n .react-datepicker__navigation-icon:before {\n border-color: "," !important;\n border-width: 1.5px 1.5px 0 0;\n }\n\n .react-datepicker__month-read-view--selected-month,\n .react-datepicker__year-read-view--selected-year {\n font-size: ",";\n font-weight: ",";\n }\n\n .react-datepicker__current-month {\n ","\n }\n\n .react-datepicker__day-name {\n color: ",";\n font-size: ",";\n }\n\n .react-datepicker__day,\n .react-datepicker__day-name {\n border: 1px solid transparent;\n padding: ",";\n outline: none;\n }\n\n .react-datepicker__day.react-datepicker__day--selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n color: #fff; /* static in all themes */\n\n &:focus {\n border-color: ",";\n background-color: ",";\n }\n }\n\n .react-datepicker__day--keyboard-selected {\n background-color: ",";\n border-color: ",";\n border-radius: 50%;\n }\n\n .react-datepicker__day--today,\n .react-datepicker__month-text--today,\n .react-datepicker__quarter-text--today,\n .react-datepicker__year-text--today {\n border-radius: 50%;\n border-color: ",";\n }\n\n .react-datepicker__today-button {\n ","\n background-color: ",";\n border-top: 0;\n padding-bottom: ",";\n padding-top: 0;\n\n &:hover > button {\n background-color: ",";\n }\n\n &:last-child {\n border-radius: ",";\n }\n }\n\n .react-datepicker__input-time-container {\n display: flex;\n justify-content: center;\n margin: 5px 0;\n align-items: baseline;\n gap: ",";\n background-color: ",";\n\n .react-datepicker-time__input {\n margin: 0;\n\n input {\n width: 80px;\n border: 1px solid ",";\n border-radius: ",";\n text-align: center;\n margin-top: ",";\n margin-bottom: ",";\n }\n }\n }\n\n .react-datepicker-time__header {\n font-size: ",";\n color: ",";\n font-weight: ",";\n padding-bottom: ",";\n }\n\n .react-datepicker__header__dropdown.react-datepicker__header__dropdown--scroll {\n width: 250px;\n margin: 8px auto;\n display: grid;\n grid-template-columns: 140px 70px;\n }\n\n .react-datepicker__month-read-view,\n .react-datepicker__year-read-view {\n color: ",";\n visibility: visible !important;\n }\n\n .react-datepicker__year-option,\n .react-datepicker__month-option,\n .react-datepicker__month-year-option {\n font-size: ",";\n }\n\n .react-datepicker__year-option:first-of-type,\n .react-datepicker__month-option:first-of-type,\n .react-datepicker__month-year-option:first-of-type,\n .react-datepicker__year-option:last-of-type,\n .react-datepicker__month-option:last-of-type,\n .react-datepicker__month-year-option:last-of-type {\n border-radius: 0;\n }\n\n .react-datepicker__year-read-view--down-arrow,\n .react-datepicker__month-read-view--down-arrow,\n .react-datepicker__month-year-read-view--down-arrow {\n top: 8px;\n right: 0;\n width: 5px;\n height: 5px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: -8px;\n }\n }\n\n .react-datepicker__year-dropdown-container--select,\n .react-datepicker__month-dropdown-container--select,\n .react-datepicker__month-year-dropdown-container--select,\n .react-datepicker__year-dropdown-container--scroll,\n .react-datepicker__month-dropdown-container--scroll,\n .react-datepicker__month-year-dropdown-container--scroll {\n margin: 0 2px;\n }\n\n .react-datepicker__year-read-view--down-arrow {\n right: -4px;\n\n /* decrease padding to prevent overflow on small screens */\n @media only screen and (max-width: 480px) {\n right: 3px;\n }\n }\n\n .react-datepicker__day-names {\n margin-bottom: 0;\n }\n\n .react-datepicker__day,\n .react-datepicker__month-text,\n .react-datepicker__quarter-text,\n .react-datepicker__year-text {\n color: ",";\n\n &:hover {\n border-color: ",";\n background-color: ",";\n border-radius: 50%;\n color: #fff;\n }\n }\n\n .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n height: 100%;\n border-radius: ",";\n background-color: ",";\n\n ul.react-datepicker__time-list {\n height: 100% !important;\n\n & li.react-datepicker__time-list-item {\n height: auto;\n }\n\n & li.react-datepicker__time-list-item:hover {\n background-color: ",";\n }\n\n & li.react-datepicker__time-list-item--selected {\n background-color: ",";\n }\n }\n }\n\n .react-datepicker__year-dropdown {\n left: 40%;\n top: 45px;\n }\n\n .react-datepicker__navigation--years-upcoming:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 8px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(-45deg);\n }\n\n .react-datepicker__navigation--years-previous:before {\n border-width: 1.5px 1.5px 0 0;\n border-color: ",";\n border-style: solid;\n content: '';\n display: block;\n position: absolute;\n top: 6px;\n left: 12px;\n height: 5px;\n width: 5px;\n transform: rotate(135deg);\n }\n\n .react-datepicker__year-dropdown,\n .react-datepicker__month-dropdown,\n .react-datepicker__month-year-dropdown {\n background-color: ",";\n border-radius: 0;\n border-color: ",";\n box-shadow: 0 0 5px rgb(0 0 0 / 30%);\n }\n\n .react-datepicker__year-option:hover,\n .react-datepicker__month-option:hover,\n .react-datepicker__month-year-option:hover {\n background-color: ",";\n }\n\n .react-datepicker__month-option--selected {\n left: 10px;\n }\n\n .react-datepicker__day--outside-month {\n color: ",";\n }\n\n .react-datepicker__time-container--with-today-button {\n border-color: ",";\n border-radius: ",";\n right: -88px;\n top: -0.5px;\n }\n\n .react-datepicker__header--time {\n display: none;\n }\n }\n }\n"])),c.i,p,s.t7.radii("form"),m,f,d,(0,u.A)(),(0,u.A)(),f,m,m,l.A.space(-.6),"\n .react-datepicker__current-month.react-datepicker__current-month--hasYearDropdown.react-datepicker__current-month--hasMonthDropdown {\n // Avoid showing the month and year a second time when it has month and year dropdowns.\n display: none;\n }\n",d,l.A.font(1),s.t7.fontWeight("bold"),(0,u.A)({fontWeight:s.t7.fontWeight("bold")}),d,l.A.font(-2),l.A.space(-1.8),h,h,h,f,f,f,h,(0,u.A)(),d,l.A.space(-.5),s.t7.color("backgroundItemHover"),m,l.A.space(-.5),d,s.t7.color("border"),s.t7.radii("form"),l.A.space(-1),l.A.space(-1),l.A.font(1),d,s.t7.fontWeight("bold"),l.A.space(-1),d,l.A.font(0),p,f,f,s.t7.radii("form"),d,f,h,p,p,d,f,s.t7.color("backgroundItemHover"),s.t7.color("textDisabled"),s.t7.color("border"),s.t7.radii("form"))},91890:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r,o=n(58065),i=n(19309),a=n(74848);const c=function(){return r||(r=(0,a.jsx)(i.d,{children:(0,a.jsx)(o.A,{id:"client.component.errorBoundary.text"})}))}},19309:(e,t,n)=>{"use strict";n.d(t,{d:()=>l});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(85431),s=n(57488),u=n(26166),l=a.Ay.div.withConfig({displayName:"StyledWrapper"})(r||(r=i()(["\n ",";\n background-color: ",";\n color: ",";\n padding: ",";\n"])),(0,c.A)(),(function(e){return e.theme.colors.signal.danger}),s.t7.color("paper"),u.A.space(-.5))},78928:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(91890).A},22598:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r,o=n(94712),i=n(74848);const a=function(e){var t=e.type,n=e.value,a=e.options,c=e.breakWords,s=e.useTitle,u=e.id;return null==n||""===n?r||(r=(0,i.jsx)("span",{})):(0,i.jsx)(o.A,{componentType:t,value:n,options:a,breakWords:c,useTitle:s,id:u})}},94712:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r,o=n(51629),i=n(38925),a=n(65190),c=n(65587),s=n(12955),u=n(10498),l=n(809),f=n(3321),d=n(59182),p=n(16019),h=n(10102),m=n(99058),v=n(18714),y=n(17517),g=n(41253),b=n(59189),w=n(41224),x=n(94370),A=n(74666),O=n(74848),E={boolean:o.A,date:i.A,datetime:a.A,document:u.A,"document-compact":s.A,duration:l.A,email:f.A,html:d.A,integer:p.A,"multi-remote":h.A,"multi-select":h.A,number:m.A,percent:v.A,phone:y.A,remote:g.A,"single-select":g.A,string:b.A,text:w.A,time:x.A,url:A.A,description:c.A};const S=function(e){var t=e.componentType,n=e.value,o=e.options,i=e.breakWords,a=void 0===i||i,c=e.useTitle,s=void 0===c||c,u=e.id;if(E[t]){var l=E[t];return(0,O.jsx)(l,{value:n,options:o,breakWords:a,useTitle:s,id:u})}return console.log("No FormattedValue mapper defined for component type",t,n),r||(r=(0,O.jsx)("div",{}))}},51629:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(51510),o=n(64116),i=n(74848);const a=(0,r.SL)((function(e){return(0,i.jsx)(o.A,{style:{fontSize:"".concat(e.theme.fontSize.base,"rem")},icon:e.value?"check":"times"})}))},38925:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6442),o=n(65013),i=n(56775),a=n(74848);const c=function(e){var t=(0,r.A)();return(0,a.jsx)(i.Ay.Time,{dateTime:e.value,title:t.formatDate(e.value),children:(0,a.jsx)(o.FormattedDate,{value:e.value,year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC",id:e.id})})}},65190:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(12541),i=n(65013),a=n(38798),c=n(56775),s=n(74848);const u=(0,a.Ay)((function(e){var t=e.value,n=e.intl,a=new Date(t);if(!t||isNaN(a))return console.error("DateTimeFormatter: Invalid date",t),r||(r=(0,s.jsx)(c.Ay.Span,{}));var u=(0,o.GP)(a,"HH:mm");return(0,s.jsxs)(c.Ay.Time,{dateTime:a.toISOString(),title:"".concat(n.formatDate(a),", ").concat(u),children:[(0,s.jsx)(i.FormattedDate,{value:a,year:"numeric",month:"2-digit",day:"2-digit"}),", ",u]})}))},65587:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(26396),i=n.n(o),a=n(64116),c=n(39319),s=n(56775),u=n(59182),l=n(67940),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const h=function(e){var t=e.options||{},n=(0,f.jsxs)(f.Fragment,{children:[t.title&&(0,f.jsx)(s.Ay.H5,{children:t.title}),(0,f.jsx)(u.A,p({},e))]});return"text"===t.mode?n:(0,f.jsx)(c.A,{content:n,isPlainHtml:!0,children:r||(r=(0,f.jsx)(l.o,{children:(0,f.jsx)(a.A,{icon:"question-circle"})}))})}},12955:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58156),o=n.n(r),i=n(46516),a=n(73329),c=n(44905),s=n(39319),u=n(74848);const l=function(e){var t=e.value,n=e.options||{},r=n.tooltips,l=n.loadTooltip,f=o()(r,t.resourceKey,null);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.A,{content:f?(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:a.A.sanitizeHtml(f)}}):null,children:(0,u.jsx)("span",{onMouseOver:function(){return l&&!f&&l(t.resourceKey)},children:(0,u.jsx)(c.A,{alt:t.alt||t.fileName,icon:"eye",look:"raised",target:"_blank",href:t.binaryLink,onClick:function(e){e.stopPropagation()}})})}),(0,u.jsx)(c.A,{alt:t.alt||t.fileName,icon:"arrow-to-bottom",look:"raised",target:"_blank",href:i.A.getDownloadUrl(t.binaryLink),onClick:function(e){e.stopPropagation()}})]})}},10498:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(39682),o=n(74848);const i=function(e){return(0,o.jsx)(r.A,{id:e.id,onUpload:function(){},immutable:!0,textResources:{download:e.options.downloadText},value:e.value?e.value:null})}},809:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(32224),o=n(56775),i=n(74848);const a=function(e){var t=e.value,n=parseInt(t),a=r.A.formatDuration(n);return(0,i.jsx)(o.Ay.Time,{dateTime:a,title:a,children:a})}},3321:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(44905),o=n(74848);const i=function(e){return(0,o.jsx)(r.A,{href:"mailto:".concat(e.value.toString()),target:"_blank",onClick:function(e){return e.stopPropagation()},label:e.value.toString(),breakWords:e.breakWords,useTitle:e.useTitle})}},59182:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(73329),a=n(67940),c=n(41224),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l=function(e){var t=e.id,n=e.value,r=e.breakWords,l=e.className,f=e.options;return(void 0===f?{}:f).escapeHtml?(0,s.jsx)(c.A,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e)):(0,s.jsx)(a.b,{id:t,dangerouslySetInnerHTML:{__html:i.A.sanitizeHtml(n)},breakWords:r,className:l})}},16019:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(56775),o=n(74848);const i=function(e){return(0,o.jsx)(r.Ay.Span,{breakWords:e.breakWords,useTitle:e.useTitle,children:e.value.toString()})}},10102:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(26396),o=n.n(r),i=n(58156),a=n.n(i),c=n(4883),s=n(73329),u=n(39319),l=n(56775),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(){return"; "};const m=function(e){var t=e.value,n=e.options,r=e.breakWords,o=e.useTitle,i=n||{},d=i.navigationStrategy,m=i.linkProps,v=i.tooltips,y=i.loadTooltip,g=(null==t?void 0:t.length)>0?t.map((function(e){if(null!=d&&d.DetailLink){var t=a()(v,e.key,null);return(0,f.jsx)("span",{onClick:function(e){return e.stopPropagation()},children:(0,f.jsx)(d.DetailLink,p(p({},m),{},{entityKey:e.key,children:(0,f.jsx)(u.A,{content:t?(0,f.jsx)("div",{dangerouslySetInnerHTML:{__html:s.A.sanitizeHtml(t)}}):null,children:(0,f.jsx)("span",{onMouseOver:function(){return y&&!t&&y(e.key)},children:e.display})})}))},e.key)}return(0,f.jsx)(c.Fragment,{children:e.display},e.key)})).reduce((function(e,t,n){return[e,(0,f.jsx)(h,{},"sep".concat(n)),t]})):null;return(0,f.jsx)(l.Ay.Span,{breakWords:r,useTitle:o,children:g})}},99058:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(65013),o=n(56775),i=n(74848);const a=function(e){return(0,i.jsx)(o.Ay.Span,{breakWords:e.breakWords,useTitle:e.useTitle,children:(0,i.jsx)(r.FormattedNumber,{value:e.value,style:"decimal",minimumFractionDigits:e.options&&e.options.postPointDigits||2})})}},18714:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(65013),o=n(56775),i=n(74848);const a=function(e){var t;return(0,i.jsx)(o.Ay.Span,{breakWords:e.breakWords,useTitle:e.useTitle,children:(0,i.jsx)(r.FormattedNumber,{value:e.value,style:"percent",minimumFractionDigits:null==e||null===(t=e.options)||void 0===t?void 0:t.postPointDigits})})}},17517:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(26396),o=n.n(r),i=n(4883),a=n(74848);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=(0,i.lazy)((function(){return Promise.all([n.e(211),n.e(672)]).then(n.bind(n,74302))}));const l=function(e){return(0,a.jsx)(i.Suspense,{fallback:"",children:(0,a.jsx)(u,s({},e))})}},41253:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(26396),o=n.n(r),i=n(58156),a=n.n(i),c=n(47383),s=n(73329),u=n(39319),l=n(56775),f=n(74848);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const h=function(e){var t=e.value,n=e.options,r=e.breakWords,o=e.id,i=n||{},d=i.tooltips,h=i.loadTooltip,m=i.navigationStrategy,v=i.linkProps,y=a()(d,t.key,null);t=c.A.getOrFirst(t);var g=(0,f.jsx)(l.Ay.Span,{breakWords:r,useTitle:!y,id:o,children:t.display});return(null!=m&&m.DetailLink?(0,f.jsx)("span",{onClick:function(e){return e.stopPropagation()},children:(0,f.jsx)(m.DetailLink,p(p({},v),{},{entityKey:t.key,children:(0,f.jsx)(u.A,{content:y?(0,f.jsx)("div",{dangerouslySetInnerHTML:{__html:s.A.sanitizeHtml(y)}}):null,children:(0,f.jsx)("span",{onMouseOver:function(){return h&&!y&&h(t.key)},id:o,children:g})})}))}):null)||g}},59189:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(56775),o=n(74848);const i=function(e){return(0,o.jsx)(r.Ay.Span,{breakWords:e.breakWords,useTitle:e.useTitle,id:e.id,children:e.value.toString()})}},67940:(e,t,n)=>{"use strict";n.d(t,{b:()=>m,o:()=>p});var r,o,i,a=n(72189),c=n.n(a),s=n(51510),u=n(5016),l=n(46005),f=n(57488),d=n(26166),p=s.Ay.span.withConfig({displayName:"StyledIconWrapper"})(r||(r=c()(["\n color: ",";\n font-size: ",";\n margin-left: -",";\n"])),f.t7.color("text"),d.A.font(1),d.A.space(-2)),h=(0,s.AH)(o||(o=c()(["\n display: inline-block;\n color: ","; /* nice2 reset */\n line-height: ","; /* nice2 reset */\n text-align: left; /* nice2 reset */\n vertical-align: unset; /* nice2 reset */\n font-size: 100% !important; /* nice2 reset */\n font-weight: "," !important; /* nice2 reset */\n padding: "," "," !important; /* nice2 reset */\n white-space: normal !important; /* nice2 reset */\n border-radius: ",";\n"])),f.t7.color("text"),f.t7.lineHeight("regular"),f.t7.fontWeight("regular"),d.A.space(-3),d.A.space(-1.5),f.t7.radii("statusLabel")),m=(0,s.Ay)(u.oY).withConfig({displayName:"StyledHtmlFormatter"})(i||(i=c()(["\n &&& {\n ","\n margin: 0 0 ",";\n\n svg {\n margin-right: ",";\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n\n .label {\n ","\n }\n\n .label-danger {\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-info {\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-warning {\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-success {\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-neutral {\n ","\n background-color: "," !important; /* nice2 reset */\n color: ",";\n }\n\n .label-status {\n border-radius: ",";\n padding: "," ",";\n\n &.filled {\n color: ",";\n background-color: ",";\n }\n }\n\n .label-attention {\n background-color: "," !important; /* nice2 reset */\n padding: "," "," !important;\n\n a {\n text-decoration: underline;\n color: #000; /* same color in all themes */\n }\n }\n }\n"])),(function(e){return(0,l.g)(e,"html")}),d.A.space(-1),d.A.space(-1.5),h,f.t7.color("signal.dangerLight"),f.t7.color("textLabel"),f.t7.color("signal.infoLight"),f.t7.color("textLabel"),f.t7.color("signal.warningLight"),f.t7.color("textLabel"),f.t7.color("signal.successLight"),f.t7.color("textLabel"),h,f.t7.color("signal.neutral"),f.t7.color("textLabel"),f.t7.radii("statusLabel"),d.A.space(-2.1),d.A.space(0),f.t7.color("paper"),f.t7.color("signal.info"),f.t7.color("signal.warningLight"),d.A.space(-1.5),d.A.space(.5))},41224:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(56775),o=n(74848);const i=function(e){return e.breakWords?(0,o.jsx)(r.Ay.P,{breakWords:!0,useTitle:e.useTitle,id:e.id,children:(t=e.value,t.split("\n").flatMap((function(e,t,n){return t+1<n.length?[e,(0,o.jsx)("br",{},t)]:e})))}):(0,o.jsx)(r.Ay.Span,{breakWords:!1,useTitle:e.useTitle,id:e.id,children:e.value.replace("/\n/g"," ")});var t}},94370:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(12541),o=n(38798),i=n(56775),a=n(74848),c=function(e,t){return parseInt(e.split(":")[t])||0};const s=(0,o.Ay)((function(e){var t=e.value,n=(e.intl,c(t,0)),o=c(t,1),s=c(t,2),u=c(t,3),l=new Date(2e3,1,1,n,o,s,u),f=(0,r.GP)(l,"HH:mm:ss.SSS"),d=(0,r.GP)(l,"HH:mm");return(0,a.jsx)(i.Ay.Time,{dateTime:f,title:d,children:d})}))},74666:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(44905),o=n(74848);const i=function(e){var t=e.value,n=e.breakWords,i=e.useTitle;return(0,o.jsx)(r.A,{onClick:function(e){e.stopPropagation()},href:t,target:"_blank",rel:"noopener noreferrer",label:t,breakWords:n,useTitle:i,neutral:!1})}},33563:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(22598).A},4787:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(57488),s=(0,a.DU)(r||(r=i()(["\n /****** Global text colors *****/\n \n /* usages: display expressions, freemarker, html content, icon styling, template snippets, ... */\n .text-success {\n color: ",";\n }\n\n .text-info {\n color: ",";\n }\n\n .text-warning {\n color: ",";\n }\n\n .text-danger {\n color: ",";\n }\n\n .text-muted {\n color: ",";\n }\n\n /***** Global text colors *****/\n\n /***** Template Snippets ******/\n\n /* light_cellrenderer */\n .light_cellrenderer {\n font-size: 1.6rem;\n display: inline-block;\n min-width: 1.7rem;\n }\n\n /***** Template Snippets *****/\n"])),c.t7.color("signal.success"),c.t7.color("signal.info"),c.t7.color("signal.warning"),c.t7.color("signal.danger"),c.t7.color("textDisabled"))},23260:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(57488),s=(0,a.DU)(r||(r=i()(["\n /* Chrome, Edge, and Safari */\n ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n }\n\n ::-webkit-scrollbar-thumb {\n background-color: ",";\n\n &:hover {\n background-color: ",";\n }\n }\n\n /* Firefox */\n * {\n scrollbar-color: "," transparent; /* Firefox workaround */\n scrollbar-width: thin;\n }\n"])),c.t7.color("backgroundScrollbar"),c.t7.color("backgroundScrollbarHover"),c.t7.color("backgroundScrollbar"))},7250:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,o=n(40809),i=n(4787),a=n(23260),c=n(74848);const s=function(){return r||(r=(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(i.h,{}),(0,c.jsx)(o.I,{}),(0,c.jsx)(a.E,{})]}))}},44518:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var r="tocco-app"},64116:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r,o=n(26396),i=n.n(o),a=n(4883),c=n.n(a),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=(0,a.lazy)((function(){return Promise.all([n.e(310),n.e(103),n.e(916)]).then(n.bind(n,8264))}));const d=function(e){return(0,s.jsx)(a.Suspense,{fallback:r||(r=(0,s.jsx)(c().Fragment,{})),children:(0,s.jsx)(f,l({},e))})}},93564:(e,t,n)=>{"use strict";n.d(t,{i:()=>a});var r,o=n(72189),i=n.n(o),a=n(51510).Ay.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=i()([""])))},43104:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166);const s=a.Ay.div.withConfig({displayName:"StyledLayoutContainer"})(r||(r=i()(["\n display: grid;\n padding-right: ",";\n ",";\n ",";\n"])),c.A.space(0),(function(e){var t=e.containerWidth,n=e.theme,r=e.minBoxWidth;return t<600?"grid-template-columns: 100%;":"grid-template-columns: repeat(auto-fit, minmax(".concat(r,"px, 1fr));\n grid-gap: ").concat(c.A.space(.25)({theme:n}))}),(function(e){return e.occupiesRemainingHeight&&"\n flex: 1;\n "}))},44905:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,o=n(64116),i=n(77271),a=n(72189),c=n.n(a),s=n(51510),u=n(85431),l=n(33090),f=n(47616);const d=s.Ay.a.withConfig({displayName:"StyledLink"})(r||(r=c()(["\n ","\n ","\n\n && {\n color: ",";\n text-decoration: ",";\n\n &:hover,\n &:focus {\n text-decoration: ",";\n }\n\n &:active {\n text-decoration: ",";\n }\n }\n"])),(0,u.A)(),(function(e){return e.breakWords?(0,l.K)():(0,l.s)()}),f.A.color("text"),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}),(function(e){return e.neutral?"none":"underline"}));var p=n(74848);const h=function(e){var t=e.alt,n=e.breakWords,r=void 0===n||n,a=e.download,c=e.href,s=void 0===c?"#":c,u=e.neutral,l=e.onClick,f=e.rel,h=e.tabIndex,m=e.target,v=void 0===m?"_self":m,y=e.title,g=e.label,b=e.icon,w=e.children,x=e.useTitle,A=void 0===x||x,O=y||(r?void 0:g);return(0,p.jsxs)(d,{alt:t,breakWords:r,download:a,href:s,neutral:u,onClick:l,rel:f,tabIndex:h,target:v,title:A?O:void 0,children:[b&&(0,p.jsx)(o.A,{icon:b,position:i.A.position.PREPEND}),g||w]})}},88208:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r,o=n(22056),i=n.n(o),a=n(4883),c=n(69556),s=n(56775),u=n(7647),l=n(74848);const f=function(e){var t=e.promises,n=e.required,o=e.children,f=e.loadingText,d=e.className,p=(0,a.useState)(!1),h=i()(p,2),m=h[0],v=h[1],y=(0,a.useState)(!0),g=i()(y,2),b=g[0],w=g[1];(0,a.useEffect)((function(){return t&&Promise.all(t).then((function(){var e;e=!0,b&&v(e)})),function(){w(!1)}}),[]);var x=n&&Array.isArray(n)?!n.some((function(e){return!e})):!!t&&m;return(0,l.jsx)(u.A,{className:d,children:x?o:(0,l.jsxs)(u.i,{children:[r||(r=(0,l.jsx)(c.A,{size:"30px"},"loading-spinner")),f&&(0,l.jsx)(s.Ay.Span,{children:f},"loadingText")]})})}},7647:(e,t,n)=>{"use strict";n.d(t,{A:()=>m,i:()=>h});var r,o,i,a,c=n(72189),s=n.n(c),u=n(51510),l=n(5016),f=n(26166),d=(0,u.i7)(r||(r=s()(["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"]))),p=(0,u.AH)(o||(o=s()(["\n animation: "," 400ms ease-in-out both;\n"])),d),h=u.Ay.div.withConfig({displayName:"StyledLoadingIconAndTest"})(i||(i=s()(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: ",";\n ",";\n\n > "," {\n margin-top: ",";\n z-index: 1;\n }\n"])),f.A.space(-1),p,l.oY,f.A.space(-1));const m=u.Ay.div.withConfig({displayName:"StyledLoadMask"})(a||(a=s()(["\n display: flex;\n flex-direction: column;\n flex: 1;\n height: 100%;\n z-index: 0; /* prevent interference with StyledPageOverlay when implemented as widget */\n"])))},69556:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r,o=n(26396),i=n.n(o),a=n(4883),c=n.n(a),s=n(74848);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=(0,a.lazy)((function(){return n.e(770).then(n.bind(n,68389))}));const d=function(e){return(0,s.jsx)(a.Suspense,{fallback:r||(r=(0,s.jsx)(c().Fragment,{})),children:(0,s.jsx)(f,l({},e))})}},94674:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(58689),s=n(34743),u=n(18491),l=n(4883),f=n(81845),d=n(12450),p=n(62764),h=n(99978),m=n(64116),v=n(5975),y=n(8634),g=n(74848);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const x=function(e){var t=e.onOpen,n=e.children,r=e.onClick,o=e.buttonProps,i=e.label,b=e.icon,x=(0,l.useState)(null),A=a()(x,2),O=A[0],E=A[1],S=(0,l.useState)(!1),k=a()(S,2),j=k[0],T=k[1],P=(0,l.useState)(!1),C=a()(P,2),_=C[0],D=C[1],R=function(){T(!j),t&&!_&&(t(),D(!0))},N=function(){T(!1)},I=j?"chevron-up":"chevron-down",M=(0,c.we)({open:j,onOpenChange:T,placement:"bottom-start",middleware:[(0,s.cY)(5),(0,s.UU)(),(0,s.Ej)({apply:function(e){var t=e.availableHeight;(0,f.flushSync)((function(){return E(t-15)}))}})],whileElementsMounted:u.ll}),L=M.refs,F=M.floatingStyles,H=M.context,B=(0,c.kp)(H),U=(0,c.s9)(H),W=(0,c.bv)([B,U]),z=W.getReferenceProps,G=W.getFloatingProps;return r?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(d.A,w(w({ref:L.setReference},z()),{},{children:[(0,g.jsx)(p.A,w(w({},o||{}),{},{onClick:r,label:i,"data-cy":e["data-cy"],icon:b})),(0,g.jsx)(y.qn,w(w({icon:I,onClick:R},o||{}),{},{"data-cy":"btn-buttonmenu-open"}))]})),j&&(0,g.jsx)(h.A,{floatingStyles:w(w({},F),{},{maxHeight:O}),getFloatingProps:G,refs:L,isOpen:j,onClose:N,children:n})]}):(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(p.A,w(w(w({"data-cy":e["data-cy"]},o||{}),{},{ref:L.setReference},z()),{},{onClick:R,icon:b,children:[(0,g.jsx)(v.Bd,{children:i}),(0,g.jsx)(y.o0,{children:(0,g.jsx)(m.A,{icon:I})})]})),j&&(0,g.jsx)(h.A,{floatingStyles:w(w({},F),{},{maxHeight:O}),getFloatingProps:G,refs:L,isOpen:j,onClose:N,children:n})]})}},99978:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(58689),a=n(4883),c=n.n(a),s=n(44518),u=n(8634),l=n(74848);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const p=function(e){var t=e.floatingStyles,n=e.getFloatingProps,r=e.refs,o=e.isOpen,a=e.onClose,f=e.children;return o?(0,l.jsx)(u.X7,{children:f&&o&&(0,l.jsx)(i.XF,{children:(0,l.jsx)(u.WB,d(d({ref:r.setFloating,style:t},n()),{},{className:s.e,children:c().Children.map(f,(function(e){return e&&c().cloneElement(e,{onClose:a})}))}))})}):null}},73621:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(26396),o=n.n(r),i=n(39892),a=n.n(i),c=n(4883),s=n.n(c),u=n(8634),l=n(74848),f=["children","onClick","onClose","disabled","closeOnClick","title","level"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){var t=e.children,n=e.onClick,r=e.onClose,o=e.disabled,i=e.closeOnClick,c=void 0===i||i,d=e.title,h=e.level,m=a()(e,f),v=s().Children.toArray(t).filter(Boolean),y=v.length>1,g=Boolean(n),b=v.map((function(e,t){var n,i=h?h++:1;return"MenuItem"===(null===(n=e.type)||void 0===n?void 0:n.displayName)?s().cloneElement(e,p(p({},e.props),{},{onClose:r,closeOnClick:c,level:i,key:"menu-item-".concat(t,"-").concat(i)})):(0,l.jsx)(u.j9,{hasOnClick:g,isGroup:y,title:d,disabled:o,look:"raised",level:h,"data-cy":m["data-cy"],children:e},"menu-item-label-".concat(t,"-").concat(i))}));return(0,l.jsx)(u.mV,{onClick:function(e){g&&!o&&(n(),c&&r&&r()),e.stopPropagation()},level:h,children:b})};h.displayName="MenuItem";const m=h},8634:(e,t,n)=>{"use strict";n.d(t,{WB:()=>O,X7:()=>A,j9:()=>S,mV:()=>E,o0:()=>w,qn:()=>x});var r,o,i,a,c,s,u,l,f=n(72189),d=n.n(f),p=n(51510),h=n(52690),m=n(26166),v=n(62764),y=n(85431),g=n(57488),b=n(62124),w=p.Ay.div.withConfig({displayName:"StyledIconWrapper"})(r||(r=d()(["\n margin-left: ",";\n margin-right: -",";\n"])),m.A.space(-1.7),m.A.space(-2.1)),x=(0,p.Ay)(v.A).withConfig({displayName:"StyledIconButtonWrapper"})(o||(o=d()(["\n padding-left: ",";\n padding-right: ",";\n"])),m.A.space(-.5),m.A.space(-.5)),A=p.Ay.div.withConfig({displayName:"StyledFloatingUiWrapper"})(i||(i=d()(["\n position: absolute;\n"]))),O=p.Ay.div.withConfig({displayName:"StyledFloatingUi"})(a||(a=d()(["\n min-height: calc(2 * "," + ","); /* min-height of 1 entry */\n width: max-content;\n overflow: hidden auto;\n background: ",";\n box-shadow: 0 0 5px rgba(0 0 0 / 30%);\n border: 1px solid ",";\n border-radius: ",";\n z-index: 9999999; /* higher than StyledModalHolder */\n box-sizing: border-box;\n"])),m.A.space(-1.4),m.A.font(0),g.t7.color("paper"),g.t7.color("secondaryLight"),g.t7.radii("menu")),E=p.Ay.div.withConfig({displayName:"StyledMenuItem"})(c||(c=d()(["\n min-width: 200px;\n max-width: 300px;\n"]))),S=p.Ay.div.withConfig({displayName:"StyledItemLabel"})(s||(s=d()(["\n cursor: ",";\n ","\n ","\n /* increased padding on touchdevices */\n padding: ","\n calc("," + ",");\n font-weight: ",";\n box-shadow: none;\n\n &:disabled,\n &[disabled] {\n color: ",";\n cursor: text;\n }\n"])),(function(e){return e.hasOnClick?"pointer":"default"}),(0,y.A)(),(function(e){return e.hasOnClick?(0,b.A)(e):""}),h.A.isPrimaryTouchDevice()?(0,p.AH)(u||(u=d()(["\n ","\n ","\n ","\n "])),m.A.space(-1.4),m.A.space(-.5),m.A.space(-1.4)):(0,p.AH)(l||(l=d()(["\n ","\n ","\n ","\n "])),m.A.space(-2),m.A.space(-.5),m.A.space(-2)),m.A.space(-.5),(function(e){return 10*(e.level||0)+"px"}),(function(e){return e.isGroup?g.t7.fontWeight("bold"):g.t7.fontWeight("regular")}),g.t7.color("textDisabled"))},41250:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(58689),s=n(34743),u=n(4883),l=n(44518),f=n(36471),d=n(74848);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const m=function(e){var t=e.children,n=e.content,r=e.isPlainHtml,o=void 0===r||r,i=e.rimless,p=void 0!==i&&i,m=(0,u.useState)(!1),v=a()(m,2),y=v[0],g=v[1],b=(0,u.useRef)(null),w=(0,c.we)({open:y,onOpenChange:g,middleware:[(0,s.UU)(),(0,s.BN)({padding:20}),(0,s.UE)({element:b}),(0,s.cY)(5)]}),x=w.refs,A=w.floatingStyles,O=w.context,E=(0,c.Mk)(O,{delay:{open:500,close:0}}),S=(0,c.bv)([E]),k=S.getReferenceProps,j=S.getFloatingProps;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",h(h({ref:x.setReference},k()),{},{children:t})),y&&n&&(0,d.jsx)(c.XF,{children:(0,d.jsxs)(f.W,h(h({ref:x.setFloating,style:A,rimless:p},j()),{},{className:l.e,children:[(0,d.jsx)(c.ie,{ref:b,context:O}),(0,d.jsx)(f.f,{isPlainHtml:o,children:n})]}))})]})}},36471:(e,t,n)=>{"use strict";n.d(t,{W:()=>d,f:()=>p});var r,o,i=n(72189),a=n.n(i),c=n(51510),s=n(67940),u=n(46005),l=n(57488),f=n(26166),d=c.Ay.div.withConfig({displayName:"StyledFloatingUi"})(r||(r=a()(["\n && {\n pointer-events: none; /* prevent flickering of tooltip */\n background-color: ",";\n max-width: 400px;\n z-index: 100000010;\n padding: ",";\n\n * {\n color: ",";\n }\n\n svg path {\n /* style FloatingArrow SVG */\n fill: ",";\n }\n }\n"])),l.t7.color("backgroundPopover"),(function(e){return e.rimless?"0":f.A.space(0)}),l.t7.color("textPopover"),l.t7.color("backgroundPopover")),p=c.Ay.div.withConfig({displayName:"StyledBox"})(o||(o=a()(["\n && {\n ",";\n\n &,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n p,\n "," {\n color: ",";\n overflow-wrap: break-word;\n }\n }\n"])),(function(e){return e.isPlainHtml&&(0,u.g)(e,"html")}),s.b,l.t7.color("textPopover"))},39319:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(41250).A},32694:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r,o=n(64116),i=n(56775),a=n(40203),c=n(74848);const s=function(e){var t=e.thumbnailUrl,n=e.alt,s=e.srcUrl,u=(e.fileName,e.caption),l=e.maxDimensionX,f=e.maxDimensionY,d=t?(0,c.jsx)("img",{alt:n,title:n,src:t}):(0,c.jsx)("div",{title:n,children:r||(r=(0,c.jsx)(o.A,{icon:"file-alt"}))});return(0,c.jsxs)(a.A,{maxDimensionX:l,maxDimensionY:f,children:[(0,c.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:s,children:d}),u&&(0,c.jsx)(i.Ay.Figcaption,{children:u})]})}},40203:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166),s=n(57488);const u=a.Ay.figure.withConfig({displayName:"StyledPreview"})(r||(r=i()(["\n && {\n vertical-align: top;\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n margin: 0; /* reset css overwrite */\n\n img {\n margin-top: ",";\n border: 1px solid ",";\n border-radius: ",";\n max-width: ",";\n max-height: ",";\n min-width: 90px; /* prevent collapse to 1px if there is no preview generated */\n }\n\n figcaption {\n text-align: center;\n }\n }\n"])),c.A.space(-2.2),s.t7.color("border"),s.t7.radii("form"),(function(e){return e.maxDimensionX||"100%"}),(function(e){return e.maxDimensionY||"100%"}))},80031:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o,i=n(58065),a=n(62764),c=n(93043),s=n(74848);const u=function(e){var t=e.onYes,n=e.onNo;return(0,s.jsxs)(c.t,{children:[(0,s.jsx)(a.A,{ink:"primary",look:"raised",type:"button",onClick:t,autoFocus:!0,children:r||(r=(0,s.jsx)(i.A,{id:"client.common.yes"}))}),(0,s.jsx)(a.A,{type:"button",onClick:n,children:o||(o=(0,s.jsx)(i.A,{id:"client.common.no"}))})]})}},93043:(e,t,n)=>{"use strict";n.d(t,{t:()=>u});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(26166),s=n(57488),u=a.Ay.div.withConfig({displayName:"StyledButtonWrapper"})(r||(r=i()(["\n padding-top: ",";\n background-color: ",";\n display: flex;\n justify-content: flex-end;\n"])),c.A.space(0),s.t7.color("paper"))},44002:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(80031).A},86703:(e,t,n)=>{"use strict";n.d(t,{EM:()=>I,Ec:()=>D,Jd:()=>M,NL:()=>L,NR:()=>P,PD:()=>T,YC:()=>H,fp:()=>F,iX:()=>N,jl:()=>R,qV:()=>_,wO:()=>C});var r,o,i,a,c,s,u,l,f,d,p,h,m,v=n(26396),y=n.n(v),g=n(72189),b=n.n(g),w=n(49514),x=n(92149),A=n(51510),O=n(57488),E=n(26166),S=n(85431);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){y()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=A.Ay.span.withConfig({displayName:"StyledClickableWrapper"})(r||(r=b()(["\n pointer-events: auto;\n cursor: pointer;\n"]))),P=A.Ay.div.withConfig({displayName:"StyledReactSelectOuterWrapper"})(o||(o=b()(["\n outline-style: none;\n cursor: ",";\n"])),(function(e){return e.immutable&&"text"})),C=A.Ay.div.withConfig({displayName:"StyledReactSelectInnerWrapper"})(i||(i=b()(["\n outline-style: none;\n"]))),_=A.Ay.div.withConfig({displayName:"StyledIndicatorsContainerWrapper"})(a||(a=b()(["\n position: relative;\n z-index: 1;\n background-color: ",";\n border-radius: ",";\n ",";\n"])),O.t7.color("paper"),O.t7.radii("form"),(function(e){return e.isTopAligned&&(0,A.AH)(c||(c=b()(["\n position: absolute;\n right: 0;\n top: 0;\n "])))})),D=(0,A.Ay)(x.A).withConfig({displayName:"StyledTether"})(s||(s=b()(["\n && {\n z-index: 1;\n }\n"]))),R=(A.Ay.div.withConfig({displayName:"StyledNonTether"})(u||(u=b()(["\n position: absolute;\n padding-bottom: ",";\n z-index: 2; /* higher than StyledTether and StyledIndicatorsContainerWrapper */\n"])),E.A.space(1.5)),(0,A.Ay)(w.c.Menu).attrs((function(e){return{theme:e.selectTheme}})).withConfig({displayName:"StyledMenu"})(l||(l=b()(["\n && {\n margin: 8px 0 8px -10px;\n width: calc(","px + 20px);\n position: relative;\n\n .tether-target-attached-top & {\n transform: translateY(-","px);\n }\n }\n"])),(function(e){return e.wrapperWidth}),(function(e){return e.wrapperHeight+6}))),N=A.Ay.div.withConfig({displayName:"StyledMoreOptionsAvailable"})(f||(f=b()(["\n && {\n ","\n cursor: default;\n padding: "," ",";\n }\n"])),(0,S.A)({color:O.t7.color("signal.info"),lineHeight:"normal"}),E.A.space(-.5),E.A.space(-.2)),I=A.Ay.div.withConfig({displayName:"StyledSingleValueWrapper"})(d||(d=b()(["\n overflow-x: hidden;\n position: relative;\n color: ",";\n"])),(function(e){return e.isDisabled?O.t7.color("text"):"inherit"})),M=A.Ay.div.withConfig({displayName:"StyledDropdownIndicatorWrapper"})(p||(p=b()(["\n && {\n position: relative;\n width: 25px;\n height: 25px;\n display: flex;\n align-items: center;\n }\n"]))),L=A.Ay.div.withConfig({displayName:"StyledMultiValueWrapper"})(h||(h=b()(["\n overflow: hidden;\n width: 100%;\n display: flex;\n flex-wrap: wrap;\n"]))),F=A.Ay.span.withConfig({displayName:"StyledMultiValueLabelWrapper"})(m||(m=b()(["\n overflow: hidden;\n text-overflow: ellipsis;\n"]))),H=function(e){var t=e.colors.paper,n=e.colors.backgroundItemHover,r=e.colors.backgroundItemSelected,o=e.colors.text,i=e.colors.borderSelect,a=e.colors.textDisabled,c=e.radii.form,s=E.A.space(-1)({theme:e}),u=E.A.space(-2)({theme:e}),l={color:o,fontFamily:e.fontFamily.regular,fontSize:"".concat(e.fontSize.base,"rem"),fontWeight:e.fontWeights.regular,lineHeight:e.lineHeights.regular},f=function(e){return e.isMulti&&(e.selectProps.hasAdvancedSearch||e.selectProps.hasDocsTreeSearch)},d=function(t){return j(j({},t),{},{color:e.colors.signal.info,cursor:"default",textAlign:"left"})};return{container:function(e,t){return j(j(j({},e),l),{},{outline:0})},control:function(e,t){return j(j({},e),{},{backgroundColor:"transparent",borderWidth:0,boxShadow:null,minHeight:0,flexWrap:"nowrap",position:"relative",display:f(t)?"block":e.display})},noOptionsMessage:d,loadingMessage:d,option:function(o,i){var a=t;return i.isSelected?a=r:i.isFocused&&(a=n),j(j({},o),{},{color:e.colors.text,backgroundColor:a,cursor:"pointer",":active":{backgroundColor:i.isSelected?r:n}})},indicatorsContainer:function(e,t){return j(j({},e),{},{alignSelf:"flex-end","> *":{padding:"0 !important;"}})},input:function(e,t){var n=50;return t.selectProps.hasDocsTreeSearch&&(n+=25),t.selectProps.hasAdvancedSearch&&(n+=25),t.selectProps.hasCreatePermission&&(n+=25),j(j(j({},e),{},{minHeight:t.isDisabled?"0":"2.6rem",paddingTop:t.isDisabled?"0":"2px",paddingBottom:t.isDisabled?"0":"2px"},f(t)?{width:"calc(100% - ".concat(n,"px)")}:{}),{},{overflow:"hidden",margin:"0",color:o})},menu:function(t,n){return{backgroundColor:e.colors.paper,boxShadow:"0 0 6px ".concat(i),borderRadius:c}},menuList:function(t,n){return j(j(j({},t),l),{},{border:"1px solid ".concat(i),borderRadius:c,padding:"0",backgroundColor:e.colors.paper})},multiValue:function(t,n){return j(j({},t),{},{borderRadius:c,margin:"".concat(s," ").concat(u," 0 0"),backgroundColor:e.colors.backgroundMultiValue,justifyContent:"space-between"},f(n)&&!n.isDisabled?{width:"100%",maxWidth:"300px"}:{})},multiValueLabel:function(e,t){return j(j({},e),{},{borderRadius:c,color:o,fontSize:"inherit",lineHeight:1.8})},multiValueRemove:function(e,t){return j(j({},e),{},{borderRadius:0,color:o,display:t.isDisabled?"none":"flex",":hover":j(j({},e[":hover"]),{},{color:o,backgroundColor:r,cursor:"pointer"})})},singleValue:function(e,t){return j(j({},e),{},{color:t.isDisabled?a:o,margin:0,whiteSpace:"wrap"})},valueContainer:function(e,t){return j(j({},e),{},{padding:0,margin:0,minHeight:t.isDisabled?"0":"2.6rem"})}}}},91437:(e,t,n)=>{"use strict";n.d(t,{H1:()=>a,H2:()=>c,H3:()=>s,H4:()=>u,H5:()=>l,H6:()=>f});var r=n(58737),o=n(28888),i=n(74848),a=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H1":a,s=e.children;return(0,i.jsx)(o.rd,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},c=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H2":a,s=e.children;return(0,i.jsx)(o.kv,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},s=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H3":a,s=e.children;return(0,i.jsx)(o.dT,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},u=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H4":a,s=e.children;return(0,i.jsx)(o.kg,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},l=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H5":a,s=e.children;return(0,i.jsx)(o.dE,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})},f=function(e){var t=e.breakWords,n=void 0===t||t,a=e.styledLike,c=void 0===a?"H6":a,s=e.children;return(0,i.jsx)(o.kB,{breakWords:n,styledLike:c,title:n?void 0:(0,r.A)(s),children:s})}},64795:(e,t,n)=>{"use strict";n.d(t,{Dd:()=>a,Dl:()=>c,Dt:()=>s,Li:()=>u,Ol:()=>l,Ul:()=>f});var r=n(58737),o=n(69684),i=n(74848),a=function(e){var t=e.breakWords,n=void 0===t||t,a=e.children;return(0,i.jsx)(o.sq,{breakWords:n,title:n?void 0:(0,r.A)(a),children:a})},c=function(e){return(0,i.jsx)(o.sS,{children:e.children})},s=function(e){var t=e.breakWords,n=void 0===t||t,a=e.children;return(0,i.jsx)(o.GJ,{breakWords:n,title:n?void 0:(0,r.A)(a),children:a})},u=function(e){var t=e.children;return(0,i.jsx)(o.vx,{children:t})},l=function(e){var t=e.children;return(0,i.jsx)(o.ZY,{children:t})},f=function(e){var t=e.children;return(0,i.jsx)(o.dV,{as:"ul",children:t})}},16107:(e,t,n)=>{"use strict";n.d(t,{AC:()=>v,A_:()=>s,B:()=>a,CU:()=>h,Cy:()=>c,Em:()=>u,H2:()=>d,I:()=>f,JU:()=>p,L9:()=>b,Nu:()=>l,OH:()=>A,Oc:()=>g,P:()=>m,Pb:()=>w,Q:()=>k,S:()=>y,U:()=>E,dN:()=>x,gX:()=>O,gw:()=>S});var r=n(58737),o=n(5016),i=n(74848),a=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.or,{breakWords:n,title:j(n,a,c),children:c})},c=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.pR,{title:j(n,a,c),children:c})},s=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.rY,{breakWords:n,title:j(n,a,c),children:c})},u=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.QF,{breakWords:n,title:j(n,a,c),children:c})},l=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.aB,{breakWords:n,title:j(n,a,c),children:c})},f=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.vB,{breakWords:n,title:j(n,a,c),children:c})},d=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.MM,{breakWords:n,title:j(n,a,c),children:c})},p=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children,s=e.htmlFor;return(0,i.jsx)(o.Gw,{breakWords:n,title:j(n,a,c),htmlFor:s,children:c})},h=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.Li,{breakWords:n,title:j(n,a,c),children:c})},m=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children,s=e.id;return(0,i.jsx)(o.C$,{breakWords:n,title:j(n,a,c),id:s,children:c})},v=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.rs,{breakWords:n,title:j(n,a,c),children:c})},y=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.v8,{breakWords:n,title:j(n,a,c),children:c})},g=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.fN,{breakWords:n,title:j(n,a,c),children:c})},b=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children,s=e.id;return(0,i.jsx)(o.oY,{breakWords:n,title:j(n,a,c),id:s,children:c})},w=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.AB,{breakWords:n,title:j(n,a,c),children:c})},x=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.AE,{breakWords:n,title:j(n,a,c),children:c})},A=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.Ng,{breakWords:n,title:j(n,a,c),children:c})},O=function(e){var t=e.breakWords,n=void 0!==t&&t,r=e.title,a=e.dateTime,c=e.children;return(0,i.jsx)(o.F1,{breakWords:n,title:r,dateTime:a,children:c})},E=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.vr,{breakWords:n,title:j(n,a,c),children:c})},S=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.zG,{breakWords:n,title:j(n,a,c),children:c})},k=function(e){var t=e.breakWords,n=void 0===t||t,r=e.useTitle,a=void 0===r||r,c=e.children;return(0,i.jsx)(o.Js,{breakWords:n,title:j(n,a,c),children:c})},j=function(e,t,n){return!t||e?void 0:(0,r.A)(n)}},28888:(e,t,n)=>{"use strict";n.d(t,{dE:()=>O,dT:()=>x,kB:()=>E,kg:()=>A,kv:()=>w,rd:()=>b});var r,o,i,a,c,s,u,l=n(72189),f=n.n(l),d=n(51510),p=n(26166),h=n(85431),m=n(47616),v=n(33090),y=function(e){var t;switch(e.styledLike){case"H1":t=p.A.font(5)(e);break;case"H2":t=p.A.font(4)(e);break;case"H3":t=p.A.font(3)(e);break;case"H4":t=p.A.font(2)(e);break;case"H5":t=p.A.font(1)(e);break;default:t=p.A.font(0)(e)}return(0,h.A)({fontWeight:m.A.fontWeight("bold"),fontSize:t})},g=function(e){return(0,d.AH)(r||(r=f()(["\n margin-top: ",";\n margin-bottom: ",";\n\n h1 + &,\n h2 + &,\n h3 + &,\n h4 + &,\n h5 + &,\n h6 + & {\n margin-top: 0;\n }\n\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n"])),p.A.space(0),p.A.space(-1))},b=d.Ay.h1.withConfig({displayName:"StyledH1"})(o||(o=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),w=d.Ay.h2.withConfig({displayName:"StyledH2"})(i||(i=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),x=d.Ay.h3.withConfig({displayName:"StyledH3"})(a||(a=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),A=d.Ay.h4.withConfig({displayName:"StyledH4"})(c||(c=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),O=d.Ay.h5.withConfig({displayName:"StyledH5"})(s||(s=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()})),E=d.Ay.h6.withConfig({displayName:"StyledH6"})(u||(u=f()(["\n && {\n ","\n ","\n ","\n }\n"])),(function(e){return y(e)}),(function(e){return g()}),(function(e){return e.breakWords?(0,v.K)():(0,v.s)()}))},69684:(e,t,n)=>{"use strict";n.d(t,{GJ:()=>b,ZY:()=>A,dV:()=>O,sS:()=>g,sq:()=>y,vx:()=>w});var r,o,i,a,c,s,u,l=n(72189),f=n.n(l),d=n(51510),p=n(85431),h=n(33090),m=n(26166),v=n(47616),y=d.Ay.dd.withConfig({displayName:"StyledDd"})(r||(r=f()(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,p.A)(),(function(e){return e.breakWords?(0,h.K)():(0,h.s)()})),g=d.Ay.dl.withConfig({displayName:"StyledDl"})(o||(o=f()(["\n && {\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),m.A.space(-1)),b=d.Ay.dt.withConfig({displayName:"StyledDt"})(i||(i=f()(["\n && {\n ","\n ","\n margin: 0;\n }\n"])),(0,p.A)({fontWeight:v.A.fontWeight("bold")}),(function(e){return e.breakWords?(0,h.K)():(0,h.s)()})),w=d.Ay.li.withConfig({displayName:"StyledLi"})(a||(a=f()(["\n && {\n ","\n ","\n }\n"])),(0,p.A)(),(0,h.K)()),x=d.Ay.ol.withConfig({displayName:"StyledList"})(c||(c=f()(["\n && {\n display: block;\n list-style-position: outside;\n margin: 0 0 "," ",";\n padding: 0;\n\n &&,\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),m.A.space(-1),m.A.space(-.1)),A=(0,d.Ay)(x).withConfig({displayName:"StyledOl"})(s||(s=f()(["\n list-style-type: decimal;\n"]))),O=(0,d.Ay)(x).withConfig({displayName:"StyledUl"})(u||(u=f()(["\n && {\n list-style-type: disc;\n }\n"])))},5016:(e,t,n)=>{"use strict";n.d(t,{AB:()=>Y,AE:()=>q,C$:()=>B,F1:()=>$,Gw:()=>F,Js:()=>X,Li:()=>H,MM:()=>L,Ng:()=>V,QF:()=>N,aB:()=>I,fN:()=>z,oY:()=>G,or:()=>_,pR:()=>D,rY:()=>R,rs:()=>U,v8:()=>W,vB:()=>M,vr:()=>K,zG:()=>J});var r,o,i,a,c,s,u,l,f,d,p,h,m,v,y,g,b,w,x,A,O,E=n(72189),S=n.n(E),k=n(51510),j=n(85431),T=n(57488),P=n(33090),C=n(26166),_=k.Ay.b.withConfig({displayName:"StyledB"})(r||(r=S()(["\n && {\n ","\n }\n ","\n"])),(0,j.A)({fontWeight:T.t7.fontWeight("bold")}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),D=k.Ay.code.withConfig({displayName:"StyledCode"})(o||(o=S()(["\n && {\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n white-space: pre;\n overflow-y: auto;\n }\n"])),(0,j.A)({fontFamily:T.t7.fontFamily("monospace"),fontSize:C.A.font(-1)}),T.t7.color("backgroundTypographyCode"),T.t7.radii("form"),C.A.space(-4),C.A.space(-2)),R=k.Ay.del.withConfig({displayName:"StyledDel"})(i||(i=S()(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),N=k.Ay.em.withConfig({displayName:"StyledEm"})(a||(a=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),I=k.Ay.figcaption.withConfig({displayName:"StyledFigcaption"})(c||(c=S()(["\n && {\n ","\n ","\n margin: "," 0 "," 0;\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,j.A)({fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),C.A.space(-2),C.A.space(-1)),M=k.Ay.i.withConfig({displayName:"StyledI"})(s||(s=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)({fontStyle:"italic"}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),L=k.Ay.ins.withConfig({displayName:"StyledIns"})(u||(u=S()(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),F=k.Ay.label.withConfig({displayName:"StyledLabel"})(l||(l=S()(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),C.A.space(-1)),H=k.Ay.mark.withConfig({displayName:"StyledMark"})(f||(f=S()(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n padding: "," ",";\n }\n"])),(0,j.A)({fontFamily:T.t7.fontFamily("monospace"),color:T.t7.color("paper")}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),T.t7.color("signal.info"),T.t7.radii("form"),C.A.space(-4),C.A.space(-2)),B=k.Ay.p.withConfig({displayName:"StyledP"})(d||(d=S()(["\n && {\n ","\n ","\n margin: 0 0 ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),C.A.space(-1)),U=k.Ay.pre.withConfig({displayName:"StyledPre"})(p||(p=S()(["\n && {\n ","\n ","\n background-color: ",";\n border-radius: ",";\n border: 1px solid ",";\n display: block;\n margin: 0 0 ",";\n padding: "," ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(0,j.A)({fontFamily:T.t7.fontFamily("monospace"),fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}),T.t7.color("backgroundTypographyCode"),T.t7.radii("form"),T.t7.color("border"),C.A.space(-1),C.A.space(-3),C.A.space(-2)),W=k.Ay.s.withConfig({displayName:"StyledS"})(h||(h=S()(["\n && {\n ","\n ","\n text-decoration: line-through;\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),z=k.Ay.small.withConfig({displayName:"StyledSmall"})(m||(m=S()(["\n && {\n ","\n font-size: calc(1em / ",");\n ","\n }\n"])),(0,j.A)(),T.t7.fontSize("factor"),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),G=k.Ay.span.withConfig({displayName:"StyledSpan"})(v||(v=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),Y=k.Ay.sub.withConfig({displayName:"StyledSub"})(y||(y=S()(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n bottom: -0.25em;\n vertical-align: baseline;\n }\n"])),(0,j.A)({fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),q=k.Ay.sup.withConfig({displayName:"StyledSup"})(g||(g=S()(["\n && {\n ","\n ","\n line-height: 0;\n position: relative;\n top: -0.5em;\n vertical-align: baseline;\n }\n"])),(0,j.A)({fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),V=k.Ay.strong.withConfig({displayName:"StyledStrong"})(b||(b=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)({fontWeight:T.t7.fontWeight("bold")}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),$=k.Ay.time.withConfig({displayName:"StyledTime"})(w||(w=S()(["\n && {\n ","\n ","\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),K=k.Ay.u.withConfig({displayName:"StyledU"})(x||(x=S()(["\n && {\n ","\n ","\n text-decoration: underline;\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),J=k.Ay.var.withConfig({displayName:"StyledVar"})(A||(A=S()(["\n && {\n ","\n ","\n &:after {\n content: ']';\n }\n\n &:before {\n content: '[';\n }\n }\n"])),(0,j.A)({fontFamily:T.t7.fontFamily("monospace"),fontSize:C.A.font(-1)}),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()})),X=k.Ay.q.withConfig({displayName:"StyledQ"})(O||(O=S()(["\n && {\n ","\n ","\n &:after {\n content: close-quote;\n }\n\n &:before {\n content: open-quote;\n }\n }\n"])),(0,j.A)(),(function(e){return e.breakWords?(0,P.K)():(0,P.s)()}))},56775:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>a});var r=n(91437),o=n(64795),i=n(16107);const a={H1:r.H1,H2:r.H2,H3:r.H3,H4:r.H4,H5:r.H5,H6:r.H6,Dd:o.Dd,Dt:o.Dt,Dl:o.Dl,Li:o.Li,Ol:o.Ol,Ul:o.Ul,B:i.B,Code:i.Cy,Del:i.A_,Em:i.Em,Figcaption:i.Nu,I:i.I,Ins:i.H2,Label:i.JU,Mark:i.CU,P:i.P,Pre:i.AC,Q:i.Q,S:i.S,Small:i.Oc,Span:i.L9,Strong:i.OH,Sub:i.Pb,Sup:i.dN,Time:i.gX,U:i.U,Var:i.gw}},46005:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var r=n(58156),o=n.n(r),i=n(47616),a=n(26166),c=function(e,t){var n="\n color: ".concat(i.A.color("text")(e),";\n font-family: ").concat(i.A.fontFamily("regular")(e),";\n font-size: ").concat(a.A.font(0)(e),";\n font-style: ","normal",";\n font-weight: ").concat(i.A.fontWeight("regular")(e),";\n line-height: ").concat(i.A.lineHeight("regular")(e),";\n\n a {\n color: ").concat(i.A.color("secondary")(e),";\n\n &:hover,\n &:focus {\n color: ").concat(o()(e.theme,"colors.secondaryLight"),";\n text-decoration: underline;\n }\n\n &:active {\n color: ").concat(o()(e.theme,"colors.secondary"),";\n }\n }\n\n b,\n strong {\n font-weight: ").concat(i.A.fontWeight("bold")(e),"\n }\n\n em,\n i {\n font-style: italic;\n }\n\n u {\n text-decoration: underline;\n }\n\n h1 {font-size: ").concat(a.A.font(5)(e),";}\n h2 {font-size: ").concat(a.A.font(4)(e),";}\n h3 {font-size: ").concat(a.A.font(3)(e),";}\n h4 {font-size: ").concat(a.A.font(2)(e),";}\n h5 {font-size: ").concat(a.A.font(1)(e),";}\n h6 {font-size: ").concat(a.A.font(0)(e),";}\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-weight: ").concat(i.A.fontWeight("bold")(e),";\n margin-top: ").concat(a.A.space(0)(e),";\n margin-bottom: ").concat(a.A.space(-1)(e),";\n\n + h1,\n + h2,\n + h3,\n + h4,\n + h5,\n + h6,\n &:first-child {\n margin-top: 0;\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n p {\n margin-bottom: ").concat(a.A.space(-1)(e),";\n &:last-child {\n margin-bottom: 0;\n }\n }\n ");return"ckeditor"!==t&&(n="\n ".concat(n,"\n a {\n text-decoration: none; \n }\n\n ol,\n ul {\n display: block;\n list-style-position: outside;\n margin: 0 0 ").concat(a.A.space(-1)(e)," 1.6rem;\n padding: 0;\n\n ol,\n ul,\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ol li {\n list-style-type: decimal;\n }\n\n ul li {\n list-style-type: disc;\n }\n ")),n}},5092:(e,t,n)=>{"use strict";n.d(t,{DK:()=>j,J5:()=>S,PJ:()=>O,PZ:()=>w,iN:()=>x,ue:()=>E,vv:()=>A,xe:()=>k});var r,o,i,a,c,s,u,l,f=n(72189),d=n.n(f),p=n(51510),h=n(5975),m=n(5016),v=n(26166),y=n(57488),g=n(85431),b=n(27113),w=p.Ay.section.withConfig({displayName:"StyledSection"})(r||(r=d()(["\n flex: 1;\n display: flex;\n justify-content: flex-end;\n"]))),x=p.Ay.div.withConfig({displayName:"StyledButtonsWrapper"})(o||(o=d()(["\n display: flex;\n align-items: center;\n\n "," {\n margin: 0;\n border-radius: 50%;\n padding: ",";\n\n a:hover {\n color: unset;\n }\n }\n"])),h.Ay,v.A.space(-2)),A=p.Ay.div.withConfig({displayName:"StyledDropzone"})(i||(i=d()(["\n width: 100%;\n\n &:hover {\n "," {\n background-color: ",";\n }\n }\n"])),h.Ay,y.t7.color("backgroundItemHover")),O=p.Ay.div.withConfig({displayName:"StyledUploadInput"})(a||(a=d()(["\n ","\n cursor: ",";\n background-color: ",";\n color: ",";\n padding: "," 0 0 0;\n display: flex;\n\n "," {\n float: right;\n position: relative;\n top: -",";\n margin: 0;\n border-radius: 50%;\n padding: ",";\n }\n"])),(0,g.A)(),(function(e){return e.immutable?"not-allowed":"pointer"}),y.t7.color("paper"),(function(e){return e.immutable?b.D.shade2(e):b.D.base(e)}),v.A.space(-2),h.Ay,v.A.space(-3.1),v.A.space(-1.5)),E=p.Ay.div.withConfig({displayName:"StyledUploadProgress"})(c||(c=d()(["\n && {\n padding-top: ",";\n text-align: center;\n display: inline-block;\n }\n"])),v.A.space(-2)),S=(0,p.Ay)(m.oY).withConfig({displayName:"StyledUploadProgressText"})(s||(s=d()(["\n && {\n ","\n }\n"])),(0,g.A)({fontSize:v.A.font(-1)})),k=p.Ay.div.withConfig({displayName:"StyledUploadProgressIconAndText"})(u||(u=d()(["\n && {\n display: flex;\n justify-content: center;\n align-items: center;\n\n span {\n margin-left: ",";\n }\n }\n"])),v.A.space(-2)),j=p.Ay.div.withConfig({displayName:"StyledView"})(l||(l=d()(["\n display: flex;\n justify-content: space-between;\n padding-top: ",";\n"])),v.A.space(-2))},39682:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(2404),s=n.n(c),u=n(4883),l=n(35212),f=n(24909),d=n(52826),p=n(74848);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const v=function(e){var t=e.value,n=e.textResources,r=void 0===n?{}:n,o=e.onUpload,i=e.onChoose,c=e.allowedFileTypes,h=void 0===c?[]:c,v=(0,u.useRef)(t),y=(0,u.useState)({isUploading:!1,previewFile:null}),g=a()(y,2),b=g[0],w=g[1];return(0,u.useEffect)((function(){s()(v.current,t)||w({isUploading:!1,previewFile:null}),v.current=t}),[t]),null!=t&&t.binaryLink?(0,p.jsx)(d.A,m(m({},e),{},{deleteTitle:r.delete,downloadTitle:r.download})):b.isUploading?(0,p.jsx)(f.A,m({file:b.previewFile,text:r.uploading},e)):(0,p.jsx)(l.A,m(m({},e),{},{onDrop:function(e){!function(e){w({isUploading:!0,previewFile:e})}(e),o(e)},onChoose:i,allowedFileTypes:h}))}},35212:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(26396),o=n.n(r),i=n(78074),a=n(38798),c=n(62764),s=n(5092),u=n(74848);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const d=(0,a.Ay)((function(e){var t=e.id,n=e.onDrop,r=e.immutable,o=e.text,a=e.onChoose,l=e.intl,d=e.allowedFileTypes,p=function(e){return l.formatMessage({id:e})};return(0,u.jsxs)(s.PJ,{immutable:r,"data-cy":"upload-".concat(t),children:[(0,u.jsx)(i.Ay,{onDrop:function(e){var t=e.map((function(e){return Object.assign(e,{preview:URL.createObjectURL(e)})}));n(t[0])},multiple:!1,disabled:r,title:o||"drag and drop or click",children:function(e){var n=e.getRootProps,r=e.getInputProps;return(0,u.jsx)(s.PZ,{children:(0,u.jsxs)(s.vv,f(f({},n()),{},{children:[(0,u.jsx)("input",f(f({},r()),{},{accept:d.join(", ")})),(0,u.jsx)(c.A,{icon:"arrow-to-top",label:p("client.component.upload.uploadFile"),iconOnly:!0,"data-cy":"btn-upload-".concat(t)})]}))})}}),a&&(0,u.jsx)(c.A,{onClick:function(e){a(),e.stopPropagation()},icon:"folder",label:p("client.component.upload.browseDocs"),iconOnly:!0})]})}))},24909:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(69556),o=n(32694),i=n(77271),a=n(16250),c=n(5092),s=n(74848);const u=function(e){var t=e.file,n=e.text;return(0,s.jsxs)(c.ue,{children:[(0,s.jsx)(o.A,{alt:t.name,caption:t.name,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:t.preview,thumbnailUrl:t.type.startsWith("image")?t.preview:null}),(0,s.jsxs)(c.xe,{children:[(0,s.jsx)(r.A,{position:i.A.position.PREPEND}),(0,s.jsxs)(c.J5,{children:[n||"uploading"," (",(0,a.C)(t.size),")"]})]})]})}},52826:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(46516),a=n(62764),c=n(44905),s=n(32694),u=n(5092),l=n(74848);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const p=function(e){var t,n=e.value,r=e.downloadTitle,o=e.immutable,f=e.onUpload,p=e.deleteTitle,h=null===(t=n.binaryLink)||void 0===t?void 0:t.startsWith("blob:");return(0,l.jsxs)(u.DK,{className:"StyledView",children:[(0,l.jsx)(s.A,d(d({alt:n.fileName},h&&{caption:n.fileName}),{},{fileName:n.fileName,maxDimensionX:"96px",maxDimensionY:"96px",srcUrl:n.binaryLink,thumbnailUrl:n.thumbnailLink})),(0,l.jsxs)(u.iN,{children:[!o&&(0,l.jsx)(a.A,{icon:"trash",onClick:function(){return f(null)},tabIndex:-1,title:p||"delete"}),(0,l.jsx)(a.A,{children:(0,l.jsx)(c.A,{neutral:!0,icon:"arrow-to-bottom",target:"_blank",href:i.A.getDownloadUrl(n.binaryLink),tabIndex:-1,title:r||"download"})})]})]})}},16250:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var r=function(e){var t=Math.floor(Math.log(e)/Math.log(1024));return"".concat(1*(e/Math.pow(1024,t)).toFixed(2)," ").concat(["Bytes","KB","MB","GB","TB"][t])}},27113:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,K:()=>a});var r=n(58156),o=n.n(r),i={base:function(e){var t=e.theme;return o()(t,"colors.text")},shade1:function(e){var t=e.theme;return o()(t,"colors.textLight")},shade2:function(e){var t=e.theme;return o()(t,"colors.textLighter")},signal:function(e){var t=e.theme,n=e.signal;return o()(t,"colors.signal.".concat(n))},hasValue:function(e){var t=e.theme;return o()(t,"colors.signal.info")}},a={base:function(e){var t=e.theme;return o()(t,"colors.border")},signal:function(e){var t=e.theme,n=e.signal;return o()(t,"colors.signal.".concat(n))},isDirty:function(e){var t=e.theme;return o()(t,"colors.secondaryLight")},transparent:function(){return"transparent"}}},85431:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(72189),i=n.n(o),a=n(51510),c=n(47616),s=n(26166);const u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,a.AH)(r||(r=i()(["\n color: ",";\n font-family: ",";\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),e.color||c.A.color("text"),e.fontFamily||c.A.fontFamily("regular"),e.fontSize||s.A.font(0),e.fontStyle||"normal",e.fontWeight||c.A.fontWeight("regular"),e.lineHeight||c.A.lineHeight("regular"))}},33090:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,s:()=>r});var r=function(){return"\n display: inline-block;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n"},o=function(){return"\n hyphens: auto;\n overflow-wrap: break-word;\n white-space: normal;\n word-wrap: break-word;\n"}},77271:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(5556),o=n.n(r),i={NONE:"none",SPIN:"spin"},a={BASE:"base",PRIMARY:"primary",SECONDARY:"secondary"},c={BOX:"layoutBox",CONTAINER:"layoutContainer",NONE:"none"},s={BALL:"ball",FLAT:"flat",PLAIN:"plain",RAISED:"raised"},u={APPEND:"append",BETWEEN:"between",PREPEND:"prepend",SOLE:"sole"},l=o().oneOf(Object.values(i)),f=o().oneOf(Object.values(a)),d=o().oneOf(Object.values(s)),p=o().oneOf(Object.values(u));const h={animation:i,animationPropTypes:l,condition:{BASE:"base",DANGER:"danger",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",INFO:"info"},ink:a,inkPropTypes:f,layout:c,layoutPropTypes:o().oneOf(Object.values(c)),look:s,lookPropTypes:d,fallbackColors:{SHADE:"#000000",INFO:"#0000ff",TEXT:"#010101",PAPER:"#fefefe"},format:{HTML:"html",SVG:"svg"},oneOfPropTypeAndCompletelyMapped:function(e,t){return o().oneOf(Object.values(e))},position:u,positionPropTypes:p}},58737:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(85735),o=n.n(r),i=n(4883),a=n.n(i),c=function(e){var t="";return a().Children.map(e,(function(e,n){"string"==typeof e||"number"==typeof e?t="".concat(t).concat(e):"object"===o()(e)&&e.props.children?t="".concat(t).concat(c(e.props.children)):"object"===o()(e)&&e.props.dangerouslySetInnerHTML&&(t="".concat(t," ").concat(s(e.props.dangerouslySetInnerHTML.__html)))})),t},s=function(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""};const u=c},57488:(e,t,n)=>{"use strict";n.d(t,{t7:()=>r});var r=n(47616).A},62124:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r,o=n(72189),i=n.n(o),a=n(31357),c=n(51510),s=n(47616),u=function(e,t){return(0,a.W0)(e,s.A.color("text")({theme:t}),s.A.color("paper")({theme:t}))};const l=function(e){var t=e.ink,n=e.look,o=e.theme,l=function(e,t,n){var r="secondary"===e&&"raised"===t;return"primary"===e&&"raised"===t?s.A.color("primary")({theme:n}):r?s.A.color("secondary")({theme:n}):s.A.color("paper")({theme:n})}(t,n,o),f=function(e,t,n,r){return"primary"===e&&"raised"!==t?s.A.color("primary")({theme:n}):u(r,n)}(t,n,o,l),d=function(e,t,n){return"primary"!==e&&"raised"===t?"0px 0px 0px 1px ".concat(s.A.color("secondaryLight")({theme:n})," inset;"):"none"}(t,n,o),p=function(e,t,n){return"raised"===t?"primary"===e?s.A.color("primaryLight")({theme:n}):s.A.color("secondaryLight")({theme:n}):s.A.color("backgroundItemHover")({theme:n})}(t,n,o),h=function(e,t,n){return"raised"===e?s.A.color("paper")({theme:t}):u(n,t)}(n,o,l);return(0,c.AH)(r||(r=i()(["\n && {\n color: ",";\n }\n background: ",";\n box-shadow: ",";\n outline: none;\n border: none;\n\n &:active,\n &[aria-pressed='true'] {\n background: ",";\n }\n\n &:disabled,\n &[disabled] {\n background: ",";\n opacity: 0.5;\n cursor: text;\n }\n\n &:hover:not(:disabled),\n &:hover:not([disabled]) {\n background: ",";\n color: ",";\n }\n "])),f,l,d,(0,a.a)(.1,p),"dark"!==o.name?(0,a.uq)(.41,l):"transparent",p,h)}},26166:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(36944),o=n.n(r),i=n(47616),a=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"rem";return"".concat(o()(c(t,e,n),3)).concat(r)},c=function(e,t,n){return Math.pow(n,t)*e};const s={declareScale:a,exponentiate:c,font:function(e,t){return function(n){return a(e,i.A.fontSize("base")(n),i.A.fontSize("factor")(n),t)}},space:function(e,t){return function(n){return a(e,i.A.space("base")(n),i.A.space("factor")(n),t)}}}},47616:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(58156),o=n.n(r),i=n(94200),a=function(e){return 0===Object.keys(e).length?i.A:e};const c={color:function(e){return function(t){var n=t.theme;return o()(a(n),"colors.".concat(e))}},fontFamily:function(e){return function(t){var n=t.theme;return o()(a(n),"fontFamily.".concat(e))}},fontSize:function(e){return function(t){var n=t.theme;return o()(a(n),"fontSize.".concat(e))}},fontWeight:function(e){return function(t){var n=t.theme;return o()(a(n),"fontWeights.".concat(e))}},lineHeight:function(e){return function(t){var n=t.theme;return o()(a(n),"lineHeights.".concat(e))}},radii:function(e){return function(t){var n=t.theme;return o()(a(n),"radii.".concat(e))}},space:function(e){return function(t){var n=t.theme;return o()(a(n),"space.".concat(e))}},specificProperty:function(e){return function(t){var n=t.theme;return o()(a(n),"specificProperties.".concat(e))}}}},82064:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(4883),o=function(e){(0,r.useEffect)((function(){var t=function(t){"Enter"===t.key&&"TEXTAREA"!==t.target.tagName&&(t.preventDefault(),t.stopPropagation(),e())};return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}),[e])}},44855:(e,t,n)=>{"use strict";n.d(t,{U:()=>c});var r=n(21259),o=n.n(r),i=n(47383),a=n(19461),c=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return t.reduce((function(t,r){return i.A.isDefined(e[r.name])&&"function"==typeof r.action?t.push(r.action.apply(r,o()(r.argsFactory(e)))):r.mandatory&&n&&a.A.logError("Mandatory field '".concat(r.name,"' not set in input")),t}),[])}},66498:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getDispatchActions:n(44855).U}},27306:(e,t,n)=>{"use strict";n.d(t,{K:()=>h,N:()=>p});var r=n(26396),o=n.n(r),i=n(21259),a=n.n(i),c=n(58156),s=n.n(c),u=n(63560),l=n.n(u);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=function(e,t,n){var r={};return e.forEach((function(e){t.forEach((function(t){if(e[t]){var o=e[t];(Array.isArray(o)?o:[o]).filter((function(e){return null!==e})).forEach((function(e){var t=e.model,o=e.key;(function(e,t,n){return!!s()(n,["defaultDisplays",e,t],"")})(t,o,n)||function(e,t,n){return s()(n,[e],[]).includes(t)}(t,o,r)||l()(r,[t],[].concat(a()(s()(r,[t],[])),[o]))}))}}))})),r},h=function(e){return e.reduce((function(e,t){return d(d({},e),{},o()({},t.model,[].concat(a()(e[t.model]||[]),[t.key])))}),{})}},3185:(e,t,n)=>{"use strict";n.d(t,{Fx:()=>P,Tx:()=>j,VG:()=>S,Y5:()=>T,qq:()=>k,zg:()=>C});var r=n(21259),o=n.n(r),i=n(26396),a=n.n(i),c=n(58156),s=n.n(c),u=n(2404),l=n.n(u),f=n(23805),d=n.n(f),p=n(90179),h=n.n(p),m=n(44383),v=n.n(m),y=n(40860),g=n.n(y),b=n(63560),w=n.n(b),x=n(31444),A=n.n(x);function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S={KEY:"__key",MODEL:"__model",VERSION:"__version"},k=["single-select-box","multi-select-box","single-remote-field","multi-remote-field"],j=["key","display","model","version"],T=function(e){return E(a()(a()(a()({},S.KEY,e.key),S.MODEL,e.model),S.VERSION,e.version),P(e.paths))},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return g()(e,(function(e,n,r){var i=[].concat(o()(t),[r]),c={};n.value&&(c=Array.isArray(n.value)?n.value.reduce((function(e,t){return function(e,t){return g()(t,(function(e,t,n){var r=(Array.isArray(t)?t:[t]).filter((function(e){return null!==e}));return E(E({},e),{},a()({},n,A()([].concat(o()(e[n]||[]),o()(r)),l())))}),e)}(e,P(t.paths,i))}),{}):P(n.value.paths,i));var u=a()({},i.join("."),function(e,t){switch(e){case"entity":return t?v()(t,j):null;case"entity-list":return t.length>0?t.map((function(e){return v()(e,j)})):null;case"login":return s()(t,"username");case"longitude":case"latitude":return s()(t,"value");default:return t}}(n.type,n.value));return E(E(E({},e),u),c)}),{})},C=function(e){var t=function(e){return Array.isArray(e)?e.map((function(e){return t(e)})):d()(e)?function(e){return e.pickAllProperties?h()(e,["pickAllProperties"]):v()(e,["key","version","id","resourceKey"])}(e):e},n=Object.keys(e).reduce((function(n,r){if(i=r,!Object.values(S).includes(i)){var o=r.split(".").join(".paths.").split(".");return w()(n,o,t(e[r]))}var i;return n}),{});return{model:e[S.MODEL],key:e[S.KEY],version:e[S.VERSION],paths:n}}},20944:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getEventRelationshipModulesQuery:function(e){return{query:{where:"relModule.pk == ".concat(e,' and relEvent_relationship_registration.unique_id == "show"'),paths:["relCourse","relEvent_relationship_type.unique_id","sorting"],sort:"sorting desc"},entityName:"Event_relationship"}}}},31431:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});var r=function(e){var t=e.lastIndexOf("_");return{formName:e.substring(0,t),scope:e.substring(t+1)}}},46836:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(27306),o=n(3185),i=n(20944),a=n(31431),c=n(8592);const s={metaFields:o.VG,relationFieldTypes:o.qq,relevantRelationAttributes:o.Tx,getFlattenEntity:o.Y5,flattenPaths:o.Fx,toEntity:o.zg,getPathDisplayRequest:r.N,getDisplayRequest:r.K,getColumnDefinition:c.wx,isRightAligned:c.rQ,splitFormId:a.G,eventRegistration:i.A,getSortingAttributes:c.kz}},8592:(e,t,n)=>{"use strict";n.d(t,{kz:()=>s,rQ:()=>l,wx:()=>f});var r=n(26396),o=n.n(r);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c=function(e){return!e.hidden},s=function(e,t){var n=null==t?void 0:t.findIndex((function(t){return t.field===e.id}));return n>=0?{sortRank:n+1,order:t[n].order}:{}},u=["counter","decimal","double","integer","latitude","long","longitude","moneyamount","percent","serial","sorting","version","number"],l=function(e){var t;return 1===(null==e||null===(t=e.children)||void 0===t?void 0:t.length)?u.includes(e.children[0].dataType):!(null==e||!e.dataType)&&u.includes(e.dataType)},f=function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];return e?e.filter((function(e){return!e.hidden&&e.children.filter(c).length>0})).map((function(e,r){return{idx:r,id:e.id,label:e.label,sorting:a({sortable:e.sortable},s(e,t)),children:e.children.filter(c),resizable:!e.widthFixed,alignment:l(e)?"right":"left",shrinkToContent:e.shrinkToContent||!1,sticky:e.sticky||!1,CellRenderer:function(e){var t=e.rowData;return e.column.children.map((function(e){return n.apply(void 0,[e,t].concat(o))}))}}})):[]}},61818:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(5556),o=n.n(r),i=n(44984),a=o().shape({embedType:o().oneOf(i.hZ),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})},82682:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={propTypes:n(61818).t}},77039:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(39621),o=n(74848);const i=function(e){var t=e.packageName,n=e.appName;return"PRODUCTION"!==r.A.getRunEnv()?(0,o.jsxs)("div",{children:['Fehler beim Laden der "',n,'" App im Package "',t,'".']}):null}},52265:(e,t,n)=>{"use strict";n.d(t,{p:()=>h});var r=n(79092),o=n.n(r),i=n(22056),a=n.n(i),c=n(92207),s=n.n(c),u=n(4883),l=n(4642),f=n(77039),d=n(74846),p=n(74848),h=function(e){var t,n=e.packageName,r=e.appName,i=(0,u.useState)(null),c=a()(i,2),h=c[0],m=c[1];return(0,u.useEffect)((function(){var e=function(){var e=o()(s().mark((function e(){var o,i,a,c,u;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=(null===(o=window.toccoBootstrap)||void 0===o?void 0:o.backendUrl)||"",e.next=4,d.A.loadBundle(n,r,i);case 4:a=e.sent,c=a.app,u=c.App,(0,c.setWebpacksPublicPath)(i+d.A.getDistPath(n)),m((function(){return u})),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(0),l.A.logError(e.t0),m((function(){return function(){return t||(t=(0,p.jsx)(f.A,{packageName:n,appName:r}))}}));case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();e()}),[]),h}},96668:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(52265),o=n(74846);const i={useBundledApp:r.p,loadBundle:o.A.loadBundle,loadScriptAsync:o.A.loadScriptAsync,getEntryFilePath:o.A.getEntryFilePath}},74846:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(16964),o=n(34767);const i={loadBundle:r.p,loadScriptAsync:r.w,getEntryFilePath:o.C,getDistPath:o.q}},16964:(e,t,n)=>{"use strict";n.d(t,{p:()=>u,w:()=>s});var r=n(79092),o=n.n(r),i=n(92207),a=n.n(i),c=n(34767),s=function(e){return new Promise((function(t,n){var r=document.createElement("script");r.src=e,r.async=!0,r.type="text/javascript",r.onload=function(){t()},r.onerror=function(){n(new Error("Could not load script."))},r.crossorogin=!0;var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(r,o)}))},u=function(){var e=o()(a().mark((function e(t,n){var r,o,i,u=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=u.length>2&&void 0!==u[2]?u[2]:"",o="tocco-".concat(n),i=window[o]){e.next=7;break}return e.next=6,s(r+(0,c.C)(t,n));case 6:i=window[o];case 7:return e.abrupt("return",i);case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},34767:(e,t,n)=>{"use strict";n.d(t,{C:()=>o,q:()=>r});var r=function(e){return"/js/tocco-".concat(e,"/dist/")},o=function(e,t){var n=e!==t?t:"index";return"".concat(r(e)).concat(n,".js")}},8516:(e,t,n)=>{"use strict";n.d(t,{G7:()=>E,GS:()=>p,Kb:()=>m,L5:()=>b,P8:()=>v,SP:()=>A,WD:()=>S,XO:()=>j,ZR:()=>d,fX:()=>x,p5:()=>k,sv:()=>g});var r=n(73357),o=n.n(r),i=n(19461),a=n(39621),c="meta",s="tocco.cache",u=function(e,t){return"".concat(s,".").concat(e,".").concat(t)},l={},f=function(e,t){l[e]=t},d=function(e,t,n){return h(e,t,n,f)},p=function(e,t,n){return h(e,t,n,(r=localStorage,function(e,t){return r.setItem(e,JSON.stringify(t))}));var r},h=function(e,t,n,r){return"PRODUCTION"!==a.A.getRunEnv()?null:r(u(e,t),n)},m=function(e,t){return l[u(e,t)]},v=function(e,t){return y(e,t,localStorage)},y=function(e,t,n){var r=n.getItem(u(e,t));if(r)return JSON.parse(r)},g=function(e,t){return o()(l,u(e,t))},b=function(e,t){return w(e,t,localStorage)},w=function(e,t,n){return n.removeItem(u(e,t))},x=function(){i.A.log("cache - object cache invalidated"),Object.keys(l).forEach((function(e){return o()(l,e)}))},A=function(){i.A.log("cache - long term cache invalidated"),O(localStorage)},O=function(e){Object.keys(e).filter((function(e){return e.startsWith(s)&&!function(e){return e.startsWith("".concat(s,".").concat(c))}(e)})).forEach((function(t){return e.removeItem(t)}))},E=function(){return{revision:v(c,"revision")}},S=function(e){var t=e.revision;p(c,"revision",t||"")},k=function(){return{locale:m(c,"locale"),businessUnitId:m(c,"businessUnitId"),username:m(c,"username")}},j=function(e){var t=e.locale,n=e.businessUnitId,r=e.username;d(c,"locale",t||""),d(c,"businessUnitId",n||""),d(c,"username",r||"")}},18242:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8516);const o={addObjectCache:r.ZR,addLongTerm:r.GS,getObjectCache:r.Kb,getLongTerm:r.P8,removeObjectCache:r.sv,removeLongTerm:r.L5,clearObjectCache:r.fX,clearLongTerm:r.SP,getLongTermMetaInfo:r.G7,setLongTermMetaInfo:r.WD,getObjectCacheMetaInfo:r.p5,setObjectCacheMetaInfo:r.XO}},3388:(e,t,n)=>{"use strict";n.d(t,{FF:()=>o,Rm:()=>i,vV:()=>r});var r=function(){window.console&&(console.error||console.log).apply(void 0,arguments)},o=function(){window.console&&(console.warn||console.log).apply(void 0,arguments)},i=function(){var e;window.console&&(e=console).log.apply(e,arguments)}},19461:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3388);const o={log:r.Rm,logError:r.vV,logWarning:r.FF}},32224:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(19609);const o={millisecondsToDuration:r.ss,formatDuration:r.a3,getDateFnsLocale:r.Me,getLocalizedDateFormat:r.Rj,getLocalizedDateTimeFormat:r.ax,getLocalizedDateFormatWithoutPunctuation:r.zQ,getLocalizedDateTimeFormatWithoutPunctuation:r.yX,getTimeZone:r.O,useTwoDigitYear:r.EQ,setCurrentTime:r.hW,selectUnit:r.xb}},19609:(e,t,n)=>{"use strict";n.d(t,{EQ:()=>x,Me:()=>v,O:()=>E,Rj:()=>y,a3:()=>m,ax:()=>g,hW:()=>A,ss:()=>h,xb:()=>O,yX:()=>w,zQ:()=>b});var r=n(14533),o=n(40337),i=n(74279),a=n(4155),c=n(81007),s=n(36374),u=n(86688),l=n(14501),f=n(75867),d=n(95494),p=n(98166),h=function(e){if(!e&&0!==e)return{hours:"",minutes:"",seconds:""};var t=(0,p.O5)(e/1e3%60,3);e-=Math.round(1e3*t);var n=parseInt(e/6e4%60);e-=1e3*n*60;var r=parseInt(e/36e5);return(n<0||r<0)&&(t=Math.abs(t)),r<0&&(n=Math.abs(n)),{hours:r,minutes:n,seconds:t}},m=function(e){var t=h(e),n=t.hours,r=t.minutes,o=t.seconds,i="".concat(n.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")),a="".concat(i,":").concat(o.toFixed(3).padStart(6,"0"));return o?a:i},v=function(e){switch(e){case"fr":return f.O;case"en":return l.c;case"it":return d.it;default:return u.de}},y=function(e){return v(e).formatLong.date({width:"short"})},g=function(e){return"".concat(y(e)," HH:mm")},b=function(e){return y(e).replace(/[/.]/g,"")},w=function(e){return"".concat(b(e)," HHmm")},x=function(e){return e.replace(/y+/,"yy")},A=function(e){var t=new Date,n=new Date(e);return n=(0,r.a)(n,(0,o.q)(t)),n=(0,i.g)(n,(0,a.O)(t)),n=(0,c.g)(n,0),n=(0,s.$)(n,0)},O=function(e){var t=864e5,n=e-(new Date).getTime();if(n>-864e5){var r=Math.round(n/1e3);return r>-60?{diffValue:r,unit:"second"}:r>-3600?{diffValue:Math.ceil(r/60),unit:"minute"}:{diffValue:Math.ceil(r/3600),unit:"hour"}}var o=Math.round(n/t);return o>-30?{diffValue:o,unit:"day"}:o>-365?{diffValue:Math.ceil(o/30),unit:"month"}:{diffValue:Math.ceil(o/365),unit:"year"}},E=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone}},81570:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var r=function(){return"matchMedia"in window&&window.matchMedia("(pointer: coarse)").matches}},52690:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(81570);const o={isSafari:n(53458).n,isPrimaryTouchDevice:r.i}},53458:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var r=function(){var e,t=(null===(e=navigator)||void 0===e?void 0:e.userAgent)||"";return/^((?!chrome|android).)*safari/i.test(t)}},81062:(e,t,n)=>{"use strict";n.d(t,{CZ:()=>i,Is:()=>r,hY:()=>o,qI:()=>a,r2:()=>s,y_:()=>c});var r=function(e,t){var n=document.createElement("a");n.href=e,n.download=t||e.split("/").pop(),n.target="_blank",document.body.appendChild(n),n.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(e),n.remove&&n.remove()},o=function(e,t){var n=document.createElement("a"),r=URL.createObjectURL(e);n.href=r,n.download=t,n.target="_blank",document.body.appendChild(n),n.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(r),n.remove&&n.remove()},i=function(e){var t=document.createElement("a");t.href=e,t.target="_blank",document.body.appendChild(t),t.click(),window.URL.revokeObjectURL&&window.URL.revokeObjectURL(e),t.remove&&t.remove()},a=function(){var e=document.createElement("a"),t=void 0!==e.download;return e.remove&&e.remove(),t},c=function(e){return s(e,"download",!0)},s=function(e,t,n){return"".concat(e).concat(e&&e.indexOf("?")>=0?"&":"?").concat(t,"=").concat(n)}},46516:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(81062);const o={downloadUrl:r.Is,downloadReadableStream:r.hY,openUrl:r.CZ,downloadSupportedByBrowser:r.qI,getDownloadUrl:r.y_,addParameterToURL:r.r2}},58169:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,r:()=>u});var r=n(26396),o=n.n(r),i=n(19461),a=n(44984),c=n(74848);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var u=function(e){var t=e.mapping;return t[(0,a.M7)()||a.w2.admin]||t[a.w2.admin]};const l=function(e){var t=e.mapping;e.propTypes;return function(e){var n=u({mapping:t});return n||i.A.logError("Unable to render embed component: No embed component defined."),(0,c.jsx)(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}}},44984:(e,t,n)=>{"use strict";n.d(t,{KC:()=>p,K_:()=>v,M7:()=>h,Sk:()=>b,W2:()=>y,Wb:()=>u,Wi:()=>d,Zn:()=>l,f:()=>m,fG:()=>w,hZ:()=>a,ne:()=>f,w2:()=>i,wE:()=>s,wP:()=>g,wU:()=>o});var r=n(19461),o="__n-u-l-l__",i={admin:"admin",legacyAdmin:"legacy-admin",widget:"widget",legacyWidget:"legacy-widget"},a=Object.values(i),c={backendUrl:void 0,businessUnit:void 0,ruleProvider:void 0,embedType:i.admin,widgetConfigKey:void 0},s=function(){return c.backendUrl||""},u=function(e){c.backendUrl=e},l=function(){return c.businessUnit},f=function(e){c.businessUnit=e},d=function(){return c.ruleProvider},p=function(e){c.ruleProvider=e},h=function(){return c.embedType},m=function(){var e=h();return[i.admin,i.legacyAdmin].includes(e)},v=function(){var e=h();return[i.widget].includes(e)},y=function(e){a.includes(e)?c.embedType=e:r.A.logError("'".concat(e,"' as embedType is not allowed. Allowed embedTypes are: ").concat(a.join(", ")))},g=function(){return c.widgetConfigKey},b=function(e){c.widgetConfigKey=e},w=function(){return{backendUrl:c.backendUrl,businessUnit:c.businessUnit,appContext:{embedType:c.embedType,widgetConfigKey:c.widgetConfigKey}}}},8062:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(44984),o=function(e){var t,n,o,i;(e.backendUrl&&(0,r.Wb)(e.backendUrl),e.businessUnit&&(0,r.ne)(e.businessUnit),e.ruleProvider&&(0,r.KC)(e.ruleProvider),null!==(t=e.appContext)&&void 0!==t&&t.embedType)&&(0,r.W2)(null===(o=e.appContext)||void 0===o?void 0:o.embedType);null!==(n=e.appContext)&&void 0!==n&&n.widgetConfigKey&&(0,r.Sk)(null===(i=e.appContext)||void 0===i?void 0:i.widgetConfigKey)}},38159:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(58169),o=n(44984),i=n(8062);const a={EmbedType:o.w2,isInAdminEmbedded:o.f,isInWidgetEmbedded:o.K_,embedStrategyFactory:r.A,embedStrategy:r.r,getBackendUrl:o.wE,setBackendUrl:o.Wb,getBusinessUnit:o.Zn,getRuleProvider:o.Wi,setBusinessUnit:o.ne,setRuleProvider:o.KC,getEmbedType:o.M7,setEmbedType:o.W2,getWidgetConfigKey:o.wP,setWidgetConfigKey:o.Sk,asInputProps:o.fG,NULL_BUSINESS_UNIT:o.wU,ALLOWED_EMBED_TYPES:o.hZ,setInputEnvs:i.T}},73329:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={sanitizeHtml:n(26487).A}},26487:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(42838),o=n.n(r),i=["border","border-spacing","padding","margin","text-align","width"];o().addHook("afterSanitizeAttributes",(function(e){if(e&&!(e instanceof SVGElement)&&"function"==typeof e.hasAttribute&&e.hasAttribute("style")){var t=(n=e.style,i.map((function(e){var t=n[e];return t&&"string"==typeof t&&!function(e){return/\w\(/.test(e)}(t)?"".concat(e,":").concat(t,";"):null})).filter(Boolean).join(""));t?e.setAttribute("style",t):e.removeAttribute("style")}var n;return e}));const a=function(e){return e?o().sanitize(e,{FORBID_TAGS:["style"],ADD_ATTR:["target"]}):e}},94727:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(32120);const o={initIntl:r.cT,getChangeLocaleAction:r.f0,localeSelector:r.G3,loadUserWithLocale:r.Y$,getUserLocale:r.YK}},32120:(e,t,n)=>{"use strict";n.d(t,{G3:()=>m,Y$:()=>b,YK:()=>g,cT:()=>v,f0:()=>y});var r=n(26396),o=n.n(r),i=n(79092),a=n.n(i),c=n(92207),s=n.n(c),u=n(60991),l=n(18242),f=n(79253);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=["de","fr","en","it"],m=function(e){return e.intl.locale},v=function(){var e=a()(s().mark((function e(t,n,r){var o,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=r){e.next=5;break}return e.next=4,g();case 4:o=e.sent;case 5:return e.next=7,y(n,o);case 7:return i=e.sent,e.abrupt("return",t.dispatch(i));case 9:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}(),y=function(){var e=a()(s().mark((function e(t,n){var r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w(n,t);case 2:return r=e.sent,e.abrupt("return",(0,u.D6)({locale:n.replace("_","-"),messages:r}));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),g=function(){var e=a()(s().mark((function e(){var t,n,r,o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=l.A.getObjectCacheMetaInfo(),!(n=t.locale)){e.next=3;break}return e.abrupt("return",n);case 3:return e.next=5,b();case 5:return r=e.sent,o=r.locale,e.abrupt("return",o);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),b=function(){var e=a()(s().mark((function e(){var t,n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f.A.executeRequest("username").then(f.A.extractBody);case 2:return t=e.sent,n=t.locale,"anonymous"===t.username&&(r=void 0,o=void 0,r=window.navigator.userLanguage||window.navigator.language,o=r.indexOf("-")>0?r.split("-")[0]:r,n=h.includes(o)?o:"en"),e.abrupt("return",p(p({},t),{},{locale:n}));case 6:case"end":return e.stop()}var r,o}),e)})));return function(){return e.apply(this,arguments)}}(),w=function(){var e=a()(s().mark((function e(t,n){var r,i,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r={},i=[],n.forEach((function(e){var n=l.A.getLongTerm("textResource","".concat(t,".").concat(e));n?r=p(p({},r),n):i.push(e)})),!(i.length>0)){e.next=8;break}return e.next=6,x(t,i);case 6:a=e.sent,i.forEach((function(e){var n=Object.keys(a).filter((function(t){return t.match(new RegExp("^client\\."+e+".*","g"))})).reduce((function(e,t){return p(p({},e),{},o()({},t,a[t]))}),{});l.A.addLongTerm("textResource","".concat(t,".").concat(e),n),r=p(p({},r),n)}));case 8:return e.abrupt("return",r);case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),x=function(e,t){var n="".concat(t.join(",")),r=n?"&module=".concat(n):"",o="textresource?locale=".concat(e).concat(r);return f.A.executeRequest(o).then(f.A.extractBody)}},98166:(e,t,n)=>{"use strict";n.d(t,{O5:()=>o,O9:()=>a,Yd:()=>r,lW:()=>i});var r=function(e){return e&&Array.isArray(e)?e.length>0?e[0]:[]:e},o=function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n},i=function(e){return navigator.clipboard?navigator.clipboard.writeText(e):Promise.reject(new Error("navigator.clipboard API not available"))},a=function(e){return null!=e}},4394:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var r=function(e){return e?e.replace(/­/g,""):e}},47383:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(98166),o=n(4394);const i={difference:n(77896).i,getOrFirst:r.Yd,adjustedHTMLString:o.H,roundDecimalPlaces:r.O5,copyToClipboard:r.lW,isDefined:r.O9}},77896:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(85735),o=n.n(r),i=n(2404),a=n.n(i),c=n(69752),s=n.n(c),u=function(e){return"object"===o()(e)&&null!==e},l=function(e,t){return s()(e,(function(e,n,r){a()(n,t[r])||(e[r]=u(n)&&u(t[r])?l(n,t[r]):n)}))}},39621:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getRunEnv:n(17056).j}},17056:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(1882),o=n.n(r),i=function(){return window.app&&o()(window.app.getRunEnv)?window.app.getRunEnv():"PRODUCTION"}},84847:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getOriginId:n(29272).A}},29272:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(18562),o="_tocco_originId";const i=function(){if(sessionStorage.getItem(o))return sessionStorage.getItem(o);var e="".concat("client_","_").concat((0,r.A)());return sessionStorage.setItem(o,e),e}},33393:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(38684);const o={fromQueryString:r.qt,toQueryString:r.zJ}},38684:(e,t,n)=>{"use strict";n.d(t,{qt:()=>u,zJ:()=>s});var r=n(23805),o=n.n(r),i=n(73916),a=n.n(i),c=n(86663),s=function(e){var t=a()(e,(function(e){return o()(e)?JSON.stringify(e):e}));return c.stringify(t)},u=function(e){var t=c.parse(e);return a()(t,(function(e){return l(e)?JSON.parse(e):e}))},l=function(e){if("string"!=typeof e)return!1;try{var t=JSON.parse(e);return"[object Object]"===Object.prototype.toString.call(t)}catch(e){return!1}}},31540:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(26396),o=n.n(r),i=n(22056),a=n.n(i),c=n(4883),s=n.n(c),u=n(9075),l=n(74848);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"onChange";return s().forwardRef((function(r,i){var s=r.value,f=(0,c.useState)(s),p=a()(f,2),h=p[0],m=p[1],v=(0,u.A)(h,t),y=a()(v,2),g=y[0],b=y[1],w=(0,c.useRef)(s),x=r[n];return(0,c.useEffect)((function(){h!==s&&h===g&&(m(s),w.current=s,b(s))}),[s]),(0,c.useEffect)((function(){x&&w.current!==g&&(x(g),w.current=g)}),[g,x]),(0,l.jsx)(e,d(d(d({},r),{},{value:h},o()({},n,m)),{},{ref:i}))}))}},7311:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(31540),o=n(8523),i=n(9075),a=n(48102),c=n(56797),s=n(13466),u=n(21433);const l={useAutofocus:o.A,useDebounce:i.A,Debouncer:r.A,useUserActive:u.A,usePrevious:c.A,useDidUpdate:a.A,useResizeObserver:s.A}},8523:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4883),o=n(81570);const i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return(0,r.useEffect)((function(){if(!t.disabled&&e.current&&!(0,o.i)()){if(t.selectFulltextFields){var n=e.current.querySelector('input[id$="txtFulltext"]:not([disabled])');if(n)return void n.focus()}var r=e.current.querySelector('input[type="text"]:not([disabled]), input[type="search"]:not([disabled]), textarea:not([disabled])');r&&setTimeout((function(){r.focus()}),0)}}),n)}},9075:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(22056),o=n.n(r),i=n(4883);function a(e,t){var n=(0,i.useState)(e),r=o()(n,2),a=r[0],c=r[1];return(0,i.useEffect)((function(){var n=setTimeout((function(){c(e)}),t);return function(){clearTimeout(n)}}),[e,t]),[a,c]}},48102:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4883);const o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,r.useRef)(!1);(0,r.useEffect)((function(){n.current?e():n.current=!0}),t)}},56797:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4883);const o=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){t.current=e}),[e]),t.current}},13466:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(22056),o=n.n(r),i=n(4883);const a=function(){var e=(0,i.useState)(),t=o()(e,2),n=t[0],r=t[1],a=(0,i.useRef)(),c=(0,i.useCallback)((function(e){if(Array.isArray(e)){var t=e[0];r(t.contentRect)}}),[]),s=(0,i.useCallback)((function(e){e&&(a.current=new ResizeObserver((function(e){return c(e)})),a.current.observe(e))}),[c]);return(0,i.useEffect)((function(){return function(){a.current&&(a.current.disconnect(),a.current=null)}}),[]),[s,n]}},21433:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(22056),o=n.n(r),i=n(4883);const a=function(e){var t=(0,i.useRef)(null),n=(0,i.useState)(null),r=o()(n,2),a=r[0],c=r[1],s=(0,i.useCallback)((function(){a>0&&(t.current=setTimeout((function(){e()}),a))}),[a,e]),u=(0,i.useCallback)((function(){t.current&&clearTimeout(t.current)}),[]);return(0,i.useEffect)((function(){return u(),window.addEventListener("mousemove",s,{once:!0}),window.addEventListener("touchstart",s,{once:!0}),function(){u()}}),[u,s]),[c,u,s]}},29056:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(16693),o=n(98036),i=n(7097),a=n(89524);const c={singleTransferReducer:i.A,mappingTransferReducer:r.A,injectReducers:o.r,hotReloadReducers:o.Q,toggleReducer:a.A}},16693:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(26396),o=n.n(r);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const c=function(e,t){return function(n,r){var i=r.payload[e];return a(a({},n),{},o()({},t,i))}}},98036:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d,r:()=>p});var r=n(26396),o=n.n(r),i=n(66245),a=n.n(i),c=n(44383),s=n.n(c),u=n(14644);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=function(e,t){var n=f(f({},e.allReducers),t),r=(0,u.HY)(n);e.replaceReducer(r),e.dispatch({type:"replaceReducer"}),e.allReducers=n},p=function(e,t){var n=a()(Object.keys(t),Object.keys(e.allReducers));if(n.length>0){var r=f(f({},e.allReducers),s()(t,n));d(e,r)}}},7097:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(26396),o=n.n(r),i=n(63560),a=n.n(i);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const s=function(e,t){return function(n,r){var i=r.payload[e],s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n);return a()(s,t?t+"."+e:e,i),s}}},89524:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(26396),o=n.n(r);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const c=function(e){return function(t){return a(a({},t),{},o()({},e,!t[e]))}}},4642:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(35674);const o={logError:r.v,logException:r.c}},35674:(e,t,n)=>{"use strict";n.d(t,{c:()=>l,v:()=>f});var r=n(79092),o=n.n(r),i=n(92207),a=n.n(i),c=n(19461),s=n(79253),u="error",l=function(){var e=o()(a().mark((function e(t){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="ERROR MESSAGE: ".concat(t.message," \nSTACK: ").concat(t.stack?t.stack.substring(0,1e3):"-"),c.A.logError(n),e.next=4,d(u,n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=o()(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c.A.logError(t),e.next=3,d(u,t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),d=function(){var e=o()(a().mark((function e(t,n){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.A.executeRequest("log?level=".concat(t,"&message=").concat(encodeURI(n)),{method:"POST"});case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t,n){return e.apply(this,arguments)}}()},79253:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(46544);const o={prepareHeaders:r.qp,prepareUrl:r.Ne,executeRequest:r.Vc,extractBody:r.i9}},46544:(e,t,n)=>{"use strict";n.d(t,{Ne:()=>h,Vc:()=>m,i9:()=>v,qp:()=>p});var r=n(26396),o=n.n(r),i=n(85735),a=n.n(i),c=n(32224),s=n(38159),u=n(84847);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d={method:"GET",credentials:"include"},p=function(e){var t=function(e){if(e){if(e instanceof Headers)return e;if("object"===a()(e))return new Headers(e)}return new Headers}(e.headers),n=e.body;return t.has("Content-Type")||("string"==typeof n?t.set("Content-Type","text/plain"):n instanceof FormData||t.set("Content-Type","application/json")),t.has("X-Origin-Id")||t.set("X-Origin-Id",u.A.getOriginId()),!t.has("X-Business-Unit")&&s.A.getBusinessUnit()&&t.set("X-Business-Unit",s.A.getBusinessUnit()),t.has("X-Client")||t.set("X-Client",s.A.isInAdminEmbedded()?"client":"widget"),s.A.getRuleProvider()&&t.set("X-Rule-Provider-Id",s.A.getRuleProvider()),t.has("X-Timezone")||t.set("X-Timezone",c.A.getTimeZone()),t},h=function(e,t){return t.startsWith("/")&&(t=t.substring(1)),t.startsWith("http")?t:t.startsWith("nice2")?"".concat(e,"/").concat(t):"".concat(e,"/nice2/").concat(t)},m=function(e){var t=function(e){return f(f(f({},d),e),{},{headers:p(e)})}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=s.A.getBackendUrl(),r=h(n,e);return fetch(r,t)},v=function(e){return e.json()}},82462:(e,t,n)=>{"use strict";n.d(t,{cC:()=>i,dQ:()=>a,j9:()=>r});var r=new AbortController,o=!1,i=function(){o=!0},a=function(){o=!1};window.addEventListener("beforeunload",(function(e){o?(e.preventDefault(),e.returnValue=""):r.abort()})),window.addEventListener("pagehide",(function(){r.signal.aborted||r.abort()}))},14672:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82462),o=n(25202);const i={autoRestartSaga:o.zT,createGenerator:o.oW,injectSaga:o.e6,abortController:r.j9,deactivatePreventFromLeaving:r.dQ,activatePreventFromLeaving:r.cC}},25202:(e,t,n)=>{"use strict";n.d(t,{e6:()=>l,oW:()=>u,zT:()=>s});var r=n(92207),o=n.n(r),i=n(90167),a=n(19461),c=n(82462),s=function(e,t,n){return o().mark((function r(){var s,u,l,f=arguments;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:for(s=f.length,u=new Array(s),l=0;l<s;l++)u[l]=f[l];case 1:return r.prev=2,r.next=5,i.T1.apply(void 0,[e,t].concat(u));case 5:r.next=16;break;case 7:if(r.prev=7,r.t0=r.catch(2),!1!==c.j9.signal.aborted){r.next=16;break}if(!n){r.next=15;break}return r.next=13,(0,i.yJ)(n("client.common.unexpectedError","client.common.unexpectedError",r.t0));case 13:r.next=16;break;case 15:a.A.logError("error",r.t0);case 16:r.next=1;break;case 18:case"end":return r.stop()}}),r,null,[[2,7]])}))},u=function(e){return o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,i.Q7)(e);case 2:case"end":return t.stop()}}),t)}))},l=function(e,t,n){e.sagas.includes(t)||(e.sagas.push(t),e.sagaMiddleware.run(s(t,null,n)))}},25355:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={getErrorCompact:n(11200).a}},11200:(e,t,n)=>{"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){s=!0,a=e},f:function(){try{c||null==n.return||n.return()}finally{if(s)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{a:()=>i});var i=function(e){var t,n=r(e);try{for(n.s();!(t=n.n()).done;){var o=t.value;if(o.entityValidatorErrors&&!a(o.entityValidatorErrors))return c(o.entityValidatorErrors)[0];if(o.paths&&!a(o.paths))return c(c(o.paths))[0]}}catch(e){n.e(e)}finally{n.f()}return null},a=function(e){return 0===Object.keys(e).length},c=function(e){return Object.keys(e).length>=1?e[Object.keys(e)[0]]:void 0}},7054:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(64812);const o={persistViewInfo:r.MI,viewInfoSelector:r.po,clearPersistedViews:r.zQ}},64812:(e,t,n)=>{"use strict";n.d(t,{MI:()=>f,po:()=>l,zQ:()=>d});var r=n(26396),o=n.n(r),i=n(58156),a=n.n(i);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={},l=function(e){return a()(u,[e,"info"],{})},f=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;u=s(s({},u),{},o()({},e,{level:n,info:s(s({},a()(u,[e,"info"],{})),t)}))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;u=s({},Object.keys(u).reduce((function(t,n){var r=u[n];return s(s({},t),r.level<e&&o()({},n,r))}),{}))}},71635:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,Bt:()=>r,EJ:()=>l,F4:()=>s,M4:()=>o,XN:()=>d,d8:()=>f,o7:()=>c,wr:()=>i,z3:()=>a});var r="detailView/SET_FORM_TOUCHED",o="root/LOAD_DETAIL_PARAMS",i="root/SET_DETAIL_PARAMS",a="root/CLEAR_DETAIL_PARAMS",c="root/SHOW_PENDING_CHANGES_MODAL",s=function(e){return{type:r,payload:{formTouched:e}}},u=function(e){return{type:o,payload:{url:e}}},l=function(e){return{type:i,payload:{detailParams:e}}},f=function(){return{type:a}},d=function(e,t){return{type:c,payload:{message:e,confirmCallback:t}}}},27752:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(31601),o=n.n(r),i=n(76314),a=n.n(i)()(o());a.push([e.id,"@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:300,500|Ubuntu:300,500&display=swap);"]),a.push([e.id,"\n",""]);const c=a},76314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var u=0;u<e.length;u++){var l=[].concat(e[u]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},31601:e=>{"use strict";e.exports=function(e){return e[1]}},30454:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n)||[],r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n)||[];return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var o=i(n[0]);o!==n[0]&&(t[n[0]]=o)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),c=0;c<a.length;c++){var s=a[c];e=e.replace(new RegExp(s,"g"),t[s])}return e}(e)}}},42838:function(e){
|
|
13
13
|
/*! @license DOMPurify 3.1.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.7/LICENSE */
|
|
14
14
|
e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:o}=Object;let{freeze:i,seal:a,create:c}=Object,{apply:s,construct:u}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),s||(s=function(e,t,n){return e.apply(t,n)}),u||(u=function(e,t){return new e(...t)});const l=A(Array.prototype.forEach),f=A(Array.prototype.pop),d=A(Array.prototype.push),p=A(String.prototype.toLowerCase),h=A(String.prototype.toString),m=A(String.prototype.match),v=A(String.prototype.replace),y=A(String.prototype.indexOf),g=A(String.prototype.trim),b=A(Object.prototype.hasOwnProperty),w=A(RegExp.prototype.test),x=O(TypeError);function A(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return s(e,t,r)}}function O(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return u(e,n)}}function E(e,r){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p;t&&t(e,null);let i=r.length;for(;i--;){let t=r[i];if("string"==typeof t){const e=o(t);e!==t&&(n(r)||(r[i]=e),t=e)}e[t]=!0}return e}function S(e){for(let t=0;t<e.length;t++)b(e,t)||(e[t]=null);return e}function k(t){const n=c(null);for(const[r,o]of e(t))b(t,r)&&(Array.isArray(o)?n[r]=S(o):o&&"object"==typeof o&&o.constructor===Object?n[r]=k(o):n[r]=o);return n}function j(e,t){for(;null!==e;){const n=o(e,t);if(n){if(n.get)return A(n.get);if("function"==typeof n.value)return A(n.value)}e=r(e)}function n(){return null}return n}const T=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),P=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),C=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),_=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),D=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),R=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N=i(["#text"]),I=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),M=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),L=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),B=a(/<%[\w\W]*|[\w\W]*%>/gm),U=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),z=a(/^aria-[\-\w]+$/),G=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=a(/^(?:\w+script|data):/i),q=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:H,ERB_EXPR:B,TMPLIT_EXPR:U,DATA_ATTR:W,ARIA_ATTR:z,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:q,DOCTYPE_NAME:V,CUSTOM_ELEMENT:$});const J={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},X=function(){return"undefined"==typeof window?null:window},Q=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function Z(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X();const n=e=>Z(e);if(n.version="3.1.7",n.removed=[],!t||!t.document||t.document.nodeType!==J.document)return n.isSupported=!1,n;let{document:r}=t;const o=r,a=o.currentScript,{DocumentFragment:s,HTMLTemplateElement:u,Node:A,Element:O,NodeFilter:S,NamedNodeMap:H=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:B,DOMParser:U,trustedTypes:W}=t,z=O.prototype,Y=j(z,"cloneNode"),q=j(z,"remove"),$=j(z,"nextSibling"),ee=j(z,"childNodes"),te=j(z,"parentNode");if("function"==typeof u){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ne,re="";const{implementation:oe,createNodeIterator:ie,createDocumentFragment:ae,getElementsByTagName:ce}=r,{importNode:se}=o;let ue={};n.isSupported="function"==typeof e&&"function"==typeof te&&oe&&void 0!==oe.createHTMLDocument;const{MUSTACHE_EXPR:le,ERB_EXPR:fe,TMPLIT_EXPR:de,DATA_ATTR:pe,ARIA_ATTR:he,IS_SCRIPT_OR_DATA:me,ATTR_WHITESPACE:ve,CUSTOM_ELEMENT:ye}=K;let{IS_ALLOWED_URI:ge}=K,be=null;const we=E({},[...T,...P,...C,...D,...N]);let xe=null;const Ae=E({},[...I,...M,...L,...F]);let Oe=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ee=null,Se=null,ke=!0,je=!0,Te=!1,Pe=!0,Ce=!1,_e=!0,De=!1,Re=!1,Ne=!1,Ie=!1,Me=!1,Le=!1,Fe=!0,He=!1;const Be="user-content-";let Ue=!0,We=!1,ze={},Ge=null;const Ye=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let qe=null;const Ve=E({},["audio","video","img","source","image","track"]);let $e=null;const Ke=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",Xe="http://www.w3.org/2000/svg",Qe="http://www.w3.org/1999/xhtml";let Ze=Qe,et=!1,tt=null;const nt=E({},[Je,Xe,Qe],h);let rt=null;const ot=["application/xhtml+xml","text/html"],it="text/html";let at=null,ct=null;const st=r.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},lt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ct||ct!==e){if(e&&"object"==typeof e||(e={}),e=k(e),rt=-1===ot.indexOf(e.PARSER_MEDIA_TYPE)?it:e.PARSER_MEDIA_TYPE,at="application/xhtml+xml"===rt?h:p,be=b(e,"ALLOWED_TAGS")?E({},e.ALLOWED_TAGS,at):we,xe=b(e,"ALLOWED_ATTR")?E({},e.ALLOWED_ATTR,at):Ae,tt=b(e,"ALLOWED_NAMESPACES")?E({},e.ALLOWED_NAMESPACES,h):nt,$e=b(e,"ADD_URI_SAFE_ATTR")?E(k(Ke),e.ADD_URI_SAFE_ATTR,at):Ke,qe=b(e,"ADD_DATA_URI_TAGS")?E(k(Ve),e.ADD_DATA_URI_TAGS,at):Ve,Ge=b(e,"FORBID_CONTENTS")?E({},e.FORBID_CONTENTS,at):Ye,Ee=b(e,"FORBID_TAGS")?E({},e.FORBID_TAGS,at):{},Se=b(e,"FORBID_ATTR")?E({},e.FORBID_ATTR,at):{},ze=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,ke=!1!==e.ALLOW_ARIA_ATTR,je=!1!==e.ALLOW_DATA_ATTR,Te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ce=e.SAFE_FOR_TEMPLATES||!1,_e=!1!==e.SAFE_FOR_XML,De=e.WHOLE_DOCUMENT||!1,Ie=e.RETURN_DOM||!1,Me=e.RETURN_DOM_FRAGMENT||!1,Le=e.RETURN_TRUSTED_TYPE||!1,Ne=e.FORCE_BODY||!1,Fe=!1!==e.SANITIZE_DOM,He=e.SANITIZE_NAMED_PROPS||!1,Ue=!1!==e.KEEP_CONTENT,We=e.IN_PLACE||!1,ge=e.ALLOWED_URI_REGEXP||G,Ze=e.NAMESPACE||Qe,Oe=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Oe.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Oe.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Oe.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ce&&(je=!1),Me&&(Ie=!0),ze&&(be=E({},N),xe=[],!0===ze.html&&(E(be,T),E(xe,I)),!0===ze.svg&&(E(be,P),E(xe,M),E(xe,F)),!0===ze.svgFilters&&(E(be,C),E(xe,M),E(xe,F)),!0===ze.mathMl&&(E(be,D),E(xe,L),E(xe,F))),e.ADD_TAGS&&(be===we&&(be=k(be)),E(be,e.ADD_TAGS,at)),e.ADD_ATTR&&(xe===Ae&&(xe=k(xe)),E(xe,e.ADD_ATTR,at)),e.ADD_URI_SAFE_ATTR&&E($e,e.ADD_URI_SAFE_ATTR,at),e.FORBID_CONTENTS&&(Ge===Ye&&(Ge=k(Ge)),E(Ge,e.FORBID_CONTENTS,at)),Ue&&(be["#text"]=!0),De&&E(be,["html","head","body"]),be.table&&(E(be,["tbody"]),delete Ee.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ne=e.TRUSTED_TYPES_POLICY,re=ne.createHTML("")}else void 0===ne&&(ne=Q(W,a)),null!==ne&&"string"==typeof re&&(re=ne.createHTML(""));i&&i(e),ct=e}},ft=E({},["mi","mo","mn","ms","mtext"]),dt=E({},["annotation-xml"]),pt=E({},["title","style","font","a","script"]),ht=E({},[...P,...C,..._]),mt=E({},[...D,...R]),vt=function(e){let t=te(e);t&&t.tagName||(t={namespaceURI:Ze,tagName:"template"});const n=p(e.tagName),r=p(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Xe?t.namespaceURI===Qe?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===r||ft[r]):Boolean(ht[n]):e.namespaceURI===Je?t.namespaceURI===Qe?"math"===n:t.namespaceURI===Xe?"math"===n&&dt[r]:Boolean(mt[n]):e.namespaceURI===Qe?!(t.namespaceURI===Xe&&!dt[r])&&!(t.namespaceURI===Je&&!ft[r])&&!mt[n]&&(pt[n]||!ht[n]):!("application/xhtml+xml"!==rt||!tt[e.namespaceURI]))},yt=function(e){d(n.removed,{element:e});try{te(e).removeChild(e)}catch(t){q(e)}},gt=function(e,t){try{d(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){d(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!xe[e])if(Ie||Me)try{yt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){let t=null,n=null;if(Ne)e="<remove></remove>"+e;else{const t=m(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===rt&&Ze===Qe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ne?ne.createHTML(e):e;if(Ze===Qe)try{t=(new U).parseFromString(o,rt)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Ze,"template",null);try{t.documentElement.innerHTML=et?re:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),Ze===Qe?ce.call(t,De?"html":"body")[0]:De?t.documentElement:i},wt=function(e){return ie.call(e.ownerDocument||e,e,S.SHOW_ELEMENT|S.SHOW_COMMENT|S.SHOW_TEXT|S.SHOW_PROCESSING_INSTRUCTION|S.SHOW_CDATA_SECTION,null)},xt=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof H)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},At=function(e){return"function"==typeof A&&e instanceof A},Ot=function(e,t,r){ue[e]&&l(ue[e],(e=>{e.call(n,t,r,ct)}))},Et=function(e){let t=null;if(Ot("beforeSanitizeElements",e,null),xt(e))return yt(e),!0;const r=at(e.nodeName);if(Ot("uponSanitizeElement",e,{tagName:r,allowedTags:be}),e.hasChildNodes()&&!At(e.firstElementChild)&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return yt(e),!0;if(e.nodeType===J.progressingInstruction)return yt(e),!0;if(_e&&e.nodeType===J.comment&&w(/<[/\w]/g,e.data))return yt(e),!0;if(!be[r]||Ee[r]){if(!Ee[r]&&kt(r)){if(Oe.tagNameCheck instanceof RegExp&&w(Oe.tagNameCheck,r))return!1;if(Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(r))return!1}if(Ue&&!Ge[r]){const t=te(e)||e.parentNode,n=ee(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const o=Y(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,$(e))}}return yt(e),!0}return e instanceof O&&!vt(e)?(yt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!w(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ce&&e.nodeType===J.text&&(t=e.textContent,l([le,fe,de],(e=>{t=v(t,e," ")})),e.textContent!==t&&(d(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ot("afterSanitizeElements",e,null),!1):(yt(e),!0)},St=function(e,t,n){if(Fe&&("id"===t||"name"===t)&&(n in r||n in st))return!1;if(je&&!Se[t]&&w(pe,t));else if(ke&&w(he,t));else if(!xe[t]||Se[t]){if(!(kt(e)&&(Oe.tagNameCheck instanceof RegExp&&w(Oe.tagNameCheck,e)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(e))&&(Oe.attributeNameCheck instanceof RegExp&&w(Oe.attributeNameCheck,t)||Oe.attributeNameCheck instanceof Function&&Oe.attributeNameCheck(t))||"is"===t&&Oe.allowCustomizedBuiltInElements&&(Oe.tagNameCheck instanceof RegExp&&w(Oe.tagNameCheck,n)||Oe.tagNameCheck instanceof Function&&Oe.tagNameCheck(n))))return!1}else if($e[t]);else if(w(ge,v(n,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!qe[e])if(Te&&!w(me,v(n,ve,"")));else if(n)return!1;return!0},kt=function(e){return"annotation-xml"!==e&&m(e,ye)},jt=function(e){Ot("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xe};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:c,value:s}=i,u=at(a);let d="value"===a?s:g(s);if(r.attrName=u,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,Ot("uponSanitizeAttribute",e,r),d=r.attrValue,r.forceKeepAttr)continue;if(gt(a,e),!r.keepAttr)continue;if(!Pe&&w(/\/>/i,d)){gt(a,e);continue}Ce&&l([le,fe,de],(e=>{d=v(d,e," ")}));const p=at(e.nodeName);if(St(p,u,d))if(!He||"id"!==u&&"name"!==u||(gt(a,e),d=Be+d),_e&&w(/((--!?|])>)|<\/(style|title)/i,d))gt(a,e);else{if(ne&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(c);else switch(W.getAttributeType(p,u)){case"TrustedHTML":d=ne.createHTML(d);break;case"TrustedScriptURL":d=ne.createScriptURL(d)}try{c?e.setAttributeNS(c,a,d):e.setAttribute(a,d),xt(e)?yt(e):f(n.removed)}catch(e){}}}Ot("afterSanitizeAttributes",e,null)},Tt=function e(t){let n=null;const r=wt(t);for(Ot("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ot("uponSanitizeShadowNode",n,null),Et(n)||(n.content instanceof s&&e(n.content),jt(n));Ot("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,a=null,c=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!At(e)){if("function"!=typeof e.toString)throw x("toString is not a function");if("string"!=typeof(e=e.toString()))throw x("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Re||lt(t),n.removed=[],"string"==typeof e&&(We=!1),We){if(e.nodeName){const t=at(e.nodeName);if(!be[t]||Ee[t])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof A)r=bt("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),i.nodeType===J.element&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!Ie&&!Ce&&!De&&-1===e.indexOf("<"))return ne&&Le?ne.createHTML(e):e;if(r=bt(e),!r)return Ie?null:Le?re:""}r&&Ne&&yt(r.firstChild);const u=wt(We?e:r);for(;a=u.nextNode();)Et(a)||(a.content instanceof s&&Tt(a.content),jt(a));if(We)return e;if(Ie){if(Me)for(c=ae.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(xe.shadowroot||xe.shadowrootmode)&&(c=se.call(o,c,!0)),c}let f=De?r.outerHTML:r.innerHTML;return De&&be["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&w(V,r.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+f),Ce&&l([le,fe,de],(e=>{f=v(f,e," ")})),ne&&Le?ne.createHTML(f):f},n.setConfig=function(){lt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Re=!0},n.clearConfig=function(){ct=null,Re=!1},n.isValidAttribute=function(e,t,n){ct||lt({});const r=at(e),o=at(t);return St(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(ue[e]=ue[e]||[],d(ue[e],t))},n.removeHook=function(e){if(ue[e])return f(ue[e])},n.removeHooks=function(e){ue[e]&&(ue[e]=[])},n.removeAllHooks=function(){ue={}},n}return Z()}()},17307:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}n.d(t,{A:()=>o});const o=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return Object.defineProperty(n,"message",{configurable:!0,enumerable:!1,value:e,writable:!0}),Object.defineProperty(n,"name",{configurable:!0,enumerable:!1,value:n.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(n,n.constructor),r(n)):(Object.defineProperty(n,"stack",{configurable:!0,enumerable:!1,value:new Error(e).stack,writable:!0}),n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(function(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Error))},98584:(e,t,n)=>{"use strict";n.d(t,{R:()=>a});var r=n(86485),o=n(27524),i=[".DS_Store","Thumbs.db"];function a(e){return(0,r.sH)(this,void 0,void 0,(function(){return(0,r.YH)(this,(function(t){return c(e)&&c(e.dataTransfer)?[2,l(e.dataTransfer,e.type)]:function(e){return c(e)&&c(e.target)}(e)?[2,s(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,u(e)]:[2,[]]}))}))}function c(e){return"object"==typeof e&&null!==e}function s(e){return d(e.target.files).map((function(e){return(0,o.b)(e)}))}function u(e){return(0,r.sH)(this,void 0,void 0,(function(){return(0,r.YH)(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return(0,o.b)(e)}))]}}))}))}function l(e,t){return(0,r.sH)(this,void 0,void 0,(function(){var n;return(0,r.YH)(this,(function(r){switch(r.label){case 0:return e.items?(n=d(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(p))]):[3,2];case 1:return[2,f(h(r.sent()))];case 2:return[2,f(d(e.files).map((function(e){return(0,o.b)(e)})))]}}))}))}function f(e){return e.filter((function(e){return-1===i.indexOf(e.name)}))}function d(e){if(null===e)return[];for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function p(e){if("function"!=typeof e.webkitGetAsEntry)return m(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?y(t):m(e)}function h(e){return e.reduce((function(e,t){return(0,r.fX)((0,r.fX)([],(0,r.zs)(e),!1),(0,r.zs)(Array.isArray(t)?h(t):[t]),!1)}),[])}function m(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var n=(0,o.b)(t);return Promise.resolve(n)}function v(e){return(0,r.sH)(this,void 0,void 0,(function(){return(0,r.YH)(this,(function(t){return[2,e.isDirectory?y(e):g(e)]}))}))}function y(e){var t=e.createReader();return new Promise((function(e,n){var o=[];!function i(){var a=this;t.readEntries((function(t){return(0,r.sH)(a,void 0,void 0,(function(){var a,c,s;return(0,r.YH)(this,(function(r){switch(r.label){case 0:if(t.length)return[3,5];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,Promise.all(o)];case 2:return a=r.sent(),e(a),[3,4];case 3:return c=r.sent(),n(c),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(v)),o.push(s),i(),r.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function g(e){return(0,r.sH)(this,void 0,void 0,(function(){return(0,r.YH)(this,(function(t){return[2,new Promise((function(t,n){e.file((function(n){var r=(0,o.b)(n,e.fullPath);t(r)}),(function(e){n(e)}))}))]}))}))}},27524:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function o(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),o=r.get(n);o&&Object.defineProperty(e,"type",{value:o,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof n.path){var o=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"==typeof t?t:"string"==typeof o&&o.length>0?o:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}},89260:(e,t,n)=>{"use strict";n.d(t,{R:()=>r.R});var r=n(98584)},86485:(e,t,n)=>{"use strict";n.d(t,{YH:()=>o,fX:()=>a,sH:()=>r,zs:()=>i});function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}s((r=r.apply(e,t||[])).next())}))}function o(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(s){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}Object.create;function i(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},73055:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i<r.length;i++){var a=r[i],c=e[a];(o?-1!==t.indexOf(a):t(a,c,e))&&(n[a]=c)}return n}},4146:(e,t,n)=>{"use strict";var r=n(44363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function s(e){return r.isMemo(e)?a:c[e.$$typeof]||o}c[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var c=s(t),m=s(n),v=0;v<a.length;++v){var y=a[v];if(!(i[y]||r&&r[y]||m&&m[y]||c&&c[y])){var g=d(n,y);try{u(t,y,g)}catch(e){}}}}return t}},62587:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var r=n(77801),o=n(54819),i=n(47175),a=n(31071);function c(e,t){return t?Object.keys(e).reduce((function(n,o){var i,a;return n[o]=(i=e[o],(a=t[o])?(0,r.Cl)((0,r.Cl)((0,r.Cl)({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=(0,r.Cl)((0,r.Cl)({},i[t]),a[t]||{}),e}),{})):i),n}),(0,r.Cl)({},e)):e}function s(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}var u=function(){function e(t,n,i,u){void 0===n&&(n=e.defaultLocale);var l,f=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=f.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===a.TT.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return(0,a.hN)(f.ast,f.locales,f.formatters,f.formats,e,void 0,f.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=f.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(f.locales)[0]}},this.getAst=function(){return f.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var d=u||{},p=(d.formatters,(0,r.Tt)(d,["formatters"]));this.ast=e.__parse(t,(0,r.Cl)((0,r.Cl)({},p),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=c(e.formats,i),this.formatters=u&&u.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:s(l.number),strategy:o.W.variadic}),getDateTimeFormat:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:s(l.dateTime),strategy:o.W.variadic}),getPluralRules:(0,o.B)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,r.fX)([void 0],t,!1)))}),{cache:s(l.pluralRules),strategy:o.W.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=i.qg,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},11732:(e,t,n)=>{"use strict";n.d(t,{$x:()=>a,Ei:()=>s,IF:()=>i,O4:()=>r,Zo:()=>c});var r,o=n(77801);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(r||(r={}));var i=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.code=n,o.originalMessage=r,o}return(0,o.C6)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),a=function(e){function t(t,n,o,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),r.INVALID_VALUE,i)||this}return(0,o.C6)(t,e),t}(i),c=function(e){function t(t,n,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),r.INVALID_VALUE,o)||this}return(0,o.C6)(t,e),t}(i),s=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),r.MISSING_VALUE,n)||this}return(0,o.C6)(t,e),t}(i)},31071:(e,t,n)=>{"use strict";n.d(t,{RK:()=>a,TT:()=>r,hN:()=>c});var r,o=n(47175),i=n(11732);function a(e){return"function"==typeof e}function c(e,t,n,s,u,l,f){if(1===e.length&&(0,o.eW)(e[0]))return[{type:r.literal,value:e[0].value}];for(var d=[],p=0,h=e;p<h.length;p++){var m=h[p];if((0,o.eW)(m))d.push({type:r.literal,value:m.value});else if((0,o.jA)(m))"number"==typeof l&&d.push({type:r.literal,value:n.getNumberFormat(t).format(l)});else{var v=m.value;if(!u||!(v in u))throw new i.Ei(v,f);var y=u[v];if((0,o.Im)(m))y&&"string"!=typeof y&&"number"!=typeof y||(y="string"==typeof y||"number"==typeof y?String(y):""),d.push({type:"string"==typeof y?r.literal:r.object,value:y});else if((0,o.tv)(m)){var g="string"==typeof m.style?s.date[m.style]:(0,o.Tu)(m.style)?m.style.parsedOptions:void 0;d.push({type:r.literal,value:n.getDateTimeFormat(t,g).format(y)})}else if((0,o.Qh)(m)){g="string"==typeof m.style?s.time[m.style]:(0,o.Tu)(m.style)?m.style.parsedOptions:s.time.medium;d.push({type:r.literal,value:n.getDateTimeFormat(t,g).format(y)})}else if((0,o.oF)(m)){(g="string"==typeof m.style?s.number[m.style]:(0,o.N1)(m.style)?m.style.parsedOptions:void 0)&&g.scale&&(y*=g.scale||1),d.push({type:r.literal,value:n.getNumberFormat(t,g).format(y)})}else{if((0,o.xm)(m)){var b=m.children,w=m.value,x=u[w];if(!a(x))throw new i.Zo(w,"function",f);var A=x(c(b,t,n,s,u,l).map((function(e){return e.value})));Array.isArray(A)||(A=[A]),d.push.apply(d,A.map((function(e){return{type:"string"==typeof e?r.literal:r.object,value:e}})))}if((0,o.Jp)(m)){if(!(O=m.options[y]||m.options.other))throw new i.$x(m.value,y,Object.keys(m.options),f);d.push.apply(d,c(O.value,t,n,s,u))}else if((0,o.N6)(m)){var O;if(!(O=m.options["=".concat(y)])){if(!Intl.PluralRules)throw new i.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',i.O4.MISSING_INTL_API,f);var E=n.getPluralRules(t,{type:m.pluralType}).select(y-(m.offset||0));O=m.options[E]||m.options.other}if(!O)throw new i.$x(m.value,y,Object.keys(m.options),f);d.push.apply(d,c(O.value,t,n,s,u,y-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===r.literal&&t.type===r.literal?n.value+=t.value:e.push(t),e}),[])}(d)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(r||(r={}))},55580:(e,t,n)=>{var r=n(56110)(n(9325),"DataView");e.exports=r},21549:(e,t,n)=>{var r=n(22032),o=n(63862),i=n(66721),a=n(12749),c=n(35749);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,e.exports=s},80079:(e,t,n)=>{var r=n(63702),o=n(70080),i=n(24739),a=n(48655),c=n(31175);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,e.exports=s},68223:(e,t,n)=>{var r=n(56110)(n(9325),"Map");e.exports=r},53661:(e,t,n)=>{var r=n(63040),o=n(17670),i=n(90289),a=n(4509),c=n(72949);function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=o,s.prototype.get=i,s.prototype.has=a,s.prototype.set=c,e.exports=s},32804:(e,t,n)=>{var r=n(56110)(n(9325),"Promise");e.exports=r},76545:(e,t,n)=>{var r=n(56110)(n(9325),"Set");e.exports=r},38859:(e,t,n)=>{var r=n(53661),o=n(31380),i=n(51459);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},37217:(e,t,n)=>{var r=n(80079),o=n(51420),i=n(90938),a=n(63605),c=n(29817),s=n(80945);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=c,u.prototype.set=s,e.exports=u},51873:(e,t,n)=>{var r=n(9325).Symbol;e.exports=r},37828:(e,t,n)=>{var r=n(9325).Uint8Array;e.exports=r},28303:(e,t,n)=>{var r=n(56110)(n(9325),"WeakMap");e.exports=r},91033:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},63945:e=>{e.exports=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}},83729:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},79770:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},15325:(e,t,n)=>{var r=n(96131);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},29905:e=>{e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}},70695:(e,t,n)=>{var r=n(78096),o=n(72428),i=n(56449),a=n(3656),c=n(30361),s=n(37167),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),l=!n&&o(e),f=!n&&!l&&a(e),d=!n&&!l&&!f&&s(e),p=n||l||f||d,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!u.call(e,v)||p&&("length"==v||f&&("offset"==v||"parent"==v)||d&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,m))||h.push(v);return h}},34932:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},14528:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},40882:e=>{e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},14248:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},87805:(e,t,n)=>{var r=n(43360),o=n(75288);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},16547:(e,t,n)=>{var r=n(43360),o=n(75288),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},26025:(e,t,n)=>{var r=n(75288);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},62429:(e,t,n)=>{var r=n(80909);e.exports=function(e,t,n,o){return r(e,(function(e,r,i){t(o,e,n(e),i)})),o}},74733:(e,t,n)=>{var r=n(21791),o=n(95950);e.exports=function(e,t){return e&&r(t,o(t),e)}},43838:(e,t,n)=>{var r=n(21791),o=n(37241);e.exports=function(e,t){return e&&r(t,o(t),e)}},43360:(e,t,n)=>{var r=n(93243);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},9999:(e,t,n)=>{var r=n(37217),o=n(83729),i=n(16547),a=n(74733),c=n(43838),s=n(93290),u=n(23007),l=n(92271),f=n(48948),d=n(50002),p=n(83349),h=n(5861),m=n(76189),v=n(77199),y=n(35529),g=n(56449),b=n(3656),w=n(87730),x=n(23805),A=n(38440),O=n(95950),E=n(37241),S="[object Arguments]",k="[object Function]",j="[object Object]",T={};T[S]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[j]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[k]=T["[object WeakMap]"]=!1,e.exports=function e(t,n,P,C,_,D){var R,N=1&n,I=2&n,M=4&n;if(P&&(R=_?P(t,C,_,D):P(t)),void 0!==R)return R;if(!x(t))return t;var L=g(t);if(L){if(R=m(t),!N)return u(t,R)}else{var F=h(t),H=F==k||"[object GeneratorFunction]"==F;if(b(t))return s(t,N);if(F==j||F==S||H&&!_){if(R=I||H?{}:y(t),!N)return I?f(t,c(R,t)):l(t,a(R,t))}else{if(!T[F])return _?t:{};R=v(t,F,N)}}D||(D=new r);var B=D.get(t);if(B)return B;D.set(t,R),A(t)?t.forEach((function(r){R.add(e(r,n,P,r,t,D))})):w(t)&&t.forEach((function(r,o){R.set(o,e(r,n,P,o,t,D))}));var U=L?void 0:(M?I?p:d:I?E:O)(t);return o(U||t,(function(r,o){U&&(r=t[o=r]),i(R,o,e(r,n,P,o,t,D))})),R}},39344:(e,t,n)=>{var r=n(23805),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},83915:(e,t,n)=>{var r=n(38859),o=n(15325),i=n(29905),a=n(34932),c=n(27301),s=n(19219);e.exports=function(e,t,n,u){var l=-1,f=o,d=!0,p=e.length,h=[],m=t.length;if(!p)return h;n&&(t=a(t,c(n))),u?(f=i,d=!1):t.length>=200&&(f=s,d=!1,t=new r(t));e:for(;++l<p;){var v=e[l],y=null==n?v:n(v);if(v=u||0!==v?v:0,d&&y==y){for(var g=m;g--;)if(t[g]===y)continue e;h.push(v)}else f(t,y,u)||h.push(v)}return h}},80909:(e,t,n)=>{var r=n(30641),o=n(38329)(r);e.exports=o},2523:e=>{e.exports=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},83120:(e,t,n)=>{var r=n(14528),o=n(45891);e.exports=function e(t,n,i,a,c){var s=-1,u=t.length;for(i||(i=o),c||(c=[]);++s<u;){var l=t[s];n>0&&i(l)?n>1?e(l,n-1,i,a,c):r(c,l):a||(c[c.length]=l)}return c}},86649:(e,t,n)=>{var r=n(83221)();e.exports=r},30641:(e,t,n)=>{var r=n(86649),o=n(95950);e.exports=function(e,t){return e&&r(e,t,o)}},47422:(e,t,n)=>{var r=n(31769),o=n(77797);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},82199:(e,t,n)=>{var r=n(14528),o=n(56449);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},72552:(e,t,n)=>{var r=n(51873),o=n(659),i=n(59350),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},28077:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},96131:(e,t,n)=>{var r=n(2523),o=n(85463),i=n(76959);e.exports=function(e,t,n){return t==t?i(e,t,n):r(e,o,n)}},27534:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},60270:(e,t,n)=>{var r=n(87068),o=n(40346);e.exports=function e(t,n,i,a,c){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,c))}},87068:(e,t,n)=>{var r=n(37217),o=n(25911),i=n(21986),a=n(50689),c=n(5861),s=n(56449),u=n(3656),l=n(37167),f="[object Arguments]",d="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,y){var g=s(e),b=s(t),w=g?d:c(e),x=b?d:c(t),A=(w=w==f?p:w)==p,O=(x=x==f?p:x)==p,E=w==x;if(E&&u(e)){if(!u(t))return!1;g=!0,A=!1}if(E&&!A)return y||(y=new r),g||l(e)?o(e,t,n,m,v,y):i(e,t,w,n,m,v,y);if(!(1&n)){var S=A&&h.call(e,"__wrapped__"),k=O&&h.call(t,"__wrapped__");if(S||k){var j=S?e.value():e,T=k?t.value():t;return y||(y=new r),v(j,T,n,m,y)}}return!!E&&(y||(y=new r),a(e,t,n,m,v,y))}},29172:(e,t,n)=>{var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},41799:(e,t,n)=>{var r=n(37217),o=n(60270);e.exports=function(e,t,n,i){var a=n.length,c=a,s=!i;if(null==e)return!c;for(e=Object(e);a--;){var u=n[a];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<c;){var l=(u=n[a])[0],f=e[l],d=u[1];if(s&&u[2]){if(void 0===f&&!(l in e))return!1}else{var p=new r;if(i)var h=i(f,d,l,e,t,p);if(!(void 0===h?o(d,f,3,i,p):h))return!1}}return!0}},85463:e=>{e.exports=function(e){return e!=e}},45083:(e,t,n)=>{var r=n(1882),o=n(87296),i=n(23805),a=n(47473),c=/^\[object .+?Constructor\]$/,s=Function.prototype,u=Object.prototype,l=s.toString,f=u.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:c).test(a(e))}},16038:(e,t,n)=>{var r=n(5861),o=n(40346);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},4901:(e,t,n)=>{var r=n(72552),o=n(30294),i=n(40346),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},15389:(e,t,n)=>{var r=n(93663),o=n(87978),i=n(83488),a=n(56449),c=n(50583);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):c(e)}},88984:(e,t,n)=>{var r=n(55527),o=n(3650),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},72903:(e,t,n)=>{var r=n(23805),o=n(55527),i=n(90181),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},93663:(e,t,n)=>{var r=n(41799),o=n(10776),i=n(89578);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},87978:(e,t,n)=>{var r=n(60270),o=n(58156),i=n(80631),a=n(28586),c=n(30756),s=n(89578),u=n(77797);e.exports=function(e,t){return a(e)&&c(t)?s(u(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,3)}}},85250:(e,t,n)=>{var r=n(37217),o=n(87805),i=n(86649),a=n(42824),c=n(23805),s=n(37241),u=n(14974);e.exports=function e(t,n,l,f,d){t!==n&&i(n,(function(i,s){if(d||(d=new r),c(i))a(t,n,s,l,e,f,d);else{var p=f?f(u(t,s),i,s+"",t,n,d):void 0;void 0===p&&(p=i),o(t,s,p)}}),s)}},42824:(e,t,n)=>{var r=n(87805),o=n(93290),i=n(71961),a=n(23007),c=n(35529),s=n(72428),u=n(56449),l=n(83693),f=n(3656),d=n(1882),p=n(23805),h=n(11331),m=n(37167),v=n(14974),y=n(69884);e.exports=function(e,t,n,g,b,w,x){var A=v(e,n),O=v(t,n),E=x.get(O);if(E)r(e,n,E);else{var S=w?w(A,O,n+"",e,t,x):void 0,k=void 0===S;if(k){var j=u(O),T=!j&&f(O),P=!j&&!T&&m(O);S=O,j||T||P?u(A)?S=A:l(A)?S=a(A):T?(k=!1,S=o(O,!0)):P?(k=!1,S=i(O,!0)):S=[]:h(O)||s(O)?(S=A,s(A)?S=y(A):p(A)&&!d(A)||(S=c(O))):k=!1}k&&(x.set(O,S),b(S,O,g,w,x),x.delete(O)),r(e,n,S)}}},76001:(e,t,n)=>{var r=n(97420),o=n(80631);e.exports=function(e,t){return r(e,t,(function(t,n){return o(e,n)}))}},97420:(e,t,n)=>{var r=n(47422),o=n(73170),i=n(31769);e.exports=function(e,t,n){for(var a=-1,c=t.length,s={};++a<c;){var u=t[a],l=r(e,u);n(l,u)&&o(s,i(u,e),l)}return s}},47237:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},17255:(e,t,n)=>{var r=n(47422);e.exports=function(e){return function(t){return r(t,e)}}},86151:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,c=n(t((r-e)/(o||1)),0),s=Array(c);c--;)s[i?c:++a]=e,e+=o;return s}},85558:e=>{e.exports=function(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}},69302:(e,t,n)=>{var r=n(83488),o=n(56757),i=n(32865);e.exports=function(e,t){return i(o(e,t,r),e+"")}},73170:(e,t,n)=>{var r=n(16547),o=n(31769),i=n(30361),a=n(23805),c=n(77797);e.exports=function(e,t,n,s){if(!a(e))return e;for(var u=-1,l=(t=o(t,e)).length,f=l-1,d=e;null!=d&&++u<l;){var p=c(t[u]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(u!=f){var m=d[p];void 0===(h=s?s(m,p,d):void 0)&&(h=a(m)?m:i(t[u+1])?[]:{})}r(d,p,h),d=d[p]}return e}},25160:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}},78096:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},54128:(e,t,n)=>{var r=n(31800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,""):e}},27301:e=>{e.exports=function(e){return function(t){return e(t)}}},55765:(e,t,n)=>{var r=n(38859),o=n(15325),i=n(29905),a=n(19219),c=n(44517),s=n(84247);e.exports=function(e,t,n){var u=-1,l=o,f=e.length,d=!0,p=[],h=p;if(n)d=!1,l=i;else if(f>=200){var m=t?null:c(e);if(m)return s(m);d=!1,l=a,h=new r}else h=t?[]:p;e:for(;++u<f;){var v=e[u],y=t?t(v):v;if(v=n||0!==v?v:0,d&&y==y){for(var g=h.length;g--;)if(h[g]===y)continue e;t&&h.push(y),p.push(v)}else l(h,y,n)||(h!==p&&h.push(y),p.push(v))}return p}},19931:(e,t,n)=>{var r=n(31769),o=n(68090),i=n(68969),a=n(77797);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},19219:e=>{e.exports=function(e,t){return e.has(t)}},31769:(e,t,n)=>{var r=n(56449),o=n(28586),i=n(61802),a=n(13222);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},49653:(e,t,n)=>{var r=n(37828);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},93290:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}},76169:(e,t,n)=>{var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},73201:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},93736:(e,t,n)=>{var r=n(51873),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},71961:(e,t,n)=>{var r=n(49653);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},23007:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},21791:(e,t,n)=>{var r=n(16547),o=n(43360);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,s=t.length;++c<s;){var u=t[c],l=i?i(n[u],e[u],u,n,e):void 0;void 0===l&&(l=e[u]),a?o(n,u,l):r(n,u,l)}return n}},92271:(e,t,n)=>{var r=n(21791),o=n(4664);e.exports=function(e,t){return r(e,o(e),t)}},48948:(e,t,n)=>{var r=n(21791),o=n(86375);e.exports=function(e,t){return r(e,o(e),t)}},55481:(e,t,n)=>{var r=n(9325)["__core-js_shared__"];e.exports=r},42e3:(e,t,n)=>{var r=n(63945),o=n(62429),i=n(15389),a=n(56449);e.exports=function(e,t){return function(n,c){var s=a(n)?r:o,u=t?t():{};return s(n,e,i(c,2),u)}}},20999:(e,t,n)=>{var r=n(69302),o=n(36800);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t}))}},38329:(e,t,n)=>{var r=n(64894);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,c=Object(n);(t?a--:++a<i)&&!1!==o(c[a],a,c););return n}}},83221:e=>{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var s=a[e?c:++o];if(!1===n(i[s],s,i))break}return t}}},85508:(e,t,n)=>{var r=n(86151),o=n(36800),i=n(17400);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t<n?1:-1:i(a),r(t,n,a,e)}}},73893:(e,t,n)=>{var r=n(9325),o=n(61489),i=n(99374),a=n(13222),c=r.isFinite,s=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=i(e),(n=null==n?0:s(o(n),292))&&c(e)){var r=(a(e)+"e").split("e"),u=t(r[0]+"e"+(+r[1]+n));return+((r=(a(u)+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}},44517:(e,t,n)=>{var r=n(76545),o=n(63950),i=n(84247),a=r&&1/i(new r([,-0]))[1]==1/0?function(e){return new r(e)}:o;e.exports=a},53138:(e,t,n)=>{var r=n(11331);e.exports=function(e){return r(e)?void 0:e}},93243:(e,t,n)=>{var r=n(56110),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},25911:(e,t,n)=>{var r=n(38859),o=n(14248),i=n(19219);e.exports=function(e,t,n,a,c,s){var u=1&n,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var d=s.get(e),p=s.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,v=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++h<l;){var y=e[h],g=t[h];if(a)var b=u?a(g,y,h,t,e,s):a(y,g,h,e,t,s);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!o(t,(function(e,t){if(!i(v,t)&&(y===e||c(y,e,n,a,s)))return v.push(t)}))){m=!1;break}}else if(y!==g&&!c(y,g,n,a,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},21986:(e,t,n)=>{var r=n(51873),o=n(37828),i=n(75288),a=n(25911),c=n(20317),s=n(84247),u=r?r.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,f,d){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=c;case"[object Set]":var h=1&r;if(p||(p=s),e.size!=t.size&&!h)return!1;var m=d.get(e);if(m)return m==t;r|=2,d.set(e,t);var v=a(p(e),p(t),r,u,f,d);return d.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},50689:(e,t,n)=>{var r=n(50002),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,c){var s=1&n,u=r(e),l=u.length;if(l!=r(t).length&&!s)return!1;for(var f=l;f--;){var d=u[f];if(!(s?d in t:o.call(t,d)))return!1}var p=c.get(e),h=c.get(t);if(p&&h)return p==t&&h==e;var m=!0;c.set(e,t),c.set(t,e);for(var v=s;++f<l;){var y=e[d=u[f]],g=t[d];if(i)var b=s?i(g,y,d,t,e,c):i(y,g,d,e,t,c);if(!(void 0===b?y===g||a(y,g,n,i,c):b)){m=!1;break}v||(v="constructor"==d)}if(m&&!v){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return c.delete(e),c.delete(t),m}},38816:(e,t,n)=>{var r=n(35970),o=n(56757),i=n(32865);e.exports=function(e){return i(o(e,void 0,r),e+"")}},34840:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},50002:(e,t,n)=>{var r=n(82199),o=n(4664),i=n(95950);e.exports=function(e){return r(e,i,o)}},83349:(e,t,n)=>{var r=n(82199),o=n(86375),i=n(37241);e.exports=function(e){return r(e,i,o)}},12651:(e,t,n)=>{var r=n(74218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},10776:(e,t,n)=>{var r=n(30756),o=n(95950);e.exports=function(e){for(var t=o(e),n=t.length;n--;){var i=t[n],a=e[i];t[n]=[i,a,r(a)]}return t}},56110:(e,t,n)=>{var r=n(45083),o=n(10392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},28879:(e,t,n)=>{var r=n(74335)(Object.getPrototypeOf,Object);e.exports=r},659:(e,t,n)=>{var r=n(51873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[c]=n:delete e[c]),o}},4664:(e,t,n)=>{var r=n(79770),o=n(63345),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=c},86375:(e,t,n)=>{var r=n(14528),o=n(28879),i=n(4664),a=n(63345),c=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=c},5861:(e,t,n)=>{var r=n(55580),o=n(68223),i=n(32804),a=n(76545),c=n(28303),s=n(72552),u=n(47473),l="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",m=u(r),v=u(o),y=u(i),g=u(a),b=u(c),w=s;(r&&w(new r(new ArrayBuffer(1)))!=h||o&&w(new o)!=l||i&&w(i.resolve())!=f||a&&w(new a)!=d||c&&w(new c)!=p)&&(w=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case m:return h;case v:return l;case y:return f;case g:return d;case b:return p}return t}),e.exports=w},10392:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},49326:(e,t,n)=>{var r=n(31769),o=n(72428),i=n(56449),a=n(30361),c=n(30294),s=n(77797);e.exports=function(e,t,n){for(var u=-1,l=(t=r(t,e)).length,f=!1;++u<l;){var d=s(t[u]);if(!(f=null!=e&&n(e,d)))break;e=e[d]}return f||++u!=l?f:!!(l=null==e?0:e.length)&&c(l)&&a(d,l)&&(i(e)||o(e))}},22032:(e,t,n)=>{var r=n(81042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},63862:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},66721:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},12749:(e,t,n)=>{var r=n(81042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},35749:(e,t,n)=>{var r=n(81042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},76189:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},77199:(e,t,n)=>{var r=n(49653),o=n(76169),i=n(73201),a=n(93736),c=n(71961);e.exports=function(e,t,n){var s=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new s(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,n);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},35529:(e,t,n)=>{var r=n(39344),o=n(28879),i=n(55527);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},45891:(e,t,n)=>{var r=n(51873),o=n(72428),i=n(56449),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},30361:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},36800:(e,t,n)=>{var r=n(75288),o=n(64894),i=n(30361),a=n(23805);e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},28586:(e,t,n)=>{var r=n(56449),o=n(44394),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},74218:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},87296:(e,t,n)=>{var r,o=n(55481),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},55527:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},30756:(e,t,n)=>{var r=n(23805);e.exports=function(e){return e==e&&!r(e)}},63702:e=>{e.exports=function(){this.__data__=[],this.size=0}},70080:(e,t,n)=>{var r=n(26025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},24739:(e,t,n)=>{var r=n(26025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},48655:(e,t,n)=>{var r=n(26025);e.exports=function(e){return r(this.__data__,e)>-1}},31175:(e,t,n)=>{var r=n(26025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},63040:(e,t,n)=>{var r=n(21549),o=n(80079),i=n(68223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},17670:(e,t,n)=>{var r=n(12651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},90289:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).get(e)}},4509:(e,t,n)=>{var r=n(12651);e.exports=function(e){return r(this,e).has(e)}},72949:(e,t,n)=>{var r=n(12651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},20317:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},89578:e=>{e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},62224:(e,t,n)=>{var r=n(50104);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},81042:(e,t,n)=>{var r=n(56110)(Object,"create");e.exports=r},3650:(e,t,n)=>{var r=n(74335)(Object.keys,Object);e.exports=r},90181:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},86009:(e,t,n)=>{e=n.nmd(e);var r=n(34840),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c},59350:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},74335:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},56757:(e,t,n)=>{var r=n(91033),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),s=Array(c);++a<c;)s[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(s),r(e,this,u)}}},68969:(e,t,n)=>{var r=n(47422),o=n(25160);e.exports=function(e,t){return t.length<2?e:r(e,o(t,0,-1))}},9325:(e,t,n)=>{var r=n(34840),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},14974:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},31380:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},51459:e=>{e.exports=function(e){return this.__data__.has(e)}},84247:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},32865:e=>{e.exports=function(e){return e}},51420:(e,t,n)=>{var r=n(80079);e.exports=function(){this.__data__=new r,this.size=0}},90938:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},63605:e=>{e.exports=function(e){return this.__data__.get(e)}},29817:e=>{e.exports=function(e){return this.__data__.has(e)}},80945:(e,t,n)=>{var r=n(80079),o=n(68223),i=n(53661);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},76959:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}},61802:(e,t,n)=>{var r=n(62224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=a},77797:e=>{e.exports=function(e){return e}},47473:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},31800:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},66245:(e,t,n)=>{var r=n(83915),o=n(83120),i=n(69302),a=n(83693),c=i((function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]}));e.exports=c},75288:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},35970:(e,t,n)=>{var r=n(83120);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},58156:(e,t,n)=>{var r=n(47422);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},94394:(e,t,n)=>{var r=n(43360),o=n(42e3),i=Object.prototype.hasOwnProperty,a=o((function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=a},80631:(e,t,n)=>{var r=n(28077),o=n(49326);e.exports=function(e,t){return null!=e&&o(e,t,r)}},83488:e=>{e.exports=function(e){return e}},72428:(e,t,n)=>{var r=n(27534),o=n(40346),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!c.call(e,"callee")};e.exports=s},56449:e=>{var t=Array.isArray;e.exports=t},64894:(e,t,n)=>{var r=n(1882),o=n(30294);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},83693:(e,t,n)=>{var r=n(64894),o=n(40346);e.exports=function(e){return o(e)&&r(e)}},3656:(e,t,n)=>{e=n.nmd(e);var r=n(9325),o=n(89935),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,s=(c?c.isBuffer:void 0)||o;e.exports=s},62193:(e,t,n)=>{var r=n(88984),o=n(5861),i=n(72428),a=n(56449),c=n(64894),s=n(3656),u=n(55527),l=n(37167),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(c(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||s(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},2404:(e,t,n)=>{var r=n(60270);e.exports=function(e,t){return r(e,t)}},29132:(e,t,n)=>{var r=n(60270);e.exports=function(e,t,n){var o=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===o?r(e,t,void 0,n):!!o}},1882:(e,t,n)=>{var r=n(72552),o=n(23805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},30294:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},87730:(e,t,n)=>{var r=n(29172),o=n(27301),i=n(86009),a=i&&i.isMap,c=a?o(a):r;e.exports=c},69843:e=>{e.exports=function(e){return null==e}},23805:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},40346:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},11331:(e,t,n)=>{var r=n(72552),o=n(28879),i=n(40346),a=Function.prototype,c=Object.prototype,s=a.toString,u=c.hasOwnProperty,l=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==l}},38440:(e,t,n)=>{var r=n(16038),o=n(27301),i=n(86009),a=i&&i.isSet,c=a?o(a):r;e.exports=c},85015:(e,t,n)=>{var r=n(72552),o=n(56449),i=n(40346);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},44394:(e,t,n)=>{var r=n(72552),o=n(40346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},37167:(e,t,n)=>{var r=n(4901),o=n(27301),i=n(86009),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},95950:(e,t,n)=>{var r=n(70695),o=n(88984),i=n(64894);e.exports=function(e){return i(e)?r(e):o(e)}},37241:(e,t,n)=>{var r=n(70695),o=n(72903),i=n(64894);e.exports=function(e){return i(e)?r(e,!0):o(e)}},68090:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},73916:(e,t,n)=>{var r=n(43360),o=n(30641),i=n(15389);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},50104:(e,t,n)=>{var r=n(53661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},55364:(e,t,n)=>{var r=n(85250),o=n(20999)((function(e,t,n){r(e,t,n)}));e.exports=o},63950:e=>{e.exports=function(){}},90179:(e,t,n)=>{var r=n(34932),o=n(9999),i=n(19931),a=n(31769),c=n(21791),s=n(53138),u=n(38816),l=n(83349),f=u((function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,(function(t){return t=a(t,e),u||(u=t.length>1),t})),c(e,l(e),n),u&&(n=o(n,7,s));for(var f=t.length;f--;)i(n,t[f]);return n}));e.exports=f},44383:(e,t,n)=>{var r=n(76001),o=n(38816)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},71086:(e,t,n)=>{var r=n(34932),o=n(15389),i=n(97420),a=n(83349);e.exports=function(e,t){if(null==e)return{};var n=r(a(e),(function(e){return[e]}));return t=o(t),i(e,n,(function(e,n){return t(e,n[0])}))}},50583:(e,t,n)=>{var r=n(47237),o=n(17255),i=n(28586),a=n(77797);e.exports=function(e){return i(e)?r(a(e)):o(e)}},23181:(e,t,n)=>{var r=n(85508)();e.exports=r},40860:(e,t,n)=>{var r=n(40882),o=n(80909),i=n(15389),a=n(85558),c=n(56449);e.exports=function(e,t,n){var s=c(e)?r:a,u=arguments.length<3;return s(e,i(t,4),n,u,o)}},36944:(e,t,n)=>{var r=n(73893)("round");e.exports=r},63560:(e,t,n)=>{var r=n(73170);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},63345:e=>{e.exports=function(){return[]}},89935:e=>{e.exports=function(){return!1}},17400:e=>{e.exports=function(e){return e}},61489:e=>{e.exports=function(e){return e}},99374:(e,t,n)=>{var r=n(54128),o=n(23805),i=n(44394),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},42072:(e,t,n)=>{var r=n(34932),o=n(23007),i=n(56449),a=n(44394),c=n(61802),s=n(77797),u=n(13222);e.exports=function(e){return i(e)?r(e,s):a(e)?[e]:o(c(u(e)))}},69884:(e,t,n)=>{var r=n(21791),o=n(37241);e.exports=function(e){return r(e,o(e))}},13222:e=>{e.exports=function(e){return e}},69752:(e,t,n)=>{var r=n(83729),o=n(39344),i=n(30641),a=n(15389),c=n(28879),s=n(56449),u=n(3656),l=n(1882),f=n(23805),d=n(37167);e.exports=function(e,t,n){var p=s(e),h=p||u(e)||d(e);if(t=a(t,4),null==n){var m=e&&e.constructor;n=h?p?new m:[]:f(e)&&l(m)?o(c(e)):{}}return(h?r:i)(e,(function(e,r,o){return t(n,e,r,o)})),n}},80299:(e,t,n)=>{var r=n(83120),o=n(69302),i=n(55765),a=n(83693),c=o((function(e){return i(r(e,1,a,!0))}));e.exports=c},63375:(e,t,n)=>{var r=n(55765);e.exports=function(e){return e&&e.length?r(e):[]}},31444:(e,t,n)=>{var r=n(55765);e.exports=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?r(e,void 0,t):[]}},73357:(e,t,n)=>{var r=n(19931);e.exports=function(e,t){return null==e||r(e,t)}},31357:(e,t,n)=>{"use strict";n.d(t,{No:()=>X,W0:()=>K,a:()=>Y,uq:()=>J});var r=n(41528),o=n(1481),i=n(96331),a=n(52107);var c=function(e){function t(t){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this,(0,o.A)(n)}return(0,i.A)(t,e),t}((0,a.A)(Error));function s(e,t){return e.substr(-t.length)===t}var u=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function l(e){return"string"!=typeof e?e:e.match(u)?parseFloat(e):e}var f=function(e){return function(t,n){void 0===n&&(n="16px");var r=t,o=n;if("string"==typeof t){if(!s(t,"px"))throw new c(69,e,t);r=l(t)}if("string"==typeof n){if(!s(n,"px"))throw new c(70,e,n);o=l(n)}if("string"==typeof r)throw new c(71,t,e);if("string"==typeof o)throw new c(72,n,e);return""+r/o+e}};f("em");f("rem");function d(e){return Math.round(255*e)}function p(e,t,n){return d(e)+","+d(t)+","+d(n)}function h(e,t,n,r){if(void 0===r&&(r=p),0===t)return r(n,n,n);var o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*t,a=i*(1-Math.abs(o%2-1)),c=0,s=0,u=0;o>=0&&o<1?(c=i,s=a):o>=1&&o<2?(c=a,s=i):o>=2&&o<3?(s=i,u=a):o>=3&&o<4?(s=a,u=i):o>=4&&o<5?(c=a,u=i):o>=5&&o<6&&(c=i,u=a);var l=n-i/2;return r(c+l,s+l,u+l)}var m={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var v=/^#[a-fA-F0-9]{6}$/,y=/^#[a-fA-F0-9]{8}$/,g=/^#[a-fA-F0-9]{3}$/,b=/^#[a-fA-F0-9]{4}$/,w=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,x=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,A=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,O=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function E(e){if("string"!=typeof e)throw new c(3);var t=function(e){if("string"!=typeof e)return e;var t=e.toLowerCase();return m[t]?"#"+m[t]:e}(e);if(t.match(v))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(y)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(g))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(b)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var o=w.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=x.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var a=A.exec(t);if(a){var s="rgb("+h(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",u=w.exec(s);if(!u)throw new c(4,t,s);return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10)}}var l=O.exec(t.substring(0,50));if(l){var f="rgb("+h(parseInt(""+l[1],10),parseInt(""+l[2],10)/100,parseInt(""+l[3],10)/100)+")",d=w.exec(f);if(!d)throw new c(4,t,f);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])}}throw new c(5)}function S(e){return function(e){var t,n=e.red/255,r=e.green/255,o=e.blue/255,i=Math.max(n,r,o),a=Math.min(n,r,o),c=(i+a)/2;if(i===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:c,alpha:e.alpha}:{hue:0,saturation:0,lightness:c};var s=i-a,u=c>.5?s/(2-i-a):s/(i+a);switch(i){case n:t=(r-o)/s+(r<o?6:0);break;case r:t=(o-n)/s+2;break;default:t=(n-r)/s+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:u,lightness:c,alpha:e.alpha}:{hue:t,saturation:u,lightness:c}}(E(e))}var k=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function j(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function T(e){return j(Math.round(255*e))}function P(e,t,n){return k("#"+T(e)+T(t)+T(n))}function C(e,t,n){return h(e,t,n,P)}function _(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return C(e,t,n);if("object"==typeof e&&void 0===t&&void 0===n)return C(e.hue,e.saturation,e.lightness);throw new c(1)}function D(e,t,n,r){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?C(e,t,n):"rgba("+h(e,t,n)+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?C(e.hue,e.saturation,e.lightness):"rgba("+h(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new c(2)}function R(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return k("#"+j(e)+j(t)+j(n));if("object"==typeof e&&void 0===t&&void 0===n)return k("#"+j(e.red)+j(e.green)+j(e.blue));throw new c(6)}function N(e,t,n,r){if("string"==typeof e&&"number"==typeof t){var o=E(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}if("number"==typeof e&&"number"==typeof t&&"number"==typeof n&&"number"==typeof r)return r>=1?R(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"==typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?R(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new c(7)}var I=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&("number"!=typeof e.alpha||void 0===e.alpha)},M=function(e){return"number"==typeof e.red&&"number"==typeof e.green&&"number"==typeof e.blue&&"number"==typeof e.alpha},L=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&("number"!=typeof e.alpha||void 0===e.alpha)},F=function(e){return"number"==typeof e.hue&&"number"==typeof e.saturation&&"number"==typeof e.lightness&&"number"==typeof e.alpha};function H(e){if("object"!=typeof e)throw new c(8);if(M(e))return N(e);if(I(e))return R(e);if(F(e))return D(e);if(L(e))return _(e);throw new c(8)}function B(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):B(e,t,r)}}function U(e){return B(e,e.length,[])}U((function(e,t){if("transparent"===t)return t;var n=S(t);return H((0,r.A)({},n,{hue:n.hue+parseFloat(e)}))}));function W(e,t,n){return Math.max(e,Math.min(t,n))}U((function(e,t){if("transparent"===t)return t;var n=S(t);return H((0,r.A)({},n,{lightness:W(0,1,n.lightness-parseFloat(e))}))}));U((function(e,t){if("transparent"===t)return t;var n=S(t);return H((0,r.A)({},n,{saturation:W(0,1,n.saturation-parseFloat(e))}))}));function z(e){if("transparent"===e)return 0;var t=E(e),n=Object.keys(t).map((function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),r=n[0],o=n[1],i=n[2];return parseFloat((.2126*r+.7152*o+.0722*i).toFixed(3))}function G(e,t){var n=z(e),r=z(t);return parseFloat((n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)).toFixed(2))}var Y=U((function(e,t){if("transparent"===t)return t;var n=S(t);return H((0,r.A)({},n,{lightness:W(0,1,n.lightness+parseFloat(e))}))}));var q=U((function(e,t,n){if("transparent"===t)return n;if("transparent"===n)return t;if(0===e)return n;var o=E(t),i=(0,r.A)({},o,{alpha:"number"==typeof o.alpha?o.alpha:1}),a=E(n),c=(0,r.A)({},a,{alpha:"number"==typeof a.alpha?a.alpha:1}),s=i.alpha-c.alpha,u=2*parseFloat(e)-1,l=((u*s==-1?u:u+s)/(1+u*s)+1)/2,f=1-l;return N({red:Math.floor(i.red*l+c.red*f),green:Math.floor(i.green*l+c.green*f),blue:Math.floor(i.blue*l+c.blue*f),alpha:i.alpha*parseFloat(e)+c.alpha*(1-parseFloat(e))})}));U((function(e,t){if("transparent"===t)return t;var n=E(t),o="number"==typeof n.alpha?n.alpha:1;return N((0,r.A)({},n,{alpha:W(0,1,(100*o+100*parseFloat(e))/100)}))}));var V="#000",$="#fff";function K(e,t,n,r){void 0===t&&(t=V),void 0===n&&(n=$),void 0===r&&(r=!0);var o=z(e)>.179,i=o?t:n;return!r||G(e,i)>=4.5?i:o?V:$}U((function(e,t){if("transparent"===t)return t;var n=S(t);return H((0,r.A)({},n,{saturation:W(0,1,n.saturation+parseFloat(e))}))}));U((function(e,t){return"transparent"===t?t:H((0,r.A)({},S(t),{hue:parseFloat(e)}))}));U((function(e,t){return"transparent"===t?t:H((0,r.A)({},S(t),{lightness:parseFloat(e)}))}));U((function(e,t){return"transparent"===t?t:H((0,r.A)({},S(t),{saturation:parseFloat(e)}))}));U((function(e,t){return"transparent"===t?t:q(parseFloat(e),"rgb(0, 0, 0)",t)}));var J=U((function(e,t){return"transparent"===t?t:q(parseFloat(e),"rgb(255, 255, 255)",t)}));var X=U((function(e,t){if("transparent"===t)return t;var n=E(t),o="number"==typeof n.alpha?n.alpha:1;return N((0,r.A)({},n,{alpha:W(0,1,+(100*o-100*parseFloat(e)).toFixed(2)/100)}))}))},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86663:(e,t,n)=>{"use strict";const r=n(24280),o=n(30454),i=n(528),a=n(73055),c=Symbol("encodeFragmentIdentifier");function s(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function u(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function l(e,t){return t.decode?o(e):e}function f(e){return Array.isArray(e)?e.sort():"object"==typeof e?f(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function d(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=d(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){s((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&l(n,e).includes(e.arrayFormatSeparator);n=i?l(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>l(t,e))):null===n?n:l(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?l(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>l(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:l(a,t),n(l(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=f(n):e[t]=n,e}),Object.create(null))}t.extract=p,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";s((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[",o,"]"].join("")]:[...n,[u(t,e),"[",u(o,e),"]=",u(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),"[]"].join("")]:[...n,[u(t,e),"[]=",u(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[u(t,e),":list="].join("")]:[...n,[u(t,e),":list=",u(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[u(n,e),t,u(o,e)].join("")]:[[r,u(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,u(t,e)]:[...n,[u(t,e),"=",u(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?u(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?u(n,t)+"[]":o.reduce(r(n),[]).join("&"):u(n,t)+"="+u(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(p(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:l(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[c]:!0},n);const r=d(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let s=t.stringify(a,n);s&&(s=`?${s}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${n[c]?u(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${s}${l}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[c]:!1},r);const{url:o,query:i,fragmentIdentifier:s}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:s},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},5338:(e,t,n)=>{"use strict";var r=n(81845);t.H=r.createRoot,r.hydrateRoot},91584:(e,t,n)=>{"use strict";var r=n(56868);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(22847)),i=n(73729),a=n(65013);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){var t=e.intl;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({key:t.locale},t)}t.default=(0,i.connect)((function(e,t){var n=t.intlSelector;return(void 0===n?s:n)(e)}))(a.IntlProvider)},98739:(e,t,n)=>{"use strict";var r=n(56868);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(73729),i=r(n(4883)),a=(r(n(5556)),r(n(91584))),c=function(e){var t=e.store,n=e.children;return i.default.createElement(o.Provider,{store:t},i.default.createElement(a.default,null,n))};c.propTypes={};t.default=c},60991:(e,t,n)=>{"use strict";var r=n(56868);Object.defineProperty(t,"Dk",{enumerable:!0,get:function(){return i.default}}),t.oi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0;if(t.type!==u)return e;return s(s({},e),t.payload)},t.D6=void 0;var o=r(n(22847)),i=r(n(91584)),a=r(n(98739));function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="@@intl/UPDATE",l=(t.D6=function(e){var t=e.locale,n=e.formats,r=e.messages;return{type:u,payload:{locale:t,formats:n,messages:r}}},{locale:"en",messages:{}})},65013:(e,t,n)=>{"use strict";n.r(t),n.d(t,{FormattedDate:()=>ce,FormattedDateParts:()=>de,FormattedDateTimeRange:()=>oe,FormattedDisplayName:()=>fe,FormattedList:()=>le,FormattedListParts:()=>u,FormattedMessage:()=>ne.A,FormattedNumber:()=>ue,FormattedNumberParts:()=>s,FormattedPlural:()=>te,FormattedRelativeTime:()=>Z.A,FormattedTime:()=>se,FormattedTimeParts:()=>pe,IntlContext:()=>d.ob,IntlProvider:()=>Q,InvalidConfigError:()=>g.uo,MessageFormatError:()=>g.Ho,MissingDataError:()=>g.hr,MissingTranslationError:()=>g.sb,RawIntlProvider:()=>d.Kq,ReactIntlError:()=>g.Ar,ReactIntlErrorCode:()=>g.lo,UnsupportedFormatterError:()=>g.OC,createIntl:()=>J,createIntlCache:()=>p.MT,defineMessage:()=>ae,defineMessages:()=>ie,injectIntl:()=>d.Ay,useIntl:()=>c.A});var r,o,i=n(40622),a=n(4883),c=n(6442);!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(r||(r={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(o||(o={}));var s=function(e){var t=(0,c.A)(),n=e.value,r=e.children,o=(0,i.Tt)(e,["value","children"]);return r(t.formatNumberToParts(n,o))};s.displayName="FormattedNumberParts";var u=function(e){var t=(0,c.A)(),n=e.value,r=e.children,o=(0,i.Tt)(e,["value","children"]);return r(t.formatListToParts(n,o))};function l(e){var t=function(t){var n=(0,c.A)(),r=t.value,o=t.children,a=(0,i.Tt)(t,["value","children"]),s="string"==typeof r?new Date(r||0):r;return o("formatDate"===e?n.formatDateToParts(s,a):n.formatTimeToParts(s,a))};return t.displayName=o[e],t}function f(e){var t=function(t){var n=(0,c.A)(),r=t.value,o=t.children,s=(0,i.Tt)(t,["value","children"]),u=n[e](r,s);if("function"==typeof o)return o(u);var l=n.textComponent||a.Fragment;return a.createElement(l,null,u)};return t.displayName=r[e],t}s.displayName="FormattedNumberParts";var d=n(38798),p=n(87683),h=n(24184),m=n(81293),v=n(21881),y=n(62587),g=n(89160),b=n(47175);function w(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=(0,m.Cl)({timeZone:t},e[r]),n}),{})}function x(e,t){return Object.keys((0,m.Cl)((0,m.Cl)({},e),t)).reduce((function(n,r){return n[r]=(0,m.Cl)((0,m.Cl)({},e[r]||{}),t[r]||{}),n}),{})}function A(e,t){if(!t)return e;var n=y.S.formats;return(0,m.Cl)((0,m.Cl)((0,m.Cl)({},n),e),{date:x(w(n.date,t),w(e.date||{},t)),time:x(w(n.time,t),w(e.time||{},t))})}var O=function(e,t,n,r,o){var i=e.locale,a=e.formats,c=e.messages,s=e.defaultLocale,u=e.defaultFormats,l=e.fallbackOnEmptyString,f=e.onError,d=e.timeZone,p=e.defaultRichTextElements;void 0===n&&(n={id:""});var h=n.id,y=n.defaultMessage;(0,v.V1)(!!h,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var w=String(h),x=c&&Object.prototype.hasOwnProperty.call(c,w)&&c[w];if(Array.isArray(x)&&1===x.length&&x[0].type===b.ZE.literal)return x[0].value;if(!r&&x&&"string"==typeof x&&!p)return x.replace(/'\{(.*?)\}'/gi,"{$1}");if(r=(0,m.Cl)((0,m.Cl)({},p),r||{}),a=A(a,d),u=A(u,d),!x){if(!1===l&&""===x)return x;if((!y||i&&i.toLowerCase()!==s.toLowerCase())&&f(new g.sb(n,i)),y)try{return t.getMessageFormat(y,s,u,o).format(r)}catch(e){return f(new g.Ho('Error formatting default message for: "'.concat(w,'", rendering default message verbatim'),i,n,e)),"string"==typeof y?y:w}return w}try{return t.getMessageFormat(x,i,a,(0,m.Cl)({formatters:t},o||{})).format(r)}catch(e){f(new g.Ho('Error formatting message: "'.concat(w,'", using ').concat(y?"default message":"id"," as fallback."),i,n,e))}if(y)try{return t.getMessageFormat(y,s,u,o).format(r)}catch(e){f(new g.Ho('Error formatting the default message for: "'.concat(w,'", rendering message verbatim'),i,n,e))}return"string"==typeof x?x:"string"==typeof y?y:w},E=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function S(e,t,n){var r=e.locale,o=e.formats,i=e.onError;void 0===n&&(n={});var a=n.format,c=a&&(0,p.F3)(o,"number",a,i)||{};return t(r,(0,p.J9)(n,E,c))}function k(e,t,n,r){void 0===r&&(r={});try{return S(e,t,r).format(n)}catch(t){e.onError(new g.pg("Error formatting number.",e.locale,t))}return String(n)}function j(e,t,n,r){void 0===r&&(r={});try{return S(e,t,r).formatToParts(n)}catch(t){e.onError(new g.pg("Error formatting number.",e.locale,t))}return[]}var T=n(11732),P=["numeric","style"];function C(e,t,n,r,o){void 0===o&&(o={}),r||(r="second"),Intl.RelativeTimeFormat||e.onError(new T.IF('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',T.O4.MISSING_INTL_API));try{return function(e,t,n){var r=e.locale,o=e.formats,i=e.onError;void 0===n&&(n={});var a=n.format,c=!!a&&(0,p.F3)(o,"relative",a,i)||{};return t(r,(0,p.J9)(n,P,c))}(e,t,o).format(n,r)}catch(t){e.onError(new g.pg("Error formatting relative time.",e.locale,t))}return String(n)}var _=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function D(e,t,n,r){var o=e.locale,i=e.formats,a=e.onError,c=e.timeZone;void 0===r&&(r={});var s=r.format,u=(0,m.Cl)((0,m.Cl)({},c&&{timeZone:c}),s&&(0,p.F3)(i,t,s,a)),l=(0,p.J9)(r,_,u);return"time"!==t||l.hour||l.minute||l.second||l.timeStyle||l.dateStyle||(l=(0,m.Cl)((0,m.Cl)({},l),{hour:"numeric",minute:"numeric"})),n(o,l)}function R(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=void 0===i?{}:i,c="string"==typeof o?new Date(o||0):o;try{return D(e,"date",t,a).format(c)}catch(t){e.onError(new g.pg("Error formatting date.",e.locale,t))}return String(c)}function N(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=void 0===i?{}:i,c="string"==typeof o?new Date(o||0):o;try{return D(e,"time",t,a).format(c)}catch(t){e.onError(new g.pg("Error formatting time.",e.locale,t))}return String(c)}function I(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=n[2],c=void 0===a?{}:a,s=e.timeZone,u=e.locale,l=e.onError,f=(0,p.J9)(c,_,s?{timeZone:s}:{});try{return t(u,f).formatRange(o,i)}catch(t){l(new g.pg("Error formatting date time range.",e.locale,t))}return String(o)}function M(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=void 0===i?{}:i,c="string"==typeof o?new Date(o||0):o;try{return D(e,"date",t,a).formatToParts(c)}catch(t){e.onError(new g.pg("Error formatting date.",e.locale,t))}return[]}function L(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=n[0],i=n[1],a=void 0===i?{}:i,c="string"==typeof o?new Date(o||0):o;try{return D(e,"time",t,a).formatToParts(c)}catch(t){e.onError(new g.pg("Error formatting time.",e.locale,t))}return[]}var F=["type"];function H(e,t,n,r){var o=e.locale,i=e.onError;void 0===r&&(r={}),Intl.PluralRules||i(new T.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',T.O4.MISSING_INTL_API));var a=(0,p.J9)(r,F);try{return t(o,a).select(n)}catch(e){i(new g.pg("Error formatting plural.",o,e))}return"other"}var B=["type","style"],U=Date.now();function W(e,t,n,r){void 0===r&&(r={});var o=z(e,t,n,r).reduce((function(e,t){var n=t.value;return"string"!=typeof n?e.push(n):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[]);return 1===o.length?o[0]:0===o.length?"":o}function z(e,t,n,r){var o=e.locale,i=e.onError;void 0===r&&(r={}),Intl.ListFormat||i(new T.IF('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',T.O4.MISSING_INTL_API));var a=(0,p.J9)(r,B);try{var c={},s=n.map((function(e,t){if("object"==typeof e){var n=function(e){return"".concat(U,"_").concat(e,"_").concat(U)}(t);return c[n]=e,n}return String(e)}));return t(o,a).formatToParts(s).map((function(e){return"literal"===e.type?e:(0,m.Cl)((0,m.Cl)({},e),{value:c[e.value]||e.value})}))}catch(e){i(new g.pg("Error formatting list.",o,e))}return n}var G=["style","type","fallback","languageDisplay"];function Y(e,t,n,r){var o=e.locale,i=e.onError;Intl.DisplayNames||i(new T.IF('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',T.O4.MISSING_INTL_API));var a=(0,p.J9)(r,G);try{return t(o,a).of(n)}catch(e){i(new g.pg("Error formatting display name.",o,e))}}function q(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}var V=n(31071);function $(e){return e?Object.keys(e).reduce((function(t,n){var r=e[n];return t[n]=(0,V.RK)(r)?(0,h.yU)(r):r,t}),{}):e}var K=function(e,t,n,r){for(var o=[],c=4;c<arguments.length;c++)o[c-4]=arguments[c];var s=$(r),u=O.apply(void 0,(0,i.fX)([e,t,n,s],o,!1));return Array.isArray(u)?a.Children.toArray(u):u},J=function(e,t){var n=e.defaultRichTextElements,r=(0,i.Tt)(e,["defaultRichTextElements"]),o=$(n),a=function(e,t){var n=(0,p.GT)(t),r=(0,m.Cl)((0,m.Cl)({},p.JF),e),o=r.locale,i=r.defaultLocale,a=r.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&a?a(new g.hr('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&a&&a(new g.hr('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(a&&a(new g.uo('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),q(r),(0,m.Cl)((0,m.Cl)({},r),{formatters:n,formatNumber:k.bind(null,r,n.getNumberFormat),formatNumberToParts:j.bind(null,r,n.getNumberFormat),formatRelativeTime:C.bind(null,r,n.getRelativeTimeFormat),formatDate:R.bind(null,r,n.getDateTimeFormat),formatDateToParts:M.bind(null,r,n.getDateTimeFormat),formatTime:N.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:I.bind(null,r,n.getDateTimeFormat),formatTimeToParts:L.bind(null,r,n.getDateTimeFormat),formatPlural:H.bind(null,r,n.getPluralRules),formatMessage:O.bind(null,r,n),$t:O.bind(null,r,n),formatList:W.bind(null,r,n.getListFormat),formatListToParts:z.bind(null,r,n.getListFormat),formatDisplayName:Y.bind(null,r,n.getDisplayNames)})}((0,i.Cl)((0,i.Cl)((0,i.Cl)({},h.JF),r),{defaultRichTextElements:o}),t),c={locale:a.locale,timeZone:a.timeZone,fallbackOnEmptyString:a.fallbackOnEmptyString,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:o};return(0,i.Cl)((0,i.Cl)({},a),{formatMessage:K.bind(null,c,a.formatters),$t:K.bind(null,c,a.formatters)})};function X(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}const Q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache=(0,p.MT)(),t.state={cache:t.cache,intl:J(X(t.props),t.cache),prevConfig:X(t.props)},t}return(0,i.C6)(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.prevConfig,r=t.cache,o=X(e);return(0,h.bN)(n,o)?null:{intl:J(o,r),prevConfig:o}},t.prototype.render=function(){return(0,h.HM)(this.state.intl),a.createElement(d.Kq,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=h.JF,t}(a.PureComponent);var Z=n(74916),ee=function(e){var t=(0,c.A)(),n=t.formatPlural,r=t.textComponent,o=e.value,i=e.other,s=e.children,u=e[n(o,e)]||i;return"function"==typeof s?s(u):r?a.createElement(r,null,u):u};ee.displayName="FormattedPlural";const te=ee;var ne=n(58065),re=function(e){var t=(0,c.A)(),n=e.from,r=e.to,o=e.children,s=(0,i.Tt)(e,["from","to","children"]),u=t.formatDateTimeRange(n,r,s);if("function"==typeof o)return o(u);var l=t.textComponent||a.Fragment;return a.createElement(l,null,u)};re.displayName="FormattedDateTimeRange";const oe=re;function ie(e){return e}function ae(e){return e}var ce=f("formatDate"),se=f("formatTime"),ue=f("formatNumber"),le=f("formatList"),fe=f("formatDisplayName"),de=l("formatDate"),pe=l("formatTime")},38798:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>d,Kq:()=>l,ob:()=>f});var r=n(40622),o=n(4146),i=n.n(o),a=n(4883),c=n(24184);var s="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?a.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=a.createContext(null)),u=s.Consumer,l=s.Provider,f=s;function d(e,t){var n,o=t||{},s=o.intlPropName,l=void 0===s?"intl":s,f=o.forwardRef,d=void 0!==f&&f,p=o.enforceContext,h=void 0===p||p,m=function(t){return a.createElement(u,null,(function(n){var o;h&&(0,c.HM)(n);var i=((o={})[l]=n,o);return a.createElement(e,(0,r.Cl)({},t,i,{ref:d?t.forwardedRef:null}))}))};return m.displayName="injectIntl(".concat((n=e).displayName||n.name||"Component",")"),m.WrappedComponent=e,d?i()(a.forwardRef((function(e,t){return a.createElement(m,(0,r.Cl)({},e,{forwardedRef:t}))})),e):i()(m,e)}},58065:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(40622),o=n(4883),i=n(6442),a=n(24184);function c(e){var t=(0,i.A)(),n=t.formatMessage,r=t.textComponent,a=void 0===r?o.Fragment:r,c=e.id,s=e.description,u=e.defaultMessage,l=e.values,f=e.children,d=e.tagName,p=void 0===d?a:d,h=n({id:c,description:s,defaultMessage:u},l,{ignoreTag:e.ignoreTag});return"function"==typeof f?f(Array.isArray(h)?h:[h]):p?o.createElement(p,null,o.Children.toArray(h)):o.createElement(o.Fragment,null,h)}c.displayName="FormattedMessage";var s=o.memo(c,(function(e,t){var n=e.values,o=(0,r.Tt)(e,["values"]),i=t.values,c=(0,r.Tt)(t,["values"]);return(0,a.bN)(i,n)&&(0,a.bN)(o,c)}));s.displayName="MemoizedFormattedMessage";const u=s},74916:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(40622),o=n(4883),i=n(21881),a=n(6442),c=3600;function s(e){var t=Math.abs(e);return t<60?"second":t<c?"minute":t<86400?"hour":"day"}function u(e){switch(e){case"second":return 1;case"minute":return 60;case"hour":return c;default:return 86400}}var l=["second","minute","hour"];function f(e){return void 0===e&&(e="second"),l.indexOf(e)>-1}var d=function(e){var t=(0,a.A)(),n=t.formatRelativeTime,i=t.textComponent,c=e.children,s=n(e.value||0,e.unit,(0,r.Tt)(e,["children","value","unit"]));return"function"==typeof c?c(s):i?o.createElement(i,null,s):o.createElement(o.Fragment,null,s)},p=function(e){var t=e.value,n=void 0===t?0:t,a=e.unit,l=void 0===a?"second":a,p=e.updateIntervalInSeconds,h=(0,r.Tt)(e,["value","unit","updateIntervalInSeconds"]);(0,i.V1)(!p||!(!p||!f(l)),"Cannot schedule update with unit longer than hour");var m,v=o.useState(),y=v[0],g=v[1],b=o.useState(0),w=b[0],x=b[1],A=o.useState(0),O=A[0],E=A[1];l===y&&n===w||(x(n||0),g(l),E(f(l)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*c}}(n,l):0)),o.useEffect((function(){function e(){clearTimeout(m)}if(e(),!p||!f(l))return e;var t=O-p,n=s(t);if("day"===n)return e;var r=u(n),o=t-t%r,i=o>=O?o-r:o,a=Math.abs(i-O);return O!==i&&(m=setTimeout((function(){return E(i)}),1e3*a)),e}),[O,p,l]);var S=n||0,k=l;if(f(l)&&"number"==typeof O&&p){var j=u(k=s(O));S=Math.round(O/j)}return o.createElement(d,(0,r.Cl)({value:S,unit:k},h))};p.displayName="FormattedRelativeTime";const h=p},6442:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(4883),o=n(24184),i=n(38798);function a(){var e=r.useContext(i.ob);return(0,o.HM)(e),e}},24184:(e,t,n)=>{"use strict";n.d(t,{HM:()=>c,JF:()=>s,bN:()=>l,yU:()=>u});var r=n(40622),o=n(4883),i=n(21881),a=n(87683);function c(e){(0,i.V1)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var s=(0,r.Cl)((0,r.Cl)({},a.JF),{textComponent:o.Fragment});function u(e){return function(t){return e(o.Children.toArray(t))}}function l(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},22799:(e,t)=>{"use strict";
|
|
15
15
|
/** @license React v16.13.1
|
|
@@ -19,7 +19,7 @@ e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,ge
|
|
|
19
19
|
*
|
|
20
20
|
* This source code is licensed under the MIT license found in the
|
|
21
21
|
* LICENSE file in the root directory of this source tree.
|
|
22
|
-
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case i:case c:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case d:case v:case m:case s:return e;default:return t}}case o:return t}}}function A(e){return x(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=c,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return A(e)||x(e)===l},t.isConcurrentMode=A,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===c||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},44363:(e,t,n)=>{"use strict";e.exports=n(22799)},73729:(e,t,n)=>{"use strict";e.exports=n(37372)},84976:(e,t,n)=>{"use strict";n.d(t,{Ge:()=>f,N_:()=>S,ok:()=>
|
|
22
|
+
*/var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case f:case i:case c:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case d:case v:case m:case s:return e;default:return t}}case o:return t}}}function A(e){return x(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=s,t.Element=r,t.ForwardRef=d,t.Fragment=i,t.Lazy=v,t.Memo=m,t.Portal=o,t.Profiler=c,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return A(e)||x(e)===l},t.isConcurrentMode=A,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===c||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},44363:(e,t,n)=>{"use strict";e.exports=n(22799)},73729:(e,t,n)=>{"use strict";e.exports=n(37372)},84976:(e,t,n)=>{"use strict";n.d(t,{Ge:()=>f,N_:()=>S,OA:()=>k,ok:()=>_,pg:()=>w});var r=n(4883),o=n(81845),i=n(47767),a=n(45588);
|
|
23
23
|
/**
|
|
24
24
|
* React Router DOM v6.27.0
|
|
25
25
|
*
|
|
@@ -30,7 +30,7 @@ e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,ge
|
|
|
30
30
|
*
|
|
31
31
|
* @license MIT
|
|
32
32
|
*/
|
|
33
|
-
function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function u(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function f(e,t){return(0,a.aE)({basename:null==t?void 0:t.basename,future:c({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,a.TM)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||d(),routes:e,mapRouteProperties:i.wE,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function d(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=c({},t,{errors:p(t.errors)})),t}function p(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)n[e]=new a.VV(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let o=new t(r.message);o.stack="",n[e]=o}catch(e){}}if(null==n[e]){let t=new Error(r.message);t.stack="",n[e]=t}}else n[e]=r;return n}const h=r.createContext({isTransitioning:!1});const m=r.createContext(new Map);const v=r.startTransition,y=o.flushSync;r.useId;function g(e){y?y(e):e()}class b{constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}}function w(e){let{fallbackElement:t,router:n,future:o}=e,[a,c]=r.useState(n.state),[s,u]=r.useState(),[l,f]=r.useState({isTransitioning:!1}),[d,p]=r.useState(),[y,w]=r.useState(),[A,O]=r.useState(),E=r.useRef(new Map),{v7_startTransition:S}=o||{},k=r.useCallback((e=>{S?function(e){v?v(e):e()}(e):e()}),[S]),j=r.useCallback(((e,t)=>{let{deletedFetchers:r,flushSync:o,viewTransitionOpts:i}=t;r.forEach((e=>E.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&E.current.set(t,e.data)}));let a=null==n.window||null==n.window.document||"function"!=typeof n.window.document.startViewTransition;if(i&&!a){if(o){g((()=>{y&&(d&&d.resolve(),y.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})}));let t=n.window.document.startViewTransition((()=>{g((()=>c(e)))}));return t.finished.finally((()=>{g((()=>{p(void 0),w(void 0),u(void 0),f({isTransitioning:!1})}))})),void g((()=>w(t)))}y?(d&&d.resolve(),y.skipTransition(),O({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(u(e),f({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))}else o?g((()=>c(e))):k((()=>c(e)))}),[n.window,y,d,E,k]);r.useLayoutEffect((()=>n.subscribe(j)),[n,j]),r.useEffect((()=>{l.isTransitioning&&!l.flushSync&&p(new b)}),[l]),r.useEffect((()=>{if(d&&s&&n.window){let e=s,t=d.promise,r=n.window.document.startViewTransition((async()=>{k((()=>c(e))),await t}));r.finished.finally((()=>{p(void 0),w(void 0),u(void 0),f({isTransitioning:!1})})),w(r)}}),[k,s,d,n.window]),r.useEffect((()=>{d&&s&&a.location.key===s.location.key&&d.resolve()}),[d,y,a.location,s]),r.useEffect((()=>{!l.isTransitioning&&A&&(u(A.state),f({isTransitioning:!0,flushSync:!1,currentLocation:A.currentLocation,nextLocation:A.nextLocation}),O(void 0))}),[l.isTransitioning,A]),r.useEffect((()=>{}),[]);let T=r.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),P=n.basename||"/",C=r.useMemo((()=>({router:n,navigator:T,static:!1,basename:P})),[n,T,P]),_=r.useMemo((()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath})),[n.future.v7_relativeSplatPath]);return r.createElement(r.Fragment,null,r.createElement(i.sp.Provider,{value:C},r.createElement(i.Rq.Provider,{value:a},r.createElement(m.Provider,{value:E.current},r.createElement(h.Provider,{value:l},r.createElement(i.Ix,{basename:P,location:a.location,navigationType:a.historyAction,navigator:T,future:_},a.initialized||n.future.v7_partialHydration?r.createElement(x,{routes:n.routes,future:n.future,state:a}):t))))),null)}const x=r.memo(A);function A(e){let{routes:t,future:n,state:r}=e;return(0,i.ph)(t,void 0,r,n)}const O="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,E=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,S=r.forwardRef((function(e,t){let n,{onClick:o,relative:u,reloadDocument:f,replace:d,state:p,target:h,to:m,preventScrollReset:v,viewTransition:y}=e,g=s(e,l),{basename:b}=r.useContext(i.jb),w=!1;if("string"==typeof m&&E.test(m)&&(n=m,O))try{let e=new URL(window.location.href),t=m.startsWith("//")?new URL(e.protocol+m):new URL(m),n=(0,a.pb)(t.pathname,b);t.origin===e.origin&&null!=n?m=n+t.search+t.hash:w=!0}catch(e){}let x=(0,i.$P)(m,{relative:u}),A=function(e,t){let{target:n,replace:o,state:c,preventScrollReset:s,relative:u,viewTransition:l}=void 0===t?{}:t,f=(0,i.Zp)(),d=(0,i.zy)(),p=(0,i.x$)(e,{relative:u});return r.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==o?o:(0,a.AO)(d)===(0,a.AO)(p);f(e,{replace:n,state:c,preventScrollReset:s,relative:u,viewTransition:l})}}),[d,f,p,o,c,n,e,s,u,l])}(m,{replace:d,state:p,target:h,preventScrollReset:v,relative:u,viewTransition:y});return r.createElement("a",c({},g,{href:n||x,onClick:w||f?o:function(e){o&&o(e),e.defaultPrevented||A(e)},ref:t,target:h}))}));
|
|
33
|
+
function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function s(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function u(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const l=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(e){}function f(e,t){return(0,a.aE)({basename:null==t?void 0:t.basename,future:c({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,a.TM)({window:null==t?void 0:t.window}),hydrationData:(null==t?void 0:t.hydrationData)||d(),routes:e,mapRouteProperties:i.wE,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation,window:null==t?void 0:t.window}).initialize()}function d(){var e;let t=null==(e=window)?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=c({},t,{errors:p(t.errors)})),t}function p(e){if(!e)return null;let t=Object.entries(e),n={};for(let[e,r]of t)if(r&&"RouteErrorResponse"===r.__type)n[e]=new a.VV(r.status,r.statusText,r.data,!0===r.internal);else if(r&&"Error"===r.__type){if(r.__subType){let t=window[r.__subType];if("function"==typeof t)try{let o=new t(r.message);o.stack="",n[e]=o}catch(e){}}if(null==n[e]){let t=new Error(r.message);t.stack="",n[e]=t}}else n[e]=r;return n}const h=r.createContext({isTransitioning:!1});const m=r.createContext(new Map);const v=r.startTransition,y=o.flushSync;r.useId;function g(e){y?y(e):e()}class b{constructor(){this.status="pending",this.promise=new Promise(((e,t)=>{this.resolve=t=>{"pending"===this.status&&(this.status="resolved",e(t))},this.reject=e=>{"pending"===this.status&&(this.status="rejected",t(e))}}))}}function w(e){let{fallbackElement:t,router:n,future:o}=e,[a,c]=r.useState(n.state),[s,u]=r.useState(),[l,f]=r.useState({isTransitioning:!1}),[d,p]=r.useState(),[y,w]=r.useState(),[A,O]=r.useState(),E=r.useRef(new Map),{v7_startTransition:S}=o||{},k=r.useCallback((e=>{S?function(e){v?v(e):e()}(e):e()}),[S]),j=r.useCallback(((e,t)=>{let{deletedFetchers:r,flushSync:o,viewTransitionOpts:i}=t;r.forEach((e=>E.current.delete(e))),e.fetchers.forEach(((e,t)=>{void 0!==e.data&&E.current.set(t,e.data)}));let a=null==n.window||null==n.window.document||"function"!=typeof n.window.document.startViewTransition;if(i&&!a){if(o){g((()=>{y&&(d&&d.resolve(),y.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:i.currentLocation,nextLocation:i.nextLocation})}));let t=n.window.document.startViewTransition((()=>{g((()=>c(e)))}));return t.finished.finally((()=>{g((()=>{p(void 0),w(void 0),u(void 0),f({isTransitioning:!1})}))})),void g((()=>w(t)))}y?(d&&d.resolve(),y.skipTransition(),O({state:e,currentLocation:i.currentLocation,nextLocation:i.nextLocation})):(u(e),f({isTransitioning:!0,flushSync:!1,currentLocation:i.currentLocation,nextLocation:i.nextLocation}))}else o?g((()=>c(e))):k((()=>c(e)))}),[n.window,y,d,E,k]);r.useLayoutEffect((()=>n.subscribe(j)),[n,j]),r.useEffect((()=>{l.isTransitioning&&!l.flushSync&&p(new b)}),[l]),r.useEffect((()=>{if(d&&s&&n.window){let e=s,t=d.promise,r=n.window.document.startViewTransition((async()=>{k((()=>c(e))),await t}));r.finished.finally((()=>{p(void 0),w(void 0),u(void 0),f({isTransitioning:!1})})),w(r)}}),[k,s,d,n.window]),r.useEffect((()=>{d&&s&&a.location.key===s.location.key&&d.resolve()}),[d,y,a.location,s]),r.useEffect((()=>{!l.isTransitioning&&A&&(u(A.state),f({isTransitioning:!0,flushSync:!1,currentLocation:A.currentLocation,nextLocation:A.nextLocation}),O(void 0))}),[l.isTransitioning,A]),r.useEffect((()=>{}),[]);let T=r.useMemo((()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,r)=>n.navigate(e,{state:t,preventScrollReset:null==r?void 0:r.preventScrollReset}),replace:(e,t,r)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==r?void 0:r.preventScrollReset})})),[n]),P=n.basename||"/",C=r.useMemo((()=>({router:n,navigator:T,static:!1,basename:P})),[n,T,P]),_=r.useMemo((()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath})),[n.future.v7_relativeSplatPath]);return r.createElement(r.Fragment,null,r.createElement(i.sp.Provider,{value:C},r.createElement(i.Rq.Provider,{value:a},r.createElement(m.Provider,{value:E.current},r.createElement(h.Provider,{value:l},r.createElement(i.Ix,{basename:P,location:a.location,navigationType:a.historyAction,navigator:T,future:_},a.initialized||n.future.v7_partialHydration?r.createElement(x,{routes:n.routes,future:n.future,state:a}):t))))),null)}const x=r.memo(A);function A(e){let{routes:t,future:n,state:r}=e;return(0,i.ph)(t,void 0,r,n)}const O="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,E=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,S=r.forwardRef((function(e,t){let n,{onClick:o,relative:u,reloadDocument:f,replace:d,state:p,target:h,to:m,preventScrollReset:v,viewTransition:y}=e,g=s(e,l),{basename:b}=r.useContext(i.jb),w=!1;if("string"==typeof m&&E.test(m)&&(n=m,O))try{let e=new URL(window.location.href),t=m.startsWith("//")?new URL(e.protocol+m):new URL(m),n=(0,a.pb)(t.pathname,b);t.origin===e.origin&&null!=n?m=n+t.search+t.hash:w=!0}catch(e){}let x=(0,i.$P)(m,{relative:u}),A=function(e,t){let{target:n,replace:o,state:c,preventScrollReset:s,relative:u,viewTransition:l}=void 0===t?{}:t,f=(0,i.Zp)(),d=(0,i.zy)(),p=(0,i.x$)(e,{relative:u});return r.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,n)){t.preventDefault();let n=void 0!==o?o:(0,a.AO)(d)===(0,a.AO)(p);f(e,{replace:n,state:c,preventScrollReset:s,relative:u,viewTransition:l})}}),[d,f,p,o,c,n,e,s,u,l])}(m,{replace:d,state:p,target:h,preventScrollReset:v,relative:u,viewTransition:y});return r.createElement("a",c({},g,{href:n||x,onClick:w||f?o:function(e){o&&o(e),e.defaultPrevented||A(e)},ref:t,target:h}))}));function k(e){let{getKey:t,storageKey:n}=e;return function(e){let{getKey:t,storageKey:n}=void 0===e?{}:e,{router:o}=P(j.UseScrollRestoration),{restoreScrollPosition:s,preventScrollReset:u}=C(T.UseScrollRestoration),{basename:l}=r.useContext(i.jb),f=(0,i.zy)(),d=(0,i.FE)(),p=(0,i.cq)();r.useEffect((()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"})),[]),function(e,t){let{capture:n}=t||{};r.useEffect((()=>{let t=null!=n?{capture:n}:void 0;return window.addEventListener("pagehide",e,t),()=>{window.removeEventListener("pagehide",e,t)}}),[e,n])}(r.useCallback((()=>{if("idle"===p.state){let e=(t?t(f,d):null)||f.key;R[e]=window.scrollY}try{sessionStorage.setItem(n||D,JSON.stringify(R))}catch(e){}window.history.scrollRestoration="auto"}),[n,t,p.state,f,d])),"undefined"!=typeof document&&(r.useLayoutEffect((()=>{try{let e=sessionStorage.getItem(n||D);e&&(R=JSON.parse(e))}catch(e){}}),[n]),r.useLayoutEffect((()=>{let e=t&&"/"!==l?(e,n)=>t(c({},e,{pathname:(0,a.pb)(e.pathname,l)||e.pathname}),n):t,n=null==o?void 0:o.enableScrollRestoration(R,(()=>window.scrollY),e);return()=>n&&n()}),[o,l,t]),r.useLayoutEffect((()=>{if(!1!==s)if("number"!=typeof s){if(f.hash){let e=document.getElementById(decodeURIComponent(f.hash.slice(1)));if(e)return void e.scrollIntoView()}!0!==u&&window.scrollTo(0,0)}else window.scrollTo(0,s)}),[f,s,u]))}({getKey:t,storageKey:n}),null}var j,T;function P(e){let t=r.useContext(i.sp);return t||(0,a.Oi)(!1),t}function C(e){let t=r.useContext(i.Rq);return t||(0,a.Oi)(!1),t}function _(e){let t=r.useRef(u(e)),n=r.useRef(!1),o=(0,i.zy)(),a=r.useMemo((()=>function(e,t){let n=u(e);return t&&t.forEach(((e,r)=>{n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}))})),n}(o.search,n.current?null:t.current)),[o.search]),c=(0,i.Zp)(),s=r.useCallback(((e,t)=>{const r=u("function"==typeof e?e(a):e);n.current=!0,c("?"+r,t)}),[c,a]);return[a,s]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(j||(j={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(T||(T={}));const D="react-router-scroll-positions";let R={}},47767:(e,t,n)=>{"use strict";n.d(t,{$P:()=>d,BV:()=>F,C5:()=>I,FE:()=>_,Ix:()=>L,KP:()=>R,Rq:()=>c,Zp:()=>v,bg:()=>U,cq:()=>C,g:()=>y,jb:()=>s,ph:()=>b,qh:()=>M,sp:()=>a,wE:()=>B,x$:()=>g,zy:()=>h});var r=n(4883),o=n(45588);
|
|
34
34
|
/**
|
|
35
35
|
* React Router v6.27.0
|
|
36
36
|
*
|
|
@@ -41,7 +41,7 @@ function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1
|
|
|
41
41
|
*
|
|
42
42
|
* @license MIT
|
|
43
43
|
*/
|
|
44
|
-
function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const a=r.createContext(null);const c=r.createContext(null);const s=r.createContext(null);const u=r.createContext(null);const l=r.createContext({outlet:null,matches:[],isDataRoute:!1});const f=r.createContext(null);function d(e,t){let{relative:n}=void 0===t?{}:t;p()||(0,o.Oi)(!1);let{basename:i,navigator:a}=r.useContext(s),{hash:c,pathname:u,search:l}=g(e,{relative:n}),f=u;return"/"!==i&&(f="/"===u?i:(0,o.HS)([i,u])),a.createHref({pathname:f,search:l,hash:c})}function p(){return null!=r.useContext(u)}function h(){return p()||(0,o.Oi)(!1),r.useContext(u).location}function m(e){r.useContext(s).static||r.useLayoutEffect(e)}function v(){let{isDataRoute:e}=r.useContext(l);return e?function(){let{router:e}=j(S.UseNavigateStable),t=P(k.UseNavigateStable),n=r.useRef(!1);return m((()=>{n.current=!0})),r.useCallback((function(r,o){void 0===o&&(o={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,i({fromRouteId:t},o)))}),[e,t])}():function(){p()||(0,o.Oi)(!1);let e=r.useContext(a),{basename:t,future:n,navigator:i}=r.useContext(s),{matches:c}=r.useContext(l),{pathname:u}=h(),f=JSON.stringify((0,o.yD)(c,n.v7_relativeSplatPath)),d=r.useRef(!1);return m((()=>{d.current=!0})),r.useCallback((function(n,r){if(void 0===r&&(r={}),!d.current)return;if("number"==typeof n)return void i.go(n);let a=(0,o.Gh)(n,JSON.parse(f),u,"path"===r.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:(0,o.HS)([t,a.pathname])),(r.replace?i.replace:i.push)(a,r.state,r)}),[t,i,f,u,e])}()}function y(){let{matches:e}=r.useContext(l),t=e[e.length-1];return t?t.params:{}}function g(e,t){let{relative:n}=void 0===t?{}:t,{future:i}=r.useContext(s),{matches:a}=r.useContext(l),{pathname:c}=h(),u=JSON.stringify((0,o.yD)(a,i.v7_relativeSplatPath));return r.useMemo((()=>(0,o.Gh)(e,JSON.parse(u),c,"path"===n)),[e,u,c,n])}function b(e,t,n,a){p()||(0,o.Oi)(!1);let{navigator:c}=r.useContext(s),{matches:f}=r.useContext(l),d=f[f.length-1],m=d?d.params:{},v=(d&&d.pathname,d?d.pathnameBase:"/");d&&d.route;let y,g=h();if(t){var b;let e="string"==typeof t?(0,o.Rr)(t):t;"/"===v||(null==(b=e.pathname)?void 0:b.startsWith(v))||(0,o.Oi)(!1),y=e}else y=g;let w=y.pathname||"/",x=w;if("/"!==v){let e=v.replace(/^\//,"").split("/");x="/"+w.replace(/^\//,"").split("/").slice(e.length).join("/")}let A=(0,o.ue)(e,{pathname:x});let O=E(A&&A.map((e=>Object.assign({},e,{params:Object.assign({},m,e.params),pathname:(0,o.HS)([v,c.encodeLocation?c.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?v:(0,o.HS)([v,c.encodeLocation?c.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),f,n,a);return t&&O?r.createElement(u.Provider,{value:{location:i({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:o.rc.Pop}},O):O}function w(){let e=function(){var e;let t=r.useContext(f),n=T(k.UseRouteError),o=P(k.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[o]}(),t=(0,o.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:a},n):null,null)}const x=r.createElement(w,null);class A extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(l.Provider,{value:this.props.routeContext},r.createElement(f.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function O(e){let{routeContext:t,match:n,children:o}=e,i=r.useContext(a);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(l.Provider,{value:t},o)}function E(e,t,n,i){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===i&&(i=null),null==e){var c;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(c=i)&&c.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let s=e,u=null==(a=n)?void 0:a.errors;if(null!=u){let e=s.findIndex((e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id])));e>=0||(0,o.Oi)(!1),s=s.slice(0,Math.min(s.length,e+1))}let l=!1,f=-1;if(n&&i&&i.v7_partialHydration)for(let e=0;e<s.length;e++){let t=s[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(f=e),t.route.id){let{loaderData:e,errors:r}=n,o=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||o){l=!0,s=f>=0?s.slice(0,f+1):[s[0]];break}}}return s.reduceRight(((e,o,i)=>{let a,c=!1,d=null,p=null;var h;n&&(a=u&&o.route.id?u[o.route.id]:void 0,d=o.route.errorElement||x,l&&(f<0&&0===i?(h="route-fallback",!1||D[h]||(D[h]=!0),c=!0,p=null):f===i&&(c=!0,p=o.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,i+1)),v=()=>{let t;return t=a?d:c?p:o.route.Component?r.createElement(o.route.Component,null):o.route.element?o.route.element:e,r.createElement(O,{match:o,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(o.route.ErrorBoundary||o.route.errorElement||0===i)?r.createElement(A,{location:n.location,revalidation:n.revalidation,component:d,error:a,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()}),null)}var S=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(S||{}),k=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(k||{});function j(e){let t=r.useContext(a);return t||(0,o.Oi)(!1),t}function T(e){let t=r.useContext(c);return t||(0,o.Oi)(!1),t}function P(e){let t=function(e){let t=r.useContext(l);return t||(0,o.Oi)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,o.Oi)(!1),n.route.id}let C=0;function _(e){let{router:t,basename:n}=j(S.UseBlocker),a=T(k.UseBlocker),[c,s]=r.useState(""),u=r.useCallback((t=>{if("function"!=typeof e)return!!e;if("/"===n)return e(t);let{currentLocation:r,nextLocation:a,historyAction:c}=t;return e({currentLocation:i({},r,{pathname:(0,o.pb)(r.pathname,n)||r.pathname}),nextLocation:i({},a,{pathname:(0,o.pb)(a.pathname,n)||a.pathname}),historyAction:c})}),[n,e]);return r.useEffect((()=>{let e=String(++C);return s(e),()=>t.deleteBlocker(e)}),[t]),r.useEffect((()=>{""!==c&&t.getBlocker(c,u)}),[t,c,u]),c&&a.blockers.has(c)?a.blockers.get(c):o.G3}const D={};r.startTransition;function R(e){let{to:t,replace:n,state:i,relative:a}=e;p()||(0,o.Oi)(!1);let{future:c,static:u}=r.useContext(s),{matches:f}=r.useContext(l),{pathname:d}=h(),m=v(),y=(0,o.Gh)(t,(0,o.yD)(f,c.v7_relativeSplatPath),d,"path"===a),g=JSON.stringify(y);return r.useEffect((()=>m(JSON.parse(g),{replace:n,state:i,relative:a})),[m,g,a,n,i]),null}function N(e){(0,o.Oi)(!1)}function I(e){let{basename:t="/",children:n=null,location:a,navigationType:c=o.rc.Pop,navigator:l,static:f=!1,future:d}=e;p()&&(0,o.Oi)(!1);let h=t.replace(/^\/*/,"/"),m=r.useMemo((()=>({basename:h,navigator:l,static:f,future:i({v7_relativeSplatPath:!1},d)})),[h,d,l,f]);"string"==typeof a&&(a=(0,o.Rr)(a));let{pathname:v="/",search:y="",hash:g="",state:b=null,key:w="default"}=a,x=r.useMemo((()=>{let e=(0,o.pb)(v,h);return null==e?null:{location:{pathname:e,search:y,hash:g,state:b,key:w},navigationType:c}}),[h,v,y,g,b,w,c]);return null==x?null:r.createElement(s.Provider,{value:m},r.createElement(u.Provider,{children:n,value:x}))}function M(e){let{children:t,location:n}=e;return b(L(t),n)}new Promise((()=>{}));r.Component;function L(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,i)=>{if(!r.isValidElement(e))return;let a=[...t,i];if(e.type===r.Fragment)return void n.push.apply(n,L(e.props.children,a));e.type!==N&&(0,o.Oi)(!1),e.props.index&&e.props.children&&(0,o.Oi)(!1);let c={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(c.children=L(e.props.children,a)),n.push(c)})),n}function F(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:r.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:r.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:r.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function H(e,t){return(0,o.aE)({basename:null==t?void 0:t.basename,future:i({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,o.sC)({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:F,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}},49514:(e,t,n)=>{"use strict";n.d(t,{A:()=>T,B:()=>M,C:()=>I,D:()=>N,E:()=>g,F:()=>Ne,G:()=>A,H:()=>b,I:()=>k,J:()=>v,K:()=>R,M:()=>Y,a:()=>ue,b:()=>Q,c:()=>Re,d:()=>he,e:()=>se,f:()=>ge,g:()=>ye,h:()=>le,i:()=>ee,j:()=>xe,k:()=>J,l:()=>de,m:()=>z,n:()=>V,o:()=>X,p:()=>Se,q:()=>ke,r:()=>L,s:()=>D,t:()=>je,u:()=>K,v:()=>Ce,w:()=>_e,x:()=>De,y:()=>Z,z:()=>j});var r=n(47029),o=n(65166),i=n(17437),a=n(52167),c=n(23715),s=n(65710),u=n(47978),l=n(88097),f=n(4883),d=n(81845),p=n(9725),h=n(27003),m=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],v=function(){};function y(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function g(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(y(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var b=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,s.A)(e)&&null!==e?[e]:[];var t},w=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 t=(0,c.A)(e,m);return(0,r.A)({},t)},x=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function A(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function O(e){return A(e)?window.pageYOffset:e.scrollTop}function E(e,t){A(e)?window.scrollTo(0,t):e.scrollTop=t}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:v,o=O(e),i=t-o,a=0;!function t(){var c=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,o,i,n);E(e,c),a<n?window.requestAnimationFrame(t):r(e)}()}function k(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?E(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&E(e,Math.max(t.offsetTop-o,0))}function j(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function T(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var P=!1,C={get passive(){return P=!0}},_="undefined"!=typeof window?window:{};_.addEventListener&&_.removeEventListener&&(_.addEventListener("p",v,C),_.removeEventListener("p",v,!1));var D=P;function R(e){return null!=e}function N(e,t,n){return e?t:n}function I(e){return e}function M(e){return e}var L=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.entries(e).filter((function(e){var t=(0,a.A)(e,1)[0];return!n.includes(t)})).reduce((function(e,t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})},F=["children","innerProps"],H=["children","innerProps"];function B(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,c=e.controlHeight,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var l,f=s.getBoundingClientRect().height,d=n.getBoundingClientRect(),p=d.bottom,h=d.height,m=d.top,v=n.offsetParent.getBoundingClientRect().top,y=a?window.innerHeight:A(l=s)?window.innerHeight:l.clientHeight,g=O(s),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),x=v-w,k=y-m,j=x+g,T=f-g-m,P=p-y+g+b,C=g+m-w,_=160;switch(o){case"auto":case"bottom":if(k>=h)return{placement:"bottom",maxHeight:t};if(T>=h&&!a)return i&&S(s,P,_),{placement:"bottom",maxHeight:t};if(!a&&T>=r||a&&k>=r)return i&&S(s,P,_),{placement:"bottom",maxHeight:a?k-b:T-b};if("auto"===o||a){var D=t,R=a?x:j;return R>=r&&(D=Math.min(R-b-c,t)),{placement:"top",maxHeight:D}}if("bottom"===o)return i&&E(s,P),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(j>=h&&!a)return i&&S(s,C,_),{placement:"top",maxHeight:t};if(!a&&j>=r||a&&x>=r){var N=t;return(!a&&j>=r||a&&x>=r)&&(N=a?x-w:j-w),i&&S(s,C,_),{placement:"top",maxHeight:N}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var U,W=function(e){return"auto"===e?"bottom":e},z=function(e,t){var n,o=e.placement,i=e.theme,a=i.borderRadius,c=i.spacing,s=i.colors;return(0,r.A)((n={label:"menu"},(0,l.A)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),(0,l.A)(n,"position","absolute"),(0,l.A)(n,"width","100%"),(0,l.A)(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:c.menuGutter,marginTop:c.menuGutter})},G=(0,f.createContext)(null),Y=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,c=e.menuPosition,s=e.menuShouldScrollIntoView,u=e.theme,l=((0,f.useContext)(G)||{}).setPortalPlacement,d=(0,f.useRef)(null),p=(0,f.useState)(o),m=(0,a.A)(p,2),v=m[0],y=m[1],g=(0,f.useState)(null),b=(0,a.A)(g,2),w=b[0],x=b[1],A=u.spacing.controlHeight;return(0,h.A)((function(){var e=d.current;if(e){var t="fixed"===c,r=B({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:A});y(r.maxHeight),x(r.placement),null==l||l(r.placement)}}),[o,i,c,s,n,l,A]),t({ref:d,placerProps:(0,r.A)((0,r.A)({},e),{},{placement:w||W(i),maxHeight:v})})},q=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"menu",{menu:!0}),{ref:n},r),t)},V=function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return(0,r.A)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},$=function(e,t){var n=e.theme,o=n.spacing.baseUnit,i=n.colors;return(0,r.A)({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},K=$,J=$,X=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},Q=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},Z=function(e,t){var n=e.theme.spacing,o=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return(0,r.A)({alignItems:"center",display:o&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},ee=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},te=["size"],ne=["innerProps","isRtl","size"];var re={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},oe=function(e){var t=e.size,n=(0,c.A)(e,te);return(0,i.Y)("svg",(0,o.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:re},n))},ie=function(e){return(0,i.Y)(oe,(0,o.A)({size:20},e),(0,i.Y)("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"}))},ae=function(e){return(0,i.Y)(oe,(0,o.A)({size:20},e),(0,i.Y)("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"}))},ce=function(e,t){var n=e.isFocused,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return(0,r.A)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*i,":hover":{color:n?a.neutral80:a.neutral40}})},se=ce,ue=ce,le=function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return(0,r.A)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*i,marginTop:2*i})},fe=(0,i.i7)(U||(U=(0,u.A)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),de=function(e,t){var n=e.isFocused,o=e.size,i=e.theme,a=i.colors,c=i.spacing.baseUnit;return(0,r.A)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*c})},pe=function(e){var t=e.delay,n=e.offset;return(0,i.Y)("span",{css:(0,i.AH)({animation:"".concat(fe," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},he=function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.theme,a=i.colors,c=i.borderRadius,s=i.spacing;return(0,r.A)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:o?a.primary:a.neutral20,borderRadius:c,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},me=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,a=e.innerRef,c=e.innerProps,s=e.menuIsOpen;return(0,i.Y)("div",(0,o.A)({ref:a},x(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),c,{"aria-disabled":n||void 0}),t)},ve=["data"],ye=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},ge=function(e,t){var n=e.theme,o=n.colors,i=n.spacing;return(0,r.A)({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},be=function(e){var t=e.children,n=e.cx,r=e.getStyles,a=e.getClassNames,c=e.Heading,s=e.headingProps,u=e.innerProps,l=e.label,f=e.theme,d=e.selectProps;return(0,i.Y)("div",(0,o.A)({},x(e,"group",{group:!0}),u),(0,i.Y)(c,(0,o.A)({},s,{selectProps:d,theme:f,getStyles:r,getClassNames:a,cx:n}),l),(0,i.Y)("div",null,t))},we=["innerRef","isDisabled","isHidden","inputClassName"],xe=function(e,t){var n=e.isDisabled,o=e.value,i=e.theme,a=i.spacing,c=i.colors;return(0,r.A)((0,r.A)({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Oe),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:c.neutral80})},Ae={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Oe={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,r.A)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ae)},Ee=function(e){return(0,r.A)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ae)},Se=function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,a=n.colors;return(0,r.A)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},ke=function(e,t){var n=e.theme,o=n.borderRadius,i=n.colors,a=e.cropWithEllipsis;return(0,r.A)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},je=function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,a=n.colors,c=e.isFocused;return(0,r.A)({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:c?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},Te=function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",n,t)};var Pe=function(e){var t=e.children,n=e.components,o=e.data,a=e.innerProps,c=e.isDisabled,s=e.removeProps,u=e.selectProps,l=n.Container,f=n.Label,d=n.Remove;return(0,i.Y)(l,{data:o,innerProps:(0,r.A)((0,r.A)({},x(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":c})),a),selectProps:u},(0,i.Y)(f,{data:o,innerProps:(0,r.A)({},x(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),(0,i.Y)(d,{data:o,innerProps:(0,r.A)((0,r.A)({},x(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:u}))},Ce=function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.isSelected,a=e.theme,c=a.spacing,s=a.colors;return(0,r.A)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:o?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*c.baseUnit,"px ").concat(3*c.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},_e=function(e,t){var n=e.theme,o=n.spacing,i=n.colors;return(0,r.A)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},De=function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing,a=o.colors;return(0,r.A)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Re={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,i.Y)(ie,null))},Control:me,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,i.Y)(ae,null))},DownChevron:ae,CrossIcon:ie,Group:be,GroupHeading:function(e){var t=w(e);t.data;var n=(0,c.A)(t,ve);return(0,i.Y)("div",(0,o.A)({},x(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,i.Y)("span",(0,o.A)({},t,x(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=w(e),a=r.innerRef,s=r.isDisabled,u=r.isHidden,l=r.inputClassName,f=(0,c.A)(r,we);return(0,i.Y)("div",(0,o.A)({},x(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,i.Y)("input",(0,o.A)({className:t({input:!0},l),ref:a,style:Ee(u),disabled:s},f)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,a=e.size,s=void 0===a?4:a,u=(0,c.A)(e,ne);return(0,i.Y)("div",(0,o.A)({},x((0,r.A)((0,r.A)({},u),{},{innerProps:t,isRtl:n,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,i.Y)(pe,{delay:0,offset:n}),(0,i.Y)(pe,{delay:160,offset:!0}),(0,i.Y)(pe,{delay:320,offset:!n}))},Menu:q,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,a=e.isMulti;return(0,i.Y)("div",(0,o.A)({},x(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,c=e.controlElement,s=e.innerProps,u=e.menuPlacement,l=e.menuPosition,m=(0,f.useRef)(null),v=(0,f.useRef)(null),y=(0,f.useState)(W(u)),g=(0,a.A)(y,2),b=g[0],w=g[1],A=(0,f.useMemo)((function(){return{setPortalPlacement:w}}),[]),O=(0,f.useState)(null),E=(0,a.A)(O,2),S=E[0],k=E[1],j=(0,f.useCallback)((function(){if(c){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(c),t="fixed"===l?0:window.pageYOffset,n=e[b]+t;n===(null==S?void 0:S.offset)&&e.left===(null==S?void 0:S.rect.left)&&e.width===(null==S?void 0:S.rect.width)||k({offset:n,rect:e})}}),[c,l,b,null==S?void 0:S.offset,null==S?void 0:S.rect.left,null==S?void 0:S.rect.width]);(0,h.A)((function(){j()}),[j]);var T=(0,f.useCallback)((function(){"function"==typeof v.current&&(v.current(),v.current=null),c&&m.current&&(v.current=(0,p.ll)(c,m.current,j,{elementResize:"ResizeObserver"in window}))}),[c,j]);(0,h.A)((function(){T()}),[T]);var P=(0,f.useCallback)((function(e){m.current=e,T()}),[T]);if(!t&&"fixed"!==l||!S)return null;var C=(0,i.Y)("div",(0,o.A)({ref:P},x((0,r.A)((0,r.A)({},e),{},{offset:S.offset,position:l,rect:S.rect}),"menuPortal",{"menu-portal":!0}),s),n);return(0,i.Y)(G.Provider,{value:A},t?(0,d.createPortal)(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,a=e.innerProps,s=(0,c.A)(e,H);return(0,i.Y)("div",(0,o.A)({},x((0,r.A)((0,r.A)({},s),{},{children:n,innerProps:a}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),a),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,a=e.innerProps,s=(0,c.A)(e,F);return(0,i.Y)("div",(0,o.A)({},x((0,r.A)((0,r.A)({},s),{},{children:n,innerProps:a}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),a),n)},MultiValue:Pe,MultiValueContainer:Te,MultiValueLabel:Te,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({role:"button"},n),t||(0,i.Y)(ie,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,a=e.isSelected,c=e.innerRef,s=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":a}),{ref:c,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,a=e.isRtl;return(0,i.Y)("div",(0,o.A)({},x(e,"container",{"--is-disabled":r,"--is-rtl":a}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,a=e.hasValue;return(0,i.Y)("div",(0,o.A)({},x(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":a}),n),t)}},Ne=function(e){return(0,r.A)((0,r.A)({},Re),e.components)}},21020:(e,t,n)=>{"use strict";
|
|
44
|
+
function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const a=r.createContext(null);const c=r.createContext(null);const s=r.createContext(null);const u=r.createContext(null);const l=r.createContext({outlet:null,matches:[],isDataRoute:!1});const f=r.createContext(null);function d(e,t){let{relative:n}=void 0===t?{}:t;p()||(0,o.Oi)(!1);let{basename:i,navigator:a}=r.useContext(s),{hash:c,pathname:u,search:l}=g(e,{relative:n}),f=u;return"/"!==i&&(f="/"===u?i:(0,o.HS)([i,u])),a.createHref({pathname:f,search:l,hash:c})}function p(){return null!=r.useContext(u)}function h(){return p()||(0,o.Oi)(!1),r.useContext(u).location}function m(e){r.useContext(s).static||r.useLayoutEffect(e)}function v(){let{isDataRoute:e}=r.useContext(l);return e?function(){let{router:e}=j(S.UseNavigateStable),t=P(k.UseNavigateStable),n=r.useRef(!1);return m((()=>{n.current=!0})),r.useCallback((function(r,o){void 0===o&&(o={}),n.current&&("number"==typeof r?e.navigate(r):e.navigate(r,i({fromRouteId:t},o)))}),[e,t])}():function(){p()||(0,o.Oi)(!1);let e=r.useContext(a),{basename:t,future:n,navigator:i}=r.useContext(s),{matches:c}=r.useContext(l),{pathname:u}=h(),f=JSON.stringify((0,o.yD)(c,n.v7_relativeSplatPath)),d=r.useRef(!1);return m((()=>{d.current=!0})),r.useCallback((function(n,r){if(void 0===r&&(r={}),!d.current)return;if("number"==typeof n)return void i.go(n);let a=(0,o.Gh)(n,JSON.parse(f),u,"path"===r.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:(0,o.HS)([t,a.pathname])),(r.replace?i.replace:i.push)(a,r.state,r)}),[t,i,f,u,e])}()}function y(){let{matches:e}=r.useContext(l),t=e[e.length-1];return t?t.params:{}}function g(e,t){let{relative:n}=void 0===t?{}:t,{future:i}=r.useContext(s),{matches:a}=r.useContext(l),{pathname:c}=h(),u=JSON.stringify((0,o.yD)(a,i.v7_relativeSplatPath));return r.useMemo((()=>(0,o.Gh)(e,JSON.parse(u),c,"path"===n)),[e,u,c,n])}function b(e,t,n,a){p()||(0,o.Oi)(!1);let{navigator:c}=r.useContext(s),{matches:f}=r.useContext(l),d=f[f.length-1],m=d?d.params:{},v=(d&&d.pathname,d?d.pathnameBase:"/");d&&d.route;let y,g=h();if(t){var b;let e="string"==typeof t?(0,o.Rr)(t):t;"/"===v||(null==(b=e.pathname)?void 0:b.startsWith(v))||(0,o.Oi)(!1),y=e}else y=g;let w=y.pathname||"/",x=w;if("/"!==v){let e=v.replace(/^\//,"").split("/");x="/"+w.replace(/^\//,"").split("/").slice(e.length).join("/")}let A=(0,o.ue)(e,{pathname:x});let O=E(A&&A.map((e=>Object.assign({},e,{params:Object.assign({},m,e.params),pathname:(0,o.HS)([v,c.encodeLocation?c.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?v:(0,o.HS)([v,c.encodeLocation?c.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),f,n,a);return t&&O?r.createElement(u.Provider,{value:{location:i({pathname:"/",search:"",hash:"",state:null,key:"default"},y),navigationType:o.rc.Pop}},O):O}function w(){let e=function(){var e;let t=r.useContext(f),n=T(k.UseRouteError),o=P(k.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[o]}(),t=(0,o.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:a},n):null,null)}const x=r.createElement(w,null);class A extends r.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?r.createElement(l.Provider,{value:this.props.routeContext},r.createElement(f.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function O(e){let{routeContext:t,match:n,children:o}=e,i=r.useContext(a);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(l.Provider,{value:t},o)}function E(e,t,n,i){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===i&&(i=null),null==e){var c;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(c=i)&&c.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let s=e,u=null==(a=n)?void 0:a.errors;if(null!=u){let e=s.findIndex((e=>e.route.id&&void 0!==(null==u?void 0:u[e.route.id])));e>=0||(0,o.Oi)(!1),s=s.slice(0,Math.min(s.length,e+1))}let l=!1,f=-1;if(n&&i&&i.v7_partialHydration)for(let e=0;e<s.length;e++){let t=s[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(f=e),t.route.id){let{loaderData:e,errors:r}=n,o=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||o){l=!0,s=f>=0?s.slice(0,f+1):[s[0]];break}}}return s.reduceRight(((e,o,i)=>{let a,c=!1,d=null,p=null;var h;n&&(a=u&&o.route.id?u[o.route.id]:void 0,d=o.route.errorElement||x,l&&(f<0&&0===i?(h="route-fallback",!1||N[h]||(N[h]=!0),c=!0,p=null):f===i&&(c=!0,p=o.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,i+1)),v=()=>{let t;return t=a?d:c?p:o.route.Component?r.createElement(o.route.Component,null):o.route.element?o.route.element:e,r.createElement(O,{match:o,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(o.route.ErrorBoundary||o.route.errorElement||0===i)?r.createElement(A,{location:n.location,revalidation:n.revalidation,component:d,error:a,children:v(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):v()}),null)}var S=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(S||{}),k=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(k||{});function j(e){let t=r.useContext(a);return t||(0,o.Oi)(!1),t}function T(e){let t=r.useContext(c);return t||(0,o.Oi)(!1),t}function P(e){let t=function(e){let t=r.useContext(l);return t||(0,o.Oi)(!1),t}(),n=t.matches[t.matches.length-1];return n.route.id||(0,o.Oi)(!1),n.route.id}function C(){return T(k.UseNavigation).navigation}function _(){let{matches:e,loaderData:t}=T(k.UseMatches);return r.useMemo((()=>e.map((e=>(0,o.ro)(e,t)))),[e,t])}let D=0;function R(e){let{router:t,basename:n}=j(S.UseBlocker),a=T(k.UseBlocker),[c,s]=r.useState(""),u=r.useCallback((t=>{if("function"!=typeof e)return!!e;if("/"===n)return e(t);let{currentLocation:r,nextLocation:a,historyAction:c}=t;return e({currentLocation:i({},r,{pathname:(0,o.pb)(r.pathname,n)||r.pathname}),nextLocation:i({},a,{pathname:(0,o.pb)(a.pathname,n)||a.pathname}),historyAction:c})}),[n,e]);return r.useEffect((()=>{let e=String(++D);return s(e),()=>t.deleteBlocker(e)}),[t]),r.useEffect((()=>{""!==c&&t.getBlocker(c,u)}),[t,c,u]),c&&a.blockers.has(c)?a.blockers.get(c):o.G3}const N={};r.startTransition;function I(e){let{to:t,replace:n,state:i,relative:a}=e;p()||(0,o.Oi)(!1);let{future:c,static:u}=r.useContext(s),{matches:f}=r.useContext(l),{pathname:d}=h(),m=v(),y=(0,o.Gh)(t,(0,o.yD)(f,c.v7_relativeSplatPath),d,"path"===a),g=JSON.stringify(y);return r.useEffect((()=>m(JSON.parse(g),{replace:n,state:i,relative:a})),[m,g,a,n,i]),null}function M(e){(0,o.Oi)(!1)}function L(e){let{basename:t="/",children:n=null,location:a,navigationType:c=o.rc.Pop,navigator:l,static:f=!1,future:d}=e;p()&&(0,o.Oi)(!1);let h=t.replace(/^\/*/,"/"),m=r.useMemo((()=>({basename:h,navigator:l,static:f,future:i({v7_relativeSplatPath:!1},d)})),[h,d,l,f]);"string"==typeof a&&(a=(0,o.Rr)(a));let{pathname:v="/",search:y="",hash:g="",state:b=null,key:w="default"}=a,x=r.useMemo((()=>{let e=(0,o.pb)(v,h);return null==e?null:{location:{pathname:e,search:y,hash:g,state:b,key:w},navigationType:c}}),[h,v,y,g,b,w,c]);return null==x?null:r.createElement(s.Provider,{value:m},r.createElement(u.Provider,{children:n,value:x}))}function F(e){let{children:t,location:n}=e;return b(H(t),n)}new Promise((()=>{}));r.Component;function H(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,((e,i)=>{if(!r.isValidElement(e))return;let a=[...t,i];if(e.type===r.Fragment)return void n.push.apply(n,H(e.props.children,a));e.type!==M&&(0,o.Oi)(!1),e.props.index&&e.props.children&&(0,o.Oi)(!1);let c={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(c.children=H(e.props.children,a)),n.push(c)})),n}function B(e){let t={hasErrorBoundary:null!=e.ErrorBoundary||null!=e.errorElement};return e.Component&&Object.assign(t,{element:r.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:r.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:r.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}function U(e,t){return(0,o.aE)({basename:null==t?void 0:t.basename,future:i({},null==t?void 0:t.future,{v7_prependBasename:!0}),history:(0,o.sC)({initialEntries:null==t?void 0:t.initialEntries,initialIndex:null==t?void 0:t.initialIndex}),hydrationData:null==t?void 0:t.hydrationData,routes:e,mapRouteProperties:B,dataStrategy:null==t?void 0:t.dataStrategy,patchRoutesOnNavigation:null==t?void 0:t.patchRoutesOnNavigation}).initialize()}},49514:(e,t,n)=>{"use strict";n.d(t,{A:()=>T,B:()=>M,C:()=>I,D:()=>N,E:()=>g,F:()=>Ne,G:()=>A,H:()=>b,I:()=>k,J:()=>v,K:()=>R,M:()=>Y,a:()=>ue,b:()=>Q,c:()=>Re,d:()=>he,e:()=>se,f:()=>ge,g:()=>ye,h:()=>le,i:()=>ee,j:()=>xe,k:()=>J,l:()=>de,m:()=>z,n:()=>V,o:()=>X,p:()=>Se,q:()=>ke,r:()=>L,s:()=>D,t:()=>je,u:()=>K,v:()=>Ce,w:()=>_e,x:()=>De,y:()=>Z,z:()=>j});var r=n(47029),o=n(65166),i=n(17437),a=n(52167),c=n(23715),s=n(65710),u=n(47978),l=n(88097),f=n(4883),d=n(81845),p=n(9725),h=n(27003),m=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],v=function(){};function y(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function g(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(y(e,a)));return i.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var b=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,s.A)(e)&&null!==e?[e]:[];var t},w=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 t=(0,c.A)(e,m);return(0,r.A)({},t)},x=function(e,t,n){var r=e.cx,o=e.getStyles,i=e.getClassNames,a=e.className;return{css:o(t,e),className:r(null!=n?n:{},i(t,e),a)}};function A(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function O(e){return A(e)?window.pageYOffset:e.scrollTop}function E(e,t){A(e)?window.scrollTo(0,t):e.scrollTop=t}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:v,o=O(e),i=t-o,a=0;!function t(){var c=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,o,i,n);E(e,c),a<n?window.requestAnimationFrame(t):r(e)}()}function k(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?E(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&E(e,Math.max(t.offsetTop-o,0))}function j(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function T(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var P=!1,C={get passive(){return P=!0}},_="undefined"!=typeof window?window:{};_.addEventListener&&_.removeEventListener&&(_.addEventListener("p",v,C),_.removeEventListener("p",v,!1));var D=P;function R(e){return null!=e}function N(e,t,n){return e?t:n}function I(e){return e}function M(e){return e}var L=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.entries(e).filter((function(e){var t=(0,a.A)(e,1)[0];return!n.includes(t)})).reduce((function(e,t){var n=(0,a.A)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})},F=["children","innerProps"],H=["children","innerProps"];function B(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,c=e.controlHeight,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var l,f=s.getBoundingClientRect().height,d=n.getBoundingClientRect(),p=d.bottom,h=d.height,m=d.top,v=n.offsetParent.getBoundingClientRect().top,y=a?window.innerHeight:A(l=s)?window.innerHeight:l.clientHeight,g=O(s),b=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),x=v-w,k=y-m,j=x+g,T=f-g-m,P=p-y+g+b,C=g+m-w,_=160;switch(o){case"auto":case"bottom":if(k>=h)return{placement:"bottom",maxHeight:t};if(T>=h&&!a)return i&&S(s,P,_),{placement:"bottom",maxHeight:t};if(!a&&T>=r||a&&k>=r)return i&&S(s,P,_),{placement:"bottom",maxHeight:a?k-b:T-b};if("auto"===o||a){var D=t,R=a?x:j;return R>=r&&(D=Math.min(R-b-c,t)),{placement:"top",maxHeight:D}}if("bottom"===o)return i&&E(s,P),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(j>=h&&!a)return i&&S(s,C,_),{placement:"top",maxHeight:t};if(!a&&j>=r||a&&x>=r){var N=t;return(!a&&j>=r||a&&x>=r)&&(N=a?x-w:j-w),i&&S(s,C,_),{placement:"top",maxHeight:N}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}var U,W=function(e){return"auto"===e?"bottom":e},z=function(e,t){var n,o=e.placement,i=e.theme,a=i.borderRadius,c=i.spacing,s=i.colors;return(0,r.A)((n={label:"menu"},(0,l.A)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),(0,l.A)(n,"position","absolute"),(0,l.A)(n,"width","100%"),(0,l.A)(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:c.menuGutter,marginTop:c.menuGutter})},G=(0,f.createContext)(null),Y=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,c=e.menuPosition,s=e.menuShouldScrollIntoView,u=e.theme,l=((0,f.useContext)(G)||{}).setPortalPlacement,d=(0,f.useRef)(null),p=(0,f.useState)(o),m=(0,a.A)(p,2),v=m[0],y=m[1],g=(0,f.useState)(null),b=(0,a.A)(g,2),w=b[0],x=b[1],A=u.spacing.controlHeight;return(0,h.A)((function(){var e=d.current;if(e){var t="fixed"===c,r=B({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:A});y(r.maxHeight),x(r.placement),null==l||l(r.placement)}}),[o,i,c,s,n,l,A]),t({ref:d,placerProps:(0,r.A)((0,r.A)({},e),{},{placement:w||W(i),maxHeight:v})})},q=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"menu",{menu:!0}),{ref:n},r),t)},V=function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return(0,r.A)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},$=function(e,t){var n=e.theme,o=n.spacing.baseUnit,i=n.colors;return(0,r.A)({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},K=$,J=$,X=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},Q=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},Z=function(e,t){var n=e.theme.spacing,o=e.isMulti,i=e.hasValue,a=e.selectProps.controlShouldRenderValue;return(0,r.A)({alignItems:"center",display:o&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},ee=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},te=["size"],ne=["innerProps","isRtl","size"];var re={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},oe=function(e){var t=e.size,n=(0,c.A)(e,te);return(0,i.Y)("svg",(0,o.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:re},n))},ie=function(e){return(0,i.Y)(oe,(0,o.A)({size:20},e),(0,i.Y)("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"}))},ae=function(e){return(0,i.Y)(oe,(0,o.A)({size:20},e),(0,i.Y)("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"}))},ce=function(e,t){var n=e.isFocused,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return(0,r.A)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*i,":hover":{color:n?a.neutral80:a.neutral40}})},se=ce,ue=ce,le=function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing.baseUnit,a=o.colors;return(0,r.A)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?a.neutral10:a.neutral20,marginBottom:2*i,marginTop:2*i})},fe=(0,i.i7)(U||(U=(0,u.A)(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]))),de=function(e,t){var n=e.isFocused,o=e.size,i=e.theme,a=i.colors,c=i.spacing.baseUnit;return(0,r.A)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?a.neutral60:a.neutral20,padding:2*c})},pe=function(e){var t=e.delay,n=e.offset;return(0,i.Y)("span",{css:(0,i.AH)({animation:"".concat(fe," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},he=function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.theme,a=i.colors,c=i.borderRadius,s=i.spacing;return(0,r.A)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?a.neutral5:a.neutral0,borderColor:n?a.neutral10:o?a.primary:a.neutral20,borderRadius:c,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:o?a.primary:a.neutral30}})},me=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,a=e.innerRef,c=e.innerProps,s=e.menuIsOpen;return(0,i.Y)("div",(0,o.A)({ref:a},x(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),c,{"aria-disabled":n||void 0}),t)},ve=["data"],ye=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},ge=function(e,t){var n=e.theme,o=n.colors,i=n.spacing;return(0,r.A)({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},be=function(e){var t=e.children,n=e.cx,r=e.getStyles,a=e.getClassNames,c=e.Heading,s=e.headingProps,u=e.innerProps,l=e.label,f=e.theme,d=e.selectProps;return(0,i.Y)("div",(0,o.A)({},x(e,"group",{group:!0}),u),(0,i.Y)(c,(0,o.A)({},s,{selectProps:d,theme:f,getStyles:r,getClassNames:a,cx:n}),l),(0,i.Y)("div",null,t))},we=["innerRef","isDisabled","isHidden","inputClassName"],xe=function(e,t){var n=e.isDisabled,o=e.value,i=e.theme,a=i.spacing,c=i.colors;return(0,r.A)((0,r.A)({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Oe),t?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:c.neutral80})},Ae={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Oe={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,r.A)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ae)},Ee=function(e){return(0,r.A)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ae)},Se=function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,a=n.colors;return(0,r.A)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:o.baseUnit/2})},ke=function(e,t){var n=e.theme,o=n.borderRadius,i=n.colors,a=e.cropWithEllipsis;return(0,r.A)({overflow:"hidden",textOverflow:a||void 0===a?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},je=function(e,t){var n=e.theme,o=n.spacing,i=n.borderRadius,a=n.colors,c=e.isFocused;return(0,r.A)({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:c?a.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},Te=function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",n,t)};var Pe=function(e){var t=e.children,n=e.components,o=e.data,a=e.innerProps,c=e.isDisabled,s=e.removeProps,u=e.selectProps,l=n.Container,f=n.Label,d=n.Remove;return(0,i.Y)(l,{data:o,innerProps:(0,r.A)((0,r.A)({},x(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":c})),a),selectProps:u},(0,i.Y)(f,{data:o,innerProps:(0,r.A)({},x(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),(0,i.Y)(d,{data:o,innerProps:(0,r.A)((0,r.A)({},x(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:u}))},Ce=function(e,t){var n=e.isDisabled,o=e.isFocused,i=e.isSelected,a=e.theme,c=a.spacing,s=a.colors;return(0,r.A)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:o?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*c.baseUnit,"px ").concat(3*c.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},_e=function(e,t){var n=e.theme,o=n.spacing,i=n.colors;return(0,r.A)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},De=function(e,t){var n=e.isDisabled,o=e.theme,i=o.spacing,a=o.colors;return(0,r.A)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},Re={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,i.Y)(ie,null))},Control:me,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,i.Y)(ae,null))},DownChevron:ae,CrossIcon:ie,Group:be,GroupHeading:function(e){var t=w(e);t.data;var n=(0,c.A)(t,ve);return(0,i.Y)("div",(0,o.A)({},x(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,i.Y)("span",(0,o.A)({},t,x(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=w(e),a=r.innerRef,s=r.isDisabled,u=r.isHidden,l=r.inputClassName,f=(0,c.A)(r,we);return(0,i.Y)("div",(0,o.A)({},x(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,i.Y)("input",(0,o.A)({className:t({input:!0},l),ref:a,style:Ee(u),disabled:s},f)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,a=e.size,s=void 0===a?4:a,u=(0,c.A)(e,ne);return(0,i.Y)("div",(0,o.A)({},x((0,r.A)((0,r.A)({},u),{},{innerProps:t,isRtl:n,size:s}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,i.Y)(pe,{delay:0,offset:n}),(0,i.Y)(pe,{delay:160,offset:!0}),(0,i.Y)(pe,{delay:320,offset:!n}))},Menu:q,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,a=e.isMulti;return(0,i.Y)("div",(0,o.A)({},x(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,c=e.controlElement,s=e.innerProps,u=e.menuPlacement,l=e.menuPosition,m=(0,f.useRef)(null),v=(0,f.useRef)(null),y=(0,f.useState)(W(u)),g=(0,a.A)(y,2),b=g[0],w=g[1],A=(0,f.useMemo)((function(){return{setPortalPlacement:w}}),[]),O=(0,f.useState)(null),E=(0,a.A)(O,2),S=E[0],k=E[1],j=(0,f.useCallback)((function(){if(c){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(c),t="fixed"===l?0:window.pageYOffset,n=e[b]+t;n===(null==S?void 0:S.offset)&&e.left===(null==S?void 0:S.rect.left)&&e.width===(null==S?void 0:S.rect.width)||k({offset:n,rect:e})}}),[c,l,b,null==S?void 0:S.offset,null==S?void 0:S.rect.left,null==S?void 0:S.rect.width]);(0,h.A)((function(){j()}),[j]);var T=(0,f.useCallback)((function(){"function"==typeof v.current&&(v.current(),v.current=null),c&&m.current&&(v.current=(0,p.ll)(c,m.current,j,{elementResize:"ResizeObserver"in window}))}),[c,j]);(0,h.A)((function(){T()}),[T]);var P=(0,f.useCallback)((function(e){m.current=e,T()}),[T]);if(!t&&"fixed"!==l||!S)return null;var C=(0,i.Y)("div",(0,o.A)({ref:P},x((0,r.A)((0,r.A)({},e),{},{offset:S.offset,position:l,rect:S.rect}),"menuPortal",{"menu-portal":!0}),s),n);return(0,i.Y)(G.Provider,{value:A},t?(0,d.createPortal)(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,a=e.innerProps,s=(0,c.A)(e,H);return(0,i.Y)("div",(0,o.A)({},x((0,r.A)((0,r.A)({},s),{},{children:n,innerProps:a}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),a),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,a=e.innerProps,s=(0,c.A)(e,F);return(0,i.Y)("div",(0,o.A)({},x((0,r.A)((0,r.A)({},s),{},{children:n,innerProps:a}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),a),n)},MultiValue:Pe,MultiValueContainer:Te,MultiValueLabel:Te,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({role:"button"},n),t||(0,i.Y)(ie,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,a=e.isSelected,c=e.innerRef,s=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":a}),{ref:c,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,a=e.isRtl;return(0,i.Y)("div",(0,o.A)({},x(e,"container",{"--is-disabled":r,"--is-rtl":a}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,i.Y)("div",(0,o.A)({},x(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,a=e.hasValue;return(0,i.Y)("div",(0,o.A)({},x(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":a}),n),t)}},Ne=function(e){return(0,r.A)((0,r.A)({},Re),e.components)}},21020:(e,t,n)=>{"use strict";
|
|
45
45
|
/**
|
|
46
46
|
* @license React
|
|
47
47
|
* react-jsx-runtime.production.min.js
|
|
@@ -64,4 +64,4 @@ var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[hre
|
|
|
64
64
|
*
|
|
65
65
|
* This source code is licensed under the MIT license found in the
|
|
66
66
|
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/var r=n(4883);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,a=r.useRef,c=r.useEffect,s=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var f=a(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=s((function(){function e(e){if(!c){if(c=!0,i=e,e=r(e),void 0!==l&&d.hasValue){var t=d.value;if(l(t,e))return a=t}return a=e}if(t=a,o(i,e))return t;var n=r(e);return void 0!==l&&l(t,n)?t:(i=e,a=n)}var i,a,c=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,l]);var p=i(e,f[0],f[1]);return c((function(){d.hasValue=!0,d.value=p}),[p]),u(p),p}},78418:(e,t,n)=>{"use strict";e.exports=n(77154)},91943:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},43407:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>i});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},38823:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});for(var r=[],o=0;o<256;++o)r.push((o+256).toString(16).slice(1));function i(e,t=0){return(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase()}},18562:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(91943),o=n(43407),i=n(38823);const a=function(e,t,n){if(r.A.randomUUID&&!t&&!e)return r.A.randomUUID();var a=(e=e||{}).random||(e.rng||o.A)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(var c=0;c<16;++c)t[n+c]=a[c];return t}return(0,i.k)(a)}},78074:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>O});var r=n(4883),o=n.n(r),i=n(5556),a=n.n(i),c=n(89260),s=n(75860),u=["children"],l=["open"],f=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],d=["refKey","onChange","onClick"];function p(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||m(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var x=(0,r.forwardRef)((function(e,t){var n=e.children,i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=g(g({},A),e),n=t.accept,o=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,c=t.minSize,u=t.multiple,l=t.maxFiles,m=t.onDragEnter,v=t.onDragLeave,y=t.onDragOver,x=t.onDrop,O=t.onDropAccepted,j=t.onDropRejected,T=t.onFileDialogCancel,P=t.onFileDialogOpen,C=t.useFsAccessApi,_=t.autoFocus,D=t.preventDropOnDocument,R=t.noClick,N=t.noKeyboard,I=t.noDrag,M=t.noDragEventsBubbling,L=t.onError,F=t.validator,H=(0,r.useMemo)((function(){return(0,s.DG)(n)}),[n]),B=(0,r.useMemo)((function(){return(0,s.Vl)(n)}),[n]),U=(0,r.useMemo)((function(){return"function"==typeof P?P:k}),[P]),W=(0,r.useMemo)((function(){return"function"==typeof T?T:k}),[T]),z=(0,r.useRef)(null),G=(0,r.useRef)(null),Y=h((0,r.useReducer)(S,E),2),q=Y[0],V=Y[1],$=q.isFocused,K=q.isFileDialogActive,J=(0,r.useRef)("undefined"!=typeof window&&window.isSecureContext&&C&&(0,s.vQ)()),X=function(){!J.current&&K&&setTimeout((function(){G.current&&(G.current.files.length||(V({type:"closeDialog"}),W()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",X,!1),function(){window.removeEventListener("focus",X,!1)}}),[G,K,W,J]);var Q=(0,r.useRef)([]),Z=function(e){z.current&&z.current.contains(e.target)||(e.preventDefault(),Q.current=[])};(0,r.useEffect)((function(){return D&&(document.addEventListener("dragover",s.rr,!1),document.addEventListener("drop",Z,!1)),function(){D&&(document.removeEventListener("dragover",s.rr),document.removeEventListener("drop",Z))}}),[z,D]),(0,r.useEffect)((function(){return!o&&_&&z.current&&z.current.focus(),function(){}}),[z,_,o]);var ee=(0,r.useCallback)((function(e){L?L(e):console.error(e)}),[L]),te=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),he(e),Q.current=[].concat(p(Q.current),[e.target]),(0,s.t)(e)&&Promise.resolve(i(e)).then((function(t){if(!(0,s.Qk)(e)||M){var n=t.length,r=n>0&&(0,s.gs)({files:t,accept:H,minSize:c,maxSize:a,multiple:u,maxFiles:l,validator:F});V({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),m&&m(e)}})).catch((function(e){return ee(e)}))}),[i,m,ee,M,H,c,a,u,l,F]),ne=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),he(e);var t=(0,s.t)(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&y&&y(e),!1}),[y,M]),re=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),he(e);var t=Q.current.filter((function(e){return z.current&&z.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),Q.current=t,t.length>0||(V({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),(0,s.t)(e)&&v&&v(e))}),[z,v,M]),oe=(0,r.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=h((0,s.WR)(e,H),2),o=t[0],i=t[1],u=h((0,s.Hz)(e,c,a),2),l=u[0],f=u[1],d=F?F(e):null;if(o&&l&&!d)n.push(e);else{var p=[i,f];d&&(p=p.concat(d)),r.push({file:e,errors:p.filter((function(e){return e}))})}})),(!u&&n.length>1||u&&l>=1&&n.length>l)&&(n.forEach((function(e){r.push({file:e,errors:[s.Ri]})})),n.splice(0)),V({acceptedFiles:n,fileRejections:r,type:"setFiles"}),x&&x(n,r,t),r.length>0&&j&&j(r,t),n.length>0&&O&&O(n,t)}),[V,u,H,c,a,l,x,O,j,F]),ie=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),he(e),Q.current=[],(0,s.t)(e)&&Promise.resolve(i(e)).then((function(t){(0,s.Qk)(e)&&!M||oe(t,e)})).catch((function(e){return ee(e)})),V({type:"reset"})}),[i,oe,ee,M]),ae=(0,r.useCallback)((function(){if(J.current){V({type:"openDialog"}),U();var e={multiple:u,types:B};window.showOpenFilePicker(e).then((function(e){return i(e)})).then((function(e){oe(e,null),V({type:"closeDialog"})})).catch((function(e){(0,s.rV)(e)?(W(e),V({type:"closeDialog"})):(0,s.v2)(e)?(J.current=!1,G.current?(G.current.value=null,G.current.click()):ee(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):ee(e)}))}else G.current&&(V({type:"openDialog"}),U(),G.current.value=null,G.current.click())}),[V,U,W,C,oe,ee,B,u]),ce=(0,r.useCallback)((function(e){z.current&&z.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),ae()))}),[z,ae]),se=(0,r.useCallback)((function(){V({type:"focus"})}),[]),ue=(0,r.useCallback)((function(){V({type:"blur"})}),[]),le=(0,r.useCallback)((function(){R||((0,s.lP)()?setTimeout(ae,0):ae())}),[R,ae]),fe=function(e){return o?null:e},de=function(e){return N?null:fe(e)},pe=function(e){return I?null:fe(e)},he=function(e){M&&e.stopPropagation()},me=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,i=e.onKeyDown,a=e.onFocus,c=e.onBlur,u=e.onClick,l=e.onDragEnter,d=e.onDragOver,p=e.onDragLeave,h=e.onDrop,m=w(e,f);return g(g(b({onKeyDown:de((0,s.mK)(i,ce)),onFocus:de((0,s.mK)(a,se)),onBlur:de((0,s.mK)(c,ue)),onClick:fe((0,s.mK)(u,le)),onDragEnter:pe((0,s.mK)(l,te)),onDragOver:pe((0,s.mK)(d,ne)),onDragLeave:pe((0,s.mK)(p,re)),onDrop:pe((0,s.mK)(h,ie)),role:"string"==typeof r&&""!==r?r:"presentation"},n,z),o||N?{}:{tabIndex:0}),m)}}),[z,ce,se,ue,le,te,ne,re,ie,N,I,o]),ve=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),ye=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,o=e.onClick,i=w(e,d);return g(g({},b({accept:H,multiple:u,type:"file",style:{display:"none"},onChange:fe((0,s.mK)(r,ie)),onClick:fe((0,s.mK)(o,ve)),tabIndex:-1},n,G)),i)}}),[G,n,u,ie,o]);return g(g({},q),{},{isFocused:$&&!o,getRootProps:me,getInputProps:ye,rootRef:z,inputRef:G,open:fe(ae)})}(w(e,u)),a=i.open,c=w(i,l);return(0,r.useImperativeHandle)(t,(function(){return{open:a}}),[a]),o().createElement(r.Fragment,null,n(g(g({},c),{},{open:a})))}));x.displayName="Dropzone";var A={disabled:!1,getFilesFromEvent:c.R,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};x.defaultProps=A,x.propTypes={children:a().func,accept:a().objectOf(a().arrayOf(a().string)),multiple:a().bool,preventDropOnDocument:a().bool,noClick:a().bool,noKeyboard:a().bool,noDrag:a().bool,noDragEventsBubbling:a().bool,minSize:a().number,maxSize:a().number,maxFiles:a().number,disabled:a().bool,getFilesFromEvent:a().func,onFileDialogCancel:a().func,onFileDialogOpen:a().func,useFsAccessApi:a().bool,autoFocus:a().bool,onDragEnter:a().func,onDragLeave:a().func,onDragOver:a().func,onDrop:a().func,onDropAccepted:a().func,onDropRejected:a().func,onError:a().func,validator:a().func};const O=x;var E={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function S(e,t){switch(t.type){case"focus":return g(g({},e),{},{isFocused:!0});case"blur":return g(g({},e),{},{isFocused:!1});case"openDialog":return g(g({},E),{},{isFileDialogActive:!0});case"closeDialog":return g(g({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return g(g({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return g(g({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return g({},E);default:return e}}function k(){}},75860:(e,t,n)=>{"use strict";n.d(t,{DG:()=>C,Hz:()=>w,Qk:()=>O,Ri:()=>g,Vl:()=>P,WR:()=>b,gs:()=>A,lP:()=>k,mK:()=>j,rV:()=>_,rr:()=>S,t:()=>E,v2:()=>D,vQ:()=>T});var r=n(9455);function o(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f="file-invalid-type",d="file-too-large",p="file-too-small",h="too-many-files",m=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:f,message:"File type must be ".concat(t)}},v=function(e){return{code:d,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},y=function(e){return{code:p,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},g={code:h,message:"Too many files"};function b(e,t){var n="application/x-moz-file"===e.type||(0,r.A)(e,t);return[n,n?null:m(t)]}function w(e,t,n){if(x(e.size))if(x(t)&&x(n)){if(e.size>n)return[!1,v(n)];if(e.size<t)return[!1,y(t)]}else{if(x(t)&&e.size<t)return[!1,y(t)];if(x(n)&&e.size>n)return[!1,v(n)]}return[!0,null]}function x(e){return null!=e}function A(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles,c=e.validator;return!(!i&&t.length>1||i&&a>=1&&t.length>a)&&t.every((function(e){var t=s(b(e,n),1)[0],i=s(w(e,r,o),1)[0],a=c?c(e):null;return t&&i&&!a}))}function O(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function E(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function S(e){e.preventDefault()}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}function j(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return!O(e)&&t&&t.apply(void 0,[e].concat(r)),O(e)}))}}function T(){return"showOpenFilePicker"in window}function P(e){return x(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=s(e,2),n=t[0],r=t[1],o=!0;return R(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(N)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=s(t,2),r=n[0],o=n[1];return a(a({},e),{},c({},r,o))}),{})}]:e}function C(e){if(x(e))return Object.entries(e).reduce((function(e,t){var n=s(t,2),r=n[0],i=n[1];return[].concat(o(e),[r],o(i))}),[]).filter((function(e){return R(e)||N(e)})).join(",")}function _(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}function D(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}function R(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function N(e){return/^.*\.[\w]+$/.test(e)}},4883:e=>{"use strict";e.exports=t},81845:t=>{"use strict";t.exports=e},22847:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},56868:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},37372:(e,t,n)=>{"use strict";var r=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,c=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of a(t))!s.call(e,c)&&c!==n&&o(e,c,{get:()=>t[c],enumerable:!(r=i(t,c))||r.enumerable});return e},l=(e,t,n)=>(n=null!=e?r(c(e)):{},u(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),f={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(f,{Provider:()=>be,ReactReduxContext:()=>g,batch:()=>Ee,connect:()=>ge,createDispatchHook:()=>Ae,createSelectorHook:()=>E,createStoreHook:()=>we,shallowEqual:()=>te,useDispatch:()=>Oe,useSelector:()=>S,useStore:()=>xe}),e.exports=(e=>u(o({},"__esModule",{value:!0}),e))(f);var d=l(n(4883)),p=n(78418),h=l(n(4883)),m="default"in h?h.default:h,v=Symbol.for("react-redux-context"),y=typeof globalThis<"u"?globalThis:{};var g=function(){if(!m.createContext)return{};let e=y[v]??(y[v]=new Map),t=e.get(m.createContext);return t||(t=m.createContext(null),e.set(m.createContext,t)),t}(),b=()=>{throw new Error("uSES not initialized!")};function w(e=g){return function(){return m.useContext(e)}}var x=w(),A=b,O=(e,t)=>e===t;function E(e=g){let t=e===g?x:w(e),n=(e,n={})=>{let{equalityFn:r=O,devModeChecks:o={}}="function"==typeof n?{equalityFn:n}:n,{store:i,subscription:a,getServerState:c,stabilityCheck:s,identityFunctionCheck:u}=t(),l=(m.useRef(!0),m.useCallback({[e.name]:t=>e(t)}[e.name],[e,s,o.stabilityCheck])),f=A(a.addNestedSub,i.getState,c||i.getState,l,r);return m.useDebugValue(f),f};return Object.assign(n,{withTypes:()=>n}),n}var S=E(),k=Symbol.for("react.element"),j=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),D=Symbol.for("react.context"),R=Symbol.for("react.server_context"),N=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),H=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),N),B=L;function U(e){return function(e){if("object"==typeof e&&null!==e){let t=e.$$typeof;switch(t){case k:{let n=e.type;switch(n){case T:case C:case P:case I:case M:return n;default:{let e=n&&n.$$typeof;switch(e){case R:case D:case N:case F:case L:case _:return e;default:return t}}}}case j:return t}}}(e)===L}function W(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let c,s,u,l,f,d=!1;function p(d,p){let h=!i(p,s),m=!o(d,c,p,s);return c=d,s=p,h&&m?(u=e(c,s),t.dependsOnOwnProps&&(l=t(r,s)),f=n(u,l,s),f):h?(e.dependsOnOwnProps&&(u=e(c,s)),t.dependsOnOwnProps&&(l=t(r,s)),f=n(u,l,s),f):m?function(){let t=e(c,s),r=!a(t,u);return u=t,r&&(f=n(u,l,s)),f}():f}return function(o,i){return d?p(o,i):function(o,i){return c=o,s=i,u=e(c,s),l=t(r,s),f=n(u,l,s),d=!0,f}(o,i)}}function z(e){return function(t){let n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function G(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function Y(e,t){return function(t,{displayName:n}){let r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=G(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=G(o),o=r(t,n)),o},r}}function q(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function V(e,t,n){return{...n,...e,...t}}function $(e){e()}var K={notify(){},get:()=>[]};function J(e,t){let n,r=K,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function c(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){$((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!r||null===e||(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=K)}let u={addNestedSub:function(e){c();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,c())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:()=>r};return u}var X=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Q=typeof navigator<"u"&&"ReactNative"===navigator.product,Z=X||Q?m.useLayoutEffect:m.useEffect;function ee(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function te(e,t){if(ee(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!ee(e[n[r]],t[n[r]]))return!1;return!0}var ne={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},re={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},oe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ie={[H]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[B]:oe};function ae(e){return U(e)?oe:ie[e.$$typeof]||ne}var ce=Object.defineProperty,se=Object.getOwnPropertyNames,ue=Object.getOwnPropertySymbols,le=Object.getOwnPropertyDescriptor,fe=Object.getPrototypeOf,de=Object.prototype;function pe(e,t){if("string"!=typeof t){if(de){let n=fe(t);n&&n!==de&&pe(e,n)}let n=se(t);ue&&(n=n.concat(ue(t)));let r=ae(e),o=ae(t);for(let i=0;i<n.length;++i){let a=n[i];if(!(re[a]||o&&o[a]||r&&r[a])){let n=le(t,a);try{ce(e,a,n)}catch{}}}}return e}var he=b,me=[null,null];function ve(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function ye(e,t){return e===t}var ge=function(e,t,n,{pure:r,areStatesEqual:o=ye,areOwnPropsEqual:i=te,areStatePropsEqual:a=te,areMergedPropsEqual:c=te,forwardRef:s=!1,context:u=g}={}){let l=u,f=function(e){return e?"function"==typeof e?Y(e):q(e,"mapStateToProps"):z((()=>({})))}(e),d=function(e){return e&&"object"==typeof e?z((t=>function(e,t){let n={};for(let r in e){let o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?Y(e):q(e,"mapDispatchToProps"):z((e=>({dispatch:e})))}(t),p=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){let c=e(t,n,a);return i?r(c,o)||(o=c):(i=!0,o=c),o}}}(e):q(e,"mergeProps"):()=>V}(n),h=!!e;return e=>{let t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:h,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:f,initMapDispatchToProps:d,initMergeProps:p,areStatesEqual:o,areStatePropsEqual:a,areOwnPropsEqual:i,areMergedPropsEqual:c};function u(t){let[n,o,i]=m.useMemo((()=>{let{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),a=m.useMemo((()=>l),[n,l]),c=m.useContext(a),s=!!t.store&&!!t.store.getState&&!!t.store.dispatch,u=!!c&&!!c.store,f=s?t.store:c.store,d=u?c.getServerState:f.getState,p=m.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return W(t(e,o),n(e,o),r(e,o),e,o)}(f.dispatch,r)),[f]),[v,y]=m.useMemo((()=>{if(!h)return me;let e=J(f,s?void 0:c.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[f,s,c]),g=m.useMemo((()=>s?c:{...c,subscription:v}),[s,c,v]),b=m.useRef(void 0),w=m.useRef(i),x=m.useRef(void 0),A=m.useRef(!1),O=m.useRef(!1),E=m.useRef(void 0);Z((()=>(O.current=!0,()=>{O.current=!1})),[]);let S,k=m.useMemo((()=>()=>x.current&&i===w.current?x.current:p(f.getState(),i)),[f,i]),j=m.useMemo((()=>e=>v?function(e,t,n,r,o,i,a,c,s,u,l){if(!e)return()=>{};let f=!1,d=null,p=()=>{if(f||!c.current)return;let e,n,p=t.getState();try{e=r(p,o.current)}catch(e){n=e,d=e}n||(d=null),e===i.current?a.current||u():(i.current=e,s.current=e,a.current=!0,l())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}(h,f,v,p,w,b,A,O,x,y,e):()=>{}),[v]);!function(e,t,n){Z((()=>e(...t)),n)}(ve,[w,b,A,i,x,y]);try{S=he(j,k,d?()=>p(d(),i):k)}catch(e){throw E.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${E.current.stack}\n\n`),e}Z((()=>{E.current=void 0,x.current=void 0,b.current=S}));let T=m.useMemo((()=>m.createElement(e,{...S,ref:o})),[o,e,S]);return m.useMemo((()=>h?m.createElement(a.Provider,{value:g},T):T),[a,T,g])}let v=m.memo(u);if(v.WrappedComponent=e,v.displayName=u.displayName=n,s){let t=m.forwardRef((function(e,t){return m.createElement(v,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,pe(t,e)}return pe(v,e)}};var be=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:i="once"}){let a=m.useMemo((()=>{let t=J(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:i}}),[e,r,o,i]),c=m.useMemo((()=>e.getState()),[e]);return Z((()=>{let{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),c!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,c]),m.createElement((t||g).Provider,{value:a},n)};function we(e=g){let t=e===g?x:w(e),n=()=>{let{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var xe=we();function Ae(e=g){let t=e===g?xe:we(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Oe=Ae(),Ee=$;(e=>{A=e})(p.useSyncExternalStoreWithSelector),(e=>{he=e})(d.useSyncExternalStore)},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},98587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},7230:(e,t,n)=>{"use strict";n.d(t,{LU:()=>s,MS:()=>r,Sv:()=>l,XZ:()=>c,YK:()=>a,j:()=>i,vd:()=>o,yE:()=>u});var r="-ms-",o="-moz-",i="-webkit-",a="comm",c="rule",s="decl",u="@import",l="@keyframes"},35095:(e,t,n)=>{"use strict";n.d(t,{MY:()=>i,r1:()=>o});var r=n(30735);function o(e){var t=(0,r.FK)(e);return function(n,r,o,i){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,i)||"";return a}}function i(e){return function(t){t.root||(t=t.return)&&e(t)}}},27292:(e,t,n)=>{"use strict";n.d(t,{wE:()=>a});var r=n(7230),o=n(30735),i=n(65070);function a(e){return(0,i.VF)(c("",null,null,null,[""],e=(0,i.c4)(e),0,[0],e))}function c(e,t,n,r,a,f,d,p,h){for(var m=0,v=0,y=d,g=0,b=0,w=0,x=1,A=1,O=1,E=0,S="",k=a,j=f,T=r,P=S;A;)switch(w=E,E=(0,i.K2)()){case 40:if(108!=w&&58==(0,o.wN)(P,y-1)){-1!=(0,o.K5)(P+=(0,o.HC)((0,i.Tb)(E),"&","&\f"),"&\f")&&(O=-1);break}case 34:case 39:case 91:P+=(0,i.Tb)(E);break;case 9:case 10:case 13:case 32:P+=(0,i.mw)(w);break;case 92:P+=(0,i.Nc)((0,i.OW)()-1,7);continue;case 47:switch((0,i.se)()){case 42:case 47:(0,o.BC)(u((0,i.nf)((0,i.K2)(),(0,i.OW)()),t,n),h);break;default:P+="/"}break;case 123*x:p[m++]=(0,o.b2)(P)*O;case 125*x:case 59:case 0:switch(E){case 0:case 125:A=0;case 59+v:b>0&&(0,o.b2)(P)-y&&(0,o.BC)(b>32?l(P+";",r,n,y-1):l((0,o.HC)(P," ","")+";",r,n,y-2),h);break;case 59:P+=";";default:if((0,o.BC)(T=s(P,t,n,m,v,a,p,S,k=[],j=[],y),f),123===E)if(0===v)c(P,t,T,T,k,f,y,p,j);else switch(99===g&&110===(0,o.wN)(P,3)?100:g){case 100:case 109:case 115:c(e,T,T,r&&(0,o.BC)(s(e,T,T,0,0,a,p,S,a,k=[],y),j),a,j,y,p,r?k:j);break;default:c(P,T,T,T,[""],j,0,p,j)}}m=v=b=0,x=O=1,S=P="",y=d;break;case 58:y=1+(0,o.b2)(P),b=w;default:if(x<1)if(123==E)--x;else if(125==E&&0==x++&&125==(0,i.YL)())continue;switch(P+=(0,o.HT)(E),E*x){case 38:O=v>0?1:(P+="\f",-1);break;case 44:p[m++]=((0,o.b2)(P)-1)*O,O=1;break;case 64:45===(0,i.se)()&&(P+=(0,i.Tb)((0,i.K2)())),g=(0,i.se)(),v=y=(0,o.b2)(S=P+=(0,i.Cv)((0,i.OW)())),E++;break;case 45:45===w&&2==(0,o.b2)(P)&&(x=0)}}return f}function s(e,t,n,a,c,s,u,l,f,d,p){for(var h=c-1,m=0===c?s:[""],v=(0,o.FK)(m),y=0,g=0,b=0;y<a;++y)for(var w=0,x=(0,o.c1)(e,h+1,h=(0,o.tn)(g=u[y])),A=e;w<v;++w)(A=(0,o.Bq)(g>0?m[w]+" "+x:(0,o.HC)(x,/&\f/g,m[w])))&&(f[b++]=A);return(0,i.rH)(e,t,n,0===c?r.XZ:l,f,d,p)}function u(e,t,n){return(0,i.rH)(e,t,n,r.YK,(0,o.HT)((0,i.Tp)()),(0,o.c1)(e,2,-2),0)}function l(e,t,n,a){return(0,i.rH)(e,t,n,r.LU,(0,o.c1)(e,0,a),(0,o.c1)(e,a+1,-1),a)}},97467:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,l:()=>i});var r=n(7230),o=n(30735);function i(e,t){for(var n="",r=(0,o.FK)(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.yE:case r.LU:return e.return=e.return||e.value;case r.YK:return"";case r.Sv:return e.return=e.value+"{"+i(e.children,a)+"}";case r.XZ:e.value=e.props.join(",")}return(0,o.b2)(n=i(e.children,a))?e.return=e.value+"{"+n+"}":""}},65070:(e,t,n)=>{"use strict";n.d(t,{C:()=>f,Cv:()=>k,G1:()=>c,K2:()=>h,Nc:()=>O,OW:()=>v,Sh:()=>g,Tb:()=>x,Tp:()=>d,VF:()=>w,YL:()=>p,c4:()=>b,di:()=>y,mw:()=>A,nf:()=>S,rH:()=>l,se:()=>m});var r=n(30735),o=1,i=1,a=0,c=0,s=0,u="";function l(e,t,n,r,a,c,s){return{value:e,root:t,parent:n,type:r,props:a,children:c,line:o,column:i,length:s,return:""}}function f(e,t){return(0,r.kp)(l("",null,null,"",null,null,0),e,{length:-e.length},t)}function d(){return s}function p(){return s=c>0?(0,r.wN)(u,--c):0,i--,10===s&&(i=1,o--),s}function h(){return s=c<a?(0,r.wN)(u,c++):0,i++,10===s&&(i=1,o++),s}function m(){return(0,r.wN)(u,c)}function v(){return c}function y(e,t){return(0,r.c1)(u,e,t)}function g(e){switch(e){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 b(e){return o=i=1,a=(0,r.b2)(u=e),c=0,[]}function w(e){return u="",e}function x(e){return(0,r.Bq)(y(c-1,E(91===e?e+2:40===e?e+1:e)))}function A(e){for(;(s=m())&&s<33;)h();return g(e)>2||g(s)>3?"":" "}function O(e,t){for(;--t&&h()&&!(s<48||s>102||s>57&&s<65||s>70&&s<97););return y(e,v()+(t<6&&32==m()&&32==h()))}function E(e){for(;h();)switch(s){case e:return c;case 34:case 39:34!==e&&39!==e&&E(s);break;case 40:41===e&&E(e);break;case 92:h()}return c}function S(e,t){for(;h()&&e+s!==57&&(e+s!==84||47!==m()););return"/*"+y(t,c-1)+"*"+(0,r.HT)(47===e?e:h())}function k(e){for(;!g(m());)h();return y(e,c)}},30735:(e,t,n)=>{"use strict";n.d(t,{BC:()=>m,Bq:()=>c,FK:()=>h,HC:()=>u,HT:()=>o,K5:()=>l,YW:()=>s,b2:()=>p,c1:()=>d,kg:()=>v,kp:()=>i,tW:()=>a,tn:()=>r,wN:()=>f});var r=Math.abs,o=String.fromCharCode,i=Object.assign;function a(e,t){return 45^f(e,0)?(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3):0}function c(e){return e.trim()}function s(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function p(e){return e.length}function h(e){return e.length}function m(e,t){return t.push(e),e}function v(e,t){return e.map(t).join("")}},95361:(e,t,n)=>{"use strict";n.d(t,{BN:()=>v,ER:()=>y,Ej:()=>g,RK:()=>s,UE:()=>c,UU:()=>u,__:()=>a,cY:()=>m,jD:()=>d,mG:()=>h,rD:()=>i});var r=n(22386);function o(e,t,n){let{reference:o,floating:i}=e;const a=(0,r.TV)(t),c=(0,r.Dz)(t),s=(0,r.sq)(c),u=(0,r.C0)(t),l="y"===a,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;let h;switch(u){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:d};break;case"left":h={x:o.x-i.width,y:d};break;default:h={x:o.x,y:o.y}}switch((0,r.Sg)(t)){case"start":h[c]-=p*(n&&l?-1:1);break;case"end":h[c]+=p*(n&&l?-1:1)}return h}const i=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:c}=n,s=a.filter(Boolean),u=await(null==c.isRTL?void 0:c.isRTL(t));let l=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:d}=o(l,r,u),p=r,h={},m=0;for(let n=0;n<s.length;n++){const{name:a,fn:v}=s[n],{x:y,y:g,data:b,reset:w}=await v({x:f,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:h,rects:l,platform:c,elements:{reference:e,floating:t}});f=null!=y?y:f,d=null!=g?g:d,h={...h,[a]:{...h[a],...b}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(l=!0===w.rects?await c.getElementRects({reference:e,floating:t,strategy:i}):w.rects),({x:f,y:d}=o(l,p,u))),n=-1)}return{x:f,y:d,placement:p,strategy:i,middlewareData:h}};async function a(e,t){var n;void 0===t&&(t={});const{x:o,y:i,platform:a,rects:c,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=(0,r._3)(t,e),m=(0,r.nI)(h),v=s[p?"floating"===d?"reference":"floating":d],y=(0,r.B1)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(v)))||n?v:v.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:u})),g="floating"===d?{...c.floating,x:o,y:i}:c.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),w=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},x=(0,r.B1)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:b,strategy:u}):g);return{top:(y.top-x.top+m.top)/w.y,bottom:(x.bottom-y.bottom+m.bottom)/w.y,left:(y.left-x.left+m.left)/w.x,right:(x.right-y.right+m.right)/w.x}}const c=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:a,platform:c,elements:s,middlewareData:u}=t,{element:l,padding:f=0}=(0,r._3)(e,t)||{};if(null==l)return{};const d=(0,r.nI)(f),p={x:n,y:o},h=(0,r.Dz)(i),m=(0,r.sq)(h),v=await c.getDimensions(l),y="y"===h,g=y?"top":"left",b=y?"bottom":"right",w=y?"clientHeight":"clientWidth",x=a.reference[m]+a.reference[h]-p[h]-a.floating[m],A=p[h]-a.reference[h],O=await(null==c.getOffsetParent?void 0:c.getOffsetParent(l));let E=O?O[w]:0;E&&await(null==c.isElement?void 0:c.isElement(O))||(E=s.floating[w]||a.floating[m]);const S=x/2-A/2,k=E/2-v[m]/2-1,j=(0,r.jk)(d[g],k),T=(0,r.jk)(d[b],k),P=j,C=E-v[m]-T,_=E/2-v[m]/2+S,D=(0,r.qE)(P,_,C),R=!u.arrow&&null!=(0,r.Sg)(i)&&_!==D&&a.reference[m]/2-(_<P?j:T)-v[m]/2<0,N=R?_<P?_-P:_-C:0;return{[h]:p[h]+N,data:{[h]:D,centerOffset:_-D-N,...R&&{alignmentOffset:N}},reset:R}}});const s=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,i;const{rects:c,middlewareData:s,placement:u,platform:l,elements:f}=t,{crossAxis:d=!1,alignment:p,allowedPlacements:h=r.DD,autoAlignment:m=!0,...v}=(0,r._3)(e,t),y=void 0!==p||h===r.DD?function(e,t,n){return(e?[...n.filter((t=>(0,r.Sg)(t)===e)),...n.filter((t=>(0,r.Sg)(t)!==e))]:n.filter((e=>(0,r.C0)(e)===e))).filter((n=>!e||(0,r.Sg)(n)===e||!!t&&(0,r.aD)(n)!==n))}(p||null,m,h):h,g=await a(t,v),b=(null==(n=s.autoPlacement)?void 0:n.index)||0,w=y[b];if(null==w)return{};const x=(0,r.w7)(w,c,await(null==l.isRTL?void 0:l.isRTL(f.floating)));if(u!==w)return{reset:{placement:y[0]}};const A=[g[(0,r.C0)(w)],g[x[0]],g[x[1]]],O=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:w,overflows:A}],E=y[b+1];if(E)return{data:{index:b+1,overflows:O},reset:{placement:E}};const S=O.map((e=>{const t=(0,r.Sg)(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),k=(null==(i=S.filter((e=>e[2].slice(0,(0,r.Sg)(e[0])?2:3).every((e=>e<=0))))[0])?void 0:i[0])||S[0][0];return k!==u?{data:{index:b+1,overflows:O},reset:{placement:k}}:{}}}},u=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:c,rects:s,initialPlacement:u,platform:l,elements:f}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...g}=(0,r._3)(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};const b=(0,r.C0)(i),w=(0,r.C0)(u)===u,x=await(null==l.isRTL?void 0:l.isRTL(f.floating)),A=h||(w||!y?[(0,r.bV)(u)]:(0,r.WJ)(u));h||"none"===v||A.push(...(0,r.lP)(u,y,v,x));const O=[u,...A],E=await a(t,g),S=[];let k=(null==(o=c.flip)?void 0:o.overflows)||[];if(d&&S.push(E[b]),p){const e=(0,r.w7)(i,s,x);S.push(E[e[0]],E[e[1]])}if(k=[...k,{placement:i,overflows:S}],!S.every((e=>e<=0))){var j,T;const e=((null==(j=c.flip)?void 0:j.index)||0)+1,t=O[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(T=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:T.placement;if(!n)switch(m){case"bestFit":{var P;const e=null==(P=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(n=e);break}case"initialPlacement":n=u}if(i!==n)return{reset:{placement:n}}}return{}}}};function l(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function f(e){return r.r_.some((t=>e[t]>=0))}const d=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...i}=(0,r._3)(e,t);switch(o){case"referenceHidden":{const e=l(await a(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:f(e)}}}case"escaped":{const e=l(await a(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:f(e)}}}default:return{}}}}};function p(e){const t=(0,r.jk)(...e.map((e=>e.left))),n=(0,r.jk)(...e.map((e=>e.top)));return{x:t,y:n,width:(0,r.T9)(...e.map((e=>e.right)))-t,height:(0,r.T9)(...e.map((e=>e.bottom)))-n}}const h=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:o,rects:i,platform:a,strategy:c}=t,{padding:s=2,x:u,y:l}=(0,r._3)(e,t),f=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(o.reference))||[]),d=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let o=null;for(let e=0;e<t.length;e++){const r=t[e];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((e=>(0,r.B1)(p(e))))}(f),h=(0,r.B1)(p(f)),m=(0,r.nI)(s);const v=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=u&&null!=l)return d.find((e=>u>e.left-m.left&&u<e.right+m.right&&l>e.top-m.top&&l<e.bottom+m.bottom))||h;if(d.length>=2){if("y"===(0,r.TV)(n)){const e=d[0],t=d[d.length-1],o="top"===(0,r.C0)(n),i=e.top,a=t.bottom,c=o?e.left:t.left,s=o?e.right:t.right;return{top:i,bottom:a,left:c,right:s,width:s-c,height:a-i,x:c,y:i}}const e="left"===(0,r.C0)(n),t=(0,r.T9)(...d.map((e=>e.right))),o=(0,r.jk)(...d.map((e=>e.left))),i=d.filter((n=>e?n.left===o:n.right===t)),a=i[0].top,c=i[i.length-1].bottom;return{top:a,bottom:c,left:o,right:t,width:t-o,height:c-a,x:o,y:a}}return h}},floating:o.floating,strategy:c});return i.reference.x!==v.reference.x||i.reference.y!==v.reference.y||i.reference.width!==v.reference.width||i.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}};const m=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:a,placement:c,middlewareData:s}=t,u=await async function(e,t){const{placement:n,platform:o,elements:i}=e,a=await(null==o.isRTL?void 0:o.isRTL(i.floating)),c=(0,r.C0)(n),s=(0,r.Sg)(n),u="y"===(0,r.TV)(n),l=["left","top"].includes(c)?-1:1,f=a&&u?-1:1,d=(0,r._3)(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof m&&(h="end"===s?-1*m:m),u?{x:h*f,y:p*l}:{x:p*l,y:h*f}}(t,e);return c===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:c}}}}},v=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:c=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=(0,r._3)(e,t),f={x:n,y:o},d=await a(t,l),p=(0,r.TV)((0,r.C0)(i)),h=(0,r.PG)(p);let m=f[h],v=f[p];if(c){const e="y"===h?"bottom":"right",t=m+d["y"===h?"top":"left"],n=m-d[e];m=(0,r.qE)(t,m,n)}if(s){const e="y"===p?"bottom":"right",t=v+d["y"===p?"top":"left"],n=v-d[e];v=(0,r.qE)(t,v,n)}const y=u.fn({...t,[h]:m,[p]:v});return{...y,data:{x:y.x-n,y:y.y-o}}}}},y=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:i,rects:a,middlewareData:c}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=(0,r._3)(e,t),f={x:n,y:o},d=(0,r.TV)(i),p=(0,r.PG)(d);let h=f[p],m=f[d];const v=(0,r._3)(s,t),y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+y.mainAxis,n=a.reference[p]+a.reference[e]-y.mainAxis;h<t?h=t:h>n&&(h=n)}if(l){var g,b;const e="y"===p?"width":"height",t=["top","left"].includes((0,r.C0)(i)),n=a.reference[d]-a.floating[e]+(t&&(null==(g=c.offset)?void 0:g[d])||0)+(t?0:y.crossAxis),o=a.reference[d]+a.reference[e]+(t?0:(null==(b=c.offset)?void 0:b[d])||0)-(t?y.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[p]:h,[d]:m}}}},g=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:i,elements:c}=t,{apply:s=(()=>{}),...u}=(0,r._3)(e,t),l=await a(t,u),f=(0,r.C0)(n),d=(0,r.Sg)(n),p="y"===(0,r.TV)(n),{width:h,height:m}=o.floating;let v,y;"top"===f||"bottom"===f?(v=f,y=d===(await(null==i.isRTL?void 0:i.isRTL(c.floating))?"start":"end")?"left":"right"):(y=f,v="end"===d?"top":"bottom");const g=m-l[v],b=h-l[y],w=!t.middlewareData.shift;let x=g,A=b;if(p){const e=h-l.left-l.right;A=d||w?(0,r.jk)(b,e):e}else{const e=m-l.top-l.bottom;x=d||w?(0,r.jk)(g,e):e}if(w&&!d){const e=(0,r.T9)(l.left,0),t=(0,r.T9)(l.right,0),n=(0,r.T9)(l.top,0),o=(0,r.T9)(l.bottom,0);p?A=h-2*(0!==e||0!==t?e+t:(0,r.T9)(l.left,l.right)):x=m-2*(0!==n||0!==o?n+o:(0,r.T9)(l.top,l.bottom))}await s({...t,availableWidth:A,availableHeight:x});const O=await i.getDimensions(c.floating);return h!==O.width||m!==O.height?{reset:{rects:!0}}:{}}}}},22386:(e,t,n)=>{"use strict";n.d(t,{B1:()=>E,C0:()=>d,DD:()=>i,Dz:()=>y,PG:()=>h,Sg:()=>p,T9:()=>c,TV:()=>v,WJ:()=>b,_3:()=>f,aD:()=>w,bV:()=>A,jk:()=>a,lP:()=>x,nI:()=>O,qE:()=>l,r_:()=>r,sq:()=>m,w7:()=>g});const r=["top","right","bottom","left"],o=["start","end"],i=r.reduce(((e,t)=>e.concat(t,t+"-"+o[0],t+"-"+o[1])),[]),a=Math.min,c=Math.max,s=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),u={start:"end",end:"start"};function l(e,t,n){return c(e,a(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(d(e))?"y":"x"}function y(e){return h(v(e))}function g(e,t,n){void 0===n&&(n=!1);const r=p(e),o=y(e),i=m(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=A(a)),[a,A(a)]}function b(e){const t=A(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,(e=>u[e]))}function x(e,t,n,r){const o=p(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(d(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(w)))),i}function A(e){return e.replace(/left|right|bottom|top/g,(e=>s[e]))}function O(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function E(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},18491:(e,t,n)=>{"use strict";n.d(t,{BN:()=>S,ER:()=>_,Ej:()=>j,RK:()=>E,UE:()=>P,UU:()=>k,__:()=>A,cY:()=>O,iD:()=>w,jD:()=>T,ll:()=>x,mG:()=>C,rD:()=>D});var r=n(22386),o=n(95361),i=n(62257),a=n(88963);function c(e){const t=(0,a.L9)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=(0,a.sb)(e),c=o?e.offsetWidth:n,s=o?e.offsetHeight:r,u=(0,i.LI)(n)!==c||(0,i.LI)(r)!==s;return u&&(n=c,r=s),{width:n,height:r,$:u}}function s(e){return(0,a.vq)(e)?e:e.contextElement}function u(e){const t=s(e);if(!(0,a.sb)(t))return(0,i.Jx)(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:u}=c(t);let l=(u?(0,i.LI)(n.width):n.width)/r,f=(u?(0,i.LI)(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),f&&Number.isFinite(f)||(f=1),{x:l,y:f}}const l=(0,i.Jx)(0);function f(e){const t=(0,a.zk)(e);return(0,a.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:l}function d(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const c=e.getBoundingClientRect(),l=s(e);let d=(0,i.Jx)(1);t&&(o?(0,a.vq)(o)&&(d=u(o)):d=u(e));const p=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,a.zk)(e))&&t}(l,n,o)?f(l):(0,i.Jx)(0);let h=(c.left+p.x)/d.x,m=(c.top+p.y)/d.y,v=c.width/d.x,y=c.height/d.y;if(l){const e=(0,a.zk)(l),t=o&&(0,a.vq)(o)?(0,a.zk)(o):o;let n=e,r=n.frameElement;for(;r&&o&&t!==n;){const e=u(r),t=r.getBoundingClientRect(),o=(0,a.L9)(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,c=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;h*=e.x,m*=e.y,v*=e.x,y*=e.y,h+=i,m+=c,n=(0,a.zk)(r),r=n.frameElement}}return(0,r.B1)({width:v,height:y,x:h,y:m})}function p(e){return d((0,a.ep)(e)).left+(0,a.CP)(e).scrollLeft}function h(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=(0,a.zk)(e),r=(0,a.ep)(e),o=n.visualViewport;let i=r.clientWidth,c=r.clientHeight,s=0,u=0;if(o){i=o.width,c=o.height;const e=(0,a.Tc)();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:c,x:s,y:u}}(e,n);else if("document"===t)o=function(e){const t=(0,a.ep)(e),n=(0,a.CP)(e),r=e.ownerDocument.body,o=(0,i.T9)(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),c=(0,i.T9)(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+p(e);const u=-n.scrollTop;return"rtl"===(0,a.L9)(r).direction&&(s+=(0,i.T9)(t.clientWidth,r.clientWidth)-o),{width:o,height:c,x:s,y:u}}((0,a.ep)(e));else if((0,a.vq)(t))o=function(e,t){const n=d(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,c=(0,a.sb)(e)?u(e):(0,i.Jx)(1);return{width:e.clientWidth*c.x,height:e.clientHeight*c.y,x:o*c.x,y:r*c.y}}(t,n);else{const n=f(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.B1)(o)}function m(e,t){const n=(0,a.$4)(e);return!(n===t||!(0,a.vq)(n)||(0,a.eu)(n))&&("fixed"===(0,a.L9)(n).position||m(n,t))}function v(e,t,n){const r=(0,a.sb)(t),o=(0,a.ep)(t),c="fixed"===n,s=d(e,!0,c,t);let u={scrollLeft:0,scrollTop:0};const l=(0,i.Jx)(0);if(r||!r&&!c)if(("body"!==(0,a.mq)(t)||(0,a.ZU)(o))&&(u=(0,a.CP)(t)),r){const e=d(t,!0,c,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=p(o));return{x:s.left+u.scrollLeft-l.x,y:s.top+u.scrollTop-l.y,width:s.width,height:s.height}}function y(e){return"static"===(0,a.L9)(e).position}function g(e,t){return(0,a.sb)(e)&&"fixed"!==(0,a.L9)(e).position?t?t(e):e.offsetParent:null}function b(e,t){const n=(0,a.zk)(e);if((0,a.Tf)(e))return n;if(!(0,a.sb)(e)){let t=(0,a.$4)(e);for(;t&&!(0,a.eu)(t);){if((0,a.vq)(t)&&!y(t))return t;t=(0,a.$4)(t)}return n}let r=g(e,t);for(;r&&(0,a.Lv)(r)&&y(r);)r=g(r,t);return r&&(0,a.eu)(r)&&y(r)&&!(0,a.sQ)(r)?n:r||(0,a.gJ)(e)||n}const w={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const c="fixed"===o,s=(0,a.ep)(r),l=!!t&&(0,a.Tf)(t.floating);if(r===s||l&&c)return n;let f={scrollLeft:0,scrollTop:0},p=(0,i.Jx)(1);const h=(0,i.Jx)(0),m=(0,a.sb)(r);if((m||!m&&!c)&&(("body"!==(0,a.mq)(r)||(0,a.ZU)(s))&&(f=(0,a.CP)(r)),(0,a.sb)(r))){const e=d(r);p=u(r),h.x=e.x+r.clientLeft,h.y=e.y+r.clientTop}return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-f.scrollLeft*p.x+h.x,y:n.y*p.y-f.scrollTop*p.y+h.y}},getDocumentElement:a.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const c=[..."clippingAncestors"===n?(0,a.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,a.v9)(e,[],!1).filter((e=>(0,a.vq)(e)&&"body"!==(0,a.mq)(e))),o=null;const i="fixed"===(0,a.L9)(e).position;let c=i?(0,a.$4)(e):e;for(;(0,a.vq)(c)&&!(0,a.eu)(c);){const t=(0,a.L9)(c),n=(0,a.sQ)(c);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||(0,a.ZU)(c)&&!n&&m(e,c))?r=r.filter((e=>e!==c)):o=t,c=(0,a.$4)(c)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=c[0],u=c.reduce(((e,n)=>{const r=h(t,n,o);return e.top=(0,i.T9)(r.top,e.top),e.right=(0,i.jk)(r.right,e.right),e.bottom=(0,i.jk)(r.bottom,e.bottom),e.left=(0,i.T9)(r.left,e.left),e}),h(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:b,getElementRects:async function(e){const t=this.getOffsetParent||b,n=this.getDimensions,r=await n(e.floating);return{reference:v(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=c(e);return{width:t,height:n}},getScale:u,isElement:a.vq,isRTL:function(e){return"rtl"===(0,a.L9)(e).direction}};function x(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,p=s(e),h=o||c?[...p?(0,a.v9)(p):[],...(0,a.v9)(t)]:[];h.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)}));const m=p&&l?function(e,t){let n,r=null;const o=(0,a.ep)(e);function c(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),c();const{left:l,top:f,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const h={rootMargin:-(0,i.RI)(f)+"px "+-(0,i.RI)(o.clientWidth-(l+d))+"px "+-(0,i.RI)(o.clientHeight-(f+p))+"px "+-(0,i.RI)(l)+"px",threshold:(0,i.T9)(0,(0,i.jk)(1,u))||1};let m=!0;function v(e){const t=e[0].intersectionRatio;if(t!==u){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}m=!1}try{r=new IntersectionObserver(v,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,h)}r.observe(e)}(!0),c}(p,n):null;let v,y=-1,g=null;u&&(g=new ResizeObserver((e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),n()})),p&&!f&&g.observe(p),g.observe(t));let b=f?d(e):null;return f&&function t(){const r=d(e);!b||r.x===b.x&&r.y===b.y&&r.width===b.width&&r.height===b.height||n();b=r,v=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach((e=>{o&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)})),null==m||m(),null==(e=g)||e.disconnect(),g=null,f&&cancelAnimationFrame(v)}}const A=o.__,O=o.cY,E=o.RK,S=o.BN,k=o.UU,j=o.Ej,T=o.jD,P=o.UE,C=o.mG,_=o.ER,D=(e,t,n)=>{const r=new Map,i={platform:w,...n},a={...i.platform,_c:r};return(0,o.rD)(e,t,{...i,platform:a})}},88963:(e,t,n)=>{"use strict";function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return e instanceof Node||e instanceof o(e).Node}function c(e){return e instanceof Element||e instanceof o(e).Element}function s(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function l(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function f(e){return["table","td","th"].includes(r(e))}function d(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function p(e){const t=m(),n=c(e)?y(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function h(e){let t=b(e);for(;s(t)&&!v(t);){if(p(t))return t;if(d(t))return null;t=b(t)}return null}function m(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function v(e){return["html","body","#document"].includes(r(e))}function y(e){return o(e).getComputedStyle(e)}function g(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function b(e){if("html"===r(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||i(e);return u(t)?t.host:t}function w(e){const t=b(e);return v(t)?e.ownerDocument?e.ownerDocument.body:e.body:s(t)&&l(t)?t:w(t)}function x(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=w(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),c=o(i);return a?t.concat(c,c.visualViewport||[],l(i)?i:[],c.frameElement&&n?x(c.frameElement):[]):t.concat(i,x(i,[],n))}n.d(t,{$4:()=>b,CP:()=>g,L9:()=>y,Lv:()=>f,Tc:()=>m,Tf:()=>d,ZU:()=>l,ep:()=>i,eu:()=>v,gJ:()=>h,mq:()=>r,sQ:()=>p,sb:()=>s,v9:()=>x,vq:()=>c,zk:()=>o})},62257:(e,t,n)=>{"use strict";n.d(t,{Jx:()=>c,LI:()=>i,RI:()=>a,T9:()=>o,jk:()=>r});const r=Math.min,o=Math.max,i=Math.round,a=Math.floor,c=e=>({x:e,y:e})},34743:(e,t,n)=>{"use strict";n.d(t,{BN:()=>h,ER:()=>m,Ej:()=>y,RK:()=>g,UE:()=>x,UU:()=>v,cY:()=>p,jD:()=>b,mG:()=>w,we:()=>f});var r=n(18491),o=n(4883),i=n(81845),a="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function c(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!c(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!c(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function s(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){const n=s(e);return Math.round(t*n)/n}function l(e){const t=o.useRef(e);return a((()=>{t.current=e})),t}function f(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:y}=e,[g,b]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=o.useState(f);c(w,f)||x(f);const[A,O]=o.useState(null),[E,S]=o.useState(null),k=o.useCallback((e=>{e!==C.current&&(C.current=e,O(e))}),[]),j=o.useCallback((e=>{e!==_.current&&(_.current=e,S(e))}),[]),T=p||A,P=h||E,C=o.useRef(null),_=o.useRef(null),D=o.useRef(g),R=null!=v,N=l(v),I=l(d),M=l(y),L=o.useCallback((()=>{if(!C.current||!_.current)return;const e={placement:t,strategy:n,middleware:w};I.current&&(e.platform=I.current),(0,r.rD)(C.current,_.current,e).then((e=>{const t={...e,isPositioned:!1!==M.current};F.current&&!c(D.current,t)&&(D.current=t,i.flushSync((()=>{b(t)})))}))}),[w,t,n,I,M]);a((()=>{!1===y&&D.current.isPositioned&&(D.current.isPositioned=!1,b((e=>({...e,isPositioned:!1}))))}),[y]);const F=o.useRef(!1);a((()=>(F.current=!0,()=>{F.current=!1})),[]),a((()=>{if(T&&(C.current=T),P&&(_.current=P),T&&P){if(N.current)return N.current(T,P,L);L()}}),[T,P,L,N,R]);const H=o.useMemo((()=>({reference:C,floating:_,setReference:k,setFloating:j})),[k,j]),B=o.useMemo((()=>({reference:T,floating:P})),[T,P]),U=o.useMemo((()=>{const e={position:n,left:0,top:0};if(!B.floating)return e;const t=u(B.floating,g.x),r=u(B.floating,g.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...s(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,m,B.floating,g.x,g.y]);return o.useMemo((()=>({...g,update:L,refs:H,elements:B,floatingStyles:U})),[g,L,H,B,U])}const d=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:o}="function"==typeof e?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(t):{}:n?(0,r.UE)({element:n,padding:o}).fn(t):{};var i}}),p=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),m=(e,t)=>({...(0,r.ER)(e),options:[e,t]}),v=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),y=(e,t)=>({...(0,r.Ej)(e),options:[e,t]}),g=(e,t)=>({...(0,r.RK)(e),options:[e,t]}),b=(e,t)=>({...(0,r.jD)(e),options:[e,t]}),w=(e,t)=>({...(0,r.mG)(e),options:[e,t]}),x=(e,t)=>({...d(e),options:[e,t]})},58689:(e,t,n)=>{"use strict";var r;n.d(t,{Mk:()=>M,XF:()=>J,bv:()=>le,ie:()=>k,kp:()=>te,s9:()=>ie,we:()=>ae});var o=n(4883),i=n(66984),a=n(86635),c=n(49054),s=n(81845),u=n(88963),l=n(34743);const f={...r||(r=n.t(o,2))},d=f.useInsertionEffect||(e=>e());function p(e){const t=o.useRef((()=>{0}));return d((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const h="ArrowUp",m="ArrowDown",v="ArrowLeft",y="ArrowRight";var g="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;const b=[v,y],w=[h,m];function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}let A=!1,O=0;const E=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+O++;const S=f.useId||function(){const[e,t]=o.useState((()=>A?E():void 0));return g((()=>{null==e&&t(E())}),[]),o.useEffect((()=>{A=!0}),[]),e};const k=o.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:r},middlewareData:{arrow:i,shift:c}},width:s=14,height:u=7,tipRadius:l=0,strokeWidth:f=0,staticOffset:d,stroke:p,d:h,style:{transform:m,...v}={},...y}=e;const b=S(),[w,A]=o.useState(!1);if(g((()=>{if(!r)return;"rtl"===(0,a.L9)(r).direction&&A(!0)}),[r]),!r)return null;const[O,E]=n.split("-"),k="top"===O||"bottom"===O;let j=d;(k&&null!=c&&c.x||!k&&null!=c&&c.y)&&(j=null);const T=2*f,P=T/2,C=s/2*(l/-8+1),_=u/2*l/4,D=!!h,R=j&&"end"===E?"bottom":"top";let N=j&&"end"===E?"right":"left";j&&w&&(N="end"===E?"left":"right");const I=null!=(null==i?void 0:i.x)?j||i.x:"",M=null!=(null==i?void 0:i.y)?j||i.y:"",L=h||"M0,0 H"+s+" L"+(s-C)+","+(u-_)+" Q"+s/2+","+u+" "+C+","+(u-_)+" Z",F={top:D?"rotate(180deg)":"",left:D?"rotate(90deg)":"rotate(-90deg)",bottom:D?"":"rotate(180deg)",right:D?"rotate(-90deg)":"rotate(90deg)"}[O];return o.createElement("svg",x({},y,{"aria-hidden":!0,ref:t,width:D?s:s+T,height:s,viewBox:"0 0 "+s+" "+(u>s?u:s),style:{position:"absolute",pointerEvents:"none",[N]:I,[R]:M,[O]:k||D?"100%":"calc(100% - "+T/2+"px)",transform:[F,m].filter((e=>!!e)).join(" "),...v}}),T>0&&o.createElement("path",{clipPath:"url(#"+b+")",fill:"none",stroke:p,strokeWidth:T+(h?0:1),d:L}),o.createElement("path",{stroke:T&&!h?y.fill:"none",d:L}),o.createElement("clipPath",{id:b},o.createElement("rect",{x:-P,y:P*(D?-1:1),width:s+T,height:s})))}));function j(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const T=o.createContext(null),P=o.createContext(null),C=()=>{var e;return(null==(e=o.useContext(T))?void 0:e.id)||null},_=()=>o.useContext(P);function D(e){return"data-floating-ui-"+e}function R(e){const t=(0,o.useRef)(e);return g((()=>{t.current=e})),t}const N=D("safe-polygon");function I(e,t,n){return n&&!(0,i.Go)(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function M(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:c,events:s,elements:u}=e,{enabled:l=!0,delay:f=0,handleClose:d=null,mouseOnly:h=!1,restMs:m=0,move:v=!0}=t,y=_(),b=C(),w=R(d),x=R(f),A=R(n),O=o.useRef(),E=o.useRef(-1),S=o.useRef(),k=o.useRef(-1),j=o.useRef(!0),T=o.useRef(!1),P=o.useRef((()=>{})),D=o.useRef(!1),M=o.useCallback((()=>{var e;const t=null==(e=c.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[c]);o.useEffect((()=>{if(l)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(E.current),clearTimeout(k.current),j.current=!0,D.current=!1)}}),[l,s]),o.useEffect((()=>{if(!l)return;if(!w.current)return;if(!n)return;function e(e){M()&&r(!1,e,"hover")}const t=(0,i.YE)(u.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[u.floating,n,r,l,w,M]);const L=o.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=I(x.current,"close",O.current);o&&!S.current?(clearTimeout(E.current),E.current=window.setTimeout((()=>r(!1,e,n)),o)):t&&(clearTimeout(E.current),r(!1,e,n))}),[x,r]),F=p((()=>{P.current(),S.current=void 0})),H=p((()=>{if(T.current){const e=(0,i.YE)(u.floating).body;e.style.pointerEvents="",e.removeAttribute(N),T.current=!1}}));o.useEffect((()=>{if(l&&(0,a.vq)(u.domReference)){var e;const t=u.domReference;return n&&t.addEventListener("mouseleave",f),null==(e=u.floating)||e.addEventListener("mouseleave",f),v&&t.addEventListener("mousemove",o,{once:!0}),t.addEventListener("mouseenter",o),t.addEventListener("mouseleave",s),()=>{var e;n&&t.removeEventListener("mouseleave",f),null==(e=u.floating)||e.removeEventListener("mouseleave",f),v&&t.removeEventListener("mousemove",o),t.removeEventListener("mouseenter",o),t.removeEventListener("mouseleave",s)}}function t(){return!!c.current.openEvent&&["click","mousedown"].includes(c.current.openEvent.type)}function o(e){if(clearTimeout(E.current),j.current=!1,h&&!(0,i.Go)(O.current)||m>0&&!I(x.current,"open"))return;const t=I(x.current,"open",O.current);t?E.current=window.setTimeout((()=>{A.current||r(!0,e,"hover")}),t):r(!0,e,"hover")}function s(e){if(t())return;P.current();const r=(0,i.YE)(u.floating);if(clearTimeout(k.current),D.current=!1,w.current&&c.current.floatingContext){n||clearTimeout(E.current),S.current=w.current({...c.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){H(),F(),L(e,!0,"safe-polygon")}});const t=S.current;return r.addEventListener("mousemove",t),void(P.current=()=>{r.removeEventListener("mousemove",t)})}("touch"!==O.current||!(0,i.gR)(u.floating,e.relatedTarget))&&L(e)}function f(e){t()||c.current.floatingContext&&(null==w.current||w.current({...c.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){H(),F(),L(e)}})(e))}}),[u,l,e,h,m,v,L,F,H,r,n,A,y,x,w,c]),g((()=>{var e;if(l&&n&&null!=(e=w.current)&&e.__options.blockPointerEvents&&M()){T.current=!0;const e=u.floating;if((0,a.vq)(u.domReference)&&e){var t;const n=(0,i.YE)(u.floating).body;n.setAttribute(N,"");const r=u.domReference,o=null==y||null==(t=y.nodesRef.current.find((e=>e.id===b)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[l,n,b,u,y,w,M]),g((()=>{n||(O.current=void 0,D.current=!1,F(),H())}),[n,F,H]),o.useEffect((()=>()=>{F(),clearTimeout(E.current),clearTimeout(k.current),H()}),[l,u.domReference,F,H]);const B=o.useMemo((()=>{function e(e){O.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){j.current||A.current||r(!0,t,"hover")}h&&!(0,i.Go)(O.current)||n||0===m||D.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(k.current),"touch"===O.current?o():(D.current=!0,k.current=window.setTimeout(o,m)))}}}),[h,r,n,A,m]),U=o.useMemo((()=>({onMouseEnter(){clearTimeout(E.current)},onMouseLeave(e){L(e.nativeEvent,!1)}})),[L]);return o.useMemo((()=>l?{reference:B,floating:U}:{}),[l,B,U])}function L(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}const F=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function H(e,t){const n=(0,c.Kr)(e,F());"prev"===t&&n.reverse();const r=n.indexOf((0,i.RS)((0,i.YE)(e)));return n.slice(r+1)[0]}function B(){return H(document.body,"next")}function U(){return H(document.body,"prev")}function W(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,i.gR)(n,r)}function z(e){(0,c.Kr)(e,F()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function G(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const Y={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function q(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const V=o.forwardRef((function(e,t){const[n,r]=o.useState();g((()=>((0,i.nr)()&&r("button"),document.addEventListener("keydown",q),()=>{document.removeEventListener("keydown",q)})),[]);const a={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[D("focus-guard")]:"",style:Y};return o.createElement("span",x({},e,a))})),$=o.createContext(null),K=D("portal");function J(e){const{children:t,id:n,root:r=null,preserveTabOrder:i=!0}=e,c=function(e){void 0===e&&(e={});const{id:t,root:n}=e,r=S(),i=X(),[c,s]=o.useState(null),u=o.useRef(null);return g((()=>()=>{null==c||c.remove(),queueMicrotask((()=>{u.current=null}))}),[c]),g((()=>{if(!r)return;if(u.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=r,n.setAttribute(K,""),e.appendChild(n),u.current=n,s(n)}),[t,r]),g((()=>{if(!r)return;if(u.current)return;let e=n||(null==i?void 0:i.portalNode);e&&!(0,a.vq)(e)&&(e=e.current),e=e||document.body;let o=null;t&&(o=document.createElement("div"),o.id=t,e.appendChild(o));const c=document.createElement("div");c.id=r,c.setAttribute(K,""),e=o||e,e.appendChild(c),u.current=c,s(c)}),[t,n,r,i]),c}({id:n,root:r}),[u,l]=o.useState(null),f=o.useRef(null),d=o.useRef(null),p=o.useRef(null),h=o.useRef(null),m=null==u?void 0:u.modal,v=null==u?void 0:u.open,y=!!u&&!u.modal&&u.open&&i&&!(!r&&!c);return o.useEffect((()=>{if(c&&i&&!m)return c.addEventListener("focusin",e,!0),c.addEventListener("focusout",e,!0),()=>{c.removeEventListener("focusin",e,!0),c.removeEventListener("focusout",e,!0)};function e(e){if(c&&W(e)){("focusin"===e.type?G:z)(c)}}}),[c,i,m]),o.useEffect((()=>{c&&(v||G(c))}),[v,c]),o.createElement($.Provider,{value:o.useMemo((()=>({preserveTabOrder:i,beforeOutsideRef:f,afterOutsideRef:d,beforeInsideRef:p,afterInsideRef:h,portalNode:c,setFocusManagerState:l})),[i,c])},y&&c&&o.createElement(V,{"data-type":"outside",ref:f,onFocus:e=>{if(W(e,c)){var t;null==(t=p.current)||t.focus()}else{const e=U()||(null==u?void 0:u.refs.domReference.current);null==e||e.focus()}}}),y&&c&&o.createElement("span",{"aria-owns":c.id,style:Y}),c&&s.createPortal(t,c),y&&c&&o.createElement(V,{"data-type":"outside",ref:d,onFocus:e=>{if(W(e,c)){var t;null==(t=h.current)||t.focus()}else{const t=B()||(null==u?void 0:u.refs.domReference.current);null==t||t.focus(),(null==u?void 0:u.closeOnFocusOut)&&(null==u||u.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}const X=()=>o.useContext($),Q="data-floating-ui-focusable";function Z(e){return(0,a.sb)(e.target)&&"BUTTON"===e.target.tagName}function ee(e){return(0,i.$u)(e)}function te(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:a,elements:{domReference:c}}=e,{enabled:s=!0,event:u="click",toggle:l=!0,ignoreMouse:f=!1,keyboardHandlers:d=!0}=t,p=o.useRef(),h=o.useRef(!1),m=o.useMemo((()=>({onPointerDown(e){p.current=e.pointerType},onMouseDown(e){const t=p.current;0===e.button&&"click"!==u&&((0,i.Go)(t,!0)&&f||(!n||!l||a.current.openEvent&&"mousedown"!==a.current.openEvent.type?(e.preventDefault(),r(!0,e.nativeEvent,"click")):r(!1,e.nativeEvent,"click")))},onClick(e){const t=p.current;"mousedown"===u&&p.current?p.current=void 0:(0,i.Go)(t,!0)&&f||(!n||!l||a.current.openEvent&&"click"!==a.current.openEvent.type?r(!0,e.nativeEvent,"click"):r(!1,e.nativeEvent,"click"))},onKeyDown(e){p.current=void 0,e.defaultPrevented||!d||Z(e)||(" "!==e.key||ee(c)||(e.preventDefault(),h.current=!0),"Enter"===e.key&&r(!n||!l,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!d||Z(e)||ee(c)||" "===e.key&&h.current&&(h.current=!1,r(!n||!l,e.nativeEvent,"click"))}})),[a,c,u,f,d,r,n,l]);return o.useMemo((()=>s?{reference:m}:{}),[s,m])}const ne={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},re={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},oe=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function ie(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:c,dataRef:s}=e,{enabled:l=!0,escapeKey:f=!0,outsidePress:d=!0,outsidePressEvent:h="pointerdown",referencePress:m=!1,referencePressEvent:v="pointerdown",ancestorScroll:y=!1,bubbles:g,capture:b}=t,w=_(),x=p("function"==typeof d?d:()=>!1),A="function"==typeof d?x:d,O=o.useRef(!1),E=o.useRef(!1),{escapeKey:S,outsidePress:k}=oe(g),{escapeKey:j,outsidePress:T}=oe(b),P=o.useRef(!1),C=p((e=>{var t;if(!n||!l||!f||"Escape"!==e.key)return;if(P.current)return;const o=null==(t=s.current.floatingContext)?void 0:t.nodeId,a=w?L(w.nodesRef.current,o):[];if(!S&&(e.stopPropagation(),a.length>0)){let e=!0;if(a.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}r(!1,(0,i.O_)(e)?e.nativeEvent:e,"escape-key")})),R=p((e=>{var t;const n=()=>{var t;C(e),null==(t=(0,i.EW)(e))||t.removeEventListener("keydown",n)};null==(t=(0,i.EW)(e))||t.addEventListener("keydown",n)})),N=p((e=>{var t;const n=O.current;O.current=!1;const o=E.current;if(E.current=!1,"click"===h&&o)return;if(n)return;if("function"==typeof A&&!A(e))return;const u=(0,i.EW)(e),l="["+D("inert")+"]",f=(0,i.YE)(c.floating).querySelectorAll(l);let d=(0,a.vq)(u)?u:null;for(;d&&!(0,a.eu)(d);){const e=(0,a.$4)(d);if((0,a.eu)(e)||!(0,a.vq)(e))break;d=e}if(f.length&&(0,a.vq)(u)&&!(0,i.tZ)(u)&&!(0,i.gR)(u,c.floating)&&Array.from(f).every((e=>!(0,i.gR)(d,e))))return;if((0,a.sb)(u)&&F){const t=u.clientWidth>0&&u.scrollWidth>u.clientWidth,n=u.clientHeight>0&&u.scrollHeight>u.clientHeight;let r=n&&e.offsetX>u.clientWidth;if(n){"rtl"===(0,a.L9)(u).direction&&(r=e.offsetX<=u.offsetWidth-u.clientWidth)}if(r||t&&e.offsetY>u.clientHeight)return}const p=null==(t=s.current.floatingContext)?void 0:t.nodeId,m=w&&L(w.nodesRef.current,p).some((t=>{var n;return(0,i.F2)(e,null==(n=t.context)?void 0:n.elements.floating)}));if((0,i.F2)(e,c.floating)||(0,i.F2)(e,c.domReference)||m)return;const v=w?L(w.nodesRef.current,p):[];if(v.length>0){let e=!0;if(v.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}r(!1,e,"outside-press")})),I=p((e=>{var t;const n=()=>{var t;N(e),null==(t=(0,i.EW)(e))||t.removeEventListener(h,n)};null==(t=(0,i.EW)(e))||t.addEventListener(h,n)}));o.useEffect((()=>{if(!n||!l)return;s.current.__escapeKeyBubbles=S,s.current.__outsidePressBubbles=k;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),P.current=!0}function d(){e=window.setTimeout((()=>{P.current=!1}),(0,a.Tc)()?5:0)}const p=(0,i.YE)(c.floating);f&&(p.addEventListener("keydown",j?R:C,j),p.addEventListener("compositionstart",o),p.addEventListener("compositionend",d)),A&&p.addEventListener(h,T?I:N,T);let m=[];return y&&((0,a.vq)(c.domReference)&&(m=(0,u.v9)(c.domReference)),(0,a.vq)(c.floating)&&(m=m.concat((0,u.v9)(c.floating))),!(0,a.vq)(c.reference)&&c.reference&&c.reference.contextElement&&(m=m.concat((0,u.v9)(c.reference.contextElement)))),m=m.filter((e=>{var t;return e!==(null==(t=p.defaultView)?void 0:t.visualViewport)})),m.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{f&&(p.removeEventListener("keydown",j?R:C,j),p.removeEventListener("compositionstart",o),p.removeEventListener("compositionend",d)),A&&p.removeEventListener(h,T?I:N,T),m.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[s,c,f,A,h,n,r,y,l,S,k,C,j,R,N,T,I]),o.useEffect((()=>{O.current=!1}),[A,h]);const M=o.useMemo((()=>({onKeyDown:C,[ne[v]]:e=>{m&&r(!1,e.nativeEvent,"reference-press")}})),[C,r,m,v]),F=o.useMemo((()=>({onKeyDown:C,onMouseDown(){E.current=!0},onMouseUp(){E.current=!0},[re[h]]:()=>{O.current=!0}})),[C,h]);return o.useMemo((()=>l?{reference:M,floating:F}:{}),[l,M,F])}function ae(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=S(),a=o.useRef({}),[c]=o.useState((()=>j())),s=null!=C(),[u,l]=o.useState(r.reference),f=p(((e,t,r)=>{a.current.openEvent=e?t:void 0,c.emit("openchange",{open:e,event:t,reason:r,nested:s}),null==n||n(e,t,r)})),d=o.useMemo((()=>({setPositionReference:l})),[]),h=o.useMemo((()=>({reference:u||r.reference||null,floating:r.floating||null,domReference:r.reference})),[u,r.reference,r.floating]);return o.useMemo((()=>({dataRef:a,open:t,onOpenChange:f,elements:h,events:c,floatingId:i,refs:d})),[t,f,h,c,i,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[c,s]=o.useState(null),[u,f]=o.useState(null),d=(null==i?void 0:i.reference)||c,h=o.useRef(null),m=_();g((()=>{d&&(h.current=d)}),[d]);const v=(0,l.we)({...e,elements:{...i,...u&&{reference:u}}}),y=o.useCallback((e=>{const t=(0,a.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;f(t),v.refs.setReference(t)}),[v.refs]),b=o.useCallback((e=>{((0,a.vq)(e)||null===e)&&(h.current=e,s(e)),((0,a.vq)(v.refs.reference.current)||null===v.refs.reference.current||null!==e&&!(0,a.vq)(e))&&v.refs.setReference(e)}),[v.refs]),w=o.useMemo((()=>({...v.refs,setReference:b,setPositionReference:y,domReference:h})),[v.refs,b,y]),x=o.useMemo((()=>({...v.elements,domReference:d})),[v.elements,d]),A=o.useMemo((()=>({...v,...r,refs:w,elements:x,nodeId:t})),[v,w,x,t,r]);return g((()=>{r.dataRef.current.floatingContext=A;const e=null==m?void 0:m.nodesRef.current.find((e=>e.id===t));e&&(e.context=A)})),o.useMemo((()=>({...v,context:A,refs:w,elements:x})),[v,w,x,A])}const ce="active",se="selected";function ue(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[ce]:t,[se]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[Q]:""},...i,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,i]=t;var a;o&&[ce,se].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(a=r.get(n))||a.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=i)})),e):e),{})}}function le(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),i=o.useCallback((t=>ue(t,e,"reference")),t),a=o.useCallback((t=>ue(t,e,"floating")),n),c=o.useCallback((t=>ue(t,e,"item")),r);return o.useMemo((()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:c})),[i,a,c])}},66984:(e,t,n)=>{"use strict";n.d(t,{$t:()=>c,$u:()=>w,EW:()=>g,F2:()=>y,Go:()=>p,O_:()=>h,Pg:()=>u,RS:()=>o,WZ:()=>A,YE:()=>v,YF:()=>s,cX:()=>d,gR:()=>i,jo:()=>x,nr:()=>l,tZ:()=>m,uo:()=>a});var r=n(86635);function o(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function i(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function a(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function s(e){return!(0!==e.mozInputSource||!e.isTrusted)||(f()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function u(e){return!c().includes("jsdom/")&&(!f()&&0===e.width&&0===e.height||f()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function l(){return/apple/i.test(navigator.vendor)}function f(){const e=/android/i;return e.test(a())||e.test(c())}function d(){return a().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function p(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function h(e){return"nativeEvent"in e}function m(e){return e.matches("html,body")}function v(e){return(null==e?void 0:e.ownerDocument)||document}function y(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function g(e){return"composedPath"in e?e.composedPath()[0]:e.target}const b="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function w(e){return(0,r.sb)(e)&&e.matches(b)}function x(e){e.preventDefault(),e.stopPropagation()}function A(e){return!!e&&("combobox"===e.getAttribute("role")&&w(e))}},86635:(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof window}function o(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function c(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function s(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function u(e){return!(!r()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function l(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function f(e){return["html","body","#document"].includes(o(e))}function d(e){return i(e).getComputedStyle(e)}function p(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||function(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}(e);return u(t)?t.host:t}n.d(t,{$4:()=>p,L9:()=>d,Ng:()=>u,Tc:()=>l,eu:()=>f,mq:()=>o,sb:()=>s,vq:()=>c,zk:()=>i})},81293:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,fX:()=>a});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},20038:(e,t,n)=>{"use strict";n.d(t,{U1:()=>d});var r=n(14644),o=n(27346),i="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?r.Zz:r.Zz.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var a=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};var c=()=>function(e){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{};let c=new a;return t&&("boolean"==typeof t?c.push(o.P):c.push((0,o.Y)(t.extraArgument))),c},s="RTK_autoBatch",u=e=>t=>{setTimeout(t,e)},l="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:u(10),f=e=>function(t){const{autoBatch:n=!0}=t??{};let r=new a(e);return n&&r.push(((e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let o=!0,i=!1,a=!1;const c=new Set,f="tick"===e.type?queueMicrotask:"raf"===e.type?l:"callback"===e.type?e.queueNotification:u(e.timeout),d=()=>{a=!1,i&&(i=!1,c.forEach((e=>e())))};return Object.assign({},r,{subscribe(e){const t=r.subscribe((()=>o&&e()));return c.add(e),()=>{t(),c.delete(e)}},dispatch(e){try{return o=!e?.meta?.[s],i=!o,i&&(a||(a=!0,f(d))),r.dispatch(e)}finally{o=!0}}})})("object"==typeof n?n:void 0)),r};function d(e){const t=c(),{reducer:n,middleware:o,devTools:a=!0,preloadedState:s,enhancers:u}=e||{};let l,d;if("function"==typeof n)l=n;else{if(!(0,r.Qd)(n))throw new Error(h(1));l=(0,r.HY)(n)}d="function"==typeof o?o(t):t();let p=r.Zz;a&&(p=i({trace:!1,..."object"==typeof a&&a}));const m=(0,r.Tw)(...d),v=f(m);const y=p(..."function"==typeof u?u(v):v());return(0,r.y$)(l,s,y)}var{assign:p}=Object;Symbol.for("rtk-state-proxy-original");function h(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}},51819:(e,t,n)=>{"use strict";function r(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}n.d(t,{F:()=>r})},92516:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});let r={};function o(){return r}},32082:(e,t,n)=>{"use strict";n.d(t,{_:()=>v});var r=n(71104),o=n(84543),i=n(51898),a=n(97084),c=n(84485),s=n(51819),u=n(87758);const l="midnight",f="noon",d="morning",p="afternoon",h="evening",m="night",v={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return u.C.y(e,t)},Y:function(e,t,n,r){const o=(0,c.h)(e,r),i=o>0?o:1-o;if("YY"===t){const e=i%100;return(0,s.F)(e,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):(0,s.F)(i,t.length)},R:function(e,t){const n=(0,i.p)(e);return(0,s.F)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,s.F)(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,s.F)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,s.F)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return u.C.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,s.F)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=(0,a.N)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,s.F)(o,t.length)},I:function(e,t,n){const r=(0,o.s)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,s.F)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):u.C.d(e,t)},D:function(e,t,n){const o=(0,r.F)(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):(0,s.F)(o,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return(0,s.F)(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return(0,s.F)(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return(0,s.F)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?f:0===r?l:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?h:r>=12?p:r>=4?d:m,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return u.C.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):u.C.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,s.F)(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,s.F)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):u.C.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):u.C.s(e,t)},S:function(e,t){return u.C.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return g(r);case"XXXX":case"XX":return b(r);default:return b(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return g(r);case"xxxx":case"xx":return b(r);default:return b(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+y(r,":");default:return"GMT"+b(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+y(r,":");default:return"GMT"+b(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return(0,s.F)(r,t.length)},T:function(e,t,n){return(0,s.F)(+e,t.length)}};function y(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+(0,s.F)(i,2)}function g(e,t){if(e%60==0){return(e>0?"-":"+")+(0,s.F)(Math.abs(e)/60,2)}return b(e,t)}function b(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+(0,s.F)(Math.trunc(r/60),2)+t+(0,s.F)(r%60,2)}},87758:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(51819);const o={y(e,t){const n=e.getFullYear(),o=n>0?n:1-n;return(0,r.F)("yy"===t?o%100:o,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,r.F)(n+1,2)},d:(e,t)=>(0,r.F)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.F)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.F)(e.getHours(),t.length),m:(e,t)=>(0,r.F)(e.getMinutes(),t.length),s:(e,t)=>(0,r.F)(e.getSeconds(),t.length),S(e,t){const n=t.length,o=e.getMilliseconds(),i=Math.trunc(o*Math.pow(10,n-3));return(0,r.F)(i,t.length)}}},78668:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});const r=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},o=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},i={p:o,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return r(e,t);let c;switch(i){case"P":c=t.dateTime({width:"short"});break;case"PP":c=t.dateTime({width:"medium"});break;case"PPP":c=t.dateTime({width:"long"});break;default:c=t.dateTime({width:"full"})}return c.replace("{{date}}",r(i,t)).replace("{{time}}",o(a,t))}}},1108:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var r=n(29407);function o(e){const t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}},5305:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(43329);function o(e,...t){const n=r.w.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(n)}},3265:(e,t,n)=>{"use strict";n.d(t,{Ss:()=>s,ef:()=>a,xM:()=>c});const r=/^D+$/,o=/^Y+$/,i=["D","DD","YY","YYYY"];function a(e){return r.test(e)}function c(e){return o.test(e)}function s(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),i.includes(e))throw new RangeError(r)}},61501:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>i,_P:()=>s,_m:()=>c,my:()=>r,s0:()=>a,w4:()=>o});Math.pow(10,8);const r=6048e5,o=864e5,i=6e4,a=36e5,c=1e3,s=Symbol.for("constructDateFrom")},43329:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(61501);function o(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r._P in e?e[r._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},2831:(e,t,n)=>{"use strict";n.d(t,{m:()=>c});var r=n(1108),o=n(5305),i=n(61501),a=n(6463);function c(e,t,n){const[c,s]=(0,o.x)(n?.in,e,t),u=(0,a.o)(c),l=(0,a.o)(s),f=+u-(0,r.G)(u),d=+l-(0,r.G)(l);return Math.round((f-d)/i.w4)}},12541:(e,t,n)=>{"use strict";n.d(t,{GP:()=>m});var r=n(14501),o=n(92516),i=n(32082),a=n(78668),c=n(3265),s=n(32370),u=n(29407);const l=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,f=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,d=/^'([^]*?)'?$/,p=/''/g,h=/[a-zA-Z]/;function m(e,t,n){const d=(0,o.q)(),p=n?.locale??d.locale??r.c,m=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??d.firstWeekContainsDate??d.locale?.options?.firstWeekContainsDate??1,y=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??d.weekStartsOn??d.locale?.options?.weekStartsOn??0,g=(0,u.a)(e,n?.in);if(!(0,s.f)(g))throw new RangeError("Invalid time value");let b=t.match(f).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,a.m[t])(e,p.formatLong)}return e})).join("").match(l).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:v(e)};if(i._[t])return{isToken:!0,value:e};if(t.match(h))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));p.localize.preprocessor&&(b=p.localize.preprocessor(g,b));const w={firstWeekContainsDate:m,weekStartsOn:y,locale:p};return b.map((r=>{if(!r.isToken)return r.value;const o=r.value;(!n?.useAdditionalWeekYearTokens&&(0,c.xM)(o)||!n?.useAdditionalDayOfYearTokens&&(0,c.ef)(o))&&(0,c.Ss)(o,t,String(e));return(0,i._[o[0]])(g,o,p.localize,w)})).join("")}function v(e){const t=e.match(d);return t?t[1].replace(p,"'"):e}},71104:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});var r=n(2831),o=n(70228),i=n(29407);function a(e,t){const n=(0,i.a)(e,t?.in);return(0,r.m)(n,(0,o.D)(n))+1}},40337:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(29407);function o(e,t){return(0,r.a)(e,t?.in).getHours()}},84543:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(61501),o=n(22008),i=n(30569),a=n(29407);function c(e,t){const n=(0,a.a)(e,t?.in),c=+(0,o.b)(n)-+(0,i.w)(n);return Math.round(c/r.my)+1}},51898:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(43329),o=n(22008),i=n(29407);function a(e,t){const n=(0,i.a)(e,t?.in),a=n.getFullYear(),c=(0,r.w)(n,0);c.setFullYear(a+1,0,4),c.setHours(0,0,0,0);const s=(0,o.b)(c),u=(0,r.w)(n,0);u.setFullYear(a,0,4),u.setHours(0,0,0,0);const l=(0,o.b)(u);return n.getTime()>=s.getTime()?a+1:n.getTime()>=l.getTime()?a:a-1}},4155:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(29407);function o(e,t){return(0,r.a)(e,t?.in).getMinutes()}},97084:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(61501),o=n(80337),i=n(73576),a=n(29407);function c(e,t){const n=(0,a.a)(e,t?.in),c=+(0,o.k)(n,t)-+(0,i.b)(n,t);return Math.round(c/r.my)+1}},84485:(e,t,n)=>{"use strict";n.d(t,{h:()=>c});var r=n(92516),o=n(43329),i=n(80337),a=n(29407);function c(e,t){const n=(0,a.a)(e,t?.in),c=n.getFullYear(),s=(0,r.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,l=(0,o.w)(t?.in||e,0);l.setFullYear(c+1,0,u),l.setHours(0,0,0,0);const f=(0,i.k)(l,t),d=(0,o.w)(t?.in||e,0);d.setFullYear(c,0,u),d.setHours(0,0,0,0);const p=(0,i.k)(d,t);return+n>=+f?c+1:+n>=+p?c:c-1}},80658:(e,t,n)=>{"use strict";function r(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}n.d(t,{$:()=>r})},90096:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(5305),o=n(80337);function i(e,t,n){const[i,a]=(0,r.x)(n?.in,e,t);return+(0,o.k)(i,n)==+(0,o.k)(a,n)}},32370:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(80658),o=n(29407);function i(e){return!(!(0,r.$)(e)&&"number"!=typeof e||isNaN(+(0,o.a)(e)))}},7277:(e,t,n)=>{"use strict";function r(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:()=>r})},33443:(e,t,n)=>{"use strict";function r(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:()=>r})},57883:(e,t,n)=>{"use strict";function r(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(c)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(c,(e=>e.test(a))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(c,(e=>e.test(a)));let u;u=e.valueCallback?e.valueCallback(s):s,u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:t.slice(a.length)}}}n.d(t,{A:()=>r})},20337:(e,t,n)=>{"use strict";function r(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;return{value:a,rest:t.slice(o.length)}}}n.d(t,{K:()=>r})},86688:(e,t,n)=>{"use strict";n.d(t,{de:()=>s});var r=n(3034),o=n(21451),i=n(58773),a=n(7925),c=n(18081);const s={code:"de",formatDistance:r.B,formatLong:o.s,formatRelative:i.o,localize:a.k,match:c.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},3034:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},o=(e,t,n)=>{let o;const i=n?.addSuffix?r[e].withPreposition:r[e].standalone;return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:"vor "+o:o}},21451:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})}},58773:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const r={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},o=(e,t,n,o)=>r[e]},7925:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var r=n(33443);const o={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},i={narrow:o.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:o.wide},a={ordinalNumber:e=>Number(e)+".",era:(0,r.o)({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:o,formattingValues:i,defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})}},18081:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,r.A)({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})}},14501:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(70331),o=n(75270),i=n(31456),a=n(51584),c=n(18106);const s={code:"en-US",formatDistance:r.B,formatLong:o.s,formatRelative:i.o,localize:a.k,match:c.Y,options:{weekStartsOn:0,firstWeekContainsDate:1}}},70331:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},o=(e,t,n)=>{let o;const i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o}},75270:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},31456:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o=(e,t,n,o)=>r[e]},51584:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(33443);const o={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},18106:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},75867:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(54277),o=n(35478),i=n(32180),a=n(86908),c=n(63778);const s={code:"fr-CH",formatDistance:r.B,formatLong:a.s,formatRelative:c.o,localize:o.k,match:i.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},86908:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},63778:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const r={lastWeek:"eeee 'la semaine dernière à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'la semaine prochaine à' p",other:"P"},o=(e,t,n,o)=>r[e]},54277:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},o=(e,t,n)=>{let o;const i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"dans "+o:"il y a "+o:o}},35478:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(33443);const o=["MMM","MMMM"],i={preprocessor:(e,t)=>{if(1===e.getDate())return t;return t.some((e=>e.isToken&&o.includes(e.value)))?t.map((e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e)):t},ordinalNumber:(e,t)=>{const n=Number(e),r=t?.unit;if(0===n)return"0";let o;return o=1===n?r&&["year","week","hour","minute","second"].includes(r)?"ère":"er":"ème",n+o},era:(0,r.o)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})}},32180:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,r.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})}},95494:(e,t,n)=>{"use strict";n.d(t,{it:()=>s});var r=n(6200),o=n(41601),i=n(79207),a=n(43847),c=n(58255);const s={code:"it",formatDistance:r.B,formatLong:o.s,formatRelative:i.o,localize:a.k,match:c.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},6200:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},o=(e,t,n)=>{let o;const i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"tra "+o:o+" fa":o}},41601:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})}},79207:(e,t,n)=>{"use strict";n.d(t,{o:()=>c});var r=n(90096);const o=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function i(e){return"'"+o[e]+" alle' p"}const a={lastWeek:(e,t,n)=>{const a=e.getDay();return(0,r.R)(e,t,n)?i(a):function(e){return 0===e?"'domenica scorsa alle' p":"'"+o[e]+" scorso alle' p"}(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const a=e.getDay();return(0,r.R)(e,t,n)?i(a):function(e){return 0===e?"'domenica prossima alle' p":"'"+o[e]+" prossimo alle' p"}(a)},other:"P"},c=(e,t,n,r)=>{const o=a[e];return"function"==typeof o?o(t,n,r):o}},43847:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(33443);const o={ordinalNumber:(e,t)=>{const n=Number(e);return String(n)},era:(0,r.o)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})}},58255:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.A)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})}},14533:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setHours(t),o}},36374:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setMilliseconds(t),o}},74279:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setMinutes(t),o}},81007:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setSeconds(t),o}},6463:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var r=n(29407);function o(e,t){const n=(0,r.a)(e,t?.in);return n.setHours(0,0,0,0),n}},22008:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(80337);function o(e,t){return(0,r.k)(e,{...t,weekStartsOn:1})}},30569:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(43329),o=n(51898),i=n(22008);function a(e,t){const n=(0,o.p)(e,t),a=(0,r.w)(t?.in||e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),(0,i.b)(a)}},80337:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(92516),o=n(29407);function i(e,t){const n=(0,r.q)(),i=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,o.a)(e,t?.in),c=a.getDay(),s=(c<i?7:0)+c-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}},73576:(e,t,n)=>{"use strict";n.d(t,{b:()=>c});var r=n(92516),o=n(43329),i=n(84485),a=n(80337);function c(e,t){const n=(0,r.q)(),c=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=(0,i.h)(e,t),u=(0,o.w)(t?.in||e,0);u.setFullYear(s,0,c),u.setHours(0,0,0,0);return(0,a.k)(u,t)}},70228:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var r=n(29407);function o(e,t){const n=(0,r.a)(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}},29407:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(43329);function o(e,t){return(0,r.w)(t||e,e)}},77801:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,Tt:()=>a,fX:()=>c});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},1481:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},67812:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3214),o=n(90832);function i(e,t,n){return i=(0,o.A)()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&(0,r.A)(i,n.prototype),i},i.apply(null,arguments)}},41528:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},55778:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},96331:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3214);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},9018:(e,t,n)=>{"use strict";function r(e){return-1!==Function.toString.call(e).indexOf("[native code]")}n.d(t,{A:()=>r})},90832:(e,t,n)=>{"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{A:()=>r})},3214:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},52107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(55778),o=n(3214),i=n(9018),a=n(67812);function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||!(0,i.A)(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return(0,a.A)(e,arguments,(0,r.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.A)(n,e)},c(e)}},40622:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,Tt:()=>a,fX:()=>c});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},71468:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>oe,Ng:()=>re});var r=n(4883),o=n(78418),i=r,a=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{};function s(){if(!i.createContext)return{};const e=c[a]??(c[a]=new Map);let t=e.get(i.createContext);return t||(t=i.createContext(null),e.set(i.createContext,t)),t}var u=s(),l=()=>{throw new Error("uSES not initialized!")};var f=Symbol.for("react.element"),d=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),y=Symbol.for("react.context"),g=Symbol.for("react.server_context"),b=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),E=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),b),S=A;function k(e){if("object"==typeof e&&null!==e){const t=e.$$typeof;switch(t){case f:{const n=e.type;switch(n){case p:case m:case h:case w:case x:return n;default:{const e=n&&n.$$typeof;switch(e){case g:case y:case b:case O:case A:case v:return e;default:return t}}}}case d:return t}}}function j(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let c,s,u,l,f,d=!1;function p(d,p){const h=!i(p,s),m=!o(d,c,p,s);return c=d,s=p,h&&m?(u=e(c,s),t.dependsOnOwnProps&&(l=t(r,s)),f=n(u,l,s),f):h?(e.dependsOnOwnProps&&(u=e(c,s)),t.dependsOnOwnProps&&(l=t(r,s)),f=n(u,l,s),f):m?function(){const t=e(c,s),r=!a(t,u);return u=t,r&&(f=n(u,l,s)),f}():f}return function(o,i){return d?p(o,i):(c=o,s=i,u=e(c,s),l=t(r,s),f=n(u,l,s),d=!0,f)}}function T(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function P(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function C(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=P(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=P(o),o=r(t,n)),o},r}}function _(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function D(e,t,n){return{...n,...e,...t}}function R(e){e()}var N={notify(){},get:()=>[]};function I(e,t){let n,r=N,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function c(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){R((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=N)}const u={addNestedSub:function(e){c();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,c())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:()=>r};return u}var M=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),L="undefined"!=typeof navigator&&"ReactNative"===navigator.product,F=M||L?i.useLayoutEffect:i.useEffect;function H(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function B(e,t){if(H(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!H(e[n[r]],t[n[r]]))return!1;return!0}var U={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},W={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},z={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},G={[E]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[S]:z};function Y(e){return function(e){return k(e)===A}(e)?z:G[e.$$typeof]||U}var q=Object.defineProperty,V=Object.getOwnPropertyNames,$=Object.getOwnPropertySymbols,K=Object.getOwnPropertyDescriptor,J=Object.getPrototypeOf,X=Object.prototype;function Q(e,t){if("string"!=typeof t){if(X){const n=J(t);n&&n!==X&&Q(e,n)}let n=V(t);$&&(n=n.concat($(t)));const r=Y(e),o=Y(t);for(let i=0;i<n.length;++i){const a=n[i];if(!(W[a]||o&&o[a]||r&&r[a])){const n=K(t,a);try{q(e,a,n)}catch(e){}}}}return e}var Z=l,ee=[null,null];function te(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function ne(e,t){return e===t}var re=function(e,t,n,{pure:r,areStatesEqual:o=ne,areOwnPropsEqual:a=B,areStatePropsEqual:c=B,areMergedPropsEqual:s=B,forwardRef:l=!1,context:f=u}={}){const d=f,p=function(e){return e?"function"==typeof e?C(e):_(e,"mapStateToProps"):T((()=>({})))}(e),h=function(e){return e&&"object"==typeof e?T((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?C(e):_(e,"mapDispatchToProps"):T((e=>({dispatch:e})))}(t),m=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){const c=e(t,n,a);return i?r(c,o)||(o=c):(i=!0,o=c),o}}}(e):_(e,"mergeProps"):()=>D}(n),v=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:v,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:p,initMapDispatchToProps:h,initMergeProps:m,areStatesEqual:o,areStatePropsEqual:c,areOwnPropsEqual:a,areMergedPropsEqual:s};function u(t){const[n,o,a]=i.useMemo((()=>{const{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),c=i.useMemo((()=>d),[n,d]),s=i.useContext(c),u=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),l=Boolean(s)&&Boolean(s.store);const f=u?t.store:s.store,p=l?s.getServerState:f.getState,h=i.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return j(t(e,o),n(e,o),r(e,o),e,o)}(f.dispatch,r)),[f]),[m,y]=i.useMemo((()=>{if(!v)return ee;const e=I(f,u?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[f,u,s]),g=i.useMemo((()=>u?s:{...s,subscription:m}),[u,s,m]),b=i.useRef(void 0),w=i.useRef(a),x=i.useRef(void 0),A=i.useRef(!1),O=i.useRef(!1),E=i.useRef(void 0);F((()=>(O.current=!0,()=>{O.current=!1})),[]);const S=i.useMemo((()=>()=>x.current&&a===w.current?x.current:h(f.getState(),a)),[f,a]),k=i.useMemo((()=>e=>m?function(e,t,n,r,o,i,a,c,s,u,l){if(!e)return()=>{};let f=!1,d=null;const p=()=>{if(f||!c.current)return;const e=t.getState();let n,p;try{n=r(e,o.current)}catch(e){p=e,d=e}p||(d=null),n===i.current?a.current||u():(i.current=n,s.current=n,a.current=!0,l())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}(v,f,m,h,w,b,A,O,x,y,e):()=>{}),[m]);var T,P,C;let _;T=te,P=[w,b,A,a,x,y],F((()=>T(...P)),C);try{_=Z(k,S,p?()=>h(p(),a):S)}catch(e){throw E.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${E.current.stack}\n\n`),e}F((()=>{E.current=void 0,x.current=void 0,b.current=_}));const D=i.useMemo((()=>i.createElement(e,{..._,ref:o})),[o,e,_]);return i.useMemo((()=>v?i.createElement(c.Provider,{value:g},D):D),[c,D,g])}const f=i.memo(u);if(f.WrappedComponent=e,f.displayName=u.displayName=n,l){const t=i.forwardRef((function(e,t){return i.createElement(f,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,Q(t,e)}return Q(f,e)}};var oe=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:a="once"}){const c=i.useMemo((()=>{const t=I(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:a}}),[e,r,o,a]),s=i.useMemo((()=>e.getState()),[e]);F((()=>{const{subscription:t}=c;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[c,s]);const l=t||u;return i.createElement(l.Provider,{value:c},n)};var ie;ie=o.useSyncExternalStoreWithSelector,(e=>{Z=e})(r.useSyncExternalStore)},77987:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},6695:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},88097:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>r})},65166:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},21648:(e,t,n)=>{"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}n.d(t,{A:()=>r})},37820:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},47029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(88097);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},23715:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8609);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},8609:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},52167:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6695),o=n(21648),i=n(25134),a=n(37820);function c(e,t){return(0,r.A)(e)||(0,o.A)(e,t)||(0,i.A)(e,t)||(0,a.A)()}},47978:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{A:()=>r})},65710:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},25134:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(77987);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},72367:(e,t,n)=>{"use strict";n.d(t,{B1:()=>r});function r(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}Math.min,Math.max;const o=["top","right","bottom","left"];o.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[])},9725:(e,t,n)=>{"use strict";n.d(t,{ll:()=>w});n(72367);function r(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function o(e){if(null==e)return window;if(!r(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return o(e).getComputedStyle(e)}function a(e){return r(e)?"":e?(e.nodeName||"").toLowerCase():""}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function s(e){return e instanceof o(e).HTMLElement}function u(e){return e instanceof o(e).Element}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function f(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=i(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(){return!/^((?!chrome|android).)*safari/i.test(c())}function p(e){return["html","body","#document"].includes(a(e))}Math.min,Math.max;const h=Math.round;function m(e,t,n){var r,i,a,c;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let f=1,p=1;t&&s(e)&&(f=e.offsetWidth>0&&h(l.width)/e.offsetWidth||1,p=e.offsetHeight>0&&h(l.height)/e.offsetHeight||1);const m=u(e)?o(e):window,v=!d()&&n,y=(l.left+(v&&null!=(r=null==(i=m.visualViewport)?void 0:i.offsetLeft)?r:0))/f,g=(l.top+(v&&null!=(a=null==(c=m.visualViewport)?void 0:c.offsetTop)?a:0))/p,b=l.width/f,w=l.height/p;return{width:b,height:w,top:g,right:y+b,bottom:g+w,left:y,x:y,y:g}}function v(e){return(t=e,(t instanceof o(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function y(e){if("html"===a(e))return e;const t=e.assignedSlot||e.parentNode||(l(e)?e.host:null)||v(e);return l(t)?t.host:t}function g(e){const t=y(e);return p(t)?e.ownerDocument.body:s(t)&&f(t)?t:g(t)}function b(e,t){var n;void 0===t&&(t=[]);const r=g(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=o(r),c=i?[a].concat(a.visualViewport||[],f(r)?r:[]):r,s=t.concat(c);return i?s:s.concat(b(c))}function w(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,s=o&&!c,l=s||i?[...u(e)?b(e):e.contextElement?b(e.contextElement):[],...b(t)]:[];l.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let f,d=null;if(a){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),u(e)&&!c&&d.observe(e),u(e)||!e.contextElement||c||d.observe(e.contextElement),d.observe(t)}let p=c?m(e):null;return c&&function t(){const r=m(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n(),p=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach((e=>{s&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,c&&cancelAnimationFrame(f)}}},92149:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4883),o=n(81845),i=n(2418);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const c=["onUpdate","onRepositioned","renderElement","renderElementTag","renderElementTo","renderTarget","className","id","style"];class s extends r.Component{constructor(...e){super(...e),this._targetNode=r.createRef(),this._elementNode=r.createRef(),this._elementParentNode=null,this._tetherInstance=null}componentDidMount(){this._createContainer(),this.forceUpdate()}componentDidUpdate(e){if(e.renderElementTag===this.props.renderElementTag&&e.renderElementTo===this.props.renderElementTo||this._createContainer(),this._elementParentNode&&e.className!==this.props.className){const t=(e.className||"").split(" ").filter((e=>e.length>0)),n=(this.props.className||"").split(" ").filter((e=>e.length>0));this._elementParentNode.classList.remove(...t),this._elementParentNode.classList.add(...n)}this._update()}componentWillUnmount(){this._destroy()}getTetherInstance(){return this._tetherInstance}disable(){var e;null==(e=this._tetherInstance)||e.disable()}enable(){var e;null==(e=this._tetherInstance)||e.enable()}on(e,t,n){this._tetherInstance.on(e,t,n)}once(e,t,n){this._tetherInstance.once(e,t,n)}off(e,t){this._tetherInstance.off(e,t)}position(){var e;null==(e=this._tetherInstance)||e.position()}_runRenders(){let e="function"==typeof this.props.renderTarget?this.props.renderTarget(this._targetNode):null,t="function"==typeof this.props.renderElement?this.props.renderElement(this._elementNode):null;return(0,r.isValidElement)(e)||(e=null),(0,r.isValidElement)(t)||(t=null),{targetComponent:e,elementComponent:t}}_createTetherInstance(e){this._tetherInstance&&this._destroy(),this._tetherInstance=new i(e),this._registerEventListeners()}_destroyTetherInstance(){this._tetherInstance&&(this._tetherInstance.destroy(),this._tetherInstance=null)}_registerEventListeners(){this.on("update",((...e)=>this.props.onUpdate&&this.props.onUpdate.apply(this,e))),this.on("repositioned",((...e)=>this.props.onRepositioned&&this.props.onRepositioned.apply(this,e)))}get _renderNode(){const{renderElementTo:e}=this.props;return"string"==typeof e?document.querySelector(e):e||document.body}_destroy(){this._destroyTetherInstance(),this._removeContainer()}_createContainer(){this._removeContainer();const{renderElementTag:e="div",className:t}=this.props;this._elementParentNode=document.createElement(e),this._elementParentNode.className=t||""}_addContainerToDOM(){this._elementParentNode&&this._renderNode&&this._elementParentNode.parentNode!==this._renderNode&&this._renderNode.append(this._elementParentNode)}_removeContainer(){this._elementParentNode&&this._elementParentNode.parentNode&&this._elementParentNode.remove()}_update(){this._elementNode.current&&this._targetNode.current?this._updateTether():this._destroy()}_updateTether(){var e;const t=this.props,{id:n,style:r}=t,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(t,c),i=a({target:this._targetNode.current,element:this._elementParentNode},o),s=n||"";if(this._elementParentNode&&this._elementParentNode.id!==s&&(this._elementParentNode.id=s),this._elementParentNode&&r){const e=this._elementParentNode.style;for(const t in r)if(e[t]!==r[t]){let n=r[t];n&&(e[t]=n)}}this._addContainerToDOM(),this._tetherInstance?this._tetherInstance.setOptions(i):this._createTetherInstance(i),null==(e=this._tetherInstance)||e.position()}render(){const{targetComponent:e,elementComponent:t}=this._runRenders();return e?r.createElement(r.Fragment,null,e,t&&this._elementParentNode&&o.createPortal(t,this._elementParentNode)):null}}},27346:(e,t,n)=>{"use strict";function r(e){return({dispatch:t,getState:n})=>r=>o=>"function"==typeof o?o(t,n,e):r(o)}n.d(t,{P:()=>o,Y:()=>i});var o=r(),i=r},14644:(e,t,n)=>{"use strict";function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,{HY:()=>u,Qd:()=>c,Tw:()=>p,Zz:()=>d,ve:()=>h,y$:()=>s,zH:()=>f});var o=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),i=()=>Math.random().toString(36).substring(7).split("").join("."),a={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function c(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function s(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(s)(e,t)}let i=e,u=t,l=new Map,f=l,d=0,p=!1;function h(){f===l&&(f=new Map,l.forEach(((e,t)=>{f.set(t,e)})))}function m(){if(p)throw new Error(r(3));return u}function v(e){if("function"!=typeof e)throw new Error(r(4));if(p)throw new Error(r(5));let t=!0;h();const n=d++;return f.set(n,e),function(){if(t){if(p)throw new Error(r(6));t=!1,h(),f.delete(n),l=null}}}function y(e){if(!c(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(p)throw new Error(r(9));try{p=!0,u=i(u,e)}finally{p=!1}return(l=f).forEach((e=>{e()})),e}y({type:a.INIT});return{dispatch:y,subscribe:v,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));i=e,y({type:a.REPLACE})},[o]:function(){const e=v;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(m())}n();return{unsubscribe:e(n)}},[o](){return this}}}}}function u(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}const o=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error(r(12));if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(r(13))}))}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1;const c={};for(let i=0;i<o.length;i++){const s=o[i],u=n[s],l=e[s],f=u(l,t);if(void 0===f){t&&t.type;throw new Error(r(14))}c[s]=f,a=a||f!==l}return a=a||o.length!==Object.keys(e).length,a?c:e}}function l(e,t){return function(...n){return t(e.apply(this,n))}}function f(e,t){if("function"==typeof e)return l(e,t);if("object"!=typeof e||null===e)throw new Error(r(16));const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=l(o,t))}return n}function d(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}function p(...e){return t=>(n,o)=>{const i=t(n,o);let a=()=>{throw new Error(r(15))};const c={getState:i.getState,dispatch:(e,...t)=>a(e,...t)},s=e.map((e=>e(c)));return a=d(...s)(i.dispatch),{...i,dispatch:a}}}function h(e){return c(e)&&"type"in e&&"string"==typeof e.type}}},c={};function s(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={id:e,loaded:!1,exports:{}};return a[e].call(n.exports,n,n.exports,s),n.loaded=!0,n.exports}s.m=a,s.amdD=function(){throw new Error("define cannot be used indirect")},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);s.r(o);var i={};n=n||[null,r({}),r([]),r(r)];for(var a=2&t&&e;"object"==typeof a&&!~n.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,s.d(o,i),o},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>"chunk-"+({222:"vendor-libphonenumber-js",236:"actions",262:"html-editor",310:"vendor-fontawesome",556:"docs-actions",672:"phone-formatter",722:"code-editor",916:"vendor-icons"}[e]||e)+"."+{13:"691a96657cc021242fdb",18:"6ba1bbcd5e8fd2e5a1c6",87:"3d4d1dd3a63b1b614117",103:"8cec3847d8a37e7c1d52",137:"6329809a94c84dceab67",211:"d8bf8abcb5fb20a25279",222:"e38ef16ead1de0aa552e",236:"99e81bf6987794dc1c41",262:"7dbfe49ce488d28b4166",264:"d22979020eb9a5108842",310:"6e0b59be0c56143b4637",464:"1d7fc18e49ad007ffaec",544:"5680825413e77ca136b9",556:"b490f9b4edf45e7d0cb2",599:"a37a63189539a99b41c3",672:"ece0442ff23d12aec226",722:"b03be6cc77a45c609264",726:"f4a51ffc2f6c807ae344",770:"9fd06dc1168e57b471bb",916:"37590c62f37aad5c42c8"}[e]+".js",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},i="tocco-legacy-bundle:",s.l=(e,t,n,r)=>{if(o[e])o[e].push(t);else{var a,c;if(void 0!==n)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==i+n){a=f;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",i+n),a.src=e),o[e]=[t];var d=(t,n)=>{a.onerror=a.onload=null,clearTimeout(p);var r=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.j=101,s.p="/",(()=>{var e={101:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,(n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(c)c(s)}for(t&&t(n);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=this.webpackChunktocco_legacy_bundle=this.webpackChunktocco_legacy_bundle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),s.nc=void 0;var u={};return(()=>{"use strict";s.r(u),s.d(u,{app:()=>Ve});var e=s(61402),t=s(26396),n=s.n(t),r=s(62193),o=s.n(r),i=s(2404),a=s.n(i),c=s(71086),l=s.n(c),f=s(5556),d=s.n(f),p=s(4883),h=s.n(p),m=s(47767),v=s(84976),y=s(88951),g=s(13128),b=s(59042),w=s(28391),x=s(96450),A=s(72942),O=s(52334),E=s(82682),S=s(38159),k=s(33393),j=s(7311),T=s(66498),P="SET_ENTITY_NAME",C="SET_FORM_BASE",_="SET_SCROLL_BEHAVIOUR",D="root/SET_APP_ID",R=function(e){return{type:C,payload:{formBase:e}}},N=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return T.A.getDispatchActions(e,I,t)},I=[{name:"entityName",action:function(e){return{type:P,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:R,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:R,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:_,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:D,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],M=s(44467),L=s(92207),F=s.n(L),H=s(90167),B=s(29056),U=s(71635),W=n()(n()({},U.Bt,B.A.singleTransferReducer("formTouched")),U.wr,B.A.singleTransferReducer("detailParams")),z={detailParams:void 0,formTouched:!1};var G=s(15890),Y=s.n(G),q=s(22056),V=s.n(q),$=s(32742),K=s(57327),J=s(44002);function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?X(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Z=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=Q({},e)})),e.relations.forEach((function(e){t[e.relationName]=Q({type:"relation"},e)})),t};function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z;return F().mark((function n(){var r;return F().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,H.T1)(K.A.requestSaga,"entities/".concat(e,"/model"));case 2:return r=n.sent,n.next=5,(0,H.T1)(t,r.body);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)}))()}var te={CREATE:"create",UPDATE:"update"};const ne={modes:te,getMode:function(e){return void 0===e?te.CREATE:te.UPDATE}};var re=s(21259),oe=s.n(re);const ie=function(e){var t=e.split("/").filter((function(e){return!!e})),n=t[t.length-1],r=t.filter((function(e,t){return t>1&&t%2==0})).map((function(e){return e.split(".")})).reduce((function(e,t){return[].concat(oe()(e),oe()(t))}),[]);if(isNaN(n)){return{modelPaths:r,entityId:undefined,parentUrl:"/"+t.slice(0,-1).join("/")}}return{modelPaths:r,entityId:t[t.length-1],parentUrl:"/"+t.slice(0,-2).join("/")}};const ae=function(e,t){return 0!==t.length||(!e||isNaN(e))};var ce=s(74848),se=F().mark(pe),ue=F().mark(he),le=F().mark(ye),fe=function(e){return e.entityBrowser},de=function(e){return e.input};function pe(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.Q7)([(0,H.p8)(U.M4,me),(0,H.p8)(U.z3,he),(0,H.p8)(U.o7,ge)]);case 2:case"end":return e.stop()}}),se)}function he(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.yJ)(U.EJ(void 0));case 2:case"end":return e.stop()}}),ue)}function me(e){var t=e.payload;return F().mark((function e(){var n,r,o,i,a,c,s,u,l,f,d,p,h,m,v,y;return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.T1)(ie,t.url);case 2:return n=e.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,e.next=8,(0,H.Lt)(fe);case 8:return a=e.sent,c=a.entityName,s=a.formBase,e.next=13,(0,H.T1)(ne.getMode,o);case 13:return u=e.sent,e.next=16,(0,H.T1)(ve,c,r,s);case 16:return l=e.sent,f=V()(l,2),d=f[0],p=f[1],e.next=22,(0,H.Lt)(de);case 22:return h=e.sent,m=h.initialKey,e.next=26,(0,H.T1)(ae,m,r);case 26:return v=e.sent,y={mode:u,entityId:o,entityName:d,formName:p,parentUrl:i,showBackButton:v},e.next=30,(0,H.yJ)(U.EJ(y));case 30:case"end":return e.stop()}}),e)}))()}function ve(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return F().mark((function o(){var i,a,c,s,u,l,f;return F().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(i=Y()(t),a=i[0],c=i.slice(1),a){o.next=3;break}return o.abrupt("return",[e,r]);case 3:return o.next=5,(0,H.T1)(ee,e);case 5:if(s=o.sent,u=s[a]){o.next=16;break}return o.next=10,(0,H.T1)(K.A.fetchForm,"".concat(n,"_detail_").concat(a),"list");case 10:return l=o.sent,o.next=13,(0,H.T1)(ve,l.modelName,c,"".concat(n,"_").concat(a));case 13:case 19:return o.abrupt("return",o.sent);case 16:return f="".concat(n,"_").concat(u.targetEntity),o.next=19,(0,H.T1)(ve,u.targetEntity,c,n,f);case 20:case"end":return o.stop()}}),o)}))()}function ye(e){var t;return F().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,H.T1)($.Ix);case 2:return t=n.sent,n.next=5,(0,H.yJ)(A.A.modal("navigation-pending-changes",null,e,(function(e){var n=e.close;return(0,ce.jsx)(J.A,{onYes:function(){n(),t.put("yes")},onNo:function(){n(),t.put("no")}})}),!0,(function(){return t.put("no")})));case 5:return n.next=7,(0,H.s)(t);case 7:return n.abrupt("return",n.sent);case 8:case"end":return n.stop()}}),le)}function ge(e){var t=e.payload;return F().mark((function e(){var n,r;return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.message,r=t.confirmCallback,e.next=3,(0,H.T1)(ye,n);case 3:if("yes"!==e.sent){e.next=9;break}return e.next=7,(0,H.T1)(r,!0);case 7:e.next=11;break;case 9:return e.next=11,(0,H.T1)(r,!1);case 11:case"end":return e.stop()}}),e)}))()}var be=F().mark(we);function we(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.Q7)([(0,H.Zy)(pe)]);case 2:case"end":return e.stop()}}),be)}const xe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0,n=W[t.type];return n?n(e,t):e};function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ee=n()(n()(n()(n()({},P,B.A.singleTransferReducer("entityName")),C,(function(e,t){var n=t.payload.formBase;return n?Oe(Oe({},e),{},{formBase:n}):Oe({},e)})),_,B.A.singleTransferReducer("scrollBehaviour")),D,B.A.singleTransferReducer("appId")),Se={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var ke=F().mark(Te),je=F().mark(Pe);function Te(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.Q7)([(0,H.T1)(Pe)]);case 2:case"end":return e.stop()}}),ke)}function Pe(){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,H.s)(e.A.INPUT_INITIALIZED);case 2:return t.next=4,(0,H.yJ)(x.A.doSessionCheck());case 4:case"end":return t.stop()}}),je)}var Ce=F().mark(_e);function _e(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.Q7)([(0,H.Zy)(Te)]);case 2:case"end":return e.stop()}}),Ce)}const De=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Se,t=arguments.length>1?arguments[1]:void 0,n=Ee[t.type];return n?n(e,t):e},Re={detail:xe,form:M.A,entityBrowser:De};var Ne,Ie,Me=[_e,we];function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var He="entity-browser",Be=["onVisibilityStatusChange"],Ue=h().lazy((function(){return Promise.all([s.e(18),s.e(464),s.e(726),s.e(599),s.e(87)]).then(s.bind(s,19087))})),We=function(){return Ne||(Ne=(0,ce.jsx)(p.Suspense,{fallback:"",children:(0,ce.jsx)(Ue,{})}))},ze=function(e){var t=e.initialKey,n=e.initialAction,r=(0,m.Zp)(),o=(0,m.zy)().pathname;(0,p.useEffect)((function(){if(t&&!isNaN(t)){if(!o.match(/\/detail\/[0-9]*/)){var e="/detail/".concat(t);r(e)}}if(n&&n.name){var i="/action/".concat(n.name,"?").concat(k.A.toQueryString(n.properties));r(i)}}),[])},Ge=function(e){var t=e.memoryRouter,n=e.initialKey,r=e.initialAction,o=(t?m.bg:v.Ge)([{path:"*",element:(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(ze,{initialKey:n,initialAction:r}),Ie||(Ie=(0,ce.jsx)(We,{}))]})}]);return(0,ce.jsx)(v.pg,{router:o})},Ye=function(t,n,r,o){n=Fe(Fe({},n),{},{id:t}),S.A.setInputEnvs(n);var i=e.A.createStore(Re,Me,n,He);w.A.addToStore(i,(function(t){return e.A.getEvents(Be,t.input)})),y.A.addToStore(i),g.A.dynamicActionsAddToStore(i),b.A.addToStore(i,!0,["console","remote","notification"]),A.A.addToStore(i,!0),x.A.addToStore(i);var a=(0,ce.jsx)(Ge,{memoryRouter:n.memoryHistory,initialKey:n.initialKey,initialAction:n.initialAction});return e.A.createApp(He,a,i,{input:n,actions:N(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},qe=function(t){var n=e.A.useApp({initApp:Ye,props:t,packageName:He}),r=n.component,i=n.store,c=j.A.usePrevious(t);return j.A.useDidUpdate((function(){var e=l()(t,(function(e,t){return!a()(e,c[t])}));o()(e)||N(e,!1).forEach((function(e){i.dispatch(e)}))}),[t]),(0,ce.jsx)(ce.Fragment,{children:r})};qe.propTypes=Fe({entityName:d().string.isRequired,searchFormType:O.X,formBase:d().string,limit:d().oneOfType([d().number,d().string]),preselectedSearchFields:d().array,searchFilters:d().arrayOf(d().string),simpleSearchFields:d().string,initialKey:d().string,initialAction:d().shape({name:d().string,properties:d().objectOf(d().object)}),businessUnit:d().string,memoryHistory:d().bool,backendUrl:d().string,scrollBehaviour:d().oneOf(["none","inline"]),appContext:E.A.propTypes,modifyFormDefinition:d().func,modifyEntityPaths:d().func,disableDetailView:d().bool,reportIds:d().arrayOf(d().string),customActionEventHandlers:d().objectOf(d().objectOf(d().func))},w.A.createPropTypes(Be));var Ve=e.A.createBundleableApp(He,Ye,qe);e.A.registerAppInRegistry(Ve.name,Ve.init)})(),u})()));
|
|
67
|
+
*/var r=n(4883);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,a=r.useRef,c=r.useEffect,s=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,l){var f=a(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=s((function(){function e(e){if(!c){if(c=!0,i=e,e=r(e),void 0!==l&&d.hasValue){var t=d.value;if(l(t,e))return a=t}return a=e}if(t=a,o(i,e))return t;var n=r(e);return void 0!==l&&l(t,n)?t:(i=e,a=n)}var i,a,c=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,l]);var p=i(e,f[0],f[1]);return c((function(){d.hasValue=!0,d.value=p}),[p]),u(p),p}},78418:(e,t,n)=>{"use strict";e.exports=n(77154)},91943:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}},43407:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>i});var o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}},38823:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});for(var r=[],o=0;o<256;++o)r.push((o+256).toString(16).slice(1));function i(e,t=0){return(r[e[t+0]]+r[e[t+1]]+r[e[t+2]]+r[e[t+3]]+"-"+r[e[t+4]]+r[e[t+5]]+"-"+r[e[t+6]]+r[e[t+7]]+"-"+r[e[t+8]]+r[e[t+9]]+"-"+r[e[t+10]]+r[e[t+11]]+r[e[t+12]]+r[e[t+13]]+r[e[t+14]]+r[e[t+15]]).toLowerCase()}},18562:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(91943),o=n(43407),i=n(38823);const a=function(e,t,n){if(r.A.randomUUID&&!t&&!e)return r.A.randomUUID();var a=(e=e||{}).random||(e.rng||o.A)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(var c=0;c<16;++c)t[n+c]=a[c];return t}return(0,i.k)(a)}},78074:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>O});var r=n(4883),o=n.n(r),i=n(5556),a=n.n(i),c=n(89260),s=n(75860),u=["children"],l=["open"],f=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],d=["refKey","onChange","onClick"];function p(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||m(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var x=(0,r.forwardRef)((function(e,t){var n=e.children,i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=g(g({},A),e),n=t.accept,o=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,c=t.minSize,u=t.multiple,l=t.maxFiles,m=t.onDragEnter,v=t.onDragLeave,y=t.onDragOver,x=t.onDrop,O=t.onDropAccepted,j=t.onDropRejected,T=t.onFileDialogCancel,P=t.onFileDialogOpen,C=t.useFsAccessApi,_=t.autoFocus,D=t.preventDropOnDocument,R=t.noClick,N=t.noKeyboard,I=t.noDrag,M=t.noDragEventsBubbling,L=t.onError,F=t.validator,H=(0,r.useMemo)((function(){return(0,s.DG)(n)}),[n]),B=(0,r.useMemo)((function(){return(0,s.Vl)(n)}),[n]),U=(0,r.useMemo)((function(){return"function"==typeof P?P:k}),[P]),W=(0,r.useMemo)((function(){return"function"==typeof T?T:k}),[T]),z=(0,r.useRef)(null),G=(0,r.useRef)(null),Y=h((0,r.useReducer)(S,E),2),q=Y[0],V=Y[1],$=q.isFocused,K=q.isFileDialogActive,J=(0,r.useRef)("undefined"!=typeof window&&window.isSecureContext&&C&&(0,s.vQ)()),X=function(){!J.current&&K&&setTimeout((function(){G.current&&(G.current.files.length||(V({type:"closeDialog"}),W()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",X,!1),function(){window.removeEventListener("focus",X,!1)}}),[G,K,W,J]);var Q=(0,r.useRef)([]),Z=function(e){z.current&&z.current.contains(e.target)||(e.preventDefault(),Q.current=[])};(0,r.useEffect)((function(){return D&&(document.addEventListener("dragover",s.rr,!1),document.addEventListener("drop",Z,!1)),function(){D&&(document.removeEventListener("dragover",s.rr),document.removeEventListener("drop",Z))}}),[z,D]),(0,r.useEffect)((function(){return!o&&_&&z.current&&z.current.focus(),function(){}}),[z,_,o]);var ee=(0,r.useCallback)((function(e){L?L(e):console.error(e)}),[L]),te=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),he(e),Q.current=[].concat(p(Q.current),[e.target]),(0,s.t)(e)&&Promise.resolve(i(e)).then((function(t){if(!(0,s.Qk)(e)||M){var n=t.length,r=n>0&&(0,s.gs)({files:t,accept:H,minSize:c,maxSize:a,multiple:u,maxFiles:l,validator:F});V({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),m&&m(e)}})).catch((function(e){return ee(e)}))}),[i,m,ee,M,H,c,a,u,l,F]),ne=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),he(e);var t=(0,s.t)(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&y&&y(e),!1}),[y,M]),re=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),he(e);var t=Q.current.filter((function(e){return z.current&&z.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),Q.current=t,t.length>0||(V({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),(0,s.t)(e)&&v&&v(e))}),[z,v,M]),oe=(0,r.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=h((0,s.WR)(e,H),2),o=t[0],i=t[1],u=h((0,s.Hz)(e,c,a),2),l=u[0],f=u[1],d=F?F(e):null;if(o&&l&&!d)n.push(e);else{var p=[i,f];d&&(p=p.concat(d)),r.push({file:e,errors:p.filter((function(e){return e}))})}})),(!u&&n.length>1||u&&l>=1&&n.length>l)&&(n.forEach((function(e){r.push({file:e,errors:[s.Ri]})})),n.splice(0)),V({acceptedFiles:n,fileRejections:r,type:"setFiles"}),x&&x(n,r,t),r.length>0&&j&&j(r,t),n.length>0&&O&&O(n,t)}),[V,u,H,c,a,l,x,O,j,F]),ie=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),he(e),Q.current=[],(0,s.t)(e)&&Promise.resolve(i(e)).then((function(t){(0,s.Qk)(e)&&!M||oe(t,e)})).catch((function(e){return ee(e)})),V({type:"reset"})}),[i,oe,ee,M]),ae=(0,r.useCallback)((function(){if(J.current){V({type:"openDialog"}),U();var e={multiple:u,types:B};window.showOpenFilePicker(e).then((function(e){return i(e)})).then((function(e){oe(e,null),V({type:"closeDialog"})})).catch((function(e){(0,s.rV)(e)?(W(e),V({type:"closeDialog"})):(0,s.v2)(e)?(J.current=!1,G.current?(G.current.value=null,G.current.click()):ee(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):ee(e)}))}else G.current&&(V({type:"openDialog"}),U(),G.current.value=null,G.current.click())}),[V,U,W,C,oe,ee,B,u]),ce=(0,r.useCallback)((function(e){z.current&&z.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),ae()))}),[z,ae]),se=(0,r.useCallback)((function(){V({type:"focus"})}),[]),ue=(0,r.useCallback)((function(){V({type:"blur"})}),[]),le=(0,r.useCallback)((function(){R||((0,s.lP)()?setTimeout(ae,0):ae())}),[R,ae]),fe=function(e){return o?null:e},de=function(e){return N?null:fe(e)},pe=function(e){return I?null:fe(e)},he=function(e){M&&e.stopPropagation()},me=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,i=e.onKeyDown,a=e.onFocus,c=e.onBlur,u=e.onClick,l=e.onDragEnter,d=e.onDragOver,p=e.onDragLeave,h=e.onDrop,m=w(e,f);return g(g(b({onKeyDown:de((0,s.mK)(i,ce)),onFocus:de((0,s.mK)(a,se)),onBlur:de((0,s.mK)(c,ue)),onClick:fe((0,s.mK)(u,le)),onDragEnter:pe((0,s.mK)(l,te)),onDragOver:pe((0,s.mK)(d,ne)),onDragLeave:pe((0,s.mK)(p,re)),onDrop:pe((0,s.mK)(h,ie)),role:"string"==typeof r&&""!==r?r:"presentation"},n,z),o||N?{}:{tabIndex:0}),m)}}),[z,ce,se,ue,le,te,ne,re,ie,N,I,o]),ve=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),ye=(0,r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,o=e.onClick,i=w(e,d);return g(g({},b({accept:H,multiple:u,type:"file",style:{display:"none"},onChange:fe((0,s.mK)(r,ie)),onClick:fe((0,s.mK)(o,ve)),tabIndex:-1},n,G)),i)}}),[G,n,u,ie,o]);return g(g({},q),{},{isFocused:$&&!o,getRootProps:me,getInputProps:ye,rootRef:z,inputRef:G,open:fe(ae)})}(w(e,u)),a=i.open,c=w(i,l);return(0,r.useImperativeHandle)(t,(function(){return{open:a}}),[a]),o().createElement(r.Fragment,null,n(g(g({},c),{},{open:a})))}));x.displayName="Dropzone";var A={disabled:!1,getFilesFromEvent:c.R,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};x.defaultProps=A,x.propTypes={children:a().func,accept:a().objectOf(a().arrayOf(a().string)),multiple:a().bool,preventDropOnDocument:a().bool,noClick:a().bool,noKeyboard:a().bool,noDrag:a().bool,noDragEventsBubbling:a().bool,minSize:a().number,maxSize:a().number,maxFiles:a().number,disabled:a().bool,getFilesFromEvent:a().func,onFileDialogCancel:a().func,onFileDialogOpen:a().func,useFsAccessApi:a().bool,autoFocus:a().bool,onDragEnter:a().func,onDragLeave:a().func,onDragOver:a().func,onDrop:a().func,onDropAccepted:a().func,onDropRejected:a().func,onError:a().func,validator:a().func};const O=x;var E={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function S(e,t){switch(t.type){case"focus":return g(g({},e),{},{isFocused:!0});case"blur":return g(g({},e),{},{isFocused:!1});case"openDialog":return g(g({},E),{},{isFileDialogActive:!0});case"closeDialog":return g(g({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return g(g({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return g(g({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return g({},E);default:return e}}function k(){}},75860:(e,t,n)=>{"use strict";n.d(t,{DG:()=>C,Hz:()=>w,Qk:()=>O,Ri:()=>g,Vl:()=>P,WR:()=>b,gs:()=>A,lP:()=>k,mK:()=>j,rV:()=>_,rr:()=>S,t:()=>E,v2:()=>D,vQ:()=>T});var r=n(9455);function o(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f="file-invalid-type",d="file-too-large",p="file-too-small",h="too-many-files",m=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:f,message:"File type must be ".concat(t)}},v=function(e){return{code:d,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},y=function(e){return{code:p,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},g={code:h,message:"Too many files"};function b(e,t){var n="application/x-moz-file"===e.type||(0,r.A)(e,t);return[n,n?null:m(t)]}function w(e,t,n){if(x(e.size))if(x(t)&&x(n)){if(e.size>n)return[!1,v(n)];if(e.size<t)return[!1,y(t)]}else{if(x(t)&&e.size<t)return[!1,y(t)];if(x(n)&&e.size>n)return[!1,v(n)]}return[!0,null]}function x(e){return null!=e}function A(e){var t=e.files,n=e.accept,r=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles,c=e.validator;return!(!i&&t.length>1||i&&a>=1&&t.length>a)&&t.every((function(e){var t=s(b(e,n),1)[0],i=s(w(e,r,o),1)[0],a=c?c(e):null;return t&&i&&!a}))}function O(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function E(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function S(e){e.preventDefault()}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}function j(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return!O(e)&&t&&t.apply(void 0,[e].concat(r)),O(e)}))}}function T(){return"showOpenFilePicker"in window}function P(e){return x(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=s(e,2),n=t[0],r=t[1],o=!0;return R(n)||(console.warn('Skipped "'.concat(n,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(r)&&r.every(N)||(console.warn('Skipped "'.concat(n,'" because an invalid file extension was provided.')),o=!1),o})).reduce((function(e,t){var n=s(t,2),r=n[0],o=n[1];return a(a({},e),{},c({},r,o))}),{})}]:e}function C(e){if(x(e))return Object.entries(e).reduce((function(e,t){var n=s(t,2),r=n[0],i=n[1];return[].concat(o(e),[r],o(i))}),[]).filter((function(e){return R(e)||N(e)})).join(",")}function _(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}function D(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}function R(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function N(e){return/^.*\.[\w]+$/.test(e)}},4883:e=>{"use strict";e.exports=t},81845:t=>{"use strict";t.exports=e},22847:e=>{e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},56868:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},37372:(e,t,n)=>{"use strict";var r=Object.create,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,c=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let c of a(t))!s.call(e,c)&&c!==n&&o(e,c,{get:()=>t[c],enumerable:!(r=i(t,c))||r.enumerable});return e},l=(e,t,n)=>(n=null!=e?r(c(e)):{},u(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),f={};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})(f,{Provider:()=>be,ReactReduxContext:()=>g,batch:()=>Ee,connect:()=>ge,createDispatchHook:()=>Ae,createSelectorHook:()=>E,createStoreHook:()=>we,shallowEqual:()=>te,useDispatch:()=>Oe,useSelector:()=>S,useStore:()=>xe}),e.exports=(e=>u(o({},"__esModule",{value:!0}),e))(f);var d=l(n(4883)),p=n(78418),h=l(n(4883)),m="default"in h?h.default:h,v=Symbol.for("react-redux-context"),y=typeof globalThis<"u"?globalThis:{};var g=function(){if(!m.createContext)return{};let e=y[v]??(y[v]=new Map),t=e.get(m.createContext);return t||(t=m.createContext(null),e.set(m.createContext,t)),t}(),b=()=>{throw new Error("uSES not initialized!")};function w(e=g){return function(){return m.useContext(e)}}var x=w(),A=b,O=(e,t)=>e===t;function E(e=g){let t=e===g?x:w(e),n=(e,n={})=>{let{equalityFn:r=O,devModeChecks:o={}}="function"==typeof n?{equalityFn:n}:n,{store:i,subscription:a,getServerState:c,stabilityCheck:s,identityFunctionCheck:u}=t(),l=(m.useRef(!0),m.useCallback({[e.name]:t=>e(t)}[e.name],[e,s,o.stabilityCheck])),f=A(a.addNestedSub,i.getState,c||i.getState,l,r);return m.useDebugValue(f),f};return Object.assign(n,{withTypes:()=>n}),n}var S=E(),k=Symbol.for("react.element"),j=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),D=Symbol.for("react.context"),R=Symbol.for("react.server_context"),N=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),H=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),N),B=L;function U(e){return function(e){if("object"==typeof e&&null!==e){let t=e.$$typeof;switch(t){case k:{let n=e.type;switch(n){case T:case C:case P:case I:case M:return n;default:{let e=n&&n.$$typeof;switch(e){case R:case D:case N:case F:case L:case _:return e;default:return t}}}}case j:return t}}}(e)===L}function W(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let c,s,u,l,f,d=!1;function p(d,p){let h=!i(p,s),m=!o(d,c,p,s);return c=d,s=p,h&&m?(u=e(c,s),t.dependsOnOwnProps&&(l=t(r,s)),f=n(u,l,s),f):h?(e.dependsOnOwnProps&&(u=e(c,s)),t.dependsOnOwnProps&&(l=t(r,s)),f=n(u,l,s),f):m?function(){let t=e(c,s),r=!a(t,u);return u=t,r&&(f=n(u,l,s)),f}():f}return function(o,i){return d?p(o,i):function(o,i){return c=o,s=i,u=e(c,s),l=t(r,s),f=n(u,l,s),d=!0,f}(o,i)}}function z(e){return function(t){let n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function G(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:1!==e.length}function Y(e,t){return function(t,{displayName:n}){let r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=G(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=G(o),o=r(t,n)),o},r}}function q(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function V(e,t,n){return{...n,...e,...t}}function $(e){e()}var K={notify(){},get:()=>[]};function J(e,t){let n,r=K,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function c(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){$((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!r||null===e||(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=K)}let u={addNestedSub:function(e){c();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,c())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:()=>r};return u}var X=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Q=typeof navigator<"u"&&"ReactNative"===navigator.product,Z=X||Q?m.useLayoutEffect:m.useEffect;function ee(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function te(e,t){if(ee(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!ee(e[n[r]],t[n[r]]))return!1;return!0}var ne={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},re={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},oe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ie={[H]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[B]:oe};function ae(e){return U(e)?oe:ie[e.$$typeof]||ne}var ce=Object.defineProperty,se=Object.getOwnPropertyNames,ue=Object.getOwnPropertySymbols,le=Object.getOwnPropertyDescriptor,fe=Object.getPrototypeOf,de=Object.prototype;function pe(e,t){if("string"!=typeof t){if(de){let n=fe(t);n&&n!==de&&pe(e,n)}let n=se(t);ue&&(n=n.concat(ue(t)));let r=ae(e),o=ae(t);for(let i=0;i<n.length;++i){let a=n[i];if(!(re[a]||o&&o[a]||r&&r[a])){let n=le(t,a);try{ce(e,a,n)}catch{}}}}return e}var he=b,me=[null,null];function ve(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function ye(e,t){return e===t}var ge=function(e,t,n,{pure:r,areStatesEqual:o=ye,areOwnPropsEqual:i=te,areStatePropsEqual:a=te,areMergedPropsEqual:c=te,forwardRef:s=!1,context:u=g}={}){let l=u,f=function(e){return e?"function"==typeof e?Y(e):q(e,"mapStateToProps"):z((()=>({})))}(e),d=function(e){return e&&"object"==typeof e?z((t=>function(e,t){let n={};for(let r in e){let o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?Y(e):q(e,"mapDispatchToProps"):z((e=>({dispatch:e})))}(t),p=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){let c=e(t,n,a);return i?r(c,o)||(o=c):(i=!0,o=c),o}}}(e):q(e,"mergeProps"):()=>V}(n),h=!!e;return e=>{let t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:h,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:f,initMapDispatchToProps:d,initMergeProps:p,areStatesEqual:o,areStatePropsEqual:a,areOwnPropsEqual:i,areMergedPropsEqual:c};function u(t){let[n,o,i]=m.useMemo((()=>{let{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),a=m.useMemo((()=>l),[n,l]),c=m.useContext(a),s=!!t.store&&!!t.store.getState&&!!t.store.dispatch,u=!!c&&!!c.store,f=s?t.store:c.store,d=u?c.getServerState:f.getState,p=m.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return W(t(e,o),n(e,o),r(e,o),e,o)}(f.dispatch,r)),[f]),[v,y]=m.useMemo((()=>{if(!h)return me;let e=J(f,s?void 0:c.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[f,s,c]),g=m.useMemo((()=>s?c:{...c,subscription:v}),[s,c,v]),b=m.useRef(void 0),w=m.useRef(i),x=m.useRef(void 0),A=m.useRef(!1),O=m.useRef(!1),E=m.useRef(void 0);Z((()=>(O.current=!0,()=>{O.current=!1})),[]);let S,k=m.useMemo((()=>()=>x.current&&i===w.current?x.current:p(f.getState(),i)),[f,i]),j=m.useMemo((()=>e=>v?function(e,t,n,r,o,i,a,c,s,u,l){if(!e)return()=>{};let f=!1,d=null,p=()=>{if(f||!c.current)return;let e,n,p=t.getState();try{e=r(p,o.current)}catch(e){n=e,d=e}n||(d=null),e===i.current?a.current||u():(i.current=e,s.current=e,a.current=!0,l())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}(h,f,v,p,w,b,A,O,x,y,e):()=>{}),[v]);!function(e,t,n){Z((()=>e(...t)),n)}(ve,[w,b,A,i,x,y]);try{S=he(j,k,d?()=>p(d(),i):k)}catch(e){throw E.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${E.current.stack}\n\n`),e}Z((()=>{E.current=void 0,x.current=void 0,b.current=S}));let T=m.useMemo((()=>m.createElement(e,{...S,ref:o})),[o,e,S]);return m.useMemo((()=>h?m.createElement(a.Provider,{value:g},T):T),[a,T,g])}let v=m.memo(u);if(v.WrappedComponent=e,v.displayName=u.displayName=n,s){let t=m.forwardRef((function(e,t){return m.createElement(v,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,pe(t,e)}return pe(v,e)}};var be=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:i="once"}){let a=m.useMemo((()=>{let t=J(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:i}}),[e,r,o,i]),c=m.useMemo((()=>e.getState()),[e]);return Z((()=>{let{subscription:t}=a;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),c!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[a,c]),m.createElement((t||g).Provider,{value:a},n)};function we(e=g){let t=e===g?x:w(e),n=()=>{let{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var xe=we();function Ae(e=g){let t=e===g?xe:we(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Oe=Ae(),Ee=$;(e=>{A=e})(p.useSyncExternalStoreWithSelector),(e=>{he=e})(d.useSyncExternalStore)},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},98587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},7230:(e,t,n)=>{"use strict";n.d(t,{LU:()=>s,MS:()=>r,Sv:()=>l,XZ:()=>c,YK:()=>a,j:()=>i,vd:()=>o,yE:()=>u});var r="-ms-",o="-moz-",i="-webkit-",a="comm",c="rule",s="decl",u="@import",l="@keyframes"},35095:(e,t,n)=>{"use strict";n.d(t,{MY:()=>i,r1:()=>o});var r=n(30735);function o(e){var t=(0,r.FK)(e);return function(n,r,o,i){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,i)||"";return a}}function i(e){return function(t){t.root||(t=t.return)&&e(t)}}},27292:(e,t,n)=>{"use strict";n.d(t,{wE:()=>a});var r=n(7230),o=n(30735),i=n(65070);function a(e){return(0,i.VF)(c("",null,null,null,[""],e=(0,i.c4)(e),0,[0],e))}function c(e,t,n,r,a,f,d,p,h){for(var m=0,v=0,y=d,g=0,b=0,w=0,x=1,A=1,O=1,E=0,S="",k=a,j=f,T=r,P=S;A;)switch(w=E,E=(0,i.K2)()){case 40:if(108!=w&&58==(0,o.wN)(P,y-1)){-1!=(0,o.K5)(P+=(0,o.HC)((0,i.Tb)(E),"&","&\f"),"&\f")&&(O=-1);break}case 34:case 39:case 91:P+=(0,i.Tb)(E);break;case 9:case 10:case 13:case 32:P+=(0,i.mw)(w);break;case 92:P+=(0,i.Nc)((0,i.OW)()-1,7);continue;case 47:switch((0,i.se)()){case 42:case 47:(0,o.BC)(u((0,i.nf)((0,i.K2)(),(0,i.OW)()),t,n),h);break;default:P+="/"}break;case 123*x:p[m++]=(0,o.b2)(P)*O;case 125*x:case 59:case 0:switch(E){case 0:case 125:A=0;case 59+v:b>0&&(0,o.b2)(P)-y&&(0,o.BC)(b>32?l(P+";",r,n,y-1):l((0,o.HC)(P," ","")+";",r,n,y-2),h);break;case 59:P+=";";default:if((0,o.BC)(T=s(P,t,n,m,v,a,p,S,k=[],j=[],y),f),123===E)if(0===v)c(P,t,T,T,k,f,y,p,j);else switch(99===g&&110===(0,o.wN)(P,3)?100:g){case 100:case 109:case 115:c(e,T,T,r&&(0,o.BC)(s(e,T,T,0,0,a,p,S,a,k=[],y),j),a,j,y,p,r?k:j);break;default:c(P,T,T,T,[""],j,0,p,j)}}m=v=b=0,x=O=1,S=P="",y=d;break;case 58:y=1+(0,o.b2)(P),b=w;default:if(x<1)if(123==E)--x;else if(125==E&&0==x++&&125==(0,i.YL)())continue;switch(P+=(0,o.HT)(E),E*x){case 38:O=v>0?1:(P+="\f",-1);break;case 44:p[m++]=((0,o.b2)(P)-1)*O,O=1;break;case 64:45===(0,i.se)()&&(P+=(0,i.Tb)((0,i.K2)())),g=(0,i.se)(),v=y=(0,o.b2)(S=P+=(0,i.Cv)((0,i.OW)())),E++;break;case 45:45===w&&2==(0,o.b2)(P)&&(x=0)}}return f}function s(e,t,n,a,c,s,u,l,f,d,p){for(var h=c-1,m=0===c?s:[""],v=(0,o.FK)(m),y=0,g=0,b=0;y<a;++y)for(var w=0,x=(0,o.c1)(e,h+1,h=(0,o.tn)(g=u[y])),A=e;w<v;++w)(A=(0,o.Bq)(g>0?m[w]+" "+x:(0,o.HC)(x,/&\f/g,m[w])))&&(f[b++]=A);return(0,i.rH)(e,t,n,0===c?r.XZ:l,f,d,p)}function u(e,t,n){return(0,i.rH)(e,t,n,r.YK,(0,o.HT)((0,i.Tp)()),(0,o.c1)(e,2,-2),0)}function l(e,t,n,a){return(0,i.rH)(e,t,n,r.LU,(0,o.c1)(e,0,a),(0,o.c1)(e,a+1,-1),a)}},97467:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,l:()=>i});var r=n(7230),o=n(30735);function i(e,t){for(var n="",r=(0,o.FK)(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function a(e,t,n,a){switch(e.type){case r.yE:case r.LU:return e.return=e.return||e.value;case r.YK:return"";case r.Sv:return e.return=e.value+"{"+i(e.children,a)+"}";case r.XZ:e.value=e.props.join(",")}return(0,o.b2)(n=i(e.children,a))?e.return=e.value+"{"+n+"}":""}},65070:(e,t,n)=>{"use strict";n.d(t,{C:()=>f,Cv:()=>k,G1:()=>c,K2:()=>h,Nc:()=>O,OW:()=>v,Sh:()=>g,Tb:()=>x,Tp:()=>d,VF:()=>w,YL:()=>p,c4:()=>b,di:()=>y,mw:()=>A,nf:()=>S,rH:()=>l,se:()=>m});var r=n(30735),o=1,i=1,a=0,c=0,s=0,u="";function l(e,t,n,r,a,c,s){return{value:e,root:t,parent:n,type:r,props:a,children:c,line:o,column:i,length:s,return:""}}function f(e,t){return(0,r.kp)(l("",null,null,"",null,null,0),e,{length:-e.length},t)}function d(){return s}function p(){return s=c>0?(0,r.wN)(u,--c):0,i--,10===s&&(i=1,o--),s}function h(){return s=c<a?(0,r.wN)(u,c++):0,i++,10===s&&(i=1,o++),s}function m(){return(0,r.wN)(u,c)}function v(){return c}function y(e,t){return(0,r.c1)(u,e,t)}function g(e){switch(e){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 b(e){return o=i=1,a=(0,r.b2)(u=e),c=0,[]}function w(e){return u="",e}function x(e){return(0,r.Bq)(y(c-1,E(91===e?e+2:40===e?e+1:e)))}function A(e){for(;(s=m())&&s<33;)h();return g(e)>2||g(s)>3?"":" "}function O(e,t){for(;--t&&h()&&!(s<48||s>102||s>57&&s<65||s>70&&s<97););return y(e,v()+(t<6&&32==m()&&32==h()))}function E(e){for(;h();)switch(s){case e:return c;case 34:case 39:34!==e&&39!==e&&E(s);break;case 40:41===e&&E(e);break;case 92:h()}return c}function S(e,t){for(;h()&&e+s!==57&&(e+s!==84||47!==m()););return"/*"+y(t,c-1)+"*"+(0,r.HT)(47===e?e:h())}function k(e){for(;!g(m());)h();return y(e,c)}},30735:(e,t,n)=>{"use strict";n.d(t,{BC:()=>m,Bq:()=>c,FK:()=>h,HC:()=>u,HT:()=>o,K5:()=>l,YW:()=>s,b2:()=>p,c1:()=>d,kg:()=>v,kp:()=>i,tW:()=>a,tn:()=>r,wN:()=>f});var r=Math.abs,o=String.fromCharCode,i=Object.assign;function a(e,t){return 45^f(e,0)?(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3):0}function c(e){return e.trim()}function s(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function f(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function p(e){return e.length}function h(e){return e.length}function m(e,t){return t.push(e),e}function v(e,t){return e.map(t).join("")}},95361:(e,t,n)=>{"use strict";n.d(t,{BN:()=>v,ER:()=>y,Ej:()=>g,RK:()=>s,UE:()=>c,UU:()=>u,__:()=>a,cY:()=>m,jD:()=>d,mG:()=>h,rD:()=>i});var r=n(22386);function o(e,t,n){let{reference:o,floating:i}=e;const a=(0,r.TV)(t),c=(0,r.Dz)(t),s=(0,r.sq)(c),u=(0,r.C0)(t),l="y"===a,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[s]/2-i[s]/2;let h;switch(u){case"top":h={x:f,y:o.y-i.height};break;case"bottom":h={x:f,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:d};break;case"left":h={x:o.x-i.width,y:d};break;default:h={x:o.x,y:o.y}}switch((0,r.Sg)(t)){case"start":h[c]-=p*(n&&l?-1:1);break;case"end":h[c]+=p*(n&&l?-1:1)}return h}const i=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:c}=n,s=a.filter(Boolean),u=await(null==c.isRTL?void 0:c.isRTL(t));let l=await c.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:d}=o(l,r,u),p=r,h={},m=0;for(let n=0;n<s.length;n++){const{name:a,fn:v}=s[n],{x:y,y:g,data:b,reset:w}=await v({x:f,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:h,rects:l,platform:c,elements:{reference:e,floating:t}});f=null!=y?y:f,d=null!=g?g:d,h={...h,[a]:{...h[a],...b}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(l=!0===w.rects?await c.getElementRects({reference:e,floating:t,strategy:i}):w.rects),({x:f,y:d}=o(l,p,u))),n=-1)}return{x:f,y:d,placement:p,strategy:i,middlewareData:h}};async function a(e,t){var n;void 0===t&&(t={});const{x:o,y:i,platform:a,rects:c,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=(0,r._3)(t,e),m=(0,r.nI)(h),v=s[p?"floating"===d?"reference":"floating":d],y=(0,r.B1)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(v)))||n?v:v.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:u})),g="floating"===d?{...c.floating,x:o,y:i}:c.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),w=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},x=(0,r.B1)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:b,strategy:u}):g);return{top:(y.top-x.top+m.top)/w.y,bottom:(x.bottom-y.bottom+m.bottom)/w.y,left:(y.left-x.left+m.left)/w.x,right:(x.right-y.right+m.right)/w.x}}const c=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:a,platform:c,elements:s,middlewareData:u}=t,{element:l,padding:f=0}=(0,r._3)(e,t)||{};if(null==l)return{};const d=(0,r.nI)(f),p={x:n,y:o},h=(0,r.Dz)(i),m=(0,r.sq)(h),v=await c.getDimensions(l),y="y"===h,g=y?"top":"left",b=y?"bottom":"right",w=y?"clientHeight":"clientWidth",x=a.reference[m]+a.reference[h]-p[h]-a.floating[m],A=p[h]-a.reference[h],O=await(null==c.getOffsetParent?void 0:c.getOffsetParent(l));let E=O?O[w]:0;E&&await(null==c.isElement?void 0:c.isElement(O))||(E=s.floating[w]||a.floating[m]);const S=x/2-A/2,k=E/2-v[m]/2-1,j=(0,r.jk)(d[g],k),T=(0,r.jk)(d[b],k),P=j,C=E-v[m]-T,_=E/2-v[m]/2+S,D=(0,r.qE)(P,_,C),R=!u.arrow&&null!=(0,r.Sg)(i)&&_!==D&&a.reference[m]/2-(_<P?j:T)-v[m]/2<0,N=R?_<P?_-P:_-C:0;return{[h]:p[h]+N,data:{[h]:D,centerOffset:_-D-N,...R&&{alignmentOffset:N}},reset:R}}});const s=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,i;const{rects:c,middlewareData:s,placement:u,platform:l,elements:f}=t,{crossAxis:d=!1,alignment:p,allowedPlacements:h=r.DD,autoAlignment:m=!0,...v}=(0,r._3)(e,t),y=void 0!==p||h===r.DD?function(e,t,n){return(e?[...n.filter((t=>(0,r.Sg)(t)===e)),...n.filter((t=>(0,r.Sg)(t)!==e))]:n.filter((e=>(0,r.C0)(e)===e))).filter((n=>!e||(0,r.Sg)(n)===e||!!t&&(0,r.aD)(n)!==n))}(p||null,m,h):h,g=await a(t,v),b=(null==(n=s.autoPlacement)?void 0:n.index)||0,w=y[b];if(null==w)return{};const x=(0,r.w7)(w,c,await(null==l.isRTL?void 0:l.isRTL(f.floating)));if(u!==w)return{reset:{placement:y[0]}};const A=[g[(0,r.C0)(w)],g[x[0]],g[x[1]]],O=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:w,overflows:A}],E=y[b+1];if(E)return{data:{index:b+1,overflows:O},reset:{placement:E}};const S=O.map((e=>{const t=(0,r.Sg)(e.placement);return[e.placement,t&&d?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),k=(null==(i=S.filter((e=>e[2].slice(0,(0,r.Sg)(e[0])?2:3).every((e=>e<=0))))[0])?void 0:i[0])||S[0][0];return k!==u?{data:{index:b+1,overflows:O},reset:{placement:k}}:{}}}},u=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:c,rects:s,initialPlacement:u,platform:l,elements:f}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...g}=(0,r._3)(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};const b=(0,r.C0)(i),w=(0,r.C0)(u)===u,x=await(null==l.isRTL?void 0:l.isRTL(f.floating)),A=h||(w||!y?[(0,r.bV)(u)]:(0,r.WJ)(u));h||"none"===v||A.push(...(0,r.lP)(u,y,v,x));const O=[u,...A],E=await a(t,g),S=[];let k=(null==(o=c.flip)?void 0:o.overflows)||[];if(d&&S.push(E[b]),p){const e=(0,r.w7)(i,s,x);S.push(E[e[0]],E[e[1]])}if(k=[...k,{placement:i,overflows:S}],!S.every((e=>e<=0))){var j,T;const e=((null==(j=c.flip)?void 0:j.index)||0)+1,t=O[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(T=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:T.placement;if(!n)switch(m){case"bestFit":{var P;const e=null==(P=k.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(n=e);break}case"initialPlacement":n=u}if(i!==n)return{reset:{placement:n}}}return{}}}};function l(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function f(e){return r.r_.some((t=>e[t]>=0))}const d=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...i}=(0,r._3)(e,t);switch(o){case"referenceHidden":{const e=l(await a(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:f(e)}}}case"escaped":{const e=l(await a(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:f(e)}}}default:return{}}}}};function p(e){const t=(0,r.jk)(...e.map((e=>e.left))),n=(0,r.jk)(...e.map((e=>e.top)));return{x:t,y:n,width:(0,r.T9)(...e.map((e=>e.right)))-t,height:(0,r.T9)(...e.map((e=>e.bottom)))-n}}const h=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:o,rects:i,platform:a,strategy:c}=t,{padding:s=2,x:u,y:l}=(0,r._3)(e,t),f=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(o.reference))||[]),d=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let o=null;for(let e=0;e<t.length;e++){const r=t[e];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((e=>(0,r.B1)(p(e))))}(f),h=(0,r.B1)(p(f)),m=(0,r.nI)(s);const v=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===d.length&&d[0].left>d[1].right&&null!=u&&null!=l)return d.find((e=>u>e.left-m.left&&u<e.right+m.right&&l>e.top-m.top&&l<e.bottom+m.bottom))||h;if(d.length>=2){if("y"===(0,r.TV)(n)){const e=d[0],t=d[d.length-1],o="top"===(0,r.C0)(n),i=e.top,a=t.bottom,c=o?e.left:t.left,s=o?e.right:t.right;return{top:i,bottom:a,left:c,right:s,width:s-c,height:a-i,x:c,y:i}}const e="left"===(0,r.C0)(n),t=(0,r.T9)(...d.map((e=>e.right))),o=(0,r.jk)(...d.map((e=>e.left))),i=d.filter((n=>e?n.left===o:n.right===t)),a=i[0].top,c=i[i.length-1].bottom;return{top:a,bottom:c,left:o,right:t,width:t-o,height:c-a,x:o,y:a}}return h}},floating:o.floating,strategy:c});return i.reference.x!==v.reference.x||i.reference.y!==v.reference.y||i.reference.width!==v.reference.width||i.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}};const m=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:a,placement:c,middlewareData:s}=t,u=await async function(e,t){const{placement:n,platform:o,elements:i}=e,a=await(null==o.isRTL?void 0:o.isRTL(i.floating)),c=(0,r.C0)(n),s=(0,r.Sg)(n),u="y"===(0,r.TV)(n),l=["left","top"].includes(c)?-1:1,f=a&&u?-1:1,d=(0,r._3)(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return s&&"number"==typeof m&&(h="end"===s?-1*m:m),u?{x:h*f,y:p*l}:{x:p*l,y:h*f}}(t,e);return c===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:c}}}}},v=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:c=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=(0,r._3)(e,t),f={x:n,y:o},d=await a(t,l),p=(0,r.TV)((0,r.C0)(i)),h=(0,r.PG)(p);let m=f[h],v=f[p];if(c){const e="y"===h?"bottom":"right",t=m+d["y"===h?"top":"left"],n=m-d[e];m=(0,r.qE)(t,m,n)}if(s){const e="y"===p?"bottom":"right",t=v+d["y"===p?"top":"left"],n=v-d[e];v=(0,r.qE)(t,v,n)}const y=u.fn({...t,[h]:m,[p]:v});return{...y,data:{x:y.x-n,y:y.y-o}}}}},y=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:i,rects:a,middlewareData:c}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=(0,r._3)(e,t),f={x:n,y:o},d=(0,r.TV)(i),p=(0,r.PG)(d);let h=f[p],m=f[d];const v=(0,r._3)(s,t),y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){const e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+y.mainAxis,n=a.reference[p]+a.reference[e]-y.mainAxis;h<t?h=t:h>n&&(h=n)}if(l){var g,b;const e="y"===p?"width":"height",t=["top","left"].includes((0,r.C0)(i)),n=a.reference[d]-a.floating[e]+(t&&(null==(g=c.offset)?void 0:g[d])||0)+(t?0:y.crossAxis),o=a.reference[d]+a.reference[e]+(t?0:(null==(b=c.offset)?void 0:b[d])||0)-(t?y.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[p]:h,[d]:m}}}},g=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:i,elements:c}=t,{apply:s=(()=>{}),...u}=(0,r._3)(e,t),l=await a(t,u),f=(0,r.C0)(n),d=(0,r.Sg)(n),p="y"===(0,r.TV)(n),{width:h,height:m}=o.floating;let v,y;"top"===f||"bottom"===f?(v=f,y=d===(await(null==i.isRTL?void 0:i.isRTL(c.floating))?"start":"end")?"left":"right"):(y=f,v="end"===d?"top":"bottom");const g=m-l[v],b=h-l[y],w=!t.middlewareData.shift;let x=g,A=b;if(p){const e=h-l.left-l.right;A=d||w?(0,r.jk)(b,e):e}else{const e=m-l.top-l.bottom;x=d||w?(0,r.jk)(g,e):e}if(w&&!d){const e=(0,r.T9)(l.left,0),t=(0,r.T9)(l.right,0),n=(0,r.T9)(l.top,0),o=(0,r.T9)(l.bottom,0);p?A=h-2*(0!==e||0!==t?e+t:(0,r.T9)(l.left,l.right)):x=m-2*(0!==n||0!==o?n+o:(0,r.T9)(l.top,l.bottom))}await s({...t,availableWidth:A,availableHeight:x});const O=await i.getDimensions(c.floating);return h!==O.width||m!==O.height?{reset:{rects:!0}}:{}}}}},22386:(e,t,n)=>{"use strict";n.d(t,{B1:()=>E,C0:()=>d,DD:()=>i,Dz:()=>y,PG:()=>h,Sg:()=>p,T9:()=>c,TV:()=>v,WJ:()=>b,_3:()=>f,aD:()=>w,bV:()=>A,jk:()=>a,lP:()=>x,nI:()=>O,qE:()=>l,r_:()=>r,sq:()=>m,w7:()=>g});const r=["top","right","bottom","left"],o=["start","end"],i=r.reduce(((e,t)=>e.concat(t,t+"-"+o[0],t+"-"+o[1])),[]),a=Math.min,c=Math.max,s=(Math.round,Math.floor,{left:"right",right:"left",bottom:"top",top:"bottom"}),u={start:"end",end:"start"};function l(e,t,n){return c(e,a(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function h(e){return"x"===e?"y":"x"}function m(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(d(e))?"y":"x"}function y(e){return h(v(e))}function g(e,t,n){void 0===n&&(n=!1);const r=p(e),o=y(e),i=m(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=A(a)),[a,A(a)]}function b(e){const t=A(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,(e=>u[e]))}function x(e,t,n,r){const o=p(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(d(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(w)))),i}function A(e){return e.replace(/left|right|bottom|top/g,(e=>s[e]))}function O(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function E(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},18491:(e,t,n)=>{"use strict";n.d(t,{BN:()=>S,ER:()=>_,Ej:()=>j,RK:()=>E,UE:()=>P,UU:()=>k,__:()=>A,cY:()=>O,iD:()=>w,jD:()=>T,ll:()=>x,mG:()=>C,rD:()=>D});var r=n(22386),o=n(95361),i=n(62257),a=n(88963);function c(e){const t=(0,a.L9)(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=(0,a.sb)(e),c=o?e.offsetWidth:n,s=o?e.offsetHeight:r,u=(0,i.LI)(n)!==c||(0,i.LI)(r)!==s;return u&&(n=c,r=s),{width:n,height:r,$:u}}function s(e){return(0,a.vq)(e)?e:e.contextElement}function u(e){const t=s(e);if(!(0,a.sb)(t))return(0,i.Jx)(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:u}=c(t);let l=(u?(0,i.LI)(n.width):n.width)/r,f=(u?(0,i.LI)(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),f&&Number.isFinite(f)||(f=1),{x:l,y:f}}const l=(0,i.Jx)(0);function f(e){const t=(0,a.zk)(e);return(0,a.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:l}function d(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const c=e.getBoundingClientRect(),l=s(e);let d=(0,i.Jx)(1);t&&(o?(0,a.vq)(o)&&(d=u(o)):d=u(e));const p=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,a.zk)(e))&&t}(l,n,o)?f(l):(0,i.Jx)(0);let h=(c.left+p.x)/d.x,m=(c.top+p.y)/d.y,v=c.width/d.x,y=c.height/d.y;if(l){const e=(0,a.zk)(l),t=o&&(0,a.vq)(o)?(0,a.zk)(o):o;let n=e,r=n.frameElement;for(;r&&o&&t!==n;){const e=u(r),t=r.getBoundingClientRect(),o=(0,a.L9)(r),i=t.left+(r.clientLeft+parseFloat(o.paddingLeft))*e.x,c=t.top+(r.clientTop+parseFloat(o.paddingTop))*e.y;h*=e.x,m*=e.y,v*=e.x,y*=e.y,h+=i,m+=c,n=(0,a.zk)(r),r=n.frameElement}}return(0,r.B1)({width:v,height:y,x:h,y:m})}function p(e){return d((0,a.ep)(e)).left+(0,a.CP)(e).scrollLeft}function h(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=(0,a.zk)(e),r=(0,a.ep)(e),o=n.visualViewport;let i=r.clientWidth,c=r.clientHeight,s=0,u=0;if(o){i=o.width,c=o.height;const e=(0,a.Tc)();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,u=o.offsetTop)}return{width:i,height:c,x:s,y:u}}(e,n);else if("document"===t)o=function(e){const t=(0,a.ep)(e),n=(0,a.CP)(e),r=e.ownerDocument.body,o=(0,i.T9)(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),c=(0,i.T9)(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+p(e);const u=-n.scrollTop;return"rtl"===(0,a.L9)(r).direction&&(s+=(0,i.T9)(t.clientWidth,r.clientWidth)-o),{width:o,height:c,x:s,y:u}}((0,a.ep)(e));else if((0,a.vq)(t))o=function(e,t){const n=d(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,c=(0,a.sb)(e)?u(e):(0,i.Jx)(1);return{width:e.clientWidth*c.x,height:e.clientHeight*c.y,x:o*c.x,y:r*c.y}}(t,n);else{const n=f(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.B1)(o)}function m(e,t){const n=(0,a.$4)(e);return!(n===t||!(0,a.vq)(n)||(0,a.eu)(n))&&("fixed"===(0,a.L9)(n).position||m(n,t))}function v(e,t,n){const r=(0,a.sb)(t),o=(0,a.ep)(t),c="fixed"===n,s=d(e,!0,c,t);let u={scrollLeft:0,scrollTop:0};const l=(0,i.Jx)(0);if(r||!r&&!c)if(("body"!==(0,a.mq)(t)||(0,a.ZU)(o))&&(u=(0,a.CP)(t)),r){const e=d(t,!0,c,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=p(o));return{x:s.left+u.scrollLeft-l.x,y:s.top+u.scrollTop-l.y,width:s.width,height:s.height}}function y(e){return"static"===(0,a.L9)(e).position}function g(e,t){return(0,a.sb)(e)&&"fixed"!==(0,a.L9)(e).position?t?t(e):e.offsetParent:null}function b(e,t){const n=(0,a.zk)(e);if((0,a.Tf)(e))return n;if(!(0,a.sb)(e)){let t=(0,a.$4)(e);for(;t&&!(0,a.eu)(t);){if((0,a.vq)(t)&&!y(t))return t;t=(0,a.$4)(t)}return n}let r=g(e,t);for(;r&&(0,a.Lv)(r)&&y(r);)r=g(r,t);return r&&(0,a.eu)(r)&&y(r)&&!(0,a.sQ)(r)?n:r||(0,a.gJ)(e)||n}const w={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const c="fixed"===o,s=(0,a.ep)(r),l=!!t&&(0,a.Tf)(t.floating);if(r===s||l&&c)return n;let f={scrollLeft:0,scrollTop:0},p=(0,i.Jx)(1);const h=(0,i.Jx)(0),m=(0,a.sb)(r);if((m||!m&&!c)&&(("body"!==(0,a.mq)(r)||(0,a.ZU)(s))&&(f=(0,a.CP)(r)),(0,a.sb)(r))){const e=d(r);p=u(r),h.x=e.x+r.clientLeft,h.y=e.y+r.clientTop}return{width:n.width*p.x,height:n.height*p.y,x:n.x*p.x-f.scrollLeft*p.x+h.x,y:n.y*p.y-f.scrollTop*p.y+h.y}},getDocumentElement:a.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const c=[..."clippingAncestors"===n?(0,a.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,a.v9)(e,[],!1).filter((e=>(0,a.vq)(e)&&"body"!==(0,a.mq)(e))),o=null;const i="fixed"===(0,a.L9)(e).position;let c=i?(0,a.$4)(e):e;for(;(0,a.vq)(c)&&!(0,a.eu)(c);){const t=(0,a.L9)(c),n=(0,a.sQ)(c);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||(0,a.ZU)(c)&&!n&&m(e,c))?r=r.filter((e=>e!==c)):o=t,c=(0,a.$4)(c)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=c[0],u=c.reduce(((e,n)=>{const r=h(t,n,o);return e.top=(0,i.T9)(r.top,e.top),e.right=(0,i.jk)(r.right,e.right),e.bottom=(0,i.jk)(r.bottom,e.bottom),e.left=(0,i.T9)(r.left,e.left),e}),h(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:b,getElementRects:async function(e){const t=this.getOffsetParent||b,n=this.getDimensions,r=await n(e.floating);return{reference:v(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=c(e);return{width:t,height:n}},getScale:u,isElement:a.vq,isRTL:function(e){return"rtl"===(0,a.L9)(e).direction}};function x(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,p=s(e),h=o||c?[...p?(0,a.v9)(p):[],...(0,a.v9)(t)]:[];h.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)}));const m=p&&l?function(e,t){let n,r=null;const o=(0,a.ep)(e);function c(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,u){void 0===s&&(s=!1),void 0===u&&(u=1),c();const{left:l,top:f,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;const h={rootMargin:-(0,i.RI)(f)+"px "+-(0,i.RI)(o.clientWidth-(l+d))+"px "+-(0,i.RI)(o.clientHeight-(f+p))+"px "+-(0,i.RI)(l)+"px",threshold:(0,i.T9)(0,(0,i.jk)(1,u))||1};let m=!0;function v(e){const t=e[0].intersectionRatio;if(t!==u){if(!m)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}m=!1}try{r=new IntersectionObserver(v,{...h,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,h)}r.observe(e)}(!0),c}(p,n):null;let v,y=-1,g=null;u&&(g=new ResizeObserver((e=>{let[r]=e;r&&r.target===p&&g&&(g.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var e;null==(e=g)||e.observe(t)}))),n()})),p&&!f&&g.observe(p),g.observe(t));let b=f?d(e):null;return f&&function t(){const r=d(e);!b||r.x===b.x&&r.y===b.y&&r.width===b.width&&r.height===b.height||n();b=r,v=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach((e=>{o&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)})),null==m||m(),null==(e=g)||e.disconnect(),g=null,f&&cancelAnimationFrame(v)}}const A=o.__,O=o.cY,E=o.RK,S=o.BN,k=o.UU,j=o.Ej,T=o.jD,P=o.UE,C=o.mG,_=o.ER,D=(e,t,n)=>{const r=new Map,i={platform:w,...n},a={...i.platform,_c:r};return(0,o.rD)(e,t,{...i,platform:a})}},88963:(e,t,n)=>{"use strict";function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function i(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return e instanceof Node||e instanceof o(e).Node}function c(e){return e instanceof Element||e instanceof o(e).Element}function s(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function l(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function f(e){return["table","td","th"].includes(r(e))}function d(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function p(e){const t=m(),n=c(e)?y(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function h(e){let t=b(e);for(;s(t)&&!v(t);){if(p(t))return t;if(d(t))return null;t=b(t)}return null}function m(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function v(e){return["html","body","#document"].includes(r(e))}function y(e){return o(e).getComputedStyle(e)}function g(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function b(e){if("html"===r(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||i(e);return u(t)?t.host:t}function w(e){const t=b(e);return v(t)?e.ownerDocument?e.ownerDocument.body:e.body:s(t)&&l(t)?t:w(t)}function x(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=w(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),c=o(i);return a?t.concat(c,c.visualViewport||[],l(i)?i:[],c.frameElement&&n?x(c.frameElement):[]):t.concat(i,x(i,[],n))}n.d(t,{$4:()=>b,CP:()=>g,L9:()=>y,Lv:()=>f,Tc:()=>m,Tf:()=>d,ZU:()=>l,ep:()=>i,eu:()=>v,gJ:()=>h,mq:()=>r,sQ:()=>p,sb:()=>s,v9:()=>x,vq:()=>c,zk:()=>o})},62257:(e,t,n)=>{"use strict";n.d(t,{Jx:()=>c,LI:()=>i,RI:()=>a,T9:()=>o,jk:()=>r});const r=Math.min,o=Math.max,i=Math.round,a=Math.floor,c=e=>({x:e,y:e})},34743:(e,t,n)=>{"use strict";n.d(t,{BN:()=>h,ER:()=>m,Ej:()=>y,RK:()=>g,UE:()=>x,UU:()=>v,cY:()=>p,jD:()=>b,mG:()=>w,we:()=>f});var r=n(18491),o=n(4883),i=n(81845),a="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function c(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!c(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!c(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function s(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){const n=s(e);return Math.round(t*n)/n}function l(e){const t=o.useRef(e);return a((()=>{t.current=e})),t}function f(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:f=[],platform:d,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:y}=e,[g,b]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=o.useState(f);c(w,f)||x(f);const[A,O]=o.useState(null),[E,S]=o.useState(null),k=o.useCallback((e=>{e!==C.current&&(C.current=e,O(e))}),[]),j=o.useCallback((e=>{e!==_.current&&(_.current=e,S(e))}),[]),T=p||A,P=h||E,C=o.useRef(null),_=o.useRef(null),D=o.useRef(g),R=null!=v,N=l(v),I=l(d),M=l(y),L=o.useCallback((()=>{if(!C.current||!_.current)return;const e={placement:t,strategy:n,middleware:w};I.current&&(e.platform=I.current),(0,r.rD)(C.current,_.current,e).then((e=>{const t={...e,isPositioned:!1!==M.current};F.current&&!c(D.current,t)&&(D.current=t,i.flushSync((()=>{b(t)})))}))}),[w,t,n,I,M]);a((()=>{!1===y&&D.current.isPositioned&&(D.current.isPositioned=!1,b((e=>({...e,isPositioned:!1}))))}),[y]);const F=o.useRef(!1);a((()=>(F.current=!0,()=>{F.current=!1})),[]),a((()=>{if(T&&(C.current=T),P&&(_.current=P),T&&P){if(N.current)return N.current(T,P,L);L()}}),[T,P,L,N,R]);const H=o.useMemo((()=>({reference:C,floating:_,setReference:k,setFloating:j})),[k,j]),B=o.useMemo((()=>({reference:T,floating:P})),[T,P]),U=o.useMemo((()=>{const e={position:n,left:0,top:0};if(!B.floating)return e;const t=u(B.floating,g.x),r=u(B.floating,g.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...s(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,m,B.floating,g.x,g.y]);return o.useMemo((()=>({...g,update:L,refs:H,elements:B,floatingStyles:U})),[g,L,H,B,U])}const d=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:o}="function"==typeof e?e(t):e;return n&&(i=n,{}.hasOwnProperty.call(i,"current"))?null!=n.current?(0,r.UE)({element:n.current,padding:o}).fn(t):{}:n?(0,r.UE)({element:n,padding:o}).fn(t):{};var i}}),p=(e,t)=>({...(0,r.cY)(e),options:[e,t]}),h=(e,t)=>({...(0,r.BN)(e),options:[e,t]}),m=(e,t)=>({...(0,r.ER)(e),options:[e,t]}),v=(e,t)=>({...(0,r.UU)(e),options:[e,t]}),y=(e,t)=>({...(0,r.Ej)(e),options:[e,t]}),g=(e,t)=>({...(0,r.RK)(e),options:[e,t]}),b=(e,t)=>({...(0,r.jD)(e),options:[e,t]}),w=(e,t)=>({...(0,r.mG)(e),options:[e,t]}),x=(e,t)=>({...d(e),options:[e,t]})},58689:(e,t,n)=>{"use strict";var r;n.d(t,{Mk:()=>M,XF:()=>J,bv:()=>le,ie:()=>k,kp:()=>te,s9:()=>ie,we:()=>ae});var o=n(4883),i=n(66984),a=n(86635),c=n(49054),s=n(81845),u=n(88963),l=n(34743);const f={...r||(r=n.t(o,2))},d=f.useInsertionEffect||(e=>e());function p(e){const t=o.useRef((()=>{0}));return d((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const h="ArrowUp",m="ArrowDown",v="ArrowLeft",y="ArrowRight";var g="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;const b=[v,y],w=[h,m];function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}let A=!1,O=0;const E=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+O++;const S=f.useId||function(){const[e,t]=o.useState((()=>A?E():void 0));return g((()=>{null==e&&t(E())}),[]),o.useEffect((()=>{A=!0}),[]),e};const k=o.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:r},middlewareData:{arrow:i,shift:c}},width:s=14,height:u=7,tipRadius:l=0,strokeWidth:f=0,staticOffset:d,stroke:p,d:h,style:{transform:m,...v}={},...y}=e;const b=S(),[w,A]=o.useState(!1);if(g((()=>{if(!r)return;"rtl"===(0,a.L9)(r).direction&&A(!0)}),[r]),!r)return null;const[O,E]=n.split("-"),k="top"===O||"bottom"===O;let j=d;(k&&null!=c&&c.x||!k&&null!=c&&c.y)&&(j=null);const T=2*f,P=T/2,C=s/2*(l/-8+1),_=u/2*l/4,D=!!h,R=j&&"end"===E?"bottom":"top";let N=j&&"end"===E?"right":"left";j&&w&&(N="end"===E?"left":"right");const I=null!=(null==i?void 0:i.x)?j||i.x:"",M=null!=(null==i?void 0:i.y)?j||i.y:"",L=h||"M0,0 H"+s+" L"+(s-C)+","+(u-_)+" Q"+s/2+","+u+" "+C+","+(u-_)+" Z",F={top:D?"rotate(180deg)":"",left:D?"rotate(90deg)":"rotate(-90deg)",bottom:D?"":"rotate(180deg)",right:D?"rotate(-90deg)":"rotate(90deg)"}[O];return o.createElement("svg",x({},y,{"aria-hidden":!0,ref:t,width:D?s:s+T,height:s,viewBox:"0 0 "+s+" "+(u>s?u:s),style:{position:"absolute",pointerEvents:"none",[N]:I,[R]:M,[O]:k||D?"100%":"calc(100% - "+T/2+"px)",transform:[F,m].filter((e=>!!e)).join(" "),...v}}),T>0&&o.createElement("path",{clipPath:"url(#"+b+")",fill:"none",stroke:p,strokeWidth:T+(h?0:1),d:L}),o.createElement("path",{stroke:T&&!h?y.fill:"none",d:L}),o.createElement("clipPath",{id:b},o.createElement("rect",{x:-P,y:P*(D?-1:1),width:s+T,height:s})))}));function j(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const T=o.createContext(null),P=o.createContext(null),C=()=>{var e;return(null==(e=o.useContext(T))?void 0:e.id)||null},_=()=>o.useContext(P);function D(e){return"data-floating-ui-"+e}function R(e){const t=(0,o.useRef)(e);return g((()=>{t.current=e})),t}const N=D("safe-polygon");function I(e,t,n){return n&&!(0,i.Go)(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function M(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:c,events:s,elements:u}=e,{enabled:l=!0,delay:f=0,handleClose:d=null,mouseOnly:h=!1,restMs:m=0,move:v=!0}=t,y=_(),b=C(),w=R(d),x=R(f),A=R(n),O=o.useRef(),E=o.useRef(-1),S=o.useRef(),k=o.useRef(-1),j=o.useRef(!0),T=o.useRef(!1),P=o.useRef((()=>{})),D=o.useRef(!1),M=o.useCallback((()=>{var e;const t=null==(e=c.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[c]);o.useEffect((()=>{if(l)return s.on("openchange",e),()=>{s.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(E.current),clearTimeout(k.current),j.current=!0,D.current=!1)}}),[l,s]),o.useEffect((()=>{if(!l)return;if(!w.current)return;if(!n)return;function e(e){M()&&r(!1,e,"hover")}const t=(0,i.YE)(u.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[u.floating,n,r,l,w,M]);const L=o.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=I(x.current,"close",O.current);o&&!S.current?(clearTimeout(E.current),E.current=window.setTimeout((()=>r(!1,e,n)),o)):t&&(clearTimeout(E.current),r(!1,e,n))}),[x,r]),F=p((()=>{P.current(),S.current=void 0})),H=p((()=>{if(T.current){const e=(0,i.YE)(u.floating).body;e.style.pointerEvents="",e.removeAttribute(N),T.current=!1}}));o.useEffect((()=>{if(l&&(0,a.vq)(u.domReference)){var e;const t=u.domReference;return n&&t.addEventListener("mouseleave",f),null==(e=u.floating)||e.addEventListener("mouseleave",f),v&&t.addEventListener("mousemove",o,{once:!0}),t.addEventListener("mouseenter",o),t.addEventListener("mouseleave",s),()=>{var e;n&&t.removeEventListener("mouseleave",f),null==(e=u.floating)||e.removeEventListener("mouseleave",f),v&&t.removeEventListener("mousemove",o),t.removeEventListener("mouseenter",o),t.removeEventListener("mouseleave",s)}}function t(){return!!c.current.openEvent&&["click","mousedown"].includes(c.current.openEvent.type)}function o(e){if(clearTimeout(E.current),j.current=!1,h&&!(0,i.Go)(O.current)||m>0&&!I(x.current,"open"))return;const t=I(x.current,"open",O.current);t?E.current=window.setTimeout((()=>{A.current||r(!0,e,"hover")}),t):r(!0,e,"hover")}function s(e){if(t())return;P.current();const r=(0,i.YE)(u.floating);if(clearTimeout(k.current),D.current=!1,w.current&&c.current.floatingContext){n||clearTimeout(E.current),S.current=w.current({...c.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){H(),F(),L(e,!0,"safe-polygon")}});const t=S.current;return r.addEventListener("mousemove",t),void(P.current=()=>{r.removeEventListener("mousemove",t)})}("touch"!==O.current||!(0,i.gR)(u.floating,e.relatedTarget))&&L(e)}function f(e){t()||c.current.floatingContext&&(null==w.current||w.current({...c.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){H(),F(),L(e)}})(e))}}),[u,l,e,h,m,v,L,F,H,r,n,A,y,x,w,c]),g((()=>{var e;if(l&&n&&null!=(e=w.current)&&e.__options.blockPointerEvents&&M()){T.current=!0;const e=u.floating;if((0,a.vq)(u.domReference)&&e){var t;const n=(0,i.YE)(u.floating).body;n.setAttribute(N,"");const r=u.domReference,o=null==y||null==(t=y.nodesRef.current.find((e=>e.id===b)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[l,n,b,u,y,w,M]),g((()=>{n||(O.current=void 0,D.current=!1,F(),H())}),[n,F,H]),o.useEffect((()=>()=>{F(),clearTimeout(E.current),clearTimeout(k.current),H()}),[l,u.domReference,F,H]);const B=o.useMemo((()=>{function e(e){O.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){j.current||A.current||r(!0,t,"hover")}h&&!(0,i.Go)(O.current)||n||0===m||D.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(k.current),"touch"===O.current?o():(D.current=!0,k.current=window.setTimeout(o,m)))}}}),[h,r,n,A,m]),U=o.useMemo((()=>({onMouseEnter(){clearTimeout(E.current)},onMouseLeave(e){L(e.nativeEvent,!1)}})),[L]);return o.useMemo((()=>l?{reference:B,floating:U}:{}),[l,B,U])}function L(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}const F=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function H(e,t){const n=(0,c.Kr)(e,F());"prev"===t&&n.reverse();const r=n.indexOf((0,i.RS)((0,i.YE)(e)));return n.slice(r+1)[0]}function B(){return H(document.body,"next")}function U(){return H(document.body,"prev")}function W(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!(0,i.gR)(n,r)}function z(e){(0,c.Kr)(e,F()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function G(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const Y={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function q(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const V=o.forwardRef((function(e,t){const[n,r]=o.useState();g((()=>((0,i.nr)()&&r("button"),document.addEventListener("keydown",q),()=>{document.removeEventListener("keydown",q)})),[]);const a={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[D("focus-guard")]:"",style:Y};return o.createElement("span",x({},e,a))})),$=o.createContext(null),K=D("portal");function J(e){const{children:t,id:n,root:r=null,preserveTabOrder:i=!0}=e,c=function(e){void 0===e&&(e={});const{id:t,root:n}=e,r=S(),i=X(),[c,s]=o.useState(null),u=o.useRef(null);return g((()=>()=>{null==c||c.remove(),queueMicrotask((()=>{u.current=null}))}),[c]),g((()=>{if(!r)return;if(u.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=r,n.setAttribute(K,""),e.appendChild(n),u.current=n,s(n)}),[t,r]),g((()=>{if(!r)return;if(u.current)return;let e=n||(null==i?void 0:i.portalNode);e&&!(0,a.vq)(e)&&(e=e.current),e=e||document.body;let o=null;t&&(o=document.createElement("div"),o.id=t,e.appendChild(o));const c=document.createElement("div");c.id=r,c.setAttribute(K,""),e=o||e,e.appendChild(c),u.current=c,s(c)}),[t,n,r,i]),c}({id:n,root:r}),[u,l]=o.useState(null),f=o.useRef(null),d=o.useRef(null),p=o.useRef(null),h=o.useRef(null),m=null==u?void 0:u.modal,v=null==u?void 0:u.open,y=!!u&&!u.modal&&u.open&&i&&!(!r&&!c);return o.useEffect((()=>{if(c&&i&&!m)return c.addEventListener("focusin",e,!0),c.addEventListener("focusout",e,!0),()=>{c.removeEventListener("focusin",e,!0),c.removeEventListener("focusout",e,!0)};function e(e){if(c&&W(e)){("focusin"===e.type?G:z)(c)}}}),[c,i,m]),o.useEffect((()=>{c&&(v||G(c))}),[v,c]),o.createElement($.Provider,{value:o.useMemo((()=>({preserveTabOrder:i,beforeOutsideRef:f,afterOutsideRef:d,beforeInsideRef:p,afterInsideRef:h,portalNode:c,setFocusManagerState:l})),[i,c])},y&&c&&o.createElement(V,{"data-type":"outside",ref:f,onFocus:e=>{if(W(e,c)){var t;null==(t=p.current)||t.focus()}else{const e=U()||(null==u?void 0:u.refs.domReference.current);null==e||e.focus()}}}),y&&c&&o.createElement("span",{"aria-owns":c.id,style:Y}),c&&s.createPortal(t,c),y&&c&&o.createElement(V,{"data-type":"outside",ref:d,onFocus:e=>{if(W(e,c)){var t;null==(t=h.current)||t.focus()}else{const t=B()||(null==u?void 0:u.refs.domReference.current);null==t||t.focus(),(null==u?void 0:u.closeOnFocusOut)&&(null==u||u.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}const X=()=>o.useContext($),Q="data-floating-ui-focusable";function Z(e){return(0,a.sb)(e.target)&&"BUTTON"===e.target.tagName}function ee(e){return(0,i.$u)(e)}function te(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:a,elements:{domReference:c}}=e,{enabled:s=!0,event:u="click",toggle:l=!0,ignoreMouse:f=!1,keyboardHandlers:d=!0}=t,p=o.useRef(),h=o.useRef(!1),m=o.useMemo((()=>({onPointerDown(e){p.current=e.pointerType},onMouseDown(e){const t=p.current;0===e.button&&"click"!==u&&((0,i.Go)(t,!0)&&f||(!n||!l||a.current.openEvent&&"mousedown"!==a.current.openEvent.type?(e.preventDefault(),r(!0,e.nativeEvent,"click")):r(!1,e.nativeEvent,"click")))},onClick(e){const t=p.current;"mousedown"===u&&p.current?p.current=void 0:(0,i.Go)(t,!0)&&f||(!n||!l||a.current.openEvent&&"click"!==a.current.openEvent.type?r(!0,e.nativeEvent,"click"):r(!1,e.nativeEvent,"click"))},onKeyDown(e){p.current=void 0,e.defaultPrevented||!d||Z(e)||(" "!==e.key||ee(c)||(e.preventDefault(),h.current=!0),"Enter"===e.key&&r(!n||!l,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!d||Z(e)||ee(c)||" "===e.key&&h.current&&(h.current=!1,r(!n||!l,e.nativeEvent,"click"))}})),[a,c,u,f,d,r,n,l]);return o.useMemo((()=>s?{reference:m}:{}),[s,m])}const ne={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},re={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},oe=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function ie(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,elements:c,dataRef:s}=e,{enabled:l=!0,escapeKey:f=!0,outsidePress:d=!0,outsidePressEvent:h="pointerdown",referencePress:m=!1,referencePressEvent:v="pointerdown",ancestorScroll:y=!1,bubbles:g,capture:b}=t,w=_(),x=p("function"==typeof d?d:()=>!1),A="function"==typeof d?x:d,O=o.useRef(!1),E=o.useRef(!1),{escapeKey:S,outsidePress:k}=oe(g),{escapeKey:j,outsidePress:T}=oe(b),P=o.useRef(!1),C=p((e=>{var t;if(!n||!l||!f||"Escape"!==e.key)return;if(P.current)return;const o=null==(t=s.current.floatingContext)?void 0:t.nodeId,a=w?L(w.nodesRef.current,o):[];if(!S&&(e.stopPropagation(),a.length>0)){let e=!0;if(a.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}r(!1,(0,i.O_)(e)?e.nativeEvent:e,"escape-key")})),R=p((e=>{var t;const n=()=>{var t;C(e),null==(t=(0,i.EW)(e))||t.removeEventListener("keydown",n)};null==(t=(0,i.EW)(e))||t.addEventListener("keydown",n)})),N=p((e=>{var t;const n=O.current;O.current=!1;const o=E.current;if(E.current=!1,"click"===h&&o)return;if(n)return;if("function"==typeof A&&!A(e))return;const u=(0,i.EW)(e),l="["+D("inert")+"]",f=(0,i.YE)(c.floating).querySelectorAll(l);let d=(0,a.vq)(u)?u:null;for(;d&&!(0,a.eu)(d);){const e=(0,a.$4)(d);if((0,a.eu)(e)||!(0,a.vq)(e))break;d=e}if(f.length&&(0,a.vq)(u)&&!(0,i.tZ)(u)&&!(0,i.gR)(u,c.floating)&&Array.from(f).every((e=>!(0,i.gR)(d,e))))return;if((0,a.sb)(u)&&F){const t=u.clientWidth>0&&u.scrollWidth>u.clientWidth,n=u.clientHeight>0&&u.scrollHeight>u.clientHeight;let r=n&&e.offsetX>u.clientWidth;if(n){"rtl"===(0,a.L9)(u).direction&&(r=e.offsetX<=u.offsetWidth-u.clientWidth)}if(r||t&&e.offsetY>u.clientHeight)return}const p=null==(t=s.current.floatingContext)?void 0:t.nodeId,m=w&&L(w.nodesRef.current,p).some((t=>{var n;return(0,i.F2)(e,null==(n=t.context)?void 0:n.elements.floating)}));if((0,i.F2)(e,c.floating)||(0,i.F2)(e,c.domReference)||m)return;const v=w?L(w.nodesRef.current,p):[];if(v.length>0){let e=!0;if(v.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}r(!1,e,"outside-press")})),I=p((e=>{var t;const n=()=>{var t;N(e),null==(t=(0,i.EW)(e))||t.removeEventListener(h,n)};null==(t=(0,i.EW)(e))||t.addEventListener(h,n)}));o.useEffect((()=>{if(!n||!l)return;s.current.__escapeKeyBubbles=S,s.current.__outsidePressBubbles=k;let e=-1;function t(e){r(!1,e,"ancestor-scroll")}function o(){window.clearTimeout(e),P.current=!0}function d(){e=window.setTimeout((()=>{P.current=!1}),(0,a.Tc)()?5:0)}const p=(0,i.YE)(c.floating);f&&(p.addEventListener("keydown",j?R:C,j),p.addEventListener("compositionstart",o),p.addEventListener("compositionend",d)),A&&p.addEventListener(h,T?I:N,T);let m=[];return y&&((0,a.vq)(c.domReference)&&(m=(0,u.v9)(c.domReference)),(0,a.vq)(c.floating)&&(m=m.concat((0,u.v9)(c.floating))),!(0,a.vq)(c.reference)&&c.reference&&c.reference.contextElement&&(m=m.concat((0,u.v9)(c.reference.contextElement)))),m=m.filter((e=>{var t;return e!==(null==(t=p.defaultView)?void 0:t.visualViewport)})),m.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{f&&(p.removeEventListener("keydown",j?R:C,j),p.removeEventListener("compositionstart",o),p.removeEventListener("compositionend",d)),A&&p.removeEventListener(h,T?I:N,T),m.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[s,c,f,A,h,n,r,y,l,S,k,C,j,R,N,T,I]),o.useEffect((()=>{O.current=!1}),[A,h]);const M=o.useMemo((()=>({onKeyDown:C,[ne[v]]:e=>{m&&r(!1,e.nativeEvent,"reference-press")}})),[C,r,m,v]),F=o.useMemo((()=>({onKeyDown:C,onMouseDown(){E.current=!0},onMouseUp(){E.current=!0},[re[h]]:()=>{O.current=!0}})),[C,h]);return o.useMemo((()=>l?{reference:M,floating:F}:{}),[l,M,F])}function ae(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:r}=e,i=S(),a=o.useRef({}),[c]=o.useState((()=>j())),s=null!=C(),[u,l]=o.useState(r.reference),f=p(((e,t,r)=>{a.current.openEvent=e?t:void 0,c.emit("openchange",{open:e,event:t,reason:r,nested:s}),null==n||n(e,t,r)})),d=o.useMemo((()=>({setPositionReference:l})),[]),h=o.useMemo((()=>({reference:u||r.reference||null,floating:r.floating||null,domReference:r.reference})),[u,r.reference,r.floating]);return o.useMemo((()=>({dataRef:a,open:t,onOpenChange:f,elements:h,events:c,floatingId:i,refs:d})),[t,f,h,c,i,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,i=r.elements,[c,s]=o.useState(null),[u,f]=o.useState(null),d=(null==i?void 0:i.reference)||c,h=o.useRef(null),m=_();g((()=>{d&&(h.current=d)}),[d]);const v=(0,l.we)({...e,elements:{...i,...u&&{reference:u}}}),y=o.useCallback((e=>{const t=(0,a.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;f(t),v.refs.setReference(t)}),[v.refs]),b=o.useCallback((e=>{((0,a.vq)(e)||null===e)&&(h.current=e,s(e)),((0,a.vq)(v.refs.reference.current)||null===v.refs.reference.current||null!==e&&!(0,a.vq)(e))&&v.refs.setReference(e)}),[v.refs]),w=o.useMemo((()=>({...v.refs,setReference:b,setPositionReference:y,domReference:h})),[v.refs,b,y]),x=o.useMemo((()=>({...v.elements,domReference:d})),[v.elements,d]),A=o.useMemo((()=>({...v,...r,refs:w,elements:x,nodeId:t})),[v,w,x,t,r]);return g((()=>{r.dataRef.current.floatingContext=A;const e=null==m?void 0:m.nodesRef.current.find((e=>e.id===t));e&&(e.context=A)})),o.useMemo((()=>({...v,context:A,refs:w,elements:x})),[v,w,x,A])}const ce="active",se="selected";function ue(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[ce]:t,[se]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[Q]:""},...i,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,i]=t;var a;o&&[ce,se].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(a=r.get(n))||a.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=i)})),e):e),{})}}function le(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),i=o.useCallback((t=>ue(t,e,"reference")),t),a=o.useCallback((t=>ue(t,e,"floating")),n),c=o.useCallback((t=>ue(t,e,"item")),r);return o.useMemo((()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:c})),[i,a,c])}},66984:(e,t,n)=>{"use strict";n.d(t,{$t:()=>c,$u:()=>w,EW:()=>g,F2:()=>y,Go:()=>p,O_:()=>h,Pg:()=>u,RS:()=>o,WZ:()=>A,YE:()=>v,YF:()=>s,cX:()=>d,gR:()=>i,jo:()=>x,nr:()=>l,tZ:()=>m,uo:()=>a});var r=n(86635);function o(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function i(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function a(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function s(e){return!(0!==e.mozInputSource||!e.isTrusted)||(f()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function u(e){return!c().includes("jsdom/")&&(!f()&&0===e.width&&0===e.height||f()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function l(){return/apple/i.test(navigator.vendor)}function f(){const e=/android/i;return e.test(a())||e.test(c())}function d(){return a().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function p(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function h(e){return"nativeEvent"in e}function m(e){return e.matches("html,body")}function v(e){return(null==e?void 0:e.ownerDocument)||document}function y(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function g(e){return"composedPath"in e?e.composedPath()[0]:e.target}const b="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function w(e){return(0,r.sb)(e)&&e.matches(b)}function x(e){e.preventDefault(),e.stopPropagation()}function A(e){return!!e&&("combobox"===e.getAttribute("role")&&w(e))}},86635:(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof window}function o(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function c(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function s(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function u(e){return!(!r()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function l(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function f(e){return["html","body","#document"].includes(o(e))}function d(e){return i(e).getComputedStyle(e)}function p(e){if("html"===o(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||function(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}(e);return u(t)?t.host:t}n.d(t,{$4:()=>p,L9:()=>d,Ng:()=>u,Tc:()=>l,eu:()=>f,mq:()=>o,sb:()=>s,vq:()=>c,zk:()=>i})},81293:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,fX:()=>a});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;function a(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},20038:(e,t,n)=>{"use strict";n.d(t,{U1:()=>d});var r=n(14644),o=n(27346),i="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?r.Zz:r.Zz.apply(null,arguments)};"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var a=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return 1===t.length&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};var c=()=>function(e){const{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{};let c=new a;return t&&("boolean"==typeof t?c.push(o.P):c.push((0,o.Y)(t.extraArgument))),c},s="RTK_autoBatch",u=e=>t=>{setTimeout(t,e)},l="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:u(10),f=e=>function(t){const{autoBatch:n=!0}=t??{};let r=new a(e);return n&&r.push(((e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let o=!0,i=!1,a=!1;const c=new Set,f="tick"===e.type?queueMicrotask:"raf"===e.type?l:"callback"===e.type?e.queueNotification:u(e.timeout),d=()=>{a=!1,i&&(i=!1,c.forEach((e=>e())))};return Object.assign({},r,{subscribe(e){const t=r.subscribe((()=>o&&e()));return c.add(e),()=>{t(),c.delete(e)}},dispatch(e){try{return o=!e?.meta?.[s],i=!o,i&&(a||(a=!0,f(d))),r.dispatch(e)}finally{o=!0}}})})("object"==typeof n?n:void 0)),r};function d(e){const t=c(),{reducer:n,middleware:o,devTools:a=!0,preloadedState:s,enhancers:u}=e||{};let l,d;if("function"==typeof n)l=n;else{if(!(0,r.Qd)(n))throw new Error(h(1));l=(0,r.HY)(n)}d="function"==typeof o?o(t):t();let p=r.Zz;a&&(p=i({trace:!1,..."object"==typeof a&&a}));const m=(0,r.Tw)(...d),v=f(m);const y=p(..."function"==typeof u?u(v):v());return(0,r.y$)(l,s,y)}var{assign:p}=Object;Symbol.for("rtk-state-proxy-original");function h(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}},51819:(e,t,n)=>{"use strict";function r(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}n.d(t,{F:()=>r})},92516:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});let r={};function o(){return r}},32082:(e,t,n)=>{"use strict";n.d(t,{_:()=>v});var r=n(71104),o=n(84543),i=n(51898),a=n(97084),c=n(84485),s=n(51819),u=n(87758);const l="midnight",f="noon",d="morning",p="afternoon",h="evening",m="night",v={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return u.C.y(e,t)},Y:function(e,t,n,r){const o=(0,c.h)(e,r),i=o>0?o:1-o;if("YY"===t){const e=i%100;return(0,s.F)(e,2)}return"Yo"===t?n.ordinalNumber(i,{unit:"year"}):(0,s.F)(i,t.length)},R:function(e,t){const n=(0,i.p)(e);return(0,s.F)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,s.F)(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,s.F)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,s.F)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return u.C.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,s.F)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=(0,a.N)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):(0,s.F)(o,t.length)},I:function(e,t,n){const r=(0,o.s)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,s.F)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):u.C.d(e,t)},D:function(e,t,n){const o=(0,r.F)(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):(0,s.F)(o,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return(0,s.F)(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return(0,s.F)(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return(0,s.F)(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?f:0===r?l:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?h:r>=12?p:r>=4?d:m,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return u.C.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):u.C.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,s.F)(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,s.F)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):u.C.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):u.C.s(e,t)},S:function(e,t){return u.C.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return g(r);case"XXXX":case"XX":return b(r);default:return b(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return g(r);case"xxxx":case"xx":return b(r);default:return b(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+y(r,":");default:return"GMT"+b(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+y(r,":");default:return"GMT"+b(r,":")}},t:function(e,t,n){const r=Math.trunc(+e/1e3);return(0,s.F)(r,t.length)},T:function(e,t,n){return(0,s.F)(+e,t.length)}};function y(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+(0,s.F)(i,2)}function g(e,t){if(e%60==0){return(e>0?"-":"+")+(0,s.F)(Math.abs(e)/60,2)}return b(e,t)}function b(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+(0,s.F)(Math.trunc(r/60),2)+t+(0,s.F)(r%60,2)}},87758:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(51819);const o={y(e,t){const n=e.getFullYear(),o=n>0?n:1-n;return(0,r.F)("yy"===t?o%100:o,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,r.F)(n+1,2)},d:(e,t)=>(0,r.F)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.F)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.F)(e.getHours(),t.length),m:(e,t)=>(0,r.F)(e.getMinutes(),t.length),s:(e,t)=>(0,r.F)(e.getSeconds(),t.length),S(e,t){const n=t.length,o=e.getMilliseconds(),i=Math.trunc(o*Math.pow(10,n-3));return(0,r.F)(i,t.length)}}},78668:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});const r=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},o=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},i={p:o,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return r(e,t);let c;switch(i){case"P":c=t.dateTime({width:"short"});break;case"PP":c=t.dateTime({width:"medium"});break;case"PPP":c=t.dateTime({width:"long"});break;default:c=t.dateTime({width:"full"})}return c.replace("{{date}}",r(i,t)).replace("{{time}}",o(a,t))}}},1108:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var r=n(29407);function o(e){const t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}},5305:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(43329);function o(e,...t){const n=r.w.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(n)}},3265:(e,t,n)=>{"use strict";n.d(t,{Ss:()=>s,ef:()=>a,xM:()=>c});const r=/^D+$/,o=/^Y+$/,i=["D","DD","YY","YYYY"];function a(e){return r.test(e)}function c(e){return o.test(e)}function s(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),i.includes(e))throw new RangeError(r)}},61501:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>i,_P:()=>s,_m:()=>c,my:()=>r,s0:()=>a,w4:()=>o});Math.pow(10,8);const r=6048e5,o=864e5,i=6e4,a=36e5,c=1e3,s=Symbol.for("constructDateFrom")},43329:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(61501);function o(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&r._P in e?e[r._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},2831:(e,t,n)=>{"use strict";n.d(t,{m:()=>c});var r=n(1108),o=n(5305),i=n(61501),a=n(6463);function c(e,t,n){const[c,s]=(0,o.x)(n?.in,e,t),u=(0,a.o)(c),l=(0,a.o)(s),f=+u-(0,r.G)(u),d=+l-(0,r.G)(l);return Math.round((f-d)/i.w4)}},12541:(e,t,n)=>{"use strict";n.d(t,{GP:()=>m});var r=n(14501),o=n(92516),i=n(32082),a=n(78668),c=n(3265),s=n(32370),u=n(29407);const l=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,f=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,d=/^'([^]*?)'?$/,p=/''/g,h=/[a-zA-Z]/;function m(e,t,n){const d=(0,o.q)(),p=n?.locale??d.locale??r.c,m=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??d.firstWeekContainsDate??d.locale?.options?.firstWeekContainsDate??1,y=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??d.weekStartsOn??d.locale?.options?.weekStartsOn??0,g=(0,u.a)(e,n?.in);if(!(0,s.f)(g))throw new RangeError("Invalid time value");let b=t.match(f).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,a.m[t])(e,p.formatLong)}return e})).join("").match(l).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:v(e)};if(i._[t])return{isToken:!0,value:e};if(t.match(h))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));p.localize.preprocessor&&(b=p.localize.preprocessor(g,b));const w={firstWeekContainsDate:m,weekStartsOn:y,locale:p};return b.map((r=>{if(!r.isToken)return r.value;const o=r.value;(!n?.useAdditionalWeekYearTokens&&(0,c.xM)(o)||!n?.useAdditionalDayOfYearTokens&&(0,c.ef)(o))&&(0,c.Ss)(o,t,String(e));return(0,i._[o[0]])(g,o,p.localize,w)})).join("")}function v(e){const t=e.match(d);return t?t[1].replace(p,"'"):e}},71104:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});var r=n(2831),o=n(70228),i=n(29407);function a(e,t){const n=(0,i.a)(e,t?.in);return(0,r.m)(n,(0,o.D)(n))+1}},40337:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(29407);function o(e,t){return(0,r.a)(e,t?.in).getHours()}},84543:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(61501),o=n(22008),i=n(30569),a=n(29407);function c(e,t){const n=(0,a.a)(e,t?.in),c=+(0,o.b)(n)-+(0,i.w)(n);return Math.round(c/r.my)+1}},51898:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(43329),o=n(22008),i=n(29407);function a(e,t){const n=(0,i.a)(e,t?.in),a=n.getFullYear(),c=(0,r.w)(n,0);c.setFullYear(a+1,0,4),c.setHours(0,0,0,0);const s=(0,o.b)(c),u=(0,r.w)(n,0);u.setFullYear(a,0,4),u.setHours(0,0,0,0);const l=(0,o.b)(u);return n.getTime()>=s.getTime()?a+1:n.getTime()>=l.getTime()?a:a-1}},4155:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var r=n(29407);function o(e,t){return(0,r.a)(e,t?.in).getMinutes()}},97084:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(61501),o=n(80337),i=n(73576),a=n(29407);function c(e,t){const n=(0,a.a)(e,t?.in),c=+(0,o.k)(n,t)-+(0,i.b)(n,t);return Math.round(c/r.my)+1}},84485:(e,t,n)=>{"use strict";n.d(t,{h:()=>c});var r=n(92516),o=n(43329),i=n(80337),a=n(29407);function c(e,t){const n=(0,a.a)(e,t?.in),c=n.getFullYear(),s=(0,r.q)(),u=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,l=(0,o.w)(t?.in||e,0);l.setFullYear(c+1,0,u),l.setHours(0,0,0,0);const f=(0,i.k)(l,t),d=(0,o.w)(t?.in||e,0);d.setFullYear(c,0,u),d.setHours(0,0,0,0);const p=(0,i.k)(d,t);return+n>=+f?c+1:+n>=+p?c:c-1}},80658:(e,t,n)=>{"use strict";function r(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}n.d(t,{$:()=>r})},90096:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(5305),o=n(80337);function i(e,t,n){const[i,a]=(0,r.x)(n?.in,e,t);return+(0,o.k)(i,n)==+(0,o.k)(a,n)}},32370:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(80658),o=n(29407);function i(e){return!(!(0,r.$)(e)&&"number"!=typeof e||isNaN(+(0,o.a)(e)))}},7277:(e,t,n)=>{"use strict";function r(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:()=>r})},33443:(e,t,n)=>{"use strict";function r(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:()=>r})},57883:(e,t,n)=>{"use strict";function r(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],c=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(c)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(c,(e=>e.test(a))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(c,(e=>e.test(a)));let u;u=e.valueCallback?e.valueCallback(s):s,u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:t.slice(a.length)}}}n.d(t,{A:()=>r})},20337:(e,t,n)=>{"use strict";function r(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;return{value:a,rest:t.slice(o.length)}}}n.d(t,{K:()=>r})},86688:(e,t,n)=>{"use strict";n.d(t,{de:()=>s});var r=n(3034),o=n(21451),i=n(58773),a=n(7925),c=n(18081);const s={code:"de",formatDistance:r.B,formatLong:o.s,formatRelative:i.o,localize:a.k,match:c.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},3034:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},o=(e,t,n)=>{let o;const i=n?.addSuffix?r[e].withPreposition:r[e].standalone;return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:"vor "+o:o}},21451:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})}},58773:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const r={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},o=(e,t,n,o)=>r[e]},7925:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var r=n(33443);const o={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},i={narrow:o.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:o.wide},a={ordinalNumber:e=>Number(e)+".",era:(0,r.o)({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:o,formattingValues:i,defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})}},18081:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,r.A)({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})}},14501:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var r=n(70331),o=n(75270),i=n(31456),a=n(51584),c=n(18106);const s={code:"en-US",formatDistance:r.B,formatLong:o.s,formatRelative:i.o,localize:a.k,match:c.Y,options:{weekStartsOn:0,firstWeekContainsDate:1}}},70331:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},o=(e,t,n)=>{let o;const i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o}},75270:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},31456:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},o=(e,t,n,o)=>r[e]},51584:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(33443);const o={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},18106:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},75867:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var r=n(54277),o=n(35478),i=n(32180),a=n(86908),c=n(63778);const s={code:"fr-CH",formatDistance:r.B,formatLong:a.s,formatRelative:c.o,localize:o.k,match:i.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},86908:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},63778:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});const r={lastWeek:"eeee 'la semaine dernière à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'la semaine prochaine à' p",other:"P"},o=(e,t,n,o)=>r[e]},54277:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},o=(e,t,n)=>{let o;const i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"dans "+o:"il y a "+o:o}},35478:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(33443);const o=["MMM","MMMM"],i={preprocessor:(e,t)=>{if(1===e.getDate())return t;return t.some((e=>e.isToken&&o.includes(e.value)))?t.map((e=>e.isToken&&"do"===e.value?{isToken:!0,value:"d"}:e)):t},ordinalNumber:(e,t)=>{const n=Number(e),r=t?.unit;if(0===n)return"0";let o;return o=1===n?r&&["year","week","hour","minute","second"].includes(r)?"ère":"er":"ème",n+o},era:(0,r.o)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})}},32180:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e)}),era:(0,r.A)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})}},95494:(e,t,n)=>{"use strict";n.d(t,{it:()=>s});var r=n(6200),o=n(41601),i=n(79207),a=n(43847),c=n(58255);const s={code:"it",formatDistance:r.B,formatLong:o.s,formatRelative:i.o,localize:a.k,match:c.Y,options:{weekStartsOn:1,firstWeekContainsDate:4}}},6200:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});const r={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},o=(e,t,n)=>{let o;const i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"tra "+o:o+" fa":o}},41601:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});var r=n(7277);const o={date:(0,r.k)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,r.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,r.k)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})}},79207:(e,t,n)=>{"use strict";n.d(t,{o:()=>c});var r=n(90096);const o=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function i(e){return"'"+o[e]+" alle' p"}const a={lastWeek:(e,t,n)=>{const a=e.getDay();return(0,r.R)(e,t,n)?i(a):function(e){return 0===e?"'domenica scorsa alle' p":"'"+o[e]+" scorso alle' p"}(a)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const a=e.getDay();return(0,r.R)(e,t,n)?i(a):function(e){return 0===e?"'domenica prossima alle' p":"'"+o[e]+" prossimo alle' p"}(a)},other:"P"},c=(e,t,n,r)=>{const o=a[e];return"function"==typeof o?o(t,n,r):o}},43847:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(33443);const o={ordinalNumber:(e,t)=>{const n=Number(e);return String(n)},era:(0,r.o)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:(0,r.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.o)({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:(0,r.o)({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:(0,r.o)({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})}},58255:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(57883);const o={ordinalNumber:(0,n(20337).K)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.A)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:(0,r.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.A)({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.A)({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.A)({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})}},14533:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setHours(t),o}},36374:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setMilliseconds(t),o}},74279:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setMinutes(t),o}},81007:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(29407);function o(e,t,n){const o=(0,r.a)(e,n?.in);return o.setSeconds(t),o}},6463:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var r=n(29407);function o(e,t){const n=(0,r.a)(e,t?.in);return n.setHours(0,0,0,0),n}},22008:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(80337);function o(e,t){return(0,r.k)(e,{...t,weekStartsOn:1})}},30569:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var r=n(43329),o=n(51898),i=n(22008);function a(e,t){const n=(0,o.p)(e,t),a=(0,r.w)(t?.in||e,0);return a.setFullYear(n,0,4),a.setHours(0,0,0,0),(0,i.b)(a)}},80337:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(92516),o=n(29407);function i(e,t){const n=(0,r.q)(),i=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,o.a)(e,t?.in),c=a.getDay(),s=(c<i?7:0)+c-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}},73576:(e,t,n)=>{"use strict";n.d(t,{b:()=>c});var r=n(92516),o=n(43329),i=n(84485),a=n(80337);function c(e,t){const n=(0,r.q)(),c=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=(0,i.h)(e,t),u=(0,o.w)(t?.in||e,0);u.setFullYear(s,0,c),u.setHours(0,0,0,0);return(0,a.k)(u,t)}},70228:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var r=n(29407);function o(e,t){const n=(0,r.a)(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}},29407:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var r=n(43329);function o(e,t){return(0,r.w)(t||e,e)}},77801:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,Tt:()=>a,fX:()=>c});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},1481:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},67812:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(3214),o=n(90832);function i(e,t,n){return i=(0,o.A)()?Reflect.construct:function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&(0,r.A)(i,n.prototype),i},i.apply(null,arguments)}},41528:(e,t,n)=>{"use strict";function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},55778:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},96331:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3214);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},9018:(e,t,n)=>{"use strict";function r(e){return-1!==Function.toString.call(e).indexOf("[native code]")}n.d(t,{A:()=>r})},90832:(e,t,n)=>{"use strict";function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}n.d(t,{A:()=>r})},3214:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},52107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(55778),o=n(3214),i=n(9018),a=n(67812);function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||!(0,i.A)(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return(0,a.A)(e,arguments,(0,r.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.A)(n,e)},c(e)}},40622:(e,t,n)=>{"use strict";n.d(t,{C6:()=>o,Cl:()=>i,Tt:()=>a,fX:()=>c});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},71468:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>oe,Ng:()=>re});var r=n(4883),o=n(78418),i=r,a=Symbol.for("react-redux-context"),c="undefined"!=typeof globalThis?globalThis:{};function s(){if(!i.createContext)return{};const e=c[a]??(c[a]=new Map);let t=e.get(i.createContext);return t||(t=i.createContext(null),e.set(i.createContext,t)),t}var u=s(),l=()=>{throw new Error("uSES not initialized!")};var f=Symbol.for("react.element"),d=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),y=Symbol.for("react.context"),g=Symbol.for("react.server_context"),b=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),E=(Symbol.for("react.offscreen"),Symbol.for("react.client.reference"),b),S=A;function k(e){if("object"==typeof e&&null!==e){const t=e.$$typeof;switch(t){case f:{const n=e.type;switch(n){case p:case m:case h:case w:case x:return n;default:{const e=n&&n.$$typeof;switch(e){case g:case y:case b:case O:case A:case v:return e;default:return t}}}}case d:return t}}}function j(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:a}){let c,s,u,l,f,d=!1;function p(d,p){const h=!i(p,s),m=!o(d,c,p,s);return c=d,s=p,h&&m?(u=e(c,s),t.dependsOnOwnProps&&(l=t(r,s)),f=n(u,l,s),f):h?(e.dependsOnOwnProps&&(u=e(c,s)),t.dependsOnOwnProps&&(l=t(r,s)),f=n(u,l,s),f):m?function(){const t=e(c,s),r=!a(t,u);return u=t,r&&(f=n(u,l,s)),f}():f}return function(o,i){return d?p(o,i):(c=o,s=i,u=e(c,s),l=t(r,s),f=n(u,l,s),d=!0,f)}}function T(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function P(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function C(e,t){return function(t,{displayName:n}){const r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e,void 0)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=P(e);let o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=P(o),o=r(t,n)),o},r}}function _(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function D(e,t,n){return{...n,...e,...t}}function R(e){e()}var N={notify(){},get:()=>[]};function I(e,t){let n,r=N,o=0,i=!1;function a(){u.onStateChange&&u.onStateChange()}function c(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){let e=null,t=null;return{clear(){e=null,t=null},notify(){R((()=>{let t=e;for(;t;)t.callback(),t=t.next}))},get(){const t=[];let n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}function s(){o--,n&&0===o&&(n(),n=void 0,r.clear(),r=N)}const u={addNestedSub:function(e){c();const t=r.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),s())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:a,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,c())},tryUnsubscribe:function(){i&&(i=!1,s())},getListeners:()=>r};return u}var M=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),L="undefined"!=typeof navigator&&"ReactNative"===navigator.product,F=M||L?i.useLayoutEffect:i.useEffect;function H(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function B(e,t){if(H(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!H(e[n[r]],t[n[r]]))return!1;return!0}var U={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},W={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},z={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},G={[E]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[S]:z};function Y(e){return function(e){return k(e)===A}(e)?z:G[e.$$typeof]||U}var q=Object.defineProperty,V=Object.getOwnPropertyNames,$=Object.getOwnPropertySymbols,K=Object.getOwnPropertyDescriptor,J=Object.getPrototypeOf,X=Object.prototype;function Q(e,t){if("string"!=typeof t){if(X){const n=J(t);n&&n!==X&&Q(e,n)}let n=V(t);$&&(n=n.concat($(t)));const r=Y(e),o=Y(t);for(let i=0;i<n.length;++i){const a=n[i];if(!(W[a]||o&&o[a]||r&&r[a])){const n=K(t,a);try{q(e,a,n)}catch(e){}}}}return e}var Z=l,ee=[null,null];function te(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function ne(e,t){return e===t}var re=function(e,t,n,{pure:r,areStatesEqual:o=ne,areOwnPropsEqual:a=B,areStatePropsEqual:c=B,areMergedPropsEqual:s=B,forwardRef:l=!1,context:f=u}={}){const d=f,p=function(e){return e?"function"==typeof e?C(e):_(e,"mapStateToProps"):T((()=>({})))}(e),h=function(e){return e&&"object"==typeof e?T((t=>function(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}(e,t))):e?"function"==typeof e?C(e):_(e,"mapDispatchToProps"):T((e=>({dispatch:e})))}(t),m=function(e){return e?"function"==typeof e?function(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let o,i=!1;return function(t,n,a){const c=e(t,n,a);return i?r(c,o)||(o=c):(i=!0,o=c),o}}}(e):_(e,"mergeProps"):()=>D}(n),v=Boolean(e);return e=>{const t=e.displayName||e.name||"Component",n=`Connect(${t})`,r={shouldHandleStateChanges:v,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:p,initMapDispatchToProps:h,initMergeProps:m,areStatesEqual:o,areStatePropsEqual:c,areOwnPropsEqual:a,areMergedPropsEqual:s};function u(t){const[n,o,a]=i.useMemo((()=>{const{reactReduxForwardedRef:e,...n}=t;return[t.context,e,n]}),[t]),c=i.useMemo((()=>d),[n,d]),s=i.useContext(c),u=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),l=Boolean(s)&&Boolean(s.store);const f=u?t.store:s.store,p=l?s.getServerState:f.getState,h=i.useMemo((()=>function(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){return j(t(e,o),n(e,o),r(e,o),e,o)}(f.dispatch,r)),[f]),[m,y]=i.useMemo((()=>{if(!v)return ee;const e=I(f,u?void 0:s.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[f,u,s]),g=i.useMemo((()=>u?s:{...s,subscription:m}),[u,s,m]),b=i.useRef(void 0),w=i.useRef(a),x=i.useRef(void 0),A=i.useRef(!1),O=i.useRef(!1),E=i.useRef(void 0);F((()=>(O.current=!0,()=>{O.current=!1})),[]);const S=i.useMemo((()=>()=>x.current&&a===w.current?x.current:h(f.getState(),a)),[f,a]),k=i.useMemo((()=>e=>m?function(e,t,n,r,o,i,a,c,s,u,l){if(!e)return()=>{};let f=!1,d=null;const p=()=>{if(f||!c.current)return;const e=t.getState();let n,p;try{n=r(e,o.current)}catch(e){p=e,d=e}p||(d=null),n===i.current?a.current||u():(i.current=n,s.current=n,a.current=!0,l())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}(v,f,m,h,w,b,A,O,x,y,e):()=>{}),[m]);var T,P,C;let _;T=te,P=[w,b,A,a,x,y],F((()=>T(...P)),C);try{_=Z(k,S,p?()=>h(p(),a):S)}catch(e){throw E.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${E.current.stack}\n\n`),e}F((()=>{E.current=void 0,x.current=void 0,b.current=_}));const D=i.useMemo((()=>i.createElement(e,{..._,ref:o})),[o,e,_]);return i.useMemo((()=>v?i.createElement(c.Provider,{value:g},D):D),[c,D,g])}const f=i.memo(u);if(f.WrappedComponent=e,f.displayName=u.displayName=n,l){const t=i.forwardRef((function(e,t){return i.createElement(f,{...e,reactReduxForwardedRef:t})}));return t.displayName=n,t.WrappedComponent=e,Q(t,e)}return Q(f,e)}};var oe=function({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:a="once"}){const c=i.useMemo((()=>{const t=I(e);return{store:e,subscription:t,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:a}}),[e,r,o,a]),s=i.useMemo((()=>e.getState()),[e]);F((()=>{const{subscription:t}=c;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[c,s]);const l=t||u;return i.createElement(l.Provider,{value:c},n)};var ie;ie=o.useSyncExternalStoreWithSelector,(e=>{Z=e})(r.useSyncExternalStore)},77987:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},6695:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},88097:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>r})},65166:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},21648:(e,t,n)=>{"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}n.d(t,{A:()=>r})},37820:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},47029:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(88097);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},23715:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8609);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},8609:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{A:()=>r})},52167:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6695),o=n(21648),i=n(25134),a=n(37820);function c(e,t){return(0,r.A)(e)||(0,o.A)(e,t)||(0,i.A)(e,t)||(0,a.A)()}},47978:(e,t,n)=>{"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{A:()=>r})},65710:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},25134:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(77987);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},72367:(e,t,n)=>{"use strict";n.d(t,{B1:()=>r});function r(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}Math.min,Math.max;const o=["top","right","bottom","left"];o.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[])},9725:(e,t,n)=>{"use strict";n.d(t,{ll:()=>w});n(72367);function r(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function o(e){if(null==e)return window;if(!r(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return o(e).getComputedStyle(e)}function a(e){return r(e)?"":e?(e.nodeName||"").toLowerCase():""}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function s(e){return e instanceof o(e).HTMLElement}function u(e){return e instanceof o(e).Element}function l(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}function f(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=i(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(){return!/^((?!chrome|android).)*safari/i.test(c())}function p(e){return["html","body","#document"].includes(a(e))}Math.min,Math.max;const h=Math.round;function m(e,t,n){var r,i,a,c;void 0===t&&(t=!1),void 0===n&&(n=!1);const l=e.getBoundingClientRect();let f=1,p=1;t&&s(e)&&(f=e.offsetWidth>0&&h(l.width)/e.offsetWidth||1,p=e.offsetHeight>0&&h(l.height)/e.offsetHeight||1);const m=u(e)?o(e):window,v=!d()&&n,y=(l.left+(v&&null!=(r=null==(i=m.visualViewport)?void 0:i.offsetLeft)?r:0))/f,g=(l.top+(v&&null!=(a=null==(c=m.visualViewport)?void 0:c.offsetTop)?a:0))/p,b=l.width/f,w=l.height/p;return{width:b,height:w,top:g,right:y+b,bottom:g+w,left:y,x:y,y:g}}function v(e){return(t=e,(t instanceof o(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function y(e){if("html"===a(e))return e;const t=e.assignedSlot||e.parentNode||(l(e)?e.host:null)||v(e);return l(t)?t.host:t}function g(e){const t=y(e);return p(t)?e.ownerDocument.body:s(t)&&f(t)?t:g(t)}function b(e,t){var n;void 0===t&&(t=[]);const r=g(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=o(r),c=i?[a].concat(a.visualViewport||[],f(r)?r:[]):r,s=t.concat(c);return i?s:s.concat(b(c))}function w(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:c=!1}=r,s=o&&!c,l=s||i?[...u(e)?b(e):e.contextElement?b(e.contextElement):[],...b(t)]:[];l.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let f,d=null;if(a){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),u(e)&&!c&&d.observe(e),u(e)||!e.contextElement||c||d.observe(e.contextElement),d.observe(t)}let p=c?m(e):null;return c&&function t(){const r=m(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n(),p=r,f=requestAnimationFrame(t)}(),n(),()=>{var e;l.forEach((e=>{s&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,c&&cancelAnimationFrame(f)}}},92149:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(4883),o=n(81845),i=n(2418);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const c=["onUpdate","onRepositioned","renderElement","renderElementTag","renderElementTo","renderTarget","className","id","style"];class s extends r.Component{constructor(...e){super(...e),this._targetNode=r.createRef(),this._elementNode=r.createRef(),this._elementParentNode=null,this._tetherInstance=null}componentDidMount(){this._createContainer(),this.forceUpdate()}componentDidUpdate(e){if(e.renderElementTag===this.props.renderElementTag&&e.renderElementTo===this.props.renderElementTo||this._createContainer(),this._elementParentNode&&e.className!==this.props.className){const t=(e.className||"").split(" ").filter((e=>e.length>0)),n=(this.props.className||"").split(" ").filter((e=>e.length>0));this._elementParentNode.classList.remove(...t),this._elementParentNode.classList.add(...n)}this._update()}componentWillUnmount(){this._destroy()}getTetherInstance(){return this._tetherInstance}disable(){var e;null==(e=this._tetherInstance)||e.disable()}enable(){var e;null==(e=this._tetherInstance)||e.enable()}on(e,t,n){this._tetherInstance.on(e,t,n)}once(e,t,n){this._tetherInstance.once(e,t,n)}off(e,t){this._tetherInstance.off(e,t)}position(){var e;null==(e=this._tetherInstance)||e.position()}_runRenders(){let e="function"==typeof this.props.renderTarget?this.props.renderTarget(this._targetNode):null,t="function"==typeof this.props.renderElement?this.props.renderElement(this._elementNode):null;return(0,r.isValidElement)(e)||(e=null),(0,r.isValidElement)(t)||(t=null),{targetComponent:e,elementComponent:t}}_createTetherInstance(e){this._tetherInstance&&this._destroy(),this._tetherInstance=new i(e),this._registerEventListeners()}_destroyTetherInstance(){this._tetherInstance&&(this._tetherInstance.destroy(),this._tetherInstance=null)}_registerEventListeners(){this.on("update",((...e)=>this.props.onUpdate&&this.props.onUpdate.apply(this,e))),this.on("repositioned",((...e)=>this.props.onRepositioned&&this.props.onRepositioned.apply(this,e)))}get _renderNode(){const{renderElementTo:e}=this.props;return"string"==typeof e?document.querySelector(e):e||document.body}_destroy(){this._destroyTetherInstance(),this._removeContainer()}_createContainer(){this._removeContainer();const{renderElementTag:e="div",className:t}=this.props;this._elementParentNode=document.createElement(e),this._elementParentNode.className=t||""}_addContainerToDOM(){this._elementParentNode&&this._renderNode&&this._elementParentNode.parentNode!==this._renderNode&&this._renderNode.append(this._elementParentNode)}_removeContainer(){this._elementParentNode&&this._elementParentNode.parentNode&&this._elementParentNode.remove()}_update(){this._elementNode.current&&this._targetNode.current?this._updateTether():this._destroy()}_updateTether(){var e;const t=this.props,{id:n,style:r}=t,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(t,c),i=a({target:this._targetNode.current,element:this._elementParentNode},o),s=n||"";if(this._elementParentNode&&this._elementParentNode.id!==s&&(this._elementParentNode.id=s),this._elementParentNode&&r){const e=this._elementParentNode.style;for(const t in r)if(e[t]!==r[t]){let n=r[t];n&&(e[t]=n)}}this._addContainerToDOM(),this._tetherInstance?this._tetherInstance.setOptions(i):this._createTetherInstance(i),null==(e=this._tetherInstance)||e.position()}render(){const{targetComponent:e,elementComponent:t}=this._runRenders();return e?r.createElement(r.Fragment,null,e,t&&this._elementParentNode&&o.createPortal(t,this._elementParentNode)):null}}},27346:(e,t,n)=>{"use strict";function r(e){return({dispatch:t,getState:n})=>r=>o=>"function"==typeof o?o(t,n,e):r(o)}n.d(t,{P:()=>o,Y:()=>i});var o=r(),i=r},14644:(e,t,n)=>{"use strict";function r(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,{HY:()=>u,Qd:()=>c,Tw:()=>p,Zz:()=>d,ve:()=>h,y$:()=>s,zH:()=>f});var o=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),i=()=>Math.random().toString(36).substring(7).split("").join("."),a={INIT:`@@redux/INIT${i()}`,REPLACE:`@@redux/REPLACE${i()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${i()}`};function c(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function s(e,t,n){if("function"!=typeof e)throw new Error(r(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(r(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(r(1));return n(s)(e,t)}let i=e,u=t,l=new Map,f=l,d=0,p=!1;function h(){f===l&&(f=new Map,l.forEach(((e,t)=>{f.set(t,e)})))}function m(){if(p)throw new Error(r(3));return u}function v(e){if("function"!=typeof e)throw new Error(r(4));if(p)throw new Error(r(5));let t=!0;h();const n=d++;return f.set(n,e),function(){if(t){if(p)throw new Error(r(6));t=!1,h(),f.delete(n),l=null}}}function y(e){if(!c(e))throw new Error(r(7));if(void 0===e.type)throw new Error(r(8));if("string"!=typeof e.type)throw new Error(r(17));if(p)throw new Error(r(9));try{p=!0,u=i(u,e)}finally{p=!1}return(l=f).forEach((e=>{e()})),e}y({type:a.INIT});return{dispatch:y,subscribe:v,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(r(10));i=e,y({type:a.REPLACE})},[o]:function(){const e=v;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(r(11));function n(){const e=t;e.next&&e.next(m())}n();return{unsubscribe:e(n)}},[o](){return this}}}}}function u(e){const t=Object.keys(e),n={};for(let r=0;r<t.length;r++){const o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}const o=Object.keys(n);let i;try{!function(e){Object.keys(e).forEach((t=>{const n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error(r(12));if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(r(13))}))}(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1;const c={};for(let i=0;i<o.length;i++){const s=o[i],u=n[s],l=e[s],f=u(l,t);if(void 0===f){t&&t.type;throw new Error(r(14))}c[s]=f,a=a||f!==l}return a=a||o.length!==Object.keys(e).length,a?c:e}}function l(e,t){return function(...n){return t(e.apply(this,n))}}function f(e,t){if("function"==typeof e)return l(e,t);if("object"!=typeof e||null===e)throw new Error(r(16));const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=l(o,t))}return n}function d(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce(((e,t)=>(...n)=>e(t(...n))))}function p(...e){return t=>(n,o)=>{const i=t(n,o);let a=()=>{throw new Error(r(15))};const c={getState:i.getState,dispatch:(e,...t)=>a(e,...t)},s=e.map((e=>e(c)));return a=d(...s)(i.dispatch),{...i,dispatch:a}}}function h(e){return c(e)&&"type"in e&&"string"==typeof e.type}}},c={};function s(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={id:e,loaded:!1,exports:{}};return a[e].call(n.exports,n,n.exports,s),n.loaded=!0,n.exports}s.m=a,s.amdD=function(){throw new Error("define cannot be used indirect")},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var o=Object.create(null);s.r(o);var i={};n=n||[null,r({}),r([]),r(r)];for(var a=2&t&&e;"object"==typeof a&&!~n.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,s.d(o,i),o},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce(((t,n)=>(s.f[n](e,t),t)),[])),s.u=e=>"chunk-"+({222:"vendor-libphonenumber-js",236:"actions",262:"html-editor",310:"vendor-fontawesome",556:"docs-actions",672:"phone-formatter",722:"code-editor",916:"vendor-icons"}[e]||e)+"."+{13:"691a96657cc021242fdb",18:"6ba1bbcd5e8fd2e5a1c6",87:"3a17ec1fde5460bf64f1",103:"8cec3847d8a37e7c1d52",137:"6329809a94c84dceab67",211:"d8bf8abcb5fb20a25279",222:"e38ef16ead1de0aa552e",236:"c633fadd4090c5f01a1b",262:"7dbfe49ce488d28b4166",264:"d22979020eb9a5108842",310:"6e0b59be0c56143b4637",464:"1d7fc18e49ad007ffaec",544:"706af9111f7a2b58b228",556:"b490f9b4edf45e7d0cb2",599:"801f6e87f8b21bdebd2b",672:"ece0442ff23d12aec226",722:"b03be6cc77a45c609264",726:"f4a51ffc2f6c807ae344",770:"9fd06dc1168e57b471bb",916:"37590c62f37aad5c42c8"}[e]+".js",s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},i="tocco-legacy-bundle:",s.l=(e,t,n,r)=>{if(o[e])o[e].push(t);else{var a,c;if(void 0!==n)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==i+n){a=f;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,s.nc&&a.setAttribute("nonce",s.nc),a.setAttribute("data-webpack",i+n),a.src=e),o[e]=[t];var d=(t,n)=>{a.onerror=a.onload=null,clearTimeout(p);var r=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),c&&document.head.appendChild(a)}},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),s.j=101,s.p="/",(()=>{var e={101:0};s.f.j=(t,n)=>{var r=s.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=s.p+s.u(t),a=new Error;s.l(i,(n=>{if(s.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,c]=n,u=0;if(i.some((t=>0!==e[t]))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(c)c(s)}for(t&&t(n);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=this.webpackChunktocco_legacy_bundle=this.webpackChunktocco_legacy_bundle||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),s.nc=void 0;var u={};return(()=>{"use strict";s.r(u),s.d(u,{app:()=>Ve});var e=s(61402),t=s(26396),n=s.n(t),r=s(62193),o=s.n(r),i=s(2404),a=s.n(i),c=s(71086),l=s.n(c),f=s(5556),d=s.n(f),p=s(4883),h=s.n(p),m=s(47767),v=s(84976),y=s(88951),g=s(13128),b=s(59042),w=s(28391),x=s(96450),A=s(72942),O=s(52334),E=s(82682),S=s(38159),k=s(33393),j=s(7311),T=s(66498),P="SET_ENTITY_NAME",C="SET_FORM_BASE",_="SET_SCROLL_BEHAVIOUR",D="root/SET_APP_ID",R=function(e){return{type:C,payload:{formBase:e}}},N=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return T.A.getDispatchActions(e,I,t)},I=[{name:"entityName",action:function(e){return{type:P,payload:{entityName:e}}},mandatory:!0,argsFactory:function(e){return[e.entityName]}},{name:"entityName",action:R,argsFactory:function(e){return[e.formBase||e.entityName]}},{name:"formBase",action:R,argsFactory:function(e){return[e.formBase]}},{name:"scrollBehaviour",action:function(e){return{type:_,payload:{scrollBehaviour:e}}},argsFactory:function(e){return[e.scrollBehaviour]}},{name:"id",action:function(e){return{type:D,payload:{appId:e}}},argsFactory:function(e){return[e.id||(new Date).valueOf()]}}],M=s(44467),L=s(92207),F=s.n(L),H=s(90167),B=s(29056),U=s(71635),W=n()(n()({},U.Bt,B.A.singleTransferReducer("formTouched")),U.wr,B.A.singleTransferReducer("detailParams")),z={detailParams:void 0,formTouched:!1};var G=s(15890),Y=s.n(G),q=s(22056),V=s.n(q),$=s(32742),K=s(57327),J=s(44002);function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?X(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Z=function(e){var t={};return e.fields.forEach((function(e){t[e.fieldName]=Q({},e)})),e.relations.forEach((function(e){t[e.relationName]=Q({type:"relation"},e)})),t};function ee(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Z;return F().mark((function n(){var r;return F().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,H.T1)(K.A.requestSaga,"entities/".concat(e,"/model"));case 2:return r=n.sent,n.next=5,(0,H.T1)(t,r.body);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)}))()}var te={CREATE:"create",UPDATE:"update"};const ne={modes:te,getMode:function(e){return void 0===e?te.CREATE:te.UPDATE}};var re=s(21259),oe=s.n(re);const ie=function(e){var t=e.split("/").filter((function(e){return!!e})),n=t[t.length-1],r=t.filter((function(e,t){return t>1&&t%2==0})).map((function(e){return e.split(".")})).reduce((function(e,t){return[].concat(oe()(e),oe()(t))}),[]);if(isNaN(n)){return{modelPaths:r,entityId:undefined,parentUrl:"/"+t.slice(0,-1).join("/")}}return{modelPaths:r,entityId:t[t.length-1],parentUrl:"/"+t.slice(0,-2).join("/")}};const ae=function(e,t){return 0!==t.length||(!e||isNaN(e))};var ce=s(74848),se=F().mark(pe),ue=F().mark(he),le=F().mark(ye),fe=function(e){return e.entityBrowser},de=function(e){return e.input};function pe(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.Q7)([(0,H.p8)(U.M4,me),(0,H.p8)(U.z3,he),(0,H.p8)(U.o7,ge)]);case 2:case"end":return e.stop()}}),se)}function he(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.yJ)(U.EJ(void 0));case 2:case"end":return e.stop()}}),ue)}function me(e){var t=e.payload;return F().mark((function e(){var n,r,o,i,a,c,s,u,l,f,d,p,h,m,v,y;return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.T1)(ie,t.url);case 2:return n=e.sent,r=n.modelPaths,o=n.entityId,i=n.parentUrl,e.next=8,(0,H.Lt)(fe);case 8:return a=e.sent,c=a.entityName,s=a.formBase,e.next=13,(0,H.T1)(ne.getMode,o);case 13:return u=e.sent,e.next=16,(0,H.T1)(ve,c,r,s);case 16:return l=e.sent,f=V()(l,2),d=f[0],p=f[1],e.next=22,(0,H.Lt)(de);case 22:return h=e.sent,m=h.initialKey,e.next=26,(0,H.T1)(ae,m,r);case 26:return v=e.sent,y={mode:u,entityId:o,entityName:d,formName:p,parentUrl:i,showBackButton:v},e.next=30,(0,H.yJ)(U.EJ(y));case 30:case"end":return e.stop()}}),e)}))()}function ve(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return F().mark((function o(){var i,a,c,s,u,l,f;return F().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(i=Y()(t),a=i[0],c=i.slice(1),a){o.next=3;break}return o.abrupt("return",[e,r]);case 3:return o.next=5,(0,H.T1)(ee,e);case 5:if(s=o.sent,u=s[a]){o.next=16;break}return o.next=10,(0,H.T1)(K.A.fetchForm,"".concat(n,"_detail_").concat(a),"list");case 10:return l=o.sent,o.next=13,(0,H.T1)(ve,l.modelName,c,"".concat(n,"_").concat(a));case 13:case 19:return o.abrupt("return",o.sent);case 16:return f="".concat(n,"_").concat(u.targetEntity),o.next=19,(0,H.T1)(ve,u.targetEntity,c,n,f);case 20:case"end":return o.stop()}}),o)}))()}function ye(e){var t;return F().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,H.T1)($.Ix);case 2:return t=n.sent,n.next=5,(0,H.yJ)(A.A.modal("navigation-pending-changes",null,e,(function(e){var n=e.close;return(0,ce.jsx)(J.A,{onYes:function(){n(),t.put("yes")},onNo:function(){n(),t.put("no")}})}),!0,(function(){return t.put("no")})));case 5:return n.next=7,(0,H.s)(t);case 7:return n.abrupt("return",n.sent);case 8:case"end":return n.stop()}}),le)}function ge(e){var t=e.payload;return F().mark((function e(){var n,r;return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.message,r=t.confirmCallback,e.next=3,(0,H.T1)(ye,n);case 3:if("yes"!==e.sent){e.next=9;break}return e.next=7,(0,H.T1)(r,!0);case 7:e.next=11;break;case 9:return e.next=11,(0,H.T1)(r,!1);case 11:case"end":return e.stop()}}),e)}))()}var be=F().mark(we);function we(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.Q7)([(0,H.Zy)(pe)]);case 2:case"end":return e.stop()}}),be)}const xe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0,n=W[t.type];return n?n(e,t):e};function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ee=n()(n()(n()(n()({},P,B.A.singleTransferReducer("entityName")),C,(function(e,t){var n=t.payload.formBase;return n?Oe(Oe({},e),{},{formBase:n}):Oe({},e)})),_,B.A.singleTransferReducer("scrollBehaviour")),D,B.A.singleTransferReducer("appId")),Se={entityName:"",formBase:"",scrollBehaviour:"none",appId:""};var ke=F().mark(Te),je=F().mark(Pe);function Te(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.Q7)([(0,H.T1)(Pe)]);case 2:case"end":return e.stop()}}),ke)}function Pe(){return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,H.s)(e.A.INPUT_INITIALIZED);case 2:return t.next=4,(0,H.yJ)(x.A.doSessionCheck());case 4:case"end":return t.stop()}}),je)}var Ce=F().mark(_e);function _e(){return F().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,H.Q7)([(0,H.Zy)(Te)]);case 2:case"end":return e.stop()}}),Ce)}const De=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Se,t=arguments.length>1?arguments[1]:void 0,n=Ee[t.type];return n?n(e,t):e},Re={detail:xe,form:M.A,entityBrowser:De};var Ne,Ie,Me=[_e,we];function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(r),!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var He="entity-browser",Be=["onVisibilityStatusChange"],Ue=h().lazy((function(){return Promise.all([s.e(18),s.e(464),s.e(726),s.e(599),s.e(87)]).then(s.bind(s,19087))})),We=function(){return Ne||(Ne=(0,ce.jsx)(p.Suspense,{fallback:"",children:(0,ce.jsx)(Ue,{})}))},ze=function(e){var t=e.initialKey,n=e.initialAction,r=(0,m.Zp)(),o=(0,m.zy)().pathname;(0,p.useEffect)((function(){if(t&&!isNaN(t)){if(!o.match(/\/detail\/[0-9]*/)){var e="/detail/".concat(t);r(e)}}if(n&&n.name){var i="/action/".concat(n.name,"?").concat(k.A.toQueryString(n.properties));r(i)}}),[])},Ge=function(e){var t=e.memoryRouter,n=e.initialKey,r=e.initialAction,o=(t?m.bg:v.Ge)([{path:"*",element:(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(ze,{initialKey:n,initialAction:r}),Ie||(Ie=(0,ce.jsx)(We,{}))]})}]);return(0,ce.jsx)(v.pg,{router:o})},Ye=function(t,n,r,o){n=Fe(Fe({},n),{},{id:t}),S.A.setInputEnvs(n);var i=e.A.createStore(Re,Me,n,He);w.A.addToStore(i,(function(t){return e.A.getEvents(Be,t.input)})),y.A.addToStore(i),g.A.dynamicActionsAddToStore(i),b.A.addToStore(i,!0,["console","remote","notification"]),A.A.addToStore(i,!0),x.A.addToStore(i);var a=(0,ce.jsx)(Ge,{memoryRouter:n.memoryHistory,initialKey:n.initialKey,initialAction:n.initialAction});return e.A.createApp(He,a,i,{input:n,actions:N(n),publicPath:o,textResourceModules:["component","common","actions","entity-list","entity-detail"]})},qe=function(t){var n=e.A.useApp({initApp:Ye,props:t,packageName:He}),r=n.component,i=n.store,c=j.A.usePrevious(t);return j.A.useDidUpdate((function(){var e=l()(t,(function(e,t){return!a()(e,c[t])}));o()(e)||N(e,!1).forEach((function(e){i.dispatch(e)}))}),[t]),(0,ce.jsx)(ce.Fragment,{children:r})};qe.propTypes=Fe({entityName:d().string.isRequired,searchFormType:O.X,formBase:d().string,limit:d().oneOfType([d().number,d().string]),preselectedSearchFields:d().array,searchFilters:d().arrayOf(d().string),simpleSearchFields:d().string,initialKey:d().string,initialAction:d().shape({name:d().string,properties:d().objectOf(d().object)}),businessUnit:d().string,memoryHistory:d().bool,backendUrl:d().string,scrollBehaviour:d().oneOf(["none","inline"]),appContext:E.A.propTypes,modifyFormDefinition:d().func,modifyEntityPaths:d().func,disableDetailView:d().bool,reportIds:d().arrayOf(d().string),customActionEventHandlers:d().objectOf(d().objectOf(d().func))},w.A.createPropTypes(Be));var Ve=e.A.createBundleableApp(He,Ye,qe);e.A.registerAppInRegistry(Ve.name,Ve.init)})(),u})()));
|