tocco-admin 1.0.185 → 1.0.187

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.
@@ -1 +1,6 @@
1
- (self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[614],{78788:(e,t,n)=>{"use strict";n.d(t,{Z:()=>yt});var r,i=n(45697),o=n.n(i),a=n(50600),c=n(6966),l=n(19241),s=n(30604),u=n(73665),f=n(74806),d=n(50558),p="root/LOAD_DIALOG_INFO",b="delete/SET_DELETE_DIALOG_INFO",y="delete/DO_DELETE",h="delete/SET_DELETING_IN_PROGRESS",g="delete/ON_CANCEL",m="delete/SET_ENTITIES_TO_DELETE",v=function(e){return{type:b,payload:{dialogInfo:e}}},O=function(){return{type:y}},j=function(e){return{type:m,payload:{entitiesToDelete:e}}},w=n(1024),x=n.n(w),E=n(50258),P=n(44012),k=n(93235),T=n(34206),S=n(319),C=n.n(S),A=n(63038),D=n.n(A),Z=n(28655),I=n.n(Z),N=n(38205),L=n(76791),R=n(85893);const F=function(e){var t=e.relatedEntity,n=e.children,i=e.maxCountLink;if(t.keys.length<i&&0===t.keysOtherBu.length)return n;var o=(0,R.jsxs)(R.Fragment,{children:[t.keys.length>i&&(r||(r=(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.tooManyRecords"})}))),t.keysOtherBu.length>0&&(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.recordInOtherBU",values:{count:t.keysOtherBu.length}})})]});return(0,R.jsx)(L.Z,{content:o,placement:"top",children:n})};var M,_,q=N.ZP.span.withConfig({displayName:"NonBreakingText"})(M||(M=I()(["\n white-space: nowrap;\n"])));const B=function(e){var t=e.rootEntities,n=e.relatedEntities,r=e.maxCountLink,i=e.navigationStrategy;return(0,R.jsxs)(T.ZP.Span,{children:[(0,R.jsx)(T.ZP.B,{children:Object.entries(t).map((function(e){var t=D()(e,2),n=t[0],r=t[1];return(0,R.jsxs)("span",{children:[r.entityLabel," (",r.keys.length>0&&i.ListLink?(0,R.jsx)(i.ListLink,{entityName:n,entityKeys:r.keys,children:r.keys.length}):(0,R.jsx)(T.ZP.Span,{children:r.keys.length}),")"]},"root-entity-".concat(n))})).reduce((function(e,t){return[e,", ",t]}))}),Object.keys(n).length>0&&(0,R.jsxs)(R.Fragment,{children:[_||(_=(0,R.jsx)("span",{children:" / "})),Object.keys(n).map((function(e){var t=n[e],o=[].concat(C()(t.keys),C()(t.keysOtherBu)).length,a=t.keys.length>0&&i.ListLink?(0,R.jsx)(i.ListLink,{entityName:e,entityKeys:t.keys.slice(0,r),children:o}):(0,R.jsx)(T.ZP.Span,{children:o}),c=(0,R.jsx)(F,{relatedEntity:t,maxCountLink:r,children:a});return(0,R.jsx)(x().Fragment,{children:(0,R.jsxs)(q,{children:[t.entityLabel," (",c,")"]})},"entity-info-"+e)})).reduce((function(e,t){return[e,", ",t]}))]})]})};var U,W,Y,H=n(7281),z=N.ZP.div.withConfig({displayName:"StyledIconWrapper"})(U||(U=I()(["\n margin-bottom: ",";\n"])),H.Z.space(.2));const V=function(e){var t=e.dialogInfo,n=e.navigationStrategy;return(0,R.jsxs)(R.Fragment,{children:[W||(W=(0,R.jsx)(z,{children:(0,R.jsx)(k.Z,{size:"30px"})})),Y||(Y=(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.deleteInProgress"})})),(0,R.jsx)(B,{rootEntities:t.rootEntitiesDeletable,relatedEntities:t.relatedDeletable,maxCountLink:100,navigationStrategy:n},"infopart-deletable")]})};var G={doDelete:O};const K=(0,d.connect)((function(e,t){return{dialogInfo:e.del.dialogInfo,navigationStrategy:e.input.navigationStrategy}}),G)((0,f.ZP)(V));var $,J,Q=n(83324),X=n(78958),ee=n(59713),te=n.n(ee),ne=n(24875),re=[X.Z.condition.INFO,X.Z.condition.DANGER,X.Z.condition.SUCCESS,X.Z.condition.WARNING],ie=($={},te()($,X.Z.condition.DANGER,ne.FS.color("signal.danger")),te()($,X.Z.condition.SUCCESS,ne.FS.color("signal.success")),te()($,X.Z.condition.WARNING,ne.FS.color("signal.warning")),te()($,X.Z.condition.INFO,ne.FS.color("signal.info")),$),oe=N.ZP.div.withConfig({displayName:"StyledSignalBox"})(J||(J=I()(["\n && {\n background-color: ",";\n padding: ",";\n margin-bottom: ",";\n\n * {\n color: ",";\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(function(e){return function(e){return ie[e.condition]||ie[X.Z.condition.INFO]}(e)}),H.Z.space(-1),H.Z.space(-1),ne.FS.color("paper"));oe.propTypes={condition:X.Z.oneOfPropTypeAndCompletelyMapped(re,ie)};var ae=function(e){var t=e.condition,n=e.title,r=e.children,i=e.meta;return(0,R.jsxs)(oe,{condition:t,children:[n&&(0,R.jsx)(T.ZP.H5,{children:n}),x().Children.map(r,(function(e){return x().cloneElement(e)})),i&&(0,R.jsx)(T.ZP.Small,{children:i})]})};ae.defaultProps={condition:X.Z.condition.BASE};const ce=ae;var le,se,ue,fe,de,pe,be,ye=n(65035),he=n(36589),ge=N.ZP.div.withConfig({displayName:"StyledSectionWrapper"})(le||(le=I()(["\n padding-top: ",";\n"])),H.Z.space(.6)),me=N.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(se||(se=I()(["\n display: flex;\n justify-content: flex-end;\n\n "," {\n margin-right: 0;\n }\n"])),he.Z);const ve=function(e){var t=e.dialogInfo,n=t.rootEntitiesDeletable,r=t.rootEntitiesNotDeletable,i=t.relatedDeletable,o=t.relatedNotDeletable,a=t.hasUnreadableEntities,c=e.doDelete,l=e.onCancel,s=e.navigationStrategy;return(0,Q.z)(l),(0,R.jsxs)(R.Fragment,{children:[ue||(ue=(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.confirmText"})})),(0,R.jsx)(B,{rootEntities:n,relatedEntities:i,maxCountLink:100,navigationStrategy:s},"infopart-deletable"),Object.keys(r).length>0&&(0,R.jsxs)(ge,{children:[fe||(fe=(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.textNotDeletable"})})),(0,R.jsx)(B,{rootEntities:r,relatedEntities:o,maxCountLink:100,navigationStrategy:s},"infopart-notdeletable")]}),a&&(de||(de=(0,R.jsx)(ge,{children:(0,R.jsx)(ce,{condition:"warning",children:(0,R.jsx)(T.ZP.Span,{children:(0,R.jsx)(P.Z,{id:"client.delete.unreadableEntities"})})})}))),(0,R.jsx)(ge,{children:(0,R.jsxs)(me,{children:[(0,R.jsx)(ye.Z,{onClick:c,disabled:Object.keys(n).every((function(e){return 0===n[e].keys.length})),children:pe||(pe=(0,R.jsx)(P.Z,{id:"client.delete.deleteButton"}))}),(0,R.jsx)(ye.Z,{ink:"primary",look:"raised",onClick:l,children:be||(be=(0,R.jsx)(P.Z,{id:"client.delete.cancelButton"}))})]})})]})};var Oe={doDelete:O,onCancel:function(){return{type:g}}};const je=(0,d.connect)((function(e,t){return{dialogInfo:e.del.dialogInfo,navigationStrategy:e.input.navigationStrategy}}),Oe)((0,f.ZP)(ve));var we,xe;const Ee=function(e){var t=e.loadDialogInfo,n=e.dialogInfo,r=e.deletingInProgress,i=e.intl;(0,w.useEffect)((function(){t()}),[t]);var o;return r?we||(we=(0,R.jsx)(K,{})):(0,R.jsx)(E.Z,{required:[n],loadingText:(o="client.delete.loadingText",i.formatMessage({id:o})),children:n&&(xe||(xe=(0,R.jsx)(je,{})))})};var Pe={loadDialogInfo:function(){return{type:p}}};const ke=(0,d.connect)((function(e,t){return{dialogInfo:e.del.dialogInfo,deletingInProgress:e.del.deletingInProgress}}),Pe)((0,f.ZP)(Ee));var Te,Se=n(81770),Ce=(Te={},te()(Te,b,Se.Z.singleTransferReducer("dialogInfo")),te()(Te,m,Se.Z.singleTransferReducer("entitiesToDelete")),te()(Te,h,Se.Z.singleTransferReducer("deletingInProgress")),Te),Ae={dialogInfo:null,entitiesToDelete:null,deletingInProgress:!1};var De=n(87757),Ze=n.n(De),Ie=n(34857),Ne=n(81719),Le=n(5422);const Re=function(e){var t=e.errors.map((function(e){var t=e.entityValidatorErrors;return Object.keys(t).map((function(e){return(0,R.jsx)(Le.Z.List,{children:t[e].map((function(t,n){return(0,R.jsx)(Le.Z.Item,{label:t},"entity-".concat(e,"-").concat(n))}))},e)}))}));return(0,R.jsx)(R.Fragment,{children:t})};var Fe=n(27361),Me=n.n(Fe);function _e(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 qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){te()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Be="DELETABLE",Ue=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=t.rootEntity,i=r.entityName,o=r.entityLabel,a=r.key;if(a.includes("/")){var c=a.split("/"),l=D()(c,2),s=l[0],u=l[1];return qe(qe({},e),{},te()({},s,{entityLabel:o,keys:[].concat(C()(Me()(e,[s,"keys"],[])),C()(n?[u]:[]))}))}return qe(qe({},e),{},te()({},i,{entityLabel:o,keys:[].concat(C()(Me()(e,[i,"keys"],[])),C()(n?[a]:[]))}))},We=function(e){return e.rootEntity.deleteStatus===Be&&!e.affectedEntities.find((function(e){return e.deleteStatus!==Be}))},Ye=function(e,t){var n=e.entitiesToDelete;return n.reduce((function(e,n){var r=We(n),i=r?"relatedDeletable":"relatedNotDeletable";return qe(qe(qe({},e),{},{rootEntitiesDeletable:Ue(e.rootEntitiesDeletable,n,r)},!r&&{rootEntitiesNotDeletable:Ue(e.rootEntitiesNotDeletable,n)}),{},te()({},i,function(e,t,n,r){return qe({},t.affectedEntities.reduce((function(e,t){return qe(qe({},e),n||t.deleteStatus!==Be?te()({},t.entityName,qe(qe({},Me()(e,t.entityName,{keys:[],keysOtherBu:[],entityLabel:t.entityLabel})),null===t.businessUnitId||t.businessUnitId===r?{keys:Array.from(new Set([].concat(C()(Me()(e,[t.entityName,"keys"],[])),[t.key])))}:{keysOtherBu:Array.from(new Set([].concat(C()(Me()(e,[t.entityName,"keysOtherBu"],[])),[t.key])))})):{})}),qe({},e)))}(e[i],n,r,t)))}),{rootEntitiesDeletable:{},rootEntitiesNotDeletable:{},relatedDeletable:{},relatedNotDeletable:{},hasUnreadableEntities:!!n.find((function(e){return e.unreadableEntities}))})},He=function(e){var t=e.entitiesToDelete;return{entityName:Me()(t,"[0].rootEntity.entityName"),keys:t.reduce((function(e,t){return[].concat(C()(e),C()(We(t)?[t.rootEntity.key]:[]))}),[])}},ze=o().shape({entityLabel:o().string,keys:o().arrayOf(o().string),keysOtherBu:o().arrayOf(o().string)}),Ve=(o().shape({rootEntitiesDeletable:o().objectOf(ze).isRequired,rootEntitiesNotDeletable:o().objectOf(ze).isRequired,relatedDeletable:o().objectOf(ze).isRequired,relatedNotDeletable:o().objectOf(ze).isRequired,hasUnreadableEntities:o().bool}),Ze().mark(nt)),Ge=Ze().mark(rt),Ke=Ze().mark(it),$e=Ze().mark(ot),Je=Ze().mark(at),Qe=Ze().mark(ct),Xe=function(e){return e.input},et=function(e){return e.intl.messages},tt=function(e){return e.del.entitiesToDelete};function nt(){var e,t,n;return Ze().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Ie.Ys)(Xe);case 2:return e=r.sent,t=e.selection,r.next=6,(0,Ie.RE)(u.Z.getEntities,t,Ne.Z.fetchEntities);case 6:return n=r.sent,r.abrupt("return",{entityModel:n.entityName,keys:n.keys});case 8:case"end":return r.stop()}}),Ve)}function rt(){var e,t;return Ze().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,Ie.Ys)(Xe);case 2:return e=n.sent,t=e.customDeleteEndpoint,n.abrupt("return",t||"client/delete");case 5:case"end":return n.stop()}}),Ge)}function it(){var e,t,n,r,i,o,a,c;return Ze().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,Ie.RE)(nt);case 2:return e=l.sent,l.next=5,(0,Ie.RE)(rt);case 5:return t=l.sent,l.next=8,(0,Ie.$6)([(0,Ie.RE)(Ne.Z.requestSaga,"".concat(t,"/dialog"),{method:"POST",body:e}),(0,Ie.RE)(Ne.Z.fetchPrincipal)]);case 8:return n=l.sent,r=D()(n,2),i=r[0],o=r[1],l.next=14,(0,Ie.RE)(Ye,i.body,o.currentBusinessUnit.id);case 14:return a=l.sent,l.next=17,(0,Ie.gz)(v(a));case 17:return l.next=19,(0,Ie.RE)(He,i.body);case 19:return c=l.sent,l.next=22,(0,Ie.gz)(j(c));case 22:case"end":return l.stop()}}),Ke)}function ot(){var e,t,n,r,i,o,a,c;return Ze().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,Ie.Ys)(tt);case 2:return e=s.sent,s.next=5,(0,Ie.gz)({type:h,payload:{deletingInProgress:!0}});case 5:return s.next=7,(0,Ie.RE)(rt);case 7:return t=s.sent,s.next=10,(0,Ie.RE)(Ne.Z.requestSaga,t,{method:"POST",body:{entityModel:e.entityName,keys:e.keys},acceptedErrorCodes:["VALIDATION_FAILED"],acceptedStatusCodes:[409]});case 10:return n=s.sent,s.next=13,(0,Ie.Ys)(et);case 13:if(r=s.sent,!n.ok){s.next=22;break}return i=n.body,o=Object.keys(i.deletedEntities).reduce((function(e,t){return[].concat(C()(e),C()(i.deletedEntities[t].map((function(e){return{entityName:t,key:e}}))))}),[]),a=[{type:"entity-delete-event",payload:{entities:o}}],s.next=20,(0,Ie.gz)(l.Z.fireExternalEvent("onSuccess",{message:r["client.delete.successfullyMessage"],remoteEvents:a}));case 20:case 25:case 31:s.next=35;break;case 22:if(409!==n.status||!n.body.information){s.next=27;break}return s.next=25,(0,Ie.gz)(l.Z.fireExternalEvent("onError",{message:n.body.information}));case 27:if(400!==n.status||"VALIDATION_FAILED"!==n.body.errorCode){s.next=33;break}return c=function(){return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("div",{children:r["client.delete.validationErrorMessage"]}),(0,R.jsx)(Re,{errors:n.body.errors})]})},s.next=31,(0,Ie.gz)(l.Z.fireExternalEvent("onError",{message:c}));case 33:return s.next=35,(0,Ie.gz)(l.Z.fireExternalEvent("onError",{message:r["client.delete.errorMessage"]}));case 35:case"end":return s.stop()}}),$e)}function at(){return Ze().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ie.gz)(l.Z.fireExternalEvent("onCancel"));case 2:case"end":return e.stop()}}),Je)}function ct(){return Ze().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ie.$6)([(0,Ie.Fm)(p,it),(0,Ie.Fm)(y,ot),(0,Ie.Fm)(g,at)]);case 2:case"end":return e.stop()}}),Qe)}const lt={del:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ae,t=arguments.length>1?arguments[1]:void 0,n=Ce[t.type];return n?n(e,t):e}};var st,ut=[ct],ft="delete",dt=["onSuccess","onCancel","onError","emitAction"],pt=function(e,t,n,r){var i=st||(st=(0,R.jsx)(ke,{})),o=c.Z.createStore(lt,ut,t,ft);a.Z.addToStore(o,(function(e){return e.input.emitAction}));var u=!n.emitAction;return s.Z.addToStore(o,u),l.Z.addToStore(o,(function(e){return c.Z.getEvents(dt,e.input)})),c.Z.createApp(ft,i,o,{input:t,events:n,actions:[],publicPath:r,textResourceModules:["component","common",ft]})};c.Z.registerAppInRegistry(ft,pt);var bt=function(e){return c.Z.useApp({initApp:pt,props:e,packageName:ft,externalEvents:dt}).component};bt.propTypes={selection:u.Z.propType.isRequired,customDeleteEndpoint:o().string};const yt=bt;c.Z.createBundleableApp(ft,pt,bt)},73665:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(45697),i=n.n(r);const o={ID:"ID",QUERY:"QUERY"},a=i().shape({entityName:i().string.isRequired,ids:function(e,t,n){if(e.selection&&e.selection.type===o.ID&&!e.selection[t])return new Error("Selection.ids prop not defined. Component: ".concat(n,"'."))},query:function(e,t,n){if(e.selection&&e.selection.type===o.QUERY&&!e.selection[t])return new Error("Selection.query prop not defined. Component: ".concat(n,"'."))},type:i().oneOf(Object.keys(o)).isRequired,count:i().number});var c=n(59713),l=n.n(c),s=n(87757),u=n.n(s),f=n(34857),d=n(44759),p=u().mark(g);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 y(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){l()(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}var h=1e5;function g(e,t){var n,r;return u().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(n=e.entityName,e.type!==o.QUERY){i.next=9;break}return i.next=4,(0,f.RE)(t,e.entityName,y(y({},e.query),{},{limit:h}));case 4:if(!((r=i.sent).length>h)){i.next=8;break}return i.next=8,(0,f.RE)(d.Z.logError,"Selected records exceed limit of ".concat(h));case 8:return i.abrupt("return",{entityName:n,keys:r.map((function(e){return e.key}))});case 9:return i.abrupt("return",{entityName:n,keys:e.ids});case 10:case"end":return i.stop()}}),p)}const m={getEntities:g,getSingleKey:function(e,t){if(e.entityName!==t)throw new Error("Only selection of ".concat(t," supported"));if("ID"!==e.type)throw new Error("Only ID selection type supported");if(!e.ids||1!==e.ids.length)throw new Error("Exactly one ".concat(t," must be selected"));return e.ids[0]},propType:a,selectionTypes:o}},81749:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,b:()=>o});var r=n(45697),i={NONE:"none",FULLTEXT:"fulltext",SIMPLE:"simple",SIMPLE_ADVANCED:"simple_advanced",ADVANCED:"advanced",ADMIN:"admin"},o=n.n(r)().oneOf(Object.values(i));const a=i},13025:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,l:()=>o});var r=n(45697),i={SINGLE:"single",MULTI:"multi",MULTI_EXPLICIT:"multi_explicit",NONE:"none"},o=n.n(r)().oneOf(Object.keys(i).map((function(e){return i[e]})))},54680:(e,t,n)=>{"use strict";n.d(t,{Z:()=>G});var r=n(74806),i=n(59713),o=n.n(i),a=n(319),c=n.n(a),l=n(64593),s=n(10535),u=n(6699),f=n(34206),d=n(88162),p=n(85893),b={error:"exclamation-circle",home:"house-blank"},y=function(e){return b[e]||e};const h=function(e){var t=e.type;return t&&"record"!==t?(0,p.jsx)(d.Z,{icon:y(t)}):null};var g,m,v,O,j,w,x=n(6479),E=n.n(x),P=n(28655),k=n.n(P),T=n(1024),S=n.n(T),C=n(38205),A=n(40493),D=n(69829),Z=n(88601),I=n(7281),N=["component"],L=C.ZP.div.withConfig({displayName:"StyledBreadcrumbs"})(g||(g=k()(["\n background-color: ",";\n padding: "," ",";\n position: relative;\n z-index: 2; // higher than StyledTether to prevent cover on scroll\n"])),(function(e){return e.backgroundColor||Z.Z.color("backgroundBreadcrumbs")(e)}),I.Z.space(-.7),I.Z.space(.39)),R=(0,C.ZP)((function(e){var t=e.component,n=E()(e,N);return S().cloneElement(t,n)})).withConfig({displayName:"StyledBreadcrumbsLink"})(m||(m=k()(["\n font-weight: ",";\n text-decoration: none;\n color: ",";\n cursor: pointer;\n\n & * {\n font-weight: ",";\n text-decoration: none;\n color: ",";\n }\n\n &:hover,\n &:hover * {\n color: ",";\n }\n\n &:focus,\n &:active,\n &:focus *,\n &:active * {\n color: ",";\n }\n"])),Z.Z.fontWeight("bold"),(function(e){return e.active&&Z.Z.color("primary")}),Z.Z.fontWeight("bold"),(function(e){return e.active&&Z.Z.color("primary")}),Z.Z.color("secondaryLight"),Z.Z.color("primary")),F=C.ZP.span.withConfig({displayName:"StyledBreadcrumbsTitle"})(v||(v=k()(["\n font-weight: ",";\n text-decoration: none;\n color: ",";\n\n & * {\n font-weight: ",";\n text-decoration: none;\n color: ",";\n }\n\n &:active * {\n color: ",";\n }\n"])),Z.Z.fontWeight("bold"),(function(e){return e.active&&Z.Z.color("primary")}),Z.Z.fontWeight("bold"),(function(e){return e.active&&Z.Z.color("primary")}),Z.Z.color("primary")),M=(0,C.ZP)(D.Fe).withConfig({displayName:"StyledBreadcrumbSeparator"})(O||(O=k()(["\n margin-left: ",";\n margin-right: ",";\n"])),I.Z.space(-2),I.Z.space(-2)),_=C.ZP.span.withConfig({displayName:"StyledBreadcrumbWrapper"})(j||(j=k()(["\n "," {\n margin-right: ",";\n }\n"])),A.q,I.Z.space(-1));const q=function(){return w||(w=(0,p.jsx)(M,{breakWords:!0,children:(0,p.jsx)(d.Z,{icon:"chevron-right"})}))};var B;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 W(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 Y=function(e){return e.title||e.display},H=function(e,t){if(!e||0===e.length)return"Tocco";var n=e.at(-1),r="";switch(n.type){case"create":r="".concat(Y(n)," - ").concat(t);break;case"detail":r=e.slice(e.length-2).map(Y).join(" - ");break;default:r=Y(n)}return r},z=function(e){var t,n=e.intl,r=e.pathPrefix,i=e.breadcrumbsInfo,o=void 0===i?[]:i,a=e.currentView,d=e.backgroundColor,b=e.onClick,y=e.linkComp,g=[].concat(c()(o),c()(a?[a]:[]));if(0===g.length)return null;var m,v=g.map((function(e,n){var i,o=e.display||"",a=n===g.length-1?F:R,c=n===g.length-1&&{active:"true"},l=void 0!==e.path?{to:"".concat(r,"/").concat(e.path)}:{},d=y?t||(t=(0,p.jsx)(y,{})):B||(B=(0,p.jsx)(u.Z,{}));return(0,p.jsx)(f.ZP.Span,{children:(0,p.jsx)(_,{children:(0,p.jsxs)(a,W(W(W({neutral:!0},c),l),{},{onClick:(i=e,function(){b&&!1!==i.clickable&&b(i)}),component:d,children:[(0,p.jsx)(h,{type:e.type}),(0,p.jsx)("span",{dangerouslySetInnerHTML:{__html:s.Z.sanitizeHtml(o)}})]}))})},"breadcrumbItem-".concat(n))})).reduce((function(e,t,n){return[e,(0,p.jsx)(q,{},"icon".concat(n)),t]}));return(0,p.jsxs)(L,{backgroundColor:d,children:[(0,p.jsx)(l.q,{defer:!1,children:(0,p.jsx)("title",{children:H(g,(m="client.component.breadcrumbs.createTitle",n.formatMessage({id:m})))})}),(0,p.jsx)(p.Fragment,{children:v})]})};z.defaultProps={pathPrefix:""};const V=z,G=(0,r.ZP)(V)},99579:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Icon:()=>F,default:()=>M});var r=n(59713),i=n.n(r),o=n(45697),a=n.n(o),c=n(6479),l=n.n(c),s=n(23636),u=n(93024),f=n(65735),d=n(73582),p=n(67814),b=n(27361),y=n.n(b),h=n(40493),g=n(85893),m=["icon","style","hasFixedWidth"];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 O(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){i()(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}s.library.add(d.IJ7,f.IJ7,f.C65,f.kJo,f._tD,f.A35,f.mTx,f.ptq,f.g4A,f.r8p,f.Pk,f.g9M,f.Tab,d.Tab,f.NBC,f.eFW,f.acZ,f.u2A,f.gMD,f.cwv,f.w49,f.fUD,f.icc,f.ca9,f.Vmj,f.gSj,f.WFE,f.hQn,f.LEp,f.WV2,f.FU$,f.diR,d.diR,f.f8k,d.f8k,u.xYR,u.neY,u.AYu,u.kBj,u.hVS,u.dc_,u.Av$,f.xiG,f.gJF,f.j1w,f.WKO,f.wn1,f.b7W,f.YHc,f.ZC5,f.UO1,d.Fyj,f.Qj4,f.FL8,f.foy,f.u9C,f.Fuz,f.iV1,f.Kl4,f.nYk,f.sqG,f.RLE,f.XAH,f.Zrf,f.jMV,f.pL1,f.g6h,f.SJY,f.qmU,f.nek,f.Qy6,f.lH_,d.pL1,f.hVM,f.yOf,f.Xgz,f.Mzg,f.r6l,f.IwR,f.aJJ,d.Alc,f.dLO,f.ntl,f.Hw7,f.FYs,f.$36,f.fT7,f.ioP,f.Cw9,f.Ry6,f.C3l,f.a1i,f.jGC,f.IeV,f.A8,f.hG5,f.FVb,f.AxY,f.mAj,f.hGM,f.UkD,f.BDt,f.QzV,f.py1,f.cf$,f.byT,f.dT$,f.G_j,f.A4,f.ar8,f.nNP,f.yGT,f.ILF,f.rux,f.qbi);var j=function(e){var t=e.icon,n=e.style,r=e.hasFixedWidth,i=l()(e,m),o=t.includes(",")?t.replace(/\s+/,"").split(","):t,a=O({},y()(n,"color")&&{color:n.color}),c=Array.isArray(o)?o[1]:o;return(0,g.jsx)(h.q,{children:(0,g.jsx)(p.G,O(O(O({icon:o,style:n},a),{},{fixedWidth:r},i),{},{"data-testid":"icon-".concat(c)}))})};j.defaultProps={hasFixedWidth:!0};const w=j,x=JSON.parse('{"abacus":{"id":"fal, abacus","lib":"fa"},"address-card":{"id":"fal, address-card","lib":"fa"},"apple":{"id":"fab, apple","lib":"fa","tags":["sso"]},"arrow-left":{"id":"fal, arrow-left","lib":"fa","tags":["navigate"]},"arrow-right":{"id":"fal, arrow-right","lib":"fa","tags":["navigate"]},"arrow-to-bottom":{"id":"fal, arrow-to-bottom","lib":"fa","tags":["download"]},"arrow-to-top":{"id":"fal, arrow-to-top","lib":"fa","tags":["upload"]},"arrow-up-long":{"id":"fal, arrow-up-long","lib":"fa","tags":["arrow-up-long"]},"ballot-check":{"id":"fal, ballot-check","lib":"fa"},"barcode-alt":{"id":"fal, barcode-alt","lib":"fa"},"bars":{"id":"fal, bars","lib":"fa","tags":["burger"]},"bell":{"id":"fal, bell","lib":"fa","tags":["notification"]},"bolt":{"id":"fal, bolt-lightning","lib":"fa"},"bolt-lightning":{"id":"fal, bolt-lightning","lib":"fa"},"book":{"id":"fal, book","lib":"fa"},"box":{"id":"fal, box","lib":"fa"},"box-open":{"id":"fal, box-open","lib":"fa"},"calendar":{"id":"fal, calendar","lib":"fa"},"calendar-arrow-down":{"id":"fal, calendar-arrow-down","lib":"fa"},"calendar-circle-user":{"id":"fal, calendar-circle-user","lib":"fa"},"calendar-check":{"id":"fal, calendar-check","lib":"fa"},"calendar-minus":{"id":"fal, calendar-minus","lib":"fa"},"calendar-plus":{"id":"fal, calendar-plus","lib":"fa"},"chalkboard-teacher":{"id":"fal, chalkboard-teacher","lib":"fa"},"chart-network":{"id":"fal, chart-network","lib":"fa"},"check":{"id":"fal, check","lib":"fa","tags":["ok"]},"check-circle":{"id":"fal, check-circle","lib":"fa","tags":["check"]},"check-circle-full":{"id":"fas, check-circle","lib":"fa"},"chevron-double-down":{"id":"fal, chevron-double-down","lib":"fa"},"chevron-double-left":{"id":"fal, chevron-double-left","lib":"fa"},"chevron-double-right":{"id":"fal, chevron-double-right","lib":"fa"},"chevron-double-up":{"id":"fal, chevron-double-up","lib":"fa"},"chevron-down":{"id":"fal, chevron-down","lib":"fa"},"chevron-left":{"id":"fal, chevron-left","lib":"fa"},"chevron-right":{"id":"fal, chevron-right","lib":"fa"},"chevron-up":{"id":"fal, chevron-up","lib":"fa"},"circle":{"id":"fal, circle","lib":"fa","tags":["selection"]},"circle-full":{"id":"fas, circle","lib":"fa"},"circle-notch":{"id":"fa, circle-notch","lib":"fa"},"circle-notch-light":{"id":"fal, circle-notch","lib":"fa"},"code":{"id":"fal, code","lib":"fa"},"cog":{"id":"fal, cog","lib":"fa"},"compress":{"id":"fal, compress","lib":"fa"},"comment":{"id":"fal, comment","lib":"fa"},"cube":{"id":"fal, cube","lib":"fa"},"dropbox":{"id":"fab, dropbox","lib":"fa","tags":["sso"]},"ellipsis-v":{"id":"fal, ellipsis-v","lib":"fa","tags":["dots","pünktli"]},"envelope":{"id":"fal, envelope","lib":"fa"},"exclamation":{"id":"fal, exclamation","lib":"fa","tags":["warning"]},"exclamation-circle":{"id":"fal, exclamation-circle","lib":"fa","tags":["warning"]},"external-link":{"id":"fal, external-link","lib":"fa","tags":["external-link"]},"facebook":{"id":"fab, facebook","lib":"fa","tags":["sso"]},"facebook-f":{"id":"fab, facebook-f","lib":"fa","tags":["sso"]},"file":{"id":"fal, file","lib":"fa"},"file-alt":{"id":"fal, file-alt","lib":"fa"},"file-code":{"id":"fal, file-code","lib":"fa"},"file-csv":{"id":"fal, file-csv","lib":"fa"},"file-excel":{"id":"fal, file-excel","lib":"fa"},"file-export":{"id":"fal, file-export","lib":"fa"},"file-import":{"id":"fal, file-import","lib":"fa"},"file-pdf":{"id":"fal, file-pdf","lib":"fa"},"file-spreadsheet":{"id":"fal, file-spreadsheet","lib":"fa"},"filter":{"id":"fal, filter","lib":"fa"},"folder":{"id":"fal, folder","lib":"fa"},"folders":{"id":"fal, folders","lib":"fa","tags":["copy"]},"globe":{"id":"fal, globe","lib":"fa"},"google":{"id":"fab, google","lib":"fa","tags":["sso"]},"horizontal-rule":{"id":"fal, horizontal-rule","lib":"fa"},"id-badge":{"id":"fal, id-badge","lib":"fa"},"info":{"id":"fal, info","lib":"fa"},"laptop-code":{"id":"fal, laptop-code","lib":"fa"},"link":{"id":"fal, link","lib":"fa"},"list":{"id":"fal, list","lib":"fa"},"list-check":{"id":"fal, list-check","lib":"fa"},"lock":{"id":"fal, lock","lib":"fa"},"info-circle":{"id":"fal, info-circle","lib":"fa","tags":["info"]},"mail-bulk":{"id":"fal, mail-bulk","lib":"fa"},"map-marked":{"id":"fal, map-marked","lib":"fa"},"merge":{"id":"fal, merge","lib":"fa"},"microsoft":{"id":"fab, microsoft","lib":"fa","tags":["sso"]},"minus":{"id":"fal, minus","lib":"fa"},"newspaper":{"id":"fal, newspaper","lib":"fa"},"office":{"id":"office","lib":"toc"},"paper-clip":{"id":"fa, paper-clip","lib":"fa"},"pen":{"id":"fal, pen","lib":"fa"},"pen-field":{"id":"fal, pen-field","lib":"fa"},"percent":{"id":"fal, percent","lib":"fa"},"phone":{"id":"fal, phone","lib":"fa"},"phone-laptop":{"id":"fal, phone-laptop","lib":"fa"},"plus":{"id":"fal, plus","lib":"fa","tags":["new"]},"question-circle":{"id":"fal, question-circle","lib":"fa","tags":["help"]},"save":{"id":"fal, save","lib":"fa"},"search":{"id":"fal, search","lib":"fa"},"sitemap":{"id":"fal, sitemap","lib":"fa"},"sort-down":{"id":"fal, sort-down","lib":"fa"},"sort-up":{"id":"fal, sort-up","lib":"fa"},"square":{"id":"fal, square","lib":"fa"},"square-full":{"id":"fas, square-full","lib":"fa"},"square-minus":{"id":"fal, square-minus","lib":"fa"},"square-plus":{"id":"fal, square-plus","lib":"fa"},"star":{"id":"fal, star","lib":"fa","tags":["favorite"]},"star-full":{"id":"fas, star","lib":"fa","tags":["favorite"]},"sync":{"id":"fal, sync","lib":"fa","tags":["refresh"]},"tasks":{"id":"fal, tasks","lib":"fa"},"times":{"id":"fal, times","lib":"fa","tags":["delete","close"]},"times-circle":{"id":"fal, times-circle","lib":"fa","tags":["error"]},"tocco":{"id":"logo","lib":"toc"},"trash":{"id":"fal, trash","lib":"fa","tags":["trash"]},"upload":{"id":"fal, upload","lib":"fa"},"users":{"id":"fal, users","lib":"fa"},"lightbulb-exclamation":{"id":"fal, lightbulb-exclamation","lib":"fa"},"house-blank":{"id":"fal, house-blank","lib":"fa"},"floppy-disk-circle-xmark":{"id":"fal, floppy-disk-circle-xmark","lib":"fa"},"user":{"id":"fal, user","lib":"fa"},"suitcase":{"id":"fal, suitcase","lib":"fa"}}');var E,P,k=["style"],T=["style"],S=["icon"];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 A(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){i()(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 D={logo:function(e){var t=e.style,n=l()(e,k);return(0,g.jsx)("svg",A(A(A({height:y()(t,"fontSize",20)},t),n),{},{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:E||(E=(0,g.jsx)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 \n 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))}))},office:function(e){var t=e.style,n=l()(e,T);return(0,g.jsx)("svg",A(A(A({height:y()(t,"fontSize",20)},t),n),{},{"aria-hidden":"true",role:"img",enableBackground:"new 0 0 2075 2499.8",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2075 2499.8",children:P||(P=(0,g.jsx)("path",{fill:"currentColor",d:"m0 2016.6v-1519.8l1344.4-496.8 730.6 233.7v2045.9l-730.6 220.3-1344.4-483.3 1344.4 \n 161.8v-1769.2l-876.8 204.6v1198.3z"}))}))}},Z=function(e){var t=e.icon,n=l()(e,S);return D[t](n)};Z.propTypes={icon:a().string.isRequired};const I=Z;function N(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?N(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R={fa:function(e,t){return(0,g.jsx)(w,L(L({},t),{},{icon:e.id}))},toc:function(e,t){return(0,g.jsx)(I,L(L({},t),{},{icon:e.id,"data-testid":"icon-".concat(e.id)}))}},F=function(e){var t=x[e.icon];if(!t)return null;var n=R[t.lib];return n?n(t,e):null};F.propTypes={icon:a().string.isRequired,style:a().objectOf(a().string)};const M=F},40493:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});var r,i=n(28655),o=n.n(i),a=n(38205).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=o()([""])))},71392:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var r={INLINE:"inline",NONE:"none"}},65378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(45697),i=n.n(r),o=n(98773);const a={propTypes:i().shape({embedType:i().oneOf(o.Nc),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})}},13442:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var r=n(59713),i=n.n(r);function o(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"!==r&&"+"!==r&&"?"!==r)if("\\"!==r)if("{"!==r)if("}"!==r)if(":"!==r)if("("!==r)t.push({type:"CHAR",index:n,value:e[n++]});else{var i=1,o="";if("?"===e[c=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(c));for(;c<e.length;)if("\\"!==e[c]){if(")"===e[c]){if(0==--i){c++;break}}else if("("===e[c]&&(i++,"?"!==e[c+1]))throw new TypeError("Capturing groups are not allowed at ".concat(c));o+=e[c++]}else o+=e[c++]+e[c++];if(i)throw new TypeError("Unbalanced pattern at ".concat(n));if(!o)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:o}),n=c}else{for(var a="",c=n+1;c<e.length;){var l=e.charCodeAt(c);if(!(l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||95===l))break;a+=e[c++]}if(!a)throw new TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=c}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,i=void 0===r?"./":r,o="[^".concat(a(t.delimiter||"/#?"),"]+?"),c=[],l=0,s=0,u="",f=function(e){if(s<n.length&&n[s].type===e)return n[s++].value},d=function(e){var t=f(e);if(void 0!==t)return t;var r=n[s],i=r.type,o=r.index;throw new TypeError("Unexpected ".concat(i," at ").concat(o,", expected ").concat(e))},p=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t};s<n.length;){var b=f("CHAR"),y=f("NAME"),h=f("PATTERN");if(y||h){var g=b||"";-1===i.indexOf(g)&&(u+=g,g=""),u&&(c.push(u),u=""),c.push({name:y||l++,prefix:g,suffix:"",pattern:h||o,modifier:f("MODIFIER")||""})}else{var m=b||f("ESCAPED_CHAR");if(m)u+=m;else if(u&&(c.push(u),u=""),f("OPEN")){g=p();var v=f("NAME")||"",O=f("PATTERN")||"",j=p();d("CLOSE"),c.push({name:v||(O?l++:""),pattern:v&&!O?o:O,prefix:g,suffix:j,modifier:f("MODIFIER")||""})}else d("END")}}return c}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function c(e){return e&&e.sensitive?"":"i"}function l(e,t,n){return function(e,t,n){void 0===n&&(n={});for(var r=n.strict,i=void 0!==r&&r,o=n.start,l=void 0===o||o,s=n.end,u=void 0===s||s,f=n.encode,d=void 0===f?function(e){return e}:f,p=n.delimiter,b=void 0===p?"/#?":p,y=n.endsWith,h="[".concat(a(void 0===y?"":y),"]|$"),g="[".concat(a(b),"]"),m=l?"^":"",v=0,O=e;v<O.length;v++){var j=O[v];if("string"==typeof j)m+=a(d(j));else{var w=a(d(j.prefix)),x=a(d(j.suffix));if(j.pattern)if(t&&t.push(j),w||x)if("+"===j.modifier||"*"===j.modifier){var E="*"===j.modifier?"?":"";m+="(?:".concat(w,"((?:").concat(j.pattern,")(?:").concat(x).concat(w,"(?:").concat(j.pattern,"))*)").concat(x,")").concat(E)}else m+="(?:".concat(w,"(").concat(j.pattern,")").concat(x,")").concat(j.modifier);else"+"===j.modifier||"*"===j.modifier?m+="((?:".concat(j.pattern,")").concat(j.modifier,")"):m+="(".concat(j.pattern,")").concat(j.modifier);else m+="(?:".concat(w).concat(x,")").concat(j.modifier)}}if(u)i||(m+="".concat(g,"?")),m+=n.endsWith?"(?=".concat(h,")"):"$";else{var P=e[e.length-1],k="string"==typeof P?g.indexOf(P[P.length-1])>-1:void 0===P;i||(m+="(?:".concat(g,"(?=").concat(h,"))?")),k||(m+="(?=".concat(g,"|").concat(h,")"))}return new RegExp(m,c(n))}(o(e,n),t,n)}function s(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,i=n.exec(e.source);i;)t.push({name:i[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),i=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return s(e,t,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),c(n))}(e,t,n):l(e,t,n)}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 f(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 d=n(81770),p=n(24688),b=n(63038),y=n.n(b),h=n(1024),g=n.n(h),m=n(85893);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 O(e){return function(t){var n=(0,h.useState)(null),r=y()(n,2),o=r[0],a=r[1],c=(0,h.useRef)(!0);return(0,h.useEffect)((function(){return e().then((function(e){return c.current?a((function(){return e})):null})),function(){c.current=!1}}),[]),null!==o?(0,m.jsx)(o,function(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){i()(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}({},t)):null}}var j=n(44759);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){i()(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 E={},P=n(56746),k=function(e){return function(t){if(e.component)return(0,m.jsx)(e.component,{router:t,routes:e.routes});if(e.render){var n={router:t,routes:e.routes};return e.render(n)}}};const T=function(e){return(0,m.jsx)(P.AW,{path:e.path,exact:e.exact,render:k(e)})};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}const C=function(e){var t=e.history,n=e.routes;return(0,m.jsx)(P.F0,{history:t,children:(0,m.jsx)(g().Fragment,{children:n.map((function(e,t){return(0,m.jsx)(T,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){i()(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),t)}))})})},A={loadRoute:function(e,t,n,r){return function(i){if(r&&E[r]){var o=E[r];return(0,m.jsx)(o,x({},i))}var a=O((function(){return new Promise((function(r){n().then((function(n){var i=n.default;i.reducers&&d.Z.injectReducers(e,i.reducers),i.sagas&&i.sagas.forEach((function(t){p.Z.injectSaga(e,t)})),i.inputDispatches&&i.inputDispatches.forEach((function(n){!function(e,t,n){var r=n.key,i=n.actionCreator,o=n.mandatory,a=void 0!==o&&o,c=n.defaultValue,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:j.Z.logError;if(Object.prototype.hasOwnProperty.call(t,r)||c){var s=i(t[r]||c);e.dispatch(s)}else!0===a&&l("EntityBrowser: Mandatory field '".concat(r,"' not set in input"))}(e,t,n)})),r(i.container)}))}))}));return r&&(E[r]=a),(0,m.jsx)(a,x({},i))}},Router:C,RouteWithSubRoutes:T,extractParamsFromPath:function(e,t){var n=[],r=s(e,n).exec(t);return null!==r?n.reduce((function(e,t,n){return f(f({},e),{},i()({},t.name,r[n+1]))}),{}):null}}},29441:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(59713),i=n.n(r),o=n(27361),a=n.n(o);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 l(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){i()(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 s={};const u={persistViewInfo:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;s=l(l({},s),{},i()({},e,{level:n,info:l(l({},a()(s,[e,"info"],{})),t)}))},viewInfoSelector:function(e){return a()(s,[e,"info"],{})},clearPersistedViews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;s=l({},Object.keys(s).reduce((function(t,n){var r=s[n];return l(l({},t),r.level<e&&i()({},n,r))}),{}))}}},41143:e=>{"use strict";e.exports=function(e,t,n,r,i,o,a,c){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,i,o,a,c],u=0;(l=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},64593:(e,t,n)=>{"use strict";n.d(t,{q:()=>he});var r,i,o,a,c=n(89324),l=n.n(c),s=n(83524),u=n.n(s),f=n(69590),d=n.n(f),p=n(1024),b=n.n(p),y=n(27418),h=n.n(y),g="bodyAttributes",m="htmlAttributes",v="titleAttributes",O={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},j=(Object.keys(O).map((function(e){return O[e]})),"charset"),w="cssText",x="href",E="http-equiv",P="innerHTML",k="itemprop",T="name",S="property",C="rel",A="src",D="target",Z={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",N="defer",L="encodeSpecialCharacters",R="onChangeClientState",F="titleTemplate",M=Object.keys(Z).reduce((function(e,t){return e[Z[t]]=t,e}),{}),_=[O.NOSCRIPT,O.SCRIPT,O.STYLE],q="data-react-helmet",B="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},U=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},W=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Y=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},H=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},z=function(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},V=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},G=function(e){var t=X(e,O.TITLE),n=X(e,F);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=X(e,I);return t||r||void 0},K=function(e){return X(e,R)||function(){}},$=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Y({},e,t)}),{})},J=function(e,t){return t.filter((function(e){return void 0!==e[O.BASE]})).map((function(e){return e[O.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},Q=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&ie("Helmet: "+e+' should be of type "Array". Instead found type "'+B(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var c=o[a],l=c.toLowerCase();-1===t.indexOf(l)||n===C&&"canonical"===e[n].toLowerCase()||l===C&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(c)||c!==P&&c!==w&&c!==k||(n=c)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][s]&&(i[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var c=o[a],l=h()({},r[c],i[c]);r[c]=l}return e}),[]).reverse()},X=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},ee=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){ee(e)}),0)}),te=function(e){return clearTimeout(e)},ne="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ee:n.g.requestAnimationFrame||ee,re="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||te:n.g.cancelAnimationFrame||te,ie=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},oe=null,ae=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,c=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,f=e.title,d=e.titleAttributes;se(O.BODY,r),se(O.HTML,i),le(f,d);var p={baseTag:ue(O.BASE,n),linkTags:ue(O.LINK,o),metaTags:ue(O.META,a),noscriptTags:ue(O.NOSCRIPT,c),scriptTags:ue(O.SCRIPT,s),styleTags:ue(O.STYLE,u)},b={},y={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(b[e]=n),r.length&&(y[e]=p[e].oldTags)})),t&&t(),l(e,b,y)},ce=function(e){return Array.isArray(e)?e.join(""):e},le=function(e,t){void 0!==e&&document.title!==e&&(document.title=ce(e)),se(O.TITLE,t)},se=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(q),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),c=0;c<a.length;c++){var l=a[c],s=t[l]||"";n.getAttribute(l)!==s&&n.setAttribute(l,s),-1===i.indexOf(l)&&i.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);i.length===o.length?n.removeAttribute(q):n.getAttribute(q)!==a.join(",")&&n.setAttribute(q,a.join(","))}},ue=function(e,t){var n=document.head||document.querySelector(O.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===P)n.innerHTML=t.innerHTML;else if(r===w)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var c=void 0===t[r]?"":t[r];n.setAttribute(r,c)}n.setAttribute(q,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},fe=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[Z[n]||n]=e[n],t}),t)},pe=function(e,t,n){switch(e){case O.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[q]=!0,i=de(n,r),[b().createElement(O.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=fe(n),o=ce(t);return i?"<"+e+' data-react-helmet="true" '+i+">"+V(o,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+V(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case g:case m:return{toComponent:function(){return de(t)},toString:function(){return fe(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[q]=!0,r);return Object.keys(t).forEach((function(e){var n=Z[e]||e;if(n===P||n===w){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),b().createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===P||e===w)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+V(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===_.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},be=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,c=e.noscriptTags,l=e.scriptTags,s=e.styleTags,u=e.title,f=void 0===u?"":u,d=e.titleAttributes;return{base:pe(O.BASE,t,r),bodyAttributes:pe(g,n,r),htmlAttributes:pe(m,i,r),link:pe(O.LINK,o,r),meta:pe(O.META,a,r),noscript:pe(O.NOSCRIPT,c,r),script:pe(O.SCRIPT,l,r),style:pe(O.STYLE,s,r),title:pe(O.TITLE,{title:f,titleAttributes:d},r)}},ye=u()((function(e){return{baseTag:J([x,D],e),bodyAttributes:$(g,e),defer:X(e,N),encode:X(e,L),htmlAttributes:$(m,e),linkTags:Q(O.LINK,[C,x],e),metaTags:Q(O.META,[T,j,E,S,k],e),noscriptTags:Q(O.NOSCRIPT,[P],e),onChangeClientState:K(e),scriptTags:Q(O.SCRIPT,[A,P],e),styleTags:Q(O.STYLE,[w],e),title:G(e),titleAttributes:$(v,e)}}),(function(e){oe&&re(oe),e.defer?oe=ne((function(){ae(e,(function(){oe=null}))})):(ae(e),oe=null)}),be)((function(){return null})),he=(i=ye,a=o=function(e){function t(){return U(this,t),z(this,e.apply(this,arguments))}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.prototype.shouldComponentUpdate=function(e){return!d()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case O.SCRIPT:case O.NOSCRIPT:return{innerHTML:t};case O.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return Y({},r,((t={})[n.type]=[].concat(r[n.type]||[],[Y({},i,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case O.TITLE:return Y({},i,((t={})[r.type]=a,t.titleAttributes=Y({},o),t));case O.BODY:return Y({},i,{bodyAttributes:Y({},o)});case O.HTML:return Y({},i,{htmlAttributes:Y({},o)})}return Y({},i,((n={})[r.type]=Y({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Y({},t);return Object.keys(e).forEach((function(t){var r;n=Y({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return b().Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[M[n]||n]=e[n],t}),t)}(H(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case O.LINK:case O.META:case O.NOSCRIPT:case O.SCRIPT:case O.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=H(e,["children"]),r=Y({},n);return t&&(r=this.mapChildrenToProps(t,r)),b().createElement(i,r)},W(t,null,[{key:"canUseDOM",set:function(e){i.canUseDOM=e}}]),t}(b().Component),o.propTypes={base:l().object,bodyAttributes:l().object,children:l().oneOfType([l().arrayOf(l().node),l().node]),defaultTitle:l().string,defer:l().bool,encodeSpecialCharacters:l().bool,htmlAttributes:l().object,link:l().arrayOf(l().object),meta:l().arrayOf(l().object),noscript:l().arrayOf(l().object),onChangeClientState:l().func,script:l().arrayOf(l().object),style:l().arrayOf(l().object),title:l().string,titleAttributes:l().object,titleTemplate:l().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=i.peek,o.rewind=function(){var e=i.rewind();return e||(e=be({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);he.renderStatic=he.rewind},17579:(e,t,n)=>{"use strict";var r=n(80070);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,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,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:o,resetWarningCache:i};return n.PropTypes=n,n}},89324:(e,t,n)=>{e.exports=n(17579)()},80070:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},83524:(e,t,n)=>{"use strict";var r,i=n(1024),o=(r=i)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,s=[];function u(){l=e(s.map((function(e){return e.props}))),f.canUseDOM?t(l):n&&(l=n(l))}var f=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return l},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,s=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){s.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),u()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(f,"canUseDOM",c),f}}},14149:(e,t,n)=>{"use strict";function r(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}n.r(t),n.d(t,{default:()=>o});const o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],o=t&&t.split("/")||[],a=e&&r(e),c=t&&r(t),l=a||c;if(e&&r(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";var s=void 0;if(o.length){var u=o[o.length-1];s="."===u||".."===u||""===u}else s=!1;for(var f=0,d=o.length;d>=0;d--){var p=o[d];"."===p?i(o,d):".."===p?(i(o,d),f++):f&&(i(o,d),f--)}if(!l)for(;f--;f)o.unshift("..");!l||""===o[0]||o[0]&&r(o[0])||o.unshift("");var b=o.join("/");return s&&"/"!==b.substr(-1)&&(b+="/"),b}},54545:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var 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};const i=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var i=void 0===t?"undefined":r(t);if(i!==(void 0===n?"undefined":r(n)))return!1;if("object"===i){var o=t.valueOf(),a=n.valueOf();if(o!==t||a!==n)return e(o,a);var c=Object.keys(t),l=Object.keys(n);return c.length===l.length&&c.every((function(r){return e(t[r],n[r])}))}return!1}},30670:e=>{"use strict";e.exports=function(){}}}]);
1
+ (self.webpackChunktocco_admin=self.webpackChunktocco_admin||[]).push([[614],{78788:(e,t,n)=>{"use strict";n.d(t,{Z:()=>yt});var r,i=n(45697),o=n.n(i),a=n(50600),c=n(6966),l=n(19241),s=n(30604),u=n(73665),f=n(74806),d=n(50558),p="root/LOAD_DIALOG_INFO",b="delete/SET_DELETE_DIALOG_INFO",y="delete/DO_DELETE",h="delete/SET_DELETING_IN_PROGRESS",g="delete/ON_CANCEL",m="delete/SET_ENTITIES_TO_DELETE",v=function(e){return{type:b,payload:{dialogInfo:e}}},O=function(){return{type:y}},j=function(e){return{type:m,payload:{entitiesToDelete:e}}},w=n(1024),x=n.n(w),E=n(50258),P=n(44012),k=n(93235),T=n(34206),S=n(319),C=n.n(S),A=n(63038),D=n.n(A),Z=n(28655),I=n.n(Z),N=n(38205),L=n(76791),R=n(85893);const F=function(e){var t=e.relatedEntity,n=e.children,i=e.maxCountLink;if(t.keys.length<i&&0===t.keysOtherBu.length)return n;var o=(0,R.jsxs)(R.Fragment,{children:[t.keys.length>i&&(r||(r=(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.tooManyRecords"})}))),t.keysOtherBu.length>0&&(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.recordInOtherBU",values:{count:t.keysOtherBu.length}})})]});return(0,R.jsx)(L.Z,{content:o,placement:"top",children:n})};var M,_,q=N.ZP.span.withConfig({displayName:"NonBreakingText"})(M||(M=I()(["\n white-space: nowrap;\n"])));const B=function(e){var t=e.rootEntities,n=e.relatedEntities,r=e.maxCountLink,i=e.navigationStrategy;return(0,R.jsxs)(T.ZP.Span,{children:[(0,R.jsx)(T.ZP.B,{children:Object.entries(t).map((function(e){var t=D()(e,2),n=t[0],r=t[1];return(0,R.jsxs)("span",{children:[r.entityLabel," (",r.keys.length>0&&i.ListLink?(0,R.jsx)(i.ListLink,{entityName:n,entityKeys:r.keys,children:r.keys.length}):(0,R.jsx)(T.ZP.Span,{children:r.keys.length}),")"]},"root-entity-".concat(n))})).reduce((function(e,t){return[e,", ",t]}))}),Object.keys(n).length>0&&(0,R.jsxs)(R.Fragment,{children:[_||(_=(0,R.jsx)("span",{children:" / "})),Object.keys(n).map((function(e){var t=n[e],o=[].concat(C()(t.keys),C()(t.keysOtherBu)).length,a=t.keys.length>0&&i.ListLink?(0,R.jsx)(i.ListLink,{entityName:e,entityKeys:t.keys.slice(0,r),children:o}):(0,R.jsx)(T.ZP.Span,{children:o}),c=(0,R.jsx)(F,{relatedEntity:t,maxCountLink:r,children:a});return(0,R.jsx)(x().Fragment,{children:(0,R.jsxs)(q,{children:[t.entityLabel," (",c,")"]})},"entity-info-"+e)})).reduce((function(e,t){return[e,", ",t]}))]})]})};var U,W,Y,H=n(7281),z=N.ZP.div.withConfig({displayName:"StyledIconWrapper"})(U||(U=I()(["\n margin-bottom: ",";\n"])),H.Z.space(.2));const V=function(e){var t=e.dialogInfo,n=e.navigationStrategy;return(0,R.jsxs)(R.Fragment,{children:[W||(W=(0,R.jsx)(z,{children:(0,R.jsx)(k.Z,{size:"30px"})})),Y||(Y=(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.deleteInProgress"})})),(0,R.jsx)(B,{rootEntities:t.rootEntitiesDeletable,relatedEntities:t.relatedDeletable,maxCountLink:100,navigationStrategy:n},"infopart-deletable")]})};var G={doDelete:O};const K=(0,d.connect)((function(e,t){return{dialogInfo:e.del.dialogInfo,navigationStrategy:e.input.navigationStrategy}}),G)((0,f.ZP)(V));var $,J,Q=n(83324),X=n(78958),ee=n(59713),te=n.n(ee),ne=n(24875),re=[X.Z.condition.INFO,X.Z.condition.DANGER,X.Z.condition.SUCCESS,X.Z.condition.WARNING],ie=($={},te()($,X.Z.condition.DANGER,ne.FS.color("signal.danger")),te()($,X.Z.condition.SUCCESS,ne.FS.color("signal.success")),te()($,X.Z.condition.WARNING,ne.FS.color("signal.warning")),te()($,X.Z.condition.INFO,ne.FS.color("signal.info")),$),oe=N.ZP.div.withConfig({displayName:"StyledSignalBox"})(J||(J=I()(["\n && {\n background-color: ",";\n padding: ",";\n margin-bottom: ",";\n\n * {\n color: ",";\n }\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n"])),(function(e){return function(e){return ie[e.condition]||ie[X.Z.condition.INFO]}(e)}),H.Z.space(-1),H.Z.space(-1),ne.FS.color("paper"));oe.propTypes={condition:X.Z.oneOfPropTypeAndCompletelyMapped(re,ie)};var ae=function(e){var t=e.condition,n=e.title,r=e.children,i=e.meta;return(0,R.jsxs)(oe,{condition:t,children:[n&&(0,R.jsx)(T.ZP.H5,{children:n}),x().Children.map(r,(function(e){return x().cloneElement(e)})),i&&(0,R.jsx)(T.ZP.Small,{children:i})]})};ae.defaultProps={condition:X.Z.condition.BASE};const ce=ae;var le,se,ue,fe,de,pe,be,ye=n(65035),he=n(36589),ge=N.ZP.div.withConfig({displayName:"StyledSectionWrapper"})(le||(le=I()(["\n padding-top: ",";\n"])),H.Z.space(.6)),me=N.ZP.div.withConfig({displayName:"StyledButtonsWrapper"})(se||(se=I()(["\n display: flex;\n justify-content: flex-end;\n\n "," {\n margin-right: 0;\n }\n"])),he.Z);const ve=function(e){var t=e.dialogInfo,n=t.rootEntitiesDeletable,r=t.rootEntitiesNotDeletable,i=t.relatedDeletable,o=t.relatedNotDeletable,a=t.hasUnreadableEntities,c=e.doDelete,l=e.onCancel,s=e.navigationStrategy;return(0,Q.z)(l),(0,R.jsxs)(R.Fragment,{children:[ue||(ue=(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.confirmText"})})),(0,R.jsx)(B,{rootEntities:n,relatedEntities:i,maxCountLink:100,navigationStrategy:s},"infopart-deletable"),Object.keys(r).length>0&&(0,R.jsxs)(ge,{children:[fe||(fe=(0,R.jsx)(T.ZP.P,{children:(0,R.jsx)(P.Z,{id:"client.delete.textNotDeletable"})})),(0,R.jsx)(B,{rootEntities:r,relatedEntities:o,maxCountLink:100,navigationStrategy:s},"infopart-notdeletable")]}),a&&(de||(de=(0,R.jsx)(ge,{children:(0,R.jsx)(ce,{condition:"warning",children:(0,R.jsx)(T.ZP.Span,{children:(0,R.jsx)(P.Z,{id:"client.delete.unreadableEntities"})})})}))),(0,R.jsx)(ge,{children:(0,R.jsxs)(me,{children:[(0,R.jsx)(ye.Z,{onClick:c,disabled:Object.keys(n).every((function(e){return 0===n[e].keys.length})),children:pe||(pe=(0,R.jsx)(P.Z,{id:"client.delete.deleteButton"}))}),(0,R.jsx)(ye.Z,{ink:"primary",look:"raised",onClick:l,children:be||(be=(0,R.jsx)(P.Z,{id:"client.delete.cancelButton"}))})]})})]})};var Oe={doDelete:O,onCancel:function(){return{type:g}}};const je=(0,d.connect)((function(e,t){return{dialogInfo:e.del.dialogInfo,navigationStrategy:e.input.navigationStrategy}}),Oe)((0,f.ZP)(ve));var we,xe;const Ee=function(e){var t=e.loadDialogInfo,n=e.dialogInfo,r=e.deletingInProgress,i=e.intl;(0,w.useEffect)((function(){t()}),[t]);var o;return r?we||(we=(0,R.jsx)(K,{})):(0,R.jsx)(E.Z,{required:[n],loadingText:(o="client.delete.loadingText",i.formatMessage({id:o})),children:n&&(xe||(xe=(0,R.jsx)(je,{})))})};var Pe={loadDialogInfo:function(){return{type:p}}};const ke=(0,d.connect)((function(e,t){return{dialogInfo:e.del.dialogInfo,deletingInProgress:e.del.deletingInProgress}}),Pe)((0,f.ZP)(Ee));var Te,Se=n(81770),Ce=(Te={},te()(Te,b,Se.Z.singleTransferReducer("dialogInfo")),te()(Te,m,Se.Z.singleTransferReducer("entitiesToDelete")),te()(Te,h,Se.Z.singleTransferReducer("deletingInProgress")),Te),Ae={dialogInfo:null,entitiesToDelete:null,deletingInProgress:!1};var De=n(87757),Ze=n.n(De),Ie=n(34857),Ne=n(81719),Le=n(5422);const Re=function(e){var t=e.errors.map((function(e){var t=e.entityValidatorErrors;return Object.keys(t).map((function(e){return(0,R.jsx)(Le.Z.List,{children:t[e].map((function(t,n){return(0,R.jsx)(Le.Z.Item,{label:t},"entity-".concat(e,"-").concat(n))}))},e)}))}));return(0,R.jsx)(R.Fragment,{children:t})};var Fe=n(27361),Me=n.n(Fe);function _e(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 qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){te()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Be="DELETABLE",Ue=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=t.rootEntity,i=r.entityName,o=r.entityLabel,a=r.key;if(a.includes("/")){var c=a.split("/"),l=D()(c,2),s=l[0],u=l[1];return qe(qe({},e),{},te()({},s,{entityLabel:o,keys:[].concat(C()(Me()(e,[s,"keys"],[])),C()(n?[u]:[]))}))}return qe(qe({},e),{},te()({},i,{entityLabel:o,keys:[].concat(C()(Me()(e,[i,"keys"],[])),C()(n?[a]:[]))}))},We=function(e){return e.rootEntity.deleteStatus===Be&&!e.affectedEntities.find((function(e){return e.deleteStatus!==Be}))},Ye=function(e,t){var n=e.entitiesToDelete;return n.reduce((function(e,n){var r=We(n),i=r?"relatedDeletable":"relatedNotDeletable";return qe(qe(qe({},e),{},{rootEntitiesDeletable:Ue(e.rootEntitiesDeletable,n,r)},!r&&{rootEntitiesNotDeletable:Ue(e.rootEntitiesNotDeletable,n)}),{},te()({},i,function(e,t,n,r){return qe({},t.affectedEntities.reduce((function(e,t){return qe(qe({},e),n||t.deleteStatus!==Be?te()({},t.entityName,qe(qe({},Me()(e,t.entityName,{keys:[],keysOtherBu:[],entityLabel:t.entityLabel})),null===t.businessUnitId||t.businessUnitId===r?{keys:Array.from(new Set([].concat(C()(Me()(e,[t.entityName,"keys"],[])),[t.key])))}:{keysOtherBu:Array.from(new Set([].concat(C()(Me()(e,[t.entityName,"keysOtherBu"],[])),[t.key])))})):{})}),qe({},e)))}(e[i],n,r,t)))}),{rootEntitiesDeletable:{},rootEntitiesNotDeletable:{},relatedDeletable:{},relatedNotDeletable:{},hasUnreadableEntities:!!n.find((function(e){return e.unreadableEntities}))})},He=function(e){var t=e.entitiesToDelete;return{entityName:Me()(t,"[0].rootEntity.entityName"),keys:t.reduce((function(e,t){return[].concat(C()(e),C()(We(t)?[t.rootEntity.key]:[]))}),[])}},ze=o().shape({entityLabel:o().string,keys:o().arrayOf(o().string),keysOtherBu:o().arrayOf(o().string)}),Ve=(o().shape({rootEntitiesDeletable:o().objectOf(ze).isRequired,rootEntitiesNotDeletable:o().objectOf(ze).isRequired,relatedDeletable:o().objectOf(ze).isRequired,relatedNotDeletable:o().objectOf(ze).isRequired,hasUnreadableEntities:o().bool}),Ze().mark(nt)),Ge=Ze().mark(rt),Ke=Ze().mark(it),$e=Ze().mark(ot),Je=Ze().mark(at),Qe=Ze().mark(ct),Xe=function(e){return e.input},et=function(e){return e.intl.messages},tt=function(e){return e.del.entitiesToDelete};function nt(){var e,t,n;return Ze().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,Ie.Ys)(Xe);case 2:return e=r.sent,t=e.selection,r.next=6,(0,Ie.RE)(u.Z.getEntities,t,Ne.Z.fetchEntities);case 6:return n=r.sent,r.abrupt("return",{entityModel:n.entityName,keys:n.keys});case 8:case"end":return r.stop()}}),Ve)}function rt(){var e,t;return Ze().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,Ie.Ys)(Xe);case 2:return e=n.sent,t=e.customDeleteEndpoint,n.abrupt("return",t||"client/delete");case 5:case"end":return n.stop()}}),Ge)}function it(){var e,t,n,r,i,o,a,c;return Ze().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,Ie.RE)(nt);case 2:return e=l.sent,l.next=5,(0,Ie.RE)(rt);case 5:return t=l.sent,l.next=8,(0,Ie.$6)([(0,Ie.RE)(Ne.Z.requestSaga,"".concat(t,"/dialog"),{method:"POST",body:e}),(0,Ie.RE)(Ne.Z.fetchPrincipal)]);case 8:return n=l.sent,r=D()(n,2),i=r[0],o=r[1],l.next=14,(0,Ie.RE)(Ye,i.body,o.currentBusinessUnit.id);case 14:return a=l.sent,l.next=17,(0,Ie.gz)(v(a));case 17:return l.next=19,(0,Ie.RE)(He,i.body);case 19:return c=l.sent,l.next=22,(0,Ie.gz)(j(c));case 22:case"end":return l.stop()}}),Ke)}function ot(){var e,t,n,r,i,o,a,c;return Ze().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,Ie.Ys)(tt);case 2:return e=s.sent,s.next=5,(0,Ie.gz)({type:h,payload:{deletingInProgress:!0}});case 5:return s.next=7,(0,Ie.RE)(rt);case 7:return t=s.sent,s.next=10,(0,Ie.RE)(Ne.Z.requestSaga,t,{method:"POST",body:{entityModel:e.entityName,keys:e.keys},acceptedErrorCodes:["VALIDATION_FAILED"],acceptedStatusCodes:[409]});case 10:return n=s.sent,s.next=13,(0,Ie.Ys)(et);case 13:if(r=s.sent,!n.ok){s.next=22;break}return i=n.body,o=Object.keys(i.deletedEntities).reduce((function(e,t){return[].concat(C()(e),C()(i.deletedEntities[t].map((function(e){return{entityName:t,key:e}}))))}),[]),a=[{type:"entity-delete-event",payload:{entities:o}}],s.next=20,(0,Ie.gz)(l.Z.fireExternalEvent("onSuccess",{message:r["client.delete.successfullyMessage"],remoteEvents:a}));case 20:case 25:case 31:s.next=35;break;case 22:if(409!==n.status||!n.body.information){s.next=27;break}return s.next=25,(0,Ie.gz)(l.Z.fireExternalEvent("onError",{message:n.body.information}));case 27:if(400!==n.status||"VALIDATION_FAILED"!==n.body.errorCode){s.next=33;break}return c=function(){return(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("div",{children:r["client.delete.validationErrorMessage"]}),(0,R.jsx)(Re,{errors:n.body.errors})]})},s.next=31,(0,Ie.gz)(l.Z.fireExternalEvent("onError",{message:c}));case 33:return s.next=35,(0,Ie.gz)(l.Z.fireExternalEvent("onError",{message:r["client.delete.errorMessage"]}));case 35:case"end":return s.stop()}}),$e)}function at(){return Ze().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ie.gz)(l.Z.fireExternalEvent("onCancel"));case 2:case"end":return e.stop()}}),Je)}function ct(){return Ze().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ie.$6)([(0,Ie.Fm)(p,it),(0,Ie.Fm)(y,ot),(0,Ie.Fm)(g,at)]);case 2:case"end":return e.stop()}}),Qe)}const lt={del:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ae,t=arguments.length>1?arguments[1]:void 0,n=Ce[t.type];return n?n(e,t):e}};var st,ut=[ct],ft="delete",dt=["onSuccess","onCancel","onError","emitAction"],pt=function(e,t,n,r){var i=st||(st=(0,R.jsx)(ke,{})),o=c.Z.createStore(lt,ut,t,ft);a.Z.addToStore(o,(function(e){return e.input.emitAction}));var u=!n.emitAction;return s.Z.addToStore(o,u),l.Z.addToStore(o,(function(e){return c.Z.getEvents(dt,e.input)})),c.Z.createApp(ft,i,o,{input:t,events:n,actions:[],publicPath:r,textResourceModules:["component","common",ft]})};c.Z.registerAppInRegistry(ft,pt);var bt=function(e){return c.Z.useApp({initApp:pt,props:e,packageName:ft,externalEvents:dt}).component};bt.propTypes={selection:u.Z.propType.isRequired,customDeleteEndpoint:o().string};const yt=bt;c.Z.createBundleableApp(ft,pt,bt)},73665:(e,t,n)=>{"use strict";n.d(t,{Z:()=>m});var r=n(45697),i=n.n(r);const o={ID:"ID",QUERY:"QUERY"},a=i().shape({entityName:i().string.isRequired,ids:function(e,t,n){if(e.selection&&e.selection.type===o.ID&&!e.selection[t])return new Error("Selection.ids prop not defined. Component: ".concat(n,"'."))},query:function(e,t,n){if(e.selection&&e.selection.type===o.QUERY&&!e.selection[t])return new Error("Selection.query prop not defined. Component: ".concat(n,"'."))},type:i().oneOf(Object.keys(o)).isRequired,count:i().number});var c=n(59713),l=n.n(c),s=n(87757),u=n.n(s),f=n(34857),d=n(44759),p=u().mark(g);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 y(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){l()(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}var h=1e5;function g(e,t){var n,r;return u().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(n=e.entityName,e.type!==o.QUERY){i.next=9;break}return i.next=4,(0,f.RE)(t,e.entityName,y(y({},e.query),{},{limit:h}));case 4:if(!((r=i.sent).length>h)){i.next=8;break}return i.next=8,(0,f.RE)(d.Z.logError,"Selected records exceed limit of ".concat(h));case 8:return i.abrupt("return",{entityName:n,keys:r.map((function(e){return e.key}))});case 9:return i.abrupt("return",{entityName:n,keys:e.ids});case 10:case"end":return i.stop()}}),p)}const m={getEntities:g,getSingleKey:function(e,t){if(e.entityName!==t)throw new Error("Only selection of ".concat(t," supported"));if("ID"!==e.type)throw new Error("Only ID selection type supported");if(!e.ids||1!==e.ids.length)throw new Error("Exactly one ".concat(t," must be selected"));return e.ids[0]},propType:a,selectionTypes:o}},81749:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,b:()=>o});var r=n(45697),i={NONE:"none",FULLTEXT:"fulltext",SIMPLE:"simple",SIMPLE_ADVANCED:"simple_advanced",ADVANCED:"advanced",ADMIN:"admin"},o=n.n(r)().oneOf(Object.values(i));const a=i},13025:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i,l:()=>o});var r=n(45697),i={SINGLE:"single",MULTI:"multi",MULTI_EXPLICIT:"multi_explicit",NONE:"none"},o=n.n(r)().oneOf(Object.keys(i).map((function(e){return i[e]})))},54680:(e,t,n)=>{"use strict";n.d(t,{Z:()=>G});var r=n(74806),i=n(59713),o=n.n(i),a=n(319),c=n.n(a),l=n(64593),s=n(10535),u=n(6699),f=n(34206),d=n(88162),p=n(85893),b={error:"exclamation-circle",home:"house-blank"},y=function(e){return b[e]||e};const h=function(e){var t=e.type;return t&&"record"!==t?(0,p.jsx)(d.Z,{icon:y(t)}):null};var g,m,v,O,j,w,x=n(6479),E=n.n(x),P=n(28655),k=n.n(P),T=n(1024),S=n.n(T),C=n(38205),A=n(40493),D=n(69829),Z=n(88601),I=n(7281),N=["component"],L=C.ZP.div.withConfig({displayName:"StyledBreadcrumbs"})(g||(g=k()(["\n background-color: ",";\n padding: "," ",";\n position: relative;\n z-index: 2; // higher than StyledTether to prevent cover on scroll\n"])),(function(e){return e.backgroundColor||Z.Z.color("backgroundBreadcrumbs")(e)}),I.Z.space(-.7),I.Z.space(.39)),R=(0,C.ZP)((function(e){var t=e.component,n=E()(e,N);return S().cloneElement(t,n)})).withConfig({displayName:"StyledBreadcrumbsLink"})(m||(m=k()(["\n font-weight: ",";\n text-decoration: none;\n color: ",";\n cursor: pointer;\n\n & * {\n font-weight: ",";\n text-decoration: none;\n color: ",";\n }\n\n &:hover,\n &:hover * {\n color: ",";\n }\n\n &:focus,\n &:active,\n &:focus *,\n &:active * {\n color: ",";\n }\n"])),Z.Z.fontWeight("bold"),(function(e){return e.active&&Z.Z.color("primary")}),Z.Z.fontWeight("bold"),(function(e){return e.active&&Z.Z.color("primary")}),Z.Z.color("secondaryLight"),Z.Z.color("primary")),F=C.ZP.span.withConfig({displayName:"StyledBreadcrumbsTitle"})(v||(v=k()(["\n font-weight: ",";\n text-decoration: none;\n color: ",";\n\n & * {\n font-weight: ",";\n text-decoration: none;\n color: ",";\n }\n\n &:active * {\n color: ",";\n }\n"])),Z.Z.fontWeight("bold"),(function(e){return e.active&&Z.Z.color("primary")}),Z.Z.fontWeight("bold"),(function(e){return e.active&&Z.Z.color("primary")}),Z.Z.color("primary")),M=(0,C.ZP)(D.Fe).withConfig({displayName:"StyledBreadcrumbSeparator"})(O||(O=k()(["\n margin-left: ",";\n margin-right: ",";\n"])),I.Z.space(-2),I.Z.space(-2)),_=C.ZP.span.withConfig({displayName:"StyledBreadcrumbWrapper"})(j||(j=k()(["\n "," {\n margin-right: ",";\n }\n"])),A.q,I.Z.space(-1));const q=function(){return w||(w=(0,p.jsx)(M,{breakWords:!0,children:(0,p.jsx)(d.Z,{icon:"chevron-right"})}))};var B;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 W(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 Y=function(e){return e.title||e.display},H=function(e,t){if(!e||0===e.length)return"Tocco";var n=e.at(-1),r="";switch(n.type){case"create":r="".concat(Y(n)," - ").concat(t);break;case"detail":r=e.slice(e.length-2).map(Y).join(" - ");break;default:r=Y(n)}return r},z=function(e){var t,n=e.intl,r=e.pathPrefix,i=e.breadcrumbsInfo,o=void 0===i?[]:i,a=e.currentView,d=e.backgroundColor,b=e.onClick,y=e.linkComp,g=[].concat(c()(o),c()(a?[a]:[]));if(0===g.length)return null;var m,v=g.map((function(e,n){var i,o=e.display||"",a=n===g.length-1?F:R,c=n===g.length-1&&{active:"true"},l=void 0!==e.path?{to:"".concat(r,"/").concat(e.path)}:{},d=y?t||(t=(0,p.jsx)(y,{})):B||(B=(0,p.jsx)(u.Z,{}));return(0,p.jsx)(f.ZP.Span,{children:(0,p.jsx)(_,{children:(0,p.jsxs)(a,W(W(W({neutral:!0},c),l),{},{onClick:(i=e,function(){b&&!1!==i.clickable&&b(i)}),component:d,children:[(0,p.jsx)(h,{type:e.type}),(0,p.jsx)("span",{dangerouslySetInnerHTML:{__html:s.Z.sanitizeHtml(o)}})]}))})},"breadcrumbItem-".concat(n))})).reduce((function(e,t,n){return[e,(0,p.jsx)(q,{},"icon".concat(n)),t]}));return(0,p.jsxs)(L,{backgroundColor:d,children:[(0,p.jsx)(l.q,{defer:!1,children:(0,p.jsx)("title",{children:H(g,(m="client.component.breadcrumbs.createTitle",n.formatMessage({id:m})))})}),(0,p.jsx)(p.Fragment,{children:v})]})};z.defaultProps={pathPrefix:""};const V=z,G=(0,r.ZP)(V)},99579:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Icon:()=>F,default:()=>M});var r=n(59713),i=n.n(r),o=n(45697),a=n.n(o),c=n(6479),l=n.n(c),s=n(23636),u=n(93024),f=n(65735),d=n(73582),p=n(67814),b=n(27361),y=n.n(b),h=n(40493),g=n(85893),m=["icon","style","hasFixedWidth"];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 O(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){i()(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}s.library.add(d.IJ7,f.IJ7,f.C65,f.kJo,f._tD,f.A35,f.mTx,f.ptq,f.g4A,f.r8p,f.Pk,f.g9M,f.Tab,d.Tab,f.NBC,f.eFW,f.acZ,f.u2A,f.gMD,f.cwv,f.w49,f.fUD,f.icc,f.ca9,f.Vmj,f.gSj,f.WFE,f.hQn,f.LEp,f.WV2,f.FU$,f.diR,d.diR,f.f8k,d.f8k,u.xYR,u.neY,u.AYu,u.kBj,u.hVS,u.dc_,u.Av$,f.xiG,f.gJF,f.j1w,f.WKO,f.wn1,f.b7W,f.YHc,f.ZC5,f.UO1,d.Fyj,f.Qj4,f.FL8,f.foy,f.u9C,f.Fuz,f.iV1,f.Kl4,f.nYk,f.sqG,f.RLE,f.XAH,f.Zrf,f.jMV,f.pL1,f.g6h,f.SJY,f.qmU,f.nek,f.Qy6,f.lH_,d.pL1,f.hVM,f.yOf,f.Xgz,f.Mzg,f.r6l,f.IwR,f.aJJ,d.Alc,f.dLO,f.ntl,f.Hw7,f.FYs,f.$36,f.fT7,f.ioP,f.Cw9,f.Ry6,f.C3l,f.a1i,f.jGC,f.IeV,f.A8,f.hG5,f.FVb,f.AxY,f.mAj,f.hGM,f.UkD,f.BDt,f.QzV,f.py1,f.cf$,f.byT,f.dT$,f.G_j,f.A4,f.ar8,f.nNP,f.yGT,f.ILF,f.rux,f.qbi);var j=function(e){var t=e.icon,n=e.style,r=e.hasFixedWidth,i=l()(e,m),o=t.includes(",")?t.replace(/\s+/,"").split(","):t,a=O({},y()(n,"color")&&{color:n.color}),c=Array.isArray(o)?o[1]:o;return(0,g.jsx)(h.q,{children:(0,g.jsx)(p.G,O(O(O({icon:o,style:n},a),{},{fixedWidth:r},i),{},{"data-testid":"icon-".concat(c)}))})};j.defaultProps={hasFixedWidth:!0};const w=j,x=JSON.parse('{"abacus":{"id":"fal, abacus","lib":"fa"},"address-card":{"id":"fal, address-card","lib":"fa"},"apple":{"id":"fab, apple","lib":"fa","tags":["sso"]},"arrow-left":{"id":"fal, arrow-left","lib":"fa","tags":["navigate"]},"arrow-right":{"id":"fal, arrow-right","lib":"fa","tags":["navigate"]},"arrow-to-bottom":{"id":"fal, arrow-to-bottom","lib":"fa","tags":["download"]},"arrow-to-top":{"id":"fal, arrow-to-top","lib":"fa","tags":["upload"]},"arrow-up-long":{"id":"fal, arrow-up-long","lib":"fa","tags":["arrow-up-long"]},"ballot-check":{"id":"fal, ballot-check","lib":"fa"},"barcode-alt":{"id":"fal, barcode-alt","lib":"fa"},"bars":{"id":"fal, bars","lib":"fa","tags":["burger"]},"bell":{"id":"fal, bell","lib":"fa","tags":["notification"]},"bolt":{"id":"fal, bolt-lightning","lib":"fa"},"bolt-lightning":{"id":"fal, bolt-lightning","lib":"fa"},"book":{"id":"fal, book","lib":"fa"},"box":{"id":"fal, box","lib":"fa"},"box-open":{"id":"fal, box-open","lib":"fa"},"calendar":{"id":"fal, calendar","lib":"fa"},"calendar-arrow-down":{"id":"fal, calendar-arrow-down","lib":"fa"},"calendar-circle-user":{"id":"fal, calendar-circle-user","lib":"fa"},"calendar-check":{"id":"fal, calendar-check","lib":"fa"},"calendar-minus":{"id":"fal, calendar-minus","lib":"fa"},"calendar-plus":{"id":"fal, calendar-plus","lib":"fa"},"chalkboard-teacher":{"id":"fal, chalkboard-teacher","lib":"fa"},"chart-network":{"id":"fal, chart-network","lib":"fa"},"check":{"id":"fal, check","lib":"fa","tags":["ok"]},"check-circle":{"id":"fal, check-circle","lib":"fa","tags":["check"]},"check-circle-full":{"id":"fas, check-circle","lib":"fa"},"chevron-double-down":{"id":"fal, chevron-double-down","lib":"fa"},"chevron-double-left":{"id":"fal, chevron-double-left","lib":"fa"},"chevron-double-right":{"id":"fal, chevron-double-right","lib":"fa"},"chevron-double-up":{"id":"fal, chevron-double-up","lib":"fa"},"chevron-down":{"id":"fal, chevron-down","lib":"fa"},"chevron-left":{"id":"fal, chevron-left","lib":"fa"},"chevron-right":{"id":"fal, chevron-right","lib":"fa"},"chevron-up":{"id":"fal, chevron-up","lib":"fa"},"circle":{"id":"fal, circle","lib":"fa","tags":["selection"]},"circle-full":{"id":"fas, circle","lib":"fa"},"circle-notch":{"id":"fa, circle-notch","lib":"fa"},"circle-notch-light":{"id":"fal, circle-notch","lib":"fa"},"code":{"id":"fal, code","lib":"fa"},"cog":{"id":"fal, cog","lib":"fa"},"compress":{"id":"fal, compress","lib":"fa"},"comment":{"id":"fal, comment","lib":"fa"},"cube":{"id":"fal, cube","lib":"fa"},"dropbox":{"id":"fab, dropbox","lib":"fa","tags":["sso"]},"ellipsis-v":{"id":"fal, ellipsis-v","lib":"fa","tags":["dots","pünktli"]},"envelope":{"id":"fal, envelope","lib":"fa"},"exclamation":{"id":"fal, exclamation","lib":"fa","tags":["warning"]},"exclamation-circle":{"id":"fal, exclamation-circle","lib":"fa","tags":["warning"]},"external-link":{"id":"fal, external-link","lib":"fa","tags":["external-link"]},"facebook":{"id":"fab, facebook","lib":"fa","tags":["sso"]},"facebook-f":{"id":"fab, facebook-f","lib":"fa","tags":["sso"]},"file":{"id":"fal, file","lib":"fa"},"file-alt":{"id":"fal, file-alt","lib":"fa"},"file-code":{"id":"fal, file-code","lib":"fa"},"file-csv":{"id":"fal, file-csv","lib":"fa"},"file-excel":{"id":"fal, file-excel","lib":"fa"},"file-export":{"id":"fal, file-export","lib":"fa"},"file-import":{"id":"fal, file-import","lib":"fa"},"file-pdf":{"id":"fal, file-pdf","lib":"fa"},"file-spreadsheet":{"id":"fal, file-spreadsheet","lib":"fa"},"filter":{"id":"fal, filter","lib":"fa"},"folder":{"id":"fal, folder","lib":"fa"},"folders":{"id":"fal, folders","lib":"fa","tags":["copy"]},"globe":{"id":"fal, globe","lib":"fa"},"google":{"id":"fab, google","lib":"fa","tags":["sso"]},"horizontal-rule":{"id":"fal, horizontal-rule","lib":"fa"},"id-badge":{"id":"fal, id-badge","lib":"fa"},"info":{"id":"fal, info","lib":"fa"},"laptop-code":{"id":"fal, laptop-code","lib":"fa"},"link":{"id":"fal, link","lib":"fa"},"list":{"id":"fal, list","lib":"fa"},"list-check":{"id":"fal, list-check","lib":"fa"},"lock":{"id":"fal, lock","lib":"fa"},"info-circle":{"id":"fal, info-circle","lib":"fa","tags":["info"]},"mail-bulk":{"id":"fal, mail-bulk","lib":"fa"},"map-marked":{"id":"fal, map-marked","lib":"fa"},"merge":{"id":"fal, merge","lib":"fa"},"microsoft":{"id":"fab, microsoft","lib":"fa","tags":["sso"]},"minus":{"id":"fal, minus","lib":"fa"},"newspaper":{"id":"fal, newspaper","lib":"fa"},"office":{"id":"office","lib":"toc"},"paper-clip":{"id":"fa, paper-clip","lib":"fa"},"pen":{"id":"fal, pen","lib":"fa"},"pen-field":{"id":"fal, pen-field","lib":"fa"},"percent":{"id":"fal, percent","lib":"fa"},"phone":{"id":"fal, phone","lib":"fa"},"phone-laptop":{"id":"fal, phone-laptop","lib":"fa"},"plus":{"id":"fal, plus","lib":"fa","tags":["new"]},"question-circle":{"id":"fal, question-circle","lib":"fa","tags":["help"]},"save":{"id":"fal, save","lib":"fa"},"search":{"id":"fal, search","lib":"fa"},"sitemap":{"id":"fal, sitemap","lib":"fa"},"sort-down":{"id":"fal, sort-down","lib":"fa"},"sort-up":{"id":"fal, sort-up","lib":"fa"},"square":{"id":"fal, square","lib":"fa"},"square-full":{"id":"fas, square-full","lib":"fa"},"square-minus":{"id":"fal, square-minus","lib":"fa"},"square-plus":{"id":"fal, square-plus","lib":"fa"},"star":{"id":"fal, star","lib":"fa","tags":["favorite"]},"star-full":{"id":"fas, star","lib":"fa","tags":["favorite"]},"sync":{"id":"fal, sync","lib":"fa","tags":["refresh"]},"tasks":{"id":"fal, tasks","lib":"fa"},"times":{"id":"fal, times","lib":"fa","tags":["delete","close"]},"times-circle":{"id":"fal, times-circle","lib":"fa","tags":["error"]},"tocco":{"id":"logo","lib":"toc"},"trash":{"id":"fal, trash","lib":"fa","tags":["trash"]},"upload":{"id":"fal, upload","lib":"fa"},"users":{"id":"fal, users","lib":"fa"},"lightbulb-exclamation":{"id":"fal, lightbulb-exclamation","lib":"fa"},"house-blank":{"id":"fal, house-blank","lib":"fa"},"floppy-disk-circle-xmark":{"id":"fal, floppy-disk-circle-xmark","lib":"fa"},"user":{"id":"fal, user","lib":"fa"},"suitcase":{"id":"fal, suitcase","lib":"fa"}}');var E,P,k=["style"],T=["style"],S=["icon"];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 A(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){i()(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 D={logo:function(e){var t=e.style,n=l()(e,k);return(0,g.jsx)("svg",A(A(A({height:y()(t,"fontSize",20)},t),n),{},{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:E||(E=(0,g.jsx)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 \n 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))}))},office:function(e){var t=e.style,n=l()(e,T);return(0,g.jsx)("svg",A(A(A({height:y()(t,"fontSize",20)},t),n),{},{"aria-hidden":"true",role:"img",enableBackground:"new 0 0 2075 2499.8",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2075 2499.8",children:P||(P=(0,g.jsx)("path",{fill:"currentColor",d:"m0 2016.6v-1519.8l1344.4-496.8 730.6 233.7v2045.9l-730.6 220.3-1344.4-483.3 1344.4 \n 161.8v-1769.2l-876.8 204.6v1198.3z"}))}))}},Z=function(e){var t=e.icon,n=l()(e,S);return D[t](n)};Z.propTypes={icon:a().string.isRequired};const I=Z;function N(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?N(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R={fa:function(e,t){return(0,g.jsx)(w,L(L({},t),{},{icon:e.id}))},toc:function(e,t){return(0,g.jsx)(I,L(L({},t),{},{icon:e.id,"data-testid":"icon-".concat(e.id)}))}},F=function(e){var t=x[e.icon];if(!t)return null;var n=R[t.lib];return n?n(t,e):null};F.propTypes={icon:a().string.isRequired,style:a().objectOf(a().string)};const M=F},40493:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});var r,i=n(28655),o=n.n(i),a=n(38205).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=o()([""])))},71392:(e,t,n)=>{"use strict";n.d(t,{P:()=>r});var r={INLINE:"inline",NONE:"none"}},65378:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(45697),i=n.n(r),o=n(98773);const a={propTypes:i().shape({embedType:i().oneOf(o.Nc),widgetConfigKey:function(e,t,n){if("widget"===e.embedType&&!e[t])return new Error("Prop `"+t+"` is missing for `"+n+"`. Validation failed.")}})}},13442:(e,t,n)=>{"use strict";n.d(t,{Z:()=>A});var r=n(59713),i=n.n(r);function o(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"!==r&&"+"!==r&&"?"!==r)if("\\"!==r)if("{"!==r)if("}"!==r)if(":"!==r)if("("!==r)t.push({type:"CHAR",index:n,value:e[n++]});else{var i=1,o="";if("?"===e[c=n+1])throw new TypeError('Pattern cannot start with "?" at '.concat(c));for(;c<e.length;)if("\\"!==e[c]){if(")"===e[c]){if(0==--i){c++;break}}else if("("===e[c]&&(i++,"?"!==e[c+1]))throw new TypeError("Capturing groups are not allowed at ".concat(c));o+=e[c++]}else o+=e[c++]+e[c++];if(i)throw new TypeError("Unbalanced pattern at ".concat(n));if(!o)throw new TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:o}),n=c}else{for(var a="",c=n+1;c<e.length;){var l=e.charCodeAt(c);if(!(l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||95===l))break;a+=e[c++]}if(!a)throw new TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:a}),n=c}else t.push({type:"CLOSE",index:n,value:e[n++]});else t.push({type:"OPEN",index:n,value:e[n++]});else t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else t.push({type:"MODIFIER",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,i=void 0===r?"./":r,o="[^".concat(a(t.delimiter||"/#?"),"]+?"),c=[],l=0,s=0,u="",f=function(e){if(s<n.length&&n[s].type===e)return n[s++].value},d=function(e){var t=f(e);if(void 0!==t)return t;var r=n[s],i=r.type,o=r.index;throw new TypeError("Unexpected ".concat(i," at ").concat(o,", expected ").concat(e))},p=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t};s<n.length;){var b=f("CHAR"),y=f("NAME"),h=f("PATTERN");if(y||h){var g=b||"";-1===i.indexOf(g)&&(u+=g,g=""),u&&(c.push(u),u=""),c.push({name:y||l++,prefix:g,suffix:"",pattern:h||o,modifier:f("MODIFIER")||""})}else{var m=b||f("ESCAPED_CHAR");if(m)u+=m;else if(u&&(c.push(u),u=""),f("OPEN")){g=p();var v=f("NAME")||"",O=f("PATTERN")||"",j=p();d("CLOSE"),c.push({name:v||(O?l++:""),pattern:v&&!O?o:O,prefix:g,suffix:j,modifier:f("MODIFIER")||""})}else d("END")}}return c}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function c(e){return e&&e.sensitive?"":"i"}function l(e,t,n){return function(e,t,n){void 0===n&&(n={});for(var r=n.strict,i=void 0!==r&&r,o=n.start,l=void 0===o||o,s=n.end,u=void 0===s||s,f=n.encode,d=void 0===f?function(e){return e}:f,p=n.delimiter,b=void 0===p?"/#?":p,y=n.endsWith,h="[".concat(a(void 0===y?"":y),"]|$"),g="[".concat(a(b),"]"),m=l?"^":"",v=0,O=e;v<O.length;v++){var j=O[v];if("string"==typeof j)m+=a(d(j));else{var w=a(d(j.prefix)),x=a(d(j.suffix));if(j.pattern)if(t&&t.push(j),w||x)if("+"===j.modifier||"*"===j.modifier){var E="*"===j.modifier?"?":"";m+="(?:".concat(w,"((?:").concat(j.pattern,")(?:").concat(x).concat(w,"(?:").concat(j.pattern,"))*)").concat(x,")").concat(E)}else m+="(?:".concat(w,"(").concat(j.pattern,")").concat(x,")").concat(j.modifier);else"+"===j.modifier||"*"===j.modifier?m+="((?:".concat(j.pattern,")").concat(j.modifier,")"):m+="(".concat(j.pattern,")").concat(j.modifier);else m+="(?:".concat(w).concat(x,")").concat(j.modifier)}}if(u)i||(m+="".concat(g,"?")),m+=n.endsWith?"(?=".concat(h,")"):"$";else{var P=e[e.length-1],k="string"==typeof P?g.indexOf(P[P.length-1])>-1:void 0===P;i||(m+="(?:".concat(g,"(?=").concat(h,"))?")),k||(m+="(?=".concat(g,"|").concat(h,")"))}return new RegExp(m,c(n))}(o(e,n),t,n)}function s(e,t,n){return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,i=n.exec(e.source);i;)t.push({name:i[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),i=n.exec(e.source);return e}(e,t):Array.isArray(e)?function(e,t,n){var r=e.map((function(e){return s(e,t,n).source}));return new RegExp("(?:".concat(r.join("|"),")"),c(n))}(e,t,n):l(e,t,n)}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 f(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 d=n(81770),p=n(24688),b=n(63038),y=n.n(b),h=n(1024),g=n.n(h),m=n(85893);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 O(e){return function(t){var n=(0,h.useState)(null),r=y()(n,2),o=r[0],a=r[1],c=(0,h.useRef)(!0);return(0,h.useEffect)((function(){return e().then((function(e){return c.current?a((function(){return e})):null})),function(){c.current=!1}}),[]),null!==o?(0,m.jsx)(o,function(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){i()(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}({},t)):null}}var j=n(44759);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){i()(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 E={},P=n(56746),k=function(e){return function(t){if(e.component)return(0,m.jsx)(e.component,{router:t,routes:e.routes});if(e.render){var n={router:t,routes:e.routes};return e.render(n)}}};const T=function(e){return(0,m.jsx)(P.AW,{path:e.path,exact:e.exact,render:k(e)})};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}const C=function(e){var t=e.history,n=e.routes;return(0,m.jsx)(P.F0,{history:t,children:(0,m.jsx)(g().Fragment,{children:n.map((function(e,t){return(0,m.jsx)(T,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){i()(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),t)}))})})},A={loadRoute:function(e,t,n,r){return function(i){if(r&&E[r]){var o=E[r];return(0,m.jsx)(o,x({},i))}var a=O((function(){return new Promise((function(r){n().then((function(n){var i=n.default;i.reducers&&d.Z.injectReducers(e,i.reducers),i.sagas&&i.sagas.forEach((function(t){p.Z.injectSaga(e,t)})),i.inputDispatches&&i.inputDispatches.forEach((function(n){!function(e,t,n){var r=n.key,i=n.actionCreator,o=n.mandatory,a=void 0!==o&&o,c=n.defaultValue,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:j.Z.logError;if(Object.prototype.hasOwnProperty.call(t,r)||c){var s=i(t[r]||c);e.dispatch(s)}else!0===a&&l("EntityBrowser: Mandatory field '".concat(r,"' not set in input"))}(e,t,n)})),r(i.container)}))}))}));return r&&(E[r]=a),(0,m.jsx)(a,x({},i))}},Router:C,RouteWithSubRoutes:T,extractParamsFromPath:function(e,t){var n=[],r=s(e,n).exec(t);return null!==r?n.reduce((function(e,t,n){return f(f({},e),{},i()({},t.name,r[n+1]))}),{}):null}}},29441:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(59713),i=n.n(r),o=n(27361),a=n.n(o);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 l(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){i()(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 s={};const u={persistViewInfo:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;s=l(l({},s),{},i()({},e,{level:n,info:l(l({},a()(s,[e,"info"],{})),t)}))},viewInfoSelector:function(e){return a()(s,[e,"info"],{})},clearPersistedViews:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;s=l({},Object.keys(s).reduce((function(t,n){var r=s[n];return l(l({},t),r.level<e&&i()({},n,r))}),{}))}}},41143:e=>{"use strict";e.exports=function(e,t,n,r,i,o,a,c){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,i,o,a,c],u=0;(l=new Error(t.replace(/%s/g,(function(){return s[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},27418:e=>{"use strict";
2
+ /*
3
+ object-assign
4
+ (c) Sindre Sorhus
5
+ @license MIT
6
+ */var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,c,l=i(e),s=1;s<arguments.length;s++){for(var u in a=Object(arguments[s]))n.call(a,u)&&(l[u]=a[u]);if(t){c=t(a);for(var f=0;f<c.length;f++)r.call(a,c[f])&&(l[c[f]]=a[c[f]])}}return l}},64593:(e,t,n)=>{"use strict";n.d(t,{q:()=>he});var r,i,o,a,c=n(89324),l=n.n(c),s=n(83524),u=n.n(s),f=n(69590),d=n.n(f),p=n(1024),b=n.n(p),y=n(27418),h=n.n(y),g="bodyAttributes",m="htmlAttributes",v="titleAttributes",O={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},j=(Object.keys(O).map((function(e){return O[e]})),"charset"),w="cssText",x="href",E="http-equiv",P="innerHTML",k="itemprop",T="name",S="property",C="rel",A="src",D="target",Z={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",N="defer",L="encodeSpecialCharacters",R="onChangeClientState",F="titleTemplate",M=Object.keys(Z).reduce((function(e,t){return e[Z[t]]=t,e}),{}),_=[O.NOSCRIPT,O.SCRIPT,O.STYLE],q="data-react-helmet",B="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},U=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},W=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Y=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},H=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},z=function(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},V=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},G=function(e){var t=X(e,O.TITLE),n=X(e,F);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=X(e,I);return t||r||void 0},K=function(e){return X(e,R)||function(){}},$=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Y({},e,t)}),{})},J=function(e,t){return t.filter((function(e){return void 0!==e[O.BASE]})).map((function(e){return e[O.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},Q=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&ie("Helmet: "+e+' should be of type "Array". Instead found type "'+B(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var c=o[a],l=c.toLowerCase();-1===t.indexOf(l)||n===C&&"canonical"===e[n].toLowerCase()||l===C&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(c)||c!==P&&c!==w&&c!==k||(n=c)}if(!n||!e[n])return!1;var s=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][s]&&(i[n][s]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var c=o[a],l=h()({},r[c],i[c]);r[c]=l}return e}),[]).reverse()},X=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},ee=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){ee(e)}),0)}),te=function(e){return clearTimeout(e)},ne="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ee:n.g.requestAnimationFrame||ee,re="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||te:n.g.cancelAnimationFrame||te,ie=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},oe=null,ae=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,c=e.noscriptTags,l=e.onChangeClientState,s=e.scriptTags,u=e.styleTags,f=e.title,d=e.titleAttributes;se(O.BODY,r),se(O.HTML,i),le(f,d);var p={baseTag:ue(O.BASE,n),linkTags:ue(O.LINK,o),metaTags:ue(O.META,a),noscriptTags:ue(O.NOSCRIPT,c),scriptTags:ue(O.SCRIPT,s),styleTags:ue(O.STYLE,u)},b={},y={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(b[e]=n),r.length&&(y[e]=p[e].oldTags)})),t&&t(),l(e,b,y)},ce=function(e){return Array.isArray(e)?e.join(""):e},le=function(e,t){void 0!==e&&document.title!==e&&(document.title=ce(e)),se(O.TITLE,t)},se=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(q),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),c=0;c<a.length;c++){var l=a[c],s=t[l]||"";n.getAttribute(l)!==s&&n.setAttribute(l,s),-1===i.indexOf(l)&&i.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var f=o.length-1;f>=0;f--)n.removeAttribute(o[f]);i.length===o.length?n.removeAttribute(q):n.getAttribute(q)!==a.join(",")&&n.setAttribute(q,a.join(","))}},ue=function(e,t){var n=document.head||document.querySelector(O.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===P)n.innerHTML=t.innerHTML;else if(r===w)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var c=void 0===t[r]?"":t[r];n.setAttribute(r,c)}n.setAttribute(q,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},fe=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[Z[n]||n]=e[n],t}),t)},pe=function(e,t,n){switch(e){case O.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[q]=!0,i=de(n,r),[b().createElement(O.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=fe(n),o=ce(t);return i?"<"+e+' data-react-helmet="true" '+i+">"+V(o,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+V(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case g:case m:return{toComponent:function(){return de(t)},toString:function(){return fe(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[q]=!0,r);return Object.keys(t).forEach((function(e){var n=Z[e]||e;if(n===P||n===w){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),b().createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===P||e===w)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+V(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===_.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},be=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,c=e.noscriptTags,l=e.scriptTags,s=e.styleTags,u=e.title,f=void 0===u?"":u,d=e.titleAttributes;return{base:pe(O.BASE,t,r),bodyAttributes:pe(g,n,r),htmlAttributes:pe(m,i,r),link:pe(O.LINK,o,r),meta:pe(O.META,a,r),noscript:pe(O.NOSCRIPT,c,r),script:pe(O.SCRIPT,l,r),style:pe(O.STYLE,s,r),title:pe(O.TITLE,{title:f,titleAttributes:d},r)}},ye=u()((function(e){return{baseTag:J([x,D],e),bodyAttributes:$(g,e),defer:X(e,N),encode:X(e,L),htmlAttributes:$(m,e),linkTags:Q(O.LINK,[C,x],e),metaTags:Q(O.META,[T,j,E,S,k],e),noscriptTags:Q(O.NOSCRIPT,[P],e),onChangeClientState:K(e),scriptTags:Q(O.SCRIPT,[A,P],e),styleTags:Q(O.STYLE,[w],e),title:G(e),titleAttributes:$(v,e)}}),(function(e){oe&&re(oe),e.defer?oe=ne((function(){ae(e,(function(){oe=null}))})):(ae(e),oe=null)}),be)((function(){return null})),he=(i=ye,a=o=function(e){function t(){return U(this,t),z(this,e.apply(this,arguments))}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.prototype.shouldComponentUpdate=function(e){return!d()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case O.SCRIPT:case O.NOSCRIPT:return{innerHTML:t};case O.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return Y({},r,((t={})[n.type]=[].concat(r[n.type]||[],[Y({},i,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case O.TITLE:return Y({},i,((t={})[r.type]=a,t.titleAttributes=Y({},o),t));case O.BODY:return Y({},i,{bodyAttributes:Y({},o)});case O.HTML:return Y({},i,{htmlAttributes:Y({},o)})}return Y({},i,((n={})[r.type]=Y({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Y({},t);return Object.keys(e).forEach((function(t){var r;n=Y({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return b().Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[M[n]||n]=e[n],t}),t)}(H(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case O.LINK:case O.META:case O.NOSCRIPT:case O.SCRIPT:case O.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=H(e,["children"]),r=Y({},n);return t&&(r=this.mapChildrenToProps(t,r)),b().createElement(i,r)},W(t,null,[{key:"canUseDOM",set:function(e){i.canUseDOM=e}}]),t}(b().Component),o.propTypes={base:l().object,bodyAttributes:l().object,children:l().oneOfType([l().arrayOf(l().node),l().node]),defaultTitle:l().string,defer:l().bool,encodeSpecialCharacters:l().bool,htmlAttributes:l().object,link:l().arrayOf(l().object),meta:l().arrayOf(l().object),noscript:l().arrayOf(l().object),onChangeClientState:l().func,script:l().arrayOf(l().object),style:l().arrayOf(l().object),title:l().string,titleAttributes:l().object,titleTemplate:l().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=i.peek,o.rewind=function(){var e=i.rewind();return e||(e=be({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);he.renderStatic=he.rewind},17579:(e,t,n)=>{"use strict";var r=n(80070);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,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,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:o,resetWarningCache:i};return n.PropTypes=n,n}},89324:(e,t,n)=>{e.exports=n(17579)()},80070:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},83524:(e,t,n)=>{"use strict";var r,i=n(1024),o=(r=i)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,s=[];function u(){l=e(s.map((function(e){return e.props}))),f.canUseDOM?t(l):n&&(l=n(l))}var f=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return l},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,s=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){s.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=s.indexOf(this);s.splice(e,1),u()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(f,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(f,"canUseDOM",c),f}}},14149:(e,t,n)=>{"use strict";function r(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}n.r(t),n.d(t,{default:()=>o});const o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],o=t&&t.split("/")||[],a=e&&r(e),c=t&&r(t),l=a||c;if(e&&r(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";var s=void 0;if(o.length){var u=o[o.length-1];s="."===u||".."===u||""===u}else s=!1;for(var f=0,d=o.length;d>=0;d--){var p=o[d];"."===p?i(o,d):".."===p?(i(o,d),f++):f&&(i(o,d),f--)}if(!l)for(;f--;f)o.unshift("..");!l||""===o[0]||o[0]&&r(o[0])||o.unshift("");var b=o.join("/");return s&&"/"!==b.substr(-1)&&(b+="/"),b}},54545:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var 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};const i=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var i=void 0===t?"undefined":r(t);if(i!==(void 0===n?"undefined":r(n)))return!1;if("object"===i){var o=t.valueOf(),a=n.valueOf();if(o!==t||a!==n)return e(o,a);var c=Object.keys(t),l=Object.keys(n);return c.length===l.length&&c.every((function(r){return e(t[r],n[r])}))}return!1}},30670:e=>{"use strict";e.exports=function(){}}}]);