/*! For license information please see dll.Panel.js.LICENSE.txt */
(window.webpackJsonp_name_dll=window.webpackJsonp_name_dll||[]).push([[99],{1859:function(e,n,t){"use strict";t.r(n);var a=t(2),i=Object(a.default)((function(){return Promise.all([t.e(1),t.e(158),t.e(48)]).then(t.bind(null,2297))}));n.default=i},2822:function(e,n,t){"use strict";t.r(n);var a=t(965),i=t(2823);a.default.addResources("de","components",i.DE),a.default.addResources("en","components",i.EN),a.default.addResources("es","components",i.ES)},2823:function(e){e.exports=JSON.parse('{"DE":{"maximize":"Maximieren","minimize":"Minimieren"},"EN":{"maximize":"Maximize","minimize":"Minimize"},"ES":{"maximize":"Maximizar","minimize":"Minimizar"}}')},2824:function(e,n,t){"use strict";t.r(n);var a=t(22),i=t.n(a),o=t(2825),l={insert:"head",singleton:!1};i()(o.default,l);n.default=o.default.locals||{}},2825:function(e,n,t){"use strict";t.r(n);var a=t(23),i=t.n(a)()(!1);i.push([e.i,".panel {\n\tborder: 1px solid rgba(92, 92, 92, 0.6);\n\tborder-radius: 6px;\n\tbox-shadow: 0 0 4px rgba(92, 92, 92, 0.5);\n\tmargin: 0 auto 10px;\n\tmargin-top: 8px;\n\tmax-width: 1200px;\n}\n\n.react-draggable .panel {\n\tmargin: 0;\n}\n\n.panel .card-body {\n\toverflow: auto;\n}\n\n.panel-hide-button {\n\tfloat: right;\n\tborder: none;\n\tbackground: none;\n\tcolor: #2e4468;\n}\n\n.panel-hide-button:hover {\n\tcolor: rgba(220, 53, 69, 0.6);\n}\n\n.panel-fullscreen-view {\n\tmax-width: 1200px;\n\tfont-size: 26px;\n\theight: fit-content;\n}\n\n.panel-fullscreen-view textarea {\n\tfont-size: 26px;\n}\n",""]),n.default=i},893:function(e,n,t){"use strict";t.r(n);var a=t(205),i=t.n(a),o=t(7),l=t.n(o),r=t(202),c=t.n(r),s=t(1066),d=t.n(s),u=t(0),m=t.n(u),f=t(1),p=t.n(f),b=t(2309),y=t(87),h=t(44),z=t(1859);t(2822),t(2824);function g(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function w(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?g(Object(t),!0).forEach((function(n){l()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var x=function(e){var n=e.children,t=e.hideTooltip,a=e.onHide,i=e.minimizable,o=e.minimized,l=e.onMinimize,r=e.t;return n?m.a.createElement(y.default.Header,{as:"h3"},m.a.createElement("span",{className:"unselectable"},n),a?m.a.createElement(h.default,{tooltip:t||r("close")},m.a.createElement("button",{className:"panel-hide-button fa fa-times",onClick:a})):null,i?m.a.createElement(h.default,{tooltip:r(o?"maximize":"minimize")},m.a.createElement("button",{className:"panel-hide-button ".concat(o?"far fa-window-maximize":"fas fa-window-minimize"),onClick:l})):null):null},O=function(e){var n=e.className,t=e.header,a=e.footer,o=e.minimizable,l=e.fullscreen,r=e.hideTooltip,s=e.onHide,f=e.style,p=e.bodyStyle,b=e.footerStyle,h=e.t,g=e.children,O=(e.tReady,d()(e,["className","header","footer","minimizable","fullscreen","hideTooltip","onHide","style","bodyStyle","footerStyle","t","children","tReady"])),E=Object(u.useState)(!1),j=c()(E,2),v=j[0],S=j[1];return m.a.createElement(y.default,i()({},O,{className:"panel ".concat(n),style:w({height:v?"53px":void 0},f)}),l?m.a.createElement(z.default,{header:t,body:g,footer:a,className:n,t:h,owner:!0}):null,m.a.createElement(x,{minimizable:o,minimized:v,onMinimize:function(){S(!v)},hideTooltip:r,onHide:s,t:h},t),m.a.createElement(y.default.Body,{style:w(w({},p),{},{display:v?"none":null})},g),a?m.a.createElement(y.default.Footer,{style:w(w({},b),{},{display:v?"none":null})},a):null)};O.propTypes={className:p.a.string,header:p.a.oneOfType([p.a.string,p.a.node]),footer:p.a.oneOfType([p.a.string,p.a.node]),minimizable:p.a.bool,fullscreen:p.a.bool,hideTooltip:p.a.string,bodyStyle:p.a.object,footerStyle:p.a.object,style:p.a.object,onHide:p.a.func},O.defaultProps={className:"",header:null,footer:null,minimizable:!1,fullscreen:!1,hideTooltip:null,bodyStyle:{},footerStyle:{},style:{},onHide:null},n.default=Object(b.withTranslation)()(O)}}]);