text: (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1006:function(e,t,n){"use strict";var a=n(0),o=n(6);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(21)),l=a(n(7)),i=a(n(18)),u=a(n(10)),d=a(n(22)),c=a(n(12)),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var n=D(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=r?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}a.default=e,n&&n.set(e,a);return a}(n(1)),s=n(25),p=a(n(2)),m=n(8),g=n(5),_=n(34),b=a(n(3421)),y=a(n(3422)),h=a(n(3423)),v=a(n(98)),O=a(n(3427)),w=a(n(52)),C=a(n(496)),k=a(n(3428)),x=a(n(3424)),E=a(n(3438)),j=a(n(131)),P=a(n(3439)),T=a(n(3442)),N=a(n(3447));function D(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(D=function(e){return e?n:t})(e)}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){(0,u.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F=function(){var e=(0,j.default)(),t=e.initialData,n=e.modifiedData,a=e.isInDevelopmentMode,o=e.isInContentTypeView,u=e.submitData,D=e.toggleModalCancel,M=(0,g.useGlobalContext)(),F=M.emitEvent,U=M.formatMessage,Z=M.plugins,I=(0,s.useHistory)(),z=I.push,R=I.goBack,S=(0,s.useLocation)().search,A=(0,f.useState)(!0),W=(0,c.default)(A,2),B=W[0],q=W[1];(0,f.useEffect)((function(){""===S&&q(!0)}),[S]),(0,f.useEffect)((function(){""!==S&&q(!1)}),[]);var H=o?"contentType":"component",G=[H,"schema","attributes"],V=(0,m.get)(n,[H,"uid"]),J=(0,m.get)(n,[H,"isTemporary"],!1),K=(0,m.get)(n,[H,"schema","kind"],null),Q=(0,m.get)(n,G,{}),X=Object.keys(Q).length,Y=(0,m.get)(t,[H,"schema","name"],""),$=(0,m.has)(t,[H,"plugin"]),ee=!(0,m.isEqual)(n,t),te=o?"contentType":"component",ne=function(){var e=(0,d.default)(r.default.mark((function e(t,n,a,o,l,i){var u;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,re();case 2:u=L(L(L(L({modalType:"chooseAttribute",forTarget:t,targetUid:n},a),o),l),i),z({search:(0,C.default)(u)});case 4:case"end":return e.stop()}}),e)})));return function(t,n,a,o,r,l){return e.apply(this,arguments)}}(),ae=function(){var e=(0,d.default)(r.default.mark((function e(t){var n,a;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={header_label_2:t},a=L(L({modalType:"addComponentToDynamicZone",forTarget:"contentType",targetUid:V,dynamicZoneTarget:t,settingType:"base",step:"1",actionType:"edit"},{header_label_1:Y,header_icon_name_1:"dynamiczone",header_icon_isCustom_1:!1}),n),e.next=5,re();case 5:z({search:(0,C.default)(a,!0)});case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),oe=function(){var e=(0,d.default)(r.default.mark((function e(t,n,a,o,l,i,u,d,c){var f,s;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=(0,h.default)(o),e.next=3,re();case 3:return s=L(L(L(L(L({modalType:"attribute",actionType:"edit",settingType:"base",forTarget:t,targetUid:n,attributeName:a,attributeType:f,step:"component"===o?"2":null},l),i),u),d),c),e.next=6,re();case 6:z({search:(0,C.default)(s,!0)});case 7:case"end":return e.stop()}}),e)})));return function(t,n,a,o,r,l,i,u,d){return e.apply(this,arguments)}}(),re=function(){var e=(0,d.default)(r.default.mark((function e(){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return q(!1),e.abrupt("return",new Promise((function(e){return setTimeout(e,100)})));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),le=(0,m.get)(n,[H,"schema","name"],""),ie=(0,m.get)(n,[H,"schema","kind"],""),ue={actions:a?[{color:"cancel",onClick:function(){D()},label:U({id:"".concat(v.default,".form.button.cancel")}),type:"button",disabled:(0,m.isEqual)(n,t)},{className:"button-submit",color:"success",onClick:function(){return u()},label:U({id:"".concat(v.default,".form.button.save")}),type:"submit",disabled:(0,m.isEqual)(n,t)}]:[],title:{label:le,cta:a&&!$?{icon:"pencil-alt",onClick:function(){var e=(0,d.default)(r.default.mark((function e(){var t;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,re();case 2:"collectionType"===(t=ie||H)&&F("willEditNameOfContentType"),"singleType"===t&&F("willEditNameOfSingleType"),z({search:(0,C.default)({modalType:H,actionType:"edit",settingType:"base",forTarget:H,targetUid:V,header_label_1:le,header_icon_isCustom_1:!1,header_icon_name_1:"singleType"===t?t:H,headerId:(0,w.default)("modalForm.header-edit")})});case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}:null},content:(0,m.get)(n,[H,"schema","description"],null)||U({id:"".concat(v.default,".modelPage.contentHeader.emptyDescription.description")})},de=[U({id:"".concat(v.default,".table.attributes.title.").concat(X>1?"plural":"singular")},{number:X})],ce={icon:!0,color:"primary",label:U({id:"".concat(v.default,".button.attributes.add.another")}),onClick:function(){ne(te,V,{header_label_1:Y,header_icon_name_1:"contentType"===te?K:te,header_icon_isCustom_1:!1})}},fe=(0,f.useMemo)((function(){return(0,O.default)("listView","list.link",Z,{targetUid:V,isTemporary:J,isInContentTypeView:o,contentTypeKind:K})}),[Z,J,V,o,K]),se=a?[].concat((0,i.default)(fe),[f.default.createElement(E.default,(0,l.default)({},ce,{key:"add-button"}))]):fe,pe=function(e){var t=e.name;return f.default.createElement(k.default,(0,l.default)({},e,{attributeName:t,name:t,onClick:oe}))};return pe.defaultProps={name:null},pe.propTypes={name:p.default.string},f.default.createElement(b.default.Provider,{value:{openModalAddField:ne}},f.default.createElement(N.default,null,f.default.createElement(g.BackHeader,{onClick:R}),f.default.createElement(s.Prompt,{message:U({id:(0,w.default)("prompt.unsaved")}),when:ee&&B}),f.default.createElement("div",{className:"container-fluid"},f.default.createElement("div",{className:"row"},f.default.createElement(T.default,{wait:re}),f.default.createElement("div",{className:"col-md-9 content",style:{paddingLeft:"30px",paddingRight:"30px"}},f.default.createElement(_.Header,ue),f.default.createElement(g.ListWrapper,{style:{marginBottom:80}},f.default.createElement(P.default,{actions:se,title:de}),f.default.createElement(x.default,{items:(0,y.default)(Q),customRowComponent:function(e){return f.default.createElement(pe,e)},addComponentToDZ:ae,targetUid:V,dataType:te,dataTypeName:Y,mainTypeName:Y,editTarget:te,isMain:!0})))))))};t.default=F},3421:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(0,n(1).createContext)();t.default=a},3422:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(10));function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var i=function(e){return Object.keys(e).map((function(t,n){return l(l({},e[t]),{},{name:t,index:n})}))};t.default=i},3423:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){var t;switch(e){case"date":case"datetime":case"time":case"timestamp":t="date";break;case"integer":case"biginteger":case"decimal":case"float":t="number";break;case"string":case"text":t="text";break;case"":t="relation";break;default:t=e}return t};t.default=a},3424:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(7)),r=a(n(10)),l=a(n(1)),i=a(n(2)),u=n(8),d=n(5),c=n(9),f=n(39),s=a(n(98)),p=a(n(3431)),m=a(n(131)),g=a(n(3432)),_=a(n(3425)),b=a(n(3437));function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,r.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e){var t=e.className,n=e.customRowComponent,a=e.items,r=e.addComponentToDZ,i=e.targetUid,y=e.mainTypeName,v=e.editTarget,O=e.isFromDynamicZone,w=e.isNestedInDZComponent,C=e.isMain,k=e.firstLoopComponentName,x=e.firstLoopComponentUid,E=e.secondLoopComponentName,j=e.secondLoopComponentUid,P=e.isSub,T=e.dzName,N=(0,d.useGlobalContext)(),D=N.formatMessage,M=N.emitEvent,L=(0,m.default)(),F=L.isInDevelopmentMode,U=L.modifiedData,Z=(0,p.default)().openModalAddField,I=function(){M("hasClickedCTBAddFieldBanner");var e=(0,u.get)(U,["components",x,"schema","icon"],""),t=(0,u.get)(U,["components",x,"category"],null),n=(0,u.get)(U,["components",x,"schema","name"],null),a=(0,u.get)(U,["components",j,"category"],null),o=(0,u.get)(U,["components",j,"schema","name"],null),r=(0,u.get)(U,["components",j,"schema","icon"],""),l="contentType"===v?(0,u.get)(U,["contentType","schema","kind"],null):v,d={header_label_1:y,header_icon_name_1:l,header_icon_isCustom_1:!1,header_info_category_1:null,header_info_name_1:null},c={header_label_2:k,header_icon_name_2:"component",header_icon_isCustom_2:!1,header_info_category_2:t,header_info_name_2:n},f={header_icon_name_3:"component",header_icon_isCustom_3:!1,header_info_category_3:a,header_info_name_3:o},s={header_icon_name_4:null,header_icon_isCustom_4:!1,header_info_category_4:a,header_info_name_4:o};k&&(d=h(h({},d),{},{header_icon_name_1:e,header_icon_isCustom_1:!0})),j&&(d=h(h({},d),{},{header_icon_name_1:r,header_icon_isCustom_1:!0}),f=h(h({},f),{},{header_label_3:E})),(O||w)&&(c=h(h({},c),{},{header_label_2:T,header_icon_name_2:"dynamiczone",header_icon_isCustom_2:!1,header_info_category_2:null,header_info_name_2:null}),f=h(h({},f),{},{header_icon_name_3:w?"component":null,header_label_3:k,header_info_category_3:t,header_info_name_3:n}),s=h(h({},s),{},{header_label_4:E})),Z(v,i,d,c,f,s)},z={icon:!P&&l.default.createElement(f.Plus,{fill:"#007eff",width:"11px",height:"11px"}),color:"primary",label:F?D({id:P?"".concat(s.default,".form.button.add.field.to.component"):"".concat(s.default,".form.button.add.field.to.").concat(U.contentType?U.contentType.schema.kind:v||"collectionType"),defaultMessage:"Add another field"}):null,onClick:I};return i?l.default.createElement(l.default.Fragment,null,l.default.createElement(b.default,{className:t,isFromDynamicZone:O},l.default.createElement("table",null,l.default.createElement("tbody",null,a.map((function(e){var t=e.type,a=n;return l.default.createElement(l.default.Fragment,{key:e.name},l.default.createElement(a,(0,o.default)({},e,{dzName:T,isNestedInDZComponent:w,targetUid:i,mainTypeName:y,editTarget:v,firstLoopComponentName:k,firstLoopComponentUid:x,isFromDynamicZone:O,secondLoopComponentName:E,secondLoopComponentUid:j})),"component"===t&&l.default.createElement(_.default,(0,o.default)({},e,{customRowComponent:n,targetUid:i,dzName:T,isNestedInDZComponent:O,mainTypeName:y,editTarget:v,firstLoopComponentName:k,firstLoopComponentUid:x})),"dynamiczone"===t&&l.default.createElement(g.default,(0,o.default)({},e,{customRowComponent:n,addComponent:r,targetUid:i,mainTypeName:y})))})))),C&&F&&l.default.createElement(d.ListButton,null,l.default.createElement(c.Button,z)),!C&&l.default.createElement(d.ListButton,null,l.default.createElement(c.Button,z))),P&&l.default.createElement("div",{className:"plus-icon",onClick:I},F&&l.default.createElement(f.Plus,{fill:O?"#007EFF":"#b4b6ba"}))):null}v.defaultProps={addComponentToDZ:function(){},className:null,customRowComponent:null,dzName:null,firstLoopComponentName:null,firstLoopComponentUid:null,isFromDynamicZone:!1,isNestedInDZComponent:!1,isMain:!1,isSub:!1,items:[],secondLoopComponentName:null,secondLoopComponentUid:null,targetUid:null},v.propTypes={addComponentToDZ:i.default.func,className:i.default.string,customRowComponent:i.default.func,dzName:i.default.string,editTarget:i.default.string.isRequired,firstLoopComponentName:i.default.string,firstLoopComponentUid:i.default.string,isFromDynamicZone:i.default.bool,isNestedInDZComponent:i.default.bool,isMain:i.default.bool,items:i.default.instanceOf(Array),mainTypeName:i.default.string.isRequired,secondLoopComponentName:i.default.string,secondLoopComponentUid:i.default.string,targetUid:i.default.string,isSub:i.default.bool};var O=v;t.default=O},3425:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(1)),r=n(8),l=a(n(2)),i=a(n(3424)),u=a(n(131)),d=a(n(3422)),c=a(n(3426));function f(e){var t=e.customRowComponent,n=e.component,a=e.dzName,l=e.mainTypeName,f=e.isFromDynamicZone,s=e.isNestedInDZComponent,p=e.firstLoopComponentName,m=e.firstLoopComponentUid,g=(0,u.default)().modifiedData,_=(0,r.get)(g,["components",n],{schema:{attributes:{}}}).schema,b=_.name,y=_.attributes;return o.default.createElement("tr",{className:"component-row"},o.default.createElement(c.default,{colSpan:12,isChildOfDynamicZone:f},o.default.createElement(i.default,{customRowComponent:t,dzName:a,items:(0,d.default)(y),targetUid:n,mainTypeName:l,firstLoopComponentName:p||b,firstLoopComponentUid:m||n,editTarget:"components",isFromDynamicZone:f,isNestedInDZComponent:s,isSub:!0,secondLoopComponentName:p?b:null,secondLoopComponentUid:m?n:null})))}f.defaultProps={component:null,customRowComponent:null,dzName:null,firstLoopComponentName:null,firstLoopComponentUid:null,isFromDynamicZone:!1,isNestedInDZComponent:!1},f.propTypes={component:l.default.string,customRowComponent:l.default.func,dzName:l.default.string,firstLoopComponentName:l.default.string,firstLoopComponentUid:l.default.string,isFromDynamicZone:l.default.bool,isNestedInDZComponent:l.default.bool,mainTypeName:l.default.string.isRequired};var s=f;t.default=s},3426:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)).default.td(o||(o=(0,r.default)(["\n  &::before {\n    content: '&';\n    width: 5px;\n    height: calc(100% - 15px);\n    position: absolute;\n    top: -7px;\n    left: 45px;\n    color: transparent;\n\n    ","\n\n    border-radius: 3px;\n  }\n"])),(function(e){var t=e.isFromDynamicZone;return e.isChildOfDynamicZone?"\n          z-index: -1;\n          background-color: transparent !important;\n        ":t?"\n          background-color: #AED4FB !important;\n        ":"\n        background-color: #f3f4f4 !important;\n      "}));t.default=l},3427:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(18)),r=a(n(7)),l=a(n(1)),i=n(8),u=a(n(98)),d=function(e,t,n,a){return Object.keys(n).reduce((function(d,c){var f=n[c],s=(0,i.get)(f,"injectedComponents",[]).filter((function(n){return n.plugin==="".concat(u.default,".").concat(e)&&n.area===t})).map((function(e){var t=e.component;return l.default.createElement(t,(0,r.default)({},e,a,{key:e.key}))}));return[].concat((0,o.default)(d),(0,o.default)(s))}),[])};t.default=d},3428:function(e,t,n){"use strict";var a=n(0),o=n(6);Object.defineProperty(t,"__esModule",{value:!0}),t.ListRow=w,t.default=void 0;var r=a(n(10)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=r?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}a.default=e,n&&n.set(e,a);return a}(n(1)),i=a(n(2)),u=n(8),d=n(11),c=n(9),f=n(31),s=a(n(98)),p=a(n(131)),m=a(n(3423)),g=a(n(52)),_=a(n(3429)),b=a(n(147)),y=a(n(3430));function h(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}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){(0,r.default)(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}function w(e){var t=e.configurable,n=e.name,a=e.dzName,o=e.nature,r=e.onClick,i=e.plugin,h=e.target,v=e.targetUid,w=e.type,C=e.mainTypeName,k=e.editTarget,x=e.firstLoopComponentName,E=e.firstLoopComponentUid,j=e.isFromDynamicZone,P=e.repeatable,T=e.secondLoopComponentName,N=e.secondLoopComponentUid,D=e.isNestedInDZComponent,M=(0,p.default)(),L=M.contentTypes,F=M.isInDevelopmentMode,U=M.modifiedData,Z=M.removeAttribute,I="*"===h,z=["integer","biginteger","float","decimal"].includes(w)?"number":w,R=w;["integer","biginteger","float","decimal"].includes(w)?R="number":["string"].includes(w)&&(R="text");var S,A=(0,u.get)(L,[h,"schema","name"],""),W=h?"relation":z,B=function(){if(!I&&!1!==t){var e=(0,u.get)(U,["components",E,"category"],null),l=(0,u.get)(U,["components",N,"category"],null),i=o?"relation":w,d=(0,m.default)(i),c={header_label_1:C,header_icon_name_1:d,header_icon_isCustom_1:!1,header_info_category_1:null,header_info_name_1:null},f={header_label_2:n,header_icon_name_2:null,header_icon_isCustom_2:!1,header_info_category_2:null,header_info_name_2:null},s={header_icon_name_3:"component",header_icon_isCustom_3:!1,header_info_category_3:null,header_info_name_3:null},p={header_icon_name_4:null,header_icon_isCustom_4:!1,header_info_category_4:null,header_info_name_4:null},g={header_icon_name_5:null,header_icon_isCustom_5:!1,header_info_category_5:null,header_info_name_5:null};x&&(f={header_label_2:x,header_icon_name_2:"component",header_icon_isCustom_2:!1,header_info_category_2:e,header_info_name_2:x},s=O(O({},s),{},{header_label_3:n,header_icon_name_3:null})),N&&(s=O(O({},s),{},{header_label_3:T,header_icon_name_3:"component",header_info_category_3:l,header_info_name_3:T}),p=O(O({},p),{},{header_label_4:n,header_icon_name_4:null})),(j||D)&&(f={header_label_2:a,header_icon_name_2:"dynamiczone",header_icon_isCustom_2:!1,header_info_name_2:null,header_info_category_2:null},s={header_icon_name_3:"component",header_label_3:x,header_info_name_3:e,header_info_category_3:e},D?(p={header_icon_name_4:"components",header_icon_isCustom_4:!1,header_info_category_4:l,header_info_name_4:T,header_label_4:T},g=O(O({},g),{},{header_label_5:n})):p={header_icon_name_4:null,header_icon_isCustom_4:!1,header_info_category_4:null,header_label_4:n}),r(k,N||E||v,n,i,c,f,s,p,g)}};return S=N&&E?2:E?1:0,l.default.createElement(y.default,{onClick:B,className:[h?"relation-row":"",t?"clickable":""],loopNumber:S},l.default.createElement("td",null,l.default.createElement(c.AttributeIcon,{key:W,type:W}),l.default.createElement(_.default,{fill:j?"#AED4FB":"#f3f4f4"})),l.default.createElement("td",{style:{fontWeight:600}},l.default.createElement("p",null,n)),l.default.createElement("td",null,h?l.default.createElement("div",null,l.default.createElement(d.FormattedMessage,{id:"".concat(s.default,".modelPage.attribute.").concat(I?"relation-polymorphic":"relationWith")}),"\xa0",l.default.createElement(d.FormattedMessage,{id:"".concat(s.default,".from")},(function(e){return l.default.createElement("span",{style:{fontStyle:"italic"}},l.default.createElement(b.default,{content:A}),"\xa0",i&&"(".concat(e,": ").concat(i,")"))}))):l.default.createElement(l.default.Fragment,null,l.default.createElement(d.FormattedMessage,{id:"".concat(s.default,".attribute.").concat(R),defaultMessage:w}),"\xa0",P&&l.default.createElement(d.FormattedMessage,{id:(0,g.default)("component.repeatable")}))),l.default.createElement("td",{className:"button-container"},F&&l.default.createElement(l.default.Fragment,null,t?l.default.createElement(l.default.Fragment,null,I?l.default.createElement(c.IconLinks,{links:[{icon:l.default.createElement(f.FontAwesomeIcon,{icon:"trash-alt"}),onClick:function(e){e.stopPropagation(),Z(k,n,N||E||"")}}]}):l.default.createElement(c.IconLinks,{links:[{icon:l.default.createElement(f.FontAwesomeIcon,{icon:"pencil-alt"}),onClick:function(){return B()}},{icon:l.default.createElement(f.FontAwesomeIcon,{icon:"trash-alt"}),onClick:function(e){e.stopPropagation(),Z(k,n,N||E||"")}}]})):l.default.createElement("button",{type:"button"},l.default.createElement(f.FontAwesomeIcon,{icon:"lock"})))))}w.defaultProps={configurable:!0,dzName:null,firstLoopComponentName:null,firstLoopComponentUid:null,isFromDynamicZone:!1,isNestedInDZComponent:!1,nature:null,onClick:function(){},plugin:null,repeatable:!1,secondLoopComponentName:null,secondLoopComponentUid:null,target:null,targetUid:null,type:null},w.propTypes={configurable:i.default.bool,dzName:i.default.string,editTarget:i.default.string.isRequired,firstLoopComponentName:i.default.string,firstLoopComponentUid:i.default.string,isFromDynamicZone:i.default.bool,isNestedInDZComponent:i.default.bool,mainTypeName:i.default.string.isRequired,name:i.default.string.isRequired,nature:i.default.string,onClick:i.default.func,plugin:i.default.string,repeatable:i.default.bool,secondLoopComponentName:i.default.string,secondLoopComponentUid:i.default.string,target:i.default.string,targetUid:i.default.string,type:i.default.string};var C=(0,l.memo)(w);t.default=C},3429:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(7)),r=a(n(1)),l=a(n(2)),i=function(e){return r.default.createElement("svg",(0,o.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21.08 21"},e),r.default.createElement("g",null,r.default.createElement("path",{d:"M2.58 2.5q-1.2 16 16 16",fill:"none",stroke:e.fill,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"5"})))};i.defaultProps={fill:"#f3f4f4"},i.propTypes={fill:l.default.string};var u=i;t.default=u},3430:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)),i=n(5),u=l.default.tr(o||(o=(0,r.default)(["\n  background-color: transparent;\n  p {\n    margin-bottom: 0;\n  }\n  img {\n    width: 35px;\n  }\n  button {\n    cursor: pointer;\n  }\n  td:first-of-type {\n    padding-left: 3rem;\n    position: relative;\n    img {\n      width: 35px;\n      height: 20px;\n      position: absolute;\n      top: calc(50% - 10px);\n      left: 3rem;\n    }\n    img + p {\n      width: 237px;\n      padding-left: calc(3rem + 35px);\n    }\n  }\n  td:nth-child(2) {\n    ","\n    p {\n      font-weight: 500;\n    }\n  }\n  td:last-child {\n    text-align: right;\n    &:not(:first-of-type) {\n      font-size: 10px;\n    }\n  }\n  &.relation-row {\n    background: linear-gradient(135deg, rgba(28, 93, 231, 0.05), rgba(239, 243, 253, 0));\n  }\n  &.clickable {\n    &:hover {\n      cursor: pointer;\n      background-color: ",";\n      & + tr {\n        &::before {\n          background-color: transparent;\n        }\n      }\n    }\n  }\n  .button-container {\n    svg {\n      color: #333740;\n      vertical-align: middle;\n    }\n  }\n"])),(function(e){var t=e.loopNumber;return"\n        width: calc(25rem - ".concat(5*t,"rem);\n      ")}),i.colors.grey);t.default=u},3431:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1),r=a(n(3421)),l=function(){return(0,o.useContext)(r.default)};t.default=l},3432:function(e,t,n){"use strict";var a=n(0),o=n(6);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(7)),l=a(n(12)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=r?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}a.default=e,n&&n.set(e,a);return a}(n(1)),u=a(n(2)),d=n(11),c=n(33),f=n(39),s=a(n(131)),p=a(n(52)),m=a(n(3425)),g=a(n(3433)),_=a(n(3426)),b=a(n(3436));function y(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function h(e){var t=e.customRowComponent,n=e.components,a=e.addComponent,o=e.mainTypeName,u=e.name,y=e.targetUid,h=(0,s.default)().isInDevelopmentMode,v=(0,i.useState)("0"),O=(0,l.default)(v,2),w=O[0],C=O[1];return i.default.createElement("tr",{className:"dynamiczone-row"},i.default.createElement(_.default,{colSpan:12,isFromDynamicZone:!0},i.default.createElement("div",null,i.default.createElement("div",{className:"tabs-wrapper"},i.default.createElement(c.Nav,{tabs:!0},h&&i.default.createElement("li",null,i.default.createElement(b.default,{onClick:function(){a(u)}},i.default.createElement("div",null,i.default.createElement(f.Plus,{style:{height:15,width:15}})),i.default.createElement("p",null,i.default.createElement(d.FormattedMessage,{id:(0,p.default)("button.component.add")})))),n.map((function(e,t){return i.default.createElement("li",{key:e},i.default.createElement(g.default,{dzName:u,index:t,component:e,isActive:w==="".concat(t),isInDevelopmentMode:h,onClick:function(){var e;e="".concat(t),w!==e&&C(e)}}))})))),i.default.createElement(c.TabContent,{activeTab:w},n.map((function(e,n){var a={customRowComponent:t,component:e};return i.default.createElement(c.TabPane,{tabId:"".concat(n),key:e},i.default.createElement("table",null,i.default.createElement("tbody",null,i.default.createElement(m.default,(0,r.default)({},a,{isFromDynamicZone:!0,dzName:u,mainTypeName:o,targetUid:y,key:e})))))}))))))}h.defaultProps={addComponent:function(){},components:[],customRowComponent:null,name:null},h.propTypes={addComponent:u.default.func,components:u.default.instanceOf(Array),customRowComponent:u.default.func,mainTypeName:u.default.string.isRequired,name:u.default.string,targetUid:u.default.string.isRequired};var v=h;t.default=v},3433:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(1)),r=n(8),l=a(n(2)),i=n(31),u=a(n(131)),d=a(n(3434)),c=a(n(3435));function f(e){var t=e.component,n=e.dzName,a=e.index,l=e.isActive,f=e.isInDevelopmentMode,s=e.onClick,p=(0,u.default)(),m=p.modifiedData,g=p.removeComponentFromDynamicZone,_=(0,r.get)(m,["components",t],{schema:{icon:null}}).schema,b=_.icon,y=_.name;return o.default.createElement(d.default,{onClick:s,className:l?"active":""},o.default.createElement("div",null,o.default.createElement(i.FontAwesomeIcon,{icon:b})),o.default.createElement("p",null,y),o.default.createElement("div",{className:"close-btn",onClick:function(e){e.stopPropagation(),g(n,a)}},f&&o.default.createElement(c.default,{width:"7px",height:"7px"})))}f.defaultProps={component:null,isActive:!1,isInDevelopmentMode:!1,onClick:function(){}},f.propTypes={component:l.default.string,dzName:l.default.string.isRequired,index:l.default.number.isRequired,isActive:l.default.bool,isInDevelopmentMode:l.default.bool,onClick:l.default.func};var s=f;t.default=s},3434:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)).default.button(o||(o=(0,r.default)(["\n  width: 139px;\n  height: 90px;\n  position: relative;\n  padding: 0;\n  padding-top: 5px;\n  border-radius: 2px;\n  text-align: center;\n  border: solid 1px #fafafb;\n  background-color: #fafafb;\n\n  &:focus {\n    outline: 0;\n  }\n\n  div:first-of-type {\n    display: flex;\n    width: 35px;\n    height: 35px;\n    margin: auto;\n    border-radius: 18px;\n    background-color: #e9eaeb;\n    color: #919bae;\n    font-size: 12px;\n\n    svg {\n      margin: auto;\n    }\n  }\n\n  div:last-of-type {\n    position: absolute;\n    padding: 0 7px;\n    top: 0;\n    right: 0;\n    display: none;\n  }\n\n  p {\n    margin-top: 5px;\n    padding-left: 5px;\n    padding-right: 5px;\n    line-height: normal;\n    font-size: 13px;\n    font-weight: bold;\n    color: #919bae;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n  }\n\n  &.active {\n    cursor: initial;\n  }\n\n  &:hover,\n  &.active {\n    border-color: #aed4fb;\n    background-color: #e6f0fb;\n\n    div:first-of-type {\n      background-color: #aed4fb;\n      color: #007eff;\n    }\n\n    div:last-of-type {\n      display: block;\n    }\n\n    p {\n      color: #007eff;\n    }\n  }\n"])));t.default=l},3435:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)),i=n(39),u=(0,l.default)(i.Remove)(o||(o=(0,r.default)(["\n  > g {\n    > path {\n      fill: #007eff;\n    }\n  }\n"])));t.default=u},3436:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)).default.button(o||(o=(0,r.default)(["\n  width: 139px;\n  height: 90px;\n  padding-top: 7px;\n  &:focus {\n    outline: 0;\n  }\n\n  div {\n    width: 35px;\n    height: 35px;\n    border-radius: 18px;\n    background-color: #2c3138;\n    display: flex;\n    margin: auto;\n    svg {\n      margin: auto;\n      width: 11px;\n      height: 11px;\n    }\n  }\n  p {\n    margin-top: 5px;\n    font-size: 13px;\n    font-weight: bold;\n    color: #2c3138;\n    line-height: normal;\n  }\n"])));t.default=l},3437:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)),i=n(36),u=(0,l.default)(i.List)(o||(o=(0,r.default)(["\n  table-layout: fixed;\n\n  tbody {\n    td:first-of-type:not(:last-of-type) {\n      width: 73px;\n      padding-left: 30px;\n      > svg {\n        width: auto;\n        height: 16px;\n        position: absolute;\n        left: -4px;\n        top: 16px;\n        display: none;\n      }\n    }\n    td[colspan='12'] {\n      position: relative;\n      padding: 0 0 0 50px;\n      > div {\n        box-shadow: none;\n      }\n    }\n    tr.component-row {\n      &:not(:first-of-type) {\n        &::before {\n          background-color: transparent;\n        }\n      }\n      table tr td:first-of-type:not(:last-of-type) {\n        width: 79px;\n        padding-left: 36px;\n        svg {\n          display: block;\n        }\n      }\n    }\n    table + div button {\n      position: relative;\n      background-color: transparent;\n      text-transform: initial;\n      color: #9ea7b8;\n      text-align: left;\n      padding-left: 35px;\n      border-color: transparent;\n      svg {\n        position: absolute;\n        top: 0;\n        left: 0;\n      }\n    }\n    tr.dynamiczone-row {\n      &:not(:first-of-type) {\n        &::before {\n          background-color: transparent;\n        }\n      }\n      > td[colspan='12'] {\n        padding-left: 0;\n        padding-right: 0;\n      }\n\n      .tabs-wrapper {\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        width: 100%;\n        position: absolute;\n        top: 0;\n        left: 0;\n        z-index: 2;\n        padding-top: 18px;\n        padding-left: 86px;\n        padding-right: 30px;\n        .nav-tabs {\n          border-bottom: 0;\n        }\n        ul.nav {\n          width: 100%;\n          display: flex;\n          flex-wrap: nowrap;\n          overflow-x: auto;\n          overflow-y: hidden;\n          li {\n            margin-right: 9px;\n          }\n        }\n        & + .tab-content {\n          padding-top: 126px;\n          position: relative;\n          z-index: 1;\n        }\n      }\n    }\n  }\n  & + .plus-icon {\n    width: 27px;\n    height: 27px;\n    border-radius: 18px;\n    position: absolute;\n    bottom: 14px;\n    left: 34px;\n    background-color: ",";\n\n    color: transparent;\n    text-align: center;\n    line-height: 27px;\n    display: flex;\n    cursor: pointer;\n    svg {\n      margin: auto;\n      width: 11px;\n      height: 11px;\n    }\n  }\n"])),(function(e){return e.isFromDynamicZone?"#AED4FB":"#f3f4f4"}));u.defaultProps={isFromDynamicZone:!1};var d=u;t.default=d},3438:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)),i=n(9),u=(0,l.default)(i.Button)(o||(o=(0,r.default)(["\n  padding-left: 15px;\n  padding-right: 15px;\n"])));t.default=u},3439:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(1)),r=a(n(2)),l=a(n(3440)),i=a(n(3441));function u(e){var t=e.actions,n=e.title;return o.default.createElement(i.default,null,o.default.createElement("div",{className:"list-header-actions"},t),o.default.createElement("div",{className:"list-header-title"},n.map((function(e){return o.default.createElement(l.default,{key:e},e,"\xa0")}))))}u.defaultProps={actions:[],title:[]},u.propTypes={actions:r.default.arrayOf(r.default.shape({disabled:r.default.bool,onClick:r.default.func,title:r.default.string})),title:r.default.arrayOf(r.default.string)};var d=u;t.default=d},3440:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)),i=n(5),u=l.default.p(o||(o=(0,r.default)(["\n  margin-bottom: 0;\n  color: ",";\n  font-family: 'Lato';\n  font-size: 1.8rem;\n  font-weight: bold;\n  line-height: 2.2rem;\n"])),i.colors.blueTxt);t.default=u},3441:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)).default.div(o||(o=(0,r.default)(["\n  position: relative;\n  padding: 2.1rem 6rem 1.7rem 3rem;\n  background-color: white;\n  .list-header-actions {\n    position: absolute;\n    top: 1.8rem;\n    right: 3rem;\n    button {\n      outline: 0;\n      margin-left: 10px;\n    }\n  }\n"])));t.default=l},3442:function(e,t,n){"use strict";var a=n(0),o=n(6);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(21)),l=a(n(7)),i=a(n(10)),u=a(n(22)),d=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var n=O(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=r?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}a.default=e,n&&n.set(e,a);return a}(n(1)),c=a(n(2)),f=n(8),s=n(25),p=n(5),m=n(9),g=a(n(98)),_=a(n(52)),b=a(n(3443)),y=a(n(131)),h=a(n(496)),v=a(n(3446));function O(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(O=function(e){return e?n:t})(e)}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function C(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){(0,i.default)(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 k=function(){strapi.notification.toggle({type:"info",message:{id:"".concat(g.default,".notification.info.creating.notSaved")}})};function x(e){var t=e.wait,n=(0,y.default)(),a=n.components,o=n.componentsGroupedByCategory,i=n.contentTypes,c=n.isInDevelopmentMode,O=n.sortedContentTypesList,w=(0,p.useGlobalContext)(),x=w.emitEvent,E=w.formatMessage,j=(0,s.useHistory)().push,P=(0,f.sortBy)(Object.keys(o).map((function(e){return{name:e,title:e,isEditable:c,onClickEdit:function(e,t){e.stopPropagation();var n=(0,h.default)({actionType:"edit",modalType:"editCategory",categoryName:t.name,header_label_1:E({id:(0,_.default)("modalForm.header.categories")}),header_icon_name_1:"component",header_icon_isCustom_1:!1,header_info_category_1:null,header_info_name_1:null,header_label_2:t.name,header_icon_name_2:null,header_icon_isCustom_2:!1,header_info_category_2:null,header_info_name_2:null,settingType:"base"});j({search:n})},links:(0,f.sortBy)(o[e].map((function(t){return{name:t.uid,to:"/plugins/".concat(g.default,"/component-categories/").concat(e,"/").concat(t.uid),title:t.schema.name}})),(function(e){return e.title}))}})),(function(e){return e.title})),T=function(){return!Object.keys(i).some((function(e){return!0===i[e].isTemporary}))&&!Object.keys(a).some((function(e){return!0===a[e].isTemporary}))},N=function(){var e=(0,u.default)(r.default.mark((function e(n){var a,o,l,i=arguments;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=i.length>1&&void 0!==i[1]?i[1]:"",o="singleType"===a?a:n,!T()){e.next=10;break}return x("willCreate".concat((0,f.upperFirst)((0,f.camelCase)(o)))),e.next=6,t();case 6:l=(0,h.default)({modalType:n,kind:a,actionType:"create",settingType:"base",forTarget:n,headerId:(0,_.default)("modalForm.".concat(o,".header-create")),header_icon_isCustom_1:"false",header_icon_name_1:o,header_label_1:"null"}),j({search:l}),e.next=11;break;case 10:k();case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),D=(0,d.useMemo)((function(){return O.filter((function(e){return e.visible})).map((function(e){return e.plugin?C(C({},e),{},{CustomComponent:function(){return d.default.createElement("p",{style:{justifyContent:"normal"}},e.title,"\xa0",d.default.createElement(m.Text,{as:"span",ellipsis:!0,style:{fontStyle:"italic"},fontWeight:"inherit",lineHeight:"inherit"},"(",E({id:(0,_.default)("from")}),": ",e.plugin,")\xa0"))}}):e}))}),[O,E]),M=[{name:"models",title:{id:"".concat(g.default,".menu.section.models.name.")},searchable:!0,customLink:c?{Component:b.default,componentProps:{id:"".concat(g.default,".button.model.create"),onClick:function(){N("contentType","collectionType")}}}:null,links:D.filter((function(e){return"collectionType"===e.kind}))},{name:"singleTypes",title:{id:"".concat(g.default,".menu.section.single-types.name.")},searchable:!0,customLink:c?{Component:b.default,componentProps:{id:"".concat(g.default,".button.single-types.create"),onClick:function(){N("contentType","singleType")}}}:null,links:D.filter((function(e){return"singleType"===e.kind}))},{name:"components",title:{id:"".concat(g.default,".menu.section.components.name.")},searchable:!0,customLink:c?{Component:b.default,componentProps:{id:"".concat(g.default,".button.component.create"),onClick:function(){N("component")}}}:null,links:P}];return d.default.createElement(v.default,{className:"col-md-3"},M.map((function(e){return d.default.createElement(p.LeftMenuList,(0,l.default)({},e,{key:e.name}))})))}x.defaultProps={wait:function(){}},x.propTypes={wait:c.default.func};var E=x;t.default=E},3443:function(e,t,n){"use strict";var a=n(0),o=n(6);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CustomLink=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!==typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var a={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var i=r?Object.getOwnPropertyDescriptor(e,l):null;i&&(i.get||i.set)?Object.defineProperty(a,l,i):a[l]=e[l]}a.default=e,n&&n.set(e,a);return a}(n(1)),l=n(11),i=a(n(2)),u=n(39),d=a(n(3444)),c=a(n(3445));function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var s=function(e){var t=e.disabled,n=e.id,a=e.onClick;return r.default.createElement(c.default,{disabled:t},r.default.createElement("button",{onClick:a,disabled:t,type:"button"},r.default.createElement(d.default,null,r.default.createElement(u.Plus,{fill:"#007EFF",width:"11px",height:"11px"}),n&&r.default.createElement(l.FormattedMessage,{id:n}))))};t.CustomLink=s,s.defaultProps={disabled:!1,id:null},s.propTypes={disabled:i.default.bool,id:i.default.string,onClick:i.default.func.isRequired};var p=(0,r.memo)(s);t.default=p},3444:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)),i=n(5),u=l.default.p(o||(o=(0,r.default)(["\n  color: ",";\n  font-size: 13px;\n  font-weight: 500;\n  line-height: 18px;\n  text-align: left;\n  > svg {\n    margin-right: 7px;\n    vertical-align: initial;\n    -webkit-font-smoothing: subpixel-antialiased;\n  }\n"])),i.colors.blue);t.default=u},3445:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)).default.div(o||(o=(0,r.default)(["\n  padding-left: 15px;\n  padding-top: 6px;\n  margin-left: -3px;\n  button {\n    cursor: ",";\n    padding: 0;\n    line-height: 16px;\n  }\n"])),(function(e){return e.disabled?"not-allowed":"pointer"}));t.default=l},3446:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)),i=n(5),u=l.default.div(o||(o=(0,r.default)(["\n  width: 100%;\n  min-height: calc(100vh - ",");\n  background-color: ",";\n  padding-top: 3.1rem;\n  padding-left: 2rem;\n  padding-right: 2rem;\n"])),i.sizes.header.height,i.colors.leftMenu.mediumGrey);t.default=u},3447:function(e,t,n){"use strict";var a=n(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,r=a(n(4)),l=a(n(3)),i=n(5),u=(0,l.default)(i.ViewContainer)(o||(o=(0,r.default)(["\n  .button-secondary {\n    &:hover {\n      background-color: #ffffff !important;\n      box-shadow: 0 0 0 #fff;\n    }\n  }\n  .button-submit {\n    min-width: 140px;\n  }\n"])));t.default=u}}]);