tocco-devcon 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.md +3 -0
- package/dist/chunk-44.696f171ece8afbbce94f.js +1 -0
- package/dist/{chunk-545.b8d281d99d5f2c43a249.js → chunk-545.f7a68598c7cedd502ab0.js} +1 -1
- package/dist/chunk-code-editor.2ece51bacd2081494665.js +1 -0
- package/dist/chunk-vendor-libphonenumber-js.ea8e91a330344f5ac9c7.js +1 -0
- package/dist/{chunk-vendor-quill.dd35142b0d5803e16926.js → chunk-vendor-quill.d6f6f7c92cf0f0450029.js} +1 -6
- package/dist/index.js +21 -8
- package/package.json +1 -1
- package/dist/chunk-code-editor.d37ac7b458875a8ba174.js +0 -1
- package/dist/chunk-vendor-libphonenumber-js.b49ed6ab8acf1ecd6b10.js +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunktocco_devcon=self.webpackChunktocco_devcon||[]).push([[85],{5702:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>Pr});var r,a=t(1024),o=t.n(a),i=t(80467),l=t(14911),c=t(34206),s=t(46458),u=t(48479),f=t(43950),d=t.n(f),p=(t(46444),t(44066)),m=t(70696),g=t(10535),h=t(78958),v=t(53124),b=t.n(v),y=t(86048),w=t.n(y),x=t(29163),k=t(37188);const E=(0,x.ZP)(k.hc).withConfig({displayName:"StyledSignalList"})(r||(r=w()(["\n && {\n list-style-type: none;\n }\n"])));const O=function(e){return o().createElement(E,{as:"ul"},o().Children.map(e.children,(function(e){return o().cloneElement(e)})))};var P,Z,S=t(88265),C=t.n(S),_=t(88162),R=t(32884),j=t.n(R),N=t(88601),D=t(58664),L=(P={},C()(P,h.Z.condition.BASE,"inherit"),C()(P,h.Z.condition.DANGER,N.Z.color("signal.danger.text")),C()(P,h.Z.condition.PRIMARY,(function(e){return(0,D.HO)(j()(e.theme,"colors.primary"),1)})),C()(P,h.Z.condition.SUCCESS,N.Z.color("signal.success.text")),C()(P,h.Z.condition.WARNING,N.Z.color("signal.warning.text")),C()(P,h.Z.condition.INFO,N.Z.color("signal.info.text")),P),T=(0,x.ZP)(k.EF).withConfig({displayName:"StyledSignalListItem"})(Z||(Z=w()(["\n && {\n color: ",";\n position: relative;\n\n > i,\n > svg {\n position: absolute;\n left: -1.6rem;\n text-align: left;\n }\n\n > svg {\n top: 0.2em;\n }\n }\n"])),(function(e){return function(e){return L[e.condition]||"inherit"}(e)}));T.propTypes={condition:h.Z.conditionPropTypes(L)};const I=T;var A,M,F=(A={},C()(A,h.Z.condition.BASE,!1),C()(A,h.Z.condition.PRIMARY,!1),C()(A,h.Z.condition.DANGER,"times"),C()(A,h.Z.condition.SUCCESS,"check"),C()(A,h.Z.condition.WARNING,"exclamation-triangle"),C()(A,h.Z.condition.INFO,"info"),A),V=function(e){return o().createElement(I,{condition:e.condition},function(e){var n=F[e.condition];return n?o().createElement(_.Z,{icon:n,position:h.Z.position.SOLE}):M||(M=o().createElement("i",null,"•"))}(e),e.label,o().Children.map(e.children,(function(e){return o().cloneElement(e)})))};V.defaultProps={condition:h.Z.condition.BASE};const q={List:O,Item:V};const z=function(e){if(!e.error)return null;var n=[];return Object.keys(e.error).forEach((function(t){n.push.apply(n,b()(e.error[t]))})),o().createElement(q.List,null,n.map((function(e,n){return o().createElement(q.Item,{condition:"danger",key:n,label:e})})))};var B,W,H,$,U,G,Y,K,Q=t(19908),J=t(7281),X=t(30759),ee=t(40953),ne="1.1px",te=function(e){var n=e.isDisplay,t=e.immutable;return"cursor: ".concat(!n&&t?"not-allowed":"auto",";")},re=x.ZP.div.withConfig({displayName:"StyledLabelWrapper"})(H||(H=w()(["\n width: calc(100% - ",");\n"])),J.Z.space(.5)),ae=x.ZP.label.withConfig({displayName:"StyledStatedValueLabel"})($||($=w()(["\n &&& {\n ","\n background-color: ",";\n color: ",";\n left: ",";\n margin: calc("," / -2) 0 0;\n padding: 1px ","; // 1px to prevent label bottom from being cut\n position: absolute;\n top: 50%;\n width: ",";\n height: calc("," + 1px);\n overflow: hidden;\n ","\n ","\n pointer-events: ",";\n padding-left: ",";\n\n span {\n white-space: nowrap;\n }\n }\n"])),(0,X.Z)({fontSize:J.Z.font(0),fontWeight:function(e){return e.dirty?N.Z.fontWeight("bold"):N.Z.fontWeight("regular")},lineHeight:1}),N.Z.color("paper"),(function(e){return ee.v[(n=e,t=n.isDisplay,r=n.secondaryPosition,a=n.immutable,o=n.signal,i=n.hasValue,o?"signal":i?"hasValue":t&&r&&a&&!o?"shade1":t?r?"shade0":"shade1":r?"shade1":a?"shade0":o?"signal":"shade1")](e);var n,t,r,a,o,i}),J.Z.space(-2),J.Z.font(0),J.Z.space(-2),(function(e){return e.secondaryPosition?"auto":"inherit"}),J.Z.font(0),(function(e){return n=e.secondaryPosition,(0,x.iv)(B||(B=w()(["\n &&& {\n ","\n }\n"])),n&&(0,x.iv)(W||(W=w()(["\n top: 0;\n font-size: ",";\n margin: calc("," / -2) 0 0;\n "])),J.Z.font(-.8),J.Z.font(-.5)));var n}),(function(e){return te(e)}),(function(e){return e.secondaryPosition?"auto":"none"}),(function(e){return e.immutable&&"0"})),oe=x.ZP.div.withConfig({displayName:"StyledStatedValueBox"})(U||(U=w()(["\n &&& {\n border: "," solid ",";\n padding: "," "," "," ",";\n position: relative;\n ","\n ","\n margin-top: ",";\n padding-left: ",";\n padding-top: ",";\n\n * {\n padding-left: ",";\n margin-bottom: 0;\n }\n\n > "," {\n padding-top: ",";\n position: relative;\n top: 5px;\n\n p:first-of-type {\n margin-top: 0;\n }\n }\n }\n"])),ne,(function(e){return ee.m[(n=e,t=n.immutable,r=n.isDisplay,a=n.signal,n.isDirty?"isDirty":r||t?"transparent":a?"signal":"shade1")](e);var n,t,r,a}),J.Z.space(-1),J.Z.space(-1),J.Z.space(-2),J.Z.space(-1),(function(e){return!e.immutable&&(0,D.kk)(e)}),(function(e){return te(e)}),(function(e){return e.isDisplay&&J.Z.space(-1)}),(function(e){return e.immutable&&J.Z.space(-2)}),(function(e){var n=e.isDisplay,t=e.immutable;return n&&t&&J.Z.space(-1)}),(function(e){return e.isDisplay&&"0"}),Q.j,(function(e){return e.isDisplay&&J.Z.space(-1)})),ie=x.ZP.p.withConfig({displayName:"StyledStatedValueDescription"})(G||(G=w()(["\n &&& {\n ","\n }\n"])),(0,X.Z)({fontSize:J.Z.font(-1)})),le=x.ZP.div.withConfig({displayName:"StyledStatedValueError"})(Y||(Y=w()([""]))),ce=x.ZP.div.withConfig({displayName:"StyledStatedValueWrapper"})(K||(K=w()(["\n &&& {\n margin-bottom: ",";\n padding-top: ",";\n\n ",",\n ",",\n "," {\n margin-bottom: ",";\n\n &:last-child {\n margin-bottom: 0;\n }\n }\n\n ",",\n "," {\n margin-left: calc("," + ",");\n\n "," {\n margin-left: -",";\n }\n }\n }\n"])),J.Z.space(-1),J.Z.space(-2),oe,ie,le,J.Z.space(-2),ie,le,J.Z.space(-1),ne,k.hc,J.Z.space(-2));const se=function(e){var n,t,r=e.children,a=e.description,i=e.dirty,l=e.fixLabel,c=e.isDisplay,s=e.error,u=e.hasValue,f=e.id,v=e.label,b=e.mandatory,y=e.mandatoryTitle,w=e.immutable,x=e.touched,k=e.signal,E=!w&&x&&s&&Object.keys(s).length>0,O="".concat(m.Z.adjustedHTMLString(v)).concat(b&&y?", ".concat(y):""),P=k||function(e,n,t,r){return n?h.Z.condition.DANGER:e?h.Z.condition.INFO:t&&!r?h.Z.condition.WARNING:void 0}(i,E,b,u);return o().createElement(p.Z,null,(function(e){var p=e.focused,m=e.getRef,h=!w&&p||u||c||l;return o().createElement(ce,{ref:m,secondaryPosition:h},o().createElement(oe,{className:"StyledStatedValueBox",hasValue:u,immutable:w,isDisplay:c,signal:P},r,v&&o().createElement(re,null,o().createElement(ae,d()({},!c&&!w&&{htmlFor:f},{hasValue:u,dirty:i,title:O,secondaryPosition:h,immutable:w,isDisplay:c,signal:P}),o().createElement("span",{dangerouslySetInnerHTML:{__html:"".concat(g.Z.sanitizeHtml(v)).concat(b?" *":"")}})))),a&&(n||(n=o().createElement(ie,null,a))),E&&(t||(t=o().createElement(le,null,o().createElement(z,{error:s})))))}))};var ue,fe,de=t(87343),pe=t(65035),me=t(28655),ge=t.n(me),he=t(51032),ve=x.ZP.input.withConfig({displayName:"StyledInput"})(ue||(ue=ge()(["\n && {\n ","\n }\n"])),he.k9),be=x.ZP.div.withConfig({displayName:"StyledInputWrapper"})(fe||(fe=ge()(["\n && {\n ","\n }\n"])),he.yP);const ye=function(e){var n=e.fragments,t=e.selectedFragments,r=e.disabled,a=e.setFragmentSelected;return o().createElement(o().Fragment,null,n.map((function(e){return o().createElement("div",{key:e.id},o().createElement("input",{type:"checkbox",id:e.id,checked:t.includes(e.id),onChange:(n=e.id,function(e){a(n,e.target.checked)}),disabled:r}),o().createElement(c.ZP.Label,{for:e.id},e.label));var n})))};const we=function(e){var n=e.version,t=e.modules,r=e.selectedModules,i=e.fragments,l=e.selectedFragments,c=e.ignoreErrors,s=e.running,u=e.disabled,f=e.executeDbRefactoring,d=e.loadModules,p=e.loadFragments,m=e.setSelectedModules,g=e.setFragmentSelected,h=e.setVersion,v=e.setIgnoreErrors;(0,a.useEffect)((function(){0===t.length&&d(),0===i.length&&p()}),[]);return o().createElement("form",{onSubmit:function(e){e.preventDefault(),f()}},o().createElement(se,{label:"Modules (none selected => all)",hasValue:r.length>0},o().createElement(de.Z,{options:t,value:r,onChange:m,isMulti:!0,immutable:u})),o().createElement(se,{label:"Fragments",fixLabel:!0},o().createElement(ye,{fragments:i,selectedFragments:l,disabled:u,setFragmentSelected:g})),o().createElement(se,{label:"Version",hasValue:n.length>0},o().createElement(be,null,o().createElement(ve,{value:n,onChange:function(e){var n=e.target.value.replaceAll(/[^\d\\.]/g,"");h(n)},disabled:u}))),o().createElement(se,{label:"Ignore errors",fixLabel:!0},o().createElement("input",{type:"checkbox",checked:c,onChange:function(e){v(e.target.checked)},disabled:u})),o().createElement(pe.Z,{type:"submit",label:"Execute",look:"raised",pending:s,disabled:u}))};var xe={loadModules:u.H6,loadFragments:u.VL,setSelectedModules:u.pi,setFragmentSelected:u.LO,setVersion:u.xO,setIgnoreErrors:u.Pm,executeDbRefactoring:u.KK};const ke=(0,s.connect)((function(e){var n=e.dbRefactoring,t=n.dbRefactoring,r=n.languageUpgrade;return{version:t.version,modules:t.modules,selectedModules:t.selectedModules,fragments:t.fragments,selectedFragments:t.selectedFragments,ignoreErrors:t.ignoreErrors,running:t.running,disabled:t.running||r.running}}),xe)(we);const Ee=function(e){var n=e.language,t=e.running,r=e.disabled,a=e.executeLanguageUpgrade,i=e.setLanguage;return o().createElement("form",{onSubmit:function(e){e.preventDefault(),a()}},o().createElement(se,{label:"Language",hasValue:n.length>0},o().createElement(be,null,o().createElement(ve,{value:n,onChange:function(e){i(e.target.value)},disabled:r}))),o().createElement(pe.Z,{type:"submit",label:"Execute language upgrade",look:"raised",pending:t,disabled:r}))};var Oe={setLanguage:u.m0,executeLanguageUpgrade:u.b7};const Pe=(0,s.connect)((function(e){var n=e.dbRefactoring,t=n.dbRefactoring,r=n.languageUpgrade;return{language:r.language,running:r.running,disabled:r.running||t.running}}),Oe)(Ee);var Ze,Se,Ce,_e;const Re=function(){return o().createElement(o().Fragment,null,Ze||(Ze=o().createElement(c.ZP.H1,null,"Database Refactoring")),Se||(Se=o().createElement(ke,null)),Ce||(Ce=o().createElement(c.ZP.H1,null,"Language Upgrade")),_e||(_e=o().createElement(Pe,null)))};var je,Ne,De,Le,Te,Ie,Ae,Me=t(63038),Fe=t.n(Me),Ve={ERROR:"#a00"},qe=x.ZP.div.withConfig({displayName:"StyledLogTable"})(je||(je=ge()(["\n display: grid;\n gap: 1px;\n"]))),ze=x.ZP.div.withConfig({displayName:"StyledLogEntry"})(Ne||(Ne=ge()(["\n display: grid;\n height: fit-content;\n grid-template-columns: repeat(3, 1fr);\n padding: 1em;\n ","\n"])),(function(e){return"border: 1px solid ".concat(Ve[e.level]||"#ddd",";")})),Be=x.ZP.span.withConfig({displayName:"StyledMessage"})(De||(De=ge()(["\n grid-column: 1 / 3;\n ","\n\n && {\n ","\n }\n"])),(function(e){return e.expandable&&"cursor: pointer;"}),(0,X.Z)()),We=x.ZP.span.withConfig({displayName:"StyledTime"})(Le||(Le=ge()(["\n grid-column-start: 3;\n text-align: right;\n\n && {\n ","\n }\n"])),(0,X.Z)()),He=x.ZP.div.withConfig({displayName:"StyledExceptionDetails"})(Te||(Te=ge()(["\n margin-top: 1em;\n"]))),$e=x.ZP.div.withConfig({displayName:"StyledDetailMessage"})(Ie||(Ie=ge()(["\n margin-bottom: 1em;\n\n && {\n ","\n }\n"])),(0,X.Z)()),Ue=x.ZP.div.withConfig({displayName:"StyledStackTrace"})(Ae||(Ae=ge()(["\n && {\n ","\n }\n"])),(0,X.Z)());const Ge=function(e){var n=e.exception;return o().createElement(He,null,o().createElement($e,null,n.detailMessage),o().createElement(Ue,null,n.stackTrace.map((function(e,n){return o().createElement("div",{key:n},function(e){return"".concat(e.declaringClass,".").concat(e.methodName,":").concat(e.lineNumber)}(e))}))))};const Ye=function(e){var n=e.entry,t=(0,a.useState)(!1),r=Fe()(t,2),i=r[0],l=r[1];return o().createElement(ze,{level:n.level},o().createElement(Be,{onClick:function(){n.exception&&l(!i)},expandable:!!n.exception},n.message),o().createElement(We,null,new Date(n.timestamp).toLocaleString()),i&&o().createElement(Ge,{exception:n.exception}))};var Ke;const Qe=function(e){var n=e.entries;return o().createElement(qe,null,n.length>0?n.map((function(e){return o().createElement(Ye,{key:e.key,entry:e})})):Ke||(Ke=o().createElement(c.ZP.Span,null,"No entries so far.")))};const Je=(0,s.connect)((function(e){return{entries:e.log.entries}}),{})(Qe);var Xe,en;const nn=function(){return o().createElement(o().Fragment,null,Xe||(Xe=o().createElement(c.ZP.H1,null,"Log")),en||(en=o().createElement(Je,null)))};var tn,rn,an=t(49478),on=x.ZP.div.withConfig({displayName:"StyledCheckEventGroup"})(tn||(tn=ge()(["\n margin: 1em 0;\n border: 1px solid #ddd;\n border-radius: 5px;\n padding: 1em;\n"]))),ln=x.ZP.div.withConfig({displayName:"StyledGroupHeading"})(rn||(rn=ge()(["\n margin-bottom: 1em;\n"])));function cn(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"==typeof e)return sn(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return sn(e,n)}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){l=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(l)throw o}}}}function sn(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}const un=function(e){var n=e.type,t=e.events,r=e.selection,a=e.setSelected,i=function(e,n){var t,r=cn(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(!n.has(a.id))return!1}}catch(e){r.e(e)}finally{r.f()}return!0}(t,r);return o().createElement(on,null,o().createElement(ln,null,o().createElement("input",{type:"checkbox",id:"checkbox-"+n,checked:i,onChange:function(e){a(t.map((function(e){return e.id})),e.target.checked)}}),o().createElement(c.ZP.Label,{for:"checkbox-"+n},o().createElement(c.ZP.B,null,n," (",t.length,")"))),t.map((function(e){return o().createElement("div",{key:e.id},o().createElement("input",{type:"checkbox",id:"checkbox-"+e.id,checked:r.has(e.id),onChange:(n=e.id,function(e){a([n],e.target.checked)})}),o().createElement(c.ZP.Label,{for:"checkbox-"+e.id},e.label));var n})))};const fn=function(e){var n=e.checkEvents,t=e.selection,r=e.setSelected,a=e.generateSql,i=e.generateChangelog;return o().createElement("div",null,Object.keys(n).length>0&&o().createElement(o().Fragment,null,o().createElement(pe.Z,{look:"raised",onClick:a,disabled:0===t.size},"Generate SQL ",t.size>0&&"(".concat(t.size,")")),o().createElement(pe.Z,{look:"raised",onClick:i,disabled:0===t.size},"Generate Changelog ",t.size>0&&"(".concat(t.size,")"))),o().createElement("div",null,Object.keys(n).sort().map((function(e){return o().createElement(un,{key:e,type:e,events:n[e],selection:t,setSelected:r})}))))};var dn={setSelected:an.Pq,generateSql:an.$i,generateChangelog:an._w};const pn=(0,s.connect)((function(e){return{checkEvents:e.modelValidation.checkEvents,selection:e.modelValidation.selection}}),dn)(fn);var mn,gn,hn,vn=x.ZP.div.withConfig({displayName:"StyledProgressBar"})(mn||(mn=ge()(["\n width: 100%;\n border: 1px solid #ddd;\n height: 20px;\n position: relative;\n margin: 1em 0;\n"]))),bn=x.ZP.div.withConfig({displayName:"StyledInnerProgress"})(gn||(gn=ge()(["\n position: absolute;\n background-color: #ddd;\n height: 100%;\n width: ","%;\n"])),(function(e){return e.percentage})),yn=x.ZP.div.withConfig({displayName:"StyledProgressText"})(hn||(hn=ge()(["\n position: absolute;\n top: 0;\n width: 100%;\n text-align: center;\n\n && {\n ","\n }\n"])),(0,X.Z)()),wn=function(e){return e.running&&e.total?Math.round(e.currentIndex/e.total*100):0};const xn=function(e){var n=e.state;return o().createElement(vn,null,o().createElement(bn,{percentage:wn(n)}),o().createElement(yn,null,function(e){return e.result?e.result:e.running?e.total?"".concat(wn(e),"%"):"Preparing...":"Not started"}(n)))};const kn=function(e){var n=e.state,t=e.startValidation;return o().createElement("div",null,o().createElement(pe.Z,{look:"raised",pending:n.running,disabled:n.running,onClick:t},"Execute"),o().createElement(xn,{state:n}))};var En={startValidation:an.YV};const On=(0,s.connect)((function(e){return{state:e.modelValidation.state}}),En)(kn);var Pn,Zn,Sn;const Cn=function(){return o().createElement(o().Fragment,null,Pn||(Pn=o().createElement(c.ZP.H1,null,"Model Validation")),Zn||(Zn=o().createElement(On,null)),Sn||(Sn=o().createElement(pn,null)))};var _n=t(22541),Rn=t(87852),jn=t.n(Rn),Nn=t(2091),Dn=t(49325),Ln=t(30381),Tn=t.n(Ln);function In(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function An(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?In(Object(t),!0).forEach((function(n){C()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):In(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var Mn="YYYY-MM-DD[T]HH:mm:ss.SSS[Z]",Fn="YYYY-MM-DD";const Vn={datetime:{type:"date",icons:{range:"calendar-plus",single:"calendar-minus"},toRange:function(e){return{from:e?Tn()(e).utc().format(Mn):null,to:e?Tn()(e).utc().add(1,"d").format(Mn):null,isRangeValue:!0}},fromRange:function(e){return e&&e.from?Tn().utc(e.from,Mn).local().format(Fn):e&&e.to?Tn().utc(e.to,Mn).local().format(Fn):null},getToOptions:function(e,n){return An(An({},e),{},{flatpickrOptions:{minDate:n}})},getFromOptions:function(e,n){return An(An({},e),{},{flatpickrOptions:{maxDate:n}})}},date:{icons:{range:"calendar-plus",single:"calendar-minus"},getToOptions:function(e,n){return An(An({},e),{},{flatpickrOptions:{minDate:n}})},getFromOptions:function(e,n){return An(An({},e),{},{flatpickrOptions:{maxDate:n}})}}};var qn,zn,Bn,Wn,Hn,$n,Un,Gn=x.ZP.div.withConfig({displayName:"StyledInputWrapper"})(qn||(qn=w()(["\n width: calc(100% - 20px); // subtract extender width\n"]))),Yn=x.ZP.div.withConfig({displayName:"StyledInputItemWrapper"})(zn||(zn=w()(["\n display: inline-block;\n width: 50%;\n\n * {\n line-height: unset !important;\n text-align: center;\n }\n"]))),Kn=x.ZP.div.withConfig({displayName:"StyledIconWrapper"})(Bn||(Bn=w()(["\n font-size: ",";\n display: flex;\n align-items: center;\n"])),J.Z.font(-2.7)),Qn=x.ZP.div.withConfig({displayName:"StyledRange"})(Wn||(Wn=w()(["\n display: flex;\n"]))),Jn=x.ZP.div.withConfig({displayName:"StyledInput"})(Hn||(Hn=w()(["\n flex: 1;\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n width: inherit;\n"]))),Xn=x.ZP.div.withConfig({displayName:"StyledExtender"})($n||($n=w()(["\n display: flex;\n align-items: center;\n position: relative;\n left: 2px;\n z-index: 1;\n"])));function et(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function nt(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?et(Object(t),!0).forEach((function(n){C()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):et(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}const tt=function(e){var n,t,r=e.value,i=e.events,l=e.readOnly,c=e.type,s=e.options,u=e.fromText,f=e.toText,p=(null==r?void 0:r.isRangeValue)||!1,m=(0,a.useRef)(r);m.current=r;var g=(0,a.useMemo)((function(){return nt(nt({},i),{},{onChange:function(e){i.onChange(e)}})}),[i]),h={onChange:function(e){i.onChange(nt(nt({},m.current),{},{to:e}))}},v={onChange:function(e){i.onChange(nt(nt({},m.current),{},{from:e}))}},b=Vn[c],y=(null==b||null===(n=b.icons)||void 0===n?void 0:n.range)||"chevron-down",w=(null==b||null===(t=b.icons)||void 0===t?void 0:t.single)||"chevron-left",x=(null==b?void 0:b.type)||c;return o().createElement(Qn,null,o().createElement(Gn,null,p?o().createElement(Jn,null,o().createElement(Yn,null,o().createElement(Dn.Z,d()({},e,{options:function(e,n){return null!=b&&b.getFromOptions?b.getFromOptions(e,n):e}(s,r.to),value:(null==r?void 0:r.from)||null,events:v,placeholder:u}))),Un||(Un=o().createElement(Kn,null,o().createElement(_.Z,{icon:"horizontal-rule"}))),o().createElement(Yn,null,o().createElement(Dn.Z,d()({},e,{options:function(e,n){return null!=b&&b.getToOptions?b.getToOptions(e,n):e}(s,r.from),value:(null==r?void 0:r.to)||null,events:h,placeholder:f})))):o().createElement(Dn.Z,d()({type:x},jn()(e,["type"]),{events:g}))),o().createElement(Xn,null,o().createElement(Nn.Z,{disabled:l,icon:p?w:y,onClick:function(){var e=p?function(e){return null!=b&&b.fromRange?b.fromRange(e):(null==e?void 0:e.from)||(null==e?void 0:e.to)||null}(r):function(e){return null!=b&&b.toRange?b.toRange(e):{from:e,to:e,isRangeValue:!0}}(r);i.onChange(e)}})))};const rt=function(e){var n=e.active,t=e.elapsed,r=e.setActive,a=e.setElapsed;return o().createElement("div",null,o().createElement(se,{label:"Active",fixLabel:!0},o().createElement("input",{type:"checkbox",checked:n,onChange:function(e){r(e.target.checked)}})),o().createElement(se,{label:"Elapsed",hasValue:!!t},o().createElement(tt,{fromText:"from",toText:"to",type:"number",value:t,options:{postPointDigits:0,fixedDecimalScale:!0},events:{onChange:function(e){a(e)}}})))};var at={setActive:_n.Iv,setElapsed:_n.uI};const ot=(0,s.connect)((function(e){return{active:e.sqlLog.active,elapsed:e.sqlLog.elapsed}}),at)(rt);var it,lt,ct,st,ut,ft,dt,pt={ERROR:"#a00"},mt=x.ZP.div.withConfig({displayName:"StyledLogTable"})(it||(it=ge()(["\n display: grid;\n gap: 1px;\n"]))),gt=x.ZP.div.withConfig({displayName:"StyledLogEntry"})(lt||(lt=ge()(["\n display: grid;\n height: fit-content;\n grid-template-columns: repeat(3, 1fr);\n padding: 1em;\n ","\n"])),(function(e){return"border: 1px solid ".concat(pt[e.level]||"#ddd",";")})),ht=x.ZP.span.withConfig({displayName:"StyledStatementHeader"})(ct||(ct=ge()(["\n grid-column: 1 / 3;\n ","\n\n && {\n ","\n }\n"])),(function(e){return e.expandable&&"cursor: pointer;"}),(0,X.Z)()),vt=x.ZP.span.withConfig({displayName:"StyledStatement"})(st||(st=ge()(["\n grid-column: 1 / 3;\n margin-top: 1em;\n\n && {\n ","\n }\n"])),(0,X.Z)()),bt=x.ZP.span.withConfig({displayName:"StyledTime"})(ut||(ut=ge()(["\n grid-row-start: 1;\n grid-column-start: 3;\n text-align: right;\n\n && {\n ","\n }\n"])),(0,X.Z)()),yt=x.ZP.span.withConfig({displayName:"StyledElapsedContainer"})(ft||(ft=ge()(["\n grid-column-start: 3;\n text-align: right;\n margin-top: 1em;\n\n && {\n ","\n }\n"])),(0,X.Z)()),wt=x.ZP.span.withConfig({displayName:"StyledElapsed"})(dt||(dt=ge()(["\n background-color: ",";\n border-radius: 5px;\n padding: 0.5em;\n"])),(function(e){return(n=e.elapsed)>=1e3?"#f00":n>=500?"#ff8c00":n>=100?"#ff0":"#dedede";var n}));const xt=function(e){var n=e.entry,t=(0,a.useState)(!1),r=Fe()(t,2),i=r[0],l=r[1],c=n.sql.length>100,s=c?n.sql.substr(0,100)+"...":n.sql;return o().createElement(gt,null,o().createElement(ht,{expandable:c,onClick:function(){c&&l(!i)}},s),i&&o().createElement(vt,null,n.sql),o().createElement(bt,null,new Date(n.timestamp.iMillis).toLocaleString()),o().createElement(yt,null,o().createElement(wt,{elapsed:n.elapsed},n.elapsed," ms")))};var kt;const Et=function(e){var n=function(e,n){return n?e.filter((function(e){return!0===n.isRangeValue?e.elapsed>=n.from&&e.elapsed<=n.to:e.elapsed>=n})):e}(e.entries,e.elapsed);return o().createElement(mt,null,n.length>0?n.map((function(e){return o().createElement(xt,{key:e.key,entry:e})})):kt||(kt=o().createElement(c.ZP.Span,null,"No entries so far.")))};const Ot=(0,s.connect)((function(e){return{entries:e.sqlLog.entries,elapsed:e.sqlLog.elapsed}}),{})(Et);var Pt,Zt,St;const Ct=function(){return o().createElement(o().Fragment,null,Pt||(Pt=o().createElement(c.ZP.H1,null,"SQL Log")),Zt||(Zt=o().createElement(ot,null)),St||(St=o().createElement(Ot,null)))};function _t(e,n){return _t=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},_t(e,n)}function Rt(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,_t(e,n)}function jt(){return jt=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},jt.apply(this,arguments)}function Nt(e){return"/"===e.charAt(0)}function Dt(e,n){for(var t=n,r=t+1,a=e.length;r<a;t+=1,r+=1)e[t]=e[r];e.pop()}const Lt=function(e,n){void 0===n&&(n="");var t,r=e&&e.split("/")||[],a=n&&n.split("/")||[],o=e&&Nt(e),i=n&&Nt(n),l=o||i;if(e&&Nt(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var c=a[a.length-1];t="."===c||".."===c||""===c}else t=!1;for(var s=0,u=a.length;u>=0;u--){var f=a[u];"."===f?Dt(a,u):".."===f?(Dt(a,u),s++):s&&(Dt(a,u),s--)}if(!l)for(;s--;s)a.unshift("..");!l||""===a[0]||a[0]&&Nt(a[0])||a.unshift("");var d=a.join("/");return t&&"/"!==d.substr(-1)&&(d+="/"),d};var Tt=t(2177);function It(e){return"/"===e.charAt(0)?e:"/"+e}function At(e){return"/"===e.charAt(0)?e.substr(1):e}function Mt(e,n){return function(e,n){return 0===e.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(n.length))}(e,n)?e.substr(n.length):e}function Ft(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function Vt(e){var n=e.pathname,t=e.search,r=e.hash,a=n||"/";return t&&"?"!==t&&(a+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function qt(e,n,t,r){var a;"string"==typeof e?(a=function(e){var n=e||"/",t="",r="",a=n.indexOf("#");-1!==a&&(r=n.substr(a),n=n.substr(0,a));var o=n.indexOf("?");return-1!==o&&(t=n.substr(o),n=n.substr(0,o)),{pathname:n,search:"?"===t?"":t,hash:"#"===r?"":r}}(e),a.state=n):(void 0===(a=jt({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==n&&void 0===a.state&&(a.state=n));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return t&&(a.key=t),r?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=Lt(a.pathname,r.pathname)):a.pathname=r.pathname:a.pathname||(a.pathname="/"),a}function zt(){var e=null;var n=[];return{setPrompt:function(n){return e=n,function(){e===n&&(e=null)}},confirmTransitionTo:function(n,t,r,a){if(null!=e){var o="function"==typeof e?e(n,t):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var t=!0;function r(){t&&e.apply(void 0,arguments)}return n.push(r),function(){t=!1,n=n.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];n.forEach((function(e){return e.apply(void 0,t)}))}}}var Bt=!("undefined"==typeof window||!window.document||!window.document.createElement);function Wt(e,n){n(window.confirm(e))}var Ht="popstate",$t="hashchange";function Ut(){try{return window.history.state||{}}catch(e){return{}}}function Gt(e){void 0===e&&(e={}),Bt||(0,Tt.Z)(!1);var n,t=window.history,r=(-1===(n=window.navigator.userAgent).indexOf("Android 2.")&&-1===n.indexOf("Android 4.0")||-1===n.indexOf("Mobile Safari")||-1!==n.indexOf("Chrome")||-1!==n.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,i=o.forceRefresh,l=void 0!==i&&i,c=o.getUserConfirmation,s=void 0===c?Wt:c,u=o.keyLength,f=void 0===u?6:u,d=e.basename?Ft(It(e.basename)):"";function p(e){var n=e||{},t=n.key,r=n.state,a=window.location,o=a.pathname+a.search+a.hash;return d&&(o=Mt(o,d)),qt(o,r,t)}function m(){return Math.random().toString(36).substr(2,f)}var g=zt();function h(e){jt(C,e),C.length=t.length,g.notifyListeners(C.location,C.action)}function v(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||w(p(e.state))}function b(){w(p(Ut()))}var y=!1;function w(e){if(y)y=!1,h();else{g.confirmTransitionTo(e,"POP",s,(function(n){n?h({action:"POP",location:e}):function(e){var n=C.location,t=k.indexOf(n.key);-1===t&&(t=0);var r=k.indexOf(e.key);-1===r&&(r=0);var a=t-r;a&&(y=!0,O(a))}(e)}))}}var x=p(Ut()),k=[x.key];function E(e){return d+Vt(e)}function O(e){t.go(e)}var P=0;function Z(e){1===(P+=e)&&1===e?(window.addEventListener(Ht,v),a&&window.addEventListener($t,b)):0===P&&(window.removeEventListener(Ht,v),a&&window.removeEventListener($t,b))}var S=!1;var C={length:t.length,action:"POP",location:x,createHref:E,push:function(e,n){var a="PUSH",o=qt(e,n,m(),C.location);g.confirmTransitionTo(o,a,s,(function(e){if(e){var n=E(o),i=o.key,c=o.state;if(r)if(t.pushState({key:i,state:c},null,n),l)window.location.href=n;else{var s=k.indexOf(C.location.key),u=k.slice(0,s+1);u.push(o.key),k=u,h({action:a,location:o})}else window.location.href=n}}))},replace:function(e,n){var a="REPLACE",o=qt(e,n,m(),C.location);g.confirmTransitionTo(o,a,s,(function(e){if(e){var n=E(o),i=o.key,c=o.state;if(r)if(t.replaceState({key:i,state:c},null,n),l)window.location.replace(n);else{var s=k.indexOf(C.location.key);-1!==s&&(k[s]=o.key),h({action:a,location:o})}else window.location.replace(n)}}))},go:O,goBack:function(){O(-1)},goForward:function(){O(1)},block:function(e){void 0===e&&(e=!1);var n=g.setPrompt(e);return S||(Z(1),S=!0),function(){return S&&(S=!1,Z(-1)),n()}},listen:function(e){var n=g.appendListener(e);return Z(1),function(){Z(-1),n()}}};return C}var Yt="hashchange",Kt={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+At(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:At,decodePath:It},slash:{encodePath:It,decodePath:It}};function Qt(e){var n=e.indexOf("#");return-1===n?e:e.slice(0,n)}function Jt(){var e=window.location.href,n=e.indexOf("#");return-1===n?"":e.substring(n+1)}function Xt(e){window.location.replace(Qt(window.location.href)+"#"+e)}function er(e){void 0===e&&(e={}),Bt||(0,Tt.Z)(!1);var n=window.history,t=(window.navigator.userAgent.indexOf("Firefox"),e),r=t.getUserConfirmation,a=void 0===r?Wt:r,o=t.hashType,i=void 0===o?"slash":o,l=e.basename?Ft(It(e.basename)):"",c=Kt[i],s=c.encodePath,u=c.decodePath;function f(){var e=u(Jt());return l&&(e=Mt(e,l)),qt(e)}var d=zt();function p(e){jt(P,e),P.length=n.length,d.notifyListeners(P.location,P.action)}var m=!1,g=null;function h(){var e,n,t=Jt(),r=s(t);if(t!==r)Xt(r);else{var o=f(),i=P.location;if(!m&&(n=o,(e=i).pathname===n.pathname&&e.search===n.search&&e.hash===n.hash))return;if(g===Vt(o))return;g=null,function(e){if(m)m=!1,p();else{var n="POP";d.confirmTransitionTo(e,n,a,(function(t){t?p({action:n,location:e}):function(e){var n=P.location,t=w.lastIndexOf(Vt(n));-1===t&&(t=0);var r=w.lastIndexOf(Vt(e));-1===r&&(r=0);var a=t-r;a&&(m=!0,x(a))}(e)}))}}(o)}}var v=Jt(),b=s(v);v!==b&&Xt(b);var y=f(),w=[Vt(y)];function x(e){n.go(e)}var k=0;function E(e){1===(k+=e)&&1===e?window.addEventListener(Yt,h):0===k&&window.removeEventListener(Yt,h)}var O=!1;var P={length:n.length,action:"POP",location:y,createHref:function(e){var n=document.querySelector("base"),t="";return n&&n.getAttribute("href")&&(t=Qt(window.location.href)),t+"#"+s(l+Vt(e))},push:function(e,n){var t="PUSH",r=qt(e,void 0,void 0,P.location);d.confirmTransitionTo(r,t,a,(function(e){if(e){var n=Vt(r),a=s(l+n);if(Jt()!==a){g=n,function(e){window.location.hash=e}(a);var o=w.lastIndexOf(Vt(P.location)),i=w.slice(0,o+1);i.push(n),w=i,p({action:t,location:r})}else p()}}))},replace:function(e,n){var t="REPLACE",r=qt(e,void 0,void 0,P.location);d.confirmTransitionTo(r,t,a,(function(e){if(e){var n=Vt(r),a=s(l+n);Jt()!==a&&(g=n,Xt(a));var o=w.indexOf(Vt(P.location));-1!==o&&(w[o]=n),p({action:t,location:r})}}))},go:x,goBack:function(){x(-1)},goForward:function(){x(1)},block:function(e){void 0===e&&(e=!1);var n=d.setPrompt(e);return O||(E(1),O=!0),function(){return O&&(O=!1,E(-1)),n()}},listen:function(e){var n=d.appendListener(e);return E(1),function(){E(-1),n()}}};return P}t(94662);function nr(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],n.indexOf(t)>=0||(a[t]=e[t]);return a}o().Component;o().Component;var tr=function(e,n){return"function"==typeof e?e(n):e},rr=function(e,n){return"string"==typeof e?qt(e,null,null,n):e},ar=function(e){return e},or=o().forwardRef;void 0===or&&(or=ar);var ir=or((function(e,n){var t=e.innerRef,r=e.navigate,a=e.onClick,i=nr(e,["innerRef","navigate","onClick"]),l=i.target,c=jt({},i,{onClick:function(e){try{a&&a(e)}catch(n){throw e.preventDefault(),n}e.defaultPrevented||0!==e.button||l&&"_self"!==l||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=ar!==or&&n||t,o().createElement("a",c)}));var lr=or((function(e,n){var t=e.component,r=void 0===t?ir:t,a=e.replace,l=e.to,c=e.innerRef,s=nr(e,["component","replace","to","innerRef"]);return o().createElement(i.s6.Consumer,null,(function(e){e||(0,Tt.Z)(!1);var t=e.history,i=rr(tr(l,e.location),e.location),u=i?t.createHref(i):"",f=jt({},s,{href:u,navigate:function(){var n=tr(l,e.location),r=Vt(e.location)===Vt(rr(n));(a||r?t.replace:t.push)(n)}});return ar!==or?f.ref=n||c:f.innerRef=c,o().createElement(r,f)}))})),cr=function(e){return e},sr=o().forwardRef;void 0===sr&&(sr=cr);var ur;sr((function(e,n){var t=e["aria-current"],r=void 0===t?"page":t,a=e.activeClassName,l=void 0===a?"active":a,c=e.activeStyle,s=e.className,u=e.exact,f=e.isActive,d=e.location,p=e.sensitive,m=e.strict,g=e.style,h=e.to,v=e.innerRef,b=nr(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o().createElement(i.s6.Consumer,null,(function(e){e||(0,Tt.Z)(!1);var t=d||e.location,a=rr(tr(h,t),t),y=a.pathname,w=y&&y.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=w?(0,i.LX)(t.pathname,{path:w,exact:u,sensitive:p,strict:m}):null,k=!!(f?f(x,t):x),E="function"==typeof s?s(k):s,O="function"==typeof g?g(k):g;k&&(E=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter((function(e){return e})).join(" ")}(E,l),O=jt({},O,c));var P=jt({"aria-current":k&&r||null,className:E,style:O,to:a},b);return cr!==sr?P.ref=n||v:P.innerRef=v,o().createElement(lr,P)}))}));const fr=(0,x.ZP)(lr)(ur||(ur=w()(["\n ","\n text-decoration: none;\n color: ",";\n\n * {\n color: ",";\n text-decoration: none;\n }\n\n &:hover,\n &:hover *,\n &:focus,\n &:focus * {\n color: ",";\n text-decoration: ",";\n }\n\n &:active,\n &:active * {\n color: ",";\n text-decoration: ",";\n }\n"])),(0,X.Z)(),N.Z.color("secondary"),N.Z.color("text"),N.Z.color("secondaryLight"),(function(e){return e.neutral?"none":"underline"}),(function(e){var n=e.neutral,t=e.theme;return n?(0,D.HO)(j()(t,"colors.text"),2):(0,D.HO)(j()(t,"colors.secondary"),2)}),(function(e){return e.neutral?"none":"underline"}));var dr,pr,mr,gr,hr,vr,br,yr,wr,xr,kr=x.ZP.div.withConfig({displayName:"StyledDevCon"})(dr||(dr=ge()(["\n && {\n background-color: ",";\n padding: ",";\n display: flex;\n flex-direction: column;\n flex: 1;\n overflow: auto;\n }\n"])),N.Z.color("paper"),J.Z.space(0)),Er=x.ZP.div.withConfig({displayName:"StyledNavigation"})(pr||(pr=ge()(["\n display: flex;\n"]))),Or=(0,x.ZP)(fr).withConfig({displayName:"StyledRouterLink"})(mr||(mr=ge()(["\n padding: 1em;\n background-color: #ddd;\n border-radius: 5px;\n margin: 5px;\n"])));const Pr=function(){return o().createElement(kr,null,gr||(gr=o().createElement(l.Z.Notifications,null)),hr||(hr=o().createElement(c.ZP.Span,null,"Tocco Developer Console")),vr||(vr=o().createElement(Er,null,o().createElement(Or,{to:"/log"},"Log"),o().createElement(Or,{to:"/modelvalidation"},"Model Validation"),o().createElement(Or,{to:"/dbrefactoring"},"DB Refactoring"),o().createElement(Or,{to:"/sqllog"},"SQL Log"))),o().createElement(i.rs,null,o().createElement(i.AW,{path:"/",exact:!0,render:function(){return o().createElement(i.l_,{to:{pathname:"/log"}})}}),o().createElement(i.AW,{path:"/log",exact:!0,render:function(){return br||(br=o().createElement(nn,null))}}),o().createElement(i.AW,{path:"/dbrefactoring",exact:!0,render:function(){return yr||(yr=o().createElement(Re,null))}}),o().createElement(i.AW,{path:"/modelvalidation",exact:!0,render:function(){return wr||(wr=o().createElement(Cn,null))}}),o().createElement(i.AW,{path:"/sqllog",exact:!0,render:function(){return xr||(xr=o().createElement(Ct,null))}})))}},24295:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>_e});var r=t(22824),a=t.n(r),o=t(86048),i=t.n(o),l=t(86249),c=t.n(l),s=(t(58900),t(78634)),u=t(84100),f=t(60131),d=t(48230),p=t(64952),m=t(469),g=t(81896),h=t(46940),v=t(32884),b=t.n(v),y=t(40021),w=t.n(y),x=t(11203),k=t.n(x),E=t(72730),O=t.n(E),P=t(1024),Z=t.n(P),S=t(29163),C=(t(39335),t(28212),t(6488),t(32510),t(79657),t(20844),t(41030),t(98827),t(37363),t(53299),t(54159)),_=function(e){return C.Z.executeRequest("rest/".concat(e))},R=function(e){return 200===e.status?e.json():null},j=t(55695),N=t.n(j),D=t(76682),L=t.n(D),T=t(10300),I=t.n(T),A=t(47383),M=t.n(A),F=t(1462),V=t.n(F),q=(t(70646),t(74085)),z=t.n(q),B=t(77654),W=t.n(B),H=["==","!=","<=",">=","<",">","~="],$=["true","false","null"],U=["string","long","serial","bool","boolean","double","float","time","timestamp","char","varchar","date","datetime"],G=["now_date","yesterday_date","tomorrow_date","today_date","now_start","yesterday_start","tomorrow_start","today_start","now","yesterday","tomorrow","today","currentUsername","currentUser","currentBu"],Y=["in","dateadd","datetimeadd","duedate","birthdayin","fulltext","likeall","distance","inboundingbox"];function K(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=V()(e);if(n){var a=V()(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return M()(this,t)}}const Q=function(e){return function(n){I()(r,n);var t=K(r);function r(){var n;L()(this,r),n=t.call(this);var a=[{token:"keyword.operator.conjunction",regex:/(\s*)(and|or|not)($|\s+)/,caseInsensitive:!0},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.exists",regex:/exists\s*/,push:"exists",caseInsensitive:!0},{token:"keyword.count",regex:/count\s*/,push:"count",caseInsensitive:!0},{token:["keyword.function.nice_function","paren.lparen.function_arguments","text.function_arguments","paren.rparen","text.whitespace"],regex:"((?:".concat(Y.join("|"),")\\s*)(\\()(.*?)(\\))($|\\s+)"),caseInsensitive:!0},{token:"keyword.other.chaining",regex:/\./},{token:"support.function.field",regex:/([a-z_]+)($|\s+)/,push:"comparison"}],o={start:e?[{token:"keyword.where",regex:/\s*/,next:"rootwhere",caseInsensitive:!0}]:[{token:"keyword.find",regex:/find($|\s+)/,push:"model",caseInsensitive:!0},{token:"keyword.where",regex:/where($|\s+)/,next:"rootwhere",caseInsensitive:!0}],model:[{token:"support.class.model",regex:/[A-Z][a-z_0-9]*\s*/,next:"pop"}],rootwhere:[{token:"keyword.order_by",regex:/order by($|\s+)/,next:"order",caseInsensitive:!0}].concat(a),comparison:[{token:"keyword.operator.comparison",regex:"(".concat(H.join("|"),")\\s*"),next:"value"}],value:[{token:"string",regex:/".*?"\s*/,next:"pop"},{token:"constant.numeric",regex:/\d+(.\d+)?\s*/,next:"pop"},{token:"constant.language.tocco_placeholder",regex:"\\:(".concat(G.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"constant.language",regex:"(".concat($.join("|"),")\\s*"),next:"pop",caseInsensitive:!0},{token:"support.type",regex:"(".concat(U.join("|"),"):\\s*"),caseInsensitive:!0}],exists:[{token:"paren.lparen",regex:/\(\s*/},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:"keyword.where",regex:/where($|\s+)/,next:"existswhere",caseInsensitive:!0},{token:"paren.rparen",regex:/\)\s*/,next:"pop"}],existswhere:[].concat(a,[{token:"paren.rparen",regex:/\)\s*/,next:"pop"}]),count:[{token:"paren.lparen",regex:/\(\s*/},{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:"keyword.where",regex:/where($|\s+)/,next:"countwhere",caseInsensitive:!0},{token:"paren.rparen",regex:/\)\s*/,next:"comparison"}],countwhere:[].concat(a,[{token:"paren.rparen",regex:/\)\s*/,next:"comparison"}]),order:[{token:"support.class.relation",regex:/rel/,push:"model"},{token:"keyword.other.chaining",regex:/\./},{token:["support.function.field","keyword.direction","separator"],regex:/([a-z_]+\s*)(asc|desc)?($|,|\s+)/}]};return n.$rules=W()(n.$rules,o,(function(e,n){return z()(e)?e.concat(n):void 0})),n.normalizeRules(),n}return N()(r)}(c().require("ace/mode/text_highlight_rules").TextHighlightRules)};function J(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=V()(e);if(n){var a=V()(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return M()(this,t)}}var X=function(e){I()(t,e);var n=J(t);function t(){var e;L()(this,t);return(e=n.call(this)).$rules={start:[{token:"constant.character.entity",regex:/&[^;]+;/},{token:"support.function",regex:"\\?(\\?|substring|cap_first|uncap_first|capitalize|chop_linebreak|date|time|datetime|ends_with|html|groups|index_of|j_string|js_string|json_string|last_index_of|length|lower_case|left_pad|right_pad|contains|matches|number|replace|rtf|url|split|starts_with|string|trim|upper_case|word_list|xhtml|xmlc|round|floor|ceilingiso_[a-z_]+first|last|seq_contains|seq_index_of|seq_last_index_of|reverse|size|sort|sort_by|chunkkeys|valueschildren|parent|root|ancestors|node_name|node_type|node_namespacebyte|double|float|int|long|short|number_to_date|number_to_time|number_to_datetime|eval|has_content|interpret|is_[a-z_]+|namespacenew)"},{token:"support.function.deprecated",regex:"\\?(default|exists|if_exists|web_safe)"},{token:"language.variable",regex:"\\.(?:data_model|error|globals|lang|locale|locals|main|namespace|node|current_node|now|output_encoding|template_name|url_escaping_charset|vars|version)"},{token:"constant.language",regex:"\\b(true|false)\\b"},{token:"keyword.operator",regex:"\\b(?:gt|gte|lt|lte|as|in|using)\\b"},{token:"entity.other.attribute-name",regex:"encoding|parse|locale|number_format|date_format|time_format|datetime_format|time_zone|url_escaping_charset|classic_compatible|strip_whitespace|strip_text|strict_syntax|ns_prefixes|attributes"},{token:"string",regex:/['"]/,next:"qstring"},{token:function(e){return e.match("^[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?$")?"constant.numeric":"variable"},regex:/[\w.+-]+/},{token:"keyword.operator",regex:"!|\\.|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^="},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],qstring:[{token:"constant.character.escape",regex:'\\\\[nrtvef\\\\"$]'},{token:"string",regex:/['"]/,next:"start"},{defaultToken:"string"}]},e}return N()(t)}(c().require("ace/mode/text_highlight_rules").TextHighlightRules),ee=function(e){I()(t,e);var n=J(t);function t(){var e;L()(this,t),e=n.call(this);var r=["query","queryCount"],a=[{token:"keyword.function",regex:"\\[@(".concat(r.join("|"),").*?]"),push:"tql-start"},{token:"comment",regex:"\\[#--",next:"ftl-dcomment"},{token:"string.interpolated",regex:"\\${",push:"ftl-start"},{token:"keyword.function",regex:"\\[/?#(assign|attempt|break|case|compress|default|elseif|else|escape|fallback|function|flush|ftl|global|if|import|include|list|local|lt|macro|nested|noescape|noparse|nt|recover|recurse|return|rt|setting|stop|switch|t|visit)",push:"ftl-start"},{token:"keyword.other",regex:"\\[/?@[a-zA-Z\\.]+",push:"ftl-start"}];for(var o in e.$rules)e.$rules[o].unshift.apply(e.$rules[o],a);e.embedRules(X,"ftl-",[{token:"keyword",regex:"/?\\]",next:"pop"},{token:"string.interpolated",regex:"}",next:"pop"}],["start"]),e.addRules({"ftl-dcomment":[{token:"comment",regex:"--\\]",next:"pop"},{defaultToken:"comment"}]});var i=[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}];e.embedRules(Q(),"tql-",i,["start"]);var l={"tql-rootwhere":[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}],"tql-order":[{token:"keyword.function",regex:"\\[/@(".concat(r.join("|"),")]"),next:"pop"}]};return e.$rules=W()(e.$rules,l,(function(e,n){return z()(e)?e.concat(n):void 0})),e.normalizeRules(),e}return N()(t)}(c().require("ace/mode/html_highlight_rules").HtmlHighlightRules),ne=t(6597),te=t.n(ne),re=t(53124),ae=t.n(re),oe=c().require("ace/token_iterator").TokenIterator,ie=function(e){return e?e.type.substring(e.type.lastIndexOf(".")+1):null},le=function(e,n){return ie(e.getCurrentToken())===n},ce=function(e){if(le(e,"model")&&e.stepBackward(),(le(e,"field")||le(e,"relation"))&&e.stepBackward(),!le(e,"chaining"))return null;if(e.stepBackward(),le(e,"model")){var n=e.getCurrentToken();return e.stepBackward(),e.stepBackward(),n?n.value.trim():null}return null},se=function(e,n){for(;!le(e,n);)if(!e.stepBackward())return!1;return!0},ue=function(e,n){return le(e,"rparen")?1:n>0&&le(e,"lparen")?(e.stepBackward(),-1):0},fe=function(e){for(var n=0;e.getCurrentToken();){if(0===n&&le(e,"where")){var t=e.stepBackward();return t?[t.value.trim()].concat(ae()(pe(e))):[]}if(le(e,"order_by")){if(se(e,"find")){var r=e.stepForward();return r?r.value.trim():[]}return[]}if(n+=ue(e,n),!e.stepBackward())return null}return null},de=function(e,n){for(var t=[],r=n(e);r;)Array.isArray(r)?r.forEach((function(e){return t.unshift(e)})):t.unshift(r),r=n(e);return t},pe=function(e){return de(e,ce)},me=function(e){return de(e,fe)},ge=1e3,he=function(e,n,t){var r=function(e,n){if(n){var t=me(e());return{baseModel:n,modelScope:te()(t).slice(0)}}var r=me(e()),a=te()(r);return{baseModel:a[0],modelScope:a.slice(1)}}(e,t),a=r.baseModel,o=r.modelScope;if(a){var i=pe(e()),l=[].concat(ae()(o),ae()(i)).map((function(e){return"rel".concat(e)}));(function(e){var n=te()(e),t=n[0],r=n.slice(1);return _(function(e,n){var t=n.length>0?"/resolve?path="+n.join("."):"";return"entities/".concat(e,"/model").concat(t)}(t,r)).then(R).then((function(e){if(!e)return[];var n=e.fields||[],t=e.relations||[];return[].concat(ae()(n.map((function(e){return{label:(n=e,n.label?"".concat(n.fieldName," (").concat(n.label,")"):n.fieldName),value:e.fieldName,meta:e.type};var n}))),ae()(t.map((function(e){return{label:(n=e,n.label?"".concat(n.relationName," (").concat(n.label,")"):n.relationName),value:e.relationName,meta:e.targetEntity};var n}))))}))})([a].concat(ae()(l))).then((function(e){var t=e.map((function(e){return{caption:e.label,value:e.value,meta:e.meta,score:ge}}));n(null,t)})).catch((function(e){return n(e)}))}},ve=function(e,n){return n?"".concat(e," (").concat(n,")"):e},be=function(e){return _("entities").then(R).then((function(e){return e?e.entities:{}})).then((function(e){return e?Object.values(e):[]})).then((function(e){return e.map((function(e){return e.metaData}))})).then((function(n){var t=n.map((function(e){var n=e.modelName,t=e.label;return{caption:ve(n,t),value:n,score:ge}}));e(null,t)})).catch((function(n){return e(n)}))},ye=function(){return Y.map((function(e){return e.toUpperCase()})).map((function(e){return{caption:e,value:"".concat(e,"()"),meta:"function",score:970}}))};const we=function(e){return{getCompletions:function(n,t,r,a,o){var i=function(){return new oe(t,r.row,r.column)},l=i(),c=l.getCurrentToken(),s=l.stepBackward()?l.getCurrentToken():null;switch(ie(c)){case"chaining":case"relation":case"separator":case"order_by":case"count":case"exists":case"field":case"function_arguments":he(i,o,e);break;case"where":case"conjunction":he(i,o,e),o(null,ye());break;case"nice_function":o(null,ye());break;case"find":be(o);break;case"type":case"tocco_placeholder":case"comparison":o(null,U.map((function(e){return{caption:e,value:"".concat(e,":"),meta:"type",score:980}}))),o(null,G.map((function(e){return{caption:e,value:":".concat(e),meta:"placeholder",score:990}})));break;case"model":he(i,o,e),s&&"relation"!==ie(s)&&be(o);break;case null:e&&he(i,o,e),o(null,ye())}}}};function xe(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=V()(e);if(n){var a=V()(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return M()(this,t)}}var ke=function(e){I()(t,e);var n=xe(t);function t(){var e;return L()(this,t),(e=n.call(this)).HighlightRules=ee,e.completer=we(),e}return N()(t)}(c().require("ace/mode/ftl").Mode);function Ee(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=V()(e);if(n){var a=V()(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return M()(this,t)}}var Oe,Pe=function(e){I()(t,e);var n=Ee(t);function t(e){var r,a=e.implicitModelName;return L()(this,t),(r=n.call(this)).HighlightRules=Q(a),r.completer=we(a),r.snippedIdField=null,r}return N()(t)}(c().require("ace/mode/text").Mode),Ze=S.ZP.div.withConfig({displayName:"StyledEditor"})(Oe||(Oe=i()(["\n width: 100%;\n z-index: 0; /* gutter lays over menu otherwise */\n"]))),Se={groovy:function(){return new u.Mode},html:function(){return new f.Mode},xml:function(){return new h.Mode},properties:function(){return new m.Mode},json:function(){return new d.Mode},htmlmixed:function(){return new ke},freemarkermixed:function(){return new ke},ftl:function(){return new ke},tql:function(e){return new Pe(e)},less:function(){return new p.Mode},drools:function(){return new s.Mode},text:function(){return new g.Mode}},Ce=function(e,n){var t=n.mode,r=n.theme,o=n.showGutter,i=n.editorOptions,l=void 0===i?{}:i;(function(e){return O()(e)?Promise.resolve(e):k()(e)?_("entities/2.0/".concat(e.entityModel,"/").concat(e.key,"?_paths=").concat(e.field)).then(R).then((function(e){return b()(e,["paths","entity_name","value"],null)})):Promise.resolve(null)})(n.implicitModel).then((function(e){return function(e,n){return b()(Se,e,e)(n)}(t,{implicitModelName:e})})).then((function(n){return e.getSession().setMode(n)})),e.setTheme("ace/theme/".concat(r)),Object.entries(l).forEach((function(n){var t=a()(n,2),r=t[0],o=t[1];e.setOption(r,o)})),e.renderer.setShowGutter(o),e.resize()};const _e=function(e){var n=e.mode,t=e.theme,r=void 0===t?"textmate":t,a=e.value,o=e.onChange,i=e.showGutter,l=void 0===i||i,s=e.editorOptions,u=void 0===s?{}:s,f=e.implicitModel,d=(0,P.useRef)(null),p=(0,P.useRef)(null),m=(0,P.useMemo)((function(){return{mode:n,theme:r,showGutter:l,editorOptions:u,implicitModel:f}}),[n,r,l,u,f]);return(0,P.useEffect)((function(){var e=c().edit(d.current);return e.getSession().setValue(a||""),e.on("change",(function(){return o(e.getValue())})),Ce(e,m),p.current=e,function(){return e.destroy()}}),[]),(0,P.useEffect)((function(){p.current&&Ce(p.current,m)}),[m]),(0,P.useEffect)((function(){p.current&&!w()(a)&&a!==p.current.getValue()&&p.current.getSession().setValue(a)}),[a]),Z().createElement(Ze,{ref:d})}},5711:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>V});var r=t(43950),a=t.n(r),o=t(88265),i=t.n(o),l=t(22824),c=t.n(l),s=(t(46444),t(1024)),u=t.n(s),f=t(74806),d=t(29163),p=t(2091),m=(t(66991),t(29214)),g=t(57413),h=t(53528),v=t(36258),b=t(35997),y=t(70696);function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function x(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?w(Object(t),!0).forEach((function(n){i()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var k,E,O,P,Z={"de-CH":g.German,de:g.German,fr:h.French,it:v.Italian},S=function(e){return function(n){n&&n.length>0?e(n[0].toISOString()):e(null)}},C=function(e,n){var t=n.value,r=n.locale,a=n.flatpickrOptions,o=(0,s.useRef)(null),i=b.Z.usePrevious(a);return(0,s.useEffect)((function(){return function(){o.current&&o.current.destroy()}}),[]),(0,s.useEffect)((function(){o.current&&(o.current.setDate(t,!1),o.current.redraw())}),[JSON.stringify(t)]),(0,s.useEffect)((function(){var e,n,t=Z[r]||(null===(e=o.current)||void 0===e||null===(n=e.l10ns)||void 0===n?void 0:n.en);o.current&&t&&(o.current.localize(t),o.current.set("locale",t),o.current.redraw())}),[r]),(0,s.useEffect)((function(){if(o.current){var e=y.Z.difference(a,i);Object.keys(e).length>0&&(Object.entries(e).forEach((function(e){var n=c()(e,2),t=n[0],r=n[1];o.current.set(t,r)})),o.current.redraw())}}),[a]),function(){return o.current=function(e,n){var t=n.shouldAppend,r=n.onChange,a=n.value,o=n.fontFamily,i=n.locale,l=n.flatpickrOptions,c=Z[i],s=x(x(x({wrap:!0,onChange:S(r),altInput:!1,enableTime:!1,defaultDate:a},t?{appendTo:e.current,static:!0}:{}),c?{locale:c}:{}),l),u=(0,m.Z)(e.current,s);return o&&(u.calendarContainer.style.fontFamily=o),u}(e,n),o.current}},_=t(88601),R=t(86048),j=t.n(R),N=t(40953),D=t(51032),L=d.ZP.input.withConfig({displayName:"StyledDatePickerInput"})(k||(k=j()(["\n &&& {\n ","\n margin: 0;\n }\n"])),D.k9),T=d.ZP.div.withConfig({displayName:"StyledDatePickerValue"})(E||(E=j()(["\n && {\n ","\n display: flex;\n align-items: center;\n ","\n }\n"])),D.k9,(function(e){return!e.hasValue&&"\n justify-content: center;\n color: ".concat(N.v.shade1(e),";\n ")})),I=d.ZP.div.withConfig({displayName:"StyledDatePickerOuterWrapper"})(O||(O=j()(["\n outline: ",";\n"])),(function(e){return e.immutable?0:"initial"})),A=d.ZP.div.withConfig({displayName:"StyledDatePickerWrapper"})(P||(P=j()(["\n && {\n ","\n\n input {\n display: ",";\n\n &:last-of-type {\n display: ",";\n }\n }\n }\n"])),D.yP,(function(e){return e.immutable?"none":"block"}),(function(e){return e.immutable?"block":"none"}));function M(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}var F=function(e){var n=e.querySelector('input.flatpickr-input:not([type="hidden"])');n&&n.focus()};const V=(0,d.Zz)((0,f.ZP)((function(e){var n,t,r=e.immutable,o=e.id,l=e.options,f=e.value,d=e.onChange,m=e.formatDate,g=e.intl,h=e.placeholder,v=(0,s.useState)(!1),b=c()(v,2),y=b[0],w=b[1],x=(0,s.useRef)(null),k=(0,s.useRef)(null),E=g.locale,O=_.Z.fontFamily("regular")(e),P=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?M(Object(t),!0).forEach((function(n){i()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):M(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({altInput:!0,altInputClass:"",clickOpens:!r},l?l.flatpickrOptions:{}),Z=C(k,{value:f,onChange:function(e){e&&d([e])},fontFamily:O,locale:E,flatpickrOptions:P}),S=(null===(n=x.current)||void 0===n||null===(t=n.altInput)||void 0===t?void 0:t.value)||"",R=function(){y?F(k.current):(x.current=Z(),x.current.calendarContainer.classList.add("tocco-ui-theme"),x.current.calendarContainer.addEventListener("keydown",j),w(!0),setTimeout((function(){F(k.current)})))},j=function(e){(e.target.classList.contains("flatpickr-hour")||"Tab"!==e.key||e.shiftKey)&&"Enter"!==e.key||setTimeout((function(){x.current.close()})),"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())},N=f&&f.length>0&&f.every((function(e){return e}));return u().createElement(u().Fragment,null,u().createElement(I,{immutable:r,id:o,tabIndex:"-1",onFocus:function(){R(),x.current&&x.current.open()},onKeyDown:j},u().createElement(A,{"data-wrap":!0,immutable:r,ref:k},u().createElement(L,a()({},r?{disabled:"disabled"}:{},{type:"hidden","data-input":!0,immutable:r,className:"flatpickr-input",placeholder:h})),!y&&u().createElement(T,{tabIndex:0,hasValue:N},N?m(f[0]):h),u().createElement(L,{disabled:!0,immutable:r,value:S,placeholder:h}),!r&&N&&u().createElement(p.Z,{icon:"times",tabIndex:-1,"aria-label":function(e){return g.formatMessage({id:e})}("client.component.dateAbstract.clearDateLabel"),onMouseDown:function(e){e.preventDefault(),d(null)}}))))})))},59178:(e,n,t)=>{"use strict";t.r(n),t.d(n,{Icon:()=>_,default:()=>R});var r,a=t(43950),o=t.n(a),i=t(46444),l=t.n(i),c=t(1024),s=t.n(c),u=t(51400),f=t(99245),d=t(68019),p=t(70457),m=t(30963),g=t(32884),h=t.n(g),v=t(86048),b=t.n(v),y=t(29163).ZP.span.withConfig({displayName:"StyledFontAwesomeAdapterWrapper"})(r||(r=b()([""])));u.vI.add(d.C65,d.kJo,d._tD,d.A35,d.mTx,d.ptq,d.g4A,d.r8p,d.Pk,d.g9M,d.Tab,p.Tab,d.NBC,d.eFW,d.acZ,d.gMD,d.cwv,d.w49,d.fUD,d.icc,d.ca9,d.Vmj,d.gSj,d.WFE,d.hQn,d.LEp,d.WV2,d.diR,d.f8k,f.xYR,f.neY,f.AYu,f.kBj,f.hVS,f.dc_,f.Av$,d.xiG,d.gJF,d.j1w,d.WKO,d.wn1,d.b7W,d.YHc,d.ZC5,d.UO1,p.Fyj,d.Qj4,d.FL8,d.foy,d.u9C,d.Fuz,d.iV1,d.Kl4,d.nYk,d.sqG,d.RLE,d.$aW,d.Zrf,d.pL1,d.qmU,d.nek,d.Qy6,p.pL1,d.hVM,d.yOf,d.Xgz,d.Mzg,d.r6l,d.IwR,p.Alc,d.dLO,d.ntl,d.Hw7,d.FYs,d.$36,d.Ry6,d.C3l,d.a1i,d.IeV,d.A8,d.hG5,d.FVb,d.AxY,d.mAj,d.hGM,d.UkD,d.BDt,d.QzV,d.py1,d.cf$,d.byT,d.dT$,d.G_j,d.A4);var w=function(e){var n=e.icon,t=e.style,r=e.hasFixedWidth;return s().createElement(y,null,s().createElement(m.G,o()({icon:n.includes(",")?n.replace(/\s+/,"").split(","):n,style:t},h()(t,"color")&&{color:t.color},{fixedWidth:r})))};w.defaultProps={hasFixedWidth:!0};const x=w,k=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"]},"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-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"]},"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"]},"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"]},"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"},"list":{"id":"fal, list","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"},"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"},"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"},"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"}}');var E,O,P={logo:function(e){return s().createElement("svg",o()({height:h()(e,"fontSize",20)},e,{"aria-hidden":"true",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}),E||(E=s().createElement("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){return s().createElement("svg",o()({height:h()(e,"fontSize",20)},e,{"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"}),O||(O=s().createElement("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 n=e.icon,t=e.style;return P[n](t)};Z.propTypes={icon:l().string.isRequired,style:l().object};const S=Z;var C={fa:function(e,n){return s().createElement(x,o()({},n,{icon:e.id}))},toc:function(e,n){return s().createElement(S,o()({},n,{icon:e.id}))}},_=function(e){var n=k[e.icon];if(!n)return null;var t=C[n.lib];return t?t(n,e):null};_.propTypes={icon:l().string.isRequired,style:l().objectOf(l().string)};const R=_},81251:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>s});var r=t(43950),a=t.n(r),o=t(70457),i=t(30963),l=(t(46444),t(1024)),c=t.n(l);const s=function(e){var n=e.size,t=e.style;return c().createElement(i.G,a()({},t,{style:{fontSize:n},spin:!0,icon:o.IJ7}))}},126:(e,n,t)=>{"use strict";var r=t(51235);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,n,t,a,o,i){if(i!==r){var l=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 l.name="Invariant Violation",l}}function n(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:a};return t.PropTypes=t,t}},94662:(e,n,t)=>{e.exports=t(126)()},51235:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
|