@gangtaan/karavan-designer 3.21.2
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/dist/App.d.ts +30 -0
- package/dist/DesignerPage.d.ts +22 -0
- package/dist/components/.gitignore +4 -0
- package/dist/designer/KaravanDesigner.d.ts +35 -0
- package/dist/designer/beans/BeanCard.d.ts +17 -0
- package/dist/designer/beans/BeanProperties.d.ts +41 -0
- package/dist/designer/beans/BeansDesigner.d.ts +31 -0
- package/dist/designer/rest/RestCard.d.ts +19 -0
- package/dist/designer/rest/RestConfigurationCard.d.ts +22 -0
- package/dist/designer/rest/RestDesigner.d.ts +43 -0
- package/dist/designer/rest/RestMethodCard.d.ts +21 -0
- package/dist/designer/rest/RestMethodSelector.d.ts +17 -0
- package/dist/designer/route/DslConnections.d.ts +40 -0
- package/dist/designer/route/DslElement.d.ts +63 -0
- package/dist/designer/route/DslProperties.d.ts +38 -0
- package/dist/designer/route/DslSelector.d.ts +30 -0
- package/dist/designer/route/RouteDesigner.d.ts +48 -0
- package/dist/designer/route/RouteDesignerLogic.d.ts +39 -0
- package/dist/designer/route/property/ComponentParameterField.d.ts +41 -0
- package/dist/designer/route/property/DataFormatField.d.ts +29 -0
- package/dist/designer/route/property/DslPropertyField.d.ts +74 -0
- package/dist/designer/route/property/ExpressionField.d.ts +27 -0
- package/dist/designer/route/property/KameletPropertyField.d.ts +29 -0
- package/dist/designer/route/property/KubernetesSelector.d.ts +26 -0
- package/dist/designer/route/property/ModalEditor.d.ts +24 -0
- package/dist/designer/route/property/ObjectField.d.ts +25 -0
- package/dist/designer/templates/TemplatesDesigner.d.ts +21 -0
- package/dist/designer/utils/CamelUi.d.ts +53 -0
- package/dist/designer/utils/DslMetaModel.d.ts +42 -0
- package/dist/designer/utils/EventBus.d.ts +24 -0
- package/dist/designer/utils/KaravanComponents.d.ts +10 -0
- package/dist/designer/utils/KaravanIcons.d.ts +29 -0
- package/dist/designer/utils/KubernetesAPI.d.ts +9 -0
- package/dist/designer/utils/MediaTypes.d.ts +1 -0
- package/dist/eip/EipCard.d.ts +16 -0
- package/dist/eip/EipModal.d.ts +18 -0
- package/dist/eip/EipPage.d.ts +21 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.cjs +60 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.html +14 -0
- package/dist/index.js +26735 -0
- package/dist/index.js.map +1 -0
- package/dist/kamelets/.gitignore +4 -0
- package/dist/lib/KaravanWrapper.d.ts +5 -0
- package/dist/lib/index.d.ts +5 -0
- package/dist/manifest.json +25 -0
- package/dist/robots.txt +3 -0
- package/dist/snippets/org.apache.camel.AggregationStrategy +22 -0
- package/dist/snippets/org.apache.camel.Processor +14 -0
- package/dist/style.css +1 -0
- package/package.json +88 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),H=require("react"),xs=require("react-dom");function Ed(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const i in t)if(i!=="default"){const n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:()=>t[i]})}}return e.default=t,Object.freeze(e)}const d=Ed(H),xn=Ed(xs);var Vo=function(t,e){return Vo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(i[s]=n[s])},Vo(t,e)};function Cn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Vo(t,e);function i(){this.constructor=t}t.prototype=e===null?Object.create(e):(i.prototype=e.prototype,new i)}var Xo=function(){return Xo=Object.assign||function(e){for(var i,n=1,s=arguments.length;n<s;n++){i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},Xo.apply(this,arguments)};function B(t,e){var i={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(i[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,n=Object.getOwnPropertySymbols(t);s<n.length;s++)e.indexOf(n[s])<0&&Object.prototype.propertyIsEnumerable.call(t,n[s])&&(i[n[s]]=t[n[s]]);return i}function yh(t,e,i,n){var s=arguments.length,r=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,n);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(r=(s<3?a(r):s>3?a(e,i,r):a(e,i))||r);return s>3&&r&&Object.defineProperty(e,i,r),r}function bh(t,e){return function(i,n){e(i,n,t)}}function wh(t,e,i,n,s,r){function a(D){if(D!==void 0&&typeof D!="function")throw new TypeError("Function expected");return D}for(var o=n.kind,l=o==="getter"?"get":o==="setter"?"set":"value",c=!e&&t?n.static?t:t.prototype:null,f=e||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),h,p=!1,g=i.length-1;g>=0;g--){var y={};for(var b in n)y[b]=b==="access"?{}:n[b];for(var b in n.access)y.access[b]=n.access[b];y.addInitializer=function(D){if(p)throw new TypeError("Cannot add initializers after decoration has completed");r.push(a(D||null))};var w=(0,i[g])(o==="accessor"?{get:f.get,set:f.set}:f[l],y);if(o==="accessor"){if(w===void 0)continue;if(w===null||typeof w!="object")throw new TypeError("Object expected");(h=a(w.get))&&(f.get=h),(h=a(w.set))&&(f.set=h),(h=a(w.init))&&s.push(h)}else(h=a(w))&&(o==="field"?s.push(h):f[l]=h)}c&&Object.defineProperty(c,n.name,f),p=!0}function Dh(t,e,i){for(var n=arguments.length>2,s=0;s<e.length;s++)i=n?e[s].call(t,i):e[s].call(t);return n?i:void 0}function xh(t){return typeof t=="symbol"?t:"".concat(t)}function Ch(t,e,i){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:i?"".concat(i," ",e):e})}function Sh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function Eh(t,e,i,n){function s(r){return r instanceof i?r:new i(function(a){a(r)})}return new(i||(i=Promise))(function(r,a){function o(f){try{c(n.next(f))}catch(h){a(h)}}function l(f){try{c(n.throw(f))}catch(h){a(h)}}function c(f){f.done?r(f.value):s(f.value).then(o,l)}c((n=n.apply(t,e||[])).next())})}function Th(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,s,r,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(c){return function(f){return l([c,f])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,s&&(r=c[0]&2?s.return:c[0]?s.throw||((r=s.return)&&r.call(s),0):s.next)&&!(r=r.call(s,c[1])).done)return r;switch(s=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,s=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(r=i.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){i.label=c[1];break}if(c[0]===6&&i.label<r[1]){i.label=r[1],r=c;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(c);break}r[2]&&i.ops.pop(),i.trys.pop();continue}c=e.call(t,i)}catch(f){c=[6,f],s=0}finally{n=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Cs=Object.create?function(t,e,i,n){n===void 0&&(n=i);var s=Object.getOwnPropertyDescriptor(e,i);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(t,n,s)}:function(t,e,i,n){n===void 0&&(n=i),t[n]=e[i]};function Fh(t,e){for(var i in t)i!=="default"&&!Object.prototype.hasOwnProperty.call(e,i)&&Cs(e,t,i)}function pa(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],n=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function sn(t,e){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var n=i.call(t),s,r=[],a;try{for(;(e===void 0||e-- >0)&&!(s=n.next()).done;)r.push(s.value)}catch(o){a={error:o}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(a)throw a.error}}return r}function Oh(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(sn(arguments[e]));return t}function Mh(){for(var t=0,e=0,i=arguments.length;e<i;e++)t+=arguments[e].length;for(var n=Array(t),s=0,e=0;e<i;e++)for(var r=arguments[e],a=0,o=r.length;a<o;a++,s++)n[s]=r[a];return n}function or(t,e,i){if(i||arguments.length===2)for(var n=0,s=e.length,r;n<s;n++)(r||!(n in e))&&(r||(r=Array.prototype.slice.call(e,0,n)),r[n]=e[n]);return t.concat(r||Array.prototype.slice.call(e))}function ln(t){return this instanceof ln?(this.v=t,this):new ln(t)}function Ah(t,e,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(t,e||[]),s,r=[];return s={},a("next"),a("throw"),a("return"),s[Symbol.asyncIterator]=function(){return this},s;function a(p){n[p]&&(s[p]=function(g){return new Promise(function(y,b){r.push([p,g,y,b])>1||o(p,g)})})}function o(p,g){try{l(n[p](g))}catch(y){h(r[0][3],y)}}function l(p){p.value instanceof ln?Promise.resolve(p.value.v).then(c,f):h(r[0][2],p)}function c(p){o("next",p)}function f(p){o("throw",p)}function h(p,g){p(g),r.shift(),r.length&&o(r[0][0],r[0][1])}}function Ih(t){var e,i;return e={},n("next"),n("throw",function(s){throw s}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(s,r){e[s]=t[s]?function(a){return(i=!i)?{value:ln(t[s](a)),done:!1}:r?r(a):a}:r}}function kh(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],i;return e?e.call(t):(t=typeof pa=="function"?pa(t):t[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(r){i[r]=t[r]&&function(a){return new Promise(function(o,l){a=t[r](a),s(o,l,a.done,a.value)})}}function s(r,a,o,l){Promise.resolve(l).then(function(c){r({value:c,done:o})},a)}}function Rh(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var jh=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function Ph(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i in t)i!=="default"&&Object.prototype.hasOwnProperty.call(t,i)&&Cs(e,t,i);return jh(e,t),e}function Lh(t){return t&&t.__esModule?t:{default:t}}function Nh(t,e,i,n){if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?n:i==="a"?n.call(t):n?n.value:e.get(t)}function Bh(t,e,i,n,s){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?s.call(t,i):s?s.value=i:e.set(t,i),i}function _h(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}const zh=Object.freeze(Object.defineProperty({__proto__:null,get __assign(){return Xo},__asyncDelegator:Ih,__asyncGenerator:Ah,__asyncValues:kh,__await:ln,__awaiter:Eh,__classPrivateFieldGet:Nh,__classPrivateFieldIn:_h,__classPrivateFieldSet:Bh,__createBinding:Cs,__decorate:yh,__esDecorate:wh,__exportStar:Fh,__extends:Cn,__generator:Th,__importDefault:Lh,__importStar:Ph,__makeTemplateObject:Rh,__metadata:Sh,__param:bh,__propKey:xh,__read:sn,__rest:B,__runInitializers:Dh,__setFunctionName:Ch,__spread:Oh,__spreadArray:or,__spreadArrays:Mh,__values:pa},Symbol.toStringTag,{value:"Module"}));function x(...t){const e=[],i={}.hasOwnProperty;return t.filter(Boolean).forEach(n=>{const s=typeof n;if(s==="string"||s==="number")e.push(n);else if(Array.isArray(n)&&n.length){const r=x(...n);r&&e.push(r)}else if(s==="object")for(const r in n)i.call(n,r)&&n[r]&&e.push(r)}),e.join(" ")}const oa={backdrop:"pf-c-backdrop",backdropOpen:"pf-c-backdrop__open"},Hh={value:"576px"},Td={value:"768px"},Fd={value:"992px"},Od={value:"1200px"},Md={value:"1450px"},Wh={value:"0"},Uh={value:"40rem"},Vh={value:"48rem"},Xh={value:"60rem"},Jh={value:"80rem"},Pa={UP:"up",DOWN:"down",RIGHT:"right",LEFT:"left"};var Se;(function(t){t.success="success",t.error="error",t.warning="warning",t.default="default"})(Se||(Se={}));const ye={Tab:"Tab",Space:" ",Escape:"Escape",Enter:"Enter",ArrowUp:"ArrowUp",ArrowDown:"ArrowDown",ArrowLeft:"ArrowLeft",ArrowRight:"ArrowRight"},La={sm:parseInt(Hh.value),md:parseInt(Td.value),lg:parseInt(Fd.value),xl:parseInt(Od.value),"2xl":parseInt(Md.value)},Na={sm:parseInt(Wh.value),md:parseInt(Uh.value),lg:parseInt(Vh.value),xl:parseInt(Xh.value),"2xl":parseInt(Jh.value)};/*!
|
|
2
|
+
* tabbable 5.3.3
|
|
3
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
+
*/var Ad=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],sr=Ad.join(","),Id=typeof Element>"u",Kt=Id?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Jo=!Id&&Element.prototype.getRootNode?function(t){return t.getRootNode()}:function(t){return t.ownerDocument},kd=function(e,i,n){var s=Array.prototype.slice.apply(e.querySelectorAll(sr));return i&&Kt.call(e,sr)&&s.unshift(e),s=s.filter(n),s},Rd=function t(e,i,n){for(var s=[],r=Array.from(e);r.length;){var a=r.shift();if(a.tagName==="SLOT"){var o=a.assignedElements(),l=o.length?o:a.children,c=t(l,!0,n);n.flatten?s.push.apply(s,c):s.push({scope:a,candidates:c})}else{var f=Kt.call(a,sr);f&&n.filter(a)&&(i||!e.includes(a))&&s.push(a);var h=a.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(a),p=!n.shadowRootFilter||n.shadowRootFilter(a);if(h&&p){var g=t(h===!0?a.children:h.children,!0,n);n.flatten?s.push.apply(s,g):s.push({scope:a,candidates:g})}else r.unshift.apply(r,a.children)}}return s},jd=function(e,i){return e.tabIndex<0&&(i||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},Gh=function(e,i){return e.tabIndex===i.tabIndex?e.documentOrder-i.documentOrder:e.tabIndex-i.tabIndex},Pd=function(e){return e.tagName==="INPUT"},Kh=function(e){return Pd(e)&&e.type==="hidden"},qh=function(e){var i=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return i},$h=function(e,i){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===i)return e[n]},Yh=function(e){if(!e.name)return!0;var i=e.form||Jo(e),n=function(o){return i.querySelectorAll('input[type="radio"][name="'+o+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=n(window.CSS.escape(e.name));else try{s=n(e.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var r=$h(s,e.form);return!r||r===e},Zh=function(e){return Pd(e)&&e.type==="radio"},Qh=function(e){return Zh(e)&&!Yh(e)},Al=function(e){var i=e.getBoundingClientRect(),n=i.width,s=i.height;return n===0&&s===0},eg=function(e,i){var n=i.displayCheck,s=i.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var r=Kt.call(e,"details>summary:first-of-type"),a=r?e.parentElement:e;if(Kt.call(a,"details:not([open]) *"))return!0;var o=Jo(e).host,l=(o==null?void 0:o.ownerDocument.contains(o))||e.ownerDocument.contains(e);if(!n||n==="full"){if(typeof s=="function"){for(var c=e;e;){var f=e.parentElement,h=Jo(e);if(f&&!f.shadowRoot&&s(f)===!0)return Al(e);e.assignedSlot?e=e.assignedSlot:!f&&h!==e.ownerDocument?e=h.host:e=f}e=c}if(l)return!e.getClientRects().length}else if(n==="non-zero-area")return Al(e);return!1},ig=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var i=e.parentElement;i;){if(i.tagName==="FIELDSET"&&i.disabled){for(var n=0;n<i.children.length;n++){var s=i.children.item(n);if(s.tagName==="LEGEND")return Kt.call(i,"fieldset[disabled] *")?!0:!s.contains(e)}return!0}i=i.parentElement}return!1},lr=function(e,i){return!(i.disabled||Kh(i)||eg(i,e)||qh(i)||ig(i))},Go=function(e,i){return!(Qh(i)||jd(i)<0||!lr(e,i))},tg=function(e){var i=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(i)||i>=0)},ag=function t(e){var i=[],n=[];return e.forEach(function(s,r){var a=!!s.scope,o=a?s.scope:s,l=jd(o,a),c=a?t(s.candidates):o;l===0?a?i.push.apply(i,c):i.push(o):n.push({documentOrder:r,tabIndex:l,item:s,isScope:a,content:c})}),n.sort(Gh).reduce(function(s,r){return r.isScope?s.push.apply(s,r.content):s.push(r.content),s},[]).concat(i)},ng=function(e,i){i=i||{};var n;return i.getShadowRoot?n=Rd([e],i.includeContainer,{filter:Go.bind(null,i),flatten:!1,getShadowRoot:i.getShadowRoot,shadowRootFilter:tg}):n=kd(e,i.includeContainer,Go.bind(null,i)),ag(n)},rg=function(e,i){i=i||{};var n;return i.getShadowRoot?n=Rd([e],i.includeContainer,{filter:lr.bind(null,i),flatten:!0,getShadowRoot:i.getShadowRoot}):n=kd(e,i.includeContainer,lr.bind(null,i)),n},zn=function(e,i){if(i=i||{},!e)throw new Error("No node provided");return Kt.call(e,sr)===!1?!1:Go(i,e)},og=Ad.concat("iframe").join(","),bo=function(e,i){if(i=i||{},!e)throw new Error("No node provided");return Kt.call(e,og)===!1?!1:lr(i,e)};/*!
|
|
5
|
+
* focus-trap 6.9.2
|
|
6
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
+
*/function Il(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),i.push.apply(i,n)}return i}function kl(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?Il(Object(i),!0).forEach(function(n){sg(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Il(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function sg(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var Rl=function(){var t=[];return{activateTrap:function(i){if(t.length>0){var n=t[t.length-1];n!==i&&n.pause()}var s=t.indexOf(i);s===-1||t.splice(s,1),t.push(i)},deactivateTrap:function(i){var n=t.indexOf(i);n!==-1&&t.splice(n,1),t.length>0&&t[t.length-1].unpause()}}}(),lg=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},cg=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},dg=function(e){return e.key==="Tab"||e.keyCode===9},jl=function(e){return setTimeout(e,0)},Pl=function(e,i){var n=-1;return e.every(function(s,r){return i(s)?(n=r,!1):!0}),n},Ba=function(e){for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];return typeof e=="function"?e.apply(void 0,n):e},Hn=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},fg=function(e,i){var n=(i==null?void 0:i.document)||document,s=kl({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},i),r={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a,o=function(C,S,k){return C&&C[S]!==void 0?C[S]:s[k||S]},l=function(C){return r.containerGroups.findIndex(function(S){var k=S.container,P=S.tabbableNodes;return k.contains(C)||P.find(function(j){return j===C})})},c=function(C){var S=s[C];if(typeof S=="function"){for(var k=arguments.length,P=new Array(k>1?k-1:0),j=1;j<k;j++)P[j-1]=arguments[j];S=S.apply(void 0,P)}if(S===!0&&(S=void 0),!S){if(S===void 0||S===!1)return S;throw new Error("`".concat(C,"` was specified but was not a node, or did not return a node"))}var L=S;if(typeof S=="string"&&(L=n.querySelector(S),!L))throw new Error("`".concat(C,"` as selector refers to no known node"));return L},f=function(){var C=c("initialFocus");if(C===!1)return!1;if(C===void 0)if(l(n.activeElement)>=0)C=n.activeElement;else{var S=r.tabbableGroups[0],k=S&&S.firstTabbableNode;C=k||c("fallbackFocus")}if(!C)throw new Error("Your focus-trap needs to have at least one focusable element");return C},h=function(){if(r.containerGroups=r.containers.map(function(C){var S=ng(C,s.tabbableOptions),k=rg(C,s.tabbableOptions);return{container:C,tabbableNodes:S,focusableNodes:k,firstTabbableNode:S.length>0?S[0]:null,lastTabbableNode:S.length>0?S[S.length-1]:null,nextTabbableNode:function(j){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,_=k.findIndex(function(U){return U===j});if(!(_<0))return L?k.slice(_+1).find(function(U){return zn(U,s.tabbableOptions)}):k.slice(0,_).reverse().find(function(U){return zn(U,s.tabbableOptions)})}}}),r.tabbableGroups=r.containerGroups.filter(function(C){return C.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},p=function A(C){if(C!==!1&&C!==n.activeElement){if(!C||!C.focus){A(f());return}C.focus({preventScroll:!!s.preventScroll}),r.mostRecentlyFocusedNode=C,lg(C)&&C.select()}},g=function(C){var S=c("setReturnFocus",C);return S||(S===!1?!1:C)},y=function(C){var S=Hn(C);if(!(l(S)>=0)){if(Ba(s.clickOutsideDeactivates,C)){a.deactivate({returnFocus:s.returnFocusOnDeactivate&&!bo(S,s.tabbableOptions)});return}Ba(s.allowOutsideClick,C)||C.preventDefault()}},b=function(C){var S=Hn(C),k=l(S)>=0;k||S instanceof Document?k&&(r.mostRecentlyFocusedNode=S):(C.stopImmediatePropagation(),p(r.mostRecentlyFocusedNode||f()))},w=function(C){var S=Hn(C);h();var k=null;if(r.tabbableGroups.length>0){var P=l(S),j=P>=0?r.containerGroups[P]:void 0;if(P<0)C.shiftKey?k=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:k=r.tabbableGroups[0].firstTabbableNode;else if(C.shiftKey){var L=Pl(r.tabbableGroups,function(Y){var ee=Y.firstTabbableNode;return S===ee});if(L<0&&(j.container===S||bo(S,s.tabbableOptions)&&!zn(S,s.tabbableOptions)&&!j.nextTabbableNode(S,!1))&&(L=P),L>=0){var _=L===0?r.tabbableGroups.length-1:L-1,U=r.tabbableGroups[_];k=U.lastTabbableNode}}else{var W=Pl(r.tabbableGroups,function(Y){var ee=Y.lastTabbableNode;return S===ee});if(W<0&&(j.container===S||bo(S,s.tabbableOptions)&&!zn(S,s.tabbableOptions)&&!j.nextTabbableNode(S))&&(W=P),W>=0){var N=W===r.tabbableGroups.length-1?0:W+1,X=r.tabbableGroups[N];k=X.firstTabbableNode}}}else k=c("fallbackFocus");k&&(C.preventDefault(),p(k))},D=function(C){if(cg(C)&&Ba(s.escapeDeactivates,C)!==!1){C.preventDefault(),a.deactivate();return}if(dg(C)){w(C);return}},O=function(C){var S=Hn(C);l(S)>=0||Ba(s.clickOutsideDeactivates,C)||Ba(s.allowOutsideClick,C)||(C.preventDefault(),C.stopImmediatePropagation())},M=function(){if(r.active)return Rl.activateTrap(a),r.delayInitialFocusTimer=s.delayInitialFocus?jl(function(){p(f())}):p(f()),n.addEventListener("focusin",b,!0),n.addEventListener("mousedown",y,{capture:!0,passive:!1}),n.addEventListener("touchstart",y,{capture:!0,passive:!1}),n.addEventListener("click",O,{capture:!0,passive:!1}),n.addEventListener("keydown",D,{capture:!0,passive:!1}),a},R=function(){if(r.active)return n.removeEventListener("focusin",b,!0),n.removeEventListener("mousedown",y,!0),n.removeEventListener("touchstart",y,!0),n.removeEventListener("click",O,!0),n.removeEventListener("keydown",D,!0),a};return a={get active(){return r.active},get paused(){return r.paused},activate:function(C){if(r.active)return this;var S=o(C,"onActivate"),k=o(C,"onPostActivate"),P=o(C,"checkCanFocusTrap");P||h(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=n.activeElement,S&&S();var j=function(){P&&h(),M(),k&&k()};return P?(P(r.containers.concat()).then(j,j),this):(j(),this)},deactivate:function(C){if(!r.active)return this;var S=kl({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},C);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,R(),r.active=!1,r.paused=!1,Rl.deactivateTrap(a);var k=o(S,"onDeactivate"),P=o(S,"onPostDeactivate"),j=o(S,"checkCanReturnFocus"),L=o(S,"returnFocus","returnFocusOnDeactivate");k&&k();var _=function(){jl(function(){L&&p(g(r.nodeFocusedBeforeActivation)),P&&P()})};return L&&j?(j(g(r.nodeFocusedBeforeActivation)).then(_,_),this):(_(),this)},pause:function(){return r.paused||!r.active?this:(r.paused=!0,R(),this)},unpause:function(){return!r.paused||!r.active?this:(r.paused=!1,h(),M(),this)},updateContainerElements:function(C){var S=[].concat(C).filter(Boolean);return r.containers=S.map(function(k){return typeof k=="string"?n.querySelector(k):k}),r.active&&h(),this}},a.updateContainerElements(e),a};class Ss extends d.Component{constructor(e){super(e),this.divRef=this.props.innerRef||d.createRef(),typeof document<"u"&&(this.previouslyFocusedElement=document.activeElement)}componentDidMount(){this.focusTrap=fg(this.divRef.current,Object.assign(Object.assign({},this.props.focusTrapOptions),{returnFocusOnDeactivate:!1})),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()}componentDidUpdate(e){e.active&&!this.props.active?this.focusTrap.deactivate():!e.active&&this.props.active&&this.focusTrap.activate(),e.paused&&!this.props.paused?this.focusTrap.unpause():!e.paused&&this.props.paused&&this.focusTrap.pause()}componentWillUnmount(){this.focusTrap.deactivate(),this.props.focusTrapOptions.returnFocusOnDeactivate!==!1&&this.previouslyFocusedElement&&this.previouslyFocusedElement.focus&&this.previouslyFocusedElement.focus({preventScroll:this.props.preventScrollOnDeactivate})}render(){const e=this.props,{children:i,className:n,focusTrapOptions:s,active:r,paused:a,preventScrollOnDeactivate:o,innerRef:l}=e,c=B(e,["children","className","focusTrapOptions","active","paused","preventScrollOnDeactivate","innerRef"]);return d.createElement("div",Object.assign({ref:this.divRef,className:n},c),i)}}Ss.displayName="FocusTrap";Ss.defaultProps={active:!0,paused:!1,focusTrapOptions:{},preventScrollOnDeactivate:!1};const Ld=d.forwardRef((t,e)=>d.createElement(Ss,Object.assign({innerRef:e},t)));let ug=0;class tt extends d.Component{constructor(){super(...arguments),this.id=`${this.props.prefix}${ug++}`}render(){return this.props.children(this.id)}}tt.displayName="GenerateId";tt.defaultProps={prefix:"pf-random-id-"};const Nd="*";let pg=0;const Ll="OUIA-Generated-",wo={};function ci(t,e,i=!0){return{"data-ouia-component-type":`PF4/${t}`,"data-ouia-safe":i,"data-ouia-component-id":e}}const jt=(t,e,i=!0,n)=>({"data-ouia-component-type":`PF4/${t}`,"data-ouia-safe":i,"data-ouia-component-id":Bd(t,e,n)}),Bd=(t,e,i)=>{const n=H.useMemo(()=>Wi(t,i),[t,i]);return e??n};function Wi(t,e){try{let i;return typeof window<"u"?i=`${window.location.href}-${t}-${e||""}`:i=`${t}-${e||""}`,wo[i]||(wo[i]=0),`${Ll}${t}-${e?`${e}-`:""}${++wo[i]}`}catch{return`${Ll}${t}-${e?`${e}-`:""}${++pg}`}}function _d(t){return t[0].toUpperCase()+t.substring(1)}function Br(t="pf"){const e=new Date().getTime()+Math.random().toString(36).slice(2);return`${t}-${e}`}function hg(t,e){let i;return(...n)=>{clearTimeout(i),i=setTimeout(()=>t.apply(this,n),e)}}function _a(t,e,i,n=!1){if(!t||!e)return!1;const s=t.getBoundingClientRect(),r=e.getBoundingClientRect(),a=Math.ceil(s.left),o=Math.floor(s.right),l=Math.ceil(r.left),c=Math.floor(r.right),f=l>=a&&c<=o,h=(i||!n&&s.width<r.width)&&(l<a&&c>a||c>o&&l<o);return f||h}function gg(t,e){return t.replace(/\${(.*?)}/g,(i,n)=>e[n]||"")}function Es(t,e,i,n,s,r=!1){if(!Array.isArray(s))return;const a=n.filter(c=>c)[0].constructor===Array;let o=t,l=e;i==="up"?t===0?o=s.length-1:o=t-1:i==="down"?t===s.length-1?o=0:o=t+1:i==="left"?e===0?l=n[t].length-1:l=e-1:i==="right"&&(e===n[t].length-1?l=0:l=e+1),n[o]===null||n[o]===void 0||a&&(n[o][l]===null||n[o][l]===void 0)?Es(o,l,i,n,s,r):r?(n[o].focus&&n[o].focus(),xn.findDOMNode(n[o]).focus()):i!=="tab"&&(a?n[o][l].focus():n[o].focus())}function qa(t,e){const i=t.current.querySelectorAll(e);return Array.prototype.filter.call(i,function(s){return s.tabIndex>="0"})}function zd(t,e,i){let n;return e==="up"?t===0?n=i.length-1:n=t-1:t===i.length-1?n=0:n=t+1,i[n]===void 0||i[n][0]===null?zd(n,e,i):n}const Hd=(t,e)=>Object.entries(t||{}).reduce((i,[n,s])=>n==="default"?Object.assign(Object.assign({},i),{[e]:s}):Object.assign(Object.assign({},i),{[`${e}-on-${n}`]:s}),{}),fe=(t,e,i="",n,s)=>{if(!t)return"";if(n&&!s){if(n in t)return e.modifiers[en(`${i}${t[n]}`)];const r=["2xl","xl","lg","md","sm","default"],a=r.indexOf(n);for(let o=a;o<r.length;o++)if(r[o]in t)return e.modifiers[en(`${i}${t[r[o]]}`)];return""}return Object.entries(t||{}).map(([r,a])=>`${i}${a}${r!=="default"?`-on-${r}`:""}${s&&r!=="default"?"-height":""}`).map(en).map(r=>r.replace(/-?(\dxl)/gi,(a,o)=>`_${o}`)).map(r=>e.modifiers[r]).filter(Boolean).join(" ")},vg=t=>t===null?null:t>=Na["2xl"]?"2xl":t>=Na.xl?"xl":t>=Na.lg?"lg":t>=Na.md?"md":t>=Na.sm?"sm":"default",mg=t=>t===null?null:t>=La["2xl"]?"2xl":t>=La.xl?"xl":t>=La.lg?"lg":t>=La.md?"md":t>=La.sm?"sm":"default",yg=t=>t.toUpperCase().replace("-","").replace("_",""),en=t=>t.replace(/([-_][a-z])/gi,yg),Ze=!!(typeof window<"u"&&window.document&&window.document.createElement),Nl=(t,e)=>{const i=getComputedStyle(e),n=()=>{let a="";const o={"50%":"ultra-condensed","62.5%":"extra-condensed","75%":"condensed","87.5%":"semi-condensed","100%":"normal","112.5%":"semi-expanded","125%":"expanded","150%":"extra-expanded","200%":"ultra-expanded"};let l;return i.fontStretch in o?l=o[i.fontStretch]:l="normal",a=i.fontStyle+" "+i.fontVariant+" "+i.fontWeight+" "+l+" "+i.fontSize+"/"+i.lineHeight+" "+i.fontFamily,a},r=document.createElement("canvas").getContext("2d");return r.font=i.font||n(),r.measureText(t).width},bg=t=>{const e=getComputedStyle(t);let i=t.clientWidth,n=t.clientHeight;return n-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),i-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),{height:n,width:i}},wg=(t,e)=>{const i=bg(t).width;let n=e;if(Nl(e,t)>i){for(;Nl(`...${n}`,t)>i;)n=n.substring(1);t.value?t.value=`...${n}`:t.innerText=`...${n}`}else t.value?t.value=e:t.innerText=e},Dg=t=>t.reduce((e,i)=>Object.assign(Object.assign({},e),{[i]:n=>{n.preventDefault()}}),{});function cn(t){const e=t.getBoundingClientRect();return{width:e.width,height:e.height,top:e.top,right:e.right,bottom:e.bottom,left:e.left,x:e.left,y:e.top}}function at(t){if(t.toString()!=="[object Window]"){const e=t.ownerDocument;return e?e.defaultView:window}return t}function Ts(t){const e=at(t),i=e.pageXOffset,n=e.pageYOffset;return{scrollLeft:i,scrollTop:n}}function dn(t){const e=at(t).Element;return t instanceof e||t instanceof Element}function et(t){const e=at(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function xg(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Cg(t){return t===at(t)||!et(t)?Ts(t):xg(t)}function Ui(t){return t?(t.nodeName||"").toLowerCase():null}function mt(t){return(dn(t)?t.ownerDocument:t.document).documentElement}function Fs(t){return cn(mt(t)).left+Ts(t).scrollLeft}function ct(t){return at(t).getComputedStyle(t)}function Os(t){const{overflow:e,overflowX:i,overflowY:n}=ct(t);return/auto|scroll|overlay|hidden/.test(e+n+i)}function Sg(t,e,i=!1){const n=mt(e),s=cn(t),r=et(e);let a={scrollLeft:0,scrollTop:0},o={x:0,y:0};return(r||!r&&!i)&&((Ui(e)!=="body"||Os(n))&&(a=Cg(e)),et(e)?(o=cn(e),o.x+=e.clientLeft,o.y+=e.clientTop):n&&(o.x=Fs(n))),{x:s.left+a.scrollLeft-o.x,y:s.top+a.scrollTop-o.y,width:s.width,height:s.height}}function Ms(t){return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}}function _r(t){return Ui(t)==="html"?t:t.assignedSlot||t.parentNode||t.host||mt(t)}function Wd(t){return["html","body","#document"].indexOf(Ui(t))>=0?t.ownerDocument.body:et(t)&&Os(t)?t:Wd(_r(t))}function tn(t,e=[]){const i=Wd(t),n=Ui(i)==="body",s=at(i),r=n?[s].concat(s.visualViewport||[],Os(i)?i:[]):i,a=e.concat(r);return n?a:a.concat(tn(_r(r)))}function Eg(t){return["table","td","th"].indexOf(Ui(t))>=0}function Bl(t){if(!et(t)||ct(t).position==="fixed")return null;const e=t.offsetParent;if(e){const i=mt(e);if(Ui(e)==="body"&&ct(e).position==="static"&&ct(i).position!=="static")return i}return e}function Tg(t){let e=_r(t);for(;et(e)&&["html","body"].indexOf(Ui(e))<0;){const i=ct(e);if(i.transform!=="none"||i.perspective!=="none"||i.willChange&&i.willChange!=="auto")return e;e=e.parentNode}return null}function Sn(t){const e=at(t);let i=Bl(t);for(;i&&Eg(i)&&ct(i).position==="static";)i=Bl(i);return i&&Ui(i)==="body"&&ct(i).position==="static"?e:i||Tg(t)||e}const Fi="top",zi="bottom",Hi="right",Oi="left",As="auto",En=[Fi,zi,Hi,Oi],ha="start",Is="end",Fg="clippingParents",Ud="viewport",za="popper",Og="reference",_l=En.reduce((t,e)=>t.concat([`${e}-${ha}`,`${e}-${Is}`]),[]),Vd=[...En,As].reduce((t,e)=>t.concat([e,`${e}-${ha}`,`${e}-${Is}`]),[]),Mg="beforeRead",Ag="read",Ig="afterRead",kg="beforeMain",Rg="main",jg="afterMain",Pg="beforeWrite",Lg="write",Ng="afterWrite",Bg=[Mg,Ag,Ig,kg,Rg,jg,Pg,Lg,Ng];function _g(t){const e=new Map,i=new Set,n=[];t.forEach(r=>{e.set(r.name,r)});function s(r){i.add(r.name),[...r.requires||[],...r.requiresIfExists||[]].forEach(o=>{if(!i.has(o)){const l=e.get(o);l&&s(l)}}),n.push(r)}return t.forEach(r=>{i.has(r.name)||s(r)}),n}function zg(t){const e=_g(t);return Bg.reduce((i,n)=>i.concat(e.filter(s=>s.phase===n)),[])}function Hg(t){let e;return()=>(e||(e=new Promise(i=>{Promise.resolve().then(()=>{e=void 0,i(t())})})),e)}function $i(t){return t.split("-")[0]}function Wg(t){const e=t.reduce((i,n)=>{const s=i[n.name];return i[n.name]=s?Object.assign(Object.assign(Object.assign({},s),n),{options:Object.assign(Object.assign({},s.options),n.options),data:Object.assign(Object.assign({},s.data),n.data)}):n,i},{});return Object.keys(e).map(i=>e[i])}function Ug(t){const e=at(t),i=mt(t),n=e.visualViewport;let s=i.clientWidth,r=i.clientHeight,a=0,o=0;return n&&(s=n.width,r=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=n.offsetLeft,o=n.offsetTop)),{width:s,height:r,x:a+Fs(t),y:o}}function Vg(t){const e=mt(t),i=Ts(t),n=t.ownerDocument.body,s=Math.max(e.scrollWidth,e.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),r=Math.max(e.scrollHeight,e.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0);let a=-i.scrollLeft+Fs(t);const o=-i.scrollTop;return ct(n||e).direction==="rtl"&&(a+=Math.max(e.clientWidth,n?n.clientWidth:0)-s),{width:s,height:r,x:a,y:o}}function Xd(t,e){const i=!!(e.getRootNode&&e.getRootNode().host);if(t.contains(e))return!0;if(i){let n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ko(t){return Object.assign(Object.assign({},t),{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Xg(t){const e=cn(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function zl(t,e){return e===Ud?Ko(Ug(t)):et(e)?Xg(e):Ko(Vg(mt(t)))}function Jg(t){const e=tn(_r(t)),n=["absolute","fixed"].indexOf(ct(t).position)>=0&&et(t)?Sn(t):t;return dn(n)?e.filter(s=>dn(s)&&Xd(s,n)&&Ui(s)!=="body"):[]}function Gg(t,e,i){const s=[...e==="clippingParents"?Jg(t):[].concat(e),i],r=s[0],a=s.reduce((o,l)=>{const c=zl(t,l);return o.top=Math.max(c.top,o.top),o.right=Math.min(c.right,o.right),o.bottom=Math.min(c.bottom,o.bottom),o.left=Math.max(c.left,o.left),o},zl(t,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function fn(t){return t.split("-")[1]}function ks(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Jd({reference:t,element:e,placement:i}){const n=i?$i(i):null,s=i?fn(i):null,r=t.x+t.width/2-e.width/2,a=t.y+t.height/2-e.height/2;let o;switch(n){case Fi:o={x:r,y:t.y-e.height};break;case zi:o={x:r,y:t.y+t.height};break;case Hi:o={x:t.x+t.width,y:a};break;case Oi:o={x:t.x-e.width,y:a};break;default:o={x:t.x,y:t.y}}const l=n?ks(n):null;if(l!=null){const c=l==="y"?"height":"width";switch(s){case ha:o[l]=Math.floor(o[l])-Math.floor(t[c]/2-e[c]/2);break;case Is:o[l]=Math.floor(o[l])+Math.ceil(t[c]/2-e[c]/2);break}}return o}function Gd(){return{top:0,right:0,bottom:0,left:0}}function Kd(t){return Object.assign(Object.assign({},Gd()),t)}function qd(t,e){return e.reduce((i,n)=>(i[n]=t,i),{})}function un(t,e={}){const{placement:i=t.placement,boundary:n=Fg,rootBoundary:s=Ud,elementContext:r=za,altBoundary:a=!1,padding:o=0}=e,l=Kd(typeof o!="number"?o:qd(o,En)),c=r===za?Og:za,f=t.elements.reference,h=t.rects.popper,p=t.elements[a?c:r],g=Gg(dn(p)?p:p.contextElement||mt(t.elements.popper),n,s),y=cn(f),b=Jd({reference:y,element:h,placement:i}),w=Ko(Object.assign(Object.assign({},h),b)),D=r===za?w:y,O={top:g.top-D.top+l.top,bottom:D.bottom-g.bottom+l.bottom,left:g.left-D.left+l.left,right:D.right-g.right+l.right},M=t.modifiersData.offset;if(r===za&&M){const R=M[i];Object.keys(O).forEach(A=>{const C=[Hi,zi].indexOf(A)>=0?1:-1,S=[Fi,zi].indexOf(A)>=0?"y":"x";O[A]+=R[S]*C})}return O}const Hl={placement:"bottom",modifiers:[],strategy:"absolute"};function Wl(...t){return!t.some(e=>!(e&&typeof e.getBoundingClientRect=="function"))}function $d(t={}){const{defaultModifiers:e=[],defaultOptions:i=Hl}=t;return function(s,r,a=i){let o={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},Hl),i),modifiersData:{},elements:{reference:s,popper:r},attributes:{},styles:{}},l=[],c=!1;const f={state:o,setOptions(g){p(),o.options=Object.assign(Object.assign(Object.assign({},i),o.options),g),o.scrollParents={reference:dn(s)?tn(s):s.contextElement?tn(s.contextElement):[],popper:tn(r)};const y=zg(Wg([...e,...o.options.modifiers]));return o.orderedModifiers=y.filter(b=>b.enabled),h(),f.update()},forceUpdate(){if(c)return;const{reference:g,popper:y}=o.elements;if(Wl(g,y)){o.rects={reference:Sg(g,Sn(y),o.options.strategy==="fixed"),popper:Ms(y)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(b=>o.modifiersData[b.name]=Object.assign({},b.data));for(let b=0;b<o.orderedModifiers.length;b++){if(o.reset===!0){o.reset=!1,b=-1;continue}const{fn:w,options:D={},name:O}=o.orderedModifiers[b];typeof w=="function"&&(o=w({state:o,options:D,name:O,instance:f})||o)}}},update:Hg(()=>new Promise(g=>{f.forceUpdate(),g(o)})),destroy(){p(),c=!0}};if(!Wl(s,r))return f;f.setOptions(a).then(g=>{!c&&a.onFirstUpdate&&a.onFirstUpdate(g)});function h(){o.orderedModifiers.forEach(({name:g,options:y={},effect:b})=>{if(typeof b=="function"){const w=b({state:o,name:g,instance:f,options:y}),D=()=>{};l.push(w||D)}})}function p(){l.forEach(g=>g()),l=[]}return f}}$d();const Wn={passive:!0};function Kg({state:t,instance:e,options:i}){const{scroll:n=!0,resize:s=!0}=i,r=at(t.elements.popper),a=[...t.scrollParents.reference,...t.scrollParents.popper];return n&&a.forEach(o=>{o.addEventListener("scroll",e.update,Wn)}),s&&r.addEventListener("resize",e.update,Wn),()=>{n&&a.forEach(o=>{o.removeEventListener("scroll",e.update,Wn)}),s&&r.removeEventListener("resize",e.update,Wn)}}const qg={name:"eventListeners",enabled:!0,phase:"write",fn:()=>{},effect:Kg,data:{}};function $g({state:t,name:e}){t.modifiersData[e]=Jd({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Yg={name:"popperOffsets",enabled:!0,phase:"read",fn:$g,data:{}},Zg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Qg({x:t,y:e}){const n=window.devicePixelRatio||1;return{x:Math.round(t*n)/n||0,y:Math.round(e*n)/n||0}}function Ul({popper:t,popperRect:e,placement:i,offsets:n,position:s,gpuAcceleration:r,adaptive:a}){let{x:o,y:l}=Qg(n);const c=n.hasOwnProperty("x"),f=n.hasOwnProperty("y");let h=Oi,p=Fi;const g=window;if(a){let b=Sn(t);b===at(t)&&(b=mt(t)),i===Fi&&(p=zi,l-=b.clientHeight-e.height,l*=r?1:-1),i===Oi&&(h=Hi,o-=b.clientWidth-e.width,o*=r?1:-1)}const y=Object.assign({position:s},a&&Zg);return r?Object.assign(Object.assign({},y),{[p]:f?"0":"",[h]:c?"0":"",transform:(g.devicePixelRatio||1)<2?`translate(${o}px, ${l}px)`:`translate3d(${o}px, ${l}px, 0)`}):Object.assign(Object.assign({},y),{[p]:f?`${l}px`:"",[h]:c?`${o}px`:"",transform:""})}function ev({state:t,options:e}){const{gpuAcceleration:i=!0,adaptive:n=!0}=e,s={placement:$i(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),Ul(Object.assign(Object.assign({},s),{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),Ul(Object.assign(Object.assign({},s),{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{"data-popper-placement":t.placement})}const iv={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ev,data:{}};function tv({state:t}){Object.keys(t.elements).forEach(e=>{const i=t.styles[e]||{},n=t.attributes[e]||{},s=t.elements[e];!et(s)||!Ui(s)||(Object.assign(s.style,i),Object.keys(n).forEach(r=>{const a=n[r];a===!1?s.removeAttribute(r):s.setAttribute(r,a===!0?"":a)}))})}function av({state:t}){const e={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,e.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,e.arrow),()=>{Object.keys(t.elements).forEach(i=>{const n=t.elements[i],s=t.attributes[i]||{},a=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:e[i]).reduce((o,l)=>(o[l]="",o),{});!et(n)||!Ui(n)||(Object.assign(n.style,a),Object.keys(s).forEach(o=>{n.removeAttribute(o)}))})}}const nv={name:"applyStyles",enabled:!0,phase:"write",fn:tv,effect:av,requires:["computeStyles"]};function rv(t,e,i){const n=$i(t),s=[Oi,Fi].indexOf(n)>=0?-1:1;let[r,a]=typeof i=="function"?i(Object.assign(Object.assign({},e),{placement:t})):i;return r=r||0,a=(a||0)*s,[Oi,Hi].indexOf(n)>=0?{x:a,y:r}:{x:r,y:a}}function ov({state:t,options:e,name:i}){const{offset:n=[0,0]}=e,s=Vd.reduce((o,l)=>(o[l]=rv(l,t.rects,n),o),{}),{x:r,y:a}=s[t.placement];t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=r,t.modifiersData.popperOffsets.y+=a),t.modifiersData[i]=s}const sv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ov},lv={left:"right",right:"left",bottom:"top",top:"bottom"};function Zn(t){return t.replace(/left|right|bottom|top/g,e=>lv[e])}const cv={start:"end",end:"start"};function Vl(t){return t.replace(/start|end/g,e=>cv[e])}function dv(t,e={}){const{placement:i,boundary:n,rootBoundary:s,padding:r,flipVariations:a,allowedAutoPlacements:o=Vd}=e,l=fn(i),c=l?a?_l:_l.filter(p=>fn(p)===l):En;let f=c.filter(p=>o.indexOf(p)>=0);f.length===0&&(f=c);const h=f.reduce((p,g)=>(p[g]=un(t,{placement:g,boundary:n,rootBoundary:s,padding:r})[$i(g)],p),{});return Object.keys(h).sort((p,g)=>h[p]-h[g])}function fv(t){if($i(t)===As)return[];const e=Zn(t);return[Vl(t),e,Vl(e)]}function uv({state:t,options:e,name:i}){if(t.modifiersData[i]._skip)return;const{mainAxis:n=!0,altAxis:s=!0,fallbackPlacements:r,padding:a,boundary:o,rootBoundary:l,altBoundary:c,flipVariations:f=!0,allowedAutoPlacements:h}=e,p=t.options.placement,y=$i(p)===p,b=r||(y||!f?[Zn(p)]:fv(p)),w=[p,...b].reduce((C,S)=>C.concat($i(S)===As?dv(t,{placement:S,boundary:o,rootBoundary:l,padding:a,flipVariations:f,allowedAutoPlacements:h}):S),[]),D=t.rects.reference,O=t.rects.popper,M=new Map;let R=!0,A=w[0];for(let C=0;C<w.length;C++){const S=w[C],k=$i(S),P=fn(S)===ha,j=[Fi,zi].indexOf(k)>=0,L=j?"width":"height",_=un(t,{placement:S,boundary:o,rootBoundary:l,altBoundary:c,padding:a});let U=j?P?Hi:Oi:P?zi:Fi;D[L]>O[L]&&(U=Zn(U));const W=Zn(U),N=[];if(n&&N.push(_[k]<=0),s&&N.push(_[U]<=0,_[W]<=0),N.every(X=>X)){A=S,R=!1;break}M.set(S,N)}if(R){const C=f?3:1;for(let S=C;S>0;S--){const k=w.find(P=>{const j=M.get(P);if(j)return j.slice(0,S).every(L=>L)});if(k){A=k;break}}}t.placement!==A&&(t.modifiersData[i]._skip=!0,t.placement=A,t.reset=!0)}const pv={name:"flip",enabled:!0,phase:"main",fn:uv,requiresIfExists:["offset"],data:{_skip:!1}};function hv(t){return t==="x"?"y":"x"}function Qn(t,e,i){return Math.max(t,Math.min(e,i))}function gv({state:t,options:e,name:i}){const{mainAxis:n=!0,altAxis:s=!1,boundary:r,rootBoundary:a,altBoundary:o,padding:l,tether:c=!0,tetherOffset:f=0}=e,h=un(t,{boundary:r,rootBoundary:a,padding:l,altBoundary:o}),p=$i(t.placement),g=fn(t.placement),y=!g,b=ks(p),w=hv(b),D=t.modifiersData.popperOffsets,O=t.rects.reference,M=t.rects.popper,R=typeof f=="function"?f(Object.assign(Object.assign({},t.rects),{placement:t.placement})):f,A={x:0,y:0};if(D){if(n){const C=b==="y"?Fi:Oi,S=b==="y"?zi:Hi,k=b==="y"?"height":"width",P=D[b],j=D[b]+h[C],L=D[b]-h[S],_=c?-M[k]/2:0,U=g===ha?O[k]:M[k],W=g===ha?-M[k]:-O[k],N=t.elements.arrow,X=c&&N?Ms(N):{width:0,height:0},Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Gd(),ee=Y[C],q=Y[S],se=Qn(0,O[k],X[k]),V=y?O[k]/2-_-se-ee-R:U-se-ee-R,G=y?-O[k]/2+_+se+q+R:W+se+q+R,re=t.elements.arrow&&Sn(t.elements.arrow),pe=re?b==="y"?re.clientTop||0:re.clientLeft||0:0,Z=t.modifiersData.offset?t.modifiersData.offset[t.placement][b]:0,Ce=D[b]+V-Z-pe,he=D[b]+G-Z,Ee=Qn(c?Math.min(j,Ce):j,P,c?Math.max(L,he):L);D[b]=Ee,A[b]=Ee-P}if(s){const C=b==="x"?Fi:Oi,S=b==="x"?zi:Hi,k=D[w],P=k+h[C],j=k-h[S],L=Qn(P,k,j);D[w]=L,A[w]=L-k}t.modifiersData[i]=A}}const vv={name:"preventOverflow",enabled:!0,phase:"main",fn:gv,requiresIfExists:["offset"]};function mv({state:t,name:e}){const i=t.elements.arrow,n=t.modifiersData.popperOffsets,s=$i(t.placement),r=ks(s),o=[Oi,Hi].indexOf(s)>=0?"height":"width";if(!i||!n)return;const l=t.modifiersData[`${e}#persistent`].padding,c=Ms(i),f=r==="y"?Fi:Oi,h=r==="y"?zi:Hi,p=t.rects.reference[o]+t.rects.reference[r]-n[r]-t.rects.popper[o],g=n[r]-t.rects.reference[r],y=Sn(i),b=y?r==="y"?y.clientHeight||0:y.clientWidth||0:0,w=p/2-g/2,D=l[f],O=b-c[o]-l[h],M=b/2-c[o]/2+w,R=Qn(D,M,O),A=r;t.modifiersData[e]={[A]:R,centerOffset:R-M}}function yv({state:t,options:e,name:i}){let{element:n="[data-popper-arrow]",padding:s=0}=e;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||Xd(t.elements.popper,n)&&(t.elements.arrow=n,t.modifiersData[`${i}#persistent`]={padding:Kd(typeof s!="number"?s:qd(s,En))}))}const bv={name:"arrow",enabled:!0,phase:"main",fn:mv,effect:yv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xl(t,e,i={x:0,y:0}){return{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Jl(t){return[Fi,Hi,zi,Oi].some(e=>t[e]>=0)}function wv({state:t,name:e}){const i=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,r=un(t,{elementContext:"reference"}),a=un(t,{altBoundary:!0}),o=Xl(r,i),l=Xl(a,n,s),c=Jl(o),f=Jl(l);t.modifiersData[e]={referenceClippingOffsets:o,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const Dv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wv},xv=[qg,Yg,iv,nv,sv,pv,vv,bv,Dv],Cv=$d({defaultModifiers:xv}),cr=Ze?d.useLayoutEffect:d.useEffect,Sv=(t,e)=>JSON.stringify(t)===JSON.stringify(e),Gl=t=>t.reduce((e,[i,n])=>(e[i]=n,e),{}),Ev=[],Tv=(t,e,i={})=>{const n=d.useRef(null),s={onFirstUpdate:i.onFirstUpdate,placement:i.placement||"bottom",strategy:i.strategy||"absolute",modifiers:i.modifiers||Ev},[r,a]=d.useState({styles:{popper:{position:s.strategy,left:"0",top:"0"}},attributes:{}}),o=d.useMemo(()=>({name:"updateState",enabled:!0,phase:"write",fn:({state:f})=>{const h=Object.keys(f.elements);a({styles:Gl(h.map(p=>[p,f.styles[p]||{}])),attributes:Gl(h.map(p=>[p,f.attributes[p]]))})},requires:["computeStyles"]}),[]),l=d.useMemo(()=>{const f={onFirstUpdate:s.onFirstUpdate,placement:s.placement,strategy:s.strategy,modifiers:[...s.modifiers,o,{name:"applyStyles",enabled:!1}]};return Sv(n.current,f)?n.current||f:(n.current=f,f)},[s.onFirstUpdate,s.placement,s.strategy,s.modifiers,o]),c=d.useRef();return cr(()=>{c&&c.current&&c.current.setOptions(l)},[l]),cr(()=>{if(t==null||e==null)return;const h=(i.createPopper||Cv)(t,e,l);return c.current=h,()=>{h.destroy(),c.current=null}},[t,e,i.createPopper]),{state:c.current?c.current.state:null,styles:r.styles,attributes:r.attributes,update:c.current?c.current.update:null,forceUpdate:c.current?c.current.forceUpdate:null}};class qo extends d.Component{componentDidMount(){const e=xn.findDOMNode(this);this.props.onFoundRef(e)}render(){return this.props.children||null}}qo.displayName="FindRefWrapper";const Fv={left:"right",right:"left",bottom:"top",top:"bottom","top-start":"bottom-end","top-end":"bottom-start","bottom-start":"top-end","bottom-end":"top-start","left-start":"right-end","left-end":"right-start","right-start":"left-end","right-end":"left-start"},Ov=t=>t.replace(/left|right|bottom|top|top-start|top-end|bottom-start|bottom-end|right-start|right-end|left-start|left-end/g,e=>Fv[e]),Yd=t=>`opacity ${t}ms cubic-bezier(.54, 1.5, .38, 1.11)`,Ca=({trigger:t,popper:e,popperMatchesTriggerWidth:i=!0,direction:n="down",position:s="left",placement:r,appendTo:a=()=>document.body,zIndex:o=9999,isVisible:l=!0,positionModifiers:c,distance:f=0,onMouseEnter:h,onMouseLeave:p,onFocus:g,onBlur:y,onDocumentClick:b,onTriggerClick:w,onTriggerEnter:D,onPopperClick:O,onPopperMouseEnter:M,onPopperMouseLeave:R,onDocumentKeyDown:A,enableFlip:C=!0,flipBehavior:S="flip",reference:k,removeFindDomNode:P=!1,popperRef:j})=>{const[L,_]=d.useState(null),[U,W]=d.useState(null),[N,X]=d.useState(null),[Y,ee]=d.useState(!1),q=U||L,se=d.useCallback(K=>b(K,q,N),[l,L,U,N,b]);d.useEffect(()=>{ee(!0)},[]),d.useEffect(()=>{k&&(k.current?W(k.current):typeof k=="function"&&W(k()))},[k]),d.useEffect(()=>{j&&(j.current?X(j.current):typeof j=="function"&&X(j()))},[l,j]);const V=(K,Qe,de,yt=!1)=>{K&&Qe&&Qe.addEventListener(de,K,{capture:yt})},G=(K,Qe,de,yt=!1)=>{K&&Qe&&Qe.removeEventListener(de,K,{capture:yt})};d.useEffect(()=>{V(h,q,"mouseenter"),V(p,q,"mouseleave"),V(g,q,"focus"),V(y,q,"blur"),V(w,q,"click"),V(D,q,"keydown"),V(O,N,"click"),V(M,N,"mouseenter"),V(R,N,"mouseleave"),b&&V(se,document,"click",!0),V(A,document,"keydown",!0);const K=new MutationObserver(()=>{qe&&qe()});return N&&K.observe(N,{attributes:!0,childList:!0,subtree:!0}),()=>{G(h,q,"mouseenter"),G(p,q,"mouseleave"),G(g,q,"focus"),G(y,q,"blur"),G(w,q,"click"),G(D,q,"keydown"),G(O,N,"click"),G(M,N,"mouseenter"),G(R,N,"mouseleave"),b&&G(se,document,"click",!0),G(A,document,"keydown",!0),K.disconnect()}},[L,N,h,p,g,y,w,D,O,M,R,b,A,U]);const re=()=>{if(r)return r;let K=n==="up"?"top":"bottom";return s!=="center"&&(K=`${K}-${s==="right"?"end":"start"}`),K},pe=d.useMemo(re,[n,s,r]),Z=d.useMemo(()=>Ov(re()),[n,s,r]),Ce=d.useMemo(()=>({name:"sameWidth",enabled:i,phase:"beforeWrite",requires:["computeStyles"],fn:({state:K})=>{K.styles.popper.width=`${K.rects.reference.width}px`},effect:({state:K})=>(K.elements.popper.style.width=`${K.elements.reference.offsetWidth}px`,()=>{})}),[i]),{styles:he,attributes:Ee,update:qe,forceUpdate:Ie}=Tv(q,N,{placement:pe,modifiers:[{name:"offset",options:{offset:[0,f]}},{name:"preventOverflow",enabled:!1},{name:"hide",enabled:!0},{name:"flip",enabled:pe.startsWith("auto")||C,options:{fallbackPlacements:S==="flip"?[Z]:S}},Ce]});d.useEffect(()=>{Ie&&Ie()},[e]);const Te=()=>{if(Ee&&Ee.popper&&Ee.popper["data-popper-placement"]){const K=Ee.popper["data-popper-placement"];return c[K]}return c.top},Le=Object.assign({className:x(e.props&&e.props.className,c&&Te()),style:Object.assign(Object.assign(Object.assign({},e.props&&e.props.style||{}),he.popper),{zIndex:o})},Ee.popper),Q=d.cloneElement(e,Le),ae=()=>typeof a=="function"?a():a;let Ne;return P?Ne=d.createElement("div",{style:{display:"contents"},ref:K=>X(K==null?void 0:K.firstElementChild)},Q):j?Ne=Q:Ne=d.createElement(qo,{onFoundRef:K=>X(K)},Q),d.createElement(d.Fragment,null,!k&&t&&d.isValidElement(t)&&!P&&d.createElement(qo,{onFoundRef:K=>_(K)},t),!k&&t&&d.isValidElement(t)&&P&&d.createElement("div",{style:{display:"contents"},ref:K=>_(K==null?void 0:K.firstElementChild)},t),Y&&l&&xn.createPortal(Ne,ae()))};Ca.displayName="Popper";const Zd=(t,e,i=c=>document.activeElement.contains(c),n=c=>c,s=["A","BUTTON","INPUT"],r=!1,a=!1,o=!0,l=!0)=>{const c=document.activeElement,f=t.key;let h=null;if(!r&&["ArrowUp","ArrowDown"].includes(f)){t.preventDefault(),t.stopImmediatePropagation();let p=-1;e.forEach((g,y)=>{if(i(g)){let b=0;for(;!h&&b<e.length&&b*-1<e.length;)f==="ArrowUp"?b--:b++,p=y+b,p>=e.length&&(p=0),p<0&&(p=e.length-1),h=n(e[p])}})}if(!a&&["ArrowLeft","ArrowRight"].includes(f)){t.preventDefault(),t.stopImmediatePropagation();let p=-1;e.forEach((g,y)=>{if(i(g)){const b=e[y].querySelectorAll(s.join(","));if(!b.length||l){let w=c;for(;w;)if(w=f==="ArrowLeft"?w.previousElementSibling:w.nextElementSibling,w&&s.includes(w.tagName)){h=w;break}}else b.forEach((w,D)=>{t.target===w&&(p=D+(f==="ArrowLeft"?-1:1),p>=b.length&&(p=0),p<0&&(p=b.length-1),h=b[p])})}})}h&&(o&&(c.tabIndex=-1,h.tabIndex=0),h.focus())},Mv=t=>{t&&t.length>0&&(t.forEach(e=>{e.tabIndex=-1}),t[0].tabIndex=0)};class Rs extends d.Component{constructor(){super(...arguments),this.keyHandler=e=>{const{isEventFromContainer:i}=this.props;if(i?!i(e):!this._isEventFromContainer(e))return;const{isActiveElement:n,getFocusableElement:s,noVerticalArrowHandling:r,noHorizontalArrowHandling:a,noEnterHandling:o,noSpaceHandling:l,updateTabIndex:c,validSiblingTags:f,additionalKeyHandler:h,createNavigableElements:p,onlyTraverseSiblings:g}=this.props;h&&h(e);const y=p();if(!y){console.warn("No navigable elements have been passed to the KeyboardHandler. Keyboard navigation provided by this component will be ignored.");return}const b=e.key;o||b==="Enter"&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),l||b===" "&&(e.preventDefault(),e.stopImmediatePropagation(),document.activeElement.click()),Zd(e,y,n,s,f,r,a,c,g)},this._isEventFromContainer=e=>{const{containerRef:i}=this.props;return i.current&&i.current.contains(e.target)}}componentDidMount(){Ze&&window.addEventListener("keydown",this.keyHandler)}componentWillUnmount(){Ze&&window.removeEventListener("keydown",this.keyHandler)}render(){return null}}Rs.displayName="KeyboardHandler";Rs.defaultProps={containerRef:null,createNavigableElements:()=>null,isActiveElement:t=>document.activeElement===t,getFocusableElement:t=>t,validSiblingTags:["BUTTON","A"],onlyTraverseSiblings:!0,updateTabIndex:!0,noHorizontalArrowHandling:!1,noVerticalArrowHandling:!1,noEnterHandling:!1,noSpaceHandling:!1};const Qd=(t,e,i=!0)=>{let n;if(Ze){const{ResizeObserver:s}=window;if(t&&s){const r=new s(a=>{i?window.requestAnimationFrame(()=>{Array.isArray(a)&&a.length>0&&e()}):Array.isArray(a)&&a.length>0&&e()});r.observe(t),n=()=>r.unobserve(t)}else window.addEventListener("resize",e),n=()=>window.removeEventListener("resize",e)}return()=>{n&&n()}},Av={bullseye:"pf-l-bullseye"},$o={content:"pf-c-content",modifiers:{visited:"pf-m-visited"}},Kl={modifiers:{"4xl":"pf-m-4xl","3xl":"pf-m-3xl","2xl":"pf-m-2xl",xl:"pf-m-xl",lg:"pf-m-lg",md:"pf-m-md",overpassFont:"pf-m-overpass-font"},title:"pf-c-title"};var dr;(function(t){t.md="md",t.lg="lg",t.xl="xl",t["2xl"]="2xl",t["3xl"]="3xl",t["4xl"]="4xl"})(dr||(dr={}));var Yo;(function(t){t.h1="2xl",t.h2="xl",t.h3="lg",t.h4="md",t.h5="md",t.h6="md"})(Yo||(Yo={}));const At=t=>{var{className:e="",children:i="",headingLevel:n,size:s=Yo[n],ouiaId:r,ouiaSafe:a=!0}=t,o=B(t,["className","children","headingLevel","size","ouiaId","ouiaSafe"]);const l=jt(At.displayName,r,a);return d.createElement(n,Object.assign({},l,o,{className:x(Kl.title,s&&Kl.modifiers[s],e)}),i)};At.displayName="Title";const _e={button:"pf-c-button",buttonCount:"pf-c-button__count",buttonIcon:"pf-c-button__icon",buttonProgress:"pf-c-button__progress",modifiers:{active:"pf-m-active",block:"pf-m-block",small:"pf-m-small",primary:"pf-m-primary",displayLg:"pf-m-display-lg",secondary:"pf-m-secondary",tertiary:"pf-m-tertiary",link:"pf-m-link",unread:"pf-m-unread",inline:"pf-m-inline",danger:"pf-m-danger",warning:"pf-m-warning",control:"pf-m-control",expanded:"pf-m-expanded",plain:"pf-m-plain",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",progress:"pf-m-progress",inProgress:"pf-m-in-progress",start:"pf-m-start",end:"pf-m-end",overpassFont:"pf-m-overpass-font"}},Lt={modifiers:{inline:"pf-m-inline",sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",xl:"pf-m-xl"},spinner:"pf-c-spinner",spinnerClipper:"pf-c-spinner__clipper",spinnerLeadBall:"pf-c-spinner__lead-ball",spinnerPath:"pf-c-spinner__path",spinnerTailBall:"pf-c-spinner__tail-ball"};var Zo;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Zo||(Zo={}));const js=t=>{var{className:e="",size:i="xl","aria-valuetext":n="Loading...",isSVG:s=!1,diameter:r,isInline:a=!1,"aria-label":o,"aria-labelledBy":l}=t,c=B(t,["className","size","aria-valuetext","isSVG","diameter","isInline","aria-label","aria-labelledBy"]);const f=s?"svg":"span";return d.createElement(f,Object.assign({className:x(Lt.spinner,a?Lt.modifiers.inline:Lt.modifiers[i],e),role:"progressbar","aria-valuetext":n},s&&{viewBox:"0 0 100 100"},r&&{style:{"--pf-c-spinner--diameter":r}},o&&{"aria-label":o},l&&{"aria-labelledBy":l},!o&&!l&&{"aria-label":"Contents"},c),s?d.createElement("circle",{className:Lt.spinnerPath,cx:"50",cy:"50",r:"45",fill:"none"}):d.createElement(d.Fragment,null,d.createElement("span",{className:x(Lt.spinnerClipper)}),d.createElement("span",{className:x(Lt.spinnerLeadBall)}),d.createElement("span",{className:x(Lt.spinnerTailBall)})))};js.displayName="Spinner";const an={badge:"pf-c-badge",modifiers:{read:"pf-m-read",unread:"pf-m-unread"}},ui=t=>{var{isRead:e=!1,className:i="",children:n="",screenReaderText:s}=t,r=B(t,["isRead","className","children","screenReaderText"]);return d.createElement("span",Object.assign({},r,{className:x(an.badge,e?an.modifiers.read:an.modifiers.unread,i)}),n,s&&d.createElement("span",{className:"pf-screen-reader"},s))};ui.displayName="Badge";var rt;(function(t){t.primary="primary",t.secondary="secondary",t.tertiary="tertiary",t.danger="danger",t.warning="warning",t.link="link",t.plain="plain",t.control="control"})(rt||(rt={}));var Qo;(function(t){t.button="button",t.submit="submit",t.reset="reset"})(Qo||(Qo={}));const Iv=t=>{var{children:e=null,className:i="",component:n="button",isActive:s=!1,isBlock:r=!1,isDisabled:a=!1,isAriaDisabled:o=!1,isLoading:l=null,isDanger:c=!1,spinnerAriaValueText:f,spinnerAriaLabelledBy:h,spinnerAriaLabel:p,isSmall:g=!1,isLarge:y=!1,inoperableEvents:b=["onClick","onKeyPress"],isInline:w=!1,type:D=Qo.button,variant:O=rt.primary,iconPosition:M="left","aria-label":R=null,icon:A=null,ouiaId:C,ouiaSafe:S=!0,tabIndex:k=null,innerRef:P,countOptions:j}=t,L=B(t,["children","className","component","isActive","isBlock","isDisabled","isAriaDisabled","isLoading","isDanger","spinnerAriaValueText","spinnerAriaLabelledBy","spinnerAriaLabel","isSmall","isLarge","inoperableEvents","isInline","type","variant","iconPosition","aria-label","icon","ouiaId","ouiaSafe","tabIndex","innerRef","countOptions"]);const _=jt($.displayName,C,S,O),U=n,W=U==="button",N=w&&U==="span",X=b.reduce((ee,q)=>Object.assign(Object.assign({},ee),{[q]:se=>{se.preventDefault()}}),{}),Y=()=>{if(a)return W?null:-1;if(o)return null;if(N)return 0};return d.createElement(U,Object.assign({},L,o?X:null,{"aria-disabled":a||o,"aria-label":R,className:x(_e.button,_e.modifiers[O],r&&_e.modifiers.block,a&&_e.modifiers.disabled,o&&_e.modifiers.ariaDisabled,s&&_e.modifiers.active,w&&O===rt.link&&_e.modifiers.inline,c&&(O===rt.secondary||O===rt.link)&&_e.modifiers.danger,l!==null&&e!==null&&_e.modifiers.progress,l&&_e.modifiers.inProgress,g&&_e.modifiers.small,y&&_e.modifiers.displayLg,i),disabled:W?a:null,tabIndex:k!==null?k:Y(),type:W||N?D:null,role:N?"button":null,ref:P},_),l&&d.createElement("span",{className:x(_e.buttonProgress)},d.createElement(js,{size:Zo.md,isInline:w,"aria-valuetext":f,"aria-label":p,"aria-labelledby":h})),O===rt.plain&&e===null&&A?A:null,O!==rt.plain&&A&&M==="left"&&d.createElement("span",{className:x(_e.buttonIcon,_e.modifiers.start)},A),e,O!==rt.plain&&A&&M==="right"&&d.createElement("span",{className:x(_e.buttonIcon,_e.modifiers.end)},A),j&&d.createElement("span",{className:x(_e.buttonCount,j.className)},d.createElement(ui,{isRead:j.isRead},j.count)))},$=d.forwardRef((t,e)=>d.createElement(Iv,Object.assign({innerRef:e},t)));$.displayName="Button";var Ht;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Ht||(Ht={}));const kv=t=>{switch(t){case Ht.sm:return"1em";case Ht.md:return"1.5em";case Ht.lg:return"2em";case Ht.xl:return"3em";default:return"1em"}};let Rv=0;function Ae({name:t,xOffset:e=0,yOffset:i=0,width:n,height:s,svgPath:r}){var a;return a=class extends d.Component{constructor(){super(...arguments),this.id=`icon-title-${Rv++}`}render(){const l=this.props,{size:c,color:f,title:h,noVerticalAlign:p}=l,g=B(l,["size","color","title","noVerticalAlign"]),y=!!h,b=kv(c),w=-.125*Number.parseFloat(b),D=p?null:{verticalAlign:`${w}em`},O=[e,i,n,s].join(" ");return d.createElement("svg",Object.assign({style:D,fill:f,height:b,width:b,viewBox:O,"aria-labelledby":y?this.id:null,"aria-hidden":y?null:!0,role:"img"},g),y&&d.createElement("title",{id:this.id},h),d.createElement("path",{d:r}))}},a.displayName=t,a.defaultProps={color:"currentColor",size:Ht.sm,noVerticalAlign:!1},a}const jv={name:"TimesIcon",height:512,width:352,svgPath:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z",yOffset:0,xOffset:0},zr=Ae(jv),ef=t=>{var{children:e=null,className:i=""}=t,n=B(t,["children","className"]);return d.createElement("div",Object.assign({},n,{className:x(oa.backdrop,i)}),e)};ef.displayName="Backdrop";const Pv={name:"AngleRightIcon",height:512,width:256,svgPath:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z",yOffset:0,xOffset:0},ga=Ae(Pv),Lv={screenReader:"pf-u-screen-reader"},Nv={name:"CheckCircleIcon",height:512,width:512,svgPath:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z",yOffset:0,xOffset:0},tf=Ae(Nv),Bv={name:"ExclamationCircleIcon",height:512,width:512,svgPath:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z",yOffset:0,xOffset:0},af=Ae(Bv),_v={name:"ExclamationTriangleIcon",height:512,width:576,svgPath:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z",yOffset:0,xOffset:0},nf=Ae(_v),zv={name:"InfoCircleIcon",height:512,width:512,svgPath:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z",yOffset:0,xOffset:0},Hv=Ae(zv),Wv={name:"BellIcon",height:1024,width:896,svgPath:"M448,0 C465.333333,0 480.333333,6.33333333 493,19 C505.666667,31.6666667 512,46.6666667 512,64 L512,106 L514.23,106.45 C587.89,121.39 648.48,157.24 696,214 C744,271.333333 768,338.666667 768,416 C768,500 780,568.666667 804,622 C818.666667,652.666667 841.333333,684 872,716 C873.773676,718.829136 875.780658,721.505113 878,724 C890,737.333333 896,752.333333 896,769 C896,785.666667 890,800.333333 878,813 C866,825.666667 850.666667,832 832,832 L63.3,832 C44.9533333,831.84 29.8533333,825.506667 18,813 C6,800.333333 0,785.666667 0,769 C0,752.333333 6,737.333333 18,724 L24,716 L25.06,714.9 C55.1933333,683.28 77.5066667,652.313333 92,622 C116,568.666667 128,500 128,416 C128,338.666667 152,271.333333 200,214 C248,156.666667 309.333333,120.666667 384,106 L384,63.31 C384.166667,46.27 390.5,31.5 403,19 C415.666667,6.33333333 430.666667,0 448,0 Z M576,896 L576,897.08 C575.74,932.6 563.073333,962.573333 538,987 C512.666667,1011.66667 482.666667,1024 448,1024 C413.333333,1024 383.333333,1011.66667 358,987 C332.666667,962.333333 320,932 320,896 L576,896 Z",yOffset:0,xOffset:0},Uv=Ae(Wv),ni={modifiers:{top:"pf-m-top",topLeft:"pf-m-top-left",topRight:"pf-m-top-right",bottom:"pf-m-bottom",bottomLeft:"pf-m-bottom-left",bottomRight:"pf-m-bottom-right",left:"pf-m-left",leftTop:"pf-m-left-top",leftBottom:"pf-m-left-bottom",right:"pf-m-right",rightTop:"pf-m-right-top",rightBottom:"pf-m-right-bottom",textAlignLeft:"pf-m-text-align-left"},tooltip:"pf-c-tooltip",tooltipArrow:"pf-c-tooltip__arrow",tooltipContent:"pf-c-tooltip__content"},rf=t=>{var{className:e,children:i,isLeftAligned:n}=t,s=B(t,["className","children","isLeftAligned"]);return d.createElement("div",Object.assign({className:x(ni.tooltipContent,n&&ni.modifiers.textAlignLeft,e)},s),i)};rf.displayName="TooltipContent";const of=t=>{var{className:e}=t,i=B(t,["className"]);return d.createElement("div",Object.assign({className:x(ni.tooltipArrow,e)},i))};of.displayName="TooltipArrow";const ql={value:"18.75rem"};var $l;(function(t){t.auto="auto",t.top="top",t.bottom="bottom",t.left="left",t.right="right",t.topStart="top-start",t.topEnd="top-end",t.bottomStart="bottom-start",t.bottomEnd="bottom-end",t.leftStart="left-start",t.leftEnd="left-end",t.rightStart="right-start",t.rightEnd="right-end"})($l||($l={}));let Vv=1;const ve=t=>{var{content:e,position:i="top",trigger:n="mouseenter focus",isVisible:s=!1,isContentLeftAligned:r=!1,enableFlip:a=!0,className:o="",entryDelay:l=300,exitDelay:c=300,appendTo:f=()=>document.body,zIndex:h=9999,maxWidth:p=ql.value,distance:g=15,aria:y="describedby",flipBehavior:b=["top","right","bottom","left","top","right","bottom"],id:w=`pf-tooltip-${Vv++}`,children:D,animationDuration:O=300,reference:M,"aria-live":R=M?"polite":"off",boundary:A,isAppLauncher:C,tippyProps:S,removeFindDomNode:k=!1,onTooltipHidden:P=()=>{}}=t,j=B(t,["content","position","trigger","isVisible","isContentLeftAligned","enableFlip","className","entryDelay","exitDelay","appendTo","zIndex","maxWidth","distance","aria","flipBehavior","id","children","animationDuration","reference","aria-live","boundary","isAppLauncher","tippyProps","removeFindDomNode","onTooltipHidden"]);process.env.NODE_ENV!=="production"&&(A!==void 0&&console.warn("The Tooltip boundary prop has been deprecated. If you want to constrain the popper to a specific element use the appendTo prop instead."),C!==void 0&&console.warn("The Tooltip isAppLauncher prop has been deprecated and is no longer used."),S!==void 0&&console.warn("The Tooltip tippyProps prop has been deprecated and is no longer used."));const L=n.includes("mouseenter"),_=n.includes("focus"),U=n.includes("click"),W=n==="manual",[N,X]=d.useState(!1),[Y,ee]=d.useState(0),q=d.useRef(null),se=d.useRef(null),V=d.useRef(null),G=d.useRef(),re=Q=>{Q.forEach(ae=>{ae.current&&clearTimeout(ae.current)})};d.useEffect(()=>()=>{re([q,V,se])},[]);const pe=Q=>{W||Q.key===ye.Escape&&N&&he()},Z=Q=>{Q.key===ye.Enter&&(N?he():Ce())};d.useEffect(()=>{s?Ce():he()},[s]),d.useEffect(()=>{G.current<c&&(re([q,V]),V.current=setTimeout(()=>{ee(0),q.current=setTimeout(()=>{X(!1),P()},O)},c)),G.current=c},[c]);const Ce=()=>{re([q,V]),se.current=setTimeout(()=>{X(!0),ee(1)},l)},he=()=>{re([se]),V.current=setTimeout(()=>{ee(0),q.current=setTimeout(()=>{X(!1),P()},O)},c)},Ee={top:ni.modifiers.top,bottom:ni.modifiers.bottom,left:ni.modifiers.left,right:ni.modifiers.right,"top-start":ni.modifiers.topLeft,"top-end":ni.modifiers.topRight,"bottom-start":ni.modifiers.bottomLeft,"bottom-end":ni.modifiers.bottomRight,"left-start":ni.modifiers.leftTop,"left-end":ni.modifiers.leftBottom,"right-start":ni.modifiers.rightTop,"right-end":ni.modifiers.rightBottom},qe=p!==ql.value,Ie=d.createElement("div",Object.assign({"aria-live":R,className:x(ni.tooltip,o),role:"tooltip",id:w,style:{maxWidth:qe?p:null,opacity:Y,transition:Yd(O)}},j),d.createElement(of,null),d.createElement(rf,{isLeftAligned:r},e)),Te=(Q,ae)=>{N?he():Q.target===ae&&Ce()},Le=()=>y==="describedby"&&D&&D.props&&!D.props["aria-describedby"]?d.cloneElement(D,{"aria-describedby":w}):y==="labelledby"&&D.props&&!D.props["aria-labelledby"]?d.cloneElement(D,{"aria-labelledby":w}):D;return d.createElement(Ca,{trigger:y!=="none"&&N?Le():D,reference:M,popper:Ie,popperMatchesTriggerWidth:!1,appendTo:f,isVisible:N,positionModifiers:Ee,distance:g,placement:i,onMouseEnter:L&&Ce,onMouseLeave:L&&he,onPopperMouseEnter:L&&Ce,onPopperMouseLeave:L&&he,onFocus:_&&Ce,onBlur:_&&he,onDocumentClick:U&&Te,onDocumentKeyDown:W?null:pe,onTriggerEnter:W?null:Z,enableFlip:a,zIndex:h,flipBehavior:b,removeFindDomNode:k})};ve.displayName="Tooltip";const We={formControl:"pf-c-form-control",modifiers:{success:"pf-m-success",plain:"pf-m-plain",expanded:"pf-m-expanded",icon:"pf-m-icon",warning:"pf-m-warning",search:"pf-m-search",calendar:"pf-m-calendar",clock:"pf-m-clock",iconSprite:"pf-m-icon-sprite",placeholder:"pf-m-placeholder",resizeVertical:"pf-m-resize-vertical",resizeHorizontal:"pf-m-resize-horizontal"}},ce={dropdown:"pf-c-dropdown",dropdownGroup:"pf-c-dropdown__group",dropdownGroupTitle:"pf-c-dropdown__group-title",dropdownMenu:"pf-c-dropdown__menu",dropdownMenuItem:"pf-c-dropdown__menu-item",dropdownMenuItemDescription:"pf-c-dropdown__menu-item-description",dropdownMenuItemIcon:"pf-c-dropdown__menu-item-icon",dropdownMenuItemMain:"pf-c-dropdown__menu-item-main",dropdownToggle:"pf-c-dropdown__toggle",dropdownToggleButton:"pf-c-dropdown__toggle-button",dropdownToggleIcon:"pf-c-dropdown__toggle-icon",dropdownToggleImage:"pf-c-dropdown__toggle-image",dropdownToggleText:"pf-c-dropdown__toggle-text",modifiers:{fullHeight:"pf-m-full-height",expanded:"pf-m-expanded",action:"pf-m-action",disabled:"pf-m-disabled",plain:"pf-m-plain",text:"pf-m-text",splitButton:"pf-m-split-button",primary:"pf-m-primary",inProgress:"pf-m-in-progress",active:"pf-m-active",secondary:"pf-m-secondary",top:"pf-m-top",static:"pf-m-static",alignRight:"pf-m-align-right",alignLeft:"pf-m-align-left",alignRightOnSm:"pf-m-align-right-on-sm",alignLeftOnSm:"pf-m-align-left-on-sm",alignRightOnMd:"pf-m-align-right-on-md",alignLeftOnMd:"pf-m-align-left-on-md",alignRightOnLg:"pf-m-align-right-on-lg",alignLeftOnLg:"pf-m-align-left-on-lg",alignRightOnXl:"pf-m-align-right-on-xl",alignLeftOnXl:"pf-m-align-left-on-xl",alignRightOn_2xl:"pf-m-align-right-on-2xl",alignLeftOn_2xl:"pf-m-align-left-on-2xl",ariaDisabled:"pf-m-aria-disabled",icon:"pf-m-icon",description:"pf-m-description"}};var Yi;(function(t){t.right="right",t.left="left"})(Yi||(Yi={}));var va;(function(t){t.up="up",t.down="down"})(va||(va={}));const St=d.createContext({onSelect:t=>{},id:"",toggleIndicatorClass:"",toggleIconClass:"",toggleTextClass:"",menuClass:"",itemClass:"",toggleClass:"",baseClass:"",baseComponent:"div",sectionClass:"",sectionTitleClass:"",sectionComponent:"section",disabledClass:"",plainTextClass:"",menuComponent:"ul"}),Ps=d.createContext({keyHandler:null,sendRef:null});class Zi extends d.Component{constructor(){super(...arguments),this.refsCollection=[],this.componentWillUnmount=()=>{document.removeEventListener("keydown",this.onKeyDown)},this.onKeyDown=e=>{if(!this.props.isOpen||!Array.from(document.activeElement.classList).find(n=>Zi.validToggleClasses.concat(this.context.toggleClass).includes(n)))return;const i=this.refsCollection;if(e.key==="ArrowDown"){const n=i.find(s=>s&&s[0]&&!s[0].hasAttribute("disabled"));Zi.focusFirstRef(n),e.stopPropagation()}else if(e.key==="ArrowUp"){const n=i.length,s=i.slice(n-1,n),r=s&&s[0];Zi.focusFirstRef(r),e.stopPropagation()}},this.childKeyHandler=(e,i,n,s=!1)=>{Es(e,i,n,this.refsCollection,this.props.isGrouped?this.refsCollection:d.Children.toArray(this.props.children),s)},this.sendRef=(e,i,n,s)=>{this.refsCollection[e]=[],i.map((r,a)=>{r?r.getAttribute?s?this.refsCollection[e][a]=null:this.refsCollection[e][a]=r:this.refsCollection[e][a]=xn.findDOMNode(r):this.refsCollection[e][a]=null})}}componentDidMount(){document.addEventListener("keydown",this.onKeyDown);const{autoFocus:e}=this.props;if(e){const i=this.refsCollection.find(s=>s&&s[0]&&!s[0].hasAttribute("disabled")),n=i&&i[0];n&&n.focus&&setTimeout(()=>n.focus())}}shouldComponentUpdate(){return this.refsCollection=[],!0}extendChildren(){const{children:e,isGrouped:i}=this.props;if(i){let n=0;return d.Children.map(e,s=>{const r=s,a={};return r.props&&r.props.children&&(Array.isArray(r.props.children)?a.children=d.Children.map(r.props.children,o=>d.cloneElement(o,{index:n++})):a.children=d.cloneElement(r.props.children,{index:n++})),d.cloneElement(r,a)})}return d.Children.map(e,(n,s)=>d.cloneElement(n,{index:s}))}render(){const e=this.props,{className:i,isOpen:n,position:s,children:r,component:a,isGrouped:o,setMenuComponentRef:l,openedOnEnter:c,alignments:f}=e,h=B(e,["className","isOpen","position","children","component","isGrouped","setMenuComponentRef","openedOnEnter","alignments"]);return d.createElement(Ps.Provider,{value:{keyHandler:this.childKeyHandler,sendRef:this.sendRef}},a==="div"?d.createElement(St.Consumer,null,({onSelect:p,menuClass:g})=>d.createElement("div",{className:x(g,s===Yi.right&&ce.modifiers.alignRight,fe(f,ce,"align-"),i),hidden:!n,onClick:y=>p&&p(y),ref:l},r)):o&&d.createElement(St.Consumer,null,({menuClass:p,menuComponent:g})=>{const y=g||"div";return d.createElement(y,Object.assign({},h,{className:x(p,s===Yi.right&&ce.modifiers.alignRight,fe(f,ce,"align-"),i),hidden:!n,role:"menu",ref:l}),this.extendChildren())})||d.createElement(St.Consumer,null,({menuClass:p,menuComponent:g})=>{const y=g||a;return d.createElement(y,Object.assign({},h,{className:x(p,s===Yi.right&&ce.modifiers.alignRight,fe(f,ce,"align-"),i),hidden:!n,role:"menu",ref:l}),this.extendChildren())}))}}Zi.displayName="DropdownMenu";Zi.defaultProps={className:"",isOpen:!0,openedOnEnter:!1,autoFocus:!0,position:Yi.left,component:"ul",isGrouped:!1,setMenuComponentRef:null};Zi.validToggleClasses=[ce.dropdownToggle,ce.dropdownToggleButton];Zi.focusFirstRef=t=>{t&&t[0]&&t[0].focus&&setTimeout(()=>t[0].focus())};Zi.contextType=St;class Sa extends d.Component{constructor(e){super(e),this.openedOnEnter=!1,this.baseComponentRef=d.createRef(),this.menuComponentRef=d.createRef(),this.onEnter=()=>{this.openedOnEnter=!0},this.setMenuComponentRef=i=>{this.menuComponentRef=i},this.getMenuComponentRef=()=>this.menuComponentRef,e.dropdownItems&&e.dropdownItems.length>0&&e.children&&console.error("Children and dropdownItems props have been provided. Only the dropdownItems prop items will be rendered")}componentDidUpdate(){this.props.isOpen||(this.openedOnEnter=!1)}render(){const e=this.props,{children:i,className:n,direction:s,dropdownItems:r,isOpen:a,isPlain:o,isText:l,isGrouped:c,isFullHeight:f,onSelect:h,position:p,toggle:g,autoFocus:y,menuAppendTo:b,isFlipEnabled:w,removeFindDomNode:D,zIndex:O}=e,M=B(e,["children","className","direction","dropdownItems","isOpen","isPlain","isText","isGrouped","isFullHeight","onSelect","position","toggle","autoFocus","menuAppendTo","isFlipEnabled","removeFindDomNode","zIndex"]),R=g.props.id||`pf-dropdown-toggle-id-${Sa.currentId++}`;let A,C,S=!1;r&&r.length>0?(A="ul",C=r,S=!0):(A="div",C=d.Children.toArray(i));const k=this.openedOnEnter,P=w&&b!=="inline";return d.createElement(St.Consumer,null,({baseClass:j,baseComponent:L,id:_,ouiaId:U,ouiaComponentType:W,ouiaSafe:N,alignments:X})=>{const Y=L,ee=d.createElement(Zi,{className:x(P&&ce.modifiers.static),setMenuComponentRef:this.setMenuComponentRef,component:A,isOpen:a,position:p,"aria-labelledby":_?`${_}-toggle`:R,isGrouped:c,autoFocus:k&&y,alignments:X},C),q=d.createElement("div",{className:x(j,s===va.up&&ce.modifiers.top,p===Yi.right&&ce.modifiers.alignRight,a&&ce.modifiers.expanded,n)},a&&ee),se=d.createElement(Y,Object.assign({},M,{className:x(j,s===va.up&&ce.modifiers.top,p===Yi.right&&ce.modifiers.alignRight,a&&ce.modifiers.expanded,f&&ce.modifiers.fullHeight,n),ref:this.baseComponentRef},ci(W,U,N)),d.Children.map(g,G=>d.cloneElement(G,{parentRef:this.baseComponentRef,getMenuRef:this.getMenuComponentRef,isOpen:a,id:R,isPlain:o,isText:l,"aria-haspopup":S,onEnter:()=>{this.onEnter(),G.props.onEnter&&G.props.onEnter()}})),b==="inline"&&a&&ee),V=()=>this.baseComponentRef&&this.baseComponentRef.current?this.baseComponentRef.current.parentElement:null;return b==="inline"?se:d.createElement(Ca,{trigger:se,popper:q,direction:s,position:p,appendTo:b==="parent"?V():b,isVisible:a,removeFindDomNode:D,zIndex:O,popperMatchesTriggerWidth:!1})})}}Sa.displayName="DropdownWithContext";Sa.currentId=0;Sa.defaultProps={className:"",dropdownItems:[],isOpen:!1,isPlain:!1,isText:!1,isGrouped:!1,position:Yi.left,direction:va.down,onSelect:()=>{},autoFocus:!0,menuAppendTo:"inline",isFlipEnabled:!0};const fr=t=>{var{onSelect:e,ref:i,ouiaId:n,ouiaSafe:s,alignments:r,contextProps:a,menuAppendTo:o="inline",isFlipEnabled:l=!0,removeFindDomNode:c=!1,zIndex:f=9999}=t,h=B(t,["onSelect","ref","ouiaId","ouiaSafe","alignments","contextProps","menuAppendTo","isFlipEnabled","removeFindDomNode","zIndex"]);return d.createElement(St.Provider,{value:Object.assign({onSelect:p=>e&&e(p),toggleTextClass:ce.dropdownToggleText,toggleIconClass:ce.dropdownToggleImage,toggleIndicatorClass:ce.dropdownToggleIcon,menuClass:ce.dropdownMenu,itemClass:ce.dropdownMenuItem,toggleClass:ce.dropdownToggle,baseClass:ce.dropdown,baseComponent:"div",sectionClass:ce.dropdownGroup,sectionTitleClass:ce.dropdownGroupTitle,sectionComponent:"section",disabledClass:ce.modifiers.disabled,plainTextClass:ce.modifiers.text,ouiaId:Bd(fr.displayName,n),ouiaSafe:s,ouiaComponentType:fr.displayName,alignments:r},a)},d.createElement(Sa,Object.assign({menuAppendTo:o,isFlipEnabled:l,removeFindDomNode:c,zIndex:f},h)))};fr.displayName="Dropdown";class Hr extends d.Component{constructor(){super(...arguments),this.ref=d.createRef(),this.additionalRef=d.createRef(),this.getInnerNode=e=>e&&e.childNodes&&e.childNodes.length?e.childNodes[0]:e,this.onKeyDown=e=>{var i,n,s,r,a,o,l,c,f,h;const p=e.target===this.ref.current?0:1;this.props.customChild||e.preventDefault(),e.key==="ArrowUp"?((n=(i=this.props.context)===null||i===void 0?void 0:i.keyHandler)===null||n===void 0||n.call(i,this.props.index,p,Pa.UP),e.stopPropagation()):e.key==="ArrowDown"?((r=(s=this.props.context)===null||s===void 0?void 0:s.keyHandler)===null||r===void 0||r.call(s,this.props.index,p,Pa.DOWN),e.stopPropagation()):e.key==="ArrowRight"?((o=(a=this.props.context)===null||a===void 0?void 0:a.keyHandler)===null||o===void 0||o.call(a,this.props.index,p,Pa.RIGHT),e.stopPropagation()):e.key==="ArrowLeft"?((c=(l=this.props.context)===null||l===void 0?void 0:l.keyHandler)===null||c===void 0||c.call(l,this.props.index,p,Pa.LEFT),e.stopPropagation()):(e.key==="Enter"||e.key===" ")&&(e.target.click(),this.props.enterTriggersArrowDown&&((h=(f=this.props.context)===null||f===void 0?void 0:f.keyHandler)===null||h===void 0||h.call(f,this.props.index,p,Pa.DOWN)))},this.componentRef=e=>{this.ref.current=e;const{component:i}=this.props,n=i.ref;n&&(typeof n=="function"?n(e):n.current=e)}}componentDidMount(){var e;const{context:i,index:n,isDisabled:s,role:r,customChild:a,autoFocus:o}=this.props,l=a?this.getInnerNode(this.ref.current):this.ref.current;(e=i==null?void 0:i.sendRef)===null||e===void 0||e.call(i,n,[l,a?l:this.additionalRef.current],s,r==="separator"),o&&setTimeout(()=>l.focus())}componentDidUpdate(){var e;const{context:i,index:n,isDisabled:s,role:r,customChild:a}=this.props,o=a?this.getInnerNode(this.ref.current):this.ref.current;(e=i==null?void 0:i.sendRef)===null||e===void 0||e.call(i,n,[o,a?o:this.additionalRef.current],s,r==="separator")}extendAdditionalChildRef(){const{additionalChild:e}=this.props;return d.cloneElement(e,{ref:this.additionalRef})}render(){const e=this.props,{className:i,children:n,context:s,onClick:r,component:a,role:o,isDisabled:l,isAriaDisabled:c,isPlainText:f,index:h,href:p,tooltip:g,tooltipProps:y,id:b,componentID:w,listItemClassName:D,additionalChild:O,customChild:M,enterTriggersArrowDown:R,icon:A,autoFocus:C,styleChildren:S,description:k,inoperableEvents:P}=e,j=B(e,["className","children","context","onClick","component","role","isDisabled","isAriaDisabled","isPlainText","index","href","tooltip","tooltipProps","id","componentID","listItemClassName","additionalChild","customChild","enterTriggersArrowDown","icon","autoFocus","styleChildren","description","inoperableEvents"]);let L=x(A&&ce.modifiers.icon,c&&ce.modifiers.ariaDisabled,i);a==="a"?j["aria-disabled"]=l||c:a==="button"&&(j["aria-disabled"]=l||c,j.type=j.type||"button");const _=N=>g?d.createElement(ve,Object.assign({content:g},y),N):N,U=N=>d.cloneElement(N,Object.assign(Object.assign({},S&&{className:x(N.props.className,L)}),this.props.role!=="separator"&&{role:o,ref:this.componentRef})),W=N=>{const X=N,Y=k?d.createElement(d.Fragment,null,d.createElement("div",{className:ce.dropdownMenuItemMain},A&&d.createElement("span",{className:x(ce.dropdownMenuItemIcon)},A),n),d.createElement("div",{className:ce.dropdownMenuItemDescription},k)):d.createElement(d.Fragment,null,A&&d.createElement("span",{className:x(ce.dropdownMenuItemIcon)},A),n);return d.createElement(X,Object.assign({},j,l||c?Dg(P):null,{href:p,ref:this.ref,className:L,id:w,role:o}),Y)};return d.createElement(St.Consumer,null,({onSelect:N,itemClass:X,disabledClass:Y,plainTextClass:ee})=>(this.props.role!=="separator"&&(L=x(L,l&&Y,f&&ee,X,k&&ce.modifiers.description)),M?d.cloneElement(M,{ref:this.ref,onKeyDown:this.onKeyDown}):d.createElement("li",Object.assign({},D&&{className:D},{role:"none",onKeyDown:this.onKeyDown,onClick:q=>{!l&&!c&&(r==null||r(q),N==null||N(q))},id:b}),_(d.isValidElement(a)?U(a):W(a)),O&&this.extendAdditionalChildRef())))}}Hr.displayName="InternalDropdownItem";Hr.defaultProps={className:"",component:"a",role:"none",isDisabled:!1,isPlainText:!1,tooltipProps:{},onClick:t=>{},index:-1,context:{keyHandler:()=>{},sendRef:()=>{}},enterTriggersArrowDown:!1,icon:null,styleChildren:!0,description:null,inoperableEvents:["onClick","onKeyPress"]};const Ls=t=>{var{children:e,className:i,component:n="a",isDisabled:s=!1,isAriaDisabled:r=!1,isPlainText:a=!1,href:o,tooltip:l,tooltipProps:c={},listItemClassName:f,onClick:h,ref:p,additionalChild:g,customChild:y,tabIndex:b=-1,icon:w=null,autoFocus:D,description:O=null,styleChildren:M,ouiaId:R,ouiaSafe:A}=t,C=B(t,["children","className","component","isDisabled","isAriaDisabled","isPlainText","href","tooltip","tooltipProps","listItemClassName","onClick","ref","additionalChild","customChild","tabIndex","icon","autoFocus","description","styleChildren","ouiaId","ouiaSafe"]);const S=jt(Ls.displayName,R,A);return d.createElement(Ps.Consumer,null,k=>d.createElement(Hr,Object.assign({context:k,role:"menuitem",tabIndex:b,className:i,component:n,isDisabled:s,isAriaDisabled:r,isPlainText:a,href:o,tooltip:l,tooltipProps:c,listItemClassName:f,onClick:h,additionalChild:g,customChild:y,icon:w,autoFocus:D,styleChildren:M,description:O},S,C),e))};Ls.displayName="DropdownItem";const Un={divider:"pf-c-divider",modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",vertical:"pf-m-vertical",insetNone:"pf-m-inset-none",insetXs:"pf-m-inset-xs",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",inset_3xl:"pf-m-inset-3xl",horizontalOnSm:"pf-m-horizontal-on-sm",verticalOnSm:"pf-m-vertical-on-sm",insetNoneOnSm:"pf-m-inset-none-on-sm",insetXsOnSm:"pf-m-inset-xs-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",inset_3xlOnSm:"pf-m-inset-3xl-on-sm",horizontalOnMd:"pf-m-horizontal-on-md",verticalOnMd:"pf-m-vertical-on-md",insetNoneOnMd:"pf-m-inset-none-on-md",insetXsOnMd:"pf-m-inset-xs-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",inset_3xlOnMd:"pf-m-inset-3xl-on-md",horizontalOnLg:"pf-m-horizontal-on-lg",verticalOnLg:"pf-m-vertical-on-lg",insetNoneOnLg:"pf-m-inset-none-on-lg",insetXsOnLg:"pf-m-inset-xs-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",inset_3xlOnLg:"pf-m-inset-3xl-on-lg",horizontalOnXl:"pf-m-horizontal-on-xl",verticalOnXl:"pf-m-vertical-on-xl",insetNoneOnXl:"pf-m-inset-none-on-xl",insetXsOnXl:"pf-m-inset-xs-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",inset_3xlOnXl:"pf-m-inset-3xl-on-xl",horizontalOn_2xl:"pf-m-horizontal-on-2xl",verticalOn_2xl:"pf-m-vertical-on-2xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetXsOn_2xl:"pf-m-inset-xs-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl",inset_3xlOn_2xl:"pf-m-inset-3xl-on-2xl"}};var ur;(function(t){t.hr="hr",t.li="li",t.div="div"})(ur||(ur={}));const Ci=t=>{var{className:e,component:i=ur.hr,isVertical:n=!1,inset:s,orientation:r}=t,a=B(t,["className","component","isVertical","inset","orientation"]);const o=i;return d.createElement(o,Object.assign({className:x(Un.divider,n&&Un.modifiers.vertical,fe(s,Un),fe(r,Un),e)},i!=="hr"&&{role:"separator"},a))};Ci.displayName="Divider";const Wr=t=>{var{className:e="",ref:i,ouiaId:n,ouiaSafe:s}=t,r=B(t,["className","ref","ouiaId","ouiaSafe"]);const a=jt(Wr.displayName,n,s);return d.createElement(Ps.Consumer,null,o=>d.createElement(Hr,Object.assign({},r,{context:o,component:d.createElement(Ci,{component:ur.div}),className:e,role:"separator"},a)))};Wr.displayName="DropdownSeparator";const Xv={name:"CaretDownIcon",height:512,width:320,svgPath:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z",yOffset:0,xOffset:0},Yl=Ae(Xv),Jv={default:"",primary:ce.modifiers.primary,secondary:ce.modifiers.secondary};class Ns extends d.Component{constructor(){super(...arguments),this.buttonRef=d.createRef(),this.componentDidMount=()=>{document.addEventListener("click",this.onDocClick),document.addEventListener("touchstart",this.onDocClick),document.addEventListener("keydown",this.onEscPress)},this.componentWillUnmount=()=>{document.removeEventListener("click",this.onDocClick),document.removeEventListener("touchstart",this.onDocClick),document.removeEventListener("keydown",this.onEscPress)},this.onDocClick=e=>{const{isOpen:i,parentRef:n,onToggle:s,getMenuRef:r}=this.props,a=r&&r(),o=n&&n.current&&n.current.contains(e.target),l=a&&a.contains&&a.contains(e.target);i&&!(o||l)&&(s==null||s(!1,e))},this.onEscPress=e=>{var i,n,s;const{parentRef:r,getMenuRef:a}=this.props,o=a&&a(),l=r&&r.current&&r.current.contains(e.target),c=o&&o.contains&&o.contains(e.target);this.props.isOpen&&(e.key===ye.Escape||e.key==="Tab")&&(l||c)&&((n=(i=this.props).onToggle)===null||n===void 0||n.call(i,!1,e),(s=this.buttonRef.current)===null||s===void 0||s.focus())},this.onKeyDown=e=>{var i,n,s,r,a,o;e.key==="Tab"&&!this.props.isOpen||((e.key==="Tab"||e.key==="Enter"||e.key===" ")&&this.props.isOpen?(this.props.bubbleEvent||e.stopPropagation(),e.preventDefault(),(n=(i=this.props).onToggle)===null||n===void 0||n.call(i,!this.props.isOpen,e)):(e.key==="Enter"||e.key===" ")&&!this.props.isOpen&&(this.props.bubbleEvent||e.stopPropagation(),e.preventDefault(),(r=(s=this.props).onToggle)===null||r===void 0||r.call(s,!this.props.isOpen,e),(o=(a=this.props).onEnter)===null||o===void 0||o.call(a)))}}render(){const e=this.props,{className:i,children:n,isOpen:s,isDisabled:r,isPlain:a,isText:o,isPrimary:l,isSplitButton:c,toggleVariant:f,onToggle:h,"aria-haspopup":p,isActive:g,bubbleEvent:y,onEnter:b,parentRef:w,getMenuRef:D,id:O,type:M}=e,R=B(e,["className","children","isOpen","isDisabled","isPlain","isText","isPrimary","isSplitButton","toggleVariant","onToggle","aria-haspopup","isActive","bubbleEvent","onEnter","parentRef","getMenuRef","id","type"]);return d.createElement(St.Consumer,null,({toggleClass:A})=>d.createElement("button",Object.assign({},R,{id:O,ref:this.buttonRef,className:x(c?ce.dropdownToggleButton:A||ce.dropdownToggle,g&&ce.modifiers.active,a&&ce.modifiers.plain,o&&ce.modifiers.text,l&&ce.modifiers.primary,f&&Jv[f],i),type:M||"button",onClick:C=>h==null?void 0:h(!s,C),"aria-expanded":s,"aria-haspopup":p,onKeyDown:C=>this.onKeyDown(C),disabled:r}),n))}}Ns.displayName="Toggle";Ns.defaultProps={className:"",isOpen:!1,isActive:!1,isDisabled:!1,isPlain:!1,isText:!1,isPrimary:!1,isSplitButton:!1,onToggle:()=>{},onEnter:()=>{},bubbleEvent:!1};const Gv={name:"EllipsisVIcon",height:512,width:192,svgPath:"M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z",yOffset:0,xOffset:0},Kv=Ae(Gv),sf=t=>{var{id:e="",children:i=null,className:n="",isOpen:s=!1,"aria-label":r="Actions",parentRef:a=null,getMenuRef:o=null,isActive:l=!1,isPlain:c=!1,isDisabled:f=!1,bubbleEvent:h=!1,onToggle:p=()=>{},ref:g}=t,y=B(t,["id","children","className","isOpen","aria-label","parentRef","getMenuRef","isActive","isPlain","isDisabled","bubbleEvent","onToggle","ref"]);return d.createElement(Ns,Object.assign({id:e,className:n,isOpen:s,"aria-label":r,parentRef:a,getMenuRef:o,isActive:l,isPlain:c,isDisabled:f,onToggle:p,bubbleEvent:h},y),d.createElement(Kv,null))};sf.displayName="KebabToggle";const lf=t=>{var{children:e}=t,i=B(t,["children"]);return d.createElement(Wr,Object.assign({},i))};lf.displayName="ApplicationLauncherSeparator";const qv={name:"ExternalLinkAltIcon",height:512,width:512,svgPath:"M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z",yOffset:0,xOffset:0},$v=Ae(qv),Yv={name:"StarIcon",height:512,width:576,svgPath:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z",yOffset:0,xOffset:0},Ur=Ae(Yv),Zv=(t,e,i,n)=>{if(e){const s=[];return t.forEach(r=>{if(i.length>0)return r.props.children&&r.props.children.filter(a=>i.includes(a.props.id)).map(a=>s.push(d.cloneElement(a,{isFavorite:!0,id:`favorite-${a.props.id}`})))}),s}return t.filter(s=>i.includes(s.props.id)).map(s=>d.cloneElement(s,{isFavorite:!0,enterTriggersArrowDown:n}))},Qv=(t,e,i)=>e?t.map(n=>d.cloneElement(n,{children:d.Children.map(n.props.children,s=>s.type===lf||s.type===Ci?s:d.cloneElement(s,{isFavorite:i.some(r=>r===s.props.id||`favorite-${r}`===s.props.id)}))})):t.map(n=>d.cloneElement(n,{isFavorite:i.some(s=>s===n.props.id)}));var es;(function(t){t.text="text",t.date="date",t.datetimeLocal="datetime-local",t.email="email",t.month="month",t.number="number",t.password="password",t.search="search",t.tel="tel",t.time="time",t.url="url"})(es||(es={}));var Zl;(function(t){t.default="default",t.plain="plain"})(Zl||(Zl={}));class Tn extends d.Component{constructor(e){super(e),this.inputRef=d.createRef(),this.observer=()=>{},this.handleChange=i=>{this.props.onChange&&this.props.onChange(i.currentTarget.value,i)},this.handleResize=()=>{const i=this.props.innerRef||this.inputRef;i&&i.current&&wg(i.current,String(this.props.value))},this.restoreText=()=>{const i=this.props.innerRef||this.inputRef;i.current.value=String(this.props.value),i.current.scrollLeft=i.current.scrollWidth},this.onFocus=i=>{const{isLeftTruncated:n,onFocus:s}=this.props;n&&this.restoreText(),s&&s(i)},this.onBlur=i=>{const{isLeftTruncated:n,onBlur:s}=this.props;n&&this.handleResize(),s&&s(i)},this.sanitizeInputValue=i=>typeof i=="string"?i.replace(/\n/g," "):i,!e.id&&!e["aria-label"]&&!e["aria-labelledby"]&&console.error("Text input:","Text input requires either an id or aria-label to be specified"),this.state={ouiaStateId:Wi(Tn.displayName)}}componentDidMount(){if(this.props.isLeftTruncated){const e=this.props.innerRef||this.inputRef;this.observer=Qd(e.current,this.handleResize),this.handleResize()}}componentWillUnmount(){this.props.isLeftTruncated&&this.observer()}render(){const e=this.props,{innerRef:i,className:n,type:s,value:r,validated:a,onChange:o,onFocus:l,onBlur:c,isLeftTruncated:f,isReadOnly:h,readOnly:p,readOnlyVariant:g,isRequired:y,isDisabled:b,isIconSprite:w,iconVariant:D,customIconUrl:O,customIconDimensions:M,ouiaId:R,ouiaSafe:A}=e,C=B(e,["innerRef","className","type","value","validated","onChange","onFocus","onBlur","isLeftTruncated","isReadOnly","readOnly","readOnlyVariant","isRequired","isDisabled","isIconSprite","iconVariant","customIconUrl","customIconDimensions","ouiaId","ouiaSafe"]),S={};return O&&(S.backgroundImage=`url('${O}')`),M&&(S.backgroundSize=M),d.createElement("input",Object.assign({},C,{onFocus:this.onFocus,onBlur:this.onBlur,className:x(We.formControl,w&&We.modifiers.iconSprite,g==="plain"&&We.modifiers.plain,a===Se.success&&We.modifiers.success,a===Se.warning&&We.modifiers.warning,(D&&D!=="search"||O)&&We.modifiers.icon,D&&We.modifiers[D],n),onChange:this.handleChange,type:s,value:this.sanitizeInputValue(r),"aria-invalid":C["aria-invalid"]?C["aria-invalid"]:a===Se.error,required:y,disabled:b,readOnly:!!g||h||p,ref:i||this.inputRef},(O||M)&&{style:S},ci(oi.displayName,R!==void 0?R:this.state.ouiaStateId,A)))}}Tn.displayName="TextInputBase";Tn.defaultProps={"aria-label":null,className:"",isRequired:!1,validated:"default",isDisabled:!1,isReadOnly:!1,isIconSprite:!1,type:es.text,isLeftTruncated:!1,onChange:()=>{},ouiaSafe:!0};const oi=d.forwardRef((t,e)=>d.createElement(Tn,Object.assign({},t,{innerRef:e})));oi.displayName="TextInput";const z={modifiers:{invalid:"pf-m-invalid",success:"pf-m-success",warning:"pf-m-warning",disabled:"pf-m-disabled",active:"pf-m-active",expanded:"pf-m-expanded",plain:"pf-m-plain",typeahead:"pf-m-typeahead",placeholder:"pf-m-placeholder",top:"pf-m-top",alignRight:"pf-m-align-right",static:"pf-m-static",favorite:"pf-m-favorite",favoriteAction:"pf-m-favorite-action",focus:"pf-m-focus",link:"pf-m-link",action:"pf-m-action",selected:"pf-m-selected",description:"pf-m-description",load:"pf-m-load",loading:"pf-m-loading"},select:"pf-c-select",selectListItem:"pf-c-select__list-item",selectMenu:"pf-c-select__menu",selectMenuFieldset:"pf-c-select__menu-fieldset",selectMenuFooter:"pf-c-select__menu-footer",selectMenuGroup:"pf-c-select__menu-group",selectMenuGroupTitle:"pf-c-select__menu-group-title",selectMenuItem:"pf-c-select__menu-item",selectMenuItemActionIcon:"pf-c-select__menu-item-action-icon",selectMenuItemCount:"pf-c-select__menu-item-count",selectMenuItemDescription:"pf-c-select__menu-item-description",selectMenuItemIcon:"pf-c-select__menu-item-icon",selectMenuItemMain:"pf-c-select__menu-item-main",selectMenuItemRow:"pf-c-select__menu-item-row",selectMenuItemText:"pf-c-select__menu-item-text",selectMenuSearch:"pf-c-select__menu-search",selectMenuWrapper:"pf-c-select__menu-wrapper",selectToggle:"pf-c-select__toggle",selectToggleArrow:"pf-c-select__toggle-arrow",selectToggleBadge:"pf-c-select__toggle-badge",selectToggleButton:"pf-c-select__toggle-button",selectToggleClear:"pf-c-select__toggle-clear",selectToggleIcon:"pf-c-select__toggle-icon",selectToggleStatusIcon:"pf-c-select__toggle-status-icon",selectToggleText:"pf-c-select__toggle-text",selectToggleTypeahead:"pf-c-select__toggle-typeahead",selectToggleWrapper:"pf-c-select__toggle-wrapper"},em={name:"TimesCircleIcon",height:512,width:512,svgPath:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z",yOffset:0,xOffset:0},cf=Ae(em),Be={form:"pf-c-form",formFieldset:"pf-c-form__fieldset",formGroup:"pf-c-form__group",formGroupControl:"pf-c-form__group-control",formGroupLabel:"pf-c-form__group-label",formGroupLabelInfo:"pf-c-form__group-label-info",formGroupLabelMain:"pf-c-form__group-label-main",formHelperText:"pf-c-form__helper-text",formHelperTextIcon:"pf-c-form__helper-text-icon",formLabel:"pf-c-form__label",formLabelRequired:"pf-c-form__label-required",formLabelText:"pf-c-form__label-text",modifiers:{horizontal:"pf-m-horizontal",noPaddingTop:"pf-m-no-padding-top",limitWidth:"pf-m-limit-width",info:"pf-m-info",inline:"pf-m-inline",stack:"pf-m-stack",error:"pf-m-error",success:"pf-m-success",warning:"pf-m-warning"}},xi={check:"pf-c-check",checkBody:"pf-c-check__body",checkDescription:"pf-c-check__description",checkInput:"pf-c-check__input",checkLabel:"pf-c-check__label",checkLabelRequired:"pf-c-check__label-required",modifiers:{standalone:"pf-m-standalone",disabled:"pf-m-disabled"}},im={name:"CheckIcon",height:512,width:512,svgPath:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z",yOffset:0,xOffset:0},pn=Ae(im),Bs=d.createContext(null);Bs.Provider;const _s=Bs.Consumer;var le;(function(t){t.single="single",t.checkbox="checkbox",t.typeahead="typeahead",t.typeaheadMulti="typeaheadmulti"})(le||(le={}));var hn;(function(t){t.right="right",t.left="left"})(hn||(hn={}));var mi;(function(t){t.up="up",t.down="down"})(mi||(mi={}));const $a="input, button, select, textarea, a[href]";class Pe extends d.Component{constructor(){super(...arguments),this.ref=d.createRef(),this.liRef=d.createRef(),this.favoriteRef=d.createRef(),this.onKeyDown=(e,i,n,s)=>{const{index:r,keyHandler:a,isLastOptionBeforeFooter:o}=this.props;let l=!1;o!==void 0&&(l=o(r)),e.key===ye.Tab&&(s&&!l?(e.shiftKey?a(r,i,"up"):a(r,i,"down"),e.stopPropagation()):e.shiftKey?a(r,i,"up"):a(r,i,"tab")),e.preventDefault(),e.key===ye.ArrowUp?a(r,i,"up"):e.key===ye.ArrowDown?a(r,i,"down"):e.key===ye.ArrowLeft?a(r,i,"left"):e.key===ye.ArrowRight?a(r,i,"right"):e.key===ye.Enter&&(n!==void 0?n():this.ref.current.click())}}componentDidMount(){this.props.sendRef(this.props.isDisabled?null:this.ref.current,this.props.isDisabled?null:this.favoriteRef.current,this.props.isDisabled?null:this.liRef.current,this.props.index)}componentDidUpdate(){this.props.sendRef(this.props.isDisabled?null:this.ref.current,this.props.isDisabled?null:this.favoriteRef.current,this.props.isDisabled?null:this.liRef.current,this.props.index)}render(){const e=this.props,{children:i,className:n,id:s,description:r,itemCount:a,value:o,onClick:l,isDisabled:c,isPlaceholder:f,isNoResultsOption:h,isSelected:p,isChecked:g,isFocused:y,sendRef:b,keyHandler:w,index:D,component:O,inputId:M,isFavorite:R,ariaIsFavoriteLabel:A="starred",ariaIsNotFavoriteLabel:C="not starred",isLoad:S,isLoading:k,setViewMoreNextIndex:P,isLastOptionBeforeFooter:j,isGrouped:L=!1}=e,_=B(e,["children","className","id","description","itemCount","value","onClick","isDisabled","isPlaceholder","isNoResultsOption","isSelected","isChecked","isFocused","sendRef","keyHandler","index","component","inputId","isFavorite","ariaIsFavoriteLabel","ariaIsNotFavoriteLabel","isLoad","isLoading","setViewMoreNextIndex","isLastOptionBeforeFooter","isGrouped"]),U=O;!s&&R!==null&&console.error("Please provide an id to use the favorites feature.");const W=s||Br("select-option"),N=q=>d.createElement("button",{className:x(z.selectMenuItem,z.modifiers.action,z.modifiers.favoriteAction),"aria-label":R?A:C,onClick:()=>{q(W.replace("favorite-",""),R)},onKeyDown:se=>{this.onKeyDown(se,1,()=>q(W.replace("favorite-",""),R))},ref:this.favoriteRef},d.createElement("span",{className:x(z.selectMenuItemActionIcon)},d.createElement(Ur,null))),X=a?d.createElement("span",{className:x(z.selectMenuItemRow)},d.createElement("span",{className:x(z.selectMenuItemText)},i||o&&o.toString&&o.toString()),d.createElement("span",{className:x(z.selectMenuItemCount)},a)):i||o.toString(),Y=q=>{P(),l(q)},ee=(q,se,V,G,re,pe)=>{if(V!==le.checkbox&&k&&L)return d.createElement("div",{role:"presentation",className:x(z.selectListItem,k&&z.modifiers.loading,n)},i);if(V!==le.checkbox&&S&&L)return d.createElement("div",null,d.createElement("button",Object.assign({},_,{role:"presentation",className:x(z.selectMenuItem,z.modifiers.load,n),onClick:Z=>{Y(Z),Z.stopPropagation()},ref:this.ref,type:"button"}),i||o.toString()));if(V!==le.checkbox)return d.createElement("li",{id:W,role:"presentation",className:x(k&&z.selectListItem,!k&&z.selectMenuWrapper,R&&z.modifiers.favorite,y&&z.modifiers.focus,k&&z.modifiers.loading),ref:this.liRef},k&&i,S&&!L&&d.createElement("button",Object.assign({},_,{className:x(z.selectMenuItem,z.modifiers.load,n),onClick:Z=>{Y(Z),Z.stopPropagation()},ref:this.ref,onKeyDown:Z=>{this.onKeyDown(Z,0)},type:"button"}),X),!k&&!S&&d.createElement(d.Fragment,null,d.createElement(U,Object.assign({},_,{className:x(z.selectMenuItem,S&&z.modifiers.load,p&&z.modifiers.selected,c&&z.modifiers.disabled,r&&z.modifiers.description,R!==null&&z.modifiers.link,n),onClick:Z=>{c||(l(Z),q(Z,o,f),pe&&se())},role:"option","aria-selected":p||null,ref:this.ref,onKeyDown:Z=>{this.onKeyDown(Z,0)},type:"button"}),r&&d.createElement(d.Fragment,null,d.createElement("span",{className:x(z.selectMenuItemMain)},X,p&&d.createElement("span",{className:x(z.selectMenuItemIcon)},d.createElement(pn,{"aria-hidden":!0}))),d.createElement("span",{className:x(z.selectMenuItemDescription)},r)),!r&&d.createElement(d.Fragment,null,X,p&&d.createElement("span",{className:x(z.selectMenuItemIcon)},d.createElement(pn,{"aria-hidden":!0})))),R!==null&&s&&N(re)));if(V===le.checkbox&&S)return d.createElement("button",{className:x(z.selectMenuItem,z.modifiers.load,y&&z.modifiers.focus,n),onKeyDown:Z=>{this.onKeyDown(Z,0,void 0,!0)},onClick:Z=>{Y(Z),Z.stopPropagation()},ref:this.ref},i||o&&o.toString&&o.toString());if(V===le.checkbox&&k)return d.createElement("div",{className:x(z.selectListItem,k&&z.modifiers.loading,n)},i);if(V===le.checkbox&&!h&&!k&&!S)return d.createElement("label",Object.assign({},_,{className:x(xi.check,z.selectMenuItem,c&&z.modifiers.disabled,r&&z.modifiers.description,n),onKeyDown:Z=>{this.onKeyDown(Z,0,void 0,!0)}}),d.createElement("input",{id:M||`${G}-${o.toString()}`,className:x(xi.checkInput),type:"checkbox",onChange:Z=>{c||(l(Z),q(Z,o))},ref:this.ref,checked:g||!1,disabled:c}),d.createElement("span",{className:x(xi.checkLabel,c&&z.modifiers.disabled)},X),r&&d.createElement("div",{className:x(xi.checkDescription)},r));if(V===le.checkbox&&h&&!k&&!S)return d.createElement("div",null,d.createElement(U,Object.assign({},_,{className:x(z.selectMenuItem,p&&z.modifiers.selected,c&&z.modifiers.disabled,n),role:"option","aria-selected":p||null,ref:this.ref,onKeyDown:Z=>{this.onKeyDown(Z,0,void 0,!0)},type:"button"}),X))};return d.createElement(_s,null,({onSelect:q,onClose:se,variant:V,inputIdPrefix:G,onFavorite:re,shouldResetOnSelect:pe})=>d.createElement(d.Fragment,null,ee(q,se,V,G,re,pe)))}}Pe.displayName="SelectOption";Pe.defaultProps={className:"",value:"",index:0,isDisabled:!1,isPlaceholder:!1,isSelected:!1,isChecked:!1,isNoResultsOption:!1,component:"button",onClick:()=>{},sendRef:()=>{},keyHandler:()=>{},inputId:"",isFavorite:null,isLoad:!1,isLoading:!1,setViewMoreNextIndex:()=>{},isLastOptionBeforeFooter:()=>!1};const _t=t=>{var{children:e=[],className:i="",label:n="",titleId:s=""}=t,r=B(t,["children","className","label","titleId"]);return d.createElement(_s,null,({variant:a})=>d.createElement("div",Object.assign({},r,{className:x(z.selectMenuGroup,i)}),d.createElement("div",{className:x(z.selectMenuGroupTitle),id:s,"aria-hidden":!0},n),a===le.checkbox?e:d.createElement("ul",{role:"listbox"},e)))};_t.displayName="SelectGroup";class zs extends d.Component{extendChildren(e){const{children:i,hasInlineFilter:n,isGrouped:s}=this.props,r=i;let a=n?1:0;return s?d.Children.map(r,o=>o.type===_t?d.cloneElement(o,{titleId:o.props.label&&o.props.label.replace(/\W/g,"-"),children:d.Children.map(o.props.children,l=>this.cloneOption(l,a++,e))}):this.cloneOption(o,a++,e)):d.Children.map(r,o=>this.cloneOption(o,a++,e))}cloneOption(e,i,n){const{selected:s,sendRef:r,keyHandler:a}=this.props,o=this.checkForValue(e.props.value,s);return e.type===Ci?e:d.cloneElement(e,{inputId:`${n}-${i}`,isSelected:o,sendRef:r,keyHandler:a,index:i})}checkForValue(e,i){if(!i||!e)return!1;const n=typeof e!="string"&&e.toString&&e.compareTo;return Array.isArray(i)?n?i.some(s=>s.compareTo(e)):i.includes(e):n?i.compareTo(e):i===e}extendCheckboxChildren(e){const{isGrouped:i,checked:n,sendRef:s,keyHandler:r,hasInlineFilter:a,isLastOptionBeforeFooter:o}=this.props;let l=a?1:0;return i?d.Children.map(e,c=>c.type===Ci?c:c.type===Pe?d.cloneElement(c,{isChecked:this.checkForValue(c.props.value,n),sendRef:s,keyHandler:r,index:l++,isLastOptionBeforeFooter:o}):d.cloneElement(c,{titleId:c.props.label&&c.props.label.replace(/\W/g,"-"),children:c.props.children?d.createElement("fieldset",{"aria-labelledby":c.props.label&&c.props.label.replace(/\W/g,"-"),className:x(z.selectMenuFieldset)},d.Children.map(c.props.children,f=>f.type===Ci?f:d.cloneElement(f,{isChecked:this.checkForValue(f.props.value,n),sendRef:s,keyHandler:r,index:l++,isLastOptionBeforeFooter:o}))):null})):d.Children.map(e,c=>c.type===Ci?c:d.cloneElement(c,{isChecked:this.checkForValue(c.props.value,n),sendRef:s,keyHandler:r,index:l++,isLastOptionBeforeFooter:o}))}renderSelectMenu({variant:e,inputIdPrefix:i}){const n=this.props,{children:s,isCustomContent:r,className:a,isExpanded:o,openedOnEnter:l,selected:c,checked:f,isGrouped:h,position:p,sendRef:g,keyHandler:y,maxHeight:b,noResultsFoundText:w,createText:D,"aria-label":O,"aria-labelledby":M,hasInlineFilter:R,innerRef:A,footer:C,footerRef:S,isLastOptionBeforeFooter:k}=n,P=B(n,["children","isCustomContent","className","isExpanded","openedOnEnter","selected","checked","isGrouped","position","sendRef","keyHandler","maxHeight","noResultsFoundText","createText","aria-label","aria-labelledby","hasInlineFilter","innerRef","footer","footerRef","isLastOptionBeforeFooter"]);let j="div";const L=Object.assign({ref:A,className:x(C?"pf-c-select__menu-list":z.selectMenu,p===hn.right&&z.modifiers.alignRight,a)},b&&{style:{maxHeight:b,overflow:"auto"}}),_=()=>e===le.checkbox?this.extendCheckboxChildren(s):this.extendChildren(i);return r?L.children=s:R?d.Children.count(s)===0?L.children=d.createElement("fieldset",{className:x(z.selectMenuFieldset)}):L.children=d.createElement("fieldset",{"aria-label":O,"aria-labelledby":!O&&M||null,className:x(Be.formFieldset)},s.shift(),_()):(L.children=_(),h||(j="ul",L.role="listbox",L["aria-label"]=O,L["aria-labelledby"]=!O&&M||null)),d.createElement(d.Fragment,null,d.createElement(j,Object.assign({},L,P)),C&&d.createElement("div",{className:x(z.selectMenuFooter),ref:S},C))}render(){return d.createElement(_s,null,e=>this.renderSelectMenu(e))}}zs.displayName="SelectMenu";zs.defaultProps={className:"",isExpanded:!1,isGrouped:!1,openedOnEnter:!1,selected:"",maxHeight:"",position:hn.left,sendRef:()=>{},keyHandler:()=>{},isCustomContent:!1,hasInlineFilter:!1,isLastOptionBeforeFooter:()=>{}};const tm=d.forwardRef((t,e)=>d.createElement(zs,Object.assign({innerRef:e},t),t.children));class Hs extends d.Component{constructor(e){super(e),this.onDocClick=s=>{const{parentRef:r,menuRef:a,footerRef:o,isOpen:l,onToggle:c,onClose:f}=this.props,h=r&&r.current&&r.current.contains(s.target),p=a&&a.current&&a.current.contains&&a.current.contains(s.target),g=o&&o.current&&o.current.contains&&o.current.contains(s.target);l&&!(h||p||g)&&(c(!1,s),f())},this.handleGlobalKeys=s=>{const{parentRef:r,menuRef:a,hasFooter:o,footerRef:l,isOpen:c,variant:f,onToggle:h,onClose:p,moveFocusToLastMenuItem:g}=this.props,y=r&&r.current&&r.current.contains(s.target),b=a&&a.current&&a.current.contains&&a.current.contains(s.target);if(c&&s.key===ye.Tab&&(f===le.typeahead||f===le.typeaheadMulti)){this.props.handleTypeaheadKeys("tab",s.shiftKey),s.preventDefault();return}if(c&&s.key===ye.Tab&&o){const w=qa(l,$a);if(w.length<=0){h(!1,s),p(),this.toggle.current.focus();return}else{const D=w.findIndex(O=>O===document.activeElement);if(D===-1)if(s.shiftKey)f!=="checkbox"&&(h(!1,s),p(),this.toggle.current.focus());else{w[0].focus();return}if(s.shiftKey){D===0&&(g(),s.preventDefault());return}D+1<w.length?w[D+1].focus():(h(!1,s),p(),this.toggle.current.focus()),s.preventDefault();return}}c&&(s.key===ye.Escape||s.key===ye.Tab)&&(y||b)&&(h(!1,s),p(),this.toggle.current.focus())},this.onKeyDown=s=>{const{isOpen:r,onToggle:a,variant:o,onClose:l,onEnter:c,handleTypeaheadKeys:f}=this.props;(o===le.typeahead||o===le.typeaheadMulti)&&(s.key===ye.ArrowDown||s.key===ye.ArrowUp?(f(s.key===ye.ArrowDown&&"down"||s.key===ye.ArrowUp&&"up"),s.preventDefault()):s.key===ye.Enter&&(r?f("enter"):a(!r,s))),!(o===le.typeahead||o===le.typeaheadMulti||s.key===ye.Tab&&!r||s.key!==ye.Enter&&s.key!==ye.Space)&&(s.preventDefault(),(s.key===ye.Tab||s.key===ye.Enter||s.key===ye.Space)&&r?(a(!r,s),l(),this.toggle.current.focus()):(s.key===ye.Enter||s.key===ye.Space)&&!r&&(a(!r,s),c()))};const{variant:i}=e,n=i===le.typeahead||i===le.typeaheadMulti;this.props.innerRef?this.toggle=this.props.innerRef:this.toggle=d.createRef()}componentDidMount(){document.addEventListener("click",this.onDocClick,{capture:!0}),document.addEventListener("touchstart",this.onDocClick),document.addEventListener("keydown",this.handleGlobalKeys)}componentWillUnmount(){document.removeEventListener("click",this.onDocClick),document.removeEventListener("touchstart",this.onDocClick),document.removeEventListener("keydown",this.handleGlobalKeys)}render(){const e=this.props,{className:i,children:n,isOpen:s,isActive:r,isPlain:a,isDisabled:o,hasPlaceholderStyle:l,variant:c,onToggle:f,onEnter:h,onClose:p,onBlur:g,onClickTypeaheadToggleButton:y,handleTypeaheadKeys:b,moveFocusToLastMenuItem:w,parentRef:D,menuRef:O,id:M,type:R,hasClearButton:A,"aria-labelledby":C,"aria-label":S,hasFooter:k,footerRef:P,toggleIndicator:j,innerRef:L}=e,_=B(e,["className","children","isOpen","isActive","isPlain","isDisabled","hasPlaceholderStyle","variant","onToggle","onEnter","onClose","onBlur","onClickTypeaheadToggleButton","handleTypeaheadKeys","moveFocusToLastMenuItem","parentRef","menuRef","id","type","hasClearButton","aria-labelledby","aria-label","hasFooter","footerRef","toggleIndicator","innerRef"]),U=c===le.typeahead||c===le.typeaheadMulti||A,W={id:M,"aria-labelledby":C,"aria-expanded":s,"aria-haspopup":c!==le.checkbox&&"listbox"||null};return d.createElement(d.Fragment,null,!U&&d.createElement("button",Object.assign({},_,W,{ref:this.toggle,type:R,className:x(z.selectToggle,l&&z.modifiers.placeholder,o&&z.modifiers.disabled,a&&z.modifiers.plain,r&&z.modifiers.active,i),"aria-label":S,onBlur:g,onClick:N=>{f(!s,N),s&&p()},onKeyDown:this.onKeyDown,disabled:o}),n,d.createElement("span",{className:x(z.selectToggleArrow)},j??d.createElement(Yl,null))),U&&d.createElement("div",Object.assign({},_,{ref:this.toggle,className:x(z.selectToggle,l&&z.modifiers.placeholder,o&&z.modifiers.disabled,a&&z.modifiers.plain,U&&z.modifiers.typeahead,i),onBlur:g,onClick:N=>{o||(f(!s,N),s&&p())},onKeyDown:this.onKeyDown}),n,d.createElement("button",Object.assign({},W,{type:R,className:x(_e.button,z.selectToggleButton,z.modifiers.plain),"aria-label":S,onClick:N=>{f(!s,N),s&&p(),y()}},(c===le.typeahead||c===le.typeaheadMulti)&&{tabIndex:-1},{disabled:o}),j??d.createElement(Yl,{className:x(z.selectToggleArrow)}))))}}Hs.displayName="SelectToggle";Hs.defaultProps={className:"",isOpen:!1,isActive:!1,isPlain:!1,isDisabled:!1,hasPlaceholderStyle:!1,hasClearButton:!1,hasFooter:!1,variant:"single","aria-labelledby":"","aria-label":"",type:"button",onToggle:()=>{},onEnter:()=>{},onClose:()=>{},onClickTypeaheadToggleButton:()=>{}};const am=d.forwardRef((t,e)=>d.createElement(Hs,Object.assign({innerRef:e},t))),nt={chipGroup:"pf-c-chip-group",chipGroupClose:"pf-c-chip-group__close",chipGroupLabel:"pf-c-chip-group__label",chipGroupList:"pf-c-chip-group__list",chipGroupListItem:"pf-c-chip-group__list-item",chipGroupMain:"pf-c-chip-group__main",modifiers:{category:"pf-m-category"}},Ha={chip:"pf-c-chip",chipText:"pf-c-chip__text",modifiers:{overflow:"pf-m-overflow"}};class It extends d.Component{constructor(e){super(e),this.span=d.createRef(),this.setChipStyle=()=>({"--pf-c-chip__text--MaxWidth":this.props.textMaxWidth}),this.renderOverflowChip=()=>{const i=this.props,{children:n,className:s,onClick:r,ouiaId:a,textMaxWidth:o,style:l,component:c,tooltipPosition:f,isOverflowChip:h,closeBtnAriaLabel:p,isReadOnly:g}=i,y=B(i,["children","className","onClick","ouiaId","textMaxWidth","style","component","tooltipPosition","isOverflowChip","closeBtnAriaLabel","isReadOnly"]),b=c;return d.createElement(b,Object.assign({onClick:r},o&&Object.assign({style:this.setChipStyle()},l),{className:x(Ha.chip,Ha.modifiers.overflow,s)},c==="button"?{type:"button"}:{},ci("OverflowChip",a!==void 0?a:this.state.ouiaStateId),y),d.createElement("span",{className:x(Ha.chipText)},n))},this.renderChip=i=>{const{children:n,tooltipPosition:s}=this.props;return this.state.isTooltipVisible?d.createElement(ve,{position:s,content:n},this.renderInnerChip(i)):this.renderInnerChip(i)},this.state={isTooltipVisible:!1,ouiaStateId:Wi(It.displayName)}}componentDidMount(){this.setState({isTooltipVisible:!!(this.span.current&&this.span.current.offsetWidth<this.span.current.scrollWidth)})}renderInnerChip(e){const i=this.props,{children:n,className:s,onClick:r,closeBtnAriaLabel:a,isReadOnly:o,isOverflowChip:l,tooltipPosition:c,component:f,ouiaId:h}=i,p=B(i,["children","className","onClick","closeBtnAriaLabel","isReadOnly","isOverflowChip","tooltipPosition","component","ouiaId"]),g=f;return d.createElement(g,Object.assign({},this.props.textMaxWidth&&{style:this.setChipStyle()},{className:x(Ha.chip,s)},this.state.isTooltipVisible&&{tabIndex:0},ci(It.displayName,h!==void 0?h:this.state.ouiaStateId),p),d.createElement("span",{ref:this.span,className:x(Ha.chipText),id:e},n),!o&&d.createElement($,{onClick:r,variant:"plain","aria-label":a,id:`remove_${e}`,"aria-labelledby":`remove_${e} ${e}`,ouiaId:h||a},d.createElement(zr,{"aria-hidden":"true"})))}render(){const{isOverflowChip:e}=this.props;return d.createElement(tt,null,i=>e?this.renderOverflowChip():this.renderChip(this.props.id||i))}}It.displayName="Chip";It.defaultProps={closeBtnAriaLabel:"close",className:"",isOverflowChip:!1,isReadOnly:!1,tooltipPosition:"top",onClick:t=>{},component:"div"};class Ea extends d.Component{constructor(e){super(e),this.headingRef=d.createRef(),this.toggleCollapse=()=>{this.setState(i=>({isOpen:!i.isOpen,isTooltipVisible:!!(this.headingRef.current&&this.headingRef.current.offsetWidth<this.headingRef.current.scrollWidth)}))},this.state={isOpen:this.props.defaultIsOpen,isTooltipVisible:!1}}componentDidMount(){this.setState({isTooltipVisible:!!(this.headingRef.current&&this.headingRef.current.offsetWidth<this.headingRef.current.scrollWidth)})}renderLabel(e){const{categoryName:i,tooltipPosition:n}=this.props,{isTooltipVisible:s}=this.state;return s?d.createElement(ve,{position:n,content:i},d.createElement("span",{tabIndex:0,ref:this.headingRef,className:x(nt.chipGroupLabel)},d.createElement("span",{id:e},i))):d.createElement("span",{ref:this.headingRef,className:x(nt.chipGroupLabel),id:e},i)}render(){const e=this.props,{categoryName:i,children:n,className:s,isClosable:r,closeBtnAriaLabel:a,"aria-label":o,onClick:l,onOverflowChipClick:c,numChips:f,expandedText:h,collapsedText:p,ouiaId:g,defaultIsOpen:y,tooltipPosition:b}=e,w=B(e,["categoryName","children","className","isClosable","closeBtnAriaLabel","aria-label","onClick","onOverflowChipClick","numChips","expandedText","collapsedText","ouiaId","defaultIsOpen","tooltipPosition"]),{isOpen:D}=this.state,O=d.Children.count(n),M=gg(p,{remaining:d.Children.count(n)-f}),R=A=>{const C=D?d.Children.toArray(n):d.Children.toArray(n).slice(0,f);return d.createElement("div",Object.assign({className:x(nt.chipGroup,s,i&&nt.modifiers.category),role:"group"},i&&{"aria-labelledby":A},!i&&{"aria-label":o},ci(Ea.displayName,g)),d.createElement("div",{className:x(nt.chipGroupMain)},i&&this.renderLabel(A),d.createElement("ul",Object.assign({className:x(nt.chipGroupList)},i&&{"aria-labelledby":A},!i&&{"aria-label":o},{role:"list"},w),C.map((S,k)=>d.createElement("li",{className:x(nt.chipGroupListItem),key:k},S)),O>f&&d.createElement("li",{className:x(nt.chipGroupListItem)},d.createElement(It,{isOverflowChip:!0,onClick:S=>{this.toggleCollapse(),c(S)},component:"button"},D?h:M)))),r&&d.createElement("div",{className:x(nt.chipGroupClose)},d.createElement($,{variant:"plain","aria-label":a,onClick:l,id:`remove_group_${A}`,"aria-labelledby":`remove_group_${A} ${A}`,ouiaId:g||a},d.createElement(cf,{"aria-hidden":"true"}))))};return O===0?null:d.createElement(tt,null,A=>R(this.props.id||A))}}Ea.displayName="ChipGroup";Ea.defaultProps={expandedText:"Show Less",collapsedText:"${remaining} more",categoryName:"",defaultIsOpen:!1,numChips:3,isClosable:!1,onClick:t=>{},onOverflowChipClick:t=>{},closeBtnAriaLabel:"Close chip group",tooltipPosition:"top","aria-label":"Chip group category"};let nm=0;class pi extends d.Component{constructor(){super(...arguments),this.parentRef=d.createRef(),this.menuComponentRef=d.createRef(),this.filterRef=d.createRef(),this.clearRef=d.createRef(),this.inputRef=d.createRef(),this.refCollection=[[]],this.optionContainerRefCollection=[],this.footerRef=d.createRef(),this.state={focusFirstOption:!1,typeaheadInputValue:null,typeaheadFilteredChildren:d.Children.toArray(this.props.children),favoritesGroup:[],typeaheadCurrIndex:-1,typeaheadStoredIndex:-1,creatableValue:"",tabbedIntoFavoritesMenu:!1,ouiaStateId:Wi(pi.displayName,this.props.variant),viewMoreNextIndex:-1},this.getTypeaheadActiveChild=e=>this.refCollection[e]?this.refCollection[e][0]:null,this.componentDidUpdate=(e,i)=>{if(this.props.hasInlineFilter&&(this.refCollection[0][0]=this.filterRef.current),!i.focusFirstOption&&this.state.focusFirstOption&&!this.props.customContent){const r=this.refCollection.find(a=>a!==null&&a[0]);r&&r[0]&&r[0].focus()}else this.state.viewMoreNextIndex!==-1&&this.refCollection.length>this.state.viewMoreNextIndex&&this.props.loadingVariant!=="spinner"&&this.refCollection[this.state.viewMoreNextIndex][0]&&this.props.variant!=="typeahead"&&this.props.variant!=="typeaheadmulti"&&(this.refCollection[this.state.viewMoreNextIndex][0].focus(),this.setState({viewMoreNextIndex:-1}));const n=(r,a)=>Array.from(r).some((o,l)=>{const c=o.props,f=a[l],{props:h}=f;return c&&h?c.value!==h.value||c.label!==h.label||c.isDisabled!==h.isDisabled||c.isPlaceholder!==h.isPlaceholder:o!==f});if((e.children.length!==this.props.children.length||n(e.children,this.props.children)||this.props.isGrouped&&Array.from(e.children).some((r,a)=>r.type===_t&&r.props.children&&this.props.children[a].props.children&&(r.props.children.length!==this.props.children[a].props.children.length||n(r.props.children,this.props.children[a].props.children))))&&this.updateTypeAheadFilteredChildren(i.typeaheadInputValue||"",null),this.props.onFavorite&&(this.props.favorites.length!==e.favorites.length||this.state.typeaheadFilteredChildren!==i.typeaheadFilteredChildren)){const r=this.props.variant==="typeahead"||this.props.variant==="typeaheadmulti"?this.state.typeaheadFilteredChildren:this.props.children,a=Zv(r,this.props.isGrouped,this.props.favorites),o=a.length?[d.createElement(_t,{key:"favorites",label:this.props.favoritesLabel},a),d.createElement(Ci,{key:"favorites-group-divider"})]:[];this.setState({favoritesGroup:o})}},this.onEnter=()=>{this.setState({focusFirstOption:!0})},this.onToggle=(e,i)=>{const{isInputValuePersisted:n,onSelect:s,onToggle:r,hasInlineFilter:a}=this.props;!e&&n&&s&&s(void 0,this.inputRef.current?this.inputRef.current.value:""),e&&a&&this.setState({focusFirstOption:!0}),r(e,i)},this.onClose=()=>{const{isInputFilterPersisted:e}=this.props;this.setState(Object.assign(Object.assign({focusFirstOption:!1,typeaheadInputValue:null},!e&&{typeaheadFilteredChildren:d.Children.toArray(this.props.children)}),{typeaheadCurrIndex:-1,tabbedIntoFavoritesMenu:!1,viewMoreNextIndex:-1}))},this.onChange=e=>{e.target.value.toString()!==""&&!this.props.isOpen&&this.onToggle(!0,e),this.props.onTypeaheadInputChanged&&this.props.onTypeaheadInputChanged(e.target.value.toString()),this.setState({typeaheadCurrIndex:-1,typeaheadInputValue:e.target.value,creatableValue:e.target.value}),this.updateTypeAheadFilteredChildren(e.target.value.toString(),e),this.refCollection=[[]]},this.updateTypeAheadFilteredChildren=(e,i)=>{let n;const{onFilter:s,isCreatable:r,isCreateOptionOnTop:a,onCreateOption:o,createText:l,noResultsFoundText:c,children:f,isGrouped:h,isCreateSelectOptionObject:p,loadingVariant:g}=this.props;if(s)n=s(i,i?i.target.value:e)||f;else{let y;try{y=new RegExp(e.toString(),"i")}catch{y=new RegExp(e.toString().replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i")}const b=d.Children.toArray(f);if(h){const w=D=>D.props.value&&D.props.value.toString&&this.getDisplay(D.props.value.toString(),"text").search(y)===0;n=e.toString()!==""?d.Children.map(f,D=>{if(d.isValidElement(D)&&D.type===_t){const O=d.Children.toArray(D.props.children).filter(w);if(O.length>0)return d.cloneElement(D,{titleId:D.props.label&&D.props.label.replace(/\W/g,"-"),children:O})}else return d.Children.toArray(D).filter(w)}):b}else n=e.toString()!==""?b.filter(w=>{const D=w.props.value;if(!D)return!0;const O=typeof D!="string"&&D.toString&&D.compareTo;return g!=="spinner"&&(g==null?void 0:g.text)===D||g==="spinner"&&D==="loading"?!0:O?D.compareTo(e):this.getDisplay(w.props.value.toString(),"text").search(y)===0}):b}if(n||(n=[]),n.length===0&&!r&&n.push(d.createElement(Pe,{isDisabled:!0,key:"no-results",value:c,isNoResultsOption:!0})),r&&e!==""){const y=e;if(!n.find(b=>b.props.value&&b.props.value.toString().toLowerCase()===y.toString().toLowerCase())){const b=p?{toString:()=>y,compareTo:D=>this.toString().toLowerCase().includes(D.toString().toLowerCase())}:y,w=d.createElement(Pe,{key:`create ${y}`,value:b,onClick:()=>o&&o(y)},l,' "',y,'"');a?n.unshift(w):n.push(w)}}this.setState({typeaheadFilteredChildren:n})},this.onClick=e=>{this.props.isOpen||this.onToggle(!0,e)},this.clearSelection=e=>{this.setState({typeaheadInputValue:null,typeaheadFilteredChildren:d.Children.toArray(this.props.children),typeaheadCurrIndex:-1})},this.sendRef=(e,i,n,s)=>{this.refCollection[s]=[e,i],this.optionContainerRefCollection[s]=n},this.handleMenuKeys=(e,i,n)=>{Es(e,i,n,this.refCollection,this.refCollection),(this.props.variant===le.typeahead||this.props.variant===le.typeaheadMulti)&&n!=="tab"&&this.handleTypeaheadKeys(n)},this.moveFocus=(e,i=!0)=>{const{isCreatable:n,createText:s}=this.props,r=!!(this.refCollection[e][0]&&this.refCollection[e][0].classList.contains("pf-m-description")),a=!!(this.refCollection[e][0]&&this.refCollection[e][0].classList.contains("pf-m-load")),o=r?this.refCollection[e][0].firstElementChild:this.refCollection[e][0];let l="";n&&o.textContent.includes(s)?l=this.state.creatableValue:o&&!a&&(l=o.textContent),this.setState(c=>({typeaheadCurrIndex:i?e:c.typeaheadCurrIndex,typeaheadStoredIndex:e,typeaheadInputValue:l}))},this.switchFocusToFavoriteMenu=()=>{const{typeaheadCurrIndex:e,typeaheadStoredIndex:i}=this.state;let n=0;e!==-1?n=e:i!==-1&&(n=i),this.refCollection[n]!==null&&this.refCollection[n][0]!==null?this.refCollection[n][0].focus():this.clearRef.current.focus(),this.setState({tabbedIntoFavoritesMenu:!0,typeaheadCurrIndex:-1})},this.moveFocusToLastMenuItem=()=>{const e=this.refCollection.length;e>0&&this.refCollection[e-1]!==null&&this.refCollection[e-1][0]!==null&&this.refCollection[e-1][0].focus()},this.handleTypeaheadKeys=(e,i=!1)=>{const{isOpen:n,onFavorite:s,isCreatable:r}=this.props,{typeaheadCurrIndex:a,tabbedIntoFavoritesMenu:o}=this.state,l=this.getTypeaheadActiveChild(a);if(n)if(e==="enter"){if((a!==-1||r&&this.refCollection.length===1)&&(l||this.refCollection[0]&&this.refCollection[0][0])){if(l){if(!l.classList.contains("pf-m-load")){const f=l.childElementCount>1?l.firstChild.textContent:l.textContent;this.setState({typeaheadInputValue:f})}}else this.refCollection[0]&&this.refCollection[0][0]&&this.setState({typeaheadInputValue:this.refCollection[0][0].textContent});l?l.click():this.refCollection[0][0].click()}}else if(e==="tab")if(s)if(this.inputRef.current===document.activeElement)if(this.props.footer&&i){const c=qa(this.footerRef,$a);c.length>0&&c[c.length-1]&&c[c.length-1].focus()}else this.switchFocusToFavoriteMenu();else if(this.props.footer){let c=!1;const f=qa(this.footerRef,$a);if(f.length>0){const h=f.findIndex(p=>p===document.activeElement);h===-1?i?this.inputRef.current.focus():f[0].focus():i?h===0?(this.switchFocusToFavoriteMenu(),c=!0):f[h-1].focus():f[h+1]?f[h+1].focus():this.inputRef.current.focus()}else this.inputRef.current.focus(),c=!1;this.setState({tabbedIntoFavoritesMenu:c})}else this.inputRef.current.focus(),this.setState({tabbedIntoFavoritesMenu:!1});else if(!this.props.footer)this.onToggle(!1,null),this.onClose();else{const c=qa(this.footerRef,$a),f=c.findIndex(h=>h===document.activeElement);this.inputRef.current===document.activeElement?i?(this.onToggle(!1,null),this.onClose()):c[0]?c[0].focus():(this.onToggle(!1,null),this.onClose()):i?f===0?this.inputRef.current.focus():c[f-1].focus():c[f+1]?c[f+1].focus():(this.onToggle(!1,null),this.inputRef.current.focus(),this.onClose())}else if(o){const c=this.refCollection.findIndex(f=>f!==void 0&&(f[0]===document.activeElement||f[1]===document.activeElement));this.moveFocus(c)}else{if(this.refCollection[0][0]===null)return;let c;if(a===-1&&e==="down"?c=0:a===-1&&e==="up"?c=this.refCollection.length-1:e!=="left"&&e!=="right"?c=zd(a,e,this.refCollection):c=a,this.refCollection[c]===null)return;this.moveFocus(c)}},this.onClickTypeaheadToggleButton=()=>{this.inputRef&&this.inputRef.current&&this.inputRef.current.focus()},this.getDisplay=(e,i="node")=>{if(!e)return;const n=this.props.isGrouped?d.Children.toArray(this.props.children).reduce((s,r)=>[...s,...d.Children.toArray(r.props.children)],[]).find(s=>s.props.value.toString()===e.toString()):d.Children.toArray(this.props.children).find(s=>s.props.value&&s.props.value.toString()===e.toString());return n?n&&n.props.children?i==="node"?n.props.children:this.findText(n):n.props.value.toString():e.toString()},this.findText=e=>{if(typeof e=="string")return e;if(d.isValidElement(e)){const i=[];return d.Children.toArray(e.props.children).forEach(n=>i.push(this.findText(n))),i.join("")}else return""},this.generateSelectedBadge=()=>{const{customBadgeText:e,selections:i}=this.props;return e!==null?e:Array.isArray(i)&&i.length>0?i.length:null},this.setVieMoreNextIndex=()=>{this.setState({viewMoreNextIndex:this.refCollection.length-1})},this.isLastOptionBeforeFooter=e=>!!(this.props.footer&&e===this.refCollection.length-1)}extendTypeaheadChildren(e,i){const{isGrouped:n,onFavorite:s,createText:r}=this.props,a=i?i.concat(this.state.typeaheadFilteredChildren):this.state.typeaheadFilteredChildren,o=this.optionContainerRefCollection[e];let l=this.getTypeaheadActiveChild(e);return l&&l.classList.contains("pf-m-description")&&(l=l.firstElementChild),this.refCollection=[[]],this.optionContainerRefCollection=[],n?d.Children.map(a,c=>c.type===Ci?c:c.type===_t&&s?d.cloneElement(c,{titleId:c.props.label&&c.props.label.replace(/\W/g,"-"),children:d.Children.map(c.props.children,f=>f.type===Ci?f:d.cloneElement(f,{isFocused:o&&(o.id===f.props.id||this.props.isCreatable&&l.textContent===`${r} "${c.props.value}"`)}))}):c.type===_t?d.cloneElement(c,{titleId:c.props.label&&c.props.label.replace(/\W/g,"-"),children:d.Children.map(c.props.children,f=>f.type===Ci?f:d.cloneElement(f,{isFocused:l&&(l.textContent===f.props.value.toString()||this.props.isCreatable&&l.textContent===`${r} "${f.props.value}"`)}))}):d.cloneElement(c,{isFocused:l&&(l.textContent===c.props.value.toString()||this.props.isCreatable&&l.textContent===`${r} "${c.props.value}"`)})):a.map((c,f)=>c.type.displayName==="Divider"?c:d.cloneElement(c,{isFocused:l?l.textContent===c.props.value.toString()||this.props.isCreatable&&l.textContent===`${r} "${c.props.value}"`:f===e}))}render(){const e=this.props,{children:i,chipGroupProps:n,chipGroupComponent:s,className:r,customContent:a,variant:o,direction:l,onSelect:c,onClear:f,onBlur:h,toggleId:p,toggleRef:g,isOpen:y,isGrouped:b,isPlain:w,isDisabled:D,hasPlaceholderStyle:O,validated:M,selections:R,typeAheadAriaLabel:A,typeAheadAriaDescribedby:C,clearSelectionsAriaLabel:S,toggleAriaLabel:k,removeSelectionAriaLabel:P,"aria-label":j,"aria-labelledby":L,"aria-describedby":_,"aria-invalid":U,placeholderText:W,width:N,maxHeight:X,toggleIcon:Y,toggleIndicator:ee,ouiaId:q,ouiaSafe:se,hasInlineFilter:V,isCheckboxSelectionBadgeHidden:G,inlineFilterPlaceholderText:re,onFilter:pe,onTypeaheadInputChanged:Z,onCreateOption:Ce,isCreatable:he,onToggle:Ee,createText:qe,noResultsFoundText:Ie,customBadgeText:Te,inputIdPrefix:Le,inputAutoComplete:Q,isInputValuePersisted:ae,isInputFilterPersisted:Ne,menuAppendTo:K,favorites:Qe,onFavorite:de,favoritesLabel:yt,footer:Xi,loadingVariant:Ei,isCreateSelectOptionObject:Ra,isCreateOptionOnTop:me,shouldResetOnSelect:Fe,isFlipEnabled:gi,removeFindDomNode:ke,zIndex:ta}=e,Ii=B(e,["children","chipGroupProps","chipGroupComponent","className","customContent","variant","direction","onSelect","onClear","onBlur","toggleId","toggleRef","isOpen","isGrouped","isPlain","isDisabled","hasPlaceholderStyle","validated","selections","typeAheadAriaLabel","typeAheadAriaDescribedby","clearSelectionsAriaLabel","toggleAriaLabel","removeSelectionAriaLabel","aria-label","aria-labelledby","aria-describedby","aria-invalid","placeholderText","width","maxHeight","toggleIcon","toggleIndicator","ouiaId","ouiaSafe","hasInlineFilter","isCheckboxSelectionBadgeHidden","inlineFilterPlaceholderText","onFilter","onTypeaheadInputChanged","onCreateOption","isCreatable","onToggle","createText","noResultsFoundText","customBadgeText","inputIdPrefix","inputAutoComplete","isInputValuePersisted","isInputFilterPersisted","menuAppendTo","favorites","onFavorite","favoritesLabel","footer","loadingVariant","isCreateSelectOptionObject","isCreateOptionOnTop","shouldResetOnSelect","isFlipEnabled","removeFindDomNode","zIndex"]),{focusFirstOption:ki,typeaheadCurrIndex:bt,typeaheadInputValue:Pt,typeaheadFilteredChildren:ph,favoritesGroup:Cl}=this.state,Pn=p||`pf-select-toggle-id-${nm++}`,Ue=Array.isArray(R)?R:[R],Sl=d.Children.toArray(i).find(Oe=>Oe.props.value===Ue[0]),hh=Sl&&Sl.props.isPlaceholder,Ln=!!(Ue[0]&&Ue[0]!==""),Nn=this.getTypeaheadActiveChild(bt);let El=null,Ji=[];if(de){let Oe=i;o==="typeahead"||o==="typeaheadmulti"?Oe=this.extendTypeaheadChildren(bt,Cl):de&&(Oe=Cl.concat(i)),Ji=Qv(Oe,b,Qe)}else Ji=i;if(!a&&!Ln&&!W){const Oe=d.Children.toArray(i).filter(Re=>Re.props.isPlaceholder===!0);El=Oe[0]&&this.getDisplay(Oe[0].props.value,"node")||i[0]&&this.getDisplay(i[0].props.value,"node")}y&&Ji.find(Oe=>(Oe==null?void 0:Oe.key)==="loading")===void 0&&(Ei==="spinner"?Ji.push(d.createElement(Pe,{isLoading:!0,key:"loading",value:"loading"},d.createElement(js,{size:"lg"}))):Ei!=null&&Ei.text&&Ji.push(d.createElement(Pe,{isLoad:!0,key:"loading",value:Ei.text,setViewMoreNextIndex:this.setVieMoreNextIndex,onClick:Ei==null?void 0:Ei.onClick})));const ja=f!==pi.defaultProps.onClear,Bn=d.createElement("button",{className:x(_e.button,_e.modifiers.plain,z.selectToggleClear),onClick:Oe=>{this.clearSelection(Oe),f(Oe),Oe.stopPropagation()},"aria-label":S,type:"button",disabled:D,ref:this.clearRef,onKeyDown:Oe=>{Oe.key===ye.Enter&&this.clearRef.current.click()}},d.createElement(cf,{"aria-hidden":!0}));let Tl=null;o===le.typeaheadMulti&&(Tl=s||d.createElement(Ea,Object.assign({},n),Ue&&Ue.map(Oe=>d.createElement(It,{key:Oe,onClick:Re=>c(Re,Oe),closeBtnAriaLabel:P},this.getDisplay(Oe,"node"))))),V&&(Ji=[d.createElement(d.Fragment,null,d.createElement("div",{key:"inline-filter",className:x(z.selectMenuSearch)},d.createElement("input",{key:"inline-filter-input",type:"search",className:x(We.formControl,We.modifiers.search),onChange:this.onChange,placeholder:re,onKeyDown:Re=>{if(Re.key===ye.ArrowUp)this.handleMenuKeys(0,0,"up"),Re.preventDefault();else if(Re.key===ye.ArrowDown)this.handleMenuKeys(0,0,"down"),Re.preventDefault();else if(Re.key===ye.ArrowLeft)this.handleMenuKeys(0,0,"left"),Re.preventDefault();else if(Re.key===ye.ArrowRight)this.handleMenuKeys(0,0,"right"),Re.preventDefault();else if(Re.key===ye.Tab&&o!==le.checkbox&&this.props.footer)if(Re.shiftKey)this.onToggle(!1,Re);else{const _n=qa(this.footerRef,$a);_n.length>0?(_n[0].focus(),Re.stopPropagation(),Re.preventDefault()):this.onToggle(!1,Re)}else Re.key===ye.Tab&&o===le.checkbox&&(Re.shiftKey?this.handleMenuKeys(0,0,"up"):this.handleMenuKeys(0,0,"down"),Re.stopPropagation(),Re.preventDefault())},ref:this.filterRef,autoComplete:Q})),d.createElement(Ci,{key:"inline-filter-divider"})),...ph].map((Re,_n)=>d.cloneElement(Re,{key:_n})));let aa,Gi;if(a)aa={selected:Ue,openedOnEnter:ki,isCustomContent:!0},Gi=a;else switch(o){case"single":aa={selected:Ue[0],hasInlineFilter:V,openedOnEnter:ki},Gi=Ji;break;case"checkbox":aa={checked:Ue,isGrouped:b,hasInlineFilter:V,openedOnEnter:ki},Gi=Ji;break;case"typeahead":aa={selected:Ue[0],openedOnEnter:ki},Gi=de?Ji:this.extendTypeaheadChildren(bt),Gi.length===0&&Gi.push(d.createElement(Pe,{isDisabled:!0,key:0,value:Ie,isNoResultsOption:!0}));break;case"typeaheadmulti":aa={selected:Ue,openedOnEnter:ki},Gi=de?Ji:this.extendTypeaheadChildren(bt),Gi.length===0&&Gi.push(d.createElement(Pe,{isDisabled:!0,key:0,value:Ie,isNoResultsOption:!0}));break}const gh=gi&&K!=="inline",Fl=d.createElement(tm,Object.assign({className:x(gh&&z.modifiers.static)},Ii,{isGrouped:b,selected:Ue},aa,{openedOnEnter:ki,"aria-label":j,"aria-labelledby":L,sendRef:this.sendRef,keyHandler:this.handleMenuKeys,maxHeight:X,ref:this.menuComponentRef,footer:Xi,footerRef:this.footerRef,isLastOptionBeforeFooter:this.isLastOptionBeforeFooter}),Gi),Ol=Xi?d.createElement("div",{className:x(z.selectMenu)}," ",Fl," "):Fl,vh=d.createElement("div",Object.assign({className:x(z.select,y&&z.modifiers.expanded,M===Se.success&&z.modifiers.success,M===Se.warning&&z.modifiers.warning,M===Se.error&&z.modifiers.invalid,l===mi.up&&z.modifiers.top,r)},N&&{style:{width:N}},M!==Se.default&&{"aria-invalid":U}),y&&Ol),Ml=d.createElement("div",Object.assign({className:x(z.select,y&&z.modifiers.expanded,M===Se.success&&z.modifiers.success,M===Se.warning&&z.modifiers.warning,M===Se.error&&z.modifiers.invalid,l===mi.up&&z.modifiers.top,r),ref:this.parentRef},ci(pi.displayName,q!==void 0?q:this.state.ouiaStateId,se),N&&{style:{width:N}},M!==Se.default&&{"aria-invalid":U}),d.createElement(am,Object.assign({id:Pn,parentRef:this.parentRef,menuRef:this.menuComponentRef,ref:g},Xi&&{footerRef:this.footerRef},{isOpen:y,isPlain:w,hasPlaceholderStyle:O&&(!Ue.length||Ue[0]===null||hh),onToggle:this.onToggle,onEnter:this.onEnter,onClose:this.onClose,onBlur:h,variant:o,toggleIndicator:ee,"aria-labelledby":`${L||""} ${Pn}`,"aria-label":k},_&&{"aria-describedby":_},{handleTypeaheadKeys:this.handleTypeaheadKeys,moveFocusToLastMenuItem:this.moveFocusToLastMenuItem,isDisabled:D,hasClearButton:ja,hasFooter:Xi!==void 0,onClickTypeaheadToggleButton:this.onClickTypeaheadToggleButton}),a&&d.createElement("div",{className:x(z.selectToggleWrapper)},Y&&d.createElement("span",{className:x(z.selectToggleIcon)},Y),d.createElement("span",{className:x(z.selectToggleText)},W)),o===le.single&&!a&&d.createElement(d.Fragment,null,d.createElement("div",{className:x(z.selectToggleWrapper)},Y&&d.createElement("span",{className:x(z.selectToggleIcon)},Y),d.createElement("span",{className:x(z.selectToggleText)},this.getDisplay(Ue[0],"node")||W||El)),ja&&Ln&&Bn),o===le.checkbox&&!a&&d.createElement(d.Fragment,null,d.createElement("div",{className:x(z.selectToggleWrapper)},Y&&d.createElement("span",{className:x(z.selectToggleIcon)},Y),d.createElement("span",{className:x(z.selectToggleText)},W),!G&&Ln&&d.createElement("div",{className:x(z.selectToggleBadge)},d.createElement("span",{className:x(an.badge,an.modifiers.read)},this.generateSelectedBadge()))),ja&&Ln&&Bn),o===le.typeahead&&!a&&d.createElement(d.Fragment,null,d.createElement("div",{className:x(z.selectToggleWrapper)},Y&&d.createElement("span",{className:x(z.selectToggleIcon)},Y),d.createElement("input",Object.assign({className:x(We.formControl,z.selectToggleTypeahead),"aria-activedescendant":Nn&&Nn.id,id:`${Pn}-select-typeahead`,"aria-label":A},C&&{"aria-describedby":C},{placeholder:W,value:Pt!==null?Pt:this.getDisplay(Ue[0],"text")||"",type:"text",onClick:this.onClick,onChange:this.onChange,autoComplete:Q,disabled:D,ref:this.inputRef}))),ja&&(Ue[0]||Pt)&&Bn),o===le.typeaheadMulti&&!a&&d.createElement(d.Fragment,null,d.createElement("div",{className:x(z.selectToggleWrapper)},Y&&d.createElement("span",{className:x(z.selectToggleIcon)},Y),Ue&&Array.isArray(Ue)&&Ue.length>0&&Tl,d.createElement("input",Object.assign({className:x(We.formControl,z.selectToggleTypeahead),"aria-activedescendant":Nn&&Nn.id,id:`${Pn}-select-multi-typeahead-typeahead`,"aria-label":A,"aria-invalid":M===Se.error},C&&{"aria-describedby":C},{placeholder:W,value:Pt!==null?Pt:"",type:"text",onChange:this.onChange,onClick:this.onClick,autoComplete:Q,disabled:D,ref:this.inputRef}))),ja&&(Ue&&Ue.length>0||Pt)&&Bn),M===Se.success&&d.createElement("span",{className:x(z.selectToggleStatusIcon)},d.createElement(tf,{"aria-hidden":"true"})),M===Se.error&&d.createElement("span",{className:x(z.selectToggleStatusIcon)},d.createElement(af,{"aria-hidden":"true"})),M===Se.warning&&d.createElement("span",{className:x(z.selectToggleStatusIcon)},d.createElement(nf,{"aria-hidden":"true"}))),y&&K==="inline"&&Ol),mh=()=>this.parentRef&&this.parentRef.current?this.parentRef.current.parentElement:null;return d.createElement(tt,null,Oe=>d.createElement(Bs.Provider,{value:{onSelect:c,onFavorite:de,onClose:this.onClose,variant:o,inputIdPrefix:Le||Oe,shouldResetOnSelect:Fe}},K==="inline"?Ml:d.createElement(Ca,{trigger:Ml,popper:vh,direction:l,appendTo:K==="parent"?mh():K,isVisible:y,removeFindDomNode:ke,zIndex:ta})))}}pi.displayName="Select";pi.defaultProps={children:[],className:"",position:hn.left,direction:mi.down,toggleId:null,isOpen:!1,isGrouped:!1,isPlain:!1,isDisabled:!1,hasPlaceholderStyle:!1,isCreatable:!1,isCreateOptionOnTop:!1,validated:"default","aria-label":"","aria-labelledby":"","aria-describedby":"","aria-invalid":!1,typeAheadAriaLabel:"",typeAheadAriaDescribedby:"",clearSelectionsAriaLabel:"Clear all",toggleAriaLabel:"Options menu",removeSelectionAriaLabel:"Remove",selections:[],createText:"Create",placeholderText:"",noResultsFoundText:"No results found",variant:le.single,width:"",onClear:()=>{},onCreateOption:()=>{},toggleIcon:null,toggleIndicator:null,onFilter:null,onTypeaheadInputChanged:null,customContent:null,hasInlineFilter:!1,inlineFilterPlaceholderText:null,customBadgeText:null,inputIdPrefix:"",inputAutoComplete:"off",menuAppendTo:"inline",favorites:[],favoritesLabel:"Favorites",ouiaSafe:!0,chipGroupComponent:null,isInputValuePersisted:!1,isInputFilterPersisted:!1,isCreateSelectOptionObject:!1,shouldResetOnSelect:!0,isFlipEnabled:!0,removeFindDomNode:!1,zIndex:9999};const rm={inputGroup:"pf-c-input-group"};class ma extends d.Component{constructor(e){super(e),this.handleChange=i=>{this.props.onChange(i.currentTarget.value,i)},!e.id&&!e["aria-label"]&&console.error("FormSelect requires either an id or aria-label to be specified"),this.state={ouiaStateId:Wi(ma.displayName,e.validated)}}render(){const e=this.props,{children:i,className:n,value:s,validated:r,isDisabled:a,isRequired:o,isIconSprite:l,ouiaId:c,ouiaSafe:f}=e,h=B(e,["children","className","value","validated","isDisabled","isRequired","isIconSprite","ouiaId","ouiaSafe"]),p=d.Children.toArray(i).find(y=>y.props.value===s),g=p&&p.props.isPlaceholder;return d.createElement("select",Object.assign({},h,{className:x(We.formControl,l&&We.modifiers.iconSprite,n,r===Se.success&&We.modifiers.success,r===Se.warning&&We.modifiers.warning,g&&We.modifiers.placeholder),"aria-invalid":r===Se.error},ci(ma.displayName,c!==void 0?c:this.state.ouiaStateId,f),{onChange:this.handleChange,disabled:a,required:o,value:s}),i)}}ma.displayName="FormSelect";ma.defaultProps={className:"",value:"",validated:"default",isDisabled:!1,isRequired:!1,isIconSprite:!1,onBlur:()=>{},onFocus:()=>{},onChange:()=>{},ouiaSafe:!0};const Ql={name:"--pf-c-form-control--textarea--Height"};var is;(function(t){t.horizontal="horizontal",t.vertical="vertical",t.both="both"})(is||(is={}));var ec;(function(t){t.default="default",t.plain="plain"})(ec||(ec={}));class Ws extends d.Component{constructor(e){super(e),this.inputRef=d.createRef(),this.setAutoHeight=i=>{i.style.setProperty(Ql.name,"inherit");const n=window.getComputedStyle(i),s=parseInt(n.getPropertyValue("border-top-width"))+parseInt(n.getPropertyValue("padding-top"))+i.scrollHeight+parseInt(n.getPropertyValue("padding-bottom"))+parseInt(n.getPropertyValue("border-bottom-width"));i.style.setProperty(Ql.name,`${s}px`)},this.handleChange=i=>{const n=i.currentTarget;this.props.autoResize&&Ze&&this.setAutoHeight(n),this.props.onChange&&this.props.onChange(n.value,i)},!e.id&&!e["aria-label"]&&console.error("TextArea: TextArea requires either an id or aria-label to be specified")}componentDidMount(){const e=this.props.innerRef||this.inputRef;if(this.props.autoResize&&Ze){const i=e.current;this.setAutoHeight(i)}}render(){const e=this.props,{className:i,value:n,validated:s,isRequired:r,isDisabled:a,isIconSprite:o,isReadOnly:l,readOnlyVariant:c,resizeOrientation:f,innerRef:h,disabled:p,autoResize:g,onChange:y}=e,b=B(e,["className","value","validated","isRequired","isDisabled","isIconSprite","isReadOnly","readOnlyVariant","resizeOrientation","innerRef","disabled","autoResize","onChange"]),w=`resize${_d(f)}`;return d.createElement("textarea",Object.assign({className:x(We.formControl,o&&We.modifiers.iconSprite,c==="plain"&&We.modifiers.plain,i,f!==is.both&&We.modifiers[w],s===Se.success&&We.modifiers.success,s===Se.warning&&We.modifiers.warning),onChange:this.handleChange},typeof this.props.defaultValue!="string"&&{value:n},{"aria-invalid":s===Se.error,required:r,disabled:a||p,readOnly:!!c||l,ref:h||this.inputRef},b))}}Ws.displayName="TextArea";Ws.defaultProps={innerRef:d.createRef(),className:"",isRequired:!1,isDisabled:!1,isIconSprite:!1,validated:"default",resizeOrientation:"both","aria-label":null};const ya=d.forwardRef((t,e)=>d.createElement(Ws,Object.assign({},t,{innerRef:e})));ya.displayName="TextArea";const Et=t=>{var{className:e="",children:i,innerRef:n}=t,s=B(t,["className","children","innerRef"]);const r=[ma,ya,oi].map(c=>c.displayName),a=d.Children.toArray(i).find(c=>!r.includes(c.type.displayName)&&c.props.id),o=d.useRef(null),l=n||o;return d.createElement("div",Object.assign({ref:l,className:x(rm.inputGroup,e)},s),a?d.Children.map(i,c=>!r.includes(c.type.displayName)||c.props["aria-describedby"]?c:d.cloneElement(c,{"aria-describedby":c.props["aria-describedby"]===""?void 0:a.props.id})):i)};Et.displayName="InputGroup";const om={name:"AngleLeftIcon",height:512,width:256,svgPath:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z",yOffset:0,xOffset:0},df=Ae(om),Je={card:"pf-c-card",cardBody:"pf-c-card__body",cardFooter:"pf-c-card__footer",cardHeader:"pf-c-card__header",cardHeaderToggle:"pf-c-card__header-toggle",cardHeaderToggleIcon:"pf-c-card__header-toggle-icon",modifiers:{selectable:"pf-m-selectable",selected:"pf-m-selected",selectableRaised:"pf-m-selectable-raised",nonSelectableRaised:"pf-m-non-selectable-raised",selectedRaised:"pf-m-selected-raised",compact:"pf-m-compact",displayLg:"pf-m-display-lg",flat:"pf-m-flat",plain:"pf-m-plain",rounded:"pf-m-rounded",expanded:"pf-m-expanded",fullHeight:"pf-m-full-height",toggleRight:"pf-m-toggle-right",noFill:"pf-m-no-fill"}},ff=d.createContext({cardId:"",registerTitleId:()=>{},isExpanded:!1}),Fn=t=>{var{children:e=null,id:i="",className:n="",component:s="article",isHoverable:r=!1,isCompact:a=!1,isSelectable:o=!1,isSelectableRaised:l=!1,isSelected:c=!1,isDisabledRaised:f=!1,isFlat:h=!1,isExpanded:p=!1,isRounded:g=!1,isLarge:y=!1,isFullHeight:b=!1,isPlain:w=!1,ouiaId:D,ouiaSafe:O=!0,hasSelectableInput:M=!1,selectableInputAriaLabel:R,onSelectableInputChange:A=()=>{}}=t,C=B(t,["children","id","className","component","isHoverable","isCompact","isSelectable","isSelectableRaised","isSelected","isDisabledRaised","isFlat","isExpanded","isRounded","isLarge","isFullHeight","isPlain","ouiaId","ouiaSafe","hasSelectableInput","selectableInputAriaLabel","onSelectableInputChange"]);const S=s,k=jt(Fn.displayName,D,O),[P,j]=d.useState(""),[L,_]=d.useState();a&&y&&(console.warn("Card: Cannot use isCompact with isLarge. Defaulting to isCompact"),y=!1);const U=()=>f?x(Je.modifiers.nonSelectableRaised):l?x(Je.modifiers.selectableRaised,c&&Je.modifiers.selectedRaised):o||r?x(Je.modifiers.selectable,c&&Je.modifiers.selected):"",W=d.useRef(!1),N=X=>{j(X),W.current=!!X};return d.useEffect(()=>{R?_({"aria-label":R}):P?_({"aria-labelledby":P}):M&&!W.current&&(_({}),console.warn("If no CardTitle component is passed as a child of Card the selectableInputAriaLabel prop must be passed"))},[M,R,P]),d.createElement(ff.Provider,{value:{cardId:i,registerTitleId:N,isExpanded:p}},M&&d.createElement("input",Object.assign({className:"pf-screen-reader",id:`${i}-input`},L,{type:"checkbox",checked:c,onChange:X=>A(i,X),disabled:f,tabIndex:-1})),d.createElement(S,Object.assign({id:i,className:x(Je.card,a&&Je.modifiers.compact,p&&Je.modifiers.expanded,h&&Je.modifiers.flat,g&&Je.modifiers.rounded,y&&Je.modifiers.displayLg,b&&Je.modifiers.fullHeight,w&&Je.modifiers.plain,U(),n),tabIndex:o||l?"0":void 0},C,k),e))};Fn.displayName="Card";const Us=t=>{var{children:e=null,className:i="",component:n="div",isFilled:s=!0}=t,r=B(t,["children","className","component","isFilled"]);const a=n;return d.createElement(a,Object.assign({className:x(Je.cardBody,!s&&Je.modifiers.noFill,i)},r),e)};Us.displayName="CardBody";const pr=t=>{var{children:e=null,className:i="",component:n="div"}=t,s=B(t,["children","className","component"]);const r=n;return d.createElement(r,Object.assign({className:x(Je.cardFooter,i)},s),e)};pr.displayName="CardFooter";const hr=t=>{var{children:e=null,className:i="",id:n,onExpand:s,toggleButtonProps:r,isToggleRightAligned:a}=t,o=B(t,["children","className","id","onExpand","toggleButtonProps","isToggleRightAligned"]);return d.createElement(ff.Consumer,null,({cardId:l})=>{const c=d.createElement("div",{className:x(Je.cardHeaderToggle)},d.createElement($,Object.assign({variant:"plain",type:"button",onClick:f=>{s(f,l)}},r),d.createElement("span",{className:x(Je.cardHeaderToggleIcon)},d.createElement(ga,{"aria-hidden":"true"}))));return d.createElement("div",Object.assign({className:x(Je.cardHeader,a&&Je.modifiers.toggleRight,i),id:n},o),s&&!a&&c,e,s&&a&&c)})};hr.displayName="CardHeader";const uf=()=>{};class qt extends d.Component{constructor(e){super(e),this.handleChange=i=>{this.props.onChange(i.currentTarget.checked,i)},this.state={ouiaStateId:Wi(qt.displayName)}}render(){const e=this.props,{"aria-label":i,className:n,onChange:s,isValid:r,isDisabled:a,isRequired:o,isChecked:l,label:c,checked:f,defaultChecked:h,description:p,body:g,ouiaId:y,ouiaSafe:b,component:w}=e,D=B(e,["aria-label","className","onChange","isValid","isDisabled","isRequired","isChecked","label","checked","defaultChecked","description","body","ouiaId","ouiaSafe","component"]);D.id||console.error("Checkbox:","id is required to make input accessible");const O={};return([!0,!1].includes(f)||l===!0)&&(O.checked=f||l),s!==uf&&(O.checked=l),[!1,!0].includes(h)&&(O.defaultChecked=h),O.checked=O.checked===null?!1:O.checked,d.createElement(w,{className:x(xi.check,!c&&xi.modifiers.standalone,n)},d.createElement("input",Object.assign({},D,{className:x(xi.checkInput),type:"checkbox",onChange:this.handleChange,"aria-invalid":!r,"aria-label":i,disabled:a,required:o,ref:M=>M&&(M.indeterminate=l===null)},O,ci(qt.displayName,y!==void 0?y:this.state.ouiaStateId,b))),c&&d.createElement("label",{className:x(xi.checkLabel,a&&xi.modifiers.disabled),htmlFor:D.id},c,o&&d.createElement("span",{className:x(xi.checkLabelRequired),"aria-hidden":"true"},Nd)),p&&d.createElement("span",{className:x(xi.checkDescription)},p),g&&d.createElement("span",{className:x(xi.checkBody)},g))}}qt.displayName="Checkbox";qt.defaultProps={className:"",isValid:!0,isDisabled:!1,isRequired:!1,isChecked:!1,onChange:uf,ouiaSafe:!0,component:"div"};const De={modifiers:{noPadding:"pf-m-no-padding",widthAuto:"pf-m-width-auto",top:"pf-m-top",topLeft:"pf-m-top-left",topRight:"pf-m-top-right",bottom:"pf-m-bottom",bottomLeft:"pf-m-bottom-left",bottomRight:"pf-m-bottom-right",left:"pf-m-left",leftTop:"pf-m-left-top",leftBottom:"pf-m-left-bottom",right:"pf-m-right",rightTop:"pf-m-right-top",rightBottom:"pf-m-right-bottom",danger:"pf-m-danger",warning:"pf-m-warning",success:"pf-m-success",default:"pf-m-default",info:"pf-m-info",icon:"pf-m-icon"},popover:"pf-c-popover",popoverArrow:"pf-c-popover__arrow",popoverBody:"pf-c-popover__body",popoverContent:"pf-c-popover__content",popoverFooter:"pf-c-popover__footer",popoverTitle:"pf-c-popover__title",popoverTitleIcon:"pf-c-popover__title-icon",popoverTitleText:"pf-c-popover__title-text"},sm=d.createContext({}),pf=t=>{var{className:e=null,children:i}=t,n=B(t,["className","children"]);return d.createElement("div",Object.assign({className:x(De.popoverContent,e)},n),i)};pf.displayName="PopoverContent";const hf=t=>{var{children:e,id:i,className:n}=t,s=B(t,["children","id","className"]);return d.createElement("div",Object.assign({className:x(De.popoverBody,n),id:i},s),e)};hf.displayName="PopoverBody";const gf=t=>{var{children:e,className:i}=t,n=B(t,["children","className"]);return d.createElement("span",Object.assign({className:x(De.popoverTitleIcon,i)},n),e)};gf.displayName="PopoverHeaderIcon";const vf=t=>{var{children:e,className:i}=t,n=B(t,["children","className"]);return d.createElement("span",Object.assign({className:x(De.popoverTitleText,i)},n),e)};vf.displayName="PopoverHeaderText";const mf=t=>{var{children:e,icon:i,className:n,titleHeadingLevel:s="h6",alertSeverityVariant:r,id:a,alertSeverityScreenReaderText:o}=t,l=B(t,["children","icon","className","titleHeadingLevel","alertSeverityVariant","id","alertSeverityScreenReaderText"]);const c=s;return i||r?d.createElement("header",Object.assign({className:x("pf-c-popover__header",n),id:a},l),d.createElement(c,{className:x(De.popoverTitle,i&&De.modifiers.icon)},i&&d.createElement(gf,null,i),r&&o&&d.createElement("span",{className:"pf-u-screen-reader"},o),d.createElement(vf,null,e))):d.createElement(At,Object.assign({headingLevel:s,size:dr.md,id:a,className:n},l),e)};mf.displayName="PopoverHeader";const yf=t=>{var{children:e,className:i=""}=t,n=B(t,["children","className"]);return d.createElement("footer",Object.assign({className:x(De.popoverFooter,i)},n),e)};yf.displayName="PopoverFooter";const bf=t=>{var{onClose:e=()=>{}}=t,i=B(t,["onClose"]);return d.createElement($,Object.assign({onClick:e,variant:"plain","aria-label":!0},i,{style:{pointerEvents:"auto"}}),d.createElement(zr,null))};bf.displayName="PopoverCloseButton";const wf=t=>{var{className:e=""}=t,i=B(t,["className"]);return d.createElement("div",Object.assign({className:x(De.popoverArrow,e)},i))};wf.displayName="PopoverArrow";const Do={name:"--pf-c-popover--MaxWidth",value:"none",var:"var(--pf-c-popover--MaxWidth)"},xo={name:"--pf-c-popover--MinWidth",value:"auto",var:"var(--pf-c-popover--MinWidth)"};var ic;(function(t){t.auto="auto",t.top="top",t.bottom="bottom",t.left="left",t.right="right",t.topStart="top-start",t.topEnd="top-end",t.bottomStart="bottom-start",t.bottomEnd="bottom-end",t.leftStart="left-start",t.leftEnd="left-end",t.rightStart="right-start",t.rightEnd="right-end"})(ic||(ic={}));const lm={default:De.modifiers.default,info:De.modifiers.info,success:De.modifiers.success,warning:De.modifiers.warning,danger:De.modifiers.danger},Qt=t=>{var{children:e,position:i="top",enableFlip:n=!0,className:s="",isVisible:r=null,shouldClose:a=()=>null,shouldOpen:o=()=>null,"aria-label":l="",bodyContent:c,headerContent:f=null,headerComponent:h="h6",headerIcon:p=null,alertSeverityVariant:g,alertSeverityScreenReaderText:y,footerContent:b=null,appendTo:w=()=>document.body,hideOnOutsideClick:D=!0,onHide:O=()=>null,onHidden:M=()=>null,onShow:R=()=>null,onShown:A=()=>null,onMount:C=()=>null,zIndex:S=9999,minWidth:k=xo&&xo.value,maxWidth:P=Do&&Do.value,closeBtnAriaLabel:j="Close",showClose:L=!0,distance:_=25,flipBehavior:U=["top","bottom","left","right","top-start","top-end","bottom-start","bottom-end","left-start","left-end","right-start","right-end"],animationDuration:W=300,id:N,withFocusTrap:X,boundary:Y,tippyProps:ee,reference:q,hasNoPadding:se=!1,hasAutoWidth:V=!1,removeFindDomNode:G=!1}=t,re=B(t,["children","position","enableFlip","className","isVisible","shouldClose","shouldOpen","aria-label","bodyContent","headerContent","headerComponent","headerIcon","alertSeverityVariant","alertSeverityScreenReaderText","footerContent","appendTo","hideOnOutsideClick","onHide","onHidden","onShow","onShown","onMount","zIndex","minWidth","maxWidth","closeBtnAriaLabel","showClose","distance","flipBehavior","animationDuration","id","withFocusTrap","boundary","tippyProps","reference","hasNoPadding","hasAutoWidth","removeFindDomNode"]);process.env.NODE_ENV!=="production"&&(Y!==void 0&&console.warn("The Popover boundary prop has been deprecated. If you want to constrain the popper to a specific element use the appendTo prop instead."),ee!==void 0&&console.warn("The Popover tippyProps prop has been deprecated and is no longer used."));const pe=N||Br(),Z=r!==null,[Ce,he]=d.useState(!1),[Ee,qe]=d.useState(0),[Ie,Te]=d.useState(!!X),Le=d.useRef(null),Q=d.useRef(null),ae=d.useRef(null);d.useEffect(()=>{C()},[]),d.useEffect(()=>{Z&&(r?Ne():K())},[r,Z]);const Ne=ke=>{R(),Le.current&&clearTimeout(Le.current),ae.current&&clearTimeout(ae.current),Q.current=setTimeout(()=>{he(!0),qe(1),X!==!1&&ke&&Te(!0),A()},0)},K=()=>{O(),Q.current&&clearTimeout(Q.current),ae.current=setTimeout(()=>{he(!1),qe(0),Te(!1),Le.current=setTimeout(()=>{M()},W)},0)},Qe={top:De.modifiers.top,bottom:De.modifiers.bottom,left:De.modifiers.left,right:De.modifiers.right,"top-start":De.modifiers.topLeft,"top-end":De.modifiers.topRight,"bottom-start":De.modifiers.bottomLeft,"bottom-end":De.modifiers.bottomRight,"left-start":De.modifiers.leftTop,"left-end":De.modifiers.leftBottom,"right-start":De.modifiers.rightTop,"right-end":De.modifiers.rightBottom},de=k!==xo.value,yt=P!==Do.value,Xi=ke=>{ke.key===ye.Escape&&Ce&&(Z?a(null,K,ke):K())},Ei=(ke,ta,Ii)=>{if(D&&Ce){if(Ii&&Ii.contains(ke.target))return;Z?a(null,K,ke):K()}},Ra=ke=>{Z?Ce?a(null,K,ke):o(Ne,ke):Ce?K():Ne(!0)},me=()=>{Ie&&Te(!1)},Fe=ke=>{ke.stopPropagation(),Z?a(null,K,ke):K()},gi=d.createElement(Ld,Object.assign({active:Ie,focusTrapOptions:{returnFocusOnDeactivate:!0,clickOutsideDeactivates:!0,tabbableOptions:{displayCheck:"none"},fallbackFocus:()=>{let ke=null;return document&&document.activeElement&&(ke=document.activeElement),ke}},preventScrollOnDeactivate:!0,className:x(De.popover,g&&lm[g],se&&De.modifiers.noPadding,V&&De.modifiers.widthAuto,s),role:"dialog","aria-modal":"true","aria-label":f?void 0:l,"aria-labelledby":f?`popover-${pe}-header`:void 0,"aria-describedby":`popover-${pe}-body`,onMouseDown:me,style:{minWidth:de?k:null,maxWidth:yt?P:null,opacity:Ee,transition:Yd(W)}},re),d.createElement(wf,null),d.createElement(pf,null,L&&d.createElement(bf,{onClose:Fe,"aria-label":j}),f&&d.createElement(mf,{id:`popover-${pe}-header`,icon:p,alertSeverityVariant:g,alertSeverityScreenReaderText:y||`${g} alert:`,titleHeadingLevel:h},typeof f=="function"?f(K):f),d.createElement(hf,{id:`popover-${pe}-body`},typeof c=="function"?c(K):c),b&&d.createElement(yf,{id:`popover-${pe}-footer`},typeof b=="function"?b(K):b)));return d.createElement(sm.Provider,{value:{headerComponent:h}},d.createElement(Ca,{trigger:e,reference:q,popper:gi,popperMatchesTriggerWidth:!1,appendTo:w,isVisible:Ce,positionModifiers:Qe,distance:_,placement:i,onTriggerClick:Ra,onDocumentClick:Ei,onDocumentKeyDown:Xi,enableFlip:n,zIndex:S,flipBehavior:U,removeFindDomNode:G}))};Qt.displayName="Popover";const cm={name:"AngleDownIcon",height:512,width:320,svgPath:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z",yOffset:0,xOffset:0},Df=Ae(cm),dm={name:"GripVerticalIcon",height:512,width:320,svgPath:"M96 32H32C14.33 32 0 46.33 0 64v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zM288 32h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z",yOffset:0,xOffset:0},fm=Ae(dm),He={drawer:"pf-c-drawer",drawerBody:"pf-c-drawer__body",drawerContent:"pf-c-drawer__content",drawerMain:"pf-c-drawer__main",drawerPanel:"pf-c-drawer__panel",drawerPanelMain:"pf-c-drawer__panel-main",drawerSplitter:"pf-c-drawer__splitter",drawerSplitterHandle:"pf-c-drawer__splitter-handle",modifiers:{panelBottom:"pf-m-panel-bottom",inline:"pf-m-inline",noBorder:"pf-m-no-border",resizable:"pf-m-resizable",static:"pf-m-static",panelLeft:"pf-m-panel-left",expanded:"pf-m-expanded",resizing:"pf-m-resizing",noBackground:"pf-m-no-background",light_200:"pf-m-light-200",noPadding:"pf-m-no-padding",padding:"pf-m-padding",vertical:"pf-m-vertical",width_25:"pf-m-width-25",width_33:"pf-m-width-33",width_50:"pf-m-width-50",width_66:"pf-m-width-66",width_75:"pf-m-width-75",width_100:"pf-m-width-100",width_25OnLg:"pf-m-width-25-on-lg",width_33OnLg:"pf-m-width-33-on-lg",width_50OnLg:"pf-m-width-50-on-lg",width_66OnLg:"pf-m-width-66-on-lg",width_75OnLg:"pf-m-width-75-on-lg",width_100OnLg:"pf-m-width-100-on-lg",width_25OnXl:"pf-m-width-25-on-xl",width_33OnXl:"pf-m-width-33-on-xl",width_50OnXl:"pf-m-width-50-on-xl",width_66OnXl:"pf-m-width-66-on-xl",width_75OnXl:"pf-m-width-75-on-xl",width_100OnXl:"pf-m-width-100-on-xl",width_25On_2xl:"pf-m-width-25-on-2xl",width_33On_2xl:"pf-m-width-33-on-2xl",width_50On_2xl:"pf-m-width-50-on-2xl",width_66On_2xl:"pf-m-width-66-on-2xl",width_75On_2xl:"pf-m-width-75-on-2xl",width_100On_2xl:"pf-m-width-100-on-2xl",inlineOnLg:"pf-m-inline-on-lg",staticOnLg:"pf-m-static-on-lg",inlineOnXl:"pf-m-inline-on-xl",staticOnXl:"pf-m-static-on-xl",inlineOn_2xl:"pf-m-inline-on-2xl",staticOn_2xl:"pf-m-static-on-2xl"}};var ba;(function(t){t.default="default",t.light200="light-200"})(ba||(ba={}));const Vs=d.createContext({isExpanded:!1,isStatic:!1,onExpand:()=>{},position:"right",drawerRef:null,drawerContentRef:null,isInline:!1}),Vr=t=>{var{className:e="",children:i,isExpanded:n=!1,isInline:s=!1,isStatic:r=!1,position:a="right",onExpand:o=()=>{}}=t,l=B(t,["className","children","isExpanded","isInline","isStatic","position","onExpand"]);const c=d.useRef(),f=d.useRef();return d.createElement(Vs.Provider,{value:{isExpanded:n,isStatic:r,onExpand:o,position:a,drawerRef:c,drawerContentRef:f,isInline:s}},d.createElement("div",Object.assign({className:x(He.drawer,n&&He.modifiers.expanded,s&&He.modifiers.inline,r&&He.modifiers.static,a==="left"&&He.modifiers.panelLeft,a==="bottom"&&He.modifiers.panelBottom,e),ref:c},l),i))};Vr.displayName="Drawer";const xf=t=>{var{className:e="",children:i}=t,n=B(t,["className","children"]);return d.createElement("div",Object.assign({className:x(He.drawerMain,e)},n),i)};xf.displayName="DrawerMain";const Xr=t=>{var{className:e="",children:i,panelContent:n,colorVariant:s=ba.default}=t,r=B(t,["className","children","panelContent","colorVariant"]);const{drawerContentRef:a}=d.useContext(Vs);return d.createElement(xf,null,d.createElement("div",Object.assign({className:x(He.drawerContent,s===ba.light200&&He.modifiers.light_200,e),ref:a},r),i),n)};Xr.displayName="DrawerContent";const Jr=t=>{var{className:e="",children:i,hasPadding:n=!1}=t,s=B(t,["className","children","hasPadding"]);return d.createElement("div",Object.assign({className:x(He.drawerBody,n&&He.modifiers.padding,e)},s),i)};Jr.displayName="DrawerContentBody";let wt=null,Wa=0;const Gr=t=>{var{className:e="",id:i,children:n,hasNoBorder:s=!1,isResizable:r=!1,onResize:a,minSize:o,defaultSize:l,maxSize:c,increment:f=5,resizeAriaLabel:h="Resize",widths:p,colorVariant:g=ba.default}=t,y=B(t,["className","id","children","hasNoBorder","isResizable","onResize","minSize","defaultSize","maxSize","increment","resizeAriaLabel","widths","colorVariant"]);const b=d.useRef(),w=d.useRef(),[D,O]=d.useState(0),{position:M,isExpanded:R,isStatic:A,onExpand:C,drawerRef:S,drawerContentRef:k,isInline:P}=d.useContext(Vs),j=A?!1:!R,[L,_]=d.useState(!j);let U=0,W,N,X,Y,ee=!0;d.useEffect(()=>{!A&&R&&_(R)},[A,R]);const q=()=>{let Q,ae;P&&M==="right"?(Q=b.current.getBoundingClientRect().right-w.current.getBoundingClientRect().left,ae=S.current.getBoundingClientRect().right-S.current.getBoundingClientRect().left):P&&M==="left"?(Q=w.current.getBoundingClientRect().right-b.current.getBoundingClientRect().left,ae=S.current.getBoundingClientRect().right-S.current.getBoundingClientRect().left):M==="right"?(Q=k.current.getBoundingClientRect().right-w.current.getBoundingClientRect().left,ae=k.current.getBoundingClientRect().right-k.current.getBoundingClientRect().left):M==="left"?(Q=w.current.getBoundingClientRect().right-k.current.getBoundingClientRect().left,ae=k.current.getBoundingClientRect().right-k.current.getBoundingClientRect().left):M==="bottom"&&(Q=k.current.getBoundingClientRect().bottom-w.current.getBoundingClientRect().top,ae=k.current.getBoundingClientRect().bottom-k.current.getBoundingClientRect().top);const Ne=Q/ae*100;return Math.round((Ne+Number.EPSILON)*100)/100},se=Q=>{Q.stopPropagation(),document.addEventListener("touchmove",qe,{passive:!1}),document.addEventListener("touchend",Ee),wt=!0},V=Q=>{Q.stopPropagation(),Q.preventDefault(),document.addEventListener("mousemove",he),document.addEventListener("mouseup",Ie),S.current.classList.add(x(He.modifiers.resizing)),wt=!0,ee=!0},G=Q=>{const ae=M==="bottom"?Q.clientY:Q.clientX;pe(Q,ae)},re=Q=>{Q.preventDefault(),Q.stopImmediatePropagation();const ae=M==="bottom"?Q.touches[0].clientY:Q.touches[0].clientX;pe(Q,ae)},pe=(Q,ae)=>{if(Q.stopPropagation(),!wt)return;ee&&(W=b.current.getBoundingClientRect(),N=W.right,X=W.left,Y=W.bottom,ee=!1);const Ne=ae;let K=0;M==="right"?K=N-Ne:M==="left"?K=Ne-X:K=Y-Ne,M==="bottom"&&(b.current.style.overflowAnchor="none"),b.current.style.setProperty("--pf-c-drawer__panel--md--FlexBasis",K+"px"),U=K,O(q())},Z=()=>{wt&&(S.current.classList.remove(x(He.modifiers.resizing)),wt=!1,a&&a(U,i),ee=!0,document.removeEventListener("mousemove",he),document.removeEventListener("mouseup",Ie))},Ce=Q=>{Q.stopPropagation(),wt&&(wt=!1,a&&a(U,i),document.removeEventListener("touchmove",qe),document.removeEventListener("touchend",Ee))},he=d.useCallback(G,[]),Ee=d.useCallback(Ce,[]),qe=d.useCallback(re,[]),Ie=d.useCallback(Z,[]),Te=Q=>{const ae=Q.key;if(ae!=="Escape"&&ae!=="Enter"&&ae!=="ArrowUp"&&ae!=="ArrowDown"&&ae!=="ArrowLeft"&&ae!=="ArrowRight"){wt&&Q.preventDefault();return}Q.preventDefault(),(ae==="Escape"||ae==="Enter")&&a&&a(U,i);const Ne=b.current.getBoundingClientRect();Wa=M==="bottom"?Ne.height:Ne.width;let K=0;ae==="ArrowRight"?K=M==="left"?f:-f:ae==="ArrowLeft"?K=M==="left"?-f:f:ae==="ArrowUp"?K=f:ae==="ArrowDown"&&(K=-f),Wa=Wa+K,M==="bottom"&&(b.current.style.overflowAnchor="none"),b.current.style.setProperty("--pf-c-drawer__panel--md--FlexBasis",Wa+"px"),U=Wa,O(q())},Le={};return l&&(Le["--pf-c-drawer__panel--md--FlexBasis"]=l),o&&(Le["--pf-c-drawer__panel--md--FlexBasis--min"]=o),c&&(Le["--pf-c-drawer__panel--md--FlexBasis--max"]=c),d.createElement(tt,{prefix:"pf-drawer-panel-"},Q=>d.createElement("div",Object.assign({id:i||Q,className:x(He.drawerPanel,r&&He.modifiers.resizable,s&&He.modifiers.noBorder,fe(p,He),g===ba.light200&&He.modifiers.light_200,e),ref:b,onTransitionEnd:ae=>{!j&&ae.nativeEvent.propertyName==="transform"&&C(),_(!j)},hidden:j},(l||o||c)&&{style:Le},y),L&&d.createElement(d.Fragment,null,r&&d.createElement(d.Fragment,null,d.createElement("div",{className:x(He.drawerSplitter,M!=="bottom"&&He.modifiers.vertical),role:"separator",tabIndex:0,"aria-orientation":M==="bottom"?"horizontal":"vertical","aria-label":h,"aria-valuenow":D,"aria-valuemin":0,"aria-valuemax":100,"aria-controls":i||Q,onMouseDown:V,onKeyDown:Te,onTouchStart:se,ref:w},d.createElement("div",{className:x(He.drawerSplitterHandle),"aria-hidden":!0})),d.createElement("div",{className:x(He.drawerPanelMain)},n)),!r&&n)))};Gr.displayName="DrawerPanelContent";const um=t=>{var{children:e=null,className:i="",isHorizontal:n=!1,isWidthLimited:s=!1,maxWidth:r="",innerRef:a}=t,o=B(t,["children","className","isHorizontal","isWidthLimited","maxWidth","innerRef"]);return d.createElement("form",Object.assign({noValidate:!0},r&&{style:Object.assign({"--pf-c-form--m-limit-width--MaxWidth":r},o.style)},o,{className:x(Be.form,n&&Be.modifiers.horizontal,(s||r)&&Be.modifiers.limitWidth,i),ref:a}),e)},On=d.forwardRef((t,e)=>d.createElement(um,Object.assign({innerRef:e},t)));On.displayName="Form";const _i=t=>{var{children:e=null,className:i="",label:n,labelInfo:s,labelIcon:r,isRequired:a=!1,validated:o="default",isInline:l=!1,hasNoPaddingTop:c=!1,isStack:f=!1,helperText:h,isHelperTextBeforeField:p=!1,helperTextInvalid:g,helperTextIcon:y,helperTextInvalidIcon:b,fieldId:w,role:D}=t,O=B(t,["children","className","label","labelInfo","labelIcon","isRequired","validated","isInline","hasNoPaddingTop","isStack","helperText","isHelperTextBeforeField","helperTextInvalid","helperTextIcon","helperTextInvalidIcon","fieldId","role"]);const M=typeof h!="string"?h:d.createElement("div",{className:x(Be.formHelperText,o===Se.success&&Be.modifiers.success,o===Se.warning&&Be.modifiers.warning),id:`${w}-helper`,"aria-live":"polite"},y&&d.createElement("span",{className:x(Be.formHelperTextIcon)},y),h),R=typeof g!="string"?g:d.createElement("div",{className:x(Be.formHelperText,Be.modifiers.error),id:`${w}-helper`,"aria-live":"polite"},b&&d.createElement("span",{className:x(Be.formHelperTextIcon)},b),g),A=j=>j!==Se.error&&h?M:"",C=o===Se.error&&g?R:A(o),S=D==="group"||D==="radiogroup",k=S?"span":"label",P=d.createElement(d.Fragment,null,d.createElement(k,Object.assign({className:x(Be.formLabel)},!S&&{htmlFor:w}),d.createElement("span",{className:x(Be.formLabelText)},n),a&&d.createElement("span",{className:x(Be.formLabelRequired),"aria-hidden":"true"}," ",Nd))," ",d.isValidElement(r)&&r);return d.createElement(tt,null,j=>d.createElement("div",Object.assign({className:x(Be.formGroup,i)},D&&{role:D},S&&{"aria-labelledby":`${w||j}-legend`},O),n&&d.createElement("div",Object.assign({className:x(Be.formGroupLabel,s&&Be.modifiers.info,c&&Be.modifiers.noPaddingTop)},S&&{id:`${w||j}-legend`}),s&&d.createElement(d.Fragment,null,d.createElement("div",{className:x(Be.formGroupLabelMain)},P),d.createElement("div",{className:x(Be.formGroupLabelInfo)},s)),!s&&P),d.createElement("div",{className:x(Be.formGroupControl,l&&Be.modifiers.inline,f&&Be.modifiers.stack)},p&&C,e,!p&&C)))};_i.displayName="FormGroup";const Ni={modifiers:{disabled:"pf-m-disabled",plain:"pf-m-plain",icon:"pf-m-icon",hint:"pf-m-hint"},textInputGroup:"pf-c-text-input-group",textInputGroupIcon:"pf-c-text-input-group__icon",textInputGroupMain:"pf-c-text-input-group__main",textInputGroupText:"pf-c-text-input-group__text",textInputGroupTextInput:"pf-c-text-input-group__text-input",textInputGroupUtilities:"pf-c-text-input-group__utilities"},Cf=d.createContext({isDisabled:!1}),Sf=t=>{var{children:e,className:i,isDisabled:n,isPlain:s,innerRef:r}=t,a=B(t,["children","className","isDisabled","isPlain","innerRef"]);const o=d.useRef(null),l=r||o;return d.createElement(Cf.Provider,{value:{isDisabled:n}},d.createElement("div",Object.assign({ref:l,className:x(Ni.textInputGroup,n&&Ni.modifiers.disabled,s&&Ni.modifiers.plain,i)},a),e))};Sf.displayName="TextInputGroup";const Ef=t=>{var{children:e,className:i,icon:n,type:s="text",hint:r,onChange:a=()=>{},onFocus:o,onBlur:l,"aria-label":c="Type to filter",value:f,placeholder:h,innerRef:p,name:g}=t,y=B(t,["children","className","icon","type","hint","onChange","onFocus","onBlur","aria-label","value","placeholder","innerRef","name"]);const{isDisabled:b}=d.useContext(Cf),w=d.useRef(null),D=p||w,O=M=>{a(M,M.currentTarget.value)};return d.createElement("div",Object.assign({className:x(Ni.textInputGroupMain,n&&Ni.modifiers.icon,i)},y),e,d.createElement("span",{className:x(Ni.textInputGroupText)},r&&d.createElement("input",{className:x(Ni.textInputGroupTextInput,Ni.modifiers.hint),type:"text",disabled:!0,"aria-hidden":"true",value:r}),n&&d.createElement("span",{className:x(Ni.textInputGroupIcon)},n),d.createElement("input",{ref:D,type:s,className:x(Ni.textInputGroupTextInput),"aria-label":c,disabled:b,onChange:O,onFocus:o,onBlur:l,value:f||"",placeholder:h,name:g})))};Ef.displayName="TextInputGroupMain";const Tf=t=>{var{children:e,className:i}=t,n=B(t,["children","className"]);return d.createElement("div",Object.assign({className:x(Ni.textInputGroupUtilities,i)},n),e)};Tf.displayName="TextInputGroupUtilities";const Ti={expandableSection:"pf-c-expandable-section",expandableSectionContent:"pf-c-expandable-section__content",expandableSectionToggle:"pf-c-expandable-section__toggle",expandableSectionToggleIcon:"pf-c-expandable-section__toggle-icon",expandableSectionToggleText:"pf-c-expandable-section__toggle-text",modifiers:{expanded:"pf-m-expanded",detached:"pf-m-detached",truncate:"pf-m-truncate",limitWidth:"pf-m-limit-width",displayLg:"pf-m-display-lg",indented:"pf-m-indented",active:"pf-m-active"}},Ff={name:"--pf-c-expandable-section--m-truncate__content--LineClamp",value:"3"};var Ki;(function(t){t.default="default",t.truncate="truncate"})(Ki||(Ki={}));const tc=(t,e)=>{!e||t<1||e.style.setProperty(Ff.name,t.toString())};class wa extends d.Component{constructor(e){super(e),this.expandableContentRef=d.createRef(),this.observer=()=>{},this.checkToggleVisibility=()=>{var i;if(!((i=this.expandableContentRef)===null||i===void 0)&&i.current){const n=this.props.truncateMaxLines||parseInt(Ff.value),s=this.expandableContentRef.current.scrollHeight/parseInt(getComputedStyle(this.expandableContentRef.current).lineHeight);this.setState({hasToggle:s>n})}},this.resize=()=>{const{offsetWidth:i}=this.expandableContentRef.current;this.state.previousWidth!==i&&(this.setState({previousWidth:i}),this.checkToggleVisibility())},this.handleResize=hg(this.resize,250),this.state={isExpanded:e.isExpanded,hasToggle:!0,previousWidth:void 0}}calculateToggleText(e,i,n,s){return s&&i!==""?i:!s&&n!==""?n:e}componentDidMount(){if(this.props.variant===Ki.truncate){const e=this.expandableContentRef.current;this.setState({previousWidth:e.offsetWidth}),this.observer=Qd(e,this.handleResize,!1),this.props.truncateMaxLines&&tc(this.props.truncateMaxLines,e),this.checkToggleVisibility()}}componentDidUpdate(e){if(this.props.variant===Ki.truncate&&e.truncateMaxLines!==this.props.truncateMaxLines){const i=this.expandableContentRef.current;tc(this.props.truncateMaxLines,i),this.checkToggleVisibility()}}componentWillUnmount(){this.props.variant===Ki.truncate&&this.observer()}render(){const e=this.props,{onToggle:i,isActive:n,className:s,toggleText:r,toggleTextExpanded:a,toggleTextCollapsed:o,toggleContent:l,children:c,isExpanded:f,isDetached:h,displaySize:p,isWidthLimited:g,isIndented:y,contentId:b,variant:w,truncateMaxLines:D}=e,O=B(e,["onToggle","isActive","className","toggleText","toggleTextExpanded","toggleTextCollapsed","toggleContent","children","isExpanded","isDetached","displaySize","isWidthLimited","isIndented","contentId","variant","truncateMaxLines"]);let M=i,R=f;f===void 0&&(R=this.state.isExpanded,M=S=>{this.setState({isExpanded:S},()=>i(this.state.isExpanded))});const A=this.calculateToggleText(r,a,o,R),C=!h&&d.createElement("button",{className:x(Ti.expandableSectionToggle),type:"button","aria-expanded":R,onClick:()=>M(!R)},w!==Ki.truncate&&d.createElement("span",{className:x(Ti.expandableSectionToggleIcon)},d.createElement(ga,{"aria-hidden":!0})),d.createElement("span",{className:x(Ti.expandableSectionToggleText)},l||A));return d.createElement("div",Object.assign({className:x(Ti.expandableSection,R&&Ti.modifiers.expanded,n&&Ti.modifiers.active,h&&Ti.modifiers.detached,p==="large"&&Ti.modifiers.displayLg,g&&Ti.modifiers.limitWidth,y&&Ti.modifiers.indented,w===Ki.truncate&&Ti.modifiers.truncate,s)},O),w===Ki.default&&C,d.createElement("div",{ref:this.expandableContentRef,className:x(Ti.expandableSectionContent),hidden:w!==Ki.truncate&&!R,id:b},c),w===Ki.truncate&&this.state.hasToggle&&C)}}wa.displayName="ExpandableSection";wa.defaultProps={className:"",toggleText:"",toggleTextExpanded:"",toggleTextCollapsed:"",onToggle:t=>{},isActive:!1,isDetached:!1,displaySize:"default",isWidthLimited:!1,isIndented:!1,contentId:"",variant:"default"};var si=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Mi(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Of(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var i=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};i.prototype=e.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(i,n,s.get?s:{enumerable:!0,get:function(){return t[n]}})}),i}const pm={isManagedSidebar:!1,isNavOpen:!1,onNavToggle:()=>null,width:null,height:null,getBreakpoint:mg,getVerticalBreakpoint:vg},ea=d.createContext(pm);ea.Provider;ea.Consumer;const be={menu:"pf-c-menu",menuContent:"pf-c-menu__content",menuItem:"pf-c-menu__item",menuItemAction:"pf-c-menu__item-action",menuItemActionIcon:"pf-c-menu__item-action-icon",menuItemDescription:"pf-c-menu__item-description",menuItemExternalIcon:"pf-c-menu__item-external-icon",menuItemIcon:"pf-c-menu__item-icon",menuItemMain:"pf-c-menu__item-main",menuItemSelectIcon:"pf-c-menu__item-select-icon",menuItemText:"pf-c-menu__item-text",menuItemToggleIcon:"pf-c-menu__item-toggle-icon",menuList:"pf-c-menu__list",menuListItem:"pf-c-menu__list-item",modifiers:{flyout:"pf-m-flyout",left:"pf-m-left",drilldown:"pf-m-drilldown",drilledIn:"pf-m-drilled-in",currentPath:"pf-m-current-path",plain:"pf-m-plain",scrollable:"pf-m-scrollable",nav:"pf-m-nav",focus:"pf-m-focus",disabled:"pf-m-disabled",load:"pf-m-load",loading:"pf-m-loading",danger:"pf-m-danger",selected:"pf-m-selected",favorite:"pf-m-favorite",favorited:"pf-m-favorited"}},$t=d.createContext({menuId:null,parentMenu:null,onActionClick:()=>null,onSelect:()=>null,activeItemId:null,selected:null,drilledInMenus:[],drilldownItemPath:[],onDrillIn:null,onDrillOut:null,onGetMenuHeight:()=>null,flyoutRef:null,setFlyoutRef:()=>null,disableHover:!1,role:"menu"}),Mf=d.createContext({itemId:null,isDisabled:!1});class Kr extends d.Component{constructor(e){super(e),this.menuRef=d.createRef(),this.activeMenu=null,this.state={ouiaStateId:Wi(gr.displayName),searchInputValue:"",transitionMoveTarget:null,flyoutRef:null,disableHover:!1,currentDrilldownMenuId:this.props.id},this.handleDrilldownTransition=i=>{const n=this.menuRef.current;if(!(!n||n!==i.target.closest(".pf-c-menu")&&!Array.from(n.getElementsByClassName("pf-c-menu")).includes(i.target.closest(".pf-c-menu"))))if(this.state.transitionMoveTarget)this.state.transitionMoveTarget.focus(),this.setState({transitionMoveTarget:null});else{const s=n.querySelector("#"+this.props.activeMenu)||n||null,r=Array.from(s.getElementsByTagName("UL")[0].children);if(!this.state.currentDrilldownMenuId||s.id!==this.state.currentDrilldownMenuId)this.setState({currentDrilldownMenuId:s.id});else return;const a=r.filter(o=>!(o.classList.contains("pf-m-disabled")||o.classList.contains("pf-c-divider")))[0].firstChild;a.focus(),a.tabIndex=0}},this.handleExtraKeys=i=>{const n=this.props.containsDrilldown,s=document.activeElement;if(i.target.closest(".pf-c-menu")!==this.activeMenu&&!i.target.classList.contains("pf-c-breadcrumb__link")&&(this.activeMenu=i.target.closest(".pf-c-menu"),this.setState({disableHover:!0})),i.target.tagName==="INPUT")return;const r=this.activeMenu,a=i.key,o=s.classList.contains("pf-c-breadcrumb__link")||s.classList.contains("pf-c-dropdown__toggle");if(a===" "||a==="Enter"){if(i.preventDefault(),n&&!o){if(s.closest("li").classList.contains("pf-m-current-path")&&r.parentElement.tagName==="LI")s.tabIndex=-1,r.parentElement.firstChild.tabIndex=0,this.setState({transitionMoveTarget:r.parentElement.firstChild});else if(s.nextElementSibling&&s.nextElementSibling.classList.contains("pf-c-menu")){const c=Array.from(s.nextElementSibling.getElementsByTagName("UL")[0].children).filter(f=>!(f.classList.contains("pf-m-disabled")||f.classList.contains("pf-c-divider")));s.tabIndex=-1,c[0].firstChild.tabIndex=0,this.setState({transitionMoveTarget:c[0].firstChild})}}document.activeElement.click()}},this.createNavigableElements=()=>this.props.containsDrilldown?this.activeMenu?Array.from(this.activeMenu.getElementsByTagName("UL")[0].children).filter(n=>!(n.classList.contains("pf-m-disabled")||n.classList.contains("pf-c-divider"))):[]:this.menuRef.current?Array.from(this.menuRef.current.getElementsByTagName("LI")).filter(n=>!(n.classList.contains("pf-m-disabled")||n.classList.contains("pf-c-divider"))):[],e.innerRef&&(this.menuRef=e.innerRef)}allowTabFirstItem(){const e=this.menuRef.current;if(e){const i=e.querySelector("ul button:not(:disabled), ul a:not(:disabled)");i&&(i.tabIndex=0)}}componentDidMount(){this.context&&this.setState({disableHover:this.context.disableHover}),Ze&&window.addEventListener("transitionend",this.props.isRootMenu?this.handleDrilldownTransition:null),this.allowTabFirstItem()}componentWillUnmount(){Ze&&window.removeEventListener("transitionend",this.handleDrilldownTransition)}componentDidUpdate(e){e.children!==this.props.children&&this.allowTabFirstItem()}render(){const e=this.props,{"aria-label":i,id:n,children:s,className:r,onSelect:a,selected:o=null,onActionClick:l,ouiaId:c,ouiaSafe:f,containsFlyout:h,isNavFlyout:p,containsDrilldown:g,isMenuDrilledIn:y,isPlain:b,isScrollable:w,drilldownItemPath:D,drilledInMenus:O,onDrillIn:M,onDrillOut:R,onGetMenuHeight:A,parentMenu:C=null,activeItemId:S=null,innerRef:k,isRootMenu:P,activeMenu:j,role:L}=e,_=B(e,["aria-label","id","children","className","onSelect","selected","onActionClick","ouiaId","ouiaSafe","containsFlyout","isNavFlyout","containsDrilldown","isMenuDrilledIn","isPlain","isScrollable","drilldownItemPath","drilledInMenus","onDrillIn","onDrillOut","onGetMenuHeight","parentMenu","activeItemId","innerRef","isRootMenu","activeMenu","role"]),U=y||O&&O.includes(n)||!1;return d.createElement($t.Provider,{value:{menuId:n,parentMenu:C||n,onSelect:a,onActionClick:l,activeItemId:S,selected:o,drilledInMenus:O,drilldownItemPath:D,onDrillIn:M,onDrillOut:R,onGetMenuHeight:A,flyoutRef:this.state.flyoutRef,setFlyoutRef:W=>this.setState({flyoutRef:W}),disableHover:this.state.disableHover,role:L}},P&&d.createElement(Rs,{containerRef:this.menuRef||null,additionalKeyHandler:this.handleExtraKeys,createNavigableElements:this.createNavigableElements,isActiveElement:W=>document.activeElement.closest("li")===W||document.activeElement.parentElement===W||document.activeElement.closest(".pf-c-menu__search")===W||document.activeElement.closest("ol")&&document.activeElement.closest("ol").firstChild===W,getFocusableElement:W=>W.tagName==="DIV"&&W.querySelector("input")||W.firstChild.tagName==="LABEL"&&W.querySelector("input")||W.firstChild,noHorizontalArrowHandling:document.activeElement&&(document.activeElement.classList.contains("pf-c-breadcrumb__link")||document.activeElement.classList.contains("pf-c-dropdown__toggle")),noEnterHandling:!0,noSpaceHandling:!0}),d.createElement("div",Object.assign({id:n,className:x(be.menu,b&&be.modifiers.plain,w&&be.modifiers.scrollable,h&&be.modifiers.flyout,p&&be.modifiers.nav,g&&be.modifiers.drilldown,U&&be.modifiers.drilledIn,r),"aria-label":i,ref:this.menuRef},ci(gr.displayName,c!==void 0?c:this.state.ouiaStateId,f),_),s))}}Kr.displayName="Menu";Kr.contextType=$t;Kr.defaultProps={ouiaSafe:!0,isRootMenu:!0,isPlain:!1,isScrollable:!1,role:"menu"};const gr=d.forwardRef((t,e)=>d.createElement(Kr,Object.assign({},t,{innerRef:e})));gr.displayName="Menu";const Af=d.forwardRef((t,e)=>{const{getHeight:i,children:n,menuHeight:s,maxMenuHeight:r}=t,a=B(t,["getHeight","children","menuHeight","maxMenuHeight"]),o=d.createRef(),l=(c,f,h)=>{if(c){let p=c.clientHeight,g=null,y=c.closest(`.${be.menuList}`);for(;y!==null&&y.nodeType===1;)y.classList.contains(be.menuList)&&(g=y),y=y.parentElement;if(g){const b=getComputedStyle(g),w=parseFloat(b.getPropertyValue("padding-top").replace(/px/g,""))+parseFloat(b.getPropertyValue("padding-bottom").replace(/px/g,""))+parseFloat(getComputedStyle(g.parentElement).getPropertyValue("border-bottom-width").replace(/px/g,""));p=p+w}h&&h(f,p),i&&i(p.toString())}return e||o};return d.createElement($t.Consumer,null,({menuId:c,onGetMenuHeight:f})=>d.createElement("div",Object.assign({},a,{className:x(be.menuContent,t.className),ref:h=>l(h,c,f),style:Object.assign(Object.assign({},s&&{"--pf-c-menu__content--Height":s}),r&&{"--pf-c-menu__content--MaxHeight":r})}),n))});Af.displayName="MenuContent";const hm={name:"--pf-c-menu--m-flyout__menu--top-offset"},gm={name:"--pf-c-menu--m-flyout__menu--m-left--right-offset"},vm={name:"--pf-c-menu--m-flyout__menu--left-offset"},mm=t=>{var{className:e="",icon:i,onClick:n,"aria-label":s,isFavorited:r=null,isDisabled:a,actionId:o,innerRef:l}=t,c=B(t,["className","icon","onClick","aria-label","isFavorited","isDisabled","actionId","innerRef"]);return d.createElement($t.Consumer,null,({onActionClick:f})=>d.createElement(Mf.Consumer,null,({itemId:h,isDisabled:p})=>{const g=y=>{n&&n(y),f&&f(y,h,o)};return d.createElement("button",Object.assign({className:x(be.menuItemAction,r!==null&&be.modifiers.favorite,r&&be.modifiers.favorited,e),"aria-label":s,onClick:g},(a===!0||p===!0)&&{disabled:!0},{ref:l,tabIndex:-1},c),d.createElement("span",{className:x(be.menuItemActionIcon)},i==="favorites"||r!==null?d.createElement(Ur,{"aria-hidden":!0}):i))}))},If=d.forwardRef((t,e)=>d.createElement(mm,Object.assign({},t,{innerRef:e})));If.displayName="MenuItemAction";const ac=d.createContext({direction:"right"}),ym=t=>{var{children:e,className:i,itemId:n=null,to:s,hasCheck:r=!1,isActive:a=null,isFavorited:o=null,isLoadButton:l=!1,isLoading:c=!1,flyoutMenu:f,direction:h,description:p=null,onClick:g=()=>{},component:y="button",isDisabled:b=!1,isExternalLink:w=!1,isSelected:D=null,isFocused:O,isDanger:M=!1,icon:R,actions:A,onShowFlyout:C,drilldownMenu:S,isOnPath:k,innerRef:P}=t,j=B(t,["children","className","itemId","to","hasCheck","isActive","isFavorited","isLoadButton","isLoading","flyoutMenu","direction","description","onClick","component","isDisabled","isExternalLink","isSelected","isFocused","isDanger","icon","actions","onShowFlyout","drilldownMenu","isOnPath","innerRef"]);const{menuId:L,parentMenu:_,onSelect:U,onActionClick:W,activeItemId:N,selected:X,drilldownItemPath:Y,onDrillIn:ee,onDrillOut:q,flyoutRef:se,setFlyoutRef:V,disableHover:G,role:re}=d.useContext($t);let pe=s?"a":y;r&&!s&&(pe="label");const[Z,Ce]=d.useState(null),he=d.useContext(ac),[Ee,qe]=d.useState(he.direction),Ie=d.useRef(),Te=Ie===se,Le=f!==void 0,Q=me=>{!Te&&me?V(Ie):Te&&!me&&V(null),C&&me&&C()};cr(()=>{if(Le&&Ie.current&&Ze){const me=Ie.current.lastElementChild;if(me&&me.classList.contains(be.menu)){const Fe=Ie.current.getClientRects()[0],gi=me.getClientRects()[0];if(Fe&&gi){const ke=Fe.x-gi.width,ta=window.innerWidth-Fe.x-Fe.width-gi.width;let Ii=Ee;ta<0&&Ii!=="left"?(qe("left"),Ii="left"):ke<0&&Ii!=="right"&&(qe("right"),Ii="right");let ki=0;ke<0&&ta<0&&(ki=Ii==="right"?-ta:-ke),Ii==="left"?(me.classList.add(be.modifiers.left),me.style.setProperty(gm.name,`-${ki}px`)):me.style.setProperty(vm.name,`-${ki}px`);const bt=window.innerHeight-Fe.y-gi.height;window.innerHeight-gi.height<0&&bt<0||bt<0&&me.style.setProperty(hm.name,`${bt}px`)}}}},[Te,f]),d.useEffect(()=>{qe(he.direction)},[he]),d.useEffect(()=>{if(Z)if(Te){const me=Z.nextElementSibling;Array.from(me.getElementsByTagName("UL")[0].children).filter(gi=>!(gi.classList.contains("pf-m-disabled")||gi.classList.contains("pf-c-divider")))[0].firstChild.focus()}else Z.focus()},[Te,Z]);const ae=me=>{const Fe=me.key,gi=me.target,ke=me.type;(Fe===" "||Fe==="Enter"||Fe==="ArrowRight"||ke==="click")&&(me.stopPropagation(),me.preventDefault(),Te||(Q(!0),Ce(gi))),(Fe==="Escape"||Fe==="ArrowLeft")&&Te&&(me.stopPropagation(),Q(!1))},Ne=(me,Fe)=>{Fe&&Fe(me,n),g&&g(me)},K=k&&k||Y&&Y.includes(n)||!1;let Qe;h&&(h==="down"?Qe=me=>ee&&ee(me,L,typeof S=="function"?S().props.id:S.props.id,n):Qe=me=>q&&q(me,_,n));let de={};pe==="a"?de={href:s,"aria-disabled":b?!0:null,disabled:null}:pe==="button"&&(de={type:"button"}),k?de["aria-expanded"]=!0:Le&&(de["aria-haspopup"]="menu",de["aria-expanded"]=Te);const yt=()=>a!==null?a?"page":null:n!==null&&N!==null?n===N:null,Xi=()=>D!==null?D:X!==null&&n!==null?Array.isArray(X)&&X.includes(n)||n===X:!1,Ei=()=>{G||(Le?Q(!0):V(null))},Ra=re==="listbox";return d.createElement("li",Object.assign({className:x(be.menuListItem,b&&be.modifiers.disabled,K&&be.modifiers.currentPath,l&&be.modifiers.load,c&&be.modifiers.loading,O&&be.modifiers.focus,M&&be.modifiers.danger,i),onMouseOver:Ei},f&&{onKeyDown:ae},{ref:Ie,role:r?"menuitem":"none"},j),d.createElement(tt,null,me=>d.createElement(pe,Object.assign({tabIndex:-1,className:x(be.menuItem,Xi()&&!r&&be.modifiers.selected,i),"aria-current":yt()},!r&&{disabled:b},!r&&!f&&{role:Ra?"option":"menuitem"},!r&&!f&&Ra&&{"aria-selected":Xi()},{ref:P},!r&&{onClick:Fe=>{Ne(Fe,U),Qe&&Qe(Fe),f&&ae(Fe)}},r&&{htmlFor:me},de),d.createElement("span",{className:x(be.menuItemMain)},h==="up"&&d.createElement("span",{className:x(be.menuItemToggleIcon)},d.createElement(df,{"aria-hidden":!0})),R&&d.createElement("span",{className:x(be.menuItemIcon)},R),r&&d.createElement("span",{className:x("pf-c-menu__item-check")},d.createElement(qt,{id:me,component:"span",isChecked:D||!1,onChange:Fe=>Ne(Fe,U),isDisabled:b})),d.createElement("span",{className:x(be.menuItemText)},e),w&&d.createElement("span",{className:x(be.menuItemExternalIcon)},d.createElement($v,{"aria-hidden":!0})),(f||h==="down")&&d.createElement("span",{className:x(be.menuItemToggleIcon)},d.createElement(ga,{"aria-hidden":!0})),Xi()&&d.createElement("span",{className:x(be.menuItemSelectIcon)},d.createElement(pn,{"aria-hidden":!0}))),p&&h!=="up"&&d.createElement("span",{className:x(be.menuItemDescription)},d.createElement("span",null,p)))),Te&&d.createElement($t.Provider,{value:{disableHover:G}},d.createElement(ac.Provider,{value:{direction:Ee}},f)),typeof S=="function"?S():S,d.createElement(Mf.Provider,{value:{itemId:n,isDisabled:b}},A,o!==null&&d.createElement(If,{icon:"favorites",isFavorited:o,"aria-label":o?"starred":"not starred",onClick:me=>W(me,n),tabIndex:-1,actionId:"fav"})))},kf=d.forwardRef((t,e)=>d.createElement(ym,Object.assign({},t,{innerRef:e})));kf.displayName="MenuItem";const Rf=t=>{var{children:e=null,className:i,isAriaMultiselectable:n=!1}=t,s=B(t,["children","className","isAriaMultiselectable"]);const{role:r}=d.useContext($t);return d.createElement("ul",Object.assign({role:r},r==="listbox"&&{"aria-multiselectable":n},{className:x(be.menuList,i)},s),e)};Rf.displayName="MenuList";const ri={modalBox:"pf-c-modal-box",modalBoxBody:"pf-c-modal-box__body",modalBoxDescription:"pf-c-modal-box__description",modalBoxFooter:"pf-c-modal-box__footer",modalBoxHeader:"pf-c-modal-box__header",modalBoxHeaderMain:"pf-c-modal-box__header-main",modalBoxTitle:"pf-c-modal-box__title",modalBoxTitleIcon:"pf-c-modal-box__title-icon",modalBoxTitleText:"pf-c-modal-box__title-text",modifiers:{sm:"pf-m-sm",md:"pf-m-md",lg:"pf-m-lg",alignTop:"pf-m-align-top",danger:"pf-m-danger",warning:"pf-m-warning",success:"pf-m-success",default:"pf-m-default",info:"pf-m-info",help:"pf-m-help",icon:"pf-m-icon"}},jf=t=>{var{children:e=null,className:i=""}=t,n=B(t,["children","className"]);return d.createElement("div",Object.assign({},n,{className:x(ri.modalBoxBody,i)}),e)};jf.displayName="ModalBoxBody";const Xs=t=>{var{className:e="",onClose:i=()=>{},ouiaId:n}=t,s=B(t,["className","onClose","ouiaId"]);return d.createElement($,Object.assign({className:e,variant:"plain",onClick:i,"aria-label":"Close"},n&&{ouiaId:`${n}-${Xs.displayName}`},s),d.createElement(zr,null))};Xs.displayName="ModalBoxCloseButton";const bm={name:"--pf-c-modal-box--m-align-top--spacer"},Pf=t=>{var{children:e,className:i="",variant:n="default",position:s,positionOffset:r,"aria-labelledby":a,"aria-label":o="","aria-describedby":l,style:c}=t,f=B(t,["children","className","variant","position","positionOffset","aria-labelledby","aria-label","aria-describedby","style"]);return r&&(c=c||{},c[bm.name]=r),d.createElement("div",Object.assign({},f,{role:"dialog","aria-label":o||null,"aria-labelledby":a||null,"aria-describedby":l,"aria-modal":"true",className:x(ri.modalBox,i,s==="top"&&ri.modifiers.alignTop,n==="large"&&ri.modifiers.lg,n==="small"&&ri.modifiers.sm,n==="medium"&&ri.modifiers.md),style:c}),e)};Pf.displayName="ModalBox";const ts=t=>{var{children:e=null,className:i=""}=t,n=B(t,["children","className"]);return d.createElement("footer",Object.assign({},n,{className:x(ri.modalBoxFooter,i)}),e)};ts.displayName="ModalBoxFooter";const Lf=t=>{var{children:e=null,className:i="",id:n=""}=t,s=B(t,["children","className","id"]);return d.createElement("div",Object.assign({},s,{id:n,className:x(ri.modalBoxDescription,i)}),e)};Lf.displayName="ModalBoxDescription";const as=t=>{var{children:e=null,className:i="",help:n=null}=t,s=B(t,["children","className","help"]);return d.createElement("header",Object.assign({className:x(ri.modalBoxHeader,n&&ri.modifiers.help,i)},s),n&&d.createElement(d.Fragment,null,d.createElement("div",{className:x(ri.modalBoxHeaderMain)},e),d.createElement("div",{className:"pf-c-modal-box__header-help"},n)),!n&&e)};as.displayName="ModalBoxHeader";const er=t=>["success","danger","warning","info","default"].includes(t),Nf=t=>{var{className:e="",id:i,title:n,titleIconVariant:s,titleLabel:r=""}=t,a=B(t,["className","id","title","titleIconVariant","titleLabel"]);const[o,l]=d.useState(!1),c=d.useRef(null),f=r||(er(s)?`${_d(s)} alert:`:r),h={success:d.createElement(tf,null),danger:d.createElement(af,null),warning:d.createElement(nf,null),info:d.createElement(Hv,null),default:d.createElement(Uv,null)},p=!er(s)&&s;cr(()=>{l(c.current&&c.current.offsetWidth<c.current.scrollWidth)},[]);const g=d.createElement("h1",Object.assign({id:i,ref:c,className:x(ri.modalBoxTitle,s&&ri.modifiers.icon,e)},a),s&&d.createElement("span",{className:x(ri.modalBoxTitleIcon)},er(s)?h[s]:d.createElement(p,null)),f&&d.createElement("span",{className:x(Lv.screenReader)},f),d.createElement("span",{className:x(ri.modalBoxTitleText)},n));return o?d.createElement(ve,{content:n},g):g};Nf.displayName="ModalBoxTitle";const Js=t=>{var{children:e,className:i="",isOpen:n=!1,header:s=null,help:r=null,description:a=null,title:o="",titleIconVariant:l=null,titleLabel:c="","aria-label":f="","aria-describedby":h,"aria-labelledby":p,bodyAriaLabel:g,bodyAriaRole:y,showClose:b=!0,footer:w=null,actions:D=[],onClose:O=()=>{},variant:M="default",position:R,positionOffset:A,width:C=-1,boxId:S,labelId:k,descriptorId:P,disableFocusTrap:j=!1,hasNoBodyWrapper:L=!1,ouiaId:_,ouiaSafe:U=!0}=t,W=B(t,["children","className","isOpen","header","help","description","title","titleIconVariant","titleLabel","aria-label","aria-describedby","aria-labelledby","bodyAriaLabel","bodyAriaRole","showClose","footer","actions","onClose","variant","position","positionOffset","width","boxId","labelId","descriptorId","disableFocusTrap","hasNoBodyWrapper","ouiaId","ouiaSafe"]);if(!n)return null;const N=s?d.createElement(as,{help:r},s):o&&d.createElement(as,{help:r},d.createElement(Nf,{title:o,titleIconVariant:l,titleLabel:c,id:k}),a&&d.createElement(Lf,{id:P},a)),X=w?d.createElement(ts,null,w):D.length>0&&d.createElement(ts,null,D),Y=g?"region":void 0,ee=L?e:d.createElement(jf,Object.assign({"aria-label":g,role:y||Y},W,!a&&!h&&{id:P}),e),q=C===-1?{}:{width:C},se=()=>{if(p===null)return null;const G=[];return(f&&S)!==""&&G.push(f&&S),p&&G.push(p),o&&G.push(k),G.join(" ")},V=d.createElement(Pf,Object.assign({id:S,style:q,className:x(i,er(l)&&ri.modifiers[l]),variant:M,position:R,positionOffset:A,"aria-label":f,"aria-labelledby":se(),"aria-describedby":h||(L?null:P)},ci(Js.displayName,_,U)),b&&d.createElement(Xs,{onClose:O,ouiaId:_}),N,ee,X);return d.createElement(ef,null,d.createElement(Ld,{active:!j,focusTrapOptions:{clickOutsideDeactivates:!0,tabbableOptions:{displayCheck:"none"}},className:x(Av.bullseye)},V))};Js.displayName="ModalContent";var vr;(function(t){t.small="small",t.medium="medium",t.large="large",t.default="default"})(vr||(vr={}));class wi extends d.Component{constructor(e){super(e),this.boxId="",this.labelId="",this.descriptorId="",this.handleEscKeyClick=r=>{var a,o;const{onEscapePress:l}=this.props;r.key===ye.Escape&&this.props.isOpen&&(l?l(r):(o=(a=this.props).onClose)===null||o===void 0||o.call(a))},this.getElement=r=>typeof r=="function"?r():r||document.body,this.toggleSiblingsFromScreenReaders=r=>{const{appendTo:a}=this.props,l=this.getElement(a).children;for(const c of Array.from(l))c!==this.state.container&&(r?c.setAttribute("aria-hidden",""+r):c.removeAttribute("aria-hidden"))},this.isEmpty=r=>r==null||r==="";const i=wi.currentId++,n=i+1,s=i+2;this.boxId=e.id||`pf-modal-part-${i}`,this.labelId=`pf-modal-part-${n}`,this.descriptorId=`pf-modal-part-${s}`,this.state={container:void 0,ouiaStateId:Wi(wi.displayName,e.variant)}}componentDidMount(){const{appendTo:e,title:i,"aria-label":n,"aria-labelledby":s,hasNoBodyWrapper:r,header:a}=this.props,o=this.getElement(e),l=document.createElement("div");this.setState({container:l}),o.appendChild(l),o.addEventListener("keydown",this.handleEscKeyClick,!1),this.props.isOpen?o.classList.add(x(oa.backdropOpen)):o.classList.remove(x(oa.backdropOpen)),this.isEmpty(i)&&this.isEmpty(n)&&this.isEmpty(s)&&console.error("Modal: Specify at least one of: title, aria-label, aria-labelledby."),this.isEmpty(n)&&this.isEmpty(s)&&(r||a)&&console.error("Modal: When using hasNoBodyWrapper or setting a custom header, ensure you assign an accessible name to the the modal container with aria-label or aria-labelledby.")}componentDidUpdate(){const{appendTo:e}=this.props,i=this.getElement(e);this.props.isOpen?(i.classList.add(x(oa.backdropOpen)),this.toggleSiblingsFromScreenReaders(!0)):(i.classList.remove(x(oa.backdropOpen)),this.toggleSiblingsFromScreenReaders(!1))}componentWillUnmount(){const{appendTo:e}=this.props,i=this.getElement(e);this.state.container&&i.removeChild(this.state.container),i.removeEventListener("keydown",this.handleEscKeyClick,!1),i.classList.remove(x(oa.backdropOpen))}render(){const e=this.props,{appendTo:i,onEscapePress:n,"aria-labelledby":s,"aria-label":r,"aria-describedby":a,bodyAriaLabel:o,bodyAriaRole:l,title:c,titleIconVariant:f,titleLabel:h,ouiaId:p,ouiaSafe:g}=e,y=B(e,["appendTo","onEscapePress","aria-labelledby","aria-label","aria-describedby","bodyAriaLabel","bodyAriaRole","title","titleIconVariant","titleLabel","ouiaId","ouiaSafe"]),{container:b}=this.state;return!Ze||!b?null:xn.createPortal(d.createElement(Js,Object.assign({},y,{boxId:this.boxId,labelId:this.labelId,descriptorId:this.descriptorId,title:c,titleIconVariant:f,titleLabel:h,"aria-label":r,"aria-describedby":a,"aria-labelledby":s,bodyAriaLabel:o,bodyAriaRole:l,ouiaId:p!==void 0?p:this.state.ouiaStateId,ouiaSafe:g})),b)}}wi.displayName="Modal";wi.currentId=0;wi.defaultProps={className:"",isOpen:!1,title:"",titleIconVariant:null,titleLabel:"","aria-label":"",showClose:!0,"aria-describedby":"","aria-labelledby":"",id:void 0,actions:[],onClose:()=>{},variant:"default",hasNoBodyWrapper:!1,appendTo:()=>document.body,ouiaSafe:!0};const Ve={modifiers:{light:"pf-m-light",menu:"pf-m-menu",hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",fullHeight:"pf-m-full-height",read:"pf-m-read",selected:"pf-m-selected",unread:"pf-m-unread",attention:"pf-m-attention",expanded:"pf-m-expanded",collapsed:"pf-m-collapsed",limitWidth:"pf-m-limit-width",alignCenter:"pf-m-align-center",overflowScroll:"pf-m-overflow-scroll",shadowBottom:"pf-m-shadow-bottom",shadowTop:"pf-m-shadow-top",stickyTop:"pf-m-sticky-top",stickyBottom:"pf-m-sticky-bottom",stickyTopOnSmHeight:"pf-m-sticky-top-on-sm-height",stickyBottomOnSmHeight:"pf-m-sticky-bottom-on-sm-height",stickyTopOnMdHeight:"pf-m-sticky-top-on-md-height",stickyBottomOnMdHeight:"pf-m-sticky-bottom-on-md-height",stickyTopOnLgHeight:"pf-m-sticky-top-on-lg-height",stickyBottomOnLgHeight:"pf-m-sticky-bottom-on-lg-height",stickyTopOnXlHeight:"pf-m-sticky-top-on-xl-height",stickyBottomOnXlHeight:"pf-m-sticky-bottom-on-xl-height",stickyTopOn_2xlHeight:"pf-m-sticky-top-on-2xl-height",stickyBottomOn_2xlHeight:"pf-m-sticky-bottom-on-2xl-height",fill:"pf-m-fill",noFill:"pf-m-no-fill",light_100:"pf-m-light-100",dark_100:"pf-m-dark-100",dark_200:"pf-m-dark-200",padding:"pf-m-padding",noPadding:"pf-m-no-padding",paddingOnSm:"pf-m-padding-on-sm",noPaddingOnSm:"pf-m-no-padding-on-sm",paddingOnMd:"pf-m-padding-on-md",noPaddingOnMd:"pf-m-no-padding-on-md",paddingOnLg:"pf-m-padding-on-lg",noPaddingOnLg:"pf-m-no-padding-on-lg",paddingOnXl:"pf-m-padding-on-xl",noPaddingOnXl:"pf-m-no-padding-on-xl",paddingOn_2xl:"pf-m-padding-on-2xl",noPaddingOn_2xl:"pf-m-no-padding-on-2xl",light_200:"pf-m-light-200"},pageMainBody:"pf-c-page__main-body",pageMainBreadcrumb:"pf-c-page__main-breadcrumb",pageMainNav:"pf-c-page__main-nav",pageMainSection:"pf-c-page__main-section",pageMainSubnav:"pf-c-page__main-subnav",pageMainTabs:"pf-c-page__main-tabs",pageMainWizard:"pf-c-page__main-wizard"},Bf=t=>{var{children:e,className:i="",isVisited:n=!1}=t,s=B(t,["children","className","isVisited"]);return d.createElement("div",Object.assign({},s,{className:x($o.content,n&&$o.modifiers.visited,i)}),e)};Bf.displayName="TextContent";var Ut;(function(t){t.h1="h1",t.h2="h2",t.h3="h3",t.h4="h4",t.h5="h5",t.h6="h6",t.p="p",t.a="a",t.small="small",t.blockquote="blockquote",t.pre="pre"})(Ut||(Ut={}));const Si=t=>{var{children:e=null,className:i="",component:n=Ut.p,isVisitedLink:s=!1,ouiaId:r,ouiaSafe:a=!0}=t,o=B(t,["children","className","component","isVisitedLink","ouiaId","ouiaSafe"]);const l=n,c=jt(Si.displayName,r,a);return d.createElement(l,Object.assign({},c,o,{"data-pf-content":!0,className:x(s&&n===Ut.a&&$o.modifiers.visited,i)}),e)};Si.displayName="Text";var xt;(function(t){t.default="default",t.light="light",t.dark="dark",t.darker="darker"})(xt||(xt={}));var st;(function(t){t.default="default",t.nav="nav",t.subNav="subnav",t.breadcrumb="breadcrumb",t.tabs="tabs",t.wizard="wizard"})(st||(st={}));const wm={[st.default]:Ve.pageMainSection,[st.nav]:Ve.pageMainNav,[st.subNav]:Ve.pageMainSubnav,[st.breadcrumb]:Ve.pageMainBreadcrumb,[st.tabs]:Ve.pageMainTabs,[st.wizard]:Ve.pageMainWizard},Dm={[xt.default]:"",[xt.light]:Ve.modifiers.light,[xt.dark]:Ve.modifiers.dark_200,[xt.darker]:Ve.modifiers.dark_100},it=t=>{var{className:e="",children:i,variant:n="default",type:s="default",padding:r,isFilled:a,isWidthLimited:o=!1,isCenterAligned:l=!1,sticky:c,stickyOnBreakpoint:f,hasShadowTop:h=!1,hasShadowBottom:p=!1,hasOverflowScroll:g=!1,"aria-label":y,component:b="section"}=t,w=B(t,["className","children","variant","type","padding","isFilled","isWidthLimited","isCenterAligned","sticky","stickyOnBreakpoint","hasShadowTop","hasShadowBottom","hasOverflowScroll","aria-label","component"]);const{height:D,getVerticalBreakpoint:O}=d.useContext(ea);d.useEffect(()=>{g&&!y&&console.warn("PageSection: An accessible aria-label is required when hasOverflowScroll is set to true.")},[g,y]);const M=b;return d.createElement(M,Object.assign({},w,{className:x(wm[s],fe(r,Ve),fe(f,Ve,"sticky-",O(D),!0),Dm[n],a===!1&&Ve.modifiers.noFill,a===!0&&Ve.modifiers.fill,o&&Ve.modifiers.limitWidth,o&&l&&s!==st.subNav&&Ve.modifiers.alignCenter,c==="top"&&Ve.modifiers.stickyTop,c==="bottom"&&Ve.modifiers.stickyBottom,h&&Ve.modifiers.shadowTop,p&&Ve.modifiers.shadowBottom,g&&Ve.modifiers.overflowScroll,e)},g&&{tabIndex:0},{"aria-label":y}),o&&d.createElement("div",{className:x(Ve.pageMainBody)},i),!o&&i)};it.displayName="PageSection";const Ri={modifiers:{reverse:"pf-m-reverse",off:"pf-m-off",on:"pf-m-on"},switch:"pf-c-switch",switchInput:"pf-c-switch__input",switchLabel:"pf-c-switch__label",switchToggle:"pf-c-switch__toggle",switchToggleIcon:"pf-c-switch__toggle-icon"};class kt extends d.Component{constructor(e){super(e),!e.label&&!e["aria-label"]&&console.error("Switch: Switch requires either a label or an aria-label to be specified"),this.id=e.id||Br(),this.state={ouiaStateId:Wi(kt.displayName)}}render(){const e=this.props,{id:i,className:n,label:s,labelOff:r,isChecked:a,defaultChecked:o,hasCheckIcon:l,isDisabled:c,onChange:f,isReversed:h,ouiaId:p,ouiaSafe:g}=e,y=B(e,["id","className","label","labelOff","isChecked","defaultChecked","hasCheckIcon","isDisabled","onChange","isReversed","ouiaId","ouiaSafe"]),b=y["aria-label"]==="";return d.createElement("label",Object.assign({className:x(Ri.switch,h&&Ri.modifiers.reverse,n),htmlFor:this.id},ci(kt.displayName,p!==void 0?p:this.state.ouiaStateId,g)),d.createElement("input",Object.assign({id:this.id,className:x(Ri.switchInput),type:"checkbox",onChange:w=>f(w.target.checked,w)},o!==void 0?{defaultChecked:o}:{checked:a},{disabled:c,"aria-labelledby":b?`${this.id}-${a!==!0?"off":"on"}`:null},y)),s!==void 0?d.createElement(d.Fragment,null,d.createElement("span",{className:x(Ri.switchToggle)},l&&d.createElement("span",{className:x(Ri.switchToggleIcon),"aria-hidden":"true"},d.createElement(pn,{noVerticalAlign:!0}))),d.createElement("span",{className:x(Ri.switchLabel,Ri.modifiers.on),id:b?`${this.id}-on`:null,"aria-hidden":"true"},s),d.createElement("span",{className:x(Ri.switchLabel,Ri.modifiers.off),id:b?`${this.id}-off`:null,"aria-hidden":"true"},r!==void 0?r:s)):d.createElement("span",{className:x(Ri.switchToggle)},d.createElement("div",{className:x(Ri.switchToggleIcon),"aria-hidden":"true"},d.createElement(pn,{noVerticalAlign:!0}))))}}kt.displayName="Switch";kt.defaultProps={isChecked:!0,isDisabled:!1,isReversed:!1,"aria-label":"",onChange:()=>{}};const ge={modifiers:{fill:"pf-m-fill",scrollable:"pf-m-scrollable",secondary:"pf-m-secondary",noBorderBottom:"pf-m-no-border-bottom",borderBottom:"pf-m-border-bottom",box:"pf-m-box",vertical:"pf-m-vertical",current:"pf-m-current",colorSchemeLight_300:"pf-m-color-scheme--light-300",expandable:"pf-m-expandable",nonExpandable:"pf-m-non-expandable",expandableOnSm:"pf-m-expandable-on-sm",nonExpandableOnSm:"pf-m-non-expandable-on-sm",expandableOnMd:"pf-m-expandable-on-md",nonExpandableOnMd:"pf-m-non-expandable-on-md",expandableOnLg:"pf-m-expandable-on-lg",nonExpandableOnLg:"pf-m-non-expandable-on-lg",expandableOnXl:"pf-m-expandable-on-xl",nonExpandableOnXl:"pf-m-non-expandable-on-xl",expandableOn_2xl:"pf-m-expandable-on-2xl",nonExpandableOn_2xl:"pf-m-non-expandable-on-2xl",expanded:"pf-m-expanded",pageInsets:"pf-m-page-insets",overflow:"pf-m-overflow",action:"pf-m-action",active:"pf-m-active",disabled:"pf-m-disabled",ariaDisabled:"pf-m-aria-disabled",insetNone:"pf-m-inset-none",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",insetNoneOnSm:"pf-m-inset-none-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",insetNoneOnMd:"pf-m-inset-none-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",insetNoneOnLg:"pf-m-inset-none-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",insetNoneOnXl:"pf-m-inset-none-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl"},tabs:"pf-c-tabs",tabsAdd:"pf-c-tabs__add",tabsItem:"pf-c-tabs__item",tabsItemAction:"pf-c-tabs__item-action",tabsItemActionIcon:"pf-c-tabs__item-action-icon",tabsItemIcon:"pf-c-tabs__item-icon",tabsItemText:"pf-c-tabs__item-text",tabsLink:"pf-c-tabs__link",tabsLinkToggleIcon:"pf-c-tabs__link-toggle-icon",tabsList:"pf-c-tabs__list",tabsScrollButton:"pf-c-tabs__scroll-button",tabsToggle:"pf-c-tabs__toggle",tabsToggleButton:"pf-c-tabs__toggle-button",tabsToggleIcon:"pf-c-tabs__toggle-icon"},Gs=t=>{var{children:e,tabContentRef:i,ouiaId:n,parentInnerRef:s,ouiaSafe:r}=t,a=B(t,["children","tabContentRef","ouiaId","parentInnerRef","ouiaSafe"]);const o=a.href?"a":"button";return d.createElement(o,Object.assign({},!a.href&&{type:"button"},{ref:s},ci(Gs.displayName,n,r),a),e)};Gs.displayName="TabButton";const qr=d.createContext({variant:"default",mountOnEnter:!1,unmountOnExit:!1,localActiveKey:"",uniqueId:"",handleTabClick:()=>null,handleTabClose:void 0}),xm=qr.Provider,Cm=qr.Consumer,Sm=t=>{var{children:e,className:i,onClick:n,isDisabled:s,"aria-label":r="Tab action",innerRef:a,ouiaId:o,ouiaSafe:l}=t,c=B(t,["children","className","onClick","isDisabled","aria-label","innerRef","ouiaId","ouiaSafe"]);return d.createElement("span",{className:x(ge.tabsItemAction,i)},d.createElement($,Object.assign({ref:a,type:"button",variant:"plain","aria-label":r,onClick:n,isDisabled:s},ci(Ks.displayName,o,l),c),d.createElement("span",{className:x(ge.tabsItemActionIcon)},e)))},Ks=d.forwardRef((t,e)=>d.createElement(Sm,Object.assign({},t,{innerRef:e})));Ks.displayName="TabAction";const Em=t=>{var{title:e,eventKey:i,tabContentRef:n,id:s,tabContentId:r,className:a="",ouiaId:o,isDisabled:l,isAriaDisabled:c,inoperableEvents:f=["onClick","onKeyPress"],href:h,innerRef:p,tooltip:g,closeButtonAriaLabel:y,isCloseDisabled:b=!1,actions:w}=t,D=B(t,["title","eventKey","tabContentRef","id","tabContentId","className","ouiaId","isDisabled","isAriaDisabled","inoperableEvents","href","innerRef","tooltip","closeButtonAriaLabel","isCloseDisabled","actions"]);const O=f.reduce((U,W)=>Object.assign(Object.assign({},U),{[W]:N=>{N.preventDefault()}}),{}),{mountOnEnter:M,localActiveKey:R,unmountOnExit:A,uniqueId:C,handleTabClick:S,handleTabClose:k}=d.useContext(qr);let P=r?`${r}`:`pf-tab-section-${i}-${s||C}`;(M||A)&&i!==R&&(P=void 0);const j=!h,L=()=>{if(l)return j?null:-1;if(c)return null},_=d.createElement(Gs,Object.assign({parentInnerRef:p,className:x(ge.tabsLink,l&&h&&ge.modifiers.disabled,c&&ge.modifiers.ariaDisabled),disabled:j?l:null,"aria-disabled":l||c,tabIndex:L(),onClick:U=>S(U,i,n)},c?O:null,{id:`pf-tab-${i}-${s||C}`,"aria-controls":P,tabContentRef:n,ouiaId:o,href:h,role:"tab","aria-selected":i===R},D),e);return d.createElement("li",{className:x(ge.tabsItem,i===R&&ge.modifiers.current,(k||w)&&ge.modifiers.action,(l||c)&&ge.modifiers.disabled,a),role:"presentation"},g?d.createElement(ve,Object.assign({},g.props),_):_,w&&w,k!==void 0&&d.createElement(Ks,{"aria-label":y||"Close tab",onClick:U=>k(U,i,n),isDisabled:b},d.createElement(zr,null)))},dt=d.forwardRef((t,e)=>d.createElement(Em,Object.assign({innerRef:e},t)));dt.displayName="Tab";const Tm={name:"PlusIcon",height:512,width:448,svgPath:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z",yOffset:0,xOffset:0},ht=Ae(Tm),Fm={modifiers:{light_300:"pf-m-light-300"}},nc={default:"",light300:Fm.modifiers.light_300},Om=t=>{var{id:e,activeKey:i,"aria-label":n,child:s,children:r,className:a,eventKey:o,innerRef:l,ouiaId:c,ouiaSafe:f}=t,h=B(t,["id","activeKey","aria-label","child","children","className","eventKey","innerRef","ouiaId","ouiaSafe"]);if(r||s){let p;return n?p=null:p=r?`${e}`:`pf-tab-${s.props.eventKey}-${e}`,d.createElement(Cm,null,({variant:g})=>d.createElement("section",Object.assign({ref:l,hidden:r?null:s.props.eventKey!==i,className:r?x("pf-c-tab-content",a,nc[g]):x("pf-c-tab-content",s.props.className,nc[g]),id:r?e:`pf-tab-section-${s.props.eventKey}-${e}`,"aria-label":n,"aria-labelledby":p,role:"tabpanel",tabIndex:0},ci("TabContent",c,f),h),r||s.props.children))}return null},Mm=d.forwardRef((t,e)=>d.createElement(Om,Object.assign({},t,{innerRef:e}))),Tt=t=>{var{children:e,className:i=""}=t,n=B(t,["children","className"]);return d.createElement("span",Object.assign({className:x(ge.tabsItemText,i)},n),e)};Tt.displayName="TabTitleText";const _f=t=>{var{className:e,overflowingTabs:i=[],showTabCount:n,defaultTitleText:s="More",toggleAriaLabel:r,removeFindDomNode:a=!1,zIndex:o=9999}=t,l=B(t,["className","overflowingTabs","showTabCount","defaultTitleText","toggleAriaLabel","removeFindDomNode","zIndex"]);const c=H.useRef(),f=H.useRef(),h=H.useRef(),[p,g]=H.useState(!1),{localActiveKey:y,handleTabClick:b}=H.useContext(qr),w=()=>{g(!1),f.current.focus()},D=j=>{var L;const _=(L=c==null?void 0:c.current)===null||L===void 0?void 0:L.contains(j.target);p&&_&&j.key==="Escape"&&w()},O=j=>{var L,_;const U=!(!((L=c==null?void 0:c.current)===null||L===void 0)&&L.contains(j.target)),W=!(!((_=f==null?void 0:f.current)===null||_===void 0)&&_.contains(j.target));p&&U&&W&&w()};H.useEffect(()=>(window.addEventListener("click",O),window.addEventListener("keydown",D),()=>{window.removeEventListener("click",O),window.removeEventListener("keydown",D)}),[p,c,f]);const M=i.find(j=>j.eventKey===y),R=M!=null&&M.title?M.title:s,A=()=>{g(j=>!j),setTimeout(()=>{if(c!=null&&c.current){const j=c.current.querySelector("li > button,input:not(:disabled)");j&&j.focus()}},0)},C=H.createElement("li",Object.assign({className:x(ge.tabsItem,"pf-m-overflow",M&&ge.modifiers.current,e),role:"presentation",ref:h},l),H.createElement("button",{type:"button",className:x(ge.tabsLink,p&&ge.modifiers.expanded),onClick:()=>A(),"aria-label":r,"aria-haspopup":"menu","aria-expanded":p,role:"tab",ref:f},H.createElement(Tt,null,R,n&&R===s&&` (${i.length})`),H.createElement("span",{className:ge.tabsLinkToggleIcon},H.createElement(ga,null)))),S=i.map(j=>H.createElement(kf,{key:j.eventKey,itemId:j.eventKey,isSelected:y===j.eventKey},j.title)),k=(j,L)=>{w();const _=i.find(U=>U.eventKey===L).tabContentRef;b(j,L,_)},P=H.createElement(gr,{ref:c,onSelect:(j,L)=>k(j,L)},H.createElement(Af,null,H.createElement(Rf,null,S)));return H.createElement(Ca,{trigger:C,popper:P,isVisible:p,popperMatchesTriggerWidth:!1,appendTo:h.current,removeFindDomNode:a,zIndex:o})};_f.displayName="OverflowTab";var mr;(function(t){t.div="div",t.nav="nav"})(mr||(mr={}));const Am={default:"",light300:ge.modifiers.colorSchemeLight_300};class gt extends d.Component{constructor(e){super(e),this.tabList=d.createRef(),this.leftScrollButtonRef=d.createRef(),this.scrollTimeout=null,this.countOverflowingElements=i=>Array.from(i.children).filter(s=>!_a(i,s,!1)).length,this.handleScrollButtons=()=>{const{isOverflowHorizontal:i}=this.props;clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{const n=this.tabList.current;let s=!0,r=!0,a=!1,o=0;if(n&&!this.props.isVertical&&!i){const l=!_a(n,n.firstChild,!1),c=!_a(n,n.lastChild,!1);a=l||c,s=!l,r=!c}i&&(o=this.countOverflowingElements(n)),this.setState({enableScrollButtons:a,disableLeftScrollButton:s,disableRightScrollButton:r,overflowingTabCount:o})},100)},this.scrollLeft=()=>{if(this.tabList.current){const i=this.tabList.current,n=Array.from(i.children);let s,r,a;for(a=0;a<n.length&&!s;a++)_a(i,n[a],!1)&&(s=n[a],r=n[a-1]);r&&(i.scrollLeft-=r.scrollWidth)}},this.scrollRight=()=>{if(this.tabList.current){const i=this.tabList.current,n=Array.from(i.children);let s,r;for(let a=n.length-1;a>=0&&!s;a--)_a(i,n[a],!1)&&(s=n[a],r=n[a+1]);r&&(i.scrollLeft+=r.scrollWidth)}},this.hideScrollButtons=()=>{const{enableScrollButtons:i,renderScrollButtons:n,showScrollButtons:s}=this.state;!i&&!s&&n&&this.setState({renderScrollButtons:!1})},this.state={enableScrollButtons:!1,showScrollButtons:!1,renderScrollButtons:!1,disableLeftScrollButton:!0,disableRightScrollButton:!0,shownKeys:this.props.defaultActiveKey!==void 0?[this.props.defaultActiveKey]:[this.props.activeKey],uncontrolledActiveKey:this.props.defaultActiveKey,uncontrolledIsExpandedLocal:this.props.defaultIsExpanded,ouiaStateId:Wi(gt.displayName),overflowingTabCount:0},this.props.isVertical&&this.props.expandable!==void 0&&!this.props.toggleAriaLabel&&!this.props.toggleText&&console.error("Tabs:","toggleAriaLabel or the toggleText prop is required to make the toggle button accessible")}handleTabClick(e,i,n){const{shownKeys:s}=this.state,{onSelect:r,defaultActiveKey:a}=this.props;a!==void 0?this.setState({uncontrolledActiveKey:i}):r(e,i),n&&(d.Children.toArray(this.props.children).map(o=>o).filter(o=>o.props&&o.props.tabContentRef&&o.props.tabContentRef.current).forEach(o=>o.props.tabContentRef.current.hidden=!0),n.current&&(n.current.hidden=!1)),this.props.mountOnEnter&&this.setState({shownKeys:s.concat(i)})}componentDidMount(){this.props.isVertical||(Ze&&window.addEventListener("resize",this.handleScrollButtons,!1),this.handleScrollButtons())}componentWillUnmount(){var e;this.props.isVertical||Ze&&window.removeEventListener("resize",this.handleScrollButtons,!1),clearTimeout(this.scrollTimeout),(e=this.leftScrollButtonRef.current)===null||e===void 0||e.removeEventListener("transitionend",this.hideScrollButtons)}componentDidUpdate(e,i){const{activeKey:n,mountOnEnter:s,isOverflowHorizontal:r,children:a}=this.props,{shownKeys:o,overflowingTabCount:l,enableScrollButtons:c}=this.state;e.activeKey!==n&&s&&o.indexOf(n)<0&&this.setState({shownKeys:o.concat(n)}),e.children&&a&&d.Children.toArray(e.children).length!==d.Children.toArray(a).length&&this.handleScrollButtons();const f=this.countOverflowingElements(this.tabList.current);r&&f&&this.setState({overflowingTabCount:f+l}),!i.enableScrollButtons&&c?(this.setState({renderScrollButtons:!0}),setTimeout(()=>{var h;(h=this.leftScrollButtonRef.current)===null||h===void 0||h.addEventListener("transitionend",this.hideScrollButtons),this.setState({showScrollButtons:!0})},100)):i.enableScrollButtons&&!c&&this.setState({showScrollButtons:!1})}render(){const e=this.props,{className:i,children:n,activeKey:s,defaultActiveKey:r,id:a,isFilled:o,isSecondary:l,isVertical:c,isBox:f,hasBorderBottom:h,hasSecondaryBorderBottom:p,leftScrollAriaLabel:g,rightScrollAriaLabel:y,"aria-label":b,component:w,ouiaId:D,ouiaSafe:O,mountOnEnter:M,unmountOnExit:R,usePageInsets:A,inset:C,variant:S,expandable:k,isExpanded:P,defaultIsExpanded:j,toggleText:L,toggleAriaLabel:_,addButtonAriaLabel:U,onToggle:W,onClose:N,onAdd:X,isOverflowHorizontal:Y}=e,ee=B(e,["className","children","activeKey","defaultActiveKey","id","isFilled","isSecondary","isVertical","isBox","hasBorderBottom","hasSecondaryBorderBottom","leftScrollAriaLabel","rightScrollAriaLabel","aria-label","component","ouiaId","ouiaSafe","mountOnEnter","unmountOnExit","usePageInsets","inset","variant","expandable","isExpanded","defaultIsExpanded","toggleText","toggleAriaLabel","addButtonAriaLabel","onToggle","onClose","onAdd","isOverflowHorizontal"]),{showScrollButtons:q,renderScrollButtons:se,disableLeftScrollButton:V,disableRightScrollButton:G,shownKeys:re,uncontrolledActiveKey:pe,uncontrolledIsExpandedLocal:Z,overflowingTabCount:Ce}=this.state,he=d.Children.toArray(n).filter(Boolean).filter(de=>!de.props.isHidden),Ee=he.slice(0,he.length-Ce),Ie=he.slice(he.length-Ce).map(de=>de.props),Te=a||Br(),Le=w===mr.nav?"nav":"div",Q=r!==void 0?pe:s,ae=j!==void 0?Z:P,Ne=de=>{P===void 0?this.setState({uncontrolledIsExpandedLocal:de}):W(de)},K=Y&&Ce>0,Qe=typeof Y=="object"?Object.assign({},Y):{};return d.createElement(xm,{value:{variant:S,mountOnEnter:M,unmountOnExit:R,localActiveKey:Q,uniqueId:Te,handleTabClick:(...de)=>this.handleTabClick(...de),handleTabClose:N}},d.createElement(Le,Object.assign({"aria-label":b,className:x(ge.tabs,o&&ge.modifiers.fill,l&&ge.modifiers.secondary,c&&ge.modifiers.vertical,c&&k&&fe(k,ge),c&&k&&ae&&ge.modifiers.expanded,f&&ge.modifiers.box,q&&ge.modifiers.scrollable,A&&ge.modifiers.pageInsets,!h&&ge.modifiers.noBorderBottom,p&&ge.modifiers.borderBottom,fe(C,ge),Am[S],K&&ge.modifiers.overflow,i)},ci(gt.displayName,D!==void 0?D:this.state.ouiaStateId,O),{id:a&&a},ee),k&&c&&d.createElement(tt,null,de=>d.createElement("div",{className:x(ge.tabsToggle)},d.createElement("div",{className:x(ge.tabsToggleButton)},d.createElement($,{onClick:()=>Ne(!ae),variant:"plain","aria-label":_,"aria-expanded":ae,id:`${de}-button`,"aria-labelledby":`${de}-text ${de}-button`},d.createElement("span",{className:x(ge.tabsToggleIcon)},d.createElement(ga,{"arian-hidden":"true"})),L&&d.createElement("span",{className:x("pf-c-tabs__toggle-text"),id:`${de}-text`},L))))),se&&d.createElement("button",{type:"button",className:x(ge.tabsScrollButton,l&&_e.modifiers.secondary),"aria-label":g,onClick:this.scrollLeft,disabled:V,"aria-hidden":V,ref:this.leftScrollButtonRef},d.createElement(df,null)),d.createElement("ul",{className:x(ge.tabsList),ref:this.tabList,onScroll:this.handleScrollButtons,role:"tablist"},Y?Ee:he,K&&d.createElement(_f,Object.assign({overflowingTabs:Ie},Qe))),se&&d.createElement("button",{type:"button",className:x(ge.tabsScrollButton,l&&_e.modifiers.secondary),"aria-label":y,onClick:this.scrollRight,disabled:G,"aria-hidden":G},d.createElement(ga,null)),X!==void 0&&d.createElement("span",{className:x(ge.tabsAdd)},d.createElement($,{variant:"plain","aria-label":U||"Add tab",onClick:X},d.createElement(ht,null)))),he.filter(de=>de.props.children&&!(R&&de.props.eventKey!==Q)&&!(M&&re.indexOf(de.props.eventKey)===-1)).map(de=>d.createElement(Mm,{key:de.props.eventKey,activeKey:Q,child:de,id:de.props.id||Te,ouiaId:de.props.ouiaId})))}}gt.displayName="Tabs";gt.defaultProps={activeKey:0,onSelect:()=>{},isFilled:!1,isSecondary:!1,isVertical:!1,isBox:!1,hasBorderBottom:!0,leftScrollAriaLabel:"Scroll left",rightScrollAriaLabel:"Scroll right",component:mr.div,mountOnEnter:!1,unmountOnExit:!1,ouiaSafe:!0,variant:"default",onToggle:t=>{}};const zf=t=>{var{children:e,className:i=""}=t,n=B(t,["children","className"]);return d.createElement("span",Object.assign({className:x(ge.tabsItemIcon,i)},n),e)};zf.displayName="TabTitleIcon";const Vt={modifiers:{compact:"pf-m-compact",selected:"pf-m-selected"},toggleGroup:"pf-c-toggle-group",toggleGroupButton:"pf-c-toggle-group__button",toggleGroupIcon:"pf-c-toggle-group__icon",toggleGroupItem:"pf-c-toggle-group__item",toggleGroupText:"pf-c-toggle-group__text"};var yr;(function(t){t.icon="icon",t.text="text"})(yr||(yr={}));const ns=({variant:t,children:e})=>d.createElement("span",{className:x(t==="icon"&&Vt.toggleGroupIcon,t==="text"&&Vt.toggleGroupText)},e);ns.displayName="ToggleGroupItemElement";const br=t=>{var{text:e,icon:i,className:n,isDisabled:s=!1,isSelected:r=!1,"aria-label":a="",onChange:o=()=>{},buttonId:l=""}=t,c=B(t,["text","icon","className","isDisabled","isSelected","aria-label","onChange","buttonId"]);const f=h=>{o(!r,h)};return!a&&i&&!e&&console.warn("An accessible aria-label is required when using the toggle group item icon variant."),d.createElement("div",Object.assign({className:x(Vt.toggleGroupItem,n)},c),d.createElement("button",Object.assign({type:"button",className:x(Vt.toggleGroupButton,r&&Vt.modifiers.selected),"aria-pressed":r,onClick:f},a&&{"aria-label":a},s&&{disabled:!0},l&&{id:l}),i?d.createElement(ns,{variant:yr.icon},i):null,e?d.createElement(ns,{variant:yr.text},e):null))};br.displayName="ToggleGroupItem";const Hf=t=>{var{className:e,children:i,isCompact:n=!1,areAllGroupsDisabled:s=!1,"aria-label":r}=t,a=B(t,["className","children","isCompact","areAllGroupsDisabled","aria-label"]);const o=d.Children.map(i,l=>l.type.name!==br.name?l:d.cloneElement(l,s?{isDisabled:!0}:{}));return d.createElement("div",Object.assign({className:x(Vt.toggleGroup,n&&Vt.modifiers.compact,e),role:"group","aria-label":r},a),o)};Hf.displayName="ToggleGroup";const xe={modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",pageInsets:"pf-m-page-insets",sticky:"pf-m-sticky",fullHeight:"pf-m-full-height",static:"pf-m-static",vertical:"pf-m-vertical",buttonGroup:"pf-m-button-group",iconButtonGroup:"pf-m-icon-button-group",filterGroup:"pf-m-filter-group",toggleGroup:"pf-m-toggle-group",overflowMenu:"pf-m-overflow-menu",bulkSelect:"pf-m-bulk-select",expandAll:"pf-m-expand-all",expanded:"pf-m-expanded",searchFilter:"pf-m-search-filter",chipGroup:"pf-m-chip-group",label:"pf-m-label",pagination:"pf-m-pagination",overflowContainer:"pf-m-overflow-container",chipContainer:"pf-m-chip-container",plain:"pf-m-plain",show:"pf-m-show",showOnSm:"pf-m-show-on-sm",showOnMd:"pf-m-show-on-md",showOnLg:"pf-m-show-on-lg",showOnXl:"pf-m-show-on-xl",showOn_2xl:"pf-m-show-on-2xl",alignRight:"pf-m-align-right",alignLeft:"pf-m-align-left",nowrap:"pf-m-nowrap",wrap:"pf-m-wrap",alignRightOnSm:"pf-m-align-right-on-sm",alignLeftOnSm:"pf-m-align-left-on-sm",nowrapOnSm:"pf-m-nowrap-on-sm",wrapOnSm:"pf-m-wrap-on-sm",alignRightOnMd:"pf-m-align-right-on-md",alignLeftOnMd:"pf-m-align-left-on-md",nowrapOnMd:"pf-m-nowrap-on-md",wrapOnMd:"pf-m-wrap-on-md",alignRightOnLg:"pf-m-align-right-on-lg",alignLeftOnLg:"pf-m-align-left-on-lg",nowrapOnLg:"pf-m-nowrap-on-lg",wrapOnLg:"pf-m-wrap-on-lg",alignRightOnXl:"pf-m-align-right-on-xl",alignLeftOnXl:"pf-m-align-left-on-xl",nowrapOnXl:"pf-m-nowrap-on-xl",wrapOnXl:"pf-m-wrap-on-xl",alignRightOn_2xl:"pf-m-align-right-on-2xl",alignLeftOn_2xl:"pf-m-align-left-on-2xl",nowrapOn_2xl:"pf-m-nowrap-on-2xl",wrapOn_2xl:"pf-m-wrap-on-2xl",spaceItemsNone:"pf-m-space-items-none",spaceItemsSm:"pf-m-space-items-sm",spaceItemsMd:"pf-m-space-items-md",spaceItemsLg:"pf-m-space-items-lg",spaceItemsNoneOnSm:"pf-m-space-items-none-on-sm",spaceItemsSmOnSm:"pf-m-space-items-sm-on-sm",spaceItemsMdOnSm:"pf-m-space-items-md-on-sm",spaceItemsLgOnSm:"pf-m-space-items-lg-on-sm",spaceItemsNoneOnMd:"pf-m-space-items-none-on-md",spaceItemsSmOnMd:"pf-m-space-items-sm-on-md",spaceItemsMdOnMd:"pf-m-space-items-md-on-md",spaceItemsLgOnMd:"pf-m-space-items-lg-on-md",spaceItemsNoneOnLg:"pf-m-space-items-none-on-lg",spaceItemsSmOnLg:"pf-m-space-items-sm-on-lg",spaceItemsMdOnLg:"pf-m-space-items-md-on-lg",spaceItemsLgOnLg:"pf-m-space-items-lg-on-lg",spaceItemsNoneOnXl:"pf-m-space-items-none-on-xl",spaceItemsSmOnXl:"pf-m-space-items-sm-on-xl",spaceItemsMdOnXl:"pf-m-space-items-md-on-xl",spaceItemsLgOnXl:"pf-m-space-items-lg-on-xl",spaceItemsNoneOn_2xl:"pf-m-space-items-none-on-2xl",spaceItemsSmOn_2xl:"pf-m-space-items-sm-on-2xl",spaceItemsMdOn_2xl:"pf-m-space-items-md-on-2xl",spaceItemsLgOn_2xl:"pf-m-space-items-lg-on-2xl",spacerNone:"pf-m-spacer-none",spacerSm:"pf-m-spacer-sm",spacerMd:"pf-m-spacer-md",spacerLg:"pf-m-spacer-lg",spacerNoneOnSm:"pf-m-spacer-none-on-sm",spacerSmOnSm:"pf-m-spacer-sm-on-sm",spacerMdOnSm:"pf-m-spacer-md-on-sm",spacerLgOnSm:"pf-m-spacer-lg-on-sm",spacerNoneOnMd:"pf-m-spacer-none-on-md",spacerSmOnMd:"pf-m-spacer-sm-on-md",spacerMdOnMd:"pf-m-spacer-md-on-md",spacerLgOnMd:"pf-m-spacer-lg-on-md",spacerNoneOnLg:"pf-m-spacer-none-on-lg",spacerSmOnLg:"pf-m-spacer-sm-on-lg",spacerMdOnLg:"pf-m-spacer-md-on-lg",spacerLgOnLg:"pf-m-spacer-lg-on-lg",spacerNoneOnXl:"pf-m-spacer-none-on-xl",spacerSmOnXl:"pf-m-spacer-sm-on-xl",spacerMdOnXl:"pf-m-spacer-md-on-xl",spacerLgOnXl:"pf-m-spacer-lg-on-xl",spacerNoneOn_2xl:"pf-m-spacer-none-on-2xl",spacerSmOn_2xl:"pf-m-spacer-sm-on-2xl",spacerMdOn_2xl:"pf-m-spacer-md-on-2xl",spacerLgOn_2xl:"pf-m-spacer-lg-on-2xl",insetNone:"pf-m-inset-none",insetSm:"pf-m-inset-sm",insetMd:"pf-m-inset-md",insetLg:"pf-m-inset-lg",insetXl:"pf-m-inset-xl",inset_2xl:"pf-m-inset-2xl",insetNoneOnSm:"pf-m-inset-none-on-sm",insetSmOnSm:"pf-m-inset-sm-on-sm",insetMdOnSm:"pf-m-inset-md-on-sm",insetLgOnSm:"pf-m-inset-lg-on-sm",insetXlOnSm:"pf-m-inset-xl-on-sm",inset_2xlOnSm:"pf-m-inset-2xl-on-sm",insetNoneOnMd:"pf-m-inset-none-on-md",insetSmOnMd:"pf-m-inset-sm-on-md",insetMdOnMd:"pf-m-inset-md-on-md",insetLgOnMd:"pf-m-inset-lg-on-md",insetXlOnMd:"pf-m-inset-xl-on-md",inset_2xlOnMd:"pf-m-inset-2xl-on-md",insetNoneOnLg:"pf-m-inset-none-on-lg",insetSmOnLg:"pf-m-inset-sm-on-lg",insetMdOnLg:"pf-m-inset-md-on-lg",insetLgOnLg:"pf-m-inset-lg-on-lg",insetXlOnLg:"pf-m-inset-xl-on-lg",inset_2xlOnLg:"pf-m-inset-2xl-on-lg",insetNoneOnXl:"pf-m-inset-none-on-xl",insetSmOnXl:"pf-m-inset-sm-on-xl",insetMdOnXl:"pf-m-inset-md-on-xl",insetLgOnXl:"pf-m-inset-lg-on-xl",insetXlOnXl:"pf-m-inset-xl-on-xl",inset_2xlOnXl:"pf-m-inset-2xl-on-xl",insetNoneOn_2xl:"pf-m-inset-none-on-2xl",insetSmOn_2xl:"pf-m-inset-sm-on-2xl",insetMdOn_2xl:"pf-m-inset-md-on-2xl",insetLgOn_2xl:"pf-m-inset-lg-on-2xl",insetXlOn_2xl:"pf-m-inset-xl-on-2xl",inset_2xlOn_2xl:"pf-m-inset-2xl-on-2xl"},toolbar:"pf-c-toolbar",toolbarContent:"pf-c-toolbar__content",toolbarContentSection:"pf-c-toolbar__content-section",toolbarExpandableContent:"pf-c-toolbar__expandable-content",toolbarGroup:"pf-c-toolbar__group",toolbarItem:"pf-c-toolbar__item"},qs=d.createContext({isExpanded:!1,toggleIsExpanded:()=>{},chipGroupContentRef:null,updateNumberFilters:()=>{},numberOfFilters:0,clearAllFilters:()=>{}}),Im=d.createContext({expandableContentRef:null,expandableContentId:"",chipContainerRef:null}),km={md:parseInt(Td.value),lg:parseInt(Fd.value),xl:parseInt(Od.value),"2xl":parseInt(Md.value)};var rs;(function(t){t.separator="separator",t["bulk-select"]="bulk-select",t["overflow-menu"]="overflow-menu",t.pagination="pagination",t["search-filter"]="search-filter",t.label="label",t["chip-group"]="chip-group",t["expand-all"]="expand-all"})(rs||(rs={}));const Xt=t=>{var{className:e,variant:i,visibility:n,visiblity:s,alignment:r,spacer:a,widths:o,id:l,children:c,isAllExpanded:f}=t,h=B(t,["className","variant","visibility","visiblity","alignment","spacer","widths","id","children","isAllExpanded"]);if(i===rs.separator)return d.createElement(Ci,Object.assign({className:x(xe.modifiers.vertical,e)},h));s!==void 0&&console.warn("The ToolbarItem visiblity prop has been deprecated. Please use the correctly spelled visibility prop instead.");const p={};return o&&Object.entries(o||{}).map(([g,y])=>p[`--pf-c-toolbar__item--Width${g!=="default"?`-on-${g}`:""}`]=y),d.createElement(ea.Consumer,null,({width:g,getBreakpoint:y})=>d.createElement("div",Object.assign({className:x(xe.toolbarItem,i&&xe.modifiers[en(i)],f&&xe.modifiers.expanded,fe(n||s,xe,"",y(g)),fe(r,xe,"",y(g)),fe(a,xe,"",y(g)),e)},i==="label"&&{"aria-hidden":!0},{id:l},h,o&&{style:Object.assign(Object.assign({},p),h.style)}),c))};Xt.displayName="ToolbarItem";var rc;(function(t){t["filter-group"]="filter-group",t["icon-button-group"]="icon-button-group",t["button-group"]="button-group"})(rc||(rc={}));class Rm extends d.Component{render(){const e=this.props,{visibility:i,visiblity:n,alignment:s,spacer:r,spaceItems:a,className:o,variant:l,children:c,innerRef:f}=e,h=B(e,["visibility","visiblity","alignment","spacer","spaceItems","className","variant","children","innerRef"]);return n!==void 0&&console.warn("The ToolbarGroup visiblity prop has been deprecated. Please use the correctly spelled visibility prop instead."),d.createElement(ea.Consumer,null,({width:p,getBreakpoint:g})=>d.createElement("div",Object.assign({className:x(xe.toolbarGroup,l&&xe.modifiers[en(l)],fe(i||n,xe,"",g(p)),fe(s,xe,"",g(p)),fe(r,xe,"",g(p)),fe(a,xe,"",g(p)),o)},h,{ref:f}),c))}}const nn=d.forwardRef((t,e)=>d.createElement(Rm,Object.assign({},t,{innerRef:e})));class $s extends d.Component{render(){const e=this.props,{className:i,isExpanded:n,chipGroupContentRef:s,clearAllFilters:r,showClearFiltersButton:a,clearFiltersButtonText:o,collapseListedFiltersBreakpoint:l,numberOfFilters:c,numberOfFiltersText:f,customChipGroupContent:h}=e,p=B(e,["className","isExpanded","chipGroupContentRef","clearAllFilters","showClearFiltersButton","clearFiltersButtonText","collapseListedFiltersBreakpoint","numberOfFilters","numberOfFiltersText","customChipGroupContent"]),g=()=>{r()};let y=!1;return l==="all"?y=!0:Ze&&(y=(Ze?window.innerWidth:1200)<km[l]),d.createElement("div",Object.assign({className:x(xe.toolbarContent,(c===0||n)&&xe.modifiers.hidden,i)},(c===0||n)&&{hidden:!0},{ref:s},p),d.createElement(nn,Object.assign({className:x(y&&xe.modifiers.hidden)},y&&{hidden:!0},y&&{"aria-hidden":!0})),y&&c>0&&!n&&d.createElement(nn,null,d.createElement(Xt,null,f(c))),a&&!n&&!h&&d.createElement(Xt,null,d.createElement($,{variant:"link",onClick:g,isInline:!0},o)),h&&h)}}$s.displayName="ToolbarChipGroupContent";$s.defaultProps={clearFiltersButtonText:"Clear all filters",collapseListedFiltersBreakpoint:"lg",numberOfFiltersText:t=>`${t} filters applied`};class gn extends d.Component{constructor(){super(...arguments),this.chipGroupContentRef=d.createRef(),this.staticFilterInfo={},this.state={isManagedToggleExpanded:!1,filterInfo:{},windowWidth:Ze?window.innerWidth:1200,ouiaStateId:Wi(gn.displayName)},this.isToggleManaged=()=>!(this.props.isExpanded||this.props.toggleIsExpanded),this.toggleIsExpanded=()=>{this.setState(e=>({isManagedToggleExpanded:!e.isManagedToggleExpanded}))},this.closeExpandableContent=e=>{e.target.innerWidth!==this.state.windowWidth&&this.setState(()=>({isManagedToggleExpanded:!1,windowWidth:e.target.innerWidth}))},this.updateNumberFilters=(e,i)=>{const n=Object.assign({},this.staticFilterInfo);(!n.hasOwnProperty(e)||n[e]!==i)&&(n[e]=i,this.staticFilterInfo=n,this.setState({filterInfo:n}))},this.getNumberOfFilters=()=>Object.values(this.state.filterInfo).reduce((e,i)=>e+i,0),this.renderToolbar=e=>{const i=this.props,{clearAllFilters:n,clearFiltersButtonText:s,collapseListedFiltersBreakpoint:r,isExpanded:a,toggleIsExpanded:o,className:l,children:c,isFullHeight:f,isStatic:h,inset:p,usePageInsets:g,isSticky:y,ouiaId:b,numberOfFiltersText:w,customChipGroupContent:D}=i,O=B(i,["clearAllFilters","clearFiltersButtonText","collapseListedFiltersBreakpoint","isExpanded","toggleIsExpanded","className","children","isFullHeight","isStatic","inset","usePageInsets","isSticky","ouiaId","numberOfFiltersText","customChipGroupContent"]),{isManagedToggleExpanded:M}=this.state,R=this.isToggleManaged(),A=R?M:a,C=this.getNumberOfFilters(),S=C>0;return d.createElement(ea.Consumer,null,({width:k,getBreakpoint:P})=>d.createElement("div",Object.assign({className:x(xe.toolbar,f&&xe.modifiers.fullHeight,h&&xe.modifiers.static,g&&xe.modifiers.pageInsets,y&&xe.modifiers.sticky,fe(p,xe,"",P(k)),l),id:e},ci(gn.displayName,b!==void 0?b:this.state.ouiaStateId),O),d.createElement(qs.Provider,{value:{isExpanded:A,toggleIsExpanded:R?this.toggleIsExpanded:o,chipGroupContentRef:this.chipGroupContentRef,updateNumberFilters:this.updateNumberFilters,numberOfFilters:C,clearAllFilters:n,clearFiltersButtonText:s,showClearFiltersButton:S,toolbarId:e,customChipGroupContent:D}},c,d.createElement($s,{isExpanded:A,chipGroupContentRef:this.chipGroupContentRef,clearAllFilters:n,showClearFiltersButton:S,clearFiltersButtonText:s,numberOfFilters:C,numberOfFiltersText:w,collapseListedFiltersBreakpoint:r,customChipGroupContent:D}))))}}componentDidMount(){this.isToggleManaged()&&Ze&&window.addEventListener("resize",this.closeExpandableContent)}componentWillUnmount(){this.isToggleManaged()&&Ze&&window.removeEventListener("resize",this.closeExpandableContent)}render(){return this.props.id?this.renderToolbar(this.props.id):d.createElement(tt,null,e=>this.renderToolbar(e))}}gn.displayName="Toolbar";class $r extends d.Component{render(){const e=this.props,{className:i,expandableContentRef:n,chipContainerRef:s,isExpanded:r,clearAllFilters:a,clearFiltersButtonText:o,showClearFiltersButton:l}=e,c=B(e,["className","expandableContentRef","chipContainerRef","isExpanded","clearAllFilters","clearFiltersButtonText","showClearFiltersButton"]),{numberOfFilters:f,customChipGroupContent:h}=this.context,p=()=>{a()};return d.createElement("div",Object.assign({className:x(xe.toolbarExpandableContent,i),ref:n},c),d.createElement(nn,null),f>0&&d.createElement(nn,{className:xe.modifiers.chipContainer},d.createElement(nn,{ref:s}),l&&!h&&d.createElement(Xt,null,d.createElement($,{variant:"link",onClick:p,isInline:!0},o)),h&&h))}}$r.displayName="ToolbarExpandableContent";$r.contextType=qs;$r.defaultProps={isExpanded:!1,clearFiltersButtonText:"Clear all filters"};class Ta extends d.Component{constructor(){super(...arguments),this.expandableContentRef=d.createRef(),this.chipContainerRef=d.createRef()}render(){const e=this.props,{className:i,children:n,isExpanded:s,toolbarId:r,visibility:a,visiblity:o,alignment:l,clearAllFilters:c,showClearFiltersButton:f,clearFiltersButtonText:h}=e,p=B(e,["className","children","isExpanded","toolbarId","visibility","visiblity","alignment","clearAllFilters","showClearFiltersButton","clearFiltersButtonText"]);return o!==void 0&&console.warn("The ToolbarContent visiblity prop has been deprecated. Please use the correctly spelled visibility prop instead."),d.createElement(ea.Consumer,null,({width:g,getBreakpoint:y})=>d.createElement("div",Object.assign({className:x(xe.toolbarContent,fe(a||o,xe,"",y(g)),fe(l,xe,"",y(g)),i)},p),d.createElement(qs.Consumer,null,({clearAllFilters:b,clearFiltersButtonText:w,showClearFiltersButton:D,toolbarId:O})=>{const M=`${r||O}-expandable-content-${Ta.currentId++}`;return d.createElement(Im.Provider,{value:{expandableContentRef:this.expandableContentRef,expandableContentId:M,chipContainerRef:this.chipContainerRef}},d.createElement("div",{className:x(xe.toolbarContentSection)},n),d.createElement($r,{id:M,isExpanded:s,expandableContentRef:this.expandableContentRef,chipContainerRef:this.chipContainerRef,clearAllFilters:c||b,showClearFiltersButton:f||D,clearFiltersButtonText:h||w}))})))}}Ta.displayName="ToolbarContent";Ta.currentId=0;Ta.defaultProps={isExpanded:!1,showClearFiltersButton:!1};const ze={flex:"pf-l-flex",modifiers:{flex:"pf-m-flex",inlineFlex:"pf-m-inline-flex",column:"pf-m-column",columnReverse:"pf-m-column-reverse",row:"pf-m-row",rowReverse:"pf-m-row-reverse",wrap:"pf-m-wrap",wrapReverse:"pf-m-wrap-reverse",nowrap:"pf-m-nowrap",justifyContentFlexStart:"pf-m-justify-content-flex-start",justifyContentFlexEnd:"pf-m-justify-content-flex-end",justifyContentCenter:"pf-m-justify-content-center",justifyContentSpaceBetween:"pf-m-justify-content-space-between",justifyContentSpaceAround:"pf-m-justify-content-space-around",justifyContentSpaceEvenly:"pf-m-justify-content-space-evenly",alignItemsFlexStart:"pf-m-align-items-flex-start",alignItemsFlexEnd:"pf-m-align-items-flex-end",alignItemsCenter:"pf-m-align-items-center",alignItemsStretch:"pf-m-align-items-stretch",alignItemsBaseline:"pf-m-align-items-baseline",alignContentFlexStart:"pf-m-align-content-flex-start",alignContentFlexEnd:"pf-m-align-content-flex-end",alignContentCenter:"pf-m-align-content-center",alignContentStretch:"pf-m-align-content-stretch",alignContentSpaceBetween:"pf-m-align-content-space-between",alignContentSpaceAround:"pf-m-align-content-space-around",alignRight:"pf-m-align-right",alignLeft:"pf-m-align-left",grow:"pf-m-grow",shrink:"pf-m-shrink",fullWidth:"pf-m-full-width",flex_1:"pf-m-flex-1",flex_2:"pf-m-flex-2",flex_3:"pf-m-flex-3",flex_4:"pf-m-flex-4",flexDefault:"pf-m-flex-default",flexNone:"pf-m-flex-none",alignSelfFlexStart:"pf-m-align-self-flex-start",alignSelfFlexEnd:"pf-m-align-self-flex-end",alignSelfCenter:"pf-m-align-self-center",alignSelfBaseline:"pf-m-align-self-baseline",alignSelfStretch:"pf-m-align-self-stretch",flexOnSm:"pf-m-flex-on-sm",inlineFlexOnSm:"pf-m-inline-flex-on-sm",columnOnSm:"pf-m-column-on-sm",columnReverseOnSm:"pf-m-column-reverse-on-sm",rowOnSm:"pf-m-row-on-sm",rowReverseOnSm:"pf-m-row-reverse-on-sm",wrapOnSm:"pf-m-wrap-on-sm",wrapReverseOnSm:"pf-m-wrap-reverse-on-sm",nowrapOnSm:"pf-m-nowrap-on-sm",justifyContentFlexStartOnSm:"pf-m-justify-content-flex-start-on-sm",justifyContentFlexEndOnSm:"pf-m-justify-content-flex-end-on-sm",justifyContentCenterOnSm:"pf-m-justify-content-center-on-sm",justifyContentSpaceBetweenOnSm:"pf-m-justify-content-space-between-on-sm",justifyContentSpaceAroundOnSm:"pf-m-justify-content-space-around-on-sm",justifyContentSpaceEvenlyOnSm:"pf-m-justify-content-space-evenly-on-sm",alignItemsFlexStartOnSm:"pf-m-align-items-flex-start-on-sm",alignItemsFlexEndOnSm:"pf-m-align-items-flex-end-on-sm",alignItemsCenterOnSm:"pf-m-align-items-center-on-sm",alignItemsStretchOnSm:"pf-m-align-items-stretch-on-sm",alignItemsBaselineOnSm:"pf-m-align-items-baseline-on-sm",alignContentFlexStartOnSm:"pf-m-align-content-flex-start-on-sm",alignContentFlexEndOnSm:"pf-m-align-content-flex-end-on-sm",alignContentCenterOnSm:"pf-m-align-content-center-on-sm",alignContentStretchOnSm:"pf-m-align-content-stretch-on-sm",alignContentSpaceBetweenOnSm:"pf-m-align-content-space-between-on-sm",alignContentSpaceAroundOnSm:"pf-m-align-content-space-around-on-sm",alignRightOnSm:"pf-m-align-right-on-sm",alignLeftOnSm:"pf-m-align-left-on-sm",growOnSm:"pf-m-grow-on-sm",shrinkOnSm:"pf-m-shrink-on-sm",fullWidthOnSm:"pf-m-full-width-on-sm",flex_1OnSm:"pf-m-flex-1-on-sm",flex_2OnSm:"pf-m-flex-2-on-sm",flex_3OnSm:"pf-m-flex-3-on-sm",flex_4OnSm:"pf-m-flex-4-on-sm",flexDefaultOnSm:"pf-m-flex-default-on-sm",flexNoneOnSm:"pf-m-flex-none-on-sm",alignSelfFlexStartOnSm:"pf-m-align-self-flex-start-on-sm",alignSelfFlexEndOnSm:"pf-m-align-self-flex-end-on-sm",alignSelfCenterOnSm:"pf-m-align-self-center-on-sm",alignSelfBaselineOnSm:"pf-m-align-self-baseline-on-sm",alignSelfStretchOnSm:"pf-m-align-self-stretch-on-sm",flexOnMd:"pf-m-flex-on-md",inlineFlexOnMd:"pf-m-inline-flex-on-md",columnOnMd:"pf-m-column-on-md",columnReverseOnMd:"pf-m-column-reverse-on-md",rowOnMd:"pf-m-row-on-md",rowReverseOnMd:"pf-m-row-reverse-on-md",wrapOnMd:"pf-m-wrap-on-md",wrapReverseOnMd:"pf-m-wrap-reverse-on-md",nowrapOnMd:"pf-m-nowrap-on-md",justifyContentFlexStartOnMd:"pf-m-justify-content-flex-start-on-md",justifyContentFlexEndOnMd:"pf-m-justify-content-flex-end-on-md",justifyContentCenterOnMd:"pf-m-justify-content-center-on-md",justifyContentSpaceBetweenOnMd:"pf-m-justify-content-space-between-on-md",justifyContentSpaceAroundOnMd:"pf-m-justify-content-space-around-on-md",justifyContentSpaceEvenlyOnMd:"pf-m-justify-content-space-evenly-on-md",alignItemsFlexStartOnMd:"pf-m-align-items-flex-start-on-md",alignItemsFlexEndOnMd:"pf-m-align-items-flex-end-on-md",alignItemsCenterOnMd:"pf-m-align-items-center-on-md",alignItemsStretchOnMd:"pf-m-align-items-stretch-on-md",alignItemsBaselineOnMd:"pf-m-align-items-baseline-on-md",alignContentFlexStartOnMd:"pf-m-align-content-flex-start-on-md",alignContentFlexEndOnMd:"pf-m-align-content-flex-end-on-md",alignContentCenterOnMd:"pf-m-align-content-center-on-md",alignContentStretchOnMd:"pf-m-align-content-stretch-on-md",alignContentSpaceBetweenOnMd:"pf-m-align-content-space-between-on-md",alignContentSpaceAroundOnMd:"pf-m-align-content-space-around-on-md",alignRightOnMd:"pf-m-align-right-on-md",alignLeftOnMd:"pf-m-align-left-on-md",growOnMd:"pf-m-grow-on-md",shrinkOnMd:"pf-m-shrink-on-md",fullWidthOnMd:"pf-m-full-width-on-md",flex_1OnMd:"pf-m-flex-1-on-md",flex_2OnMd:"pf-m-flex-2-on-md",flex_3OnMd:"pf-m-flex-3-on-md",flex_4OnMd:"pf-m-flex-4-on-md",flexDefaultOnMd:"pf-m-flex-default-on-md",flexNoneOnMd:"pf-m-flex-none-on-md",alignSelfFlexStartOnMd:"pf-m-align-self-flex-start-on-md",alignSelfFlexEndOnMd:"pf-m-align-self-flex-end-on-md",alignSelfCenterOnMd:"pf-m-align-self-center-on-md",alignSelfBaselineOnMd:"pf-m-align-self-baseline-on-md",alignSelfStretchOnMd:"pf-m-align-self-stretch-on-md",flexOnLg:"pf-m-flex-on-lg",inlineFlexOnLg:"pf-m-inline-flex-on-lg",columnOnLg:"pf-m-column-on-lg",columnReverseOnLg:"pf-m-column-reverse-on-lg",rowOnLg:"pf-m-row-on-lg",rowReverseOnLg:"pf-m-row-reverse-on-lg",wrapOnLg:"pf-m-wrap-on-lg",wrapReverseOnLg:"pf-m-wrap-reverse-on-lg",nowrapOnLg:"pf-m-nowrap-on-lg",justifyContentFlexStartOnLg:"pf-m-justify-content-flex-start-on-lg",justifyContentFlexEndOnLg:"pf-m-justify-content-flex-end-on-lg",justifyContentCenterOnLg:"pf-m-justify-content-center-on-lg",justifyContentSpaceBetweenOnLg:"pf-m-justify-content-space-between-on-lg",justifyContentSpaceAroundOnLg:"pf-m-justify-content-space-around-on-lg",justifyContentSpaceEvenlyOnLg:"pf-m-justify-content-space-evenly-on-lg",alignItemsFlexStartOnLg:"pf-m-align-items-flex-start-on-lg",alignItemsFlexEndOnLg:"pf-m-align-items-flex-end-on-lg",alignItemsCenterOnLg:"pf-m-align-items-center-on-lg",alignItemsStretchOnLg:"pf-m-align-items-stretch-on-lg",alignItemsBaselineOnLg:"pf-m-align-items-baseline-on-lg",alignContentFlexStartOnLg:"pf-m-align-content-flex-start-on-lg",alignContentFlexEndOnLg:"pf-m-align-content-flex-end-on-lg",alignContentCenterOnLg:"pf-m-align-content-center-on-lg",alignContentStretchOnLg:"pf-m-align-content-stretch-on-lg",alignContentSpaceBetweenOnLg:"pf-m-align-content-space-between-on-lg",alignContentSpaceAroundOnLg:"pf-m-align-content-space-around-on-lg",alignRightOnLg:"pf-m-align-right-on-lg",alignLeftOnLg:"pf-m-align-left-on-lg",growOnLg:"pf-m-grow-on-lg",shrinkOnLg:"pf-m-shrink-on-lg",fullWidthOnLg:"pf-m-full-width-on-lg",flex_1OnLg:"pf-m-flex-1-on-lg",flex_2OnLg:"pf-m-flex-2-on-lg",flex_3OnLg:"pf-m-flex-3-on-lg",flex_4OnLg:"pf-m-flex-4-on-lg",flexDefaultOnLg:"pf-m-flex-default-on-lg",flexNoneOnLg:"pf-m-flex-none-on-lg",alignSelfFlexStartOnLg:"pf-m-align-self-flex-start-on-lg",alignSelfFlexEndOnLg:"pf-m-align-self-flex-end-on-lg",alignSelfCenterOnLg:"pf-m-align-self-center-on-lg",alignSelfBaselineOnLg:"pf-m-align-self-baseline-on-lg",alignSelfStretchOnLg:"pf-m-align-self-stretch-on-lg",flexOnXl:"pf-m-flex-on-xl",inlineFlexOnXl:"pf-m-inline-flex-on-xl",columnOnXl:"pf-m-column-on-xl",columnReverseOnXl:"pf-m-column-reverse-on-xl",rowOnXl:"pf-m-row-on-xl",rowReverseOnXl:"pf-m-row-reverse-on-xl",wrapOnXl:"pf-m-wrap-on-xl",wrapReverseOnXl:"pf-m-wrap-reverse-on-xl",nowrapOnXl:"pf-m-nowrap-on-xl",justifyContentFlexStartOnXl:"pf-m-justify-content-flex-start-on-xl",justifyContentFlexEndOnXl:"pf-m-justify-content-flex-end-on-xl",justifyContentCenterOnXl:"pf-m-justify-content-center-on-xl",justifyContentSpaceBetweenOnXl:"pf-m-justify-content-space-between-on-xl",justifyContentSpaceAroundOnXl:"pf-m-justify-content-space-around-on-xl",justifyContentSpaceEvenlyOnXl:"pf-m-justify-content-space-evenly-on-xl",alignItemsFlexStartOnXl:"pf-m-align-items-flex-start-on-xl",alignItemsFlexEndOnXl:"pf-m-align-items-flex-end-on-xl",alignItemsCenterOnXl:"pf-m-align-items-center-on-xl",alignItemsStretchOnXl:"pf-m-align-items-stretch-on-xl",alignItemsBaselineOnXl:"pf-m-align-items-baseline-on-xl",alignContentFlexStartOnXl:"pf-m-align-content-flex-start-on-xl",alignContentFlexEndOnXl:"pf-m-align-content-flex-end-on-xl",alignContentCenterOnXl:"pf-m-align-content-center-on-xl",alignContentStretchOnXl:"pf-m-align-content-stretch-on-xl",alignContentSpaceBetweenOnXl:"pf-m-align-content-space-between-on-xl",alignContentSpaceAroundOnXl:"pf-m-align-content-space-around-on-xl",alignRightOnXl:"pf-m-align-right-on-xl",alignLeftOnXl:"pf-m-align-left-on-xl",growOnXl:"pf-m-grow-on-xl",shrinkOnXl:"pf-m-shrink-on-xl",fullWidthOnXl:"pf-m-full-width-on-xl",flex_1OnXl:"pf-m-flex-1-on-xl",flex_2OnXl:"pf-m-flex-2-on-xl",flex_3OnXl:"pf-m-flex-3-on-xl",flex_4OnXl:"pf-m-flex-4-on-xl",flexDefaultOnXl:"pf-m-flex-default-on-xl",flexNoneOnXl:"pf-m-flex-none-on-xl",alignSelfFlexStartOnXl:"pf-m-align-self-flex-start-on-xl",alignSelfFlexEndOnXl:"pf-m-align-self-flex-end-on-xl",alignSelfCenterOnXl:"pf-m-align-self-center-on-xl",alignSelfBaselineOnXl:"pf-m-align-self-baseline-on-xl",alignSelfStretchOnXl:"pf-m-align-self-stretch-on-xl",flexOn_2xl:"pf-m-flex-on-2xl",inlineFlexOn_2xl:"pf-m-inline-flex-on-2xl",columnOn_2xl:"pf-m-column-on-2xl",columnReverseOn_2xl:"pf-m-column-reverse-on-2xl",rowOn_2xl:"pf-m-row-on-2xl",rowReverseOn_2xl:"pf-m-row-reverse-on-2xl",wrapOn_2xl:"pf-m-wrap-on-2xl",wrapReverseOn_2xl:"pf-m-wrap-reverse-on-2xl",nowrapOn_2xl:"pf-m-nowrap-on-2xl",justifyContentFlexStartOn_2xl:"pf-m-justify-content-flex-start-on-2xl",justifyContentFlexEndOn_2xl:"pf-m-justify-content-flex-end-on-2xl",justifyContentCenterOn_2xl:"pf-m-justify-content-center-on-2xl",justifyContentSpaceBetweenOn_2xl:"pf-m-justify-content-space-between-on-2xl",justifyContentSpaceAroundOn_2xl:"pf-m-justify-content-space-around-on-2xl",justifyContentSpaceEvenlyOn_2xl:"pf-m-justify-content-space-evenly-on-2xl",alignItemsFlexStartOn_2xl:"pf-m-align-items-flex-start-on-2xl",alignItemsFlexEndOn_2xl:"pf-m-align-items-flex-end-on-2xl",alignItemsCenterOn_2xl:"pf-m-align-items-center-on-2xl",alignItemsStretchOn_2xl:"pf-m-align-items-stretch-on-2xl",alignItemsBaselineOn_2xl:"pf-m-align-items-baseline-on-2xl",alignContentFlexStartOn_2xl:"pf-m-align-content-flex-start-on-2xl",alignContentFlexEndOn_2xl:"pf-m-align-content-flex-end-on-2xl",alignContentCenterOn_2xl:"pf-m-align-content-center-on-2xl",alignContentStretchOn_2xl:"pf-m-align-content-stretch-on-2xl",alignContentSpaceBetweenOn_2xl:"pf-m-align-content-space-between-on-2xl",alignContentSpaceAroundOn_2xl:"pf-m-align-content-space-around-on-2xl",alignRightOn_2xl:"pf-m-align-right-on-2xl",alignLeftOn_2xl:"pf-m-align-left-on-2xl",growOn_2xl:"pf-m-grow-on-2xl",shrinkOn_2xl:"pf-m-shrink-on-2xl",fullWidthOn_2xl:"pf-m-full-width-on-2xl",flex_1On_2xl:"pf-m-flex-1-on-2xl",flex_2On_2xl:"pf-m-flex-2-on-2xl",flex_3On_2xl:"pf-m-flex-3-on-2xl",flex_4On_2xl:"pf-m-flex-4-on-2xl",flexDefaultOn_2xl:"pf-m-flex-default-on-2xl",flexNoneOn_2xl:"pf-m-flex-none-on-2xl",alignSelfFlexStartOn_2xl:"pf-m-align-self-flex-start-on-2xl",alignSelfFlexEndOn_2xl:"pf-m-align-self-flex-end-on-2xl",alignSelfCenterOn_2xl:"pf-m-align-self-center-on-2xl",alignSelfBaselineOn_2xl:"pf-m-align-self-baseline-on-2xl",alignSelfStretchOn_2xl:"pf-m-align-self-stretch-on-2xl",spaceItemsNone:"pf-m-space-items-none",spaceItemsXs:"pf-m-space-items-xs",spaceItemsSm:"pf-m-space-items-sm",spaceItemsMd:"pf-m-space-items-md",spaceItemsLg:"pf-m-space-items-lg",spaceItemsXl:"pf-m-space-items-xl",spaceItems_2xl:"pf-m-space-items-2xl",spaceItems_3xl:"pf-m-space-items-3xl",spaceItems_4xl:"pf-m-space-items-4xl",spaceItemsNoneOnSm:"pf-m-space-items-none-on-sm",spaceItemsXsOnSm:"pf-m-space-items-xs-on-sm",spaceItemsSmOnSm:"pf-m-space-items-sm-on-sm",spaceItemsMdOnSm:"pf-m-space-items-md-on-sm",spaceItemsLgOnSm:"pf-m-space-items-lg-on-sm",spaceItemsXlOnSm:"pf-m-space-items-xl-on-sm",spaceItems_2xlOnSm:"pf-m-space-items-2xl-on-sm",spaceItems_3xlOnSm:"pf-m-space-items-3xl-on-sm",spaceItems_4xlOnSm:"pf-m-space-items-4xl-on-sm",spaceItemsNoneOnMd:"pf-m-space-items-none-on-md",spaceItemsXsOnMd:"pf-m-space-items-xs-on-md",spaceItemsSmOnMd:"pf-m-space-items-sm-on-md",spaceItemsMdOnMd:"pf-m-space-items-md-on-md",spaceItemsLgOnMd:"pf-m-space-items-lg-on-md",spaceItemsXlOnMd:"pf-m-space-items-xl-on-md",spaceItems_2xlOnMd:"pf-m-space-items-2xl-on-md",spaceItems_3xlOnMd:"pf-m-space-items-3xl-on-md",spaceItems_4xlOnMd:"pf-m-space-items-4xl-on-md",spaceItemsNoneOnLg:"pf-m-space-items-none-on-lg",spaceItemsXsOnLg:"pf-m-space-items-xs-on-lg",spaceItemsSmOnLg:"pf-m-space-items-sm-on-lg",spaceItemsMdOnLg:"pf-m-space-items-md-on-lg",spaceItemsLgOnLg:"pf-m-space-items-lg-on-lg",spaceItemsXlOnLg:"pf-m-space-items-xl-on-lg",spaceItems_2xlOnLg:"pf-m-space-items-2xl-on-lg",spaceItems_3xlOnLg:"pf-m-space-items-3xl-on-lg",spaceItems_4xlOnLg:"pf-m-space-items-4xl-on-lg",spaceItemsNoneOnXl:"pf-m-space-items-none-on-xl",spaceItemsXsOnXl:"pf-m-space-items-xs-on-xl",spaceItemsSmOnXl:"pf-m-space-items-sm-on-xl",spaceItemsMdOnXl:"pf-m-space-items-md-on-xl",spaceItemsLgOnXl:"pf-m-space-items-lg-on-xl",spaceItemsXlOnXl:"pf-m-space-items-xl-on-xl",spaceItems_2xlOnXl:"pf-m-space-items-2xl-on-xl",spaceItems_3xlOnXl:"pf-m-space-items-3xl-on-xl",spaceItems_4xlOnXl:"pf-m-space-items-4xl-on-xl",spaceItemsNoneOn_2xl:"pf-m-space-items-none-on-2xl",spaceItemsXsOn_2xl:"pf-m-space-items-xs-on-2xl",spaceItemsSmOn_2xl:"pf-m-space-items-sm-on-2xl",spaceItemsMdOn_2xl:"pf-m-space-items-md-on-2xl",spaceItemsLgOn_2xl:"pf-m-space-items-lg-on-2xl",spaceItemsXlOn_2xl:"pf-m-space-items-xl-on-2xl",spaceItems_2xlOn_2xl:"pf-m-space-items-2xl-on-2xl",spaceItems_3xlOn_2xl:"pf-m-space-items-3xl-on-2xl",spaceItems_4xlOn_2xl:"pf-m-space-items-4xl-on-2xl",spacerNone:"pf-m-spacer-none",spacerXs:"pf-m-spacer-xs",spacerSm:"pf-m-spacer-sm",spacerMd:"pf-m-spacer-md",spacerLg:"pf-m-spacer-lg",spacerXl:"pf-m-spacer-xl",spacer_2xl:"pf-m-spacer-2xl",spacer_3xl:"pf-m-spacer-3xl",spacer_4xl:"pf-m-spacer-4xl",spacerNoneOnSm:"pf-m-spacer-none-on-sm",spacerXsOnSm:"pf-m-spacer-xs-on-sm",spacerSmOnSm:"pf-m-spacer-sm-on-sm",spacerMdOnSm:"pf-m-spacer-md-on-sm",spacerLgOnSm:"pf-m-spacer-lg-on-sm",spacerXlOnSm:"pf-m-spacer-xl-on-sm",spacer_2xlOnSm:"pf-m-spacer-2xl-on-sm",spacer_3xlOnSm:"pf-m-spacer-3xl-on-sm",spacer_4xlOnSm:"pf-m-spacer-4xl-on-sm",spacerNoneOnMd:"pf-m-spacer-none-on-md",spacerXsOnMd:"pf-m-spacer-xs-on-md",spacerSmOnMd:"pf-m-spacer-sm-on-md",spacerMdOnMd:"pf-m-spacer-md-on-md",spacerLgOnMd:"pf-m-spacer-lg-on-md",spacerXlOnMd:"pf-m-spacer-xl-on-md",spacer_2xlOnMd:"pf-m-spacer-2xl-on-md",spacer_3xlOnMd:"pf-m-spacer-3xl-on-md",spacer_4xlOnMd:"pf-m-spacer-4xl-on-md",spacerNoneOnLg:"pf-m-spacer-none-on-lg",spacerXsOnLg:"pf-m-spacer-xs-on-lg",spacerSmOnLg:"pf-m-spacer-sm-on-lg",spacerMdOnLg:"pf-m-spacer-md-on-lg",spacerLgOnLg:"pf-m-spacer-lg-on-lg",spacerXlOnLg:"pf-m-spacer-xl-on-lg",spacer_2xlOnLg:"pf-m-spacer-2xl-on-lg",spacer_3xlOnLg:"pf-m-spacer-3xl-on-lg",spacer_4xlOnLg:"pf-m-spacer-4xl-on-lg",spacerNoneOnXl:"pf-m-spacer-none-on-xl",spacerXsOnXl:"pf-m-spacer-xs-on-xl",spacerSmOnXl:"pf-m-spacer-sm-on-xl",spacerMdOnXl:"pf-m-spacer-md-on-xl",spacerLgOnXl:"pf-m-spacer-lg-on-xl",spacerXlOnXl:"pf-m-spacer-xl-on-xl",spacer_2xlOnXl:"pf-m-spacer-2xl-on-xl",spacer_3xlOnXl:"pf-m-spacer-3xl-on-xl",spacer_4xlOnXl:"pf-m-spacer-4xl-on-xl",spacerNoneOn_2xl:"pf-m-spacer-none-on-2xl",spacerXsOn_2xl:"pf-m-spacer-xs-on-2xl",spacerSmOn_2xl:"pf-m-spacer-sm-on-2xl",spacerMdOn_2xl:"pf-m-spacer-md-on-2xl",spacerLgOn_2xl:"pf-m-spacer-lg-on-2xl",spacerXlOn_2xl:"pf-m-spacer-xl-on-2xl",spacer_2xlOn_2xl:"pf-m-spacer-2xl-on-2xl",spacer_3xlOn_2xl:"pf-m-spacer-3xl-on-2xl",spacer_4xlOn_2xl:"pf-m-spacer-4xl-on-2xl"}},Wf={name:"--pf-l-flex--item--Order"},Mn=t=>{var{children:e=null,className:i="",component:n="div",spacer:s,spaceItems:r,grow:a,shrink:o,flex:l,direction:c,alignItems:f,alignContent:h,alignSelf:p,align:g,justifyContent:y,display:b,fullWidth:w,flexWrap:D,order:O,style:M}=t,R=B(t,["children","className","component","spacer","spaceItems","grow","shrink","flex","direction","alignItems","alignContent","alignSelf","align","justifyContent","display","fullWidth","flexWrap","order","style"]);const A=n;return d.createElement(A,Object.assign({className:x(ze.flex,fe(s,ze),fe(r,ze),fe(a,ze),fe(o,ze),fe(l,ze),fe(c,ze),fe(f,ze),fe(h,ze),fe(p,ze),fe(g,ze),fe(y,ze),fe(b,ze),fe(w,ze),fe(D,ze),i),style:M||O?Object.assign(Object.assign({},M),Hd(O,Wf.name)):void 0},R),e)};Mn.displayName="Flex";const Yt=t=>{var{children:e=null,className:i="",component:n="div",spacer:s,grow:r,shrink:a,flex:o,alignSelf:l,align:c,fullWidth:f,order:h,style:p}=t,g=B(t,["children","className","component","spacer","grow","shrink","flex","alignSelf","align","fullWidth","order","style"]);const y=n;return d.createElement(y,Object.assign({},g,{className:x(fe(s,ze),fe(r,ze),fe(a,ze),fe(o,ze),fe(l,ze),fe(c,ze),fe(f,ze),i),style:p||h?Object.assign(Object.assign({},p),Hd(h,Wf.name)):void 0}),e)};Yt.displayName="FlexItem";const oc={gallery:"pf-l-gallery",modifiers:{gutter:"pf-m-gutter"}},Ys=t=>{var{children:e=null,className:i="",component:n="div",hasGutter:s=!1,minWidths:r,maxWidths:a}=t,o=B(t,["children","className","component","hasGutter","minWidths","maxWidths"]);const l={},c=n;r&&Object.entries(r||{}).map(([p,g])=>l[`--pf-l-gallery--GridTemplateColumns--min${p!=="default"?`-on-${p}`:""}`]=g);const f={};a&&Object.entries(a||{}).map(([p,g])=>f[`--pf-l-gallery--GridTemplateColumns--max${p!=="default"?`-on-${p}`:""}`]=g);const h=Object.assign(Object.assign({},l),f);return d.createElement(c,Object.assign({className:x(oc.gallery,s&&oc.modifiers.gutter,i)},o,(r||a)&&{style:Object.assign(Object.assign({},h),o.style)}),e)};Ys.displayName="Gallery";const jm={name:"DownloadIcon",height:512,width:512,svgPath:"M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z",yOffset:0,xOffset:0},Pm=Ae(jm),Lm={name:"ImageIcon",height:512,width:512,svgPath:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z",yOffset:0,xOffset:0},Nm=Ae(Lm);var la={},we={};Object.defineProperty(we,"__esModule",{value:!0});we.KameletBinding=we.KameletBindingMetadata=we.KameletBindingAnnotations=we.KameletBindingSpec=we.Step=we.Sink=we.Source=we.Ref=we.KameletModel=we.KameletMetadata=we.Annotations=we.Labels=we.KameletSpec=we.Definition=we.Property=void 0;var Bm=function(){function t(){this.id="",this.title="",this.description="",this.type="",this.default="",this.format="",this.example="",this["x-descriptors"]="",this.value=""}return t}();we.Property=Bm;var wr=function(){function t(e){this.title="",this.description="",this.required=[],this.properties={},Object.assign(this,e)}return t}();we.Definition=wr;var Dr=function(){function t(e){this.definition=new wr,this.types={},this.flow={},Object.assign(this,e)}return t}();we.KameletSpec=Dr;var xr=function(){function t(e){this["camel.apache.org/kamelet.type"]="",Object.assign(this,e)}return t}();we.Labels=xr;var Cr=function(){function t(e){this["camel.apache.org/kamelet.icon"]="",this["camel.apache.org/catalog.version"]="",this["camel.apache.org/kamelet.support.level"]="",Object.assign(this,e)}return t}();we.Annotations=Cr;var Sr=function(){function t(e){this.name="",this.labels=new xr,this.annotations=new Cr,Object.assign(this,e)}return t}();we.KameletMetadata=Sr;var os=function(){function t(e){this.apiVersion="camel.apache.org/v1alpha1",this.kind="Kamelet",this.metadata=new Sr,this.spec=new Dr,Object.assign(this,e)}return t.prototype.type=function(){return this.metadata.labels["camel.apache.org/kamelet.type"]||""},t.prototype.icon=function(){return this.metadata.annotations["camel.apache.org/kamelet.icon"]||""},t.prototype.version=function(){return this.metadata.annotations["camel.apache.org/catalog.version"]||""},t.prototype.title=function(){return this.spec.definition.title},t.prototype.description=function(){return this.spec.definition.description},t.prototype.properties=function(){return this.spec.definition.properties},t.default=function(){return _m},t}();we.KameletModel=os;var _m=[new os({kind:"uri",apiVersion:"",metadata:new Sr({name:"uri-source",labels:new xr({"camel.apache.org/kamelet.type":"source"}),annotations:new Cr({"camel.apache.org/kamelet.icon":"data:image/svg+xml,%3Csvg viewBox='0 0 130.21 130.01' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='333.48' x2='477' y1='702.6' y2='563.73' gradientTransform='translate(94.038 276.06) scale(.99206)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23F69923' offset='0'/%3E%3Cstop stop-color='%23F79A23' offset='.11'/%3E%3Cstop stop-color='%23E97826' offset='.945'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='333.48' x2='477' y1='702.6' y2='563.73' gradientTransform='translate(94.038 276.06) scale(.99206)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23F69923' offset='0'/%3E%3Cstop stop-color='%23F79A23' offset='.08'/%3E%3Cstop stop-color='%23E97826' offset='.419'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='633.55' x2='566.47' y1='814.6' y2='909.12' gradientTransform='translate(-85.421 56.236)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23f6e423' offset='0'/%3E%3Cstop stop-color='%23F79A23' offset='.412'/%3E%3Cstop stop-color='%23E97826' offset='.733'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(-437.89 -835.29)'%3E%3Ccircle cx='503.1' cy='900.29' r='62.52' fill='url(%23a)' stroke='url(%23b)' stroke-linejoin='round' stroke-width='4.96'/%3E%3Cpath d='M487.89 873.64a89.53 89.53 0 0 0-2.688.031c-1.043.031-2.445.362-4.062.906 27.309 20.737 37.127 58.146 20.25 90.656.573.015 1.142.063 1.719.063 30.844 0 56.62-21.493 63.28-50.312-19.572-22.943-46.117-41.294-78.5-41.344z' fill='url(%23c)' opacity='.75'/%3E%3Cpath d='M481.14 874.58c-9.068 3.052-26.368 13.802-43 28.156 1.263 34.195 28.961 61.607 63.25 62.5 16.877-32.51 7.06-69.919-20.25-90.656z' fill='%2328170b' opacity='.75'/%3E%3Cpath d='M504.889 862.546c-.472-.032-.932.028-1.375.25-5.6 2.801 0 14 0 14-16.807 14.009-13.236 37.938-32.844 37.938-10.689 0-21.322-12.293-32.531-19.812-.144 1.773-.25 3.564-.25 5.375 0 24.515 13.51 45.863 33.469 57.063 5.583-.703 11.158-2.114 15.344-4.906 21.992-14.662 27.452-42.557 36.438-56.031 5.596-8.407 31.824-7.677 33.594-11.22 2.804-5.601-5.602-14-8.406-14h-22.406c-1.566 0-4.025-2.78-5.594-2.78h-8.406s-3.725-5.65-7.031-5.875z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E"})}),spec:new Dr({definition:new wr({title:"URI source"})})}),new os({kind:"uri",apiVersion:"",metadata:new Sr({name:"uri-sink",labels:new xr({"camel.apache.org/kamelet.type":"sink"}),annotations:new Cr({"camel.apache.org/kamelet.icon":"data:image/svg+xml,%3Csvg viewBox='0 0 130.21 130.01' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='333.48' x2='477' y1='702.6' y2='563.73' gradientTransform='translate(94.038 276.06) scale(.99206)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23F69923' offset='0'/%3E%3Cstop stop-color='%23F79A23' offset='.11'/%3E%3Cstop stop-color='%23E97826' offset='.945'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='333.48' x2='477' y1='702.6' y2='563.73' gradientTransform='translate(94.038 276.06) scale(.99206)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23F69923' offset='0'/%3E%3Cstop stop-color='%23F79A23' offset='.08'/%3E%3Cstop stop-color='%23E97826' offset='.419'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='633.55' x2='566.47' y1='814.6' y2='909.12' gradientTransform='translate(-85.421 56.236)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23f6e423' offset='0'/%3E%3Cstop stop-color='%23F79A23' offset='.412'/%3E%3Cstop stop-color='%23E97826' offset='.733'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(-437.89 -835.29)'%3E%3Ccircle cx='503.1' cy='900.29' r='62.52' fill='url(%23a)' stroke='url(%23b)' stroke-linejoin='round' stroke-width='4.96'/%3E%3Cpath d='M487.89 873.64a89.53 89.53 0 0 0-2.688.031c-1.043.031-2.445.362-4.062.906 27.309 20.737 37.127 58.146 20.25 90.656.573.015 1.142.063 1.719.063 30.844 0 56.62-21.493 63.28-50.312-19.572-22.943-46.117-41.294-78.5-41.344z' fill='url(%23c)' opacity='.75'/%3E%3Cpath d='M481.14 874.58c-9.068 3.052-26.368 13.802-43 28.156 1.263 34.195 28.961 61.607 63.25 62.5 16.877-32.51 7.06-69.919-20.25-90.656z' fill='%2328170b' opacity='.75'/%3E%3Cpath d='M504.889 862.546c-.472-.032-.932.028-1.375.25-5.6 2.801 0 14 0 14-16.807 14.009-13.236 37.938-32.844 37.938-10.689 0-21.322-12.293-32.531-19.812-.144 1.773-.25 3.564-.25 5.375 0 24.515 13.51 45.863 33.469 57.063 5.583-.703 11.158-2.114 15.344-4.906 21.992-14.662 27.452-42.557 36.438-56.031 5.596-8.407 31.824-7.677 33.594-11.22 2.804-5.601-5.602-14-8.406-14h-22.406c-1.566 0-4.025-2.78-5.594-2.78h-8.406s-3.725-5.65-7.031-5.875z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E"})}),spec:new Dr({definition:new wr({title:"URI sink"})})})],Yr=function(){function t(){this.apiVersion="camel.apache.org/v1alpha1",this.kind="Kamelet",this.name=""}return t}();we.Ref=Yr;var Uf=function(){function t(){this.ref=new Yr}return t.createUri=function(e){var i=new t;return i.uri=e,delete i.ref,delete i.properties,i},t.createRef=function(e){var i=new t;return i.ref.name=e,delete i.uri,i},t}();we.Source=Uf;var Vf=function(){function t(){this.ref=new Yr}return t.createUri=function(e){var i=new t;return i.uri=e,delete i.ref,delete i.properties,i},t.createRef=function(e){var i=new t;return i.ref.name=e,delete i.uri,i},t}();we.Sink=Vf;var zm=function(){function t(){this.ref=new Yr}return t}();we.Step=zm;var Xf=function(){function t(){this.source=new Uf,this.steps=[],this.sink=new Vf}return t}();we.KameletBindingSpec=Xf;var Jf=function(){function t(){this["camel.apache.org/karavan.title"]=""}return t}();we.KameletBindingAnnotations=Jf;var Gf=function(){function t(){this.name="",this.annotations=new Jf}return t}();we.KameletBindingMetadata=Gf;var Hm=function(){function t(e){this.apiVersion="camel.apache.org/v1alpha1",this.kind="KameletBinding",this.metadata=new Gf,this.spec=new Xf,Object.assign(this,e)}return t}();we.KameletBinding=Hm;var di={},Zs={},Vi={};function Kf(t){return typeof t>"u"||t===null}function Wm(t){return typeof t=="object"&&t!==null}function Um(t){return Array.isArray(t)?t:Kf(t)?[]:[t]}function Vm(t,e){var i,n,s,r;if(e)for(r=Object.keys(e),i=0,n=r.length;i<n;i+=1)s=r[i],t[s]=e[s];return t}function Xm(t,e){var i="",n;for(n=0;n<e;n+=1)i+=t;return i}function Jm(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}Vi.isNothing=Kf;Vi.isObject=Wm;Vi.toArray=Um;Vi.repeat=Xm;Vi.isNegativeZero=Jm;Vi.extend=Vm;function qf(t,e){var i="",n=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(i+='in "'+t.mark.name+'" '),i+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(i+=`
|
|
8
|
+
|
|
9
|
+
`+t.mark.snippet),n+" "+i):n}function vn(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=qf(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}vn.prototype=Object.create(Error.prototype);vn.prototype.constructor=vn;vn.prototype.toString=function(e){return this.name+": "+qf(this,e)};var An=vn,Ya=Vi;function Co(t,e,i,n,s){var r="",a="",o=Math.floor(s/2)-1;return n-e>o&&(r=" ... ",e=n-o+r.length),i-n>o&&(a=" ...",i=n+o-a.length),{str:r+t.slice(e,i).replace(/\t/g,"→")+a,pos:n-e+r.length}}function So(t,e){return Ya.repeat(" ",e-t.length)+t}function Gm(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var i=/\r?\n|\r|\0/g,n=[0],s=[],r,a=-1;r=i.exec(t.buffer);)s.push(r.index),n.push(r.index+r[0].length),t.position<=r.index&&a<0&&(a=n.length-2);a<0&&(a=n.length-1);var o="",l,c,f=Math.min(t.line+e.linesAfter,s.length).toString().length,h=e.maxLength-(e.indent+f+3);for(l=1;l<=e.linesBefore&&!(a-l<0);l++)c=Co(t.buffer,n[a-l],s[a-l],t.position-(n[a]-n[a-l]),h),o=Ya.repeat(" ",e.indent)+So((t.line-l+1).toString(),f)+" | "+c.str+`
|
|
10
|
+
`+o;for(c=Co(t.buffer,n[a],s[a],t.position,h),o+=Ya.repeat(" ",e.indent)+So((t.line+1).toString(),f)+" | "+c.str+`
|
|
11
|
+
`,o+=Ya.repeat("-",e.indent+f+3+c.pos)+`^
|
|
12
|
+
`,l=1;l<=e.linesAfter&&!(a+l>=s.length);l++)c=Co(t.buffer,n[a+l],s[a+l],t.position-(n[a]-n[a+l]),h),o+=Ya.repeat(" ",e.indent)+So((t.line+l+1).toString(),f)+" | "+c.str+`
|
|
13
|
+
`;return o.replace(/\n$/,"")}var Km=Gm,sc=An,qm=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],$m=["scalar","sequence","mapping"];function Ym(t){var e={};return t!==null&&Object.keys(t).forEach(function(i){t[i].forEach(function(n){e[String(n)]=i})}),e}function Zm(t,e){if(e=e||{},Object.keys(e).forEach(function(i){if(qm.indexOf(i)===-1)throw new sc('Unknown option "'+i+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(i){return i},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=Ym(e.styleAliases||null),$m.indexOf(this.kind)===-1)throw new sc('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var hi=Zm,Ua=An,Eo=hi;function lc(t,e){var i=[];return t[e].forEach(function(n){var s=i.length;i.forEach(function(r,a){r.tag===n.tag&&r.kind===n.kind&&r.multi===n.multi&&(s=a)}),i[s]=n}),i}function Qm(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,i;function n(s){s.multi?(t.multi[s.kind].push(s),t.multi.fallback.push(s)):t[s.kind][s.tag]=t.fallback[s.tag]=s}for(e=0,i=arguments.length;e<i;e+=1)arguments[e].forEach(n);return t}function ss(t){return this.extend(t)}ss.prototype.extend=function(e){var i=[],n=[];if(e instanceof Eo)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(i=i.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new Ua("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");i.forEach(function(r){if(!(r instanceof Eo))throw new Ua("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(r.loadKind&&r.loadKind!=="scalar")throw new Ua("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(r.multi)throw new Ua("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(r){if(!(r instanceof Eo))throw new Ua("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var s=Object.create(ss.prototype);return s.implicit=(this.implicit||[]).concat(i),s.explicit=(this.explicit||[]).concat(n),s.compiledImplicit=lc(s,"implicit"),s.compiledExplicit=lc(s,"explicit"),s.compiledTypeMap=Qm(s.compiledImplicit,s.compiledExplicit),s};var $f=ss,e0=hi,Yf=new e0("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),i0=hi,Zf=new i0("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),t0=hi,Qf=new t0("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),a0=$f,eu=new a0({explicit:[Yf,Zf,Qf]}),n0=hi;function r0(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}function o0(){return null}function s0(t){return t===null}var iu=new n0("tag:yaml.org,2002:null",{kind:"scalar",resolve:r0,construct:o0,predicate:s0,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),l0=hi;function c0(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}function d0(t){return t==="true"||t==="True"||t==="TRUE"}function f0(t){return Object.prototype.toString.call(t)==="[object Boolean]"}var tu=new l0("tag:yaml.org,2002:bool",{kind:"scalar",resolve:c0,construct:d0,predicate:f0,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"}),u0=Vi,p0=hi;function h0(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function g0(t){return 48<=t&&t<=55}function v0(t){return 48<=t&&t<=57}function m0(t){if(t===null)return!1;var e=t.length,i=0,n=!1,s;if(!e)return!1;if(s=t[i],(s==="-"||s==="+")&&(s=t[++i]),s==="0"){if(i+1===e)return!0;if(s=t[++i],s==="b"){for(i++;i<e;i++)if(s=t[i],s!=="_"){if(s!=="0"&&s!=="1")return!1;n=!0}return n&&s!=="_"}if(s==="x"){for(i++;i<e;i++)if(s=t[i],s!=="_"){if(!h0(t.charCodeAt(i)))return!1;n=!0}return n&&s!=="_"}if(s==="o"){for(i++;i<e;i++)if(s=t[i],s!=="_"){if(!g0(t.charCodeAt(i)))return!1;n=!0}return n&&s!=="_"}}if(s==="_")return!1;for(;i<e;i++)if(s=t[i],s!=="_"){if(!v0(t.charCodeAt(i)))return!1;n=!0}return!(!n||s==="_")}function y0(t){var e=t,i=1,n;if(e.indexOf("_")!==-1&&(e=e.replace(/_/g,"")),n=e[0],(n==="-"||n==="+")&&(n==="-"&&(i=-1),e=e.slice(1),n=e[0]),e==="0")return 0;if(n==="0"){if(e[1]==="b")return i*parseInt(e.slice(2),2);if(e[1]==="x")return i*parseInt(e.slice(2),16);if(e[1]==="o")return i*parseInt(e.slice(2),8)}return i*parseInt(e,10)}function b0(t){return Object.prototype.toString.call(t)==="[object Number]"&&t%1===0&&!u0.isNegativeZero(t)}var au=new p0("tag:yaml.org,2002:int",{kind:"scalar",resolve:m0,construct:y0,predicate:b0,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),nu=Vi,w0=hi,D0=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function x0(t){return!(t===null||!D0.test(t)||t[t.length-1]==="_")}function C0(t){var e,i;return e=t.replace(/_/g,"").toLowerCase(),i=e[0]==="-"?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:i*parseFloat(e,10)}var S0=/^[-+]?[0-9]+e/;function E0(t,e){var i;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(nu.isNegativeZero(t))return"-0.0";return i=t.toString(10),S0.test(i)?i.replace("e",".e"):i}function T0(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||nu.isNegativeZero(t))}var ru=new w0("tag:yaml.org,2002:float",{kind:"scalar",resolve:x0,construct:C0,predicate:T0,represent:E0,defaultStyle:"lowercase"}),ou=eu.extend({implicit:[iu,tu,au,ru]}),su=ou,F0=hi,lu=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),cu=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function O0(t){return t===null?!1:lu.exec(t)!==null||cu.exec(t)!==null}function M0(t){var e,i,n,s,r,a,o,l=0,c=null,f,h,p;if(e=lu.exec(t),e===null&&(e=cu.exec(t)),e===null)throw new Error("Date resolve error");if(i=+e[1],n=+e[2]-1,s=+e[3],!e[4])return new Date(Date.UTC(i,n,s));if(r=+e[4],a=+e[5],o=+e[6],e[7]){for(l=e[7].slice(0,3);l.length<3;)l+="0";l=+l}return e[9]&&(f=+e[10],h=+(e[11]||0),c=(f*60+h)*6e4,e[9]==="-"&&(c=-c)),p=new Date(Date.UTC(i,n,s,r,a,o,l)),c&&p.setTime(p.getTime()-c),p}function A0(t){return t.toISOString()}var du=new F0("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:O0,construct:M0,instanceOf:Date,represent:A0}),I0=hi;function k0(t){return t==="<<"||t===null}var fu=new I0("tag:yaml.org,2002:merge",{kind:"scalar",resolve:k0}),R0=hi,Qs=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
14
|
+
\r`;function j0(t){if(t===null)return!1;var e,i,n=0,s=t.length,r=Qs;for(i=0;i<s;i++)if(e=r.indexOf(t.charAt(i)),!(e>64)){if(e<0)return!1;n+=6}return n%8===0}function P0(t){var e,i,n=t.replace(/[\r\n=]/g,""),s=n.length,r=Qs,a=0,o=[];for(e=0;e<s;e++)e%4===0&&e&&(o.push(a>>16&255),o.push(a>>8&255),o.push(a&255)),a=a<<6|r.indexOf(n.charAt(e));return i=s%4*6,i===0?(o.push(a>>16&255),o.push(a>>8&255),o.push(a&255)):i===18?(o.push(a>>10&255),o.push(a>>2&255)):i===12&&o.push(a>>4&255),new Uint8Array(o)}function L0(t){var e="",i=0,n,s,r=t.length,a=Qs;for(n=0;n<r;n++)n%3===0&&n&&(e+=a[i>>18&63],e+=a[i>>12&63],e+=a[i>>6&63],e+=a[i&63]),i=(i<<8)+t[n];return s=r%3,s===0?(e+=a[i>>18&63],e+=a[i>>12&63],e+=a[i>>6&63],e+=a[i&63]):s===2?(e+=a[i>>10&63],e+=a[i>>4&63],e+=a[i<<2&63],e+=a[64]):s===1&&(e+=a[i>>2&63],e+=a[i<<4&63],e+=a[64],e+=a[64]),e}function N0(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}var uu=new R0("tag:yaml.org,2002:binary",{kind:"scalar",resolve:j0,construct:P0,predicate:N0,represent:L0}),B0=hi,_0=Object.prototype.hasOwnProperty,z0=Object.prototype.toString;function H0(t){if(t===null)return!0;var e=[],i,n,s,r,a,o=t;for(i=0,n=o.length;i<n;i+=1){if(s=o[i],a=!1,z0.call(s)!=="[object Object]")return!1;for(r in s)if(_0.call(s,r))if(!a)a=!0;else return!1;if(!a)return!1;if(e.indexOf(r)===-1)e.push(r);else return!1}return!0}function W0(t){return t!==null?t:[]}var pu=new B0("tag:yaml.org,2002:omap",{kind:"sequence",resolve:H0,construct:W0}),U0=hi,V0=Object.prototype.toString;function X0(t){if(t===null)return!0;var e,i,n,s,r,a=t;for(r=new Array(a.length),e=0,i=a.length;e<i;e+=1){if(n=a[e],V0.call(n)!=="[object Object]"||(s=Object.keys(n),s.length!==1))return!1;r[e]=[s[0],n[s[0]]]}return!0}function J0(t){if(t===null)return[];var e,i,n,s,r,a=t;for(r=new Array(a.length),e=0,i=a.length;e<i;e+=1)n=a[e],s=Object.keys(n),r[e]=[s[0],n[s[0]]];return r}var hu=new U0("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:X0,construct:J0}),G0=hi,K0=Object.prototype.hasOwnProperty;function q0(t){if(t===null)return!0;var e,i=t;for(e in i)if(K0.call(i,e)&&i[e]!==null)return!1;return!0}function $0(t){return t!==null?t:{}}var gu=new G0("tag:yaml.org,2002:set",{kind:"mapping",resolve:q0,construct:$0}),el=su.extend({implicit:[du,fu],explicit:[uu,pu,hu,gu]}),zt=Vi,vu=An,Y0=Km,Z0=el,Rt=Object.prototype.hasOwnProperty,Er=1,mu=2,yu=3,Tr=4,To=1,Q0=2,cc=3,ey=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,iy=/[\x85\u2028\u2029]/,ty=/[,\[\]\{\}]/,bu=/^(?:!|!!|![a-z\-]+!)$/i,wu=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function dc(t){return Object.prototype.toString.call(t)}function Qi(t){return t===10||t===13}function Jt(t){return t===9||t===32}function yi(t){return t===9||t===32||t===10||t===13}function ca(t){return t===44||t===91||t===93||t===123||t===125}function ay(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-97+10:-1)}function ny(t){return t===120?2:t===117?4:t===85?8:0}function ry(t){return 48<=t&&t<=57?t-48:-1}function fc(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?" ":t===110?`
|
|
15
|
+
`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"
":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}function oy(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}var Du=new Array(256),xu=new Array(256);for(var na=0;na<256;na++)Du[na]=fc(na)?1:0,xu[na]=fc(na);function sy(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||Z0,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Cu(t,e){var i={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return i.snippet=Y0(i),new vu(e,i)}function ie(t,e){throw Cu(t,e)}function Fr(t,e){t.onWarning&&t.onWarning.call(null,Cu(t,e))}var uc={YAML:function(e,i,n){var s,r,a;e.version!==null&&ie(e,"duplication of %YAML directive"),n.length!==1&&ie(e,"YAML directive accepts exactly one argument"),s=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),s===null&&ie(e,"ill-formed argument of the YAML directive"),r=parseInt(s[1],10),a=parseInt(s[2],10),r!==1&&ie(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&Fr(e,"unsupported YAML version of the document")},TAG:function(e,i,n){var s,r;n.length!==2&&ie(e,"TAG directive accepts exactly two arguments"),s=n[0],r=n[1],bu.test(s)||ie(e,"ill-formed tag handle (first argument) of the TAG directive"),Rt.call(e.tagMap,s)&&ie(e,'there is a previously declared suffix for "'+s+'" tag handle'),wu.test(r)||ie(e,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch{ie(e,"tag prefix is malformed: "+r)}e.tagMap[s]=r}};function Ft(t,e,i,n){var s,r,a,o;if(e<i){if(o=t.input.slice(e,i),n)for(s=0,r=o.length;s<r;s+=1)a=o.charCodeAt(s),a===9||32<=a&&a<=1114111||ie(t,"expected valid JSON character");else ey.test(o)&&ie(t,"the stream contains non-printable characters");t.result+=o}}function pc(t,e,i,n){var s,r,a,o;for(zt.isObject(i)||ie(t,"cannot merge mappings; the provided source object is unacceptable"),s=Object.keys(i),a=0,o=s.length;a<o;a+=1)r=s[a],Rt.call(e,r)||(e[r]=i[r],n[r]=!0)}function da(t,e,i,n,s,r,a,o,l){var c,f;if(Array.isArray(s))for(s=Array.prototype.slice.call(s),c=0,f=s.length;c<f;c+=1)Array.isArray(s[c])&&ie(t,"nested arrays are not supported inside keys"),typeof s=="object"&&dc(s[c])==="[object Object]"&&(s[c]="[object Object]");if(typeof s=="object"&&dc(s)==="[object Object]"&&(s="[object Object]"),s=String(s),e===null&&(e={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(r))for(c=0,f=r.length;c<f;c+=1)pc(t,e,r[c],i);else pc(t,e,r,i);else!t.json&&!Rt.call(i,s)&&Rt.call(e,s)&&(t.line=a||t.line,t.lineStart=o||t.lineStart,t.position=l||t.position,ie(t,"duplicated mapping key")),s==="__proto__"?Object.defineProperty(e,s,{configurable:!0,enumerable:!0,writable:!0,value:r}):e[s]=r,delete i[s];return e}function il(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):ie(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function Ge(t,e,i){for(var n=0,s=t.input.charCodeAt(t.position);s!==0;){for(;Jt(s);)s===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),s=t.input.charCodeAt(++t.position);if(e&&s===35)do s=t.input.charCodeAt(++t.position);while(s!==10&&s!==13&&s!==0);if(Qi(s))for(il(t),s=t.input.charCodeAt(t.position),n++,t.lineIndent=0;s===32;)t.lineIndent++,s=t.input.charCodeAt(++t.position);else break}return i!==-1&&n!==0&&t.lineIndent<i&&Fr(t,"deficient indentation"),n}function Zr(t){var e=t.position,i;return i=t.input.charCodeAt(e),!!((i===45||i===46)&&i===t.input.charCodeAt(e+1)&&i===t.input.charCodeAt(e+2)&&(e+=3,i=t.input.charCodeAt(e),i===0||yi(i)))}function tl(t,e){e===1?t.result+=" ":e>1&&(t.result+=zt.repeat(`
|
|
16
|
+
`,e-1))}function ly(t,e,i){var n,s,r,a,o,l,c,f,h=t.kind,p=t.result,g;if(g=t.input.charCodeAt(t.position),yi(g)||ca(g)||g===35||g===38||g===42||g===33||g===124||g===62||g===39||g===34||g===37||g===64||g===96||(g===63||g===45)&&(s=t.input.charCodeAt(t.position+1),yi(s)||i&&ca(s)))return!1;for(t.kind="scalar",t.result="",r=a=t.position,o=!1;g!==0;){if(g===58){if(s=t.input.charCodeAt(t.position+1),yi(s)||i&&ca(s))break}else if(g===35){if(n=t.input.charCodeAt(t.position-1),yi(n))break}else{if(t.position===t.lineStart&&Zr(t)||i&&ca(g))break;if(Qi(g))if(l=t.line,c=t.lineStart,f=t.lineIndent,Ge(t,!1,-1),t.lineIndent>=e){o=!0,g=t.input.charCodeAt(t.position);continue}else{t.position=a,t.line=l,t.lineStart=c,t.lineIndent=f;break}}o&&(Ft(t,r,a,!1),tl(t,t.line-l),r=a=t.position,o=!1),Jt(g)||(a=t.position+1),g=t.input.charCodeAt(++t.position)}return Ft(t,r,a,!1),t.result?!0:(t.kind=h,t.result=p,!1)}function cy(t,e){var i,n,s;if(i=t.input.charCodeAt(t.position),i!==39)return!1;for(t.kind="scalar",t.result="",t.position++,n=s=t.position;(i=t.input.charCodeAt(t.position))!==0;)if(i===39)if(Ft(t,n,t.position,!0),i=t.input.charCodeAt(++t.position),i===39)n=t.position,t.position++,s=t.position;else return!0;else Qi(i)?(Ft(t,n,s,!0),tl(t,Ge(t,!1,e)),n=s=t.position):t.position===t.lineStart&&Zr(t)?ie(t,"unexpected end of the document within a single quoted scalar"):(t.position++,s=t.position);ie(t,"unexpected end of the stream within a single quoted scalar")}function dy(t,e){var i,n,s,r,a,o;if(o=t.input.charCodeAt(t.position),o!==34)return!1;for(t.kind="scalar",t.result="",t.position++,i=n=t.position;(o=t.input.charCodeAt(t.position))!==0;){if(o===34)return Ft(t,i,t.position,!0),t.position++,!0;if(o===92){if(Ft(t,i,t.position,!0),o=t.input.charCodeAt(++t.position),Qi(o))Ge(t,!1,e);else if(o<256&&Du[o])t.result+=xu[o],t.position++;else if((a=ny(o))>0){for(s=a,r=0;s>0;s--)o=t.input.charCodeAt(++t.position),(a=ay(o))>=0?r=(r<<4)+a:ie(t,"expected hexadecimal character");t.result+=oy(r),t.position++}else ie(t,"unknown escape sequence");i=n=t.position}else Qi(o)?(Ft(t,i,n,!0),tl(t,Ge(t,!1,e)),i=n=t.position):t.position===t.lineStart&&Zr(t)?ie(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position)}ie(t,"unexpected end of the stream within a double quoted scalar")}function fy(t,e){var i=!0,n,s,r,a=t.tag,o,l=t.anchor,c,f,h,p,g,y=Object.create(null),b,w,D,O;if(O=t.input.charCodeAt(t.position),O===91)f=93,g=!1,o=[];else if(O===123)f=125,g=!0,o={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=o),O=t.input.charCodeAt(++t.position);O!==0;){if(Ge(t,!0,e),O=t.input.charCodeAt(t.position),O===f)return t.position++,t.tag=a,t.anchor=l,t.kind=g?"mapping":"sequence",t.result=o,!0;i?O===44&&ie(t,"expected the node content, but found ','"):ie(t,"missed comma between flow collection entries"),w=b=D=null,h=p=!1,O===63&&(c=t.input.charCodeAt(t.position+1),yi(c)&&(h=p=!0,t.position++,Ge(t,!0,e))),n=t.line,s=t.lineStart,r=t.position,Da(t,e,Er,!1,!0),w=t.tag,b=t.result,Ge(t,!0,e),O=t.input.charCodeAt(t.position),(p||t.line===n)&&O===58&&(h=!0,O=t.input.charCodeAt(++t.position),Ge(t,!0,e),Da(t,e,Er,!1,!0),D=t.result),g?da(t,o,y,w,b,D,n,s,r):h?o.push(da(t,null,y,w,b,D,n,s,r)):o.push(b),Ge(t,!0,e),O=t.input.charCodeAt(t.position),O===44?(i=!0,O=t.input.charCodeAt(++t.position)):i=!1}ie(t,"unexpected end of the stream within a flow collection")}function uy(t,e){var i,n,s=To,r=!1,a=!1,o=e,l=0,c=!1,f,h;if(h=t.input.charCodeAt(t.position),h===124)n=!1;else if(h===62)n=!0;else return!1;for(t.kind="scalar",t.result="";h!==0;)if(h=t.input.charCodeAt(++t.position),h===43||h===45)To===s?s=h===43?cc:Q0:ie(t,"repeat of a chomping mode identifier");else if((f=ry(h))>=0)f===0?ie(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?ie(t,"repeat of an indentation width identifier"):(o=e+f-1,a=!0);else break;if(Jt(h)){do h=t.input.charCodeAt(++t.position);while(Jt(h));if(h===35)do h=t.input.charCodeAt(++t.position);while(!Qi(h)&&h!==0)}for(;h!==0;){for(il(t),t.lineIndent=0,h=t.input.charCodeAt(t.position);(!a||t.lineIndent<o)&&h===32;)t.lineIndent++,h=t.input.charCodeAt(++t.position);if(!a&&t.lineIndent>o&&(o=t.lineIndent),Qi(h)){l++;continue}if(t.lineIndent<o){s===cc?t.result+=zt.repeat(`
|
|
17
|
+
`,r?1+l:l):s===To&&r&&(t.result+=`
|
|
18
|
+
`);break}for(n?Jt(h)?(c=!0,t.result+=zt.repeat(`
|
|
19
|
+
`,r?1+l:l)):c?(c=!1,t.result+=zt.repeat(`
|
|
20
|
+
`,l+1)):l===0?r&&(t.result+=" "):t.result+=zt.repeat(`
|
|
21
|
+
`,l):t.result+=zt.repeat(`
|
|
22
|
+
`,r?1+l:l),r=!0,a=!0,l=0,i=t.position;!Qi(h)&&h!==0;)h=t.input.charCodeAt(++t.position);Ft(t,i,t.position,!1)}return!0}function hc(t,e){var i,n=t.tag,s=t.anchor,r=[],a,o=!1,l;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=r),l=t.input.charCodeAt(t.position);l!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,ie(t,"tab characters must not be used in indentation")),!(l!==45||(a=t.input.charCodeAt(t.position+1),!yi(a))));){if(o=!0,t.position++,Ge(t,!0,-1)&&t.lineIndent<=e){r.push(null),l=t.input.charCodeAt(t.position);continue}if(i=t.line,Da(t,e,yu,!1,!0),r.push(t.result),Ge(t,!0,-1),l=t.input.charCodeAt(t.position),(t.line===i||t.lineIndent>e)&&l!==0)ie(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return o?(t.tag=n,t.anchor=s,t.kind="sequence",t.result=r,!0):!1}function py(t,e,i){var n,s,r,a,o,l,c=t.tag,f=t.anchor,h={},p=Object.create(null),g=null,y=null,b=null,w=!1,D=!1,O;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=h),O=t.input.charCodeAt(t.position);O!==0;){if(!w&&t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,ie(t,"tab characters must not be used in indentation")),n=t.input.charCodeAt(t.position+1),r=t.line,(O===63||O===58)&&yi(n))O===63?(w&&(da(t,h,p,g,y,null,a,o,l),g=y=b=null),D=!0,w=!0,s=!0):w?(w=!1,s=!0):ie(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,O=n;else{if(a=t.line,o=t.lineStart,l=t.position,!Da(t,i,mu,!1,!0))break;if(t.line===r){for(O=t.input.charCodeAt(t.position);Jt(O);)O=t.input.charCodeAt(++t.position);if(O===58)O=t.input.charCodeAt(++t.position),yi(O)||ie(t,"a whitespace character is expected after the key-value separator within a block mapping"),w&&(da(t,h,p,g,y,null,a,o,l),g=y=b=null),D=!0,w=!1,s=!1,g=t.tag,y=t.result;else if(D)ie(t,"can not read an implicit mapping pair; a colon is missed");else return t.tag=c,t.anchor=f,!0}else if(D)ie(t,"can not read a block mapping entry; a multiline key may not be an implicit key");else return t.tag=c,t.anchor=f,!0}if((t.line===r||t.lineIndent>e)&&(w&&(a=t.line,o=t.lineStart,l=t.position),Da(t,e,Tr,!0,s)&&(w?y=t.result:b=t.result),w||(da(t,h,p,g,y,b,a,o,l),g=y=b=null),Ge(t,!0,-1),O=t.input.charCodeAt(t.position)),(t.line===r||t.lineIndent>e)&&O!==0)ie(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return w&&da(t,h,p,g,y,null,a,o,l),D&&(t.tag=c,t.anchor=f,t.kind="mapping",t.result=h),D}function hy(t){var e,i=!1,n=!1,s,r,a;if(a=t.input.charCodeAt(t.position),a!==33)return!1;if(t.tag!==null&&ie(t,"duplication of a tag property"),a=t.input.charCodeAt(++t.position),a===60?(i=!0,a=t.input.charCodeAt(++t.position)):a===33?(n=!0,s="!!",a=t.input.charCodeAt(++t.position)):s="!",e=t.position,i){do a=t.input.charCodeAt(++t.position);while(a!==0&&a!==62);t.position<t.length?(r=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):ie(t,"unexpected end of the stream within a verbatim tag")}else{for(;a!==0&&!yi(a);)a===33&&(n?ie(t,"tag suffix cannot contain exclamation marks"):(s=t.input.slice(e-1,t.position+1),bu.test(s)||ie(t,"named tag handle cannot contain such characters"),n=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);r=t.input.slice(e,t.position),ty.test(r)&&ie(t,"tag suffix cannot contain flow indicator characters")}r&&!wu.test(r)&&ie(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch{ie(t,"tag name is malformed: "+r)}return i?t.tag=r:Rt.call(t.tagMap,s)?t.tag=t.tagMap[s]+r:s==="!"?t.tag="!"+r:s==="!!"?t.tag="tag:yaml.org,2002:"+r:ie(t,'undeclared tag handle "'+s+'"'),!0}function gy(t){var e,i;if(i=t.input.charCodeAt(t.position),i!==38)return!1;for(t.anchor!==null&&ie(t,"duplication of an anchor property"),i=t.input.charCodeAt(++t.position),e=t.position;i!==0&&!yi(i)&&!ca(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&ie(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function vy(t){var e,i,n;if(n=t.input.charCodeAt(t.position),n!==42)return!1;for(n=t.input.charCodeAt(++t.position),e=t.position;n!==0&&!yi(n)&&!ca(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&ie(t,"name of an alias node must contain at least one character"),i=t.input.slice(e,t.position),Rt.call(t.anchorMap,i)||ie(t,'unidentified alias "'+i+'"'),t.result=t.anchorMap[i],Ge(t,!0,-1),!0}function Da(t,e,i,n,s){var r,a,o,l=1,c=!1,f=!1,h,p,g,y,b,w;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,r=a=o=Tr===i||yu===i,n&&Ge(t,!0,-1)&&(c=!0,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent<e&&(l=-1)),l===1)for(;hy(t)||gy(t);)Ge(t,!0,-1)?(c=!0,o=r,t.lineIndent>e?l=1:t.lineIndent===e?l=0:t.lineIndent<e&&(l=-1)):o=!1;if(o&&(o=c||s),(l===1||Tr===i)&&(Er===i||mu===i?b=e:b=e+1,w=t.position-t.lineStart,l===1?o&&(hc(t,w)||py(t,w,b))||fy(t,b)?f=!0:(a&&uy(t,b)||cy(t,b)||dy(t,b)?f=!0:vy(t)?(f=!0,(t.tag!==null||t.anchor!==null)&&ie(t,"alias node should not have any properties")):ly(t,b,Er===i)&&(f=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):l===0&&(f=o&&hc(t,w))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&ie(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),h=0,p=t.implicitTypes.length;h<p;h+=1)if(y=t.implicitTypes[h],y.resolve(t.result)){t.result=y.construct(t.result),t.tag=y.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if(Rt.call(t.typeMap[t.kind||"fallback"],t.tag))y=t.typeMap[t.kind||"fallback"][t.tag];else for(y=null,g=t.typeMap.multi[t.kind||"fallback"],h=0,p=g.length;h<p;h+=1)if(t.tag.slice(0,g[h].tag.length)===g[h].tag){y=g[h];break}y||ie(t,"unknown tag !<"+t.tag+">"),t.result!==null&&y.kind!==t.kind&&ie(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+y.kind+'", not "'+t.kind+'"'),y.resolve(t.result,t.tag)?(t.result=y.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):ie(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||f}function my(t){var e=t.position,i,n,s,r=!1,a;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(a=t.input.charCodeAt(t.position))!==0&&(Ge(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0||a!==37));){for(r=!0,a=t.input.charCodeAt(++t.position),i=t.position;a!==0&&!yi(a);)a=t.input.charCodeAt(++t.position);for(n=t.input.slice(i,t.position),s=[],n.length<1&&ie(t,"directive name must not be less than one character in length");a!==0;){for(;Jt(a);)a=t.input.charCodeAt(++t.position);if(a===35){do a=t.input.charCodeAt(++t.position);while(a!==0&&!Qi(a));break}if(Qi(a))break;for(i=t.position;a!==0&&!yi(a);)a=t.input.charCodeAt(++t.position);s.push(t.input.slice(i,t.position))}a!==0&&il(t),Rt.call(uc,n)?uc[n](t,n,s):Fr(t,'unknown document directive "'+n+'"')}if(Ge(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,Ge(t,!0,-1)):r&&ie(t,"directives end mark is expected"),Da(t,t.lineIndent-1,Tr,!1,!0),Ge(t,!0,-1),t.checkLineBreaks&&iy.test(t.input.slice(e,t.position))&&Fr(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Zr(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,Ge(t,!0,-1));return}if(t.position<t.length-1)ie(t,"end of the stream or a document separator is expected");else return}function Su(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=`
|
|
23
|
+
`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var i=new sy(t,e),n=t.indexOf("\0");for(n!==-1&&(i.position=n,ie(i,"null byte is not allowed in input")),i.input+="\0";i.input.charCodeAt(i.position)===32;)i.lineIndent+=1,i.position+=1;for(;i.position<i.length-1;)my(i);return i.documents}function yy(t,e,i){e!==null&&typeof e=="object"&&typeof i>"u"&&(i=e,e=null);var n=Su(t,i);if(typeof e!="function")return n;for(var s=0,r=n.length;s<r;s+=1)e(n[s])}function by(t,e){var i=Su(t,e);if(i.length!==0){if(i.length===1)return i[0];throw new vu("expected a single document in the stream, but found more")}}Zs.loadAll=yy;Zs.load=by;var Eu={},Qr=Vi,In=An,wy=el,Tu=Object.prototype.toString,Fu=Object.prototype.hasOwnProperty,al=65279,Dy=9,mn=10,xy=13,Cy=32,Sy=33,Ey=34,ls=35,Ty=37,Fy=38,Oy=39,My=42,Ou=44,Ay=45,Or=58,Iy=61,ky=62,Ry=63,jy=64,Mu=91,Au=93,Py=96,Iu=123,Ly=124,ku=125,fi={};fi[0]="\\0";fi[7]="\\a";fi[8]="\\b";fi[9]="\\t";fi[10]="\\n";fi[11]="\\v";fi[12]="\\f";fi[13]="\\r";fi[27]="\\e";fi[34]='\\"';fi[92]="\\\\";fi[133]="\\N";fi[160]="\\_";fi[8232]="\\L";fi[8233]="\\P";var Ny=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],By=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function _y(t,e){var i,n,s,r,a,o,l;if(e===null)return{};for(i={},n=Object.keys(e),s=0,r=n.length;s<r;s+=1)a=n[s],o=String(e[a]),a.slice(0,2)==="!!"&&(a="tag:yaml.org,2002:"+a.slice(2)),l=t.compiledTypeMap.fallback[a],l&&Fu.call(l.styleAliases,o)&&(o=l.styleAliases[o]),i[a]=o;return i}function zy(t){var e,i,n;if(e=t.toString(16).toUpperCase(),t<=255)i="x",n=2;else if(t<=65535)i="u",n=4;else if(t<=4294967295)i="U",n=8;else throw new In("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+i+Qr.repeat("0",n-e.length)+e}var Hy=1,yn=2;function Wy(t){this.schema=t.schema||wy,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=Qr.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=_y(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType==='"'?yn:Hy,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer=="function"?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function gc(t,e){for(var i=Qr.repeat(" ",e),n=0,s=-1,r="",a,o=t.length;n<o;)s=t.indexOf(`
|
|
24
|
+
`,n),s===-1?(a=t.slice(n),n=o):(a=t.slice(n,s+1),n=s+1),a.length&&a!==`
|
|
25
|
+
`&&(r+=i),r+=a;return r}function cs(t,e){return`
|
|
26
|
+
`+Qr.repeat(" ",t.indent*e)}function Uy(t,e){var i,n,s;for(i=0,n=t.implicitTypes.length;i<n;i+=1)if(s=t.implicitTypes[i],s.resolve(e))return!0;return!1}function Mr(t){return t===Cy||t===Dy}function bn(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==al||65536<=t&&t<=1114111}function vc(t){return bn(t)&&t!==al&&t!==xy&&t!==mn}function mc(t,e,i){var n=vc(t),s=n&&!Mr(t);return(i?n:n&&t!==Ou&&t!==Mu&&t!==Au&&t!==Iu&&t!==ku)&&t!==ls&&!(e===Or&&!s)||vc(e)&&!Mr(e)&&t===ls||e===Or&&s}function Vy(t){return bn(t)&&t!==al&&!Mr(t)&&t!==Ay&&t!==Ry&&t!==Or&&t!==Ou&&t!==Mu&&t!==Au&&t!==Iu&&t!==ku&&t!==ls&&t!==Fy&&t!==My&&t!==Sy&&t!==Ly&&t!==Iy&&t!==ky&&t!==Oy&&t!==Ey&&t!==Ty&&t!==jy&&t!==Py}function Xy(t){return!Mr(t)&&t!==Or}function Za(t,e){var i=t.charCodeAt(e),n;return i>=55296&&i<=56319&&e+1<t.length&&(n=t.charCodeAt(e+1),n>=56320&&n<=57343)?(i-55296)*1024+n-56320+65536:i}function Ru(t){var e=/^\n* /;return e.test(t)}var ju=1,ds=2,Pu=3,Lu=4,sa=5;function Jy(t,e,i,n,s,r,a,o){var l,c=0,f=null,h=!1,p=!1,g=n!==-1,y=-1,b=Vy(Za(t,0))&&Xy(Za(t,t.length-1));if(e||a)for(l=0;l<t.length;c>=65536?l+=2:l++){if(c=Za(t,l),!bn(c))return sa;b=b&&mc(c,f,o),f=c}else{for(l=0;l<t.length;c>=65536?l+=2:l++){if(c=Za(t,l),c===mn)h=!0,g&&(p=p||l-y-1>n&&t[y+1]!==" ",y=l);else if(!bn(c))return sa;b=b&&mc(c,f,o),f=c}p=p||g&&l-y-1>n&&t[y+1]!==" "}return!h&&!p?b&&!a&&!s(t)?ju:r===yn?sa:ds:i>9&&Ru(t)?sa:a?r===yn?sa:ds:p?Lu:Pu}function Gy(t,e,i,n,s){t.dump=function(){if(e.length===0)return t.quotingType===yn?'""':"''";if(!t.noCompatMode&&(Ny.indexOf(e)!==-1||By.test(e)))return t.quotingType===yn?'"'+e+'"':"'"+e+"'";var r=t.indent*Math.max(1,i),a=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-r),o=n||t.flowLevel>-1&&i>=t.flowLevel;function l(c){return Uy(t,c)}switch(Jy(e,o,t.indent,a,l,t.quotingType,t.forceQuotes&&!n,s)){case ju:return e;case ds:return"'"+e.replace(/'/g,"''")+"'";case Pu:return"|"+yc(e,t.indent)+bc(gc(e,r));case Lu:return">"+yc(e,t.indent)+bc(gc(Ky(e,a),r));case sa:return'"'+qy(e)+'"';default:throw new In("impossible error: invalid scalar style")}}()}function yc(t,e){var i=Ru(t)?String(e):"",n=t[t.length-1]===`
|
|
27
|
+
`,s=n&&(t[t.length-2]===`
|
|
28
|
+
`||t===`
|
|
29
|
+
`),r=s?"+":n?"":"-";return i+r+`
|
|
30
|
+
`}function bc(t){return t[t.length-1]===`
|
|
31
|
+
`?t.slice(0,-1):t}function Ky(t,e){for(var i=/(\n+)([^\n]*)/g,n=function(){var c=t.indexOf(`
|
|
32
|
+
`);return c=c!==-1?c:t.length,i.lastIndex=c,wc(t.slice(0,c),e)}(),s=t[0]===`
|
|
33
|
+
`||t[0]===" ",r,a;a=i.exec(t);){var o=a[1],l=a[2];r=l[0]===" ",n+=o+(!s&&!r&&l!==""?`
|
|
34
|
+
`:"")+wc(l,e),s=r}return n}function wc(t,e){if(t===""||t[0]===" ")return t;for(var i=/ [^ ]/g,n,s=0,r,a=0,o=0,l="";n=i.exec(t);)o=n.index,o-s>e&&(r=a>s?a:o,l+=`
|
|
35
|
+
`+t.slice(s,r),s=r+1),a=o;return l+=`
|
|
36
|
+
`,t.length-s>e&&a>s?l+=t.slice(s,a)+`
|
|
37
|
+
`+t.slice(a+1):l+=t.slice(s),l.slice(1)}function qy(t){for(var e="",i=0,n,s=0;s<t.length;i>=65536?s+=2:s++)i=Za(t,s),n=fi[i],!n&&bn(i)?(e+=t[s],i>=65536&&(e+=t[s+1])):e+=n||zy(i);return e}function $y(t,e,i){var n="",s=t.tag,r,a,o;for(r=0,a=i.length;r<a;r+=1)o=i[r],t.replacer&&(o=t.replacer.call(i,String(r),o)),(vt(t,e,o,!1,!1)||typeof o>"u"&&vt(t,e,null,!1,!1))&&(n!==""&&(n+=","+(t.condenseFlow?"":" ")),n+=t.dump);t.tag=s,t.dump="["+n+"]"}function Dc(t,e,i,n){var s="",r=t.tag,a,o,l;for(a=0,o=i.length;a<o;a+=1)l=i[a],t.replacer&&(l=t.replacer.call(i,String(a),l)),(vt(t,e+1,l,!0,!0,!1,!0)||typeof l>"u"&&vt(t,e+1,null,!0,!0,!1,!0))&&((!n||s!=="")&&(s+=cs(t,e)),t.dump&&mn===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=r,t.dump=s||"[]"}function Yy(t,e,i){var n="",s=t.tag,r=Object.keys(i),a,o,l,c,f;for(a=0,o=r.length;a<o;a+=1)f="",n!==""&&(f+=", "),t.condenseFlow&&(f+='"'),l=r[a],c=i[l],t.replacer&&(c=t.replacer.call(i,l,c)),vt(t,e,l,!1,!1)&&(t.dump.length>1024&&(f+="? "),f+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),vt(t,e,c,!1,!1)&&(f+=t.dump,n+=f));t.tag=s,t.dump="{"+n+"}"}function Zy(t,e,i,n){var s="",r=t.tag,a=Object.keys(i),o,l,c,f,h,p;if(t.sortKeys===!0)a.sort();else if(typeof t.sortKeys=="function")a.sort(t.sortKeys);else if(t.sortKeys)throw new In("sortKeys must be a boolean or a function");for(o=0,l=a.length;o<l;o+=1)p="",(!n||s!=="")&&(p+=cs(t,e)),c=a[o],f=i[c],t.replacer&&(f=t.replacer.call(i,c,f)),vt(t,e+1,c,!0,!0,!0)&&(h=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024,h&&(t.dump&&mn===t.dump.charCodeAt(0)?p+="?":p+="? "),p+=t.dump,h&&(p+=cs(t,e)),vt(t,e+1,f,!0,h)&&(t.dump&&mn===t.dump.charCodeAt(0)?p+=":":p+=": ",p+=t.dump,s+=p));t.tag=r,t.dump=s||"{}"}function xc(t,e,i){var n,s,r,a,o,l;for(s=i?t.explicitTypes:t.implicitTypes,r=0,a=s.length;r<a;r+=1)if(o=s[r],(o.instanceOf||o.predicate)&&(!o.instanceOf||typeof e=="object"&&e instanceof o.instanceOf)&&(!o.predicate||o.predicate(e))){if(i?o.multi&&o.representName?t.tag=o.representName(e):t.tag=o.tag:t.tag="?",o.represent){if(l=t.styleMap[o.tag]||o.defaultStyle,Tu.call(o.represent)==="[object Function]")n=o.represent(e,l);else if(Fu.call(o.represent,l))n=o.represent[l](e,l);else throw new In("!<"+o.tag+'> tag resolver accepts not "'+l+'" style');t.dump=n}return!0}return!1}function vt(t,e,i,n,s,r,a){t.tag=null,t.dump=i,xc(t,i,!1)||xc(t,i,!0);var o=Tu.call(t.dump),l=n,c;n&&(n=t.flowLevel<0||t.flowLevel>e);var f=o==="[object Object]"||o==="[object Array]",h,p;if(f&&(h=t.duplicates.indexOf(i),p=h!==-1),(t.tag!==null&&t.tag!=="?"||p||t.indent!==2&&e>0)&&(s=!1),p&&t.usedDuplicates[h])t.dump="*ref_"+h;else{if(f&&p&&!t.usedDuplicates[h]&&(t.usedDuplicates[h]=!0),o==="[object Object]")n&&Object.keys(t.dump).length!==0?(Zy(t,e,t.dump,s),p&&(t.dump="&ref_"+h+t.dump)):(Yy(t,e,t.dump),p&&(t.dump="&ref_"+h+" "+t.dump));else if(o==="[object Array]")n&&t.dump.length!==0?(t.noArrayIndent&&!a&&e>0?Dc(t,e-1,t.dump,s):Dc(t,e,t.dump,s),p&&(t.dump="&ref_"+h+t.dump)):($y(t,e,t.dump),p&&(t.dump="&ref_"+h+" "+t.dump));else if(o==="[object String]")t.tag!=="?"&&Gy(t,t.dump,e,r,l);else{if(o==="[object Undefined]")return!1;if(t.skipInvalid)return!1;throw new In("unacceptable kind of an object to dump "+o)}t.tag!==null&&t.tag!=="?"&&(c=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),t.tag[0]==="!"?c="!"+c:c.slice(0,18)==="tag:yaml.org,2002:"?c="!!"+c.slice(18):c="!<"+c+">",t.dump=c+" "+t.dump)}return!0}function Qy(t,e){var i=[],n=[],s,r;for(fs(t,i,n),s=0,r=n.length;s<r;s+=1)e.duplicates.push(i[n[s]]);e.usedDuplicates=new Array(r)}function fs(t,e,i){var n,s,r;if(t!==null&&typeof t=="object")if(s=e.indexOf(t),s!==-1)i.indexOf(s)===-1&&i.push(s);else if(e.push(t),Array.isArray(t))for(s=0,r=t.length;s<r;s+=1)fs(t[s],e,i);else for(n=Object.keys(t),s=0,r=n.length;s<r;s+=1)fs(t[n[s]],e,i)}function eb(t,e){e=e||{};var i=new Wy(e);i.noRefs||Qy(t,i);var n=t;return i.replacer&&(n=i.replacer.call({"":n},"",n)),vt(i,0,n,!0,!0)?i.dump+`
|
|
38
|
+
`:""}Eu.dump=eb;var Nu=Zs,ib=Eu;function nl(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}di.Type=hi;di.Schema=$f;di.FAILSAFE_SCHEMA=eu;di.JSON_SCHEMA=ou;di.CORE_SCHEMA=su;di.DEFAULT_SCHEMA=el;di.load=Nu.load;di.loadAll=Nu.loadAll;di.dump=ib.dump;di.YAMLException=An;di.types={binary:uu,float:ru,map:Qf,null:iu,pairs:hu,set:gu,timestamp:du,bool:tu,int:au,merge:fu,omap:pu,seq:Zf,str:Yf};di.safeLoad=nl("safeLoad","load");di.safeLoadAll=nl("safeLoadAll","loadAll");di.safeDump=nl("safeDump","dump");(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.KameletApi=t.CustomNames=t.Kamelets=void 0;var e=we,i=di;t.Kamelets=[],t.CustomNames=[],t.KameletApi={getCustomKameletNames:function(){return t.CustomNames},saveCustomKameletNames:function(n){t.CustomNames.length=0,t.CustomNames.push.apply(t.CustomNames,n)},getKameletProperties:function(n){var s=t.KameletApi.findKameletByName(n),r=[];try{if(s!==void 0){var a=s.spec.definition.properties?new Map(Object.entries(s.spec.definition.properties)):new Map;a.forEach(function(o,l,c){var f=new e.Property;f.id=l,f.title=o.title,f.default=o.default,f.description=o.description,f.format=o.format,f.example=o.example,f.type=o.type,o.default&&(f.value=o.default),f["x-descriptors"]=o["x-descriptors"],r.push(f)})}}finally{return r}},getKamelets:function(){return t.Kamelets.sort(function(n,s){return n.title().toLowerCase()<s.title().toLowerCase()?-1:n.title().toLowerCase()>s.title().toLowerCase()?1:0})},jsonToKamelet:function(n){var s=JSON.parse(n),r=new e.KameletModel(s);return r},findKameletByName:function(n){return t.Kamelets.find(function(s){return s.metadata.name===n})},findKameletByUri:function(n){return t.KameletApi.findKameletByName(n.split(":")[1])},yamlToKamelet:function(n){var s=i.load(n);return t.KameletApi.jsonToKamelet(JSON.stringify(s))},saveKamelets:function(n,s){s===void 0&&(s=!1);var r=n.map(function(a){return t.KameletApi.yamlToKamelet(a)});s&&(t.Kamelets.length=0),t.Kamelets.push.apply(t.Kamelets,r.sort(function(a,o){return a.spec.definition.title.toLowerCase()<o.spec.definition.title.toLowerCase()?-1:a.spec.definition.title.toLowerCase()>o.spec.definition.title.toLowerCase()?1:0}))},saveKamelet:function(n){var s=t.KameletApi.yamlToKamelet(n);t.Kamelets.findIndex(function(r){return r.metadata.name===s.metadata.name})===-1&&t.Kamelets.push(s)}}})(la);class Fo{constructor(e){this.dsl="",this.name="",this.type="",this.title="",this.description="",this.labels="",this.navigation="",this.version="",this.supportLevel="",this.supportType="",Object.assign(this,e)}}var lt={},qi={};Object.defineProperty(qi,"__esModule",{value:!0});qi.SupportedComponent=qi.ComponentProperty=qi.Component=qi.Header=void 0;var Bu=function(){function t(e){this.kind="",this.name="",this.title="",this.description="",this.deprecated=!1,this.firstVersion="",this.label="",this.javaType="",this.supportLevel="",this.supportType="",this.groupId="",this.artifactId="",this.version="",this.scheme="",this.extendsScheme="",this.syntax="",this.async=!1,this.api=!1,this.consumerOnly=!1,this.producerOnly=!1,this.lenientProperties=!1,Object.assign(this,e)}return t}();qi.Header=Bu;var tb=function(){function t(e){this.component=new Bu,Object.assign(this,e)}return t}();qi.Component=tb;var ab=function(){function t(e){this.name="",this.deprecated=!1,this.description="",this.displayName="",this.group="",this.kind="",this.label="",this.type="",this.secret=!1,this.enum=[],this.required=!1,Object.assign(this,e)}return t}();qi.ComponentProperty=ab;var nb=function(){function t(e){this.name="",this.level="",this.native=!1,Object.assign(this,e)}return t}();qi.SupportedComponent=nb;(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentApi=void 0;var e=qi,i=[],n=[],s=!1;t.ComponentApi={setSupportedOnly:function(r){s=r},saveSupportedComponents:function(r){n.length=0;var a=JSON.parse(r).map(function(o){return new e.SupportedComponent(o)});n.push.apply(n,a)},getSupportedComponents:function(){return n},jsonToComponent:function(r){var a=JSON.parse(r),o=new e.Component(a);return o},saveComponents:function(r,a){a===void 0&&(a=!1),a&&(i.length=0);var o=r.map(function(l){return t.ComponentApi.jsonToComponent(l)});i.push.apply(i,o)},saveComponent:function(r){var a=t.ComponentApi.jsonToComponent(r);i.findIndex(function(o){return o.component.name===a.component.name})===-1&&i.push(a)},getComponents:function(){var r=[];return s?r.push.apply(r,i.filter(function(a){return n.findIndex(function(o){return o.name===a.component.name})!==-1})):r.push.apply(r,i),r.map(function(a){var o=n.find(function(l){return l.name===a.component.name});return o!==void 0?(a.component.supportLevel=o.level,a.component.supportType="Supported",a):(a.component.supportType="Community",a)}).sort(function(a,o){return a.component.name<o.component.name?-1:a.component.name>o.component.name?1:0})},findByName:function(r){return t.ComponentApi.getComponents().find(function(a){return a.component.name===r})},getComponentNameFromUri:function(r){return r!==void 0?r.split(":")[0]:void 0},getComponentTitleFromUri:function(r){var a;if(r!==void 0){var o=r.split(":")[0],l=(a=t.ComponentApi.findByName(o))===null||a===void 0?void 0:a.component.title;return l||o}else return},getComponentDescriptionFromUri:function(r){var a;if(r!==void 0){var o=r.split(":")[0],l=(a=t.ComponentApi.findByName(o))===null||a===void 0?void 0:a.component.description;return l||o}else return},parseElementUri:function(r){var a=t.ComponentApi.parseUri(r.uri);if(a.length>1&&!r.uri.startsWith("kamelet:")){var o=t.ComponentApi.getUriParts(r.uri);o.forEach(function(l,c){r.parameters[c]=l}),r.uri=a[0]}return r},getUriParts:function(r){var a=new Map,o=t.ComponentApi.getComponentNameFromUri(r);if(o){var l=t.ComponentApi.findByName(o),c=l==null?void 0:l.component.syntax,f=t.ComponentApi.parseSyntax(c+""),h=t.ComponentApi.getSyntaxSeparators(c+""),p=r===o?o+h.join(""):r;if(o==="salesforce"){var g=p.split(":");g.length===2?a.set("operationName",g.at(1)||"").set("topicName",""):g.length===3&&a.set("operationName",g.at(1)||"").set("topicName",g.at(2)||"")}else if(o==="cxf"){var y=p.split(":"),b=y.at(1),w=y.at(2);y.length===3&&b==="bean"&&w&&a.set("beanId",b+":"+w),y.length===2&&(b!=null&&b.startsWith("//"))&&a.set("address",b)}else if(o==="jt400"){var D=p.split(".").join(":").split("/").join(":").split("@").join(":").split(":"),O=D.at(1)||"",M=D.at(2)||"",R=D.at(3)||"",A=D.at(4)||"",C=D.at(5)||"";a.set("userID",O),a.set("password",M),a.set("systemName",R),a.set("objectPath",A),a.set("type",C)}else f.filter(function(S,k){return k>0}).forEach(function(S,k){if(k<f.length-1){var P=h[k],j=h[k+1],L=p.indexOf(P)+P.length,_=j?p.indexOf(j,L):p.length,U=p.substr(L,_-L);a.set(S,U),p=p.substr(_)}})}return a},parseSyntax:function(r){var a=["://","//",":","/","#"],o=""+r;return a.forEach(function(l){o=o==null?void 0:o.replaceAll(l,":")}),o.split(":")},getSyntaxSeparators:function(r){var a=[],o=t.ComponentApi.parseSyntax(r),l="";return o.forEach(function(c,f){if(f<o.length-1){var h=r.indexOf(c,l.length)+c.length,p=r.indexOf(o[f+1],h),g=r.substr(h,p-h);a.push(g),l=l+c+g}}),a},parseUri:function(r){var a=["://","//",":","/","#"],o=""+r;return a.forEach(function(l){o=o==null?void 0:o.replaceAll(l,":")}),o.split(":")},getUriSeparators:function(r){var a=[],o=t.ComponentApi.getComponentNameFromUri(r);if(o){var l=t.ComponentApi.findByName(o),c=""+(l==null?void 0:l.component.syntax),f=Array.from(t.ComponentApi.getUriParts(r).keys()),h="";f.forEach(function(p,g){if(g<f.length-1){var y=c.indexOf(p,h.length)+p.length,b=c.indexOf(f[g+1],y),w=c.substr(y,b-y);a.push(w),h=h+p+w}})}return a},getPathParameterValue:function(r,a){return t.ComponentApi.getUriParts(r).get(a)},getComponentProperties:function(r,a){var o=a==="consumer"?"producer":"consumer",l=t.ComponentApi.findByName(r),c=[];try{if(l!==void 0){var f=l.properties?new Map(Object.entries(l.properties)):new Map;f.forEach(function(p,g,y){var b=new e.ComponentProperty;b.name=g,b.label=p.label,b.description=p.description,b.type=p.type,b.displayName=p.displayName,b.group=p.group,b.type=p.type,b.deprecated=p.deprecated,b.secret=p.secret,b.enum=p.enum,b.kind=p.kind,b.required=p.required,p.defaultValue&&(b.defaultValue=p.defaultValue),p.deprecated||c.push(b)})}}finally{var h=[];return h.push.apply(h,c.filter(function(p){return p.kind==="path"})),h.push.apply(h,c.filter(function(p){return p.kind!=="path"&&p.required})),h.push.apply(h,c.filter(function(p){return p.label.length===0&&p.kind!=="path"&&!p.required})),h.push.apply(h,c.filter(function(p){return!p.label.includes(o)&&!p.label.includes("advanced")&&!p.required})),h.push.apply(h,c.filter(function(p){return p.label==="formatting"&&!p.required})),h.push.apply(h,c.filter(function(p){return!p.label.includes(o)&&(p.label.includes("scheduler")||p.label.includes("security")||p.label.includes("advanced"))})),h.push.apply(h,c.filter(function(p){return!p.label.includes(o)&&(p.label.includes("scheduler")||p.label.includes("security")||p.label.includes("advanced"))})),Array.from(new Map(h.map(function(p){return[p.name,p]})).values())}}}})(lt);var li={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.SensitiveKeys=t.CamelModelMetadata=t.CamelLanguageMetadata=t.Languages=t.CamelDataFormatMetadata=t.DataFormats=t.CamelMetadataApi=t.PropertyMeta=t.ElementMeta=void 0;var e=function(){function s(r,a,o,l,c,f){this.name="",this.className="",this.title="",this.description="",this.labels="",this.properties=[],this.name=r,this.className=a,this.title=o,this.description=l,this.labels=c,this.properties=f}return s}();t.ElementMeta=e;var i=function(){function s(r,a,o,l,c,f,h,p,g,y,b,w){this.name="",this.displayName="",this.description="",this.type="",this.enumVals="",this.defaultValue="",this.required=!1,this.secret=!1,this.isArray=!1,this.isObject=!1,this.label="",this.javaType="",this.name=r,this.displayName=a,this.description=o,this.type=l,this.enumVals=c,this.defaultValue=f,this.required=h,this.secret=p,this.isArray=g,this.isObject=y,this.label=b,this.javaType=w}return s}();t.PropertyMeta=i;var n=function(){function s(){}return s.getCamelModelMetadataByName=function(r){return t.CamelModelMetadata.find(function(a){return a.name===r})},s.getCamelModelMetadataByClassName=function(r){return t.CamelModelMetadata.find(function(a){return a.className===r})},s.getCamelDataFormatMetadataByName=function(r){return t.CamelDataFormatMetadata.find(function(a){return a.name===r})},s.getCamelDataFormatMetadataByClassName=function(r){return t.CamelDataFormatMetadata.find(function(a){return a.className===r})},s.getCamelLanguageMetadataByClassName=function(r){return t.CamelLanguageMetadata.find(function(a){return a.className===r})},s.getCamelLanguageMetadataByName=function(r){return t.CamelLanguageMetadata.find(function(a){return a.name===r})},s.getLanguage=function(r){return t.Languages.find(function(a){return a[0]===r})},s.hasLanguage=function(r){return t.Languages.filter(function(a){return a[0]===r}).length>0},s}();t.CamelMetadataApi=n,t.DataFormats=[["any23","Any23","Extract RDF data from HTML documents."],["asn1","ASN.1 File","Encode and decode data structures using Abstract Syntax Notation One (ASN.1)."],["avro","Avro","Serialize and deserialize messages using Apache Avro binary data format."],["barcode","Barcode","Transform strings to various 1D/2D barcode bitmap formats and back."],["base64","Base64","Encode and decode data using Base64."],["bindy","Bindy","Marshal and unmarshal Java beans from and to flat payloads (such as CSV, delimited, fixed length formats, or FIX messages)."],["cbor","CBOR","Unmarshal a CBOR payload to POJO and back."],["crypto","Crypto (Java Cryptographic Extension)","Encrypt and decrypt messages using Java Cryptography Extension (JCE)."],["csv","CSV","Handle CSV (Comma Separated Values) payloads."],["custom","Custom","Delegate to a custom org.apache.camel.spi.DataFormat implementation via Camel registry."],["fhirJson","FHIR JSon","Marshall and unmarshall FHIR objects to/from JSON."],["fhirXml","FHIR XML","Marshall and unmarshall FHIR objects to/from XML."],["flatpack","Flatpack","Marshal and unmarshal Java lists and maps to/from flat files (such as CSV, delimited, or fixed length formats) using Flatpack library."],["grok","Grok","Unmarshal unstructured data to objects using Logstash based Grok patterns."],["gzipDeflater","GZip Deflater","Compress and decompress messages using java.util.zip.GZIPStream."],["hl7","HL7","Marshal and unmarshal HL7 (Health Care) model objects using the HL7 MLLP codec."],["ical","iCal","Marshal and unmarshal iCal (.ics) documents to/from model objects."],["jacksonXml","Jackson XML","Unmarshal an XML payloads to POJOs and back using XMLMapper extension of Jackson."],["jaxb","JAXB","Unmarshal XML payloads to POJOs and back using JAXB2 XML marshalling standard."],["json","JSon","Marshal POJOs to JSON and back."],["jsonApi","JSonApi","Marshal and unmarshal JSON:API resources using JSONAPI-Converter library."],["lzf","LZF Deflate Compression","Compress and decompress streams using LZF deflate algorithm."],["mimeMultipart","MIME Multipart","Marshal Camel messages with attachments into MIME-Multipart messages and back."],["pgp","PGP","Encrypt and decrypt messages using Java Cryptographic Extension (JCE) and PGP."],["protobuf","Protobuf","Serialize and deserialize Java objects using Google's Protocol buffers."],["rss","RSS","Transform from ROME SyndFeed Java Objects to XML and vice-versa."],["soap","SOAP","Marshal Java objects to SOAP messages and back."],["swiftMt","SWIFT MT","Encode and decode SWIFT MT messages."],["swiftMx","SWIFT MX","Encode and decode SWIFT MX messages."],["syslog","Syslog","Marshall SyslogMessages to RFC3164 and RFC5424 messages and back."],["tarFile","Tar File","Archive files into tarballs or extract files from tarballs."],["thrift","Thrift","Serialize and deserialize messages using Apache Thrift binary data format."],["tidyMarkup","TidyMarkup","Parse (potentially invalid) HTML into valid HTML or DOM."],["univocityCsv","uniVocity CSV","Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers."],["univocityFixed","uniVocity Fixed Length","Marshal and unmarshal Java objects from and to fixed length records using UniVocity Parsers."],["univocityTsv","uniVocity TSV","Marshal and unmarshal Java objects from and to TSV (Tab-Separated Values) records using UniVocity Parsers."],["xmlSecurity","XML Security","Encrypt and decrypt XML payloads using Apache Santuario."],["xstream","XStream","Marshal and unmarshal POJOs to/from XML using XStream library."],["yaml","YAML","Marshal and unmarshal Java objects to and from YAML."],["zipDeflater","Zip Deflater","Compress and decompress streams using java.util.zip.Deflater and java.util.zip.Inflater."],["zipFile","Zip File","Compression and decompress streams using java.util.zip.ZipStream."]],t.CamelDataFormatMetadata=[new e("any23","Any23DataFormat","Any23","Extract RDF data from HTML documents.","dataformat,transformation",[new i("outputFormat","Output Format","What RDF syntax to unmarshal as, can be: NTRIPLES, TURTLE, NQUADS, RDFXML, JSONLD, RDFJSON, RDF4JMODEL. It is by default: RDF4JMODEL.","string","NTRIPLES, TURTLE, NQUADS, RDFXML, JSONLD, RDFJSON, RDF4JMODEL","RDF4JMODEL",!1,!1,!1,!1,"",""),new i("baseUri","Base Uri","The URI to use as base for building RDF entities if only relative paths are provided.","string","","",!1,!1,!1,!1,"",""),new i("configuration","Configuration","Configurations for Apache Any23 as key-value pairs in order to customize the extraction process. The list of supported parameters can be found here. If not provided, a default configuration is used.","PropertyDefinition","","",!1,!1,!0,!0,"",""),new i("extractors","Extractors","List of Any23 extractors to be used in the unmarshal operation. A list of the available extractors can be found here here. If not provided, all the available extractors are used.","string","","",!1,!1,!0,!0,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("tarFile","TarFileDataFormat","Tar File","Archive files into tarballs or extract files from tarballs.","dataformat,transformation,file",[new i("usingIterator","Using Iterator","If the tar file has more than one entry, the setting this option to true, allows working with the splitter EIP, to split the data using an iterator in a streaming mode.","boolean","","false",!1,!1,!1,!1,"",""),new i("allowEmptyDirectory","Allow Empty Directory","If the tar file has more than one entry, setting this option to true, allows to get the iterator even if the directory is empty","boolean","","false",!1,!1,!1,!1,"",""),new i("preservePathElements","Preserve Path Elements","If the file name contains path elements, setting this option to true, allows the path to be maintained in the tar file.","boolean","","false",!1,!1,!1,!1,"",""),new i("maxDecompressedSize","Max Decompressed Size","Set the maximum decompressed size of a tar file (in bytes). The default value if not specified corresponds to 1 gigabyte. An IOException will be thrown if the decompressed size exceeds this amount. Set to -1 to disable setting a maximum decompressed size.","number","","1073741824",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("cbor","CBORDataFormat","CBOR","Unmarshal a CBOR payload to POJO and back.","dataformat,transformation,json",[new i("objectMapper","Object Mapper","Lookup and use the existing CBOR ObjectMapper with the given id when using Jackson.","string","","",!1,!1,!1,!1,"advanced",""),new i("useDefaultObjectMapper","Use Default Object Mapper","Whether to lookup and use default Jackson CBOR ObjectMapper from the registry.","boolean","","true",!1,!1,!1,!1,"",""),new i("unmarshalType","Unmarshal Type","Class name of the java type to use when unmarshalling","string","","",!1,!1,!1,!1,"",""),new i("collectionType","Collection Type","Refers to a custom collection type to lookup in the registry to use. This option should rarely be used, but allows to use different collection types than java.util.Collection based as default.","string","","",!1,!1,!1,!1,"advanced",""),new i("useList","Use List","To unmarshal to a List of Map or a List of Pojo.","boolean","","false",!1,!1,!1,!1,"",""),new i("allowUnmarshallType","Allow Unmarshall Type","If enabled then Jackson CBOR is allowed to attempt to use the CamelCBORUnmarshalType header during the unmarshalling. This should only be enabled when desired to be used.","boolean","","false",!1,!1,!1,!1,"",""),new i("prettyPrint","Pretty Print","To enable pretty printing output nicely formatted. Is by default false.","boolean","","false",!1,!1,!1,!1,"",""),new i("allowJmsType","Allow Jms Type","Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("enableFeatures","Enable Features","Set of features to enable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"",""),new i("disableFeatures","Disable Features","Set of features to disable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("soap","SoapDataFormat","SOAP","Marshal Java objects to SOAP messages and back.","dataformat,transformation,xml",[new i("contextPath","Context Path","Package name where your JAXB classes are located.","string","","",!0,!1,!1,!1,"",""),new i("encoding","Encoding","To overrule and use a specific encoding","string","","",!1,!1,!1,!1,"",""),new i("elementNameStrategyRef","Element Name Strategy Ref","Refers to an element strategy to lookup from the registry. An element name strategy is used for two purposes. The first is to find a xml element name for a given object and soap action when marshaling the object into a SOAP message. The second is to find an Exception class for a given soap fault name. The following three element strategy class name is provided out of the box. QNameStrategy - Uses a fixed qName that is configured on instantiation. Exception lookup is not supported TypeNameStrategy - Uses the name and namespace from the XMLType annotation of the given type. If no namespace is set then package-info is used. Exception lookup is not supported ServiceInterfaceStrategy - Uses information from a webservice interface to determine the type name and to find the exception class for a SOAP fault All three classes is located in the package name org.apache.camel.dataformat.soap.name If you have generated the web service stub code with cxf-codegen or a similar tool then you probably will want to use the ServiceInterfaceStrategy. In the case you have no annotated service interface you should use QNameStrategy or TypeNameStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("version","Version","SOAP version should either be 1.1 or 1.2. Is by default 1.1","string","1.1, 1.2","1.1",!1,!1,!1,!1,"",""),new i("namespacePrefixRef","Namespace Prefix Ref","When marshalling using JAXB or SOAP then the JAXB implementation will automatic assign namespace prefixes, such as ns2, ns3, ns4 etc. To control this mapping, Camel allows you to refer to a map which contains the desired mapping.","string","","",!1,!1,!1,!1,"advanced",""),new i("schema","Schema","To validate against an existing schema. Your can use the prefix classpath:, file: or http: to specify how the resource should be resolved. You can separate multiple schema files by using the ',' character.","string","","",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("lzf","LZFDataFormat","LZF Deflate Compression","Compress and decompress streams using LZF deflate algorithm.","dataformat,transformation",[new i("usingParallelCompression","Using Parallel Compression","Enable encoding (compress) using multiple processing cores.","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("univocityFixed","UniVocityFixedDataFormat","uniVocity Fixed Length","Marshal and unmarshal Java objects from and to fixed length records using UniVocity Parsers.","dataformat,transformation,csv",[new i("padding","Padding","The padding character. The default value is a space","string","","",!1,!1,!1,!1,"",""),new i("skipTrailingCharsUntilNewline","Skip Trailing Chars Until Newline","Whether or not the trailing characters until new line must be ignored. The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("recordEndsOnNewline","Record Ends On Newline","Whether or not the record ends on new line. The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("nullValue","Null Value","The string representation of a null value. The default value is null","string","","",!1,!1,!1,!1,"advanced",""),new i("skipEmptyLines","Skip Empty Lines","Whether or not the empty lines must be ignored. The default value is true","boolean","","true",!1,!1,!1,!1,"",""),new i("ignoreTrailingWhitespaces","Ignore Trailing Whitespaces","Whether or not the trailing white spaces must be ignored. The default value is true","boolean","","true",!1,!1,!1,!1,"",""),new i("ignoreLeadingWhitespaces","Ignore Leading Whitespaces","Whether or not the leading white spaces must be ignored. The default value is true","boolean","","true",!1,!1,!1,!1,"",""),new i("headersDisabled","Headers Disabled","Whether or not the headers are disabled. When defined, this option explicitly sets the headers as null which indicates that there is no header. The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("headerExtractionEnabled","Header Extraction Enabled","Whether or not the header must be read in the first line of the test document The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("numberOfRecordsToRead","Number Of Records To Read","The maximum number of record to read.","number","","",!1,!1,!1,!1,"advanced",""),new i("emptyValue","Empty Value","The String representation of an empty value","string","","",!1,!1,!1,!1,"advanced",""),new i("lineSeparator","Line Separator","The line separator of the files The default value is to use the JVM platform line separator","string","","",!1,!1,!1,!1,"advanced",""),new i("normalizedLineSeparator","Normalized Line Separator","The normalized line separator of the files The default value is a new line character.","string","",`
|
|
39
|
+
`,!1,!1,!1,!1,"advanced",""),new i("comment","Comment","The comment symbol. The default value is #","string","","#",!1,!1,!1,!1,"advanced",""),new i("lazyLoad","Lazy Load","Whether the unmarshalling should produce an iterator that reads the lines on the fly or if all the lines must be read at one. The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("asMap","As Map","Whether the unmarshalling should produce maps for the lines values instead of lists. It requires to have header (either defined or collected). The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"",""),new i("univocityHeader","univocityHeader","univocityHeader","UniVocityHeader","","",!1,!1,!0,!0,"","")]),new e("avro","AvroDataFormat","Avro","Serialize and deserialize messages using Apache Avro binary data format.","dataformat,transformation",[new i("instanceClassName","Instance Class Name","Class name to use for marshal and unmarshalling","string","","",!1,!1,!1,!1,"",""),new i("library","Library","Which Avro library to use.","string","ApacheAvro, Jackson","ApacheAvro",!1,!1,!1,!1,"",""),new i("objectMapper","Object Mapper","Lookup and use the existing ObjectMapper with the given id when using Jackson.","string","","",!1,!1,!1,!1,"advanced",""),new i("useDefaultObjectMapper","Use Default Object Mapper","Whether to lookup and use default Jackson ObjectMapper from the registry.","boolean","","true",!1,!1,!1,!1,"",""),new i("unmarshalType","Unmarshal Type","Class name of the java type to use when unmarshalling","string","","",!1,!1,!1,!1,"",""),new i("jsonView","Json View","When marshalling a POJO to JSON you might want to exclude certain fields from the JSON output. With Jackson you can use JSON views to accomplish this. This option is to refer to the class which has JsonView annotations","string","","",!1,!1,!1,!1,"",""),new i("include","Include","If you want to marshal a pojo to JSON, and the pojo has some fields with null values. And you want to skip these null values, you can set this option to NON_NULL","string","","",!1,!1,!1,!1,"",""),new i("allowJmsType","Allow Jms Type","Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("collectionType","Collection Type","Refers to a custom collection type to lookup in the registry to use. This option should rarely be used, but allows to use different collection types than java.util.Collection based as default.","string","","",!1,!1,!1,!1,"advanced",""),new i("useList","Use List","To unmarshal to a List of Map or a List of Pojo.","boolean","","false",!1,!1,!1,!1,"",""),new i("moduleClassNames","Module Class Names","To use custom Jackson modules com.fasterxml.jackson.databind.Module specified as a String with FQN class names. Multiple classes can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("moduleRefs","Module Refs","To use custom Jackson modules referred from the Camel registry. Multiple modules can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("enableFeatures","Enable Features","Set of features to enable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"",""),new i("disableFeatures","Disable Features","Set of features to disable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"",""),new i("allowUnmarshallType","Allow Unmarshall Type","If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling. This should only be enabled when desired to be used.","boolean","","false",!1,!1,!1,!1,"",""),new i("timezone","Timezone","If set then Jackson will use the Timezone when marshalling/unmarshalling.","string","","",!1,!1,!1,!1,"advanced",""),new i("autoDiscoverObjectMapper","Auto Discover Object Mapper","If set to true then Jackson will lookup for an objectMapper into the registry","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("contentTypeHeader","Content Type Header","Whether the data format should set the Content-Type header with the type from the data format. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON","boolean","","true",!1,!1,!1,!1,"",""),new i("schemaResolver","Schema Resolver","Optional schema resolver used to lookup schemas for the data in transit.","string","","",!1,!1,!1,!1,"advanced",""),new i("autoDiscoverSchemaResolver","Auto Discover Schema Resolver","When not disabled, the SchemaResolver will be looked up into the registry","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("jsonApi","JsonApiDataFormat","JSonApi","Marshal and unmarshal JSON:API resources using JSONAPI-Converter library.","dataformat,transformation",[new i("dataFormatTypes","Data Format Types","The classes to take into account for the marshalling. Multiple classes can be separated by comma.","string","","",!1,!1,!1,!1,"",""),new i("mainFormatType","Main Format Type","The class to take into account while unmarshalling.","string","","",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("gzipDeflater","GzipDeflaterDataFormat","GZip Deflater","Compress and decompress messages using java.util.zip.GZIPStream.","dataformat,transformation",[new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("jacksonXml","JacksonXMLDataFormat","Jackson XML","Unmarshal an XML payloads to POJOs and back using XMLMapper extension of Jackson.","dataformat,transformation,xml",[new i("xmlMapper","Xml Mapper","Lookup and use the existing XmlMapper with the given id.","string","","",!1,!1,!1,!1,"advanced",""),new i("prettyPrint","Pretty Print","To enable pretty printing output nicely formatted. Is by default false.","boolean","","false",!1,!1,!1,!1,"",""),new i("unmarshalType","Unmarshal Type","Class name of the java type to use when unmarshalling","string","","",!1,!1,!1,!1,"",""),new i("allowUnmarshallType","Allow Unmarshall Type","If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling. This should only be enabled when desired to be used.","boolean","","false",!1,!1,!1,!1,"",""),new i("jsonView","Json View","When marshalling a POJO to JSON you might want to exclude certain fields from the JSON output. With Jackson you can use JSON views to accomplish this. This option is to refer to the class which has JsonView annotations","string","","",!1,!1,!1,!1,"",""),new i("include","Include","If you want to marshal a pojo to JSON, and the pojo has some fields with null values. And you want to skip these null values, you can set this option to NON_NULL","string","","",!1,!1,!1,!1,"",""),new i("allowJmsType","Allow Jms Type","Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("collectionType","Collection Type","Refers to a custom collection type to lookup in the registry to use. This option should rarely be used, but allows to use different collection types than java.util.Collection based as default.","string","","",!1,!1,!1,!1,"advanced",""),new i("useList","Use List","To unmarshal to a List of Map or a List of Pojo.","boolean","","false",!1,!1,!1,!1,"",""),new i("timezone","Timezone","If set then Jackson will use the Timezone when marshalling/unmarshalling.","string","","",!1,!1,!1,!1,"advanced",""),new i("enableJaxbAnnotationModule","Enable Jaxb Annotation Module","Whether to enable the JAXB annotations module when using jackson. When enabled then JAXB annotations can be used by Jackson.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("moduleClassNames","Module Class Names","To use custom Jackson modules com.fasterxml.jackson.databind.Module specified as a String with FQN class names. Multiple classes can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("moduleRefs","Module Refs","To use custom Jackson modules referred from the Camel registry. Multiple modules can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("enableFeatures","Enable Features","Set of features to enable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"",""),new i("disableFeatures","Disable Features","Set of features to disable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"",""),new i("contentTypeHeader","Content Type Header","Whether the data format should set the Content-Type header with the type from the data format. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON","boolean","","true",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("protobuf","ProtobufDataFormat","Protobuf","Serialize and deserialize Java objects using Google's Protocol buffers.","dataformat,transformation",[new i("instanceClass","Instance Class","Name of class to use when unmarshalling","string","","",!1,!1,!1,!1,"",""),new i("objectMapper","Object Mapper","Lookup and use the existing ObjectMapper with the given id when using Jackson.","string","","",!1,!1,!1,!1,"advanced",""),new i("useDefaultObjectMapper","Use Default Object Mapper","Whether to lookup and use default Jackson ObjectMapper from the registry.","boolean","","true",!1,!1,!1,!1,"",""),new i("autoDiscoverObjectMapper","Auto Discover Object Mapper","If set to true then Jackson will lookup for an objectMapper into the registry","boolean","","false",!1,!1,!1,!1,"",""),new i("library","Library","Which Protobuf library to use.","string","GoogleProtobuf, Jackson","GoogleProtobuf",!1,!1,!1,!1,"",""),new i("unmarshalType","Unmarshal Type","Class name of the java type to use when unmarshalling","string","","",!1,!1,!1,!1,"",""),new i("jsonView","Json View","When marshalling a POJO to JSON you might want to exclude certain fields from the JSON output. With Jackson you can use JSON views to accomplish this. This option is to refer to the class which has JsonView annotations","string","","",!1,!1,!1,!1,"",""),new i("include","Include","If you want to marshal a pojo to JSON, and the pojo has some fields with null values. And you want to skip these null values, you can set this option to NON_NULL","string","","",!1,!1,!1,!1,"",""),new i("allowJmsType","Allow Jms Type","Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("collectionType","Collection Type","Refers to a custom collection type to lookup in the registry to use. This option should rarely be used, but allows to use different collection types than java.util.Collection based as default.","string","","",!1,!1,!1,!1,"",""),new i("useList","Use List","To unmarshal to a List of Map or a List of Pojo.","boolean","","false",!1,!1,!1,!1,"",""),new i("moduleClassNames","Module Class Names","To use custom Jackson modules com.fasterxml.jackson.databind.Module specified as a String with FQN class names. Multiple classes can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("moduleRefs","Module Refs","To use custom Jackson modules referred from the Camel registry. Multiple modules can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("enableFeatures","Enable Features","Set of features to enable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"",""),new i("disableFeatures","Disable Features","Set of features to disable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"",""),new i("allowUnmarshallType","Allow Unmarshall Type","If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling. This should only be enabled when desired to be used.","boolean","","false",!1,!1,!1,!1,"",""),new i("timezone","Timezone","If set then Jackson will use the Timezone when marshalling/unmarshalling.","string","","",!1,!1,!1,!1,"advanced",""),new i("schemaResolver","Schema Resolver","Optional schema resolver used to lookup schemas for the data in transit.","string","","",!1,!1,!1,!1,"advanced",""),new i("autoDiscoverSchemaResolver","Auto Discover Schema Resolver","When not disabled, the SchemaResolver will be looked up into the registry","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("contentTypeFormat","Content Type Format","Defines a content type format in which protobuf message will be serialized/deserialized from(to) the Java been. The format can either be native or json for either native protobuf or json fields representation. The default value is native.","string","native, json","native",!1,!1,!1,!1,"",""),new i("contentTypeHeader","Content Type Header","Whether the data format should set the Content-Type header with the type from the data format. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON","boolean","","true",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("bindy","BindyDataFormat","Bindy","Marshal and unmarshal Java beans from and to flat payloads (such as CSV, delimited, fixed length formats, or FIX messages).","dataformat,transformation,csv",[new i("type","Type","Whether to use Csv, Fixed, or KeyValue.","string","Csv, Fixed, KeyValue","",!0,!1,!1,!1,"",""),new i("classType","Class Type","Name of model class to use.","string","","",!1,!1,!1,!1,"",""),new i("allowEmptyStream","Allow Empty Stream","Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without records is provided.","boolean","","false",!1,!1,!1,!1,"",""),new i("unwrapSingleInstance","Unwrap Single Instance","When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("locale","Locale","To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default","string","","",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("xmlSecurity","XMLSecurityDataFormat","XML Security","Encrypt and decrypt XML payloads using Apache Santuario.","dataformat,transformation,xml",[new i("xmlCipherAlgorithm","Xml Cipher Algorithm","The cipher algorithm to be used for encryption/decryption of the XML message content. The available choices are: XMLCipher.TRIPLEDES XMLCipher.AES_128 XMLCipher.AES_128_GCM XMLCipher.AES_192 XMLCipher.AES_192_GCM XMLCipher.AES_256 XMLCipher.AES_256_GCM XMLCipher.SEED_128 XMLCipher.CAMELLIA_128 XMLCipher.CAMELLIA_192 XMLCipher.CAMELLIA_256 The default value is XMLCipher.AES_256_GCM","string","TRIPLEDES, AES_128, AES_128_GCM, AES_192, AES_192_GCM, AES_256, AES_256_GCM, SEED_128, CAMELLIA_128, CAMELLIA_192, CAMELLIA_256","AES-256-GCM",!1,!1,!1,!1,"",""),new i("passPhrase","Pass Phrase","A String used as passPhrase to encrypt/decrypt content. The passPhrase has to be provided. The passPhrase needs to be put together in conjunction with the appropriate encryption algorithm. For example using TRIPLEDES the passPhase can be a Only another 24 Byte key","string","","",!1,!1,!1,!1,"",""),new i("passPhraseByte","Pass Phrase Byte","A byte used as passPhrase to encrypt/decrypt content. The passPhrase has to be provided. The passPhrase needs to be put together in conjunction with the appropriate encryption algorithm. For example using TRIPLEDES the passPhase can be a Only another 24 Byte key","string","","",!1,!1,!1,!1,"advanced",""),new i("secureTag","Secure Tag","The XPath reference to the XML Element selected for encryption/decryption. If no tag is specified, the entire payload is encrypted/decrypted.","string","","",!1,!1,!1,!1,"",""),new i("secureTagContents","Secure Tag Contents","A boolean value to specify whether the XML Element is to be encrypted or the contents of the XML Element. false = Element Level. true = Element Content Level.","boolean","","false",!1,!1,!1,!1,"",""),new i("keyCipherAlgorithm","Key Cipher Algorithm","The cipher algorithm to be used for encryption/decryption of the asymmetric key. The available choices are: XMLCipher.RSA_v1dot5 XMLCipher.RSA_OAEP XMLCipher.RSA_OAEP_11 The default value is XMLCipher.RSA_OAEP","string","RSA_v1dot5, RSA_OAEP, RSA_OAEP_11","RSA_OAEP",!1,!1,!1,!1,"",""),new i("recipientKeyAlias","Recipient Key Alias","The key alias to be used when retrieving the recipient's public or private key from a KeyStore when performing asymmetric key encryption or decryption.","string","","",!1,!1,!1,!1,"",""),new i("keyOrTrustStoreParametersRef","Key Or Trust Store Parameters Ref","Refers to a KeyStore instance to lookup in the registry, which is used for configuration options for creating and loading a KeyStore instance that represents the sender's trustStore or recipient's keyStore.","string","","",!1,!1,!1,!1,"",""),new i("keyPassword","Key Password","The password to be used for retrieving the private key from the KeyStore. This key is used for asymmetric decryption.","string","","",!1,!1,!1,!1,"",""),new i("digestAlgorithm","Digest Algorithm","The digest algorithm to use with the RSA OAEP algorithm. The available choices are: XMLCipher.SHA1 XMLCipher.SHA256 XMLCipher.SHA512 The default value is XMLCipher.SHA1","string","SHA1, SHA256, SHA512","SHA1",!1,!1,!1,!1,"",""),new i("mgfAlgorithm","Mgf Algorithm","The MGF Algorithm to use with the RSA OAEP algorithm. The available choices are: EncryptionConstants.MGF1_SHA1 EncryptionConstants.MGF1_SHA256 EncryptionConstants.MGF1_SHA512 The default value is EncryptionConstants.MGF1_SHA1","string","MGF1_SHA1, MGF1_SHA256, MGF1_SHA512","MGF1_SHA1",!1,!1,!1,!1,"",""),new i("addKeyValueForEncryptedKey","Add Key Value For Encrypted Key","Whether to add the public key used to encrypt the session key as a KeyValue in the EncryptedKey structure or not.","boolean","","true",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("json","JsonDataFormat","JSon","Marshal POJOs to JSON and back.","dataformat,transformation,json",[new i("objectMapper","Object Mapper","Lookup and use the existing ObjectMapper with the given id when using Jackson.","string","","",!1,!1,!1,!1,"",""),new i("useDefaultObjectMapper","Use Default Object Mapper","Whether to lookup and use default Jackson ObjectMapper from the registry.","boolean","","true",!1,!1,!1,!1,"",""),new i("autoDiscoverObjectMapper","Auto Discover Object Mapper","If set to true then Jackson will look for an objectMapper to use from the registry","boolean","","false",!1,!1,!1,!1,"",""),new i("prettyPrint","Pretty Print","To enable pretty printing output nicely formatted. Is by default false.","boolean","","false",!1,!1,!1,!1,"",""),new i("library","Library","Which json library to use.","string","Fastjson, Gson, Jackson, Johnzon, Jsonb, XStream","Jackson",!1,!1,!1,!1,"",""),new i("unmarshalType","Unmarshal Type","Class name of the java type to use when unmarshalling","string","","",!1,!1,!1,!1,"",""),new i("jsonView","Json View","When marshalling a POJO to JSON you might want to exclude certain fields from the JSON output. With Jackson you can use JSON views to accomplish this. This option is to refer to the class which has JsonView annotations","string","","",!1,!1,!1,!1,"advanced",""),new i("include","Include","If you want to marshal a pojo to JSON, and the pojo has some fields with null values. And you want to skip these null values, you can set this option to NON_NULL","string","","",!1,!1,!1,!1,"advanced",""),new i("allowJmsType","Allow Jms Type","Used for JMS users to allow the JMSType header from the JMS spec to specify a FQN classname to use to unmarshal to.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("collectionType","Collection Type","Refers to a custom collection type to lookup in the registry to use. This option should rarely be used, but allows using different collection types than java.util.Collection based as default.","string","","",!1,!1,!1,!1,"advanced",""),new i("useList","Use List","To unmarshal to a List of Map or a List of Pojo.","boolean","","false",!1,!1,!1,!1,"",""),new i("moduleClassNames","Module Class Names","To use custom Jackson modules com.fasterxml.jackson.databind.Module specified as a String with FQN class names. Multiple classes can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("moduleRefs","Module Refs","To use custom Jackson modules referred from the Camel registry. Multiple modules can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("enableFeatures","Enable Features","Set of features to enable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"advanced",""),new i("disableFeatures","Disable Features","Set of features to disable on the Jackson com.fasterxml.jackson.databind.ObjectMapper. The features should be a name that matches a enum from com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.DeserializationFeature, or com.fasterxml.jackson.databind.MapperFeature Multiple features can be separated by comma","string","","",!1,!1,!1,!1,"advanced",""),new i("permissions","Permissions","Adds permissions that controls which Java packages and classes XStream is allowed to use during unmarshal from xml/json to Java beans. A permission must be configured either here or globally using a JVM system property. The permission can be specified in a syntax where a plus sign is allow, and minus sign is deny. Wildcards is supported by using . as prefix. For example to allow com.foo and all subpackages then specfy com.foo.. Multiple permissions can be configured separated by comma, such as com.foo.,-com.foo.bar.MySecretBean. The following default permission is always included: -,java.lang.,java.util. unless its overridden by specifying a JVM system property with they key org.apache.camel.xstream.permissions.","string","","",!1,!1,!1,!1,"advanced",""),new i("allowUnmarshallType","Allow Unmarshall Type","If enabled then Jackson is allowed to attempt to use the CamelJacksonUnmarshalType header during the unmarshalling. This should only be enabled when desired to be used.","boolean","","false",!1,!1,!1,!1,"",""),new i("timezone","Timezone","If set then Jackson will use the Timezone when marshalling/unmarshalling. This option will have no effect on the others Json DataFormat, like gson, fastjson and xstream.","string","","",!1,!1,!1,!1,"advanced",""),new i("dropRootNode","Drop Root Node","Whether XStream will drop the root node in the generated JSon. You may want to enable this when using POJOs; as then the written object will include the class name as root node, which is often not intended to be written in the JSON output.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("schemaResolver","Schema Resolver","Optional schema resolver used to lookup schemas for the data in transit.","string","","",!1,!1,!1,!1,"advanced",""),new i("autoDiscoverSchemaResolver","Auto Discover Schema Resolver","When not disabled, the SchemaResolver will be looked up into the registry","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("namingStrategy","Naming Strategy","If set then Jackson will use the the defined Property Naming Strategy.Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE","string","","",!1,!1,!1,!1,"",""),new i("contentTypeHeader","Content Type Header","Whether the data format should set the Content-Type header with the type from the data format. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON","boolean","","true",!1,!1,!1,!1,"",""),new i("dateFormatPattern","Date Format Pattern","To configure the date format while marshall or unmarshall Date fields in JSON using Gson","string","","",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("mimeMultipart","MimeMultipartDataFormat","MIME Multipart","Marshal Camel messages with attachments into MIME-Multipart messages and back.","dataformat,transformation",[new i("multipartSubType","Multipart Sub Type","Specify the subtype of the MIME Multipart. Default is mixed.","string","","mixed",!1,!1,!1,!1,"",""),new i("multipartWithoutAttachment","Multipart Without Attachment","Defines whether a message without attachment is also marshaled into a MIME Multipart (with only one body part). Default is false.","boolean","","false",!1,!1,!1,!1,"",""),new i("headersInline","Headers Inline","Defines whether the MIME-Multipart headers are part of the message body (true) or are set as Camel headers (false). Default is false.","boolean","","false",!1,!1,!1,!1,"",""),new i("includeHeaders","Include Headers","A regex that defines which Camel headers are also included as MIME headers into the MIME multipart. This will only work if headersInline is set to true. Default is to include no headers","string","","",!1,!1,!1,!1,"",""),new i("binaryContent","Binary Content","Defines whether the content of binary parts in the MIME multipart is binary (true) or Base-64 encoded (false) Default is false.","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("tidyMarkup","TidyMarkupDataFormat","TidyMarkup","Parse (potentially invalid) HTML into valid HTML or DOM.","dataformat,transformation",[new i("dataObjectType","Data Object Type","What data type to unmarshal as, can either be org.w3c.dom.Node or java.lang.String. Is by default org.w3c.dom.Node","string","org.w3c.dom.Node, java.lang.String","org.w3c.dom.Node",!1,!1,!1,!1,"",""),new i("omitXmlDeclaration","Omit Xml Declaration","When returning a String, do we omit the XML declaration in the top.","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("fhirJson","FhirJsonDataFormat","FHIR JSon","Marshall and unmarshall FHIR objects to/from JSON.","dataformat,transformation,hl7,json",[new i("fhirVersion","Fhir Version","The version of FHIR to use. Possible values are: DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5","string","DSTU2, DSTU2_HL7ORG, DSTU2_1, DSTU3, R4, R5","R4",!1,!1,!1,!1,"",""),new i("fhirContext","Fhir Context","To use a custom fhir context. Reference to object of type ca.uhn.fhir.context.FhirContext","string","","",!1,!1,!1,!1,"advanced",""),new i("prettyPrint","Pretty Print","Sets the pretty print flag, meaning that the parser will encode resources with human-readable spacing and newlines between elements instead of condensing output as much as possible.","boolean","","false",!1,!1,!1,!1,"",""),new i("parserErrorHandler","Parser Error Handler","Registers an error handler which will be invoked when any parse errors are found. Reference to object of type ca.uhn.fhir.parser.IParserErrorHandler","string","","",!1,!1,!1,!1,"advanced",""),new i("parserOptions","Parser Options","Sets the parser options object which will be used to supply default options to newly created parsers. Reference to object of type ca.uhn.fhir.context.ParserOptions.","string","","",!1,!1,!1,!1,"advanced",""),new i("preferTypes","Prefer Types","If set (FQN class names), when parsing resources the parser will try to use the given types when possible, in the order that they are provided (from highest to lowest priority). For example, if a custom type which declares to implement the Patient resource is passed in here, and the parser is parsing a Bundle containing a Patient resource, the parser will use the given custom type. Multiple class names can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("forceResourceId","Force Resource Id","When encoding, force this resource ID to be encoded as the resource ID. Reference to object of type org.hl7.fhir.instance.model.api.IIdType","string","","",!1,!1,!1,!1,"advanced",""),new i("serverBaseUrl","Server Base Url","Sets the server's base URL used by this parser. If a value is set, resource references will be turned into relative references if they are provided as absolute URLs but have a base matching the given base.","string","","",!1,!1,!1,!1,"advanced",""),new i("omitResourceId","Omit Resource Id","If set to true (default is false) the ID of any resources being encoded will not be included in the output. Note that this does not apply to contained resources, only to root resources. In other words, if this is set to true, contained resources will still have local IDs but the outer/containing ID will not have an ID.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("encodeElementsAppliesToChildResourcesOnly","Encode Elements Applies To Child Resources Only","If set to true (default is false), the values supplied to setEncodeElements(Set) will not be applied to the root resource (typically a Bundle), but will be applied to any sub-resources contained within it (i.e. search result resources in that bundle)","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("encodeElements","Encode Elements","If provided, specifies the elements which should be encoded, to the exclusion of all others. Multiple elements can be separated by comma when using String parameter. Valid values for this field would include: Patient - Encode patient and all its children Patient.name - Encode only the patient's name Patient.name.family - Encode only the patient's family name .text - Encode the text element on any resource (only the very first position may contain a wildcard) .(mandatory) - This is a special case which causes any mandatory fields (min 0) to be encoded","string","","",!1,!1,!1,!1,"advanced",""),new i("dontEncodeElements","Dont Encode Elements","If provided, specifies the elements which should NOT be encoded. Multiple elements can be separated by comma when using String parameter. Valid values for this field would include: Patient - Don't encode patient and all its children Patient.name - Don't encode the patient's name Patient.name.family - Don't encode the patient's family name .text - Don't encode the text element on any resource (only the very first position may contain a wildcard) DSTU2 note: Note that values including meta, such as Patient.meta will work for DSTU2 parsers, but values with subelements on meta such as Patient.meta.lastUpdated will only work in DSTU3 mode.","string","","",!1,!1,!1,!1,"advanced",""),new i("stripVersionsFromReferences","Strip Versions From References","If set to true (which is the default), resource references containing a version will have the version removed when the resource is encoded. This is generally good behaviour because in most situations, references from one resource to another should be to the resource by ID, not by ID and version. In some cases though, it may be desirable to preserve the version in resource links. In that case, this value should be set to false. This method provides the ability to globally disable reference encoding. If finer-grained control is needed, use setDontStripVersionsFromReferencesAtPaths(List)","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("overrideResourceIdWithBundleEntryFullUrl","Override Resource Id With Bundle Entry Full Url","If set to true (which is the default), the Bundle.entry.fullUrl will override the Bundle.entry.resource's resource id if the fullUrl is defined. This behavior happens when parsing the source data into a Bundle object. Set this to false if this is not the desired behavior (e.g. the client code wishes to perform additional validation checks between the fullUrl and the resource id).","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("summaryMode","Summary Mode","If set to true (default is false) only elements marked by the FHIR specification as being summary elements will be included.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("suppressNarratives","Suppress Narratives","If set to true (default is false), narratives will not be included in the encoded values.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("dontStripVersionsFromReferencesAtPaths","Dont Strip Versions From References At Paths","If supplied value(s), any resource references at the specified paths will have their resource versions encoded instead of being automatically stripped during the encoding process. This setting has no effect on the parsing process. Multiple elements can be separated by comma when using String parameter. This method provides a finer-grained level of control than setStripVersionsFromReferences(String) and any paths specified by this method will be encoded even if setStripVersionsFromReferences(String) has been set to true (which is the default)","string","","",!1,!1,!1,!1,"advanced",""),new i("contentTypeHeader","Content Type Header","Whether the data format should set the Content-Type header with the type from the data format. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON","boolean","","true",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("zipDeflater","ZipDeflaterDataFormat","Zip Deflater","Compress and decompress streams using java.util.zip.Deflater and java.util.zip.Inflater.","dataformat,transformation",[new i("compressionLevel","Compression Level","To specify a specific compression between 0-9. -1 is default compression, 0 is no compression, and 9 is the best compression.","string","-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9","-1",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("asn1","ASN1DataFormat","ASN.1 File","Encode and decode data structures using Abstract Syntax Notation One (ASN.1).","dataformat,transformation,file",[new i("unmarshalType","Unmarshal Type","Class to use when unmarshalling.","string","","",!1,!1,!1,!1,"",""),new i("usingIterator","Using Iterator","If the asn1 file has more than one entry, the setting this option to true, allows working with the splitter EIP, to split the data using an iterator in a streaming mode.","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("thrift","ThriftDataFormat","Thrift","Serialize and deserialize messages using Apache Thrift binary data format.","dataformat,transformation",[new i("instanceClass","Instance Class","Name of class to use when unmarshalling","string","","",!1,!1,!1,!1,"",""),new i("contentTypeFormat","Content Type Format","Defines a content type format in which thrift message will be serialized/deserialized from(to) the Java been. The format can either be native or json for either native binary thrift, json or simple json fields representation. The default value is binary.","string","binary, json, sjson","binary",!1,!1,!1,!1,"",""),new i("contentTypeHeader","Content Type Header","Whether the data format should set the Content-Type header with the type from the data format. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON","boolean","","true",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("xstream","XStreamDataFormat","XStream","Marshal and unmarshal POJOs to/from XML using XStream library.","dataformat,transformation,xml,json",[new i("permissions","Permissions","Adds permissions that controls which Java packages and classes XStream is allowed to use during unmarshal from xml/json to Java beans. A permission must be configured either here or globally using a JVM system property. The permission can be specified in a syntax where a plus sign is allow, and minus sign is deny. Wildcards is supported by using . as prefix. For example to allow com.foo and all subpackages then specify com.foo.. Multiple permissions can be configured separated by comma, such as com.foo.,-com.foo.bar.MySecretBean. The following default permission is always included: -,java.lang.,java.util. unless its overridden by specifying a JVM system property with they key org.apache.camel.xstream.permissions.","string","","",!1,!1,!1,!1,"",""),new i("encoding","Encoding","Sets the encoding to use","string","","",!1,!1,!1,!1,"",""),new i("driver","Driver","To use a custom XStream driver. The instance must be of type com.thoughtworks.xstream.io.HierarchicalStreamDriver","string","","",!1,!1,!1,!1,"advanced",""),new i("driverRef","Driver Ref","To refer to a custom XStream driver to lookup in the registry. The instance must be of type com.thoughtworks.xstream.io.HierarchicalStreamDriver","string","","",!1,!1,!1,!1,"advanced",""),new i("mode","Mode","Mode for dealing with duplicate references The possible values are: NO_REFERENCES ID_REFERENCES XPATH_RELATIVE_REFERENCES XPATH_ABSOLUTE_REFERENCES SINGLE_NODE_XPATH_RELATIVE_REFERENCES SINGLE_NODE_XPATH_ABSOLUTE_REFERENCES","string","NO_REFERENCES, ID_REFERENCES, XPATH_RELATIVE_REFERENCES, XPATH_ABSOLUTE_REFERENCES, SINGLE_NODE_XPATH_RELATIVE_REFERENCES, SINGLE_NODE_XPATH_ABSOLUTE_REFERENCES","",!1,!1,!1,!1,"advanced",""),new i("contentTypeHeader","Content Type Header","Whether the data format should set the Content-Type header with the type from the data format. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON","boolean","","true",!1,!1,!1,!1,"",""),new i("converters","Converters","List of class names for using custom XStream converters. The classes must be of type com.thoughtworks.xstream.converters.Converter","PropertyDefinition","","",!1,!1,!0,!0,"",""),new i("aliases","Aliases","Alias a Class to a shorter name to be used in XML elements.","PropertyDefinition","","",!1,!1,!0,!0,"",""),new i("omitFields","Omit Fields","Prevents a field from being serialized. To omit a field you must always provide the declaring type and not necessarily the type that is converted. Multiple values can be separated by comma.","PropertyDefinition","","",!1,!1,!0,!0,"",""),new i("implicitCollections","Implicit Collections","Adds a default implicit collection which is used for any unmapped XML tag. Multiple values can be separated by comma.","PropertyDefinition","","",!1,!1,!0,!0,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("yaml","YAMLDataFormat","YAML","Marshal and unmarshal Java objects to and from YAML.","dataformat,transformation,yaml",[new i("library","Library","Which yaml library to use. By default it is SnakeYAML","string","SnakeYAML","SnakeYAML",!1,!1,!1,!1,"",""),new i("unmarshalType","Unmarshal Type","Class name of the java type to use when unmarshalling","string","","",!1,!1,!1,!1,"",""),new i("constructor","Constructor","BaseConstructor to construct incoming documents.","string","","",!1,!1,!1,!1,"advanced",""),new i("representer","Representer","Representer to emit outgoing objects.","string","","",!1,!1,!1,!1,"advanced",""),new i("dumperOptions","Dumper Options","DumperOptions to configure outgoing objects.","string","","",!1,!1,!1,!1,"advanced",""),new i("resolver","Resolver","Resolver to detect implicit type","string","","",!1,!1,!1,!1,"advanced",""),new i("useApplicationContextClassLoader","Use Application Context Class Loader","Use ApplicationContextClassLoader as custom ClassLoader","boolean","","true",!1,!1,!1,!1,"",""),new i("prettyFlow","Pretty Flow","Force the emitter to produce a pretty YAML document when using the flow style.","boolean","","false",!1,!1,!1,!1,"",""),new i("allowAnyType","Allow Any Type","Allow any class to be un-marshaled","boolean","","false",!1,!1,!1,!1,"",""),new i("typeFilter","Type Filter","Set the types SnakeYAML is allowed to un-marshall","YAMLTypeFilterDefinition","","",!1,!1,!0,!0,"",""),new i("maxAliasesForCollections","Max Aliases For Collections","Set the maximum amount of aliases allowed for collections.","number","","50",!1,!1,!1,!1,"advanced",""),new i("allowRecursiveKeys","Allow Recursive Keys","Set whether recursive keys are allowed.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("swiftMx","SwiftMxDataFormat","SWIFT MX","Encode and decode SWIFT MX messages.","dataformat,transformation,swift",[new i("writeConfigRef","Write Config Ref","Refers to a specific configuration to use when marshalling a message to lookup from the registry.","string","","",!1,!1,!1,!1,"advanced",""),new i("writeInJson","Write In Json","The flag indicating that messages must be marshalled in a JSON format.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("readMessageId","Read Message Id","The type of MX message to produce when unmarshalling an input stream. If not set, it will be automatically detected from the namespace used.","string","","",!1,!1,!1,!1,"advanced",""),new i("readConfigRef","Read Config Ref","Refers to a specific configuration to use when unmarshalling an input stream to lookup from the registry.","string","","",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("custom","CustomDataFormat","Custom","Delegate to a custom org.apache.camel.spi.DataFormat implementation via Camel registry.","dataformat,transformation",[new i("ref","Ref","Reference to the custom org.apache.camel.spi.DataFormat to lookup from the Camel registry.","string","","",!0,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("hl7","HL7DataFormat","HL7","Marshal and unmarshal HL7 (Health Care) model objects using the HL7 MLLP codec.","dataformat,transformation,hl7",[new i("validate","Validate","Whether to validate the HL7 message Is by default true.","boolean","","true",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("base64","Base64DataFormat","Base64","Encode and decode data using Base64.","dataformat,transformation",[new i("lineLength","Line Length","To specific a maximum line length for the encoded data. By default 76 is used.","number","","76",!1,!1,!1,!1,"",""),new i("lineSeparator","Line Separator","The line separators to use. Uses new line characters (CRLF) by default.","string","","",!1,!1,!1,!1,"advanced",""),new i("urlSafe","Url Safe","Instead of emitting '' and '/' we emit '-' and '_' respectively. urlSafe is only applied to encode operations. Decoding seamlessly handles both modes. Is by default false.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("ical","IcalDataFormat","iCal","Marshal and unmarshal iCal (.ics) documents to/from model objects.","dataformat,transformation",[new i("validating","Validating","Whether to validate.","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("rss","RssDataFormat","RSS","Transform from ROME SyndFeed Java Objects to XML and vice-versa.","dataformat,transformation",[new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("crypto","CryptoDataFormat","Crypto (Java Cryptographic Extension)","Encrypt and decrypt messages using Java Cryptography Extension (JCE).","dataformat,transformation,security",[new i("algorithm","Algorithm","The JCE algorithm name indicating the cryptographic algorithm that will be used.","string","","",!1,!1,!1,!1,"",""),new i("keyRef","Key Ref","Refers to the secret key to lookup from the register to use.","string","","",!1,!1,!1,!1,"",""),new i("cryptoProvider","Crypto Provider","The name of the JCE Security Provider that should be used.","string","","",!1,!1,!1,!1,"advanced",""),new i("initVectorRef","Init Vector Ref","Refers to a byte array containing the Initialization Vector that will be used to initialize the Cipher.","string","","",!1,!1,!1,!1,"advanced",""),new i("algorithmParameterRef","Algorithm Parameter Ref","A JCE AlgorithmParameterSpec used to initialize the Cipher. Will lookup the type using the given name as a java.security.spec.AlgorithmParameterSpec type.","string","","",!1,!1,!1,!1,"advanced",""),new i("bufferSize","Buffer Size","The size of the buffer used in the signature process.","number","","4096",!1,!1,!1,!1,"",""),new i("macAlgorithm","Mac Algorithm","The JCE algorithm name indicating the Message Authentication algorithm.","string","","HmacSHA1",!1,!1,!1,!1,"",""),new i("shouldAppendHmac","shouldAppendHmac","shouldAppendHmac","boolean","","",!1,!1,!1,!1,"",""),new i("inline","Inline","Flag indicating that the configured IV should be inlined into the encrypted data stream. Is by default false.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("zipFile","ZipFileDataFormat","Zip File","Compression and decompress streams using java.util.zip.ZipStream.","dataformat,transformation,file",[new i("usingIterator","Using Iterator","If the zip file has more than one entry, the setting this option to true, allows working with the splitter EIP, to split the data using an iterator in a streaming mode.","boolean","","false",!1,!1,!1,!1,"",""),new i("allowEmptyDirectory","Allow Empty Directory","If the zip file has more than one entry, setting this option to true, allows to get the iterator even if the directory is empty","boolean","","false",!1,!1,!1,!1,"",""),new i("preservePathElements","Preserve Path Elements","If the file name contains path elements, setting this option to true, allows the path to be maintained in the zip file.","boolean","","false",!1,!1,!1,!1,"",""),new i("maxDecompressedSize","Max Decompressed Size","Set the maximum decompressed size of a zip file (in bytes). The default value if not specified corresponds to 1 gigabyte. An IOException will be thrown if the decompressed size exceeds this amount. Set to -1 to disable setting a maximum decompressed size.","number","","1073741824",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("jaxb","JaxbDataFormat","JAXB","Unmarshal XML payloads to POJOs and back using JAXB2 XML marshalling standard.","dataformat,transformation,xml",[new i("contextPath","Context Path","Package name where your JAXB classes are located.","string","","",!0,!1,!1,!1,"",""),new i("contextPathIsClassName","Context Path Is Class Name","This can be set to true to mark that the contextPath is referring to a classname and not a package name.","boolean","","false",!1,!1,!1,!1,"",""),new i("schema","Schema","To validate against an existing schema. Your can use the prefix classpath:, file: or http: to specify how the resource should be resolved. You can separate multiple schema files by using the ',' character.","string","","",!1,!1,!1,!1,"",""),new i("schemaSeverityLevel","Schema Severity Level","Sets the schema severity level to use when validating against a schema. This level determines the minimum severity error that triggers JAXB to stop continue parsing. The default value of 0 (warning) means that any error (warning, error or fatal error) will trigger JAXB to stop. There are the following three levels: 0=warning, 1=error, 2=fatal error.","string","0, 1, 2","0",!1,!1,!1,!1,"",""),new i("prettyPrint","Pretty Print","To enable pretty printing output nicely formatted. Is by default false.","boolean","","false",!1,!1,!1,!1,"",""),new i("objectFactory","Object Factory","Whether to allow using ObjectFactory classes to create the POJO classes during marshalling. This only applies to POJO classes that has not been annotated with JAXB and providing jaxb.index descriptor files.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("ignoreJaxbElement","ignoreJaxbElement","ignoreJaxbElement","boolean","","",!1,!1,!1,!1,"",""),new i("mustBeJaxbElement","mustBeJaxbElement","mustBeJaxbElement","boolean","","",!1,!1,!1,!1,"",""),new i("filterNonXmlChars","Filter Non Xml Chars","To ignore non xml characheters and replace them with an empty space.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("encoding","Encoding","To overrule and use a specific encoding","string","","",!1,!1,!1,!1,"",""),new i("fragment","Fragment","To turn on marshalling XML fragment trees. By default JAXB looks for XmlRootElement annotation on given class to operate on whole XML tree. This is useful but not always - sometimes generated code does not have XmlRootElement annotation, sometimes you need unmarshall only part of tree. In that case you can use partial unmarshalling. To enable this behaviours you need set property partClass. Camel will pass this class to JAXB's unmarshaler.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("partClass","Part Class","Name of class used for fragment parsing. See more details at the fragment option.","string","","",!1,!1,!1,!1,"advanced",""),new i("partNamespace","Part Namespace","XML namespace to use for fragment parsing. See more details at the fragment option.","string","","",!1,!1,!1,!1,"advanced",""),new i("namespacePrefixRef","Namespace Prefix Ref","When marshalling using JAXB or SOAP then the JAXB implementation will automatic assign namespace prefixes, such as ns2, ns3, ns4 etc. To control this mapping, Camel allows you to refer to a map which contains the desired mapping.","string","","",!1,!1,!1,!1,"advanced",""),new i("xmlStreamWriterWrapper","Xml Stream Writer Wrapper","To use a custom xml stream writer.","string","","",!1,!1,!1,!1,"advanced",""),new i("schemaLocation","Schema Location","To define the location of the schema","string","","",!1,!1,!1,!1,"",""),new i("noNamespaceSchemaLocation","No Namespace Schema Location","To define the location of the namespaceless schema","string","","",!1,!1,!1,!1,"advanced",""),new i("jaxbProviderProperties","Jaxb Provider Properties","Refers to a custom java.util.Map to lookup in the registry containing custom JAXB provider properties to be used with the JAXB marshaller.","string","","",!1,!1,!1,!1,"advanced",""),new i("contentTypeHeader","Content Type Header","Whether the data format should set the Content-Type header with the type from the data format. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON","boolean","","true",!1,!1,!1,!1,"",""),new i("accessExternalSchemaProtocols","Access External Schema Protocols","Only in use if schema validation has been enabled. Restrict access to the protocols specified for external reference set by the schemaLocation attribute, Import and Include element. Examples of protocols are file, http, jar:file. false or none to deny all access to external references; a specific protocol, such as file, to give permission to only the protocol; the keyword all to grant permission to all protocols.","string","","false",!1,!1,!1,!1,"security",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("univocityTsv","UniVocityTsvDataFormat","uniVocity TSV","Marshal and unmarshal Java objects from and to TSV (Tab-Separated Values) records using UniVocity Parsers.","dataformat,transformation,csv",[new i("escapeChar","Escape Char","The escape character.","string","","\\",!1,!1,!1,!1,"advanced",""),new i("nullValue","Null Value","The string representation of a null value. The default value is null","string","","",!1,!1,!1,!1,"advanced",""),new i("skipEmptyLines","Skip Empty Lines","Whether or not the empty lines must be ignored. The default value is true","boolean","","true",!1,!1,!1,!1,"",""),new i("ignoreTrailingWhitespaces","Ignore Trailing Whitespaces","Whether or not the trailing white spaces must be ignored. The default value is true","boolean","","true",!1,!1,!1,!1,"",""),new i("ignoreLeadingWhitespaces","Ignore Leading Whitespaces","Whether or not the leading white spaces must be ignored. The default value is true","boolean","","true",!1,!1,!1,!1,"",""),new i("headersDisabled","Headers Disabled","Whether or not the headers are disabled. When defined, this option explicitly sets the headers as null which indicates that there is no header. The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("headerExtractionEnabled","Header Extraction Enabled","Whether or not the header must be read in the first line of the test document The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("numberOfRecordsToRead","Number Of Records To Read","The maximum number of record to read.","number","","",!1,!1,!1,!1,"advanced",""),new i("emptyValue","Empty Value","The String representation of an empty value","string","","",!1,!1,!1,!1,"advanced",""),new i("lineSeparator","Line Separator","The line separator of the files The default value is to use the JVM platform line separator","string","","",!1,!1,!1,!1,"advanced",""),new i("normalizedLineSeparator","Normalized Line Separator","The normalized line separator of the files The default value is a new line character.","string","",`
|
|
40
|
+
`,!1,!1,!1,!1,"advanced",""),new i("comment","Comment","The comment symbol. The default value is #","string","","#",!1,!1,!1,!1,"advanced",""),new i("lazyLoad","Lazy Load","Whether the unmarshalling should produce an iterator that reads the lines on the fly or if all the lines must be read at one. The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("asMap","As Map","Whether the unmarshalling should produce maps for the lines values instead of lists. It requires to have header (either defined or collected). The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"",""),new i("univocityHeader","univocityHeader","univocityHeader","UniVocityHeader","","",!1,!1,!0,!0,"","")]),new e("barcode","BarcodeDataFormat","Barcode","Transform strings to various 1D/2D barcode bitmap formats and back.","dataformat,transformation",[new i("barcodeFormat","Barcode Format","Barcode format such as QR-Code","string","","",!1,!1,!1,!1,"",""),new i("imageType","Image Type","Image type of the barcode such as png","string","","",!1,!1,!1,!1,"",""),new i("width","Width","Width of the barcode","number","","",!1,!1,!1,!1,"",""),new i("height","Height","Height of the barcode","number","","",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("pgp","PGPDataFormat","PGP","Encrypt and decrypt messages using Java Cryptographic Extension (JCE) and PGP.","dataformat,transformation,security",[new i("keyUserid","Key Userid","The user ID of the key in the PGP keyring used during encryption. Can also be only a part of a user ID. For example, if the user ID is Test User then you can use the part Test User or to address the user ID.","string","","",!1,!1,!1,!1,"",""),new i("signatureKeyUserid","Signature Key Userid","User ID of the key in the PGP keyring used for signing (during encryption) or signature verification (during decryption). During the signature verification process the specified User ID restricts the public keys from the public keyring which can be used for the verification. If no User ID is specified for the signature verficiation then any public key in the public keyring can be used for the verification. Can also be only a part of a user ID. For example, if the user ID is Test User then you can use the part Test User or to address the User ID.","string","","",!1,!1,!1,!1,"",""),new i("password","Password","Password used when opening the private key (not used for encryption).","string","","",!1,!1,!1,!1,"",""),new i("signaturePassword","Signature Password","Password used when opening the private key used for signing (during encryption).","string","","",!1,!1,!1,!1,"",""),new i("keyFileName","Key File Name","Filename of the keyring; must be accessible as a classpath resource (but you can specify a location in the file system by using the file: prefix).","string","","",!1,!1,!1,!1,"",""),new i("signatureKeyFileName","Signature Key File Name","Filename of the keyring to use for signing (during encryption) or for signature verification (during decryption); must be accessible as a classpath resource (but you can specify a location in the file system by using the file: prefix).","string","","",!1,!1,!1,!1,"",""),new i("signatureKeyRing","Signature Key Ring","Keyring used for signing/verifying as byte array. You can not set the signatureKeyFileName and signatureKeyRing at the same time.","string","","",!1,!1,!1,!1,"",""),new i("armored","Armored","This option will cause PGP to base64 encode the encrypted text, making it available for copy/paste, etc.","boolean","","false",!1,!1,!1,!1,"",""),new i("integrity","Integrity","Adds an integrity check/sign into the encryption file. The default value is true.","boolean","","true",!1,!1,!1,!1,"",""),new i("provider","Provider","Java Cryptography Extension (JCE) provider, default is Bouncy Castle (BC). Alternatively you can use, for example, the IAIK JCE provider; in this case the provider must be registered beforehand and the Bouncy Castle provider must not be registered beforehand. The Sun JCE provider does not work.","string","","",!1,!1,!1,!1,"",""),new i("algorithm","Algorithm","Symmetric key encryption algorithm; possible values are defined in org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags; for example 2 (= TRIPLE DES), 3 (= CAST5), 4 (= BLOWFISH), 6 (= DES), 7 (= AES_128). Only relevant for encrypting.","number","","",!1,!1,!1,!1,"",""),new i("compressionAlgorithm","Compression Algorithm","Compression algorithm; possible values are defined in org.bouncycastle.bcpg.CompressionAlgorithmTags; for example 0 (= UNCOMPRESSED), 1 (= ZIP), 2 (= ZLIB), 3 (= BZIP2). Only relevant for encrypting.","number","","",!1,!1,!1,!1,"",""),new i("hashAlgorithm","Hash Algorithm","Signature hash algorithm; possible values are defined in org.bouncycastle.bcpg.HashAlgorithmTags; for example 2 (= SHA1), 8 (= SHA256), 9 (= SHA384), 10 (= SHA512), 11 (=SHA224). Only relevant for signing.","number","","",!1,!1,!1,!1,"",""),new i("signatureVerificationOption","Signature Verification Option","Controls the behavior for verifying the signature during unmarshaling. There are 4 values possible: optional: The PGP message may or may not contain signatures; if it does contain signatures, then a signature verification is executed. required: The PGP message must contain at least one signature; if this is not the case an exception (PGPException) is thrown. A signature verification is executed. ignore: Contained signatures in the PGP message are ignored; no signature verification is executed. no_signature_allowed: The PGP message must not contain a signature; otherwise an exception (PGPException) is thrown.","string","","",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("univocityCsv","UniVocityCsvDataFormat","uniVocity CSV","Marshal and unmarshal Java objects from and to CSV (Comma Separated Values) using UniVocity Parsers.","dataformat,transformation,csv",[new i("delimiter","Delimiter","The delimiter of values","string","",",",!1,!1,!1,!1,"",""),new i("quoteAllFields","Quote All Fields","Whether or not all values must be quoted when writing them.","boolean","","false",!1,!1,!1,!1,"",""),new i("quote","Quote","The quote symbol.","string","",'"',!1,!1,!1,!1,"advanced",""),new i("quoteEscape","Quote Escape","The quote escape symbol","string","",'"',!1,!1,!1,!1,"advanced",""),new i("nullValue","Null Value","The string representation of a null value. The default value is null","string","","",!1,!1,!1,!1,"advanced",""),new i("skipEmptyLines","Skip Empty Lines","Whether or not the empty lines must be ignored. The default value is true","boolean","","true",!1,!1,!1,!1,"",""),new i("ignoreTrailingWhitespaces","Ignore Trailing Whitespaces","Whether or not the trailing white spaces must be ignored. The default value is true","boolean","","true",!1,!1,!1,!1,"",""),new i("ignoreLeadingWhitespaces","Ignore Leading Whitespaces","Whether or not the leading white spaces must be ignored. The default value is true","boolean","","true",!1,!1,!1,!1,"",""),new i("headersDisabled","Headers Disabled","Whether or not the headers are disabled. When defined, this option explicitly sets the headers as null which indicates that there is no header. The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("headerExtractionEnabled","Header Extraction Enabled","Whether or not the header must be read in the first line of the test document The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("numberOfRecordsToRead","Number Of Records To Read","The maximum number of record to read.","number","","",!1,!1,!1,!1,"advanced",""),new i("emptyValue","Empty Value","The String representation of an empty value","string","","",!1,!1,!1,!1,"advanced",""),new i("lineSeparator","Line Separator","The line separator of the files The default value is to use the JVM platform line separator","string","","",!1,!1,!1,!1,"advanced",""),new i("normalizedLineSeparator","Normalized Line Separator","The normalized line separator of the files The default value is a new line character.","string","",`
|
|
41
|
+
`,!1,!1,!1,!1,"advanced",""),new i("comment","Comment","The comment symbol. The default value is #","string","","#",!1,!1,!1,!1,"advanced",""),new i("lazyLoad","Lazy Load","Whether the unmarshalling should produce an iterator that reads the lines on the fly or if all the lines must be read at one. The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("asMap","As Map","Whether the unmarshalling should produce maps for the lines values instead of lists. It requires to have header (either defined or collected). The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"",""),new i("univocityHeader","univocityHeader","univocityHeader","UniVocityHeader","","",!1,!1,!0,!0,"","")]),new e("syslog","SyslogDataFormat","Syslog","Marshall SyslogMessages to RFC3164 and RFC5424 messages and back.","dataformat,transformation,monitoring",[new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("fhirXml","FhirXmlDataFormat","FHIR XML","Marshall and unmarshall FHIR objects to/from XML.","dataformat,transformation,hl7,xml",[new i("fhirVersion","Fhir Version","The version of FHIR to use. Possible values are: DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5","string","DSTU2, DSTU2_HL7ORG, DSTU2_1, DSTU3, R4, R5","R4",!1,!1,!1,!1,"",""),new i("fhirContext","Fhir Context","To use a custom fhir context. Reference to object of type ca.uhn.fhir.context.FhirContext","string","","",!1,!1,!1,!1,"advanced",""),new i("prettyPrint","Pretty Print","Sets the pretty print flag, meaning that the parser will encode resources with human-readable spacing and newlines between elements instead of condensing output as much as possible.","boolean","","false",!1,!1,!1,!1,"",""),new i("parserErrorHandler","Parser Error Handler","Registers an error handler which will be invoked when any parse errors are found. Reference to object of type ca.uhn.fhir.parser.IParserErrorHandler","string","","",!1,!1,!1,!1,"advanced",""),new i("parserOptions","Parser Options","Sets the parser options object which will be used to supply default options to newly created parsers. Reference to object of type ca.uhn.fhir.context.ParserOptions.","string","","",!1,!1,!1,!1,"advanced",""),new i("preferTypes","Prefer Types","If set (FQN class names), when parsing resources the parser will try to use the given types when possible, in the order that they are provided (from highest to lowest priority). For example, if a custom type which declares to implement the Patient resource is passed in here, and the parser is parsing a Bundle containing a Patient resource, the parser will use the given custom type. Multiple class names can be separated by comma.","string","","",!1,!1,!1,!1,"advanced",""),new i("forceResourceId","Force Resource Id","When encoding, force this resource ID to be encoded as the resource ID. Reference to object of type org.hl7.fhir.instance.model.api.IIdType","string","","",!1,!1,!1,!1,"advanced",""),new i("serverBaseUrl","Server Base Url","Sets the server's base URL used by this parser. If a value is set, resource references will be turned into relative references if they are provided as absolute URLs but have a base matching the given base.","string","","",!1,!1,!1,!1,"advanced",""),new i("omitResourceId","Omit Resource Id","If set to true (default is false) the ID of any resources being encoded will not be included in the output. Note that this does not apply to contained resources, only to root resources. In other words, if this is set to true, contained resources will still have local IDs but the outer/containing ID will not have an ID.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("encodeElementsAppliesToChildResourcesOnly","Encode Elements Applies To Child Resources Only","If set to true (default is false), the values supplied to setEncodeElements(Set) will not be applied to the root resource (typically a Bundle), but will be applied to any sub-resources contained within it (i.e. search result resources in that bundle)","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("encodeElements","Encode Elements","If provided, specifies the elements which should be encoded, to the exclusion of all others. Multiple elements can be separated by comma when using String parameter. Valid values for this field would include: Patient - Encode patient and all its children Patient.name - Encode only the patient's name Patient.name.family - Encode only the patient's family name .text - Encode the text element on any resource (only the very first position may contain a wildcard) .(mandatory) - This is a special case which causes any mandatory fields (min 0) to be encoded","string","","",!1,!1,!1,!1,"advanced",""),new i("dontEncodeElements","Dont Encode Elements","If provided, specifies the elements which should NOT be encoded. Multiple elements can be separated by comma when using String parameter. Valid values for this field would include: Patient - Don't encode patient and all its children Patient.name - Don't encode the patient's name Patient.name.family - Don't encode the patient's family name .text - Don't encode the text element on any resource (only the very first position may contain a wildcard) DSTU2 note: Note that values including meta, such as Patient.meta will work for DSTU2 parsers, but values with subelements on meta such as Patient.meta.lastUpdated will only work in DSTU3 mode.","string","","",!1,!1,!1,!1,"advanced",""),new i("stripVersionsFromReferences","Strip Versions From References","If set to true (which is the default), resource references containing a version will have the version removed when the resource is encoded. This is generally good behaviour because in most situations, references from one resource to another should be to the resource by ID, not by ID and version. In some cases though, it may be desirable to preserve the version in resource links. In that case, this value should be set to false. This method provides the ability to globally disable reference encoding. If finer-grained control is needed, use setDontStripVersionsFromReferencesAtPaths(List)","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("overrideResourceIdWithBundleEntryFullUrl","Override Resource Id With Bundle Entry Full Url","If set to true (which is the default), the Bundle.entry.fullUrl will override the Bundle.entry.resource's resource id if the fullUrl is defined. This behavior happens when parsing the source data into a Bundle object. Set this to false if this is not the desired behavior (e.g. the client code wishes to perform additional validation checks between the fullUrl and the resource id).","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("summaryMode","Summary Mode","If set to true (default is false) only elements marked by the FHIR specification as being summary elements will be included.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("suppressNarratives","Suppress Narratives","If set to true (default is false), narratives will not be included in the encoded values.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("dontStripVersionsFromReferencesAtPaths","Dont Strip Versions From References At Paths","If supplied value(s), any resource references at the specified paths will have their resource versions encoded instead of being automatically stripped during the encoding process. This setting has no effect on the parsing process. Multiple elements can be separated by comma when using String parameter. This method provides a finer-grained level of control than setStripVersionsFromReferences(String) and any paths specified by this method will be encoded even if setStripVersionsFromReferences(String) has been set to true (which is the default)","string","","",!1,!1,!1,!1,"advanced",""),new i("contentTypeHeader","Content Type Header","Whether the data format should set the Content-Type header with the type from the data format. For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON","boolean","","true",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("csv","CsvDataFormat","CSV","Handle CSV (Comma Separated Values) payloads.","dataformat,transformation,csv",[new i("formatRef","Format Ref","The reference format to use, it will be updated with the other format options, the default value is CSVFormat.DEFAULT","string","","",!1,!1,!1,!1,"advanced",""),new i("formatName","Format Name","The name of the format to use, the default value is CSVFormat.DEFAULT","string","DEFAULT, EXCEL, INFORMIX_UNLOAD, INFORMIX_UNLOAD_CSV, MYSQL, RFC4180","DEFAULT",!1,!1,!1,!1,"advanced",""),new i("commentMarkerDisabled","Comment Marker Disabled","Disables the comment marker of the reference format.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("commentMarker","Comment Marker","Sets the comment marker of the reference format.","string","","",!1,!1,!1,!1,"advanced",""),new i("delimiter","Delimiter","Sets the delimiter to use. The default value is , (comma)","string","","",!1,!1,!1,!1,"",""),new i("escapeDisabled","Escape Disabled","Use for disabling using escape character","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("escape","Escape","Sets the escape character to use","string","","",!1,!1,!1,!1,"advanced",""),new i("headerDisabled","Header Disabled","Use for disabling headers","boolean","","false",!1,!1,!1,!1,"",""),new i("header","Header","To configure the CSV headers","string","","",!1,!1,!0,!0,"",""),new i("allowMissingColumnNames","Allow Missing Column Names","Whether to allow missing column names.","boolean","","false",!1,!1,!1,!1,"",""),new i("ignoreEmptyLines","Ignore Empty Lines","Whether to ignore empty lines.","boolean","","false",!1,!1,!1,!1,"",""),new i("ignoreSurroundingSpaces","Ignore Surrounding Spaces","Whether to ignore surrounding spaces","boolean","","false",!1,!1,!1,!1,"",""),new i("nullStringDisabled","Null String Disabled","Used to disable null strings","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("nullString","Null String","Sets the null string","string","","",!1,!1,!1,!1,"advanced",""),new i("quoteDisabled","Quote Disabled","Used to disable quotes","boolean","","false",!1,!1,!1,!1,"",""),new i("quote","Quote","Sets the quote which by default is","string","","",!1,!1,!1,!1,"",""),new i("recordSeparatorDisabled","Record Separator Disabled","Used for disabling record separator","string","","",!1,!1,!1,!1,"",""),new i("recordSeparator","Record Separator","Sets the record separator (aka new line) which by default is new line characters (CRLF)","string","","",!1,!1,!1,!1,"",""),new i("skipHeaderRecord","Skip Header Record","Whether to skip the header record in the output","boolean","","false",!1,!1,!1,!1,"",""),new i("quoteMode","Quote Mode","Sets the quote mode","string","ALL, ALL_NON_NULL, MINIMAL, NON_NUMERIC, NONE","",!1,!1,!1,!1,"",""),new i("ignoreHeaderCase","Ignore Header Case","Sets whether or not to ignore case when accessing header names.","boolean","","false",!1,!1,!1,!1,"",""),new i("trim","Trim","Sets whether or not to trim leading and trailing blanks.","boolean","","false",!1,!1,!1,!1,"",""),new i("trailingDelimiter","Trailing Delimiter","Sets whether or not to add a trailing delimiter.","boolean","","false",!1,!1,!1,!1,"",""),new i("marshallerFactoryRef","Marshaller Factory Ref","Sets the implementation of the CsvMarshallerFactory interface which is able to customize marshalling/unmarshalling behavior by extending CsvMarshaller or creating it from scratch.","string","","",!1,!1,!1,!1,"advanced",""),new i("lazyLoad","Lazy Load","Whether the unmarshalling should produce an iterator that reads the lines on the fly or if all the lines must be read at one.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("useMaps","Use Maps","Whether the unmarshalling should produce maps (HashMap)for the lines values instead of lists. It requires to have header (either defined or collected).","boolean","","false",!1,!1,!1,!1,"",""),new i("useOrderedMaps","Use Ordered Maps","Whether the unmarshalling should produce ordered maps (LinkedHashMap) for the lines values instead of lists. It requires to have header (either defined or collected).","boolean","","false",!1,!1,!1,!1,"",""),new i("recordConverterRef","Record Converter Ref","Refers to a custom CsvRecordConverter to lookup from the registry to use.","string","","",!1,!1,!1,!1,"advanced",""),new i("captureHeaderRecord","Capture Header Record","Whether the unmarshalling should capture the header record and store it in the message header","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("grok","GrokDataFormat","Grok","Unmarshal unstructured data to objects using Logstash based Grok patterns.","dataformat,transformation",[new i("pattern","Pattern","The grok pattern to match lines of input","string","","",!1,!1,!1,!1,"",""),new i("flattened","Flattened","Turns on flattened mode. In flattened mode the exception is thrown when there are multiple pattern matches with same key.","boolean","","false",!1,!1,!1,!1,"",""),new i("allowMultipleMatchesPerLine","Allow Multiple Matches Per Line","If false, every line of input is matched for pattern only once. Otherwise the line can be scanned multiple times when non-terminal pattern is used.","boolean","","true",!1,!1,!1,!1,"",""),new i("namedOnly","Named Only","Whether to capture named expressions only or not (i.e. %{IP:ip} but not ${IP})","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("flatpack","FlatpackDataFormat","Flatpack","Marshal and unmarshal Java lists and maps to/from flat files (such as CSV, delimited, or fixed length formats) using Flatpack library.","dataformat,transformation,csv",[new i("definition","Definition","The flatpack pzmap configuration file. Can be omitted in simpler situations, but its preferred to use the pzmap.","string","","",!1,!1,!1,!1,"",""),new i("fixed","Fixed","Delimited or fixed. Is by default false = delimited","boolean","","false",!1,!1,!1,!1,"",""),new i("delimiter","Delimiter","The delimiter char (could be ; , or similar)","string","",",",!1,!1,!1,!1,"",""),new i("ignoreFirstRecord","Ignore First Record","Whether the first line is ignored for delimited files (for the column headers). Is by default true.","boolean","","true",!1,!1,!1,!1,"",""),new i("allowShortLines","Allow Short Lines","Allows for lines to be shorter than expected and ignores the extra characters","boolean","","false",!1,!1,!1,!1,"",""),new i("ignoreExtraColumns","Ignore Extra Columns","Allows for lines to be longer than expected and ignores the extra characters.","boolean","","false",!1,!1,!1,!1,"",""),new i("textQualifier","Text Qualifier","If the text is qualified with a character. Uses quote character by default.","string","","",!1,!1,!1,!1,"advanced",""),new i("parserFactoryRef","Parser Factory Ref","References to a custom parser factory to lookup in the registry","string","","",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("swiftMt","SwiftMtDataFormat","SWIFT MT","Encode and decode SWIFT MT messages.","dataformat,transformation,swift",[new i("writeInJson","Write In Json","The flag indicating that messages must be marshalled in a JSON format.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")])],t.Languages=[["constant","Constant","A fixed value set only once during the route startup."],["csimple","CSimple","Evaluate a compiled simple expression."],["datasonnet","DataSonnet","To use DataSonnet scripts for message transformations."],["exchangeProperty","ExchangeProperty","Gets a property from the Exchange."],["groovy","Groovy","Evaluates a Groovy script."],["header","Header","Gets a header from the Exchange."],["hl7terser","HL7 Terser","Get the value of a HL7 message field specified by terse location specification syntax."],["joor","jOOR","Evaluates a jOOR (Java compiled once at runtime) expression."],["jq","JQ","Evaluates a JQ expression against a JSON message body."],["js","JavaScript","Evaluates a JavaScript expression."],["jsonpath","JSONPath","Evaluates a JSONPath expression against a JSON message body."],["language","Language","Evaluates a custom language."],["method","Bean Method","Calls a Java bean method."],["mvel","MVEL","Evaluates a MVEL template."],["ognl","OGNL","Evaluates an OGNL expression (Apache Commons OGNL)."],["python","Python","Evaluates a Python expression."],["ref","Ref","Uses an existing expression from the registry."],["simple","Simple","Evaluates a Camel simple expression."],["spel","SpEL","Evaluates a Spring expression (SpEL)."],["tokenize","Tokenize","Tokenize text payloads using delimiter patterns."],["xpath","XPath","Evaluates an XPath expression against an XML payload."],["xquery","XQuery","Evaluates an XQuery expressions against an XML payload."],["xtokenize","XML Tokenize","Tokenize XML payloads."]],t.CamelLanguageMetadata=[new e("xpath","XPathExpression","XPath","Evaluates an XPath expression against an XML payload.","language,core,xml",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("documentType","Document Type","Name of class for document type The default value is org.w3c.dom.Document","string","","",!1,!1,!1,!1,"advanced",""),new i("resultType","Result Type","Sets the class name of the result type (type from output) The default result type is NodeSet","string","NUMBER, STRING, BOOLEAN, NODESET, NODE","NODESET",!1,!1,!1,!1,"",""),new i("saxon","Saxon","Whether to use Saxon.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("factoryRef","Factory Ref","References to a custom XPathFactory to lookup in the registry","string","","",!1,!1,!1,!1,"advanced",""),new i("objectModel","Object Model","The XPath object model to use","string","","",!1,!1,!1,!1,"advanced",""),new i("logNamespaces","Log Namespaces","Whether to log namespaces which can assist during troubleshooting","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("threadSafety","Thread Safety","Whether to enable thread-safety for the returned result of the xpath expression. This applies to when using NODESET as the result type, and the returned set has multiple elements. In this situation there can be thread-safety issues if you process the NODESET concurrently such as from a Camel Splitter EIP in parallel processing mode. This option prevents concurrency issues by doing defensive copies of the nodes. It is recommended to turn this option on if you are using camel-saxon or Saxon in your application. Saxon has thread-safety issues which can be prevented by turning this option on.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("preCompile","Pre Compile","Whether to enable pre-compiling the xpath expression during initialization phase. pre-compile is enabled by default. This can be used to turn off, for example in cases the compilation phase is desired at the starting phase, such as if the application is ahead of time compiled (for example with camel-quarkus) which would then load the xpath factory of the built operating system, and not a JVM runtime.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("namespace","Namespace","Injects the XML Namespaces of prefix - uri mappings","PropertyDefinition","","",!1,!1,!0,!0,"common",""),new i("headerName","Header Name","Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("propertyName","Property Name","Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("jq","JqExpression","JQ","Evaluates a JQ expression against a JSON message body.","language,json",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("headerName","Header Name","Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("propertyName","Property Name","Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("datasonnet","DatasonnetExpression","DataSonnet","To use DataSonnet scripts for message transformations.","language,transformation",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("bodyMediaType","Body Media Type","The String representation of the message's body MediaType","string","","",!1,!1,!1,!1,"",""),new i("outputMediaType","Output Media Type","The String representation of the MediaType to output","string","","",!1,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("constant","ConstantExpression","Constant","A fixed value set only once during the route startup.","language,core",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("groovy","GroovyExpression","Groovy","Evaluates a Groovy script.","language,script",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("simple","SimpleExpression","Simple","Evaluates a Camel simple expression.","language,core,java",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("tokenize","TokenizerExpression","Tokenize","Tokenize text payloads using delimiter patterns.","language,core",[new i("token","Token","The (start) token to use as tokenizer, for example you can use the new line token. You can use simple language as the token to support dynamic tokens.","string","","",!0,!1,!1,!1,"",""),new i("endToken","End Token","The end token to use as tokenizer if using start/end token pairs. You can use simple language as the token to support dynamic tokens.","string","","",!1,!1,!1,!1,"",""),new i("inheritNamespaceTagName","Inherit Namespace Tag Name","To inherit namespaces from a root/parent tag name when using XML You can use simple language as the tag name to support dynamic names.","string","","",!1,!1,!1,!1,"advanced",""),new i("regex","Regex","If the token is a regular expression pattern. The default value is false","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("xml","Xml","Whether the input is XML messages. This option must be set to true if working with XML payloads.","boolean","","false",!1,!1,!1,!1,"",""),new i("includeTokens","Include Tokens","Whether to include the tokens in the parts when using pairs. When including tokens then the endToken property must also be configured (to use pair mode). The default value is false","boolean","","false",!1,!1,!1,!1,"",""),new i("group","Group","To group N parts together, for example to split big files into chunks of 1000 lines. You can use simple language as the group to support dynamic group sizes.","string","","",!1,!1,!1,!1,"advanced",""),new i("groupDelimiter","Group Delimiter","Sets the delimiter to use when grouping. If this has not been set then token will be used as the delimiter.","string","","",!1,!1,!1,!1,"advanced",""),new i("skipFirst","Skip First","To skip the very first element","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("headerName","Header Name","Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("propertyName","Property Name","Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("mvel","MvelExpression","MVEL","Evaluates a MVEL template.","language,java",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("ref","RefExpression","Ref","Uses an existing expression from the registry.","language,core",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("spel","SpELExpression","SpEL","Evaluates a Spring expression (SpEL).","language,spring",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("method","MethodCallExpression","Bean Method","Calls a Java bean method.","language,core,java",[new i("ref","Ref","Reference to an existing bean (bean id) to lookup in the registry","string","","",!1,!1,!1,!1,"",""),new i("method","Method","Name of method to call","string","","",!1,!1,!1,!1,"",""),new i("beanType","Bean Type","Class name (fully qualified) of the bean to use Will lookup in registry and if there is a single instance of the same type, then the existing bean is used, otherwise a new bean is created (requires a default no-arg constructor).","string","","",!1,!1,!1,!1,"",""),new i("scope","Scope","Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance multiple times while processing the request. The bean does not have to be thread-safe as the instance is only called from the same request. When using prototype scope, then the bean will be looked up or created per call. However in case of lookup then this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act as either singleton or prototype scope. So when using prototype scope then this depends on the bean registry implementation.","string","Singleton, Request, Prototype","Singleton",!1,!1,!1,!1,"advanced",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("language","LanguageExpression","Language","Evaluates a custom language.","language,core",[new i("language","Language","The name of the language to use","string","","",!0,!1,!1,!1,"",""),new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("joor","JoorExpression","jOOR","Evaluates a jOOR (Java compiled once at runtime) expression.","language",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("preCompile","Pre Compile","Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the expression is reloaded and compiled on each evaluation.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("singleQuotes","Single Quotes","Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with strings inside strings.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("exchangeProperty","ExchangePropertyExpression","ExchangeProperty","Gets a property from the Exchange.","language,core",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("js","JavaScriptExpression","JavaScript","Evaluates a JavaScript expression.","language,javascript",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("ognl","OgnlExpression","OGNL","Evaluates an OGNL expression (Apache Commons OGNL).","language,java",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("python","PythonExpression","Python","Evaluates a Python expression.","language,python",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("xquery","XQueryExpression","XQuery","Evaluates an XQuery expressions against an XML payload.","language,xml",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("type","Type","Sets the class name of the result type (type from output) The default result type is NodeSet","string","","",!1,!1,!1,!1,"",""),new i("configurationRef","Configuration Ref","Reference to a saxon configuration instance in the registry to use for xquery (requires camel-saxon). This may be needed to add custom functions to a saxon configuration, so these custom functions can be used in xquery expressions.","string","","",!1,!1,!1,!1,"advanced",""),new i("namespace","Namespace","Injects the XML Namespaces of prefix - uri mappings","PropertyDefinition","","",!1,!1,!0,!0,"common",""),new i("headerName","Header Name","Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("propertyName","Property Name","Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("header","HeaderExpression","Header","Gets a header from the Exchange.","language,core",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("jsonpath","JsonPathExpression","JSONPath","Evaluates a JSONPath expression against a JSON message body.","language,json",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("suppressExceptions","Suppress Exceptions","Whether to suppress exceptions such as PathNotFoundException.","boolean","","false",!1,!1,!1,!1,"",""),new i("allowSimple","Allow Simple","Whether to allow in inlined Simple exceptions in the JSONPath expression","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("allowEasyPredicate","Allow Easy Predicate","Whether to allow using the easy predicate parser to pre-parse predicates.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("writeAsString","Write As String","Whether to write the output of each row/element as a JSON String value instead of a Map/POJO value.","boolean","","false",!1,!1,!1,!1,"",""),new i("unpackArray","Unpack Array","Whether to unpack a single element json-array into an object.","boolean","","false",!1,!1,!1,!1,"",""),new i("option","Option","To configure additional options on JSONPath. Multiple values can be separated by comma.","string","DEFAULT_PATH_LEAF_TO_NULL, ALWAYS_RETURN_LIST, AS_PATH_LIST, SUPPRESS_EXCEPTIONS, REQUIRE_PROPERTIES","",!1,!1,!1,!1,"advanced",""),new i("headerName","Header Name","Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("propertyName","Property Name","Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("hl7terser","Hl7TerserExpression","HL7 Terser","Get the value of a HL7 message field specified by terse location specification syntax.","language,hl7",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("headerName","Header Name","Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("propertyName","Property Name","Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("csimple","CSimpleExpression","CSimple","Evaluate a compiled simple expression.","language,java",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("resultType","Result Type","Sets the class of the result type (type from output)","string","","",!1,!1,!1,!1,"",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("xtokenize","XMLTokenizerExpression","XML Tokenize","Tokenize XML payloads.","language,core,xml",[new i("expression","Expression","The expression value in your chosen language syntax","string","","",!0,!1,!1,!1,"",""),new i("mode","Mode","The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the extracted token (default) w - wrapping the extracted token in its ancestor context u - unwrapping the extracted token to its child content t - extracting the text content of the specified element","string","i, w, u, t","i",!1,!1,!1,!1,"",""),new i("group","Group","To group N parts together","number","","",!1,!1,!1,!1,"",""),new i("namespace","Namespace","Injects the XML Namespaces of prefix - uri mappings","PropertyDefinition","","",!1,!1,!0,!0,"common",""),new i("headerName","Header Name","Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("propertyName","Property Name","Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are set.","string","","",!1,!1,!1,!1,"advanced",""),new i("trim","Trim","Whether to trim the value to remove leading and trailing whitespaces and line breaks","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")])],t.CamelModelMetadata=[new e("setProperty","SetPropertyDefinition","Set Property","Sets a named property on the message exchange","eip,transformation",[new i("name","Name","Name of exchange property to set a new value. The simple language can be used to define a dynamic evaluated exchange property name to be used. Otherwise a constant name will be used.","string","","",!0,!1,!1,!1,"",""),new i("expression","Expression","Expression to return the value of the message exchange property","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("bearerToken","BearerTokenDefinition","Bearer Token","Rest security bearer token authentication definition","rest,security,configuration",[new i("key","Key","Key used to refer to this security definition","string","","",!0,!1,!1,!1,"",""),new i("format","Format","A hint to the client to identify how the bearer token is formatted.","string","","",!1,!1,!1,!1,"",""),new i("description","Description","A short description for security scheme.","string","","",!1,!1,!1,!1,"","")]),new e("from","FromDefinition","From","Act as a message source as input to a route","eip,routing",[new i("uri","Uri","Sets the URI of the endpoint to use","string","","",!0,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("parameters","parameters","parameters","object","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("responseMessage","ResponseMessageDefinition","Response Message","To specify the rest operation response messages.","rest",[new i("code","Code","The response code such as a HTTP status code","string","","200",!1,!1,!1,!1,"",""),new i("message","Message","The response message (description)","string","","",!0,!1,!1,!1,"",""),new i("responseModel","Response Model","The response model","string","","",!1,!1,!1,!1,"",""),new i("header","Header","Adds a response header","ResponseHeaderDefinition","","",!1,!1,!0,!0,"",""),new i("examples","Examples","Examples of response messages","RestPropertyDefinition","","",!1,!1,!0,!0,"","")]),new e("refErrorHandler","RefErrorHandlerDefinition","Ref Error Handler","References to an existing or custom error handler.","configuration,error",[new i("ref","Ref","References to an existing or custom error handler.","string","","",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("filter","FilterDefinition","Filter","Filter out messages based using a predicate","eip,routing",[new i("expression","Expression","Expression to determine if the message should be filtered or not. If the expression returns an empty value or false then the message is filtered (dropped), otherwise the message is continued being routed.","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("statusPropertyName","Status Property Name","Name of exchange property to use for storing the status of the filtering. Setting this allows to know if the filter predicate evaluated as true or false.","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("when","WhenDefinition","When","Triggers a route when the expression evaluates to true","eip,routing",[new i("expression","Expression","Expression used as the predicate to evaluate whether this when should trigger and route the message or not.","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("loop","LoopDefinition","Loop","Processes a message multiple times","eip,routing",[new i("expression","Expression","Expression to define how many times we should loop. Notice the expression is only evaluated once, and should return a number as how many times to loop. A value of zero or negative means no looping. The loop is like a for-loop fashion, if you want a while loop, then the dynamic router may be a better choice.","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("copy","Copy","If the copy attribute is true, a copy of the input Exchange is used for each iteration. That means each iteration will start from a copy of the same message. By default loop will loop the same exchange all over, so each iteration may have different message content.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("doWhile","Do While","Enables the while loop that loops until the predicate evaluates to false or null.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("breakOnShutdown","Break On Shutdown","If the breakOnShutdown attribute is true, then the loop will not iterate until it reaches the end when Camel is shut down.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("resumable","ResumableDefinition","Resumable","Resume EIP to support resuming processing from last known offset.","eip,routing",[new i("resumeStrategy","Resume Strategy","Sets the resume strategy to use","string","","",!0,!1,!1,!1,"",""),new i("intermittent","Intermittent","Sets whether the offsets will be intermittently present or whether they must be present in every exchange","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("threadPoolProfile","ThreadPoolProfileDefinition","Thread Pool Profile","To configure thread pools","configuration",[new i("defaultProfile","Default Profile","Whether this profile is the default thread pool profile","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("poolSize","Pool Size","Sets the core pool size","number","","",!1,!1,!1,!1,"",""),new i("maxPoolSize","Max Pool Size","Sets the maximum pool size","number","","",!1,!1,!1,!1,"",""),new i("keepAliveTime","Keep Alive Time","Sets the keep alive time for idle threads in the pool","number","","",!1,!1,!1,!1,"",""),new i("timeUnit","Time Unit","Sets the time unit to use for keep alive time By default SECONDS is used.","string","NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS","",!1,!1,!1,!1,"advanced",""),new i("maxQueueSize","Max Queue Size","Sets the maximum number of tasks in the work queue. Use -1 or Integer.MAX_VALUE for an unbounded queue","number","","",!1,!1,!1,!1,"",""),new i("allowCoreThreadTimeOut","Allow Core Thread Time Out","Whether idle core threads is allowed to timeout and therefore can shrink the pool size below the core pool size Is by default true","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("rejectedPolicy","Rejected Policy","Sets the handler for tasks which cannot be executed by the thread pool.","string","Abort, CallerRuns, DiscardOldest, Discard","",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("otherwise","OtherwiseDefinition","Otherwise","Route to be executed when all other choices evaluate to false","eip,routing",[new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("removeProperties","RemovePropertiesDefinition","Remove Properties","Removes message exchange properties whose name matches a specified pattern","eip,transformation",[new i("pattern","Pattern","Name or pattern of properties to remove. The pattern is matched in the following order: 1 = exact match 2 = wildcard (pattern ends with a and the name starts with the pattern) 3 = regular expression (all of above is case in-sensitive).","string","","",!0,!1,!1,!1,"",""),new i("excludePattern","Exclude Pattern","Name or pattern of properties to not remove. The pattern is matched in the following order: 1 = exact match 2 = wildcard (pattern ends with a and the name starts with the pattern) 3 = regular expression (all of above is case in-sensitive).","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("restContextRef","RestContextRefDefinition","Rest Context Ref","To refer to an XML file with rest services defined using the rest-dsl","configuration,rest",[new i("ref","Ref","Reference to the rest-dsl","string","","",!0,!1,!1,!1,"","")]),new e("restConfiguration","RestConfigurationDefinition","Rest Configuration","To configure rest","rest",[new i("component","Component","The Camel Rest component to use for the REST transport (consumer), such as netty-http, jetty, servlet, undertow. If no component has been explicit configured, then Camel will lookup if there is a Camel component that integrates with the Rest DSL, or if a org.apache.camel.spi.RestConsumerFactory is registered in the registry. If either one is found, then that is being used.","string","platform-http, servlet, jetty, undertow, netty-http, coap","",!1,!1,!1,!1,"",""),new i("apiComponent","Api Component","The name of the Camel component to use as the REST API. If no API Component has been explicit configured, then Camel will lookup if there is a Camel component responsible for servicing and generating the REST API documentation, or if a org.apache.camel.spi.RestApiProcessorFactory is registered in the registry. If either one is found, then that is being used.","string","openapi, swagger","",!1,!1,!1,!1,"consumer,advanced",""),new i("producerComponent","Producer Component","Sets the name of the Camel component to use as the REST producer","string","vertx-http, http, undertow, netty-http","",!1,!1,!1,!1,"producer,advanced",""),new i("scheme","Scheme","The scheme to use for exposing the REST service. Usually http or https is supported. The default value is http","string","","",!1,!1,!1,!1,"",""),new i("host","Host","The hostname to use for exposing the REST service.","string","","",!1,!1,!1,!1,"",""),new i("port","Port","The port number to use for exposing the REST service. Notice if you use servlet component then the port number configured here does not apply, as the port number in use is the actual port number the servlet component is using. eg if using Apache Tomcat its the tomcat http port, if using Apache Karaf its the HTTP service in Karaf that uses port 8181 by default etc. Though in those situations setting the port number here, allows tooling and JMX to know the port number, so its recommended to set the port number to the number that the servlet engine uses.","string","","",!1,!1,!1,!1,"",""),new i("apiHost","Api Host","To use a specific hostname for the API documentation (such as swagger or openapi) This can be used to override the generated host with this configured hostname","string","","",!1,!1,!1,!1,"consumer,advanced",""),new i("useXForwardHeaders","Use XForward Headers","Whether to use X-Forward headers for Host and related setting. The default value is true.","boolean","","true",!1,!1,!1,!1,"consumer,advanced",""),new i("producerApiDoc","Producer Api Doc","Sets the location of the api document the REST producer will use to validate the REST uri and query parameters are valid accordingly to the api document. The location of the api document is loaded from classpath by default, but you can use file: or http: to refer to resources to load from file or http url.","string","","",!1,!1,!1,!1,"producer,advanced",""),new i("contextPath","Context Path","Sets a leading context-path the REST services will be using. This can be used when using components such as camel-servlet where the deployed web application is deployed using a context-path. Or for components such as camel-jetty or camel-netty-http that includes a HTTP server.","string","","",!1,!1,!1,!1,"consumer",""),new i("apiContextPath","Api Context Path","Sets a leading API context-path the REST API services will be using. This can be used when using components such as camel-servlet where the deployed web application is deployed using a context-path.","string","","",!1,!1,!1,!1,"consumer",""),new i("apiContextRouteId","Api Context Route Id","Sets the route id to use for the route that services the REST API. The route will by default use an auto assigned route id.","string","","",!1,!1,!1,!1,"consumer,advanced",""),new i("apiVendorExtension","Api Vendor Extension","Whether vendor extension is enabled in the Rest APIs. If enabled then Camel will include additional information as vendor extension (eg keys starting with x-) such as route ids, class names etc. Not all 3rd party API gateways and tools supports vendor-extensions when importing your API docs.","boolean","","false",!1,!1,!1,!1,"consumer,advanced",""),new i("hostNameResolver","Host Name Resolver","If no hostname has been explicit configured, then this resolver is used to compute the hostname the REST service will be using.","string","allLocalIp, localHostName, localIp","allLocalIp",!1,!1,!1,!1,"consumer,advanced",""),new i("bindingMode","Binding Mode","Sets the binding mode to use. The default value is off","string","off, auto, json, xml, json_xml","off",!1,!1,!1,!1,"",""),new i("skipBindingOnErrorCode","Skip Binding On Error Code","Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("clientRequestValidation","Client Request Validation","Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP Status 400 if validation error.","boolean","","false",!1,!1,!1,!1,"consumer,advanced",""),new i("enableCors","enableCors","enableCors","boolean","","",!1,!1,!1,!1,"",""),new i("inlineRoutes","Inline Routes","Inline routes in rest-dsl which are linked using direct endpoints. By default, each service in Rest DSL is an individual route, meaning that you would have at least two routes per service (rest-dsl, and the route linked from rest-dsl). Enabling this allows Camel to optimize and inline this as a single route, however this requires to use direct endpoints, which must be unique per service. This option is default false.","boolean","","false",!1,!1,!1,!1,"consumer",""),new i("jsonDataFormat","Json Data Format","Name of specific json data format to use. By default jackson will be used. Important: This option is only for setting a custom name of the data format, not to refer to an existing data format instance.","string","","",!1,!1,!1,!1,"advanced",""),new i("xmlDataFormat","Xml Data Format","Name of specific XML data format to use. By default jaxb will be used. Important: This option is only for setting a custom name of the data format, not to refer to an existing data format instance.","string","","",!1,!1,!1,!1,"advanced",""),new i("componentProperty","Component Property","Allows to configure as many additional properties for the rest component in use.","RestPropertyDefinition","","",!1,!1,!0,!0,"advanced",""),new i("endpointProperty","Endpoint Property","Allows to configure as many additional properties for the rest endpoint in use.","RestPropertyDefinition","","",!1,!1,!0,!0,"advanced",""),new i("consumerProperty","Consumer Property","Allows to configure as many additional properties for the rest consumer in use.","RestPropertyDefinition","","",!1,!1,!0,!0,"consumer,advanced",""),new i("dataFormatProperty","Data Format Property","Allows to configure as many additional properties for the data formats in use. For example set property prettyPrint to true to have json outputted in pretty mode. The properties can be prefixed to denote the option is only for either JSON or XML and for either the IN or the OUT. The prefixes are: json.in. json.out. xml.in. xml.out. For example a key with value xml.out.mustBeJAXBElement is only for the XML data format for the outgoing. A key without a prefix is a common key for all situations.","RestPropertyDefinition","","",!1,!1,!0,!0,"advanced",""),new i("apiProperty","Api Property","Allows to configure as many additional properties for the api documentation. For example set property api.title to my cool stuff","RestPropertyDefinition","","",!1,!1,!0,!0,"consumer,advanced",""),new i("corsHeaders","Cors Headers","Allows to configure custom CORS headers.","RestPropertyDefinition","","",!1,!1,!0,!0,"consumer,advanced","")]),new e("saga","SagaDefinition","Saga","Enables Sagas on the route","eip,routing",[new i("sagaService","Saga Service","Refers to the id to lookup in the registry for the specific CamelSagaService to use.","string","","",!1,!1,!1,!1,"advanced",""),new i("propagation","Propagation","Set the Saga propagation mode (REQUIRED, REQUIRES_NEW, MANDATORY, SUPPORTS, NOT_SUPPORTED, NEVER).","string","REQUIRED, REQUIRES_NEW, MANDATORY, SUPPORTS, NOT_SUPPORTED, NEVER","REQUIRED",!1,!1,!1,!1,"advanced",""),new i("completionMode","Completion Mode","Determine how the saga should be considered complete. When set to AUTO, the saga is completed when the exchange that initiates the saga is processed successfully, or compensated when it completes exceptionally. When set to MANUAL, the user must complete or compensate the saga using the saga:complete or saga:compensate endpoints.","string","AUTO, MANUAL","AUTO",!1,!1,!1,!1,"advanced",""),new i("timeout","Timeout","Set the maximum amount of time for the Saga. After the timeout is expired, the saga will be compensated automatically (unless a different decision has been taken in the meantime).","string","","",!1,!1,!1,!1,"",""),new i("compensation","Compensation","The compensation endpoint URI that must be called to compensate all changes done in the route. The route corresponding to the compensation URI must perform compensation and complete without error. If errors occur during compensation, the saga service may call again the compensation URI to retry.","string","","",!1,!1,!1,!1,"",""),new i("completion","Completion","The completion endpoint URI that will be called when the Saga is completed successfully. The route corresponding to the completion URI must perform completion tasks and terminate without error. If errors occur during completion, the saga service may call again the completion URI to retry.","string","","",!1,!1,!1,!1,"",""),new i("option","Option","Allows to save properties of the current exchange in order to re-use them in a compensation/completion callback route. Options are usually helpful e.g. to store and retrieve identifiers of objects that should be deleted in compensating actions. Option values will be transformed into input headers of the compensation/completion exchange.","PropertyExpressionDefinition","","",!1,!1,!0,!0,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("removeHeaders","RemoveHeadersDefinition","Remove Headers","Removes message headers whose name matches a specified pattern","eip,transformation",[new i("pattern","Pattern","Name or pattern of headers to remove. The pattern is matched in the following order: 1 = exact match 2 = wildcard (pattern ends with a and the name starts with the pattern) 3 = regular expression (all of above is case in-sensitive).","string","","",!0,!1,!1,!1,"",""),new i("excludePattern","Exclude Pattern","Name or patter of headers to not remove. The pattern is matched in the following order: 1 = exact match 2 = wildcard (pattern ends with a and the name starts with the pattern) 3 = regular expression (all of above is case in-sensitive).","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("setExchangePattern","SetExchangePatternDefinition","Set Exchange Pattern","Sets the exchange pattern on the message exchange","configuration",[new i("pattern","Pattern","Sets the new exchange pattern of the Exchange to be used from this point forward","string","InOnly, InOut, InOptionalOut","",!0,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("route","RouteDefinition","Route","A Camel route","configuration",[new i("group","Group","The group that this route belongs to; could be the name of the RouteBuilder class or be explicitly configured in the XML. May be null.","string","","",!1,!1,!1,!1,"",""),new i("nodePrefixId","Node Prefix Id","Sets a prefix to use for all node ids (not route id).","string","","",!1,!1,!1,!1,"",""),new i("routeConfigurationId","Route Configuration Id","The route configuration id or pattern this route should use for configuration. Multiple id/pattern can be separated by comma.","string","","",!1,!1,!1,!1,"",""),new i("precondition","Precondition","The predicate of the precondition in simple language to evaluate in order to determine if this route should be included or not.","string","","",!1,!1,!1,!1,"",""),new i("trace","Trace","Whether tracing is enabled on this route.","boolean","","",!1,!1,!1,!1,"",""),new i("messageHistory","Message History","Whether message history is enabled on this route.","boolean","","",!1,!1,!1,!1,"",""),new i("logMask","Log Mask","Whether security mask for Logging is enabled on this route.","boolean","","false",!1,!1,!1,!1,"",""),new i("autoStartup","Auto Startup","Whether to auto start this route","boolean","","true",!1,!1,!1,!1,"",""),new i("startupOrder","Startup Order","To configure the ordering of the routes being started","number","","",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("from","from","from","FromDefinition","","",!1,!1,!1,!0,"",""),new i("routePolicy","routePolicy","routePolicy","string","","",!1,!1,!1,!1,"",""),new i("streamCaching","streamCaching","streamCaching","boolean","","",!1,!1,!1,!1,"","")]),new e("faultToleranceConfiguration","FaultToleranceConfigurationDefinition","Fault Tolerance Configuration","MicroProfile Fault Tolerance Circuit Breaker EIP configuration","configuration,eip",[new i("circuitBreaker","Circuit Breaker","Refers to an existing io.smallrye.faulttolerance.core.circuit.breaker.CircuitBreaker instance to lookup and use from the registry. When using this, then any other circuit breaker options are not in use.","string","","",!1,!1,!1,!1,"advanced",""),new i("delay","Delay","Control how long the circuit breaker stays open. The default is 5 seconds.","string","","5000",!1,!1,!1,!1,"",""),new i("successThreshold","Success Threshold","Controls the number of trial calls which are allowed when the circuit breaker is half-open","number","","1",!1,!1,!1,!1,"",""),new i("requestVolumeThreshold","Request Volume Threshold","Controls the size of the rolling window used when the circuit breaker is closed","number","","20",!1,!1,!1,!1,"",""),new i("failureRatio","Failure Ratio","Configures the failure rate threshold in percentage. If the failure rate is equal or greater than the threshold the CircuitBreaker transitions to open and starts short-circuiting calls. The threshold must be greater than 0 and not greater than 100. Default value is 50 percentage.","number","","50",!1,!1,!1,!1,"",""),new i("timeoutEnabled","Timeout Enabled","Whether timeout is enabled or not on the circuit breaker. Default is false.","boolean","","false",!1,!1,!1,!1,"",""),new i("timeoutDuration","Timeout Duration","Configures the thread execution timeout. Default value is 1 second.","string","","1000",!1,!1,!1,!1,"",""),new i("timeoutPoolSize","Timeout Pool Size","Configures the pool size of the thread pool when timeout is enabled. Default value is 10.","number","","10",!1,!1,!1,!1,"advanced",""),new i("timeoutScheduledExecutorService","Timeout Scheduled Executor Service","References to a custom thread pool to use when timeout is enabled","string","","",!1,!1,!1,!1,"advanced",""),new i("bulkheadEnabled","Bulkhead Enabled","Whether bulkhead is enabled or not on the circuit breaker. Default is false.","boolean","","false",!1,!1,!1,!1,"",""),new i("bulkheadMaxConcurrentCalls","Bulkhead Max Concurrent Calls","Configures the max amount of concurrent calls the bulkhead will support.","number","","10",!1,!1,!1,!1,"advanced",""),new i("bulkheadWaitingTaskQueue","Bulkhead Waiting Task Queue","Configures the task queue size for holding waiting tasks to be processed by the bulkhead.","number","","10",!1,!1,!1,!1,"advanced",""),new i("bulkheadExecutorService","Bulkhead Executor Service","References to a custom thread pool to use when bulkhead is enabled.","string","","",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("expression","ExpressionDefinition","Expression","A useful base class for an expression","language",[new i("constant","constant","constant","ConstantExpression","","",!1,!1,!1,!0,"",""),new i("csimple","csimple","csimple","CSimpleExpression","","",!1,!1,!1,!0,"",""),new i("datasonnet","datasonnet","datasonnet","DatasonnetExpression","","",!1,!1,!1,!0,"",""),new i("exchangeProperty","exchangeProperty","exchangeProperty","ExchangePropertyExpression","","",!1,!1,!1,!0,"",""),new i("groovy","groovy","groovy","GroovyExpression","","",!1,!1,!1,!0,"",""),new i("header","header","header","HeaderExpression","","",!1,!1,!1,!0,"",""),new i("hl7terser","hl7terser","hl7terser","Hl7TerserExpression","","",!1,!1,!1,!0,"",""),new i("joor","joor","joor","JoorExpression","","",!1,!1,!1,!0,"",""),new i("jq","jq","jq","JqExpression","","",!1,!1,!1,!0,"",""),new i("js","js","js","JavaScriptExpression","","",!1,!1,!1,!0,"",""),new i("jsonpath","jsonpath","jsonpath","JsonPathExpression","","",!1,!1,!1,!0,"",""),new i("language","language","language","LanguageExpression","","",!1,!1,!1,!0,"",""),new i("method","method","method","MethodCallExpression","","",!1,!1,!1,!0,"",""),new i("mvel","mvel","mvel","MvelExpression","","",!1,!1,!1,!0,"",""),new i("ognl","ognl","ognl","OgnlExpression","","",!1,!1,!1,!0,"",""),new i("python","python","python","PythonExpression","","",!1,!1,!1,!0,"",""),new i("ref","ref","ref","RefExpression","","",!1,!1,!1,!0,"",""),new i("simple","simple","simple","SimpleExpression","","",!1,!1,!1,!0,"",""),new i("spel","spel","spel","SpELExpression","","",!1,!1,!1,!0,"",""),new i("tokenize","tokenize","tokenize","TokenizerExpression","","",!1,!1,!1,!0,"",""),new i("xpath","xpath","xpath","XPathExpression","","",!1,!1,!1,!0,"",""),new i("xquery","xquery","xquery","XQueryExpression","","",!1,!1,!1,!0,"",""),new i("xtokenize","xtokenize","xtokenize","XMLTokenizerExpression","","",!1,!1,!1,!0,"","")]),new e("intercept","InterceptDefinition","Intercept","Intercepts a message at each step in the route","configuration",[new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("get","GetDefinition","Get","Rest GET command","rest",[new i("path","Path","The path mapping URIs of this REST operation such as /{id}.","string","","",!1,!1,!1,!1,"",""),new i("to","To","The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.","string","","",!0,!1,!1,!1,"",""),new i("consumes","Consumes","To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("produces","Produces","To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("type","Type","Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("outType","Out Type","Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("bindingMode","Binding Mode","Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off","string","off, auto, json, xml, json_xml","off",!1,!1,!1,!1,"",""),new i("skipBindingOnErrorCode","Skip Binding On Error Code","Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("clientRequestValidation","Client Request Validation","Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP Status 400 if validation error.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("enableCors","enableCors","enableCors","boolean","","",!1,!1,!1,!1,"",""),new i("apiDocs","Api Docs","Whether to include or exclude this rest operation in API documentation. The default value is true.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("deprecated","Deprecated","Marks this rest operation as deprecated in OpenApi documentation.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("routeId","Route Id","Sets the id of the route","string","","",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("param","param","param","ParamDefinition","","",!1,!1,!0,!0,"",""),new i("responseMessage","responseMessage","responseMessage","ResponseMessageDefinition","","",!1,!1,!0,!0,"",""),new i("security","security","security","SecurityDefinition","","",!1,!1,!0,!0,"","")]),new e("restProperty","RestPropertyDefinition","Rest Property","A key value pair","rest",[new i("key","Key","Property key","string","","",!0,!1,!1,!1,"",""),new i("value","Value","Property value","string","","",!0,!1,!1,!1,"","")]),new e("enrich","EnrichDefinition","Enrich","Enriches a message with data from a secondary resource","eip,transformation",[new i("expression","Expression","Expression that computes the endpoint uri to use as the resource endpoint to enrich from","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("aggregationStrategy","Aggregation Strategy","Sets the AggregationStrategy to be used to merge the reply from the external service, into a single outgoing message. By default Camel will use the reply from the external service as outgoing message.","string","","",!1,!1,!1,!1,"","org.apache.camel.AggregationStrategy"),new i("aggregationStrategyMethodName","Aggregation Strategy Method Name","This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregationStrategyMethodAllowNull","Aggregation Strategy Method Allow Null","If this option is false then the aggregate method is not used if there was no data to enrich. If this option is true then null values is used as the oldExchange (when no data to enrich), when using POJOs as the AggregationStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregateOnException","Aggregate On Exception","If this option is false then the aggregate method is not used if there was an exception thrown while trying to retrieve the data to enrich from the resource. Setting this option to true allows end users to control what to do if there was an exception in the aggregate method. For example to suppress the exception or set a custom message body etc.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("shareUnitOfWork","Share Unit Of Work","Shares the org.apache.camel.spi.UnitOfWork with the parent and the resource exchange. Enrich will by default not share unit of work between the parent exchange and the resource exchange. This means the resource exchange has its own individual unit of work.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("cacheSize","Cache Size","Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producer when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped and discarded after use. This reduces memory usage as otherwise producers/endpoints are stored in memory in the caches. However if there are a high degree of dynamic endpoints that have been used before, then it can benefit to use the cache to reuse both producers and endpoints and therefore the cache size can be set accordingly or rely on the default size (1000). If there is a mix of unique and used before dynamic endpoints, then setting a reasonable cache size can help reduce memory usage to avoid storing too many non frequent used producers.","number","","",!1,!1,!1,!1,"advanced",""),new i("ignoreInvalidEndpoint","Ignore Invalid Endpoint","Ignore the invalidate endpoint exception when try to create a producer with that endpoint","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("allowOptimisedComponents","Allow Optimised Components","Whether to allow components to optimise enricher if they are org.apache.camel.spi.SendDynamicAware .","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("onCompletion","OnCompletionDefinition","On Completion","Route to be executed when normal route processing completes","configuration",[new i("mode","Mode","Sets the on completion mode. The default value is AfterConsumer","string","AfterConsumer, BeforeConsumer","AfterConsumer",!1,!1,!1,!1,"advanced",""),new i("onCompleteOnly","On Complete Only","Will only synchronize when the org.apache.camel.Exchange completed successfully (no errors).","boolean","","false",!1,!1,!1,!1,"",""),new i("onFailureOnly","On Failure Only","Will only synchronize when the org.apache.camel.Exchange ended with failure (exception or FAULT message).","boolean","","false",!1,!1,!1,!1,"",""),new i("parallelProcessing","Parallel Processing","If enabled then the on completion process will run asynchronously by a separate thread from a thread pool. By default this is false, meaning the on completion process will run synchronously using the same caller thread as from the route.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("executorService","Executor Service","To use a custom Thread Pool to be used for parallel processing. Notice if you set this option, then parallel processing is automatic implied, and you do not have to enable that option as well.","string","","",!1,!1,!1,!1,"advanced",""),new i("useOriginalMessage","Use Original Message","Will use the original input message body when an org.apache.camel.Exchange for this on completion. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("onWhen","On When","Sets an additional predicate that should be true before the onCompletion is triggered. To be used for fine grained controlling whether a completion callback should be invoked or not","WhenDefinition","","",!1,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("value","ValueDefinition","Value","A single value","configuration",[new i("value","Value","Property value","string","","",!0,!1,!1,!1,"","")]),new e("kamelet","KameletDefinition","Kamelet","To call Kamelets in special situations","eip,routing",[new i("name","Name","Name of the Kamelet (templateId/routeId) to call. Options for the kamelet can be specified using uri syntax, eg mynamecount=4&type=gold.","string","","",!0,!1,!1,!1,"",""),new i("parameters","parameters","parameters","object","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("globalOption","GlobalOptionDefinition","Global Option","Models a string key/value pair for configuring some global options on a Camel context such as max debug log length.","configuration",[new i("key","Key","Global option key","string","","",!0,!1,!1,!1,"",""),new i("value","Value","Global option value","string","","",!0,!1,!1,!1,"","")]),new e("restBinding","RestBindingDefinition","Rest Binding","To configure rest binding","rest",[new i("consumes","Consumes","To define the content type what the REST service consumes (accept as input), such as application/xml or application/json","string","","",!1,!1,!1,!1,"",""),new i("produces","Produces","To define the content type what the REST service produces (uses for output), such as application/xml or application/json","string","","",!1,!1,!1,!1,"",""),new i("bindingMode","Binding Mode","Sets the binding mode to use. The default value is off","string","off, auto, json, xml, json_xml","off",!1,!1,!1,!1,"",""),new i("type","Type","Sets the class name to use for binding from input to POJO for the incoming data The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("outType","Out Type","Sets the class name to use for binding from POJO to output for the outgoing data The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("skipBindingOnErrorCode","Skip Binding On Error Code","Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("clientRequestValidation","Client Request Validation","Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP Status 400 if validation error.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("enableCors","enableCors","enableCors","boolean","","",!1,!1,!1,!1,"",""),new i("component","Component","Sets the component name that this definition will apply to","string","","",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("doFinally","FinallyDefinition","Do Finally","Path traversed when a try, catch, finally block exits","error",[new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("responseHeader","ResponseHeaderDefinition","Response Header","To specify the rest operation response headers.","rest",[new i("name","Name","Name of the parameter. This option is mandatory.","string","","",!0,!1,!1,!1,"",""),new i("collectionFormat","Collection Format","Sets the parameter collection format.","string","csv, multi, pipes, ssv, tsv","csv",!1,!1,!1,!1,"",""),new i("arrayType","Array Type","Sets the parameter array type. Required if data type is array. Describes the type of items in the array.","string","","string",!1,!1,!1,!1,"",""),new i("dataType","Data Type","Sets the header data type.","string","","string",!1,!1,!1,!1,"",""),new i("dataFormat","Data Format","Sets the parameter data format.","string","","",!1,!1,!1,!1,"",""),new i("allowableValues","Allowable Values","Sets the parameter list of allowable values.","ValueDefinition","","",!1,!1,!0,!0,"",""),new i("example","Example","Sets the example","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Description of the parameter.","string","","",!1,!1,!1,!1,"","")]),new e("circuitBreaker","CircuitBreakerDefinition","Circuit Breaker","Route messages in a fault tolerance way using Circuit Breaker","eip,routing",[new i("resilience4jConfiguration","Resilience4j Configuration","Configures the circuit breaker to use Resilience4j with the given configuration.","Resilience4jConfigurationDefinition","","",!1,!1,!1,!0,"",""),new i("faultToleranceConfiguration","Fault Tolerance Configuration","Configures the circuit breaker to use MicroProfile Fault Tolerance with the given configuration.","FaultToleranceConfigurationDefinition","","",!1,!1,!1,!0,"",""),new i("configuration","Configuration","Refers to a circuit breaker configuration (such as resillience4j, or microprofile-fault-tolerance) to use for configuring the circuit breaker EIP.","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("onFallback","onFallback","onFallback","OnFallbackDefinition","","",!1,!1,!1,!0,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("templatedRoute","TemplatedRouteDefinition","Templated Route","Defines a templated route (a route built from a route template)","configuration",[new i("routeTemplateRef","Route Template Ref","Sets the id of the route template to use to build the route.","string","","",!0,!1,!1,!1,"",""),new i("routeId","Route Id","Sets the id of the route built from the route template.","string","","",!1,!1,!1,!1,"",""),new i("prefixId","Prefix Id","Sets a prefix to use for all node ids (not route id).","string","","",!1,!1,!1,!1,"",""),new i("beans","beans","beans","TemplatedRouteBeanDefinition","","",!1,!1,!0,!0,"",""),new i("parameters","parameters","parameters","TemplatedRouteParameterDefinition","","",!1,!1,!0,!0,"","")]),new e("customLoadBalancer","CustomLoadBalancerDefinition","Custom Load Balancer","To use a custom load balancer implementation.","eip,routing",[new i("ref","Ref","Refers to the custom load balancer to lookup from the registry","string","","",!0,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("param","ParamDefinition","Param","To specify the rest operation parameters.","rest",[new i("name","Name","Sets the parameter name.","string","","",!0,!1,!1,!1,"",""),new i("type","Type","Sets the parameter type.","string","body, formData, header, path, query","path",!1,!1,!1,!1,"",""),new i("defaultValue","Default Value","Sets the parameter default value.","string","","",!1,!1,!1,!1,"",""),new i("required","Required","Sets the parameter required flag.","boolean","","true",!1,!1,!1,!1,"",""),new i("collectionFormat","Collection Format","Sets the parameter collection format.","string","csv, multi, pipes, ssv, tsv","csv",!1,!1,!1,!1,"",""),new i("arrayType","Array Type","Sets the parameter array type. Required if data type is array. Describes the type of items in the array.","string","","string",!1,!1,!1,!1,"",""),new i("dataType","Data Type","Sets the parameter data type.","string","","string",!1,!1,!1,!1,"",""),new i("dataFormat","Data Format","Sets the parameter data format.","string","","",!1,!1,!1,!1,"",""),new i("allowableValues","Allowable Values","Sets the parameter list of allowable values (enum).","ValueDefinition","","",!1,!1,!0,!0,"",""),new i("examples","Examples","Sets the parameter examples.","RestPropertyDefinition","","",!1,!1,!0,!0,"",""),new i("description","Description","Sets the parameter description.","string","","",!1,!1,!1,!1,"","")]),new e("throttle","ThrottleDefinition","Throttle","Controls the rate at which messages are passed to the next node in the route","eip,routing",[new i("expression","Expression","Expression to configure the maximum number of messages to throttle per request","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("correlationExpression","Correlation Expression","The expression used to calculate the correlation key to use for throttle grouping. The Exchange which has the same correlation key is throttled together.","ExpressionSubElementDefinition","","",!1,!1,!1,!0,"",""),new i("executorService","Executor Service","To use a custom thread pool (ScheduledExecutorService) by the throttler.","string","","",!1,!1,!1,!1,"advanced",""),new i("timePeriodMillis","Time Period Millis","Sets the time period during which the maximum request count is valid for","string","","1000",!1,!1,!1,!1,"",""),new i("asyncDelayed","Async Delayed","Enables asynchronous delay which means the thread will not block while delaying.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("callerRunsWhenRejected","Caller Runs When Rejected","Whether or not the caller should run the task when it was rejected by the thread pool. Is by default true","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("rejectExecution","Reject Execution","Whether or not throttler throws the ThrottlerRejectedExecutionException when the exchange exceeds the request limit Is by default false","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("head","HeadDefinition","Head","Rest HEAD command","rest",[new i("path","Path","The path mapping URIs of this REST operation such as /{id}.","string","","",!1,!1,!1,!1,"",""),new i("to","To","The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.","string","","",!0,!1,!1,!1,"",""),new i("consumes","Consumes","To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("produces","Produces","To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("type","Type","Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("outType","Out Type","Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("bindingMode","Binding Mode","Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off","string","off, auto, json, xml, json_xml","off",!1,!1,!1,!1,"",""),new i("skipBindingOnErrorCode","Skip Binding On Error Code","Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("clientRequestValidation","Client Request Validation","Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP Status 400 if validation error.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("enableCors","enableCors","enableCors","boolean","","",!1,!1,!1,!1,"",""),new i("apiDocs","Api Docs","Whether to include or exclude this rest operation in API documentation. The default value is true.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("deprecated","Deprecated","Marks this rest operation as deprecated in OpenApi documentation.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("routeId","Route Id","Sets the id of the route","string","","",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("param","param","param","ParamDefinition","","",!1,!1,!0,!0,"",""),new i("responseMessage","responseMessage","responseMessage","ResponseMessageDefinition","","",!1,!1,!0,!0,"",""),new i("security","security","security","SecurityDefinition","","",!1,!1,!0,!0,"","")]),new e("jtaTransactionErrorHandler","JtaTransactionErrorHandlerDefinition","Jta Transaction Error Handler","JTA based transactional error handler (requires camel-jta).","configuration,error",[new i("transactedPolicyRef","Transacted Policy Ref","The transacted policy to use that is configured for either Spring or JTA based transactions. If no policy has been configured then Camel will attempt to auto-discover.","string","","",!1,!1,!1,!1,"",""),new i("rollbackLoggingLevel","Rollback Logging Level","Sets the logging level to use for logging transactional rollback. This option is default WARN.","string","TRACE, DEBUG, INFO, WARN, ERROR, OFF","WARN",!1,!1,!1,!1,"",""),new i("loggerRef","Logger Ref","References to a logger to use as logger for the error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("level","Level","Logging level to use when using the logging error handler type.","string","TRACE, DEBUG, INFO, WARN, ERROR, OFF","ERROR",!1,!1,!1,!1,"advanced",""),new i("logName","Log Name","Name of the logger to use for the logging error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("useOriginalMessage","Use Original Message","Will use the original input org.apache.camel.Message (original body and headers) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the splitted message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("useOriginalBody","Use Original Body","Will use the original input org.apache.camel.Message body (original body only) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the splitted message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("onRedeliveryRef","On Redelivery Ref","Sets a reference to a processor that should be processed before a redelivery attempt. Can be used to change the org.apache.camel.Exchange before its being redelivered.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("onExceptionOccurredRef","On Exception Occurred Ref","Sets a reference to a processor that should be processed just after an exception occurred. Can be used to perform custom logging about the occurred exception at the exact time it happened. Important: Any exception thrown from this processor will be ignored.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("onPrepareFailureRef","On Prepare Failure Ref","Sets a reference to a processor to prepare the org.apache.camel.Exchange before handled by the failure processor / dead letter channel. This allows for example to enrich the message before sending to a dead letter queue.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("retryWhileRef","Retry While Ref","Sets a retry while predicate. Will continue retrying until the predicate evaluates to false.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("redeliveryPolicyRef","Redelivery Policy Ref","Sets a reference to a RedeliveryPolicy to be used for redelivery settings.","string","","",!1,!1,!1,!1,"advanced",""),new i("executorServiceRef","Executor Service Ref","Sets a reference to a thread pool to be used by the error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("redeliveryPolicy","Redelivery Policy","Sets the redelivery settings","RedeliveryPolicyDefinition","","",!1,!1,!1,!0,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("marshal","MarshalDefinition","Marshal","Marshals data into a specified format for transmission over a transport or component","dataformat,transformation",[new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("any23","any23","any23","Any23DataFormat","","",!1,!1,!1,!0,"",""),new i("asn1","asn1","asn1","ASN1DataFormat","","",!1,!1,!1,!0,"",""),new i("avro","avro","avro","AvroDataFormat","","",!1,!1,!1,!0,"",""),new i("barcode","barcode","barcode","BarcodeDataFormat","","",!1,!1,!1,!0,"",""),new i("base64","base64","base64","Base64DataFormat","","",!1,!1,!1,!0,"",""),new i("bindy","bindy","bindy","BindyDataFormat","","",!1,!1,!1,!0,"",""),new i("cbor","cbor","cbor","CBORDataFormat","","",!1,!1,!1,!0,"",""),new i("crypto","crypto","crypto","CryptoDataFormat","","",!1,!1,!1,!0,"",""),new i("csv","csv","csv","CsvDataFormat","","",!1,!1,!1,!0,"",""),new i("custom","custom","custom","CustomDataFormat","","",!1,!1,!1,!0,"",""),new i("fhirJson","fhirJson","fhirJson","FhirJsonDataFormat","","",!1,!1,!1,!0,"",""),new i("fhirXml","fhirXml","fhirXml","FhirXmlDataFormat","","",!1,!1,!1,!0,"",""),new i("flatpack","flatpack","flatpack","FlatpackDataFormat","","",!1,!1,!1,!0,"",""),new i("grok","grok","grok","GrokDataFormat","","",!1,!1,!1,!0,"",""),new i("gzipDeflater","gzipDeflater","gzipDeflater","GzipDeflaterDataFormat","","",!1,!1,!1,!0,"",""),new i("hl7","hl7","hl7","HL7DataFormat","","",!1,!1,!1,!0,"",""),new i("ical","ical","ical","IcalDataFormat","","",!1,!1,!1,!0,"",""),new i("jacksonXml","jacksonXml","jacksonXml","JacksonXMLDataFormat","","",!1,!1,!1,!0,"",""),new i("jaxb","jaxb","jaxb","JaxbDataFormat","","",!1,!1,!1,!0,"",""),new i("json","json","json","JsonDataFormat","","",!1,!1,!1,!0,"",""),new i("jsonApi","jsonApi","jsonApi","JsonApiDataFormat","","",!1,!1,!1,!0,"",""),new i("lzf","lzf","lzf","LZFDataFormat","","",!1,!1,!1,!0,"",""),new i("mimeMultipart","mimeMultipart","mimeMultipart","MimeMultipartDataFormat","","",!1,!1,!1,!0,"",""),new i("pgp","pgp","pgp","PGPDataFormat","","",!1,!1,!1,!0,"",""),new i("protobuf","protobuf","protobuf","ProtobufDataFormat","","",!1,!1,!1,!0,"",""),new i("rss","rss","rss","RssDataFormat","","",!1,!1,!1,!0,"",""),new i("soap","soap","soap","SoapDataFormat","","",!1,!1,!1,!0,"",""),new i("swiftMt","swiftMt","swiftMt","SwiftMtDataFormat","","",!1,!1,!1,!0,"",""),new i("swiftMx","swiftMx","swiftMx","SwiftMxDataFormat","","",!1,!1,!1,!0,"",""),new i("syslog","syslog","syslog","SyslogDataFormat","","",!1,!1,!1,!0,"",""),new i("tarFile","tarFile","tarFile","TarFileDataFormat","","",!1,!1,!1,!0,"",""),new i("thrift","thrift","thrift","ThriftDataFormat","","",!1,!1,!1,!0,"",""),new i("tidyMarkup","tidyMarkup","tidyMarkup","TidyMarkupDataFormat","","",!1,!1,!1,!0,"",""),new i("univocityCsv","univocityCsv","univocityCsv","UniVocityCsvDataFormat","","",!1,!1,!1,!0,"",""),new i("univocityFixed","univocityFixed","univocityFixed","UniVocityFixedDataFormat","","",!1,!1,!1,!0,"",""),new i("univocityTsv","univocityTsv","univocityTsv","UniVocityTsvDataFormat","","",!1,!1,!1,!0,"",""),new i("xmlSecurity","xmlSecurity","xmlSecurity","XMLSecurityDataFormat","","",!1,!1,!1,!0,"",""),new i("xstream","xstream","xstream","XStreamDataFormat","","",!1,!1,!1,!0,"",""),new i("yaml","yaml","yaml","YAMLDataFormat","","",!1,!1,!1,!0,"",""),new i("zipDeflater","zipDeflater","zipDeflater","ZipDeflaterDataFormat","","",!1,!1,!1,!0,"",""),new i("zipFile","zipFile","zipFile","ZipFileDataFormat","","",!1,!1,!1,!0,"","")]),new e("globalOptions","GlobalOptionsDefinition","Global Options","Models a series of string key/value pairs for configuring some global options on a Camel context such as max debug log length.","configuration",[new i("globalOption","Global Option","A series of global options as key value pairs","GlobalOptionDefinition","","",!1,!1,!0,!0,"","")]),new e("policy","PolicyDefinition","Policy","Defines a policy the route will use","configuration",[new i("ref","Ref","Sets a reference to use for lookup the policy in the registry.","string","","",!0,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("unmarshal","UnmarshalDefinition","Unmarshal","Converts the message data received from the wire into a format that Apache Camel processors can consume","dataformat,transformation",[new i("allowNullBody","Allow Null Body","Indicates whether null is allowed as value of a body to unmarshall.","boolean","","false",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("any23","any23","any23","Any23DataFormat","","",!1,!1,!1,!0,"",""),new i("asn1","asn1","asn1","ASN1DataFormat","","",!1,!1,!1,!0,"",""),new i("avro","avro","avro","AvroDataFormat","","",!1,!1,!1,!0,"",""),new i("barcode","barcode","barcode","BarcodeDataFormat","","",!1,!1,!1,!0,"",""),new i("base64","base64","base64","Base64DataFormat","","",!1,!1,!1,!0,"",""),new i("bindy","bindy","bindy","BindyDataFormat","","",!1,!1,!1,!0,"",""),new i("cbor","cbor","cbor","CBORDataFormat","","",!1,!1,!1,!0,"",""),new i("crypto","crypto","crypto","CryptoDataFormat","","",!1,!1,!1,!0,"",""),new i("csv","csv","csv","CsvDataFormat","","",!1,!1,!1,!0,"",""),new i("custom","custom","custom","CustomDataFormat","","",!1,!1,!1,!0,"",""),new i("fhirJson","fhirJson","fhirJson","FhirJsonDataFormat","","",!1,!1,!1,!0,"",""),new i("fhirXml","fhirXml","fhirXml","FhirXmlDataFormat","","",!1,!1,!1,!0,"",""),new i("flatpack","flatpack","flatpack","FlatpackDataFormat","","",!1,!1,!1,!0,"",""),new i("grok","grok","grok","GrokDataFormat","","",!1,!1,!1,!0,"",""),new i("gzipDeflater","gzipDeflater","gzipDeflater","GzipDeflaterDataFormat","","",!1,!1,!1,!0,"",""),new i("hl7","hl7","hl7","HL7DataFormat","","",!1,!1,!1,!0,"",""),new i("ical","ical","ical","IcalDataFormat","","",!1,!1,!1,!0,"",""),new i("jacksonXml","jacksonXml","jacksonXml","JacksonXMLDataFormat","","",!1,!1,!1,!0,"",""),new i("jaxb","jaxb","jaxb","JaxbDataFormat","","",!1,!1,!1,!0,"",""),new i("json","json","json","JsonDataFormat","","",!1,!1,!1,!0,"",""),new i("jsonApi","jsonApi","jsonApi","JsonApiDataFormat","","",!1,!1,!1,!0,"",""),new i("lzf","lzf","lzf","LZFDataFormat","","",!1,!1,!1,!0,"",""),new i("mimeMultipart","mimeMultipart","mimeMultipart","MimeMultipartDataFormat","","",!1,!1,!1,!0,"",""),new i("pgp","pgp","pgp","PGPDataFormat","","",!1,!1,!1,!0,"",""),new i("protobuf","protobuf","protobuf","ProtobufDataFormat","","",!1,!1,!1,!0,"",""),new i("rss","rss","rss","RssDataFormat","","",!1,!1,!1,!0,"",""),new i("soap","soap","soap","SoapDataFormat","","",!1,!1,!1,!0,"",""),new i("swiftMt","swiftMt","swiftMt","SwiftMtDataFormat","","",!1,!1,!1,!0,"",""),new i("swiftMx","swiftMx","swiftMx","SwiftMxDataFormat","","",!1,!1,!1,!0,"",""),new i("syslog","syslog","syslog","SyslogDataFormat","","",!1,!1,!1,!0,"",""),new i("tarFile","tarFile","tarFile","TarFileDataFormat","","",!1,!1,!1,!0,"",""),new i("thrift","thrift","thrift","ThriftDataFormat","","",!1,!1,!1,!0,"",""),new i("tidyMarkup","tidyMarkup","tidyMarkup","TidyMarkupDataFormat","","",!1,!1,!1,!0,"",""),new i("univocityCsv","univocityCsv","univocityCsv","UniVocityCsvDataFormat","","",!1,!1,!1,!0,"",""),new i("univocityFixed","univocityFixed","univocityFixed","UniVocityFixedDataFormat","","",!1,!1,!1,!0,"",""),new i("univocityTsv","univocityTsv","univocityTsv","UniVocityTsvDataFormat","","",!1,!1,!1,!0,"",""),new i("xmlSecurity","xmlSecurity","xmlSecurity","XMLSecurityDataFormat","","",!1,!1,!1,!0,"",""),new i("xstream","xstream","xstream","XStreamDataFormat","","",!1,!1,!1,!0,"",""),new i("yaml","yaml","yaml","YAMLDataFormat","","",!1,!1,!1,!0,"",""),new i("zipDeflater","zipDeflater","zipDeflater","ZipDeflaterDataFormat","","",!1,!1,!1,!0,"",""),new i("zipFile","zipFile","zipFile","ZipFileDataFormat","","",!1,!1,!1,!0,"","")]),new e("toD","ToDynamicDefinition","To D","Sends the message to a dynamic endpoint","eip,routing",[new i("uri","Uri","The uri of the endpoint to send to. The uri can be dynamic computed using the org.apache.camel.language.simple.SimpleLanguage expression.","string","","",!0,!1,!1,!1,"",""),new i("pattern","Pattern","Sets the optional ExchangePattern used to invoke this endpoint","string","InOnly, InOut, InOptionalOut","",!1,!1,!1,!1,"advanced",""),new i("cacheSize","Cache Size","Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this recipient list, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped and discarded after use. This reduces memory usage as otherwise producers/endpoints are stored in memory in the caches. However if there are a high degree of dynamic endpoints that have been used before, then it can benefit to use the cache to reuse both producers and endpoints and therefore the cache size can be set accordingly or rely on the default size (1000). If there is a mix of unique and used before dynamic endpoints, then setting a reasonable cache size can help reduce memory usage to avoid storing too many non frequent used producers.","number","","",!1,!1,!1,!1,"advanced",""),new i("ignoreInvalidEndpoint","Ignore Invalid Endpoint","Whether to ignore invalid endpoint URIs and skip sending the message.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("allowOptimisedComponents","Allow Optimised Components","Whether to allow components to optimise toD if they are org.apache.camel.spi.SendDynamicAware .","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("autoStartComponents","Auto Start Components","Whether to auto startup components when toD is starting up.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("parameters","parameters","parameters","object","","",!1,!1,!1,!1,"","")]),new e("pipeline","PipelineDefinition","Pipeline","Routes the message to a sequence of processors.","eip,routing",[new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("packageScan","PackageScanDefinition","Package Scan","Scans for Java org.apache.camel.builder.RouteBuilder classes in java packages","configuration",[new i("package","Package","Sets the java package names to use for scanning for route builder classes","string","","",!0,!1,!0,!0,"",""),new i("excludes","Excludes","Exclude finding route builder from these java package names.","string","","",!1,!1,!0,!0,"advanced",""),new i("includes","Includes","Include finding route builder from these java package names.","string","","",!1,!1,!0,!0,"advanced","")]),new e("patch","PatchDefinition","Patch","Rest PATCH command","rest",[new i("path","Path","The path mapping URIs of this REST operation such as /{id}.","string","","",!1,!1,!1,!1,"",""),new i("to","To","The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.","string","","",!0,!1,!1,!1,"",""),new i("consumes","Consumes","To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("produces","Produces","To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("type","Type","Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("outType","Out Type","Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("bindingMode","Binding Mode","Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off","string","off, auto, json, xml, json_xml","off",!1,!1,!1,!1,"",""),new i("skipBindingOnErrorCode","Skip Binding On Error Code","Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("clientRequestValidation","Client Request Validation","Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP Status 400 if validation error.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("enableCors","enableCors","enableCors","boolean","","",!1,!1,!1,!1,"",""),new i("apiDocs","Api Docs","Whether to include or exclude this rest operation in API documentation. The default value is true.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("deprecated","Deprecated","Marks this rest operation as deprecated in OpenApi documentation.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("routeId","Route Id","Sets the id of the route","string","","",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("param","param","param","ParamDefinition","","",!1,!1,!0,!0,"",""),new i("responseMessage","responseMessage","responseMessage","ResponseMessageDefinition","","",!1,!1,!0,!0,"",""),new i("security","security","security","SecurityDefinition","","",!1,!1,!0,!0,"","")]),new e("validate","ValidateDefinition","Validate","Validates a message based on an expression","eip,transformation",[new i("expression","Expression","Expression to use for validation as a predicate. The expression should return either true or false. If returning false the message is invalid and an exception is thrown.","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("predicateExceptionFactory","Predicate Exception Factory","The bean id of custom PredicateExceptionFactory to use for creating the exception when the validation fails. By default, Camel will throw PredicateValidationException. By using a custom factory you can control which exception to throw instead.","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("throwException","ThrowExceptionDefinition","Throw Exception","Throws an exception","error",[new i("message","Message","To create a new exception instance and use the given message as caused message (supports simple language)","string","","",!1,!1,!1,!1,"",""),new i("exceptionType","Exception Type","The class of the exception to create using the message.","string","","",!1,!1,!1,!1,"",""),new i("ref","Ref","Reference to the exception instance to lookup from the registry to throw","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("property","PropertyDefinition","Property","A key value pair where the value is a literal value","configuration",[new i("key","Key","Property key","string","","",!0,!1,!1,!1,"",""),new i("value","Value","Property value","string","","",!0,!1,!1,!1,"","")]),new e("validators","ValidatorsDefinition","Validations","To configure validators.","validation",[new i("customValidator","customValidator","customValidator","CustomValidatorDefinition","","",!1,!1,!1,!0,"",""),new i("endpointValidator","endpointValidator","endpointValidator","EndpointValidatorDefinition","","",!1,!1,!1,!0,"",""),new i("predicateValidator","predicateValidator","predicateValidator","PredicateValidatorDefinition","","",!1,!1,!1,!0,"","")]),new e("resilience4jConfiguration","Resilience4jConfigurationDefinition","Resilience4j Configuration","Resilience4j Circuit Breaker EIP configuration","configuration,eip",[new i("circuitBreaker","Circuit Breaker","Refers to an existing io.github.resilience4j.circuitbreaker.CircuitBreaker instance to lookup and use from the registry. When using this, then any other circuit breaker options are not in use.","string","","",!1,!1,!1,!1,"advanced",""),new i("config","Config","Refers to an existing io.github.resilience4j.circuitbreaker.CircuitBreakerConfig instance to lookup and use from the registry.","string","","",!1,!1,!1,!1,"advanced",""),new i("failureRateThreshold","Failure Rate Threshold","Configures the failure rate threshold in percentage. If the failure rate is equal or greater than the threshold the CircuitBreaker transitions to open and starts short-circuiting calls. The threshold must be greater than 0 and not greater than 100. Default value is 50 percentage.","number","","50",!1,!1,!1,!1,"",""),new i("permittedNumberOfCallsInHalfOpenState","Permitted Number Of Calls In Half Open State","Configures the number of permitted calls when the CircuitBreaker is half open. The size must be greater than 0. Default size is 10.","number","","10",!1,!1,!1,!1,"advanced",""),new i("throwExceptionWhenHalfOpenOrOpenState","Throw Exception When Half Open Or Open State","Whether to throw io.github.resilience4j.circuitbreaker.CallNotPermittedException when the call is rejected due circuit breaker is half open or open.","boolean","","false",!1,!1,!1,!1,"",""),new i("slidingWindowSize","Sliding Window Size","Configures the size of the sliding window which is used to record the outcome of calls when the CircuitBreaker is closed. slidingWindowSize configures the size of the sliding window. Sliding window can either be count-based or time-based. If slidingWindowType is COUNT_BASED, the last slidingWindowSize calls are recorded and aggregated. If slidingWindowType is TIME_BASED, the calls of the last slidingWindowSize seconds are recorded and aggregated. The slidingWindowSize must be greater than 0. The minimumNumberOfCalls must be greater than 0. If the slidingWindowType is COUNT_BASED, the minimumNumberOfCalls cannot be greater than slidingWindowSize . If the slidingWindowType is TIME_BASED, you can pick whatever you want. Default slidingWindowSize is 100.","number","","100",!1,!1,!1,!1,"",""),new i("slidingWindowType","Sliding Window Type","Configures the type of the sliding window which is used to record the outcome of calls when the CircuitBreaker is closed. Sliding window can either be count-based or time-based. If slidingWindowType is COUNT_BASED, the last slidingWindowSize calls are recorded and aggregated. If slidingWindowType is TIME_BASED, the calls of the last slidingWindowSize seconds are recorded and aggregated. Default slidingWindowType is COUNT_BASED.","string","TIME_BASED, COUNT_BASED","COUNT_BASED",!1,!1,!1,!1,"advanced",""),new i("minimumNumberOfCalls","Minimum Number Of Calls","Configures the minimum number of calls which are required (per sliding window period) before the CircuitBreaker can calculate the error rate. For example, if minimumNumberOfCalls is 10, then at least 10 calls must be recorded, before the failure rate can be calculated. If only 9 calls have been recorded the CircuitBreaker will not transition to open even if all 9 calls have failed. Default minimumNumberOfCalls is 100","number","","100",!1,!1,!1,!1,"",""),new i("writableStackTraceEnabled","Writable Stack Trace Enabled","Enables writable stack traces. When set to false, Exception.getStackTrace returns a zero length array. This may be used to reduce log spam when the circuit breaker is open as the cause of the exceptions is already known (the circuit breaker is short-circuiting calls).","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("waitDurationInOpenState","Wait Duration In Open State","Configures the wait duration (in seconds) which specifies how long the CircuitBreaker should stay open, before it switches to half open. Default value is 60 seconds.","number","","60",!1,!1,!1,!1,"advanced",""),new i("automaticTransitionFromOpenToHalfOpenEnabled","Automatic Transition From Open To Half Open Enabled","Enables automatic transition from OPEN to HALF_OPEN state once the waitDurationInOpenState has passed.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("slowCallRateThreshold","Slow Call Rate Threshold","Configures a threshold in percentage. The CircuitBreaker considers a call as slow when the call duration is greater than slowCallDurationThreshold Duration. When the percentage of slow calls is equal or greater the threshold, the CircuitBreaker transitions to open and starts short-circuiting calls. The threshold must be greater than 0 and not greater than 100. Default value is 100 percentage which means that all recorded calls must be slower than slowCallDurationThreshold.","number","","100",!1,!1,!1,!1,"advanced",""),new i("slowCallDurationThreshold","Slow Call Duration Threshold","Configures the duration threshold (seconds) above which calls are considered as slow and increase the slow calls percentage. Default value is 60 seconds.","number","","60",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("choice","ChoiceDefinition","Choice","Route messages based on a series of predicates","eip,routing",[new i("when","When","Sets the when nodes","WhenDefinition","","",!1,!1,!0,!0,"",""),new i("otherwise","Otherwise","Sets the otherwise node","OtherwiseDefinition","","",!1,!1,!1,!0,"",""),new i("precondition","Precondition","Indicates whether this Choice EIP is in precondition mode or not. If so its branches (when/otherwise) are evaluated during startup to keep at runtime only the branch that matched.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("whenSkipSendToEndpoint","WhenSkipSendToEndpointDefinition","When Skip Send To Endpoint","Predicate to determine if the message should be sent or not to the endpoint, when using interceptSentToEndpoint.","configuration",[new i("expression","Expression","Expression used as the predicate to evaluate whether the message should be sent or not to the endpoint","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("routeBuilder","RouteBuilderDefinition","Route Builder","To refer to a Java org.apache.camel.builder.RouteBuilder instance to use.","configuration",[new i("ref","Ref","Reference to the route builder instance","string","","",!0,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("sample","SamplingDefinition","Sample","Extract a sample of the messages passing through a route","eip,routing",[new i("samplePeriod","Sample Period","Sets the sample period during which only a single Exchange will pass through.","string","","1000",!1,!1,!1,!1,"",""),new i("messageFrequency","Message Frequency","Sets the sample message count which only a single Exchange will pass through after this many received.","number","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("sort","SortDefinition","Sort","Sorts the contents of the message","eip,routing",[new i("expression","Expression","Optional expression to sort by something else than the message body","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("comparator","Comparator","Sets the comparator to use for sorting","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("to","ToDefinition","To","Sends the message to a static endpoint","eip,routing",[new i("uri","Uri","Sets the uri of the endpoint to send to.","string","","",!0,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("pattern","Pattern","Sets the optional ExchangePattern used to invoke this endpoint","string","InOnly, InOut, InOptionalOut","",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("parameters","parameters","parameters","object","","",!1,!1,!1,!1,"","")]),new e("inOut","InOutDefinition","In Out","Marks the exchange pattern for the route to request/reply","eip,routing",[new i("uri","Uri","Sets the uri of the endpoint to send to.","string","","",!0,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("parameters","parameters","parameters","object","","",!1,!1,!1,!1,"","")]),new e("doCatch","CatchDefinition","Do Catch","Catches exceptions as part of a try, catch, finally block","error",[new i("exception","Exception","The exception(s) to catch.","string","","",!1,!1,!0,!0,"",""),new i("onWhen","On When","Sets an additional predicate that should be true before the onCatch is triggered. To be used for fine grained controlling whether a thrown exception should be intercepted by this exception type or not.","WhenDefinition","","",!1,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("description","DescriptionDefinition","Description","To provide comments about the node.","configuration",[new i("lang","Lang","Language, such as en for english.","string","","",!1,!1,!1,!1,"advanced",""),new i("text","Text","The description as human readable text","string","","",!0,!1,!1,!1,"","")]),new e("onFallback","OnFallbackDefinition","On Fallback","Route to be executed when Circuit Breaker EIP executes fallback","eip,routing",[new i("fallbackViaNetwork","Fallback Via Network","Whether the fallback goes over the network. If the fallback will go over the network it is another possible point of failure. It is important to execute the fallback command on a separate thread-pool, otherwise if the main command were to become latent and fill the thread-pool this would prevent the fallback from running if the two commands share the same pool.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("rests","RestsDefinition","Rests","A series of rest services defined using the rest-dsl","rest",[new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("rest","rest","rest","RestDefinition","","",!1,!1,!0,!0,"","")]),new e("transformers","TransformersDefinition","Transformations","To configure transformers.","transformation",[new i("customTransformer","customTransformer","customTransformer","CustomTransformerDefinition","","",!1,!1,!1,!0,"",""),new i("dataFormatTransformer","dataFormatTransformer","dataFormatTransformer","DataFormatTransformerDefinition","","",!1,!1,!1,!0,"",""),new i("endpointTransformer","endpointTransformer","endpointTransformer","EndpointTransformerDefinition","","",!1,!1,!1,!0,"","")]),new e("loadBalance","LoadBalanceDefinition","Load Balance","Balances message processing among a number of nodes","eip,routing",[new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("inheritErrorHandler","Inherit Error Handler","Sets whether or not to inherit the configured error handler. The default value is true. You can use this to disable using the inherited error handler for a given DSL such as a load balancer where you want to use a custom error handler strategy.","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("customLoadBalancer","customLoadBalancer","customLoadBalancer","CustomLoadBalancerDefinition","","",!1,!1,!1,!0,"",""),new i("failover","failover","failover","FailoverLoadBalancerDefinition","","",!1,!1,!1,!0,"",""),new i("random","random","random","RandomLoadBalancerDefinition","","",!1,!1,!1,!0,"",""),new i("roundRobin","roundRobin","roundRobin","RoundRobinLoadBalancerDefinition","","",!1,!1,!1,!0,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"",""),new i("sticky","sticky","sticky","StickyLoadBalancerDefinition","","",!1,!1,!1,!0,"",""),new i("topic","topic","topic","TopicLoadBalancerDefinition","","",!1,!1,!1,!0,"",""),new i("weighted","weighted","weighted","WeightedLoadBalancerDefinition","","",!1,!1,!1,!0,"","")]),new e("process","ProcessDefinition","Process","Calls a Camel processor","eip,endpoint",[new i("ref","Ref","Reference to the Processor to lookup in the registry to use. Can also be used for creating new beans by their class name by prefixing with #class, eg #class:com.foo.MyClassType. And it is also possible to refer to singleton beans by their type in the registry by prefixing with #type: syntax, eg #type:com.foo.MyClassType","string","","",!0,!1,!1,!1,"","org.apache.camel.Processor"),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("bean","BeanDefinition","Bean","Calls a Java bean","eip,endpoint",[new i("ref","Ref","Sets a reference to an exiting bean to use, which is looked up from the registry","string","","",!1,!1,!1,!1,"",""),new i("method","Method","Sets the method name on the bean to use","string","","",!1,!1,!1,!1,"",""),new i("beanType","Bean Type","Sets the class name (fully qualified) of the bean to use","string","","",!1,!1,!1,!1,"",""),new i("scope","Scope","Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance multiple times while processing the request. The bean does not have to be thread-safe as the instance is only called from the same request. When using prototype scope, then the bean will be looked up or created per call. However in case of lookup then this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act as either singleton or prototype scope. So when using prototype scope then this depends on the bean registry implementation.","string","Singleton, Request, Prototype","Singleton",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("transacted","TransactedDefinition","Transacted","Enables transaction on the route","configuration",[new i("ref","Ref","Sets a reference to use for lookup the policy in the registry.","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("serviceCallConfiguration","ServiceCallConfigurationDefinition","Service Call Configuration","Remote service call configuration","routing,cloud",[new i("expression","Expression","Configures the Expression using the given configuration.","ServiceCallExpressionConfiguration","","",!1,!1,!1,!0,"",""),new i("uri","Uri","The uri of the endpoint to send to. The uri can be dynamic computed using the simple language expression.","string","","",!1,!1,!1,!1,"",""),new i("component","Component","The component to use.","string","","http",!1,!1,!1,!1,"",""),new i("pattern","Pattern","Sets the optional ExchangePattern used to invoke this endpoint","string","InOnly, InOut, InOptionalOut","",!1,!1,!1,!1,"",""),new i("serviceDiscoveryRef","Service Discovery Ref","Sets a reference to a custom ServiceDiscovery to use.","string","","",!1,!1,!1,!1,"",""),new i("serviceFilterRef","Service Filter Ref","Sets a reference to a custom ServiceFilter to use.","string","","",!1,!1,!1,!1,"",""),new i("serviceChooserRef","Service Chooser Ref","Sets a reference to a custom ServiceChooser to use.","string","","",!1,!1,!1,!1,"",""),new i("loadBalancerRef","Load Balancer Ref","Sets a reference to a custom ServiceLoadBalancer to use.","string","","",!1,!1,!1,!1,"",""),new i("expressionRef","Expression Ref","Set a reference to a custom Expression to use.","string","","",!1,!1,!1,!1,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"",""),new i("blacklistServiceFilter","blacklistServiceFilter","blacklistServiceFilter","BlacklistServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("cachingServiceDiscovery","cachingServiceDiscovery","cachingServiceDiscovery","CachingServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("combinedServiceDiscovery","combinedServiceDiscovery","combinedServiceDiscovery","CombinedServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("combinedServiceFilter","combinedServiceFilter","combinedServiceFilter","CombinedServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("consulServiceDiscovery","consulServiceDiscovery","consulServiceDiscovery","ConsulServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("customServiceFilter","customServiceFilter","customServiceFilter","CustomServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("defaultLoadBalancer","defaultLoadBalancer","defaultLoadBalancer","DefaultServiceCallServiceLoadBalancerConfiguration","","",!1,!1,!1,!0,"",""),new i("dnsServiceDiscovery","dnsServiceDiscovery","dnsServiceDiscovery","DnsServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("healthyServiceFilter","healthyServiceFilter","healthyServiceFilter","HealthyServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("kubernetesServiceDiscovery","kubernetesServiceDiscovery","kubernetesServiceDiscovery","KubernetesServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("passThroughServiceFilter","passThroughServiceFilter","passThroughServiceFilter","PassThroughServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("staticServiceDiscovery","staticServiceDiscovery","staticServiceDiscovery","StaticServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("zookeeperServiceDiscovery","zookeeperServiceDiscovery","zookeeperServiceDiscovery","ZooKeeperServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"","")]),new e("pollEnrich","PollEnrichDefinition","Poll Enrich","Enriches messages with data polled from a secondary resource","eip,transformation",[new i("expression","Expression","Expression that computes the endpoint uri to use as the resource endpoint to enrich from","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("aggregationStrategy","Aggregation Strategy","Sets the AggregationStrategy to be used to merge the reply from the external service, into a single outgoing message. By default Camel will use the reply from the external service as outgoing message.","string","","",!1,!1,!1,!1,"","org.apache.camel.AggregationStrategy"),new i("aggregationStrategyMethodName","Aggregation Strategy Method Name","This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregationStrategyMethodAllowNull","Aggregation Strategy Method Allow Null","If this option is false then the aggregate method is not used if there was no data to enrich. If this option is true then null values is used as the oldExchange (when no data to enrich), when using POJOs as the AggregationStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregateOnException","Aggregate On Exception","If this option is false then the aggregate method is not used if there was an exception thrown while trying to retrieve the data to enrich from the resource. Setting this option to true allows end users to control what to do if there was an exception in the aggregate method. For example to suppress the exception or set a custom message body etc.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("timeout","Timeout","Timeout in millis when polling from the external service. The timeout has influence about the poll enrich behavior. It basically operations in three different modes: negative value - Waits until a message is available and then returns it. Warning that this method could block indefinitely if no messages are available. 0 - Attempts to receive a message exchange immediately without waiting and returning null if a message exchange is not available yet. positive value - Attempts to receive a message exchange, waiting up to the given timeout to expire if a message is not yet available. Returns null if timed out The default value is -1 and therefore the method could block indefinitely, and therefore its recommended to use a timeout value","string","","-1",!1,!1,!1,!1,"",""),new i("cacheSize","Cache Size","Sets the maximum size used by the org.apache.camel.spi.ConsumerCache which is used to cache and reuse consumers when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped and discarded after use. This reduces memory usage as otherwise producers/endpoints are stored in memory in the caches. However if there are a high degree of dynamic endpoints that have been used before, then it can benefit to use the cache to reuse both producers and endpoints and therefore the cache size can be set accordingly or rely on the default size (1000). If there is a mix of unique and used before dynamic endpoints, then setting a reasonable cache size can help reduce memory usage to avoid storing too many non frequent used producers.","number","","",!1,!1,!1,!1,"advanced",""),new i("ignoreInvalidEndpoint","Ignore Invalid Endpoint","Ignore the invalidate endpoint exception when try to create a producer with that endpoint","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("pausable","PausableDefinition","Pausable","Pausable EIP to support resuming processing from last known offset.","eip,routing",[new i("consumerListener","Consumer Listener","Sets the consumer listener to use","string","","",!0,!1,!1,!1,"",""),new i("untilCheck","Until Check","References to a java.util.function.Predicate to use for until checks. The predicate is responsible for evaluating whether the processing can resume or not. Such predicate should return true if the consumption can resume, or false otherwise. The exact point of when the predicate is called is dependent on the component, and it may be called on either one of the available events. Implementations should not assume the predicate to be called at any specific point.","string","","",!0,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("setBody","SetBodyDefinition","Set Body","Sets the contents of the message body","eip,transformation",[new i("expression","Expression","Expression that returns the new body to use","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("claimCheck","ClaimCheckDefinition","Claim Check","The Claim Check EIP allows you to replace message content with a claim check (a unique key), which can be used to retrieve the message content at a later time.","eip,routing",[new i("operation","Operation","The claim check operation to use. The following operations are supported: Get - Gets (does not remove) the claim check by the given key. GetAndRemove - Gets and removes the claim check by the given key. Set - Sets a new (will override if key already exists) claim check with the given key. Push - Sets a new claim check on the stack (does not use key). Pop - Gets the latest claim check from the stack (does not use key).","string","Get, GetAndRemove, Set, Push, Pop","",!1,!1,!1,!1,"",""),new i("key","Key","To use a specific key for claim check id (for dynamic keys use simple language syntax as the key).","string","","",!1,!1,!1,!1,"",""),new i("filter","Filter","Specify a filter to control what data gets merged data back from the claim check repository. The following syntax is supported: body - to aggregate the message body attachments - to aggregate all the message attachments headers - to aggregate all the message headers header:pattern - to aggregate all the message headers that matches the pattern. The following pattern rules are applied in this order: exact match, returns true wildcard match (pattern ends with a and the name starts with the pattern), returns true regular expression match, returns true otherwise returns false You can specify multiple rules separated by comma. For example, the following includes the message body and all headers starting with foo: body,header:foo. The syntax supports the following prefixes which can be used to specify include,exclude, or remove - to include (which is the default mode) - - to exclude (exclude takes precedence over include) -- - to remove (remove takes precedence) For example to exclude a header name foo, and remove all headers starting with bar, -header:foo,--headers:bar Note you cannot have both include and exclude header:pattern at the same time.","string","","",!1,!1,!1,!1,"",""),new i("aggregationStrategy","Aggregation Strategy","To use a custom AggregationStrategy instead of the default implementation. Notice you cannot use both custom aggregation strategy and configure data at the same time.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.AggregationStrategy"),new i("aggregationStrategyMethodName","Aggregation Strategy Method Name","This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("step","StepDefinition","Step","Routes the message to a sequence of processors which is grouped together as one logical name","eip,routing",[new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("aggregate","AggregateDefinition","Aggregate","Aggregates many messages into a single message","eip,routing",[new i("correlationExpression","Correlation Expression","The expression used to calculate the correlation key to use for aggregation. The Exchange which has the same correlation key is aggregated together. If the correlation key could not be evaluated an Exception is thrown. You can disable this by using the ignoreBadCorrelationKeys option.","ExpressionSubElementDefinition","","",!0,!1,!1,!0,"",""),new i("completionPredicate","Completion Predicate","A Predicate to indicate when an aggregated exchange is complete. If this is not specified and the AggregationStrategy object implements Predicate, the aggregationStrategy object will be used as the completionPredicate.","ExpressionSubElementDefinition","","",!1,!1,!1,!0,"advanced",""),new i("completionTimeoutExpression","Completion Timeout Expression","Time in millis that an aggregated exchange should be inactive before its complete (timeout). This option can be set as either a fixed value or using an Expression which allows you to evaluate a timeout dynamically - will use Long as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0. You cannot use this option together with completionInterval, only one of the two can be used. By default the timeout checker runs every second, you can use the completionTimeoutCheckerInterval option to configure how frequently to run the checker. The timeout is an approximation and there is no guarantee that the a timeout is triggered exactly after the timeout value. It is not recommended to use very low timeout values or checker intervals.","ExpressionSubElementDefinition","","",!1,!1,!1,!0,"advanced",""),new i("completionSizeExpression","Completion Size Expression","Number of messages aggregated before the aggregation is complete. This option can be set as either a fixed value or using an Expression which allows you to evaluate a size dynamically - will use Integer as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0.","ExpressionSubElementDefinition","","",!1,!1,!1,!0,"advanced",""),new i("optimisticLockRetryPolicy","Optimistic Lock Retry Policy","Allows to configure retry settings when using optimistic locking.","OptimisticLockRetryPolicyDefinition","","",!1,!1,!1,!0,"advanced",""),new i("parallelProcessing","Parallel Processing","When aggregated are completed they are being send out of the aggregator. This option indicates whether or not Camel should use a thread pool with multiple threads for concurrency. If no custom thread pool has been specified then Camel creates a default pool with 10 concurrent threads.","boolean","","false",!1,!1,!1,!1,"",""),new i("optimisticLocking","Optimistic Locking","Turns on using optimistic locking, which requires the aggregationRepository being used, is supporting this by implementing org.apache.camel.spi.OptimisticLockingAggregationRepository .","boolean","","false",!1,!1,!1,!1,"",""),new i("executorService","Executor Service","If using parallelProcessing you can specify a custom thread pool to be used. In fact also if you are not using parallelProcessing this custom thread pool is used to send out aggregated exchanges as well.","string","","",!1,!1,!1,!1,"advanced",""),new i("timeoutCheckerExecutorService","Timeout Checker Executor Service","If using either of the completionTimeout, completionTimeoutExpression, or completionInterval options a background thread is created to check for the completion for every aggregator. Set this option to provide a custom thread pool to be used rather than creating a new thread for every aggregator.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregateController","Aggregate Controller","To use a org.apache.camel.processor.aggregate.AggregateController to allow external sources to control this aggregator.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregationRepository","Aggregation Repository","The AggregationRepository to use. Sets the custom aggregate repository to use. Will by default use org.apache.camel.processor.aggregate.MemoryAggregationRepository","string","","",!1,!1,!1,!1,"",""),new i("aggregationStrategy","Aggregation Strategy","The AggregationStrategy to use. For example to lookup a bean with the name foo, the value is simply just #bean:foo. Configuring an AggregationStrategy is required, and is used to merge the incoming Exchange with the existing already merged exchanges. At first call the oldExchange parameter is null. On subsequent invocations the oldExchange contains the merged exchanges and newExchange is of course the new incoming Exchange.","string","","",!1,!1,!1,!1,"","org.apache.camel.AggregationStrategy"),new i("aggregationStrategyMethodName","Aggregation Strategy Method Name","This option can be used to explicit declare the method name to use, when using beans as the AggregationStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregationStrategyMethodAllowNull","Aggregation Strategy Method Allow Null","If this option is false then the aggregate method is not used for the very first aggregation. If this option is true then null values is used as the oldExchange (at the very first aggregation), when using beans as the AggregationStrategy.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("completionSize","Completion Size","Number of messages aggregated before the aggregation is complete. This option can be set as either a fixed value or using an Expression which allows you to evaluate a size dynamically - will use Integer as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0.","number","","",!1,!1,!1,!1,"",""),new i("completionInterval","Completion Interval","A repeating period in millis by which the aggregator will complete all current aggregated exchanges. Camel has a background task which is triggered every period. You cannot use this option together with completionTimeout, only one of them can be used.","string","","",!1,!1,!1,!1,"",""),new i("completionTimeout","Completion Timeout","Time in millis that an aggregated exchange should be inactive before its complete (timeout). This option can be set as either a fixed value or using an Expression which allows you to evaluate a timeout dynamically - will use Long as result. If both are set Camel will fallback to use the fixed value if the Expression result was null or 0. You cannot use this option together with completionInterval, only one of the two can be used. By default the timeout checker runs every second, you can use the completionTimeoutCheckerInterval option to configure how frequently to run the checker. The timeout is an approximation and there is no guarantee that the a timeout is triggered exactly after the timeout value. It is not recommended to use very low timeout values or checker intervals.","string","","",!1,!1,!1,!1,"",""),new i("completionTimeoutCheckerInterval","Completion Timeout Checker Interval","Interval in millis that is used by the background task that checks for timeouts ( org.apache.camel.TimeoutMap ). By default the timeout checker runs every second. The timeout is an approximation and there is no guarantee that the a timeout is triggered exactly after the timeout value. It is not recommended to use very low timeout values or checker intervals.","string","","1000",!1,!1,!1,!1,"advanced",""),new i("completionFromBatchConsumer","Completion From Batch Consumer","Enables the batch completion mode where we aggregate from a org.apache.camel.BatchConsumer and aggregate the total number of exchanges the org.apache.camel.BatchConsumer has reported as total by checking the exchange property org.apache.camel.Exchange#BATCH_COMPLETE when its complete. This option cannot be used together with discardOnAggregationFailure.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("completionOnNewCorrelationGroup","Completion On New Correlation Group","Enables completion on all previous groups when a new incoming correlation group. This can for example be used to complete groups with same correlation keys when they are in consecutive order. Notice when this is enabled then only 1 correlation group can be in progress as when a new correlation group starts, then the previous groups is forced completed.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("eagerCheckCompletion","Eager Check Completion","Use eager completion checking which means that the completionPredicate will use the incoming Exchange. As opposed to without eager completion checking the completionPredicate will use the aggregated Exchange.","boolean","","false",!1,!1,!1,!1,"",""),new i("ignoreInvalidCorrelationKeys","Ignore Invalid Correlation Keys","If a correlation key cannot be successfully evaluated it will be ignored by logging a DEBUG and then just ignore the incoming Exchange.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("closeCorrelationKeyOnCompletion","Close Correlation Key On Completion","Closes a correlation key when its complete. Any late received exchanges which has a correlation key that has been closed, it will be defined and a ClosedCorrelationKeyException is thrown.","number","","",!1,!1,!1,!1,"advanced",""),new i("discardOnCompletionTimeout","Discard On Completion Timeout","Discards the aggregated message on completion timeout. This means on timeout the aggregated message is dropped and not sent out of the aggregator.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("discardOnAggregationFailure","Discard On Aggregation Failure","Discards the aggregated message when aggregation failed (an exception was thrown from AggregationStrategy . This means the partly aggregated message is dropped and not sent out of the aggregator. This option cannot be used together with completionFromBatchConsumer.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("forceCompletionOnStop","Force Completion On Stop","Indicates to complete all current aggregated exchanges when the context is stopped","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("completeAllOnStop","Complete All On Stop","Indicates to wait to complete all current and partial (pending) aggregated exchanges when the context is stopped. This also means that we will wait for all pending exchanges which are stored in the aggregation repository to complete so the repository is empty before we can stop. You may want to enable this when using the memory based aggregation repository that is memory based only, and do not store data on disk. When this option is enabled, then the aggregator is waiting to complete all those exchanges before its stopped, when stopping CamelContext or the route using it.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("stop","StopDefinition","Stop","Stops the processing of the current message","eip,routing",[new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("errorHandler","ErrorHandlerDefinition","Error Handler","Camel error handling.","configuration,error",[new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"",""),new i("deadLetterChannel","deadLetterChannel","deadLetterChannel","DeadLetterChannelDefinition","","",!1,!1,!1,!0,"",""),new i("defaultErrorHandler","defaultErrorHandler","defaultErrorHandler","DefaultErrorHandlerDefinition","","",!1,!1,!1,!0,"",""),new i("jtaTransactionErrorHandler","jtaTransactionErrorHandler","jtaTransactionErrorHandler","JtaTransactionErrorHandlerDefinition","","",!1,!1,!1,!0,"",""),new i("noErrorHandler","noErrorHandler","noErrorHandler","NoErrorHandlerDefinition","","",!1,!1,!1,!0,"",""),new i("springTransactionErrorHandler","springTransactionErrorHandler","springTransactionErrorHandler","SpringTransactionErrorHandlerDefinition","","",!1,!1,!1,!0,"","")]),new e("templatedRouteBean","TemplatedRouteBeanDefinition","Templated Route Bean","A bean as input of a route template (local bean)","configuration",[new i("name","Name","Bean name","string","","",!0,!1,!1,!1,"",""),new i("type","Type","What type to use for creating the bean. Can be one of: #class,#type,bean,groovy,joor,language,mvel,ognl. #class or #type then the bean is created via the fully qualified classname, such as #class:com.foo.MyBean The others are scripting languages that gives more power to create the bean with an inlined code in the script section, such as using groovy.","string","","",!0,!1,!1,!1,"",""),new i("beanType","Bean Type","To set the type (fully qualified class name) of the returned bean created by the script. Knowing the type of the bean can be needed when dependency injection by type is in use, or when looking in registry via class type.","string","","",!1,!1,!1,!1,"advanced",""),new i("property","Property","Optional properties to set on the created local bean","PropertyDefinition","","",!1,!1,!0,!0,"",""),new i("script","Script","The script to execute that creates the bean when using scripting languages. If the script use the prefix resource: such as resource:classpath:com/foo/myscript.groovy, resource:file:/var/myscript.groovy, then its loaded from the external resource.","string","","",!1,!1,!1,!1,"advanced",""),new i("properties","properties","properties","object","","",!1,!1,!1,!1,"","")]),new e("dataFormats","DataFormatsDefinition","Data formats","Configure data formats.","dataformat,transformation",[new i("any23","any23","any23","Any23DataFormat","","",!1,!1,!1,!0,"",""),new i("asn1","asn1","asn1","ASN1DataFormat","","",!1,!1,!1,!0,"",""),new i("avro","avro","avro","AvroDataFormat","","",!1,!1,!1,!0,"",""),new i("barcode","barcode","barcode","BarcodeDataFormat","","",!1,!1,!1,!0,"",""),new i("base64","base64","base64","Base64DataFormat","","",!1,!1,!1,!0,"",""),new i("bindy","bindy","bindy","BindyDataFormat","","",!1,!1,!1,!0,"",""),new i("cbor","cbor","cbor","CBORDataFormat","","",!1,!1,!1,!0,"",""),new i("crypto","crypto","crypto","CryptoDataFormat","","",!1,!1,!1,!0,"",""),new i("csv","csv","csv","CsvDataFormat","","",!1,!1,!1,!0,"",""),new i("custom","custom","custom","CustomDataFormat","","",!1,!1,!1,!0,"",""),new i("fhirJson","fhirJson","fhirJson","FhirJsonDataFormat","","",!1,!1,!1,!0,"",""),new i("fhirXml","fhirXml","fhirXml","FhirXmlDataFormat","","",!1,!1,!1,!0,"",""),new i("flatpack","flatpack","flatpack","FlatpackDataFormat","","",!1,!1,!1,!0,"",""),new i("grok","grok","grok","GrokDataFormat","","",!1,!1,!1,!0,"",""),new i("gzipDeflater","gzipDeflater","gzipDeflater","GzipDeflaterDataFormat","","",!1,!1,!1,!0,"",""),new i("hl7","hl7","hl7","HL7DataFormat","","",!1,!1,!1,!0,"",""),new i("ical","ical","ical","IcalDataFormat","","",!1,!1,!1,!0,"",""),new i("jacksonXml","jacksonXml","jacksonXml","JacksonXMLDataFormat","","",!1,!1,!1,!0,"",""),new i("jaxb","jaxb","jaxb","JaxbDataFormat","","",!1,!1,!1,!0,"",""),new i("json","json","json","JsonDataFormat","","",!1,!1,!1,!0,"",""),new i("jsonApi","jsonApi","jsonApi","JsonApiDataFormat","","",!1,!1,!1,!0,"",""),new i("lzf","lzf","lzf","LZFDataFormat","","",!1,!1,!1,!0,"",""),new i("mimeMultipart","mimeMultipart","mimeMultipart","MimeMultipartDataFormat","","",!1,!1,!1,!0,"",""),new i("pgp","pgp","pgp","PGPDataFormat","","",!1,!1,!1,!0,"",""),new i("protobuf","protobuf","protobuf","ProtobufDataFormat","","",!1,!1,!1,!0,"",""),new i("rss","rss","rss","RssDataFormat","","",!1,!1,!1,!0,"",""),new i("soap","soap","soap","SoapDataFormat","","",!1,!1,!1,!0,"",""),new i("swiftMt","swiftMt","swiftMt","SwiftMtDataFormat","","",!1,!1,!1,!0,"",""),new i("swiftMx","swiftMx","swiftMx","SwiftMxDataFormat","","",!1,!1,!1,!0,"",""),new i("syslog","syslog","syslog","SyslogDataFormat","","",!1,!1,!1,!0,"",""),new i("tarFile","tarFile","tarFile","TarFileDataFormat","","",!1,!1,!1,!0,"",""),new i("thrift","thrift","thrift","ThriftDataFormat","","",!1,!1,!1,!0,"",""),new i("tidyMarkup","tidyMarkup","tidyMarkup","TidyMarkupDataFormat","","",!1,!1,!1,!0,"",""),new i("univocityCsv","univocityCsv","univocityCsv","UniVocityCsvDataFormat","","",!1,!1,!1,!0,"",""),new i("univocityFixed","univocityFixed","univocityFixed","UniVocityFixedDataFormat","","",!1,!1,!1,!0,"",""),new i("univocityTsv","univocityTsv","univocityTsv","UniVocityTsvDataFormat","","",!1,!1,!1,!0,"",""),new i("xmlSecurity","xmlSecurity","xmlSecurity","XMLSecurityDataFormat","","",!1,!1,!1,!0,"",""),new i("xstream","xstream","xstream","XStreamDataFormat","","",!1,!1,!1,!0,"",""),new i("yaml","yaml","yaml","YAMLDataFormat","","",!1,!1,!1,!0,"",""),new i("zipDeflater","zipDeflater","zipDeflater","ZipDeflaterDataFormat","","",!1,!1,!1,!0,"",""),new i("zipFile","zipFile","zipFile","ZipFileDataFormat","","",!1,!1,!1,!0,"","")]),new e("mutualTLS","MutualTLSDefinition","Mutual TLS","Rest security mutual TLS authentication definition","rest,security,configuration",[new i("key","Key","Key used to refer to this security definition","string","","",!0,!1,!1,!1,"",""),new i("description","Description","A short description for security scheme.","string","","",!1,!1,!1,!1,"","")]),new e("split","SplitDefinition","Split","Splits a single message into many sub-messages.","eip,routing",[new i("expression","Expression","Expression of how to split the message body, such as as-is, using a tokenizer, or using a xpath.","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("delimiter","Delimiter","Delimiter used in splitting messages. Can be turned off using the value false. The default value is ,","string","",",",!1,!1,!1,!1,"",""),new i("aggregationStrategy","Aggregation Strategy","Sets a reference to the AggregationStrategy to be used to assemble the replies from the split messages, into a single outgoing message from the Splitter. By default Camel will use the original incoming message to the splitter (leave it unchanged). You can also use a POJO as the AggregationStrategy","string","","",!1,!1,!1,!1,"","org.apache.camel.AggregationStrategy"),new i("aggregationStrategyMethodName","Aggregation Strategy Method Name","This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregationStrategyMethodAllowNull","Aggregation Strategy Method Allow Null","If this option is false then the aggregate method is not used if there was no data to enrich. If this option is true then null values is used as the oldExchange (when no data to enrich), when using POJOs as the AggregationStrategy","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("parallelAggregate","Parallel Aggregate","If enabled then the aggregate method on AggregationStrategy can be called concurrently. Notice that this would require the implementation of AggregationStrategy to be implemented as thread-safe. By default this is false meaning that Camel synchronizes the call to the aggregate method. Though in some use-cases this can be used to archive higher performance when the AggregationStrategy is implemented as thread-safe.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("parallelProcessing","Parallel Processing","If enabled then processing each split messages occurs concurrently. Note the caller thread will still wait until all messages has been fully processed, before it continues. It's only processing the sub messages from the splitter which happens concurrently. When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the splitter, then make sure to enable the synchronous option as well.","boolean","","false",!1,!1,!1,!1,"",""),new i("synchronous","Synchronous","Sets whether synchronous processing should be strictly used. When enabled then the same thread is used to continue routing after the split is complete, even if parallel processing is enabled.","boolean","","false",!1,!1,!1,!1,"",""),new i("streaming","Streaming","When in streaming mode, then the splitter splits the original message on-demand, and each split message is processed one by one. This reduces memory usage as the splitter do not split all the messages first, but then we do not know the total size, and therefore the org.apache.camel.Exchange#SPLIT_SIZE is empty. In non-streaming mode (default) the splitter will split each message first, to know the total size, and then process each message one by one. This requires to keep all the split messages in memory and therefore requires more memory. The total size is provided in the org.apache.camel.Exchange#SPLIT_SIZE header. The streaming mode also affects the aggregation behavior. If enabled then Camel will process replies out-of-order, e.g. in the order they come back. If disabled, Camel will process replies in the same order as the messages was split.","boolean","","false",!1,!1,!1,!1,"",""),new i("stopOnException","Stop On Exception","Will now stop further processing if an exception or failure occurred during processing of an org.apache.camel.Exchange and the caused exception will be thrown. Will also stop if processing the exchange failed (has a fault message) or an exception was thrown and handled by the error handler (such as using onException). In all situations the splitter will stop further processing. This is the same behavior as in pipeline, which is used by the routing engine. The default behavior is to not stop but continue processing till the end","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("timeout","Timeout","Sets a total timeout specified in millis, when using parallel processing. If the Splitter hasn't been able to split and process all the sub messages within the given timeframe, then the timeout triggers and the Splitter breaks out and continues. Notice if you provide a TimeoutAwareAggregationStrategy then the timeout method is invoked before breaking out. If the timeout is reached with running tasks still remaining, certain tasks for which it is difficult for Camel to shut down in a graceful manner may continue to run. So use this option with a bit of care.","string","","0",!1,!1,!1,!1,"advanced",""),new i("executorService","Executor Service","To use a custom Thread Pool to be used for parallel processing. Notice if you set this option, then parallel processing is automatically implied, and you do not have to enable that option as well.","string","","",!1,!1,!1,!1,"advanced",""),new i("onPrepare","On Prepare","Uses the Processor when preparing the org.apache.camel.Exchange to be sent. This can be used to deep-clone messages that should be sent, or any custom logic needed before the exchange is sent.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("shareUnitOfWork","Share Unit Of Work","Shares the org.apache.camel.spi.UnitOfWork with the parent and each of the sub messages. Splitter will by default not share unit of work between the parent exchange and each split exchange. This means each split exchange has its own individual unit of work.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("removeProperty","RemovePropertyDefinition","Remove Property","Removes a named property from the message exchange","eip,transformation",[new i("name","Name","Name of property to remove.","string","","",!0,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("security","SecurityDefinition","Rest Security","Rest security definition","rest,security,configuration",[new i("key","Key","Key used to refer to this security definition","string","","",!0,!1,!1,!1,"",""),new i("scopes","Scopes","The scopes to allow (separate multiple scopes by comma)","string","","",!1,!1,!1,!1,"","")]),new e("onException","OnExceptionDefinition","On Exception","Route to be executed when an exception is thrown","error",[new i("exception","Exception","A set of exceptions to react upon.","string","","",!0,!1,!0,!0,"",""),new i("onWhen","On When","Sets an additional predicate that should be true before the onException is triggered. To be used for fine grained controlling whether a thrown exception should be intercepted by this exception type or not.","WhenDefinition","","",!1,!1,!1,!0,"",""),new i("retryWhile","Retry While","Sets the retry while predicate. Will continue retrying until predicate returns false.","ExpressionSubElementDefinition","","",!1,!1,!1,!0,"advanced",""),new i("redeliveryPolicy","Redelivery Policy","Used for configuring redelivery options","RedeliveryPolicyDefinition","","",!1,!1,!1,!0,"",""),new i("redeliveryPolicyRef","Redelivery Policy Ref","Sets a reference to a redelivery policy to lookup in the org.apache.camel.spi.Registry to be used.","string","","",!1,!1,!1,!1,"advanced",""),new i("handled","Handled","Sets whether the exchange should be marked as handled or not.","ExpressionSubElementDefinition","","",!1,!1,!1,!0,"",""),new i("continued","Continued","Sets whether the exchange should handle and continue routing from the point of failure. If this option is enabled then its considered handled as well.","ExpressionSubElementDefinition","","",!1,!1,!1,!0,"advanced",""),new i("onRedeliveryRef","On Redelivery Ref","Sets a reference to a processor that should be processed before a redelivery attempt. Can be used to change the org.apache.camel.Exchange before its being redelivered.","string","","",!1,!1,!1,!1,"advanced",""),new i("onExceptionOccurredRef","On Exception Occurred Ref","Sets a reference to a processor that should be processed just after an exception occurred. Can be used to perform custom logging about the occurred exception at the exact time it happened. Important: Any exception thrown from this processor will be ignored.","string","","",!1,!1,!1,!1,"advanced",""),new i("useOriginalMessage","Use Original Message","Will use the original input org.apache.camel.Message (original body and headers) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the split message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("useOriginalBody","Use Original Body","Will use the original input org.apache.camel.Message body (original body only) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the split message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("multicast","MulticastDefinition","Multicast","Routes the same message to multiple paths either sequentially or in parallel.","eip,routing",[new i("aggregationStrategy","Aggregation Strategy","Refers to an AggregationStrategy to be used to assemble the replies from the multicasts, into a single outgoing message from the Multicast. By default Camel will use the last reply as the outgoing message. You can also use a POJO as the AggregationStrategy","string","","",!1,!1,!1,!1,"","org.apache.camel.AggregationStrategy"),new i("aggregationStrategyMethodName","Aggregation Strategy Method Name","This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregationStrategyMethodAllowNull","Aggregation Strategy Method Allow Null","If this option is false then the aggregate method is not used if there was no data to enrich. If this option is true then null values is used as the oldExchange (when no data to enrich), when using POJOs as the AggregationStrategy","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("parallelAggregate","Parallel Aggregate","If enabled then the aggregate method on AggregationStrategy can be called concurrently. Notice that this would require the implementation of AggregationStrategy to be implemented as thread-safe. By default this is false meaning that Camel synchronizes the call to the aggregate method. Though in some use-cases this can be used to archive higher performance when the AggregationStrategy is implemented as thread-safe.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("parallelProcessing","Parallel Processing","If enabled then sending messages to the multicasts occurs concurrently. Note the caller thread will still wait until all messages has been fully processed, before it continues. Its only the sending and processing the replies from the multicasts which happens concurrently. When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the multicast, then make sure to enable the synchronous option as well.","boolean","","false",!1,!1,!1,!1,"",""),new i("synchronous","Synchronous","Sets whether synchronous processing should be strictly used. When enabled then the same thread is used to continue routing after the multicast is complete, even if parallel processing is enabled.","boolean","","false",!1,!1,!1,!1,"",""),new i("streaming","Streaming","If enabled then Camel will process replies out-of-order, eg in the order they come back. If disabled, Camel will process replies in the same order as defined by the multicast.","boolean","","false",!1,!1,!1,!1,"",""),new i("stopOnException","Stop On Exception","Will now stop further processing if an exception or failure occurred during processing of an org.apache.camel.Exchange and the caused exception will be thrown. Will also stop if processing the exchange failed (has a fault message) or an exception was thrown and handled by the error handler (such as using onException). In all situations the multicast will stop further processing. This is the same behavior as in pipeline, which is used by the routing engine. The default behavior is to not stop but continue processing till the end","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("timeout","Timeout","Sets a total timeout specified in millis, when using parallel processing. If the Multicast hasn't been able to send and process all replies within the given timeframe, then the timeout triggers and the Multicast breaks out and continues. Notice if you provide a TimeoutAwareAggregationStrategy then the timeout method is invoked before breaking out. If the timeout is reached with running tasks still remaining, certain tasks for which it is difficult for Camel to shut down in a graceful manner may continue to run. So use this option with a bit of care.","string","","0",!1,!1,!1,!1,"advanced",""),new i("executorService","Executor Service","Refers to a custom Thread Pool to be used for parallel processing. Notice if you set this option, then parallel processing is automatic implied, and you do not have to enable that option as well.","string","","",!1,!1,!1,!1,"advanced",""),new i("onPrepare","On Prepare","Uses the Processor when preparing the org.apache.camel.Exchange to be send. This can be used to deep-clone messages that should be send, or any custom logic needed before the exchange is send.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("shareUnitOfWork","Share Unit Of Work","Shares the org.apache.camel.spi.UnitOfWork with the parent and each of the sub messages. Multicast will by default not share unit of work between the parent exchange and each multicasted exchange. This means each sub exchange has its own individual unit of work.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("redeliveryPolicy","RedeliveryPolicyDefinition","Redelivery Policy","To configure re-delivery for error handling","configuration",[new i("maximumRedeliveries","Maximum Redeliveries","Sets the maximum redeliveries x = redeliver at most x times 0 = no redeliveries -1 = redeliver forever","number","","",!1,!1,!1,!1,"",""),new i("redeliveryDelay","Redelivery Delay","Sets the initial redelivery delay","string","","1000",!1,!1,!1,!1,"",""),new i("asyncDelayedRedelivery","Async Delayed Redelivery","Allow asynchronous delayed redelivery. The route, in particular the consumer's component, must support the Asynchronous Routing Engine (e.g. seda).","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("backOffMultiplier","Back Off Multiplier","Sets the back off multiplier","number","","2.0",!1,!1,!1,!1,"",""),new i("useExponentialBackOff","Use Exponential Back Off","Turn on exponential backk off","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("collisionAvoidanceFactor","Collision Avoidance Factor","Sets the collision avoidance factor","number","","0.15",!1,!1,!1,!1,"advanced",""),new i("useCollisionAvoidance","Use Collision Avoidance","Turn on collision avoidance.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("maximumRedeliveryDelay","Maximum Redelivery Delay","Sets the maximum delay between redelivery","string","","60000",!1,!1,!1,!1,"",""),new i("retriesExhaustedLogLevel","Retries Exhausted Log Level","Sets the logging level to use when retries have been exhausted","string","","ERROR",!1,!1,!1,!1,"advanced",""),new i("retryAttemptedLogLevel","Retry Attempted Log Level","Sets the logging level to use for logging retry attempts","string","","DEBUG",!1,!1,!1,!1,"",""),new i("retryAttemptedLogInterval","Retry Attempted Log Interval","Sets the interval to use for logging retry attempts","number","","1",!1,!1,!1,!1,"advanced",""),new i("logRetryAttempted","Log Retry Attempted","Sets whether retry attempts should be logged or not. Can be used to include or reduce verbose.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("logStackTrace","Log Stack Trace","Sets whether stack traces should be logged. Can be used to include or reduce verbose.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("logRetryStackTrace","Log Retry Stack Trace","Sets whether stack traces should be logged when an retry attempt failed. Can be used to include or reduce verbose.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("logHandled","Log Handled","Sets whether handled exceptions should be logged or not. Can be used to include or reduce verbose.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("logNewException","Log New Exception","Sets whether new exceptions should be logged or not. Can be used to include or reduce verbose. A new exception is an exception that was thrown while handling a previous exception.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("logContinued","Log Continued","Sets whether continued exceptions should be logged or not. Can be used to include or reduce verbose.","boolean","","false",!1,!1,!1,!1,"",""),new i("logExhausted","Log Exhausted","Sets whether exhausted exceptions should be logged or not. Can be used to include or reduce verbose.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("logExhaustedMessageHistory","Log Exhausted Message History","Sets whether exhausted exceptions should be logged including message history or not (supports property placeholders). Can be used to include or reduce verbose.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("logExhaustedMessageBody","Log Exhausted Message Body","Sets whether exhausted message body should be logged including message history or not (supports property placeholders). Can be used to include or reduce verbose. Requires logExhaustedMessageHistory to be enabled.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disableRedelivery","Disable Redelivery","Disables redelivery (same as setting maximum redeliveries to 0)","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("delayPattern","Delay Pattern","Sets the delay pattern with delay intervals.","string","","",!1,!1,!1,!1,"advanced",""),new i("allowRedeliveryWhileStopping","Allow Redelivery While Stopping","Controls whether to allow redelivery while stopping/shutting down a route that uses error handling.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("exchangeFormatterRef","Exchange Formatter Ref","Sets the reference of the instance of org.apache.camel.spi.ExchangeFormatter to generate the log message from exchange.","string","","",!1,!1,!1,!1,"advanced",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("routeContextRef","RouteContextRefDefinition","Route Context Ref","To refer to an XML file with routes defined using the xml-dsl","configuration",[new i("ref","Ref","Reference to the routes in the xml dsl","string","","",!0,!1,!1,!1,"","")]),new e("defaultErrorHandler","DefaultErrorHandlerDefinition","Default Error Handler","The default error handler.","configuration,error",[new i("loggerRef","Logger Ref","References to a logger to use as logger for the error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("level","Level","Logging level to use when using the logging error handler type.","string","TRACE, DEBUG, INFO, WARN, ERROR, OFF","ERROR",!1,!1,!1,!1,"advanced",""),new i("logName","Log Name","Name of the logger to use for the logging error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("useOriginalMessage","Use Original Message","Will use the original input org.apache.camel.Message (original body and headers) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the splitted message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("useOriginalBody","Use Original Body","Will use the original input org.apache.camel.Message body (original body only) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the splitted message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("onRedeliveryRef","On Redelivery Ref","Sets a reference to a processor that should be processed before a redelivery attempt. Can be used to change the org.apache.camel.Exchange before its being redelivered.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("onExceptionOccurredRef","On Exception Occurred Ref","Sets a reference to a processor that should be processed just after an exception occurred. Can be used to perform custom logging about the occurred exception at the exact time it happened. Important: Any exception thrown from this processor will be ignored.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("onPrepareFailureRef","On Prepare Failure Ref","Sets a reference to a processor to prepare the org.apache.camel.Exchange before handled by the failure processor / dead letter channel. This allows for example to enrich the message before sending to a dead letter queue.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("retryWhileRef","Retry While Ref","Sets a retry while predicate. Will continue retrying until the predicate evaluates to false.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("redeliveryPolicyRef","Redelivery Policy Ref","Sets a reference to a RedeliveryPolicy to be used for redelivery settings.","string","","",!1,!1,!1,!1,"advanced",""),new i("executorServiceRef","Executor Service Ref","Sets a reference to a thread pool to be used by the error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("redeliveryPolicy","Redelivery Policy","Sets the redelivery settings","RedeliveryPolicyDefinition","","",!1,!1,!1,!0,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("put","PutDefinition","Put","Rest PUT command","rest",[new i("path","Path","The path mapping URIs of this REST operation such as /{id}.","string","","",!1,!1,!1,!1,"",""),new i("to","To","The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.","string","","",!0,!1,!1,!1,"",""),new i("consumes","Consumes","To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("produces","Produces","To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("type","Type","Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("outType","Out Type","Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("bindingMode","Binding Mode","Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off","string","off, auto, json, xml, json_xml","off",!1,!1,!1,!1,"",""),new i("skipBindingOnErrorCode","Skip Binding On Error Code","Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("clientRequestValidation","Client Request Validation","Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP Status 400 if validation error.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("enableCors","enableCors","enableCors","boolean","","",!1,!1,!1,!1,"",""),new i("apiDocs","Api Docs","Whether to include or exclude this rest operation in API documentation. The default value is true.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("deprecated","Deprecated","Marks this rest operation as deprecated in OpenApi documentation.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("routeId","Route Id","Sets the id of the route","string","","",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("param","param","param","ParamDefinition","","",!1,!1,!0,!0,"",""),new i("responseMessage","responseMessage","responseMessage","ResponseMessageDefinition","","",!1,!1,!0,!0,"",""),new i("security","security","security","SecurityDefinition","","",!1,!1,!0,!0,"","")]),new e("transform","TransformDefinition","Transform","Transforms the message body based on an expression","eip,transformation",[new i("expression","Expression","Expression to return the transformed message body (the new message body to use)","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("doTry","TryDefinition","Do Try","Marks the beginning of a try, catch, finally block","error",[new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("doCatch","doCatch","doCatch","CatchDefinition","","",!1,!1,!0,!0,"",""),new i("doFinally","doFinally","doFinally","FinallyDefinition","","",!1,!1,!1,!0,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("routingSlip","RoutingSlipDefinition","Routing Slip","Routes a message through a series of steps that are pre-determined (the slip)","eip,routing",[new i("expression","Expression","Expression to define the routing slip, which defines which endpoints to route the message in a pipeline style. Notice the expression is evaluated once, if you want a more dynamic style, then the dynamic router eip is a better choice.","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("uriDelimiter","Uri Delimiter","Sets the uri delimiter to use","string","",",",!1,!1,!1,!1,"",""),new i("ignoreInvalidEndpoints","Ignore Invalid Endpoints","Ignore the invalidate endpoint exception when try to create a producer with that endpoint","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("cacheSize","Cache Size","Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this routing slip, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped and discarded after use. This reduces memory usage as otherwise producers/endpoints are stored in memory in the caches. However if there are a high degree of dynamic endpoints that have been used before, then it can benefit to use the cache to reuse both producers and endpoints and therefore the cache size can be set accordingly or rely on the default size (1000). If there is a mix of unique and used before dynamic endpoints, then setting a reasonable cache size can help reduce memory usage to avoid storing too many non frequent used producers.","number","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("script","ScriptDefinition","Script","Executes a script from a language which does not change the message body.","eip,transformation",[new i("expression","Expression","Expression to return the transformed message body (the new message body to use)","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("delay","DelayDefinition","Delay","Delays processing for a specified length of time","eip,routing",[new i("expression","Expression","Expression to define how long time to wait (in millis)","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("asyncDelayed","Async Delayed","Enables asynchronous delay which means the thread will not block while delaying.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("callerRunsWhenRejected","Caller Runs When Rejected","Whether or not the caller should run the task when it was rejected by the thread pool. Is by default true","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("executorService","Executor Service","To use a custom Thread Pool if asyncDelay has been enabled.","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("inOnly","InOnlyDefinition","In Only","Marks the exchange pattern for the route to one way","eip,routing",[new i("uri","Uri","Sets the uri of the endpoint to send to.","string","","",!0,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("parameters","parameters","parameters","object","","",!1,!1,!1,!1,"","")]),new e("contextScan","ContextScanDefinition","Context Scan","Scans for Java org.apache.camel.builder.RouteBuilder instances in the context org.apache.camel.spi.Registry .","configuration",[new i("includeNonSingletons","Include Non Singletons","Whether to include non-singleton beans (prototypes) By default only singleton beans is included in the context scan","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("excludes","Excludes","Exclude finding route builder from these java package names.","string","","",!1,!1,!0,!0,"",""),new i("includes","Includes","Include finding route builder from these java package names.","string","","",!1,!1,!0,!0,"","")]),new e("noErrorHandler","NoErrorHandlerDefinition","No Error Handler","To not use an error handler.","configuration,error",[new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("wireTap","WireTapDefinition","Wire Tap","Routes a copy of a message (or creates a new message) to a secondary destination while continue routing the original message.","eip,routing",[new i("copy","Copy","Uses a copy of the original exchange","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("dynamicUri","Dynamic Uri","Whether the uri is dynamic or static. If the uri is dynamic then the simple language is used to evaluate a dynamic uri to use as the wire-tap destination, for each incoming message. This works similar to how the toD EIP pattern works. If static then the uri is used as-is as the wire-tap destination.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("onPrepare","On Prepare","Uses the Processor when preparing the org.apache.camel.Exchange to be sent. This can be used to deep-clone messages that should be sent, or any custom logic needed before the exchange is sent.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("executorService","Executor Service","Uses a custom thread pool","string","","",!1,!1,!1,!1,"advanced",""),new i("uri","Uri","The uri of the endpoint to send to. The uri can be dynamic computed using the org.apache.camel.language.simple.SimpleLanguage expression.","string","","",!0,!1,!1,!1,"",""),new i("pattern","Pattern","Sets the optional ExchangePattern used to invoke this endpoint","string","InOnly, InOut, InOptionalOut","",!1,!1,!1,!1,"advanced",""),new i("cacheSize","Cache Size","Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this recipient list, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped and discarded after use. This reduces memory usage as otherwise producers/endpoints are stored in memory in the caches. However if there are a high degree of dynamic endpoints that have been used before, then it can benefit to use the cache to reuse both producers and endpoints and therefore the cache size can be set accordingly or rely on the default size (1000). If there is a mix of unique and used before dynamic endpoints, then setting a reasonable cache size can help reduce memory usage to avoid storing too many non frequent used producers.","number","","",!1,!1,!1,!1,"advanced",""),new i("ignoreInvalidEndpoint","Ignore Invalid Endpoint","Whether to ignore invalid endpoint URIs and skip sending the message.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("allowOptimisedComponents","Allow Optimised Components","Whether to allow components to optimise toD if they are org.apache.camel.spi.SendDynamicAware .","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("autoStartComponents","Auto Start Components","Whether to auto startup components when toD is starting up.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("parameters","parameters","parameters","object","","",!1,!1,!1,!1,"","")]),new e("routeConfiguration","RouteConfigurationDefinition","Route Configuration","Reusable configuration for Camel route(s).","configuration",[new i("errorHandler","Error Handler","Sets the error handler to use, for routes that has not already been configured with an error handler.","ErrorHandlerDefinition","","",!1,!1,!1,!0,"",""),new i("intercept","Intercept","Adds a route for an interceptor that intercepts every processing step.","InterceptDefinition","","",!1,!1,!0,!0,"",""),new i("interceptFrom","Intercept From","Adds a route for an interceptor that intercepts incoming messages on the given endpoint.","InterceptFromDefinition","","",!1,!1,!0,!0,"",""),new i("interceptSendToEndpoint","Intercept Send To Endpoint","Applies a route for an interceptor if an exchange is send to the given endpoint","InterceptSendToEndpointDefinition","","",!1,!1,!0,!0,"",""),new i("onException","On Exception","Exception clause for catching certain exceptions and handling them.","OnExceptionDefinition","","",!1,!1,!0,!0,"",""),new i("onCompletion","On Completion","On completion callback for doing custom routing when the org.apache.camel.Exchange is complete.","OnCompletionDefinition","","",!1,!1,!0,!0,"",""),new i("precondition","Precondition","The predicate of the precondition in simple language to evaluate in order to determine if this route configuration should be included or not.","string","","",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"","")]),new e("optimisticLockRetryPolicy","OptimisticLockRetryPolicyDefinition","Optimistic Lock Retry Policy","To configure optimistic locking","configuration",[new i("maximumRetries","Maximum Retries","Sets the maximum number of retries","number","","",!1,!1,!1,!1,"",""),new i("retryDelay","Retry Delay","Sets the delay in millis between retries","string","","50",!1,!1,!1,!1,"",""),new i("maximumRetryDelay","Maximum Retry Delay","Sets the upper value of retry in millis between retries, when using exponential or random backoff","string","","1000",!1,!1,!1,!1,"",""),new i("exponentialBackOff","Exponential Back Off","Enable exponential backoff","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("randomBackOff","Random Back Off","Enables random backoff","boolean","","false",!1,!1,!1,!1,"advanced","")]),new e("interceptFrom","InterceptFromDefinition","Intercept From","Intercepts incoming messages","configuration",[new i("uri","Uri","Intercept incoming messages from the uri or uri pattern. If this option is not configured, then all incoming messages is intercepted.","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("deadLetterChannel","DeadLetterChannelDefinition","Dead Letter Channel","Error handler with dead letter queue.","configuration,error",[new i("deadLetterUri","Dead Letter Uri","The dead letter endpoint uri for the Dead Letter error handler.","string","","",!0,!1,!1,!1,"",""),new i("deadLetterHandleNewException","Dead Letter Handle New Exception","Whether the dead letter channel should handle (and ignore) any new exception that may been thrown during sending the message to the dead letter endpoint. The default value is true which means any such kind of exception is handled and ignored. Set this to false to let the exception be propagated back on the org.apache.camel.Exchange . This can be used in situations where you use transactions, and want to use Camel's dead letter channel to deal with exceptions during routing, but if the dead letter channel itself fails because of a new exception being thrown, then by setting this to false the new exceptions is propagated back and set on the org.apache.camel.Exchange , which allows the transaction to detect the exception, and rollback.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("loggerRef","Logger Ref","References to a logger to use as logger for the error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("level","Level","Logging level to use when using the logging error handler type.","string","TRACE, DEBUG, INFO, WARN, ERROR, OFF","ERROR",!1,!1,!1,!1,"advanced",""),new i("logName","Log Name","Name of the logger to use for the logging error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("useOriginalMessage","Use Original Message","Will use the original input org.apache.camel.Message (original body and headers) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the splitted message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("useOriginalBody","Use Original Body","Will use the original input org.apache.camel.Message body (original body only) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the splitted message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("onRedeliveryRef","On Redelivery Ref","Sets a reference to a processor that should be processed before a redelivery attempt. Can be used to change the org.apache.camel.Exchange before its being redelivered.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("onExceptionOccurredRef","On Exception Occurred Ref","Sets a reference to a processor that should be processed just after an exception occurred. Can be used to perform custom logging about the occurred exception at the exact time it happened. Important: Any exception thrown from this processor will be ignored.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("onPrepareFailureRef","On Prepare Failure Ref","Sets a reference to a processor to prepare the org.apache.camel.Exchange before handled by the failure processor / dead letter channel. This allows for example to enrich the message before sending to a dead letter queue.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("retryWhileRef","Retry While Ref","Sets a retry while predicate. Will continue retrying until the predicate evaluates to false.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("redeliveryPolicyRef","Redelivery Policy Ref","Sets a reference to a RedeliveryPolicy to be used for redelivery settings.","string","","",!1,!1,!1,!1,"advanced",""),new i("executorServiceRef","Executor Service Ref","Sets a reference to a thread pool to be used by the error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("redeliveryPolicy","Redelivery Policy","Sets the redelivery settings","RedeliveryPolicyDefinition","","",!1,!1,!1,!0,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("apiKey","ApiKeyDefinition","Api Key","Rest security basic auth definition","rest,security,configuration",[new i("name","Name","The name of the header or query parameter to be used.","string","","",!0,!1,!1,!1,"",""),new i("key","Key","Key used to refer to this security definition","string","","",!0,!1,!1,!1,"",""),new i("inHeader","In Header","To use header as the location of the API key.","boolean","","false",!1,!1,!1,!1,"",""),new i("inQuery","In Query","To use query parameter as the location of the API key.","boolean","","false",!1,!1,!1,!1,"",""),new i("inCookie","In Cookie","To use a cookie as the location of the API key.","boolean","","false",!1,!1,!1,!1,"",""),new i("description","Description","A short description for security scheme.","string","","",!1,!1,!1,!1,"","")]),new e("idempotentConsumer","IdempotentConsumerDefinition","Idempotent Consumer","Filters out duplicate messages","eip,routing",[new i("expression","Expression","Expression used to calculate the correlation key to use for duplicate check. The Exchange which has the same correlation key is regarded as a duplicate and will be rejected.","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("idempotentRepository","Idempotent Repository","Sets the reference name of the message id repository","string","","",!1,!1,!1,!1,"",""),new i("eager","Eager","Sets whether to eagerly add the key to the idempotent repository or wait until the exchange is complete. Eager is default enabled.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("completionEager","Completion Eager","Sets whether to complete the idempotent consumer eager or when the exchange is done. If this option is true to complete eager, then the idempotent consumer will trigger its completion when the exchange reached the end of the block of the idempotent consumer pattern. So if the exchange is continued routed after the block ends, then whatever happens there does not affect the state. If this option is false (default) to not complete eager, then the idempotent consumer will complete when the exchange is done being routed. So if the exchange is continued routed after the block ends, then whatever happens there also affect the state. For example if the exchange failed due to an exception, then the state of the idempotent consumer will be a rollback.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("skipDuplicate","Skip Duplicate","Sets whether to skip duplicates or not. The default behavior is to skip duplicates. A duplicate message would have the Exchange property org.apache.camel.Exchange#DUPLICATE_MESSAGE set to a Boolean#TRUE value. A none duplicate message will not have this property set.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("removeOnFailure","Remove On Failure","Sets whether to remove or keep the key on failure. The default behavior is to remove the key on failure.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("removeHeader","RemoveHeaderDefinition","Remove Header","Removes a named header from the message","eip,transformation",[new i("name","Name","Name of header to remove","string","","",!0,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("openIdConnect","OpenIdConnectDefinition","Open Id Connect","Rest security OpenID Connect definition","rest,security,configuration",[new i("key","Key","Key used to refer to this security definition","string","","",!0,!1,!1,!1,"",""),new i("url","Url","OpenId Connect URL to discover OAuth2 configuration values.","string","","",!0,!1,!1,!1,"",""),new i("description","Description","A short description for security scheme.","string","","",!1,!1,!1,!1,"","")]),new e("propertyExpression","PropertyExpressionDefinition","Property Expression","A key value pair where the value is an expression.","configuration",[new i("key","Key","Property key","string","","",!0,!1,!1,!1,"",""),new i("expression","Expression","Property values as an expression","ExpressionDefinition","","",!0,!1,!1,!0,"","")]),new e("inputType","InputTypeDefinition","Input Type","Set the expected data type of the input message. If the actual message type is different at runtime, camel look for a required Transformer and apply if exists. If validate attribute is true then camel applies Validator as well. Type name consists of two parts, 'scheme' and 'name' connected with ':'. For Java type 'name' is a fully qualified class name. For example {code java:java.lang.String} , {code json:ABCOrder} . It's also possible to specify only scheme part, so that it works like a wildcard. If only 'xml' is specified, all the XML message matches. It's handy to add only one transformer/validator for all the transformation from/to XML.","configuration",[new i("urn","Urn","The input type URN.","string","","",!0,!1,!1,!1,"",""),new i("validate","Validate","Whether if validation is required for this input type.","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("delete","DeleteDefinition","Delete","Rest DELETE command","rest",[new i("path","Path","The path mapping URIs of this REST operation such as /{id}.","string","","",!1,!1,!1,!1,"",""),new i("to","To","The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.","string","","",!0,!1,!1,!1,"",""),new i("consumes","Consumes","To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("produces","Produces","To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("type","Type","Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("outType","Out Type","Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("bindingMode","Binding Mode","Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off","string","off, auto, json, xml, json_xml","off",!1,!1,!1,!1,"",""),new i("skipBindingOnErrorCode","Skip Binding On Error Code","Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("clientRequestValidation","Client Request Validation","Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP Status 400 if validation error.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("enableCors","enableCors","enableCors","boolean","","",!1,!1,!1,!1,"",""),new i("apiDocs","Api Docs","Whether to include or exclude this rest operation in API documentation. The default value is true.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("deprecated","Deprecated","Marks this rest operation as deprecated in OpenApi documentation.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("routeId","Route Id","Sets the id of the route","string","","",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("param","param","param","ParamDefinition","","",!1,!1,!0,!0,"",""),new i("responseMessage","responseMessage","responseMessage","ResponseMessageDefinition","","",!1,!1,!0,!0,"",""),new i("security","security","security","SecurityDefinition","","",!1,!1,!0,!0,"","")]),new e("rollback","RollbackDefinition","Rollback","Forces a rollback by stopping routing the message","eip,routing",[new i("message","Message","Message to use in rollback exception","string","","",!1,!1,!1,!1,"",""),new i("markRollbackOnly","Mark Rollback Only","Mark the transaction for rollback only (cannot be overruled to commit)","boolean","","false",!1,!1,!1,!1,"",""),new i("markRollbackOnlyLast","Mark Rollback Only Last","Mark only last sub transaction for rollback only. When using sub transactions (if the transaction manager support this)","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("resequence","ResequenceDefinition","Resequence","Resequences (re-order) messages based on an expression","eip,routing",[new i("expression","Expression","Expression to use for re-ordering the messages, such as a header with a sequence number","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("batchConfig","batchConfig","batchConfig","BatchResequencerConfig","","",!1,!1,!1,!0,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"",""),new i("streamConfig","streamConfig","streamConfig","StreamResequencerConfig","","",!1,!1,!1,!0,"","")]),new e("dynamicRouter","DynamicRouterDefinition","Dynamic Router","Route messages based on dynamic rules","eip,routing",[new i("expression","Expression","Expression to call that returns the endpoint(s) to route to in the dynamic routing. Important: The expression will be called in a while loop fashion, until the expression returns null which means the dynamic router is finished.","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("uriDelimiter","Uri Delimiter","Sets the uri delimiter to use","string","",",",!1,!1,!1,!1,"",""),new i("ignoreInvalidEndpoints","Ignore Invalid Endpoints","Ignore the invalidate endpoint exception when try to create a producer with that endpoint","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("cacheSize","Cache Size","Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this dynamic router, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped and discarded after use. This reduces memory usage as otherwise producers/endpoints are stored in memory in the caches. However if there are a high degree of dynamic endpoints that have been used before, then it can benefit to use the cache to reuse both producers and endpoints and therefore the cache size can be set accordingly or rely on the default size (1000). If there is a mix of unique and used before dynamic endpoints, then setting a reasonable cache size can help reduce memory usage to avoid storing too many non frequent used producers.","number","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("post","PostDefinition","Post","Rest POST command","rest",[new i("path","Path","The path mapping URIs of this REST operation such as /{id}.","string","","",!1,!1,!1,!1,"",""),new i("to","To","The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.","string","","",!0,!1,!1,!1,"",""),new i("consumes","Consumes","To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("produces","Produces","To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("type","Type","Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("outType","Out Type","Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the input to be an array type.","string","","",!1,!1,!1,!1,"advanced",""),new i("bindingMode","Binding Mode","Sets the binding mode to use. This option will override what may be configured on a parent level The default value is off","string","off, auto, json, xml, json_xml","off",!1,!1,!1,!1,"",""),new i("skipBindingOnErrorCode","Skip Binding On Error Code","Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("clientRequestValidation","Client Request Validation","Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP Status 400 if validation error.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("enableCors","enableCors","enableCors","boolean","","",!1,!1,!1,!1,"",""),new i("apiDocs","Api Docs","Whether to include or exclude this rest operation in API documentation. The default value is true.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("deprecated","Deprecated","Marks this rest operation as deprecated in OpenApi documentation.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("routeId","Route Id","Sets the id of the route","string","","",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("param","param","param","ParamDefinition","","",!1,!1,!0,!0,"",""),new i("responseMessage","responseMessage","responseMessage","ResponseMessageDefinition","","",!1,!1,!0,!0,"",""),new i("security","security","security","SecurityDefinition","","",!1,!1,!0,!0,"","")]),new e("log","LogDefinition","Log","Logs the defined message to the logger","eip,routing",[new i("message","Message","Sets the log message (uses simple language)","string","","",!0,!1,!1,!1,"",""),new i("loggingLevel","Logging Level","Sets the logging level. The default value is INFO","string","TRACE, DEBUG, INFO, WARN, ERROR, OFF","INFO",!1,!1,!1,!1,"",""),new i("logName","Log Name","Sets the name of the logger","string","","",!1,!1,!1,!1,"",""),new i("marker","Marker","To use slf4j marker","string","","",!1,!1,!1,!1,"advanced",""),new i("logger","Logger","To refer to a custom logger instance to lookup from the registry.","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("recipientList","RecipientListDefinition","Recipient List","Route messages to a number of dynamically specified recipients","eip,routing",[new i("expression","Expression","Expression that returns which endpoints (url) to send the message to (the recipients). If the expression return an empty value then the message is not sent to any recipients.","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("delimiter","Delimiter","Delimiter used if the Expression returned multiple endpoints. Can be turned off using the value false. The default value is ,","string","",",",!1,!1,!1,!1,"",""),new i("aggregationStrategy","Aggregation Strategy","Sets the AggregationStrategy to be used to assemble the replies from the recipients, into a single outgoing message from the RecipientList. By default Camel will use the last reply as the outgoing message. You can also use a POJO as the AggregationStrategy","string","","",!1,!1,!1,!1,"","org.apache.camel.AggregationStrategy"),new i("aggregationStrategyMethodName","Aggregation Strategy Method Name","This option can be used to explicit declare the method name to use, when using POJOs as the AggregationStrategy.","string","","",!1,!1,!1,!1,"advanced",""),new i("aggregationStrategyMethodAllowNull","Aggregation Strategy Method Allow Null","If this option is false then the aggregate method is not used if there was no data to enrich. If this option is true then null values is used as the oldExchange (when no data to enrich), when using POJOs as the AggregationStrategy","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("parallelAggregate","Parallel Aggregate","If enabled then the aggregate method on AggregationStrategy can be called concurrently. Notice that this would require the implementation of AggregationStrategy to be implemented as thread-safe. By default this is false meaning that Camel synchronizes the call to the aggregate method. Though in some use-cases this can be used to archive higher performance when the AggregationStrategy is implemented as thread-safe.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("parallelProcessing","Parallel Processing","If enabled then sending messages to the recipients occurs concurrently. Note the caller thread will still wait until all messages has been fully processed, before it continues. Its only the sending and processing the replies from the recipients which happens concurrently. When parallel processing is enabled, then the Camel routing engin will continue processing using last used thread from the parallel thread pool. However, if you want to use the original thread that called the recipient list, then make sure to enable the synchronous option as well.","boolean","","false",!1,!1,!1,!1,"",""),new i("synchronous","Synchronous","Sets whether synchronous processing should be strictly used. When enabled then the same thread is used to continue routing after the recipient list is complete, even if parallel processing is enabled.","boolean","","false",!1,!1,!1,!1,"",""),new i("timeout","Timeout","Sets a total timeout specified in millis, when using parallel processing. If the Recipient List hasn't been able to send and process all replies within the given timeframe, then the timeout triggers and the Recipient List breaks out and continues. Notice if you provide a TimeoutAwareAggregationStrategy then the timeout method is invoked before breaking out. If the timeout is reached with running tasks still remaining, certain tasks for which it is difficult for Camel to shut down in a graceful manner may continue to run. So use this option with a bit of care.","string","","0",!1,!1,!1,!1,"",""),new i("executorService","Executor Service","To use a custom Thread Pool to be used for parallel processing. Notice if you set this option, then parallel processing is automatic implied, and you do not have to enable that option as well.","string","","",!1,!1,!1,!1,"advanced",""),new i("stopOnException","Stop On Exception","Will now stop further processing if an exception or failure occurred during processing of an org.apache.camel.Exchange and the caused exception will be thrown. Will also stop if processing the exchange failed (has a fault message) or an exception was thrown and handled by the error handler (such as using onException). In all situations the recipient list will stop further processing. This is the same behavior as in pipeline, which is used by the routing engine. The default behavior is to not stop but continue processing till the end","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("ignoreInvalidEndpoints","Ignore Invalid Endpoints","Ignore the invalidate endpoint exception when try to create a producer with that endpoint","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("streaming","Streaming","If enabled then Camel will process replies out-of-order, eg in the order they come back. If disabled, Camel will process replies in the same order as defined by the recipient list.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("onPrepare","On Prepare","Uses the Processor when preparing the org.apache.camel.Exchange to be used send. This can be used to deep-clone messages that should be send, or any custom logic needed before the exchange is send.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("cacheSize","Cache Size","Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this recipient list, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped and discarded after use. This reduces memory usage as otherwise producers/endpoints are stored in memory in the caches. However if there are a high degree of dynamic endpoints that have been used before, then it can benefit to use the cache to reuse both producers and endpoints and therefore the cache size can be set accordingly or rely on the default size (1000). If there is a mix of unique and used before dynamic endpoints, then setting a reasonable cache size can help reduce memory usage to avoid storing too many non frequent used producers.","number","","",!1,!1,!1,!1,"advanced",""),new i("shareUnitOfWork","Share Unit Of Work","Shares the org.apache.camel.spi.UnitOfWork with the parent and each of the sub messages. Recipient List will by default not share unit of work between the parent exchange and each recipient exchange. This means each sub exchange has its own individual unit of work.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("rest","RestDefinition","Rest","Defines a rest service using the rest-dsl","rest",[new i("path","Path","Path of the rest service, such as /foo","string","","",!1,!1,!1,!1,"",""),new i("consumes","Consumes","To define the content type what the REST service consumes (accept as input), such as application/xml or application/json. This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("produces","Produces","To define the content type what the REST service produces (uses for output), such as application/xml or application/json This option will override what may be configured on a parent level","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("bindingMode","Binding Mode","Sets the binding mode to use. This option will override what may be configured on a parent level The default value is auto","string","off, auto, json, xml, json_xml","off",!1,!1,!1,!1,"",""),new i("skipBindingOnErrorCode","Skip Binding On Error Code","Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may be configured on a parent level","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("clientRequestValidation","Client Request Validation","Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes; returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status 406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP Status 400 if validation error.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("enableCors","enableCors","enableCors","boolean","","",!1,!1,!1,!1,"",""),new i("apiDocs","Api Docs","Whether to include or exclude this rest operation in API documentation. This option will override what may be configured on a parent level. The default value is true.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("tag","Tag","To configure a special tag for the operations within this rest definition.","string","","",!1,!1,!1,!1,"advanced",""),new i("securityDefinitions","Security Definitions","Sets the security definitions such as Basic, OAuth2 etc.","RestSecuritiesDefinition","","",!1,!1,!1,!0,"security",""),new i("securityRequirements","Security Requirements","Sets the security requirement(s) for all endpoints.","SecurityDefinition","","",!1,!1,!0,!0,"security",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("delete","delete","delete","DeleteDefinition","","",!1,!1,!0,!0,"",""),new i("get","get","get","GetDefinition","","",!1,!1,!0,!0,"",""),new i("head","head","head","HeadDefinition","","",!1,!1,!0,!0,"",""),new i("patch","patch","patch","PatchDefinition","","",!1,!1,!0,!0,"",""),new i("post","post","post","PostDefinition","","",!1,!1,!0,!0,"",""),new i("put","put","put","PutDefinition","","",!1,!1,!0,!0,"","")]),new e("routeConfigurationContextRef","RouteConfigurationContextRefDefinition","Route Configuration Context Ref","To refer to an XML file with route configuration defined using the xml-dsl","configuration",[new i("ref","Ref","Reference to the route templates in the xml dsl","string","","",!0,!1,!1,!1,"","")]),new e("springTransactionErrorHandler","SpringTransactionErrorHandlerDefinition","Spring Transaction Error Handler","Spring based transactional error handler (requires camel-spring).","configuration,error",[new i("transactedPolicyRef","Transacted Policy Ref","The transacted policy to use that is configured for either Spring or JTA based transactions. If no policy has been configured then Camel will attempt to auto-discover.","string","","",!1,!1,!1,!1,"",""),new i("rollbackLoggingLevel","Rollback Logging Level","Sets the logging level to use for logging transactional rollback. This option is default WARN.","string","TRACE, DEBUG, INFO, WARN, ERROR, OFF","WARN",!1,!1,!1,!1,"",""),new i("loggerRef","Logger Ref","References to a logger to use as logger for the error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("level","Level","Logging level to use when using the logging error handler type.","string","TRACE, DEBUG, INFO, WARN, ERROR, OFF","ERROR",!1,!1,!1,!1,"advanced",""),new i("logName","Log Name","Name of the logger to use for the logging error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("useOriginalMessage","Use Original Message","Will use the original input org.apache.camel.Message (original body and headers) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the splitted message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("useOriginalBody","Use Original Body","Will use the original input org.apache.camel.Message body (original body only) when an org.apache.camel.Exchange is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and the org.apache.camel.Exchange is doomed for failure. Instead of using the current inprogress org.apache.camel.Exchange IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit the org.apache.camel.Exchange again as the IN message is the same as when Camel received it. So you should be able to send the org.apache.camel.Exchange to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. The original input message is defensively copied, and the copied message body is converted to org.apache.camel.StreamCache if possible, to ensure the body can be read when the original message is being used later. If the body is not converted to org.apache.camel.StreamCache then the body will not be able to re-read when accessed later. Important: The original input means the input message that are bounded by the current org.apache.camel.spi.UnitOfWork . An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the splitted message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("onRedeliveryRef","On Redelivery Ref","Sets a reference to a processor that should be processed before a redelivery attempt. Can be used to change the org.apache.camel.Exchange before its being redelivered.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("onExceptionOccurredRef","On Exception Occurred Ref","Sets a reference to a processor that should be processed just after an exception occurred. Can be used to perform custom logging about the occurred exception at the exact time it happened. Important: Any exception thrown from this processor will be ignored.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("onPrepareFailureRef","On Prepare Failure Ref","Sets a reference to a processor to prepare the org.apache.camel.Exchange before handled by the failure processor / dead letter channel. This allows for example to enrich the message before sending to a dead letter queue.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("retryWhileRef","Retry While Ref","Sets a retry while predicate. Will continue retrying until the predicate evaluates to false.","string","","",!1,!1,!1,!1,"advanced","org.apache.camel.Processor"),new i("redeliveryPolicyRef","Redelivery Policy Ref","Sets a reference to a RedeliveryPolicy to be used for redelivery settings.","string","","",!1,!1,!1,!1,"advanced",""),new i("executorServiceRef","Executor Service Ref","Sets a reference to a thread pool to be used by the error handler","string","","",!1,!1,!1,!1,"advanced",""),new i("redeliveryPolicy","Redelivery Policy","Sets the redelivery settings","RedeliveryPolicyDefinition","","",!1,!1,!1,!0,"",""),new i("id","Id","The id of this node","string","","",!1,!1,!1,!1,"","")]),new e("serviceCall","ServiceCallDefinition","Service Call","To call remote services","eip,routing",[new i("name","Name","Sets the name of the service to use","string","","",!0,!1,!1,!1,"",""),new i("expression","Expression","Configures the Expression using the given configuration.","ServiceCallExpressionConfiguration","","",!1,!1,!1,!0,"",""),new i("uri","Uri","The uri of the endpoint to send to. The uri can be dynamic computed using the org.apache.camel.language.simple.SimpleLanguage expression.","string","","",!1,!1,!1,!1,"",""),new i("component","Component","The component to use.","string","","http",!1,!1,!1,!1,"",""),new i("pattern","Pattern","Sets the optional ExchangePattern used to invoke this endpoint","string","InOnly, InOut, InOptionalOut","",!1,!1,!1,!1,"",""),new i("configurationRef","Configuration Ref","Refers to a ServiceCall configuration to use","string","","",!1,!1,!1,!1,"",""),new i("serviceDiscoveryRef","Service Discovery Ref","Sets a reference to a custom ServiceDiscovery to use.","string","","",!1,!1,!1,!1,"",""),new i("serviceFilterRef","Service Filter Ref","Sets a reference to a custom ServiceFilter to use.","string","","",!1,!1,!1,!1,"",""),new i("serviceChooserRef","Service Chooser Ref","Sets a reference to a custom ServiceChooser to use.","string","","",!1,!1,!1,!1,"",""),new i("loadBalancerRef","Load Balancer Ref","Sets a reference to a custom ServiceLoadBalancer to use.","string","","",!1,!1,!1,!1,"",""),new i("expressionRef","Expression Ref","Set a reference to a custom Expression to use.","string","","",!1,!1,!1,!1,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("blacklistServiceFilter","blacklistServiceFilter","blacklistServiceFilter","BlacklistServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("cachingServiceDiscovery","cachingServiceDiscovery","cachingServiceDiscovery","CachingServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("combinedServiceDiscovery","combinedServiceDiscovery","combinedServiceDiscovery","CombinedServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("combinedServiceFilter","combinedServiceFilter","combinedServiceFilter","CombinedServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("consulServiceDiscovery","consulServiceDiscovery","consulServiceDiscovery","ConsulServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("customServiceFilter","customServiceFilter","customServiceFilter","CustomServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("defaultLoadBalancer","defaultLoadBalancer","defaultLoadBalancer","DefaultServiceCallServiceLoadBalancerConfiguration","","",!1,!1,!1,!0,"",""),new i("dnsServiceDiscovery","dnsServiceDiscovery","dnsServiceDiscovery","DnsServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("healthyServiceFilter","healthyServiceFilter","healthyServiceFilter","HealthyServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("kubernetesServiceDiscovery","kubernetesServiceDiscovery","kubernetesServiceDiscovery","KubernetesServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("passThroughServiceFilter","passThroughServiceFilter","passThroughServiceFilter","PassThroughServiceCallServiceFilterConfiguration","","",!1,!1,!1,!0,"",""),new i("staticServiceDiscovery","staticServiceDiscovery","staticServiceDiscovery","StaticServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"",""),new i("zookeeperServiceDiscovery","zookeeperServiceDiscovery","zookeeperServiceDiscovery","ZooKeeperServiceCallServiceDiscoveryConfiguration","","",!1,!1,!1,!0,"","")]),new e("routeTemplate","RouteTemplateDefinition","Route Template","Defines a route template (parameterized routes)","configuration",[new i("route","Route","To define the route in the template","RouteDefinition","","",!0,!1,!1,!0,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("beans","beans","beans","RouteTemplateBeanDefinition","","",!1,!1,!0,!0,"",""),new i("from","from","from","FromDefinition","","",!1,!1,!1,!0,"",""),new i("parameters","parameters","parameters","RouteTemplateParameterDefinition","","",!1,!1,!0,!0,"","")]),new e("threads","ThreadsDefinition","Threads","Specifies that all steps after this node are processed asynchronously","eip,routing",[new i("executorService","Executor Service","To use a custom thread pool","string","","",!1,!1,!1,!1,"advanced",""),new i("poolSize","Pool Size","Sets the core pool size","number","","",!1,!1,!1,!1,"",""),new i("maxPoolSize","Max Pool Size","Sets the maximum pool size","number","","",!1,!1,!1,!1,"",""),new i("keepAliveTime","Keep Alive Time","Sets the keep alive time for idle threads","number","","",!1,!1,!1,!1,"",""),new i("timeUnit","Time Unit","Sets the keep alive time unit. By default SECONDS is used.","string","NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS","",!1,!1,!1,!1,"advanced",""),new i("maxQueueSize","Max Queue Size","Sets the maximum number of tasks in the work queue. Use -1 or Integer.MAX_VALUE for an unbounded queue","number","","",!1,!1,!1,!1,"",""),new i("allowCoreThreadTimeOut","Allow Core Thread Time Out","Whether idle core threads are allowed to timeout and therefore can shrink the pool size below the core pool size Is by default false","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("threadName","Thread Name","Sets the thread name to use.","string","","Threads",!1,!1,!1,!1,"",""),new i("rejectedPolicy","Rejected Policy","Sets the handler for tasks which cannot be executed by the thread pool.","string","Abort, CallerRuns, DiscardOldest, Discard","",!1,!1,!1,!1,"advanced",""),new i("callerRunsWhenRejected","Caller Runs When Rejected","Whether or not to use as caller runs as fallback when a task is rejected being added to the thread pool (when its full). This is only used as fallback if no rejectedPolicy has been configured, or the thread pool has no configured rejection handler. Is by default true","string","","true",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("convertBodyTo","ConvertBodyDefinition","Convert Body To","Converts the message body to another type","eip,transformation",[new i("type","Type","The java type to convert to","string","","",!0,!1,!1,!1,"",""),new i("mandatory","Mandatory","When mandatory then the conversion must return a value (cannot be null), if this is not possible then NoTypeConversionAvailableException is thrown. Setting this to false could mean conversion is not possible and the value is null.","boolean","","true",!1,!1,!1,!1,"advanced",""),new i("charset","Charset","To use a specific charset when converting","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("basicAuth","BasicAuthDefinition","Basic Auth","Rest security basic auth definition","rest,security,configuration",[new i("key","Key","Key used to refer to this security definition","string","","",!0,!1,!1,!1,"",""),new i("description","Description","A short description for security scheme.","string","","",!1,!1,!1,!1,"","")]),new e("interceptSendToEndpoint","InterceptSendToEndpointDefinition","Intercept Send To Endpoint","Intercepts messages being sent to an endpoint","configuration",[new i("uri","Uri","Intercept sending to the uri or uri pattern.","string","","",!0,!1,!1,!1,"",""),new i("skipSendToOriginalEndpoint","Skip Send To Original Endpoint","If set to true then the message is not sent to the original endpoint. By default (false) the message is both intercepted and then sent to the original endpoint.","string","","",!1,!1,!1,!1,"",""),new i("afterUri","After Uri","After sending to the endpoint then send the message to this uri which allows to process its result.","string","","",!1,!1,!1,!1,"advanced",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"",""),new i("steps","steps","steps","CamelElement","","",!1,!1,!0,!0,"","")]),new e("outputType","OutputTypeDefinition","Output Type","Set the expected data type of the output message. If the actual message type is different at runtime, camel look for a required Transformer and apply if exists. If validate attribute is true then camel applies Validator as well. Type name consists of two parts, 'scheme' and 'name' connected with ':'. For Java type 'name' is a fully qualified class name. For example {code java:java.lang.String} , {code json:ABCOrder} . It's also possible to specify only scheme part, so that it works like a wildcard. If only 'xml' is specified, all the XML message matches. It's handy to add only one transformer/validator for all the XML-Java transformation.","configuration",[new i("urn","Urn","Set output type URN.","string","","",!0,!1,!1,!1,"",""),new i("validate","Validate","Whether if validation is required for this output type.","boolean","","false",!1,!1,!1,!1,"",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")]),new e("templatedRouteParameter","TemplatedRouteParameterDefinition","Templated Route Parameter","An input parameter of a route template.","configuration",[new i("name","Name","The name of the parameter","string","","",!0,!1,!1,!1,"",""),new i("value","Value","The value of the parameter.","string","","",!0,!1,!1,!1,"","")]),new e("setHeader","SetHeaderDefinition","Set Header","Sets the value of a message header","eip,transformation",[new i("name","Name","Name of message header to set a new value The simple language can be used to define a dynamic evaluated header name to be used. Otherwise a constant name will be used.","string","","",!0,!1,!1,!1,"",""),new i("expression","Expression","Expression to return the value of the header","ExpressionDefinition","","",!0,!1,!1,!0,"",""),new i("disabled","Disabled","Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime.","boolean","","false",!1,!1,!1,!1,"advanced",""),new i("id","Id","Sets the id of this node","string","","",!1,!1,!1,!1,"",""),new i("description","Description","Sets the description of this node","string","","",!1,!1,!1,!1,"","")])],t.SensitiveKeys=["oauthtokenurl","clientid","sassignature","connectionstring","sslpassword","keypassword","accesstoken","accountkey","proxyauthusername","sslkeypassword","userpassword","acltoken","password","accesskey","consumersecret","proxyuser","oauthclientsecret","accesstokensecret","securerandom","keystore","refreshtoken","publishkey","accountsid","emailaddress","blobaccesskey","publickeyid","p12filename","ssltruststorepassword","fulltokenid","userauthenticationcredentials","passphrase","privatekeyfile","zookeeperpassword","apiuser","cipherkey","oauthappid","authkey","privatekeyname","systemid","oauthappsecret","secretkey","webhookverifytoken","privatekeypassword","login","sourceblobaccesskey","apipassword","privatekey","sslkeystorepassword","oauthtoken","sascredential","verificationcode","subscribekey","certresourcepassword","clientsecretcredential","keystorepassword","oauthclientid","clientsecret","tokencredential","blobstoragesharedkeycredential","proxypassword","queueownerawsaccountid","token","proxyauthpassword","authorizationtoken","sharedaccesskey","apiusername","api_key","sasljaasconfig","httpproxypassword","oauthaccesstoken","user","api_secret","passcode","consumerkey","sslkeystore","username"]})(li);var Va={},Ke={},Vn,rb=new Uint8Array(16);function _u(){if(!Vn&&(Vn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!Vn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Vn(rb)}const ob=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function eo(t){return typeof t=="string"&&ob.test(t)}var $e=[];for(var Oo=0;Oo<256;++Oo)$e.push((Oo+256).toString(16).substr(1));function io(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=($e[t[e+0]]+$e[t[e+1]]+$e[t[e+2]]+$e[t[e+3]]+"-"+$e[t[e+4]]+$e[t[e+5]]+"-"+$e[t[e+6]]+$e[t[e+7]]+"-"+$e[t[e+8]]+$e[t[e+9]]+"-"+$e[t[e+10]]+$e[t[e+11]]+$e[t[e+12]]+$e[t[e+13]]+$e[t[e+14]]+$e[t[e+15]]).toLowerCase();if(!eo(i))throw TypeError("Stringified UUID is invalid");return i}var Cc,Mo,Ao=0,Io=0;function sb(t,e,i){var n=e&&i||0,s=e||new Array(16);t=t||{};var r=t.node||Cc,a=t.clockseq!==void 0?t.clockseq:Mo;if(r==null||a==null){var o=t.random||(t.rng||_u)();r==null&&(r=Cc=[o[0]|1,o[1],o[2],o[3],o[4],o[5]]),a==null&&(a=Mo=(o[6]<<8|o[7])&16383)}var l=t.msecs!==void 0?t.msecs:Date.now(),c=t.nsecs!==void 0?t.nsecs:Io+1,f=l-Ao+(c-Io)/1e4;if(f<0&&t.clockseq===void 0&&(a=a+1&16383),(f<0||l>Ao)&&t.nsecs===void 0&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ao=l,Io=c,Mo=a,l+=122192928e5;var h=((l&268435455)*1e4+c)%4294967296;s[n++]=h>>>24&255,s[n++]=h>>>16&255,s[n++]=h>>>8&255,s[n++]=h&255;var p=l/4294967296*1e4&268435455;s[n++]=p>>>8&255,s[n++]=p&255,s[n++]=p>>>24&15|16,s[n++]=p>>>16&255,s[n++]=a>>>8|128,s[n++]=a&255;for(var g=0;g<6;++g)s[n+g]=r[g];return e||io(s)}function zu(t){if(!eo(t))throw TypeError("Invalid UUID");var e,i=new Uint8Array(16);return i[0]=(e=parseInt(t.slice(0,8),16))>>>24,i[1]=e>>>16&255,i[2]=e>>>8&255,i[3]=e&255,i[4]=(e=parseInt(t.slice(9,13),16))>>>8,i[5]=e&255,i[6]=(e=parseInt(t.slice(14,18),16))>>>8,i[7]=e&255,i[8]=(e=parseInt(t.slice(19,23),16))>>>8,i[9]=e&255,i[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,i[11]=e/4294967296&255,i[12]=e>>>24&255,i[13]=e>>>16&255,i[14]=e>>>8&255,i[15]=e&255,i}function lb(t){t=unescape(encodeURIComponent(t));for(var e=[],i=0;i<t.length;++i)e.push(t.charCodeAt(i));return e}var cb="6ba7b810-9dad-11d1-80b4-00c04fd430c8",db="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function Hu(t,e,i){function n(s,r,a,o){if(typeof s=="string"&&(s=lb(s)),typeof r=="string"&&(r=zu(r)),r.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var l=new Uint8Array(16+s.length);if(l.set(r),l.set(s,r.length),l=i(l),l[6]=l[6]&15|e,l[8]=l[8]&63|128,a){o=o||0;for(var c=0;c<16;++c)a[o+c]=l[c];return a}return io(l)}try{n.name=t}catch{}return n.DNS=cb,n.URL=db,n}function fb(t){if(typeof t=="string"){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var i=0;i<e.length;++i)t[i]=e.charCodeAt(i)}return ub(pb(hb(t),t.length*8))}function ub(t){for(var e=[],i=t.length*32,n="0123456789abcdef",s=0;s<i;s+=8){var r=t[s>>5]>>>s%32&255,a=parseInt(n.charAt(r>>>4&15)+n.charAt(r&15),16);e.push(a)}return e}function Wu(t){return(t+64>>>9<<4)+14+1}function pb(t,e){t[e>>5]|=128<<e%32,t[Wu(e)-1]=e;for(var i=1732584193,n=-271733879,s=-1732584194,r=271733878,a=0;a<t.length;a+=16){var o=i,l=n,c=s,f=r;i=ei(i,n,s,r,t[a],7,-680876936),r=ei(r,i,n,s,t[a+1],12,-389564586),s=ei(s,r,i,n,t[a+2],17,606105819),n=ei(n,s,r,i,t[a+3],22,-1044525330),i=ei(i,n,s,r,t[a+4],7,-176418897),r=ei(r,i,n,s,t[a+5],12,1200080426),s=ei(s,r,i,n,t[a+6],17,-1473231341),n=ei(n,s,r,i,t[a+7],22,-45705983),i=ei(i,n,s,r,t[a+8],7,1770035416),r=ei(r,i,n,s,t[a+9],12,-1958414417),s=ei(s,r,i,n,t[a+10],17,-42063),n=ei(n,s,r,i,t[a+11],22,-1990404162),i=ei(i,n,s,r,t[a+12],7,1804603682),r=ei(r,i,n,s,t[a+13],12,-40341101),s=ei(s,r,i,n,t[a+14],17,-1502002290),n=ei(n,s,r,i,t[a+15],22,1236535329),i=ii(i,n,s,r,t[a+1],5,-165796510),r=ii(r,i,n,s,t[a+6],9,-1069501632),s=ii(s,r,i,n,t[a+11],14,643717713),n=ii(n,s,r,i,t[a],20,-373897302),i=ii(i,n,s,r,t[a+5],5,-701558691),r=ii(r,i,n,s,t[a+10],9,38016083),s=ii(s,r,i,n,t[a+15],14,-660478335),n=ii(n,s,r,i,t[a+4],20,-405537848),i=ii(i,n,s,r,t[a+9],5,568446438),r=ii(r,i,n,s,t[a+14],9,-1019803690),s=ii(s,r,i,n,t[a+3],14,-187363961),n=ii(n,s,r,i,t[a+8],20,1163531501),i=ii(i,n,s,r,t[a+13],5,-1444681467),r=ii(r,i,n,s,t[a+2],9,-51403784),s=ii(s,r,i,n,t[a+7],14,1735328473),n=ii(n,s,r,i,t[a+12],20,-1926607734),i=ti(i,n,s,r,t[a+5],4,-378558),r=ti(r,i,n,s,t[a+8],11,-2022574463),s=ti(s,r,i,n,t[a+11],16,1839030562),n=ti(n,s,r,i,t[a+14],23,-35309556),i=ti(i,n,s,r,t[a+1],4,-1530992060),r=ti(r,i,n,s,t[a+4],11,1272893353),s=ti(s,r,i,n,t[a+7],16,-155497632),n=ti(n,s,r,i,t[a+10],23,-1094730640),i=ti(i,n,s,r,t[a+13],4,681279174),r=ti(r,i,n,s,t[a],11,-358537222),s=ti(s,r,i,n,t[a+3],16,-722521979),n=ti(n,s,r,i,t[a+6],23,76029189),i=ti(i,n,s,r,t[a+9],4,-640364487),r=ti(r,i,n,s,t[a+12],11,-421815835),s=ti(s,r,i,n,t[a+15],16,530742520),n=ti(n,s,r,i,t[a+2],23,-995338651),i=ai(i,n,s,r,t[a],6,-198630844),r=ai(r,i,n,s,t[a+7],10,1126891415),s=ai(s,r,i,n,t[a+14],15,-1416354905),n=ai(n,s,r,i,t[a+5],21,-57434055),i=ai(i,n,s,r,t[a+12],6,1700485571),r=ai(r,i,n,s,t[a+3],10,-1894986606),s=ai(s,r,i,n,t[a+10],15,-1051523),n=ai(n,s,r,i,t[a+1],21,-2054922799),i=ai(i,n,s,r,t[a+8],6,1873313359),r=ai(r,i,n,s,t[a+15],10,-30611744),s=ai(s,r,i,n,t[a+6],15,-1560198380),n=ai(n,s,r,i,t[a+13],21,1309151649),i=ai(i,n,s,r,t[a+4],6,-145523070),r=ai(r,i,n,s,t[a+11],10,-1120210379),s=ai(s,r,i,n,t[a+2],15,718787259),n=ai(n,s,r,i,t[a+9],21,-343485551),i=Ct(i,o),n=Ct(n,l),s=Ct(s,c),r=Ct(r,f)}return[i,n,s,r]}function hb(t){if(t.length===0)return[];for(var e=t.length*8,i=new Uint32Array(Wu(e)),n=0;n<e;n+=8)i[n>>5]|=(t[n/8]&255)<<n%32;return i}function Ct(t,e){var i=(t&65535)+(e&65535),n=(t>>16)+(e>>16)+(i>>16);return n<<16|i&65535}function gb(t,e){return t<<e|t>>>32-e}function to(t,e,i,n,s,r){return Ct(gb(Ct(Ct(e,t),Ct(n,r)),s),i)}function ei(t,e,i,n,s,r,a){return to(e&i|~e&n,t,e,s,r,a)}function ii(t,e,i,n,s,r,a){return to(e&n|i&~n,t,e,s,r,a)}function ti(t,e,i,n,s,r,a){return to(e^i^n,t,e,s,r,a)}function ai(t,e,i,n,s,r,a){return to(i^(e|~n),t,e,s,r,a)}var vb=Hu("v3",48,fb);function mb(t,e,i){t=t||{};var n=t.random||(t.rng||_u)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){i=i||0;for(var s=0;s<16;++s)e[i+s]=n[s];return e}return io(n)}function yb(t,e,i,n){switch(t){case 0:return e&i^~e&n;case 1:return e^i^n;case 2:return e&i^e&n^i&n;case 3:return e^i^n}}function ko(t,e){return t<<e|t>>>32-e}function bb(t){var e=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){var n=unescape(encodeURIComponent(t));t=[];for(var s=0;s<n.length;++s)t.push(n.charCodeAt(s))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);for(var r=t.length/4+2,a=Math.ceil(r/16),o=new Array(a),l=0;l<a;++l){for(var c=new Uint32Array(16),f=0;f<16;++f)c[f]=t[l*64+f*4]<<24|t[l*64+f*4+1]<<16|t[l*64+f*4+2]<<8|t[l*64+f*4+3];o[l]=c}o[a-1][14]=(t.length-1)*8/Math.pow(2,32),o[a-1][14]=Math.floor(o[a-1][14]),o[a-1][15]=(t.length-1)*8&4294967295;for(var h=0;h<a;++h){for(var p=new Uint32Array(80),g=0;g<16;++g)p[g]=o[h][g];for(var y=16;y<80;++y)p[y]=ko(p[y-3]^p[y-8]^p[y-14]^p[y-16],1);for(var b=i[0],w=i[1],D=i[2],O=i[3],M=i[4],R=0;R<80;++R){var A=Math.floor(R/20),C=ko(b,5)+yb(A,w,D,O)+M+e[A]+p[R]>>>0;M=O,O=D,D=ko(w,30)>>>0,w=b,b=C}i[0]=i[0]+b>>>0,i[1]=i[1]+w>>>0,i[2]=i[2]+D>>>0,i[3]=i[3]+O>>>0,i[4]=i[4]+M>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,i[0]&255,i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,i[1]&255,i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,i[2]&255,i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,i[3]&255,i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,i[4]&255]}var wb=Hu("v5",80,bb);const Db="00000000-0000-0000-0000-000000000000";function xb(t){if(!eo(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}const Cb=Object.freeze(Object.defineProperty({__proto__:null,NIL:Db,parse:zu,stringify:io,v1:sb,v3:vb,v4:mb,v5:wb,validate:eo,version:xb},Symbol.toStringTag,{value:"Module"})),rl=Of(Cb);var Sb=si&&si.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(n[r]=s[r])},t(e,i)};return function(e,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");t(e,i);function n(){this.constructor=e}e.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(Ke,"__esModule",{value:!0});Ke.CamelElementMeta=Ke.Beans=ol=Ke.CamelElement=Uu=Ke.Integration=Ke.Metadata=Ke.Spec=void 0;var Eb=rl,us=function(){function t(e){this.flows=[],Object.assign(this,e)}return t}();Ke.Spec=us;var ps=function(){function t(e){this.name="",Object.assign(this,e)}return t}();Ke.Metadata=ps;var Tb=function(){function t(e){this.apiVersion="camel.apache.org/v1",this.kind="Integration",this.metadata=new ps,this.spec=new us,this.type="crd",Object.assign(this,e)}return t.createNew=function(e,i){return i===void 0&&(i="plain"),new t({type:i,metadata:new ps({name:e}),spec:new us({flows:[]})})},t}(),Uu=Ke.Integration=Tb,Vu=function(){function t(e){this.uuid="",this.dslName="",this.show=!0,this.uuid=(0,Eb.v4)(),this.dslName=e}return t.prototype.hasId=function(){return this.hasOwnProperty("id")},t.prototype.hasSteps=function(){return this.hasOwnProperty("steps")},t.prototype.hasStepName=function(){return this.hasOwnProperty("stepName")},t}(),ol=Ke.CamelElement=Vu,Fb=function(t){Sb(e,t);function e(i){var n=t.call(this,"Beans")||this;return n.beans=[],Object.assign(n,i),n}return e}(Vu);Ke.Beans=Fb;var Ob=function(){function t(e,i,n){this.position=0,this.step=e,this.parentUuid=i,this.position=n||0}return t}();Ke.CamelElementMeta=Ob;var Xa={},v={},T=si&&si.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(n[r]=s[r])},t(e,i)};return function(e,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");t(e,i);function n(){this.constructor=e}e.prototype=i===null?Object.create(i):(n.prototype=i.prototype,new n)}}();Object.defineProperty(v,"__esModule",{value:!0});v.PolicyDefinition=v.PipelineDefinition=v.PausableDefinition=v.PackageScanDefinition=v.OutputTypeDefinition=v.OutputDefinition=v.OtherwiseDefinition=v.OptimisticLockRetryPolicyDefinition=v.OnFallbackDefinition=v.OnExceptionDefinition=v.OnCompletionDefinition=v.MulticastDefinition=v.MarshalDefinition=v.LoopDefinition=v.LogDefinition=v.LoadBalanceDefinition=v.KameletDefinition=v.InterceptSendToEndpointDefinition=v.InterceptFromDefinition=v.InterceptDefinition=v.InputTypeDefinition=v.InOutDefinition=v.InOnlyDefinition=v.IdempotentConsumerDefinition=v.GlobalOptionsDefinition=v.GlobalOptionDefinition=Ju=v.FromDefinition=v.FinallyDefinition=v.FilterDefinition=v.FaultToleranceConfigurationDefinition=v.ExpressionSubElementDefinition=v.ErrorHandlerDefinition=v.EnrichDefinition=v.DynamicRouterDefinition=v.DescriptionDefinition=v.DelayDefinition=v.DataFormatDefinition=v.ConvertBodyDefinition=v.ContextScanDefinition=v.ClaimCheckDefinition=v.CircuitBreakerDefinition=v.ChoiceDefinition=v.CatchDefinition=v.BeanDefinition=v.AggregateDefinition=v.OutputAwareFromDefinition=hs=v.NamedBeanDefinition=v.ErrorHandlerBuilderDeserializer=v.BeansDeserializer=v.ProcessorDefinition=void 0;v.ValidateDefinition=v.UnmarshalDefinition=v.TryDefinition=v.TransformDefinition=v.TransactedDefinition=v.ToDynamicDefinition=v.ToDefinition=v.ThrowExceptionDefinition=v.ThrottleDefinition=v.ThreadsDefinition=v.ThreadPoolProfileDefinition=v.TemplatedRouteParameterDefinition=v.TemplatedRouteDefinition=v.TemplatedRouteBeanDefinition=v.StopDefinition=v.StepDefinition=v.SplitDefinition=v.SortDefinition=v.SetPropertyDefinition=v.SetHeaderDefinition=v.SetExchangePatternDefinition=v.SetBodyDefinition=v.ScriptDefinition=v.SamplingDefinition=v.SagaDefinition=v.SagaActionUriDefinition=v.RoutingSlipDefinition=v.RouteTemplateParameterDefinition=v.RouteTemplateDefinition=v.RouteTemplateBeanDefinition=v.RouteDefinition=v.RouteContextRefDefinition=Gu=v.RouteConfigurationDefinition=v.RouteConfigurationContextRefDefinition=v.RouteBuilderDefinition=v.RollbackDefinition=v.ResumableDefinition=v.RestContextRefDefinition=v.Resilience4jConfigurationDefinition=v.ResequenceDefinition=v.RemovePropertyDefinition=v.RemovePropertiesDefinition=v.RemoveHeadersDefinition=v.RemoveHeaderDefinition=v.RedeliveryPolicyDefinition=v.RecipientListDefinition=v.PropertyExpressionDefinition=v.PropertyDefinition=v.ProcessDefinition=v.PollEnrichDefinition=void 0;v.MimeMultipartDataFormat=v.LZFDataFormat=v.JsonDataFormat=v.JsonApiDataFormat=v.JaxbDataFormat=v.JacksonXMLDataFormat=v.IcalDataFormat=v.HL7DataFormat=v.GzipDeflaterDataFormat=v.GrokDataFormat=v.FlatpackDataFormat=v.FhirXmlDataFormat=v.FhirJsonDataFormat=v.DataFormatsDefinition=v.CustomDataFormat=v.CsvDataFormat=v.CryptoDataFormat=v.CBORDataFormat=v.BindyDataFormat=v.Base64DataFormat=v.BarcodeDataFormat=v.AvroDataFormat=v.Any23DataFormat=v.ASN1DataFormat=v.StreamResequencerConfig=v.BatchResequencerConfig=v.ZooKeeperServiceCallServiceDiscoveryConfiguration=v.StaticServiceCallServiceDiscoveryConfiguration=v.ServiceCallServiceLoadBalancerConfiguration=v.ServiceCallServiceFilterConfiguration=v.ServiceCallServiceDiscoveryConfiguration=v.ServiceCallServiceChooserConfiguration=v.ServiceCallExpressionConfiguration=v.ServiceCallDefinition=v.ServiceCallConfigurationDefinition=v.PassThroughServiceCallServiceFilterConfiguration=v.KubernetesServiceCallServiceDiscoveryConfiguration=v.HealthyServiceCallServiceFilterConfiguration=v.DnsServiceCallServiceDiscoveryConfiguration=v.DefaultServiceCallServiceLoadBalancerConfiguration=v.CustomServiceCallServiceFilterConfiguration=v.ConsulServiceCallServiceDiscoveryConfiguration=v.CombinedServiceCallServiceFilterConfiguration=v.CombinedServiceCallServiceDiscoveryConfiguration=v.CachingServiceCallServiceDiscoveryConfiguration=v.BlacklistServiceCallServiceFilterConfiguration=v.WireTapDefinition=v.WhenSkipSendToEndpointDefinition=v.WhenDefinition=v.ValueDefinition=void 0;v.XQueryExpression=v.XPathExpression=v.XMLTokenizerExpression=v.TokenizerExpression=v.SpELExpression=v.SimpleExpression=v.RefExpression=v.PythonExpression=v.OgnlExpression=v.MvelExpression=v.MethodCallExpression=v.LanguageExpression=v.JsonPathExpression=v.JqExpression=v.JoorExpression=v.JavaScriptExpression=v.Hl7TerserExpression=v.HeaderExpression=v.GroovyExpression=qu=v.ExpressionDefinition=v.ExchangePropertyExpression=v.DatasonnetExpression=v.ConstantExpression=v.CSimpleExpression=v.SpringTransactionErrorHandlerDefinition=v.RefErrorHandlerDefinition=v.NoErrorHandlerDefinition=v.JtaTransactionErrorHandlerDefinition=v.DefaultErrorHandlerDefinition=v.DeadLetterChannelDefinition=v.ZipFileDataFormat=v.ZipDeflaterDataFormat=v.YAMLTypeFilterDefinition=v.YAMLDataFormat=v.XStreamDataFormat=v.XMLSecurityDataFormat=v.UniVocityTsvDataFormat=v.UniVocityHeader=v.UniVocityFixedDataFormat=v.UniVocityCsvDataFormat=v.TidyMarkupDataFormat=v.ThriftDataFormat=v.TarFileDataFormat=v.SyslogDataFormat=v.SwiftMxDataFormat=v.SwiftMtDataFormat=v.SoapDataFormat=v.RssDataFormat=v.ProtobufDataFormat=v.PGPDataFormat=void 0;v.ValidatorsDefinition=v.PredicateValidatorDefinition=v.EndpointValidatorDefinition=v.CustomValidatorDefinition=v.TransformersDefinition=v.EndpointTransformerDefinition=v.DataFormatTransformerDefinition=v.CustomTransformerDefinition=v.SecurityDefinition=v.RestsDefinition=v.RestSecuritiesDefinition=v.RestPropertyDefinition=Yu=v.RestDefinition=$u=v.RestConfigurationDefinition=v.RestBindingDefinition=v.ResponseMessageDefinition=v.ResponseHeaderDefinition=v.PutDefinition=v.PostDefinition=v.PatchDefinition=v.ParamDefinition=v.OpenIdConnectDefinition=v.OAuth2Definition=v.MutualTLSDefinition=v.HeadDefinition=v.GetDefinition=v.DeleteDefinition=v.BearerTokenDefinition=v.BasicAuthDefinition=v.ApiKeyDefinition=v.WeightedLoadBalancerDefinition=v.TopicLoadBalancerDefinition=v.StickyLoadBalancerDefinition=v.RoundRobinLoadBalancerDefinition=v.RandomLoadBalancerDefinition=v.FailoverLoadBalancerDefinition=v.CustomLoadBalancerDefinition=void 0;var I=rl,F=Ke,Mb=function(t){T(e,t);function e(i){var n=t.call(this,"ProcessorDefinition")||this;return n.stepName="processor",Object.assign(n,i),n}return e}(F.CamelElement);v.ProcessorDefinition=Mb;var Ab=function(t){T(e,t);function e(i){var n=t.call(this,"BeansDeserializer")||this;return Object.assign(n,i),n}return e}(F.CamelElement);v.BeansDeserializer=Ab;var Ib=function(t){T(e,t);function e(i){var n=t.call(this,"ErrorHandlerBuilderDeserializer")||this;return Object.assign(n,i),n}return e}(F.CamelElement);v.ErrorHandlerBuilderDeserializer=Ib;var kb=function(t){T(e,t);function e(i){var n=t.call(this,"NamedBeanDefinition")||this;return n.name="",n.properties={},n.type="",Object.assign(n,i),n}return e}(F.CamelElement),hs=v.NamedBeanDefinition=kb,Rb=function(t){T(e,t);function e(i){var n=t.call(this,"OutputAwareFromDefinition")||this;return n.parameters={},n.steps=[],n.uri="",Object.assign(n,i),n}return e}(F.CamelElement);v.OutputAwareFromDefinition=Rb;var jb=function(t){T(e,t);function e(i){var n=t.call(this,"AggregateDefinition")||this;return n.stepName="aggregate",n.aggregationStrategy="",n.id="aggregate-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.AggregateDefinition=jb;var Pb=function(t){T(e,t);function e(i){var n=t.call(this,"BeanDefinition")||this;return n.stepName="bean",n.id="bean-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.BeanDefinition=Pb;var Lb=function(t){T(e,t);function e(i){var n=t.call(this,"CatchDefinition")||this;return n.stepName="doCatch",n.exception=[],n.id="doCatch-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.CatchDefinition=Lb;var Nb=function(t){T(e,t);function e(i){var n=t.call(this,"ChoiceDefinition")||this;return n.stepName="choice",n.when=[],n.id="choice-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ChoiceDefinition=Nb;var Bb=function(t){T(e,t);function e(i){var n=t.call(this,"CircuitBreakerDefinition")||this;return n.stepName="circuitBreaker",n.id="circuitBreaker-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.CircuitBreakerDefinition=Bb;var _b=function(t){T(e,t);function e(i){var n=t.call(this,"ClaimCheckDefinition")||this;return n.stepName="claimCheck",n.operation="",n.id="claimCheck-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ClaimCheckDefinition=_b;var zb=function(t){T(e,t);function e(i){var n=t.call(this,"ContextScanDefinition")||this;return n.stepName="contextScan",n.excludes=[],n.includes=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ContextScanDefinition=zb;var Hb=function(t){T(e,t);function e(i){var n=t.call(this,"ConvertBodyDefinition")||this;return n.stepName="convertBodyTo",n.type="",n.id="convertBodyTo-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ConvertBodyDefinition=Hb;var Wb=function(t){T(e,t);function e(i){var n=t.call(this,"DataFormatDefinition")||this;return n.stepName="dataFormat",n.id="dataFormat-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.DataFormatDefinition=Wb;var Ub=function(t){T(e,t);function e(i){var n=t.call(this,"DelayDefinition")||this;return n.stepName="delay",n.id="delay-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.DelayDefinition=Ub;var Vb=function(t){T(e,t);function e(i){var n=t.call(this,"DescriptionDefinition")||this;return n.stepName="description",Object.assign(n,i),n}return e}(F.CamelElement);v.DescriptionDefinition=Vb;var Xb=function(t){T(e,t);function e(i){var n=t.call(this,"DynamicRouterDefinition")||this;return n.stepName="dynamicRouter",n.id="dynamicRouter-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.DynamicRouterDefinition=Xb;var Jb=function(t){T(e,t);function e(i){var n=t.call(this,"EnrichDefinition")||this;return n.stepName="enrich",n.id="enrich-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.EnrichDefinition=Jb;var Gb=function(t){T(e,t);function e(i){var n=t.call(this,"ErrorHandlerDefinition")||this;return n.stepName="errorHandler",n.id="errorHandler-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ErrorHandlerDefinition=Gb;var Kb=function(t){T(e,t);function e(i){var n=t.call(this,"ExpressionSubElementDefinition")||this;return n.stepName="expressionSubElement",Object.assign(n,i),n}return e}(F.CamelElement);v.ExpressionSubElementDefinition=Kb;var qb=function(t){T(e,t);function e(i){var n=t.call(this,"FaultToleranceConfigurationDefinition")||this;return n.stepName="faultToleranceConfiguration",n.id="faultToleranceConfiguration-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.FaultToleranceConfigurationDefinition=qb;var $b=function(t){T(e,t);function e(i){var n=t.call(this,"FilterDefinition")||this;return n.stepName="filter",n.id="filter-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.FilterDefinition=$b;var Yb=function(t){T(e,t);function e(i){var n=t.call(this,"FinallyDefinition")||this;return n.stepName="doFinally",n.id="doFinally-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.FinallyDefinition=Yb;var Xu=function(t){T(e,t);function e(i){var n=t.call(this,"FromDefinition")||this;return n.stepName="from",n.uri="",n.id="from-"+(0,I.v4)().substring(0,4),n.parameters={},n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement),Ju=v.FromDefinition=Xu,Zb=function(t){T(e,t);function e(i){var n=t.call(this,"GlobalOptionDefinition")||this;return n.stepName="globalOption",n.key="",n.value="",Object.assign(n,i),n}return e}(F.CamelElement);v.GlobalOptionDefinition=Zb;var Qb=function(t){T(e,t);function e(i){var n=t.call(this,"GlobalOptionsDefinition")||this;return n.stepName="globalOptions",n.globalOption=[],Object.assign(n,i),n}return e}(F.CamelElement);v.GlobalOptionsDefinition=Qb;var ew=function(t){T(e,t);function e(i){var n=t.call(this,"IdempotentConsumerDefinition")||this;return n.stepName="idempotentConsumer",n.idempotentRepository="",n.id="idempotentConsumer-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.IdempotentConsumerDefinition=ew;var iw=function(t){T(e,t);function e(i){var n=t.call(this,"InOnlyDefinition")||this;return n.stepName="inOnly",n.uri="",n.id="inOnly-"+(0,I.v4)().substring(0,4),n.parameters={},Object.assign(n,i),n}return e}(F.CamelElement);v.InOnlyDefinition=iw;var tw=function(t){T(e,t);function e(i){var n=t.call(this,"InOutDefinition")||this;return n.stepName="inOut",n.uri="",n.id="inOut-"+(0,I.v4)().substring(0,4),n.parameters={},Object.assign(n,i),n}return e}(F.CamelElement);v.InOutDefinition=tw;var aw=function(t){T(e,t);function e(i){var n=t.call(this,"InputTypeDefinition")||this;return n.stepName="inputType",n.urn="",n.id="inputType-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.InputTypeDefinition=aw;var nw=function(t){T(e,t);function e(i){var n=t.call(this,"InterceptDefinition")||this;return n.stepName="intercept",n.id="intercept-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.InterceptDefinition=nw;var rw=function(t){T(e,t);function e(i){var n=t.call(this,"InterceptFromDefinition")||this;return n.stepName="interceptFrom",n.id="interceptFrom-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.InterceptFromDefinition=rw;var ow=function(t){T(e,t);function e(i){var n=t.call(this,"InterceptSendToEndpointDefinition")||this;return n.stepName="interceptSendToEndpoint",n.uri="",n.id="interceptSendToEndpoint-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.InterceptSendToEndpointDefinition=ow;var sw=function(t){T(e,t);function e(i){var n=t.call(this,"KameletDefinition")||this;return n.stepName="kamelet",n.name="",n.parameters={},Object.assign(n,i),n}return e}(F.CamelElement);v.KameletDefinition=sw;var lw=function(t){T(e,t);function e(i){var n=t.call(this,"LoadBalanceDefinition")||this;return n.stepName="loadBalance",n.id="loadBalance-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.LoadBalanceDefinition=lw;var cw=function(t){T(e,t);function e(i){var n=t.call(this,"LogDefinition")||this;return n.stepName="log",n.message="",n.id="log-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.LogDefinition=cw;var dw=function(t){T(e,t);function e(i){var n=t.call(this,"LoopDefinition")||this;return n.stepName="loop",n.id="loop-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.LoopDefinition=dw;var fw=function(t){T(e,t);function e(i){var n=t.call(this,"MarshalDefinition")||this;return n.stepName="marshal",n.id="marshal-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.MarshalDefinition=fw;var uw=function(t){T(e,t);function e(i){var n=t.call(this,"MulticastDefinition")||this;return n.stepName="multicast",n.id="multicast-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.MulticastDefinition=uw;var pw=function(t){T(e,t);function e(i){var n=t.call(this,"OnCompletionDefinition")||this;return n.stepName="onCompletion",n.id="onCompletion-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.OnCompletionDefinition=pw;var hw=function(t){T(e,t);function e(i){var n=t.call(this,"OnExceptionDefinition")||this;return n.stepName="onException",n.exception=[],n.id="onException-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.OnExceptionDefinition=hw;var gw=function(t){T(e,t);function e(i){var n=t.call(this,"OnFallbackDefinition")||this;return n.stepName="onFallback",n.id="onFallback-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.OnFallbackDefinition=gw;var vw=function(t){T(e,t);function e(i){var n=t.call(this,"OptimisticLockRetryPolicyDefinition")||this;return n.stepName="optimisticLockRetryPolicy",Object.assign(n,i),n}return e}(F.CamelElement);v.OptimisticLockRetryPolicyDefinition=vw;var mw=function(t){T(e,t);function e(i){var n=t.call(this,"OtherwiseDefinition")||this;return n.stepName="otherwise",n.id="otherwise-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.OtherwiseDefinition=mw;var yw=function(t){T(e,t);function e(i){var n=t.call(this,"OutputDefinition")||this;return n.stepName="output",n.id="output-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.OutputDefinition=yw;var bw=function(t){T(e,t);function e(i){var n=t.call(this,"OutputTypeDefinition")||this;return n.stepName="outputType",n.urn="",n.id="outputType-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.OutputTypeDefinition=bw;var ww=function(t){T(e,t);function e(i){var n=t.call(this,"PackageScanDefinition")||this;return n.stepName="packageScan",n.package=[],n.excludes=[],n.includes=[],Object.assign(n,i),n}return e}(F.CamelElement);v.PackageScanDefinition=ww;var Dw=function(t){T(e,t);function e(i){var n=t.call(this,"PausableDefinition")||this;return n.stepName="pausable",n.consumerListener="",n.untilCheck="",n.id="pausable-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.PausableDefinition=Dw;var xw=function(t){T(e,t);function e(i){var n=t.call(this,"PipelineDefinition")||this;return n.stepName="pipeline",n.id="pipeline-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.PipelineDefinition=xw;var Cw=function(t){T(e,t);function e(i){var n=t.call(this,"PolicyDefinition")||this;return n.stepName="policy",n.ref="",n.id="policy-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.PolicyDefinition=Cw;var Sw=function(t){T(e,t);function e(i){var n=t.call(this,"PollEnrichDefinition")||this;return n.stepName="pollEnrich",n.id="pollEnrich-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.PollEnrichDefinition=Sw;var Ew=function(t){T(e,t);function e(i){var n=t.call(this,"ProcessDefinition")||this;return n.stepName="process",n.ref="",n.id="process-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ProcessDefinition=Ew;var Tw=function(t){T(e,t);function e(i){var n=t.call(this,"PropertyDefinition")||this;return n.stepName="property",n.key="",n.value="",Object.assign(n,i),n}return e}(F.CamelElement);v.PropertyDefinition=Tw;var Fw=function(t){T(e,t);function e(i){var n=t.call(this,"PropertyExpressionDefinition")||this;return n.stepName="propertyExpression",n.key="",Object.assign(n,i),n}return e}(F.CamelElement);v.PropertyExpressionDefinition=Fw;var Ow=function(t){T(e,t);function e(i){var n=t.call(this,"RecipientListDefinition")||this;return n.stepName="recipientList",n.id="recipientList-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RecipientListDefinition=Ow;var Mw=function(t){T(e,t);function e(i){var n=t.call(this,"RedeliveryPolicyDefinition")||this;return n.stepName="redeliveryPolicy",n.id="redeliveryPolicy-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RedeliveryPolicyDefinition=Mw;var Aw=function(t){T(e,t);function e(i){var n=t.call(this,"RemoveHeaderDefinition")||this;return n.stepName="removeHeader",n.name="",n.id="removeHeader-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RemoveHeaderDefinition=Aw;var Iw=function(t){T(e,t);function e(i){var n=t.call(this,"RemoveHeadersDefinition")||this;return n.stepName="removeHeaders",n.pattern="",n.id="removeHeaders-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RemoveHeadersDefinition=Iw;var kw=function(t){T(e,t);function e(i){var n=t.call(this,"RemovePropertiesDefinition")||this;return n.stepName="removeProperties",n.pattern="",n.id="removeProperties-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RemovePropertiesDefinition=kw;var Rw=function(t){T(e,t);function e(i){var n=t.call(this,"RemovePropertyDefinition")||this;return n.stepName="removeProperty",n.name="",n.id="removeProperty-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RemovePropertyDefinition=Rw;var jw=function(t){T(e,t);function e(i){var n=t.call(this,"ResequenceDefinition")||this;return n.stepName="resequence",n.expression=new Ku,n.id="resequence-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ResequenceDefinition=jw;var Pw=function(t){T(e,t);function e(i){var n=t.call(this,"Resilience4jConfigurationDefinition")||this;return n.stepName="resilience4jConfiguration",n.id="resilience4jConfiguration-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.Resilience4jConfigurationDefinition=Pw;var Lw=function(t){T(e,t);function e(i){var n=t.call(this,"RestContextRefDefinition")||this;return n.stepName="restContextRef",n.ref="",Object.assign(n,i),n}return e}(F.CamelElement);v.RestContextRefDefinition=Lw;var Nw=function(t){T(e,t);function e(i){var n=t.call(this,"ResumableDefinition")||this;return n.stepName="resumable",n.resumeStrategy="",n.id="resumable-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ResumableDefinition=Nw;var Bw=function(t){T(e,t);function e(i){var n=t.call(this,"RollbackDefinition")||this;return n.stepName="rollback",n.id="rollback-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RollbackDefinition=Bw;var _w=function(t){T(e,t);function e(i){var n=t.call(this,"RouteBuilderDefinition")||this;return n.stepName="routeBuilder",n.ref="",n.id="routeBuilder-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RouteBuilderDefinition=_w;var zw=function(t){T(e,t);function e(i){var n=t.call(this,"RouteConfigurationContextRefDefinition")||this;return n.stepName="routeConfigurationContextRef",n.ref="",Object.assign(n,i),n}return e}(F.CamelElement);v.RouteConfigurationContextRefDefinition=zw;var Hw=function(t){T(e,t);function e(i){var n=t.call(this,"RouteConfigurationDefinition")||this;return n.stepName="routeConfiguration",n.intercept=[],n.interceptFrom=[],n.interceptSendToEndpoint=[],n.onException=[],n.onCompletion=[],Object.assign(n,i),n}return e}(F.CamelElement),Gu=v.RouteConfigurationDefinition=Hw,Ww=function(t){T(e,t);function e(i){var n=t.call(this,"RouteContextRefDefinition")||this;return n.stepName="routeContextRef",n.ref="",Object.assign(n,i),n}return e}(F.CamelElement);v.RouteContextRefDefinition=Ww;var Uw=function(t){T(e,t);function e(i){var n=t.call(this,"RouteDefinition")||this;return n.stepName="route",n.id="route-"+(0,I.v4)().substring(0,4),n.from=new Xu,Object.assign(n,i),n}return e}(F.CamelElement);v.RouteDefinition=Uw;var Vw=function(t){T(e,t);function e(i){var n=t.call(this,"RouteTemplateBeanDefinition")||this;return n.stepName="routeTemplateBean",n.name="",n.properties={},n.property=[],n.type="",Object.assign(n,i),n}return e}(F.CamelElement);v.RouteTemplateBeanDefinition=Vw;var Xw=function(t){T(e,t);function e(i){var n=t.call(this,"RouteTemplateDefinition")||this;return n.stepName="routeTemplate",n.id="routeTemplate-"+(0,I.v4)().substring(0,4),n.beans=[],n.parameters=[],Object.assign(n,i),n}return e}(F.CamelElement);v.RouteTemplateDefinition=Xw;var Jw=function(t){T(e,t);function e(i){var n=t.call(this,"RouteTemplateParameterDefinition")||this;return n.stepName="routeTemplateParameter",n.name="",Object.assign(n,i),n}return e}(F.CamelElement);v.RouteTemplateParameterDefinition=Jw;var Gw=function(t){T(e,t);function e(i){var n=t.call(this,"RoutingSlipDefinition")||this;return n.stepName="routingSlip",n.id="routingSlip-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RoutingSlipDefinition=Gw;var Kw=function(t){T(e,t);function e(i){var n=t.call(this,"SagaActionUriDefinition")||this;return n.stepName="sagaActionUri",n.id="sagaActionUri-"+(0,I.v4)().substring(0,4),n.parameters={},n.uri="",Object.assign(n,i),n}return e}(F.CamelElement);v.SagaActionUriDefinition=Kw;var qw=function(t){T(e,t);function e(i){var n=t.call(this,"SagaDefinition")||this;return n.stepName="saga",n.option=[],n.id="saga-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.SagaDefinition=qw;var $w=function(t){T(e,t);function e(i){var n=t.call(this,"SamplingDefinition")||this;return n.stepName="sample",n.id="sample-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SamplingDefinition=$w;var Yw=function(t){T(e,t);function e(i){var n=t.call(this,"ScriptDefinition")||this;return n.stepName="script",n.id="script-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ScriptDefinition=Yw;var Zw=function(t){T(e,t);function e(i){var n=t.call(this,"SetBodyDefinition")||this;return n.stepName="setBody",n.id="setBody-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SetBodyDefinition=Zw;var Qw=function(t){T(e,t);function e(i){var n=t.call(this,"SetExchangePatternDefinition")||this;return n.stepName="setExchangePattern",n.pattern="",n.id="setExchangePattern-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SetExchangePatternDefinition=Qw;var e1=function(t){T(e,t);function e(i){var n=t.call(this,"SetHeaderDefinition")||this;return n.stepName="setHeader",n.name="",n.id="setHeader-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SetHeaderDefinition=e1;var i1=function(t){T(e,t);function e(i){var n=t.call(this,"SetPropertyDefinition")||this;return n.stepName="setProperty",n.name="",n.id="setProperty-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SetPropertyDefinition=i1;var t1=function(t){T(e,t);function e(i){var n=t.call(this,"SortDefinition")||this;return n.stepName="sort",n.id="sort-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SortDefinition=t1;var a1=function(t){T(e,t);function e(i){var n=t.call(this,"SplitDefinition")||this;return n.stepName="split",n.id="split-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.SplitDefinition=a1;var n1=function(t){T(e,t);function e(i){var n=t.call(this,"StepDefinition")||this;return n.stepName="step",n.id="step-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.StepDefinition=n1;var r1=function(t){T(e,t);function e(i){var n=t.call(this,"StopDefinition")||this;return n.stepName="stop",n.id="stop-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.StopDefinition=r1;var o1=function(t){T(e,t);function e(i){var n=t.call(this,"TemplatedRouteBeanDefinition")||this;return n.stepName="templatedRouteBean",n.name="",n.type="",n.property=[],n.properties={},Object.assign(n,i),n}return e}(F.CamelElement);v.TemplatedRouteBeanDefinition=o1;var s1=function(t){T(e,t);function e(i){var n=t.call(this,"TemplatedRouteDefinition")||this;return n.stepName="templatedRoute",n.routeTemplateRef="",n.beans=[],n.parameters=[],Object.assign(n,i),n}return e}(F.CamelElement);v.TemplatedRouteDefinition=s1;var l1=function(t){T(e,t);function e(i){var n=t.call(this,"TemplatedRouteParameterDefinition")||this;return n.stepName="templatedRouteParameter",n.name="",n.value="",Object.assign(n,i),n}return e}(F.CamelElement);v.TemplatedRouteParameterDefinition=l1;var c1=function(t){T(e,t);function e(i){var n=t.call(this,"ThreadPoolProfileDefinition")||this;return n.stepName="threadPoolProfile",n.id="threadPoolProfile-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ThreadPoolProfileDefinition=c1;var d1=function(t){T(e,t);function e(i){var n=t.call(this,"ThreadsDefinition")||this;return n.stepName="threads",n.id="threads-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ThreadsDefinition=d1;var f1=function(t){T(e,t);function e(i){var n=t.call(this,"ThrottleDefinition")||this;return n.stepName="throttle",n.id="throttle-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ThrottleDefinition=f1;var u1=function(t){T(e,t);function e(i){var n=t.call(this,"ThrowExceptionDefinition")||this;return n.stepName="throwException",n.id="throwException-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ThrowExceptionDefinition=u1;var p1=function(t){T(e,t);function e(i){var n=t.call(this,"ToDefinition")||this;return n.stepName="to",n.uri="",n.id="to-"+(0,I.v4)().substring(0,4),n.parameters={},Object.assign(n,i),n}return e}(F.CamelElement);v.ToDefinition=p1;var h1=function(t){T(e,t);function e(i){var n=t.call(this,"ToDynamicDefinition")||this;return n.stepName="toD",n.uri="",n.id="toD-"+(0,I.v4)().substring(0,4),n.parameters={},Object.assign(n,i),n}return e}(F.CamelElement);v.ToDynamicDefinition=h1;var g1=function(t){T(e,t);function e(i){var n=t.call(this,"TransactedDefinition")||this;return n.stepName="transacted",n.id="transacted-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.TransactedDefinition=g1;var v1=function(t){T(e,t);function e(i){var n=t.call(this,"TransformDefinition")||this;return n.stepName="transform",n.id="transform-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.TransformDefinition=v1;var m1=function(t){T(e,t);function e(i){var n=t.call(this,"TryDefinition")||this;return n.stepName="doTry",n.id="doTry-"+(0,I.v4)().substring(0,4),n.doCatch=[],n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.TryDefinition=m1;var y1=function(t){T(e,t);function e(i){var n=t.call(this,"UnmarshalDefinition")||this;return n.stepName="unmarshal",n.id="unmarshal-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.UnmarshalDefinition=y1;var b1=function(t){T(e,t);function e(i){var n=t.call(this,"ValidateDefinition")||this;return n.stepName="validate",n.id="validate-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ValidateDefinition=b1;var w1=function(t){T(e,t);function e(i){var n=t.call(this,"ValueDefinition")||this;return n.stepName="value",Object.assign(n,i),n}return e}(F.CamelElement);v.ValueDefinition=w1;var D1=function(t){T(e,t);function e(i){var n=t.call(this,"WhenDefinition")||this;return n.stepName="when",n.id="when-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.WhenDefinition=D1;var x1=function(t){T(e,t);function e(i){var n=t.call(this,"WhenSkipSendToEndpointDefinition")||this;return n.stepName="whenSkipSendToEndpoint",n.id="whenSkipSendToEndpoint-"+(0,I.v4)().substring(0,4),n.steps=[],Object.assign(n,i),n}return e}(F.CamelElement);v.WhenSkipSendToEndpointDefinition=x1;var C1=function(t){T(e,t);function e(i){var n=t.call(this,"WireTapDefinition")||this;return n.stepName="wireTap",n.uri="",n.id="wireTap-"+(0,I.v4)().substring(0,4),n.parameters={},Object.assign(n,i),n}return e}(F.CamelElement);v.WireTapDefinition=C1;var S1=function(t){T(e,t);function e(i){var n=t.call(this,"BlacklistServiceCallServiceFilterConfiguration")||this;return n.id="blacklistServiceCallServiceFilterConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],n.servers=[],Object.assign(n,i),n}return e}(F.CamelElement);v.BlacklistServiceCallServiceFilterConfiguration=S1;var E1=function(t){T(e,t);function e(i){var n=t.call(this,"CachingServiceCallServiceDiscoveryConfiguration")||this;return n.id="cachingServiceCallServiceDiscoveryConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.CachingServiceCallServiceDiscoveryConfiguration=E1;var T1=function(t){T(e,t);function e(i){var n=t.call(this,"CombinedServiceCallServiceDiscoveryConfiguration")||this;return n.id="combinedServiceCallServiceDiscoveryConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.CombinedServiceCallServiceDiscoveryConfiguration=T1;var F1=function(t){T(e,t);function e(i){var n=t.call(this,"CombinedServiceCallServiceFilterConfiguration")||this;return n.id="combinedServiceCallServiceFilterConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.CombinedServiceCallServiceFilterConfiguration=F1;var O1=function(t){T(e,t);function e(i){var n=t.call(this,"ConsulServiceCallServiceDiscoveryConfiguration")||this;return n.id="consulServiceCallServiceDiscoveryConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ConsulServiceCallServiceDiscoveryConfiguration=O1;var M1=function(t){T(e,t);function e(i){var n=t.call(this,"CustomServiceCallServiceFilterConfiguration")||this;return n.id="customServiceCallServiceFilterConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.CustomServiceCallServiceFilterConfiguration=M1;var A1=function(t){T(e,t);function e(i){var n=t.call(this,"DefaultServiceCallServiceLoadBalancerConfiguration")||this;return n.id="defaultServiceCallServiceLoadBalancerConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.DefaultServiceCallServiceLoadBalancerConfiguration=A1;var I1=function(t){T(e,t);function e(i){var n=t.call(this,"DnsServiceCallServiceDiscoveryConfiguration")||this;return n.id="dnsServiceCallServiceDiscoveryConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.DnsServiceCallServiceDiscoveryConfiguration=I1;var k1=function(t){T(e,t);function e(i){var n=t.call(this,"HealthyServiceCallServiceFilterConfiguration")||this;return n.id="healthyServiceCallServiceFilterConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.HealthyServiceCallServiceFilterConfiguration=k1;var R1=function(t){T(e,t);function e(i){var n=t.call(this,"KubernetesServiceCallServiceDiscoveryConfiguration")||this;return n.id="kubernetesServiceCallServiceDiscoveryConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.KubernetesServiceCallServiceDiscoveryConfiguration=R1;var j1=function(t){T(e,t);function e(i){var n=t.call(this,"PassThroughServiceCallServiceFilterConfiguration")||this;return n.id="passThroughServiceCallServiceFilterConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.PassThroughServiceCallServiceFilterConfiguration=j1;var P1=function(t){T(e,t);function e(i){var n=t.call(this,"ServiceCallConfigurationDefinition")||this;return n.stepName="serviceCallConfiguration",n.id="serviceCallConfiguration-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ServiceCallConfigurationDefinition=P1;var L1=function(t){T(e,t);function e(i){var n=t.call(this,"ServiceCallDefinition")||this;return n.stepName="serviceCall",n.name="",n.id="serviceCall-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ServiceCallDefinition=L1;var N1=function(t){T(e,t);function e(i){var n=t.call(this,"ServiceCallExpressionConfiguration")||this;return n.id="serviceCallExpressionConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ServiceCallExpressionConfiguration=N1;var B1=function(t){T(e,t);function e(i){var n=t.call(this,"ServiceCallServiceChooserConfiguration")||this;return n.id="serviceCallServiceChooserConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ServiceCallServiceChooserConfiguration=B1;var _1=function(t){T(e,t);function e(i){var n=t.call(this,"ServiceCallServiceDiscoveryConfiguration")||this;return n.id="serviceCallServiceDiscoveryConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ServiceCallServiceDiscoveryConfiguration=_1;var z1=function(t){T(e,t);function e(i){var n=t.call(this,"ServiceCallServiceFilterConfiguration")||this;return n.id="serviceCallServiceFilterConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ServiceCallServiceFilterConfiguration=z1;var H1=function(t){T(e,t);function e(i){var n=t.call(this,"ServiceCallServiceLoadBalancerConfiguration")||this;return n.id="serviceCallServiceLoadBalancerConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ServiceCallServiceLoadBalancerConfiguration=H1;var W1=function(t){T(e,t);function e(i){var n=t.call(this,"StaticServiceCallServiceDiscoveryConfiguration")||this;return n.id="staticServiceCallServiceDiscoveryConfiguration-"+(0,I.v4)().substring(0,4),n.properties=[],n.servers=[],Object.assign(n,i),n}return e}(F.CamelElement);v.StaticServiceCallServiceDiscoveryConfiguration=W1;var U1=function(t){T(e,t);function e(i){var n=t.call(this,"ZooKeeperServiceCallServiceDiscoveryConfiguration")||this;return n.basePath="",n.id="zooKeeperServiceCallServiceDiscoveryConfiguration-"+(0,I.v4)().substring(0,4),n.nodes="",n.properties=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ZooKeeperServiceCallServiceDiscoveryConfiguration=U1;var V1=function(t){T(e,t);function e(i){var n=t.call(this,"BatchResequencerConfig")||this;return Object.assign(n,i),n}return e}(F.CamelElement);v.BatchResequencerConfig=V1;var X1=function(t){T(e,t);function e(i){var n=t.call(this,"StreamResequencerConfig")||this;return Object.assign(n,i),n}return e}(F.CamelElement);v.StreamResequencerConfig=X1;var J1=function(t){T(e,t);function e(i){var n=t.call(this,"ASN1DataFormat")||this;return n.dataFormatName="asn1",n.id="asn1-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ASN1DataFormat=J1;var G1=function(t){T(e,t);function e(i){var n=t.call(this,"Any23DataFormat")||this;return n.dataFormatName="any23",n.configuration=[],n.extractors=[],n.id="any23-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.Any23DataFormat=G1;var K1=function(t){T(e,t);function e(i){var n=t.call(this,"AvroDataFormat")||this;return n.dataFormatName="avro",n.id="avro-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.AvroDataFormat=K1;var q1=function(t){T(e,t);function e(i){var n=t.call(this,"BarcodeDataFormat")||this;return n.dataFormatName="barcode",n.id="barcode-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.BarcodeDataFormat=q1;var $1=function(t){T(e,t);function e(i){var n=t.call(this,"Base64DataFormat")||this;return n.dataFormatName="base64",n.id="base64-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.Base64DataFormat=$1;var Y1=function(t){T(e,t);function e(i){var n=t.call(this,"BindyDataFormat")||this;return n.dataFormatName="bindy",n.type="",n.id="bindy-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.BindyDataFormat=Y1;var Z1=function(t){T(e,t);function e(i){var n=t.call(this,"CBORDataFormat")||this;return n.dataFormatName="cbor",n.id="cbor-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.CBORDataFormat=Z1;var Q1=function(t){T(e,t);function e(i){var n=t.call(this,"CryptoDataFormat")||this;return n.dataFormatName="crypto",n.id="crypto-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.CryptoDataFormat=Q1;var e2=function(t){T(e,t);function e(i){var n=t.call(this,"CsvDataFormat")||this;return n.dataFormatName="csv",n.header=[],n.id="csv-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.CsvDataFormat=e2;var i2=function(t){T(e,t);function e(i){var n=t.call(this,"CustomDataFormat")||this;return n.dataFormatName="custom",n.ref="",n.id="custom-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.CustomDataFormat=i2;var t2=function(t){T(e,t);function e(i){var n=t.call(this,"DataFormatsDefinition")||this;return n.stepName="dataFormats",Object.assign(n,i),n}return e}(F.CamelElement);v.DataFormatsDefinition=t2;var a2=function(t){T(e,t);function e(i){var n=t.call(this,"FhirJsonDataFormat")||this;return n.dataFormatName="fhirJson",n.id="fhirJson-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.FhirJsonDataFormat=a2;var n2=function(t){T(e,t);function e(i){var n=t.call(this,"FhirXmlDataFormat")||this;return n.dataFormatName="fhirXml",n.id="fhirXml-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.FhirXmlDataFormat=n2;var r2=function(t){T(e,t);function e(i){var n=t.call(this,"FlatpackDataFormat")||this;return n.dataFormatName="flatpack",n.id="flatpack-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.FlatpackDataFormat=r2;var o2=function(t){T(e,t);function e(i){var n=t.call(this,"GrokDataFormat")||this;return n.dataFormatName="grok",n.pattern="",n.id="grok-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.GrokDataFormat=o2;var s2=function(t){T(e,t);function e(i){var n=t.call(this,"GzipDeflaterDataFormat")||this;return n.dataFormatName="gzipDeflater",n.id="gzipDeflater-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.GzipDeflaterDataFormat=s2;var l2=function(t){T(e,t);function e(i){var n=t.call(this,"HL7DataFormat")||this;return n.dataFormatName="hl7",n.id="hl7-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.HL7DataFormat=l2;var c2=function(t){T(e,t);function e(i){var n=t.call(this,"IcalDataFormat")||this;return n.dataFormatName="ical",n.id="ical-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.IcalDataFormat=c2;var d2=function(t){T(e,t);function e(i){var n=t.call(this,"JacksonXMLDataFormat")||this;return n.dataFormatName="jacksonXml",n.id="jacksonXml-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.JacksonXMLDataFormat=d2;var f2=function(t){T(e,t);function e(i){var n=t.call(this,"JaxbDataFormat")||this;return n.dataFormatName="jaxb",n.contextPath="",n.id="jaxb-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.JaxbDataFormat=f2;var u2=function(t){T(e,t);function e(i){var n=t.call(this,"JsonApiDataFormat")||this;return n.dataFormatName="jsonApi",n.id="jsonApi-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.JsonApiDataFormat=u2;var p2=function(t){T(e,t);function e(i){var n=t.call(this,"JsonDataFormat")||this;return n.dataFormatName="json",n.id="json-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.JsonDataFormat=p2;var h2=function(t){T(e,t);function e(i){var n=t.call(this,"LZFDataFormat")||this;return n.dataFormatName="lzf",n.id="lzf-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.LZFDataFormat=h2;var g2=function(t){T(e,t);function e(i){var n=t.call(this,"MimeMultipartDataFormat")||this;return n.dataFormatName="mimeMultipart",n.id="mimeMultipart-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.MimeMultipartDataFormat=g2;var v2=function(t){T(e,t);function e(i){var n=t.call(this,"PGPDataFormat")||this;return n.dataFormatName="pgp",n.id="pgp-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.PGPDataFormat=v2;var m2=function(t){T(e,t);function e(i){var n=t.call(this,"ProtobufDataFormat")||this;return n.dataFormatName="protobuf",n.id="protobuf-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ProtobufDataFormat=m2;var y2=function(t){T(e,t);function e(i){var n=t.call(this,"RssDataFormat")||this;return n.dataFormatName="rss",n.id="rss-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RssDataFormat=y2;var b2=function(t){T(e,t);function e(i){var n=t.call(this,"SoapDataFormat")||this;return n.dataFormatName="soap",n.contextPath="",n.id="soap-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SoapDataFormat=b2;var w2=function(t){T(e,t);function e(i){var n=t.call(this,"SwiftMtDataFormat")||this;return n.dataFormatName="swiftMt",n.id="swiftMt-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SwiftMtDataFormat=w2;var D2=function(t){T(e,t);function e(i){var n=t.call(this,"SwiftMxDataFormat")||this;return n.dataFormatName="swiftMx",n.id="swiftMx-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SwiftMxDataFormat=D2;var x2=function(t){T(e,t);function e(i){var n=t.call(this,"SyslogDataFormat")||this;return n.dataFormatName="syslog",n.id="syslog-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SyslogDataFormat=x2;var C2=function(t){T(e,t);function e(i){var n=t.call(this,"TarFileDataFormat")||this;return n.dataFormatName="tarFile",n.id="tarFile-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.TarFileDataFormat=C2;var S2=function(t){T(e,t);function e(i){var n=t.call(this,"ThriftDataFormat")||this;return n.dataFormatName="thrift",n.id="thrift-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ThriftDataFormat=S2;var E2=function(t){T(e,t);function e(i){var n=t.call(this,"TidyMarkupDataFormat")||this;return n.dataFormatName="tidyMarkup",n.id="tidyMarkup-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.TidyMarkupDataFormat=E2;var T2=function(t){T(e,t);function e(i){var n=t.call(this,"UniVocityCsvDataFormat")||this;return n.dataFormatName="univocityCsv",n.id="univocityCsv-"+(0,I.v4)().substring(0,4),n.univocityHeader=[],Object.assign(n,i),n}return e}(F.CamelElement);v.UniVocityCsvDataFormat=T2;var F2=function(t){T(e,t);function e(i){var n=t.call(this,"UniVocityFixedDataFormat")||this;return n.dataFormatName="univocityFixed",n.id="univocityFixed-"+(0,I.v4)().substring(0,4),n.univocityHeader=[],Object.assign(n,i),n}return e}(F.CamelElement);v.UniVocityFixedDataFormat=F2;var O2=function(t){T(e,t);function e(i){var n=t.call(this,"UniVocityHeader")||this;return Object.assign(n,i),n}return e}(F.CamelElement);v.UniVocityHeader=O2;var M2=function(t){T(e,t);function e(i){var n=t.call(this,"UniVocityTsvDataFormat")||this;return n.dataFormatName="univocityTsv",n.id="univocityTsv-"+(0,I.v4)().substring(0,4),n.univocityHeader=[],Object.assign(n,i),n}return e}(F.CamelElement);v.UniVocityTsvDataFormat=M2;var A2=function(t){T(e,t);function e(i){var n=t.call(this,"XMLSecurityDataFormat")||this;return n.dataFormatName="xmlSecurity",n.id="xmlSecurity-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.XMLSecurityDataFormat=A2;var I2=function(t){T(e,t);function e(i){var n=t.call(this,"XStreamDataFormat")||this;return n.dataFormatName="xstream",n.converters=[],n.aliases=[],n.omitFields=[],n.implicitCollections=[],n.id="xstream-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.XStreamDataFormat=I2;var k2=function(t){T(e,t);function e(i){var n=t.call(this,"YAMLDataFormat")||this;return n.dataFormatName="yaml",n.typeFilter=[],n.id="yaml-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.YAMLDataFormat=k2;var R2=function(t){T(e,t);function e(i){var n=t.call(this,"YAMLTypeFilterDefinition")||this;return n.stepName="yAMLTypeFilter",Object.assign(n,i),n}return e}(F.CamelElement);v.YAMLTypeFilterDefinition=R2;var j2=function(t){T(e,t);function e(i){var n=t.call(this,"ZipDeflaterDataFormat")||this;return n.dataFormatName="zipDeflater",n.id="zipDeflater-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ZipDeflaterDataFormat=j2;var P2=function(t){T(e,t);function e(i){var n=t.call(this,"ZipFileDataFormat")||this;return n.dataFormatName="zipFile",n.id="zipFile-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ZipFileDataFormat=P2;var L2=function(t){T(e,t);function e(i){var n=t.call(this,"DeadLetterChannelDefinition")||this;return n.stepName="deadLetterChannel",n.deadLetterUri="",n.id="deadLetterChannel-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.DeadLetterChannelDefinition=L2;var N2=function(t){T(e,t);function e(i){var n=t.call(this,"DefaultErrorHandlerDefinition")||this;return n.stepName="defaultErrorHandler",n.id="defaultErrorHandler-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.DefaultErrorHandlerDefinition=N2;var B2=function(t){T(e,t);function e(i){var n=t.call(this,"JtaTransactionErrorHandlerDefinition")||this;return n.stepName="jtaTransactionErrorHandler",n.id="jtaTransactionErrorHandler-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.JtaTransactionErrorHandlerDefinition=B2;var _2=function(t){T(e,t);function e(i){var n=t.call(this,"NoErrorHandlerDefinition")||this;return n.stepName="noErrorHandler",n.id="noErrorHandler-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.NoErrorHandlerDefinition=_2;var z2=function(t){T(e,t);function e(i){var n=t.call(this,"RefErrorHandlerDefinition")||this;return n.stepName="refErrorHandler",n.ref="",n.id="refErrorHandler-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RefErrorHandlerDefinition=z2;var H2=function(t){T(e,t);function e(i){var n=t.call(this,"SpringTransactionErrorHandlerDefinition")||this;return n.stepName="springTransactionErrorHandler",n.id="springTransactionErrorHandler-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SpringTransactionErrorHandlerDefinition=H2;var W2=function(t){T(e,t);function e(i){var n=t.call(this,"CSimpleExpression")||this;return n.expressionName="csimple",n.expression="",n.id="csimple-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.CSimpleExpression=W2;var U2=function(t){T(e,t);function e(i){var n=t.call(this,"ConstantExpression")||this;return n.expressionName="constant",n.expression="",n.id="constant-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ConstantExpression=U2;var V2=function(t){T(e,t);function e(i){var n=t.call(this,"DatasonnetExpression")||this;return n.expressionName="datasonnet",n.expression="",n.id="datasonnet-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.DatasonnetExpression=V2;var X2=function(t){T(e,t);function e(i){var n=t.call(this,"ExchangePropertyExpression")||this;return n.expressionName="exchangeProperty",n.expression="",n.id="exchangeProperty-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.ExchangePropertyExpression=X2;var Ku=function(t){T(e,t);function e(i){var n=t.call(this,"ExpressionDefinition")||this;return n.stepName="expression",Object.assign(n,i),n}return e}(F.CamelElement),qu=v.ExpressionDefinition=Ku,J2=function(t){T(e,t);function e(i){var n=t.call(this,"GroovyExpression")||this;return n.expressionName="groovy",n.expression="",n.id="groovy-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.GroovyExpression=J2;var G2=function(t){T(e,t);function e(i){var n=t.call(this,"HeaderExpression")||this;return n.expressionName="header",n.expression="",n.id="header-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.HeaderExpression=G2;var K2=function(t){T(e,t);function e(i){var n=t.call(this,"Hl7TerserExpression")||this;return n.expressionName="hl7terser",n.expression="",n.id="hl7terser-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.Hl7TerserExpression=K2;var q2=function(t){T(e,t);function e(i){var n=t.call(this,"JavaScriptExpression")||this;return n.expressionName="js",n.expression="",n.id="js-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.JavaScriptExpression=q2;var $2=function(t){T(e,t);function e(i){var n=t.call(this,"JoorExpression")||this;return n.expressionName="joor",n.expression="",n.id="joor-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.JoorExpression=$2;var Y2=function(t){T(e,t);function e(i){var n=t.call(this,"JqExpression")||this;return n.expressionName="jq",n.expression="",n.id="jq-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.JqExpression=Y2;var Z2=function(t){T(e,t);function e(i){var n=t.call(this,"JsonPathExpression")||this;return n.expressionName="jsonpath",n.expression="",n.id="jsonpath-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.JsonPathExpression=Z2;var Q2=function(t){T(e,t);function e(i){var n=t.call(this,"LanguageExpression")||this;return n.expressionName="language",n.language="",n.expression="",n.id="language-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.LanguageExpression=Q2;var eD=function(t){T(e,t);function e(i){var n=t.call(this,"MethodCallExpression")||this;return n.expressionName="method",n.id="method-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.MethodCallExpression=eD;var iD=function(t){T(e,t);function e(i){var n=t.call(this,"MvelExpression")||this;return n.expressionName="mvel",n.expression="",n.id="mvel-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.MvelExpression=iD;var tD=function(t){T(e,t);function e(i){var n=t.call(this,"OgnlExpression")||this;return n.expressionName="ognl",n.expression="",n.id="ognl-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.OgnlExpression=tD;var aD=function(t){T(e,t);function e(i){var n=t.call(this,"PythonExpression")||this;return n.expressionName="python",n.expression="",n.id="python-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.PythonExpression=aD;var nD=function(t){T(e,t);function e(i){var n=t.call(this,"RefExpression")||this;return n.expressionName="ref",n.expression="",n.id="ref-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RefExpression=nD;var rD=function(t){T(e,t);function e(i){var n=t.call(this,"SimpleExpression")||this;return n.expressionName="simple",n.expression="",n.id="simple-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SimpleExpression=rD;var oD=function(t){T(e,t);function e(i){var n=t.call(this,"SpELExpression")||this;return n.expressionName="spel",n.expression="",n.id="spel-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.SpELExpression=oD;var sD=function(t){T(e,t);function e(i){var n=t.call(this,"TokenizerExpression")||this;return n.expressionName="tokenize",n.token="",n.id="tokenize-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.TokenizerExpression=sD;var lD=function(t){T(e,t);function e(i){var n=t.call(this,"XMLTokenizerExpression")||this;return n.expressionName="xtokenize",n.expression="",n.namespace=[],n.id="xtokenize-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.XMLTokenizerExpression=lD;var cD=function(t){T(e,t);function e(i){var n=t.call(this,"XPathExpression")||this;return n.expressionName="xpath",n.expression="",n.namespace=[],n.id="xpath-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.XPathExpression=cD;var dD=function(t){T(e,t);function e(i){var n=t.call(this,"XQueryExpression")||this;return n.expressionName="xquery",n.expression="",n.namespace=[],n.id="xquery-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.XQueryExpression=dD;var fD=function(t){T(e,t);function e(i){var n=t.call(this,"CustomLoadBalancerDefinition")||this;return n.stepName="customLoadBalancer",n.ref="",n.id="customLoadBalancer-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.CustomLoadBalancerDefinition=fD;var uD=function(t){T(e,t);function e(i){var n=t.call(this,"FailoverLoadBalancerDefinition")||this;return n.stepName="failoverLoadBalancer",n.exception=[],n.id="failoverLoadBalancer-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.FailoverLoadBalancerDefinition=uD;var pD=function(t){T(e,t);function e(i){var n=t.call(this,"RandomLoadBalancerDefinition")||this;return n.stepName="randomLoadBalancer",n.id="randomLoadBalancer-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RandomLoadBalancerDefinition=pD;var hD=function(t){T(e,t);function e(i){var n=t.call(this,"RoundRobinLoadBalancerDefinition")||this;return n.stepName="roundRobinLoadBalancer",n.id="roundRobinLoadBalancer-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RoundRobinLoadBalancerDefinition=hD;var gD=function(t){T(e,t);function e(i){var n=t.call(this,"StickyLoadBalancerDefinition")||this;return n.stepName="stickyLoadBalancer",n.id="stickyLoadBalancer-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.StickyLoadBalancerDefinition=gD;var vD=function(t){T(e,t);function e(i){var n=t.call(this,"TopicLoadBalancerDefinition")||this;return n.stepName="topicLoadBalancer",n.id="topicLoadBalancer-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.TopicLoadBalancerDefinition=vD;var mD=function(t){T(e,t);function e(i){var n=t.call(this,"WeightedLoadBalancerDefinition")||this;return n.stepName="weightedLoadBalancer",n.distributionRatio="",n.id="weightedLoadBalancer-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.WeightedLoadBalancerDefinition=mD;var yD=function(t){T(e,t);function e(i){var n=t.call(this,"ApiKeyDefinition")||this;return n.stepName="apiKey",n.name="",n.key="",Object.assign(n,i),n}return e}(F.CamelElement);v.ApiKeyDefinition=yD;var bD=function(t){T(e,t);function e(i){var n=t.call(this,"BasicAuthDefinition")||this;return n.stepName="basicAuth",n.key="",Object.assign(n,i),n}return e}(F.CamelElement);v.BasicAuthDefinition=bD;var wD=function(t){T(e,t);function e(i){var n=t.call(this,"BearerTokenDefinition")||this;return n.stepName="bearerToken",n.key="",Object.assign(n,i),n}return e}(F.CamelElement);v.BearerTokenDefinition=wD;var DD=function(t){T(e,t);function e(i){var n=t.call(this,"DeleteDefinition")||this;return n.stepName="delete",n.id="delete-"+(0,I.v4)().substring(0,4),n.param=[],n.responseMessage=[],n.security=[],Object.assign(n,i),n}return e}(F.CamelElement);v.DeleteDefinition=DD;var xD=function(t){T(e,t);function e(i){var n=t.call(this,"GetDefinition")||this;return n.stepName="get",n.id="get-"+(0,I.v4)().substring(0,4),n.param=[],n.responseMessage=[],n.security=[],Object.assign(n,i),n}return e}(F.CamelElement);v.GetDefinition=xD;var CD=function(t){T(e,t);function e(i){var n=t.call(this,"HeadDefinition")||this;return n.stepName="head",n.id="head-"+(0,I.v4)().substring(0,4),n.param=[],n.responseMessage=[],n.security=[],Object.assign(n,i),n}return e}(F.CamelElement);v.HeadDefinition=CD;var SD=function(t){T(e,t);function e(i){var n=t.call(this,"MutualTLSDefinition")||this;return n.stepName="mutualTLS",n.key="",Object.assign(n,i),n}return e}(F.CamelElement);v.MutualTLSDefinition=SD;var ED=function(t){T(e,t);function e(i){var n=t.call(this,"OAuth2Definition")||this;return n.stepName="oAuth2",n.key="",n.scopes=[],Object.assign(n,i),n}return e}(F.CamelElement);v.OAuth2Definition=ED;var TD=function(t){T(e,t);function e(i){var n=t.call(this,"OpenIdConnectDefinition")||this;return n.stepName="openIdConnect",n.key="",n.url="",Object.assign(n,i),n}return e}(F.CamelElement);v.OpenIdConnectDefinition=TD;var FD=function(t){T(e,t);function e(i){var n=t.call(this,"ParamDefinition")||this;return n.stepName="param",n.name="",n.type="",n.allowableValues=[],n.examples=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ParamDefinition=FD;var OD=function(t){T(e,t);function e(i){var n=t.call(this,"PatchDefinition")||this;return n.stepName="patch",n.id="patch-"+(0,I.v4)().substring(0,4),n.param=[],n.responseMessage=[],n.security=[],Object.assign(n,i),n}return e}(F.CamelElement);v.PatchDefinition=OD;var MD=function(t){T(e,t);function e(i){var n=t.call(this,"PostDefinition")||this;return n.stepName="post",n.id="post-"+(0,I.v4)().substring(0,4),n.param=[],n.responseMessage=[],n.security=[],Object.assign(n,i),n}return e}(F.CamelElement);v.PostDefinition=MD;var AD=function(t){T(e,t);function e(i){var n=t.call(this,"PutDefinition")||this;return n.stepName="put",n.id="put-"+(0,I.v4)().substring(0,4),n.param=[],n.responseMessage=[],n.security=[],Object.assign(n,i),n}return e}(F.CamelElement);v.PutDefinition=AD;var ID=function(t){T(e,t);function e(i){var n=t.call(this,"ResponseHeaderDefinition")||this;return n.stepName="responseHeader",n.name="",n.allowableValues=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ResponseHeaderDefinition=ID;var kD=function(t){T(e,t);function e(i){var n=t.call(this,"ResponseMessageDefinition")||this;return n.stepName="responseMessage",n.message="",n.header=[],n.examples=[],Object.assign(n,i),n}return e}(F.CamelElement);v.ResponseMessageDefinition=kD;var RD=function(t){T(e,t);function e(i){var n=t.call(this,"RestBindingDefinition")||this;return n.stepName="restBinding",n.id="restBinding-"+(0,I.v4)().substring(0,4),Object.assign(n,i),n}return e}(F.CamelElement);v.RestBindingDefinition=RD;var jD=function(t){T(e,t);function e(i){var n=t.call(this,"RestConfigurationDefinition")||this;return n.stepName="restConfiguration",n.componentProperty=[],n.endpointProperty=[],n.consumerProperty=[],n.dataFormatProperty=[],n.apiProperty=[],n.corsHeaders=[],Object.assign(n,i),n}return e}(F.CamelElement),$u=v.RestConfigurationDefinition=jD,PD=function(t){T(e,t);function e(i){var n=t.call(this,"RestDefinition")||this;return n.stepName="rest",n.securityRequirements=[],n.id="rest-"+(0,I.v4)().substring(0,4),n.delete=[],n.get=[],n.head=[],n.patch=[],n.post=[],n.put=[],Object.assign(n,i),n}return e}(F.CamelElement),Yu=v.RestDefinition=PD,LD=function(t){T(e,t);function e(i){var n=t.call(this,"RestPropertyDefinition")||this;return n.stepName="restProperty",n.key="",n.value="",Object.assign(n,i),n}return e}(F.CamelElement);v.RestPropertyDefinition=LD;var ND=function(t){T(e,t);function e(i){var n=t.call(this,"RestSecuritiesDefinition")||this;return n.stepName="restSecurities",Object.assign(n,i),n}return e}(F.CamelElement);v.RestSecuritiesDefinition=ND;var BD=function(t){T(e,t);function e(i){var n=t.call(this,"RestsDefinition")||this;return n.stepName="rests",n.id="rests-"+(0,I.v4)().substring(0,4),n.rest=[],Object.assign(n,i),n}return e}(F.CamelElement);v.RestsDefinition=BD;var _D=function(t){T(e,t);function e(i){var n=t.call(this,"SecurityDefinition")||this;return n.stepName="security",n.key="",Object.assign(n,i),n}return e}(F.CamelElement);v.SecurityDefinition=_D;var zD=function(t){T(e,t);function e(i){var n=t.call(this,"CustomTransformerDefinition")||this;return n.stepName="customTransformer",Object.assign(n,i),n}return e}(F.CamelElement);v.CustomTransformerDefinition=zD;var HD=function(t){T(e,t);function e(i){var n=t.call(this,"DataFormatTransformerDefinition")||this;return n.stepName="dataFormatTransformer",Object.assign(n,i),n}return e}(F.CamelElement);v.DataFormatTransformerDefinition=HD;var WD=function(t){T(e,t);function e(i){var n=t.call(this,"EndpointTransformerDefinition")||this;return n.stepName="endpointTransformer",Object.assign(n,i),n}return e}(F.CamelElement);v.EndpointTransformerDefinition=WD;var UD=function(t){T(e,t);function e(i){var n=t.call(this,"TransformersDefinition")||this;return n.stepName="transformers",Object.assign(n,i),n}return e}(F.CamelElement);v.TransformersDefinition=UD;var VD=function(t){T(e,t);function e(i){var n=t.call(this,"CustomValidatorDefinition")||this;return n.stepName="customValidator",Object.assign(n,i),n}return e}(F.CamelElement);v.CustomValidatorDefinition=VD;var XD=function(t){T(e,t);function e(i){var n=t.call(this,"EndpointValidatorDefinition")||this;return n.stepName="endpointValidator",Object.assign(n,i),n}return e}(F.CamelElement);v.EndpointValidatorDefinition=XD;var JD=function(t){T(e,t);function e(i){var n=t.call(this,"PredicateValidatorDefinition")||this;return n.stepName="predicateValidator",Object.assign(n,i),n}return e}(F.CamelElement);v.PredicateValidatorDefinition=JD;var GD=function(t){T(e,t);function e(i){var n=t.call(this,"ValidatorsDefinition")||this;return n.stepName="validators",Object.assign(n,i),n}return e}(F.CamelElement);v.ValidatorsDefinition=GD;var Sc;function ao(){if(Sc)return Xa;Sc=1;var t=si&&si.__assign||function(){return t=Object.assign||function(r){for(var a,o=1,l=arguments.length;o<l;o++){a=arguments[o];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(r[c]=a[c])}return r},t.apply(this,arguments)};Object.defineProperty(Xa,"__esModule",{value:!0}),Xa.CamelDefinitionApi=void 0;var e=Ke,i=v,n=Fa(),s=function(){function r(){}return r.createProcessorDefinition=function(a){var o=a?new i.ProcessorDefinition(t({},a)):new i.ProcessorDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.aggregate)!==void 0&&(o.aggregate=r.createAggregateDefinition(a.aggregate)),(a==null?void 0:a.bean)!==void 0&&(o.bean=r.createBeanDefinition(a.bean)),(a==null?void 0:a.doCatch)!==void 0&&(o.doCatch=r.createCatchDefinition(a.doCatch)),(a==null?void 0:a.choice)!==void 0&&(o.choice=r.createChoiceDefinition(a.choice)),(a==null?void 0:a.circuitBreaker)!==void 0&&(o.circuitBreaker=r.createCircuitBreakerDefinition(a.circuitBreaker)),(a==null?void 0:a.claimCheck)!==void 0&&(o.claimCheck=r.createClaimCheckDefinition(a.claimCheck)),(a==null?void 0:a.convertBodyTo)!==void 0&&(o.convertBodyTo=r.createConvertBodyDefinition(a.convertBodyTo)),(a==null?void 0:a.delay)!==void 0&&(o.delay=r.createDelayDefinition(a.delay)),(a==null?void 0:a.dynamicRouter)!==void 0&&(o.dynamicRouter=r.createDynamicRouterDefinition(a.dynamicRouter)),(a==null?void 0:a.enrich)!==void 0&&(o.enrich=r.createEnrichDefinition(a.enrich)),(a==null?void 0:a.filter)!==void 0&&(o.filter=r.createFilterDefinition(a.filter)),(a==null?void 0:a.doFinally)!==void 0&&(o.doFinally=r.createFinallyDefinition(a.doFinally)),(a==null?void 0:a.idempotentConsumer)!==void 0&&(o.idempotentConsumer=r.createIdempotentConsumerDefinition(a.idempotentConsumer)),(a==null?void 0:a.inOnly)!==void 0&&(o.inOnly=r.createInOnlyDefinition(a.inOnly)),(a==null?void 0:a.inOut)!==void 0&&(o.inOut=r.createInOutDefinition(a.inOut)),(a==null?void 0:a.intercept)!==void 0&&(o.intercept=r.createInterceptDefinition(a.intercept)),(a==null?void 0:a.interceptFrom)!==void 0&&(o.interceptFrom=r.createInterceptFromDefinition(a.interceptFrom)),(a==null?void 0:a.interceptSendToEndpoint)!==void 0&&(o.interceptSendToEndpoint=r.createInterceptSendToEndpointDefinition(a.interceptSendToEndpoint)),(a==null?void 0:a.kamelet)!==void 0&&(o.kamelet=r.createKameletDefinition(a.kamelet)),(a==null?void 0:a.loadBalance)!==void 0&&(o.loadBalance=r.createLoadBalanceDefinition(a.loadBalance)),(a==null?void 0:a.log)!==void 0&&(o.log=r.createLogDefinition(a.log)),(a==null?void 0:a.loop)!==void 0&&(o.loop=r.createLoopDefinition(a.loop)),(a==null?void 0:a.marshal)!==void 0&&(o.marshal=r.createMarshalDefinition(a.marshal)),(a==null?void 0:a.multicast)!==void 0&&(o.multicast=r.createMulticastDefinition(a.multicast)),(a==null?void 0:a.onCompletion)!==void 0&&(o.onCompletion=r.createOnCompletionDefinition(a.onCompletion)),(a==null?void 0:a.onFallback)!==void 0&&(o.onFallback=r.createOnFallbackDefinition(a.onFallback)),(a==null?void 0:a.otherwise)!==void 0&&(o.otherwise=r.createOtherwiseDefinition(a.otherwise)),(a==null?void 0:a.pausable)!==void 0&&(o.pausable=r.createPausableDefinition(a.pausable)),(a==null?void 0:a.pipeline)!==void 0&&(o.pipeline=r.createPipelineDefinition(a.pipeline)),(a==null?void 0:a.policy)!==void 0&&(o.policy=r.createPolicyDefinition(a.policy)),(a==null?void 0:a.pollEnrich)!==void 0&&(o.pollEnrich=r.createPollEnrichDefinition(a.pollEnrich)),(a==null?void 0:a.process)!==void 0&&(o.process=r.createProcessDefinition(a.process)),(a==null?void 0:a.recipientList)!==void 0&&(o.recipientList=r.createRecipientListDefinition(a.recipientList)),(a==null?void 0:a.removeHeader)!==void 0&&(o.removeHeader=r.createRemoveHeaderDefinition(a.removeHeader)),(a==null?void 0:a.removeHeaders)!==void 0&&(o.removeHeaders=r.createRemoveHeadersDefinition(a.removeHeaders)),(a==null?void 0:a.removeProperties)!==void 0&&(o.removeProperties=r.createRemovePropertiesDefinition(a.removeProperties)),(a==null?void 0:a.removeProperty)!==void 0&&(o.removeProperty=r.createRemovePropertyDefinition(a.removeProperty)),(a==null?void 0:a.resequence)!==void 0&&(o.resequence=r.createResequenceDefinition(a.resequence)),(a==null?void 0:a.resumable)!==void 0&&(o.resumable=r.createResumableDefinition(a.resumable)),(a==null?void 0:a.rollback)!==void 0&&(o.rollback=r.createRollbackDefinition(a.rollback)),(a==null?void 0:a.routingSlip)!==void 0&&(o.routingSlip=r.createRoutingSlipDefinition(a.routingSlip)),(a==null?void 0:a.saga)!==void 0&&(o.saga=r.createSagaDefinition(a.saga)),(a==null?void 0:a.sample)!==void 0&&(o.sample=r.createSamplingDefinition(a.sample)),(a==null?void 0:a.script)!==void 0&&(o.script=r.createScriptDefinition(a.script)),(a==null?void 0:a.setBody)!==void 0&&(o.setBody=r.createSetBodyDefinition(a.setBody)),(a==null?void 0:a.setExchangePattern)!==void 0&&(o.setExchangePattern=r.createSetExchangePatternDefinition(a.setExchangePattern)),(a==null?void 0:a.setHeader)!==void 0&&(o.setHeader=r.createSetHeaderDefinition(a.setHeader)),(a==null?void 0:a.setProperty)!==void 0&&(o.setProperty=r.createSetPropertyDefinition(a.setProperty)),(a==null?void 0:a.sort)!==void 0&&(o.sort=r.createSortDefinition(a.sort)),(a==null?void 0:a.split)!==void 0&&(o.split=r.createSplitDefinition(a.split)),(a==null?void 0:a.step)!==void 0&&(o.step=r.createStepDefinition(a.step)),(a==null?void 0:a.stop)!==void 0&&(o.stop=r.createStopDefinition(a.stop)),(a==null?void 0:a.threads)!==void 0&&(o.threads=r.createThreadsDefinition(a.threads)),(a==null?void 0:a.throttle)!==void 0&&(o.throttle=r.createThrottleDefinition(a.throttle)),(a==null?void 0:a.throwException)!==void 0&&(o.throwException=r.createThrowExceptionDefinition(a.throwException)),(a==null?void 0:a.transacted)!==void 0&&(o.transacted=r.createTransactedDefinition(a.transacted)),(a==null?void 0:a.transform)!==void 0&&(o.transform=r.createTransformDefinition(a.transform)),(a==null?void 0:a.doTry)!==void 0&&(o.doTry=r.createTryDefinition(a.doTry)),(a==null?void 0:a.unmarshal)!==void 0&&(o.unmarshal=r.createUnmarshalDefinition(a.unmarshal)),(a==null?void 0:a.validate)!==void 0&&(o.validate=r.createValidateDefinition(a.validate)),(a==null?void 0:a.when)!==void 0&&(o.when=r.createWhenDefinition(a.when)),(a==null?void 0:a.whenSkipSendToEndpoint)!==void 0&&(o.whenSkipSendToEndpoint=r.createWhenSkipSendToEndpointDefinition(a.whenSkipSendToEndpoint)),(a==null?void 0:a.wireTap)!==void 0&&(o.wireTap=r.createWireTapDefinition(a.wireTap)),(a==null?void 0:a.serviceCall)!==void 0&&(o.serviceCall=r.createServiceCallDefinition(a.serviceCall)),o},r.createBeansDeserializer=function(a){var o=a?new i.BeansDeserializer(t({},a)):new i.BeansDeserializer;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createErrorHandlerBuilderDeserializer=function(a){var o=a?new i.ErrorHandlerBuilderDeserializer(t({},a)):new i.ErrorHandlerBuilderDeserializer;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.deadLetterChannel)!==void 0&&(o.deadLetterChannel=r.createDeadLetterChannelDefinition(a.deadLetterChannel)),(a==null?void 0:a.defaultErrorHandler)!==void 0&&(o.defaultErrorHandler=r.createDefaultErrorHandlerDefinition(a.defaultErrorHandler)),(a==null?void 0:a.jtaTransactionErrorHandler)!==void 0&&(o.jtaTransactionErrorHandler=r.createJtaTransactionErrorHandlerDefinition(a.jtaTransactionErrorHandler)),(a==null?void 0:a.noErrorHandler)!==void 0&&(o.noErrorHandler=r.createNoErrorHandlerDefinition(a.noErrorHandler)),(a==null?void 0:a.refErrorHandler)!==void 0&&(o.refErrorHandler=r.createRefErrorHandlerDefinition(a.refErrorHandler)),(a==null?void 0:a.springTransactionErrorHandler)!==void 0&&(o.springTransactionErrorHandler=r.createSpringTransactionErrorHandlerDefinition(a.springTransactionErrorHandler)),o},r.createNamedBeanDefinition=function(a){var o=a?new i.NamedBeanDefinition(t({},a)):new i.NamedBeanDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createOutputAwareFromDefinition=function(a){var o=a?new i.OutputAwareFromDefinition(t({},a)):new i.OutputAwareFromDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createAggregateDefinition=function(a){var o=a?new i.AggregateDefinition(t({},a)):new i.AggregateDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.completionPredicate)!==void 0&&(o.completionPredicate=r.createExpressionSubElementDefinition(a.completionPredicate)),(a==null?void 0:a.completionSizeExpression)!==void 0&&(o.completionSizeExpression=r.createExpressionSubElementDefinition(a.completionSizeExpression)),(a==null?void 0:a.completionTimeoutExpression)!==void 0&&(o.completionTimeoutExpression=r.createExpressionSubElementDefinition(a.completionTimeoutExpression)),(a==null?void 0:a.correlationExpression)!==void 0&&(o.correlationExpression=r.createExpressionSubElementDefinition(a.correlationExpression)),(a==null?void 0:a.optimisticLockRetryPolicy)!==void 0&&(o.optimisticLockRetryPolicy=r.createOptimisticLockRetryPolicyDefinition(a.optimisticLockRetryPolicy)),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createBeanDefinition=function(a){var o=a?new i.BeanDefinition(t({},a)):new i.BeanDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createCatchDefinition=function(a){var o=a?new i.CatchDefinition(t({},a)):new i.CatchDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.onWhen)!==void 0&&(o.onWhen=r.createWhenDefinition(a.onWhen)),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createChoiceDefinition=function(a){var o=a?new i.ChoiceDefinition(t({},a)):new i.ChoiceDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.otherwise)!==void 0&&(o.otherwise=r.createOtherwiseDefinition(a.otherwise)),o.when=a&&(a!=null&&a.when)?a==null?void 0:a.when.map(function(l){return r.createWhenDefinition(l)}):[],o},r.createCircuitBreakerDefinition=function(a){var o=a?new i.CircuitBreakerDefinition(t({},a)):new i.CircuitBreakerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.faultToleranceConfiguration)!==void 0&&(o.faultToleranceConfiguration=r.createFaultToleranceConfigurationDefinition(a.faultToleranceConfiguration)),(a==null?void 0:a.onFallback)!==void 0&&(o.onFallback=r.createOnFallbackDefinition(a.onFallback)),(a==null?void 0:a.resilience4jConfiguration)!==void 0&&(o.resilience4jConfiguration=r.createResilience4jConfigurationDefinition(a.resilience4jConfiguration)),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createClaimCheckDefinition=function(a){var o=a?new i.ClaimCheckDefinition(t({},a)):new i.ClaimCheckDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createContextScanDefinition=function(a){var o=a?new i.ContextScanDefinition(t({},a)):new i.ContextScanDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createConvertBodyDefinition=function(a){a&&typeof a=="string"&&(a={type:a});var o=a?new i.ConvertBodyDefinition(t({},a)):new i.ConvertBodyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createDataFormatDefinition=function(a){var o=a?new i.DataFormatDefinition(t({},a)):new i.DataFormatDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createDelayDefinition=function(a){var o=a?new i.DelayDefinition(t({},a)):new i.DelayDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createDescriptionDefinition=function(a){var o=a?new i.DescriptionDefinition(t({},a)):new i.DescriptionDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createDynamicRouterDefinition=function(a){var o=a?new i.DynamicRouterDefinition(t({},a)):new i.DynamicRouterDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createEnrichDefinition=function(a){var o=a?new i.EnrichDefinition(t({},a)):new i.EnrichDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createErrorHandlerDefinition=function(a){var o=a?new i.ErrorHandlerDefinition(t({},a)):new i.ErrorHandlerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.deadLetterChannel)!==void 0&&(o.deadLetterChannel=r.createDeadLetterChannelDefinition(a.deadLetterChannel)),(a==null?void 0:a.defaultErrorHandler)!==void 0&&(o.defaultErrorHandler=r.createDefaultErrorHandlerDefinition(a.defaultErrorHandler)),(a==null?void 0:a.jtaTransactionErrorHandler)!==void 0&&(o.jtaTransactionErrorHandler=r.createJtaTransactionErrorHandlerDefinition(a.jtaTransactionErrorHandler)),(a==null?void 0:a.noErrorHandler)!==void 0&&(o.noErrorHandler=r.createNoErrorHandlerDefinition(a.noErrorHandler)),(a==null?void 0:a.springTransactionErrorHandler)!==void 0&&(o.springTransactionErrorHandler=r.createSpringTransactionErrorHandlerDefinition(a.springTransactionErrorHandler)),o},r.createExpressionSubElementDefinition=function(a){var o=a?new i.ExpressionSubElementDefinition(t({},a)):new i.ExpressionSubElementDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.constant)!==void 0&&(o.constant=r.createConstantExpression(a.constant)),(a==null?void 0:a.csimple)!==void 0&&(o.csimple=r.createCSimpleExpression(a.csimple)),(a==null?void 0:a.datasonnet)!==void 0&&(o.datasonnet=r.createDatasonnetExpression(a.datasonnet)),(a==null?void 0:a.exchangeProperty)!==void 0&&(o.exchangeProperty=r.createExchangePropertyExpression(a.exchangeProperty)),(a==null?void 0:a.groovy)!==void 0&&(o.groovy=r.createGroovyExpression(a.groovy)),(a==null?void 0:a.header)!==void 0&&(o.header=r.createHeaderExpression(a.header)),(a==null?void 0:a.hl7terser)!==void 0&&(o.hl7terser=r.createHl7TerserExpression(a.hl7terser)),(a==null?void 0:a.joor)!==void 0&&(o.joor=r.createJoorExpression(a.joor)),(a==null?void 0:a.jq)!==void 0&&(o.jq=r.createJqExpression(a.jq)),(a==null?void 0:a.js)!==void 0&&(o.js=r.createJavaScriptExpression(a.js)),(a==null?void 0:a.jsonpath)!==void 0&&(o.jsonpath=r.createJsonPathExpression(a.jsonpath)),(a==null?void 0:a.language)!==void 0&&(o.language=r.createLanguageExpression(a.language)),(a==null?void 0:a.method)!==void 0&&(o.method=r.createMethodCallExpression(a.method)),(a==null?void 0:a.mvel)!==void 0&&(o.mvel=r.createMvelExpression(a.mvel)),(a==null?void 0:a.ognl)!==void 0&&(o.ognl=r.createOgnlExpression(a.ognl)),(a==null?void 0:a.python)!==void 0&&(o.python=r.createPythonExpression(a.python)),(a==null?void 0:a.ref)!==void 0&&(o.ref=r.createRefExpression(a.ref)),(a==null?void 0:a.simple)!==void 0&&(o.simple=r.createSimpleExpression(a.simple)),(a==null?void 0:a.spel)!==void 0&&(o.spel=r.createSpELExpression(a.spel)),(a==null?void 0:a.tokenize)!==void 0&&(o.tokenize=r.createTokenizerExpression(a.tokenize)),(a==null?void 0:a.xpath)!==void 0&&(o.xpath=r.createXPathExpression(a.xpath)),(a==null?void 0:a.xquery)!==void 0&&(o.xquery=r.createXQueryExpression(a.xquery)),(a==null?void 0:a.xtokenize)!==void 0&&(o.xtokenize=r.createXMLTokenizerExpression(a.xtokenize)),o},r.createFaultToleranceConfigurationDefinition=function(a){var o=a?new i.FaultToleranceConfigurationDefinition(t({},a)):new i.FaultToleranceConfigurationDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createFilterDefinition=function(a){var o=a?new i.FilterDefinition(t({},a)):new i.FilterDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createFinallyDefinition=function(a){var o=a?new i.FinallyDefinition(t({},a)):new i.FinallyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createFromDefinition=function(a){a&&typeof a=="string"&&(a={uri:a});var o=a?new i.FromDefinition(t({},a)):new i.FromDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createGlobalOptionDefinition=function(a){var o=a?new i.GlobalOptionDefinition(t({},a)):new i.GlobalOptionDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createGlobalOptionsDefinition=function(a){var o=a?new i.GlobalOptionsDefinition(t({},a)):new i.GlobalOptionsDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.globalOption=a&&(a!=null&&a.globalOption)?a==null?void 0:a.globalOption.map(function(l){return r.createGlobalOptionDefinition(l)}):[],o},r.createIdempotentConsumerDefinition=function(a){var o=a?new i.IdempotentConsumerDefinition(t({},a)):new i.IdempotentConsumerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createInOnlyDefinition=function(a){a&&typeof a=="string"&&(a={uri:a});var o=a?new i.InOnlyDefinition(t({},a)):new i.InOnlyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createInOutDefinition=function(a){a&&typeof a=="string"&&(a={uri:a});var o=a?new i.InOutDefinition(t({},a)):new i.InOutDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createInputTypeDefinition=function(a){var o=a?new i.InputTypeDefinition(t({},a)):new i.InputTypeDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createInterceptDefinition=function(a){var o=a?new i.InterceptDefinition(t({},a)):new i.InterceptDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createInterceptFromDefinition=function(a){var o=a?new i.InterceptFromDefinition(t({},a)):new i.InterceptFromDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createInterceptSendToEndpointDefinition=function(a){a&&typeof a=="string"&&(a={uri:a});var o=a?new i.InterceptSendToEndpointDefinition(t({},a)):new i.InterceptSendToEndpointDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createKameletDefinition=function(a){a&&typeof a=="string"&&(a={name:a});var o=a?new i.KameletDefinition(t({},a)):new i.KameletDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createLoadBalanceDefinition=function(a){var o=a?new i.LoadBalanceDefinition(t({},a)):new i.LoadBalanceDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.customLoadBalancer)!==void 0&&(o.customLoadBalancer=r.createCustomLoadBalancerDefinition(a.customLoadBalancer)),(a==null?void 0:a.failover)!==void 0&&(o.failover=r.createFailoverLoadBalancerDefinition(a.failover)),(a==null?void 0:a.random)!==void 0&&(o.random=r.createRandomLoadBalancerDefinition(a.random)),(a==null?void 0:a.roundRobin)!==void 0&&(o.roundRobin=r.createRoundRobinLoadBalancerDefinition(a.roundRobin)),o.steps=r.createSteps(a==null?void 0:a.steps),(a==null?void 0:a.sticky)!==void 0&&(o.sticky=r.createStickyLoadBalancerDefinition(a.sticky)),(a==null?void 0:a.topic)!==void 0&&(o.topic=r.createTopicLoadBalancerDefinition(a.topic)),(a==null?void 0:a.weighted)!==void 0&&(o.weighted=r.createWeightedLoadBalancerDefinition(a.weighted)),o},r.createLogDefinition=function(a){a&&typeof a=="string"&&(a={message:a});var o=a?new i.LogDefinition(t({},a)):new i.LogDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createLoopDefinition=function(a){var o=a?new i.LoopDefinition(t({},a)):new i.LoopDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createMarshalDefinition=function(a){var o=a?new i.MarshalDefinition(t({},a)):new i.MarshalDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.any23)!==void 0&&(o.any23=r.createAny23DataFormat(a.any23)),(a==null?void 0:a.asn1)!==void 0&&(o.asn1=r.createASN1DataFormat(a.asn1)),(a==null?void 0:a.avro)!==void 0&&(o.avro=r.createAvroDataFormat(a.avro)),(a==null?void 0:a.barcode)!==void 0&&(o.barcode=r.createBarcodeDataFormat(a.barcode)),(a==null?void 0:a.base64)!==void 0&&(o.base64=r.createBase64DataFormat(a.base64)),(a==null?void 0:a.bindy)!==void 0&&(o.bindy=r.createBindyDataFormat(a.bindy)),(a==null?void 0:a.cbor)!==void 0&&(o.cbor=r.createCBORDataFormat(a.cbor)),(a==null?void 0:a.crypto)!==void 0&&(o.crypto=r.createCryptoDataFormat(a.crypto)),(a==null?void 0:a.csv)!==void 0&&(o.csv=r.createCsvDataFormat(a.csv)),(a==null?void 0:a.custom)!==void 0&&(o.custom=r.createCustomDataFormat(a.custom)),(a==null?void 0:a.fhirJson)!==void 0&&(o.fhirJson=r.createFhirJsonDataFormat(a.fhirJson)),(a==null?void 0:a.fhirXml)!==void 0&&(o.fhirXml=r.createFhirXmlDataFormat(a.fhirXml)),(a==null?void 0:a.flatpack)!==void 0&&(o.flatpack=r.createFlatpackDataFormat(a.flatpack)),(a==null?void 0:a.grok)!==void 0&&(o.grok=r.createGrokDataFormat(a.grok)),(a==null?void 0:a.gzipDeflater)!==void 0&&(o.gzipDeflater=r.createGzipDeflaterDataFormat(a.gzipDeflater)),(a==null?void 0:a.hl7)!==void 0&&(o.hl7=r.createHL7DataFormat(a.hl7)),(a==null?void 0:a.ical)!==void 0&&(o.ical=r.createIcalDataFormat(a.ical)),(a==null?void 0:a.jacksonXml)!==void 0&&(o.jacksonXml=r.createJacksonXMLDataFormat(a.jacksonXml)),(a==null?void 0:a.jaxb)!==void 0&&(o.jaxb=r.createJaxbDataFormat(a.jaxb)),(a==null?void 0:a.json)!==void 0&&(o.json=r.createJsonDataFormat(a.json)),(a==null?void 0:a.jsonApi)!==void 0&&(o.jsonApi=r.createJsonApiDataFormat(a.jsonApi)),(a==null?void 0:a.lzf)!==void 0&&(o.lzf=r.createLZFDataFormat(a.lzf)),(a==null?void 0:a.mimeMultipart)!==void 0&&(o.mimeMultipart=r.createMimeMultipartDataFormat(a.mimeMultipart)),(a==null?void 0:a.pgp)!==void 0&&(o.pgp=r.createPGPDataFormat(a.pgp)),(a==null?void 0:a.protobuf)!==void 0&&(o.protobuf=r.createProtobufDataFormat(a.protobuf)),(a==null?void 0:a.rss)!==void 0&&(o.rss=r.createRssDataFormat(a.rss)),(a==null?void 0:a.soap)!==void 0&&(o.soap=r.createSoapDataFormat(a.soap)),(a==null?void 0:a.swiftMt)!==void 0&&(o.swiftMt=r.createSwiftMtDataFormat(a.swiftMt)),(a==null?void 0:a.swiftMx)!==void 0&&(o.swiftMx=r.createSwiftMxDataFormat(a.swiftMx)),(a==null?void 0:a.syslog)!==void 0&&(o.syslog=r.createSyslogDataFormat(a.syslog)),(a==null?void 0:a.tarFile)!==void 0&&(o.tarFile=r.createTarFileDataFormat(a.tarFile)),(a==null?void 0:a.thrift)!==void 0&&(o.thrift=r.createThriftDataFormat(a.thrift)),(a==null?void 0:a.tidyMarkup)!==void 0&&(o.tidyMarkup=r.createTidyMarkupDataFormat(a.tidyMarkup)),(a==null?void 0:a.univocityCsv)!==void 0&&(o.univocityCsv=r.createUniVocityCsvDataFormat(a.univocityCsv)),(a==null?void 0:a.univocityFixed)!==void 0&&(o.univocityFixed=r.createUniVocityFixedDataFormat(a.univocityFixed)),(a==null?void 0:a.univocityTsv)!==void 0&&(o.univocityTsv=r.createUniVocityTsvDataFormat(a.univocityTsv)),(a==null?void 0:a.xmlSecurity)!==void 0&&(o.xmlSecurity=r.createXMLSecurityDataFormat(a.xmlSecurity)),(a==null?void 0:a.xstream)!==void 0&&(o.xstream=r.createXStreamDataFormat(a.xstream)),(a==null?void 0:a.yaml)!==void 0&&(o.yaml=r.createYAMLDataFormat(a.yaml)),(a==null?void 0:a.zipDeflater)!==void 0&&(o.zipDeflater=r.createZipDeflaterDataFormat(a.zipDeflater)),(a==null?void 0:a.zipFile)!==void 0&&(o.zipFile=r.createZipFileDataFormat(a.zipFile)),o},r.createMulticastDefinition=function(a){var o=a?new i.MulticastDefinition(t({},a)):new i.MulticastDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createOnCompletionDefinition=function(a){var o=a?new i.OnCompletionDefinition(t({},a)):new i.OnCompletionDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.onWhen)!==void 0&&(o.onWhen=r.createWhenDefinition(a.onWhen)),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createOnExceptionDefinition=function(a){var o=a?new i.OnExceptionDefinition(t({},a)):new i.OnExceptionDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.continued)!==void 0&&(o.continued=r.createExpressionSubElementDefinition(a.continued)),(a==null?void 0:a.handled)!==void 0&&(o.handled=r.createExpressionSubElementDefinition(a.handled)),(a==null?void 0:a.onWhen)!==void 0&&(o.onWhen=r.createWhenDefinition(a.onWhen)),(a==null?void 0:a.redeliveryPolicy)!==void 0&&(o.redeliveryPolicy=r.createRedeliveryPolicyDefinition(a.redeliveryPolicy)),(a==null?void 0:a.retryWhile)!==void 0&&(o.retryWhile=r.createExpressionSubElementDefinition(a.retryWhile)),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createOnFallbackDefinition=function(a){var o=a?new i.OnFallbackDefinition(t({},a)):new i.OnFallbackDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createOptimisticLockRetryPolicyDefinition=function(a){var o=a?new i.OptimisticLockRetryPolicyDefinition(t({},a)):new i.OptimisticLockRetryPolicyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createOtherwiseDefinition=function(a){var o=a?new i.OtherwiseDefinition(t({},a)):new i.OtherwiseDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createOutputDefinition=function(a){var o=a?new i.OutputDefinition(t({},a)):new i.OutputDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createOutputTypeDefinition=function(a){var o=a?new i.OutputTypeDefinition(t({},a)):new i.OutputTypeDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createPackageScanDefinition=function(a){var o=a?new i.PackageScanDefinition(t({},a)):new i.PackageScanDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createPausableDefinition=function(a){var o=a?new i.PausableDefinition(t({},a)):new i.PausableDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createPipelineDefinition=function(a){var o=a?new i.PipelineDefinition(t({},a)):new i.PipelineDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createPolicyDefinition=function(a){var o=a?new i.PolicyDefinition(t({},a)):new i.PolicyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createPollEnrichDefinition=function(a){var o=a?new i.PollEnrichDefinition(t({},a)):new i.PollEnrichDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createProcessDefinition=function(a){var o=a?new i.ProcessDefinition(t({},a)):new i.ProcessDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createPropertyDefinition=function(a){var o=a?new i.PropertyDefinition(t({},a)):new i.PropertyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createPropertyExpressionDefinition=function(a){var o=a?new i.PropertyExpressionDefinition(t({},a)):new i.PropertyExpressionDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createRecipientListDefinition=function(a){var o=a?new i.RecipientListDefinition(t({},a)):new i.RecipientListDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createRedeliveryPolicyDefinition=function(a){var o=a?new i.RedeliveryPolicyDefinition(t({},a)):new i.RedeliveryPolicyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRemoveHeaderDefinition=function(a){a&&typeof a=="string"&&(a={name:a});var o=a?new i.RemoveHeaderDefinition(t({},a)):new i.RemoveHeaderDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRemoveHeadersDefinition=function(a){a&&typeof a=="string"&&(a={pattern:a});var o=a?new i.RemoveHeadersDefinition(t({},a)):new i.RemoveHeadersDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRemovePropertiesDefinition=function(a){a&&typeof a=="string"&&(a={pattern:a});var o=a?new i.RemovePropertiesDefinition(t({},a)):new i.RemovePropertiesDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRemovePropertyDefinition=function(a){a&&typeof a=="string"&&(a={name:a});var o=a?new i.RemovePropertyDefinition(t({},a)):new i.RemovePropertyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createResequenceDefinition=function(a){var o=a?new i.ResequenceDefinition(t({},a)):new i.ResequenceDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.batchConfig)!==void 0&&(o.batchConfig=r.createBatchResequencerConfig(a.batchConfig)),o.expression=r.createExpressionDefinition(a.expression),o.steps=r.createSteps(a==null?void 0:a.steps),(a==null?void 0:a.streamConfig)!==void 0&&(o.streamConfig=r.createStreamResequencerConfig(a.streamConfig)),o},r.createResilience4jConfigurationDefinition=function(a){var o=a?new i.Resilience4jConfigurationDefinition(t({},a)):new i.Resilience4jConfigurationDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRestContextRefDefinition=function(a){a&&typeof a=="string"&&(a={ref:a});var o=a?new i.RestContextRefDefinition(t({},a)):new i.RestContextRefDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createResumableDefinition=function(a){var o=a?new i.ResumableDefinition(t({},a)):new i.ResumableDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRollbackDefinition=function(a){var o=a?new i.RollbackDefinition(t({},a)):new i.RollbackDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRouteBuilderDefinition=function(a){a&&typeof a=="string"&&(a={ref:a});var o=a?new i.RouteBuilderDefinition(t({},a)):new i.RouteBuilderDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRouteConfigurationContextRefDefinition=function(a){a&&typeof a=="string"&&(a={ref:a});var o=a?new i.RouteConfigurationContextRefDefinition(t({},a)):new i.RouteConfigurationContextRefDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRouteConfigurationDefinition=function(a){var o=a?new i.RouteConfigurationDefinition(t({},a)):new i.RouteConfigurationDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.errorHandler)!==void 0&&(o.errorHandler=r.createErrorHandlerDefinition(a.errorHandler)),o.intercept=a&&(a!=null&&a.intercept)?a==null?void 0:a.intercept.map(function(l){return r.createInterceptDefinition(l)}):[],o.interceptFrom=a&&(a!=null&&a.interceptFrom)?a==null?void 0:a.interceptFrom.map(function(l){return r.createInterceptFromDefinition(l)}):[],o.interceptSendToEndpoint=a&&(a!=null&&a.interceptSendToEndpoint)?a==null?void 0:a.interceptSendToEndpoint.map(function(l){return r.createInterceptSendToEndpointDefinition(l)}):[],o.onCompletion=a&&(a!=null&&a.onCompletion)?a==null?void 0:a.onCompletion.map(function(l){return r.createOnCompletionDefinition(l)}):[],o.onException=a&&(a!=null&&a.onException)?a==null?void 0:a.onException.map(function(l){return r.createOnExceptionDefinition(l)}):[],o},r.createRouteContextRefDefinition=function(a){a&&typeof a=="string"&&(a={ref:a});var o=a?new i.RouteContextRefDefinition(t({},a)):new i.RouteContextRefDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRouteDefinition=function(a){var o=a?new i.RouteDefinition(t({},a)):new i.RouteDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.from)!==void 0&&(o.from=r.createFromDefinition(a.from)),o},r.createRouteTemplateBeanDefinition=function(a){var o=a?new i.RouteTemplateBeanDefinition(t({},a)):new i.RouteTemplateBeanDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.property=a&&(a!=null&&a.property)?a==null?void 0:a.property.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createRouteTemplateDefinition=function(a){var o=a?new i.RouteTemplateDefinition(t({},a)):new i.RouteTemplateDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.beans=a&&(a!=null&&a.beans)?a==null?void 0:a.beans.map(function(l){return r.createRouteTemplateBeanDefinition(l)}):[],(a==null?void 0:a.from)!==void 0&&(o.from=r.createFromDefinition(a.from)),o.parameters=a&&(a!=null&&a.parameters)?a==null?void 0:a.parameters.map(function(l){return r.createRouteTemplateParameterDefinition(l)}):[],(a==null?void 0:a.route)!==void 0&&(o.route=r.createRouteDefinition(a.route)),o},r.createRouteTemplateParameterDefinition=function(a){var o=a?new i.RouteTemplateParameterDefinition(t({},a)):new i.RouteTemplateParameterDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRoutingSlipDefinition=function(a){var o=a?new i.RoutingSlipDefinition(t({},a)):new i.RoutingSlipDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createSagaActionUriDefinition=function(a){a&&typeof a=="string"&&(a={uri:a});var o=a?new i.SagaActionUriDefinition(t({},a)):new i.SagaActionUriDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createSagaDefinition=function(a){var o=a?new i.SagaDefinition(t({},a)):new i.SagaDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.option=a&&(a!=null&&a.option)?a==null?void 0:a.option.map(function(l){return r.createPropertyExpressionDefinition(l)}):[],o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createSamplingDefinition=function(a){var o=a?new i.SamplingDefinition(t({},a)):new i.SamplingDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createScriptDefinition=function(a){var o=a?new i.ScriptDefinition(t({},a)):new i.ScriptDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createSetBodyDefinition=function(a){var o=a?new i.SetBodyDefinition(t({},a)):new i.SetBodyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createSetExchangePatternDefinition=function(a){a&&typeof a=="string"&&(a={pattern:a});var o=a?new i.SetExchangePatternDefinition(t({},a)):new i.SetExchangePatternDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createSetHeaderDefinition=function(a){var o=a?new i.SetHeaderDefinition(t({},a)):new i.SetHeaderDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createSetPropertyDefinition=function(a){var o=a?new i.SetPropertyDefinition(t({},a)):new i.SetPropertyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createSortDefinition=function(a){var o=a?new i.SortDefinition(t({},a)):new i.SortDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createSplitDefinition=function(a){var o=a?new i.SplitDefinition(t({},a)):new i.SplitDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createStepDefinition=function(a){var o=a?new i.StepDefinition(t({},a)):new i.StepDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createStopDefinition=function(a){var o=a?new i.StopDefinition(t({},a)):new i.StopDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createTemplatedRouteBeanDefinition=function(a){var o=a?new i.TemplatedRouteBeanDefinition(t({},a)):new i.TemplatedRouteBeanDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.property=a&&(a!=null&&a.property)?a==null?void 0:a.property.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createTemplatedRouteDefinition=function(a){var o=a?new i.TemplatedRouteDefinition(t({},a)):new i.TemplatedRouteDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.beans=a&&(a!=null&&a.beans)?a==null?void 0:a.beans.map(function(l){return r.createTemplatedRouteBeanDefinition(l)}):[],o.parameters=a&&(a!=null&&a.parameters)?a==null?void 0:a.parameters.map(function(l){return r.createTemplatedRouteParameterDefinition(l)}):[],o},r.createTemplatedRouteParameterDefinition=function(a){var o=a?new i.TemplatedRouteParameterDefinition(t({},a)):new i.TemplatedRouteParameterDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createThreadPoolProfileDefinition=function(a){var o=a?new i.ThreadPoolProfileDefinition(t({},a)):new i.ThreadPoolProfileDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createThreadsDefinition=function(a){var o=a?new i.ThreadsDefinition(t({},a)):new i.ThreadsDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createThrottleDefinition=function(a){var o=a?new i.ThrottleDefinition(t({},a)):new i.ThrottleDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.correlationExpression)!==void 0&&(o.correlationExpression=r.createExpressionSubElementDefinition(a.correlationExpression)),o.expression=r.createExpressionDefinition(a.expression),o},r.createThrowExceptionDefinition=function(a){var o=a?new i.ThrowExceptionDefinition(t({},a)):new i.ThrowExceptionDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createToDefinition=function(a){a&&typeof a=="string"&&(a={uri:a});var o=a?new i.ToDefinition(t({},a)):new i.ToDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createToDynamicDefinition=function(a){a&&typeof a=="string"&&(a={uri:a});var o=a?new i.ToDynamicDefinition(t({},a)):new i.ToDynamicDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createTransactedDefinition=function(a){var o=a?new i.TransactedDefinition(t({},a)):new i.TransactedDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createTransformDefinition=function(a){var o=a?new i.TransformDefinition(t({},a)):new i.TransformDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createTryDefinition=function(a){var o=a?new i.TryDefinition(t({},a)):new i.TryDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.doCatch=a&&(a!=null&&a.doCatch)?a==null?void 0:a.doCatch.map(function(l){return r.createCatchDefinition(l)}):[],(a==null?void 0:a.doFinally)!==void 0&&(o.doFinally=r.createFinallyDefinition(a.doFinally)),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createUnmarshalDefinition=function(a){var o=a?new i.UnmarshalDefinition(t({},a)):new i.UnmarshalDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.any23)!==void 0&&(o.any23=r.createAny23DataFormat(a.any23)),(a==null?void 0:a.asn1)!==void 0&&(o.asn1=r.createASN1DataFormat(a.asn1)),(a==null?void 0:a.avro)!==void 0&&(o.avro=r.createAvroDataFormat(a.avro)),(a==null?void 0:a.barcode)!==void 0&&(o.barcode=r.createBarcodeDataFormat(a.barcode)),(a==null?void 0:a.base64)!==void 0&&(o.base64=r.createBase64DataFormat(a.base64)),(a==null?void 0:a.bindy)!==void 0&&(o.bindy=r.createBindyDataFormat(a.bindy)),(a==null?void 0:a.cbor)!==void 0&&(o.cbor=r.createCBORDataFormat(a.cbor)),(a==null?void 0:a.crypto)!==void 0&&(o.crypto=r.createCryptoDataFormat(a.crypto)),(a==null?void 0:a.csv)!==void 0&&(o.csv=r.createCsvDataFormat(a.csv)),(a==null?void 0:a.custom)!==void 0&&(o.custom=r.createCustomDataFormat(a.custom)),(a==null?void 0:a.fhirJson)!==void 0&&(o.fhirJson=r.createFhirJsonDataFormat(a.fhirJson)),(a==null?void 0:a.fhirXml)!==void 0&&(o.fhirXml=r.createFhirXmlDataFormat(a.fhirXml)),(a==null?void 0:a.flatpack)!==void 0&&(o.flatpack=r.createFlatpackDataFormat(a.flatpack)),(a==null?void 0:a.grok)!==void 0&&(o.grok=r.createGrokDataFormat(a.grok)),(a==null?void 0:a.gzipDeflater)!==void 0&&(o.gzipDeflater=r.createGzipDeflaterDataFormat(a.gzipDeflater)),(a==null?void 0:a.hl7)!==void 0&&(o.hl7=r.createHL7DataFormat(a.hl7)),(a==null?void 0:a.ical)!==void 0&&(o.ical=r.createIcalDataFormat(a.ical)),(a==null?void 0:a.jacksonXml)!==void 0&&(o.jacksonXml=r.createJacksonXMLDataFormat(a.jacksonXml)),(a==null?void 0:a.jaxb)!==void 0&&(o.jaxb=r.createJaxbDataFormat(a.jaxb)),(a==null?void 0:a.json)!==void 0&&(o.json=r.createJsonDataFormat(a.json)),(a==null?void 0:a.jsonApi)!==void 0&&(o.jsonApi=r.createJsonApiDataFormat(a.jsonApi)),(a==null?void 0:a.lzf)!==void 0&&(o.lzf=r.createLZFDataFormat(a.lzf)),(a==null?void 0:a.mimeMultipart)!==void 0&&(o.mimeMultipart=r.createMimeMultipartDataFormat(a.mimeMultipart)),(a==null?void 0:a.pgp)!==void 0&&(o.pgp=r.createPGPDataFormat(a.pgp)),(a==null?void 0:a.protobuf)!==void 0&&(o.protobuf=r.createProtobufDataFormat(a.protobuf)),(a==null?void 0:a.rss)!==void 0&&(o.rss=r.createRssDataFormat(a.rss)),(a==null?void 0:a.soap)!==void 0&&(o.soap=r.createSoapDataFormat(a.soap)),(a==null?void 0:a.swiftMt)!==void 0&&(o.swiftMt=r.createSwiftMtDataFormat(a.swiftMt)),(a==null?void 0:a.swiftMx)!==void 0&&(o.swiftMx=r.createSwiftMxDataFormat(a.swiftMx)),(a==null?void 0:a.syslog)!==void 0&&(o.syslog=r.createSyslogDataFormat(a.syslog)),(a==null?void 0:a.tarFile)!==void 0&&(o.tarFile=r.createTarFileDataFormat(a.tarFile)),(a==null?void 0:a.thrift)!==void 0&&(o.thrift=r.createThriftDataFormat(a.thrift)),(a==null?void 0:a.tidyMarkup)!==void 0&&(o.tidyMarkup=r.createTidyMarkupDataFormat(a.tidyMarkup)),(a==null?void 0:a.univocityCsv)!==void 0&&(o.univocityCsv=r.createUniVocityCsvDataFormat(a.univocityCsv)),(a==null?void 0:a.univocityFixed)!==void 0&&(o.univocityFixed=r.createUniVocityFixedDataFormat(a.univocityFixed)),(a==null?void 0:a.univocityTsv)!==void 0&&(o.univocityTsv=r.createUniVocityTsvDataFormat(a.univocityTsv)),(a==null?void 0:a.xmlSecurity)!==void 0&&(o.xmlSecurity=r.createXMLSecurityDataFormat(a.xmlSecurity)),(a==null?void 0:a.xstream)!==void 0&&(o.xstream=r.createXStreamDataFormat(a.xstream)),(a==null?void 0:a.yaml)!==void 0&&(o.yaml=r.createYAMLDataFormat(a.yaml)),(a==null?void 0:a.zipDeflater)!==void 0&&(o.zipDeflater=r.createZipDeflaterDataFormat(a.zipDeflater)),(a==null?void 0:a.zipFile)!==void 0&&(o.zipFile=r.createZipFileDataFormat(a.zipFile)),o},r.createValidateDefinition=function(a){var o=a?new i.ValidateDefinition(t({},a)):new i.ValidateDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createValueDefinition=function(a){var o=a?new i.ValueDefinition(t({},a)):new i.ValueDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createWhenDefinition=function(a){var o=a?new i.WhenDefinition(t({},a)):new i.WhenDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createWhenSkipSendToEndpointDefinition=function(a){var o=a?new i.WhenSkipSendToEndpointDefinition(t({},a)):new i.WhenSkipSendToEndpointDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o.steps=r.createSteps(a==null?void 0:a.steps),o},r.createWireTapDefinition=function(a){var o=a?new i.WireTapDefinition(t({},a)):new i.WireTapDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createBlacklistServiceCallServiceFilterConfiguration=function(a){var o=a?new i.BlacklistServiceCallServiceFilterConfiguration(t({},a)):new i.BlacklistServiceCallServiceFilterConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createCachingServiceCallServiceDiscoveryConfiguration=function(a){var o=a?new i.CachingServiceCallServiceDiscoveryConfiguration(t({},a)):new i.CachingServiceCallServiceDiscoveryConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.combinedServiceDiscovery)!==void 0&&(o.combinedServiceDiscovery=r.createCombinedServiceCallServiceDiscoveryConfiguration(a.combinedServiceDiscovery)),(a==null?void 0:a.consulServiceDiscovery)!==void 0&&(o.consulServiceDiscovery=r.createConsulServiceCallServiceDiscoveryConfiguration(a.consulServiceDiscovery)),(a==null?void 0:a.dnsServiceDiscovery)!==void 0&&(o.dnsServiceDiscovery=r.createDnsServiceCallServiceDiscoveryConfiguration(a.dnsServiceDiscovery)),(a==null?void 0:a.kubernetesServiceDiscovery)!==void 0&&(o.kubernetesServiceDiscovery=r.createKubernetesServiceCallServiceDiscoveryConfiguration(a.kubernetesServiceDiscovery)),o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],(a==null?void 0:a.staticServiceDiscovery)!==void 0&&(o.staticServiceDiscovery=r.createStaticServiceCallServiceDiscoveryConfiguration(a.staticServiceDiscovery)),o},r.createCombinedServiceCallServiceDiscoveryConfiguration=function(a){var o=a?new i.CombinedServiceCallServiceDiscoveryConfiguration(t({},a)):new i.CombinedServiceCallServiceDiscoveryConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.cachingServiceDiscovery)!==void 0&&(o.cachingServiceDiscovery=r.createCachingServiceCallServiceDiscoveryConfiguration(a.cachingServiceDiscovery)),(a==null?void 0:a.consulServiceDiscovery)!==void 0&&(o.consulServiceDiscovery=r.createConsulServiceCallServiceDiscoveryConfiguration(a.consulServiceDiscovery)),(a==null?void 0:a.dnsServiceDiscovery)!==void 0&&(o.dnsServiceDiscovery=r.createDnsServiceCallServiceDiscoveryConfiguration(a.dnsServiceDiscovery)),(a==null?void 0:a.kubernetesServiceDiscovery)!==void 0&&(o.kubernetesServiceDiscovery=r.createKubernetesServiceCallServiceDiscoveryConfiguration(a.kubernetesServiceDiscovery)),o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],(a==null?void 0:a.staticServiceDiscovery)!==void 0&&(o.staticServiceDiscovery=r.createStaticServiceCallServiceDiscoveryConfiguration(a.staticServiceDiscovery)),o},r.createCombinedServiceCallServiceFilterConfiguration=function(a){var o=a?new i.CombinedServiceCallServiceFilterConfiguration(t({},a)):new i.CombinedServiceCallServiceFilterConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.blacklistServiceFilter)!==void 0&&(o.blacklistServiceFilter=r.createBlacklistServiceCallServiceFilterConfiguration(a.blacklistServiceFilter)),(a==null?void 0:a.customServiceFilter)!==void 0&&(o.customServiceFilter=r.createCustomServiceCallServiceFilterConfiguration(a.customServiceFilter)),(a==null?void 0:a.healthyServiceFilter)!==void 0&&(o.healthyServiceFilter=r.createHealthyServiceCallServiceFilterConfiguration(a.healthyServiceFilter)),(a==null?void 0:a.passThroughServiceFilter)!==void 0&&(o.passThroughServiceFilter=r.createPassThroughServiceCallServiceFilterConfiguration(a.passThroughServiceFilter)),o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createConsulServiceCallServiceDiscoveryConfiguration=function(a){var o=a?new i.ConsulServiceCallServiceDiscoveryConfiguration(t({},a)):new i.ConsulServiceCallServiceDiscoveryConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createCustomServiceCallServiceFilterConfiguration=function(a){var o=a?new i.CustomServiceCallServiceFilterConfiguration(t({},a)):new i.CustomServiceCallServiceFilterConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createDefaultServiceCallServiceLoadBalancerConfiguration=function(a){var o=a?new i.DefaultServiceCallServiceLoadBalancerConfiguration(t({},a)):new i.DefaultServiceCallServiceLoadBalancerConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createDnsServiceCallServiceDiscoveryConfiguration=function(a){var o=a?new i.DnsServiceCallServiceDiscoveryConfiguration(t({},a)):new i.DnsServiceCallServiceDiscoveryConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createHealthyServiceCallServiceFilterConfiguration=function(a){var o=a?new i.HealthyServiceCallServiceFilterConfiguration(t({},a)):new i.HealthyServiceCallServiceFilterConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createKubernetesServiceCallServiceDiscoveryConfiguration=function(a){var o=a?new i.KubernetesServiceCallServiceDiscoveryConfiguration(t({},a)):new i.KubernetesServiceCallServiceDiscoveryConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createPassThroughServiceCallServiceFilterConfiguration=function(a){var o=a?new i.PassThroughServiceCallServiceFilterConfiguration(t({},a)):new i.PassThroughServiceCallServiceFilterConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createServiceCallConfigurationDefinition=function(a){var o=a?new i.ServiceCallConfigurationDefinition(t({},a)):new i.ServiceCallConfigurationDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.blacklistServiceFilter)!==void 0&&(o.blacklistServiceFilter=r.createBlacklistServiceCallServiceFilterConfiguration(a.blacklistServiceFilter)),(a==null?void 0:a.cachingServiceDiscovery)!==void 0&&(o.cachingServiceDiscovery=r.createCachingServiceCallServiceDiscoveryConfiguration(a.cachingServiceDiscovery)),(a==null?void 0:a.combinedServiceDiscovery)!==void 0&&(o.combinedServiceDiscovery=r.createCombinedServiceCallServiceDiscoveryConfiguration(a.combinedServiceDiscovery)),(a==null?void 0:a.combinedServiceFilter)!==void 0&&(o.combinedServiceFilter=r.createCombinedServiceCallServiceFilterConfiguration(a.combinedServiceFilter)),(a==null?void 0:a.consulServiceDiscovery)!==void 0&&(o.consulServiceDiscovery=r.createConsulServiceCallServiceDiscoveryConfiguration(a.consulServiceDiscovery)),(a==null?void 0:a.customServiceFilter)!==void 0&&(o.customServiceFilter=r.createCustomServiceCallServiceFilterConfiguration(a.customServiceFilter)),(a==null?void 0:a.defaultLoadBalancer)!==void 0&&(o.defaultLoadBalancer=r.createDefaultServiceCallServiceLoadBalancerConfiguration(a.defaultLoadBalancer)),(a==null?void 0:a.dnsServiceDiscovery)!==void 0&&(o.dnsServiceDiscovery=r.createDnsServiceCallServiceDiscoveryConfiguration(a.dnsServiceDiscovery)),(a==null?void 0:a.expression)!==void 0&&(o.expression=r.createServiceCallExpressionConfiguration(a.expression)),(a==null?void 0:a.healthyServiceFilter)!==void 0&&(o.healthyServiceFilter=r.createHealthyServiceCallServiceFilterConfiguration(a.healthyServiceFilter)),(a==null?void 0:a.kubernetesServiceDiscovery)!==void 0&&(o.kubernetesServiceDiscovery=r.createKubernetesServiceCallServiceDiscoveryConfiguration(a.kubernetesServiceDiscovery)),(a==null?void 0:a.passThroughServiceFilter)!==void 0&&(o.passThroughServiceFilter=r.createPassThroughServiceCallServiceFilterConfiguration(a.passThroughServiceFilter)),(a==null?void 0:a.staticServiceDiscovery)!==void 0&&(o.staticServiceDiscovery=r.createStaticServiceCallServiceDiscoveryConfiguration(a.staticServiceDiscovery)),(a==null?void 0:a.zookeeperServiceDiscovery)!==void 0&&(o.zookeeperServiceDiscovery=r.createZooKeeperServiceCallServiceDiscoveryConfiguration(a.zookeeperServiceDiscovery)),o},r.createServiceCallDefinition=function(a){a&&typeof a=="string"&&(a={name:a});var o=a?new i.ServiceCallDefinition(t({},a)):new i.ServiceCallDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.blacklistServiceFilter)!==void 0&&(o.blacklistServiceFilter=r.createBlacklistServiceCallServiceFilterConfiguration(a.blacklistServiceFilter)),(a==null?void 0:a.cachingServiceDiscovery)!==void 0&&(o.cachingServiceDiscovery=r.createCachingServiceCallServiceDiscoveryConfiguration(a.cachingServiceDiscovery)),(a==null?void 0:a.combinedServiceDiscovery)!==void 0&&(o.combinedServiceDiscovery=r.createCombinedServiceCallServiceDiscoveryConfiguration(a.combinedServiceDiscovery)),(a==null?void 0:a.combinedServiceFilter)!==void 0&&(o.combinedServiceFilter=r.createCombinedServiceCallServiceFilterConfiguration(a.combinedServiceFilter)),(a==null?void 0:a.consulServiceDiscovery)!==void 0&&(o.consulServiceDiscovery=r.createConsulServiceCallServiceDiscoveryConfiguration(a.consulServiceDiscovery)),(a==null?void 0:a.customServiceFilter)!==void 0&&(o.customServiceFilter=r.createCustomServiceCallServiceFilterConfiguration(a.customServiceFilter)),(a==null?void 0:a.defaultLoadBalancer)!==void 0&&(o.defaultLoadBalancer=r.createDefaultServiceCallServiceLoadBalancerConfiguration(a.defaultLoadBalancer)),(a==null?void 0:a.dnsServiceDiscovery)!==void 0&&(o.dnsServiceDiscovery=r.createDnsServiceCallServiceDiscoveryConfiguration(a.dnsServiceDiscovery)),(a==null?void 0:a.expression)!==void 0&&(o.expression=r.createServiceCallExpressionConfiguration(a.expression)),(a==null?void 0:a.healthyServiceFilter)!==void 0&&(o.healthyServiceFilter=r.createHealthyServiceCallServiceFilterConfiguration(a.healthyServiceFilter)),(a==null?void 0:a.kubernetesServiceDiscovery)!==void 0&&(o.kubernetesServiceDiscovery=r.createKubernetesServiceCallServiceDiscoveryConfiguration(a.kubernetesServiceDiscovery)),(a==null?void 0:a.passThroughServiceFilter)!==void 0&&(o.passThroughServiceFilter=r.createPassThroughServiceCallServiceFilterConfiguration(a.passThroughServiceFilter)),(a==null?void 0:a.staticServiceDiscovery)!==void 0&&(o.staticServiceDiscovery=r.createStaticServiceCallServiceDiscoveryConfiguration(a.staticServiceDiscovery)),(a==null?void 0:a.zookeeperServiceDiscovery)!==void 0&&(o.zookeeperServiceDiscovery=r.createZooKeeperServiceCallServiceDiscoveryConfiguration(a.zookeeperServiceDiscovery)),o},r.createServiceCallExpressionConfiguration=function(a){var o=a?new i.ServiceCallExpressionConfiguration(t({},a)):new i.ServiceCallExpressionConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expressionType=r.createExpressionDefinition(a.expressionType),o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createServiceCallServiceChooserConfiguration=function(a){var o=a?new i.ServiceCallServiceChooserConfiguration(t({},a)):new i.ServiceCallServiceChooserConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createServiceCallServiceDiscoveryConfiguration=function(a){var o=a?new i.ServiceCallServiceDiscoveryConfiguration(t({},a)):new i.ServiceCallServiceDiscoveryConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createServiceCallServiceFilterConfiguration=function(a){var o=a?new i.ServiceCallServiceFilterConfiguration(t({},a)):new i.ServiceCallServiceFilterConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createServiceCallServiceLoadBalancerConfiguration=function(a){var o=a?new i.ServiceCallServiceLoadBalancerConfiguration(t({},a)):new i.ServiceCallServiceLoadBalancerConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createStaticServiceCallServiceDiscoveryConfiguration=function(a){var o=a?new i.StaticServiceCallServiceDiscoveryConfiguration(t({},a)):new i.StaticServiceCallServiceDiscoveryConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createZooKeeperServiceCallServiceDiscoveryConfiguration=function(a){var o=a?new i.ZooKeeperServiceCallServiceDiscoveryConfiguration(t({},a)):new i.ZooKeeperServiceCallServiceDiscoveryConfiguration;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.properties=a&&(a!=null&&a.properties)?a==null?void 0:a.properties.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createBatchResequencerConfig=function(a){var o=a?new i.BatchResequencerConfig(t({},a)):new i.BatchResequencerConfig;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createStreamResequencerConfig=function(a){var o=a?new i.StreamResequencerConfig(t({},a)):new i.StreamResequencerConfig;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createASN1DataFormat=function(a){var o=a?new i.ASN1DataFormat(t({},a)):new i.ASN1DataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createAny23DataFormat=function(a){var o=a?new i.Any23DataFormat(t({},a)):new i.Any23DataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.configuration=a&&(a!=null&&a.configuration)?a==null?void 0:a.configuration.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createAvroDataFormat=function(a){var o=a?new i.AvroDataFormat(t({},a)):new i.AvroDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createBarcodeDataFormat=function(a){var o=a?new i.BarcodeDataFormat(t({},a)):new i.BarcodeDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createBase64DataFormat=function(a){var o=a?new i.Base64DataFormat(t({},a)):new i.Base64DataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createBindyDataFormat=function(a){var o=a?new i.BindyDataFormat(t({},a)):new i.BindyDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createCBORDataFormat=function(a){var o=a?new i.CBORDataFormat(t({},a)):new i.CBORDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createCryptoDataFormat=function(a){var o=a?new i.CryptoDataFormat(t({},a)):new i.CryptoDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createCsvDataFormat=function(a){var o=a?new i.CsvDataFormat(t({},a)):new i.CsvDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createCustomDataFormat=function(a){a&&typeof a=="string"&&(a={ref:a});var o=a?new i.CustomDataFormat(t({},a)):new i.CustomDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createDataFormatsDefinition=function(a){var o=a?new i.DataFormatsDefinition(t({},a)):new i.DataFormatsDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.any23)!==void 0&&(o.any23=r.createAny23DataFormat(a.any23)),(a==null?void 0:a.asn1)!==void 0&&(o.asn1=r.createASN1DataFormat(a.asn1)),(a==null?void 0:a.avro)!==void 0&&(o.avro=r.createAvroDataFormat(a.avro)),(a==null?void 0:a.barcode)!==void 0&&(o.barcode=r.createBarcodeDataFormat(a.barcode)),(a==null?void 0:a.base64)!==void 0&&(o.base64=r.createBase64DataFormat(a.base64)),(a==null?void 0:a.bindy)!==void 0&&(o.bindy=r.createBindyDataFormat(a.bindy)),(a==null?void 0:a.cbor)!==void 0&&(o.cbor=r.createCBORDataFormat(a.cbor)),(a==null?void 0:a.crypto)!==void 0&&(o.crypto=r.createCryptoDataFormat(a.crypto)),(a==null?void 0:a.csv)!==void 0&&(o.csv=r.createCsvDataFormat(a.csv)),(a==null?void 0:a.custom)!==void 0&&(o.custom=r.createCustomDataFormat(a.custom)),(a==null?void 0:a.fhirJson)!==void 0&&(o.fhirJson=r.createFhirJsonDataFormat(a.fhirJson)),(a==null?void 0:a.fhirXml)!==void 0&&(o.fhirXml=r.createFhirXmlDataFormat(a.fhirXml)),(a==null?void 0:a.flatpack)!==void 0&&(o.flatpack=r.createFlatpackDataFormat(a.flatpack)),(a==null?void 0:a.grok)!==void 0&&(o.grok=r.createGrokDataFormat(a.grok)),(a==null?void 0:a.gzipDeflater)!==void 0&&(o.gzipDeflater=r.createGzipDeflaterDataFormat(a.gzipDeflater)),(a==null?void 0:a.hl7)!==void 0&&(o.hl7=r.createHL7DataFormat(a.hl7)),(a==null?void 0:a.ical)!==void 0&&(o.ical=r.createIcalDataFormat(a.ical)),(a==null?void 0:a.jacksonXml)!==void 0&&(o.jacksonXml=r.createJacksonXMLDataFormat(a.jacksonXml)),(a==null?void 0:a.jaxb)!==void 0&&(o.jaxb=r.createJaxbDataFormat(a.jaxb)),(a==null?void 0:a.json)!==void 0&&(o.json=r.createJsonDataFormat(a.json)),(a==null?void 0:a.jsonApi)!==void 0&&(o.jsonApi=r.createJsonApiDataFormat(a.jsonApi)),(a==null?void 0:a.lzf)!==void 0&&(o.lzf=r.createLZFDataFormat(a.lzf)),(a==null?void 0:a.mimeMultipart)!==void 0&&(o.mimeMultipart=r.createMimeMultipartDataFormat(a.mimeMultipart)),(a==null?void 0:a.pgp)!==void 0&&(o.pgp=r.createPGPDataFormat(a.pgp)),(a==null?void 0:a.protobuf)!==void 0&&(o.protobuf=r.createProtobufDataFormat(a.protobuf)),(a==null?void 0:a.rss)!==void 0&&(o.rss=r.createRssDataFormat(a.rss)),(a==null?void 0:a.soap)!==void 0&&(o.soap=r.createSoapDataFormat(a.soap)),(a==null?void 0:a.swiftMt)!==void 0&&(o.swiftMt=r.createSwiftMtDataFormat(a.swiftMt)),(a==null?void 0:a.swiftMx)!==void 0&&(o.swiftMx=r.createSwiftMxDataFormat(a.swiftMx)),(a==null?void 0:a.syslog)!==void 0&&(o.syslog=r.createSyslogDataFormat(a.syslog)),(a==null?void 0:a.tarFile)!==void 0&&(o.tarFile=r.createTarFileDataFormat(a.tarFile)),(a==null?void 0:a.thrift)!==void 0&&(o.thrift=r.createThriftDataFormat(a.thrift)),(a==null?void 0:a.tidyMarkup)!==void 0&&(o.tidyMarkup=r.createTidyMarkupDataFormat(a.tidyMarkup)),(a==null?void 0:a.univocityCsv)!==void 0&&(o.univocityCsv=r.createUniVocityCsvDataFormat(a.univocityCsv)),(a==null?void 0:a.univocityFixed)!==void 0&&(o.univocityFixed=r.createUniVocityFixedDataFormat(a.univocityFixed)),(a==null?void 0:a.univocityTsv)!==void 0&&(o.univocityTsv=r.createUniVocityTsvDataFormat(a.univocityTsv)),(a==null?void 0:a.xmlSecurity)!==void 0&&(o.xmlSecurity=r.createXMLSecurityDataFormat(a.xmlSecurity)),(a==null?void 0:a.xstream)!==void 0&&(o.xstream=r.createXStreamDataFormat(a.xstream)),(a==null?void 0:a.yaml)!==void 0&&(o.yaml=r.createYAMLDataFormat(a.yaml)),(a==null?void 0:a.zipDeflater)!==void 0&&(o.zipDeflater=r.createZipDeflaterDataFormat(a.zipDeflater)),(a==null?void 0:a.zipFile)!==void 0&&(o.zipFile=r.createZipFileDataFormat(a.zipFile)),o},r.createFhirJsonDataFormat=function(a){var o=a?new i.FhirJsonDataFormat(t({},a)):new i.FhirJsonDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createFhirXmlDataFormat=function(a){var o=a?new i.FhirXmlDataFormat(t({},a)):new i.FhirXmlDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createFlatpackDataFormat=function(a){var o=a?new i.FlatpackDataFormat(t({},a)):new i.FlatpackDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createGrokDataFormat=function(a){var o=a?new i.GrokDataFormat(t({},a)):new i.GrokDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createGzipDeflaterDataFormat=function(a){var o=a?new i.GzipDeflaterDataFormat(t({},a)):new i.GzipDeflaterDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createHL7DataFormat=function(a){var o=a?new i.HL7DataFormat(t({},a)):new i.HL7DataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createIcalDataFormat=function(a){var o=a?new i.IcalDataFormat(t({},a)):new i.IcalDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createJacksonXMLDataFormat=function(a){var o=a?new i.JacksonXMLDataFormat(t({},a)):new i.JacksonXMLDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createJaxbDataFormat=function(a){var o=a?new i.JaxbDataFormat(t({},a)):new i.JaxbDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createJsonApiDataFormat=function(a){var o=a?new i.JsonApiDataFormat(t({},a)):new i.JsonApiDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createJsonDataFormat=function(a){var o=a?new i.JsonDataFormat(t({},a)):new i.JsonDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createLZFDataFormat=function(a){var o=a?new i.LZFDataFormat(t({},a)):new i.LZFDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createMimeMultipartDataFormat=function(a){var o=a?new i.MimeMultipartDataFormat(t({},a)):new i.MimeMultipartDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createPGPDataFormat=function(a){var o=a?new i.PGPDataFormat(t({},a)):new i.PGPDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createProtobufDataFormat=function(a){var o=a?new i.ProtobufDataFormat(t({},a)):new i.ProtobufDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRssDataFormat=function(a){var o=a?new i.RssDataFormat(t({},a)):new i.RssDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createSoapDataFormat=function(a){a&&typeof a=="string"&&(a={contextPath:a});var o=a?new i.SoapDataFormat(t({},a)):new i.SoapDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createSwiftMtDataFormat=function(a){var o=a?new i.SwiftMtDataFormat(t({},a)):new i.SwiftMtDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createSwiftMxDataFormat=function(a){var o=a?new i.SwiftMxDataFormat(t({},a)):new i.SwiftMxDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createSyslogDataFormat=function(a){var o=a?new i.SyslogDataFormat(t({},a)):new i.SyslogDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createTarFileDataFormat=function(a){var o=a?new i.TarFileDataFormat(t({},a)):new i.TarFileDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createThriftDataFormat=function(a){var o=a?new i.ThriftDataFormat(t({},a)):new i.ThriftDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createTidyMarkupDataFormat=function(a){var o=a?new i.TidyMarkupDataFormat(t({},a)):new i.TidyMarkupDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createUniVocityCsvDataFormat=function(a){var o=a?new i.UniVocityCsvDataFormat(t({},a)):new i.UniVocityCsvDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.univocityHeader=a&&(a!=null&&a.univocityHeader)?a==null?void 0:a.univocityHeader.map(function(l){return r.createUniVocityHeader(l)}):[],o},r.createUniVocityFixedDataFormat=function(a){var o=a?new i.UniVocityFixedDataFormat(t({},a)):new i.UniVocityFixedDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.univocityHeader=a&&(a!=null&&a.univocityHeader)?a==null?void 0:a.univocityHeader.map(function(l){return r.createUniVocityHeader(l)}):[],o},r.createUniVocityHeader=function(a){var o=a?new i.UniVocityHeader(t({},a)):new i.UniVocityHeader;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createUniVocityTsvDataFormat=function(a){var o=a?new i.UniVocityTsvDataFormat(t({},a)):new i.UniVocityTsvDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.univocityHeader=a&&(a!=null&&a.univocityHeader)?a==null?void 0:a.univocityHeader.map(function(l){return r.createUniVocityHeader(l)}):[],o},r.createXMLSecurityDataFormat=function(a){var o=a?new i.XMLSecurityDataFormat(t({},a)):new i.XMLSecurityDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createXStreamDataFormat=function(a){var o=a?new i.XStreamDataFormat(t({},a)):new i.XStreamDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.aliases=a&&(a!=null&&a.aliases)?a==null?void 0:a.aliases.map(function(l){return r.createPropertyDefinition(l)}):[],o.converters=a&&(a!=null&&a.converters)?a==null?void 0:a.converters.map(function(l){return r.createPropertyDefinition(l)}):[],o.implicitCollections=a&&(a!=null&&a.implicitCollections)?a==null?void 0:a.implicitCollections.map(function(l){return r.createPropertyDefinition(l)}):[],o.omitFields=a&&(a!=null&&a.omitFields)?a==null?void 0:a.omitFields.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createYAMLDataFormat=function(a){var o=a?new i.YAMLDataFormat(t({},a)):new i.YAMLDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.typeFilter=a&&(a!=null&&a.typeFilter)?a==null?void 0:a.typeFilter.map(function(l){return r.createYAMLTypeFilterDefinition(l)}):[],o},r.createYAMLTypeFilterDefinition=function(a){var o=a?new i.YAMLTypeFilterDefinition(t({},a)):new i.YAMLTypeFilterDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createZipDeflaterDataFormat=function(a){var o=a?new i.ZipDeflaterDataFormat(t({},a)):new i.ZipDeflaterDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createZipFileDataFormat=function(a){var o=a?new i.ZipFileDataFormat(t({},a)):new i.ZipFileDataFormat;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createDeadLetterChannelDefinition=function(a){var o=a?new i.DeadLetterChannelDefinition(t({},a)):new i.DeadLetterChannelDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.redeliveryPolicy)!==void 0&&(o.redeliveryPolicy=r.createRedeliveryPolicyDefinition(a.redeliveryPolicy)),o},r.createDefaultErrorHandlerDefinition=function(a){var o=a?new i.DefaultErrorHandlerDefinition(t({},a)):new i.DefaultErrorHandlerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.redeliveryPolicy)!==void 0&&(o.redeliveryPolicy=r.createRedeliveryPolicyDefinition(a.redeliveryPolicy)),o},r.createJtaTransactionErrorHandlerDefinition=function(a){var o=a?new i.JtaTransactionErrorHandlerDefinition(t({},a)):new i.JtaTransactionErrorHandlerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.redeliveryPolicy)!==void 0&&(o.redeliveryPolicy=r.createRedeliveryPolicyDefinition(a.redeliveryPolicy)),o},r.createNoErrorHandlerDefinition=function(a){var o=a?new i.NoErrorHandlerDefinition(t({},a)):new i.NoErrorHandlerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRefErrorHandlerDefinition=function(a){a&&typeof a=="string"&&(a={ref:a});var o=a?new i.RefErrorHandlerDefinition(t({},a)):new i.RefErrorHandlerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createSpringTransactionErrorHandlerDefinition=function(a){var o=a?new i.SpringTransactionErrorHandlerDefinition(t({},a)):new i.SpringTransactionErrorHandlerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.redeliveryPolicy)!==void 0&&(o.redeliveryPolicy=r.createRedeliveryPolicyDefinition(a.redeliveryPolicy)),o},r.createCSimpleExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.CSimpleExpression(t({},a)):new i.CSimpleExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createConstantExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.ConstantExpression(t({},a)):new i.ConstantExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createDatasonnetExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.DatasonnetExpression(t({},a)):new i.DatasonnetExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createExchangePropertyExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.ExchangePropertyExpression(t({},a)):new i.ExchangePropertyExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createExpressionDefinition=function(a){var o=a?new i.ExpressionDefinition(t({},a)):new i.ExpressionDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.constant)!==void 0&&(o.constant=r.createConstantExpression(a.constant)),(a==null?void 0:a.csimple)!==void 0&&(o.csimple=r.createCSimpleExpression(a.csimple)),(a==null?void 0:a.datasonnet)!==void 0&&(o.datasonnet=r.createDatasonnetExpression(a.datasonnet)),(a==null?void 0:a.exchangeProperty)!==void 0&&(o.exchangeProperty=r.createExchangePropertyExpression(a.exchangeProperty)),(a==null?void 0:a.groovy)!==void 0&&(o.groovy=r.createGroovyExpression(a.groovy)),(a==null?void 0:a.header)!==void 0&&(o.header=r.createHeaderExpression(a.header)),(a==null?void 0:a.hl7terser)!==void 0&&(o.hl7terser=r.createHl7TerserExpression(a.hl7terser)),(a==null?void 0:a.joor)!==void 0&&(o.joor=r.createJoorExpression(a.joor)),(a==null?void 0:a.jq)!==void 0&&(o.jq=r.createJqExpression(a.jq)),(a==null?void 0:a.js)!==void 0&&(o.js=r.createJavaScriptExpression(a.js)),(a==null?void 0:a.jsonpath)!==void 0&&(o.jsonpath=r.createJsonPathExpression(a.jsonpath)),(a==null?void 0:a.language)!==void 0&&(o.language=r.createLanguageExpression(a.language)),(a==null?void 0:a.method)!==void 0&&(o.method=r.createMethodCallExpression(a.method)),(a==null?void 0:a.mvel)!==void 0&&(o.mvel=r.createMvelExpression(a.mvel)),(a==null?void 0:a.ognl)!==void 0&&(o.ognl=r.createOgnlExpression(a.ognl)),(a==null?void 0:a.python)!==void 0&&(o.python=r.createPythonExpression(a.python)),(a==null?void 0:a.ref)!==void 0&&(o.ref=r.createRefExpression(a.ref)),(a==null?void 0:a.simple)!==void 0&&(o.simple=r.createSimpleExpression(a.simple)),(a==null?void 0:a.spel)!==void 0&&(o.spel=r.createSpELExpression(a.spel)),(a==null?void 0:a.tokenize)!==void 0&&(o.tokenize=r.createTokenizerExpression(a.tokenize)),(a==null?void 0:a.xpath)!==void 0&&(o.xpath=r.createXPathExpression(a.xpath)),(a==null?void 0:a.xquery)!==void 0&&(o.xquery=r.createXQueryExpression(a.xquery)),(a==null?void 0:a.xtokenize)!==void 0&&(o.xtokenize=r.createXMLTokenizerExpression(a.xtokenize)),o},r.createGroovyExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.GroovyExpression(t({},a)):new i.GroovyExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createHeaderExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.HeaderExpression(t({},a)):new i.HeaderExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createHl7TerserExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.Hl7TerserExpression(t({},a)):new i.Hl7TerserExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createJavaScriptExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.JavaScriptExpression(t({},a)):new i.JavaScriptExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createJoorExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.JoorExpression(t({},a)):new i.JoorExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createJqExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.JqExpression(t({},a)):new i.JqExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createJsonPathExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.JsonPathExpression(t({},a)):new i.JsonPathExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createLanguageExpression=function(a){var o=a?new i.LanguageExpression(t({},a)):new i.LanguageExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createMethodCallExpression=function(a){var o=a?new i.MethodCallExpression(t({},a)):new i.MethodCallExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createMvelExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.MvelExpression(t({},a)):new i.MvelExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createOgnlExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.OgnlExpression(t({},a)):new i.OgnlExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createPythonExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.PythonExpression(t({},a)):new i.PythonExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRefExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.RefExpression(t({},a)):new i.RefExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createSimpleExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.SimpleExpression(t({},a)):new i.SimpleExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createSpELExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.SpELExpression(t({},a)):new i.SpELExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createTokenizerExpression=function(a){a&&typeof a=="string"&&(a={token:a});var o=a?new i.TokenizerExpression(t({},a)):new i.TokenizerExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createXMLTokenizerExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.XMLTokenizerExpression(t({},a)):new i.XMLTokenizerExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.namespace=a&&(a!=null&&a.namespace)?a==null?void 0:a.namespace.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createXPathExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.XPathExpression(t({},a)):new i.XPathExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.namespace=a&&(a!=null&&a.namespace)?a==null?void 0:a.namespace.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createXQueryExpression=function(a){a&&typeof a=="string"&&(a={expression:a});var o=a?new i.XQueryExpression(t({},a)):new i.XQueryExpression;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.namespace=a&&(a!=null&&a.namespace)?a==null?void 0:a.namespace.map(function(l){return r.createPropertyDefinition(l)}):[],o},r.createCustomLoadBalancerDefinition=function(a){a&&typeof a=="string"&&(a={ref:a});var o=a?new i.CustomLoadBalancerDefinition(t({},a)):new i.CustomLoadBalancerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createFailoverLoadBalancerDefinition=function(a){var o=a?new i.FailoverLoadBalancerDefinition(t({},a)):new i.FailoverLoadBalancerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRandomLoadBalancerDefinition=function(a){var o=a?new i.RandomLoadBalancerDefinition(t({},a)):new i.RandomLoadBalancerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRoundRobinLoadBalancerDefinition=function(a){var o=a?new i.RoundRobinLoadBalancerDefinition(t({},a)):new i.RoundRobinLoadBalancerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createStickyLoadBalancerDefinition=function(a){var o=a?new i.StickyLoadBalancerDefinition(t({},a)):new i.StickyLoadBalancerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.correlationExpression)!==void 0&&(o.correlationExpression=r.createExpressionSubElementDefinition(a.correlationExpression)),o},r.createTopicLoadBalancerDefinition=function(a){var o=a?new i.TopicLoadBalancerDefinition(t({},a)):new i.TopicLoadBalancerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createWeightedLoadBalancerDefinition=function(a){var o=a?new i.WeightedLoadBalancerDefinition(t({},a)):new i.WeightedLoadBalancerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createApiKeyDefinition=function(a){var o=a?new i.ApiKeyDefinition(t({},a)):new i.ApiKeyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createBasicAuthDefinition=function(a){var o=a?new i.BasicAuthDefinition(t({},a)):new i.BasicAuthDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createBearerTokenDefinition=function(a){var o=a?new i.BearerTokenDefinition(t({},a)):new i.BearerTokenDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createDeleteDefinition=function(a){var o=a?new i.DeleteDefinition(t({},a)):new i.DeleteDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.param=a&&(a!=null&&a.param)?a==null?void 0:a.param.map(function(l){return r.createParamDefinition(l)}):[],o.responseMessage=a&&(a!=null&&a.responseMessage)?a==null?void 0:a.responseMessage.map(function(l){return r.createResponseMessageDefinition(l)}):[],o.security=a&&(a!=null&&a.security)?a==null?void 0:a.security.map(function(l){return r.createSecurityDefinition(l)}):[],o},r.createGetDefinition=function(a){var o=a?new i.GetDefinition(t({},a)):new i.GetDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.param=a&&(a!=null&&a.param)?a==null?void 0:a.param.map(function(l){return r.createParamDefinition(l)}):[],o.responseMessage=a&&(a!=null&&a.responseMessage)?a==null?void 0:a.responseMessage.map(function(l){return r.createResponseMessageDefinition(l)}):[],o.security=a&&(a!=null&&a.security)?a==null?void 0:a.security.map(function(l){return r.createSecurityDefinition(l)}):[],o},r.createHeadDefinition=function(a){var o=a?new i.HeadDefinition(t({},a)):new i.HeadDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.param=a&&(a!=null&&a.param)?a==null?void 0:a.param.map(function(l){return r.createParamDefinition(l)}):[],o.responseMessage=a&&(a!=null&&a.responseMessage)?a==null?void 0:a.responseMessage.map(function(l){return r.createResponseMessageDefinition(l)}):[],o.security=a&&(a!=null&&a.security)?a==null?void 0:a.security.map(function(l){return r.createSecurityDefinition(l)}):[],o},r.createMutualTLSDefinition=function(a){var o=a?new i.MutualTLSDefinition(t({},a)):new i.MutualTLSDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createOAuth2Definition=function(a){var o=a?new i.OAuth2Definition(t({},a)):new i.OAuth2Definition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.scopes=a&&(a!=null&&a.scopes)?a==null?void 0:a.scopes.map(function(l){return r.createRestPropertyDefinition(l)}):[],o},r.createOpenIdConnectDefinition=function(a){var o=a?new i.OpenIdConnectDefinition(t({},a)):new i.OpenIdConnectDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createParamDefinition=function(a){var o=a?new i.ParamDefinition(t({},a)):new i.ParamDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.allowableValues=a&&(a!=null&&a.allowableValues)?a==null?void 0:a.allowableValues.map(function(l){return r.createValueDefinition(l)}):[],o.examples=a&&(a!=null&&a.examples)?a==null?void 0:a.examples.map(function(l){return r.createRestPropertyDefinition(l)}):[],o},r.createPatchDefinition=function(a){var o=a?new i.PatchDefinition(t({},a)):new i.PatchDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.param=a&&(a!=null&&a.param)?a==null?void 0:a.param.map(function(l){return r.createParamDefinition(l)}):[],o.responseMessage=a&&(a!=null&&a.responseMessage)?a==null?void 0:a.responseMessage.map(function(l){return r.createResponseMessageDefinition(l)}):[],o.security=a&&(a!=null&&a.security)?a==null?void 0:a.security.map(function(l){return r.createSecurityDefinition(l)}):[],o},r.createPostDefinition=function(a){var o=a?new i.PostDefinition(t({},a)):new i.PostDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.param=a&&(a!=null&&a.param)?a==null?void 0:a.param.map(function(l){return r.createParamDefinition(l)}):[],o.responseMessage=a&&(a!=null&&a.responseMessage)?a==null?void 0:a.responseMessage.map(function(l){return r.createResponseMessageDefinition(l)}):[],o.security=a&&(a!=null&&a.security)?a==null?void 0:a.security.map(function(l){return r.createSecurityDefinition(l)}):[],o},r.createPutDefinition=function(a){var o=a?new i.PutDefinition(t({},a)):new i.PutDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.param=a&&(a!=null&&a.param)?a==null?void 0:a.param.map(function(l){return r.createParamDefinition(l)}):[],o.responseMessage=a&&(a!=null&&a.responseMessage)?a==null?void 0:a.responseMessage.map(function(l){return r.createResponseMessageDefinition(l)}):[],o.security=a&&(a!=null&&a.security)?a==null?void 0:a.security.map(function(l){return r.createSecurityDefinition(l)}):[],o},r.createResponseHeaderDefinition=function(a){var o=a?new i.ResponseHeaderDefinition(t({},a)):new i.ResponseHeaderDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.allowableValues=a&&(a!=null&&a.allowableValues)?a==null?void 0:a.allowableValues.map(function(l){return r.createValueDefinition(l)}):[],o},r.createResponseMessageDefinition=function(a){var o=a?new i.ResponseMessageDefinition(t({},a)):new i.ResponseMessageDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.examples=a&&(a!=null&&a.examples)?a==null?void 0:a.examples.map(function(l){return r.createRestPropertyDefinition(l)}):[],o.header=a&&(a!=null&&a.header)?a==null?void 0:a.header.map(function(l){return r.createResponseHeaderDefinition(l)}):[],o},r.createRestBindingDefinition=function(a){var o=a?new i.RestBindingDefinition(t({},a)):new i.RestBindingDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRestConfigurationDefinition=function(a){var o=a?new i.RestConfigurationDefinition(t({},a)):new i.RestConfigurationDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.apiProperty=a&&(a!=null&&a.apiProperty)?a==null?void 0:a.apiProperty.map(function(l){return r.createRestPropertyDefinition(l)}):[],o.componentProperty=a&&(a!=null&&a.componentProperty)?a==null?void 0:a.componentProperty.map(function(l){return r.createRestPropertyDefinition(l)}):[],o.consumerProperty=a&&(a!=null&&a.consumerProperty)?a==null?void 0:a.consumerProperty.map(function(l){return r.createRestPropertyDefinition(l)}):[],o.corsHeaders=a&&(a!=null&&a.corsHeaders)?a==null?void 0:a.corsHeaders.map(function(l){return r.createRestPropertyDefinition(l)}):[],o.dataFormatProperty=a&&(a!=null&&a.dataFormatProperty)?a==null?void 0:a.dataFormatProperty.map(function(l){return r.createRestPropertyDefinition(l)}):[],o.endpointProperty=a&&(a!=null&&a.endpointProperty)?a==null?void 0:a.endpointProperty.map(function(l){return r.createRestPropertyDefinition(l)}):[],o},r.createRestDefinition=function(a){var o=a?new i.RestDefinition(t({},a)):new i.RestDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.delete=a&&(a!=null&&a.delete)?a==null?void 0:a.delete.map(function(l){return r.createDeleteDefinition(l)}):[],o.get=a&&(a!=null&&a.get)?a==null?void 0:a.get.map(function(l){return r.createGetDefinition(l)}):[],o.head=a&&(a!=null&&a.head)?a==null?void 0:a.head.map(function(l){return r.createHeadDefinition(l)}):[],o.patch=a&&(a!=null&&a.patch)?a==null?void 0:a.patch.map(function(l){return r.createPatchDefinition(l)}):[],o.post=a&&(a!=null&&a.post)?a==null?void 0:a.post.map(function(l){return r.createPostDefinition(l)}):[],o.put=a&&(a!=null&&a.put)?a==null?void 0:a.put.map(function(l){return r.createPutDefinition(l)}):[],(a==null?void 0:a.securityDefinitions)!==void 0&&(o.securityDefinitions=r.createRestSecuritiesDefinition(a.securityDefinitions)),o.securityRequirements=a&&(a!=null&&a.securityRequirements)?a==null?void 0:a.securityRequirements.map(function(l){return r.createSecurityDefinition(l)}):[],o},r.createRestPropertyDefinition=function(a){var o=a?new i.RestPropertyDefinition(t({},a)):new i.RestPropertyDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createRestSecuritiesDefinition=function(a){var o=a?new i.RestSecuritiesDefinition(t({},a)):new i.RestSecuritiesDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.apiKey)!==void 0&&(o.apiKey=r.createApiKeyDefinition(a.apiKey)),(a==null?void 0:a.basicAuth)!==void 0&&(o.basicAuth=r.createBasicAuthDefinition(a.basicAuth)),(a==null?void 0:a.bearer)!==void 0&&(o.bearer=r.createBearerTokenDefinition(a.bearer)),(a==null?void 0:a.mutualTls)!==void 0&&(o.mutualTls=r.createMutualTLSDefinition(a.mutualTls)),(a==null?void 0:a.oauth2)!==void 0&&(o.oauth2=r.createOAuth2Definition(a.oauth2)),(a==null?void 0:a.openIdConnect)!==void 0&&(o.openIdConnect=r.createOpenIdConnectDefinition(a.openIdConnect)),o},r.createRestsDefinition=function(a){var o=a?new i.RestsDefinition(t({},a)):new i.RestsDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.rest=a&&(a!=null&&a.rest)?a==null?void 0:a.rest.map(function(l){return r.createRestDefinition(l)}):[],o},r.createSecurityDefinition=function(a){var o=a?new i.SecurityDefinition(t({},a)):new i.SecurityDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createCustomTransformerDefinition=function(a){var o=a?new i.CustomTransformerDefinition(t({},a)):new i.CustomTransformerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createDataFormatTransformerDefinition=function(a){var o=a?new i.DataFormatTransformerDefinition(t({},a)):new i.DataFormatTransformerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.any23)!==void 0&&(o.any23=r.createAny23DataFormat(a.any23)),(a==null?void 0:a.asn1)!==void 0&&(o.asn1=r.createASN1DataFormat(a.asn1)),(a==null?void 0:a.avro)!==void 0&&(o.avro=r.createAvroDataFormat(a.avro)),(a==null?void 0:a.barcode)!==void 0&&(o.barcode=r.createBarcodeDataFormat(a.barcode)),(a==null?void 0:a.base64)!==void 0&&(o.base64=r.createBase64DataFormat(a.base64)),(a==null?void 0:a.bindy)!==void 0&&(o.bindy=r.createBindyDataFormat(a.bindy)),(a==null?void 0:a.cbor)!==void 0&&(o.cbor=r.createCBORDataFormat(a.cbor)),(a==null?void 0:a.crypto)!==void 0&&(o.crypto=r.createCryptoDataFormat(a.crypto)),(a==null?void 0:a.csv)!==void 0&&(o.csv=r.createCsvDataFormat(a.csv)),(a==null?void 0:a.custom)!==void 0&&(o.custom=r.createCustomDataFormat(a.custom)),(a==null?void 0:a.fhirJson)!==void 0&&(o.fhirJson=r.createFhirJsonDataFormat(a.fhirJson)),(a==null?void 0:a.fhirXml)!==void 0&&(o.fhirXml=r.createFhirXmlDataFormat(a.fhirXml)),(a==null?void 0:a.flatpack)!==void 0&&(o.flatpack=r.createFlatpackDataFormat(a.flatpack)),(a==null?void 0:a.grok)!==void 0&&(o.grok=r.createGrokDataFormat(a.grok)),(a==null?void 0:a.gzipDeflater)!==void 0&&(o.gzipDeflater=r.createGzipDeflaterDataFormat(a.gzipDeflater)),(a==null?void 0:a.hl7)!==void 0&&(o.hl7=r.createHL7DataFormat(a.hl7)),(a==null?void 0:a.ical)!==void 0&&(o.ical=r.createIcalDataFormat(a.ical)),(a==null?void 0:a.jacksonXml)!==void 0&&(o.jacksonXml=r.createJacksonXMLDataFormat(a.jacksonXml)),(a==null?void 0:a.jaxb)!==void 0&&(o.jaxb=r.createJaxbDataFormat(a.jaxb)),(a==null?void 0:a.json)!==void 0&&(o.json=r.createJsonDataFormat(a.json)),(a==null?void 0:a.jsonApi)!==void 0&&(o.jsonApi=r.createJsonApiDataFormat(a.jsonApi)),(a==null?void 0:a.lzf)!==void 0&&(o.lzf=r.createLZFDataFormat(a.lzf)),(a==null?void 0:a.mimeMultipart)!==void 0&&(o.mimeMultipart=r.createMimeMultipartDataFormat(a.mimeMultipart)),(a==null?void 0:a.pgp)!==void 0&&(o.pgp=r.createPGPDataFormat(a.pgp)),(a==null?void 0:a.protobuf)!==void 0&&(o.protobuf=r.createProtobufDataFormat(a.protobuf)),(a==null?void 0:a.rss)!==void 0&&(o.rss=r.createRssDataFormat(a.rss)),(a==null?void 0:a.soap)!==void 0&&(o.soap=r.createSoapDataFormat(a.soap)),(a==null?void 0:a.swiftMt)!==void 0&&(o.swiftMt=r.createSwiftMtDataFormat(a.swiftMt)),(a==null?void 0:a.swiftMx)!==void 0&&(o.swiftMx=r.createSwiftMxDataFormat(a.swiftMx)),(a==null?void 0:a.syslog)!==void 0&&(o.syslog=r.createSyslogDataFormat(a.syslog)),(a==null?void 0:a.tarFile)!==void 0&&(o.tarFile=r.createTarFileDataFormat(a.tarFile)),(a==null?void 0:a.thrift)!==void 0&&(o.thrift=r.createThriftDataFormat(a.thrift)),(a==null?void 0:a.tidyMarkup)!==void 0&&(o.tidyMarkup=r.createTidyMarkupDataFormat(a.tidyMarkup)),(a==null?void 0:a.univocityCsv)!==void 0&&(o.univocityCsv=r.createUniVocityCsvDataFormat(a.univocityCsv)),(a==null?void 0:a.univocityFixed)!==void 0&&(o.univocityFixed=r.createUniVocityFixedDataFormat(a.univocityFixed)),(a==null?void 0:a.univocityTsv)!==void 0&&(o.univocityTsv=r.createUniVocityTsvDataFormat(a.univocityTsv)),(a==null?void 0:a.xmlSecurity)!==void 0&&(o.xmlSecurity=r.createXMLSecurityDataFormat(a.xmlSecurity)),(a==null?void 0:a.xstream)!==void 0&&(o.xstream=r.createXStreamDataFormat(a.xstream)),(a==null?void 0:a.yaml)!==void 0&&(o.yaml=r.createYAMLDataFormat(a.yaml)),(a==null?void 0:a.zipDeflater)!==void 0&&(o.zipDeflater=r.createZipDeflaterDataFormat(a.zipDeflater)),(a==null?void 0:a.zipFile)!==void 0&&(o.zipFile=r.createZipFileDataFormat(a.zipFile)),o},r.createEndpointTransformerDefinition=function(a){var o=a?new i.EndpointTransformerDefinition(t({},a)):new i.EndpointTransformerDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createTransformersDefinition=function(a){var o=a?new i.TransformersDefinition(t({},a)):new i.TransformersDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.customTransformer)!==void 0&&(o.customTransformer=r.createCustomTransformerDefinition(a.customTransformer)),(a==null?void 0:a.dataFormatTransformer)!==void 0&&(o.dataFormatTransformer=r.createDataFormatTransformerDefinition(a.dataFormatTransformer)),(a==null?void 0:a.endpointTransformer)!==void 0&&(o.endpointTransformer=r.createEndpointTransformerDefinition(a.endpointTransformer)),o},r.createCustomValidatorDefinition=function(a){var o=a?new i.CustomValidatorDefinition(t({},a)):new i.CustomValidatorDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createEndpointValidatorDefinition=function(a){var o=a?new i.EndpointValidatorDefinition(t({},a)):new i.EndpointValidatorDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o},r.createPredicateValidatorDefinition=function(a){var o=a?new i.PredicateValidatorDefinition(t({},a)):new i.PredicateValidatorDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,o.expression=r.createExpressionDefinition(a.expression),o},r.createValidatorsDefinition=function(a){var o=a?new i.ValidatorsDefinition(t({},a)):new i.ValidatorsDefinition;return o.uuid=a!=null&&a.uuid?a.uuid:o.uuid,(a==null?void 0:a.customValidator)!==void 0&&(o.customValidator=r.createCustomValidatorDefinition(a.customValidator)),(a==null?void 0:a.endpointValidator)!==void 0&&(o.endpointValidator=r.createEndpointValidatorDefinition(a.endpointValidator)),(a==null?void 0:a.predicateValidator)!==void 0&&(o.predicateValidator=r.createPredicateValidatorDefinition(a.predicateValidator)),o},r.createStep=function(a,o,l){l===void 0&&(l=!1);var c=n.CamelUtil.camelizeBody(a,o,l);switch(a){case"ProcessorDefinition":return r.createProcessorDefinition(c);case"BeansDeserializer":return r.createBeansDeserializer(c);case"ErrorHandlerBuilderDeserializer":return r.createErrorHandlerBuilderDeserializer(c);case"NamedBeanDefinition":return r.createNamedBeanDefinition(c);case"OutputAwareFromDefinition":return r.createOutputAwareFromDefinition(c);case"AggregateDefinition":return r.createAggregateDefinition(c);case"BeanDefinition":return r.createBeanDefinition(c);case"CatchDefinition":return r.createCatchDefinition(c);case"ChoiceDefinition":return r.createChoiceDefinition(c);case"CircuitBreakerDefinition":return r.createCircuitBreakerDefinition(c);case"ClaimCheckDefinition":return r.createClaimCheckDefinition(c);case"ContextScanDefinition":return r.createContextScanDefinition(c);case"ConvertBodyDefinition":return r.createConvertBodyDefinition(c);case"DataFormatDefinition":return r.createDataFormatDefinition(c);case"DelayDefinition":return r.createDelayDefinition(c);case"DescriptionDefinition":return r.createDescriptionDefinition(c);case"DynamicRouterDefinition":return r.createDynamicRouterDefinition(c);case"EnrichDefinition":return r.createEnrichDefinition(c);case"ErrorHandlerDefinition":return r.createErrorHandlerDefinition(c);case"ExpressionSubElementDefinition":return r.createExpressionSubElementDefinition(c);case"FaultToleranceConfigurationDefinition":return r.createFaultToleranceConfigurationDefinition(c);case"FilterDefinition":return r.createFilterDefinition(c);case"FinallyDefinition":return r.createFinallyDefinition(c);case"FromDefinition":return r.createFromDefinition(c);case"GlobalOptionDefinition":return r.createGlobalOptionDefinition(c);case"GlobalOptionsDefinition":return r.createGlobalOptionsDefinition(c);case"IdempotentConsumerDefinition":return r.createIdempotentConsumerDefinition(c);case"InOnlyDefinition":return r.createInOnlyDefinition(c);case"InOutDefinition":return r.createInOutDefinition(c);case"InputTypeDefinition":return r.createInputTypeDefinition(c);case"InterceptDefinition":return r.createInterceptDefinition(c);case"InterceptFromDefinition":return r.createInterceptFromDefinition(c);case"InterceptSendToEndpointDefinition":return r.createInterceptSendToEndpointDefinition(c);case"KameletDefinition":return r.createKameletDefinition(c);case"LoadBalanceDefinition":return r.createLoadBalanceDefinition(c);case"LogDefinition":return r.createLogDefinition(c);case"LoopDefinition":return r.createLoopDefinition(c);case"MarshalDefinition":return r.createMarshalDefinition(c);case"MulticastDefinition":return r.createMulticastDefinition(c);case"OnCompletionDefinition":return r.createOnCompletionDefinition(c);case"OnExceptionDefinition":return r.createOnExceptionDefinition(c);case"OnFallbackDefinition":return r.createOnFallbackDefinition(c);case"OptimisticLockRetryPolicyDefinition":return r.createOptimisticLockRetryPolicyDefinition(c);case"OtherwiseDefinition":return r.createOtherwiseDefinition(c);case"OutputDefinition":return r.createOutputDefinition(c);case"OutputTypeDefinition":return r.createOutputTypeDefinition(c);case"PackageScanDefinition":return r.createPackageScanDefinition(c);case"PausableDefinition":return r.createPausableDefinition(c);case"PipelineDefinition":return r.createPipelineDefinition(c);case"PolicyDefinition":return r.createPolicyDefinition(c);case"PollEnrichDefinition":return r.createPollEnrichDefinition(c);case"ProcessDefinition":return r.createProcessDefinition(c);case"PropertyDefinition":return r.createPropertyDefinition(c);case"PropertyExpressionDefinition":return r.createPropertyExpressionDefinition(c);case"RecipientListDefinition":return r.createRecipientListDefinition(c);case"RedeliveryPolicyDefinition":return r.createRedeliveryPolicyDefinition(c);case"RemoveHeaderDefinition":return r.createRemoveHeaderDefinition(c);case"RemoveHeadersDefinition":return r.createRemoveHeadersDefinition(c);case"RemovePropertiesDefinition":return r.createRemovePropertiesDefinition(c);case"RemovePropertyDefinition":return r.createRemovePropertyDefinition(c);case"ResequenceDefinition":return r.createResequenceDefinition(c);case"Resilience4jConfigurationDefinition":return r.createResilience4jConfigurationDefinition(c);case"RestContextRefDefinition":return r.createRestContextRefDefinition(c);case"ResumableDefinition":return r.createResumableDefinition(c);case"RollbackDefinition":return r.createRollbackDefinition(c);case"RouteBuilderDefinition":return r.createRouteBuilderDefinition(c);case"RouteConfigurationContextRefDefinition":return r.createRouteConfigurationContextRefDefinition(c);case"RouteConfigurationDefinition":return r.createRouteConfigurationDefinition(c);case"RouteContextRefDefinition":return r.createRouteContextRefDefinition(c);case"RouteDefinition":return r.createRouteDefinition(c);case"RouteTemplateBeanDefinition":return r.createRouteTemplateBeanDefinition(c);case"RouteTemplateDefinition":return r.createRouteTemplateDefinition(c);case"RouteTemplateParameterDefinition":return r.createRouteTemplateParameterDefinition(c);case"RoutingSlipDefinition":return r.createRoutingSlipDefinition(c);case"SagaActionUriDefinition":return r.createSagaActionUriDefinition(c);case"SagaDefinition":return r.createSagaDefinition(c);case"SamplingDefinition":return r.createSamplingDefinition(c);case"ScriptDefinition":return r.createScriptDefinition(c);case"SetBodyDefinition":return r.createSetBodyDefinition(c);case"SetExchangePatternDefinition":return r.createSetExchangePatternDefinition(c);case"SetHeaderDefinition":return r.createSetHeaderDefinition(c);case"SetPropertyDefinition":return r.createSetPropertyDefinition(c);case"SortDefinition":return r.createSortDefinition(c);case"SplitDefinition":return r.createSplitDefinition(c);case"StepDefinition":return r.createStepDefinition(c);case"StopDefinition":return r.createStopDefinition(c);case"TemplatedRouteBeanDefinition":return r.createTemplatedRouteBeanDefinition(c);case"TemplatedRouteDefinition":return r.createTemplatedRouteDefinition(c);case"TemplatedRouteParameterDefinition":return r.createTemplatedRouteParameterDefinition(c);case"ThreadPoolProfileDefinition":return r.createThreadPoolProfileDefinition(c);case"ThreadsDefinition":return r.createThreadsDefinition(c);case"ThrottleDefinition":return r.createThrottleDefinition(c);case"ThrowExceptionDefinition":return r.createThrowExceptionDefinition(c);case"ToDefinition":return r.createToDefinition(c);case"ToDynamicDefinition":return r.createToDynamicDefinition(c);case"TransactedDefinition":return r.createTransactedDefinition(c);case"TransformDefinition":return r.createTransformDefinition(c);case"TryDefinition":return r.createTryDefinition(c);case"UnmarshalDefinition":return r.createUnmarshalDefinition(c);case"ValidateDefinition":return r.createValidateDefinition(c);case"ValueDefinition":return r.createValueDefinition(c);case"WhenDefinition":return r.createWhenDefinition(c);case"WhenSkipSendToEndpointDefinition":return r.createWhenSkipSendToEndpointDefinition(c);case"WireTapDefinition":return r.createWireTapDefinition(c);case"BlacklistServiceCallServiceFilterConfiguration":return r.createBlacklistServiceCallServiceFilterConfiguration(c);case"CachingServiceCallServiceDiscoveryConfiguration":return r.createCachingServiceCallServiceDiscoveryConfiguration(c);case"CombinedServiceCallServiceDiscoveryConfiguration":return r.createCombinedServiceCallServiceDiscoveryConfiguration(c);case"CombinedServiceCallServiceFilterConfiguration":return r.createCombinedServiceCallServiceFilterConfiguration(c);case"ConsulServiceCallServiceDiscoveryConfiguration":return r.createConsulServiceCallServiceDiscoveryConfiguration(c);case"CustomServiceCallServiceFilterConfiguration":return r.createCustomServiceCallServiceFilterConfiguration(c);case"DefaultServiceCallServiceLoadBalancerConfiguration":return r.createDefaultServiceCallServiceLoadBalancerConfiguration(c);case"DnsServiceCallServiceDiscoveryConfiguration":return r.createDnsServiceCallServiceDiscoveryConfiguration(c);case"HealthyServiceCallServiceFilterConfiguration":return r.createHealthyServiceCallServiceFilterConfiguration(c);case"KubernetesServiceCallServiceDiscoveryConfiguration":return r.createKubernetesServiceCallServiceDiscoveryConfiguration(c);case"PassThroughServiceCallServiceFilterConfiguration":return r.createPassThroughServiceCallServiceFilterConfiguration(c);case"ServiceCallConfigurationDefinition":return r.createServiceCallConfigurationDefinition(c);case"ServiceCallDefinition":return r.createServiceCallDefinition(c);case"ServiceCallExpressionConfiguration":return r.createServiceCallExpressionConfiguration(c);case"ServiceCallServiceChooserConfiguration":return r.createServiceCallServiceChooserConfiguration(c);case"ServiceCallServiceDiscoveryConfiguration":return r.createServiceCallServiceDiscoveryConfiguration(c);case"ServiceCallServiceFilterConfiguration":return r.createServiceCallServiceFilterConfiguration(c);case"ServiceCallServiceLoadBalancerConfiguration":return r.createServiceCallServiceLoadBalancerConfiguration(c);case"StaticServiceCallServiceDiscoveryConfiguration":return r.createStaticServiceCallServiceDiscoveryConfiguration(c);case"ZooKeeperServiceCallServiceDiscoveryConfiguration":return r.createZooKeeperServiceCallServiceDiscoveryConfiguration(c);case"BatchResequencerConfig":return r.createBatchResequencerConfig(c);case"StreamResequencerConfig":return r.createStreamResequencerConfig(c);case"ASN1DataFormat":return r.createASN1DataFormat(c);case"Any23DataFormat":return r.createAny23DataFormat(c);case"AvroDataFormat":return r.createAvroDataFormat(c);case"BarcodeDataFormat":return r.createBarcodeDataFormat(c);case"Base64DataFormat":return r.createBase64DataFormat(c);case"BindyDataFormat":return r.createBindyDataFormat(c);case"CBORDataFormat":return r.createCBORDataFormat(c);case"CryptoDataFormat":return r.createCryptoDataFormat(c);case"CsvDataFormat":return r.createCsvDataFormat(c);case"CustomDataFormat":return r.createCustomDataFormat(c);case"DataFormatsDefinition":return r.createDataFormatsDefinition(c);case"FhirJsonDataFormat":return r.createFhirJsonDataFormat(c);case"FhirXmlDataFormat":return r.createFhirXmlDataFormat(c);case"FlatpackDataFormat":return r.createFlatpackDataFormat(c);case"GrokDataFormat":return r.createGrokDataFormat(c);case"GzipDeflaterDataFormat":return r.createGzipDeflaterDataFormat(c);case"HL7DataFormat":return r.createHL7DataFormat(c);case"IcalDataFormat":return r.createIcalDataFormat(c);case"JacksonXMLDataFormat":return r.createJacksonXMLDataFormat(c);case"JaxbDataFormat":return r.createJaxbDataFormat(c);case"JsonApiDataFormat":return r.createJsonApiDataFormat(c);case"JsonDataFormat":return r.createJsonDataFormat(c);case"LZFDataFormat":return r.createLZFDataFormat(c);case"MimeMultipartDataFormat":return r.createMimeMultipartDataFormat(c);case"PGPDataFormat":return r.createPGPDataFormat(c);case"ProtobufDataFormat":return r.createProtobufDataFormat(c);case"RssDataFormat":return r.createRssDataFormat(c);case"SoapDataFormat":return r.createSoapDataFormat(c);case"SwiftMtDataFormat":return r.createSwiftMtDataFormat(c);case"SwiftMxDataFormat":return r.createSwiftMxDataFormat(c);case"SyslogDataFormat":return r.createSyslogDataFormat(c);case"TarFileDataFormat":return r.createTarFileDataFormat(c);case"ThriftDataFormat":return r.createThriftDataFormat(c);case"TidyMarkupDataFormat":return r.createTidyMarkupDataFormat(c);case"UniVocityCsvDataFormat":return r.createUniVocityCsvDataFormat(c);case"UniVocityFixedDataFormat":return r.createUniVocityFixedDataFormat(c);case"UniVocityHeader":return r.createUniVocityHeader(c);case"UniVocityTsvDataFormat":return r.createUniVocityTsvDataFormat(c);case"XMLSecurityDataFormat":return r.createXMLSecurityDataFormat(c);case"XStreamDataFormat":return r.createXStreamDataFormat(c);case"YAMLDataFormat":return r.createYAMLDataFormat(c);case"YAMLTypeFilterDefinition":return r.createYAMLTypeFilterDefinition(c);case"ZipDeflaterDataFormat":return r.createZipDeflaterDataFormat(c);case"ZipFileDataFormat":return r.createZipFileDataFormat(c);case"DeadLetterChannelDefinition":return r.createDeadLetterChannelDefinition(c);case"DefaultErrorHandlerDefinition":return r.createDefaultErrorHandlerDefinition(c);case"JtaTransactionErrorHandlerDefinition":return r.createJtaTransactionErrorHandlerDefinition(c);case"NoErrorHandlerDefinition":return r.createNoErrorHandlerDefinition(c);case"RefErrorHandlerDefinition":return r.createRefErrorHandlerDefinition(c);case"SpringTransactionErrorHandlerDefinition":return r.createSpringTransactionErrorHandlerDefinition(c);case"CSimpleExpression":return r.createCSimpleExpression(c);case"ConstantExpression":return r.createConstantExpression(c);case"DatasonnetExpression":return r.createDatasonnetExpression(c);case"ExchangePropertyExpression":return r.createExchangePropertyExpression(c);case"ExpressionDefinition":return r.createExpressionDefinition(c);case"GroovyExpression":return r.createGroovyExpression(c);case"HeaderExpression":return r.createHeaderExpression(c);case"Hl7TerserExpression":return r.createHl7TerserExpression(c);case"JavaScriptExpression":return r.createJavaScriptExpression(c);case"JoorExpression":return r.createJoorExpression(c);case"JqExpression":return r.createJqExpression(c);case"JsonPathExpression":return r.createJsonPathExpression(c);case"LanguageExpression":return r.createLanguageExpression(c);case"MethodCallExpression":return r.createMethodCallExpression(c);case"MvelExpression":return r.createMvelExpression(c);case"OgnlExpression":return r.createOgnlExpression(c);case"PythonExpression":return r.createPythonExpression(c);case"RefExpression":return r.createRefExpression(c);case"SimpleExpression":return r.createSimpleExpression(c);case"SpELExpression":return r.createSpELExpression(c);case"TokenizerExpression":return r.createTokenizerExpression(c);case"XMLTokenizerExpression":return r.createXMLTokenizerExpression(c);case"XPathExpression":return r.createXPathExpression(c);case"XQueryExpression":return r.createXQueryExpression(c);case"CustomLoadBalancerDefinition":return r.createCustomLoadBalancerDefinition(c);case"FailoverLoadBalancerDefinition":return r.createFailoverLoadBalancerDefinition(c);case"RandomLoadBalancerDefinition":return r.createRandomLoadBalancerDefinition(c);case"RoundRobinLoadBalancerDefinition":return r.createRoundRobinLoadBalancerDefinition(c);case"StickyLoadBalancerDefinition":return r.createStickyLoadBalancerDefinition(c);case"TopicLoadBalancerDefinition":return r.createTopicLoadBalancerDefinition(c);case"WeightedLoadBalancerDefinition":return r.createWeightedLoadBalancerDefinition(c);case"ApiKeyDefinition":return r.createApiKeyDefinition(c);case"BasicAuthDefinition":return r.createBasicAuthDefinition(c);case"BearerTokenDefinition":return r.createBearerTokenDefinition(c);case"DeleteDefinition":return r.createDeleteDefinition(c);case"GetDefinition":return r.createGetDefinition(c);case"HeadDefinition":return r.createHeadDefinition(c);case"MutualTLSDefinition":return r.createMutualTLSDefinition(c);case"OAuth2Definition":return r.createOAuth2Definition(c);case"OpenIdConnectDefinition":return r.createOpenIdConnectDefinition(c);case"ParamDefinition":return r.createParamDefinition(c);case"PatchDefinition":return r.createPatchDefinition(c);case"PostDefinition":return r.createPostDefinition(c);case"PutDefinition":return r.createPutDefinition(c);case"ResponseHeaderDefinition":return r.createResponseHeaderDefinition(c);case"ResponseMessageDefinition":return r.createResponseMessageDefinition(c);case"RestBindingDefinition":return r.createRestBindingDefinition(c);case"RestConfigurationDefinition":return r.createRestConfigurationDefinition(c);case"RestDefinition":return r.createRestDefinition(c);case"RestPropertyDefinition":return r.createRestPropertyDefinition(c);case"RestSecuritiesDefinition":return r.createRestSecuritiesDefinition(c);case"RestsDefinition":return r.createRestsDefinition(c);case"SecurityDefinition":return r.createSecurityDefinition(c);case"CustomTransformerDefinition":return r.createCustomTransformerDefinition(c);case"DataFormatTransformerDefinition":return r.createDataFormatTransformerDefinition(c);case"EndpointTransformerDefinition":return r.createEndpointTransformerDefinition(c);case"TransformersDefinition":return r.createTransformersDefinition(c);case"CustomValidatorDefinition":return r.createCustomValidatorDefinition(c);case"EndpointValidatorDefinition":return r.createEndpointValidatorDefinition(c);case"PredicateValidatorDefinition":return r.createPredicateValidatorDefinition(c);case"ValidatorsDefinition":return r.createValidatorsDefinition(c);default:return new e.CamelElement("")}},r.createExpression=function(a,o){var l=n.CamelUtil.camelizeBody(a,o,!1);switch(delete l.expressionName,delete l.dslName,a){case"XPathExpression":return r.createXPathExpression(l);case"ConstantExpression":return r.createConstantExpression(l);case"GroovyExpression":return r.createGroovyExpression(l);case"SimpleExpression":return r.createSimpleExpression(l);case"MvelExpression":return r.createMvelExpression(l);case"RefExpression":return r.createRefExpression(l);case"MethodCallExpression":return r.createMethodCallExpression(l);case"LanguageExpression":return r.createLanguageExpression(l);case"ExchangePropertyExpression":return r.createExchangePropertyExpression(l);case"JavaScriptExpression":return r.createJavaScriptExpression(l);case"OgnlExpression":return r.createOgnlExpression(l);case"PythonExpression":return r.createPythonExpression(l);case"XQueryExpression":return r.createXQueryExpression(l);case"HeaderExpression":return r.createHeaderExpression(l);case"CSimpleExpression":return r.createCSimpleExpression(l);case"XMLTokenizerExpression":return r.createXMLTokenizerExpression(l);case"JqExpression":return r.createJqExpression(l);case"DatasonnetExpression":return r.createDatasonnetExpression(l);case"TokenizerExpression":return r.createTokenizerExpression(l);case"SpELExpression":return r.createSpELExpression(l);case"JoorExpression":return r.createJoorExpression(l);case"JsonPathExpression":return r.createJsonPathExpression(l);case"Hl7TerserExpression":return r.createHl7TerserExpression(l);default:return new i.SimpleExpression(l)}},r.createDataFormat=function(a,o){var l=n.CamelUtil.camelizeBody(a,o,!1);switch(delete l.dataFormatName,delete l.dslName,a){case"Any23DataFormat":return r.createAny23DataFormat(l);case"TarFileDataFormat":return r.createTarFileDataFormat(l);case"CBORDataFormat":return r.createCBORDataFormat(l);case"LZFDataFormat":return r.createLZFDataFormat(l);case"UniVocityFixedDataFormat":return r.createUniVocityFixedDataFormat(l);case"JsonApiDataFormat":return r.createJsonApiDataFormat(l);case"XMLSecurityDataFormat":return r.createXMLSecurityDataFormat(l);case"TidyMarkupDataFormat":return r.createTidyMarkupDataFormat(l);case"FhirJsonDataFormat":return r.createFhirJsonDataFormat(l);case"ThriftDataFormat":return r.createThriftDataFormat(l);case"IcalDataFormat":return r.createIcalDataFormat(l);case"CryptoDataFormat":return r.createCryptoDataFormat(l);case"ZipFileDataFormat":return r.createZipFileDataFormat(l);case"JaxbDataFormat":return r.createJaxbDataFormat(l);case"UniVocityTsvDataFormat":return r.createUniVocityTsvDataFormat(l);case"BarcodeDataFormat":return r.createBarcodeDataFormat(l);case"CsvDataFormat":return r.createCsvDataFormat(l);case"GrokDataFormat":return r.createGrokDataFormat(l);case"FlatpackDataFormat":return r.createFlatpackDataFormat(l);case"SoapDataFormat":return r.createSoapDataFormat(l);case"AvroDataFormat":return r.createAvroDataFormat(l);case"GzipDeflaterDataFormat":return r.createGzipDeflaterDataFormat(l);case"JacksonXMLDataFormat":return r.createJacksonXMLDataFormat(l);case"ProtobufDataFormat":return r.createProtobufDataFormat(l);case"BindyDataFormat":return r.createBindyDataFormat(l);case"JsonDataFormat":return r.createJsonDataFormat(l);case"MimeMultipartDataFormat":return r.createMimeMultipartDataFormat(l);case"ZipDeflaterDataFormat":return r.createZipDeflaterDataFormat(l);case"ASN1DataFormat":return r.createASN1DataFormat(l);case"XStreamDataFormat":return r.createXStreamDataFormat(l);case"YAMLDataFormat":return r.createYAMLDataFormat(l);case"SwiftMxDataFormat":return r.createSwiftMxDataFormat(l);case"CustomDataFormat":return r.createCustomDataFormat(l);case"HL7DataFormat":return r.createHL7DataFormat(l);case"Base64DataFormat":return r.createBase64DataFormat(l);case"RssDataFormat":return r.createRssDataFormat(l);case"PGPDataFormat":return r.createPGPDataFormat(l);case"UniVocityCsvDataFormat":return r.createUniVocityCsvDataFormat(l);case"SyslogDataFormat":return r.createSyslogDataFormat(l);case"FhirXmlDataFormat":return r.createFhirXmlDataFormat(l);case"SwiftMtDataFormat":return r.createSwiftMtDataFormat(l);default:return new i.JsonDataFormat(l)}},r.createSteps=function(a){var o=[];return a!==void 0&&a.forEach(function(l){o.push(r.createStep(l.dslName,l))}),o},r}();return Xa.CamelDefinitionApi=s,Xa}var Nt={},Ec;function sl(){if(Ec)return Nt;Ec=1,Object.defineProperty(Nt,"__esModule",{value:!0}),Nt.CamelDefinitionApiExt=Nt.ChildElement=void 0;var t=li,e=Fa(),i=Ke,n=ao(),s=function(){function a(o,l,c){this.name="",this.className="",this.multiple=!1,this.name=o,this.className=l,this.multiple=c}return a}();Nt.ChildElement=s;var r=function(){function a(){}var o;return o=a,a.addStepToIntegration=function(l,c,f,h){var p,g,y,b;if(c.dslName==="RouteDefinition")(p=l.spec.flows)===null||p===void 0||p.push(c);else{var w=[];(g=l.spec.flows)===null||g===void 0||g.filter(function(M){return!["RouteConfigurationDefinition","RouteDefinition"].includes(M.dslName)}).forEach(function(M){return w.push(M)});var D=a.addStepToSteps(((y=l.spec.flows)===null||y===void 0?void 0:y.filter(function(M){return M.dslName==="RouteDefinition"}))||[],c,f,h);w.push.apply(w,D);var O=a.addStepToSteps(((b=l.spec.flows)===null||b===void 0?void 0:b.filter(function(M){return M.dslName==="RouteConfigurationDefinition"}))||[],c,f,h);w.push.apply(w,O),l.spec.flows=w}return l},a.addStepToStep=function(l,c,f,h){h===void 0&&(h=-1);var p=e.CamelUtil.cloneStep(l),g=a.getElementChildrenDefinition(p.dslName),y=!1;g.filter(function(w){return w.name!=="steps"}).forEach(function(w){if(p.uuid===f)w.className===c.dslName&&(y=!0,w.multiple?p[w.name].push(c):p[w.name]=c);else{var D=p[w.name];w.multiple?p[w.name]=a.addStepToSteps(p[w.name],c,f,h):D&&(p[w.name]=a.addStepToStep(D,c,f,h))}});var b=g.filter(function(w){return w.name==="steps"});return!y&&b&&p.uuid===f?h>-1?p.steps.splice(h,0,c):p.steps.push(c):!y&&b&&p.steps&&(p.steps=a.addStepToSteps(p.steps,c,f,h)),p},a.addStepToSteps=function(l,c,f,h){var p=[];return l.forEach(function(g){var y=a.addStepToStep(g,c,f,h);p.push(y)}),p},a.findElementInIntegration=function(l,c){var f;return(f=o.findElementMetaInIntegration(l,c))===null||f===void 0?void 0:f.step},a.findElementMetaInIntegration=function(l,c){var f,h=e.CamelUtil.cloneIntegration(l),p=(f=h.spec.flows)===null||f===void 0?void 0:f.filter(function(g){return["RouteConfigurationDefinition","RouteDefinition"].includes(g.dslName)});return a.findElementInElements(p,c)},a.findElementPathUuids=function(l,c){var f,h=[],p=a.findElementMetaInIntegration(l,c);if(p&&p.parentUuid)for(;((f=p.step)===null||f===void 0?void 0:f.dslName)!=="FromDefinition"&&p.parentUuid;)h.push(p.parentUuid),p=a.findElementMetaInIntegration(l,p.parentUuid);return h},a.findElementInElements=function(l,c,f,h){if(f===void 0&&(f=new i.CamelElementMeta(void 0,void 0,void 0)),(f==null?void 0:f.step)!==void 0)return f;if(l!==void 0)for(var p=function(w,D){if(D.uuid===c)return f=new i.CamelElementMeta(D,h,w),"break";var O=a.getElementChildrenDefinition(D.dslName);O.forEach(function(M){var R=a.getElementChildren(D,M);if(M.multiple)f=a.findElementInElements(R,c,f,D.uuid);else{var A=D[M.name];A&&A.hasOwnProperty("uuid")&&(f=a.findElementInElements([A],c,f,D.uuid))}})},g=0,y=void 0;y=l[g];g++){var b=p(g,y);if(b==="break")break}return new i.CamelElementMeta(f==null?void 0:f.step,f==null?void 0:f.parentUuid,f==null?void 0:f.position)},a.hasElementWithId=function(l,c){var f=!1;return a.checkIfHasId(l,c,f)},a.checkIfHasId=function(l,c,f){return Object.keys(l).forEach(function(h){var p=l[h];if(f||h==="id"&&c===p)return f=!0,!0;typeof p=="object"&&p!==null?f=a.checkIfHasId(p,c,f):Array.isArray(p)&&p.forEach(function(g){a.checkIfHasId(g,c,f)})}),f},a.moveRouteElement=function(l,c,f,h){var p,g,y,b,w,D=a.findElementMetaInIntegration(l,c),O=D.step,M=O==null?void 0:O.uuid,R=a.findElementMetaInIntegration(l,f),A=R.parentUuid;if(M&&A&&O&&!o.findElementPathUuids(l,f).includes(c)){if(a.deleteStepFromIntegration(l,M),h)return a.addStepToIntegration(l,O,f,(g=(p=R==null?void 0:R.step)===null||p===void 0?void 0:p.steps)===null||g===void 0?void 0:g.length);switch((y=R.step)===null||y===void 0?void 0:y.dslName){case"when":return a.addStepToIntegration(l,O,(b=R.step)===null||b===void 0?void 0:b.uuid,void 0);case"otherwise":return a.addStepToIntegration(l,O,(w=R.step)===null||w===void 0?void 0:w.uuid,void 0);default:return a.addStepToIntegration(l,O,A,R.position)}}return l},a.deleteStepFromIntegration=function(l,c){var f,h,p=[];(f=l.spec.flows)===null||f===void 0||f.filter(function(y){return!["RouteConfigurationDefinition","RouteDefinition"].includes(y.dslName)}).forEach(function(y){return p.push(y)});var g=a.deleteStepFromSteps((h=l.spec.flows)===null||h===void 0?void 0:h.filter(function(y){return["RouteConfigurationDefinition","RouteDefinition"].includes(y.dslName)}),c);return p.push.apply(p,g),l.spec.flows=p,l},a.deleteStepFromStep=function(l,c){var f=n.CamelDefinitionApi.createStep(l.dslName,l),h=a.getElementChildrenDefinition(l.dslName);return h.forEach(function(p){var g=a.getElementChildren(l,p);if(p.multiple)f[p.name]=a.deleteStepFromSteps(f[p.name],c);else{var y=f[p.name];y&&y.hasOwnProperty("uuid")&&(y.uuid===c?delete f[p.name]:f[p.name]=a.deleteStepFromStep(g[0],c))}}),f},a.deleteStepFromSteps=function(l,c){var f=[];return l!==void 0&&l.forEach(function(h){h.uuid!==c&&(h=a.deleteStepFromStep(h,c),f.push(h))}),f},a.addBeanToIntegration=function(l,c){var f,h,p,g=[];return((f=l.spec.flows)===null||f===void 0?void 0:f.filter(function(y){return y.dslName==="Beans"}).length)===0?(g.push.apply(g,l.spec.flows),g.push(new i.Beans({beans:[c]}))):(g.push.apply(g,((h=l.spec.flows)===null||h===void 0?void 0:h.filter(function(y){return y.dslName!=="Beans"}))||[]),(p=l.spec.flows)===null||p===void 0||p.filter(function(y){return y.dslName==="Beans"}).forEach(function(y){var b=[];y.beans.filter(function(D){return D.uuid===c.uuid}).length===0?(b.push.apply(b,y.beans.filter(function(D){return D.uuid!==c.uuid})),b.push(c)):y.beans.forEach(function(D){D.uuid===c.uuid?b.push(c):b.push(D)});var w=new i.Beans({beans:b});g.push(w)})),l.spec.flows=g,l},a.deleteBeanFromIntegration=function(l,c){var f,h=[];return(f=l.spec.flows)===null||f===void 0||f.forEach(function(p){if(p.dslName==="Beans"){var g=p.beans.filter(function(b){return!(b.uuid===(c==null?void 0:c.uuid)&&b.type===(c==null?void 0:c.type))});if(g.length>0){var y=new i.Beans({beans:g});h.push(y)}}else h.push(p)}),l.spec.flows=h,l},a.addRouteConfigurationToIntegration=function(l,c){var f;return(f=l.spec.flows)===null||f===void 0||f.push(c),l},a.deleteRouteConfigurationFromIntegration=function(l,c){var f,h,p=[];return p.push.apply(p,((f=l.spec.flows)===null||f===void 0?void 0:f.filter(function(g){return g.dslName!=="RouteConfigurationDefinition"}))||[]),p.push.apply(p,((h=l.spec.flows)===null||h===void 0?void 0:h.filter(function(g){return g.dslName=="RouteConfigurationDefinition"&&g.uuid!==c.uuid}))||[]),l.spec.flows=p,l},a.updateRouteConfigurationToIntegration=function(l,c){var f,h,p=e.CamelUtil.cloneStep(c),g=e.CamelUtil.cloneIntegration(l),y=[];return(f=l.spec.flows)===null||f===void 0||f.filter(function(b){return b.dslName!=="RouteConfigurationDefinition"}).forEach(function(b){return y.push(b)}),(h=l.spec.flows)===null||h===void 0||h.filter(function(b){return b.dslName==="RouteConfigurationDefinition"}).forEach(function(b){var w=a.updateElement(b,p);y.push(n.CamelDefinitionApi.createRouteConfigurationDefinition(w))}),g.spec.flows=y,g},a.addRestToIntegration=function(l,c){var f;return(f=l.spec.flows)===null||f===void 0||f.push(c),l},a.addRestMethodToIntegration=function(l,c,f){var h,p,g=[];return(h=l.spec.flows)===null||h===void 0||h.filter(function(y){return y.dslName!=="RestDefinition"}).forEach(function(y){return g.push(y)}),(p=l.spec.flows)===null||p===void 0||p.filter(function(y){return y.dslName==="RestDefinition"}).forEach(function(y){if(y.uuid!==f)g.push(y);else{switch(c.dslName){case"GetDefinition":y.get=o.addRestMethodToRestMethods(y.get,c);break;case"PostDefinition":y.post=o.addRestMethodToRestMethods(y.post,c);break;case"PutDefinition":y.put=o.addRestMethodToRestMethods(y.put,c);break;case"PatchDefinition":y.patch=o.addRestMethodToRestMethods(y.patch,c);break;case"DeleteDefinition":y.delete=o.addRestMethodToRestMethods(y.delete,c);break;case"HeadDefinition":y.head=o.addRestMethodToRestMethods(y.head,c);break}g.push(y)}}),l.spec.flows=g,l},a.addRestMethodToRestMethods=function(l,c){l===void 0&&(l=[]);var f=[];return l.forEach(function(h){h.uuid===c.uuid?f.push(c):f.push(h)}),f.filter(function(h){return h.uuid===c.uuid}).length===0&&f.push(c),f},a.findRestMethodParent=function(l,c){for(var f,h,p,g,y,b,w,D=((f=l.spec.flows)===null||f===void 0?void 0:f.filter(function(A){return A.dslName==="RestDefinition"}))||[],O=0,M=D;O<M.length;O++){var R=M[O];switch(c.dslName){case"GetDefinition":if(!((h=R.get)===null||h===void 0)&&h.find(function(A){return A.uuid===c.uuid}))return R.uuid;break;case"PostDefinition":if(!((p=R.post)===null||p===void 0)&&p.find(function(A){return A.uuid===c.uuid}))return R.uuid;break;case"PutDefinition":if(!((g=R.put)===null||g===void 0)&&g.find(function(A){return A.uuid===c.uuid}))return R.uuid;break;case"PatchDefinition":if(!((y=R.patch)===null||y===void 0)&&y.find(function(A){return A.uuid===c.uuid}))return R.uuid;break;case"DeleteDefinition":if(!((b=R.delete)===null||b===void 0)&&b.find(function(A){return A.uuid===c.uuid}))return R.uuid;break;case"HeadDefinition":if(!((w=R.head)===null||w===void 0)&&w.find(function(A){return A.uuid===c.uuid}))return R.uuid;break}}},a.deleteRestConfigurationFromIntegration=function(l){var c,f=[];return(c=l.spec.flows)===null||c===void 0||c.filter(function(h){return h.dslName!=="RestConfigurationDefinition"}).forEach(function(h){return f.push(h)}),l.spec.flows=f,l},a.deleteRestFromIntegration=function(l,c){var f,h,p=[];return(f=l.spec.flows)===null||f===void 0||f.filter(function(g){return g.dslName!=="RestDefinition"}).forEach(function(g){return p.push(g)}),(h=l.spec.flows)===null||h===void 0||h.filter(function(g){return g.dslName==="RestDefinition"&&g.uuid!==c}).forEach(function(g){return p.push(g)}),l.spec.flows=p,l},a.deleteRestMethodFromIntegration=function(l,c){var f,h,p=[];return(f=l.spec.flows)===null||f===void 0||f.filter(function(g){return g.dslName!=="RestDefinition"}).forEach(function(g){return p.push(g)}),(h=l.spec.flows)===null||h===void 0||h.filter(function(g){return g.dslName==="RestDefinition"}).forEach(function(g){g.get&&(g.get=g.get.filter(function(y){return y.uuid!==c})),g.post&&(g.post=g.post.filter(function(y){return y.uuid!==c})),g.put&&(g.put=g.put.filter(function(y){return y.uuid!==c})),g.patch&&(g.patch=g.patch.filter(function(y){return y.uuid!==c})),g.delete&&(g.delete=g.delete.filter(function(y){return y.uuid!==c})),g.head&&(g.head=g.head.filter(function(y){return y.uuid!==c})),p.push(g)}),l.spec.flows=p,l},a.getExpressionLanguageName=function(l){var c=void 0;return l&&Object.keys(l).forEach(function(f){var h,p=t.Languages.find(function(y){return y[0]===f}),g=p?p[0]:void 0;c=g?(h=t.CamelMetadataApi.getCamelLanguageMetadataByName(g))===null||h===void 0?void 0:h.name:c}),c},a.getExpressionLanguageClassName=function(l){var c=void 0;return l&&Object.keys(l).forEach(function(f){var h,p=t.Languages.find(function(y){return y[0]===f}),g=p?p[0]:void 0;c=g?(h=t.CamelMetadataApi.getCamelLanguageMetadataByName(g))===null||h===void 0?void 0:h.className:c}),c},a.getDataFormat=function(l){var c=void 0;return l&&Object.keys(l).forEach(function(f){var h=t.CamelMetadataApi.getCamelDataFormatMetadataByName(f);c=h||c}),c},a.getExpressionValue=function(l){var c=a.getExpressionLanguageName(l);if(c)return l[c]},a.updateIntegrationRestElement=function(l,c){var f,h,p,g,y,b,w,D,O=e.CamelUtil.cloneIntegration(l),M=[],R=((f=l.spec.flows)===null||f===void 0?void 0:f.filter(function(C){return C.dslName==="RestDefinition"&&C.uuid===c.uuid}).length)===1,A=((h=l.spec.flows)===null||h===void 0?void 0:h.filter(function(C){return C.dslName==="RestConfigurationDefinition"&&C.uuid===c.uuid}).length)===1;return A?((p=l.spec.flows)===null||p===void 0||p.filter(function(C){return C.dslName!=="RestConfigurationDefinition"}).forEach(function(C){return M.push(C)}),(g=l.spec.flows)===null||g===void 0||g.filter(function(C){return C.dslName==="RestConfigurationDefinition"}).forEach(function(C){C.uuid===c.uuid?M.push(e.CamelUtil.cloneStep(c)):M.push(C)})):R?((y=l.spec.flows)===null||y===void 0||y.filter(function(C){return C.dslName!=="RestDefinition"}).forEach(function(C){return M.push(C)}),(b=l.spec.flows)===null||b===void 0||b.filter(function(C){return C.dslName==="RestDefinition"}).forEach(function(C){C.uuid===c.uuid?M.push(e.CamelUtil.cloneStep(c)):M.push(C)})):((w=l.spec.flows)===null||w===void 0||w.filter(function(C){return C.dslName!=="RestDefinition"}).forEach(function(C){return M.push(C)}),(D=l.spec.flows)===null||D===void 0||D.filter(function(C){return C.dslName==="RestDefinition"}).forEach(function(C){C.get&&(C.get=C.get.map(function(S){return S.uuid===c.uuid?c:S})),C.post&&(C.post=C.post.map(function(S){return S.uuid===c.uuid?c:S})),C.put&&(C.put=C.put.map(function(S){return S.uuid===c.uuid?c:S})),C.patch&&(C.patch=C.patch.map(function(S){return S.uuid===c.uuid?c:S})),C.delete&&(C.delete=C.delete.map(function(S){return S.uuid===c.uuid?c:S})),C.head&&(C.head=C.head.map(function(S){return S.uuid===c.uuid?c:S})),M.push(C)})),O.spec.flows=M,O},a.updateIntegrationRouteElement=function(l,c){var f,h,p,g=e.CamelUtil.cloneStep(c),y=e.CamelUtil.cloneIntegration(l),b=[];return(f=l.spec.flows)===null||f===void 0||f.filter(function(w){return!["RouteConfigurationDefinition","RouteDefinition"].includes(w.dslName)}).forEach(function(w){return b.push(w)}),(h=l.spec.flows)===null||h===void 0||h.filter(function(w){return w.dslName==="RouteConfigurationDefinition"}).forEach(function(w){var D=a.updateElement(w,g);b.push(n.CamelDefinitionApi.createRouteConfigurationDefinition(D))}),(p=l.spec.flows)===null||p===void 0||p.filter(function(w){return w.dslName==="RouteDefinition"}).forEach(function(w){var D=a.updateElement(w,g);b.push(n.CamelDefinitionApi.createRouteDefinition(D))}),y.spec.flows=b,y},a.updateElement=function(l,c){if(l.uuid===c.uuid)return c;var f=Object.assign({},l);return Object.keys(f).forEach(function(h){f[h]instanceof i.CamelElement?f[h]=a.updateElement(f[h],c):Array.isArray(f[h])&&(f[h]=a.updateElements(f[h],c))}),f},a.updateElements=function(l,c){var f=[];return l.forEach(function(h){if(typeof h=="object"){var p=a.updateElement(h,c);f.push(p)}else f.push(h)}),f},a.getElementProperties=function(l){var c,f,h,p=[],g=void 0,y=void 0,b=void 0;if(l){var w=l.endsWith("Definition")||l.endsWith("BuilderRef")?(c=t.CamelMetadataApi.getCamelModelMetadataByClassName(l))===null||c===void 0?void 0:c.properties:l.endsWith("DataFormat")?(f=t.CamelMetadataApi.getCamelDataFormatMetadataByClassName(l))===null||f===void 0?void 0:f.properties:(h=t.CamelMetadataApi.getCamelLanguageMetadataByClassName(l))===null||h===void 0?void 0:h.properties;w==null||w.filter(function(D){return D.name!=="steps"}).filter(function(D){return D.name!=="configurationRef"}).forEach(function(D){switch(D.name){case"uri":g=D;break;case"expression":y=D;break;case"parameters":b=D;break;default:p.push(D)}})}return g&&p.unshift(g),y&&p.unshift(y),b&&p.push(b),p},a.getElementPropertiesByName=function(l){var c=t.CamelMetadataApi.getCamelModelMetadataByName(l);if(c)return o.getElementProperties(c.className);var f=t.CamelMetadataApi.getCamelLanguageMetadataByName(l);if(f)return o.getElementProperties(f.className);var h=t.CamelMetadataApi.getCamelDataFormatMetadataByName(l);return h?o.getElementProperties(h.className):[]},a.getParametersValue=function(l,c,f){if(l&&l.parameters)return l.parameters[c]},a.getElementChildrenDefinition=function(l){var c=[],f=t.CamelMetadataApi.getCamelModelMetadataByClassName(l);return f&&f.properties.filter(function(h){return h.isObject&&t.CamelMetadataApi.getCamelModelMetadataByClassName(h.type)}).forEach(function(h){return c.push(new s(h.name,h.type,h.isArray))}),n.CamelDefinitionApi.createStep(l,{}).hasSteps()&&c.push(new s("steps","CamelElement",!0)),c},a.getElementChildren=function(l,c){var f=[],h=l[c.name];return Array.isArray(h)?f.push.apply(f,h):h&&f.push(h),f},a}();return Nt.CamelDefinitionApiExt=r,Nt}var Tc;function Fa(){if(Tc)return Va;Tc=1;var t=si&&si.__assign||function(){return t=Object.assign||function(f){for(var h,p=1,g=arguments.length;p<g;p++){h=arguments[p];for(var y in h)Object.prototype.hasOwnProperty.call(h,y)&&(f[y]=h[y])}return f},t.apply(this,arguments)};Object.defineProperty(Va,"__esModule",{value:!0}),Va.CamelUtil=void 0;var e=Ke,i=ao(),n=v,s=la,r=lt,a=li,o=sl(),l=rl,c=function(){function f(){}var h;return h=f,f.cloneIntegration=function(p){var g,y,b,w=JSON.parse(JSON.stringify(p)),D=new e.Integration(t({},w)),O=[];return(g=D.spec.flows)===null||g===void 0||g.filter(function(M){return M.dslName!=="Beans"}).forEach(function(M){return O.push(i.CamelDefinitionApi.createStep(M.dslName,M))}),(y=D.spec.flows)===null||y===void 0||y.filter(function(M){return M.dslName==="Beans"}).forEach(function(M){var R=new e.Beans;M.beans.forEach(function(A){return R.beans.push(f.cloneBean(A))}),O.push(R)}),(b=D.spec.flows)===null||b===void 0||b.filter(function(M){return M.dslName==="RouteConfiguration"}).forEach(function(M){var R=f.cloneRouteConfiguration(M);O.push(R)}),D.spec.flows=O,D},f.cloneStep=function(p,g){g===void 0&&(g=!1);var y=JSON.parse(JSON.stringify(p,function(b,w){return g&&b==="uuid"?(0,l.v4)():w}));return i.CamelDefinitionApi.createStep(p.dslName,y,!0)},f.cloneBean=function(p){var g=JSON.parse(JSON.stringify(p)),y=new n.NamedBeanDefinition(g);return y.uuid=p.uuid,y},f.cloneRouteConfiguration=function(p){var g=JSON.parse(JSON.stringify(p)),y=new n.RouteConfigurationDefinition(g);return y.uuid=p.uuid,y},f.capitalizeName=function(p){try{return p[0].toUpperCase()+p.substring(1)}catch{return p}},f.camelizeName=function(p,g,y){if(p.length===0)return p;var b=p.split(g).map(function(w){return f.capitalizeName(w)}).join("");return y?b[0].toLowerCase()+b.substring(1):b},f.camelizeBody=function(p,g,y){var b;if(g&&Object.keys(g).length>0){var w=Object.keys(g)[0],D=f.camelizeName(w,"-",!0);return!y&&D===p?(b={},b[D]=g[w],b):g}else return{}},f.camelizeObject=function(p){if(Array.isArray(p)){var g=[];return p.forEach(function(b){typeof b=="object"?g.push(f.camelizeObject(b)):g.push(b)}),g}else{var y={};return p&&Object.keys(p).length>0&&Object.keys(p).forEach(function(b){var w=f.camelizeName(b,"-",!0);typeof p[b]=="object"||Array.isArray(p[b])?y[w]=f.camelizeObject(p[b]):y[w]=p[b]}),y}},f.isKameletComponent=function(p){if((p==null?void 0:p.dslName)==="KameletDefinition")return!0;if(p&&["FromDefinition","ToDefinition"].includes(p.dslName)){var g=p.uri;return g!==void 0&&g.startsWith("kamelet:")}else return!1},f.getKamelet=function(p){var g,y;if(p.dslName==="KameletDefinition")return s.KameletApi.findKameletByName(p.name||"");if(p.dslName==="ToDefinition"&&(!((g=p.uri)===null||g===void 0)&&g.startsWith("kamelet:"))){var b=(y=p.uri)===null||y===void 0?void 0:y.replace("kamelet:","");return s.KameletApi.findKameletByName(b)}else if(["FromDefinition","FromDefinition","ToDefinition"].includes(p.dslName)){var w=p.uri,D=w!==void 0?s.KameletApi.findKameletByUri(w):void 0;return D}else return},f.getKameletProperties=function(p){var g=h.getKamelet(p);return g?s.KameletApi.getKameletProperties(g==null?void 0:g.metadata.name):[]},f.getKameletRequiredParameters=function(p){var g=f.getKamelet(p);return g?g.spec.definition.required:[]},f.getComponentProperties=function(p){var g=p.dslName;r.ComponentApi.findByName(g);var y=p.uri,b=r.ComponentApi.getComponentNameFromUri(y);if(["ToDynamicDefinition"].includes(g)){var w=r.ComponentApi.findByName(g);return w?r.ComponentApi.getComponentProperties(w==null?void 0:w.component.name,"producer"):[]}else if(b){var D=r.ComponentApi.findByName(b);return D?r.ComponentApi.getComponentProperties(D==null?void 0:D.component.name,p.dslName==="FromDefinition"?"consumer":"producer"):[]}else return[]},f.checkRequired=function(p){var g,y=[!0,[]],b=p.dslName,w=a.CamelMetadataApi.getCamelModelMetadataByClassName(b);if(w===void 0&&b.endsWith("Expression")&&(w=a.CamelMetadataApi.getCamelLanguageMetadataByClassName(b)),w==null||w.properties.filter(function(A){return A.required}).forEach(function(A){var C=p[A.name];if(A.type==="string"&&!A.isArray&&(C===void 0||C.trim().length===0))y[0]=!1,y[1].push(A.displayName+" is required");else if(A.type==="ExpressionDefinition"){var S=a.CamelMetadataApi.getCamelModelMetadataByClassName("ExpressionDefinition"),k=!1;S==null||S.properties.forEach(function(P){var j=C[P.name];if(j){var L=h.checkRequired(j);L[0]&&(k=!0)}}),y[0]=k,k||y[1].push("Expression is not defined")}}),["FromDefinition","ToDefinition"].includes(b)){var D=h.isKameletComponent(p);if(!D)h.getComponentProperties(p).filter(function(A){return A.required}).forEach(function(A){var C=o.CamelDefinitionApiExt.getParametersValue(p,A.name,A.kind==="path");(C===void 0||A.type==="string"&&C.trim().length===0)&&(y[0]=!1,y[1].push(A.displayName+" is required"))});else{var O=h.getKamelet(p),M=!0,R=Object.keys(p.parameters);(g=O==null?void 0:O.spec.definition.required)===null||g===void 0||g.forEach(function(A){R.includes(A)||(M=!1,y[1].push(A+" is required"))}),y[0]=M}}return y},f.findPlaceholdersInObject=function(p,g){if(g===void 0&&(g=new Set),typeof p=="object")Object.keys(p).forEach(function(b){var w=p[b];if(Array.isArray(w))h.findPlaceholdersInArray(w,g);else if(typeof w=="object")h.findPlaceholdersInObject(w,g);else{var D=h.findPlaceholder(w.toString());D[0]&&D[1]&&g.add(D[1])}});else{var y=h.findPlaceholder(p.toString());y[0]&&y[1]&&g.add(y[1])}return g},f.findPlaceholdersInArray=function(p,g){return g===void 0&&(g=new Set),p!==void 0&&p.forEach(function(y){if(typeof y=="object")h.findPlaceholdersInObject(y,g);else{var b=h.findPlaceholder(y.toString());b[0]&&b[1]&&g.add(b[1])}}),g},f.findPlaceholder=function(p){var g=!1,y=void 0;if(p!==void 0){var b=p.trim();g=b.includes("{{")&&b.includes("}}");var w=b.search("{{")+2,D=b.search("}}");y=b.substring(w,D).trim()}return[g,y]},f}();return Va.CamelUtil=c,Va}var oe=Fa(),te=sl();function KD(t){if(t==="routes")return u.jsxs("svg",{className:"top-icon",width:"32px",height:"32px",viewBox:"0 0 32 32",id:"icon",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1{fill:none;}"})}),u.jsx("path",{d:"M29,10H24v2h5v6H22v2h3v2.142a4,4,0,1,0,2,0V20h2a2.0027,2.0027,0,0,0,2-2V12A2.0023,2.0023,0,0,0,29,10ZM28,26a2,2,0,1,1-2-2A2.0027,2.0027,0,0,1,28,26Z"}),u.jsx("path",{d:"M19,6H14V8h5v6H12v2h3v6.142a4,4,0,1,0,2,0V16h2a2.0023,2.0023,0,0,0,2-2V8A2.0023,2.0023,0,0,0,19,6ZM18,26a2,2,0,1,1-2-2A2.0027,2.0027,0,0,1,18,26Z"}),u.jsx("path",{d:"M9,2H3A2.002,2.002,0,0,0,1,4v6a2.002,2.002,0,0,0,2,2H5V22.142a4,4,0,1,0,2,0V12H9a2.002,2.002,0,0,0,2-2V4A2.002,2.002,0,0,0,9,2ZM8,26a2,2,0,1,1-2-2A2.0023,2.0023,0,0,1,8,26ZM3,10V4H9l.0015,6Z"}),u.jsx("rect",{id:"_Transparent_Rectangle_","data-name":"<Transparent Rectangle>",className:"cls-1",width:"32",height:"32"})]});if(t==="rest")return u.jsx("svg",{className:"top-icon",viewBox:"0 0 32 32",children:u.jsxs("g",{className:"layer",children:[u.jsx("title",{children:"Layer 1"}),u.jsx("path",{d:"m23.50007,22l-0.5,0l0,-2l0.5,0a4.4975,4.4975 0 0 0 0.3564,-8.981l-0.8154,-0.0639l-0.0986,-0.812a6.9938,6.9938 0 0 0 -13.8838,0l-0.0991,0.812l-0.8155,0.0639a4.4975,4.4975 0 0 0 0.356,8.981l0.5,0l0,2l-0.5,0a6.4973,6.4973 0 0 1 -1.3,-12.8638a8.9943,8.9943 0 0 1 17.6006,0a6.4974,6.4974 0 0 1 -1.3006,12.8638z",id:"svg_1"}),u.jsx("path",{d:"m22.9724,22.26637l0,-2l-2.1011,0a4.9678,4.9678 0 0 0 -0.7319,-1.7529l1.49,-1.49l-1.414,-1.414l-1.49,1.49a4.9678,4.9678 0 0 0 -1.753,-0.732l0,-2.1011l-2,0l0,2.1011a4.9678,4.9678 0 0 0 -1.7529,0.7319l-1.49,-1.49l-1.414,1.414l1.49,1.49a4.9678,4.9678 0 0 0 -0.732,1.753l-2.1011,0l0,2l2.1011,0a4.9678,4.9678 0 0 0 0.7319,1.7529l-1.49,1.49l1.414,1.414l1.49,-1.49a4.9678,4.9678 0 0 0 1.753,0.732l0,2.1011l2,0l0,-2.1011a4.9678,4.9678 0 0 0 1.7529,-0.7319l1.49,1.49l1.414,-1.414l-1.49,-1.49a4.9678,4.9678 0 0 0 0.732,-1.753l2.1011,0zm-7,2a3,3 0 1 1 3,-3a3.0033,3.0033 0 0 1 -3,3z",id:"svg_2",transform:"rotate(25 15.9724 21.2664)",xmlns:"http://www.w3.org/2000/svg"})]})});if(t==="beans")return u.jsxs("svg",{className:"top-icon",width:"32px",height:"32px",viewBox:"0 0 32 32",id:"icon",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1 {fill: none;}"})}),u.jsx("title",{children:"data--1"}),u.jsx("rect",{x:"15",y:"6",width:"13",height:"2"}),u.jsx("rect",{x:"15",y:"24",width:"13",height:"2"}),u.jsx("rect",{x:"4",y:"15",width:"13",height:"2"}),u.jsx("path",{d:"M7,11a4,4,0,1,1,4-4A4,4,0,0,1,7,11ZM7,5A2,2,0,1,0,9,7,2,2,0,0,0,7,5Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M7,29a4,4,0,1,1,4-4A4,4,0,0,1,7,29Zm0-6a2,2,0,1,0,2,2A2,2,0,0,0,7,23Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M25,20a4,4,0,1,1,4-4A4,4,0,0,1,25,20Zm0-6a2,2,0,1,0,2,2A2,2,0,0,0,25,14Z",transform:"translate(0 0)"}),u.jsx("g",{id:"_Transparent_Rectangle_","data-name":"<Transparent Rectangle>",children:u.jsx("rect",{className:"cls-1",width:"32",height:"32"})})]});if(t==="dependencies")return u.jsxs("svg",{className:"top-icon",width:"32px",height:"32px",viewBox:"0 0 32 32",id:"icon",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1 {fill: none;}"})}),u.jsx("title",{children:"application"}),u.jsx("path",{d:"M16,18H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4H16a2,2,0,0,1,2,2V16A2,2,0,0,1,16,18ZM6,6V16H16V6Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M26,12v4H22V12h4m0-2H22a2,2,0,0,0-2,2v4a2,2,0,0,0,2,2h4a2,2,0,0,0,2-2V12a2,2,0,0,0-2-2Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M26,22v4H22V22h4m0-2H22a2,2,0,0,0-2,2v4a2,2,0,0,0,2,2h4a2,2,0,0,0,2-2V22a2,2,0,0,0-2-2Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M16,22v4H12V22h4m0-2H12a2,2,0,0,0-2,2v4a2,2,0,0,0,2,2h4a2,2,0,0,0,2-2V22a2,2,0,0,0-2-2Z",transform:"translate(0 0)"}),u.jsx("g",{id:"_Transparent_Rectangle_","data-name":"<Transparent Rectangle>",children:u.jsx("rect",{className:"cls-1",width:"32",height:"32"})})]});if(t==="error")return u.jsxs("svg",{className:"top-icon",width:"36px",height:"36px",viewBox:"0 0 36 36",version:"1.1",preserveAspectRatio:"xMidYMid meet",children:[u.jsx("circle",{className:"clr-i-outline clr-i-outline-path-1",cx:"18",cy:"26.06",r:"1.33"}),u.jsx("path",{className:"clr-i-outline clr-i-outline-path-2",d:"M18,22.61a1,1,0,0,1-1-1v-12a1,1,0,1,1,2,0v12A1,1,0,0,1,18,22.61Z"}),u.jsx("path",{className:"clr-i-outline clr-i-outline-path-3",d:"M18,34A16,16,0,1,1,34,18,16,16,0,0,1,18,34ZM18,4A14,14,0,1,0,32,18,14,14,0,0,0,18,4Z"}),u.jsx("rect",{x:"0",y:"0",width:"36",height:"36",fillOpacity:"0"})]});if(t==="exception")return u.jsxs("svg",{className:"top-icon",width:"32px",height:"32px",viewBox:"0 0 32 32",id:"icon",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1{fill:none;}"})}),u.jsx("title",{children:"misuse--alt"}),u.jsx("polygon",{points:"21.41 23 16 17.591 10.59 23 9 21.41 14.409 16 9 10.591 10.591 9 16 14.409 21.409 9 23 10.591 17.591 16 23 21.41 21.41 23"}),u.jsx("path",{d:"M16,4A12,12,0,1,1,4,16,12.0136,12.0136,0,0,1,16,4m0-2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Z",transform:"translate(0)"}),u.jsx("rect",{id:"_Transparent_Rectangle_","data-name":"<Transparent Rectangle>",className:"cls-1",width:"32",height:"32"})]});if(t==="routeConfiguration")return u.jsxs("svg",{className:"top-icon",width:"32",height:"32",viewBox:"0 0 32 32",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1{fill:none;}"})}),u.jsx("path",{d:"M28.83 21.17L25 17.37l.67-.67a1 1 0 000-1.41l-6-6a1 1 0 00-1.41 0l-.79.79-6.76-6.79a1 1 0 00-1.41 0l-4 4-.12.15-4 6a1 1 0 00.12 1.26l3 3a1 1 0 001.42 0L10 13.41l2.09 2.09-4.8 4.79a1 1 0 000 1.41l2 2a1 1 0 00.71.3 1 1 0 00.52-.15l4.33-2.6 2.44 2.45a1 1 0 001.41 0l.67-.7 3.79 3.83a4 4 0 005.66-5.66zM10 10.58l-5 5-1.71-1.71 3.49-5.24L10 5.41l6.09 6.09-2.59 2.58zm8 11l-2.84-2.84-5 3-.74-.74L19 11.41 23.59 16zm9.42 3.83a2 2 0 01-2.83 0l-3.8-3.79 2.83-2.83 3.8 3.79a2 2 0 010 2.83z"}),u.jsx("path",{d:"M0 0H32V32H0z",className:"cls-1","data-name":"<Transparent Rectangle>"})]});if(t==="yaml")return u.jsxs("svg",{className:"top-icon",x:"0px",y:"0px",width:"32px",height:"32px",viewBox:"0 0 32 32",children:[u.jsx("style",{type:"text/css",children:".st0{fill:none;}"}),u.jsx("title",{children:"document"}),u.jsx("path",{d:"M25.7,9.3l-7-7C18.5,2.1,18.3,2,18,2H8C6.9,2,6,2.9,6,4v24c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V10C26,9.7,25.9,9.5,25.7,9.3 z M18,4.4l5.6,5.6H18V4.4z M24,28H8V4h8v6c0,1.1,0.9,2,2,2h6V28z"}),u.jsx("rect",{x:"10",y:"22",width:"12",height:"2"}),u.jsx("rect",{x:"10",y:"16",width:"12",height:"2"}),u.jsx("rect",{className:"st0",width:"32",height:"32"})]});if(t==="code")return u.jsxs("svg",{className:"top-icon",width:"32px",height:"32px",viewBox:"0 0 32 32",id:"icon",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1{fill:none;}"})}),u.jsx("title",{children:"code"}),u.jsx("polygon",{points:"31 16 24 23 22.59 21.59 28.17 16 22.59 10.41 24 9 31 16"}),u.jsx("polygon",{points:"1 16 8 9 9.41 10.41 3.83 16 9.41 21.59 8 23 1 16"}),u.jsx("rect",{x:"5.91",y:"15",width:"20.17",height:"2",transform:"translate(-3.6 27.31) rotate(-75)"}),u.jsx("rect",{id:"_Transparent_Rectangle_","data-name":"<Transparent Rectangle>",className:"cls-1",width:"32",height:"32",transform:"translate(0 32) rotate(-90)"})]})}class cO extends H.Component{render(){return u.jsxs("svg",{className:"icon",width:"32px",height:"32px",viewBox:"0 0 32 32",id:"icon",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1 {fill: none;}"})}),u.jsx("title",{children:"data--1"}),u.jsx("rect",{x:"15",y:"6",width:"13",height:"2"}),u.jsx("rect",{x:"15",y:"24",width:"13",height:"2"}),u.jsx("rect",{x:"4",y:"15",width:"13",height:"2"}),u.jsx("path",{d:"M7,11a4,4,0,1,1,4-4A4,4,0,0,1,7,11ZM7,5A2,2,0,1,0,9,7,2,2,0,0,0,7,5Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M7,29a4,4,0,1,1,4-4A4,4,0,0,1,7,29Zm0-6a2,2,0,1,0,2,2A2,2,0,0,0,7,23Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M25,20a4,4,0,1,1,4-4A4,4,0,0,1,25,20Zm0-6a2,2,0,1,0,2,2A2,2,0,0,0,25,14Z",transform:"translate(0 0)"}),u.jsx("g",{id:"_Transparent_Rectangle_","data-name":"<Transparent Rectangle>",children:u.jsx("rect",{className:"cls-1",width:"32",height:"32"})})]})}}class dO extends H.Component{render(){return u.jsxs("svg",{className:"icon",width:"32px",height:"32px",viewBox:"0 0 32 32",id:"icon",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1 {fill: none;}"})}),u.jsx("title",{children:"application"}),u.jsx("path",{d:"M16,18H6a2,2,0,0,1-2-2V6A2,2,0,0,1,6,4H16a2,2,0,0,1,2,2V16A2,2,0,0,1,16,18ZM6,6V16H16V6Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M26,12v4H22V12h4m0-2H22a2,2,0,0,0-2,2v4a2,2,0,0,0,2,2h4a2,2,0,0,0,2-2V12a2,2,0,0,0-2-2Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M26,22v4H22V22h4m0-2H22a2,2,0,0,0-2,2v4a2,2,0,0,0,2,2h4a2,2,0,0,0,2-2V22a2,2,0,0,0-2-2Z",transform:"translate(0 0)"}),u.jsx("path",{d:"M16,22v4H12V22h4m0-2H12a2,2,0,0,0-2,2v4a2,2,0,0,0,2,2h4a2,2,0,0,0,2-2V22a2,2,0,0,0-2-2Z",transform:"translate(0 0)"}),u.jsx("g",{id:"_Transparent_Rectangle_","data-name":"<Transparent Rectangle>",children:u.jsx("rect",{className:"cls-1",width:"32",height:"32"})})]})}}class fO extends H.Component{render(){return u.jsx("svg",{className:"icon",viewBox:"0 0 32 32",children:u.jsxs("g",{className:"layer",children:[u.jsx("title",{children:"Layer 1"}),u.jsx("path",{d:"m23.50007,22l-0.5,0l0,-2l0.5,0a4.4975,4.4975 0 0 0 0.3564,-8.981l-0.8154,-0.0639l-0.0986,-0.812a6.9938,6.9938 0 0 0 -13.8838,0l-0.0991,0.812l-0.8155,0.0639a4.4975,4.4975 0 0 0 0.356,8.981l0.5,0l0,2l-0.5,0a6.4973,6.4973 0 0 1 -1.3,-12.8638a8.9943,8.9943 0 0 1 17.6006,0a6.4974,6.4974 0 0 1 -1.3006,12.8638z",id:"svg_1"}),u.jsx("path",{d:"m22.9724,22.26637l0,-2l-2.1011,0a4.9678,4.9678 0 0 0 -0.7319,-1.7529l1.49,-1.49l-1.414,-1.414l-1.49,1.49a4.9678,4.9678 0 0 0 -1.753,-0.732l0,-2.1011l-2,0l0,2.1011a4.9678,4.9678 0 0 0 -1.7529,0.7319l-1.49,-1.49l-1.414,1.414l1.49,1.49a4.9678,4.9678 0 0 0 -0.732,1.753l-2.1011,0l0,2l2.1011,0a4.9678,4.9678 0 0 0 0.7319,1.7529l-1.49,1.49l1.414,1.414l1.49,-1.49a4.9678,4.9678 0 0 0 1.753,0.732l0,2.1011l2,0l0,-2.1011a4.9678,4.9678 0 0 0 1.7529,-0.7319l1.49,1.49l1.414,-1.414l-1.49,-1.49a4.9678,4.9678 0 0 0 0.732,-1.753l2.1011,0zm-7,2a3,3 0 1 1 3,-3a3.0033,3.0033 0 0 1 -3,3z",id:"svg_2",transform:"rotate(25 15.9724 21.2664)",xmlns:"http://www.w3.org/2000/svg"})]})})}}class uO extends H.Component{render(){return u.jsxs("svg",{className:"icon",width:"32px",height:"32px",viewBox:"0 0 32 32",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1 {fill: none;}"})}),u.jsx("title",{children:"concept"}),u.jsx("path",{d:"M20.8851,19.4711a5.9609,5.9609,0,0,0,0-6.9422L23,10.4141l1.293,1.2929a.9995.9995,0,0,0,1.414,0l4-4a.9994.9994,0,0,0,0-1.414l-4-4a.9994.9994,0,0,0-1.414,0l-4,4a.9994.9994,0,0,0,0,1.414L21.5859,9l-2.1148,2.1149a5.9609,5.9609,0,0,0-6.9422,0L10,8.5859V2H2v8H8.5859l2.529,2.5289a5.9609,5.9609,0,0,0,0,6.9422L9,21.5859,7.707,20.293a.9994.9994,0,0,0-1.414,0l-4,4a.9994.9994,0,0,0,0,1.414l4,4a.9995.9995,0,0,0,1.414,0l4-4a.9994.9994,0,0,0,0-1.414L10.4141,23l2.1148-2.1149a5.9609,5.9609,0,0,0,6.9422,0L22,23.4141V30h8V22H23.4141ZM25,4.4141,27.5859,7,25,9.5859,22.4141,7ZM7,27.5859,4.4141,25,7,22.4141,9.5859,25ZM8,8H4V4H8Zm4,8a4,4,0,1,1,4,4A4.0045,4.0045,0,0,1,12,16Zm12,8h4v4H24Z"}),u.jsx("rect",{id:"_Transparent_Rectangle_","data-name":"<Transparent Rectangle>",className:"cls-1",width:"32",height:"32"})]})}}function qD(){return u.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 700 700",className:"icon",children:[u.jsx("path",{d:"M496.2 417.71l-130.22 101.1c-.19.14-.39.29-.59.42a28.39 28.39 0 01-30.77 0c-.21-.13-.4-.28-.59-.42L203.8 417.71h292.4z"}),u.jsx("path",{d:"M516.1 426.23v202.1c0 4.12-3.34 7.46-7.45 7.46H191.36c-4.11 0-7.46-3.34-7.46-7.46V426.22l138.52 107.53c.68.53 1.31.98 1.94 1.38 7.79 5.04 16.72 7.55 25.66 7.55s17.86-2.52 25.66-7.55c.62-.4 1.25-.85 1.94-1.38l138.5-107.52zM247.14 358.45l-12.91 30.22-.03.06v.03c-.11.21-.21.43-.32.64s-.23.42-.36.61c-.08.14-.17.27-.27.4-.08.11-.16.21-.24.31-.1.13-.21.25-.31.36-.08.09-.16.18-.24.25-.05.06-.1.11-.16.15l-.27.25c-.17.15-.33.29-.51.42-.15.13-.3.23-.47.33-.19.13-.39.25-.59.36s-.42.22-.63.31c-.22.1-.44.18-.66.26-.25.09-.49.17-.75.23-.2.05-.4.09-.61.13-.72.12-1.46.15-2.2.08-.19-.01-.36-.04-.55-.07-.04 0-.08-.02-.11-.02l-32.43-5.52a8.494 8.494 0 01-6.95-9.81 8.5 8.5 0 019.81-6.95l15.17 2.58-34.61-63.46a8.494 8.494 0 013.39-11.53c4.12-2.25 9.28-.73 11.53 3.39l34.61 63.46 6.04-14.15a8.508 8.508 0 0111.16-4.48c4.31 1.85 6.32 6.84 4.48 11.16zM452.86 358.45l12.91 30.22.03.06v.03c.11.21.21.43.32.64s.23.42.36.61c.08.14.17.27.27.4.08.11.16.21.24.31.1.13.21.25.31.36.08.09.16.18.24.25.05.06.1.11.16.15l.27.25c.17.15.33.29.51.42.15.13.3.23.47.33.19.13.39.25.59.36s.42.22.63.31c.22.1.44.18.66.26.25.09.49.17.75.23.2.05.4.09.61.13.72.12 1.46.15 2.2.08.19-.01.36-.04.55-.07.04 0 .08-.02.11-.02l32.43-5.52a8.494 8.494 0 006.95-9.81 8.5 8.5 0 00-9.81-6.95l-15.17 2.58 34.61-63.46c2.25-4.13.73-9.28-3.39-11.53s-9.28-.73-11.53 3.39l-34.61 63.46-6.04-14.15a8.508 8.508 0 00-11.16-4.48c-4.31 1.85-6.32 6.84-4.48 11.16zM260.53 145.6l-76.07 57.24c-5.52 4.16-13.24 4.16-18.76 0L89.62 145.6h170.91z"}),u.jsx("path",{d:"M277.46 154.15V264.2c0 5.52-4.48 10-10 10H82.69c-5.52 0-10-4.48-10-10V154.14l82.79 62.29c5.77 4.34 12.69 6.51 19.6 6.51s13.83-2.17 19.6-6.51l82.78-62.28z"}),u.jsxs("g",{children:[u.jsx("path",{d:"M610.57 145.6l-76.07 57.24c-5.52 4.16-13.24 4.16-18.76 0l-76.08-57.24h170.91z"}),u.jsx("path",{d:"M627.5 154.15V264.2c0 5.52-4.48 10-10 10H432.73c-5.52 0-10-4.48-10-10V154.14l82.79 62.29c5.77 4.34 12.69 6.51 19.6 6.51s13.83-2.17 19.6-6.51l82.78-62.28z"})]})]})}function $D(){return u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 700 700",className:"icon",children:u.jsx("path",{d:"M407.33 113.97V609.2c0 2.75-1.9 5-4.22 5H291.55c-2.33 0-4.22-2.25-4.22-5V113.97c0-2.76 1.89-5 4.22-5h111.56c2.32 0 4.22 2.24 4.22 5zM27.1 437.55l60.87-57.64c.95-.9 2.32-1.41 3.76-1.41H258.2c2.76 0 5 1.87 5 4.17v111.65c0 2.3-2.24 4.17-5 4.17H91.54c-1.38 0-2.7-.48-3.65-1.32L27.2 443.15c-1.77-1.58-1.81-3.99-.1-5.61zM667.57 285.62l-60.87 57.64c-.95.9-2.32 1.41-3.76 1.41H436.47c-2.76 0-5-1.87-5-4.17V228.85c0-2.3 2.24-4.17 5-4.17h166.66c1.38 0 2.7.48 3.65 1.32l60.69 54.02c1.77 1.58 1.81 3.99.1 5.61z"})})}function YD(){return u.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 700 700",className:"icon",children:[u.jsx("path",{d:"M496.2 83.65l-130.22 101.1c-.19.14-.39.29-.59.42a28.39 28.39 0 01-30.77 0c-.21-.13-.4-.28-.59-.42L203.8 83.65h292.4z"}),u.jsx("path",{d:"M516.1 92.17v202.1c0 4.12-3.34 7.46-7.45 7.46H191.36c-4.11 0-7.46-3.34-7.46-7.46V92.16l138.52 107.53c.68.53 1.31.98 1.94 1.38 7.79 5.04 16.72 7.55 25.66 7.55s17.86-2.52 25.66-7.55c.62-.4 1.25-.85 1.94-1.38l138.5-107.52zM524.34 397.22l-12.91 30.22-.03.06v.03c-.11.21-.21.43-.32.64s-.23.42-.36.61c-.08.14-.17.27-.27.4-.08.11-.16.21-.24.31-.1.13-.21.25-.31.36-.08.09-.16.18-.24.25-.05.06-.1.11-.16.15l-.27.25c-.17.15-.33.29-.51.42-.15.13-.3.23-.47.33-.19.13-.39.25-.59.36s-.42.22-.63.31c-.22.1-.44.18-.66.26-.25.09-.49.17-.75.23-.2.05-.4.09-.61.13-.72.12-1.46.15-2.2.08-.19-.01-.36-.04-.55-.07-.04 0-.08-.02-.11-.02l-32.43-5.52a8.494 8.494 0 01-6.95-9.81 8.5 8.5 0 019.81-6.95l15.17 2.58-34.61-63.46a8.494 8.494 0 013.39-11.53c4.12-2.25 9.28-.73 11.53 3.39l34.61 63.46 6.04-14.15a8.508 8.508 0 0111.16-4.48c4.31 1.85 6.32 6.84 4.48 11.16zM175.66 399.19l12.91 30.22.03.06v.03c.11.21.21.43.32.64s.23.42.36.61c.08.14.17.27.27.4.08.11.16.21.24.31.1.13.21.25.31.36.08.09.16.18.24.25.05.06.1.11.16.15l.27.25c.17.15.33.29.51.42.15.13.3.23.47.33.19.13.39.25.59.36s.42.22.63.31c.22.1.44.18.66.26.25.09.49.17.75.23.2.05.4.09.61.13.72.12 1.46.15 2.2.08.19-.01.36-.04.55-.07.04 0 .08-.02.11-.02l32.43-5.52a8.494 8.494 0 006.95-9.81 8.5 8.5 0 00-9.81-6.95l-15.17 2.58 34.61-63.46c2.25-4.13.73-9.28-3.39-11.53s-9.28-.73-11.53 3.39l-34.61 63.46-6.04-14.15a8.508 8.508 0 00-11.16-4.48c-4.31 1.85-6.32 6.84-4.48 11.16zM260.43 467.71l-76.07 57.24c-5.52 4.16-13.24 4.16-18.76 0l-76.08-57.24h170.91z"}),u.jsx("path",{d:"M277.36 476.26v110.05c0 5.52-4.48 10-10 10H82.59c-5.52 0-10-4.48-10-10V476.25l82.79 62.29c5.77 4.34 12.69 6.51 19.6 6.51s13.83-2.17 19.6-6.51l82.78-62.28z"}),u.jsxs("g",{children:[u.jsx("path",{d:"M610.48 467.71l-76.07 57.24c-5.52 4.16-13.24 4.16-18.76 0l-76.08-57.24h170.91z"}),u.jsx("path",{d:"M627.41 476.26v110.05c0 5.52-4.48 10-10 10H432.64c-5.52 0-10-4.48-10-10V476.25l82.79 62.29c5.77 4.34 12.69 6.51 19.6 6.51s13.83-2.17 19.6-6.51l82.78-62.28z"})]})]})}function ZD(){return u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 700 700",className:"icon",children:u.jsx("path",{d:"M626.41 255.77c-.56-4.77-2.95-9.03-6.71-11.99l-46.46-36.64-1.06-1.09-.8-.28c-.81-.52-1.67-.98-2.56-1.36-.43-.19-.85-.36-1.25-.5-.47-.16-.96-.31-1.51-.45-.47-.11-.96-.22-1.45-.3-.49-.08-.97-.14-1.43-.18-.96-.08-1.95-.08-2.91-.01-.41.03-.83.08-1.23.14-.41.06-.82.14-1.25.23l-.58.14c-.1.03-.2.05-.31.08-.11.03-.21.06-.3.09-.29.08-.57.18-.86.28-.49.17-.99.37-1.53.61l-.16.08c-.32.15-.65.31-.97.49-.49.26-.93.53-1.34.81-.39.26-.76.52-1.12.8l-46.96 37.05a17.823 17.823 0 00-6.72 12c-.57 4.77.76 9.47 3.72 13.21 3.42 4.36 8.56 6.86 14.12 6.86 4.01 0 7.96-1.37 11.12-3.87l17.82-14.05V438.9c0 25.31-10.5 49.83-28.8 67.29-18.09 17.26-41.65 26.13-66.35 24.99-47.06-2.21-84.23-39.8-86.39-86.44 20.51-3.9 39.27-14.42 53.46-30.11 16.07-17.77 24.91-40.72 24.91-64.63s-8.84-46.86-24.91-64.63c-14.24-15.74-33.09-26.28-53.7-30.15-1.52-32.97-15.83-64.54-39.77-87.4-25.27-24.1-58.24-36.49-92.84-34.88-67.7 3.16-120.74 58.77-120.74 126.63l.46 174.43c-20.98 7.36-35.58 27.43-35.58 50.14 0 29.27 23.81 53.08 53.08 53.08s53.09-23.81 53.09-53.08c0-22.71-14.6-42.79-35.59-50.14l.46-174.45c0-48.61 37.99-88.46 86.49-90.73 24.71-1.15 48.28 7.73 66.36 24.99 16.9 16.13 27.14 38.27 28.61 61.47-20.48 3.92-39.21 14.43-53.38 30.09-16.07 17.77-24.92 40.72-24.92 64.63s8.85 46.86 24.92 64.63c14.23 15.73 33.06 26.27 53.64 30.14 2.2 65.86 54.41 119.19 120.65 122.28 1.86.09 3.82.14 6 .14 32.35 0 63.19-12.44 86.84-35.02 25.37-24.21 39.91-58.2 39.91-93.27V257.92l17.82 14.06c7.78 6.13 19.09 4.79 25.22-2.98 2.98-3.76 4.31-8.46 3.74-13.23zm-290.7 132.81c-3.31 0-6.49-1.32-8.83-3.66l-24.76-24.75c-4.88-4.89-4.88-12.8 0-17.68 4.88-4.88 12.8-4.88 17.68 0l15.91 15.91 39.92-39.91c4.88-4.88 12.79-4.88 17.68 0 4.88 4.88 4.88 12.79 0 17.68l-48.76 48.75a12.504 12.504 0 01-8.84 3.66z"})})}function QD(){return u.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",id:"a",viewBox:"0 0 700 700",className:"icon",children:u.jsx("path",{d:"M565.62 156.56L413.36 350.33a10.032 10.032 0 00-2.14 6.18v190.52c0 19.05-25.01 34.49-55.86 34.49s-55.86-15.44-55.86-34.49V356.51c0-2.24-.75-4.42-2.14-6.18L145.1 156.56c-5.15-6.56-.48-16.18 7.87-16.18h404.79c8.34 0 13.02 9.62 7.86 16.18z"})})}function ex(){return u.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 700 700",className:"icon",children:[u.jsx("defs",{children:u.jsx("style",{children:".b{stroke-linejoin: round;}.b,.c {stroke-linecap: round;}.b,.c,.d {fill: none;stroke: #000;stroke-width: 35px;}.c,.d {stroke-miterlimit: 10;}"})}),u.jsx("path",{d:"M160.63 168.63L160.63 531.37",className:"d"}),u.jsx("path",{d:"M576.31 170.27L269.3 170.27",className:"c"}),u.jsx("path",{d:"M517.53 290.64L269.3 290.64",className:"c"}),u.jsx("path",{d:"M458.75 411L269.3 411",className:"c"}),u.jsx("path",{d:"M399.97 531.37L269.3 531.37",className:"c"}),u.jsx("path",{d:"M197.7 197.95L160.63 168.71 123.55 197.95",className:"b"}),u.jsx("path",{d:"M123.55 502.12L160.62 531.37 197.7 502.12",className:"b"})]})}function ix(){return u.jsxs("svg",{className:"icon",width:"32px",height:"32px",xmlns:"http://www.w3.org/2000/svg",id:"icon",fill:"#000",viewBox:"0 0 32 32",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1 { fill: none; }"})}),u.jsx("path",{d:"M22 26.59L19.41 24 18 25.41 22 29.41 30 21.41 28.59 20 22 26.59z"}),u.jsx("circle",{cx:"16",cy:"16",r:"2"}),u.jsx("path",{d:"M16 22a6 6 0 116-6 6.007 6.007 0 01-6 6zm0-10a4 4 0 104 4 4.005 4.005 0 00-4-4z"}),u.jsx("path",{d:"M28 16a12 12 0 10-12 12v-2a10 10 0 1110-10z"}),u.jsx("path",{id:"_Transparent_Rectangle_",d:"M0 0H32V32H0z",className:"cls-1","data-name":"<Transparent Rectangle>"})]})}function tx(){return u.jsxs("svg",{className:"icon",width:"32px",height:"32px",xmlns:"http://www.w3.org/2000/svg",id:"icon",fill:"#000",viewBox:"0 0 32 32",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1 { fill: none; }"})}),u.jsx("path",{d:"M15 4H17V28H15z"}),u.jsx("path",{d:"M10 7v18H4V7h6m0-2H4a2 2 0 00-2 2v18a2 2 0 002 2h6a2 2 0 002-2V7a2 2 0 00-2-2zM28 7v18h-6V7h6m0-2h-6a2 2 0 00-2 2v18a2 2 0 002 2h6a2 2 0 002-2V7a2 2 0 00-2-2z"}),u.jsx("path",{id:"_Transparent_Rectangle_",d:"M0 0H32V32H0z",className:"cls-1","data-name":"<Transparent Rectangle>"})]})}function ax(){return u.jsxs("svg",{className:"icon",width:"32px",height:"32px",xmlns:"http://www.w3.org/2000/svg",id:"icon",fill:"#000",viewBox:"0 0 32 32",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1 { fill: none; }"})}),u.jsx("path",{d:"M26 30H14a2 2 0 01-2-2v-3h2v3h12V4H14v3h-2V4a2 2 0 012-2h12a2 2 0 012 2v24a2 2 0 01-2 2z"}),u.jsx("path",{d:"M14.59 20.59L18.17 17 4 17 4 15 18.17 15 14.59 11.41 16 10 22 16 16 22 14.59 20.59z"}),u.jsx("path",{id:"_Transparent_Rectangle_",d:"M0 0H32V32H0z",className:"cls-1","data-name":"<Transparent Rectangle>"})]})}function nx(){return u.jsxs("svg",{className:"icon",width:"32px",height:"32px",xmlns:"http://www.w3.org/2000/svg",id:"icon",fill:"#000",viewBox:"0 0 32 32",children:[u.jsx("defs",{children:u.jsx("style",{children:".cls-1 { fill: none; }"})}),u.jsx("path",{d:"M6 30h12a2.002 2.002 0 002-2v-3h-2v3H6V4h12v3h2V4a2.002 2.002 0 00-2-2H6a2.002 2.002 0 00-2 2v24a2.002 2.002 0 002 2z"}),u.jsx("path",{d:"M20.586 20.586L24.172 17 10 17 10 15 24.172 15 20.586 11.414 22 10 28 16 22 22 20.586 20.586z"}),u.jsx("path",{id:"_Transparent_Rectangle_",d:"M0 0H32V32H0z",className:"cls-1","data-name":"<Transparent Rectangle>"})]})}const rx=["AggregateDefinition","BeanDefinition","ChoiceDefinition","CircuitBreakerDefinition","ClaimCheckDefinition","ConvertBodyDefinition","DelayDefinition","DynamicRouterDefinition","EnrichDefinition","FilterDefinition","IdempotentConsumerDefinition","LogDefinition","LoopDefinition","MarshalDefinition","MulticastDefinition","PausableDefinition","PollEnrichDefinition","ProcessDefinition","RecipientListDefinition","RemoveHeaderDefinition","RemoveHeadersDefinition","RemovePropertiesDefinition","RemovePropertyDefinition","ResumableDefinition","ResequenceDefinition","RoutingSlipDefinition","SamplingDefinition","SagaDefinition","SetBodyDefinition","SetHeaderDefinition","SetPropertyDefinition","SortDefinition","ScriptDefinition","SplitDefinition","StepDefinition","StopDefinition","ThreadsDefinition","ThrottleDefinition","ThrowExceptionDefinition","ToDefinition","ToDynamicDefinition","TransformDefinition","TransactedDefinition","TryDefinition","UnmarshalDefinition","ValidateDefinition","WireTapDefinition"],Fc="data:image/svg+xml,%3Csvg viewBox='0 0 130.21 130.01' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='333.48' x2='477' y1='702.6' y2='563.73' gradientTransform='translate(94.038 276.06) scale(.99206)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23F69923' offset='0'/%3E%3Cstop stop-color='%23F79A23' offset='.11'/%3E%3Cstop stop-color='%23E97826' offset='.945'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='333.48' x2='477' y1='702.6' y2='563.73' gradientTransform='translate(94.038 276.06) scale(.99206)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23F69923' offset='0'/%3E%3Cstop stop-color='%23F79A23' offset='.08'/%3E%3Cstop stop-color='%23E97826' offset='.419'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='633.55' x2='566.47' y1='814.6' y2='909.12' gradientTransform='translate(-85.421 56.236)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23f6e423' offset='0'/%3E%3Cstop stop-color='%23F79A23' offset='.412'/%3E%3Cstop stop-color='%23E97826' offset='.733'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(-437.89 -835.29)'%3E%3Ccircle cx='503.1' cy='900.29' r='62.52' fill='url(%23a)' stroke='url(%23b)' stroke-linejoin='round' stroke-width='4.96'/%3E%3Cpath d='M487.89 873.64a89.53 89.53 0 0 0-2.688.031c-1.043.031-2.445.362-4.062.906 27.309 20.737 37.127 58.146 20.25 90.656.573.015 1.142.063 1.719.063 30.844 0 56.62-21.493 63.28-50.312-19.572-22.943-46.117-41.294-78.5-41.344z' fill='url(%23c)' opacity='.75'/%3E%3Cpath d='M481.14 874.58c-9.068 3.052-26.368 13.802-43 28.156 1.263 34.195 28.961 61.607 63.25 62.5 16.877-32.51 7.06-69.919-20.25-90.656z' fill='%2328170b' opacity='.75'/%3E%3Cpath d='M504.889 862.546c-.472-.032-.932.028-1.375.25-5.6 2.801 0 14 0 14-16.807 14.009-13.236 37.938-32.844 37.938-10.689 0-21.322-12.293-32.531-19.812-.144 1.773-.25 3.564-.25 5.375 0 24.515 13.51 45.863 33.469 57.063 5.583-.703 11.158-2.114 15.344-4.906 21.992-14.662 27.452-42.557 36.438-56.031 5.596-8.407 31.824-7.677 33.594-11.22 2.804-5.601-5.602-14-8.406-14h-22.406c-1.566 0-4.025-2.78-5.594-2.78h-8.406s-3.725-5.65-7.031-5.875z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E",Oc="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32px' height='32px' viewBox='0 0 32 32' id='icon'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Efog%3C/title%3E%3Cpath d='M25.8289,13.1155A10.02,10.02,0,0,0,16,5.0005V7a8.0233,8.0233,0,0,1,7.8649,6.4934l.2591,1.346,1.3488.2441A5.5019,5.5019,0,0,1,24.5076,26H16v2h8.5076a7.5019,7.5019,0,0,0,1.3213-14.8845Z'/%3E%3Crect x='8' y='24' width='6' height='2'/%3E%3Crect x='4' y='24' width='2' height='2'/%3E%3Crect x='6' y='20' width='8' height='2'/%3E%3Crect x='2' y='20' width='2' height='2'/%3E%3Crect x='8' y='16' width='6' height='2'/%3E%3Crect x='4' y='16' width='2' height='2'/%3E%3Crect x='10' y='12' width='4' height='2'/%3E%3Crect x='6' y='12' width='2' height='2'/%3E%3Crect x='12' y='8' width='2' height='2'/%3E%3Crect id='_Transparent_Rectangle_' data-name='<Transparent Rectangle>' class='cls-1' width='32' height='32'/%3E%3C/svg%3E";class Zu{constructor(e,i){this.componentName="",this.name="",this.componentName=e,this.name=i}}const J=class J{};J.getSelectorModelTypes=(e,i=!0,n=void 0)=>{const s=J.getSelectorModelsForParent(e,i).map(o=>o.navigation.split(",")).reduce((o,l)=>o.concat(l),[]).filter((o,l,c)=>c.findIndex(f=>f===o)===l).filter((o,l,c)=>!["dataformat"].includes(o));return["routing","transformation","error","configuration","endpoint","kamelet","component"].filter(o=>s.includes(o)).map(o=>[o,J.getSelectorModelsForParentFiltered(e,o,!0).filter(l=>n===void 0?!0:J.checkFilter(l,n)).length])},J.checkFilter=(e,i=void 0)=>i!==void 0&&i!==""?e.title.toLowerCase().includes(i.toLowerCase())||e.description.toLowerCase().includes(i.toLowerCase()):!0,J.dslHasSteps=e=>te.CamelDefinitionApiExt.getElementChildrenDefinition(e).filter(i=>i.name==="steps").length===1,J.getSelectorRestMethodModels=()=>["GetDefinition","PostDefinition","PutDefinition","PatchDefinition","DeleteDefinition","HeadDefinition"].map(e=>J.getDslMetaModel(e)),J.getSelectorModelsForParentFiltered=(e,i,n=!0)=>J.getSelectorModelsForParent(e,n).filter(r=>r.navigation.includes(i)),J.getSelectorModelsForParent=(e,i=!0)=>{const n=[];return e?i?(e&&te.CamelDefinitionApiExt.getElementChildrenDefinition(e).filter(s=>s.name==="steps").length>0&&rx.forEach(s=>{n.push(J.getDslMetaModel(s))}),n.push(...J.getComponentsDslMetaModel("producer")),n.push(...J.getKameletDslMetaModel("action")),n.push(...J.getKameletDslMetaModel("sink"))):te.CamelDefinitionApiExt.getElementChildrenDefinition(e).filter(r=>r.name!=="steps").filter(r=>{const a=te.CamelDefinitionApiExt.getElementChildrenDefinition(r.className);return r.name==="steps"||a.filter(o=>o.multiple).length>0}).forEach(r=>n.push(J.getDslMetaModel(r.className))):(n.push(...J.getComponentsDslMetaModel("consumer")),n.push(...J.getKameletDslMetaModel("source"))),n.length>1?n.sort((s,r)=>{var a,o;return((a=s.title)==null?void 0:a.toLowerCase())>((o=r.title)==null?void 0:o.toLowerCase())?1:-1}):[]},J.getDslMetaModel=e=>{const i=li.CamelMetadataApi.getCamelModelMetadataByClassName(e);return new Fo({dsl:e,name:i==null?void 0:i.name,title:i==null?void 0:i.title,description:i==null?void 0:i.description,labels:i==null?void 0:i.labels,navigation:i==null?void 0:i.labels,type:"DSL"})},J.getComponentsDslMetaModel=e=>lt.ComponentApi.getComponents().filter(i=>e==="consumer"?!i.component.producerOnly:!i.component.consumerOnly).map(i=>new Fo({dsl:e==="consumer"?"FromDefinition":"ToDefinition",uri:i.component.name,navigation:"component",labels:i.component.label,type:e==="consumer"?"consumer":"producer",title:i.component.title,description:i.component.description,version:i.component.version,supportLevel:i.component.supportLevel,supportType:i.component.supportType})),J.getKameletDslMetaModel=e=>la.KameletApi.getKamelets().filter(i=>i.metadata.labels["camel.apache.org/kamelet.type"]===e).map(i=>{const s=i.description().split(`
|
|
42
|
+
`).at(0);return new Fo({dsl:e==="source"?"FromDefinition":"ToDefinition",uri:"kamelet:"+i.metadata.name,labels:i.type(),navigation:"kamelet",type:i.type(),name:i.metadata.name,title:i.title(),description:s,version:i.version(),supportLevel:i.metadata.annotations["camel.apache.org/kamelet.support.level"]})}),J.nameFromTitle=e=>e.replace(/[^a-z0-9+]+/gi,"-").toLowerCase(),J.javaNameFromTitle=e=>J.nameFromTitle(e).split("-").map(n=>oe.CamelUtil.capitalizeName(n)).join(""),J.isActionKamelet=e=>{const i=oe.CamelUtil.getKamelet(e);return i?i.type()==="action":!1},J.hasInternalUri=e=>J.hasDirectUri(e)||J.hasSedaUri(e),J.hasDirectUri=e=>J.hasUriStartWith(e,"direct"),J.hasSedaUri=e=>J.hasUriStartWith(e,"seda"),J.hasUriStartWith=(e,i)=>{if(e.uri&&typeof e.uri=="string")return e.uri.startsWith(i);if(e.dslName==="SagaDefinition"){const n=e.completion||"",s=e.compensation||"";return n.startsWith(i)||s.startsWith(i)}else return!1},J.getInternalRouteUris=(e,i,n=!0)=>{var r;const s=[];return(r=e.spec.flows)==null||r.filter(a=>a.dslName==="RouteDefinition").filter(a=>a.from.uri.startsWith(i)).forEach(a=>{const o=a.from.uri,l=a.from.parameters.name;n?s.push(o+":"+l):s.push(l)}),s},J.getElementTitle=e=>{var i;if(e.dslName==="RouteDefinition"){const n=e.id;return n||oe.CamelUtil.capitalizeName(e.stepName)}else if(["ToDefinition","ToDynamicDefinition","FromDefinition","KameletDefinition"].includes(e.dslName)&&e.uri){const n=e.uri,s=n&&n.startsWith("kamelet:")?(i=la.KameletApi.findKameletByUri(n))==null?void 0:i.title():void 0;return s||oe.CamelUtil.capitalizeName(lt.ComponentApi.getComponentTitleFromUri(n)||"")}else{const n=li.CamelMetadataApi.getCamelModelMetadataByClassName(e.dslName);return n?n.title:oe.CamelUtil.capitalizeName(e.stepName)}},J.getTitle=e=>{const i=oe.CamelUtil.getKamelet(e);if(i)return i.title();if(e.dslName==="RouteDefinition"){const n=e.id;return n||oe.CamelUtil.capitalizeName(e.stepName)}else if(e.uri&&e.dslName==="ToDefinition"){const n=e.uri;return lt.ComponentApi.getComponentTitleFromUri(n)||""}else{const n=li.CamelMetadataApi.getCamelModelMetadataByClassName(e.dslName);return n?n.title:oe.CamelUtil.capitalizeName(e.stepName)}},J.getDescription=e=>{var n;const i=oe.CamelUtil.getKamelet(e);if(i)return i.spec.definition.description;if(e.uri&&e.dslName==="ToDefinition"){const s=e.uri;return lt.ComponentApi.getComponentDescriptionFromUri(s)||""}else{const s=(n=li.CamelMetadataApi.getCamelModelMetadataByClassName(e.dslName))==null?void 0:n.description;return s||J.getTitle(e)}},J.getOutgoingTitle=e=>{const i=oe.CamelUtil.getKamelet(e);if(i)return i.title();if(e.dslName==="RouteDefinition"){const n=e.id;return n||oe.CamelUtil.capitalizeName(e.stepName)}else if(e.uri){const n=e.uri;return lt.ComponentApi.getComponentTitleFromUri(n)||n}else return""},J.isShowExpressionTooltip=e=>{var i;if(e.hasOwnProperty("expression")){const n=te.CamelDefinitionApiExt.getExpressionValue(e.expression);return n!==void 0&&((i=n==null?void 0:n.expression)==null?void 0:i.trim().length)>0}return!1},J.isShowUriTooltip=e=>{const i=e.uri;return i!==void 0&&!i.startsWith("kamelet")?lt.ComponentApi.getComponentNameFromUri(i)!==i:!1},J.getExpressionTooltip=e=>{const i=e.expression,n=te.CamelDefinitionApiExt.getExpressionLanguageName(i)||"",s=te.CamelDefinitionApiExt.getExpressionValue(i)||"";return n.concat(": ",s==null?void 0:s.expression)},J.getUriTooltip=e=>e.uri,J.getKameletIconByUri=e=>{var i;return e&&((i=la.KameletApi.findKameletByUri(e))==null?void 0:i.icon())||""},J.getKameletIconByName=e=>{var i;return e&&((i=la.KameletApi.findKameletByName(e))==null?void 0:i.icon())||""},J.getIconSrcForName=e=>{switch(e){case"FilterDefinition":return"data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='filter' class='svg-inline--fa fa-filter fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z'%3E%3C/path%3E%3C/svg%3E";case"OtherwiseDefinition":return"data:image/svg+xml,%0A%3Csvg width='32px' height='32px' viewBox='0 0 32 32' id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; %7D %3C/style%3E%3C/defs%3E%3Crect x='12' y='24' width='9' height='2'/%3E%3Crect x='13' y='28' width='6' height='2'/%3E%3Cpath d='M8.7832,18.9746l1.4177-1.418A6.9206,6.9206,0,0,1,8,12,7.99,7.99,0,0,1,21.5273,6.2305l1.4136-1.4136A9.9884,9.9884,0,0,0,6,12,8.9411,8.9411,0,0,0,8.7832,18.9746Z' transform='translate(0 0)'/%3E%3Cpath d='M30,3.4141,28.5859,2,2,28.5859,3.4141,30,23.6606,9.7534A7.7069,7.7069,0,0,1,24,12a7.2032,7.2032,0,0,1-2.8223,6.1426C20.1069,19.1348,19,20.1611,19,22h2c0-.9194.5264-1.45,1.5352-2.3857A9.193,9.193,0,0,0,26,12a9.8739,9.8739,0,0,0-.7764-3.81Z' transform='translate(0 0)'/%3E%3Crect id='_Transparent_Rectangle_' data-name='<Transparent Rectangle>' class='cls-1' width='32' height='32'/%3E%3C/svg%3E";case"ChoiceDefinition":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16px' height='16px' viewBox='0 0 16 16' fill='currentColor' class='bi bi-signpost-split-fill'%3E%3Cpath d='M7 16h2V6h5a1 1 0 0 0 .8-.4l.975-1.3a.5.5 0 0 0 0-.6L14.8 2.4A1 1 0 0 0 14 2H9v-.586a1 1 0 0 0-2 0V7H2a1 1 0 0 0-.8.4L.225 8.7a.5.5 0 0 0 0 .6l.975 1.3a1 1 0 0 0 .8.4h5v5z'/%3E%3C/svg%3E";case"WhenDefinition":return"data:image/svg+xml,%0A%3Csvg width='32px' height='32px' viewBox='0 0 32 32' id='icon' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Eidea%3C/title%3E%3Crect x='11' y='24' width='10' height='2'/%3E%3Crect x='13' y='28' width='6' height='2'/%3E%3Cpath d='M16,2A10,10,0,0,0,6,12a9.19,9.19,0,0,0,3.46,7.62c1,.93,1.54,1.46,1.54,2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2,7.2,0,0,1,8,12a8,8,0,0,1,16,0,7.2,7.2,0,0,1-2.82,6.14c-1.07,1-2.18,2-2.18,3.86h2c0-.92.53-1.45,1.54-2.39A9.18,9.18,0,0,0,26,12,10,10,0,0,0,16,2Z' transform='translate(0 0)'/%3E%3Crect id='_Transparent_Rectangle_' data-name='<Transparent Rectangle>' class='cls-1' width='32' height='32'/%3E%3C/svg%3E";case"AggregateDefinition":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='icon' x='0px' y='0px' width='32px' height='32px' viewBox='0 0 32 32' style='enable-background:new 0 0 32 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D%0A%3C/style%3E%3Cpath d='M16,4c6.6,0,12,5.4,12,12s-5.4,12-12,12S4,22.6,4,16S9.4,4,16,4 M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14 S23.7,2,16,2z'/%3E%3Cpolygon points='24,15 17,15 17,8 15,8 15,15 8,15 8,17 15,17 15,24 17,24 17,17 24,17 '/%3E%3Crect id='_Transparent_Rectangle_' class='st0' width='32' height='32'/%3E%3C/svg%3E";case"SplitDefinition":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32px' height='32px' viewBox='0 0 32 32' id='icon'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; %7D %3C/style%3E%3C/defs%3E%3Ctitle%3Esplit%3C/title%3E%3Crect x='15' y='20' width='2' height='4'/%3E%3Crect x='15' y='14' width='2' height='4'/%3E%3Crect x='15' y='8' width='2' height='4'/%3E%3Cpath d='M28,16A12.01,12.01,0,0,0,17,4.0508V2H15V4.0508a11.99,11.99,0,0,0,0,23.8984V30h2V27.9492A12.01,12.01,0,0,0,28,16ZM16,26A10,10,0,1,1,26,16,10.0114,10.0114,0,0,1,16,26Z'/%3E%3Crect id='_Transparent_Rectangle_' data-name='<Transparent Rectangle>' class='cls-1' width='32' height='32'/%3E%3C/svg%3E";case"SortDefinition":return"data:image/svg+xml,%0A%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='sort-amount-down' class='svg-inline--fa fa-sort-amount-down fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M304 416h-64a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h64a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-128-64h-48V48a16 16 0 0 0-16-16H80a16 16 0 0 0-16 16v304H16c-14.19 0-21.37 17.24-11.29 27.31l80 96a16 16 0 0 0 22.62 0l80-96C197.35 369.26 190.22 352 176 352zm256-192H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h192a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm-64 128H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM496 32H240a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h256a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16z'%3E%3C/path%3E%3C/svg%3E";case"ResequenceDefinition":return"data:image/svg+xml,%0A%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='sort-numeric-down' class='svg-inline--fa fa-sort-numeric-down fa-w-14' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='currentColor' d='M304 96h16v64h-16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h96a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-16V48a16 16 0 0 0-16-16h-48a16 16 0 0 0-14.29 8.83l-16 32A16 16 0 0 0 304 96zm26.15 162.91a79 79 0 0 0-55 54.17c-14.25 51.05 21.21 97.77 68.85 102.53a84.07 84.07 0 0 1-20.85 12.91c-7.57 3.4-10.8 12.47-8.18 20.34l9.9 20c2.87 8.63 12.53 13.49 20.9 9.91 58-24.76 86.25-61.61 86.25-132V336c-.02-51.21-48.4-91.34-101.85-77.09zM352 356a20 20 0 1 1 20-20 20 20 0 0 1-20 20zm-176-4h-48V48a16 16 0 0 0-16-16H80a16 16 0 0 0-16 16v304H16c-14.19 0-21.36 17.24-11.29 27.31l80 96a16 16 0 0 0 22.62 0l80-96C197.35 369.26 190.22 352 176 352z'%3E%3C/path%3E%3C/svg%3E";case"RecipientListDefinition":return"data:image/svg+xml,%0A%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='list-ul' class='svg-inline--fa fa-list-ul fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M48 48a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm0 160a48 48 0 1 0 48 48 48 48 0 0 0-48-48zm448 16H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z'%3E%3C/path%3E%3C/svg%3E";case"LoopDefinition":return"data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 20.298 20.298' style='enable-background:new 0 0 20.298 20.298;' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath style='fill:%23030104;' d='M0.952,11.102c0-0.264,0.213-0.474,0.475-0.474h2.421c0.262,0,0.475,0.21,0.475,0.474 c0,3.211,2.615,5.826,5.827,5.826s5.827-2.615,5.827-5.826c0-3.214-2.614-5.826-5.827-5.826c-0.34,0-0.68,0.028-1.016,0.089 v1.647c0,0.193-0.116,0.367-0.291,0.439C8.662,7.524,8.46,7.482,8.322,7.347L3.49,4.074c-0.184-0.185-0.184-0.482,0-0.667 l4.833-3.268c0.136-0.136,0.338-0.176,0.519-0.104c0.175,0.074,0.291,0.246,0.291,0.438V1.96c0.34-0.038,0.68-0.057,1.016-0.057 c5.071,0,9.198,4.127,9.198,9.198c0,5.07-4.127,9.197-9.198,9.197C5.079,20.299,0.952,16.172,0.952,11.102z'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A";case"MulticastDefinition":return"data:image/svg+xml,%3Csvg width='433' height='366' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' enable-background='new 0 0 378.06 378.06' version='1.1' xml:space='preserve'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cg id='svg_1'%3E%3Cpolygon id='svg_4' points='222.36802673339844,225.9189910888672 107.00502014160156,225.9189910888672 107.00502014160156,284.5920104980469 222.36802673339844,284.5920104980469 222.36802673339844,324.656005859375 328.9830322265625,255.2550048828125 222.36802673339844,185.85398864746094 ' transform='matrix(1 0 0 1 0 0) rotate(90 217.994 255.255)'/%3E%3Cpath d='m216.99403,1.999c-36.158,0 -65.575,29.417 -65.575,65.575s29.417,65.575 65.575,65.575s65.575,-29.417 65.575,-65.575s-29.417,-65.575 -65.575,-65.575z' id='svg_5' transform='rotate(90 216.994 67.574)'/%3E%3Cpolygon id='svg_21' points='97.9406967163086,220.90044021606445 179.5146484375,139.32643508911133 138.02651977539062,97.83834457397461 56.45258331298828,179.4123420715332 28.123058319091797,151.08284378051758 1.8088525533676147,275.54492568969727 126.27093505859375,249.23065567016602 ' x='1'/%3E%3Cpolygon id='svg_22' points='351.2789611816406,220.90043258666992 432.8529052734375,139.3264274597168 391.3647766113281,97.83834457397461 309.79083251953125,179.41233444213867 281.4613037109375,151.08283615112305 255.1470947265625,275.5449333190918 379.60919189453125,249.23066329956055 ' transform='rotate(-90 344 186.692)' x='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E";case"TryDefinition":return"data:image/svg+xml,%3Csvg width='160' height='412' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' enable-background='new 0 0 436.346 436.346' version='1.1' xml:space='preserve'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cg id='svg_1'%3E%3Cpolygon id='svg_2' points='0,133.14898681640625 80.10099792480469,256.20098876953125 160.2010040283203,133.14898681640625 113.96000671386719,133.14898681640625 113.96000671386719,0 46.24101257324219,0 46.24101257324219,133.14898681640625 '/%3E%3Cpath d='m4.415506,336.53999c0,41.733 33.952,75.685 75.685,75.685s75.685,-33.952 75.685,-75.685c0,-41.732 -33.952,-75.685 -75.685,-75.685s-75.685,33.952 -75.685,75.685z' id='svg_3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E";case"CatchDefinition":return"data:image/svg+xml,%3Csvg width='232' height='477' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' enable-background='new 0 0 476.457 476.457' version='1.1' xml:space='preserve'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cg id='svg_1' transform='rotate(-90 117.228 239.228)'%3E%3Cpath d='m188.688,232.118c-33.574,0 -60.888,27.314 -60.888,60.889c0,33.573 27.314,60.888 60.888,60.888s60.888,-27.314 60.888,-60.888c0,-33.575 -27.314,-60.889 -60.888,-60.889z' id='svg_2'/%3E%3Cpath d='m188.688,124.562c-73.415,0 -135.898,47.686 -158.112,113.709l-44.847,0l0,-40.108l-106.729,69.475l106.729,69.475l0,-40.108l102.149,0l-0.65,-3.248l0,-2.426c0,-55.945 45.515,-101.461 101.46,-101.461s101.46,45.516 101.46,101.461l0,5l65.308,0l0,-5c0.001,-91.956 -74.811,-166.769 -166.768,-166.769z' id='svg_3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E";case"FinallyDefinition":return"data:image/svg+xml,%3Csvg width='161' height='423' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' enable-background='new 0 0 436.346 436.346' version='1.1' xml:space='preserve'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cg id='svg_1'%3E%3Cpolygon id='svg_2' points='0.9282517433166504,300.3690004348755 81.02924966812134,423.4210023880005 161.1292634010315,300.3690004348755 114.88825845718384,300.3690004348755 114.88825845718384,167.22001361846924 47.16926431655884,167.22001361846924 47.16926431655884,300.3690004348755 '/%3E%3Cpath d='m5.343757,79.428759c0,41.733 33.952,75.685 75.685,75.685s75.685,-33.952 75.685,-75.685c0,-41.732 -33.952,-75.685 -75.685,-75.685s-75.685,33.952 -75.685,75.685z' id='svg_3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E";case"LogDefinition":return"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M8.01562 6.98193C7.46334 6.98193 7.01562 7.43285 7.01562 7.98513C7.01562 8.53742 7.46334 8.98833 8.01563 8.98833H15.9659C16.5182 8.98833 16.9659 8.53742 16.9659 7.98513C16.9659 7.43285 16.5182 6.98193 15.9659 6.98193H8.01562Z' fill='currentColor' /%3E%3Cpath d='M7.01562 12C7.01562 11.4477 7.46334 10.9968 8.01562 10.9968H15.9659C16.5182 10.9968 16.9659 11.4477 16.9659 12C16.9659 12.5523 16.5182 13.0032 15.9659 13.0032H8.01563C7.46334 13.0032 7.01562 12.5523 7.01562 12Z' fill='currentColor' /%3E%3Cpath d='M8.0249 15.0122C7.47262 15.0122 7.0249 15.4631 7.0249 16.0154C7.0249 16.5677 7.47262 17.0186 8.0249 17.0186H15.9752C16.5275 17.0186 16.9752 16.5677 16.9752 16.0154C16.9752 15.4631 16.5275 15.0122 15.9752 15.0122H8.0249Z' fill='currentColor' /%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3 6C3 4.34315 4.34315 3 6 3H18C19.6569 3 21 4.34315 21 6V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z' fill='currentColor' /%3E%3C/svg%3E";case"CircuitBreakerDefinition":return"data:image/svg+xml,%3Csvg width='298' height='298' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg' enable-background='new 0 0 298 298' version='1.1'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cg id='svg_1'%3E%3Cpath d='m169.34692,382.94627l0,-107.7738c18.40098,-6.01731 31.65307,-22.53006 31.65307,-41.92199c0,-24.464 -21.08286,-44.36477 -47.00001,-44.36477c-25.91715,0 -47.00001,19.90077 -47.00001,44.36477c0,19.39193 13.25208,35.90468 31.65307,41.92199l0,107.7738l30.69388,0zm-15.34694,-134.30393c-8.99139,0 -16.30612,-6.90642 -16.30612,-15.39186c0,-8.48725 7.31474,-15.39186 16.30612,-15.39186c8.98947,0 16.30612,6.90461 16.30612,15.39186c0,8.48544 -7.31474,15.39186 -16.30612,15.39186z' id='svg_2' transform='matrix(1 0 0 1 0 0)'/%3E%3Cpath d='m236.4675,151.78407l-146.76987,-143.80258c3.01675,-6.04977 4.7139,-12.84128 4.7139,-20.01581c0,-20.00834 -13.173,-37.04598 -31.46417,-43.25456l0,-112.44392l-30.51071,0l0,112.44392c-18.29117,6.20858 -31.46417,23.24622 -31.46417,43.25456c0,25.24163 20.95705,45.77499 46.71953,45.77499c7.32448,0 14.25613,-1.66471 20.43264,-4.6186l146.76797,143.80072l21.57489,-21.1387zm-188.7774,-179.69951c8.93582,0 16.20882,7.12408 16.20882,15.88112s-7.27299,15.88112 -16.20882,15.88112c-8.93773,0 -16.20882,-7.12408 -16.20882,-15.88112s7.27299,-15.88112 16.20882,-15.88112z' id='svg_3' transform='rotate(-134 118.72 2.59498)'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E";case"OnFallbackDefinition":return"data:image/svg+xml,%3Csvg width='24px' height='24px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.2685 11.3076C14.9169 11.0248 14.5923 10.7795 14.2848 10.5693C13.3451 9.92712 12.672 9.68977 12 9.68977C11.328 9.68977 10.6549 9.92712 9.71521 10.5693C8.75213 11.2275 7.62138 12.2301 6.02073 13.6529L3.66436 15.7474C3.25158 16.1143 2.61951 16.0771 2.25259 15.6644C1.88567 15.2516 1.92285 14.6195 2.33564 14.2526L4.74407 12.1118C6.28074 10.7458 7.50586 9.65678 8.58672 8.91809C9.70321 8.15504 10.771 7.68977 12 7.68977C13.229 7.68977 14.2968 8.15504 15.4133 8.91809C15.8434 9.21204 16.2963 9.56146 16.7827 9.96172L15.2685 11.3076Z' fill='black'/%3E%3Cpath d='M18.3151 13.9514L20.3356 15.7474C20.7484 16.1143 21.3805 16.0771 21.7474 15.6644C22.1143 15.2516 22.0771 14.6195 21.6644 14.2526L19.8203 12.6134L18.3151 13.9514Z' fill='black'/%3E%3Cpath d='M5.6224 9.99307L3.66436 8.25259C3.25158 7.88567 2.61951 7.92285 2.25259 8.33564C1.88567 8.74842 1.92285 9.38049 2.33564 9.74741L4.1172 11.331L5.6224 9.99307Z' fill='black'/%3E%3Cpath d='M7.15251 13.9848C7.6635 14.4075 8.13756 14.7749 8.58672 15.0819C9.70321 15.845 10.771 16.3102 12 16.3102C13.229 16.3102 14.2968 15.845 15.4133 15.0819C16.4941 14.3432 17.7193 13.2542 19.2559 11.8882L21.6644 9.74741C22.0771 9.38049 22.1143 8.74842 21.7474 8.33564C21.3805 7.92285 20.7484 7.88567 20.3356 8.25259L17.9793 10.3471C16.3786 11.7699 15.2479 12.7725 14.2848 13.4307C13.3451 14.0729 12.672 14.3102 12 14.3102C11.328 14.3102 10.6549 14.0729 9.71521 13.4307C9.38867 13.2075 9.04286 12.9448 8.66599 12.6395L7.15251 13.9848Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.7474 8.33564C22.1143 8.74842 22.0771 9.38049 21.6644 9.74741L19.2559 11.8882C17.7193 13.2542 16.4941 14.3432 15.4133 15.0819C14.2968 15.845 13.229 16.3102 12 16.3102C10.9247 16.3102 9.97074 15.9539 8.99698 15.3497C8.52769 15.0585 8.38332 14.442 8.6745 13.9728C8.96569 13.5035 9.58218 13.3591 10.0515 13.6503C10.8187 14.1264 11.4086 14.3102 12 14.3102C12.672 14.3102 13.3451 14.0729 14.2848 13.4307C15.2479 12.7725 16.3786 11.7699 17.9793 10.3471L20.3356 8.25259C20.7484 7.88567 21.3805 7.92285 21.7474 8.33564Z' fill='black'/%3E%3C/svg%3E%0A";case"ThreadsDefinition":return"data:image/svg+xml,%0A%3Csvg width='256px' height='256px' viewBox='0 0 256 256' id='Flat' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30.62988,79.49609a11.99872,11.99872,0,0,1,1.874-16.86621c1.23242-.98633,12.56543-9.7666,30.58593-14.27148,16.94727-4.2334,43.1211-5.30762,71.56641,13.65722,40.23389,26.82129,73.51563.87891,73.84766.61426a11.9996,11.9996,0,0,1,14.99218,18.74024c-1.23242.98633-12.56543,9.7666-30.58593,14.27148a85.50742,85.50742,0,0,1-20.71485,2.56152c-14.69531.001-32.28808-3.84277-50.85156-16.21874-40.23389-26.82227-73.51563-.87891-73.84766-.61426A11.9974,11.9974,0,0,1,30.62988,79.49609Zm177.874,39.13379c-.332.26563-33.61377,26.20606-73.84766-.61426C106.21094,99.05176,80.03711,100.125,63.08984,104.3584c-18.0205,4.50488-29.35351,13.28515-30.58593,14.27148a11.9996,11.9996,0,1,0,14.99218,18.74024c.332-.26563,33.61377-26.20606,73.84766.61426,18.56348,12.376,36.15625,16.21972,50.85156,16.21874a85.50742,85.50742,0,0,0,20.71485-2.56152c18.0205-4.50488,29.35351-13.28515,30.58593-14.27148a11.9996,11.9996,0,0,0-14.99218-18.74024Zm0,56c-.332.26465-33.61377,26.208-73.84766-.61426C106.21094,155.05176,80.03711,156.125,63.08984,160.3584c-18.0205,4.50488-29.35351,13.28515-30.58593,14.27148a11.9996,11.9996,0,1,0,14.99218,18.74024c.332-.26465,33.61377-26.20606,73.84766.61426,18.56348,12.376,36.15625,16.21972,50.85156,16.21874a85.50742,85.50742,0,0,0,20.71485-2.56152c18.0205-4.50488,29.35351-13.28515,30.58593-14.27148a11.9996,11.9996,0,1,0-14.99218-18.74024Z'/%3E%3C/svg%3E%0A";case"ThrottleDefinition":return"data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 360 360' style='enable-background:new 0 0 360 360;' xml:space='preserve'%3E%3Cg id='XMLID_12_'%3E%3Cpath id='XMLID_13_' d='M102.342,246.475C99.541,242.42,94.928,240,90,240s-9.541,2.42-12.342,6.475 c-0.32,0.463-7.925,11.497-15.633,24.785C46.765,297.566,45,308.822,45,315c0,24.813,20.187,45,45,45s45-20.187,45-45 c0-6.178-1.765-17.434-17.025-43.74C110.267,257.972,102.662,246.938,102.342,246.475z'/%3E%3Cpath id='XMLID_14_' d='M300,60h-60h-15V30h15c8.284,0,15-6.716,15-15s-6.716-15-15-15h-60c-8.284,0-15,6.716-15,15s6.716,15,15,15 h15v30h-15h-60c-41.355,0-75,33.645-75,75v60c0,8.284,6.716,15,15,15h60c8.284,0,15-6.716,15-15v-45h45h60h60 c8.284,0,15-6.716,15-15V75C315,66.716,308.284,60,300,60z'/%3E%3C/g%3E%3C/svg%3E%0A";case"WireTapDefinition":return"data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m8,8c1.86658,0 3.4346,1.27853 3.8759,3.0076l0.06156,-0.00568l0,0l3.06254,-0.00192c0.5523,0 1,0.4477 1,1c0,0.5523 -0.4477,1 -1,1l-3,0c-0.042,0 -0.0834,-0.0026 -0.1241,-0.0076c-0.4413,1.7291 -2.00932,3.0076 -3.8759,3.0076c-1.86658,0 -3.43455,-1.2785 -3.87594,-3.0076c-0.04064,0.005 -0.08205,0.0076 -0.12406,0.0076l-3,0c-0.55229,0 -1,-0.4477 -1,-1c0,-0.5523 0.44771,-1 1,-1l3,0c0.04201,0 0.08342,0.0026 0.12406,0.0076c0.44139,-1.72907 2.00936,-3.0076 3.87594,-3.0076zm0,2c-1.10457,0 -2,0.8954 -2,2c0,1.1046 0.89543,2 2,2c1.10457,0 2,-0.8954 2,-2c0,-1.1046 -0.89543,-2 -2,-2zm0,-10c0.55228,0 1,0.44771 1,1l0,2.06274c1.2966,0.16336 2.539,0.64271 3.6148,1.40246c0.1917,0.13536 0.3826,0.3857 0.3826,0.5348l0.0026,2c0,0.55228 -0.4477,1 -1,1c-0.5523,0 -1,-0.44772 -1,-1l0,-1.19616c-0.9097,-0.52524 -1.94454,-0.80409 -3.00141,-0.80384c-1.05592,0.00025 -2.08969,0.27908 -2.99859,0.80384l0,1.19616c0,0.55228 -0.44772,1 -1,1c-0.55228,0 -1,-0.44772 -1,-1l0.00048,-2c-0.00048,-0.15411 0.19076,-0.39769 0.38165,-0.53263c1.07652,-0.76099 2.31996,-1.24111 3.61787,-1.40463l0,-2.06274c0,-0.55229 0.44772,-1 1,-1z' fill='%23000000' id='svg_1' transform='rotate(180 8,8)'/%3E%3C/g%3E%3C/svg%3E";case"ToDynamicDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m24.08924,9.30736l-1.67194,1.57734l4.23986,3.99986l-5.47865,0a5.92883,5.59337 0 0 0 -4.60981,-4.34899l0,-10.15173l-2.36467,0l0,10.15173a5.91168,5.5772 0 0 0 0,10.92886l0,10.15173l2.36467,0l0,-10.15173a5.92883,5.59337 0 0 0 4.60981,-4.34899l5.47865,0l-4.23986,3.99986l1.67194,1.57734l7.09402,-6.69264l-7.09402,-6.69264zm-8.70288,10.03896a3.54701,3.34632 0 1 1 3.54701,-3.34632a3.55091,3.35 0 0 1 -3.54701,3.34632z' id='svg_1'/%3E%3Crect class='cls-1' data-name='<Transparent Rectangle>' height='32' id='_Transparent_Rectangle_' width='31.91342' x='0' y='0'/%3E%3C/g%3E%3C/svg%3E";case"RemoveHeaderDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m24,30l-20,0a2.0021,2.0021 0 0 1 -2,-2l0,-6a2.0021,2.0021 0 0 1 2,-2l20,0a2.0021,2.0021 0 0 1 2,2l0,6a2.0021,2.0021 0 0 1 -2,2zm-20,-8l-0.0015,0l0.0015,6l20,0l0,-6l-20,0z' id='svg_1'/%3E%3Cpolygon id='svg_2' points='32.009655237197876,7.0889304876327515 32.009655237197876,5.094889521598816 26.932628870010376,5.094889521598816 26.932628870010376,0.017862439155578613 24.938587427139282,0.017862558364868164 24.938587427139282,5.094889521598816 19.861561059951782,5.094889521598816 19.861561059951782,7.0889304876327515 24.938587427139282,7.0889304876327515 24.938587427139282,12.165956854820251 26.932628870010376,12.165956854820251 26.932628870010376,7.0889304876327515 32.009655237197876,7.0889304876327515 ' transform='rotate(-45 25.9356 6.09191)'/%3E%3Cpath d='m4,14l0,-6l14,0l0,-2l-14,0a2.0023,2.0023 0 0 0 -2,2l0,6a2.0023,2.0023 0 0 0 2,2l22,0l0,-2l-22,0z' id='svg_3' transform='matrix(1 0 0 1 0 0)'/%3E%3C/g%3E%3C/svg%3E";case"RemovePropertyDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m24,30l-20,0a2.0021,2.0021 0 0 1 -2,-2l0,-6a2.0021,2.0021 0 0 1 2,-2l20,0a2.0021,2.0021 0 0 1 2,2l0,6a2.0021,2.0021 0 0 1 -2,2zm-20,-8l-0.0015,0l0.0015,6l20,0l0,-6l-20,0z' id='svg_1'/%3E%3Cpolygon id='svg_2' points='32.009655237197876,7.0889304876327515 32.009655237197876,5.094889521598816 26.932628870010376,5.094889521598816 26.932628870010376,0.017862439155578613 24.938587427139282,0.017862558364868164 24.938587427139282,5.094889521598816 19.861561059951782,5.094889521598816 19.861561059951782,7.0889304876327515 24.938587427139282,7.0889304876327515 24.938587427139282,12.165956854820251 26.932628870010376,12.165956854820251 26.932628870010376,7.0889304876327515 32.009655237197876,7.0889304876327515 ' transform='rotate(-45 25.9356 6.09191)'/%3E%3Cpath d='m4,14l0,-6l14,0l0,-2l-14,0a2.0023,2.0023 0 0 0 -2,2l0,6a2.0023,2.0023 0 0 0 2,2l22,0l0,-2l-22,0z' id='svg_3' transform='matrix(1 0 0 1 0 0)'/%3E%3C/g%3E%3C/svg%3E";case"RemoveHeadersDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpolygon id='svg_2' points='32.12467002868652,6.015733242034912 32.12467002868652,4.021692276000977 27.047643661499023,4.021692276000977 27.047643661499023,-1.0553351640701294 25.05360221862793,-1.0553350448608398 25.05360221862793,4.021692276000977 19.97657585144043,4.021692276000977 19.97657585144043,6.015733242034912 25.05360221862793,6.015733242034912 25.05360221862793,11.092759132385254 27.047643661499023,11.092759132385254 27.047643661499023,6.015733242034912 32.12467002868652,6.015733242034912 ' transform='rotate(-45 26.0506 5.01871)'/%3E%3Cpath d='m3.94496,12.89928l0,-6l14,0l0,-2l-14,0a2.0023,2.0023 0 0 0 -2,2l0,6a2.0023,2.0023 0 0 0 2,2l22,0l0,-2l-22,0z' id='svg_3' transform='matrix(1 0 0 1 0 0)'/%3E%3Cpolygon id='svg_5' points='31.050630569458008,18.505210876464844 29.6406307220459,17.095211029052734 26.05063247680664,20.685209274291992 22.46063232421875,17.0952091217041 21.05063247680664,18.50520896911621 24.64063262939453,22.0952091217041 21.05063247680664,25.685209274291992 22.46063232421875,27.0952091217041 26.05063247680664,23.50520896911621 29.64063262939453,27.0952091217041 31.05063247680664,25.685209274291992 27.46063232421875,22.0952091217041 31.050630569458008,18.505210876464844 '/%3E%3Cpath d='m3.94496,30.0033l0,-6l14,0l0,-2l-14,0a2.0023,2.0023 0 0 0 -2,2l0,6a2.0023,2.0023 0 0 0 2,2l22,0l0,-2l-22,0z' id='svg_4' transform='matrix(1 0 0 1 0 0)'/%3E%3C/g%3E%3C/svg%3E";case"RemovePropertiesDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpolygon id='svg_2' points='32.12467002868652,6.015733242034912 32.12467002868652,4.021692276000977 27.047643661499023,4.021692276000977 27.047643661499023,-1.0553351640701294 25.05360221862793,-1.0553350448608398 25.05360221862793,4.021692276000977 19.97657585144043,4.021692276000977 19.97657585144043,6.015733242034912 25.05360221862793,6.015733242034912 25.05360221862793,11.092759132385254 27.047643661499023,11.092759132385254 27.047643661499023,6.015733242034912 32.12467002868652,6.015733242034912 ' transform='rotate(-45 26.0506 5.01871)'/%3E%3Cpath d='m3.94496,12.89928l0,-6l14,0l0,-2l-14,0a2.0023,2.0023 0 0 0 -2,2l0,6a2.0023,2.0023 0 0 0 2,2l22,0l0,-2l-22,0z' id='svg_3' transform='matrix(1 0 0 1 0 0)'/%3E%3Cpolygon id='svg_5' points='31.050630569458008,18.505210876464844 29.6406307220459,17.095211029052734 26.05063247680664,20.685209274291992 22.46063232421875,17.0952091217041 21.05063247680664,18.50520896911621 24.64063262939453,22.0952091217041 21.05063247680664,25.685209274291992 22.46063232421875,27.0952091217041 26.05063247680664,23.50520896911621 29.64063262939453,27.0952091217041 31.05063247680664,25.685209274291992 27.46063232421875,22.0952091217041 31.050630569458008,18.505210876464844 '/%3E%3Cpath d='m3.94496,30.0033l0,-6l14,0l0,-2l-14,0a2.0023,2.0023 0 0 0 -2,2l0,6a2.0023,2.0023 0 0 0 2,2l22,0l0,-2l-22,0z' id='svg_4' transform='matrix(1 0 0 1 0 0)'/%3E%3C/g%3E%3C/svg%3E";case"SetHeaderDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m24,30l-20,0a2.0021,2.0021 0 0 1 -2,-2l0,-6a2.0021,2.0021 0 0 1 2,-2l20,0a2.0021,2.0021 0 0 1 2,2l0,6a2.0021,2.0021 0 0 1 -2,2zm-20,-8l-0.0015,0l0.0015,6l20,0l0,-6l-20,0z' id='svg_1'/%3E%3Cpolygon id='svg_2' points='32.009655237197876,7.0889304876327515 32.009655237197876,5.094889521598816 26.932628870010376,5.094889521598816 26.932628870010376,0.017862439155578613 24.938587427139282,0.017862558364868164 24.938587427139282,5.094889521598816 19.861561059951782,5.094889521598816 19.861561059951782,7.0889304876327515 24.938587427139282,7.0889304876327515 24.938587427139282,12.165956854820251 26.932628870010376,12.165956854820251 26.932628870010376,7.0889304876327515 32.009655237197876,7.0889304876327515 '/%3E%3Cpath d='m4,14l0,-6l14,0l0,-2l-14,0a2.0023,2.0023 0 0 0 -2,2l0,6a2.0023,2.0023 0 0 0 2,2l22,0l0,-2l-22,0z' id='svg_3' transform='matrix(1 0 0 1 0 0)'/%3E%3C/g%3E%3C/svg%3E";case"SetPropertyDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m24,30l-20,0a2.0021,2.0021 0 0 1 -2,-2l0,-6a2.0021,2.0021 0 0 1 2,-2l20,0a2.0021,2.0021 0 0 1 2,2l0,6a2.0021,2.0021 0 0 1 -2,2zm-20,-8l-0.0015,0l0.0015,6l20,0l0,-6l-20,0z' id='svg_1'/%3E%3Cpolygon id='svg_2' points='32.009655237197876,7.0889304876327515 32.009655237197876,5.094889521598816 26.932628870010376,5.094889521598816 26.932628870010376,0.017862439155578613 24.938587427139282,0.017862558364868164 24.938587427139282,5.094889521598816 19.861561059951782,5.094889521598816 19.861561059951782,7.0889304876327515 24.938587427139282,7.0889304876327515 24.938587427139282,12.165956854820251 26.932628870010376,12.165956854820251 26.932628870010376,7.0889304876327515 32.009655237197876,7.0889304876327515 '/%3E%3Cpath d='m4,14l0,-6l14,0l0,-2l-14,0a2.0023,2.0023 0 0 0 -2,2l0,6a2.0023,2.0023 0 0 0 2,2l22,0l0,-2l-22,0z' id='svg_3' transform='matrix(1 0 0 1 0 0)'/%3E%3C/g%3E%3C/svg%3E";case"SetBodyDefinition":return"data:image/svg+xml,%3Csvg width='32px' height='32px' viewBox='0 0 32 32' id='icon' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: none; %7D %3C/style%3E%3C/defs%3E%3Cpolygon points='30 24 26 24 26 20 24 20 24 24 20 24 20 26 24 26 24 30 26 30 26 26 30 26 30 24'/%3E%3Cpath d='M16,28H8V4h8v6a2.0058,2.0058,0,0,0,2,2h6v4h2V10a.9092.9092,0,0,0-.3-.7l-7-7A.9087.9087,0,0,0,18,2H8A2.0058,2.0058,0,0,0,6,4V28a2.0058,2.0058,0,0,0,2,2h8ZM18,4.4,23.6,10H18Z'/%3E%3Crect id='_Transparent_Rectangle_' data-name='<Transparent Rectangle>' class='cls-1' width='32' height='32'/%3E%3C/svg%3E";case"MarshalDefinition":return"data:image/svg+xml,%0A%3Csvg width='32px' height='32px' viewBox='0 0 32 32' id='icon' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Edocument--export%3C/title%3E%3Cpolygon points='13 21 26.17 21 23.59 23.59 25 25 30 20 25 15 23.59 16.41 26.17 19 13 19 13 21'/%3E%3Cpath d='M22,14V10a1,1,0,0,0-.29-.71l-7-7A1,1,0,0,0,14,2H4A2,2,0,0,0,2,4V28a2,2,0,0,0,2,2H20a2,2,0,0,0,2-2V26H20v2H4V4h8v6a2,2,0,0,0,2,2h6v2Zm-8-4V4.41L19.59,10Z'/%3E%3Crect id='_Transparent_Rectangle_' data-name='<Transparent Rectangle>' class='cls-1' width='32' height='32'/%3E%3C/svg%3E";case"UnmarshalDefinition":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32px' height='32px' viewBox='0 0 32 32' id='icon'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Edocument--import%3C/title%3E%3Cpolygon points='28 19 14.83 19 17.41 16.41 16 15 11 20 16 25 17.41 23.59 14.83 21 28 21 28 19'/%3E%3Cpath d='M24,14V10a1,1,0,0,0-.29-.71l-7-7A1,1,0,0,0,16,2H6A2,2,0,0,0,4,4V28a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V26H22v2H6V4h8v6a2,2,0,0,0,2,2h6v2Zm-8-4V4.41L21.59,10Z'/%3E%3Crect id='_Transparent_Rectangle_' data-name='<Transparent Rectangle>' class='cls-1' width='32' height='32'/%3E%3C/svg%3E";case"ValidateDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m16,28l-8,0l0,-24l8,0l0,6a2.0058,2.0058 0 0 0 2,2l6,0l0,4l2,0l0,-6a0.9092,0.9092 0 0 0 -0.3,-0.7l-7,-7a0.9087,0.9087 0 0 0 -0.7,-0.3l-10,0a2.0058,2.0058 0 0 0 -2,2l0,24a2.0058,2.0058 0 0 0 2,2l8,0l0,-2zm2,-23.6l5.6,5.6l-5.6,0l0,-5.6z' id='svg_2'/%3E%3Cpolygon id='svg_9' points='22.35245457291603,27.113018035888672 19.76245442032814,24.52301788330078 18.35245457291603,25.933019638061523 22.35245457291603,29.933019638061523 30.35245457291603,21.93301773071289 28.942456632852554,20.52301788330078 22.35245457291603,27.113018035888672 ' y='0'/%3E%3C/g%3E%3C/svg%3E";case"ConvertBodyDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m16,28l-8,0l0,-24l8,0l0,6a2.0058,2.0058 0 0 0 2,2l6,0l0,4l2,0l0,-6a0.9092,0.9092 0 0 0 -0.3,-0.7l-7,-7a0.9087,0.9087 0 0 0 -0.7,-0.3l-10,0a2.0058,2.0058 0 0 0 -2,2l0,24a2.0058,2.0058 0 0 0 2,2l8,0l0,-2zm2,-23.6l5.6,5.6l-5.6,0l0,-5.6z' id='svg_2'/%3E%3Cpath d='m18.93145,19l0,2.4131a6.996,6.996 0 1 1 6,10.5869l0,-2a5,5 0 1 0 -4.5762,-7l2.5762,0l0,2l-6,0l0,-6l2,0z' id='svg_1' xmlns='http://www.w3.org/2000/svg'/%3E%3C/g%3E%3C/svg%3E";case"TransformDefinition":return"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGlkPSJpY29uIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO308L3N0eWxlPjwvZGVmcz48dGl0bGU+ZGF0YS1zaGFyZTwvdGl0bGU+PHBhdGggZD0iTTUsMjVWMTUuODI4MWwtMy41ODU5LDMuNTg2TDAsMThsNi02LDYsNi0xLjQxNDEsMS40MTQxTDcsMTUuODI4MVYyNUgxOXYySDdBMi4wMDI0LDIuMDAyNCwwLDAsMSw1LDI1WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSIvPjxwYXRoIGQ9Ik0yNCwyMmg0YTIuMDAyLDIuMDAyLDAsMCwxLDIsMnY0YTIuMDAyLDIuMDAyLDAsMCwxLTIsMkgyNGEyLjAwMiwyLjAwMiwwLDAsMS0yLTJWMjRBMi4wMDIsMi4wMDIsMCwwLDEsMjQsMjJabTQsNlYyNEgyMy45OTg1TDI0LDI4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSIvPjxwYXRoIGQ9Ik0yNyw2djkuMTcxOWwzLjU4NTktMy41ODZMMzIsMTNsLTYsNi02LTYsMS40MTQxLTEuNDE0MUwyNSwxNS4xNzE5VjZIMTNWNEgyNUEyLjAwMjQsMi4wMDI0LDAsMCwxLDI3LDZaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIi8+PHJlY3QgeD0iMiIgeT0iNiIgd2lkdGg9IjYiIGhlaWdodD0iMiIvPjxyZWN0IHg9IjIiIHk9IjIiIHdpZHRoPSI4IiBoZWlnaHQ9IjIiLz48cmVjdCBpZD0iX1RyYW5zcGFyZW50X1JlY3RhbmdsZV8iIGRhdGEtbmFtZT0iJmx0O1RyYW5zcGFyZW50IFJlY3RhbmdsZSZndDsiIGNsYXNzPSJjbHMtMSIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIi8+PC9zdmc+";case"EnrichDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpolygon id='svg_1' points='4,20 4,22 8.586000442504883,22 2,28.586000442504883 3.4140000343322754,30 10,23.413999557495117 10,28 12,28 12,20 4,20 '/%3E%3Cpath d='m25.7,9.3l-7,-7a0.9087,0.9087 0 0 0 -0.7,-0.3l-10,0a2.0058,2.0058 0 0 0 -2,2l0,12l2,0l0,-12l8,0l0,6a2.0058,2.0058 0 0 0 2,2l6,0l0,6l2,0l0,-8a0.9092,0.9092 0 0 0 -0.3,-0.7zm-7.7,0.7l0,-5.6l5.6,5.6l-5.6,0z' id='svg_4'/%3E%3Cpath d='m27.28825,30l-7.5,0a4,4 0 0 1 0,-8l0.0835,0a4.7864,4.7864 0 0 1 3.9165,-2a4.9816,4.9816 0 0 1 4.6543,3.2034a3.4667,3.4667 0 0 1 2.3457,3.2966a3.5041,3.5041 0 0 1 -3.5,3.5zm-7.5,-6a2,2 0 0 0 0,4l7.5,0a1.5017,1.5017 0 0 0 1.5,-1.5a1.4855,1.4855 0 0 0 -1.2778,-1.4739l-0.6612,-0.0991l-0.1616,-0.6487a2.9568,2.9568 0 0 0 -5.4873,-0.7121l-0.2978,0.4338l-1.1143,0z' id='svg_5'/%3E%3C/g%3E%3C/svg%3E";case"PollEnrichDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpolygon id='svg_1' points='4,20 4,22 8.586000442504883,22 2,28.586000442504883 3.4140000343322754,30 10,23.413999557495117 10,28 12,28 12,20 4,20 '/%3E%3Cpath d='m25.7,9.3l-7,-7a0.9087,0.9087 0 0 0 -0.7,-0.3l-10,0a2.0058,2.0058 0 0 0 -2,2l0,12l2,0l0,-12l8,0l0,6a2.0058,2.0058 0 0 0 2,2l6,0l0,6l2,0l0,-8a0.9092,0.9092 0 0 0 -0.3,-0.7zm-7.7,0.7l0,-5.6l5.6,5.6l-5.6,0z' id='svg_4'/%3E%3Cpath d='m27.28825,30l-7.5,0a4,4 0 0 1 0,-8l0.0835,0a4.7864,4.7864 0 0 1 3.9165,-2a4.9816,4.9816 0 0 1 4.6543,3.2034a3.4667,3.4667 0 0 1 2.3457,3.2966a3.5041,3.5041 0 0 1 -3.5,3.5zm-7.5,-6a2,2 0 0 0 0,4l7.5,0a1.5017,1.5017 0 0 0 1.5,-1.5a1.4855,1.4855 0 0 0 -1.2778,-1.4739l-0.6612,-0.0991l-0.1616,-0.6487a2.9568,2.9568 0 0 0 -5.4873,-0.7121l-0.2978,0.4338l-1.1143,0z' id='svg_5'/%3E%3C/g%3E%3C/svg%3E";case"TransactedDefinition":return"data:image/svg+xml,%0A%3Csvg width='24px' height='24px' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' d='M2,7 L20,7 M16,2 L21,7 L16,12 M22,17 L4,17 M8,12 L3,17 L8,22'/%3E%3C/svg%3E%0A";case"SagaDefinition":return"data:image/svg+xml,%0A%3Csvg width='32px' height='32px' viewBox='0 0 32 32' id='icon' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Eexpand-categories%3C/title%3E%3Crect x='20' y='26' width='6' height='2'/%3E%3Crect x='20' y='18' width='8' height='2'/%3E%3Crect x='20' y='10' width='10' height='2'/%3E%3Crect x='15' y='4' width='2' height='24'/%3E%3Cpolygon points='10.586 3.959 7 7.249 3.412 3.958 2 5.373 7 10 12 5.373 10.586 3.959'/%3E%3Crect id='_Transparent_Rectangle_' data-name='<Transparent Rectangle>' class='cls-1' width='32' height='32'/%3E%3C/svg%3E";case"FromDefinition":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24px' height='24px' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12.6577283,22.7532553 L12,23.3275712 L11.3422717,22.7532553 C5.81130786,17.9237218 3,13.70676 3,10 C3,4.7506636 7.09705254,1 12,1 C16.9029475,1 21,4.7506636 21,10 C21,13.70676 18.1886921,17.9237218 12.6577283,22.7532553 Z M5,10 C5,12.8492324 7.30661202,16.4335466 12,20.6634039 C16.693388,16.4335466 19,12.8492324 19,10 C19,5.8966022 15.8358849,3 12,3 C8.16411512,3 5,5.8966022 5,10 Z M13.5857864,11 L7,11 L7,9 L13.5857864,9 L11.2928932,6.70710678 L12.7071068,5.29289322 L17.4142136,10 L12.7071068,14.7071068 L11.2928932,13.2928932 L13.5857864,11 Z'/%3E%3C/svg%3E";case"ToDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m24.08924,9.30736l-1.67194,1.57734l4.23986,3.99986l-5.47865,0a5.92883,5.59337 0 0 0 -4.60981,-4.34899l0,-10.15173l-2.36467,0l0,10.15173a5.91168,5.5772 0 0 0 0,10.92886l0,10.15173l2.36467,0l0,-10.15173a5.92883,5.59337 0 0 0 4.60981,-4.34899l5.47865,0l-4.23986,3.99986l1.67194,1.57734l7.09402,-6.69264l-7.09402,-6.69264zm-8.70288,10.03896a3.54701,3.34632 0 1 1 3.54701,-3.34632a3.55091,3.35 0 0 1 -3.54701,3.34632z' id='svg_1'/%3E%3Crect class='cls-1' data-name='<Transparent Rectangle>' height='32' id='_Transparent_Rectangle_' width='31.91342' x='0' y='0'/%3E%3C/g%3E%3C/svg%3E";case"SwitchDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1 %7B fill: none; %7D%3C/style%3E%3C/defs%3E%3Ctitle%3Emilestone%3C/title%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m24.5857,6.5859a1.9865,1.9865 0 0 0 -1.4143,-0.5859l-7.1714,0l0,-4l-2,0l0,4l-8,0a2.0025,2.0025 0 0 0 -2,2l0,6a2.0025,2.0025 0 0 0 2,2l8,0l0,14l2,0l0,-14l7.1714,0a1.9865,1.9865 0 0 0 1.4143,-0.5859l4.4143,-4.4141l-4.4143,-4.4141zm-1.4143,7.4141l-17.1714,0l17.2262,0.02642l-0.02708,-0.02752l2.97248,-2.9989l-3.0002,3z' id='svg_1' transform='matrix(1 0 0 1 0 0)'/%3E%3Crect class='cls-1' data-name='<Transparent Rectangle>' height='32' id='_Transparent_Rectangle_' width='31.94496' x='0' y='0'/%3E%3C/g%3E%3C/svg%3E";case"KameletDefinition":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Capa_1' x='0px' y='0px' width='235.506px' height='235.506px' viewBox='0 0 235.506 235.506' style='enable-background:new 0 0 235.506 235.506;' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M234.099,29.368c-3.025-4.861-10.303-7.123-22.915-7.123c-13.492,0-28.304,2.661-28.625,2.733 c-20.453,2.098-27.254,26.675-32.736,46.436c-1.924,6.969-3.755,13.549-5.827,17.655c-3.157,6.242-5.064,6.915-5.057,6.955 c-0.598-0.205-5.759-3.005-10.527-37.884l-0.169-1.28c-2.934-20.845-16.198-22.62-33.163,0.713 c-4.429,6.083-6.705,6.398-7.127,6.398c-1.861,0-4.426-5.37-5.661-7.943c-1.176-2.457-2.19-4.597-3.53-6.015 c-5.482-5.811-11.175-8.754-16.905-8.754c-39.417,0-59.655,148.039-61.821,164.917c-0.15,1.135,0.194,2.284,0.95,3.138 c0.739,0.866,1.821,1.379,2.968,1.411l19.376,0.421c0.024,0,0.054,0,0.084,0c0.054-0.017,0.15,0,0.196,0 c2.246,0,4.052-1.808,4.052-4.056c0-0.445-0.068-0.866-0.203-1.274c0.046-6.36,1.222-37.104,19.266-55.688 c1.763-1.799,3.963-2.974,5.955-4.44c-1.881,17.726-5.22,55.968,0.082,65.121c0.728,1.258,2.062,2.04,3.499,2.04h15.567 c1.1,0,2.15-0.461,2.914-1.242c0.763-0.798,1.162-1.855,1.124-2.962c-1.14-30.957,0.593-66.451,5.282-72.599 c8.41-0.477,17.428,0.061,27.609,2.577c13.049,3.186,29.286,7.173,23.881,70.037c-0.104,1.118,0.276,2.225,1.038,3.066 c0.757,0.837,1.807,1.318,2.941,1.334l17.264,0.2c0.016,0,0.032,0,0.048,0c0.076-0.016,0.152-0.016,0.192,0 c2.244,0,4.056-1.807,4.056-4.063c0-0.505-0.108-1.01-0.293-1.471c-0.488-8.279-3.214-55.122-3.065-65.196 c0.024-1.764,0.421-5.839,3.562-5.839c1.066,0,2.156,0.488,2.869,1.254c0.657,0.722,0.95,1.644,0.85,2.701 c-0.797,9.001-0.344,23.026,0.093,36.584c0.36,11.605,0.713,22.537,0.328,30.096c-0.052,1.134,0.353,2.224,1.15,3.037 c0.798,0.814,1.888,1.379,2.997,1.211l16.01-0.429c1.194-0.032,2.316-0.598,3.074-1.535c0.737-0.934,1.025-2.16,0.773-3.342 c-7.422-34.897,4.809-119.518,7.213-135.325c18.522-5.504,34.829-19.618,40.251-30.689 C236.491,35.113,235.44,31.502,234.099,29.368z M67.652,204.745h-8.636c-2.435-9.782-0.23-42.021,2.384-64.399 c3.464-1.526,6.995-2.945,10.95-3.734C66.965,152.897,67.165,188.106,67.652,204.745z M226.709,36.682 c-4.769,9.752-21.02,22.979-37.55,27.123c-1.571,0.385-2.757,1.673-3.021,3.274c-0.642,3.949-14.88,93.798-8.384,136.092 l-7.017,0.185c0.132-7.373-0.16-16.667-0.481-26.4c-0.425-13.333-0.845-27.127-0.116-35.618c0.301-3.326-0.757-6.473-2.953-8.877 c-6.107-6.672-20.27-5.186-20.482,9.935c-0.132,9.565,2.124,49.323,2.914,62.696l-8.604-0.092 c4.04-54.754-8.127-68.815-30.35-74.258c-11.503-2.806-21.752-3.311-31.31-2.604c-0.046-0.017-0.084,0-0.148,0 c-15.411,1.134-28.519,6.255-38.347,16.39c-18.338,18.92-21.103,47.621-21.47,58.433l-10.772-0.232 c8.33-61.161,29.447-153.395,53.216-153.395c3.423,0,7.138,2.086,11.021,6.218c0.471,0.495,1.429,2.486,2.12,3.939 c2.529,5.306,5.991,12.543,12.956,12.543c4.488,0,8.832-3.098,13.657-9.726c9.563-13.154,14.21-13.533,14.711-13.533 c1.304,0,3.025,2.843,3.911,9.191l0.172,1.25c4.366,31.873,9.691,44.863,18.448,44.863h0.008c5.903,0,9.874-6.49,12.343-11.373 c2.453-4.831,4.376-11.784,6.416-19.153c4.817-17.373,10.796-39.012,26.068-40.587c0.152-0.034,14.731-2.649,27.491-2.649 c13.593,0,15.845,2.979,16.054,3.324C227.707,34.382,227.126,35.856,226.709,36.682z'/%3E%3C/g%3E%3C/svg%3E";case"DynamicRouterDefinition":return"data:image/svg+xml,%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Einsert%3C/title%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Crect class='cls-1' data-name='<Transparent Rectangle>' height='32' id='_Transparent_Rectangle_' width='31.94228' x='0' y='0'/%3E%3Cg id='svg_5' transform='matrix(1 0 0 1 0 0) rotate(180 16 15.5)'%3E%3Cpath d='m2,9l9,0l0,-7l-9,0l0,7zm2,-5l5,0l0,3l-5,0l0,-3z' id='svg_1'/%3E%3Cpath d='m2,19l9,0l0,-7l-9,0l0,7zm2,-5l5,0l0,3l-5,0l0,-3z' id='svg_2'/%3E%3Cpath d='m2,29l9,0l0,-7l-9,0l0,7zm2,-5l5,0l0,3l-5,0l0,-3z' id='svg_3'/%3E%3Cpath d='m27,9l-9,0l3.41,-3.59l-1.41,-1.41l-6,6l6,6l1.41,-1.41l-3.41,-3.59l9,0a1,1 0 0 1 1,1l0,12a1,1 0 0 1 -1,1l-12,0l0,2l12,0a3,3 0 0 0 3,-3l0,-12a3,3 0 0 0 -3,-3z' id='svg_4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E";case"ErrorHandlerBuilderRef":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='top-icon' width='36px' height='36px' viewBox='0 0 36 36' version='1.1' preserveAspectRatio='xMidYMid meet'%3E%3Ccircle class='clr-i-outline clr-i-outline-path-1' cx='18' cy='26.06' r='1.33'%3E%3C/circle%3E%3Cpath class='clr-i-outline clr-i-outline-path-2' d='M18,22.61a1,1,0,0,1-1-1v-12a1,1,0,1,1,2,0v12A1,1,0,0,1,18,22.61Z'%3E%3C/path%3E%3Cpath class='clr-i-outline clr-i-outline-path-3' d='M18,34A16,16,0,1,1,34,18,16,16,0,0,1,18,34ZM18,4A14,14,0,1,0,32,18,14,14,0,0,0,18,4Z'%3E%3C/path%3E%3Crect x='0' y='0' width='36' height='36' fill-opacity='0'%3E%3C/rect%3E%3C/svg%3E";case"ThrowExceptionDefinition":return"data:image/svg+xml,%3Csvg version='1.1' id='icon' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='32px' height='32px' viewBox='0 0 32 32' style='enable-background:new 0 0 32 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D .st1%7Bopacity:0;fill-opacity:0;%7D%0A%3C/style%3E%3Crect id='_Transparent_Rectangle_' class='st0' width='32' height='32'/%3E%3Cpath d='M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14S23.7,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9 l5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z'/%3E%3Cpath id='inner-path' class='st1' d='M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9l5.4,5.4L21.4,9l1.6,1.6L17.6,16 l5.4,5.4L21.4,23z'/%3E%3C/svg%3E%0A";case"OnExceptionDefinition":return"data:image/svg+xml,%3Csvg version='1.1' id='icon' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='32px' height='32px' viewBox='0 0 32 32' style='enable-background:new 0 0 32 32;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D%0A%3C/style%3E%3Ctitle%3Echeckmark%3C/title%3E%3Cpath d='M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M16,28C9.4,28,4,22.6,4,16S9.4,4,16,4s12,5.4,12,12 S22.6,28,16,28z'/%3E%3Crect id='_Transparent_Rectangle_' class='st0' width='32' height='32'/%3E%3Cpolygon points='21.4,23 16,17.6 10.6,23 9,21.4 14.4,16 9,10.6 10.6,9 16,14.4 21.4,9 23,10.6 17.6,16 23,21.4 '/%3E%3C/svg%3E";case"StepDefinition":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32px' height='32px' viewBox='0 0 32 32' id='icon'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:none;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Ecollapse-all%3C/title%3E%3Cpath d='M30,15H28V7H13V5H28a2.0023,2.0023,0,0,1,2,2Z'/%3E%3Cpath d='M25,20H23V12H8V10H23a2.0023,2.0023,0,0,1,2,2Z'/%3E%3Cpath d='M18,27H4a2.0023,2.0023,0,0,1-2-2V17a2.0023,2.0023,0,0,1,2-2H18a2.0023,2.0023,0,0,1,2,2v8A2.0023,2.0023,0,0,1,18,27ZM4,17v8H18.0012L18,17Z'/%3E%3Crect id='_Transparent_Rectangle_' data-name='<Transparent Rectangle>' class='cls-1' width='32' height='32'/%3E%3C/svg%3E";case"BeanDefinition":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1' x='0px' y='0px' viewBox='0 0 305.001 305.001' style='enable-background:new 0 0 305.001 305.001;' xml:space='preserve'%3E%3Cg id='XMLID_7_'%3E%3Cpath id='XMLID_8_' d='M150.99,56.513c-14.093,9.912-30.066,21.147-38.624,39.734c-14.865,32.426,30.418,67.798,32.353,69.288 c0.45,0.347,0.988,0.519,1.525,0.519c0.57,0,1.141-0.195,1.605-0.583c0.899-0.752,1.154-2.029,0.614-3.069 c-0.164-0.316-16.418-31.888-15.814-54.539c0.214-7.888,11.254-16.837,22.942-26.312c10.705-8.678,22.839-18.514,29.939-30.02 c15.586-25.327-1.737-50.231-1.914-50.479c-0.688-0.966-1.958-1.317-3.044-0.84c-1.085,0.478-1.686,1.652-1.438,2.811 c0.035,0.164,3.404,16.633-5.97,33.6C169.301,43.634,160.816,49.603,150.99,56.513z'/%3E%3Cpath id='XMLID_9_' d='M210.365,67.682c0.994-0.749,1.286-2.115,0.684-3.205c-0.602-1.09-1.913-1.571-3.077-1.129 c-2.394,0.91-58.627,22.585-58.627,48.776c0,18.053,7.712,27.591,13.343,34.556c2.209,2.731,4.116,5.09,4.744,7.104 c1.769,5.804-2.422,16.294-4.184,19.846c-0.508,1.022-0.259,2.259,0.605,3.005c0.467,0.403,1.05,0.607,1.634,0.607 c0.497,0,0.996-0.148,1.427-0.448c0.967-0.673,23.63-16.696,19.565-36.001c-1.514-7.337-5.12-12.699-8.302-17.43 c-4.929-7.329-8.489-12.624-3.088-22.403C181.419,89.556,210.076,67.899,210.365,67.682z'/%3E%3Cpath id='XMLID_10_' d='M63.99,177.659c-0.964,2.885-0.509,5.75,1.315,8.283c6.096,8.462,27.688,13.123,60.802,13.123 c0.002,0,0.003,0,0.004,0c4.487,0,9.224-0.088,14.076-0.262c52.943-1.896,72.58-18.389,73.39-19.09 c0.883-0.764,1.119-2.037,0.57-3.067c-0.549-1.029-1.733-1.546-2.864-1.235c-18.645,5.091-53.463,6.898-77.613,6.898 c-27.023,0-40.785-1.946-44.154-3.383c1.729-2.374,12.392-6.613,25.605-9.212c1.263-0.248,2.131-1.414,2.006-2.695 c-0.125-1.281-1.201-2.258-2.488-2.258C106.893,164.762,68.05,165.384,63.99,177.659z'/%3E%3Cpath id='XMLID_11_' d='M241.148,160.673c-10.92,0-21.275,5.472-21.711,5.705c-1.01,0.541-1.522,1.699-1.245,2.811 c0.278,1.111,1.277,1.892,2.423,1.893c0.232,0.001,23.293,0.189,25.382,13.365c1.85,11.367-21.82,29.785-31.097,35.923 c-1.002,0.663-1.391,1.945-0.926,3.052c0.395,0.943,1.314,1.533,2.304,1.533c0.173,0,0.348-0.018,0.522-0.056 c2.202-0.47,53.855-11.852,48.394-41.927C261.862,164.541,250.278,160.673,241.148,160.673z'/%3E%3Cpath id='XMLID_12_' d='M205.725,216.69c0.18-0.964-0.221-1.944-1.023-2.506l-12.385-8.675c-0.604-0.423-1.367-0.556-2.076-0.368 c-0.129,0.034-13.081,3.438-31.885,5.526c-7.463,0.837-15.822,1.279-24.175,1.279c-18.799,0-31.091-2.209-32.881-3.829 c-0.237-0.455-0.162-0.662-0.12-0.777c0.325-0.905,2.068-1.98,3.192-2.405c1.241-0.459,1.91-1.807,1.524-3.073 c-0.385-1.266-1.69-2.012-2.978-1.702c-12.424,2.998-18.499,7.191-18.057,12.461c0.785,9.343,22.428,14.139,40.725,15.408 c2.631,0.18,5.477,0.272,8.456,0.272c0.002,0,0.003,0,0.005,0c30.425,0,69.429-9.546,69.819-9.643 C204.818,218.423,205.544,217.654,205.725,216.69z'/%3E%3Cpath id='XMLID_13_' d='M112.351,236.745c0.938-0.611,1.354-1.77,1.021-2.838c-0.332-1.068-1.331-1.769-2.453-1.755 c-1.665,0.044-16.292,0.704-17.316,10.017c-0.31,2.783,0.487,5.325,2.37,7.556c5.252,6.224,19.428,9.923,43.332,11.31 c2.828,0.169,5.7,0.254,8.539,0.254c30.39,0,50.857-9.515,51.714-9.92c0.831-0.393,1.379-1.209,1.428-2.127 c0.049-0.917-0.409-1.788-1.193-2.267l-15.652-9.555c-0.543-0.331-1.193-0.441-1.813-0.314c-0.099,0.021-10.037,2.082-25.035,4.119 c-2.838,0.385-6.392,0.581-10.562,0.581c-14.982,0-31.646-2.448-34.842-4.05C111.843,237.455,111.902,237.075,112.351,236.745z'/%3E%3Cpath id='XMLID_14_' d='M133.681,290.018c69.61-0.059,106.971-12.438,114.168-20.228c2.548-2.757,2.823-5.366,2.606-7.07 c-0.535-4.194-4.354-6.761-4.788-7.04c-1.045-0.672-2.447-0.496-3.262,0.444c-0.813,0.941-0.832,2.314-0.016,3.253 c0.439,0.565,0.693,1.51-0.591,2.795c-2.877,2.687-31.897,10.844-80.215,13.294c-6.619,0.345-13.561,0.519-20.633,0.52 c-43.262,0-74.923-5.925-79.079-9.379c1.603-2.301,12.801-5.979,24.711-8.058c1.342-0.234,2.249-1.499,2.041-2.845 c-0.208-1.346-1.449-2.273-2.805-2.096c-0.336,0.045-1.475,0.115-2.796,0.195c-19.651,1.2-42.36,3.875-43.545,13.999 c-0.36,3.086,0.557,5.886,2.726,8.324c5.307,5.963,20.562,13.891,91.475,13.891C133.68,290.018,133.68,290.018,133.681,290.018z'/%3E%3Cpath id='XMLID_15_' d='M261.522,271.985c-0.984-0.455-2.146-0.225-2.881,0.567c-0.103,0.11-10.568,11.054-42.035,17.48 c-12.047,2.414-34.66,3.638-67.211,3.638c-32.612,0-63.643-1.283-63.953-1.296c-1.296-0.063-2.405,0.879-2.581,2.155 c-0.177,1.276,0.645,2.477,1.897,2.775c0.323,0.077,32.844,7.696,77.31,7.696c21.327,0,42.08-1.733,61.684-5.151 c36.553-6.408,39.112-24.533,39.203-25.301C263.082,273.474,262.504,272.44,261.522,271.985z'/%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3C/svg%3E";case"ProcessDefinition":return"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Capa_1' x='0px' y='0px' width='235.506px' height='235.506px' viewBox='0 0 235.506 235.506' style='enable-background:new 0 0 235.506 235.506;' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M234.099,29.368c-3.025-4.861-10.303-7.123-22.915-7.123c-13.492,0-28.304,2.661-28.625,2.733 c-20.453,2.098-27.254,26.675-32.736,46.436c-1.924,6.969-3.755,13.549-5.827,17.655c-3.157,6.242-5.064,6.915-5.057,6.955 c-0.598-0.205-5.759-3.005-10.527-37.884l-0.169-1.28c-2.934-20.845-16.198-22.62-33.163,0.713 c-4.429,6.083-6.705,6.398-7.127,6.398c-1.861,0-4.426-5.37-5.661-7.943c-1.176-2.457-2.19-4.597-3.53-6.015 c-5.482-5.811-11.175-8.754-16.905-8.754c-39.417,0-59.655,148.039-61.821,164.917c-0.15,1.135,0.194,2.284,0.95,3.138 c0.739,0.866,1.821,1.379,2.968,1.411l19.376,0.421c0.024,0,0.054,0,0.084,0c0.054-0.017,0.15,0,0.196,0 c2.246,0,4.052-1.808,4.052-4.056c0-0.445-0.068-0.866-0.203-1.274c0.046-6.36,1.222-37.104,19.266-55.688 c1.763-1.799,3.963-2.974,5.955-4.44c-1.881,17.726-5.22,55.968,0.082,65.121c0.728,1.258,2.062,2.04,3.499,2.04h15.567 c1.1,0,2.15-0.461,2.914-1.242c0.763-0.798,1.162-1.855,1.124-2.962c-1.14-30.957,0.593-66.451,5.282-72.599 c8.41-0.477,17.428,0.061,27.609,2.577c13.049,3.186,29.286,7.173,23.881,70.037c-0.104,1.118,0.276,2.225,1.038,3.066 c0.757,0.837,1.807,1.318,2.941,1.334l17.264,0.2c0.016,0,0.032,0,0.048,0c0.076-0.016,0.152-0.016,0.192,0 c2.244,0,4.056-1.807,4.056-4.063c0-0.505-0.108-1.01-0.293-1.471c-0.488-8.279-3.214-55.122-3.065-65.196 c0.024-1.764,0.421-5.839,3.562-5.839c1.066,0,2.156,0.488,2.869,1.254c0.657,0.722,0.95,1.644,0.85,2.701 c-0.797,9.001-0.344,23.026,0.093,36.584c0.36,11.605,0.713,22.537,0.328,30.096c-0.052,1.134,0.353,2.224,1.15,3.037 c0.798,0.814,1.888,1.379,2.997,1.211l16.01-0.429c1.194-0.032,2.316-0.598,3.074-1.535c0.737-0.934,1.025-2.16,0.773-3.342 c-7.422-34.897,4.809-119.518,7.213-135.325c18.522-5.504,34.829-19.618,40.251-30.689 C236.491,35.113,235.44,31.502,234.099,29.368z M67.652,204.745h-8.636c-2.435-9.782-0.23-42.021,2.384-64.399 c3.464-1.526,6.995-2.945,10.95-3.734C66.965,152.897,67.165,188.106,67.652,204.745z M226.709,36.682 c-4.769,9.752-21.02,22.979-37.55,27.123c-1.571,0.385-2.757,1.673-3.021,3.274c-0.642,3.949-14.88,93.798-8.384,136.092 l-7.017,0.185c0.132-7.373-0.16-16.667-0.481-26.4c-0.425-13.333-0.845-27.127-0.116-35.618c0.301-3.326-0.757-6.473-2.953-8.877 c-6.107-6.672-20.27-5.186-20.482,9.935c-0.132,9.565,2.124,49.323,2.914,62.696l-8.604-0.092 c4.04-54.754-8.127-68.815-30.35-74.258c-11.503-2.806-21.752-3.311-31.31-2.604c-0.046-0.017-0.084,0-0.148,0 c-15.411,1.134-28.519,6.255-38.347,16.39c-18.338,18.92-21.103,47.621-21.47,58.433l-10.772-0.232 c8.33-61.161,29.447-153.395,53.216-153.395c3.423,0,7.138,2.086,11.021,6.218c0.471,0.495,1.429,2.486,2.12,3.939 c2.529,5.306,5.991,12.543,12.956,12.543c4.488,0,8.832-3.098,13.657-9.726c9.563-13.154,14.21-13.533,14.711-13.533 c1.304,0,3.025,2.843,3.911,9.191l0.172,1.25c4.366,31.873,9.691,44.863,18.448,44.863h0.008c5.903,0,9.874-6.49,12.343-11.373 c2.453-4.831,4.376-11.784,6.416-19.153c4.817-17.373,10.796-39.012,26.068-40.587c0.152-0.034,14.731-2.649,27.491-2.649 c13.593,0,15.845,2.979,16.054,3.324C227.707,34.382,227.126,35.856,226.709,36.682z'/%3E%3C/g%3E%3C/svg%3E";case"ErrorHandlerDefinition":return"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGlkPSJpY29uIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO308L3N0eWxlPjwvZGVmcz48dGl0bGU+d2FybmluZzwvdGl0bGU+PHBhdGggZD0iTTE2LDJBMTQsMTQsMCwxLDAsMzAsMTYsMTQsMTQsMCwwLDAsMTYsMlptMCwyNkExMiwxMiwwLDEsMSwyOCwxNiwxMiwxMiwwLDAsMSwxNiwyOFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMCkiLz48cmVjdCB4PSIxNSIgeT0iOCIgd2lkdGg9IjIiIGhlaWdodD0iMTEiLz48cGF0aCBkPSJNMTYsMjJhMS41LDEuNSwwLDEsMCwxLjUsMS41QTEuNSwxLjUsMCwwLDAsMTYsMjJaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIi8+PHJlY3QgaWQ9Il9UcmFuc3BhcmVudF9SZWN0YW5nbGVfIiBkYXRhLW5hbWU9IiZsdDtUcmFuc3BhcmVudCBSZWN0YW5nbGUmZ3Q7IiBjbGFzcz0iY2xzLTEiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIvPjwvc3ZnPg==";case"ScriptDefinition":return"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjU2cHgiIGhlaWdodD0iMjU2cHgiIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBpZD0iRmxhdCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNNDMuMTc1MjksMTI4YTI5Ljc4NTIsMjkuNzg1MiwwLDAsMSw4LjAyMywxMC4yNTk3N0M1NiwxNDguMTYzMDksNTYsMTYwLjI4MTI1LDU2LDE3MmMwLDI0LjMxMzQ4LDEuMDE5NTMsMzYsMjQsMzZhOCw4LDAsMCwxLDAsMTZjLTE3LjQ4MTQ1LDAtMjkuMzI0MjItNi4xNDM1NS0zNS4xOTgyNC0xOC4yNTk3N0M0MCwxOTUuODM2OTEsNDAsMTgzLjcxODc1LDQwLDE3MmMwLTI0LjMxMzQ4LTEuMDE5NTMtMzYtMjQtMzZhOCw4LDAsMCwxLDAtMTZjMjIuOTgwNDcsMCwyNC0xMS42ODY1MiwyNC0zNiwwLTExLjcxODc1LDAtMjMuODM2OTEsNC44MDE3Ni0zMy43NDAyM0M1MC42NzU3OCwzOC4xNDM1NSw2Mi41MTg1NSwzMiw4MCwzMmE4LDgsMCwwLDEsMCwxNkM1Ny4wMTk1Myw0OCw1Niw1OS42ODY1Miw1Niw4NGMwLDExLjcxODc1LDAsMjMuODM2OTEtNC44MDE3NiwzMy43NDAyM0EyOS43ODUyLDI5Ljc4NTIsMCwwLDEsNDMuMTc1MjksMTI4Wk0yNDAsMTIwYy0yMi45ODA0NywwLTI0LTExLjY4NjUyLTI0LTM2LDAtMTEuNzE4NzUsMC0yMy44MzY5MS00LjgwMTc2LTMzLjc0MDIzQzIwNS4zMjQyMiwzOC4xNDM1NSwxOTMuNDgxNDUsMzIsMTc2LDMyYTgsOCwwLDAsMCwwLDE2YzIyLjk4MDQ3LDAsMjQsMTEuNjg2NTIsMjQsMzYsMCwxMS43MTg3NSwwLDIzLjgzNjkxLDQuODAxNzYsMzMuNzQwMjNBMjkuNzg1MiwyOS43ODUyLDAsMCwwLDIxMi44MjQ3MSwxMjhhMjkuNzg1MiwyOS43ODUyLDAsMCwwLTguMDIzLDEwLjI1OTc3QzIwMCwxNDguMTYzMDksMjAwLDE2MC4yODEyNSwyMDAsMTcyYzAsMjQuMzEzNDgtMS4wMTk1MywzNi0yNCwzNmE4LDgsMCwwLDAsMCwxNmMxNy40ODE0NSwwLDI5LjMyNDIyLTYuMTQzNTUsMzUuMTk4MjQtMTguMjU5NzdDMjE2LDE5NS44MzY5MSwyMTYsMTgzLjcxODc1LDIxNiwxNzJjMC0yNC4zMTM0OCwxLjAxOTUzLTM2LDI0LTM2YTgsOCwwLDAsMCwwLTE2WiIvPgo8L3N2Zz4K";case"PausableDefinition":return"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGlkPSJpY29uIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO308L3N0eWxlPjwvZGVmcz48dGl0bGU+cGF1c2UtLWZpbGxlZDwvdGl0bGU+PHBhdGggZD0iTTEyLDZIMTBBMiwyLDAsMCwwLDgsOFYyNGEyLDIsMCwwLDAsMiwyaDJhMiwyLDAsMCwwLDItMlY4YTIsMiwwLDAsMC0yLTJaIi8+PHBhdGggZD0iTTIyLDZIMjBhMiwyLDAsMCwwLTIsMlYyNGEyLDIsMCwwLDAsMiwyaDJhMiwyLDAsMCwwLDItMlY4YTIsMiwwLDAsMC0yLTJaIi8+PHJlY3QgaWQ9Il9UcmFuc3BhcmVudF9SZWN0YW5nbGVfIiBkYXRhLW5hbWU9IiZsdDtUcmFuc3BhcmVudCBSZWN0YW5nbGUmZ3Q7IiBjbGFzcz0iY2xzLTEiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIvPjwvc3ZnPg==";case"StopDefinition":return"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGlkPSJpY29uIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO308L3N0eWxlPjwvZGVmcz48dGl0bGU+c3RvcC0tZmlsbGVkPC90aXRsZT48cGF0aCBkPSJNMjQsNkg4QTIsMiwwLDAsMCw2LDhWMjRhMiwyLDAsMCwwLDIsMkgyNGEyLDIsMCwwLDAsMi0yVjhhMiwyLDAsMCwwLTItMloiLz48cmVjdCBpZD0iX1RyYW5zcGFyZW50X1JlY3RhbmdsZV8iIGRhdGEtbmFtZT0iJmx0O1RyYW5zcGFyZW50IFJlY3RhbmdsZSZndDsiIGNsYXNzPSJjbHMtMSIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIi8+PC9zdmc+";case"ResumableDefinition":return"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTVweCIgaGVpZ2h0PSIxNXB4IiB2aWV3Qm94PSIwIDAgMTUgMTUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGgKICAgIGZpbGwtcnVsZT0iZXZlbm9kZCIKICAgIGNsaXAtcnVsZT0iZXZlbm9kZCIKICAgIGQ9Ik0zLjA0OTk1IDIuNzQ5OTVDMy4wNDk5NSAyLjQ0NjE5IDIuODAzNzEgMi4xOTk5NSAyLjQ5OTk1IDIuMTk5OTVDMi4xOTYxOSAyLjE5OTk1IDEuOTQ5OTUgMi40NDYxOSAxLjk0OTk1IDIuNzQ5OTVWMTIuMjVDMS45NDk5NSAxMi41NTM3IDIuMTk2MTkgMTIuOCAyLjQ5OTk1IDEyLjhDMi44MDM3MSAxMi44IDMuMDQ5OTUgMTIuNTUzNyAzLjA0OTk1IDEyLjI1VjIuNzQ5OTVaTTUuNzMzMzMgMi4zMDc3NkM1LjU3ODM1IDIuMjI1OTYgNS4zOTE4NSAyLjIzMTI3IDUuMjQxNzcgMi4zMjE3NkM1LjA5MTcgMi40MTIyNSA0Ljk5OTk1IDIuNTc0NzEgNC45OTk5NSAyLjc0OTk1VjEyLjI1QzQuOTk5OTUgMTIuNDI1MiA1LjA5MTcgMTIuNTg3NyA1LjI0MTc3IDEyLjY3ODFDNS4zOTE4NSAxMi43Njg2IDUuNTc4MzUgMTIuNzczOSA1LjczMzMzIDEyLjY5MjFMMTQuNzMzMyA3Ljk0MjE0QzE0Ljg5NzMgNy44NTU1OSAxNSA3LjY4NTM5IDE1IDcuNDk5OTVDMTUgNy4zMTQ1MiAxNC44OTczIDcuMTQ0MzEgMTQuNzMzMyA3LjA1Nzc2TDUuNzMzMzMgMi4zMDc3NlpNNS45OTk5NSAxMS40MjA3VjMuNTc5MkwxMy40Mjg3IDcuNDk5OTVMNS45OTk5NSAxMS40MjA3WiIKICAgIGZpbGw9ImN1cnJlbnRDb2xvciIKICAvPgo8L3N2Zz4K";case"RoutingSlipDefinition":return"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGlkPSJpY29uIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO308L3N0eWxlPjwvZGVmcz48dGl0bGU+c2NoZW1hdGljczwvdGl0bGU+PHBhdGggZD0iTTI3LDE5LjAwMUE0LjAwNTYsNC4wMDU2LDAsMCwwLDIyLjk5OTEsMTVIOS4wMDExQTIuMDAzMSwyLjAwMzEsMCwwLDEsNywxMi45OTkxVjkuODU4QTMuOTk0OSwzLjk5NDksMCwwLDAsOS44NTgxLDdoMTIuMjg0YTQsNCwwLDEsMCwwLTJIOS44NTgxQTMuOTkxNiwzLjk5MTYsMCwxLDAsNSw5Ljg1OHYzLjE0MTFBNC4wMDU3LDQuMDA1NywwLDAsMCw5LjAwMTEsMTdoMTMuOTk4QTIuMDAzLDIuMDAzLDAsMCwxLDI1LDE5LjAwMVYyMkgyMnYzSDkuODU4MWE0LDQsMCwxLDAsMCwySDIydjNoOFYyMkgyN1pNMjYsNGEyLDIsMCwxLDEtMiwyQTIuMDAxOSwyLjAwMTksMCwwLDEsMjYsNFpNNCw2QTIsMiwwLDEsMSw2LDgsMi4wMDE5LDIuMDAxOSwwLDAsMSw0LDZaTTYsMjhhMiwyLDAsMSwxLDItMkEyLjAwMiwyLjAwMiwwLDAsMSw2LDI4Wm0yMi00djRIMjRWMjRaIi8+PHJlY3QgaWQ9Il9UcmFuc3BhcmVudF9SZWN0YW5nbGVfIiBkYXRhLW5hbWU9IiZsdDtUcmFuc3BhcmVudCBSZWN0YW5nbGUmZ3Q7IiBjbGFzcz0iY2xzLTEiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIvPjwvc3ZnPg==";case"ClaimCheckDefinition":return"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGlkPSJpY29uIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO308L3N0eWxlPjwvZGVmcz48dGl0bGU+Y2VydGlmaWNhdGUtLWNoZWNrPC90aXRsZT48cmVjdCB4PSI2IiB5PSIxNiIgd2lkdGg9IjYiIGhlaWdodD0iMiIvPjxyZWN0IHg9IjYiIHk9IjEyIiB3aWR0aD0iMTAiIGhlaWdodD0iMiIvPjxyZWN0IHg9IjYiIHk9IjgiIHdpZHRoPSIxMCIgaGVpZ2h0PSIyIi8+PHBhdGggZD0iTTE0LDI2SDRWNkgyOFYxNmgyVjZhMiwyLDAsMCwwLTItMkg0QTIsMiwwLDAsMCwyLDZWMjZhMiwyLDAsMCwwLDIsMkgxNFoiLz48cG9seWdvbiBwb2ludHM9IjIyIDI1LjU5IDE5LjQxIDIzIDE4IDI0LjQxIDIyIDI4LjQxIDMwIDIwLjQxIDI4LjU5IDE5IDIyIDI1LjU5Ii8+PHJlY3QgaWQ9Il9UcmFuc3BhcmVudF9SZWN0YW5nbGVfIiBkYXRhLW5hbWU9IiZsdDtUcmFuc3BhcmVudCBSZWN0YW5nbGUmZ3Q7IiBjbGFzcz0iY2xzLTEiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIvPjwvc3ZnPg==";case"SamplingDefinition":return"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDUxMiA1MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxnPg0KCQk8cGF0aCBkPSJNMjQwLjE0MSwzMDIuNjEyYy0yMS4zOTEtMjcuMzM3LTQyLjY0Ni00Ni4zMjYtNDMuNTQxLTQ3LjEyMWwtMTQuNzg3LTEzLjE0M2wtMTQuNzg3LDEzLjE0Mw0KCQkJYy0wLjg5NSwwLjc5NC0yMi4xNSwxOS43ODQtNDMuNTQ0LDQ3LjEyMWMtMzAuMjEyLDM4LjYwNy00NS41MzQsNzQuMTA5LTQ1LjUzNCwxMDUuNTI1YzAsNTcuMjcsNDYuNTkzLDEwMy44NjMsMTAzLjg2MywxMDMuODYzDQoJCQlzMTAzLjg2My00Ni41OTMsMTAzLjg2My0xMDMuODYzQzI4NS42NzQsMzc2LjcyMSwyNzAuMzU1LDM0MS4yMTgsMjQwLjE0MSwzMDIuNjEyeiBNMTgxLjgxNCw0NjcuNDg3DQoJCQljLTMyLjcyNiwwLTU5LjM1LTI2LjYyNS01OS4zNS01OS4zNWMwLTM1LjMzNCwzNS4wMDYtNzkuNTcsNTkuMy0xMDQuOTIzYzYuNzIxLDcuMDEyLDE1LjAyMywxNi4yMiwyMy4zMjgsMjYuODMxDQoJCQljMjMuNTk5LDMwLjE1NCwzNi4wNzUsNTcuMTYsMzYuMDc1LDc4LjA5MkMyNDEuMTY1LDQ0MC44NjMsMjE0LjUzOSw0NjcuNDg3LDE4MS44MTQsNDY3LjQ4N3oiLz4NCgk8L2c+DQo8L2c+DQo8Zz4NCgk8Zz4NCgkJPHBhdGggZD0iTTM2Ny4yMzIsMTA3LjExNGwtMTQuNzg3LTEzLjE0M2wtMTQuNzg3LDEzLjE0M2MtNi44MzksNi4wNzktNjYuODIsNjAuOTcyLTY2LjgyLDExNS41NTINCgkJCWMwLDQ0Ljk5OCwzNi42MDksODEuNjA3LDgxLjYwNyw4MS42MDdzODEuNjA3LTM2LjYwOSw4MS42MDctODEuNjA3QzQzNC4wNTQsMTY4LjA4NiwzNzQuMDczLDExMy4xOTMsMzY3LjIzMiwxMDcuMTE0eg0KCQkJIE0zNTIuNDQ3LDI1OS43NjFjLTIwLjQ1NCwwLTM3LjA5NC0xNi42NC0zNy4wOTQtMzcuMDk0YzAtMjAuMzEzLDE5LjE0Ni00Ny44NDIsMzcuMDkzLTY3LjUyNw0KCQkJYzE3Ljk1NSwxOS42OTEsMzcuMDk2LDQ3LjIxNSwzNy4wOTYsNjcuNTI3QzM4OS41NDEsMjQzLjEyMiwzNzIuOSwyNTkuNzYxLDM1Mi40NDcsMjU5Ljc2MXoiLz4NCgk8L2c+DQo8L2c+DQo8Zz4NCgk8Zz4NCgkJPHBhdGggZD0iTTE5Ni42MDEsMTMuMTQzTDE4MS44MTQsMGwtMTQuNzg3LDEzLjE0M2MtNS4zMjEsNC43My01MS45ODIsNDcuNDU4LTUxLjk4Miw5MC44MjNjMCwzNi44MTgsMjkuOTUxLDY2Ljc2OSw2Ni43NjksNjYuNzY5DQoJCQljMzYuODE3LDAsNjYuNzY5LTI5Ljk1Myw2Ni43NjktNjYuNzY5QzI0OC41ODMsNjAuNjAxLDIwMS45MjIsMTcuODczLDE5Ni42MDEsMTMuMTQzeiBNMTgxLjgxNCwxMjYuMjIyDQoJCQljLTEyLjI3MiwwLTIyLjI1Ni05Ljk4NC0yMi4yNTYtMjIuMjU2YzAtMTEuNzcyLDEwLjU4NS0yOC40ODQsMjIuMjA0LTQyLjE3M2MxMC45ODMsMTIuOTYxLDIyLjMwOCwyOS44OCwyMi4zMDgsNDIuMTczDQoJCQlDMjA0LjA3MSwxMTYuMjM5LDE5NC4wODYsMTI2LjIyMiwxODEuODE0LDEyNi4yMjJ6Ii8+DQoJPC9nPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPC9zdmc+DQo=";case"IdempotentConsumerDefinition":return"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIGlkPSJpY29uIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDpub25lO308L3N0eWxlPjwvZGVmcz48dGl0bGU+cmVzZWFyY2gtLW1hdHJpeDwvdGl0bGU+PHBvbHlnb24gcG9pbnRzPSIxOCAxMyAxOCA0IDE2IDQgMTYgNiAxMyA2IDEzIDggMTYgOCAxNiAxMyAxMyAxMyAxMyAxNSAyMSAxNSAyMSAxMyAxOCAxMyIvPjxwYXRoIGQ9Ik0xNi41LDIwQTMuNSwzLjUsMCwxLDEsMTMsMjMuNSwzLjUsMy41LDAsMCwxLDE2LjUsMjBtMC0yQTUuNSw1LjUsMCwxLDAsMjIsMjMuNSw1LjUsNS41LDAsMCwwLDE2LjUsMThaIi8+PHBvbHlnb24gcG9pbnRzPSI4IDMwIDIgMzAgMiAyIDggMiA4IDQgNCA0IDQgMjggOCAyOCA4IDMwIi8+PHBvbHlnb24gcG9pbnRzPSIzMCAzMCAyNCAzMCAyNCAyOCAyOCAyOCAyOCA0IDI0IDQgMjQgMiAzMCAyIDMwIDMwIi8+PHJlY3QgaWQ9Il9UcmFuc3BhcmVudF9SZWN0YW5nbGVfIiBkYXRhLW5hbWU9IiZsdDtUcmFuc3BhcmVudCBSZWN0YW5nbGUmZ3Q7IiBjbGFzcz0iY2xzLTEiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIvPjwvc3ZnPg==";case"DelayDefinition":return"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KDTwhLS0gVXBsb2FkZWQgdG86IFNWRyBSZXBvLCB3d3cuc3ZncmVwby5jb20sIEdlbmVyYXRvcjogU1ZHIFJlcG8gTWl4ZXIgVG9vbHMgLS0+Cjxzdmcgd2lkdGg9IjgwMHB4IiBoZWlnaHQ9IjgwMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0ibm9uZSI+Cg08ZyBmaWxsPSIjMDAwMDAwIj4KDTxwYXRoIGQ9Ik0xLjUgOGE2LjUgNi41IDAgMDE2Ljc0NC02LjQ5Ni43NS43NSAwIDEwLjA1NS0xLjQ5OSA4IDggMCAxMDcuMDM2IDExLjE5My43NS43NSAwIDAwLTEuMzc1LS42IDYuNzIyIDYuNzIyIDAgMDEtLjIyLjQ1M0E2LjUgNi41IDAgMDExLjUgOHpNMTAuNzI2IDEuMjM4YS43NS43NSAwIDAxMS4wMTMtLjMxMmMuMTc3LjA5NC4zNS4xOTQuNTE4LjNhLjc1Ljc1IDAgMDEtLjc5OSAxLjI3IDYuNTEyIDYuNTEyIDAgMDAtLjQyLS4yNDQuNzUuNzUgMCAwMS0uMzEyLTEuMDE0ek0xMy43NCAzLjUwOGEuNzUuNzUgMCAwMTEuMDM0LjIzNWMuMTA2LjE2OC4yMDYuMzQuMy41MThhLjc1Ljc1IDAgMTEtMS4zMjYuNzAyIDYuNDUyIDYuNDUyIDAgMDAtLjI0My0uNDIxLjc1Ljc1IDAgMDEuMjM1LTEuMDM0ek0xNS4yMTcgNi45NzlhLjc1Ljc1IDAgMDEuNzc3LjcyMiA4LjAzNCA4LjAzNCAwIDAxLjAwMi41NTIuNzUuNzUgMCAwMS0xLjUtLjA0NyA2LjcxMyA2LjcxMyAwIDAwMC0uNDUuNzUuNzUgMCAwMS43MjEtLjc3N3oiLz4KDTxwYXRoIGQ9Ik03Ljc1IDNhLjc1Ljc1IDAgMDEuNzUuNzV2My43ODZsMi4wODUgMS4wNDNhLjc1Ljc1IDAgMTEtLjY3IDEuMzQybC0yLjUtMS4yNUEuNzUuNzUgMCAwMTcgOFYzLjc1QS43NS43NSAwIDAxNy43NSAzeiIvPgoNPC9nPgoNPC9zdmc+";default:return Fc}},J.getIconForDsl=e=>{var i;return e.dsl&&(e.dsl==="KameletDefinition"||e.navigation==="kamelet")?J.getIconFromSource(J.getKameletIconByName(e.name)):e.dsl&&e.dsl==="FromDefinition"&&((i=e.uri)!=null&&i.startsWith("kamelet"))?J.getIconFromSource(J.getKameletIconByUri(e.uri)):e.navigation==="component"?J.getIconFromSource(Fc):J.getIconForDslName(e.dsl)},J.getIconForElement=e=>{var n;const i=oe.CamelUtil.getKamelet(e);return["FromDefinition","KameletDefinition"].includes(e.dslName)?i?J.getIconFromSource(i.icon()):J.getIconForDslName(e.dslName):e.dslName==="ToDefinition"&&((n=e.uri)!=null&&n.startsWith("kamelet:"))&&i?J.getIconFromSource(i.icon()):J.getIconForDslName(e.dslName)},J.getIconForDslName=e=>{switch(e){case"AggregateDefinition":return u.jsx(qD,{});case"ChoiceDefinition":return u.jsx($D,{});case"SplitDefinition":return u.jsx(YD,{});case"SagaDefinition":return u.jsx(ZD,{});case"FilterDefinition":return u.jsx(QD,{});case"SortDefinition":return u.jsx(ex,{});case"OnCompletionDefinition":return u.jsx(ix,{});case"InterceptDefinition":return u.jsx(tx,{});case"InterceptFromDefinition":return u.jsx(ax,{});case"InterceptSendToEndpointDefinition":return u.jsx(nx,{});default:return J.getIconFromSource(J.getIconSrcForName(e))}},J.getIconFromSource=e=>u.jsx("img",{draggable:!1,src:e,className:"icon",alt:"icon"}),J.getConnectionIcon=e=>{var n;const i=oe.CamelUtil.getKamelet(e);return["FromDefinition","KameletDefinition"].includes(e.dslName)?i?i.icon():Oc:e.dslName==="ToDefinition"&&((n=e.uri)!=null&&n.startsWith("kamelet:"))?i?i.icon():J.getIconSrcForName(e.dslName):Oc},J.getFlowCounts=e=>{var s,r,a,o;const i=new Map;i.set("routes",((s=e.spec.flows)==null?void 0:s.filter(l=>l.dslName==="RouteDefinition").length)||0),i.set("rest",((r=e.spec.flows)==null?void 0:r.filter(l=>l.dslName==="RestDefinition").length)||0),i.set("routeConfiguration",((a=e.spec.flows)==null?void 0:a.filter(l=>l.dslName==="RouteConfigurationDefinition").length)||0);const n=(o=e.spec.flows)==null?void 0:o.filter(l=>l.dslName==="Beans");return n&&n.length>0&&n[0].beans&&n[0].beans.length>0&&i.set("beans",Array.from(n[0].beans).length),i},J.getRoutes=e=>{var n;const i=[];return(n=e.spec.flows)==null||n.filter(s=>s.dslName==="RouteDefinition").forEach(s=>i.push(s)),i},J.getBeans=e=>{var s;const i=[],n=(s=e.spec.flows)==null?void 0:s.filter(r=>r.dslName==="Beans");return n&&n.length>0&&n[0].beans&&i.push(...n[0].beans),i},J.getRouteConfigurations=e=>{var n;const i=[];return(n=e.spec.flows)==null||n.filter(s=>s.dslName==="RouteConfigurationDefinition").forEach(s=>i.push(s)),i};let ue=J;class ox extends H.Component{constructor(){super(...arguments),this.getDefaultTabIndex=()=>{const e=ue.getSelectorModelTypes(this.props.parentDsl,this.props.showSteps);return e.length>0?e[0][0]:""},this.state={tabIndex:this.props.tabIndex?this.props.tabIndex:this.getDefaultTabIndex(),filter:""},this.selectTab=(e,i)=>{this.setState({tabIndex:i})},this.componentDidUpdate=(e,i,n)=>{e.parentDsl!==this.props.parentDsl&&this.setState({tabIndex:ue.getSelectorModelTypes(this.props.parentDsl,this.props.showSteps)[0][0]})},this.selectDsl=(e,i)=>{e.stopPropagation(),this.setState({filter:""}),this.props.onDslSelect.call(this,i,this.props.parentId,this.props.position)},this.searchInput=()=>u.jsx(On,{isHorizontal:!0,className:"search",autoComplete:"off",children:u.jsx(_i,{fieldId:"search",children:u.jsx(oi,{className:"text-field",type:"text",id:"search",name:"search",iconVariant:"search",value:this.state.filter,onChange:e=>this.setState({filter:e})})})}),this.close=()=>{var e;this.setState({filter:""}),(e=this.props.onClose)==null||e.call(this)}}getCard(e,i){return u.jsxs(Fn,{isHoverable:!0,isCompact:!0,className:"dsl-card",onClick:n=>this.selectDsl(n,e),children:[u.jsxs(hr,{className:"header-labels",children:[e.supportType==="Supported"&&u.jsx(ui,{isRead:!0,className:"support-type labels",children:e.supportType}),u.jsx(ui,{isRead:!0,className:"support-level labels",children:e.supportLevel})]}),u.jsxs(hr,{children:[ue.getIconForDsl(e),u.jsx(Si,{children:e.title})]}),u.jsx(Us,{children:u.jsx(Si,{children:e.description})}),e.navigation.toLowerCase()==="kamelet"&&u.jsxs(pr,{className:"footer-labels",children:[u.jsx(ui,{isRead:!0,className:"labels",children:e.labels}),u.jsx(ui,{isRead:!0,className:"version labels",children:e.version})]}),e.navigation.toLowerCase()==="component"&&u.jsxs(pr,{className:"footer-labels",children:[u.jsx(ui,{isRead:!0,className:"labels",children:e.labels}),u.jsx(ui,{isRead:!0,className:"version labels",children:e.version})]})]},e.dsl+i)}render(){const{parentDsl:e,isOpen:i}=this.props,n=e===void 0?"Select source/from":"Select step",s=this.state.tabIndex?this.state.tabIndex.toString():"";return u.jsx(wi,{"aria-label":n,width:"90%",className:"dsl-modal",isOpen:this.props.isOpen,onClose:()=>this.close(),header:u.jsxs(Mn,{direction:{default:"column"},children:[u.jsxs(Yt,{children:[u.jsx("h3",{children:n}),this.searchInput()]}),u.jsx(Yt,{children:u.jsx(gt,{style:{overflow:"hidden"},activeKey:this.state.tabIndex,onSelect:this.selectTab,children:ue.getSelectorModelTypes(e,this.props.showSteps,this.state.filter).map((r,a)=>{const o=r[0],l=r[1],c=["kamelet","component"].includes(o.toLowerCase())?o+"s ("+l+")":o;return u.jsx(dt,{eventKey:o,title:u.jsx(Tt,{children:oe.CamelUtil.capitalizeName(c)})},"tab-"+o)})})})]}),actions:{},children:u.jsx(it,{variant:this.props.dark?"darker":"light",children:u.jsx(Ys,{hasGutter:!0,className:"dsl-gallery",children:i&&ue.getSelectorModelsForParentFiltered(e,s,this.props.showSteps).filter(r=>ue.checkFilter(r,this.state.filter)).map((r,a)=>this.getCard(r,a))},"gallery-"+s)})})}}var Xe=ao(),Qu={},Ai={};const sx=Of(zh);(function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.createIcon=t.getSize=t.IconSize=void 0;const e=sx,i=e.__importStar(H);var n;(function(o){o.sm="sm",o.md="md",o.lg="lg",o.xl="xl"})(n=t.IconSize||(t.IconSize={}));const s=o=>{switch(o){case n.sm:return"1em";case n.md:return"1.5em";case n.lg:return"2em";case n.xl:return"3em";default:return"1em"}};t.getSize=s;let r=0;function a({name:o,xOffset:l=0,yOffset:c=0,width:f,height:h,svgPath:p}){var g;return g=class extends i.Component{constructor(){super(...arguments),this.id=`icon-title-${r++}`}render(){const b=this.props,{size:w,color:D,title:O,noVerticalAlign:M}=b,R=e.__rest(b,["size","color","title","noVerticalAlign"]),A=!!O,C=(0,t.getSize)(w),S=-.125*Number.parseFloat(C),k=M?null:{verticalAlign:`${S}em`},P=[l,c,f,h].join(" ");return i.createElement("svg",Object.assign({style:k,fill:D,height:C,width:C,viewBox:P,"aria-labelledby":A?this.id:null,"aria-hidden":A?null:!0,role:"img"},R),A&&i.createElement("title",{id:this.id},O),i.createElement("path",{d:p}))}},g.displayName=o,g.defaultProps={color:"currentColor",size:n.sm,noVerticalAlign:!1},g}t.createIcon=a})(Ai);(function(t){t.__esModule=!0,t.HelpIconConfig={name:"HelpIcon",height:1024,width:1024,svgPath:"M521.3,576 C627.5,576 713.7,502 713.7,413.7 C713.7,325.4 627.6,253.6 521.3,253.6 C366,253.6 334.5,337.7 329.2,407.2 C329.2,414.3 335.2,416 343.5,416 L445,416 C450.5,416 458,415.5 460.8,406.5 C460.8,362.6 582.9,357.1 582.9,413.6 C582.9,441.9 556.2,470.9 521.3,473 C486.4,475.1 447.3,479.8 447.3,521.7 L447.3,553.8 C447.3,570.8 456.1,576 472,576 C487.9,576 521.3,576 521.3,576 M575.3,751.3 L575.3,655.3 C575.313862,651.055109 573.620137,646.982962 570.6,644 C567.638831,640.947672 563.552355,639.247987 559.3,639.29884 L463.3,639.29884 C459.055109,639.286138 454.982962,640.979863 452,644 C448.947672,646.961169 447.247987,651.047645 447.29884,655.3 L447.29884,751.3 C447.286138,755.544891 448.979863,759.617038 452,762.6 C454.961169,765.652328 459.047645,767.352013 463.3,767.30116 L559.3,767.30116 C563.544891,767.313862 567.617038,765.620137 570.6,762.6 C573.659349,759.643612 575.360354,755.553963 575.3,751.3 M512,896 C300.2,896 128,723.9 128,512 C128,300.3 300.2,128 512,128 C723.8,128 896,300.2 896,512 C896,723.8 723.7,896 512,896 M512.1,0 C229.7,0 0,229.8 0,512 C0,794.2 229.8,1024 512.1,1024 C794.4,1024 1024,794.3 1024,512 C1024,229.7 794.4,0 512.1,0",yOffset:0,xOffset:0},t.HelpIcon=Ai.createIcon(t.HelpIconConfig),t.default=t.HelpIcon})(Qu);const kn=Mi(Qu);var ep={};(function(t){t.__esModule=!0,t.TimesCircleIconConfig={name:"TimesCircleIcon",height:512,width:512,svgPath:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z",yOffset:0,xOffset:0},t.TimesCircleIcon=Ai.createIcon(t.TimesCircleIconConfig),t.default=t.TimesCircleIcon})(ep);const Zt=Mi(ep);class lx extends H.Component{constructor(){super(...arguments),this.state={selectIsOpen:!1},this.openSelect=e=>{this.setState({selectIsOpen:e})},this.expressionChanged=(e,i)=>{var s,r;if(e!==i.expressionName){const a=(s=li.CamelMetadataApi.getCamelLanguageMetadataByName(e))==null?void 0:s.className;i=Xe.CamelDefinitionApi.createExpression(a||"",{expression:i.expression})}const n=new qu;n[e]=i,this.props.value&&(n.uuid=this.props.value.uuid),(r=this.props.onExpressionChange)==null||r.call(this,this.props.property.name,n),this.setState({selectIsOpen:!1})},this.propertyChanged=(e,i)=>{const n=this.getExpressionValue();n&&(n[e]=i,this.expressionChanged(this.getValueLanguage(),n))},this.getValueClassName=()=>te.CamelDefinitionApiExt.getExpressionLanguageClassName(this.props.value)||"SimpleExpression",this.getValueLanguage=()=>te.CamelDefinitionApiExt.getExpressionLanguageName(this.props.value)||"simple",this.getExpressionValue=()=>{const e=this.getValueLanguage();return this.props.value&&this.props.value[e]?this.props.value[e]:Xe.CamelDefinitionApi.createExpression(this.getValueClassName(),this.props.value)},this.getProps=()=>{const e=this.getValueClassName();return te.CamelDefinitionApiExt.getElementProperties(e).filter(i=>i.name!=="id").filter(i=>!i.isObject||i.isObject&&!ue.dslHasSteps(i.type)||e==="CatchDefinition"&&i.name==="onWhen")}}render(){const e=this.props.property,i=this.getExpressionValue(),n=li.Languages.find(r=>r[0]===this.getValueLanguage()),s=[];return li.Languages.forEach(r=>{const a=u.jsx(Pe,{value:r[0],description:r[2]},r[0]);s.push(a)}),u.jsxs("div",{children:[u.jsxs("label",{className:"pf-c-form__label",htmlFor:"expression",children:[u.jsx("span",{className:"pf-c-form__label-text",children:"Language"}),u.jsx("span",{className:"pf-c-form__label-required","aria-hidden":"true",children:" *"})]}),u.jsx(pi,{variant:le.typeahead,"aria-label":e.name,onToggle:r=>{this.openSelect(r)},onSelect:(r,a,o)=>{this.expressionChanged(a.toString(),i)},selections:n,isOpen:this.state.selectIsOpen,"aria-labelledby":e.name,direction:mi.down,children:s}),u.jsx(_i,{fieldId:e.name,labelIcon:e.description?u.jsx(Qt,{position:"left",headerContent:e.displayName,bodyContent:e.description,children:u.jsx("button",{type:"button","aria-label":"More info",onClick:r=>{r.preventDefault(),r.stopPropagation()},className:"pf-c-form__group-label-help",children:u.jsx(kn,{noVerticalAlign:!0})})}):u.jsx("div",{}),children:i&&this.getProps().map(r=>{var a;return u.jsx(go,{property:r,integration:this.props.integration,element:i,value:i?i[r.name]:void 0,onExpressionChange:o=>{},onParameterChange:o=>{console.log(o)},onDataFormatChange:o=>{console.log(o)},onChange:this.propertyChanged,dark:this.props.dark,dslLanguage:n},r.name+((a=this.props.value)==null?void 0:a.uuid))})},e.name)]})}}var ip={};(function(t){t.__esModule=!0,t.CompressIconConfig={name:"CompressIcon",height:512,width:448,svgPath:"M436 192H312c-13.3 0-24-10.7-24-24V44c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v84h84c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-276-24V44c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v84H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24zm0 300V344c0-13.3-10.7-24-24-24H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-84h84c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12H312c-13.3 0-24 10.7-24 24v124c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12z",yOffset:0,xOffset:0},t.CompressIcon=Ai.createIcon(t.CompressIconConfig),t.default=t.CompressIcon})(ip);const ll=Mi(ip);var tp={};(function(t){t.__esModule=!0,t.ExpandIconConfig={name:"ExpandIcon",height:512,width:448,svgPath:"M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z",yOffset:0,xOffset:0},t.ExpandIcon=Ai.createIcon(t.ExpandIconConfig),t.default=t.ExpandIcon})(tp);const cl=Mi(tp),cx={modifiers:{inlineEditable:"pf-m-inline-editable"}},ne={modifiers:{hidden:"pf-m-hidden",hiddenOnSm:"pf-m-hidden-on-sm",visibleOnSm:"pf-m-visible-on-sm",hiddenOnMd:"pf-m-hidden-on-md",visibleOnMd:"pf-m-visible-on-md",hiddenOnLg:"pf-m-hidden-on-lg",visibleOnLg:"pf-m-visible-on-lg",hiddenOnXl:"pf-m-hidden-on-xl",visibleOnXl:"pf-m-visible-on-xl",hiddenOn_2xl:"pf-m-hidden-on-2xl",visibleOn_2xl:"pf-m-visible-on-2xl",fixed:"pf-m-fixed",stickyHeader:"pf-m-sticky-header",nestedColumnHeader:"pf-m-nested-column-header",borderRow:"pf-m-border-row",striped:"pf-m-striped",expandable:"pf-m-expandable",stripedEven:"pf-m-striped-even",ghostRow:"pf-m-ghost-row",center:"pf-m-center",help:"pf-m-help",favorite:"pf-m-favorite",borderRight:"pf-m-border-right",borderLeft:"pf-m-border-left",truncate:"pf-m-truncate",wrap:"pf-m-wrap",nowrap:"pf-m-nowrap",fitContent:"pf-m-fit-content",breakWord:"pf-m-break-word",noBorderRows:"pf-m-no-border-rows",expanded:"pf-m-expanded",hoverable:"pf-m-hoverable",selected:"pf-m-selected",firstCellOffsetReset:"pf-m-first-cell-offset-reset",dragOver:"pf-m-drag-over",favorited:"pf-m-favorited",noPadding:"pf-m-no-padding",compact:"pf-m-compact",width_10:"pf-m-width-10",width_15:"pf-m-width-15",width_20:"pf-m-width-20",width_25:"pf-m-width-25",width_30:"pf-m-width-30",width_35:"pf-m-width-35",width_40:"pf-m-width-40",width_45:"pf-m-width-45",width_50:"pf-m-width-50",width_60:"pf-m-width-60",width_70:"pf-m-width-70",width_80:"pf-m-width-80",width_90:"pf-m-width-90",width_100:"pf-m-width-100"},table:"pf-c-table",tableAction:"pf-c-table__action",tableButton:"pf-c-table__button",tableButtonContent:"pf-c-table__button-content",tableCheck:"pf-c-table__check",tableColumnHelp:"pf-c-table__column-help",tableColumnHelpAction:"pf-c-table__column-help-action",tableCompoundExpansionToggle:"pf-c-table__compound-expansion-toggle",tableDraggable:"pf-c-table__draggable",tableExpandableRow:"pf-c-table__expandable-row",tableFavorite:"pf-c-table__favorite",tableSort:"pf-c-table__sort",tableSortIndicator:"pf-c-table__sort-indicator",tableSubhead:"pf-c-table__subhead",tableText:"pf-c-table__text",tableToggle:"pf-c-table__toggle",tableToggleIcon:"pf-c-table__toggle-icon"},dx={modifiers:{grid:"pf-m-grid",compact:"pf-m-compact",expanded:"pf-m-expanded",selected:"pf-m-selected",noPadding:"pf-m-no-padding",hoverable:"pf-m-hoverable",nowrap:"pf-m-nowrap",fitContent:"pf-m-fit-content",truncate:"pf-m-truncate",gridMd:"pf-m-grid-md",gridLg:"pf-m-grid-lg",gridXl:"pf-m-grid-xl",grid_2xl:"pf-m-grid-2xl"}},ot={modifiers:{treeView:"pf-m-tree-view",treeViewGrid:"pf-m-tree-view-grid",treeViewDetailsExpanded:"pf-m-tree-view-details-expanded",treeViewGridMd:"pf-m-tree-view-grid-md",treeViewGridLg:"pf-m-tree-view-grid-lg",treeViewGridXl:"pf-m-tree-view-grid-xl",treeViewGrid_2xl:"pf-m-tree-view-grid-2xl"},tableCheck:"pf-c-table__check",tableToggle:"pf-c-table__toggle",tableToggleIcon:"pf-c-table__toggle-icon",tableTreeViewDetailsToggle:"pf-c-table__tree-view-details-toggle",tableTreeViewIcon:"pf-c-table__tree-view-icon",tableTreeViewMain:"pf-c-table__tree-view-main",tableTreeViewText:"pf-c-table__tree-view-text"},fx=t=>t.toUpperCase().replace("-","").replace("_",""),Mc=t=>t.replace(/([-_][a-z])/gi,fx);function ux(t){return t[0].toUpperCase()+t.substring(1)}var gs;(function(t){t.none="",t.grid="grid",t.gridMd="grid-md",t.gridLg="grid-lg",t.gridXl="grid-xl",t.grid2xl="grid-2xl"})(gs||(gs={}));var Ac;(function(t){t.compact="compact"})(Ac||(Ac={}));const ap=d.createContext({registerSelectableRow:()=>{}}),px=t=>{var e,i,{children:n,className:s,variant:r,borders:a=!0,isStickyHeader:o=!1,gridBreakPoint:l=gs.gridMd,"aria-label":c,role:f="grid",innerRef:h,ouiaId:p,ouiaSafe:g=!0,isTreeTable:y=!1,isNested:b=!1,isStriped:w=!1,isExpandable:D=!1,nestedHeaderColumnSpans:O,hasSelectableRowCaption:M,selectableRowCaptionText:R}=t,A=B(t,["children","className","variant","borders","isStickyHeader","gridBreakPoint","aria-label","role","innerRef","ouiaId","ouiaSafe","isTreeTable","isNested","isStriped","isExpandable","nestedHeaderColumnSpans","hasSelectableRowCaption","selectableRowCaptionText"]);const C=d.useRef(null),S=h||C,[k,P]=d.useState(!1),[j,L]=d.useState();d.useEffect(()=>{if(document.addEventListener("keydown",X),S&&S.current&&S.current.classList.contains("pf-m-tree-view")){const ee=S.current.querySelector("tbody");ee&&Mv(Array.from(ee.querySelectorAll("button, a, input")))}return function(){document.removeEventListener("keydown",X)}},[S,S.current]),d.useEffect(()=>{L(R?d.createElement("caption",null,R,d.createElement("div",{className:"pf-screen-reader"},"This table has selectable rows. It can be navigated by row using tab, and each row can be selected using space or enter.")):d.createElement("caption",{className:"pf-screen-reader"},"This table has selectable rows. It can be navigated by row using tab, and each row can be selected using space or enter."))},[R]);const _=jt("Table",p,g),U=(e=dx.modifiers)===null||e===void 0?void 0:e[Mc(l||"").replace(/-?2xl/,"_2xl")],W=`treeView${l.charAt(0).toUpperCase()+l.slice(1)}`,N=(i=ot.modifiers)===null||i===void 0?void 0:i[Mc(W||"").replace(/-?2xl/,"_2xl")],X=ee=>{if(b||!(S&&S.current&&S.current.classList.contains("pf-m-tree-view"))||S&&S.current!==ee.target.closest(".pf-c-table:not(.pf-m-nested)"))return;const q=document.activeElement,se=ee.key,V=Array.from(S.current.querySelectorAll("tbody tr")).filter(re=>!re.classList.contains("pf-m-disabled")&&!re.hidden);(se==="Space"||se==="Enter")&&(q.click(),ee.preventDefault()),Zd(ee,V,re=>re===q.closest("tr"),re=>re.querySelectorAll("button:not(:disabled), input:not(:disabled), a:not(:disabled)")[0],["button","input","a"],void 0,!1,!0,!1)},Y=()=>{!k&&P(!0)};return d.createElement(ap.Provider,{value:{registerSelectableRow:Y}},d.createElement("table",Object.assign({"aria-label":c,role:f,className:x(s,ne.table,y?N:U,ne.modifiers[r],!a&&ne.modifiers.noBorderRows,o&&ne.modifiers.stickyHeader,y&&ot.modifiers.treeView,w&&ne.modifiers.striped,D&&ne.modifiers.expandable,b&&"pf-m-nested"),ref:S},y&&{role:"treegrid"},_,A),M&&k&&j,n))},ir=d.forwardRef((t,e)=>d.createElement(px,Object.assign({},t,{innerRef:e})));ir.displayName="TableComposable";const hx=t=>{var{children:e,className:i,noWrap:n=!1,innerRef:s,hasNestedHeader:r}=t,a=B(t,["children","className","noWrap","innerRef","hasNestedHeader"]);return d.createElement("thead",Object.assign({className:x(i,n&&ne.modifiers.nowrap,r&&ne.modifiers.nestedColumnHeader),ref:s},a),e)},tr=d.forwardRef((t,e)=>d.createElement(hx,Object.assign({},t,{innerRef:e})));tr.displayName="Thead";const gx=t=>{var{children:e,className:i,isExpanded:n,innerRef:s,isEvenStriped:r=!1,isOddStriped:a=!1}=t,o=B(t,["children","className","isExpanded","innerRef","isEvenStriped","isOddStriped"]);return d.createElement("tbody",Object.assign({role:"rowgroup",className:x(i,n&&ne.modifiers.expanded,a&&ne.modifiers.striped,r&&ne.modifiers.stripedEven),ref:s},o),e)},ar=d.forwardRef((t,e)=>d.createElement(gx,Object.assign({},t,{innerRef:e})));ar.displayName="Tbody";const vx=t=>{var{children:e,className:i,isExpanded:n,isEditable:s,isHidden:r=!1,isHoverable:a=!1,isRowSelected:o=!1,isStriped:l=!1,isBorderRow:c=!1,innerRef:f,ouiaId:h,ouiaSafe:p=!0,resetOffset:g=!1,onRowClick:y,isSelectable:b,"aria-label":w}=t,D=B(t,["children","className","isExpanded","isEditable","isHidden","isHoverable","isRowSelected","isStriped","isBorderRow","innerRef","ouiaId","ouiaSafe","resetOffset","onRowClick","isSelectable","aria-label"]);const O=jt("TableRow",h,p),[M,R]=d.useState("");let A=null;y&&(A=P=>{(P.key==="Enter"||P.key===" ")&&(y(P),P.preventDefault())});const C=r||n!==void 0&&!n,{registerSelectableRow:S}=d.useContext(ap);d.useEffect(()=>{b&&!C?(R(`${o?"Row selected":""}`),S()):R(void 0)},[o,b,S,C]);const k=w||M;return d.createElement(d.Fragment,null,b&&d.createElement("output",{className:"pf-screen-reader"},k),d.createElement("tr",Object.assign({className:x(i,n!==void 0&&ne.tableExpandableRow,n&&ne.modifiers.expanded,s&&cx.modifiers.inlineEditable,a&&ne.modifiers.hoverable,o&&ne.modifiers.selected,l&&ne.modifiers.striped,c&&ne.modifiers.borderRow,g&&ne.modifiers.firstCellOffsetReset),hidden:C},a&&{tabIndex:0},{"aria-label":k,ref:f},y&&{onClick:y,onKeyDown:A},O,D),e))},Bt=d.forwardRef((t,e)=>d.createElement(vx,Object.assign({},t,{innerRef:e})));Bt.displayName="Tr";const ua={modifiers:{borderRight:"pf-m-border-right",borderLeft:"pf-m-border-left"},tableStickyColumn:"pf-c-table__sticky-column"},mx={name:"HelpIcon",height:1024,width:1024,svgPath:"M521.3,576 C627.5,576 713.7,502 713.7,413.7 C713.7,325.4 627.6,253.6 521.3,253.6 C366,253.6 334.5,337.7 329.2,407.2 C329.2,414.3 335.2,416 343.5,416 L445,416 C450.5,416 458,415.5 460.8,406.5 C460.8,362.6 582.9,357.1 582.9,413.6 C582.9,441.9 556.2,470.9 521.3,473 C486.4,475.1 447.3,479.8 447.3,521.7 L447.3,553.8 C447.3,570.8 456.1,576 472,576 C487.9,576 521.3,576 521.3,576 M575.3,751.3 L575.3,655.3 C575.313862,651.055109 573.620137,646.982962 570.6,644 C567.638831,640.947672 563.552355,639.247987 559.3,639.29884 L463.3,639.29884 C459.055109,639.286138 454.982962,640.979863 452,644 C448.947672,646.961169 447.247987,651.047645 447.29884,655.3 L447.29884,751.3 C447.286138,755.544891 448.979863,759.617038 452,762.6 C454.961169,765.652328 459.047645,767.352013 463.3,767.30116 L559.3,767.30116 C563.544891,767.313862 567.617038,765.620137 570.6,762.6 C573.659349,759.643612 575.360354,755.553963 575.3,751.3 M512,896 C300.2,896 128,723.9 128,512 C128,300.3 300.2,128 512,128 C723.8,128 896,300.2 896,512 C896,723.8 723.7,896 512,896 M512.1,0 C229.7,0 0,229.8 0,512 C0,794.2 229.8,1024 512.1,1024 C794.4,1024 1024,794.3 1024,512 C1024,229.7 794.4,0 512.1,0",yOffset:0,xOffset:0},Ic=Ae(mx);var kc;(function(t){t.div="div",t.nav="nav"})(kc||(kc={}));var Rc;(function(t){t.wrap="wrap",t.nowrap="nowrap",t.truncate="truncate",t.breakWord="breakWord",t.fitContent="fitContent"})(Rc||(Rc={}));const no=t=>{var{children:e=null,className:i="",variant:n="span",wrapModifier:s=null,tooltip:r="",tooltipProps:a={},onMouseEnter:o=()=>{}}=t,l=B(t,["children","className","variant","wrapModifier","tooltip","tooltipProps","onMouseEnter"]);const c=n,[f,h]=d.useState(""),p=y=>{y.target.offsetWidth<y.target.scrollWidth?h(r||y.target.innerText):h(""),o(y)},g=d.createElement(c,Object.assign({onMouseEnter:p,className:x(i,s&&ne.modifiers[s],ne.tableText)},l),e);return f!==""?d.createElement(ve,Object.assign({content:f,isVisible:!0},a),g):g};no.displayName="TableText";const vs=({children:t,info:e,className:i,variant:n="tooltip",popoverProps:s,tooltipProps:r,ariaLabel:a})=>d.createElement("div",{className:x(ne.tableColumnHelp,i)},typeof t=="string"?d.createElement(no,null,t):t,d.createElement("span",{className:x(ne.tableColumnHelpAction)},n==="tooltip"?d.createElement(ve,Object.assign({content:e},r),d.createElement($,{variant:"plain","aria-label":a||typeof e=="string"&&e||"More info"},d.createElement(Ic,{noVerticalAlign:!0}))):d.createElement(Qt,Object.assign({bodyContent:e},s),d.createElement($,{variant:"plain","aria-label":a||typeof e=="string"&&e||"More info"},d.createElement(Ic,{noVerticalAlign:!0})))));vs.displayName="HeaderCellInfoWrapper";const yx=({tooltip:t,tooltipProps:e,popover:i,popoverProps:n,className:s,ariaLabel:r})=>o=>({className:ne.modifiers.help,children:t?d.createElement(vs,{variant:"tooltip",info:t,tooltipProps:e,ariaLabel:r,className:s},o):d.createElement(vs,{variant:"popover",info:i,popoverProps:n,ariaLabel:r,className:s},o)}),bx={name:"LongArrowAltUpIcon",height:512,width:256,svgPath:"M88 166.059V468c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12V166.059h46.059c21.382 0 32.09-25.851 16.971-40.971l-86.059-86.059c-9.373-9.373-24.569-9.373-33.941 0l-86.059 86.059c-15.119 15.119-4.411 40.971 16.971 40.971H88z",yOffset:0,xOffset:0},wx=Ae(bx),Dx={name:"LongArrowAltDownIcon",height:512,width:256,svgPath:"M168 345.941V44c0-6.627-5.373-12-12-12h-56c-6.627 0-12 5.373-12 12v301.941H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.569 9.373 33.941 0l86.059-86.059c15.119-15.119 4.411-40.971-16.971-40.971H168z",yOffset:0,xOffset:0},xx=Ae(Dx),Cx={name:"ArrowsAltVIcon",height:512,width:256,svgPath:"M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z",yOffset:0,xOffset:0},Sx=Ae(Cx);var Wt;(function(t){t.asc="asc",t.desc="desc"})(Wt||(Wt={}));const np=t=>{var{children:e=null,className:i="",isSortedBy:n=!1,onSort:s=null,sortDirection:r="",type:a="button"}=t,o=B(t,["children","className","isSortedBy","onSort","sortDirection","type"]);let l;return n?l=r===Wt.asc?wx:xx:l=Sx,d.createElement("button",Object.assign({},o,{type:a,className:x(i,ne.tableButton),onClick:c=>s&&s(c)}),d.createElement("div",{className:x(i,ne.tableButtonContent)},d.createElement(no,null,e),d.createElement("span",{className:x(ne.tableSortIndicator)},d.createElement(l,null))))};np.displayName="SortColumn";const Ex=t=>()=>rp(d.createElement(Ur,{"aria-hidden":!0}),{columnIndex:t.columnIndex,className:ne.modifiers.favorite,ariaLabel:"Sort favorites",column:{extraParams:{sortBy:t.sortBy,onSort:t==null?void 0:t.onSort}}}),rp=(t,{columnIndex:e,column:i,property:n,className:s,ariaLabel:r})=>{const{extraParams:{sortBy:a,onSort:o}}=i,l={columnIndex:e,column:i,property:n},c=a&&e===a.index;function f(h){let p;c?p=a.direction===Wt.asc?Wt.desc:Wt.asc:p=a.defaultDirection?a.defaultDirection:Wt.asc,o&&o(h,e,p,l)}return{className:x(ne.tableSort,c&&ne.modifiers.selected,s),"aria-sort":c?`${a.direction}ending`:"none",children:d.createElement(np,{isSortedBy:c,sortDirection:c?a.direction:"",onSort:f,"aria-label":r},t)}};var ms;(function(t){t.radio="radio",t.checkbox="checkbox"})(ms||(ms={}));const op=t=>{var{children:e=null,className:i,onSelect:n=null,selectVariant:s}=t,r=B(t,["children","className","onSelect","selectVariant"]);return d.createElement(d.Fragment,null,d.createElement("label",null,d.createElement("input",Object.assign({},r,{type:s,onChange:n}))),e)};op.displayName="SelectColumn";const sp=(t,{rowIndex:e,columnIndex:i,rowData:n,column:s,property:r})=>{const{extraParams:{onSelect:a,selectVariant:o,allRowsSelected:l,isHeaderSelectDisabled:c}}=s,f={rowIndex:e,columnIndex:i,column:s,property:r};if(n&&n.hasOwnProperty("parent")&&!n.showSelect&&!n.fullWidth)return{component:"td",isVisible:!0};const h=e!==void 0?e:-1;function p(b){const w=e===void 0?b.currentTarget.checked:n&&!n.selected;a&&a(b,w,h,n,f)}const g=Object.assign(Object.assign(Object.assign({},h!==-1?{checked:n&&!!n.selected,"aria-label":`Select row ${e}`}:{checked:l,"aria-label":"Select all rows"}),n&&(n.disableCheckbox||n.disableSelection)&&{disabled:!0,className:xi.checkInput}),!n&&c&&{disabled:!0});let y="check-all";return h!==-1&&o===ms.checkbox?y=`checkrow${e}`:h!==-1&&(y="radioGroup"),{className:x(ne.tableCheck),component:"td",isVisible:!n||!n.fullWidth,children:d.createElement(op,Object.assign({},g,{selectVariant:o,onSelect:p,name:y}),t)}},lp=t=>{var{className:e="",children:i=null,isOpen:n,onToggle:s}=t,r=B(t,["className","children","isOpen","onToggle"]);return d.createElement(d.Fragment,null,n!==void 0&&d.createElement($,Object.assign({className:x(e,n&&ne.modifiers.expanded)},r,{variant:"plain","aria-label":r["aria-label"]||"Details",onClick:s,"aria-expanded":n}),d.createElement("div",{className:x(ne.tableToggleIcon)},d.createElement(Df,null))),i)};lp.displayName="CollapseColumn";const cp=(t,{rowIndex:e,columnIndex:i,rowData:n,column:s,property:r})=>{const{extraParams:{onCollapse:a,rowLabeledBy:o="simple-node",expandId:l="expand-toggle",allRowsExpanded:c,collapseAllAriaLabel:f}}=s,h={rowIndex:e,columnIndex:i,column:s,property:r},p=e!==void 0?e:-1,g=Object.assign({},p!==-1?{isOpen:n==null?void 0:n.isOpen,"aria-labelledby":`${o}${p} ${l}${p}`}:{isOpen:c,"aria-label":f||"Expand all rows"});function y(b){const w=n?!n.isOpen:!c;a&&a(b,e,w,n,h)}return{className:((n==null?void 0:n.isOpen)!==void 0||p===-1)&&x(ne.tableToggle),isVisible:!(n!=null&&n.fullWidth),children:d.createElement(lp,Object.assign({"aria-labelledby":`${o}${p} ${l}${p}`,onToggle:y,id:l+p},g),t)}},dp=t=>()=>({className:x(ne.modifiers[typeof t=="number"?`width_${t}`:`width${ux(t)}`])}),Tx=["hidden","hiddenOnSm","hiddenOnMd","hiddenOnLg","hiddenOnXl","hiddenOn_2xl","visibleOnSm","visibleOnMd","visibleOnLg","visibleOnXl","visibleOn_2xl"],fp=Tx.filter(t=>ne.modifiers[t]).reduce((t,e)=>{const i=e.replace("_2xl","2Xl");return t[i]=ne.modifiers[e],t},{}),up=(...t)=>()=>({className:x(...t)});function Fx(){this.__data__=[],this.size=0}var Ox=Fx;function Mx(t,e){return t===e||t!==t&&e!==e}var ro=Mx,Ax=ro;function Ix(t,e){for(var i=t.length;i--;)if(Ax(t[i][0],e))return i;return-1}var oo=Ix,kx=oo,Rx=Array.prototype,jx=Rx.splice;function Px(t){var e=this.__data__,i=kx(e,t);if(i<0)return!1;var n=e.length-1;return i==n?e.pop():jx.call(e,i,1),--this.size,!0}var Lx=Px,Nx=oo;function Bx(t){var e=this.__data__,i=Nx(e,t);return i<0?void 0:e[i][1]}var _x=Bx,zx=oo;function Hx(t){return zx(this.__data__,t)>-1}var Wx=Hx,Ux=oo;function Vx(t,e){var i=this.__data__,n=Ux(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this}var Xx=Vx,Jx=Ox,Gx=Lx,Kx=_x,qx=Wx,$x=Xx;function Oa(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}Oa.prototype.clear=Jx;Oa.prototype.delete=Gx;Oa.prototype.get=Kx;Oa.prototype.has=qx;Oa.prototype.set=$x;var so=Oa,Yx=so;function Zx(){this.__data__=new Yx,this.size=0}var Qx=Zx;function eC(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}var iC=eC;function tC(t){return this.__data__.get(t)}var aC=tC;function nC(t){return this.__data__.has(t)}var rC=nC,oC=typeof si=="object"&&si&&si.Object===Object&&si,pp=oC,sC=pp,lC=typeof self=="object"&&self&&self.Object===Object&&self,cC=sC||lC||Function("return this")(),Ma=cC,dC=Ma,fC=dC.Symbol,hp=fC,jc=hp,gp=Object.prototype,uC=gp.hasOwnProperty,pC=gp.toString,Ja=jc?jc.toStringTag:void 0;function hC(t){var e=uC.call(t,Ja),i=t[Ja];try{t[Ja]=void 0;var n=!0}catch{}var s=pC.call(t);return n&&(e?t[Ja]=i:delete t[Ja]),s}var gC=hC,vC=Object.prototype,mC=vC.toString;function yC(t){return mC.call(t)}var bC=yC,Pc=hp,wC=gC,DC=bC,xC="[object Null]",CC="[object Undefined]",Lc=Pc?Pc.toStringTag:void 0;function SC(t){return t==null?t===void 0?CC:xC:Lc&&Lc in Object(t)?wC(t):DC(t)}var lo=SC;function EC(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var ia=EC,TC=lo,FC=ia,OC="[object AsyncFunction]",MC="[object Function]",AC="[object GeneratorFunction]",IC="[object Proxy]";function kC(t){if(!FC(t))return!1;var e=TC(t);return e==MC||e==AC||e==OC||e==IC}var dl=kC,RC=Ma,jC=RC["__core-js_shared__"],PC=jC,Ro=PC,Nc=function(){var t=/[^.]+$/.exec(Ro&&Ro.keys&&Ro.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function LC(t){return!!Nc&&Nc in t}var NC=LC,BC=Function.prototype,_C=BC.toString;function zC(t){if(t!=null){try{return _C.call(t)}catch{}try{return t+""}catch{}}return""}var HC=zC,WC=dl,UC=NC,VC=ia,XC=HC,JC=/[\\^$.*+?()[\]{}|]/g,GC=/^\[object .+?Constructor\]$/,KC=Function.prototype,qC=Object.prototype,$C=KC.toString,YC=qC.hasOwnProperty,ZC=RegExp("^"+$C.call(YC).replace(JC,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function QC(t){if(!VC(t)||UC(t))return!1;var e=WC(t)?ZC:GC;return e.test(XC(t))}var eS=QC;function iS(t,e){return t==null?void 0:t[e]}var tS=iS,aS=eS,nS=tS;function rS(t,e){var i=nS(t,e);return aS(i)?i:void 0}var fl=rS,oS=fl,sS=Ma,lS=oS(sS,"Map"),vp=lS,cS=fl,dS=cS(Object,"create"),co=dS,Bc=co;function fS(){this.__data__=Bc?Bc(null):{},this.size=0}var uS=fS;function pS(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var hS=pS,gS=co,vS="__lodash_hash_undefined__",mS=Object.prototype,yS=mS.hasOwnProperty;function bS(t){var e=this.__data__;if(gS){var i=e[t];return i===vS?void 0:i}return yS.call(e,t)?e[t]:void 0}var wS=bS,DS=co,xS=Object.prototype,CS=xS.hasOwnProperty;function SS(t){var e=this.__data__;return DS?e[t]!==void 0:CS.call(e,t)}var ES=SS,TS=co,FS="__lodash_hash_undefined__";function OS(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=TS&&e===void 0?FS:e,this}var MS=OS,AS=uS,IS=hS,kS=wS,RS=ES,jS=MS;function Aa(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}Aa.prototype.clear=AS;Aa.prototype.delete=IS;Aa.prototype.get=kS;Aa.prototype.has=RS;Aa.prototype.set=jS;var PS=Aa,_c=PS,LS=so,NS=vp;function BS(){this.size=0,this.__data__={hash:new _c,map:new(NS||LS),string:new _c}}var _S=BS;function zS(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var HS=zS,WS=HS;function US(t,e){var i=t.__data__;return WS(e)?i[typeof e=="string"?"string":"hash"]:i.map}var fo=US,VS=fo;function XS(t){var e=VS(this,t).delete(t);return this.size-=e?1:0,e}var JS=XS,GS=fo;function KS(t){return GS(this,t).get(t)}var qS=KS,$S=fo;function YS(t){return $S(this,t).has(t)}var ZS=YS,QS=fo;function e3(t,e){var i=QS(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this}var i3=e3,t3=_S,a3=JS,n3=qS,r3=ZS,o3=i3;function Ia(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}Ia.prototype.clear=t3;Ia.prototype.delete=a3;Ia.prototype.get=n3;Ia.prototype.has=r3;Ia.prototype.set=o3;var s3=Ia,l3=so,c3=vp,d3=s3,f3=200;function u3(t,e){var i=this.__data__;if(i instanceof l3){var n=i.__data__;if(!c3||n.length<f3-1)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new d3(n)}return i.set(t,e),this.size=i.size,this}var p3=u3,h3=so,g3=Qx,v3=iC,m3=aC,y3=rC,b3=p3;function ka(t){var e=this.__data__=new h3(t);this.size=e.size}ka.prototype.clear=g3;ka.prototype.delete=v3;ka.prototype.get=m3;ka.prototype.has=y3;ka.prototype.set=b3;var w3=ka,D3=fl,x3=function(){try{var t=D3(Object,"defineProperty");return t({},"",{}),t}catch{}}(),mp=x3,zc=mp;function C3(t,e,i){e=="__proto__"&&zc?zc(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}var ul=C3,S3=ul,E3=ro;function T3(t,e,i){(i!==void 0&&!E3(t[e],i)||i===void 0&&!(e in t))&&S3(t,e,i)}var yp=T3;function F3(t){return function(e,i,n){for(var s=-1,r=Object(e),a=n(e),o=a.length;o--;){var l=a[t?o:++s];if(i(r[l],l,r)===!1)break}return e}}var O3=F3,M3=O3,A3=M3(),I3=A3,Ar={exports:{}};Ar.exports;(function(t,e){var i=Ma,n=e&&!e.nodeType&&e,s=n&&!0&&t&&!t.nodeType&&t,r=s&&s.exports===n,a=r?i.Buffer:void 0,o=a?a.allocUnsafe:void 0;function l(c,f){if(f)return c.slice();var h=c.length,p=o?o(h):new c.constructor(h);return c.copy(p),p}t.exports=l})(Ar,Ar.exports);var k3=Ar.exports,R3=Ma,j3=R3.Uint8Array,P3=j3,Hc=P3;function L3(t){var e=new t.constructor(t.byteLength);return new Hc(e).set(new Hc(t)),e}var N3=L3,B3=N3;function _3(t,e){var i=e?B3(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}var z3=_3;function H3(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e}var W3=H3,U3=ia,Wc=Object.create,V3=function(){function t(){}return function(e){if(!U3(e))return{};if(Wc)return Wc(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}(),X3=V3;function J3(t,e){return function(i){return t(e(i))}}var G3=J3,K3=G3,q3=K3(Object.getPrototypeOf,Object),bp=q3,$3=Object.prototype;function Y3(t){var e=t&&t.constructor,i=typeof e=="function"&&e.prototype||$3;return t===i}var wp=Y3,Z3=X3,Q3=bp,eE=wp;function iE(t){return typeof t.constructor=="function"&&!eE(t)?Z3(Q3(t)):{}}var tE=iE;function aE(t){return t!=null&&typeof t=="object"}var Rn=aE,nE=lo,rE=Rn,oE="[object Arguments]";function sE(t){return rE(t)&&nE(t)==oE}var lE=sE,Uc=lE,cE=Rn,Dp=Object.prototype,dE=Dp.hasOwnProperty,fE=Dp.propertyIsEnumerable,uE=Uc(function(){return arguments}())?Uc:function(t){return cE(t)&&dE.call(t,"callee")&&!fE.call(t,"callee")},xp=uE,pE=Array.isArray,Cp=pE,hE=9007199254740991;function gE(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=hE}var Sp=gE,vE=dl,mE=Sp;function yE(t){return t!=null&&mE(t.length)&&!vE(t)}var pl=yE,bE=pl,wE=Rn;function DE(t){return wE(t)&&bE(t)}var xE=DE,Ir={exports:{}};function CE(){return!1}var SE=CE;Ir.exports;(function(t,e){var i=Ma,n=SE,s=e&&!e.nodeType&&e,r=s&&!0&&t&&!t.nodeType&&t,a=r&&r.exports===s,o=a?i.Buffer:void 0,l=o?o.isBuffer:void 0,c=l||n;t.exports=c})(Ir,Ir.exports);var Ep=Ir.exports,EE=lo,TE=bp,FE=Rn,OE="[object Object]",ME=Function.prototype,AE=Object.prototype,Tp=ME.toString,IE=AE.hasOwnProperty,kE=Tp.call(Object);function RE(t){if(!FE(t)||EE(t)!=OE)return!1;var e=TE(t);if(e===null)return!0;var i=IE.call(e,"constructor")&&e.constructor;return typeof i=="function"&&i instanceof i&&Tp.call(i)==kE}var jE=RE,PE=lo,LE=Sp,NE=Rn,BE="[object Arguments]",_E="[object Array]",zE="[object Boolean]",HE="[object Date]",WE="[object Error]",UE="[object Function]",VE="[object Map]",XE="[object Number]",JE="[object Object]",GE="[object RegExp]",KE="[object Set]",qE="[object String]",$E="[object WeakMap]",YE="[object ArrayBuffer]",ZE="[object DataView]",QE="[object Float32Array]",e4="[object Float64Array]",i4="[object Int8Array]",t4="[object Int16Array]",a4="[object Int32Array]",n4="[object Uint8Array]",r4="[object Uint8ClampedArray]",o4="[object Uint16Array]",s4="[object Uint32Array]",Me={};Me[QE]=Me[e4]=Me[i4]=Me[t4]=Me[a4]=Me[n4]=Me[r4]=Me[o4]=Me[s4]=!0;Me[BE]=Me[_E]=Me[YE]=Me[zE]=Me[ZE]=Me[HE]=Me[WE]=Me[UE]=Me[VE]=Me[XE]=Me[JE]=Me[GE]=Me[KE]=Me[qE]=Me[$E]=!1;function l4(t){return NE(t)&&LE(t.length)&&!!Me[PE(t)]}var c4=l4;function d4(t){return function(e){return t(e)}}var f4=d4,kr={exports:{}};kr.exports;(function(t,e){var i=pp,n=e&&!e.nodeType&&e,s=n&&!0&&t&&!t.nodeType&&t,r=s&&s.exports===n,a=r&&i.process,o=function(){try{var l=s&&s.require&&s.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();t.exports=o})(kr,kr.exports);var u4=kr.exports,p4=c4,h4=f4,Vc=u4,Xc=Vc&&Vc.isTypedArray,g4=Xc?h4(Xc):p4,Fp=g4;function v4(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var Op=v4,m4=ul,y4=ro,b4=Object.prototype,w4=b4.hasOwnProperty;function D4(t,e,i){var n=t[e];(!(w4.call(t,e)&&y4(n,i))||i===void 0&&!(e in t))&&m4(t,e,i)}var x4=D4,C4=x4,S4=ul;function E4(t,e,i,n){var s=!i;i||(i={});for(var r=-1,a=e.length;++r<a;){var o=e[r],l=n?n(i[o],t[o],o,i,t):void 0;l===void 0&&(l=t[o]),s?S4(i,o,l):C4(i,o,l)}return i}var T4=E4;function F4(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}var O4=F4,M4=9007199254740991,A4=/^(?:0|[1-9]\d*)$/;function I4(t,e){var i=typeof t;return e=e??M4,!!e&&(i=="number"||i!="symbol"&&A4.test(t))&&t>-1&&t%1==0&&t<e}var Mp=I4,k4=O4,R4=xp,j4=Cp,P4=Ep,L4=Mp,N4=Fp,B4=Object.prototype,_4=B4.hasOwnProperty;function z4(t,e){var i=j4(t),n=!i&&R4(t),s=!i&&!n&&P4(t),r=!i&&!n&&!s&&N4(t),a=i||n||s||r,o=a?k4(t.length,String):[],l=o.length;for(var c in t)(e||_4.call(t,c))&&!(a&&(c=="length"||s&&(c=="offset"||c=="parent")||r&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||L4(c,l)))&&o.push(c);return o}var H4=z4;function W4(t){var e=[];if(t!=null)for(var i in Object(t))e.push(i);return e}var U4=W4,V4=ia,X4=wp,J4=U4,G4=Object.prototype,K4=G4.hasOwnProperty;function q4(t){if(!V4(t))return J4(t);var e=X4(t),i=[];for(var n in t)n=="constructor"&&(e||!K4.call(t,n))||i.push(n);return i}var $4=q4,Y4=H4,Z4=$4,Q4=pl;function e6(t){return Q4(t)?Y4(t,!0):Z4(t)}var Ap=e6,i6=T4,t6=Ap;function a6(t){return i6(t,t6(t))}var n6=a6,Jc=yp,r6=k3,o6=z3,s6=W3,l6=tE,Gc=xp,Kc=Cp,c6=xE,d6=Ep,f6=dl,u6=ia,p6=jE,h6=Fp,qc=Op,g6=n6;function v6(t,e,i,n,s,r,a){var o=qc(t,i),l=qc(e,i),c=a.get(l);if(c){Jc(t,i,c);return}var f=r?r(o,l,i+"",t,e,a):void 0,h=f===void 0;if(h){var p=Kc(l),g=!p&&d6(l),y=!p&&!g&&h6(l);f=l,p||g||y?Kc(o)?f=o:c6(o)?f=s6(o):g?(h=!1,f=r6(l,!0)):y?(h=!1,f=o6(l,!0)):f=[]:p6(l)||Gc(l)?(f=o,Gc(o)?f=g6(o):(!u6(o)||f6(o))&&(f=l6(l))):h=!1}h&&(a.set(l,f),s(f,l,n,r,a),a.delete(l)),Jc(t,i,f)}var m6=v6,y6=w3,b6=yp,w6=I3,D6=m6,x6=ia,C6=Ap,S6=Op;function Ip(t,e,i,n,s){t!==e&&w6(e,function(r,a){if(s||(s=new y6),x6(r))D6(t,e,a,i,Ip,n,s);else{var o=n?n(S6(t,a),r,a+"",t,e,s):void 0;o===void 0&&(o=r),b6(t,a,o)}},C6)}var E6=Ip;function T6(t){return t}var kp=T6;function F6(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}var O6=F6,M6=O6,$c=Math.max;function A6(t,e,i){return e=$c(e===void 0?t.length-1:e,0),function(){for(var n=arguments,s=-1,r=$c(n.length-e,0),a=Array(r);++s<r;)a[s]=n[e+s];s=-1;for(var o=Array(e+1);++s<e;)o[s]=n[s];return o[e]=i(a),M6(t,this,o)}}var I6=A6;function k6(t){return function(){return t}}var R6=k6,j6=R6,Yc=mp,P6=kp,L6=Yc?function(t,e){return Yc(t,"toString",{configurable:!0,enumerable:!1,value:j6(e),writable:!0})}:P6,N6=L6,B6=800,_6=16,z6=Date.now;function H6(t){var e=0,i=0;return function(){var n=z6(),s=_6-(n-i);if(i=n,s>0){if(++e>=B6)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var W6=H6,U6=N6,V6=W6,X6=V6(U6),J6=X6,G6=kp,K6=I6,q6=J6;function $6(t,e){return q6(K6(t,e,G6),t+"")}var Y6=$6,Z6=ro,Q6=pl,eT=Mp,iT=ia;function tT(t,e,i){if(!iT(i))return!1;var n=typeof e;return(n=="number"?Q6(i)&&eT(e,i.length):n=="string"&&e in i)?Z6(i[e],t):!1}var aT=tT,nT=Y6,rT=aT;function oT(t){return nT(function(e,i){var n=-1,s=i.length,r=s>1?i[s-1]:void 0,a=s>2?i[2]:void 0;for(r=t.length>3&&typeof r=="function"?(s--,r):void 0,a&&rT(i[0],i[1],a)&&(r=s<3?void 0:r,s=1),e=Object(e);++n<s;){var o=i[n];o&&t(e,o,n,r)}return e})}var sT=oT,lT=E6,cT=sT,dT=cT(function(t,e,i,n){lT(t,e,i,n)}),fT=dT;const jo=Mi(fT);function Rp(...t){const e=t[0],i=t.slice(1);return i.length?jo(jo({},e),...i,(n,s,r)=>{if(r==="children")return n&&s?d.cloneElement(n,{children:s}):Object.assign(Object.assign({},s),n);if(r==="className")return x(n,s)}):jo({},e)}const uT=t=>{var{children:e,className:i,component:n="th",dataLabel:s,scope:r="col",textCenter:a=!1,sort:o=null,modifier:l,select:c=null,expand:f=null,tooltip:h="",onMouseEnter:p=()=>{},width:g,visibility:y,innerRef:b,info:w,isStickyColumn:D=!1,hasRightBorder:O=!1,hasLeftBorder:M=!1,stickyMinWidth:R="120px",stickyLeftOffset:A,stickyRightOffset:C,isSubheader:S=!1}=t,k=B(t,["children","className","component","dataLabel","scope","textCenter","sort","modifier","select","expand","tooltip","onMouseEnter","width","visibility","innerRef","info","isStickyColumn","hasRightBorder","hasLeftBorder","stickyMinWidth","stickyLeftOffset","stickyRightOffset","isSubheader"]);const[P,j]=d.useState(!1),L=he=>{he.target.offsetWidth<he.target.scrollWidth?!P&&j(!0):P&&j(!1),p(he)};let _=null;o&&(o.isFavorites?_=Ex({onSort:o==null?void 0:o.onSort,columnIndex:o.columnIndex,sortBy:o.sortBy})():_=rp(e,{columnIndex:o.columnIndex,column:{extraParams:{sortBy:o.sortBy,onSort:o==null?void 0:o.onSort}}}));const U=c?sp(e,{rowData:{selected:c.isSelected,disableSelection:c==null?void 0:c.isDisabled,props:c==null?void 0:c.props},column:{extraParams:{onSelect:c==null?void 0:c.onSelect,selectVariant:"checkbox",allRowsSelected:c.isSelected,isHeaderSelectDisabled:!!c.isHeaderSelectDisabled}}}):null,W=f?cp(e,{column:{extraParams:{onCollapse:f==null?void 0:f.onToggle,allRowsExpanded:!f.areAllExpanded,collapseAllAriaLabel:""}}}):null,N=g?dp(g)():null,X=y?up(...y.map(he=>fp[he]))():null;let Y=(_==null?void 0:_.children)||(U==null?void 0:U.children)||(W==null?void 0:W.children)||e,ee=null;w&&(ee=yx(w)(Y),Y=ee.children);const q=Rp(_,U,W,N,X,ee),{children:se=null,isVisible:V=null,className:G="",component:re=n}=q,pe=B(q,["children","isVisible","className","component"]),Z=d.createElement(re,Object.assign({"data-label":s,onMouseEnter:h!==null?L:p,scope:n==="th"&&e?r:null,ref:b,className:x(i,a&&ne.modifiers.center,S&&ne.tableSubhead,D&&ua.tableStickyColumn,O&&ua.modifiers.borderRight,M&&ua.modifiers.borderLeft,l&&ne.modifiers[l],G)},pe,k,D&&{style:Object.assign({"--pf-c-table__sticky-column--MinWidth":R||void 0,"--pf-c-table__sticky-column--Left":A||void 0,right:C||0},k.style)}),Y);return h!==null&&(h===""?typeof Y=="string":!0)&&P?d.createElement(ve,{content:h||h===""&&e,isVisible:!0},Z):Z},Pi=d.forwardRef((t,e)=>d.createElement(uT,Object.assign({},t,{innerRef:e})));Pi.displayName="Th";class hl extends d.Component{constructor(e){super(e),this.toggleRef=d.createRef(),this.onToggle=i=>{this.setState({isOpen:i})},this.onClick=(i,n)=>{const{rowData:s,extraData:r}=this.props;n&&(i.preventDefault(),n(i,r&&r.rowIndex,s,r))},this.state={isOpen:!1}}render(){const{isOpen:e}=this.state,{items:i,children:n,dropdownPosition:s,dropdownDirection:r,menuAppendTo:a,isDisabled:o,rowData:l,actionsToggle:c}=this.props,f=c?c({onToggle:this.onToggle,isOpen:e,isDisabled:o}):d.createElement(sf,{isDisabled:o,onToggle:this.onToggle});return d.createElement(d.Fragment,null,i.filter(h=>h.isOutsideDropdown).map((h,p)=>{var{title:g,itemKey:y,onClick:b,isOutsideDropdown:w}=h,D=B(h,["title","itemKey","onClick","isOutsideDropdown"]);return typeof g=="string"?d.createElement($,Object.assign({onClick:O=>this.onClick(O,b)},D,{isDisabled:o,key:y||`outside_dropdown_${p}`,"data-key":y||`outside_dropdown_${p}`}),g):d.cloneElement(g,Object.assign({onClick:b,isDisabled:o},D))}),d.createElement(fr,Object.assign({toggle:f,position:s,direction:r,menuAppendTo:a,isOpen:e,dropdownItems:i.filter(h=>!h.isOutsideDropdown).map((h,p)=>{var{title:g,itemKey:y,onClick:b,isSeparator:w}=h,D=B(h,["title","itemKey","onClick","isSeparator"]);return w?d.createElement(Wr,Object.assign({},D,{key:y||p,"data-key":y||p})):d.createElement(Ls,Object.assign({component:"button",onClick:O=>{this.onClick(O,b),this.onToggle(!e)}},D,{key:y||p,"data-key":y||p}),g)}),isPlain:!0},l&&l.actionProps)),n)}}hl.displayName="ActionsColumn";hl.defaultProps={children:null,items:[],dropdownPosition:Yi.right,dropdownDirection:va.down,menuAppendTo:"inline",rowData:{},extraData:{}};const Zc=(t,e,i,n)=>e,pT=(t,e,i)=>(n,{rowData:s,column:r,rowIndex:a,columnIndex:o,column:{extraParams:{dropdownPosition:l,dropdownDirection:c,actionsToggle:f,menuAppendTo:h}},property:p})=>{const g={rowIndex:a,columnIndex:o,column:r,property:p},y=Zc(e,t),b=Zc(i,s&&s.disableActions),w=y&&y.length>0?{children:d.createElement(hl,{items:y,dropdownPosition:l,dropdownDirection:c,menuAppendTo:h,isDisabled:b,rowData:s,extraData:g,actionsToggle:f},n)}:{};return Object.assign({className:x(ne.tableAction),style:{paddingRight:0},isVisible:!0},w)},hT=(t,{rowIndex:e,columnIndex:i,rowData:n,column:s,property:r})=>{if(!t)return null;const{title:a,props:o}=t,{extraParams:{onExpand:l,expandId:c="expand-toggle"}}=s,f={rowIndex:e,columnIndex:i,column:s,property:r};function h(p){l&&l(p,e,i,o.isOpen,n,f)}return{className:x(ne.tableCompoundExpansionToggle,o.isOpen&&ne.modifiers.expanded),children:o.isOpen!==void 0&&d.createElement("button",{type:"button",className:x(ne.tableButton),onClick:h,"aria-expanded":o.isOpen,"aria-controls":o.ariaControls,id:`${c}-${e}-${i}`},d.createElement(no,null,a))}},jp=t=>{var{className:e="",onFavorite:i,isFavorited:n,rowIndex:s}=t,r=B(t,["className","onFavorite","isFavorited","rowIndex"]);const a=s===void 0?{}:{id:`favorites-button-${s}`,"aria-labelledby":`favorites-button-${s}`};return d.createElement($,Object.assign({variant:"plain",className:e,type:"button","aria-label":n?"Starred":"Not starred",onClick:i},a,r),d.createElement(Ur,{"aria-hidden":!0}))};jp.displayName="FavoritesCell";const gT=(t,{rowIndex:e,columnIndex:i,rowData:n,column:s,property:r})=>{const{extraParams:{onFavorite:a}}=s,o={rowIndex:e,columnIndex:i,column:s,property:r};if(n&&n.hasOwnProperty("parent")&&!n.fullWidth)return{component:"td",isVisible:!0};function l(f){a&&a(f,n&&!n.favorited,e,n,o)}const c=n.favoritesProps||{};return{className:x(ne.tableFavorite,n&&n.favorited&&ne.modifiers.favorited),isVisible:!n||!n.fullWidth,children:d.createElement(jp,Object.assign({rowIndex:e,onFavorite:l,isFavorited:n&&n.favorited},c))}},Pp=t=>{var{className:e,onClick:i,"aria-label":n,id:s}=t,r=B(t,["className","onClick","aria-label","id"]);return d.createElement($,Object.assign({id:s,variant:"plain",className:e,type:"button","aria-label":n||"Draggable row draggable button",onClick:i},r),d.createElement(fm,{"aria-hidden":!0}))};Pp.displayName="DraggableCell";const vT=(t,{rowData:e})=>{const{id:i}=e;return{className:"",children:d.createElement(Pp,{id:i})}},mT={name:"EllipsisHIcon",height:512,width:512,svgPath:"M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z",yOffset:0,xOffset:0},yT=Ae(mT),bT=(t,e,i)=>(n,{rowIndex:s,rowData:r})=>{const{isExpanded:a,isDetailsExpanded:o,"aria-level":l,"aria-setsize":c,toggleAriaLabel:f,checkAriaLabel:h,showDetailsAriaLabel:p,isChecked:g,checkboxId:y,icon:b}=r.props,w=n.title||n,D=d.createElement("div",{className:x(ot.tableTreeViewText),key:"tree-view-text"},b&&d.createElement("span",{className:x(ot.tableTreeViewIcon),key:"tree-view-text-icon"},b),d.createElement("span",{className:"pf-c-table__text",key:"table-text"},w)),O=(M,R)=>{e(R,M,s,w,r)};return{component:"th",className:"pf-c-table__tree-view-title-cell",children:l!==void 0?d.createElement("div",{className:x(ot.tableTreeViewMain)},c>0&&d.createElement("span",{className:x(ot.tableToggle),key:"table-toggle"},d.createElement($,{variant:"plain",onClick:M=>t&&t(M,s,w,r),className:x(a&&ne.modifiers.expanded),"aria-expanded":a,"aria-label":f||`${a?"Collapse":"Expand"} row ${s}`},d.createElement("div",{className:x(ot.tableToggleIcon)},d.createElement(Df,{"aria-hidden":"true"})))),!!e&&d.createElement("span",{className:x(ot.tableCheck),key:"table-check"},d.createElement("label",{htmlFor:y||`checkbox_${s}`},d.createElement(qt,{id:y||`checkbox_${s}`,"aria-label":h||`Row ${s} checkbox`,isChecked:g,onChange:O}))),D,!!i&&d.createElement("span",{className:x(ot.tableTreeViewDetailsToggle),key:"view-details-toggle"},d.createElement($,{variant:"plain","aria-expanded":o,"aria-label":p||"Show row details",onClick:M=>i&&i(M,s,w,r)},d.createElement("span",{className:"pf-c-table__details-toggle-icon"},d.createElement(yT,{"aria-hidden":!0}))))):D}},wT=t=>{var{children:e,className:i,isActionCell:n=!1,component:s="td",dataLabel:r,textCenter:a=!1,modifier:o,select:l=null,actions:c=null,expand:f=null,treeRow:h=null,compoundExpand:p=null,noPadding:g,width:y,visibility:b,innerRef:w,favorites:D=null,draggableRow:O=null,tooltip:M="",onMouseEnter:R=()=>{},isStickyColumn:A=!1,hasRightBorder:C=!1,hasLeftBorder:S=!1,stickyMinWidth:k="120px",stickyLeftOffset:P,stickyRightOffset:j}=t,L=B(t,["children","className","isActionCell","component","dataLabel","textCenter","modifier","select","actions","expand","treeRow","compoundExpand","noPadding","width","visibility","innerRef","favorites","draggableRow","tooltip","onMouseEnter","isStickyColumn","hasRightBorder","hasLeftBorder","stickyMinWidth","stickyLeftOffset","stickyRightOffset"]);const[_,U]=d.useState(!1),W=ae=>{ae.target.offsetWidth<ae.target.scrollWidth?!_&&U(!0):_&&U(!1),R(ae)},N=l?sp(e,{rowIndex:l.rowIndex,rowData:{selected:l.isSelected,disableSelection:l==null?void 0:l.disable,props:l==null?void 0:l.props},column:{extraParams:{onSelect:l==null?void 0:l.onSelect,selectVariant:l.variant||"checkbox"}}}):null,X=D?gT(null,{rowIndex:D==null?void 0:D.rowIndex,rowData:{favorited:D.isFavorited,favoritesProps:D==null?void 0:D.props},column:{extraParams:{onFavorite:D==null?void 0:D.onFavorite}}}):null,Y=O!==null?vT(null,{rowData:{id:O.id}}):null,ee=c?pT(c.items,null,null):null,q=ee?ee(null,{rowIndex:c==null?void 0:c.rowIndex,rowData:{disableActions:c==null?void 0:c.disable},column:{extraParams:{dropdownPosition:c==null?void 0:c.dropdownPosition,dropdownDirection:c==null?void 0:c.dropdownDirection,menuAppendTo:c==null?void 0:c.menuAppendTo,actionsToggle:c==null?void 0:c.actionsToggle}}}):null,se=f!==null?cp(null,{rowIndex:f.rowIndex,columnIndex:f==null?void 0:f.columnIndex,rowData:{isOpen:f.isExpanded},column:{extraParams:{onCollapse:f==null?void 0:f.onToggle,expandId:f==null?void 0:f.expandId}}}):null,V=p!==null?hT({title:e,props:{isOpen:p.isExpanded}},{rowIndex:p==null?void 0:p.rowIndex,columnIndex:p==null?void 0:p.columnIndex,column:{extraParams:{onExpand:p==null?void 0:p.onToggle,expandId:p==null?void 0:p.expandId}}}):null,G=y?dp(y)():null,re=b?up(...b.map(ae=>fp[ae]))():null,pe=h!==null?bT(h.onCollapse,h.onCheckChange,h.onToggleRowDetails)({title:e},{rowIndex:h.rowIndex,rowData:{props:h.props}}):null,Z=Rp(N,q,se,V,G,re,X,pe,Y),{isVisible:Ce=null,children:he=null,className:Ee="",component:qe=s}=Z,Ie=B(Z,["isVisible","children","className","component"]),Te=i&&i.includes("pf-c-table__tree-view-title-cell")||Ee&&Ee.includes("pf-c-table__tree-view-title-cell"),Le=d.createElement(qe,Object.assign({},!Te&&{"data-label":r},{onMouseEnter:M!==null?W:R,className:x(i,n&&ne.tableAction,a&&ne.modifiers.center,g&&ne.modifiers.noPadding,A&&ua.tableStickyColumn,C&&ua.modifiers.borderRight,S&&ua.modifiers.borderLeft,ne.modifiers[o],Y&&ne.tableDraggable,Ee),ref:w},Ie,L,A&&{style:Object.assign({"--pf-c-table__sticky-column--MinWidth":k||void 0,"--pf-c-table__sticky-column--Left":P||void 0,right:j||0},L.style)}),he||e);return M!==null&&(M===""?typeof e=="string":!0)&&_?d.createElement(ve,{content:M||M===""&&e,isVisible:!0},Le):Le},Li=d.forwardRef((t,e)=>d.createElement(wT,Object.assign({},t,{innerRef:e})));Li.displayName="Td";const fa=class fa{static setConfigMaps(e){this.configMaps=e}static setSecrets(e){this.secrets=e}static setServices(e){this.services=e}};fa.inKubernetes=!1,fa.configMaps=[],fa.secrets=[],fa.services=[];let ft=fa;class uo extends H.Component{constructor(){super(...arguments),this.state={tabIndex:"configMap",configMaps:ft.configMaps,secrets:ft.secrets,services:ft.services},this.selectTab=(e,i)=>{this.setState({tabIndex:i})},this.checkFilter=e=>this.state.filter!==void 0&&e?e.toLowerCase().includes(this.state.filter.toLowerCase()):!0,this.searchInput=()=>u.jsx(On,{isHorizontal:!0,className:"search",autoComplete:"off",children:u.jsx(_i,{fieldId:"search",children:u.jsx(oi,{className:"text-field",type:"text",id:"search",name:"search",iconVariant:"search",value:this.state.filter,onChange:e=>this.setState({filter:e})})})})}getConfigMapTable(){const e=this.state.configMaps;return u.jsxs(ir,{variant:"compact",borders:!1,children:[u.jsx(tr,{children:u.jsxs(Bt,{children:[u.jsx(Pi,{}),u.jsx(Pi,{children:"Name"},"name"),u.jsx(Pi,{children:"Data"},"data")]})}),u.jsx(ar,{children:e.filter(i=>this.checkFilter(i)).map((i,n)=>{const s=i.split("/")[0],r=i.split("/")[1];return u.jsxs(Bt,{children:[u.jsx(Li,{noPadding:!0,isActionCell:!0,children:u.jsx(ui,{children:"CM"})}),u.jsx(Li,{noPadding:!0,children:s}),u.jsx(Li,{noPadding:!0,children:u.jsx($,{style:{padding:"6px"},variant:"link",onClick:a=>{var o;return(o=this.props.onSelect)==null?void 0:o.call(this,"configmap:"+i)},children:r})})]},i)})})]})}getSecretsTable(){const e=this.state.secrets;return u.jsxs(ir,{variant:"compact",borders:!1,children:[u.jsx(tr,{children:u.jsxs(Bt,{children:[u.jsx(Pi,{}),u.jsx(Pi,{children:"Name"},"name"),u.jsx(Pi,{children:"Data"},"data")]})}),u.jsx(ar,{children:e.filter(i=>this.checkFilter(i)).map((i,n)=>{const s=i.split("/")[0],r=i.split("/")[1];return u.jsxs(Bt,{children:[u.jsx(Li,{noPadding:!0,isActionCell:!0,children:u.jsx(ui,{children:"S"})}),u.jsx(Li,{noPadding:!0,children:s}),u.jsx(Li,{noPadding:!0,children:u.jsx($,{style:{padding:"6px"},variant:"link",onClick:a=>{var o;return(o=this.props.onSelect)==null?void 0:o.call(this,"secret:"+i)},children:r})})]},i)})})]})}getServicesTable(){const e=this.state.services;return u.jsxs(ir,{variant:"compact",borders:!1,children:[u.jsx(tr,{children:u.jsxs(Bt,{children:[u.jsx(Pi,{}),u.jsx(Pi,{children:"Name"},"name"),u.jsx(Pi,{children:"Host"},"host"),u.jsx(Pi,{children:"Port"},"port")]})}),u.jsx(ar,{children:e.filter(i=>this.checkFilter(i)).map((i,n)=>{const s=i.split("|")[0],r=i.split("|")[1],a=r.split(":")[0],o=r.split(":")[1];return u.jsxs(Bt,{children:[u.jsx(Li,{noPadding:!0,isActionCell:!0,children:u.jsx(ui,{children:"S"})}),u.jsx(Li,{noPadding:!0,children:u.jsx($,{style:{padding:"6px"},variant:"link",onClick:l=>{var c;return(c=this.props.onSelect)==null?void 0:c.call(this,r)},children:s})}),u.jsx(Li,{noPadding:!0,children:u.jsx($,{style:{padding:"6px"},variant:"link",onClick:l=>{var c;return(c=this.props.onSelect)==null?void 0:c.call(this,a)},children:a})}),u.jsx(Li,{noPadding:!0,children:u.jsx($,{style:{padding:"6px"},variant:"link",onClick:l=>{var c;return(c=this.props.onSelect)==null?void 0:c.call(this,o)},children:o})})]},i)})})]})}render(){const e=this.state.tabIndex;return u.jsx(wi,{"aria-label":"Select from Kubernetes",width:"50%",className:"dsl-modal",isOpen:this.props.isOpen,onClose:this.props.onClose,header:u.jsxs(Mn,{direction:{default:"column"},children:[u.jsxs(Yt,{children:[u.jsx("h3",{children:"Select from Kubernetes"}),this.searchInput()]}),u.jsx(Yt,{children:u.jsxs(gt,{style:{overflow:"hidden"},activeKey:this.state.tabIndex,onSelect:this.selectTab,children:[u.jsx(dt,{eventKey:"configMap",title:u.jsx(Tt,{children:"ConfigMaps"})},"configMap"),u.jsx(dt,{eventKey:"secret",title:u.jsx(Tt,{children:"Secrets"})},"secret"),u.jsx(dt,{eventKey:"service",title:u.jsx(Tt,{children:"Services"})},"service")]})})]}),actions:{},children:u.jsxs(it,{variant:this.props.dark?"darker":"light",children:[this.searchInput(),e==="configMap"&&this.getConfigMapTable(),e==="secret"&&this.getSecretsTable(),e==="service"&&this.getServicesTable()]})})}}var Lp={};(function(t){t.__esModule=!0,t.OpenshiftIconConfig={name:"OpenshiftIcon",height:100,width:100,svgPath:"M145.7,45.3l-16.1,5.8c0.2,2.6,0.6,5.1,1.3,7.6l15.3-5.6C145.7,50.6,145.5,47.9,145.7,45.3M216.7,27.5c-1.1-2.3-2.4-4.5-3.9-6.6l-16.1,5.8c1.9,1.9,3.4,4.1,4.7,6.4L216.7,27.5zM181.4,23c3.3,1.6,6.2,3.7,8.7,6.2l16.1-5.8c-4.4-6.2-10.5-11.5-17.9-14.9c-22.9-10.7-50.3-0.7-61,22.2c-3.5,7.4-4.8,15.3-4.1,23l16.1-5.8c0.3-3.5,1.1-7,2.7-10.3C148.7,22.5,166.4,16,181.4,23M131.9,58.4l-15.3,5.6c1.4,5.6,3.8,10.8,7.2,15.5l16-5.8C135.8,69.4,133,64.1,131.9,58.4M198.5,52.3c-0.3,3.5-1.1,7-2.7,10.3C188.8,77.5,171,84,156.1,77c-3.3-1.6-6.3-3.7-8.7-6.2l-16,5.8c4.4,6.2,10.5,11.5,17.9,14.9c22.9,10.7,50.3,0.7,61-22.2c3.5-7.4,4.7-15.3,4.1-22.9L198.5,52.3zM202.4,32.7l-15.3,5.6c2.8,5.1,4.2,10.9,3.7,16.8l16-5.8C206.5,43.5,204.9,37.9,202.4,32.7",yOffset:0,xOffset:116},t.OpenshiftIcon=Ai.createIcon(t.OpenshiftIconConfig),t.default=t.OpenshiftIcon})(Lp);const po=Mi(Lp);var Np={};(function(t){t.__esModule=!0,t.EyeIconConfig={name:"EyeIcon",height:512,width:576,svgPath:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z",yOffset:0,xOffset:0},t.EyeIcon=Ai.createIcon(t.EyeIconConfig),t.default=t.EyeIcon})(Np);const gl=Mi(Np);var Bp={};(function(t){t.__esModule=!0,t.EyeSlashIconConfig={name:"EyeSlashIcon",height:512,width:640,svgPath:"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z",yOffset:0,xOffset:0},t.EyeSlashIcon=Ai.createIcon(t.EyeSlashIconConfig),t.default=t.EyeSlashIcon})(Bp);const vl=Mi(Bp),DT="parameters",xT="#bean:";class Qc extends H.Component{constructor(){super(...arguments),this.state={selectStatus:new Map,showEditor:!1,showPassword:!1,showKubernetesSelector:!1,ref:H.createRef(),id:DT+"-"+this.props.property.name},this.parametersChanged=(e,i,n,s)=>{var r;(r=this.props.onParameterChange)==null||r.call(this,e,i,n,s),this.setState({selectStatus:new Map([[e,!1]])})},this.openSelect=(e,i)=>{this.setState({selectStatus:new Map([[e,i]])})},this.isSelectOpen=e=>this.state.selectStatus.has(e)&&this.state.selectStatus.get(e)===!0,this.getSelectBean=(e,i)=>{const n=[],s=ue.getBeans(this.props.integration);return s&&(n.push(u.jsx(Pe,{value:"Select...",isPlaceholder:!0},0)),n.push(...s.map(r=>u.jsx(Pe,{value:xT+r.name,description:r.type},r.name)))),u.jsx(pi,{id:this.state.id,name:this.state.id,variant:le.single,"aria-label":e.name,onToggle:r=>{this.openSelect(e.name,r)},onSelect:(r,a,o)=>this.parametersChanged(e.name,o?void 0:a),selections:i,isOpen:this.isSelectOpen(e.name),"aria-labelledby":e.name,direction:mi.down,children:n})},this.canBeInternalUri=e=>{if(this.props.element&&this.props.element.dslName==="ToDefinition"&&e.name==="name"){const i=this.props.element.uri||"";return i.startsWith("direct")||i.startsWith("seda")}else return!1},this.getInternalComponentName=e=>{if(this.props.element&&this.props.element.dslName==="ToDefinition"&&e.name==="name"){const i=this.props.element.uri||"";return i.startsWith("direct")?"direct":i.startsWith("seda")?"seda":""}else return""},this.getInternalUriSelect=(e,i)=>{const n=[],s=this.getInternalComponentName(e),r=ue.getInternalRouteUris(this.props.integration,s,!1),a=[];return a.push(...r),i.length>0&&!a.includes(i)&&a.unshift(i),a&&a.length>0&&n.push(...a.map(o=>u.jsx(Pe,{value:o.trim()},o))),u.jsxs(Et,{id:this.state.id,name:this.state.id,children:[u.jsx(pi,{id:this.state.id,name:this.state.id,placeholderText:"Select or type an URI",variant:le.typeahead,"aria-label":e.name,onToggle:o=>{this.openSelect(e.name,o)},onSelect:(o,l,c)=>{this.parametersChanged(e.name,c?void 0:l,e.kind==="path",void 0)},selections:i,isOpen:this.isSelectOpen(e.name),isCreatable:!0,createText:"",isInputFilterPersisted:!0,"aria-labelledby":e.name,direction:mi.down,children:n}),u.jsx(ve,{position:"bottom-end",content:"Create route",children:u.jsx($,{variant:"control",onClick:o=>{const l=r.includes(i.toString())?void 0:new Zu(s,i.toString());this.parametersChanged(e.name,i,e.kind==="path",l)},children:u.jsx(ht,{})})})]})},this.selectKubernetes=e=>{const i=this.state.ref.current,n=i.selectionStart,s=i.selectionEnd;if(n!==s){const a=this.props.value,o=a.substring(n,s);e=a.replace(o,e)}const r=this.state.kubernetesSelectorProperty;r&&((e.startsWith("config")||e.startsWith("secret"))&&(e="{{"+e+"}}"),this.parametersChanged(r,e),this.setState({showKubernetesSelector:!1,kubernetesSelectorProperty:void 0}))},this.openKubernetesSelector=e=>{this.setState({kubernetesSelectorProperty:e,showKubernetesSelector:!0})},this.closeKubernetesSelector=()=>{this.setState({showKubernetesSelector:!1})},this.getTextInput=(e,i)=>u.jsx(oi,{className:"text-field",isRequired:!0,type:["integer","int","number"].includes(e.type)?"number":e.secret?"password":"text",id:this.state.id,name:this.state.id,value:i!==void 0?i:e.defaultValue,onChange:n=>this.parametersChanged(e.name,["integer","int","number"].includes(e.type)?Number(n):n,e.kind==="path")}),this.getSelect=(e,i)=>{const n=[];return e.enum&&e.enum.length>0&&(n.push(u.jsx(Pe,{value:"Select ...",isPlaceholder:!0},0)),e.enum.forEach(s=>n.push(u.jsx(Pe,{value:s},s)))),u.jsx(pi,{id:this.state.id,name:this.state.id,variant:le.single,"aria-label":e.name,onToggle:s=>{this.openSelect(e.name,s)},onSelect:(s,r,a)=>this.parametersChanged(e.name,a?void 0:r,e.kind==="path"),selections:i!==void 0?i.toString():e.defaultValue,isOpen:this.isSelectOpen(e.name),"aria-labelledby":e.name,direction:mi.down,children:n})},this.getSwitch=(e,i)=>u.jsx(kt,{id:this.state.id,name:this.state.id,value:i==null?void 0:i.toString(),"aria-label":this.state.id,isChecked:i!==void 0?!!i:e.defaultValue!==void 0&&e.defaultValue==="true",onChange:n=>this.parametersChanged(e.name,!i)})}getKubernetesSelectorModal(){return u.jsx(uo,{dark:!1,isOpen:this.state.showKubernetesSelector,onClose:()=>this.closeKubernetesSelector(),onSelect:this.selectKubernetes})}getStringInput(e,i){const{showEditor:n,showPassword:s}=this.state,r=ft.inKubernetes,a=["uri","id","description","group"].includes(e.name);return u.jsxs(Et,{children:[r&&!n&&!a&&u.jsx(ve,{position:"bottom-end",content:"Select from Kubernetes",children:u.jsx($,{variant:"control",onClick:o=>this.openKubernetesSelector(e.name),children:u.jsx(po,{})})}),(!n||e.secret)&&u.jsx(oi,{className:"text-field",isRequired:!0,ref:this.state.ref,type:e.secret&&!s?"password":"text",id:this.state.id,name:this.state.id,value:i!==void 0?i:e.defaultValue,onChange:o=>this.parametersChanged(e.name,o,e.kind==="path")}),n&&!e.secret&&u.jsx(ya,{autoResize:!0,ref:this.state.ref,className:"text-field",isRequired:!0,type:"text",id:this.state.id,name:this.state.id,value:i!==void 0?i:e.defaultValue,onChange:o=>this.parametersChanged(e.name,o,e.kind==="path")}),!e.secret&&u.jsx(ve,{position:"bottom-end",content:n?"Change to TextField":"Change to Text Area",children:u.jsx($,{variant:"control",onClick:o=>this.setState({showEditor:!n}),children:n?u.jsx(ll,{}):u.jsx(cl,{})})}),e.secret&&u.jsx(ve,{position:"bottom-end",content:s?"Hide":"Show",children:u.jsx($,{variant:"control",onClick:o=>this.setState({showPassword:!s}),children:s?u.jsx(gl,{}):u.jsx(vl,{})})})]})}render(){const e=this.props.property,i=this.props.value,n=this.state.id;return u.jsxs(_i,{label:e.displayName,isRequired:e.required,labelIcon:u.jsx(Qt,{position:"left",headerContent:e.displayName,bodyContent:e.description,footerContent:u.jsxs("div",{children:[e.defaultValue!==void 0&&u.jsx("div",{children:"Default: "+e.defaultValue}),e.required&&u.jsx("div",{children:e.displayName+" is required"})]}),children:u.jsx("button",{type:"button","aria-label":"More info",onClick:s=>s.preventDefault(),className:"pf-c-form__group-label-help",children:u.jsx(kn,{noVerticalAlign:!0})})}),children:[this.canBeInternalUri(e)&&this.getInternalUriSelect(e,i),e.type==="string"&&e.enum===void 0&&!this.canBeInternalUri(e)&&this.getStringInput(e,i),["duration","integer","int","number"].includes(e.type)&&e.enum===void 0&&!this.canBeInternalUri(e)&&this.getTextInput(e,i),["object"].includes(e.type)&&!e.enum&&this.getSelectBean(e,i),["string","object"].includes(e.type)&&e.enum&&this.getSelect(e,i),e.type==="boolean"&&this.getSwitch(e,i),this.getKubernetesSelectorModal()]},n)}}class CT extends H.Component{constructor(){super(...arguments),this.state={selectIsOpen:!1,showEditor:!1,showPassword:!1,showKubernetesSelector:!1,ref:H.createRef()},this.openSelect=()=>{this.setState({selectIsOpen:!0})},this.parametersChanged=(e,i,n)=>{var s;(s=this.props.onParameterChange)==null||s.call(this,e,i,n),this.setState({selectIsOpen:!1})},this.selectKubernetes=e=>{const i=this.state.ref.current,n=i.selectionStart,s=i.selectionEnd;if(n!==s){const a=this.props.value,o=a.substring(n,s);e=a.replace(o,e)}const r=this.state.kubernetesSelectorProperty;r&&((e.startsWith("config")||e.startsWith("secret"))&&(e="{{"+e+"}}"),this.parametersChanged(r,e),this.setState({showKubernetesSelector:!1,kubernetesSelectorProperty:void 0}))},this.openKubernetesSelector=e=>{this.setState({kubernetesSelectorProperty:e,showKubernetesSelector:!0})},this.closeKubernetesSelector=()=>{this.setState({showKubernetesSelector:!1})}}getKubernetesSelectorModal(){return u.jsx(uo,{dark:!1,isOpen:this.state.showKubernetesSelector,onClose:()=>this.closeKubernetesSelector(),onSelect:this.selectKubernetes})}getStringInput(){const{showEditor:e,showPassword:i}=this.state,{property:n,value:s}=this.props,a="parameters"+"-"+n.id,o=["uri","id","description","group"].includes(n.id),l=ft.inKubernetes&&!e&&!o;return u.jsxs(Et,{children:[l&&u.jsx(ve,{position:"bottom-end",content:"Select from Kubernetes",children:u.jsx($,{variant:"control",onClick:c=>this.openKubernetesSelector(n.id),children:u.jsx(po,{})})}),(!e||n.format==="password")&&u.jsx(oi,{ref:this.state.ref,className:"text-field",isRequired:!0,type:n.format&&!i?"password":"text",id:a,name:a,value:s,onChange:c=>this.parametersChanged(n.id,c)}),e&&n.format!=="password"&&u.jsx(ya,{autoResize:!0,className:"text-field",isRequired:!0,type:"text",id:a,name:a,value:s,onChange:c=>this.parametersChanged(n.id,c)}),n.format!=="password"&&u.jsx(ve,{position:"bottom-end",content:e?"Change to TextField":"Change to Text Area",children:u.jsx($,{variant:"control",onClick:c=>this.setState({showEditor:!e}),children:e?u.jsx(ll,{}):u.jsx(cl,{})})}),n.format==="password"&&u.jsx(ve,{position:"bottom-end",content:i?"Hide":"Show",children:u.jsx($,{variant:"control",onClick:c=>this.setState({showPassword:!i}),children:i?u.jsx(gl,{}):u.jsx(vl,{})})})]})}render(){const e=this.props.property,i=this.props.value,s="parameters"+"-"+e.id;return u.jsxs("div",{children:[u.jsxs(_i,{label:e.title,fieldId:s,isRequired:this.props.required,labelIcon:u.jsx(Qt,{position:"left",headerContent:e.title,bodyContent:e.description,footerContent:u.jsxs("div",{children:[e.default!==void 0&&u.jsxs("div",{children:["Default: ",e.default.toString()]}),e.example!==void 0&&u.jsxs("div",{children:["Example: ",e.example]})]}),children:u.jsx("button",{type:"button","aria-label":"More info",onClick:r=>r.preventDefault(),className:"pf-c-form__group-label-help",children:u.jsx(kn,{noVerticalAlign:!0})})}),children:[e.type==="string"&&this.getStringInput(),["integer","int","number"].includes(e.type)&&u.jsx(oi,{className:"text-field",isRequired:!0,type:"number",id:s,name:s,value:i,onChange:r=>this.parametersChanged(e.id,Number(r))}),e.type==="boolean"&&u.jsx(kt,{id:s,name:s,value:i==null?void 0:i.toString(),"aria-label":s,isChecked:!!i,onChange:r=>this.parametersChanged(e.id,!i)})]},s),this.getKubernetesSelectorModal()]})}}class ed extends H.Component{constructor(){super(...arguments),this.state={value:this.props.value,selectStatus:new Map},this.propertyChanged=(e,i)=>{var n;if(this.props.value){const s=oe.CamelUtil.cloneStep(this.props.value);s[e]=i,this.setStep(s),(n=this.props.onPropertyUpdate)==null||n.call(this,this.props.property.name,s)}},this.expressionChanged=(e,i)=>{var n;if(this.props.value){const s=oe.CamelUtil.cloneStep(this.props.value);s[e]=i,this.setStep(s),(n=this.props.onPropertyUpdate)==null||n.call(this,this.props.property.name,s)}},this.setStep=e=>{this.setState({value:e,selectStatus:new Map})}}render(){const e=this.props.value;return u.jsx("div",{className:"object-field",children:e&&te.CamelDefinitionApiExt.getElementProperties(e.dslName).map(i=>u.jsx(go,{hideLabel:this.props.hideLabel,integration:this.props.integration,property:i,element:e,value:e?e[i.name]:void 0,onExpressionChange:this.expressionChanged,onParameterChange:(n,s)=>this.propertyChanged(i.name,s),onDataFormatChange:n=>{},onChange:(n,s)=>this.propertyChanged(i.name,s),dark:this.props.dark},i.name))})}}var _p={};(function(t){t.__esModule=!0,t.PlusCircleIconConfig={name:"PlusCircleIcon",height:512,width:512,svgPath:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z",yOffset:0,xOffset:0},t.PlusCircleIcon=Ai.createIcon(t.PlusCircleIconConfig),t.default=t.PlusCircleIcon})(_p);const xa=Mi(_p),id=["application/1d-interleaved-parityfec","application/3gpdash-qoe-report+xml","application/3gppHal+json","application/3gppHalForms+json","application/3gpp-ims+xml","application/A2L","application/ace+cbor","application/activemessage","application/activity+json","application/alto-costmap+json","application/alto-costmapfilter+json","application/alto-directory+json","application/alto-endpointprop+json","application/alto-endpointpropparams+json","application/alto-endpointcost+json","application/alto-endpointcostparams+json","application/alto-error+json","application/alto-networkmapfilter+json","application/alto-networkmap+json","application/alto-updatestreamcontrol+json","application/alto-updatestreamparams+json","application/AML","application/andrew-inset","application/applefile","application/at+jwt","application/ATF","application/ATFX","application/atom+xml","application/atomcat+xml","application/atomdeleted+xml","application/atomicmail","application/atomsvc+xml","application/atsc-dwd+xml","application/atsc-dynamic-event-message","application/atsc-held+xml","application/atsc-rdt+json","application/atsc-rsat+xml","application/ATXML","application/auth-policy+xml","application/bacnet-xdd+zip","application/batch-SMTP","application/beep+xml","application/calendar+json","application/calendar+xml","application/call-completion","application/CALS-1840","application/captive+json","application/cbor","application/cbor-seq","application/cccex","application/ccmp+xml","application/ccxml+xml","application/CDFX+XML","application/cdmi-capability","application/cdmi-container","application/cdmi-domain","application/cdmi-object","application/cdmi-queue","application/cdni","application/CEA","application/cea-2018+xml","application/cellml+xml","application/cfw","application/city+json","application/clr","application/clue_info+xml","application/clue+xml","application/cms","application/cnrp+xml","application/coap-group+json","application/coap-payload","application/commonground","application/conference-info+xml","application/cpl+xml","application/cose","application/cose-key","application/cose-key-set","application/csrattrs","application/csta+xml","application/CSTAdata+xml","application/csvm+json","application/cwt","application/cybercash","application/dash+xml","application/dash-patch+xml","application/dashdelta","application/davmount+xml","application/dca-rft","application/DCD","application/dec-dx","application/dialog-info+xml","application/dicom","application/dicom+json","application/dicom+xml","application/DII","application/DIT","application/dns","application/dns+json","application/dns-message","application/dots+cbor","application/dskpp+xml","application/dssc+der","application/dssc+xml","application/dvcs","application/ecmascript","application/EDI-consent","application/EDIFACT","application/EDI-X12","application/efi","application/elm+json","application/elm+xml","application/EmergencyCallData.cap+xml","application/EmergencyCallData.Comment+xml","application/EmergencyCallData.Control+xml","application/EmergencyCallData.DeviceInfo+xml","application/EmergencyCallData.eCall.MSD","application/EmergencyCallData.ProviderInfo+xml","application/EmergencyCallData.ServiceInfo+xml","application/EmergencyCallData.SubscriberInfo+xml","application/EmergencyCallData.VEDS+xml","application/emma+xml","application/emotionml+xml","application/encaprtp","application/epp+xml","application/epub+zip","application/eshop","application/example","application/exi","application/expect-ct-report+json","application/express","application/fastinfoset","application/fastsoap","application/fdt+xml","application/fhir+json","application/fhir+xml","application/fits","application/flexfec","application/font-sfnt","application/font-tdpfr","application/font-woff","application/framework-attributes+xml","application/geo+json","application/geo+json-seq","application/geopackage+sqlite3","application/geoxacml+xml","application/gltf-buffer","application/gml+xml","application/gzip","application/H224","application/held+xml","application/http","application/hyperstudio","application/ibe-key-request+xml","application/ibe-pkg-reply+xml","application/ibe-pp-data","application/iges","application/im-iscomposing+xml","application/index","application/index.cmd","application/index.obj","application/index.response","application/index.vnd","application/inkml+xml","application/IOTP","application/ipfix","application/ipp","application/ISUP","application/its+xml","application/javascript","application/jf2feed+json","application/jose","application/jose+json","application/jrd+json","application/jscalendar+json","application/json","application/json-patch+json","application/json-seq","application/jwk+json","application/jwk-set+json","application/jwt","application/kpml-request+xml","application/kpml-response+xml","application/ld+json","application/lgr+xml","application/link-format","application/load-control+xml","application/lost+xml","application/lostsync+xml","application/lpf+zip","application/LXF","application/mac-binhex40","application/macwriteii","application/mads+xml","application/manifest+json","application/marc","application/marcxml+xml","application/mathematica","application/mathml+xml","application/mathml-content+xml","application/mathml-presentation+xml","application/mbms-associated-procedure-description+xml","application/mbms-deregister+xml","application/mbms-envelope+xml","application/mbms-msk-response+xml","application/mbms-msk+xml","application/mbms-protection-description+xml","application/mbms-reception-report+xml","application/mbms-register-response+xml","application/mbms-register+xml","application/mbms-schedule+xml","application/mbms-user-service-description+xml","application/mbox","application/media_control+xml","application/media-policy-dataset+xml","application/mediaservercontrol+xml","application/merge-patch+json","application/metalink4+xml","application/mets+xml","application/MF4","application/mikey","application/mipc","application/missing-blocks+cbor-seq","application/mmt-aei+xml","application/mmt-usd+xml","application/mods+xml","application/moss-keys","application/moss-signature","application/mosskey-data","application/mosskey-request","application/mp21","application/mp4","application/mpeg4-generic","application/mpeg4-iod","application/mpeg4-iod-xmt","application/mrb-consumer+xml","application/mrb-publish+xml","application/msc-ivr+xml","application/msc-mixer+xml","application/msword","application/mud+json","application/multipart-core","application/mxf","application/n-quads","application/n-triples","application/nasdata","application/news-checkgroups","application/news-groupinfo","application/news-transmission","application/nlsml+xml","application/node","application/nss","application/oauth-authz-req+jwt","application/oblivious-dns-message","application/ocsp-request","application/ocsp-response","application/octet-stream","application/ODA","application/odm+xml","application/ODX","application/oebps-package+xml","application/ogg","application/opc-nodeset+xml","application/oscore","application/oxps","application/p21","application/p21+zip","application/p2p-overlay+xml","application/parityfec","application/passport","application/patch-ops-error+xml","application/pdf","application/PDX","application/pem-certificate-chain","application/pgp-encrypted","application/pgp-keys","application/pgp-signature","application/pidf-diff+xml","application/pidf+xml","application/pkcs10","application/pkcs7-mime","application/pkcs7-signature","application/pkcs8","application/pkcs8-encrypted","application/pkcs12","application/pkix-attr-cert","application/pkix-cert","application/pkix-crl","application/pkix-pkipath","application/pkixcmp","application/pls+xml","application/poc-settings+xml","application/postscript","application/ppsp-tracker+json","application/problem+json","application/problem+xml","application/provenance+xml","application/prs.alvestrand.titrax-sheet","application/prs.cww","application/prs.cyn","application/prs.hpub+zip","application/prs.nprend","application/prs.plucker","application/prs.rdf-xml-crypt","application/prs.xsf+xml","application/pskc+xml","application/pvd+json","application/rdf+xml","application/route-apd+xml","application/route-s-tsid+xml","application/route-usd+xml","application/QSIG","application/raptorfec","application/rdap+json","application/reginfo+xml","application/relax-ng-compact-syntax","application/remote-printing","application/reputon+json","application/resource-lists-diff+xml","application/resource-lists+xml","application/rfc+xml","application/riscos","application/rlmi+xml","application/rls-services+xml","application/rpki-ghostbusters","application/rpki-manifest","application/rpki-publication","application/rpki-roa","application/rpki-updown","application/rtf","application/rtploopback","application/rtx","application/samlassertion+xml","application/samlmetadata+xml","application/sarif-external-properties+json","application/sarif+json","application/sbe","application/sbml+xml","application/scaip+xml","application/scim+json","application/scvp-cv-request","application/scvp-cv-response","application/scvp-vp-request","application/scvp-vp-response","application/sdp","application/secevent+jwt","application/senml-etch+cbor","application/senml-etch+json","application/senml-exi","application/senml+cbor","application/senml+json","application/senml+xml","application/sensml-exi","application/sensml+cbor","application/sensml+json","application/sensml+xml","application/sep-exi","application/sep+xml","application/session-info","application/set-payment","application/set-payment-initiation","application/set-registration","application/set-registration-initiation","application/SGML","application/sgml-open-catalog","application/shf+xml","application/sieve","application/simple-filter+xml","application/simple-message-summary","application/simpleSymbolContainer","application/sipc","application/slate","application/smil","application/smil+xml","application/smpte336m","application/soap+fastinfoset","application/soap+xml","application/sparql-query","application/spdx+json","application/sparql-results+xml","application/spirits-event+xml","application/sql","application/srgs","application/srgs+xml","application/sru+xml","application/ssml+xml","application/stix+json","application/swid+xml","application/tamp-apex-update","application/tamp-apex-update-confirm","application/tamp-community-update","application/tamp-community-update-confirm","application/tamp-error","application/tamp-sequence-adjust","application/tamp-sequence-adjust-confirm","application/tamp-status-query","application/tamp-status-response","application/tamp-update","application/tamp-update-confirm","application/taxii+json","application/td+json","application/tei+xml","application/TETRA_ISI","application/thraud+xml","application/timestamp-query","application/timestamp-reply","application/timestamped-data","application/tlsrpt+gzip","application/tlsrpt+json","application/tnauthlist","application/token-introspection+jwt","application/trickle-ice-sdpfrag","application/trig","application/ttml+xml","application/tve-trigger","application/tzif","application/tzif-leap","application/ulpfec","application/urc-grpsheet+xml","application/urc-ressheet+xml","application/urc-targetdesc+xml","application/urc-uisocketdesc+xml","application/vcard+json","application/vcard+xml","application/vemmi","application/vnd.1000minds.decision-model+xml","application/vnd.3gpp.5gnas","application/vnd.3gpp.access-transfer-events+xml","application/vnd.3gpp.bsf+xml","application/vnd.3gpp.GMOP+xml","application/vnd.3gpp.gtpc","application/vnd.3gpp.interworking-data","application/vnd.3gpp.lpp","application/vnd.3gpp.mc-signalling-ear","application/vnd.3gpp.mcdata-affiliation-command+xml","application/vnd.3gpp.mcdata-info+xml","application/vnd.3gpp.mcdata-payload","application/vnd.3gpp.mcdata-service-config+xml","application/vnd.3gpp.mcdata-signalling","application/vnd.3gpp.mcdata-ue-config+xml","application/vnd.3gpp.mcdata-user-profile+xml","application/vnd.3gpp.mcptt-affiliation-command+xml","application/vnd.3gpp.mcptt-floor-request+xml","application/vnd.3gpp.mcptt-info+xml","application/vnd.3gpp.mcptt-location-info+xml","application/vnd.3gpp.mcptt-mbms-usage-info+xml","application/vnd.3gpp.mcptt-service-config+xml","application/vnd.3gpp.mcptt-signed+xml","application/vnd.3gpp.mcptt-ue-config+xml","application/vnd.3gpp.mcptt-ue-init-config+xml","application/vnd.3gpp.mcptt-user-profile+xml","application/vnd.3gpp.mcvideo-affiliation-command+xml","application/vnd.3gpp.mcvideo-affiliation-info+xml","application/vnd.3gpp.mcvideo-info+xml","application/vnd.3gpp.mcvideo-location-info+xml","application/vnd.3gpp.mcvideo-mbms-usage-info+xml","application/vnd.3gpp.mcvideo-service-config+xml","application/vnd.3gpp.mcvideo-transmission-request+xml","application/vnd.3gpp.mcvideo-ue-config+xml","application/vnd.3gpp.mcvideo-user-profile+xml","application/vnd.3gpp.mid-call+xml","application/vnd.3gpp.ngap","application/vnd.3gpp.pfcp","application/vnd.3gpp.pic-bw-large","application/vnd.3gpp.pic-bw-small","application/vnd.3gpp.pic-bw-var","application/vnd.3gpp-prose-pc3ch+xml","application/vnd.3gpp-prose+xml","application/vnd.3gpp.s1ap","application/vnd.3gpp.sms","application/vnd.3gpp.sms+xml","application/vnd.3gpp.srvcc-ext+xml","application/vnd.3gpp.SRVCC-info+xml","application/vnd.3gpp.state-and-event-info+xml","application/vnd.3gpp.ussd+xml","application/vnd.3gpp-v2x-local-service-information","application/vnd.3gpp2.bcmcsinfo+xml","application/vnd.3gpp2.sms","application/vnd.3gpp2.tcap","application/vnd.3lightssoftware.imagescal","application/vnd.3M.Post-it-Notes","application/vnd.accpac.simply.aso","application/vnd.accpac.simply.imp","application/vnd.acucobol","application/vnd.acucorp","application/vnd.adobe.flash.movie","application/vnd.adobe.formscentral.fcdt","application/vnd.adobe.fxp","application/vnd.adobe.partial-upload","application/vnd.adobe.xdp+xml","application/vnd.adobe.xfdf","application/vnd.aether.imp","application/vnd.afpc.afplinedata","application/vnd.afpc.afplinedata-pagedef","application/vnd.afpc.cmoca-cmresource","application/vnd.afpc.foca-charset","application/vnd.afpc.foca-codedfont","application/vnd.afpc.foca-codepage","application/vnd.afpc.modca","application/vnd.afpc.modca-cmtable","application/vnd.afpc.modca-formdef","application/vnd.afpc.modca-mediummap","application/vnd.afpc.modca-objectcontainer","application/vnd.afpc.modca-overlay","application/vnd.afpc.modca-pagesegment","application/vnd.age","application/vnd.ah-barcode","application/vnd.ahead.space","application/vnd.airzip.filesecure.azf","application/vnd.airzip.filesecure.azs","application/vnd.amadeus+json","application/vnd.amazon.mobi8-ebook","application/vnd.americandynamics.acc","application/vnd.amiga.ami","application/vnd.amundsen.maze+xml","application/vnd.android.ota","application/vnd.anki","application/vnd.anser-web-certificate-issue-initiation","application/vnd.antix.game-component","application/vnd.apache.arrow.file","application/vnd.apache.arrow.stream","application/vnd.apache.thrift.binary","application/vnd.apache.thrift.compact","application/vnd.apache.thrift.json","application/vnd.api+json","application/vnd.aplextor.warrp+json","application/vnd.apothekende.reservation+json","application/vnd.apple.installer+xml","application/vnd.apple.keynote","application/vnd.apple.mpegurl","application/vnd.apple.numbers","application/vnd.apple.pages","application/vnd.arastra.swi","application/vnd.aristanetworks.swi","application/vnd.artisan+json","application/vnd.artsquare","application/vnd.astraea-software.iota","application/vnd.audiograph","application/vnd.autopackage","application/vnd.avalon+json","application/vnd.avistar+xml","application/vnd.balsamiq.bmml+xml","application/vnd.banana-accounting","application/vnd.bbf.usp.error","application/vnd.bbf.usp.msg","application/vnd.bbf.usp.msg+json","application/vnd.balsamiq.bmpr","application/vnd.bekitzur-stech+json","application/vnd.bint.med-content","application/vnd.biopax.rdf+xml","application/vnd.blink-idb-value-wrapper","application/vnd.blueice.multipass","application/vnd.bluetooth.ep.oob","application/vnd.bluetooth.le.oob","application/vnd.bmi","application/vnd.bpf","application/vnd.bpf3","application/vnd.businessobjects","application/vnd.byu.uapi+json","application/vnd.cab-jscript","application/vnd.canon-cpdl","application/vnd.canon-lips","application/vnd.capasystems-pg+json","application/vnd.cendio.thinlinc.clientconf","application/vnd.century-systems.tcp_stream","application/vnd.chemdraw+xml","application/vnd.chess-pgn","application/vnd.chipnuts.karaoke-mmd","application/vnd.ciedi","application/vnd.cinderella","application/vnd.cirpack.isdn-ext","application/vnd.citationstyles.style+xml","application/vnd.claymore","application/vnd.cloanto.rp9","application/vnd.clonk.c4group","application/vnd.cluetrust.cartomobile-config","application/vnd.cluetrust.cartomobile-config-pkg","application/vnd.coffeescript","application/vnd.collabio.xodocuments.document","application/vnd.collabio.xodocuments.document-template","application/vnd.collabio.xodocuments.presentation","application/vnd.collabio.xodocuments.presentation-template","application/vnd.collabio.xodocuments.spreadsheet","application/vnd.collabio.xodocuments.spreadsheet-template","application/vnd.collection.doc+json","application/vnd.collection+json","application/vnd.collection.next+json","application/vnd.comicbook-rar","application/vnd.comicbook+zip","application/vnd.commerce-battelle","application/vnd.commonspace","application/vnd.coreos.ignition+json","application/vnd.cosmocaller","application/vnd.contact.cmsg","application/vnd.crick.clicker","application/vnd.crick.clicker.keyboard","application/vnd.crick.clicker.palette","application/vnd.crick.clicker.template","application/vnd.crick.clicker.wordbank","application/vnd.criticaltools.wbs+xml","application/vnd.cryptii.pipe+json","application/vnd.crypto-shade-file","application/vnd.cryptomator.encrypted","application/vnd.cryptomator.vault","application/vnd.ctc-posml","application/vnd.ctct.ws+xml","application/vnd.cups-pdf","application/vnd.cups-postscript","application/vnd.cups-ppd","application/vnd.cups-raster","application/vnd.cups-raw","application/vnd.curl","application/vnd.cyan.dean.root+xml","application/vnd.cybank","application/vnd.cyclonedx+json","application/vnd.cyclonedx+xml","application/vnd.d2l.coursepackage1p0+zip","application/vnd.d3m-dataset","application/vnd.d3m-problem","application/vnd.dart","application/vnd.data-vision.rdz","application/vnd.datapackage+json","application/vnd.dataresource+json","application/vnd.dbf","application/vnd.debian.binary-package","application/vnd.dece.data","application/vnd.dece.ttml+xml","application/vnd.dece.unspecified","application/vnd.dece.zip","application/vnd.denovo.fcselayout-link","application/vnd.desmume.movie","application/vnd.dir-bi.plate-dl-nosuffix","application/vnd.dm.delegation+xml","application/vnd.dna","application/vnd.document+json","application/vnd.dolby.mobile.1","application/vnd.dolby.mobile.2","application/vnd.doremir.scorecloud-binary-document","application/vnd.dpgraph","application/vnd.dreamfactory","application/vnd.drive+json","application/vnd.dtg.local","application/vnd.dtg.local.flash","application/vnd.dtg.local.html","application/vnd.dvb.ait","application/vnd.dvb.dvbisl+xml","application/vnd.dvb.dvbj","application/vnd.dvb.esgcontainer","application/vnd.dvb.ipdcdftnotifaccess","application/vnd.dvb.ipdcesgaccess","application/vnd.dvb.ipdcesgaccess2","application/vnd.dvb.ipdcesgpdd","application/vnd.dvb.ipdcroaming","application/vnd.dvb.iptv.alfec-base","application/vnd.dvb.iptv.alfec-enhancement","application/vnd.dvb.notif-aggregate-root+xml","application/vnd.dvb.notif-container+xml","application/vnd.dvb.notif-generic+xml","application/vnd.dvb.notif-ia-msglist+xml","application/vnd.dvb.notif-ia-registration-request+xml","application/vnd.dvb.notif-ia-registration-response+xml","application/vnd.dvb.notif-init+xml","application/vnd.dvb.pfr","application/vnd.dvb.service","application/vnd.dxr","application/vnd.dynageo","application/vnd.dzr","application/vnd.easykaraoke.cdgdownload","application/vnd.ecip.rlp","application/vnd.ecdis-update","application/vnd.eclipse.ditto+json","application/vnd.ecowin.chart","application/vnd.ecowin.filerequest","application/vnd.ecowin.fileupdate","application/vnd.ecowin.series","application/vnd.ecowin.seriesrequest","application/vnd.ecowin.seriesupdate","application/vnd.efi.img","application/vnd.efi.iso","application/vnd.emclient.accessrequest+xml","application/vnd.enliven","application/vnd.enphase.envoy","application/vnd.eprints.data+xml","application/vnd.epson.esf","application/vnd.epson.msf","application/vnd.epson.quickanime","application/vnd.epson.salt","application/vnd.epson.ssf","application/vnd.ericsson.quickcall","application/vnd.espass-espass+zip","application/vnd.eszigno3+xml","application/vnd.etsi.aoc+xml","application/vnd.etsi.asic-s+zip","application/vnd.etsi.asic-e+zip","application/vnd.etsi.cug+xml","application/vnd.etsi.iptvcommand+xml","application/vnd.etsi.iptvdiscovery+xml","application/vnd.etsi.iptvprofile+xml","application/vnd.etsi.iptvsad-bc+xml","application/vnd.etsi.iptvsad-cod+xml","application/vnd.etsi.iptvsad-npvr+xml","application/vnd.etsi.iptvservice+xml","application/vnd.etsi.iptvsync+xml","application/vnd.etsi.iptvueprofile+xml","application/vnd.etsi.mcid+xml","application/vnd.etsi.mheg5","application/vnd.etsi.overload-control-policy-dataset+xml","application/vnd.etsi.pstn+xml","application/vnd.etsi.sci+xml","application/vnd.etsi.simservs+xml","application/vnd.etsi.timestamp-token","application/vnd.etsi.tsl+xml","application/vnd.etsi.tsl.der","application/vnd.eu.kasparian.car+json","application/vnd.eudora.data","application/vnd.evolv.ecig.profile","application/vnd.evolv.ecig.settings","application/vnd.evolv.ecig.theme","application/vnd.exstream-empower+zip","application/vnd.exstream-package","application/vnd.ezpix-album","application/vnd.ezpix-package","application/vnd.f-secure.mobile","application/vnd.fastcopy-disk-image","application/vnd.familysearch.gedcom+zip","application/vnd.fdf","application/vnd.fdsn.mseed","application/vnd.fdsn.seed","application/vnd.ffsns","application/vnd.ficlab.flb+zip","application/vnd.filmit.zfc","application/vnd.fints","application/vnd.firemonkeys.cloudcell","application/vnd.FloGraphIt","application/vnd.fluxtime.clip","application/vnd.font-fontforge-sfd","application/vnd.framemaker","application/vnd.frogans.fnc","application/vnd.frogans.ltf","application/vnd.fsc.weblaunch","application/vnd.fujifilm.fb.docuworks","application/vnd.fujifilm.fb.docuworks.binder","application/vnd.fujifilm.fb.docuworks.container","application/vnd.fujifilm.fb.jfi+xml","application/vnd.fujitsu.oasys","application/vnd.fujitsu.oasys2","application/vnd.fujitsu.oasys3","application/vnd.fujitsu.oasysgp","application/vnd.fujitsu.oasysprs","application/vnd.fujixerox.ART4","application/vnd.fujixerox.ART-EX","application/vnd.fujixerox.ddd","application/vnd.fujixerox.docuworks","application/vnd.fujixerox.docuworks.binder","application/vnd.fujixerox.docuworks.container","application/vnd.fujixerox.HBPL","application/vnd.fut-misnet","application/vnd.futoin+cbor","application/vnd.futoin+json","application/vnd.fuzzysheet","application/vnd.genomatix.tuxedo","application/vnd.gentics.grd+json","application/vnd.geo+json","application/vnd.geocube+xml","application/vnd.geogebra.file","application/vnd.geogebra.slides","application/vnd.geogebra.tool","application/vnd.geometry-explorer","application/vnd.geonext","application/vnd.geoplan","application/vnd.geospace","application/vnd.gerber","application/vnd.globalplatform.card-content-mgt","application/vnd.globalplatform.card-content-mgt-response","application/vnd.gmx","application/vnd.google-earth.kml+xml","application/vnd.google-earth.kmz","application/vnd.gov.sk.e-form+xml","application/vnd.gov.sk.e-form+zip","application/vnd.gov.sk.xmldatacontainer+xml","application/vnd.grafeq","application/vnd.gridmp","application/vnd.groove-account","application/vnd.groove-help","application/vnd.groove-identity-message","application/vnd.groove-injector","application/vnd.groove-tool-message","application/vnd.groove-tool-template","application/vnd.groove-vcard","application/vnd.hal+json","application/vnd.hal+xml","application/vnd.HandHeld-Entertainment+xml","application/vnd.hbci","application/vnd.hc+json","application/vnd.hcl-bireports","application/vnd.hdt","application/vnd.heroku+json","application/vnd.hhe.lesson-player","application/vnd.hl7cda+xml","application/vnd.hl7v2+xml","application/vnd.hp-HPGL","application/vnd.hp-hpid","application/vnd.hp-hps","application/vnd.hp-jlyt","application/vnd.hp-PCL","application/vnd.hp-PCLXL","application/vnd.httphone","application/vnd.hydrostatix.sof-data","application/vnd.hyper-item+json","application/vnd.hyper+json","application/vnd.hyperdrive+json","application/vnd.hzn-3d-crossword","application/vnd.ibm.afplinedata","application/vnd.ibm.electronic-media","application/vnd.ibm.MiniPay","application/vnd.ibm.modcap","application/vnd.ibm.rights-management","application/vnd.ibm.secure-container","application/vnd.iccprofile","application/vnd.ieee.1905","application/vnd.igloader","application/vnd.imagemeter.folder+zip","application/vnd.imagemeter.image+zip","application/vnd.immervision-ivp","application/vnd.immervision-ivu","application/vnd.ims.imsccv1p1","application/vnd.ims.imsccv1p2","application/vnd.ims.imsccv1p3","application/vnd.ims.lis.v2.result+json","application/vnd.ims.lti.v2.toolconsumerprofile+json","application/vnd.ims.lti.v2.toolproxy.id+json","application/vnd.ims.lti.v2.toolproxy+json","application/vnd.ims.lti.v2.toolsettings+json","application/vnd.ims.lti.v2.toolsettings.simple+json","application/vnd.informedcontrol.rms+xml","application/vnd.infotech.project","application/vnd.infotech.project+xml","application/vnd.informix-visionary","application/vnd.innopath.wamp.notification","application/vnd.insors.igm","application/vnd.intercon.formnet","application/vnd.intergeo","application/vnd.intertrust.digibox","application/vnd.intertrust.nncp","application/vnd.intu.qbo","application/vnd.intu.qfx","application/vnd.iptc.g2.catalogitem+xml","application/vnd.iptc.g2.conceptitem+xml","application/vnd.iptc.g2.knowledgeitem+xml","application/vnd.iptc.g2.newsitem+xml","application/vnd.iptc.g2.newsmessage+xml","application/vnd.iptc.g2.packageitem+xml","application/vnd.iptc.g2.planningitem+xml","application/vnd.ipunplugged.rcprofile","application/vnd.irepository.package+xml","application/vnd.is-xpr","application/vnd.isac.fcs","application/vnd.jam","application/vnd.iso11783-10+zip","application/vnd.japannet-directory-service","application/vnd.japannet-jpnstore-wakeup","application/vnd.japannet-payment-wakeup","application/vnd.japannet-registration","application/vnd.japannet-registration-wakeup","application/vnd.japannet-setstore-wakeup","application/vnd.japannet-verification","application/vnd.japannet-verification-wakeup","application/vnd.jcp.javame.midlet-rms","application/vnd.jisp","application/vnd.joost.joda-archive","application/vnd.jsk.isdn-ngn","application/vnd.kahootz","application/vnd.kde.karbon","application/vnd.kde.kchart","application/vnd.kde.kformula","application/vnd.kde.kivio","application/vnd.kde.kontour","application/vnd.kde.kpresenter","application/vnd.kde.kspread","application/vnd.kde.kword","application/vnd.kenameaapp","application/vnd.kidspiration","application/vnd.Kinar","application/vnd.koan","application/vnd.kodak-descriptor","application/vnd.las","application/vnd.las.las+json","application/vnd.las.las+xml","application/vnd.laszip","application/vnd.leap+json","application/vnd.liberty-request+xml","application/vnd.llamagraphics.life-balance.desktop","application/vnd.llamagraphics.life-balance.exchange+xml","application/vnd.logipipe.circuit+zip","application/vnd.loom","application/vnd.lotus-1-2-3","application/vnd.lotus-approach","application/vnd.lotus-freelance","application/vnd.lotus-notes","application/vnd.lotus-organizer","application/vnd.lotus-screencam","application/vnd.lotus-wordpro","application/vnd.macports.portpkg","application/vnd.mapbox-vector-tile","application/vnd.marlin.drm.actiontoken+xml","application/vnd.marlin.drm.conftoken+xml","application/vnd.marlin.drm.license+xml","application/vnd.marlin.drm.mdcf","application/vnd.mason+json","application/vnd.maxar.archive.3tz+zip","application/vnd.maxmind.maxmind-db","application/vnd.mcd","application/vnd.medcalcdata","application/vnd.mediastation.cdkey","application/vnd.meridian-slingshot","application/vnd.MFER","application/vnd.mfmp","application/vnd.micro+json","application/vnd.micrografx.flo","application/vnd.micrografx.igx","application/vnd.microsoft.portable-executable","application/vnd.microsoft.windows.thumbnail-cache","application/vnd.miele+json","application/vnd.mif","application/vnd.minisoft-hp3000-save","application/vnd.mitsubishi.misty-guard.trustweb","application/vnd.Mobius.DAF","application/vnd.Mobius.DIS","application/vnd.Mobius.MBK","application/vnd.Mobius.MQY","application/vnd.Mobius.MSL","application/vnd.Mobius.PLC","application/vnd.Mobius.TXF","application/vnd.mophun.application","application/vnd.mophun.certificate","application/vnd.motorola.flexsuite","application/vnd.motorola.flexsuite.adsi","application/vnd.motorola.flexsuite.fis","application/vnd.motorola.flexsuite.gotap","application/vnd.motorola.flexsuite.kmr","application/vnd.motorola.flexsuite.ttc","application/vnd.motorola.flexsuite.wem","application/vnd.motorola.iprm","application/vnd.mozilla.xul+xml","application/vnd.ms-artgalry","application/vnd.ms-asf","application/vnd.ms-cab-compressed","application/vnd.ms-3mfdocument","application/vnd.ms-excel","application/vnd.ms-excel.addin.macroEnabled.12","application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12","application/vnd.ms-fontobject","application/vnd.ms-htmlhelp","application/vnd.ms-ims","application/vnd.ms-lrm","application/vnd.ms-office.activeX+xml","application/vnd.ms-officetheme","application/vnd.ms-playready.initiator+xml","application/vnd.ms-powerpoint","application/vnd.ms-powerpoint.addin.macroEnabled.12","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slide.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/vnd.ms-powerpoint.template.macroEnabled.12","application/vnd.ms-PrintDeviceCapabilities+xml","application/vnd.ms-PrintSchemaTicket+xml","application/vnd.ms-project","application/vnd.ms-tnef","application/vnd.ms-windows.devicepairing","application/vnd.ms-windows.nwprinting.oob","application/vnd.ms-windows.printerpairing","application/vnd.ms-windows.wsd.oob","application/vnd.ms-wmdrm.lic-chlg-req","application/vnd.ms-wmdrm.lic-resp","application/vnd.ms-wmdrm.meter-chlg-req","application/vnd.ms-wmdrm.meter-resp","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12","application/vnd.ms-works","application/vnd.ms-wpl","application/vnd.ms-xpsdocument","application/vnd.msa-disk-image","application/vnd.mseq","application/vnd.msign","application/vnd.multiad.creator","application/vnd.multiad.creator.cif","application/vnd.musician","application/vnd.music-niff","application/vnd.muvee.style","application/vnd.mynfc","application/vnd.nacamar.ybrid+json","application/vnd.ncd.control","application/vnd.ncd.reference","application/vnd.nearst.inv+json","application/vnd.nebumind.line","application/vnd.nervana","application/vnd.netfpx","application/vnd.neurolanguage.nlu","application/vnd.nimn","application/vnd.nintendo.snes.rom","application/vnd.nintendo.nitro.rom","application/vnd.nitf","application/vnd.noblenet-directory","application/vnd.noblenet-sealer","application/vnd.noblenet-web","application/vnd.nokia.catalogs","application/vnd.nokia.conml+wbxml","application/vnd.nokia.conml+xml","application/vnd.nokia.iptv.config+xml","application/vnd.nokia.iSDS-radio-presets","application/vnd.nokia.landmark+wbxml","application/vnd.nokia.landmark+xml","application/vnd.nokia.landmarkcollection+xml","application/vnd.nokia.ncd","application/vnd.nokia.n-gage.ac+xml","application/vnd.nokia.n-gage.data","application/vnd.nokia.n-gage.symbian.install","application/vnd.nokia.pcd+wbxml","application/vnd.nokia.pcd+xml","application/vnd.nokia.radio-preset","application/vnd.nokia.radio-presets","application/vnd.novadigm.EDM","application/vnd.novadigm.EDX","application/vnd.novadigm.EXT","application/vnd.ntt-local.content-share","application/vnd.ntt-local.file-transfer","application/vnd.ntt-local.ogw_remote-access","application/vnd.ntt-local.sip-ta_remote","application/vnd.ntt-local.sip-ta_tcp_stream","application/vnd.oasis.opendocument.chart","application/vnd.oasis.opendocument.chart-template","application/vnd.oasis.opendocument.database","application/vnd.oasis.opendocument.formula","application/vnd.oasis.opendocument.formula-template","application/vnd.oasis.opendocument.graphics","application/vnd.oasis.opendocument.graphics-template","application/vnd.oasis.opendocument.image","application/vnd.oasis.opendocument.image-template","application/vnd.oasis.opendocument.presentation","application/vnd.oasis.opendocument.presentation-template","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template","application/vnd.oasis.opendocument.text","application/vnd.oasis.opendocument.text-master","application/vnd.oasis.opendocument.text-template","application/vnd.oasis.opendocument.text-web","application/vnd.obn","application/vnd.ocf+cbor","application/vnd.oci.image.manifest.v1+json","application/vnd.oftn.l10n+json","application/vnd.oipf.contentaccessdownload+xml","application/vnd.oipf.contentaccessstreaming+xml","application/vnd.oipf.cspg-hexbinary","application/vnd.oipf.dae.svg+xml","application/vnd.oipf.dae.xhtml+xml","application/vnd.oipf.mippvcontrolmessage+xml","application/vnd.oipf.pae.gem","application/vnd.oipf.spdiscovery+xml","application/vnd.oipf.spdlist+xml","application/vnd.oipf.ueprofile+xml","application/vnd.oipf.userprofile+xml","application/vnd.olpc-sugar","application/vnd.oma.bcast.associated-procedure-parameter+xml","application/vnd.oma.bcast.drm-trigger+xml","application/vnd.oma.bcast.imd+xml","application/vnd.oma.bcast.ltkm","application/vnd.oma.bcast.notification+xml","application/vnd.oma.bcast.provisioningtrigger","application/vnd.oma.bcast.sgboot","application/vnd.oma.bcast.sgdd+xml","application/vnd.oma.bcast.sgdu","application/vnd.oma.bcast.simple-symbol-container","application/vnd.oma.bcast.smartcard-trigger+xml","application/vnd.oma.bcast.sprov+xml","application/vnd.oma.bcast.stkm","application/vnd.oma.cab-address-book+xml","application/vnd.oma.cab-feature-handler+xml","application/vnd.oma.cab-pcc+xml","application/vnd.oma.cab-subs-invite+xml","application/vnd.oma.cab-user-prefs+xml","application/vnd.oma.dcd","application/vnd.oma.dcdc","application/vnd.oma.dd2+xml","application/vnd.oma.drm.risd+xml","application/vnd.oma.group-usage-list+xml","application/vnd.oma.lwm2m+cbor","application/vnd.oma.lwm2m+json","application/vnd.oma.lwm2m+tlv","application/vnd.oma.pal+xml","application/vnd.oma.poc.detailed-progress-report+xml","application/vnd.oma.poc.final-report+xml","application/vnd.oma.poc.groups+xml","application/vnd.oma.poc.invocation-descriptor+xml","application/vnd.oma.poc.optimized-progress-report+xml","application/vnd.oma.push","application/vnd.oma.scidm.messages+xml","application/vnd.oma.xcap-directory+xml","application/vnd.omads-email+xml","application/vnd.omads-file+xml","application/vnd.omads-folder+xml","application/vnd.omaloc-supl-init","application/vnd.oma-scws-config","application/vnd.oma-scws-http-request","application/vnd.oma-scws-http-response","application/vnd.onepager","application/vnd.onepagertamp","application/vnd.onepagertamx","application/vnd.onepagertat","application/vnd.onepagertatp","application/vnd.onepagertatx","application/vnd.openblox.game-binary","application/vnd.openblox.game+xml","application/vnd.openeye.oeb","application/vnd.openstreetmap.data+xml","application/vnd.opentimestamps.ots","application/vnd.openxmlformats-officedocument.custom-properties+xml","application/vnd.openxmlformats-officedocument.customXmlProperties+xml","application/vnd.openxmlformats-officedocument.drawing+xml","application/vnd.openxmlformats-officedocument.drawingml.chart+xml","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml","application/vnd.openxmlformats-officedocument.extended-properties+xml","application/vnd.openxmlformats-officedocument.presentationml.commentAuthors+xml","application/vnd.openxmlformats-officedocument.presentationml.comments+xml","application/vnd.openxmlformats-officedocument.presentationml.handoutMaster+xml","application/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml","application/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml","application/vnd.openxmlformats-officedocument.presentationml.presProps+xml","application/vnd.openxmlformats-officedocument.presentationml.slide","application/vnd.openxmlformats-officedocument.presentationml.slide+xml","application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml","application/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml","application/vnd.openxmlformats-officedocument.presentationml.slideUpdateInfo+xml","application/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml","application/vnd.openxmlformats-officedocument.presentationml.tags+xml","application/vnd.openxmlformats-officedocument.presentationml.template","application/vnd.openxmlformats-officedocument.presentationml.template.main+xml","application/vnd.openxmlformats-officedocument.presentationml.viewProps+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml","application/vnd.openxmlformats-officedocument.theme+xml","application/vnd.openxmlformats-officedocument.themeOverride+xml","application/vnd.openxmlformats-officedocument.vmlDrawing","application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml","application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml","application/vnd.openxmlformats-package.core-properties+xml","application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml","application/vnd.openxmlformats-package.relationships+xml","application/vnd.oracle.resource+json","application/vnd.orange.indata","application/vnd.osa.netdeploy","application/vnd.osgeo.mapguide.package","application/vnd.osgi.bundle","application/vnd.osgi.dp","application/vnd.osgi.subsystem","application/vnd.otps.ct-kip+xml","application/vnd.oxli.countgraph","application/vnd.pagerduty+json","application/vnd.palm","application/vnd.panoply","application/vnd.paos.xml","application/vnd.patentdive","application/vnd.patientecommsdoc","application/vnd.pawaafile","application/vnd.pcos","application/vnd.pg.format","application/vnd.pg.osasli","application/vnd.piaccess.application-licence","application/vnd.picsel","application/vnd.pmi.widget","application/vnd.poc.group-advertisement+xml","application/vnd.pocketlearn","application/vnd.powerbuilder6","application/vnd.powerbuilder6-s","application/vnd.powerbuilder7","application/vnd.powerbuilder75","application/vnd.powerbuilder75-s","application/vnd.powerbuilder7-s","application/vnd.preminet","application/vnd.previewsystems.box","application/vnd.proteus.magazine","application/vnd.psfs","application/vnd.publishare-delta-tree","application/vnd.pvi.ptid1","application/vnd.pwg-multiplexed","application/vnd.pwg-xhtml-print+xml","application/vnd.qualcomm.brew-app-res","application/vnd.quarantainenet","application/vnd.Quark.QuarkXPress","application/vnd.quobject-quoxdocument","application/vnd.radisys.moml+xml","application/vnd.radisys.msml-audit-conf+xml","application/vnd.radisys.msml-audit-conn+xml","application/vnd.radisys.msml-audit-dialog+xml","application/vnd.radisys.msml-audit-stream+xml","application/vnd.radisys.msml-audit+xml","application/vnd.radisys.msml-conf+xml","application/vnd.radisys.msml-dialog-base+xml","application/vnd.radisys.msml-dialog-fax-detect+xml","application/vnd.radisys.msml-dialog-fax-sendrecv+xml","application/vnd.radisys.msml-dialog-group+xml","application/vnd.radisys.msml-dialog-speech+xml","application/vnd.radisys.msml-dialog-transform+xml","application/vnd.radisys.msml-dialog+xml","application/vnd.radisys.msml+xml","application/vnd.rainstor.data","application/vnd.rapid","application/vnd.rar","application/vnd.realvnc.bed","application/vnd.recordare.musicxml","application/vnd.recordare.musicxml+xml","application/vnd.RenLearn.rlprint","application/vnd.resilient.logic","application/vnd.restful+json","application/vnd.rig.cryptonote","application/vnd.route66.link66+xml","application/vnd.rs-274x","application/vnd.ruckus.download","application/vnd.s3sms","application/vnd.sailingtracker.track","application/vnd.sar","application/vnd.sbm.cid","application/vnd.sbm.mid2","application/vnd.scribus","application/vnd.sealed.3df","application/vnd.sealed.csf","application/vnd.sealed.doc","application/vnd.sealed.eml","application/vnd.sealed.mht","application/vnd.sealed.net","application/vnd.sealed.ppt","application/vnd.sealed.tiff","application/vnd.sealed.xls","application/vnd.sealedmedia.softseal.html","application/vnd.sealedmedia.softseal.pdf","application/vnd.seemail","application/vnd.seis+json","application/vnd.sema","application/vnd.semd","application/vnd.semf","application/vnd.shade-save-file","application/vnd.shana.informed.formdata","application/vnd.shana.informed.formtemplate","application/vnd.shana.informed.interchange","application/vnd.shana.informed.package","application/vnd.shootproof+json","application/vnd.shopkick+json","application/vnd.shp","application/vnd.shx","application/vnd.sigrok.session","application/vnd.SimTech-MindMapper","application/vnd.siren+json","application/vnd.smaf","application/vnd.smart.notebook","application/vnd.smart.teacher","application/vnd.snesdev-page-table","application/vnd.software602.filler.form+xml","application/vnd.software602.filler.form-xml-zip","application/vnd.solent.sdkm+xml","application/vnd.spotfire.dxp","application/vnd.spotfire.sfs","application/vnd.sqlite3","application/vnd.sss-cod","application/vnd.sss-dtf","application/vnd.sss-ntf","application/vnd.stepmania.package","application/vnd.stepmania.stepchart","application/vnd.street-stream","application/vnd.sun.wadl+xml","application/vnd.sus-calendar","application/vnd.svd","application/vnd.swiftview-ics","application/vnd.sycle+xml","application/vnd.syft+json","application/vnd.syncml.dm.notification","application/vnd.syncml.dmddf+xml","application/vnd.syncml.dmtnds+wbxml","application/vnd.syncml.dmtnds+xml","application/vnd.syncml.dmddf+wbxml","application/vnd.syncml.dm+wbxml","application/vnd.syncml.dm+xml","application/vnd.syncml.ds.notification","application/vnd.syncml+xml","application/vnd.tableschema+json","application/vnd.tao.intent-module-archive","application/vnd.tcpdump.pcap","application/vnd.think-cell.ppttc+json","application/vnd.tml","application/vnd.tmd.mediaflex.api+xml","application/vnd.tmobile-livetv","application/vnd.tri.onesource","application/vnd.trid.tpt","application/vnd.triscape.mxs","application/vnd.trueapp","application/vnd.truedoc","application/vnd.ubisoft.webplayer","application/vnd.ufdl","application/vnd.uiq.theme","application/vnd.umajin","application/vnd.unity","application/vnd.uoml+xml","application/vnd.uplanet.alert","application/vnd.uplanet.alert-wbxml","application/vnd.uplanet.bearer-choice","application/vnd.uplanet.bearer-choice-wbxml","application/vnd.uplanet.cacheop","application/vnd.uplanet.cacheop-wbxml","application/vnd.uplanet.channel","application/vnd.uplanet.channel-wbxml","application/vnd.uplanet.list","application/vnd.uplanet.listcmd","application/vnd.uplanet.listcmd-wbxml","application/vnd.uplanet.list-wbxml","application/vnd.uri-map","application/vnd.uplanet.signal","application/vnd.valve.source.material","application/vnd.vcx","application/vnd.vd-study","application/vnd.vectorworks","application/vnd.vel+json","application/vnd.verimatrix.vcas","application/vnd.veritone.aion+json","application/vnd.veryant.thin","application/vnd.ves.encrypted","application/vnd.vidsoft.vidconference","application/vnd.visio","application/vnd.visionary","application/vnd.vividence.scriptfile","application/vnd.vsf","application/vnd.wap.sic","application/vnd.wap.slc","application/vnd.wap.wbxml","application/vnd.wap.wmlc","application/vnd.wap.wmlscriptc","application/vnd.webturbo","application/vnd.wfa.dpp","application/vnd.wfa.p2p","application/vnd.wfa.wsc","application/vnd.windows.devicepairing","application/vnd.wmc","application/vnd.wmf.bootstrap","application/vnd.wolfram.mathematica","application/vnd.wolfram.mathematica.package","application/vnd.wolfram.player","application/vnd.wordperfect","application/vnd.wqd","application/vnd.wrq-hp3000-labelled","application/vnd.wt.stf","application/vnd.wv.csp+xml","application/vnd.wv.csp+wbxml","application/vnd.wv.ssp+xml","application/vnd.xacml+json","application/vnd.xara","application/vnd.xfdl","application/vnd.xfdl.webform","application/vnd.xmi+xml","application/vnd.xmpie.cpkg","application/vnd.xmpie.dpkg","application/vnd.xmpie.plan","application/vnd.xmpie.ppkg","application/vnd.xmpie.xlim","application/vnd.yamaha.hv-dic","application/vnd.yamaha.hv-script","application/vnd.yamaha.hv-voice","application/vnd.yamaha.openscoreformat.osfpvg+xml","application/vnd.yamaha.openscoreformat","application/vnd.yamaha.remote-setup","application/vnd.yamaha.smaf-audio","application/vnd.yamaha.smaf-phrase","application/vnd.yamaha.through-ngn","application/vnd.yamaha.tunnel-udpencap","application/vnd.yaoweme","application/vnd.yellowriver-custom-menu","application/vnd.youtube.yt","application/vnd.zul","application/vnd.zzazz.deck+xml","application/voicexml+xml","application/voucher-cms+json","application/vq-rtcpxr","application/wasm","application/watcherinfo+xml","application/webpush-options+json","application/whoispp-query","application/whoispp-response","application/widget","application/wita","application/wordperfect5.1","application/wsdl+xml","application/wspolicy+xml","application/x-pki-message","application/x-www-form-urlencoded","application/x-x509-ca-cert","application/x-x509-ca-ra-cert","application/x-x509-next-ca-cert","application/x400-bp","application/xacml+xml","application/xcap-att+xml","application/xcap-caps+xml","application/xcap-diff+xml","application/xcap-el+xml","application/xcap-error+xml","application/xcap-ns+xml","application/xcon-conference-info-diff+xml","application/xcon-conference-info+xml","application/xenc+xml","application/xhtml+xml","application/xliff+xml","application/xml","application/xml-dtd","application/xml-external-parsed-entity","application/xml-patch+xml","application/xmpp+xml","application/xop+xml","application/xslt+xml","application/xv+xml","application/yang","application/yang-data+json","application/yang-data+xml","application/yang-patch+json","application/yang-patch+xml","application/yin+xml","application/zip","application/zlib","application/zstd"];var zp={};(function(t){t.__esModule=!0,t.CodeIconConfig={name:"CodeIcon",height:512,width:640,svgPath:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z",yOffset:0,xOffset:0},t.CodeIcon=Ai.createIcon(t.CodeIconConfig),t.default=t.CodeIcon})(zp);const ST=Mi(zp);var ml={};Object.defineProperty(ml,"__esModule",{value:!0});var Hp=ml.TemplateApi=void 0,Ga=new Map,Xn=new Map;Hp=ml.TemplateApi={saveTemplates:function(t,e){e===void 0&&(e=!1),e&&Ga.clear(),t.forEach(function(i,n){return Ga.set(n,i)})},saveTemplate:function(t,e){Ga.set(t,e)},getTemplate:function(t){return Ga.get(t)},generateCode:function(t,e){var i;return(i=Ga.get(t))===null||i===void 0?void 0:i.replaceAll("NAME",e)},saveJavaCodes:function(t,e){e===void 0&&(e=!1),e&&Xn.clear(),t.forEach(function(i,n){return Xn.set(n,i)})},saveJavaCode:function(t,e){Xn.set(t,e)},getJavaCode:function(t){return Xn.get(t)}};function ET(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function td(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),i.push.apply(i,n)}return i}function ad(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?td(Object(i),!0).forEach(function(n){ET(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):td(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function TT(t,e){if(t==null)return{};var i={},n=Object.keys(t),s,r;for(r=0;r<n.length;r++)s=n[r],!(e.indexOf(s)>=0)&&(i[s]=t[s]);return i}function FT(t,e){if(t==null)return{};var i=TT(t,e),n,s;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(s=0;s<r.length;s++)n=r[s],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function OT(t,e){return MT(t)||AT(t,e)||IT(t,e)||kT()}function MT(t){if(Array.isArray(t))return t}function AT(t,e){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(t)))){var i=[],n=!0,s=!1,r=void 0;try{for(var a=t[Symbol.iterator](),o;!(n=(o=a.next()).done)&&(i.push(o.value),!(e&&i.length===e));n=!0);}catch(l){s=!0,r=l}finally{try{!n&&a.return!=null&&a.return()}finally{if(s)throw r}}return i}}function IT(t,e){if(t){if(typeof t=="string")return nd(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return nd(t,e)}}function nd(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function kT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
43
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function RT(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function rd(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),i.push.apply(i,n)}return i}function od(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?rd(Object(i),!0).forEach(function(n){RT(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):rd(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function jT(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(n){return e.reduceRight(function(s,r){return r(s)},n)}}function Qa(t){return function e(){for(var i=this,n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return s.length>=t.length?t.apply(this,s):function(){for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return e.apply(i,[].concat(s,o))}}}function Rr(t){return{}.toString.call(t).includes("Object")}function PT(t){return!Object.keys(t).length}function wn(t){return typeof t=="function"}function LT(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function NT(t,e){return Rr(e)||Ot("changeType"),Object.keys(e).some(function(i){return!LT(t,i)})&&Ot("changeField"),e}function BT(t){wn(t)||Ot("selectorType")}function _T(t){wn(t)||Rr(t)||Ot("handlerType"),Rr(t)&&Object.values(t).some(function(e){return!wn(e)})&&Ot("handlersType")}function zT(t){t||Ot("initialIsRequired"),Rr(t)||Ot("initialType"),PT(t)&&Ot("initialContent")}function HT(t,e){throw new Error(t[e]||t.default)}var WT={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},Ot=Qa(HT)(WT),Jn={changes:NT,selector:BT,handler:_T,initial:zT};function UT(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Jn.initial(t),Jn.handler(e);var i={current:t},n=Qa(JT)(i,e),s=Qa(XT)(i),r=Qa(Jn.changes)(t),a=Qa(VT)(i);function o(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(f){return f};return Jn.selector(c),c(i.current)}function l(c){jT(n,s,r,a)(c)}return[o,l]}function VT(t,e){return wn(e)?e(t.current):e}function XT(t,e){return t.current=od(od({},t.current),e),e}function JT(t,e,i){return wn(e)?e(t.current):Object.keys(i).forEach(function(n){var s;return(s=e[n])===null||s===void 0?void 0:s.call(e,t.current[n])}),i}var GT={create:UT},KT={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.36.1/min/vs"}};function qT(t){return function e(){for(var i=this,n=arguments.length,s=new Array(n),r=0;r<n;r++)s[r]=arguments[r];return s.length>=t.length?t.apply(this,s):function(){for(var a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return e.apply(i,[].concat(s,o))}}}function $T(t){return{}.toString.call(t).includes("Object")}function YT(t){return t||sd("configIsRequired"),$T(t)||sd("configType"),t.urls?(ZT(),{paths:{vs:t.urls.monacoBase}}):t}function ZT(){console.warn(Wp.deprecation)}function QT(t,e){throw new Error(t[e]||t.default)}var Wp={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
|
|
44
|
+
You are using deprecated way of configuration.
|
|
45
|
+
|
|
46
|
+
Instead of using
|
|
47
|
+
monaco.config({ urls: { monacoBase: '...' } })
|
|
48
|
+
use
|
|
49
|
+
monaco.config({ paths: { vs: '...' } })
|
|
50
|
+
|
|
51
|
+
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
|
52
|
+
`},sd=qT(QT)(Wp),e5={config:YT},i5=function(){for(var e=arguments.length,i=new Array(e),n=0;n<e;n++)i[n]=arguments[n];return function(s){return i.reduceRight(function(r,a){return a(r)},s)}};function Up(t,e){return Object.keys(e).forEach(function(i){e[i]instanceof Object&&t[i]&&Object.assign(e[i],Up(t[i],e[i]))}),ad(ad({},t),e)}var t5={type:"cancelation",msg:"operation is manually canceled"};function Po(t){var e=!1,i=new Promise(function(n,s){t.then(function(r){return e?s(t5):n(r)}),t.catch(s)});return i.cancel=function(){return e=!0},i}var a5=GT.create({config:KT,isInitialized:!1,resolve:null,reject:null,monaco:null}),Vp=OT(a5,2),jn=Vp[0],ho=Vp[1];function n5(t){var e=e5.config(t),i=e.monaco,n=FT(e,["monaco"]);ho(function(s){return{config:Up(s.config,n),monaco:i}})}function r5(){var t=jn(function(e){var i=e.monaco,n=e.isInitialized,s=e.resolve;return{monaco:i,isInitialized:n,resolve:s}});if(!t.isInitialized){if(ho({isInitialized:!0}),t.monaco)return t.resolve(t.monaco),Po(Lo);if(window.monaco&&window.monaco.editor)return Xp(window.monaco),t.resolve(window.monaco),Po(Lo);i5(o5,l5)(c5)}return Po(Lo)}function o5(t){return document.body.appendChild(t)}function s5(t){var e=document.createElement("script");return t&&(e.src=t),e}function l5(t){var e=jn(function(n){var s=n.config,r=n.reject;return{config:s,reject:r}}),i=s5("".concat(e.config.paths.vs,"/loader.js"));return i.onload=function(){return t()},i.onerror=e.reject,i}function c5(){var t=jn(function(i){var n=i.config,s=i.resolve,r=i.reject;return{config:n,resolve:s,reject:r}}),e=window.require;e.config(t.config),e(["vs/editor/editor.main"],function(i){Xp(i),t.resolve(i)},function(i){t.reject(i)})}function Xp(t){jn().monaco||ho({monaco:t})}function d5(){return jn(function(t){var e=t.monaco;return e})}var Lo=new Promise(function(t,e){return ho({resolve:t,reject:e})}),Jp={config:n5,init:r5,__getMonacoInstance:d5},f5={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},No=f5,u5={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},p5=u5;function h5({children:t}){return H.createElement("div",{style:p5.container},t)}var g5=h5,v5=g5;function m5({width:t,height:e,isEditorReady:i,loading:n,_ref:s,className:r,wrapperProps:a}){return H.createElement("section",{style:{...No.wrapper,width:t,height:e},...a},!i&&H.createElement(v5,null,n),H.createElement("div",{ref:s,style:{...No.fullWidth,...!i&&No.hide},className:r}))}var y5=m5,Gp=H.memo(y5);function b5(t){H.useEffect(t,[])}var Kp=b5;function w5(t,e,i=!0){let n=H.useRef(!0);H.useEffect(n.current||!i?()=>{n.current=!1}:t,e)}var Bi=w5;function rn(){}function jr(t,e,i,n){return D5(t,n)||x5(t,e,i,n)}function D5(t,e){return t.editor.getModel(qp(t,e))}function x5(t,e,i,n){return t.editor.createModel(e,i,n?qp(t,n):void 0)}function qp(t,e){return t.Uri.parse(e)}function C5({original:t,modified:e,language:i,originalLanguage:n,modifiedLanguage:s,originalModelPath:r,modifiedModelPath:a,keepCurrentOriginalModel:o=!1,keepCurrentModifiedModel:l=!1,theme:c="light",loading:f="Loading...",options:h={},height:p="100%",width:g="100%",className:y,wrapperProps:b={},beforeMount:w=rn,onMount:D=rn}){let[O,M]=H.useState(!1),[R,A]=H.useState(!0),C=H.useRef(null),S=H.useRef(null),k=H.useRef(null),P=H.useRef(D),j=H.useRef(w),L=H.useRef(!1);Kp(()=>{let N=Jp.init();return N.then(X=>(S.current=X)&&A(!1)).catch(X=>(X==null?void 0:X.type)!=="cancelation"&&console.error("Monaco initialization: error:",X)),()=>C.current?W():N.cancel()}),Bi(()=>{let N=C.current.getModifiedEditor();N.getOption(S.current.editor.EditorOption.readOnly)?N.setValue(e||""):e!==N.getValue()&&(N.executeEdits("",[{range:N.getModel().getFullModelRange(),text:e||"",forceMoveMarkers:!0}]),N.pushUndoStop())},[e],O),Bi(()=>{var N,X;(X=(N=C.current)==null?void 0:N.getModel())==null||X.original.setValue(t||"")},[t],O),Bi(()=>{let{original:N,modified:X}=C.current.getModel();S.current.editor.setModelLanguage(N,n||i||"text"),S.current.editor.setModelLanguage(X,s||i||"text")},[i,n,s],O),Bi(()=>{var N;(N=S.current)==null||N.editor.setTheme(c)},[c],O),Bi(()=>{var N;(N=C.current)==null||N.updateOptions(h)},[h],O);let _=H.useCallback(()=>{var Y;if(!S.current)return;j.current(S.current);let N=jr(S.current,t||"",n||i||"text",r||""),X=jr(S.current,e||"",s||i||"text",a||"");(Y=C.current)==null||Y.setModel({original:N,modified:X})},[i,e,s,t,n,r,a]),U=H.useCallback(()=>{var N;!L.current&&k.current&&(C.current=S.current.editor.createDiffEditor(k.current,{automaticLayout:!0,...h}),_(),(N=S.current)==null||N.editor.setTheme(c),M(!0),L.current=!0)},[h,c,_]);H.useEffect(()=>{O&&P.current(C.current,S.current)},[O]),H.useEffect(()=>{!R&&!O&&U()},[R,O,U]);function W(){var X,Y,ee,q;let N=(X=C.current)==null?void 0:X.getModel();o||((Y=N==null?void 0:N.original)==null||Y.dispose()),l||((ee=N==null?void 0:N.modified)==null||ee.dispose()),(q=C.current)==null||q.dispose()}return H.createElement(Gp,{width:g,height:p,isEditorReady:O,loading:f,_ref:k,className:y,wrapperProps:b})}var S5=C5;H.memo(S5);function E5(t){let e=H.useRef();return H.useEffect(()=>{e.current=t},[t]),e.current}var T5=E5,Gn=new Map;function F5({defaultValue:t,defaultLanguage:e,defaultPath:i,value:n,language:s,path:r,theme:a="light",line:o,loading:l="Loading...",options:c={},overrideServices:f={},saveViewState:h=!0,keepCurrentModel:p=!1,width:g="100%",height:y="100%",className:b,wrapperProps:w={},beforeMount:D=rn,onMount:O=rn,onChange:M,onValidate:R=rn}){let[A,C]=H.useState(!1),[S,k]=H.useState(!0),P=H.useRef(null),j=H.useRef(null),L=H.useRef(null),_=H.useRef(O),U=H.useRef(D),W=H.useRef(),N=H.useRef(n),X=T5(r),Y=H.useRef(!1),ee=H.useRef(!1);Kp(()=>{let V=Jp.init();return V.then(G=>(P.current=G)&&k(!1)).catch(G=>(G==null?void 0:G.type)!=="cancelation"&&console.error("Monaco initialization: error:",G)),()=>j.current?se():V.cancel()}),Bi(()=>{var G,re,pe,Z;let V=jr(P.current,t||n||"",e||s||"",r||i||"");V!==((G=j.current)==null?void 0:G.getModel())&&(h&&Gn.set(X,(re=j.current)==null?void 0:re.saveViewState()),(pe=j.current)==null||pe.setModel(V),h&&((Z=j.current)==null||Z.restoreViewState(Gn.get(r))))},[r],A),Bi(()=>{var V;(V=j.current)==null||V.updateOptions(c)},[c],A),Bi(()=>{!j.current||n===void 0||(j.current.getOption(P.current.editor.EditorOption.readOnly)?j.current.setValue(n):n!==j.current.getValue()&&(ee.current=!0,j.current.executeEdits("",[{range:j.current.getModel().getFullModelRange(),text:n,forceMoveMarkers:!0}]),j.current.pushUndoStop(),ee.current=!1))},[n],A),Bi(()=>{var G,re;let V=(G=j.current)==null?void 0:G.getModel();V&&s&&((re=P.current)==null||re.editor.setModelLanguage(V,s))},[s],A),Bi(()=>{var V;o!==void 0&&((V=j.current)==null||V.revealLine(o))},[o],A),Bi(()=>{var V;(V=P.current)==null||V.editor.setTheme(a)},[a],A);let q=H.useCallback(()=>{var V;if(!(!L.current||!P.current)&&!Y.current){U.current(P.current);let G=r||i,re=jr(P.current,n||t||"",e||s||"",G||"");j.current=(V=P.current)==null?void 0:V.editor.create(L.current,{model:re,automaticLayout:!0,...c},f),h&&j.current.restoreViewState(Gn.get(G)),P.current.editor.setTheme(a),C(!0),Y.current=!0}},[t,e,i,n,s,r,c,f,h,a]);H.useEffect(()=>{A&&_.current(j.current,P.current)},[A]),H.useEffect(()=>{!S&&!A&&q()},[S,A,q]),N.current=n,H.useEffect(()=>{var V,G;A&&M&&((V=W.current)==null||V.dispose(),W.current=(G=j.current)==null?void 0:G.onDidChangeModelContent(re=>{ee.current||M(j.current.getValue(),re)}))},[A,M]),H.useEffect(()=>{if(A){let V=P.current.editor.onDidChangeMarkers(G=>{var pe;let re=(pe=j.current.getModel())==null?void 0:pe.uri;if(re&&G.find(Z=>Z.path===re.path)){let Z=P.current.editor.getModelMarkers({resource:re});R==null||R(Z)}});return()=>{V==null||V.dispose()}}return()=>{}},[A,R]);function se(){var V,G;(V=W.current)==null||V.dispose(),p?h&&Gn.set(r,j.current.saveViewState()):(G=j.current.getModel())==null||G.dispose(),j.current.dispose()}return H.createElement(Gp,{width:g,height:y,isEditorReady:A,loading:l,_ref:L,className:b,wrapperProps:w})}var O5=F5,M5=H.memo(O5),$p=M5;class ld extends H.Component{constructor(){super(...arguments),this.state={customCode:this.props.customCode},this.componentDidUpdate=(e,i,n)=>{e.showEditor!==this.props.showEditor&&this.setState({customCode:this.props.customCode})}}close(){var e;(e=this.props.onClose)==null||e.call(this)}closeAndSave(){var e;(e=this.props.onSave)==null||e.call(this,this.props.property.name,this.state.customCode)}render(){const{dark:e,dslLanguage:i,title:n,showEditor:s}=this.props,{customCode:r}=this.state;return u.jsx(wi,{"aria-label":"expression",variant:vr.large,header:u.jsxs(H.Fragment,{children:[u.jsx(At,{id:"modal-custom-header-label",headingLevel:"h1",size:dr["2xl"],children:n}),u.jsx("p",{className:"pf-u-pt-sm",children:i==null?void 0:i[2]})]}),isOpen:s,onClose:()=>this.close(),actions:[u.jsx($,{variant:"primary",isSmall:!0,onClick:a=>this.closeAndSave(),children:"Save"},"save"),u.jsx($,{variant:"secondary",isSmall:!0,onClick:a=>this.close(),children:"Close"},"cancel")],onEscapePress:a=>this.close(),children:u.jsx($p,{height:"400px",width:"100%",defaultLanguage:"java",language:"java",theme:e?"vs-dark":"light",options:{lineNumbers:"off",folding:!1,lineNumbersMinChars:10,showUnused:!1,fontSize:12,minimap:{enabled:!1}},value:r==null?void 0:r.toString(),className:"code-editor",onChange:(a,o)=>this.setState({customCode:a})})})}}class go extends H.Component{constructor(){super(...arguments),this.state={selectStatus:new Map,arrayValues:new Map,isShowAdvanced:new Map,showEditor:!1,showKubernetesSelector:!1,ref:H.createRef()},this.openSelect=(e,i)=>{this.setState({selectStatus:new Map([[e,i]])})},this.clearSelection=e=>{this.setState({selectStatus:new Map([[e,!1]])})},this.isSelectOpen=e=>this.state.selectStatus.has(e)&&this.state.selectStatus.get(e)===!0,this.propertyChanged=(e,i,n)=>{var s;e==="id"&&te.CamelDefinitionApiExt.hasElementWithId(this.props.integration,i)&&(i=this.props.value),(s=this.props.onChange)==null||s.call(this,e,i,n),this.setState({selectStatus:new Map([[e,!1]])})},this.arrayChanged=(e,i)=>{const n=this.state.arrayValues;n.set(e,i),this.setState({arrayValues:n})},this.arrayDeleteValue=(e,i)=>{const n=this.props.property;let s=this.props.value;n.isArray&&n.type==="string"&&this.propertyChanged(e,s.filter(r=>r!==i))},this.arraySave=e=>{const i=this.state.arrayValues.get(e),n=this.props.property;let s=this.props.value;i!==void 0&&i.length>0&&n.isArray&&n.type==="string"&&(s?s.push(i):s=[i]),this.propertyChanged(e,s),this.arrayChanged(e,"")},this.getLabel=(e,i)=>{if(!this.isMultiValueField(e)&&e.isObject&&!e.isArray&&!["ExpressionDefinition"].includes(e.type)){const n=i?"Delete "+e.name:"Add "+e.name,s=i?"change-button delete-button":"change-button add-button",r=i?void 0:Xe.CamelDefinitionApi.createStep(e.type,{}),a=i?u.jsx(Zt,{noVerticalAlign:!0}):u.jsx(xa,{noVerticalAlign:!0});return u.jsxs("div",{style:{display:"flex"},children:[u.jsxs(Si,{children:[e.displayName," "]}),u.jsx(ve,{position:"top",content:u.jsx("div",{children:n}),children:u.jsx("button",{className:s,onClick:o=>{var l;return(l=this.props.onChange)==null?void 0:l.call(this,e.name,r)},"aria-label":"Add element",children:a})})]})}else if(!["ExpressionDefinition"].includes(e.type))return oe.CamelUtil.capitalizeName(e.displayName)},this.isUriReadOnly=e=>{var n;const i=((n=this.props.element)==null?void 0:n.dslName)||"";return e.name==="uri"&&!["ToDefinition","ToDynamicDefinition","WireTapDefinition"].includes(i)},this.selectKubernetes=e=>{const i=this.state.ref.current,n=i.selectionStart,s=i.selectionEnd;if(n!==s){const a=this.props.value,o=a.substring(n,s);e=a.replace(o,e)}const r=this.state.kubernetesSelectorProperty;r&&((e.startsWith("config")||e.startsWith("secret"))&&(e="{{"+e+"}}"),this.propertyChanged(r,e),this.setState({showKubernetesSelector:!1,kubernetesSelectorProperty:void 0}))},this.openKubernetesSelector=e=>{this.setState({kubernetesSelectorProperty:e,showKubernetesSelector:!0})},this.closeKubernetesSelector=()=>{this.setState({showKubernetesSelector:!1})},this.getStringInput=(e,i)=>{const n=this.state.showEditor,s=ft.inKubernetes,r=["uri","id","description","group"].includes(e.name);return u.jsxs(Et,{children:[s&&!n&&!r&&u.jsx(ve,{position:"bottom-end",content:"Select from Kubernetes",children:u.jsx($,{variant:"control",onClick:a=>this.openKubernetesSelector(e.name),children:u.jsx(po,{})})}),(!n||e.secret)&&u.jsx(oi,{ref:this.state.ref,className:"text-field",isRequired:!0,isReadOnly:this.isUriReadOnly(e),type:["integer","number"].includes(e.type)?"number":e.secret?"password":"text",id:e.name,name:e.name,value:i==null?void 0:i.toString(),onChange:a=>this.propertyChanged(e.name,["integer","number"].includes(e.type)?Number(a):a)}),n&&!e.secret&&u.jsx(ya,{ref:this.state.ref,autoResize:!0,className:"text-field",isRequired:!0,isReadOnly:this.isUriReadOnly(e),type:"text",id:e.name,name:e.name,value:i==null?void 0:i.toString(),onChange:a=>this.propertyChanged(e.name,["integer","number"].includes(e.type)?Number(a):a)}),!e.secret&&u.jsx(ve,{position:"bottom-end",content:n?"Change to TextField":"Change to Text Area",children:u.jsx($,{variant:"control",onClick:a=>this.setState({showEditor:!n}),children:n?u.jsx(ll,{}):u.jsx(cl,{})})})]})},this.showCode=(e,i)=>{const{property:n}=this.props;Gt.getProps().onGetCustomCode.call(this,e,n.javaType).then(s=>{if(s===void 0){const r=Hp.generateCode(n.javaType,e);this.setState({customCode:r,showEditor:!0})}else this.setState({customCode:s,showEditor:!0})}).catch(s=>console.log(s))},this.getJavaTypeGeneratedInput=(e,i)=>{const{dslLanguage:n,dark:s}=this.props,{showEditor:r,customCode:a}=this.state;return u.jsxs(Et,{children:[u.jsx(oi,{ref:this.state.ref,className:"text-field",isRequired:!0,isReadOnly:this.isUriReadOnly(e),type:"text",id:e.name,name:e.name,value:i==null?void 0:i.toString(),onChange:o=>this.propertyChanged(e.name,oe.CamelUtil.capitalizeName(o==null?void 0:o.replace(/\s/g,"")))}),u.jsx(ve,{position:"bottom-end",content:"Create Java Class",children:u.jsx($,{variant:"control",onClick:o=>this.showCode(i,e.javaType),children:u.jsx(ht,{})})}),u.jsx(ld,{property:e,customCode:a,showEditor:r,dark:s,dslLanguage:n,title:"Java Class",onClose:()=>this.setState({showEditor:!1}),onSave:(o,l)=>{var c;this.propertyChanged(o,i),(c=Gt.getProps().onSaveCustomCode)==null||c.call(this,i,l),this.setState({showEditor:!1})}})]})},this.getTextArea=(e,i)=>{const{dslLanguage:n,dark:s}=this.props,{showEditor:r}=this.state;return u.jsxs(Et,{children:[u.jsx(ya,{autoResize:!0,className:"text-field",isRequired:!0,type:"text",id:e.name,name:e.name,height:"100px",value:i==null?void 0:i.toString(),onChange:a=>this.propertyChanged(e.name,a)}),u.jsx(ve,{position:"bottom-end",content:"Show Editor",children:u.jsx($,{variant:"control",onClick:a=>this.setState({showEditor:!r}),children:u.jsx(ST,{})})}),u.jsx(ld,{property:e,customCode:i,showEditor:r,dark:s,dslLanguage:n,title:`Expression (${n==null?void 0:n[0]})`,onClose:()=>this.setState({showEditor:!1}),onSave:(a,o)=>{this.propertyChanged(a,o),this.setState({showEditor:!1})}})]})},this.getExpressionField=(e,i)=>u.jsx("div",{className:"expression",children:u.jsx(lx,{property:e,value:i,onExpressionChange:this.props.onExpressionChange,integration:this.props.integration,dark:this.props.dark})}),this.getObjectField=(e,i)=>u.jsx("div",{className:"object",children:i&&u.jsx(ed,{property:e,value:i,onPropertyUpdate:this.props.onChange,integration:this.props.integration,dark:this.props.dark})}),this.getSwitch=(e,i)=>{const n=i!==void 0?!!i:e.defaultValue!==void 0&&e.defaultValue==="true";return u.jsx(kt,{id:e.name,name:e.name,value:i==null?void 0:i.toString(),"aria-label":e.name,isChecked:n,onChange:s=>this.propertyChanged(e.name,s)})},this.getSelectBean=(e,i)=>{const n=[],s=ue.getBeans(this.props.integration);return s&&(n.push(u.jsx(Pe,{value:"Select...",isPlaceholder:!0},0)),n.push(...s.map(r=>u.jsx(Pe,{value:r.name,description:r.type},r.name)))),u.jsx(pi,{variant:le.single,"aria-label":e.name,onToggle:r=>{this.openSelect(e.name,r)},onSelect:(r,a,o)=>this.propertyChanged(e.name,o?void 0:a),selections:i,isOpen:this.isSelectOpen(e.name),"aria-labelledby":e.name,direction:mi.down,children:n})},this.getSelect=(e,i)=>{const n=[];return e.enumVals&&e.enumVals.length>0&&(n.push(u.jsx(Pe,{value:"Select "+e.name,isPlaceholder:!0},0)),n.push(...e.enumVals.split(",").map(s=>u.jsx(Pe,{value:s.trim()},s)))),u.jsx(pi,{variant:le.single,"aria-label":e.name,onToggle:s=>{this.openSelect(e.name,s)},onSelect:(s,r,a)=>this.propertyChanged(e.name,a?void 0:r),selections:i,isOpen:this.isSelectOpen(e.name),id:e.name,"aria-labelledby":e.name,direction:mi.down,children:n})},this.getMediaTypeSelect=(e,i)=>u.jsx(pi,{placeholderText:"Select Media Type",variant:le.typeahead,"aria-label":e.name,onToggle:n=>{this.openSelect(e.name,n)},onSelect:(n,s,r)=>this.propertyChanged(e.name,r?void 0:s),selections:i,isOpen:this.isSelectOpen(e.name),isCreatable:!1,isInputFilterPersisted:!1,onFilter:(n,s)=>this.getMediaTypeSelectOptions(s),"aria-labelledby":e.name,direction:mi.down,children:this.getMediaTypeSelectOptions()}),this.canBeInternalUri=(e,i)=>(i==null?void 0:i.dslName)==="WireTapDefinition"&&e.name==="uri"||(i==null?void 0:i.dslName)==="SagaDefinition"&&["compensation","completion"].includes(e.name)?!0:!!(i&&["GetDefinition","PostDefinition","PutDefinition","PatchDefinition","DeleteDefinition","HeadDefinition"].includes(i==null?void 0:i.dslName)&&e.name==="to"),this.canBeMediaType=(e,i)=>!!(i&&["RestDefinition","GetDefinition","PostDefinition","PutDefinition","PatchDefinition","DeleteDefinition","HeadDefinition"].includes(i==null?void 0:i.dslName)&&["consumes","produces"].includes(e.name)),this.javaTypeGenerated=e=>e.javaType.length!==0,this.getInternalUriSelect=(e,i)=>{const n=[],s=ue.getInternalRouteUris(this.props.integration,"direct");return s.push(...ue.getInternalRouteUris(this.props.integration,"seda")),s&&s.length>0&&n.push(...s.map(r=>u.jsx(Pe,{value:r.trim()},r))),u.jsx(pi,{placeholderText:"Select or type an URI",variant:le.typeahead,"aria-label":e.name,onClear:r=>this.clearSelection(e.name),onToggle:r=>{this.openSelect(e.name,r)},onSelect:(r,a,o)=>{const l=a.toString().split(":"),c=!s.includes(a.toString())&&["direct","seda"].includes(l[0])?new Zu(l[0],l[1]):void 0;this.propertyChanged(e.name,o?void 0:a,c)},selections:i,isOpen:this.isSelectOpen(e.name),isCreatable:!0,isInputFilterPersisted:!0,"aria-labelledby":e.name,direction:mi.down,children:n})},this.onMultiValueObjectUpdate=(e,i,n)=>{var r;const s=[...this.props.value];s[e]=n,(r=this.props.onChange)==null||r.call(this,i,s)},this.getMultiValueObjectField=(e,i)=>{const n=this.isKeyValueObject(e);return u.jsxs("div",{children:[i&&Array.from(i).map((s,r)=>n?u.jsx("div",{className:"object-key-value",children:this.getMultiObjectFieldProps(e,i,s,r,r>0)},e+"-"+r):u.jsx(Fn,{className:"object-value",children:this.getMultiObjectFieldProps(e,i,s,r)},e+"-"+r)),u.jsxs($,{variant:"link",className:"add-button",onClick:s=>this.propertyChanged(e.name,[...i,Xe.CamelDefinitionApi.createStep(e.type,{})]),children:[u.jsx(xa,{}),"Add "+e.displayName]})]})},this.getMultiValueField=(e,i)=>u.jsx("div",{children:u.jsxs(Sf,{className:"input-group",children:[u.jsx(Ef,{value:this.state.arrayValues.get(e.name),onChange:(n,s)=>this.arrayChanged(e.name,s),onKeyUp:n=>{n.key==="Enter"&&this.arraySave(e.name)},children:u.jsx(Ea,{children:i&&Array.from(i).map((n,s)=>u.jsx(It,{className:"chip",onClick:()=>this.arrayDeleteValue(e.name,n),children:n.toString()},"chip-"+s))})}),u.jsx(Tf,{children:u.jsx($,{variant:"plain",onClick:n=>this.arraySave(e.name),"aria-label":"Add element",children:u.jsx(ht,{})})})]})}),this.getKameletParameters=()=>{const e=this.props.element,i=oe.CamelUtil.getKameletRequiredParameters(e);return u.jsx("div",{className:"parameters",children:oe.CamelUtil.getKameletProperties(e).map(n=>u.jsx(CT,{property:n,value:te.CamelDefinitionApiExt.getParametersValue(e,n.id),required:i==null?void 0:i.includes(n.id),onParameterChange:this.props.onParameterChange},n.id))})},this.getMainComponentParameters=e=>u.jsx("div",{className:"parameters",children:e.map(i=>{const n=te.CamelDefinitionApiExt.getParametersValue(this.props.element,i.name,i.kind==="path");return u.jsx(Qc,{property:i,element:this.props.element,integration:this.props.integration,value:n,onParameterChange:this.props.onParameterChange},i.name)})}),this.getExpandableComponentParameters=(e,i)=>u.jsx(wa,{toggleText:i,onToggle:n=>{this.setState(s=>(s.isShowAdvanced.set(i,!s.isShowAdvanced.get(i)),{isShowAdvanced:s.isShowAdvanced}))},isExpanded:this.state.isShowAdvanced.has(i)&&this.state.isShowAdvanced.get(i),children:u.jsx("div",{className:"parameters",children:e.map(n=>u.jsx(Qc,{property:n,integration:this.props.integration,value:te.CamelDefinitionApiExt.getParametersValue(this.props.element,n.name,n.kind==="path"),onParameterChange:this.props.onParameterChange},n.name))})}),this.getLabelIcon=e=>e.description?u.jsx(Qt,{position:"left",headerContent:e.displayName,bodyContent:e.description,footerContent:u.jsxs("div",{children:[e.defaultValue!==void 0&&e.defaultValue.toString().trim().length>0&&u.jsx("div",{children:"Default: "+e.defaultValue}),e.required&&u.jsx("b",{children:"Required"})]}),children:u.jsx("button",{type:"button","aria-label":"More info",onClick:i=>{i.preventDefault(),i.stopPropagation()},className:"pf-c-form__group-label-help",children:u.jsx(kn,{noVerticalAlign:!0})})}):u.jsx("div",{}),this.isMultiValueField=e=>["string"].includes(e.type)&&e.name!=="expression"&&e.isArray&&!e.enumVals}getKubernetesSelectorModal(){return u.jsx(uo,{dark:!1,isOpen:this.state.showKubernetesSelector,onClose:()=>this.closeKubernetesSelector(),onSelect:this.selectKubernetes})}getMediaTypeSelectOptions(e){const i=[u.jsx(Pe,{value:"Select Media Type",isPlaceholder:!0},0)],n=e?id.filter(s=>s.includes(e)).map(s=>u.jsx(Pe,{value:s.trim()},s)):id.map(s=>u.jsx(Pe,{value:s.trim()},s));return i.push(...n),i}isKeyValueObject(e){const i=te.CamelDefinitionApiExt.getElementProperties(e.type);return i.length===2&&i.filter(n=>n.name==="key").length===1&&i.filter(n=>n.name==="value").length===1}getMultiObjectFieldProps(e,i,n,s,r=!1){return u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"object",children:i&&u.jsx(ed,{property:e,hideLabel:r,value:n,onPropertyUpdate:(a,o)=>this.onMultiValueObjectUpdate(s,a,o),integration:this.props.integration,dark:this.props.dark})}),u.jsx($,{variant:"link",className:"delete-button",onClick:a=>{const o=Array.from(i);o.splice(s,1),this.propertyChanged(e.name,o)},children:u.jsx(Zt,{})})]})}getComponentParameters(e){const i=oe.CamelUtil.getComponentProperties(this.props.element),n=i.filter(o=>!o.label.includes("advanced")&&!o.label.includes("security")&&!o.label.includes("scheduler")),s=i.filter(o=>o.label.includes("advanced")),r=i.filter(o=>o.label.includes("scheduler")),a=i.filter(o=>o.label.includes("security"));return u.jsxs(u.Fragment,{children:[e.name==="parameters"&&this.getMainComponentParameters(n),e.name==="parameters"&&this.props.element&&r.length>0&&this.getExpandableComponentParameters(r,"Scheduler parameters"),e.name==="parameters"&&this.props.element&&a.length>0&&this.getExpandableComponentParameters(a,"Security parameters"),e.name==="parameters"&&this.props.element&&s.length>0&&this.getExpandableComponentParameters(s,"Advanced parameters")]})}render(){const e=oe.CamelUtil.isKameletComponent(this.props.element),i=this.props.property,n=this.props.value;return u.jsxs("div",{children:[u.jsxs(_i,{label:this.props.hideLabel?void 0:this.getLabel(i,n),isRequired:i.required,labelIcon:this.getLabelIcon(i),children:[n&&["ExpressionDefinition","ExpressionSubElementDefinition"].includes(i.type)&&this.getExpressionField(i,n),i.isObject&&!i.isArray&&!["ExpressionDefinition","ExpressionSubElementDefinition"].includes(i.type)&&this.getObjectField(i,n),i.isObject&&i.isArray&&!this.isMultiValueField(i)&&this.getMultiValueObjectField(i,n),i.name==="expression"&&i.type==="string"&&!i.isArray&&this.getTextArea(i,n),this.canBeInternalUri(i,this.props.element)&&this.getInternalUriSelect(i,n),this.canBeMediaType(i,this.props.element)&&this.getMediaTypeSelect(i,n),this.javaTypeGenerated(i)&&this.getJavaTypeGeneratedInput(i,n),["string","duration","integer","number"].includes(i.type)&&i.name!=="expression"&&!i.name.endsWith("Ref")&&!i.isArray&&!i.enumVals&&!this.canBeInternalUri(i,this.props.element)&&!this.canBeMediaType(i,this.props.element)&&!this.javaTypeGenerated(i)&&this.getStringInput(i,n),["string"].includes(i.type)&&i.name.endsWith("Ref")&&!i.isArray&&!i.enumVals&&this.getSelectBean(i,n),this.isMultiValueField(i)&&this.getMultiValueField(i,n),i.type==="boolean"&&this.getSwitch(i,n),i.enumVals&&this.getSelect(i,n),e&&i.name==="parameters"&&this.getKameletParameters(),!e&&i.name==="parameters"&&this.getComponentParameters(i)]}),this.getKubernetesSelectorModal()]})}}class A5 extends H.Component{constructor(){var e;super(...arguments),this.state={selectIsOpen:!1,dataFormat:((e=te.CamelDefinitionApiExt.getDataFormat(this.props.value))==null?void 0:e.name)||"json",isShowAdvanced:!1},this.componentDidUpdate=(i,n,s)=>{var a;const r=((a=te.CamelDefinitionApiExt.getDataFormat(this.props.value))==null?void 0:a.name)||"json";i.value&&(i.value.uuid!==this.props.value.uuid||n.dataFormat!==r)&&this.setState({dataFormat:r})},this.openSelect=()=>{this.setState({selectIsOpen:!0})},this.dataFormatChanged=(i,n)=>{var r,a;if(i!==n.dataFormatName){const o=(r=li.CamelMetadataApi.getCamelDataFormatMetadataByName(i))==null?void 0:r.className;n=Xe.CamelDefinitionApi.createDataFormat(o||"",{})}const s=Xe.CamelDefinitionApi.createStep(this.props.dslName,{});s[i]=n,(a=this.props.onDataFormatChange)==null||a.call(this,s),this.setState({selectIsOpen:!1})},this.propertyChanged=(i,n)=>{const s=this.getDataFormatValue();s&&(s[i]=n,this.dataFormatChanged(this.state.dataFormat,s))},this.getDataFormatValue=()=>this.props.value[this.state.dataFormat]?this.props.value[this.state.dataFormat]:Xe.CamelDefinitionApi.createDataFormat(this.state.dataFormat,this.props.value[this.state.dataFormat]),this.getPropertyFields=(i,n)=>u.jsx(u.Fragment,{children:i&&(n==null?void 0:n.map(s=>u.jsx(go,{property:s,integration:this.props.integration,element:i,value:i?i[s.name]:void 0,onExpressionChange:r=>{},onParameterChange:r=>{console.log(r)},onDataFormatChange:r=>{console.log(r)},dark:this.props.dark,onChange:this.propertyChanged},s.name)))})}componentDidMount(){var e;((e=te.CamelDefinitionApiExt.getDataFormat(this.props.value))==null?void 0:e.name)===void 0&&this.dataFormatChanged("json",Xe.CamelDefinitionApi.createDataFormat("JsonDataFormat",{}))}render(){const e=this.getDataFormatValue(),i=li.DataFormats.find(o=>o[0]===this.state.dataFormat),n=te.CamelDefinitionApiExt.getElementPropertiesByName(this.state.dataFormat).sort((o,l)=>o.name==="library"?-1:1),s=n.filter(o=>!o.label.includes("advanced")),r=n.filter(o=>o.label.includes("advanced")),a=[];return li.DataFormats.forEach(o=>{const l=u.jsx(Pe,{value:o[0],description:o[2]},o[0]);a.push(l)}),u.jsxs("div",{children:[u.jsxs("div",{children:[u.jsxs("label",{className:"pf-c-form__label",htmlFor:"expression",children:[u.jsx("span",{className:"pf-c-form__label-text",children:"Data Format"}),u.jsx("span",{className:"pf-c-form__label-required","aria-hidden":"true",children:" *"})]}),u.jsx(pi,{variant:le.typeahead,"aria-label":"dataFormat",onToggle:()=>{this.openSelect()},onSelect:(o,l,c)=>this.dataFormatChanged(l.toString(),e),selections:i,isOpen:this.state.selectIsOpen,"aria-labelledby":"dataFormat",direction:mi.down,children:a})]}),u.jsx("div",{className:"object",children:u.jsxs("div",{children:[this.getPropertyFields(e,s),r.length>0&&u.jsx(wa,{toggleText:"Advanced properties",onToggle:o=>this.setState({isShowAdvanced:!this.state.isShowAdvanced}),isExpanded:this.state.isShowAdvanced,children:this.getPropertyFields(e,r)})]})})]})}}class Yp extends H.Component{render(){return u.jsxs("div",{className:"headers",children:[u.jsx(At,{headingLevel:"h1",size:"md",children:"Integration"}),u.jsx(_i,{label:"Name",fieldId:"name",isRequired:!0,children:u.jsx(oi,{className:"text-field",type:"text",id:"name",name:"name",isReadOnly:!0,value:this.props.integration.metadata.name})})]})}}const I5={name:"CloneIcon",height:512,width:512,svgPath:"M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z",yOffset:0,xOffset:0},Zp=Ae(I5);class Qp extends H.Component{constructor(){super(...arguments),this.state={step:this.props.step,selectStatus:new Map,isShowAdvanced:!1},this.propertyChanged=(e,i,n)=>{var s;if(this.state.step){const r=oe.CamelUtil.cloneStep(this.state.step);r[e]=i,this.setStep(r),(s=this.props.onPropertyUpdate)==null||s.call(this,r,n)}},this.dataFormatChanged=e=>{var i,n,s;e.uuid=(i=this.state.step)!=null&&i.uuid?(n=this.state.step)==null?void 0:n.uuid:e.uuid,this.setStep(e),(s=this.props.onPropertyUpdate)==null||s.call(this,e)},this.expressionChanged=(e,i)=>{var n;if(this.state.step){const s=oe.CamelUtil.cloneStep(this.state.step);s[e]=i,this.setStep(s),(n=this.props.onPropertyUpdate)==null||n.call(this,s)}},this.parametersChanged=(e,i,n,s)=>{var r;if(this.state.step&&this.state.step){const a=oe.CamelUtil.cloneStep(this.state.step),o={...a.parameters};o[e]=i,a.parameters=o,this.setStep(a),(r=this.props.onPropertyUpdate)==null||r.call(this,a)}},this.cloneElement=()=>{var e;this.state.step&&((e=this.props.onClone)==null||e.call(this,this.state.step))},this.componentDidUpdate=(e,i,n)=>{e.step!==this.props.step&&this.setStep(this.props.step)},this.setStep=e=>{this.setState({step:e,selectStatus:new Map})},this.getRouteHeader=()=>{const e=this.state.isDescriptionExpanded,i=this.state.step&&ue.getTitle(this.state.step),n=this.state.step&&ue.getDescription(this.state.step),s=n?n==null?void 0:n.split(`
|
|
53
|
+
`):[""];return u.jsxs("div",{className:"headers",children:[u.jsx("div",{className:"top",children:u.jsx(At,{headingLevel:"h1",size:"md",children:i})}),u.jsx(Si,{component:Ut.p,children:s.at(0)}),s.length>1&&u.jsx(wa,{toggleText:e?"Show less":"Show more",onToggle:r=>this.setState({isDescriptionExpanded:!e}),isExpanded:e,children:s.filter((r,a)=>a>0).map((r,a,o)=>u.jsx(Si,{component:Ut.p,children:r},a))})]})},this.getClonableElementHeader=()=>{var s,r,a;const e=this.state.step&&ue.getTitle(this.state.step),i=(s=this.state.step)!=null&&s.dslName?(a=li.CamelMetadataApi.getCamelModelMetadataByClassName((r=this.state.step)==null?void 0:r.dslName))==null?void 0:a.description:e,n=i?i==null?void 0:i.split(`
|
|
54
|
+
`):[""];return u.jsxs("div",{className:"headers",children:[u.jsxs("div",{className:"top",children:[u.jsx(At,{headingLevel:"h1",size:"md",children:e}),u.jsx(ve,{content:"Clone element",position:"bottom",children:u.jsx($,{variant:"link",onClick:()=>this.cloneElement(),icon:u.jsx(Zp,{})})})]}),n.map((o,l,c)=>u.jsx(Si,{component:Ut.p,children:o},l))]})},this.getComponentHeader=()=>this.props.isRouteDesigner?this.getRouteHeader():this.getClonableElementHeader(),this.getProperties=()=>{var i;const e=(i=this.state.step)==null?void 0:i.dslName;return te.CamelDefinitionApiExt.getElementProperties(e).filter(n=>!n.isObject||n.isObject&&!ue.dslHasSteps(n.type)||e==="CatchDefinition"&&n.name==="onWhen").filter(n=>!(e==="RestDefinition"&&["get","post","put","patch","delete","head"].includes(n.name)))},this.getPropertyFields=e=>u.jsx(u.Fragment,{children:this.state.step&&!["MarshalDefinition","UnmarshalDefinition"].includes(this.state.step.dslName)&&e.map(i=>u.jsx(go,{integration:this.props.integration,property:i,element:this.state.step,value:this.state.step?this.state.step[i.name]:void 0,onExpressionChange:this.expressionChanged,onParameterChange:this.parametersChanged,onDataFormatChange:this.dataFormatChanged,onChange:this.propertyChanged,dark:this.props.dark},i.name))})}render(){const e=this.getProperties(),i=e.filter(s=>!s.label.includes("advanced")),n=e.filter(s=>s.label.includes("advanced"));return u.jsx("div",{className:"properties",children:u.jsxs(On,{autoComplete:"off",onSubmit:s=>s.preventDefault(),children:[this.state.step===void 0&&u.jsx(Yp,{integration:this.props.integration}),this.state.step&&this.getComponentHeader(),this.getPropertyFields(i),n.length>0&&u.jsx(wa,{toggleText:"Advanced properties",onToggle:s=>this.setState({isShowAdvanced:!this.state.isShowAdvanced}),isExpanded:this.state.isShowAdvanced,children:u.jsx("div",{className:"parameters",children:this.getPropertyFields(n)})}),this.state.step&&["MarshalDefinition","UnmarshalDefinition"].includes(this.state.step.dslName)&&u.jsx(A5,{integration:this.props.integration,dslName:this.state.step.dslName,value:this.state.step,onDataFormatChange:this.dataFormatChanged,dark:this.props.dark})]})},this.state.step?this.state.step.uuid:"integration")}}function ut(t){return typeof t=="function"}function eh(t){var e=function(n){Error.call(n),n.stack=new Error().stack},i=t(e);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var Bo=eh(function(t){return function(i){t(this),this.message=i?i.length+` errors occurred during unsubscription:
|
|
55
|
+
`+i.map(function(n,s){return s+1+") "+n.toString()}).join(`
|
|
56
|
+
`):"",this.name="UnsubscriptionError",this.errors=i}});function ys(t,e){if(t){var i=t.indexOf(e);0<=i&&t.splice(i,1)}}var vo=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,i,n,s,r;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=pa(a),l=o.next();!l.done;l=o.next()){var c=l.value;c.remove(this)}}catch(b){e={error:b}}finally{try{l&&!l.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}else a.remove(this);var f=this.initialTeardown;if(ut(f))try{f()}catch(b){r=b instanceof Bo?b.errors:[b]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var p=pa(h),g=p.next();!g.done;g=p.next()){var y=g.value;try{cd(y)}catch(b){r=r??[],b instanceof Bo?r=or(or([],sn(r)),sn(b.errors)):r.push(b)}}}catch(b){n={error:b}}finally{try{g&&!g.done&&(s=p.return)&&s.call(p)}finally{if(n)throw n.error}}}if(r)throw new Bo(r)}},t.prototype.add=function(e){var i;if(e&&e!==this)if(this.closed)cd(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(e)}},t.prototype._hasParent=function(e){var i=this._parentage;return i===e||Array.isArray(i)&&i.includes(e)},t.prototype._addParent=function(e){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(e),i):i?[i,e]:e},t.prototype._removeParent=function(e){var i=this._parentage;i===e?this._parentage=null:Array.isArray(i)&&ys(i,e)},t.prototype.remove=function(e){var i=this._finalizers;i&&ys(i,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),ih=vo.EMPTY;function th(t){return t instanceof vo||t&&"closed"in t&&ut(t.remove)&&ut(t.add)&&ut(t.unsubscribe)}function cd(t){ut(t)?t():t.unsubscribe()}var k5={Promise:void 0},R5={setTimeout:function(t,e){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];return setTimeout.apply(void 0,or([t,e],sn(i)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function j5(t){R5.setTimeout(function(){throw t})}function dd(){}function nr(t){t()}var ah=function(t){Cn(e,t);function e(i){var n=t.call(this)||this;return n.isStopped=!1,i?(n.destination=i,th(i)&&i.add(n)):n.destination=N5,n}return e.create=function(i,n,s){return new bs(i,n,s)},e.prototype.next=function(i){this.isStopped||this._next(i)},e.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(i){this.destination.next(i)},e.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(vo),P5=function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var i=this.partialObserver;if(i.next)try{i.next(e)}catch(n){Kn(n)}},t.prototype.error=function(e){var i=this.partialObserver;if(i.error)try{i.error(e)}catch(n){Kn(n)}else Kn(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(i){Kn(i)}},t}(),bs=function(t){Cn(e,t);function e(i,n,s){var r=t.call(this)||this,a;return ut(i)||!i?a={next:i??void 0,error:n??void 0,complete:s??void 0}:a=i,r.destination=new P5(a),r}return e}(ah);function Kn(t){j5(t)}function L5(t){throw t}var N5={closed:!0,next:dd,error:L5,complete:dd},B5=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function _5(t){return t}function z5(t){return t.length===0?_5:t.length===1?t[0]:function(i){return t.reduce(function(n,s){return s(n)},i)}}var fd=function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var i=new t;return i.source=this,i.operator=e,i},t.prototype.subscribe=function(e,i,n){var s=this,r=W5(e)?e:new bs(e,i,n);return nr(function(){var a=s,o=a.operator,l=a.source;r.add(o?o.call(r,l):l?s._subscribe(r):s._trySubscribe(r))}),r},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(i){e.error(i)}},t.prototype.forEach=function(e,i){var n=this;return i=ud(i),new i(function(s,r){var a=new bs({next:function(o){try{e(o)}catch(l){r(l),a.unsubscribe()}},error:r,complete:s});n.subscribe(a)})},t.prototype._subscribe=function(e){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(e)},t.prototype[B5]=function(){return this},t.prototype.pipe=function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];return z5(e)(this)},t.prototype.toPromise=function(e){var i=this;return e=ud(e),new e(function(n,s){var r;i.subscribe(function(a){return r=a},function(a){return s(a)},function(){return n(r)})})},t.create=function(e){return new t(e)},t}();function ud(t){var e;return(e=t??k5.Promise)!==null&&e!==void 0?e:Promise}function H5(t){return t&&ut(t.next)&&ut(t.error)&&ut(t.complete)}function W5(t){return t&&t instanceof ah||H5(t)&&th(t)}var U5=eh(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),yl=function(t){Cn(e,t);function e(){var i=t.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return e.prototype.lift=function(i){var n=new pd(this,this);return n.operator=i,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new U5},e.prototype.next=function(i){var n=this;nr(function(){var s,r;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=pa(n.currentObservers),o=a.next();!o.done;o=a.next()){var l=o.value;l.next(i)}}catch(c){s={error:c}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(s)throw s.error}}}})},e.prototype.error=function(i){var n=this;nr(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=i;for(var s=n.observers;s.length;)s.shift().error(i)}})},e.prototype.complete=function(){var i=this;nr(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var n=i.observers;n.length;)n.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(i){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,i)},e.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},e.prototype._innerSubscribe=function(i){var n=this,s=this,r=s.hasError,a=s.isStopped,o=s.observers;return r||a?ih:(this.currentObservers=null,o.push(i),new vo(function(){n.currentObservers=null,ys(o,i)}))},e.prototype._checkFinalizedStatuses=function(i){var n=this,s=n.hasError,r=n.thrownError,a=n.isStopped;s?i.error(r):a&&i.complete()},e.prototype.asObservable=function(){var i=new fd;return i.source=this,i},e.create=function(i,n){return new pd(i,n)},e}(fd),pd=function(t){Cn(e,t);function e(i,n){var s=t.call(this)||this;return s.destination=i,s.source=n,s}return e.prototype.next=function(i){var n,s;(s=(n=this.destination)===null||n===void 0?void 0:n.next)===null||s===void 0||s.call(n,i)},e.prototype.error=function(i){var n,s;(s=(n=this.destination)===null||n===void 0?void 0:n.error)===null||s===void 0||s.call(n,i)},e.prototype.complete=function(){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||n===void 0||n.call(i)},e.prototype._subscribe=function(i){var n,s;return(s=(n=this.source)===null||n===void 0?void 0:n.subscribe(i))!==null&&s!==void 0?s:ih},e}(yl);const hd=new yl;class V5{constructor(e,i,n,s,r,a,o=!1,l=!1){this.step=new ol(""),this.inSteps=!1,this.isSelected=!1,this.position=0,this.rect=new DOMRect,this.headerRect=new DOMRect,this.command="add",this.command=e,this.step=i,this.parent=n,this.rect=s,this.headerRect=r,this.inSteps=o,this.position=a,this.isSelected=l}}const gd=new yl;class X5{constructor(e,i){this.command=e,this.data=i}}const Mt={sendPosition:(t,e,i,n,s,r,a=!1,o=!1)=>hd.next(new V5(t,e,i,n,s,r,a,o)),onPosition:()=>hd.asObservable(),sendCommand:(t,e)=>gd.next(new X5(t,e)),onCommand:()=>gd.asObservable()},_o=40,zo=["ToDefinition","KameletDefinition","ToDynamicDefinition","PollEnrichDefinition","EnrichDefinition","WireTapDefinition","SagaDefinition"];class J5 extends H.Component{constructor(){super(...arguments),this.state={integration:this.props.integration,steps:new Map},this.hasSteps=e=>e.hasSteps()&&!["FromDefinition"].includes(e.dslName)||["RouteDefinition","TryDefinition","ChoiceDefinition","SwitchDefinition"].includes(e.dslName)}componentDidMount(){var e;this.sub=(e=Mt.onPosition())==null?void 0:e.subscribe(i=>this.setPosition(i))}componentWillUnmount(){var e;(e=this.sub)==null||e.unsubscribe()}setPosition(e){e.command==="add"?this.setState(i=>({steps:i.steps.set(e.step.uuid,e)})):e.command==="delete"?this.setState(i=>(i.steps.delete(e.step.uuid),{steps:i.steps})):e.command==="clean"&&this.setState(i=>(i.steps.clear(),{steps:i.steps}))}getIncomings(){let e=Array.from(this.state.steps.values()).filter(i=>["FromDefinition"].includes(i.step.dslName)).filter(i=>!(i.step.dslName==="FromDefinition"&&ue.hasInternalUri(i.step))).sort((i,n)=>{const s=i.headerRect.y+i.headerRect.height/2,r=n.headerRect.y+n.headerRect.height/2;return s>r?1:-1}).map(i=>[i.step.uuid,i.headerRect.y]);for(;this.hasOverlap(e);)e=this.addGap(e);return e}getIncoming(e){const i=this.state.steps.get(e[0]);if(i){const n=i.headerRect.x+i.headerRect.width/2-this.props.left,s=i.headerRect.y+i.headerRect.height/2-this.props.top,r=i.headerRect.height/2,a=20,o=a+r,l=s,c=n-r*2+7,f=s,h=a-r+5,p=s-r+5;return u.jsxs("g",{children:[u.jsx("circle",{cx:a,cy:s,r,className:"circle-incoming"}),u.jsx("image",{x:h,y:p,href:ue.getConnectionIcon(i.step),className:"icon"}),u.jsx("path",{d:`M ${o},${l} C ${o},${f} ${c},${l} ${c},${f}`,className:"path-incoming",markerEnd:"url(#arrowhead)"})]},i.step.uuid+"-incoming")}}hasOverlap(e){let i=!1;return e.forEach((n,s,r)=>{s>0&&n[1]-r[s-1][1]<_o&&(i=!0)}),i}addGap(e){const i=[];return e.forEach((n,s,r)=>{s>0&&n[1]-r[s-1][1]<_o?i.push([n[0],n[1]+_o]):i.push(n)}),i}getOutgoings(){let e=Array.from(this.state.steps.values()).filter(i=>zo.includes(i.step.dslName)).filter(i=>i.step.dslName!=="KameletDefinition"||i.step.dslName==="KameletDefinition"&&!ue.isActionKamelet(i.step)).filter(i=>i.step.dslName==="ToDefinition"&&!ue.isActionKamelet(i.step)).filter(i=>!(zo.includes(i.step.dslName)&&ue.hasInternalUri(i.step))).filter(i=>i.step.dslName!=="SagaDefinition").sort((i,n)=>{const s=i.headerRect.y+i.headerRect.height/2,r=n.headerRect.y+n.headerRect.height/2;return s>r?1:-1}).map(i=>[i.step.uuid,i.headerRect.y-this.props.top]);for(;this.hasOverlap(e);)e=this.addGap(e);return e}getOutgoing(e){const i=this.state.steps.get(e[0]);if(i){const n=i.headerRect.x+i.headerRect.width/2-this.props.left,s=i.headerRect.y+i.headerRect.height/2-this.props.top,r=i.headerRect.height/2,a=this.props.width-20,o=e[1]+15,l=n+r,c=s,f=a-r*2+4,h=o,p=l+40,g=h;let y=ue.getConnectionIcon(i.step);const b=a-r+5,w=o-r+5;return u.jsxs("g",{children:[u.jsx("circle",{cx:a,cy:o,r,className:"circle-outgoing"}),u.jsx("image",{x:b,y:w,href:y,className:"icon"}),u.jsx("path",{d:`M ${l},${c} C ${p-20}, ${c} ${l-15},${g} ${p},${g} L ${f},${h}`,className:"path-incoming",markerEnd:"url(#arrowhead)"})]},i.step.uuid+"-outgoing")}}getInternals(){return Array.from(this.state.steps.values()).filter(i=>zo.includes(i.step.dslName)&&ue.hasInternalUri(i.step)).sort((i,n)=>{const s=i.headerRect.y+i.headerRect.height/2,r=n.headerRect.y+n.headerRect.height/2;return s>r?1:-1}).map(i=>[i.step.uuid,i.headerRect.y-this.props.top,i.isSelected])}getInternalLines(e){const i=this.state.steps.get(e[0]),n=(i==null?void 0:i.step).uri;if(n&&n.length&&i){const s=i.step.uuid+"-outgoing",r=i.headerRect.x+i.headerRect.width/2-this.props.left,a=i.headerRect.y+i.headerRect.height/2-this.props.top,o=i.headerRect.height/2,l=(ue.hasDirectUri(i.step)?"path-direct":"path-seda")+(e[2]?"-selected":"");return this.getInternalLine(n,s,l,r,a,o,e[1])}else if((i==null?void 0:i.step.dslName)==="SagaDefinition"){const s=i==null?void 0:i.step,r=i.headerRect.x+i.headerRect.width/2-this.props.left,a=i.headerRect.y+i.headerRect.height/2-this.props.top,o=i.headerRect.height/2,l=[];if(s.completion&&(s.completion.startsWith("direct")||s.completion.startsWith("seda"))){const c=i.step.uuid+"-completion",f=s.completion.startsWith("direct")?"path-direct":"path-seda";l.push(this.getInternalLine(s.completion,c,f,r,a,o,e[1]))}if(s.compensation&&(s.compensation.startsWith("direct")||s.compensation.startsWith("seda"))){const c=i.step.uuid+"-compensation",f=s.compensation.startsWith("direct")?"path-direct":"path-seda";l.push(this.getInternalLine(s.compensation,c,f,r,a,o,e[1]))}return l}}getInternalLine(e,i,n,s,r,a,o){const l=Array.from(this.state.steps.values()).filter(c=>c.step.dslName==="FromDefinition").filter(c=>c.step.uri&&c.step.uri===e)[0];if(l){const c=l.headerRect.x+l.headerRect.width/2-this.props.left,f=l.headerRect.y+l.headerRect.height/2-this.props.top,h=100,p=.2;if(c-s>=h){const g=s+a,y=r,b=c-a*2+4,w=f,D=24+o*p,O=f>r?24:-24,M=g+D,R=y,A=g+D,C=y+O,S=M,k=f-O,P=S,j=w,L=S+D,_=w;return this.getInternalPath(i,n,g,y,M,R,A,C,S,k,P,j,L,_,b,w)}else if(c>s&&c-s<h){const g=s-a,y=r,b=c-a*2+4,w=f,D=-24-o*p,O=f>r?24:-24,M=g+D,R=y,A=g+D,C=y+O,S=M,k=f-O,P=S,j=w,L=S-D/2,_=w;return this.getInternalPath(i,n,g,y,M,R,A,C,S,k,P,j,L,_,b,w)}else if(c<=s&&s-c<h){const g=s+a,y=r,b=c+a*2-4,w=f,D=24+o*p,O=f>r?24:-24,M=g+D,R=y,A=g+D,C=y+O,S=M,k=f-O,P=S,j=w,L=S-D/2,_=w;return this.getInternalPath(i,n,g,y,M,R,A,C,S,k,P,j,L,_,b,w)}else{const g=s-a,y=r,b=c+a*2-4,w=f,D=-24-o*p,O=f>r?24:-24,M=g+D,R=y,A=g+D,C=y+O,S=M,k=f-O,P=S,j=w,L=S+D,_=w;return this.getInternalPath(i,n,g,y,M,R,A,C,S,k,P,j,L,_,b,w)}}}getInternalPath(e,i,n,s,r,a,o,l,c,f,h,p,g,y,b,w){return u.jsx("g",{children:u.jsx("path",{d:`M ${n} ${s}
|
|
57
|
+
Q ${r} ${a} ${o} ${l} L ${c},${f}
|
|
58
|
+
Q ${h} ${p} ${g} ${y} L ${b},${w}`,className:i,markerEnd:"url(#arrowhead)"})},e)}getCircle(e){const i=e.headerRect.x+e.headerRect.width/2-this.props.left,n=e.headerRect.y+e.headerRect.height/2-this.props.top,s=e.headerRect.height/2;return u.jsx("circle",{cx:i,cy:n,r:s,stroke:"transparent",strokeWidth:"3",fill:"transparent"},e.step.uuid+"-circle")}getPreviousStep(e){return Array.from(this.state.steps.values()).filter(i=>{var n,s;return((n=e.parent)==null?void 0:n.uuid)===((s=i.parent)==null?void 0:s.uuid)}).filter(i=>i.inSteps).filter(i=>i.position===e.position-1)[0]}getArrow(e){const i=e.headerRect.x+e.headerRect.width/2-this.props.left,n=e.headerRect.y-9-this.props.top;if(e.parent){const s=this.state.steps.get(e.parent.uuid);if(s){const r=s.headerRect.x+s.headerRect.width/2-this.props.left,a=s.headerRect.y+s.headerRect.height-this.props.top;if((!e.inSteps||e.inSteps&&e.position===0)&&s.step.dslName!=="MulticastDefinition")return u.jsx("path",{name:e.step.dslName,d:`M ${r},${a} C ${r},${n} ${i},${a} ${i},${n}`,className:"path",markerEnd:"url(#arrowhead)"},e.step.uuid);if(s.step.dslName==="MulticastDefinition"&&e.inSteps)return u.jsx("path",{d:`M ${r},${a} C ${r},${n} ${i},${a} ${i},${n}`,className:"path",markerEnd:"url(#arrowhead)"},e.step.uuid);if(e.inSteps&&e.position>0&&!this.hasSteps(e.step)){const o=this.getPreviousStep(e);if(o){const l=this.hasSteps(o.step)?o.rect:o.headerRect,c=l.x+l.width/2-this.props.left,f=l.y+l.height-this.props.top;return u.jsx("line",{x1:c,y1:f,x2:i,y2:n,className:"path",markerEnd:"url(#arrowhead)"},e.step.uuid)}}else if(e.inSteps&&e.position>0&&this.hasSteps(e.step)){const o=this.getPreviousStep(e);if(o){const l=this.hasSteps(o.step)?o.rect:o.headerRect,c=l.x+l.width/2-this.props.left,f=l.y+l.height-this.props.top;return u.jsx("line",{x1:c,y1:f,x2:i,y2:n,className:"path",markerEnd:"url(#arrowhead)"},e.step.uuid)}}}}}getSvg(){const e=Array.from(this.state.steps.values());return u.jsxs("svg",{style:{width:this.props.width,height:this.props.height,position:"absolute",left:0,top:0},viewBox:"0 0 "+this.props.width+" "+this.props.height,children:[u.jsx("defs",{children:u.jsx("marker",{id:"arrowhead",markerWidth:"9",markerHeight:"6",refX:"0",refY:"3",orient:"auto",className:"arrow",children:u.jsx("polygon",{points:"0 0, 9 3, 0 6"})})}),e.map(i=>this.getCircle(i)),e.map(i=>this.getArrow(i)),this.getIncomings().map(i=>this.getIncoming(i)),this.getOutgoings().map(i=>this.getOutgoing(i)),this.getInternals().map(i=>this.getInternalLines(i)).flat()]})}render(){return u.jsx("div",{className:"connections",style:{width:this.props.width,height:this.props.height,marginTop:"8px"},children:this.getSvg()})}}var nh={};(function(t){t.__esModule=!0,t.ArrowAltCircleRightIconConfig={name:"ArrowAltCircleRightIcon",height:512,width:512,svgPath:"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z",yOffset:0,xOffset:0},t.ArrowAltCircleRightIcon=Ai.createIcon(t.ArrowAltCircleRightIconConfig),t.default=t.ArrowAltCircleRightIcon})(nh);const G5=Mi(nh);var bl={};Object.defineProperty(bl,"__esModule",{value:!0});var Dn=bl.CamelDisplayUtil=void 0,K5=Fa(),q5=ao(),qn=sl(),$5=function(){function t(){}var e;return e=t,t.isStepDefinitionExpanded=function(i,n,s){var r=[];return s&&r.push.apply(r,e.getParentStepDefinitions(i,s)),r.includes(n)},t.getParentStepDefinitions=function(i,n){var s,r,a=[],o=qn.CamelDefinitionApiExt.findElementMetaInIntegration(i,n),l=0;if(o)for(;((s=o.step)===null||s===void 0?void 0:s.dslName)!=="FromDefinition"&&l<100&&(l++,((r=o.step)===null||r===void 0?void 0:r.dslName)==="StepDefinition"&&a.push(o.step.uuid),o.parentUuid);)o=qn.CamelDefinitionApiExt.findElementMetaInIntegration(i,o.parentUuid);return a},t.setIntegrationVisibility=function(i,n){var s,r,a=K5.CamelUtil.cloneIntegration(i),o=[];n&&o.push.apply(o,e.getParentStepDefinitions(i,n));var l=[];(s=a.spec.flows)===null||s===void 0||s.filter(function(f){return f.dslName!=="RouteDefinition"}).forEach(function(f){return l.push(f)});var c=(r=a.spec.flows)===null||r===void 0?void 0:r.filter(function(f){return f.dslName==="RouteDefinition"}).map(function(f){return t.setElementVisibility(f,!0,o)}).filter(function(f){return Object.keys(f).length!==0});return l.push.apply(l,c),a.spec.flows=l,a},t.setElementVisibility=function(i,n,s){var r=q5.CamelDefinitionApi.createStep(i.dslName,i);r.show=n,r.dslName==="StepDefinition"&&!s.includes(r.uuid)?n=!1:r.dslName==="StepDefinition"&&s.includes(r.uuid)&&(n=!0);var a=qn.CamelDefinitionApiExt.getElementChildrenDefinition(i.dslName);return a.forEach(function(o){var l=qn.CamelDefinitionApiExt.getElementChildren(i,o);if(o.multiple)r[o.name]=e.setElementsVisibility(r[o.name],n,s);else{var c=r[o.name];c&&c.hasOwnProperty("uuid")&&(r[o.name]=e.setElementVisibility(l[0],n,s))}}),r},t.setElementsVisibility=function(i,n,s){var r=[];return i!==void 0&&i.forEach(function(a){a=e.setElementVisibility(a,n,s),r.push(a)}),r},t}();Dn=bl.CamelDisplayUtil=$5;class Pr extends H.Component{constructor(){super(...arguments),this.state={showSelector:!1,showMoveConfirmation:!1,moveElements:[void 0,void 0],tabIndex:0,isDragging:!1,isDraggedOver:!1},this.openSelector=(e,i=!0,n=!1)=>{e.stopPropagation(),n&&this.props.parent?this.props.openSelector.call(this,this.props.parent.uuid,this.props.parent.dslName,i,this.props.position):this.props.openSelector.call(this,this.props.step.uuid,this.props.step.dslName,i)},this.closeDslSelector=()=>{this.setState({showSelector:!1})},this.delete=e=>{e.stopPropagation(),this.props.deleteElement.call(this,this.props.step.uuid)},this.selectElement=e=>{e.stopPropagation(),this.props.selectElement.call(this,this.props.step)},this.dragElement=(e,i)=>{var r;e.preventDefault(),e.stopPropagation(),this.setState({isDraggedOver:!1});const n=e.dataTransfer.getData("text/plain"),s=i.uuid;n!==s&&(i.hasSteps()?this.setState({showMoveConfirmation:!0,moveElements:[n,s]}):(r=this.props.moveElement)==null||r.call(this,n,s,!1))},this.confirmMove=e=>{var s;const i=this.state.moveElements[0],n=this.state.moveElements[1];i&&n&&i!==n&&((s=this.props.moveElement)==null||s.call(this,i,n,e),this.setState({showMoveConfirmation:!1,moveElements:[void 0,void 0]}))},this.cancelMove=()=>{this.setState({showMoveConfirmation:!1,moveElements:[void 0,void 0]})},this.isSelected=()=>this.props.selectedUuid.includes(this.props.step.uuid),this.hasBorder=()=>{var e;return((e=this.props.step)==null?void 0:e.hasSteps())&&!["FromDefinition"].includes(this.props.step.dslName)||["RouteConfigurationDefinition","RouteDefinition","TryDefinition","ChoiceDefinition","SwitchDefinition"].includes(this.props.step.dslName)},this.isNotDraggable=()=>["FromDefinition","RouteConfigurationDefinition","RouteDefinition","WhenDefinition","OtherwiseDefinition"].includes(this.props.step.dslName),this.isWide=()=>["RouteConfigurationDefinition","RouteDefinition","ChoiceDefinition","SwitchDefinition","MulticastDefinition","TryDefinition","CircuitBreakerDefinition"].includes(this.props.step.dslName),this.isAddStepButtonLeft=()=>["MulticastDefinition"].includes(this.props.step.dslName),this.isHorizontal=()=>["MulticastDefinition"].includes(this.props.step.dslName),this.isRoot=()=>{var e;return["RouteConfigurationDefinition","RouteDefinition"].includes((e=this.props.step)==null?void 0:e.dslName)},this.isInStepWithChildren=()=>{const e=this.props.step;return te.CamelDefinitionApiExt.getElementChildrenDefinition(e.dslName).filter(n=>n.name==="steps"||n.multiple).length>0&&this.props.inSteps},this.getChildrenInfo=e=>{const i=te.CamelDefinitionApiExt.getElementChildrenDefinition(e.dslName),n=i.filter(l=>l.name==="steps").length===1,s=i.filter(l=>l.name==="steps").map((l,c)=>te.CamelDefinitionApiExt.getElementChildren(e,l).length).reduce((l,c)=>l+c,0),r=i.filter(l=>l.name!=="steps"&&l.name!=="expression"&&l.name!=="onWhen").length>0,a=i.map((l,c)=>te.CamelDefinitionApiExt.getElementChildren(e,l).length).reduce((l,c)=>l+c,0),o=a-s;return[n,s,r,o,a]},this.hasWideChildrenElement=()=>{const[e,i,n,s,r]=this.getChildrenInfo(this.props.step);return this.isHorizontal()&&i>1||e&&i>0&&n&&s>0||!e&&n&&r>1?!0:!!(e&&i>0&&n&&r>1)},this.hasBorderOverSteps=e=>{const[i,n,s,r]=this.getChildrenInfo(e);return!!(i&&n>0&&s&&r>0)},this.getHeaderStyle=()=>({width:this.isWide()?"100%":"",fontWeight:this.isSelected()?"bold":"normal"}),this.sendPosition=(e,i)=>{const n=xs.findDOMNode(this);if(n&&e){const s=Array.from(n.childNodes.values()).filter(r=>r.classList.contains("header"))[0];if(s){const a=Array.from(s.childNodes.values()).filter(l=>l.classList.contains("header-icon"))[0].getBoundingClientRect(),o=e.getBoundingClientRect();this.props.step.show?Mt.sendPosition("add",this.props.step,this.props.parent,o,a,this.props.position,this.props.inSteps,i):Mt.sendPosition("delete",this.props.step,this.props.parent,new DOMRect,new DOMRect,0)}}},this.getHeader=()=>{const e=this.props.step,i=this.props.parent,n=i!==void 0&&i.dslName==="RouteConfigurationDefinition",s=ue.getSelectorModelsForParent(e.dslName,!1),r=!["CatchDefinition","RouteDefinition"].includes(e.dslName)&&s.length>0,a=!["FromDefinition","RouteConfigurationDefinition","RouteDefinition","CatchDefinition","FinallyDefinition","WhenDefinition","OtherwiseDefinition"].includes(e.dslName)&&!n,o=["RouteConfigurationDefinition","RouteDefinition"].includes(e.dslName)?"header-route":"header",l=this.isSelected()?o+" selected":o;return u.jsxs("div",{className:l,style:this.getHeaderStyle(),children:[!["RouteConfigurationDefinition","RouteDefinition"].includes(this.props.step.dslName)&&u.jsx("div",{ref:c=>this.sendPosition(c,this.isSelected()),className:"header-icon",style:this.isWide()?{width:""}:{},children:ue.getIconForElement(e)}),u.jsxs("div",{className:this.hasWideChildrenElement()?"header-text":"",children:[this.hasWideChildrenElement()&&u.jsx("div",{className:"spacer"}),this.getHeaderTextWithTooltip(e)]}),a&&this.getInsertElementButton(),this.getDeleteButton(),r&&this.getAddElementButton()]})},this.getHeaderTextWithTooltip=e=>{const i=oe.CamelUtil.checkRequired(e),n=e.description?e.description:ue.getElementTitle(this.props.step);let s=this.hasWideChildrenElement()?"text text-right":"text text-bottom";return i[0]||(s=s+" header-text-required"),i[0]?u.jsx(Si,{className:s,children:n}):u.jsx(ve,{position:"right",className:"tooltip-required-field",content:i[1].map((r,a)=>u.jsx("div",{children:r},a)),children:u.jsx(Si,{className:s,children:n})})},this.getHeaderWithTooltip=e=>u.jsx(ve,{position:"left",content:u.jsx("div",{children:e}),children:this.getHeader()}),this.getHeaderTooltip=()=>{if(ue.isShowExpressionTooltip(this.props.step))return ue.getExpressionTooltip(this.props.step);if(ue.isShowUriTooltip(this.props.step))return ue.getUriTooltip(this.props.step)},this.getElementHeader=()=>{const e=this.getHeaderTooltip();return e!==void 0&&!this.state.isDragging?this.getHeaderWithTooltip(e):this.getHeader()},this.getChildrenStyle=()=>({display:"flex",flexDirection:"row"}),this.getChildrenElementsStyle=(e,i)=>{const n=this.props.step;return{borderStyle:e.name==="steps"&&this.hasBorderOverSteps(n)?"dotted":"none",borderColor:"var(--step-border-color)",borderWidth:"1px",borderRadius:"16px",display:this.isHorizontal()||e.name!=="steps"?"flex":"block",flexDirection:"row"}},this.getChildElements=()=>{const e=this.props.step;let i=te.CamelDefinitionApiExt.getElementChildrenDefinition(e.dslName);const n=i.filter(s=>s.name==="steps").length===1&&i.filter(s=>s.multiple&&s.name!=="steps").length>0;return e.dslName!=="RouteDefinition"&&(i=i.filter(s=>{const r=te.CamelDefinitionApiExt.getElementChildrenDefinition(s.className);return s.name==="steps"||r.filter(a=>a.multiple).length>0})),e.dslName==="CatchDefinition"&&(i=i.filter(s=>s.name!=="onWhen")),u.jsx("div",{className:"children",style:this.getChildrenStyle(),children:i.map((s,r)=>this.getChildDslElements(s,r,n))},e.uuid+"-children")},this.getChildDslElements=(e,i,n)=>{const s=this.props.step,r=te.CamelDefinitionApiExt.getElementChildren(s,e);if(r.length>0)return u.jsxs("div",{className:e.name+" has-child",style:this.getChildrenElementsStyle(e,n),children:[r.map((a,o)=>u.jsx("div",{children:u.jsx(Pr,{integration:this.props.integration,openSelector:this.props.openSelector,deleteElement:this.props.deleteElement,selectElement:this.props.selectElement,moveElement:this.props.moveElement,selectedUuid:this.props.selectedUuid,inSteps:e.name==="steps",position:o,step:a,parent:s})},s.uuid+e.className+o)),e.name==="steps"&&this.getAddStepButton()]},s.uuid+"-child-"+i);if(e.name==="steps")return u.jsx("div",{className:e.name+" has-child",style:this.getChildrenElementsStyle(e,n),children:this.getAddStepButton()},s.uuid+"-child-"+i)}}getAddStepButton(){const{integration:e,step:i,selectedUuid:n}=this.props;return i.dslName==="StepDefinition"&&!Dn.isStepDefinitionExpanded(e,i.uuid,n.at(0))?u.jsx(u.Fragment,{}):u.jsx(ve,{position:"bottom",content:u.jsx("div",{children:"Add step to "+ue.getTitle(i)}),children:u.jsx("button",{type:"button","aria-label":"Add",onClick:r=>this.openSelector(r),className:this.isAddStepButtonLeft()?"add-button add-button-left":"add-button add-button-bottom",children:u.jsx(xa,{noVerticalAlign:!0})})})}getAddElementButton(){return u.jsx(ve,{position:"bottom",content:u.jsx("div",{children:"Add DSL element to "+ue.getTitle(this.props.step)}),children:u.jsx("button",{type:"button","aria-label":"Add",onClick:e=>this.openSelector(e,!1),className:"add-element-button",children:u.jsx(xa,{noVerticalAlign:!0})})})}getInsertElementButton(){return u.jsx(ve,{position:"left",content:u.jsx("div",{children:"Insert element before"}),children:u.jsx("button",{type:"button","aria-label":"Insert",onClick:e=>this.openSelector(e,!0,!0),className:"insert-element-button",children:u.jsx(G5,{noVerticalAlign:!0})})})}getDeleteButton(){return u.jsx(ve,{position:"right",content:u.jsx("div",{children:"Delete element"}),children:u.jsx("button",{type:"button","aria-label":"Delete",onClick:e=>this.delete(e),className:"delete-button",children:u.jsx(Zt,{noVerticalAlign:!0})})})}getMoveConfirmation(){return u.jsx(wi,{"aria-label":"title",className:"move-modal",isOpen:this.state.showMoveConfirmation,variant:vr.small,children:u.jsxs(Mn,{direction:{default:"column"},children:[u.jsx("div",{children:"Select move type:"}),u.jsx($,{variant:"primary",onClick:e=>this.confirmMove(!1),children:"Shift (target down)"},"place"),u.jsx($,{variant:"secondary",onClick:e=>this.confirmMove(!0),children:"Move as target step"},"child"),u.jsx($,{variant:"tertiary",onClick:e=>this.cancelMove(),children:"Cancel"},"cancel")]})})}render(){const e=this.props.step,i="step-element"+(this.isSelected()?" step-element-selected":"")+(this.props.step.show?"":" hidden-step");return u.jsxs("div",{className:i,ref:n=>this.sendPosition(n,this.isSelected()),style:{borderStyle:this.hasBorder()?"dotted":"none",borderColor:this.isSelected()?"var(--step-border-color-selected)":"var(--step-border-color)",marginTop:this.isInStepWithChildren()?"16px":"8px",zIndex:e.dslName==="ToDefinition"?20:10,boxShadow:this.state.isDraggedOver?"0px 0px 1px 2px var(--step-border-color-selected)":"none"},onMouseOver:n=>n.stopPropagation(),onClick:n=>this.selectElement(n),onDragStart:n=>{n.stopPropagation(),n.dataTransfer.setData("text/plain",e.uuid),n.target.style.opacity=.5,this.setState({isDragging:!0})},onDragEnd:n=>{n.target.style.opacity="",this.setState({isDragging:!1})},onDragOver:n=>{n.preventDefault(),n.stopPropagation(),e.dslName!=="FromDefinition"&&!this.state.isDragging&&this.setState({isDraggedOver:!0})},onDragEnter:n=>{n.preventDefault(),n.stopPropagation(),e.dslName!=="FromDefinition"&&this.setState({isDraggedOver:!0})},onDragLeave:n=>{n.preventDefault(),n.stopPropagation(),this.setState({isDraggedOver:!1})},onDrop:n=>this.dragElement(n,e),draggable:!this.isNotDraggable(),children:[this.getElementHeader(),this.getChildElements(),this.getMoveConfirmation()]},"root"+e.uuid)}}function Y5(t,e){if(t.match(/^[a-z]+:\/\//i))return t;if(t.match(/^\/\//))return window.location.protocol+t;if(t.match(/^[a-z]+:/i))return t;const i=document.implementation.createHTMLDocument(),n=i.createElement("base"),s=i.createElement("a");return i.head.appendChild(n),i.body.appendChild(s),e&&(n.href=e),s.href=t,s.href}const Z5=(()=>{let t=0;const e=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(t+=1,`u${e()}${t}`)})();function pt(t){const e=[];for(let i=0,n=t.length;i<n;i++)e.push(t[i]);return e}function Lr(t,e){const n=(t.ownerDocument.defaultView||window).getComputedStyle(t).getPropertyValue(e);return n?parseFloat(n.replace("px","")):0}function Q5(t){const e=Lr(t,"border-left-width"),i=Lr(t,"border-right-width");return t.clientWidth+e+i}function eF(t){const e=Lr(t,"border-top-width"),i=Lr(t,"border-bottom-width");return t.clientHeight+e+i}function rh(t,e={}){const i=e.width||Q5(t),n=e.height||eF(t);return{width:i,height:n}}function iF(){let t,e;try{e=process}catch{}const i=e&&e.env?e.env.devicePixelRatio:null;return i&&(t=parseInt(i,10),Number.isNaN(t)&&(t=1)),t||window.devicePixelRatio||1}const Di=16384;function tF(t){(t.width>Di||t.height>Di)&&(t.width>Di&&t.height>Di?t.width>t.height?(t.height*=Di/t.width,t.width=Di):(t.width*=Di/t.height,t.height=Di):t.width>Di?(t.height*=Di/t.width,t.width=Di):(t.width*=Di/t.height,t.height=Di))}function Nr(t){return new Promise((e,i)=>{const n=new Image;n.decode=()=>e(n),n.onload=()=>e(n),n.onerror=i,n.crossOrigin="anonymous",n.decoding="async",n.src=t})}async function aF(t){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then(e=>`data:image/svg+xml;charset=utf-8,${e}`)}async function nF(t,e,i){const n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),r=document.createElementNS(n,"foreignObject");return s.setAttribute("width",`${e}`),s.setAttribute("height",`${i}`),s.setAttribute("viewBox",`0 0 ${e} ${i}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),s.appendChild(r),r.appendChild(t),aF(s)}const bi=(t,e)=>{if(t instanceof e)return!0;const i=Object.getPrototypeOf(t);return i===null?!1:i.constructor.name===e.name||bi(i,e)};function rF(t){const e=t.getPropertyValue("content");return`${t.cssText} content: '${e.replace(/'|"/g,"")}';`}function oF(t){return pt(t).map(e=>{const i=t.getPropertyValue(e),n=t.getPropertyPriority(e);return`${e}: ${i}${n?" !important":""};`}).join(" ")}function sF(t,e,i){const n=`.${t}:${e}`,s=i.cssText?rF(i):oF(i);return document.createTextNode(`${n}{${s}}`)}function vd(t,e,i){const n=window.getComputedStyle(t,i),s=n.getPropertyValue("content");if(s===""||s==="none")return;const r=Z5();try{e.className=`${e.className} ${r}`}catch{return}const a=document.createElement("style");a.appendChild(sF(r,i,n)),e.appendChild(a)}function lF(t,e){vd(t,e,":before"),vd(t,e,":after")}const md="application/font-woff",yd="image/jpeg",cF={woff:md,woff2:md,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:yd,jpeg:yd,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function dF(t){const e=/\.([^./]*?)$/g.exec(t);return e?e[1]:""}function wl(t){const e=dF(t).toLowerCase();return cF[e]||""}function fF(t){return t.split(/,/)[1]}function ws(t){return t.search(/^(data:)/)!==-1}function uF(t,e){return`data:${e};base64,${t}`}async function oh(t,e,i){const n=await fetch(t,e);if(n.status===404)throw new Error(`Resource "${n.url}" not found`);const s=await n.blob();return new Promise((r,a)=>{const o=new FileReader;o.onerror=a,o.onloadend=()=>{try{r(i({res:n,result:o.result}))}catch(l){a(l)}},o.readAsDataURL(s)})}const Ho={};function pF(t,e,i){let n=t.replace(/\?.*/,"");return i&&(n=t),/ttf|otf|eot|woff2?/i.test(n)&&(n=n.replace(/.*\//,"")),e?`[${e}]${n}`:n}async function Dl(t,e,i){const n=pF(t,e,i.includeQueryParams);if(Ho[n]!=null)return Ho[n];i.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+new Date().getTime());let s;try{const r=await oh(t,i.fetchRequestInit,({res:a,result:o})=>(e||(e=a.headers.get("Content-Type")||""),fF(o)));s=uF(r,e)}catch(r){s=i.imagePlaceholder||"";let a=`Failed to fetch resource: ${t}`;r&&(a=typeof r=="string"?r:r.message),a&&console.warn(a)}return Ho[n]=s,s}async function hF(t){const e=t.toDataURL();return e==="data:,"?t.cloneNode(!1):Nr(e)}async function gF(t,e){if(t.currentSrc){const r=document.createElement("canvas"),a=r.getContext("2d");r.width=t.clientWidth,r.height=t.clientHeight,a==null||a.drawImage(t,0,0,r.width,r.height);const o=r.toDataURL();return Nr(o)}const i=t.poster,n=wl(i),s=await Dl(i,n,e);return Nr(s)}async function vF(t){var e;try{if(!((e=t==null?void 0:t.contentDocument)===null||e===void 0)&&e.body)return await mo(t.contentDocument.body,{},!0)}catch{}return t.cloneNode(!1)}async function mF(t,e){return bi(t,HTMLCanvasElement)?hF(t):bi(t,HTMLVideoElement)?gF(t,e):bi(t,HTMLIFrameElement)?vF(t):t.cloneNode(!1)}const yF=t=>t.tagName!=null&&t.tagName.toUpperCase()==="SLOT";async function bF(t,e,i){var n,s;let r=[];return yF(t)&&t.assignedNodes?r=pt(t.assignedNodes()):bi(t,HTMLIFrameElement)&&(!((n=t.contentDocument)===null||n===void 0)&&n.body)?r=pt(t.contentDocument.body.childNodes):r=pt(((s=t.shadowRoot)!==null&&s!==void 0?s:t).childNodes),r.length===0||bi(t,HTMLVideoElement)||await r.reduce((a,o)=>a.then(()=>mo(o,i)).then(l=>{l&&e.appendChild(l)}),Promise.resolve()),e}function wF(t,e){const i=e.style;if(!i)return;const n=window.getComputedStyle(t);n.cssText?(i.cssText=n.cssText,i.transformOrigin=n.transformOrigin):pt(n).forEach(s=>{let r=n.getPropertyValue(s);s==="font-size"&&r.endsWith("px")&&(r=`${Math.floor(parseFloat(r.substring(0,r.length-2)))-.1}px`),bi(t,HTMLIFrameElement)&&s==="display"&&r==="inline"&&(r="block"),s==="d"&&e.getAttribute("d")&&(r=`path(${e.getAttribute("d")})`),i.setProperty(s,r,n.getPropertyPriority(s))})}function DF(t,e){bi(t,HTMLTextAreaElement)&&(e.innerHTML=t.value),bi(t,HTMLInputElement)&&e.setAttribute("value",t.value)}function xF(t,e){if(bi(t,HTMLSelectElement)){const i=e,n=Array.from(i.children).find(s=>t.value===s.getAttribute("value"));n&&n.setAttribute("selected","")}}function CF(t,e){return bi(e,Element)&&(wF(t,e),lF(t,e),DF(t,e),xF(t,e)),e}async function SF(t,e){const i=t.querySelectorAll?t.querySelectorAll("use"):[];if(i.length===0)return t;const n={};for(let r=0;r<i.length;r++){const o=i[r].getAttribute("xlink:href");if(o){const l=t.querySelector(o),c=document.querySelector(o);!l&&c&&!n[o]&&(n[o]=await mo(c,e,!0))}}const s=Object.values(n);if(s.length){const r="http://www.w3.org/1999/xhtml",a=document.createElementNS(r,"svg");a.setAttribute("xmlns",r),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const o=document.createElementNS(r,"defs");a.appendChild(o);for(let l=0;l<s.length;l++)o.appendChild(s[l]);t.appendChild(a)}return t}async function mo(t,e,i){return!i&&e.filter&&!e.filter(t)?null:Promise.resolve(t).then(n=>mF(n,e)).then(n=>bF(t,n,e)).then(n=>CF(t,n)).then(n=>SF(n,e))}const sh=/url\((['"]?)([^'"]+?)\1\)/g,EF=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,TF=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function FF(t){const e=t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`,"g")}function OF(t){const e=[];return t.replace(sh,(i,n,s)=>(e.push(s),i)),e.filter(i=>!ws(i))}async function MF(t,e,i,n,s){try{const r=i?Y5(e,i):e,a=wl(e);let o;return s||(o=await Dl(r,a,n)),t.replace(FF(e),`$1${o}$3`)}catch{}return t}function AF(t,{preferredFontFormat:e}){return e?t.replace(TF,i=>{for(;;){const[n,,s]=EF.exec(i)||[];if(!s)return"";if(s===e)return`src: ${n};`}}):t}function lh(t){return t.search(sh)!==-1}async function ch(t,e,i){if(!lh(t))return t;const n=AF(t,i);return OF(n).reduce((r,a)=>r.then(o=>MF(o,a,e,i)),Promise.resolve(n))}async function $n(t,e,i){var n;const s=(n=e.style)===null||n===void 0?void 0:n.getPropertyValue(t);if(s){const r=await ch(s,null,i);return e.style.setProperty(t,r,e.style.getPropertyPriority(t)),!0}return!1}async function IF(t,e){await $n("background",t,e)||await $n("background-image",t,e),await $n("mask",t,e)||await $n("mask-image",t,e)}async function kF(t,e){const i=bi(t,HTMLImageElement);if(!(i&&!ws(t.src))&&!(bi(t,SVGImageElement)&&!ws(t.href.baseVal)))return;const n=i?t.src:t.href.baseVal,s=await Dl(n,wl(n),e);await new Promise((r,a)=>{t.onload=r,t.onerror=a;const o=t;o.decode&&(o.decode=r),o.loading==="lazy"&&(o.loading="eager"),i?(t.srcset="",t.src=s):t.href.baseVal=s})}async function RF(t,e){const n=pt(t.childNodes).map(s=>dh(s,e));await Promise.all(n).then(()=>t)}async function dh(t,e){bi(t,Element)&&(await IF(t,e),await kF(t,e),await RF(t,e))}function jF(t,e){const{style:i}=t;e.backgroundColor&&(i.backgroundColor=e.backgroundColor),e.width&&(i.width=`${e.width}px`),e.height&&(i.height=`${e.height}px`);const n=e.style;return n!=null&&Object.keys(n).forEach(s=>{i[s]=n[s]}),t}const bd={};async function wd(t){let e=bd[t];if(e!=null)return e;const n=await(await fetch(t)).text();return e={url:t,cssText:n},bd[t]=e,e}async function Dd(t,e){let i=t.cssText;const n=/url\(["']?([^"')]+)["']?\)/g,r=(i.match(/url\([^)]+\)/g)||[]).map(async a=>{let o=a.replace(n,"$1");return o.startsWith("https://")||(o=new URL(o,t.url).href),oh(o,e.fetchRequestInit,({result:l})=>(i=i.replace(a,`url(${l})`),[a,l]))});return Promise.all(r).then(()=>i)}function xd(t){if(t==null)return[];const e=[],i=/(\/\*[\s\S]*?\*\/)/gi;let n=t.replace(i,"");const s=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const l=s.exec(n);if(l===null)break;e.push(l[0])}n=n.replace(s,"");const r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",o=new RegExp(a,"gi");for(;;){let l=r.exec(n);if(l===null){if(l=o.exec(n),l===null)break;r.lastIndex=o.lastIndex}else o.lastIndex=r.lastIndex;e.push(l[0])}return e}async function PF(t,e){const i=[],n=[];return t.forEach(s=>{if("cssRules"in s)try{pt(s.cssRules||[]).forEach((r,a)=>{if(r.type===CSSRule.IMPORT_RULE){let o=a+1;const l=r.href,c=wd(l).then(f=>Dd(f,e)).then(f=>xd(f).forEach(h=>{try{s.insertRule(h,h.startsWith("@import")?o+=1:s.cssRules.length)}catch(p){console.error("Error inserting rule from remote css",{rule:h,error:p})}})).catch(f=>{console.error("Error loading remote css",f.toString())});n.push(c)}})}catch(r){const a=t.find(o=>o.href==null)||document.styleSheets[0];s.href!=null&&n.push(wd(s.href).then(o=>Dd(o,e)).then(o=>xd(o).forEach(l=>{a.insertRule(l,s.cssRules.length)})).catch(o=>{console.error("Error loading remote stylesheet",o)})),console.error("Error inlining remote css file",r)}}),Promise.all(n).then(()=>(t.forEach(s=>{if("cssRules"in s)try{pt(s.cssRules||[]).forEach(r=>{i.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${s.href}`,r)}}),i))}function LF(t){return t.filter(e=>e.type===CSSRule.FONT_FACE_RULE).filter(e=>lh(e.style.getPropertyValue("src")))}async function NF(t,e){if(t.ownerDocument==null)throw new Error("Provided element is not within a Document");const i=pt(t.ownerDocument.styleSheets),n=await PF(i,e);return LF(n)}async function BF(t,e){const i=await NF(t,e);return(await Promise.all(i.map(s=>{const r=s.parentStyleSheet?s.parentStyleSheet.href:null;return ch(s.cssText,r,e)}))).join(`
|
|
59
|
+
`)}async function _F(t,e){const i=e.fontEmbedCSS!=null?e.fontEmbedCSS:e.skipFonts?null:await BF(t,e);if(i){const n=document.createElement("style"),s=document.createTextNode(i);n.appendChild(s),t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)}}async function zF(t,e={}){const{width:i,height:n}=rh(t,e),s=await mo(t,e,!0);return await _F(s,e),await dh(s,e),jF(s,e),await nF(s,i,n)}async function HF(t,e={}){const{width:i,height:n}=rh(t,e),s=await zF(t,e),r=await Nr(s),a=document.createElement("canvas"),o=a.getContext("2d"),l=e.pixelRatio||iF(),c=e.canvasWidth||i,f=e.canvasHeight||n;return a.width=c*l,a.height=f*l,e.skipAutoScale||tF(a),a.style.width=`${c}`,a.style.height=`${f}`,e.backgroundColor&&(o.fillStyle=e.backgroundColor,o.fillRect(0,0,a.width,a.height)),o.drawImage(r,0,0,a.width,a.height),a}async function Cd(t,e={}){return(await HF(t,e)).toDataURL()}class WF{constructor(e){this.handleResize=i=>{this.routeDesigner.setState({key:Math.random().toString()})},this.handleKeyDown=i=>{if(i.shiftKey&&this.routeDesigner.setState({shiftKeyPressed:!0}),window.document.hasFocus()&&window.document.activeElement){if(["BODY","MAIN"].includes(window.document.activeElement.tagName)){let n=String.fromCharCode(i.which).toLowerCase();(i.ctrlKey||i.metaKey)&&n==="c"?this.copyToClipboard():(i.ctrlKey||i.metaKey)&&n==="v"&&this.pasteFromClipboard()}}else i.repeat&&window.dispatchEvent(i)},this.handleKeyUp=i=>{this.routeDesigner.setState({shiftKeyPressed:!1}),i.repeat&&window.dispatchEvent(i)},this.componentDidUpdate=(i,n)=>{var s;i.key!==this.routeDesigner.state.key&&((s=this.routeDesigner.props.onSave)==null||s.call(this,this.routeDesigner.state.integration,this.routeDesigner.state.propertyOnly))},this.copyToClipboard=()=>{const{integration:i,selectedUuids:n}=this.routeDesigner.state,s=[];n.forEach(r=>{const a=te.CamelDefinitionApiExt.findElementInIntegration(i,r);a&&s.push(a)}),s.length>0&&this.routeDesigner.setState(r=>({key:Math.random().toString(),clipboardSteps:[...s]}))},this.pasteFromClipboard=()=>{var r,a;const{integration:i,selectedUuids:n,clipboardSteps:s}=this.routeDesigner.state;if(s.length===1&&((r=s[0])==null?void 0:r.dslName)==="FromDefinition"){const o=oe.CamelUtil.cloneStep(s[0],!0),l=Xe.CamelDefinitionApi.createRouteDefinition({from:o});this.addStep(l,"",0)}else if(s.length===1&&((a=s[0])==null?void 0:a.dslName)==="RouteDefinition"){const o=oe.CamelUtil.cloneStep(s[0],!0);this.addStep(o,"",0)}else if(n.length===1){const o=te.CamelDefinitionApiExt.findElementMetaInIntegration(i,n[0]);s.reverse().forEach(l=>{if(l&&o.parentUuid){const c=oe.CamelUtil.cloneStep(l,!0);this.addStep(c,o.parentUuid,o.position)}})}},this.onCommand=i=>{switch(i.command){case"downloadImage":this.integrationImageDownload()}},this.onPropertyUpdate=(i,n)=>{if(n){let s=te.CamelDefinitionApiExt.updateIntegrationRouteElement(this.routeDesigner.state.integration,i);const r=Xe.CamelDefinitionApi.createFromDefinition({uri:n.componentName+":"+n.name}),a=Xe.CamelDefinitionApi.createRouteDefinition({from:r,id:n.name});s=te.CamelDefinitionApiExt.addStepToIntegration(s,a,"");const o=oe.CamelUtil.cloneIntegration(s);this.routeDesigner.setState(l=>({integration:o,key:Math.random().toString(),showSelector:!1,selectedStep:i,propertyOnly:!1,selectedUuids:[i.uuid]}))}else{const s=oe.CamelUtil.cloneIntegration(this.routeDesigner.state.integration),r=te.CamelDefinitionApiExt.updateIntegrationRouteElement(s,i);this.routeDesigner.setState({integration:r,propertyOnly:!0,key:Math.random().toString()})}},this.showDeleteConfirmation=i=>{let n;const s=[i];let r;if(r=te.CamelDefinitionApiExt.findElementInIntegration(this.routeDesigner.state.integration,i),r.dslName==="FromDefinition"){let a=this.routeDesigner.state.integration.spec.flows;for(let o=0;o<a.length;o++)if(a[o].dslName==="RouteDefinition"){let l=a[o];if(l.from.uuid===i){s.push(l.uuid);break}}n="Deleting the first element will delete the entire route!"}else r.dslName==="RouteDefinition"?n="Delete route?":r.dslName==="RouteConfigurationDefinition"?n="Delete route configuration?":n="Delete element from route?";this.routeDesigner.setState(a=>({showSelector:!1,showDeleteConfirmation:!0,deleteMessage:n,selectedUuids:s}))},this.deleteElement=()=>{this.routeDesigner.state.selectedUuids.forEach(i=>{const n=te.CamelDefinitionApiExt.deleteStepFromIntegration(this.routeDesigner.state.integration,i);this.routeDesigner.setState(r=>({integration:n,showSelector:!1,showDeleteConfirmation:!1,deleteMessage:"",key:Math.random().toString(),selectedStep:void 0,propertyOnly:!1,selectedUuids:[i]}));const s=new ol("");s.uuid=i,Mt.sendPosition("delete",s,void 0,new DOMRect,new DOMRect,0)})},this.selectElement=i=>{const{shiftKeyPressed:n,selectedUuids:s,integration:r}=this.routeDesigner.state;let a=!1;n&&(a=s.map(h=>{var p;return((p=te.CamelDefinitionApiExt.findElementInIntegration(r,h))==null?void 0:p.dslName)==="FromDefinition"}).filter(h=>h).length>0||s.length>0&&i.dslName==="FromDefinition");const o=n&&!s.includes(i.uuid),l=n&&s.includes(i.uuid),c=Dn.setIntegrationVisibility(this.routeDesigner.state.integration,i.uuid);this.routeDesigner.setState(f=>{if(l){const g=f.selectedUuids.indexOf(i.uuid);f.selectedUuids.splice(g,1)}else o&&!a&&f.selectedUuids.push(i.uuid);const h=f.selectedUuids.includes(i.uuid)?i.uuid:f.selectedUuids.at(0)||"",p=n?te.CamelDefinitionApiExt.findElementInIntegration(r,h):i;return{integration:c,selectedStep:p,showSelector:!1,selectedUuids:n?[...f.selectedUuids]:[i.uuid]}})},this.unselectElement=i=>{if(i.target.dataset.click==="FLOWS"){i.stopPropagation();const n=Dn.setIntegrationVisibility(this.routeDesigner.state.integration,void 0);this.routeDesigner.setState(s=>({integration:n,selectedStep:void 0,showSelector:!1,selectedPosition:void 0,selectedUuids:[]}))}},this.openSelector=(i,n,s=!0,r,a)=>{this.routeDesigner.setState({showSelector:!0,parentId:i||"",parentDsl:n,showSteps:s,selectedPosition:r,selectorTabIndex:a})},this.closeDslSelector=()=>{this.routeDesigner.setState({showSelector:!1})},this.onDslSelect=(i,n,s)=>{switch(i.dsl){case"FromDefinition":const r=Xe.CamelDefinitionApi.createRouteDefinition({from:new Ju({uri:i.uri})});this.addStep(r,n,s);break;case"ToDefinition":const a=Xe.CamelDefinitionApi.createStep(i.dsl,{uri:i.uri});this.addStep(a,n,s);break;case"ToDynamicDefinition":const o=Xe.CamelDefinitionApi.createStep(i.dsl,{uri:i.uri});this.addStep(o,n,s);break;case"KameletDefinition":const l=Xe.CamelDefinitionApi.createStep(i.dsl,{name:i.name});this.addStep(l,n,s);break;default:const c=Xe.CamelDefinitionApi.createStep(i.dsl,void 0),f=this.setDslDefaults(c);this.addStep(f,n,s);break}},this.createRouteConfiguration=()=>{const i=oe.CamelUtil.cloneIntegration(this.routeDesigner.state.integration),n=new Gu,s=te.CamelDefinitionApiExt.addRouteConfigurationToIntegration(i,n);this.routeDesigner.setState(r=>({integration:s,propertyOnly:!1,key:Math.random().toString(),selectedStep:n,selectedUuids:[n.uuid]}))},this.addStep=(i,n,s)=>{const r=te.CamelDefinitionApiExt.addStepToIntegration(this.routeDesigner.state.integration,i,n,s),a=oe.CamelUtil.cloneIntegration(r);Mt.sendPosition("clean",i,void 0,new DOMRect,new DOMRect,0),this.routeDesigner.setState(o=>({integration:a,key:Math.random().toString(),showSelector:!1,selectedStep:i,propertyOnly:!1,selectedUuids:[i.uuid]}))},this.onIntegrationUpdate=i=>{this.routeDesigner.setState({integration:i,propertyOnly:!1,showSelector:!1,key:Math.random().toString()})},this.moveElement=(i,n,s)=>{const r=te.CamelDefinitionApiExt.moveRouteElement(this.routeDesigner.state.integration,i,n,s),a=oe.CamelUtil.cloneIntegration(r),o=te.CamelDefinitionApiExt.findElementInIntegration(a,i);this.routeDesigner.setState(l=>({integration:a,key:Math.random().toString(),showSelector:!1,selectedStep:o,propertyOnly:!1,selectedUuids:[i]}))},this.integrationImageDownloadFilter=i=>!["add-flow"].some(s=>i.classList===void 0?!1:i.classList.contains(s)),this.routeDesigner=e}componentDidMount(){var n,s,r;window.addEventListener("resize",this.routeDesigner.handleResize),window.addEventListener("keydown",this.routeDesigner.handleKeyDown),window.addEventListener("keyup",this.routeDesigner.handleKeyUp);const e=(s=(n=xs.findDOMNode(this.routeDesigner.state.ref.current))==null?void 0:n.parentElement)==null?void 0:s.parentElement,i=a=>{const l=a[0].target.clientWidth;a.map(f=>`${f.oldValue}`).some(f=>f.indexOf(`width: ${l}px`)===-1)&&this.routeDesigner.setState({key:Math.random().toString()})};e&&new MutationObserver(i).observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:["style"]}),this.commandSub=(r=Mt.onCommand())==null?void 0:r.subscribe(a=>this.onCommand(a))}componentWillUnmount(){var e;window.removeEventListener("resize",this.routeDesigner.handleResize),window.removeEventListener("keydown",this.routeDesigner.handleKeyDown),window.removeEventListener("keyup",this.routeDesigner.handleKeyUp),(e=this.commandSub)==null||e.unsubscribe()}setDslDefaults(e){var i;return e.dslName==="LogDefinition"&&(e.message="${body}"),e.dslName==="ChoiceDefinition"&&((i=e.when)==null||i.push(Xe.CamelDefinitionApi.createStep("WhenDefinition",void 0)),e.otherwise=Xe.CamelDefinitionApi.createStep("OtherwiseDefinition",void 0)),e}onResizePage(e){const i=e==null?void 0:e.getBoundingClientRect();e&&i&&(e.scrollWidth!==this.routeDesigner.state.width||e.scrollHeight!==this.routeDesigner.state.height||i.top!==this.routeDesigner.state.top||i.left!==this.routeDesigner.state.left)&&this.routeDesigner.setState({width:e.scrollWidth,height:e.scrollHeight,top:i.top,left:i.left})}downloadIntegrationImage(e){const i=document.createElement("a");i.setAttribute("download","karavan-routes.png"),i.setAttribute("href",e),i.click()}integrationImageDownload(){this.routeDesigner.state.printerRef.current!==null&&Cd(this.routeDesigner.state.printerRef.current,{style:{overflow:"hidden"},cacheBust:!0,filter:this.integrationImageDownloadFilter,height:this.routeDesigner.state.height,width:this.routeDesigner.state.width,backgroundColor:this.routeDesigner.props.dark?"black":"white"}).then(e=>{Cd(this.routeDesigner.state.printerRef.current,{style:{overflow:"hidden"},cacheBust:!0,filter:this.integrationImageDownloadFilter,height:this.routeDesigner.state.height,width:this.routeDesigner.state.width,backgroundColor:this.routeDesigner.props.dark?"black":"white"}).then(this.downloadIntegrationImage)})}}class UF extends H.Component{constructor(){super(...arguments),this.state={logic:new WF(this),integration:Dn.setIntegrationVisibility(this.props.integration,void 0),showSelector:!1,showDeleteConfirmation:!1,deleteMessage:"",parentId:"",showSteps:!0,selectedUuids:[],clipboardSteps:[],key:"",width:1e3,height:1e3,top:0,left:0,ref:H.createRef(),printerRef:H.createRef(),propertyOnly:!1},this.handleResize=e=>this.state.logic.handleResize(e),this.handleKeyDown=e=>this.state.logic.handleKeyDown(e),this.handleKeyUp=e=>this.state.logic.handleKeyUp(e),this.componentDidUpdate=(e,i,n)=>this.state.logic.componentDidUpdate(i,n)}componentDidMount(){this.state.logic.componentDidMount()}componentWillUnmount(){this.state.logic.componentWillUnmount()}getSelectorModal(){return u.jsx(ox,{isOpen:this.state.showSelector,onClose:()=>this.state.logic.closeDslSelector(),dark:this.props.dark,parentId:this.state.parentId,parentDsl:this.state.parentDsl,showSteps:this.state.showSteps,position:this.state.selectedPosition,tabIndex:this.state.selectorTabIndex,onDslSelect:this.state.logic.onDslSelect})}getDeleteConfirmation(){let e=this.state.deleteMessage;return u.jsx(wi,{className:"modal-delete",title:"Confirmation",isOpen:this.state.showDeleteConfirmation,onClose:()=>this.setState({showDeleteConfirmation:!1}),actions:[u.jsx($,{variant:"primary",onClick:i=>this.state.logic.deleteElement(),children:"Delete"},"confirm"),u.jsx($,{variant:"link",onClick:i=>this.setState({showDeleteConfirmation:!1}),children:"Cancel"},"cancel")],onEscapePress:i=>this.setState({showDeleteConfirmation:!1}),children:u.jsx("div",{children:e})})}getPropertiesPanel(){return u.jsx(Gr,{onResize:e=>this.setState({key:Math.random().toString(1)}),style:{transform:"initial"},isResizable:!0,hasNoBorder:!0,defaultSize:"400px",maxSize:"800px",minSize:"300px",children:u.jsx(Qp,{ref:this.state.ref,integration:this.state.integration,step:this.state.selectedStep,onIntegrationUpdate:this.state.logic.onIntegrationUpdate,onPropertyUpdate:this.state.logic.onPropertyUpdate,isRouteDesigner:!0,dark:this.props.dark})})}getGraph(){const{selectedUuids:e,integration:i,key:n,width:s,height:r,top:a,left:o}=this.state,l=ue.getRoutes(i),c=ue.getRouteConfigurations(i);return u.jsxs("div",{ref:this.state.printerRef,className:"graph",children:[u.jsx(J5,{height:r,width:s,top:a,left:o,integration:i}),u.jsxs("div",{className:"flows","data-click":"FLOWS",onClick:f=>this.state.logic.unselectElement(f),ref:f=>this.state.logic.onResizePage(f),children:[c==null?void 0:c.map((f,h)=>u.jsx(Pr,{integration:i,openSelector:this.state.logic.openSelector,deleteElement:this.state.logic.showDeleteConfirmation,selectElement:this.state.logic.selectElement,moveElement:this.state.logic.moveElement,selectedUuid:e,inSteps:!1,position:h,step:f,parent:void 0},f.uuid+n)),l==null?void 0:l.map((f,h)=>u.jsx(Pr,{integration:i,openSelector:this.state.logic.openSelector,deleteElement:this.state.logic.showDeleteConfirmation,selectElement:this.state.logic.selectElement,moveElement:this.state.logic.moveElement,selectedUuid:e,inSteps:!1,position:h,step:f,parent:void 0},f.uuid+n)),u.jsxs("div",{className:"add-flow",children:[u.jsx($,{variant:l.length===0?"primary":"secondary",icon:u.jsx(ht,{}),onClick:f=>this.state.logic.openSelector(void 0,void 0),children:"Create route"}),u.jsx($,{variant:"secondary",icon:u.jsx(ht,{}),onClick:f=>this.state.logic.createRouteConfiguration(),children:"Create configuration"})]})]})]})}render(){return u.jsxs(it,{className:"dsl-page",isFilled:!0,padding:{default:"noPadding"},children:[u.jsx("div",{className:"dsl-page-columns",children:u.jsx(Vr,{isExpanded:!0,isInline:!0,children:u.jsx(Xr,{panelContent:this.getPropertiesPanel(),children:u.jsx(Jr,{children:this.getGraph()})})})}),this.state.showSelector===!0&&this.getSelectorModal(),this.getDeleteConfirmation()]})}}var xl={},yo={},E=si&&si.__assign||function(){return E=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},E.apply(this,arguments)};Object.defineProperty(yo,"__esModule",{value:!0});yo.CamelDefinitionYamlStep=void 0;var VF=Ke,m=v,XF=Fa(),je=li,vi=lt,JF=function(){function t(){}return t.readProcessorDefinition=function(e){var i=e?new m.ProcessorDefinition(E({},e)):new m.ProcessorDefinition;return(e==null?void 0:e.idempotentConsumer)!==void 0&&(Array.isArray(e.idempotentConsumer)?i.idempotentConsumer=t.readIdempotentConsumerDefinition(e.idempotentConsumer[0]):i.idempotentConsumer=t.readIdempotentConsumerDefinition(e.idempotentConsumer)),(e==null?void 0:e.resumable)!==void 0&&(Array.isArray(e.resumable)?i.resumable=t.readResumableDefinition(e.resumable[0]):i.resumable=t.readResumableDefinition(e.resumable)),(e==null?void 0:e.doTry)!==void 0&&(Array.isArray(e.doTry)?i.doTry=t.readTryDefinition(e.doTry[0]):i.doTry=t.readTryDefinition(e.doTry)),(e==null?void 0:e.convertBodyTo)!==void 0&&(Array.isArray(e.convertBodyTo)?i.convertBodyTo=t.readConvertBodyDefinition(e.convertBodyTo[0]):i.convertBodyTo=t.readConvertBodyDefinition(e.convertBodyTo)),(e==null?void 0:e.recipientList)!==void 0&&(Array.isArray(e.recipientList)?i.recipientList=t.readRecipientListDefinition(e.recipientList[0]):i.recipientList=t.readRecipientListDefinition(e.recipientList)),(e==null?void 0:e.when)!==void 0&&(Array.isArray(e.when)?i.when=t.readWhenDefinition(e.when[0]):i.when=t.readWhenDefinition(e.when)),(e==null?void 0:e.setHeader)!==void 0&&(Array.isArray(e.setHeader)?i.setHeader=t.readSetHeaderDefinition(e.setHeader[0]):i.setHeader=t.readSetHeaderDefinition(e.setHeader)),(e==null?void 0:e.inOnly)!==void 0&&(Array.isArray(e.inOnly)?i.inOnly=t.readInOnlyDefinition(e.inOnly[0]):i.inOnly=t.readInOnlyDefinition(e.inOnly)),(e==null?void 0:e.inOut)!==void 0&&(Array.isArray(e.inOut)?i.inOut=t.readInOutDefinition(e.inOut[0]):i.inOut=t.readInOutDefinition(e.inOut)),(e==null?void 0:e.split)!==void 0&&(Array.isArray(e.split)?i.split=t.readSplitDefinition(e.split[0]):i.split=t.readSplitDefinition(e.split)),(e==null?void 0:e.interceptSendToEndpoint)!==void 0&&(Array.isArray(e.interceptSendToEndpoint)?i.interceptSendToEndpoint=t.readInterceptSendToEndpointDefinition(e.interceptSendToEndpoint[0]):i.interceptSendToEndpoint=t.readInterceptSendToEndpointDefinition(e.interceptSendToEndpoint)),(e==null?void 0:e.loop)!==void 0&&(Array.isArray(e.loop)?i.loop=t.readLoopDefinition(e.loop[0]):i.loop=t.readLoopDefinition(e.loop)),(e==null?void 0:e.setExchangePattern)!==void 0&&(Array.isArray(e.setExchangePattern)?i.setExchangePattern=t.readSetExchangePatternDefinition(e.setExchangePattern[0]):i.setExchangePattern=t.readSetExchangePatternDefinition(e.setExchangePattern)),(e==null?void 0:e.marshal)!==void 0&&(Array.isArray(e.marshal)?i.marshal=t.readMarshalDefinition(e.marshal[0]):i.marshal=t.readMarshalDefinition(e.marshal)),(e==null?void 0:e.onFallback)!==void 0&&(Array.isArray(e.onFallback)?i.onFallback=t.readOnFallbackDefinition(e.onFallback[0]):i.onFallback=t.readOnFallbackDefinition(e.onFallback)),(e==null?void 0:e.circuitBreaker)!==void 0&&(Array.isArray(e.circuitBreaker)?i.circuitBreaker=t.readCircuitBreakerDefinition(e.circuitBreaker[0]):i.circuitBreaker=t.readCircuitBreakerDefinition(e.circuitBreaker)),(e==null?void 0:e.enrich)!==void 0&&(Array.isArray(e.enrich)?i.enrich=t.readEnrichDefinition(e.enrich[0]):i.enrich=t.readEnrichDefinition(e.enrich)),(e==null?void 0:e.kamelet)!==void 0&&(Array.isArray(e.kamelet)?i.kamelet=t.readKameletDefinition(e.kamelet[0]):i.kamelet=t.readKameletDefinition(e.kamelet)),(e==null?void 0:e.saga)!==void 0&&(Array.isArray(e.saga)?i.saga=t.readSagaDefinition(e.saga[0]):i.saga=t.readSagaDefinition(e.saga)),(e==null?void 0:e.bean)!==void 0&&(Array.isArray(e.bean)?i.bean=t.readBeanDefinition(e.bean[0]):i.bean=t.readBeanDefinition(e.bean)),(e==null?void 0:e.otherwise)!==void 0&&(Array.isArray(e.otherwise)?i.otherwise=t.readOtherwiseDefinition(e.otherwise[0]):i.otherwise=t.readOtherwiseDefinition(e.otherwise)),(e==null?void 0:e.sort)!==void 0&&(Array.isArray(e.sort)?i.sort=t.readSortDefinition(e.sort[0]):i.sort=t.readSortDefinition(e.sort)),(e==null?void 0:e.loadBalance)!==void 0&&(Array.isArray(e.loadBalance)?i.loadBalance=t.readLoadBalanceDefinition(e.loadBalance[0]):i.loadBalance=t.readLoadBalanceDefinition(e.loadBalance)),(e==null?void 0:e.script)!==void 0&&(Array.isArray(e.script)?i.script=t.readScriptDefinition(e.script[0]):i.script=t.readScriptDefinition(e.script)),(e==null?void 0:e.removeHeader)!==void 0&&(Array.isArray(e.removeHeader)?i.removeHeader=t.readRemoveHeaderDefinition(e.removeHeader[0]):i.removeHeader=t.readRemoveHeaderDefinition(e.removeHeader)),(e==null?void 0:e.delay)!==void 0&&(Array.isArray(e.delay)?i.delay=t.readDelayDefinition(e.delay[0]):i.delay=t.readDelayDefinition(e.delay)),(e==null?void 0:e.stop)!==void 0&&(Array.isArray(e.stop)?i.stop=t.readStopDefinition(e.stop[0]):i.stop=t.readStopDefinition(e.stop)),(e==null?void 0:e.serviceCall)!==void 0&&(Array.isArray(e.serviceCall)?i.serviceCall=t.readServiceCallDefinition(e.serviceCall[0]):i.serviceCall=t.readServiceCallDefinition(e.serviceCall)),(e==null?void 0:e.intercept)!==void 0&&(Array.isArray(e.intercept)?i.intercept=t.readInterceptDefinition(e.intercept[0]):i.intercept=t.readInterceptDefinition(e.intercept)),(e==null?void 0:e.whenSkipSendToEndpoint)!==void 0&&(Array.isArray(e.whenSkipSendToEndpoint)?i.whenSkipSendToEndpoint=t.readWhenSkipSendToEndpointDefinition(e.whenSkipSendToEndpoint[0]):i.whenSkipSendToEndpoint=t.readWhenSkipSendToEndpointDefinition(e.whenSkipSendToEndpoint)),(e==null?void 0:e.setProperty)!==void 0&&(Array.isArray(e.setProperty)?i.setProperty=t.readSetPropertyDefinition(e.setProperty[0]):i.setProperty=t.readSetPropertyDefinition(e.setProperty)),(e==null?void 0:e.removeProperty)!==void 0&&(Array.isArray(e.removeProperty)?i.removeProperty=t.readRemovePropertyDefinition(e.removeProperty[0]):i.removeProperty=t.readRemovePropertyDefinition(e.removeProperty)),(e==null?void 0:e.interceptFrom)!==void 0&&(Array.isArray(e.interceptFrom)?i.interceptFrom=t.readInterceptFromDefinition(e.interceptFrom[0]):i.interceptFrom=t.readInterceptFromDefinition(e.interceptFrom)),(e==null?void 0:e.onCompletion)!==void 0&&(Array.isArray(e.onCompletion)?i.onCompletion=t.readOnCompletionDefinition(e.onCompletion[0]):i.onCompletion=t.readOnCompletionDefinition(e.onCompletion)),(e==null?void 0:e.pausable)!==void 0&&(Array.isArray(e.pausable)?i.pausable=t.readPausableDefinition(e.pausable[0]):i.pausable=t.readPausableDefinition(e.pausable)),(e==null?void 0:e.throttle)!==void 0&&(Array.isArray(e.throttle)?i.throttle=t.readThrottleDefinition(e.throttle[0]):i.throttle=t.readThrottleDefinition(e.throttle)),(e==null?void 0:e.doFinally)!==void 0&&(Array.isArray(e.doFinally)?i.doFinally=t.readFinallyDefinition(e.doFinally[0]):i.doFinally=t.readFinallyDefinition(e.doFinally)),(e==null?void 0:e.log)!==void 0&&(Array.isArray(e.log)?i.log=t.readLogDefinition(e.log[0]):i.log=t.readLogDefinition(e.log)),(e==null?void 0:e.doCatch)!==void 0&&(Array.isArray(e.doCatch)?i.doCatch=t.readCatchDefinition(e.doCatch[0]):i.doCatch=t.readCatchDefinition(e.doCatch)),(e==null?void 0:e.transacted)!==void 0&&(Array.isArray(e.transacted)?i.transacted=t.readTransactedDefinition(e.transacted[0]):i.transacted=t.readTransactedDefinition(e.transacted)),(e==null?void 0:e.claimCheck)!==void 0&&(Array.isArray(e.claimCheck)?i.claimCheck=t.readClaimCheckDefinition(e.claimCheck[0]):i.claimCheck=t.readClaimCheckDefinition(e.claimCheck)),(e==null?void 0:e.pollEnrich)!==void 0&&(Array.isArray(e.pollEnrich)?i.pollEnrich=t.readPollEnrichDefinition(e.pollEnrich[0]):i.pollEnrich=t.readPollEnrichDefinition(e.pollEnrich)),(e==null?void 0:e.removeHeaders)!==void 0&&(Array.isArray(e.removeHeaders)?i.removeHeaders=t.readRemoveHeadersDefinition(e.removeHeaders[0]):i.removeHeaders=t.readRemoveHeadersDefinition(e.removeHeaders)),(e==null?void 0:e.aggregate)!==void 0&&(Array.isArray(e.aggregate)?i.aggregate=t.readAggregateDefinition(e.aggregate[0]):i.aggregate=t.readAggregateDefinition(e.aggregate)),(e==null?void 0:e.resequence)!==void 0&&(Array.isArray(e.resequence)?i.resequence=t.readResequenceDefinition(e.resequence[0]):i.resequence=t.readResequenceDefinition(e.resequence)),(e==null?void 0:e.routingSlip)!==void 0&&(Array.isArray(e.routingSlip)?i.routingSlip=t.readRoutingSlipDefinition(e.routingSlip[0]):i.routingSlip=t.readRoutingSlipDefinition(e.routingSlip)),(e==null?void 0:e.transform)!==void 0&&(Array.isArray(e.transform)?i.transform=t.readTransformDefinition(e.transform[0]):i.transform=t.readTransformDefinition(e.transform)),(e==null?void 0:e.removeProperties)!==void 0&&(Array.isArray(e.removeProperties)?i.removeProperties=t.readRemovePropertiesDefinition(e.removeProperties[0]):i.removeProperties=t.readRemovePropertiesDefinition(e.removeProperties)),(e==null?void 0:e.policy)!==void 0&&(Array.isArray(e.policy)?i.policy=t.readPolicyDefinition(e.policy[0]):i.policy=t.readPolicyDefinition(e.policy)),(e==null?void 0:e.validate)!==void 0&&(Array.isArray(e.validate)?i.validate=t.readValidateDefinition(e.validate[0]):i.validate=t.readValidateDefinition(e.validate)),(e==null?void 0:e.rollback)!==void 0&&(Array.isArray(e.rollback)?i.rollback=t.readRollbackDefinition(e.rollback[0]):i.rollback=t.readRollbackDefinition(e.rollback)),(e==null?void 0:e.process)!==void 0&&(Array.isArray(e.process)?i.process=t.readProcessDefinition(e.process[0]):i.process=t.readProcessDefinition(e.process)),(e==null?void 0:e.threads)!==void 0&&(Array.isArray(e.threads)?i.threads=t.readThreadsDefinition(e.threads[0]):i.threads=t.readThreadsDefinition(e.threads)),(e==null?void 0:e.setBody)!==void 0&&(Array.isArray(e.setBody)?i.setBody=t.readSetBodyDefinition(e.setBody[0]):i.setBody=t.readSetBodyDefinition(e.setBody)),(e==null?void 0:e.sample)!==void 0&&(Array.isArray(e.sample)?i.sample=t.readSamplingDefinition(e.sample[0]):i.sample=t.readSamplingDefinition(e.sample)),(e==null?void 0:e.throwException)!==void 0&&(Array.isArray(e.throwException)?i.throwException=t.readThrowExceptionDefinition(e.throwException[0]):i.throwException=t.readThrowExceptionDefinition(e.throwException)),(e==null?void 0:e.dynamicRouter)!==void 0&&(Array.isArray(e.dynamicRouter)?i.dynamicRouter=t.readDynamicRouterDefinition(e.dynamicRouter[0]):i.dynamicRouter=t.readDynamicRouterDefinition(e.dynamicRouter)),(e==null?void 0:e.multicast)!==void 0&&(Array.isArray(e.multicast)?i.multicast=t.readMulticastDefinition(e.multicast[0]):i.multicast=t.readMulticastDefinition(e.multicast)),(e==null?void 0:e.filter)!==void 0&&(Array.isArray(e.filter)?i.filter=t.readFilterDefinition(e.filter[0]):i.filter=t.readFilterDefinition(e.filter)),(e==null?void 0:e.pipeline)!==void 0&&(Array.isArray(e.pipeline)?i.pipeline=t.readPipelineDefinition(e.pipeline[0]):i.pipeline=t.readPipelineDefinition(e.pipeline)),(e==null?void 0:e.unmarshal)!==void 0&&(Array.isArray(e.unmarshal)?i.unmarshal=t.readUnmarshalDefinition(e.unmarshal[0]):i.unmarshal=t.readUnmarshalDefinition(e.unmarshal)),(e==null?void 0:e.wireTap)!==void 0&&(Array.isArray(e.wireTap)?i.wireTap=t.readWireTapDefinition(e.wireTap[0]):i.wireTap=t.readWireTapDefinition(e.wireTap)),(e==null?void 0:e.step)!==void 0&&(Array.isArray(e.step)?i.step=t.readStepDefinition(e.step[0]):i.step=t.readStepDefinition(e.step)),(e==null?void 0:e.choice)!==void 0&&(Array.isArray(e.choice)?i.choice=t.readChoiceDefinition(e.choice[0]):i.choice=t.readChoiceDefinition(e.choice)),i},t.readBeansDeserializer=function(e){var i=e?new m.BeansDeserializer(E({},e)):new m.BeansDeserializer;return i},t.readErrorHandlerBuilderDeserializer=function(e){var i=e?new m.ErrorHandlerBuilderDeserializer(E({},e)):new m.ErrorHandlerBuilderDeserializer;return(e==null?void 0:e.deadLetterChannel)!==void 0&&(Array.isArray(e.deadLetterChannel)?i.deadLetterChannel=t.readDeadLetterChannelDefinition(e.deadLetterChannel[0]):i.deadLetterChannel=t.readDeadLetterChannelDefinition(e.deadLetterChannel)),(e==null?void 0:e.noErrorHandler)!==void 0&&(Array.isArray(e.noErrorHandler)?i.noErrorHandler=t.readNoErrorHandlerDefinition(e.noErrorHandler[0]):i.noErrorHandler=t.readNoErrorHandlerDefinition(e.noErrorHandler)),(e==null?void 0:e.jtaTransactionErrorHandler)!==void 0&&(Array.isArray(e.jtaTransactionErrorHandler)?i.jtaTransactionErrorHandler=t.readJtaTransactionErrorHandlerDefinition(e.jtaTransactionErrorHandler[0]):i.jtaTransactionErrorHandler=t.readJtaTransactionErrorHandlerDefinition(e.jtaTransactionErrorHandler)),(e==null?void 0:e.defaultErrorHandler)!==void 0&&(Array.isArray(e.defaultErrorHandler)?i.defaultErrorHandler=t.readDefaultErrorHandlerDefinition(e.defaultErrorHandler[0]):i.defaultErrorHandler=t.readDefaultErrorHandlerDefinition(e.defaultErrorHandler)),(e==null?void 0:e.springTransactionErrorHandler)!==void 0&&(Array.isArray(e.springTransactionErrorHandler)?i.springTransactionErrorHandler=t.readSpringTransactionErrorHandlerDefinition(e.springTransactionErrorHandler[0]):i.springTransactionErrorHandler=t.readSpringTransactionErrorHandlerDefinition(e.springTransactionErrorHandler)),(e==null?void 0:e.refErrorHandler)!==void 0&&(Array.isArray(e.refErrorHandler)?i.refErrorHandler=t.readRefErrorHandlerDefinition(e.refErrorHandler[0]):i.refErrorHandler=t.readRefErrorHandlerDefinition(e.refErrorHandler)),i},t.readNamedBeanDefinition=function(e){var i=e?new m.NamedBeanDefinition(E({},e)):new m.NamedBeanDefinition;return i},t.readOutputAwareFromDefinition=function(e){var i=e?new m.OutputAwareFromDefinition(E({},e)):new m.OutputAwareFromDefinition;return i=vi.ComponentApi.parseElementUri(i),i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readAggregateDefinition=function(e){var i=e?new m.AggregateDefinition(E({},e)):new m.AggregateDefinition;return(e==null?void 0:e.completionTimeoutExpression)!==void 0&&(Array.isArray(e.completionTimeoutExpression)?i.completionTimeoutExpression=t.readExpressionSubElementDefinition(e.completionTimeoutExpression[0]):i.completionTimeoutExpression=t.readExpressionSubElementDefinition(e.completionTimeoutExpression)),(e==null?void 0:e.correlationExpression)!==void 0&&(Array.isArray(e.correlationExpression)?i.correlationExpression=t.readExpressionSubElementDefinition(e.correlationExpression[0]):i.correlationExpression=t.readExpressionSubElementDefinition(e.correlationExpression)),(e==null?void 0:e.completionPredicate)!==void 0&&(Array.isArray(e.completionPredicate)?i.completionPredicate=t.readExpressionSubElementDefinition(e.completionPredicate[0]):i.completionPredicate=t.readExpressionSubElementDefinition(e.completionPredicate)),(e==null?void 0:e.optimisticLockRetryPolicy)!==void 0&&(Array.isArray(e.optimisticLockRetryPolicy)?i.optimisticLockRetryPolicy=t.readOptimisticLockRetryPolicyDefinition(e.optimisticLockRetryPolicy[0]):i.optimisticLockRetryPolicy=t.readOptimisticLockRetryPolicyDefinition(e.optimisticLockRetryPolicy)),i.steps=t.readSteps(e==null?void 0:e.steps),(e==null?void 0:e.completionSizeExpression)!==void 0&&(Array.isArray(e.completionSizeExpression)?i.completionSizeExpression=t.readExpressionSubElementDefinition(e.completionSizeExpression[0]):i.completionSizeExpression=t.readExpressionSubElementDefinition(e.completionSizeExpression)),i},t.readBeanDefinition=function(e){var i=e?new m.BeanDefinition(E({},e)):new m.BeanDefinition;return i},t.readCatchDefinition=function(e){var i=e?new m.CatchDefinition(E({},e)):new m.CatchDefinition;return(e==null?void 0:e.onWhen)!==void 0&&(Array.isArray(e.onWhen)?i.onWhen=t.readWhenDefinition(e.onWhen[0]):i.onWhen=t.readWhenDefinition(e.onWhen)),i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readChoiceDefinition=function(e){var i=e?new m.ChoiceDefinition(E({},e)):new m.ChoiceDefinition;return(e==null?void 0:e.otherwise)!==void 0&&(Array.isArray(e.otherwise)?i.otherwise=t.readOtherwiseDefinition(e.otherwise[0]):i.otherwise=t.readOtherwiseDefinition(e.otherwise)),i.when=e&&(e!=null&&e.when)?e==null?void 0:e.when.map(function(n){return t.readWhenDefinition(n)}):[],i},t.readCircuitBreakerDefinition=function(e){var i=e?new m.CircuitBreakerDefinition(E({},e)):new m.CircuitBreakerDefinition;return(e==null?void 0:e.faultToleranceConfiguration)!==void 0&&(Array.isArray(e.faultToleranceConfiguration)?i.faultToleranceConfiguration=t.readFaultToleranceConfigurationDefinition(e.faultToleranceConfiguration[0]):i.faultToleranceConfiguration=t.readFaultToleranceConfigurationDefinition(e.faultToleranceConfiguration)),(e==null?void 0:e.resilience4jConfiguration)!==void 0&&(Array.isArray(e.resilience4jConfiguration)?i.resilience4jConfiguration=t.readResilience4jConfigurationDefinition(e.resilience4jConfiguration[0]):i.resilience4jConfiguration=t.readResilience4jConfigurationDefinition(e.resilience4jConfiguration)),(e==null?void 0:e.onFallback)!==void 0&&(Array.isArray(e.onFallback)?i.onFallback=t.readOnFallbackDefinition(e.onFallback[0]):i.onFallback=t.readOnFallbackDefinition(e.onFallback)),i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readClaimCheckDefinition=function(e){var i=e?new m.ClaimCheckDefinition(E({},e)):new m.ClaimCheckDefinition;return i},t.readContextScanDefinition=function(e){var i=e?new m.ContextScanDefinition(E({},e)):new m.ContextScanDefinition;return i},t.readConvertBodyDefinition=function(e){e&&typeof e=="string"&&(e={type:e});var i=e?new m.ConvertBodyDefinition(E({},e)):new m.ConvertBodyDefinition;return i},t.readDataFormatDefinition=function(e){var i=e?new m.DataFormatDefinition(E({},e)):new m.DataFormatDefinition;return i},t.readDelayDefinition=function(e){var i=e?new m.DelayDefinition(E({},e)):new m.DelayDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readDescriptionDefinition=function(e){var i=e?new m.DescriptionDefinition(E({},e)):new m.DescriptionDefinition;return i},t.readDynamicRouterDefinition=function(e){var i=e?new m.DynamicRouterDefinition(E({},e)):new m.DynamicRouterDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readEnrichDefinition=function(e){var i=e?new m.EnrichDefinition(E({},e)):new m.EnrichDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readErrorHandlerDefinition=function(e){var i=e?new m.ErrorHandlerDefinition(E({},e)):new m.ErrorHandlerDefinition;return(e==null?void 0:e.deadLetterChannel)!==void 0&&(Array.isArray(e.deadLetterChannel)?i.deadLetterChannel=t.readDeadLetterChannelDefinition(e.deadLetterChannel[0]):i.deadLetterChannel=t.readDeadLetterChannelDefinition(e.deadLetterChannel)),(e==null?void 0:e.noErrorHandler)!==void 0&&(Array.isArray(e.noErrorHandler)?i.noErrorHandler=t.readNoErrorHandlerDefinition(e.noErrorHandler[0]):i.noErrorHandler=t.readNoErrorHandlerDefinition(e.noErrorHandler)),(e==null?void 0:e.jtaTransactionErrorHandler)!==void 0&&(Array.isArray(e.jtaTransactionErrorHandler)?i.jtaTransactionErrorHandler=t.readJtaTransactionErrorHandlerDefinition(e.jtaTransactionErrorHandler[0]):i.jtaTransactionErrorHandler=t.readJtaTransactionErrorHandlerDefinition(e.jtaTransactionErrorHandler)),(e==null?void 0:e.defaultErrorHandler)!==void 0&&(Array.isArray(e.defaultErrorHandler)?i.defaultErrorHandler=t.readDefaultErrorHandlerDefinition(e.defaultErrorHandler[0]):i.defaultErrorHandler=t.readDefaultErrorHandlerDefinition(e.defaultErrorHandler)),(e==null?void 0:e.springTransactionErrorHandler)!==void 0&&(Array.isArray(e.springTransactionErrorHandler)?i.springTransactionErrorHandler=t.readSpringTransactionErrorHandlerDefinition(e.springTransactionErrorHandler[0]):i.springTransactionErrorHandler=t.readSpringTransactionErrorHandlerDefinition(e.springTransactionErrorHandler)),i},t.readExpressionSubElementDefinition=function(e){var i=e?new m.ExpressionSubElementDefinition(E({},e)):new m.ExpressionSubElementDefinition;return(e==null?void 0:e.ognl)!==void 0&&(Array.isArray(e.ognl)?i.ognl=t.readOgnlExpression(e.ognl[0]):i.ognl=t.readOgnlExpression(e.ognl)),(e==null?void 0:e.python)!==void 0&&(Array.isArray(e.python)?i.python=t.readPythonExpression(e.python[0]):i.python=t.readPythonExpression(e.python)),(e==null?void 0:e.constant)!==void 0&&(Array.isArray(e.constant)?i.constant=t.readConstantExpression(e.constant[0]):i.constant=t.readConstantExpression(e.constant)),(e==null?void 0:e.mvel)!==void 0&&(Array.isArray(e.mvel)?i.mvel=t.readMvelExpression(e.mvel[0]):i.mvel=t.readMvelExpression(e.mvel)),(e==null?void 0:e.method)!==void 0&&(Array.isArray(e.method)?i.method=t.readMethodCallExpression(e.method[0]):i.method=t.readMethodCallExpression(e.method)),(e==null?void 0:e.xquery)!==void 0&&(Array.isArray(e.xquery)?i.xquery=t.readXQueryExpression(e.xquery[0]):i.xquery=t.readXQueryExpression(e.xquery)),(e==null?void 0:e.datasonnet)!==void 0&&(Array.isArray(e.datasonnet)?i.datasonnet=t.readDatasonnetExpression(e.datasonnet[0]):i.datasonnet=t.readDatasonnetExpression(e.datasonnet)),(e==null?void 0:e.jq)!==void 0&&(Array.isArray(e.jq)?i.jq=t.readJqExpression(e.jq[0]):i.jq=t.readJqExpression(e.jq)),(e==null?void 0:e.js)!==void 0&&(Array.isArray(e.js)?i.js=t.readJavaScriptExpression(e.js[0]):i.js=t.readJavaScriptExpression(e.js)),(e==null?void 0:e.language)!==void 0&&(Array.isArray(e.language)?i.language=t.readLanguageExpression(e.language[0]):i.language=t.readLanguageExpression(e.language)),(e==null?void 0:e.simple)!==void 0&&(Array.isArray(e.simple)?i.simple=t.readSimpleExpression(e.simple[0]):i.simple=t.readSimpleExpression(e.simple)),(e==null?void 0:e.hl7terser)!==void 0&&(Array.isArray(e.hl7terser)?i.hl7terser=t.readHl7TerserExpression(e.hl7terser[0]):i.hl7terser=t.readHl7TerserExpression(e.hl7terser)),(e==null?void 0:e.tokenize)!==void 0&&(Array.isArray(e.tokenize)?i.tokenize=t.readTokenizerExpression(e.tokenize[0]):i.tokenize=t.readTokenizerExpression(e.tokenize)),(e==null?void 0:e.spel)!==void 0&&(Array.isArray(e.spel)?i.spel=t.readSpELExpression(e.spel[0]):i.spel=t.readSpELExpression(e.spel)),(e==null?void 0:e.ref)!==void 0&&(Array.isArray(e.ref)?i.ref=t.readRefExpression(e.ref[0]):i.ref=t.readRefExpression(e.ref)),(e==null?void 0:e.xpath)!==void 0&&(Array.isArray(e.xpath)?i.xpath=t.readXPathExpression(e.xpath[0]):i.xpath=t.readXPathExpression(e.xpath)),(e==null?void 0:e.groovy)!==void 0&&(Array.isArray(e.groovy)?i.groovy=t.readGroovyExpression(e.groovy[0]):i.groovy=t.readGroovyExpression(e.groovy)),(e==null?void 0:e.csimple)!==void 0&&(Array.isArray(e.csimple)?i.csimple=t.readCSimpleExpression(e.csimple[0]):i.csimple=t.readCSimpleExpression(e.csimple)),(e==null?void 0:e.exchangeProperty)!==void 0&&(Array.isArray(e.exchangeProperty)?i.exchangeProperty=t.readExchangePropertyExpression(e.exchangeProperty[0]):i.exchangeProperty=t.readExchangePropertyExpression(e.exchangeProperty)),(e==null?void 0:e.jsonpath)!==void 0&&(Array.isArray(e.jsonpath)?i.jsonpath=t.readJsonPathExpression(e.jsonpath[0]):i.jsonpath=t.readJsonPathExpression(e.jsonpath)),(e==null?void 0:e.header)!==void 0&&(Array.isArray(e.header)?i.header=t.readHeaderExpression(e.header[0]):i.header=t.readHeaderExpression(e.header)),(e==null?void 0:e.joor)!==void 0&&(Array.isArray(e.joor)?i.joor=t.readJoorExpression(e.joor[0]):i.joor=t.readJoorExpression(e.joor)),(e==null?void 0:e.xtokenize)!==void 0&&(Array.isArray(e.xtokenize)?i.xtokenize=t.readXMLTokenizerExpression(e.xtokenize[0]):i.xtokenize=t.readXMLTokenizerExpression(e.xtokenize)),i},t.readFaultToleranceConfigurationDefinition=function(e){var i=e?new m.FaultToleranceConfigurationDefinition(E({},e)):new m.FaultToleranceConfigurationDefinition;return i},t.readFilterDefinition=function(e){var i=e?new m.FilterDefinition(E({},e)):new m.FilterDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readFinallyDefinition=function(e){var i=e?new m.FinallyDefinition(E({},e)):new m.FinallyDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readFromDefinition=function(e){e&&typeof e=="string"&&(e={uri:e});var i=e?new m.FromDefinition(E({},e)):new m.FromDefinition;return i=vi.ComponentApi.parseElementUri(i),i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readGlobalOptionDefinition=function(e){var i=e?new m.GlobalOptionDefinition(E({},e)):new m.GlobalOptionDefinition;return i},t.readGlobalOptionsDefinition=function(e){var i=e?new m.GlobalOptionsDefinition(E({},e)):new m.GlobalOptionsDefinition;return i.globalOption=e&&(e!=null&&e.globalOption)?e==null?void 0:e.globalOption.map(function(n){return t.readGlobalOptionDefinition(n)}):[],i},t.readIdempotentConsumerDefinition=function(e){var i=e?new m.IdempotentConsumerDefinition(E({},e)):new m.IdempotentConsumerDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readInOnlyDefinition=function(e){e&&typeof e=="string"&&(e={uri:e});var i=e?new m.InOnlyDefinition(E({},e)):new m.InOnlyDefinition;return i=vi.ComponentApi.parseElementUri(i),i},t.readInOutDefinition=function(e){e&&typeof e=="string"&&(e={uri:e});var i=e?new m.InOutDefinition(E({},e)):new m.InOutDefinition;return i=vi.ComponentApi.parseElementUri(i),i},t.readInputTypeDefinition=function(e){var i=e?new m.InputTypeDefinition(E({},e)):new m.InputTypeDefinition;return i},t.readInterceptDefinition=function(e){var i=e?new m.InterceptDefinition(E({},e)):new m.InterceptDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readInterceptFromDefinition=function(e){var i=e?new m.InterceptFromDefinition(E({},e)):new m.InterceptFromDefinition;return i=vi.ComponentApi.parseElementUri(i),i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readInterceptSendToEndpointDefinition=function(e){e&&typeof e=="string"&&(e={uri:e});var i=e?new m.InterceptSendToEndpointDefinition(E({},e)):new m.InterceptSendToEndpointDefinition;return i=vi.ComponentApi.parseElementUri(i),i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readKameletDefinition=function(e){e&&typeof e=="string"&&(e={name:e});var i=e?new m.KameletDefinition(E({},e)):new m.KameletDefinition;return i},t.readLoadBalanceDefinition=function(e){var i=e?new m.LoadBalanceDefinition(E({},e)):new m.LoadBalanceDefinition;return(e==null?void 0:e.random)!==void 0&&(Array.isArray(e.random)?i.random=t.readRandomLoadBalancerDefinition(e.random[0]):i.random=t.readRandomLoadBalancerDefinition(e.random)),(e==null?void 0:e.customLoadBalancer)!==void 0&&(Array.isArray(e.customLoadBalancer)?i.customLoadBalancer=t.readCustomLoadBalancerDefinition(e.customLoadBalancer[0]):i.customLoadBalancer=t.readCustomLoadBalancerDefinition(e.customLoadBalancer)),(e==null?void 0:e.failover)!==void 0&&(Array.isArray(e.failover)?i.failover=t.readFailoverLoadBalancerDefinition(e.failover[0]):i.failover=t.readFailoverLoadBalancerDefinition(e.failover)),(e==null?void 0:e.sticky)!==void 0&&(Array.isArray(e.sticky)?i.sticky=t.readStickyLoadBalancerDefinition(e.sticky[0]):i.sticky=t.readStickyLoadBalancerDefinition(e.sticky)),(e==null?void 0:e.topic)!==void 0&&(Array.isArray(e.topic)?i.topic=t.readTopicLoadBalancerDefinition(e.topic[0]):i.topic=t.readTopicLoadBalancerDefinition(e.topic)),i.steps=t.readSteps(e==null?void 0:e.steps),(e==null?void 0:e.weighted)!==void 0&&(Array.isArray(e.weighted)?i.weighted=t.readWeightedLoadBalancerDefinition(e.weighted[0]):i.weighted=t.readWeightedLoadBalancerDefinition(e.weighted)),(e==null?void 0:e.roundRobin)!==void 0&&(Array.isArray(e.roundRobin)?i.roundRobin=t.readRoundRobinLoadBalancerDefinition(e.roundRobin[0]):i.roundRobin=t.readRoundRobinLoadBalancerDefinition(e.roundRobin)),i},t.readLogDefinition=function(e){e&&typeof e=="string"&&(e={message:e});var i=e?new m.LogDefinition(E({},e)):new m.LogDefinition;return i},t.readLoopDefinition=function(e){var i=e?new m.LoopDefinition(E({},e)):new m.LoopDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readMarshalDefinition=function(e){var i=e?new m.MarshalDefinition(E({},e)):new m.MarshalDefinition;return(e==null?void 0:e.univocityCsv)!==void 0&&(Array.isArray(e.univocityCsv)?i.univocityCsv=t.readUniVocityCsvDataFormat(e.univocityCsv[0]):i.univocityCsv=t.readUniVocityCsvDataFormat(e.univocityCsv)),(e==null?void 0:e.protobuf)!==void 0&&(Array.isArray(e.protobuf)?i.protobuf=t.readProtobufDataFormat(e.protobuf[0]):i.protobuf=t.readProtobufDataFormat(e.protobuf)),(e==null?void 0:e.tarFile)!==void 0&&(Array.isArray(e.tarFile)?i.tarFile=t.readTarFileDataFormat(e.tarFile[0]):i.tarFile=t.readTarFileDataFormat(e.tarFile)),(e==null?void 0:e.tidyMarkup)!==void 0&&(Array.isArray(e.tidyMarkup)?i.tidyMarkup=t.readTidyMarkupDataFormat(e.tidyMarkup[0]):i.tidyMarkup=t.readTidyMarkupDataFormat(e.tidyMarkup)),(e==null?void 0:e.csv)!==void 0&&(Array.isArray(e.csv)?i.csv=t.readCsvDataFormat(e.csv[0]):i.csv=t.readCsvDataFormat(e.csv)),(e==null?void 0:e.base64)!==void 0&&(Array.isArray(e.base64)?i.base64=t.readBase64DataFormat(e.base64[0]):i.base64=t.readBase64DataFormat(e.base64)),(e==null?void 0:e.zipDeflater)!==void 0&&(Array.isArray(e.zipDeflater)?i.zipDeflater=t.readZipDeflaterDataFormat(e.zipDeflater[0]):i.zipDeflater=t.readZipDeflaterDataFormat(e.zipDeflater)),(e==null?void 0:e.bindy)!==void 0&&(Array.isArray(e.bindy)?i.bindy=t.readBindyDataFormat(e.bindy[0]):i.bindy=t.readBindyDataFormat(e.bindy)),(e==null?void 0:e.syslog)!==void 0&&(Array.isArray(e.syslog)?i.syslog=t.readSyslogDataFormat(e.syslog[0]):i.syslog=t.readSyslogDataFormat(e.syslog)),(e==null?void 0:e.zipFile)!==void 0&&(Array.isArray(e.zipFile)?i.zipFile=t.readZipFileDataFormat(e.zipFile[0]):i.zipFile=t.readZipFileDataFormat(e.zipFile)),(e==null?void 0:e.jaxb)!==void 0&&(Array.isArray(e.jaxb)?i.jaxb=t.readJaxbDataFormat(e.jaxb[0]):i.jaxb=t.readJaxbDataFormat(e.jaxb)),(e==null?void 0:e.rss)!==void 0&&(Array.isArray(e.rss)?i.rss=t.readRssDataFormat(e.rss[0]):i.rss=t.readRssDataFormat(e.rss)),(e==null?void 0:e.mimeMultipart)!==void 0&&(Array.isArray(e.mimeMultipart)?i.mimeMultipart=t.readMimeMultipartDataFormat(e.mimeMultipart[0]):i.mimeMultipart=t.readMimeMultipartDataFormat(e.mimeMultipart)),(e==null?void 0:e.asn1)!==void 0&&(Array.isArray(e.asn1)?i.asn1=t.readASN1DataFormat(e.asn1[0]):i.asn1=t.readASN1DataFormat(e.asn1)),(e==null?void 0:e.pgp)!==void 0&&(Array.isArray(e.pgp)?i.pgp=t.readPGPDataFormat(e.pgp[0]):i.pgp=t.readPGPDataFormat(e.pgp)),(e==null?void 0:e.thrift)!==void 0&&(Array.isArray(e.thrift)?i.thrift=t.readThriftDataFormat(e.thrift[0]):i.thrift=t.readThriftDataFormat(e.thrift)),(e==null?void 0:e.json)!==void 0&&(Array.isArray(e.json)?i.json=t.readJsonDataFormat(e.json[0]):i.json=t.readJsonDataFormat(e.json)),(e==null?void 0:e.lzf)!==void 0&&(Array.isArray(e.lzf)?i.lzf=t.readLZFDataFormat(e.lzf[0]):i.lzf=t.readLZFDataFormat(e.lzf)),(e==null?void 0:e.fhirXml)!==void 0&&(Array.isArray(e.fhirXml)?i.fhirXml=t.readFhirXmlDataFormat(e.fhirXml[0]):i.fhirXml=t.readFhirXmlDataFormat(e.fhirXml)),(e==null?void 0:e.barcode)!==void 0&&(Array.isArray(e.barcode)?i.barcode=t.readBarcodeDataFormat(e.barcode[0]):i.barcode=t.readBarcodeDataFormat(e.barcode)),(e==null?void 0:e.avro)!==void 0&&(Array.isArray(e.avro)?i.avro=t.readAvroDataFormat(e.avro[0]):i.avro=t.readAvroDataFormat(e.avro)),(e==null?void 0:e.yaml)!==void 0&&(Array.isArray(e.yaml)?i.yaml=t.readYAMLDataFormat(e.yaml[0]):i.yaml=t.readYAMLDataFormat(e.yaml)),(e==null?void 0:e.fhirJson)!==void 0&&(Array.isArray(e.fhirJson)?i.fhirJson=t.readFhirJsonDataFormat(e.fhirJson[0]):i.fhirJson=t.readFhirJsonDataFormat(e.fhirJson)),(e==null?void 0:e.any23)!==void 0&&(Array.isArray(e.any23)?i.any23=t.readAny23DataFormat(e.any23[0]):i.any23=t.readAny23DataFormat(e.any23)),(e==null?void 0:e.custom)!==void 0&&(Array.isArray(e.custom)?i.custom=t.readCustomDataFormat(e.custom[0]):i.custom=t.readCustomDataFormat(e.custom)),(e==null?void 0:e.flatpack)!==void 0&&(Array.isArray(e.flatpack)?i.flatpack=t.readFlatpackDataFormat(e.flatpack[0]):i.flatpack=t.readFlatpackDataFormat(e.flatpack)),(e==null?void 0:e.swiftMx)!==void 0&&(Array.isArray(e.swiftMx)?i.swiftMx=t.readSwiftMxDataFormat(e.swiftMx[0]):i.swiftMx=t.readSwiftMxDataFormat(e.swiftMx)),(e==null?void 0:e.cbor)!==void 0&&(Array.isArray(e.cbor)?i.cbor=t.readCBORDataFormat(e.cbor[0]):i.cbor=t.readCBORDataFormat(e.cbor)),(e==null?void 0:e.crypto)!==void 0&&(Array.isArray(e.crypto)?i.crypto=t.readCryptoDataFormat(e.crypto[0]):i.crypto=t.readCryptoDataFormat(e.crypto)),(e==null?void 0:e.swiftMt)!==void 0&&(Array.isArray(e.swiftMt)?i.swiftMt=t.readSwiftMtDataFormat(e.swiftMt[0]):i.swiftMt=t.readSwiftMtDataFormat(e.swiftMt)),(e==null?void 0:e.univocityTsv)!==void 0&&(Array.isArray(e.univocityTsv)?i.univocityTsv=t.readUniVocityTsvDataFormat(e.univocityTsv[0]):i.univocityTsv=t.readUniVocityTsvDataFormat(e.univocityTsv)),(e==null?void 0:e.hl7)!==void 0&&(Array.isArray(e.hl7)?i.hl7=t.readHL7DataFormat(e.hl7[0]):i.hl7=t.readHL7DataFormat(e.hl7)),(e==null?void 0:e.jsonApi)!==void 0&&(Array.isArray(e.jsonApi)?i.jsonApi=t.readJsonApiDataFormat(e.jsonApi[0]):i.jsonApi=t.readJsonApiDataFormat(e.jsonApi)),(e==null?void 0:e.xmlSecurity)!==void 0&&(Array.isArray(e.xmlSecurity)?i.xmlSecurity=t.readXMLSecurityDataFormat(e.xmlSecurity[0]):i.xmlSecurity=t.readXMLSecurityDataFormat(e.xmlSecurity)),(e==null?void 0:e.ical)!==void 0&&(Array.isArray(e.ical)?i.ical=t.readIcalDataFormat(e.ical[0]):i.ical=t.readIcalDataFormat(e.ical)),(e==null?void 0:e.univocityFixed)!==void 0&&(Array.isArray(e.univocityFixed)?i.univocityFixed=t.readUniVocityFixedDataFormat(e.univocityFixed[0]):i.univocityFixed=t.readUniVocityFixedDataFormat(e.univocityFixed)),(e==null?void 0:e.jacksonXml)!==void 0&&(Array.isArray(e.jacksonXml)?i.jacksonXml=t.readJacksonXMLDataFormat(e.jacksonXml[0]):i.jacksonXml=t.readJacksonXMLDataFormat(e.jacksonXml)),(e==null?void 0:e.grok)!==void 0&&(Array.isArray(e.grok)?i.grok=t.readGrokDataFormat(e.grok[0]):i.grok=t.readGrokDataFormat(e.grok)),(e==null?void 0:e.xstream)!==void 0&&(Array.isArray(e.xstream)?i.xstream=t.readXStreamDataFormat(e.xstream[0]):i.xstream=t.readXStreamDataFormat(e.xstream)),(e==null?void 0:e.gzipDeflater)!==void 0&&(Array.isArray(e.gzipDeflater)?i.gzipDeflater=t.readGzipDeflaterDataFormat(e.gzipDeflater[0]):i.gzipDeflater=t.readGzipDeflaterDataFormat(e.gzipDeflater)),(e==null?void 0:e.soap)!==void 0&&(Array.isArray(e.soap)?i.soap=t.readSoapDataFormat(e.soap[0]):i.soap=t.readSoapDataFormat(e.soap)),i},t.readMulticastDefinition=function(e){var i=e?new m.MulticastDefinition(E({},e)):new m.MulticastDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readOnCompletionDefinition=function(e){var i=e?new m.OnCompletionDefinition(E({},e)):new m.OnCompletionDefinition;return(e==null?void 0:e.onWhen)!==void 0&&(Array.isArray(e.onWhen)?i.onWhen=t.readWhenDefinition(e.onWhen[0]):i.onWhen=t.readWhenDefinition(e.onWhen)),i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readOnExceptionDefinition=function(e){var i=e?new m.OnExceptionDefinition(E({},e)):new m.OnExceptionDefinition;return(e==null?void 0:e.retryWhile)!==void 0&&(Array.isArray(e.retryWhile)?i.retryWhile=t.readExpressionSubElementDefinition(e.retryWhile[0]):i.retryWhile=t.readExpressionSubElementDefinition(e.retryWhile)),(e==null?void 0:e.redeliveryPolicy)!==void 0&&(Array.isArray(e.redeliveryPolicy)?i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy[0]):i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy)),(e==null?void 0:e.handled)!==void 0&&(Array.isArray(e.handled)?i.handled=t.readExpressionSubElementDefinition(e.handled[0]):i.handled=t.readExpressionSubElementDefinition(e.handled)),(e==null?void 0:e.onWhen)!==void 0&&(Array.isArray(e.onWhen)?i.onWhen=t.readWhenDefinition(e.onWhen[0]):i.onWhen=t.readWhenDefinition(e.onWhen)),(e==null?void 0:e.continued)!==void 0&&(Array.isArray(e.continued)?i.continued=t.readExpressionSubElementDefinition(e.continued[0]):i.continued=t.readExpressionSubElementDefinition(e.continued)),i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readOnFallbackDefinition=function(e){var i=e?new m.OnFallbackDefinition(E({},e)):new m.OnFallbackDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readOptimisticLockRetryPolicyDefinition=function(e){var i=e?new m.OptimisticLockRetryPolicyDefinition(E({},e)):new m.OptimisticLockRetryPolicyDefinition;return i},t.readOtherwiseDefinition=function(e){var i=e?new m.OtherwiseDefinition(E({},e)):new m.OtherwiseDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readOutputDefinition=function(e){var i=e?new m.OutputDefinition(E({},e)):new m.OutputDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readOutputTypeDefinition=function(e){var i=e?new m.OutputTypeDefinition(E({},e)):new m.OutputTypeDefinition;return i},t.readPackageScanDefinition=function(e){var i=e?new m.PackageScanDefinition(E({},e)):new m.PackageScanDefinition;return i},t.readPausableDefinition=function(e){var i=e?new m.PausableDefinition(E({},e)):new m.PausableDefinition;return i},t.readPipelineDefinition=function(e){var i=e?new m.PipelineDefinition(E({},e)):new m.PipelineDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readPolicyDefinition=function(e){var i=e?new m.PolicyDefinition(E({},e)):new m.PolicyDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readPollEnrichDefinition=function(e){var i=e?new m.PollEnrichDefinition(E({},e)):new m.PollEnrichDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readProcessDefinition=function(e){var i=e?new m.ProcessDefinition(E({},e)):new m.ProcessDefinition;return i},t.readPropertyDefinition=function(e){var i=e?new m.PropertyDefinition(E({},e)):new m.PropertyDefinition;return i},t.readPropertyExpressionDefinition=function(e){var i=e?new m.PropertyExpressionDefinition(E({},e)):new m.PropertyExpressionDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readRecipientListDefinition=function(e){var i=e?new m.RecipientListDefinition(E({},e)):new m.RecipientListDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readRedeliveryPolicyDefinition=function(e){var i=e?new m.RedeliveryPolicyDefinition(E({},e)):new m.RedeliveryPolicyDefinition;return i},t.readRemoveHeaderDefinition=function(e){e&&typeof e=="string"&&(e={name:e});var i=e?new m.RemoveHeaderDefinition(E({},e)):new m.RemoveHeaderDefinition;return i},t.readRemoveHeadersDefinition=function(e){e&&typeof e=="string"&&(e={pattern:e});var i=e?new m.RemoveHeadersDefinition(E({},e)):new m.RemoveHeadersDefinition;return i},t.readRemovePropertiesDefinition=function(e){e&&typeof e=="string"&&(e={pattern:e});var i=e?new m.RemovePropertiesDefinition(E({},e)):new m.RemovePropertiesDefinition;return i},t.readRemovePropertyDefinition=function(e){e&&typeof e=="string"&&(e={name:e});var i=e?new m.RemovePropertyDefinition(E({},e)):new m.RemovePropertyDefinition;return i},t.readResequenceDefinition=function(e){var i=e?new m.ResequenceDefinition(E({},e)):new m.ResequenceDefinition;if((e==null?void 0:e.streamConfig)!==void 0&&(Array.isArray(e.streamConfig)?i.streamConfig=t.readStreamResequencerConfig(e.streamConfig[0]):i.streamConfig=t.readStreamResequencerConfig(e.streamConfig)),(e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i.steps=t.readSteps(e==null?void 0:e.steps),(e==null?void 0:e.batchConfig)!==void 0&&(Array.isArray(e.batchConfig)?i.batchConfig=t.readBatchResequencerConfig(e.batchConfig[0]):i.batchConfig=t.readBatchResequencerConfig(e.batchConfig)),i},t.readResilience4jConfigurationDefinition=function(e){var i=e?new m.Resilience4jConfigurationDefinition(E({},e)):new m.Resilience4jConfigurationDefinition;return i},t.readRestContextRefDefinition=function(e){e&&typeof e=="string"&&(e={ref:e});var i=e?new m.RestContextRefDefinition(E({},e)):new m.RestContextRefDefinition;return i},t.readResumableDefinition=function(e){var i=e?new m.ResumableDefinition(E({},e)):new m.ResumableDefinition;return i},t.readRollbackDefinition=function(e){var i=e?new m.RollbackDefinition(E({},e)):new m.RollbackDefinition;return i},t.readRouteBuilderDefinition=function(e){e&&typeof e=="string"&&(e={ref:e});var i=e?new m.RouteBuilderDefinition(E({},e)):new m.RouteBuilderDefinition;return i},t.readRouteConfigurationContextRefDefinition=function(e){e&&typeof e=="string"&&(e={ref:e});var i=e?new m.RouteConfigurationContextRefDefinition(E({},e)):new m.RouteConfigurationContextRefDefinition;return i},t.readRouteConfigurationDefinition=function(e){var i=e?new m.RouteConfigurationDefinition(E({},e)):new m.RouteConfigurationDefinition;return i.onCompletion=e&&(e!=null&&e.onCompletion)?e==null?void 0:e.onCompletion.map(function(n){return t.readOnCompletionDefinition(n.onCompletion)}):[],i.interceptSendToEndpoint=e&&(e!=null&&e.interceptSendToEndpoint)?e==null?void 0:e.interceptSendToEndpoint.map(function(n){return t.readInterceptSendToEndpointDefinition(n.interceptSendToEndpoint)}):[],i.intercept=e&&(e!=null&&e.intercept)?e==null?void 0:e.intercept.map(function(n){return t.readInterceptDefinition(n.intercept)}):[],(e==null?void 0:e.errorHandler)!==void 0&&(Array.isArray(e.errorHandler)?i.errorHandler=t.readErrorHandlerDefinition(e.errorHandler[0]):i.errorHandler=t.readErrorHandlerDefinition(e.errorHandler)),i.onException=e&&(e!=null&&e.onException)?e==null?void 0:e.onException.map(function(n){return t.readOnExceptionDefinition(n.onException)}):[],i.interceptFrom=e&&(e!=null&&e.interceptFrom)?e==null?void 0:e.interceptFrom.map(function(n){return t.readInterceptFromDefinition(n.interceptFrom)}):[],i},t.readRouteContextRefDefinition=function(e){e&&typeof e=="string"&&(e={ref:e});var i=e?new m.RouteContextRefDefinition(E({},e)):new m.RouteContextRefDefinition;return i},t.readRouteDefinition=function(e){var i=e?new m.RouteDefinition(E({},e)):new m.RouteDefinition;return(e==null?void 0:e.from)!==void 0&&(Array.isArray(e.from)?i.from=t.readFromDefinition(e.from[0]):i.from=t.readFromDefinition(e.from)),i},t.readRouteTemplateBeanDefinition=function(e){var i=e?new m.RouteTemplateBeanDefinition(E({},e)):new m.RouteTemplateBeanDefinition;return i.property=e&&(e!=null&&e.property)?e==null?void 0:e.property.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readRouteTemplateDefinition=function(e){var i=e?new m.RouteTemplateDefinition(E({},e)):new m.RouteTemplateDefinition;return(e==null?void 0:e.route)!==void 0&&(Array.isArray(e.route)?i.route=t.readRouteDefinition(e.route[0]):i.route=t.readRouteDefinition(e.route)),i.beans=e&&(e!=null&&e.beans)?e==null?void 0:e.beans.map(function(n){return t.readRouteTemplateBeanDefinition(n)}):[],(e==null?void 0:e.from)!==void 0&&(Array.isArray(e.from)?i.from=t.readFromDefinition(e.from[0]):i.from=t.readFromDefinition(e.from)),i.parameters=e&&(e!=null&&e.parameters)?e==null?void 0:e.parameters.map(function(n){return t.readRouteTemplateParameterDefinition(n)}):[],i},t.readRouteTemplateParameterDefinition=function(e){var i=e?new m.RouteTemplateParameterDefinition(E({},e)):new m.RouteTemplateParameterDefinition;return i},t.readRoutingSlipDefinition=function(e){var i=e?new m.RoutingSlipDefinition(E({},e)):new m.RoutingSlipDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readSagaActionUriDefinition=function(e){e&&typeof e=="string"&&(e={uri:e});var i=e?new m.SagaActionUriDefinition(E({},e)):new m.SagaActionUriDefinition;return i=vi.ComponentApi.parseElementUri(i),i},t.readSagaDefinition=function(e){var i=e?new m.SagaDefinition(E({},e)):new m.SagaDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i.option=e&&(e!=null&&e.option)?e==null?void 0:e.option.map(function(n){return t.readPropertyExpressionDefinition(n)}):[],i},t.readSamplingDefinition=function(e){var i=e?new m.SamplingDefinition(E({},e)):new m.SamplingDefinition;return i},t.readScriptDefinition=function(e){var i=e?new m.ScriptDefinition(E({},e)):new m.ScriptDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readSetBodyDefinition=function(e){var i=e?new m.SetBodyDefinition(E({},e)):new m.SetBodyDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readSetExchangePatternDefinition=function(e){e&&typeof e=="string"&&(e={pattern:e});var i=e?new m.SetExchangePatternDefinition(E({},e)):new m.SetExchangePatternDefinition;return i},t.readSetHeaderDefinition=function(e){var i=e?new m.SetHeaderDefinition(E({},e)):new m.SetHeaderDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readSetPropertyDefinition=function(e){var i=e?new m.SetPropertyDefinition(E({},e)):new m.SetPropertyDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readSortDefinition=function(e){var i=e?new m.SortDefinition(E({},e)):new m.SortDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readSplitDefinition=function(e){var i=e?new m.SplitDefinition(E({},e)):new m.SplitDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readStepDefinition=function(e){var i=e?new m.StepDefinition(E({},e)):new m.StepDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readStopDefinition=function(e){var i=e?new m.StopDefinition(E({},e)):new m.StopDefinition;return i},t.readTemplatedRouteBeanDefinition=function(e){var i=e?new m.TemplatedRouteBeanDefinition(E({},e)):new m.TemplatedRouteBeanDefinition;return i.property=e&&(e!=null&&e.property)?e==null?void 0:e.property.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readTemplatedRouteDefinition=function(e){var i=e?new m.TemplatedRouteDefinition(E({},e)):new m.TemplatedRouteDefinition;return i.beans=e&&(e!=null&&e.beans)?e==null?void 0:e.beans.map(function(n){return t.readTemplatedRouteBeanDefinition(n)}):[],i.parameters=e&&(e!=null&&e.parameters)?e==null?void 0:e.parameters.map(function(n){return t.readTemplatedRouteParameterDefinition(n)}):[],i},t.readTemplatedRouteParameterDefinition=function(e){var i=e?new m.TemplatedRouteParameterDefinition(E({},e)):new m.TemplatedRouteParameterDefinition;return i},t.readThreadPoolProfileDefinition=function(e){var i=e?new m.ThreadPoolProfileDefinition(E({},e)):new m.ThreadPoolProfileDefinition;return i},t.readThreadsDefinition=function(e){var i=e?new m.ThreadsDefinition(E({},e)):new m.ThreadsDefinition;return i},t.readThrottleDefinition=function(e){var i=e?new m.ThrottleDefinition(E({},e)):new m.ThrottleDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return(e==null?void 0:e.correlationExpression)!==void 0&&(Array.isArray(e.correlationExpression)?i.correlationExpression=t.readExpressionSubElementDefinition(e.correlationExpression[0]):i.correlationExpression=t.readExpressionSubElementDefinition(e.correlationExpression)),i},t.readThrowExceptionDefinition=function(e){var i=e?new m.ThrowExceptionDefinition(E({},e)):new m.ThrowExceptionDefinition;return i},t.readToDefinition=function(e){e&&typeof e=="string"&&(e={uri:e});var i=e?new m.ToDefinition(E({},e)):new m.ToDefinition;return i=vi.ComponentApi.parseElementUri(i),i},t.readToDynamicDefinition=function(e){e&&typeof e=="string"&&(e={uri:e});var i=e?new m.ToDynamicDefinition(E({},e)):new m.ToDynamicDefinition;return i=vi.ComponentApi.parseElementUri(i),i},t.readTransactedDefinition=function(e){var i=e?new m.TransactedDefinition(E({},e)):new m.TransactedDefinition;return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readTransformDefinition=function(e){var i=e?new m.TransformDefinition(E({},e)):new m.TransformDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readTryDefinition=function(e){var i=e?new m.TryDefinition(E({},e)):new m.TryDefinition;return(e==null?void 0:e.doFinally)!==void 0&&(Array.isArray(e.doFinally)?i.doFinally=t.readFinallyDefinition(e.doFinally[0]):i.doFinally=t.readFinallyDefinition(e.doFinally)),i.doCatch=e&&(e!=null&&e.doCatch)?e==null?void 0:e.doCatch.map(function(n){return t.readCatchDefinition(n)}):[],i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readUnmarshalDefinition=function(e){var i=e?new m.UnmarshalDefinition(E({},e)):new m.UnmarshalDefinition;return(e==null?void 0:e.univocityCsv)!==void 0&&(Array.isArray(e.univocityCsv)?i.univocityCsv=t.readUniVocityCsvDataFormat(e.univocityCsv[0]):i.univocityCsv=t.readUniVocityCsvDataFormat(e.univocityCsv)),(e==null?void 0:e.protobuf)!==void 0&&(Array.isArray(e.protobuf)?i.protobuf=t.readProtobufDataFormat(e.protobuf[0]):i.protobuf=t.readProtobufDataFormat(e.protobuf)),(e==null?void 0:e.tarFile)!==void 0&&(Array.isArray(e.tarFile)?i.tarFile=t.readTarFileDataFormat(e.tarFile[0]):i.tarFile=t.readTarFileDataFormat(e.tarFile)),(e==null?void 0:e.tidyMarkup)!==void 0&&(Array.isArray(e.tidyMarkup)?i.tidyMarkup=t.readTidyMarkupDataFormat(e.tidyMarkup[0]):i.tidyMarkup=t.readTidyMarkupDataFormat(e.tidyMarkup)),(e==null?void 0:e.csv)!==void 0&&(Array.isArray(e.csv)?i.csv=t.readCsvDataFormat(e.csv[0]):i.csv=t.readCsvDataFormat(e.csv)),(e==null?void 0:e.base64)!==void 0&&(Array.isArray(e.base64)?i.base64=t.readBase64DataFormat(e.base64[0]):i.base64=t.readBase64DataFormat(e.base64)),(e==null?void 0:e.zipDeflater)!==void 0&&(Array.isArray(e.zipDeflater)?i.zipDeflater=t.readZipDeflaterDataFormat(e.zipDeflater[0]):i.zipDeflater=t.readZipDeflaterDataFormat(e.zipDeflater)),(e==null?void 0:e.bindy)!==void 0&&(Array.isArray(e.bindy)?i.bindy=t.readBindyDataFormat(e.bindy[0]):i.bindy=t.readBindyDataFormat(e.bindy)),(e==null?void 0:e.syslog)!==void 0&&(Array.isArray(e.syslog)?i.syslog=t.readSyslogDataFormat(e.syslog[0]):i.syslog=t.readSyslogDataFormat(e.syslog)),(e==null?void 0:e.zipFile)!==void 0&&(Array.isArray(e.zipFile)?i.zipFile=t.readZipFileDataFormat(e.zipFile[0]):i.zipFile=t.readZipFileDataFormat(e.zipFile)),(e==null?void 0:e.jaxb)!==void 0&&(Array.isArray(e.jaxb)?i.jaxb=t.readJaxbDataFormat(e.jaxb[0]):i.jaxb=t.readJaxbDataFormat(e.jaxb)),(e==null?void 0:e.rss)!==void 0&&(Array.isArray(e.rss)?i.rss=t.readRssDataFormat(e.rss[0]):i.rss=t.readRssDataFormat(e.rss)),(e==null?void 0:e.mimeMultipart)!==void 0&&(Array.isArray(e.mimeMultipart)?i.mimeMultipart=t.readMimeMultipartDataFormat(e.mimeMultipart[0]):i.mimeMultipart=t.readMimeMultipartDataFormat(e.mimeMultipart)),(e==null?void 0:e.asn1)!==void 0&&(Array.isArray(e.asn1)?i.asn1=t.readASN1DataFormat(e.asn1[0]):i.asn1=t.readASN1DataFormat(e.asn1)),(e==null?void 0:e.pgp)!==void 0&&(Array.isArray(e.pgp)?i.pgp=t.readPGPDataFormat(e.pgp[0]):i.pgp=t.readPGPDataFormat(e.pgp)),(e==null?void 0:e.thrift)!==void 0&&(Array.isArray(e.thrift)?i.thrift=t.readThriftDataFormat(e.thrift[0]):i.thrift=t.readThriftDataFormat(e.thrift)),(e==null?void 0:e.json)!==void 0&&(Array.isArray(e.json)?i.json=t.readJsonDataFormat(e.json[0]):i.json=t.readJsonDataFormat(e.json)),(e==null?void 0:e.lzf)!==void 0&&(Array.isArray(e.lzf)?i.lzf=t.readLZFDataFormat(e.lzf[0]):i.lzf=t.readLZFDataFormat(e.lzf)),(e==null?void 0:e.fhirXml)!==void 0&&(Array.isArray(e.fhirXml)?i.fhirXml=t.readFhirXmlDataFormat(e.fhirXml[0]):i.fhirXml=t.readFhirXmlDataFormat(e.fhirXml)),(e==null?void 0:e.barcode)!==void 0&&(Array.isArray(e.barcode)?i.barcode=t.readBarcodeDataFormat(e.barcode[0]):i.barcode=t.readBarcodeDataFormat(e.barcode)),(e==null?void 0:e.avro)!==void 0&&(Array.isArray(e.avro)?i.avro=t.readAvroDataFormat(e.avro[0]):i.avro=t.readAvroDataFormat(e.avro)),(e==null?void 0:e.yaml)!==void 0&&(Array.isArray(e.yaml)?i.yaml=t.readYAMLDataFormat(e.yaml[0]):i.yaml=t.readYAMLDataFormat(e.yaml)),(e==null?void 0:e.fhirJson)!==void 0&&(Array.isArray(e.fhirJson)?i.fhirJson=t.readFhirJsonDataFormat(e.fhirJson[0]):i.fhirJson=t.readFhirJsonDataFormat(e.fhirJson)),(e==null?void 0:e.any23)!==void 0&&(Array.isArray(e.any23)?i.any23=t.readAny23DataFormat(e.any23[0]):i.any23=t.readAny23DataFormat(e.any23)),(e==null?void 0:e.custom)!==void 0&&(Array.isArray(e.custom)?i.custom=t.readCustomDataFormat(e.custom[0]):i.custom=t.readCustomDataFormat(e.custom)),(e==null?void 0:e.flatpack)!==void 0&&(Array.isArray(e.flatpack)?i.flatpack=t.readFlatpackDataFormat(e.flatpack[0]):i.flatpack=t.readFlatpackDataFormat(e.flatpack)),(e==null?void 0:e.swiftMx)!==void 0&&(Array.isArray(e.swiftMx)?i.swiftMx=t.readSwiftMxDataFormat(e.swiftMx[0]):i.swiftMx=t.readSwiftMxDataFormat(e.swiftMx)),(e==null?void 0:e.cbor)!==void 0&&(Array.isArray(e.cbor)?i.cbor=t.readCBORDataFormat(e.cbor[0]):i.cbor=t.readCBORDataFormat(e.cbor)),(e==null?void 0:e.crypto)!==void 0&&(Array.isArray(e.crypto)?i.crypto=t.readCryptoDataFormat(e.crypto[0]):i.crypto=t.readCryptoDataFormat(e.crypto)),(e==null?void 0:e.swiftMt)!==void 0&&(Array.isArray(e.swiftMt)?i.swiftMt=t.readSwiftMtDataFormat(e.swiftMt[0]):i.swiftMt=t.readSwiftMtDataFormat(e.swiftMt)),(e==null?void 0:e.univocityTsv)!==void 0&&(Array.isArray(e.univocityTsv)?i.univocityTsv=t.readUniVocityTsvDataFormat(e.univocityTsv[0]):i.univocityTsv=t.readUniVocityTsvDataFormat(e.univocityTsv)),(e==null?void 0:e.hl7)!==void 0&&(Array.isArray(e.hl7)?i.hl7=t.readHL7DataFormat(e.hl7[0]):i.hl7=t.readHL7DataFormat(e.hl7)),(e==null?void 0:e.jsonApi)!==void 0&&(Array.isArray(e.jsonApi)?i.jsonApi=t.readJsonApiDataFormat(e.jsonApi[0]):i.jsonApi=t.readJsonApiDataFormat(e.jsonApi)),(e==null?void 0:e.xmlSecurity)!==void 0&&(Array.isArray(e.xmlSecurity)?i.xmlSecurity=t.readXMLSecurityDataFormat(e.xmlSecurity[0]):i.xmlSecurity=t.readXMLSecurityDataFormat(e.xmlSecurity)),(e==null?void 0:e.ical)!==void 0&&(Array.isArray(e.ical)?i.ical=t.readIcalDataFormat(e.ical[0]):i.ical=t.readIcalDataFormat(e.ical)),(e==null?void 0:e.univocityFixed)!==void 0&&(Array.isArray(e.univocityFixed)?i.univocityFixed=t.readUniVocityFixedDataFormat(e.univocityFixed[0]):i.univocityFixed=t.readUniVocityFixedDataFormat(e.univocityFixed)),(e==null?void 0:e.jacksonXml)!==void 0&&(Array.isArray(e.jacksonXml)?i.jacksonXml=t.readJacksonXMLDataFormat(e.jacksonXml[0]):i.jacksonXml=t.readJacksonXMLDataFormat(e.jacksonXml)),(e==null?void 0:e.grok)!==void 0&&(Array.isArray(e.grok)?i.grok=t.readGrokDataFormat(e.grok[0]):i.grok=t.readGrokDataFormat(e.grok)),(e==null?void 0:e.xstream)!==void 0&&(Array.isArray(e.xstream)?i.xstream=t.readXStreamDataFormat(e.xstream[0]):i.xstream=t.readXStreamDataFormat(e.xstream)),(e==null?void 0:e.gzipDeflater)!==void 0&&(Array.isArray(e.gzipDeflater)?i.gzipDeflater=t.readGzipDeflaterDataFormat(e.gzipDeflater[0]):i.gzipDeflater=t.readGzipDeflaterDataFormat(e.gzipDeflater)),(e==null?void 0:e.soap)!==void 0&&(Array.isArray(e.soap)?i.soap=t.readSoapDataFormat(e.soap[0]):i.soap=t.readSoapDataFormat(e.soap)),i},t.readValidateDefinition=function(e){var i=e?new m.ValidateDefinition(E({},e)):new m.ValidateDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readValueDefinition=function(e){var i=e?new m.ValueDefinition(E({},e)):new m.ValueDefinition;return i},t.readWhenDefinition=function(e){var i=e?new m.WhenDefinition(E({},e)):new m.WhenDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readWhenSkipSendToEndpointDefinition=function(e){var i=e?new m.WhenSkipSendToEndpointDefinition(E({},e)):new m.WhenSkipSendToEndpointDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i.steps=t.readSteps(e==null?void 0:e.steps),i},t.readWireTapDefinition=function(e){var i=e?new m.WireTapDefinition(E({},e)):new m.WireTapDefinition;return i=vi.ComponentApi.parseElementUri(i),i},t.readBlacklistServiceCallServiceFilterConfiguration=function(e){var i=e?new m.BlacklistServiceCallServiceFilterConfiguration(E({},e)):new m.BlacklistServiceCallServiceFilterConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readCachingServiceCallServiceDiscoveryConfiguration=function(e){var i=e?new m.CachingServiceCallServiceDiscoveryConfiguration(E({},e)):new m.CachingServiceCallServiceDiscoveryConfiguration;return(e==null?void 0:e.dnsServiceDiscovery)!==void 0&&(Array.isArray(e.dnsServiceDiscovery)?i.dnsServiceDiscovery=t.readDnsServiceCallServiceDiscoveryConfiguration(e.dnsServiceDiscovery[0]):i.dnsServiceDiscovery=t.readDnsServiceCallServiceDiscoveryConfiguration(e.dnsServiceDiscovery)),(e==null?void 0:e.kubernetesServiceDiscovery)!==void 0&&(Array.isArray(e.kubernetesServiceDiscovery)?i.kubernetesServiceDiscovery=t.readKubernetesServiceCallServiceDiscoveryConfiguration(e.kubernetesServiceDiscovery[0]):i.kubernetesServiceDiscovery=t.readKubernetesServiceCallServiceDiscoveryConfiguration(e.kubernetesServiceDiscovery)),(e==null?void 0:e.consulServiceDiscovery)!==void 0&&(Array.isArray(e.consulServiceDiscovery)?i.consulServiceDiscovery=t.readConsulServiceCallServiceDiscoveryConfiguration(e.consulServiceDiscovery[0]):i.consulServiceDiscovery=t.readConsulServiceCallServiceDiscoveryConfiguration(e.consulServiceDiscovery)),(e==null?void 0:e.staticServiceDiscovery)!==void 0&&(Array.isArray(e.staticServiceDiscovery)?i.staticServiceDiscovery=t.readStaticServiceCallServiceDiscoveryConfiguration(e.staticServiceDiscovery[0]):i.staticServiceDiscovery=t.readStaticServiceCallServiceDiscoveryConfiguration(e.staticServiceDiscovery)),(e==null?void 0:e.combinedServiceDiscovery)!==void 0&&(Array.isArray(e.combinedServiceDiscovery)?i.combinedServiceDiscovery=t.readCombinedServiceCallServiceDiscoveryConfiguration(e.combinedServiceDiscovery[0]):i.combinedServiceDiscovery=t.readCombinedServiceCallServiceDiscoveryConfiguration(e.combinedServiceDiscovery)),i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readCombinedServiceCallServiceDiscoveryConfiguration=function(e){var i=e?new m.CombinedServiceCallServiceDiscoveryConfiguration(E({},e)):new m.CombinedServiceCallServiceDiscoveryConfiguration;return(e==null?void 0:e.cachingServiceDiscovery)!==void 0&&(Array.isArray(e.cachingServiceDiscovery)?i.cachingServiceDiscovery=t.readCachingServiceCallServiceDiscoveryConfiguration(e.cachingServiceDiscovery[0]):i.cachingServiceDiscovery=t.readCachingServiceCallServiceDiscoveryConfiguration(e.cachingServiceDiscovery)),(e==null?void 0:e.dnsServiceDiscovery)!==void 0&&(Array.isArray(e.dnsServiceDiscovery)?i.dnsServiceDiscovery=t.readDnsServiceCallServiceDiscoveryConfiguration(e.dnsServiceDiscovery[0]):i.dnsServiceDiscovery=t.readDnsServiceCallServiceDiscoveryConfiguration(e.dnsServiceDiscovery)),(e==null?void 0:e.kubernetesServiceDiscovery)!==void 0&&(Array.isArray(e.kubernetesServiceDiscovery)?i.kubernetesServiceDiscovery=t.readKubernetesServiceCallServiceDiscoveryConfiguration(e.kubernetesServiceDiscovery[0]):i.kubernetesServiceDiscovery=t.readKubernetesServiceCallServiceDiscoveryConfiguration(e.kubernetesServiceDiscovery)),(e==null?void 0:e.consulServiceDiscovery)!==void 0&&(Array.isArray(e.consulServiceDiscovery)?i.consulServiceDiscovery=t.readConsulServiceCallServiceDiscoveryConfiguration(e.consulServiceDiscovery[0]):i.consulServiceDiscovery=t.readConsulServiceCallServiceDiscoveryConfiguration(e.consulServiceDiscovery)),(e==null?void 0:e.staticServiceDiscovery)!==void 0&&(Array.isArray(e.staticServiceDiscovery)?i.staticServiceDiscovery=t.readStaticServiceCallServiceDiscoveryConfiguration(e.staticServiceDiscovery[0]):i.staticServiceDiscovery=t.readStaticServiceCallServiceDiscoveryConfiguration(e.staticServiceDiscovery)),i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readCombinedServiceCallServiceFilterConfiguration=function(e){var i=e?new m.CombinedServiceCallServiceFilterConfiguration(E({},e)):new m.CombinedServiceCallServiceFilterConfiguration;return(e==null?void 0:e.blacklistServiceFilter)!==void 0&&(Array.isArray(e.blacklistServiceFilter)?i.blacklistServiceFilter=t.readBlacklistServiceCallServiceFilterConfiguration(e.blacklistServiceFilter[0]):i.blacklistServiceFilter=t.readBlacklistServiceCallServiceFilterConfiguration(e.blacklistServiceFilter)),(e==null?void 0:e.passThroughServiceFilter)!==void 0&&(Array.isArray(e.passThroughServiceFilter)?i.passThroughServiceFilter=t.readPassThroughServiceCallServiceFilterConfiguration(e.passThroughServiceFilter[0]):i.passThroughServiceFilter=t.readPassThroughServiceCallServiceFilterConfiguration(e.passThroughServiceFilter)),(e==null?void 0:e.healthyServiceFilter)!==void 0&&(Array.isArray(e.healthyServiceFilter)?i.healthyServiceFilter=t.readHealthyServiceCallServiceFilterConfiguration(e.healthyServiceFilter[0]):i.healthyServiceFilter=t.readHealthyServiceCallServiceFilterConfiguration(e.healthyServiceFilter)),(e==null?void 0:e.customServiceFilter)!==void 0&&(Array.isArray(e.customServiceFilter)?i.customServiceFilter=t.readCustomServiceCallServiceFilterConfiguration(e.customServiceFilter[0]):i.customServiceFilter=t.readCustomServiceCallServiceFilterConfiguration(e.customServiceFilter)),i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readConsulServiceCallServiceDiscoveryConfiguration=function(e){var i=e?new m.ConsulServiceCallServiceDiscoveryConfiguration(E({},e)):new m.ConsulServiceCallServiceDiscoveryConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readCustomServiceCallServiceFilterConfiguration=function(e){var i=e?new m.CustomServiceCallServiceFilterConfiguration(E({},e)):new m.CustomServiceCallServiceFilterConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readDefaultServiceCallServiceLoadBalancerConfiguration=function(e){var i=e?new m.DefaultServiceCallServiceLoadBalancerConfiguration(E({},e)):new m.DefaultServiceCallServiceLoadBalancerConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readDnsServiceCallServiceDiscoveryConfiguration=function(e){var i=e?new m.DnsServiceCallServiceDiscoveryConfiguration(E({},e)):new m.DnsServiceCallServiceDiscoveryConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readHealthyServiceCallServiceFilterConfiguration=function(e){var i=e?new m.HealthyServiceCallServiceFilterConfiguration(E({},e)):new m.HealthyServiceCallServiceFilterConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readKubernetesServiceCallServiceDiscoveryConfiguration=function(e){var i=e?new m.KubernetesServiceCallServiceDiscoveryConfiguration(E({},e)):new m.KubernetesServiceCallServiceDiscoveryConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readPassThroughServiceCallServiceFilterConfiguration=function(e){var i=e?new m.PassThroughServiceCallServiceFilterConfiguration(E({},e)):new m.PassThroughServiceCallServiceFilterConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readServiceCallConfigurationDefinition=function(e){var i=e?new m.ServiceCallConfigurationDefinition(E({},e)):new m.ServiceCallConfigurationDefinition;return i=vi.ComponentApi.parseElementUri(i),(e==null?void 0:e.defaultLoadBalancer)!==void 0&&(Array.isArray(e.defaultLoadBalancer)?i.defaultLoadBalancer=t.readDefaultServiceCallServiceLoadBalancerConfiguration(e.defaultLoadBalancer[0]):i.defaultLoadBalancer=t.readDefaultServiceCallServiceLoadBalancerConfiguration(e.defaultLoadBalancer)),(e==null?void 0:e.expression)!==void 0&&(Array.isArray(e.expression)?i.expression=t.readServiceCallExpressionConfiguration(e.expression[0]):i.expression=t.readServiceCallExpressionConfiguration(e.expression)),(e==null?void 0:e.kubernetesServiceDiscovery)!==void 0&&(Array.isArray(e.kubernetesServiceDiscovery)?i.kubernetesServiceDiscovery=t.readKubernetesServiceCallServiceDiscoveryConfiguration(e.kubernetesServiceDiscovery[0]):i.kubernetesServiceDiscovery=t.readKubernetesServiceCallServiceDiscoveryConfiguration(e.kubernetesServiceDiscovery)),(e==null?void 0:e.customServiceFilter)!==void 0&&(Array.isArray(e.customServiceFilter)?i.customServiceFilter=t.readCustomServiceCallServiceFilterConfiguration(e.customServiceFilter[0]):i.customServiceFilter=t.readCustomServiceCallServiceFilterConfiguration(e.customServiceFilter)),(e==null?void 0:e.zookeeperServiceDiscovery)!==void 0&&(Array.isArray(e.zookeeperServiceDiscovery)?i.zookeeperServiceDiscovery=t.readZooKeeperServiceCallServiceDiscoveryConfiguration(e.zookeeperServiceDiscovery[0]):i.zookeeperServiceDiscovery=t.readZooKeeperServiceCallServiceDiscoveryConfiguration(e.zookeeperServiceDiscovery)),(e==null?void 0:e.blacklistServiceFilter)!==void 0&&(Array.isArray(e.blacklistServiceFilter)?i.blacklistServiceFilter=t.readBlacklistServiceCallServiceFilterConfiguration(e.blacklistServiceFilter[0]):i.blacklistServiceFilter=t.readBlacklistServiceCallServiceFilterConfiguration(e.blacklistServiceFilter)),(e==null?void 0:e.passThroughServiceFilter)!==void 0&&(Array.isArray(e.passThroughServiceFilter)?i.passThroughServiceFilter=t.readPassThroughServiceCallServiceFilterConfiguration(e.passThroughServiceFilter[0]):i.passThroughServiceFilter=t.readPassThroughServiceCallServiceFilterConfiguration(e.passThroughServiceFilter)),(e==null?void 0:e.cachingServiceDiscovery)!==void 0&&(Array.isArray(e.cachingServiceDiscovery)?i.cachingServiceDiscovery=t.readCachingServiceCallServiceDiscoveryConfiguration(e.cachingServiceDiscovery[0]):i.cachingServiceDiscovery=t.readCachingServiceCallServiceDiscoveryConfiguration(e.cachingServiceDiscovery)),(e==null?void 0:e.dnsServiceDiscovery)!==void 0&&(Array.isArray(e.dnsServiceDiscovery)?i.dnsServiceDiscovery=t.readDnsServiceCallServiceDiscoveryConfiguration(e.dnsServiceDiscovery[0]):i.dnsServiceDiscovery=t.readDnsServiceCallServiceDiscoveryConfiguration(e.dnsServiceDiscovery)),(e==null?void 0:e.healthyServiceFilter)!==void 0&&(Array.isArray(e.healthyServiceFilter)?i.healthyServiceFilter=t.readHealthyServiceCallServiceFilterConfiguration(e.healthyServiceFilter[0]):i.healthyServiceFilter=t.readHealthyServiceCallServiceFilterConfiguration(e.healthyServiceFilter)),(e==null?void 0:e.combinedServiceFilter)!==void 0&&(Array.isArray(e.combinedServiceFilter)?i.combinedServiceFilter=t.readCombinedServiceCallServiceFilterConfiguration(e.combinedServiceFilter[0]):i.combinedServiceFilter=t.readCombinedServiceCallServiceFilterConfiguration(e.combinedServiceFilter)),(e==null?void 0:e.consulServiceDiscovery)!==void 0&&(Array.isArray(e.consulServiceDiscovery)?i.consulServiceDiscovery=t.readConsulServiceCallServiceDiscoveryConfiguration(e.consulServiceDiscovery[0]):i.consulServiceDiscovery=t.readConsulServiceCallServiceDiscoveryConfiguration(e.consulServiceDiscovery)),(e==null?void 0:e.staticServiceDiscovery)!==void 0&&(Array.isArray(e.staticServiceDiscovery)?i.staticServiceDiscovery=t.readStaticServiceCallServiceDiscoveryConfiguration(e.staticServiceDiscovery[0]):i.staticServiceDiscovery=t.readStaticServiceCallServiceDiscoveryConfiguration(e.staticServiceDiscovery)),(e==null?void 0:e.combinedServiceDiscovery)!==void 0&&(Array.isArray(e.combinedServiceDiscovery)?i.combinedServiceDiscovery=t.readCombinedServiceCallServiceDiscoveryConfiguration(e.combinedServiceDiscovery[0]):i.combinedServiceDiscovery=t.readCombinedServiceCallServiceDiscoveryConfiguration(e.combinedServiceDiscovery)),i},t.readServiceCallDefinition=function(e){e&&typeof e=="string"&&(e={name:e});var i=e?new m.ServiceCallDefinition(E({},e)):new m.ServiceCallDefinition;return i=vi.ComponentApi.parseElementUri(i),(e==null?void 0:e.defaultLoadBalancer)!==void 0&&(Array.isArray(e.defaultLoadBalancer)?i.defaultLoadBalancer=t.readDefaultServiceCallServiceLoadBalancerConfiguration(e.defaultLoadBalancer[0]):i.defaultLoadBalancer=t.readDefaultServiceCallServiceLoadBalancerConfiguration(e.defaultLoadBalancer)),(e==null?void 0:e.expression)!==void 0&&(Array.isArray(e.expression)?i.expression=t.readServiceCallExpressionConfiguration(e.expression[0]):i.expression=t.readServiceCallExpressionConfiguration(e.expression)),(e==null?void 0:e.kubernetesServiceDiscovery)!==void 0&&(Array.isArray(e.kubernetesServiceDiscovery)?i.kubernetesServiceDiscovery=t.readKubernetesServiceCallServiceDiscoveryConfiguration(e.kubernetesServiceDiscovery[0]):i.kubernetesServiceDiscovery=t.readKubernetesServiceCallServiceDiscoveryConfiguration(e.kubernetesServiceDiscovery)),(e==null?void 0:e.customServiceFilter)!==void 0&&(Array.isArray(e.customServiceFilter)?i.customServiceFilter=t.readCustomServiceCallServiceFilterConfiguration(e.customServiceFilter[0]):i.customServiceFilter=t.readCustomServiceCallServiceFilterConfiguration(e.customServiceFilter)),(e==null?void 0:e.zookeeperServiceDiscovery)!==void 0&&(Array.isArray(e.zookeeperServiceDiscovery)?i.zookeeperServiceDiscovery=t.readZooKeeperServiceCallServiceDiscoveryConfiguration(e.zookeeperServiceDiscovery[0]):i.zookeeperServiceDiscovery=t.readZooKeeperServiceCallServiceDiscoveryConfiguration(e.zookeeperServiceDiscovery)),(e==null?void 0:e.blacklistServiceFilter)!==void 0&&(Array.isArray(e.blacklistServiceFilter)?i.blacklistServiceFilter=t.readBlacklistServiceCallServiceFilterConfiguration(e.blacklistServiceFilter[0]):i.blacklistServiceFilter=t.readBlacklistServiceCallServiceFilterConfiguration(e.blacklistServiceFilter)),(e==null?void 0:e.passThroughServiceFilter)!==void 0&&(Array.isArray(e.passThroughServiceFilter)?i.passThroughServiceFilter=t.readPassThroughServiceCallServiceFilterConfiguration(e.passThroughServiceFilter[0]):i.passThroughServiceFilter=t.readPassThroughServiceCallServiceFilterConfiguration(e.passThroughServiceFilter)),(e==null?void 0:e.cachingServiceDiscovery)!==void 0&&(Array.isArray(e.cachingServiceDiscovery)?i.cachingServiceDiscovery=t.readCachingServiceCallServiceDiscoveryConfiguration(e.cachingServiceDiscovery[0]):i.cachingServiceDiscovery=t.readCachingServiceCallServiceDiscoveryConfiguration(e.cachingServiceDiscovery)),(e==null?void 0:e.dnsServiceDiscovery)!==void 0&&(Array.isArray(e.dnsServiceDiscovery)?i.dnsServiceDiscovery=t.readDnsServiceCallServiceDiscoveryConfiguration(e.dnsServiceDiscovery[0]):i.dnsServiceDiscovery=t.readDnsServiceCallServiceDiscoveryConfiguration(e.dnsServiceDiscovery)),(e==null?void 0:e.healthyServiceFilter)!==void 0&&(Array.isArray(e.healthyServiceFilter)?i.healthyServiceFilter=t.readHealthyServiceCallServiceFilterConfiguration(e.healthyServiceFilter[0]):i.healthyServiceFilter=t.readHealthyServiceCallServiceFilterConfiguration(e.healthyServiceFilter)),(e==null?void 0:e.combinedServiceFilter)!==void 0&&(Array.isArray(e.combinedServiceFilter)?i.combinedServiceFilter=t.readCombinedServiceCallServiceFilterConfiguration(e.combinedServiceFilter[0]):i.combinedServiceFilter=t.readCombinedServiceCallServiceFilterConfiguration(e.combinedServiceFilter)),(e==null?void 0:e.consulServiceDiscovery)!==void 0&&(Array.isArray(e.consulServiceDiscovery)?i.consulServiceDiscovery=t.readConsulServiceCallServiceDiscoveryConfiguration(e.consulServiceDiscovery[0]):i.consulServiceDiscovery=t.readConsulServiceCallServiceDiscoveryConfiguration(e.consulServiceDiscovery)),(e==null?void 0:e.staticServiceDiscovery)!==void 0&&(Array.isArray(e.staticServiceDiscovery)?i.staticServiceDiscovery=t.readStaticServiceCallServiceDiscoveryConfiguration(e.staticServiceDiscovery[0]):i.staticServiceDiscovery=t.readStaticServiceCallServiceDiscoveryConfiguration(e.staticServiceDiscovery)),(e==null?void 0:e.combinedServiceDiscovery)!==void 0&&(Array.isArray(e.combinedServiceDiscovery)?i.combinedServiceDiscovery=t.readCombinedServiceCallServiceDiscoveryConfiguration(e.combinedServiceDiscovery[0]):i.combinedServiceDiscovery=t.readCombinedServiceCallServiceDiscoveryConfiguration(e.combinedServiceDiscovery)),i},t.readServiceCallExpressionConfiguration=function(e){var i=e?new m.ServiceCallExpressionConfiguration(E({},e)):new m.ServiceCallExpressionConfiguration;if((e==null?void 0:e.expressionType)!==void 0)i.expressionType=t.readExpressionDefinition(e.expressionType);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expressionType=t.readExpressionDefinition(s),delete i[n]}}return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(r){return t.readPropertyDefinition(r)}):[],i},t.readServiceCallServiceChooserConfiguration=function(e){var i=e?new m.ServiceCallServiceChooserConfiguration(E({},e)):new m.ServiceCallServiceChooserConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readServiceCallServiceDiscoveryConfiguration=function(e){var i=e?new m.ServiceCallServiceDiscoveryConfiguration(E({},e)):new m.ServiceCallServiceDiscoveryConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readServiceCallServiceFilterConfiguration=function(e){var i=e?new m.ServiceCallServiceFilterConfiguration(E({},e)):new m.ServiceCallServiceFilterConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readServiceCallServiceLoadBalancerConfiguration=function(e){var i=e?new m.ServiceCallServiceLoadBalancerConfiguration(E({},e)):new m.ServiceCallServiceLoadBalancerConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readStaticServiceCallServiceDiscoveryConfiguration=function(e){var i=e?new m.StaticServiceCallServiceDiscoveryConfiguration(E({},e)):new m.StaticServiceCallServiceDiscoveryConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readZooKeeperServiceCallServiceDiscoveryConfiguration=function(e){var i=e?new m.ZooKeeperServiceCallServiceDiscoveryConfiguration(E({},e)):new m.ZooKeeperServiceCallServiceDiscoveryConfiguration;return i.properties=e&&(e!=null&&e.properties)?e==null?void 0:e.properties.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readBatchResequencerConfig=function(e){var i=e?new m.BatchResequencerConfig(E({},e)):new m.BatchResequencerConfig;return i},t.readStreamResequencerConfig=function(e){var i=e?new m.StreamResequencerConfig(E({},e)):new m.StreamResequencerConfig;return i},t.readASN1DataFormat=function(e){var i=e?new m.ASN1DataFormat(E({},e)):new m.ASN1DataFormat;return i},t.readAny23DataFormat=function(e){var i=e?new m.Any23DataFormat(E({},e)):new m.Any23DataFormat;return i.configuration=e&&(e!=null&&e.configuration)?e==null?void 0:e.configuration.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readAvroDataFormat=function(e){var i=e?new m.AvroDataFormat(E({},e)):new m.AvroDataFormat;return i},t.readBarcodeDataFormat=function(e){var i=e?new m.BarcodeDataFormat(E({},e)):new m.BarcodeDataFormat;return i},t.readBase64DataFormat=function(e){var i=e?new m.Base64DataFormat(E({},e)):new m.Base64DataFormat;return i},t.readBindyDataFormat=function(e){var i=e?new m.BindyDataFormat(E({},e)):new m.BindyDataFormat;return i},t.readCBORDataFormat=function(e){var i=e?new m.CBORDataFormat(E({},e)):new m.CBORDataFormat;return i},t.readCryptoDataFormat=function(e){var i=e?new m.CryptoDataFormat(E({},e)):new m.CryptoDataFormat;return i},t.readCsvDataFormat=function(e){var i=e?new m.CsvDataFormat(E({},e)):new m.CsvDataFormat;return i},t.readCustomDataFormat=function(e){e&&typeof e=="string"&&(e={ref:e});var i=e?new m.CustomDataFormat(E({},e)):new m.CustomDataFormat;return i},t.readDataFormatsDefinition=function(e){var i=e?new m.DataFormatsDefinition(E({},e)):new m.DataFormatsDefinition;return(e==null?void 0:e.univocityCsv)!==void 0&&(Array.isArray(e.univocityCsv)?i.univocityCsv=t.readUniVocityCsvDataFormat(e.univocityCsv[0]):i.univocityCsv=t.readUniVocityCsvDataFormat(e.univocityCsv)),(e==null?void 0:e.protobuf)!==void 0&&(Array.isArray(e.protobuf)?i.protobuf=t.readProtobufDataFormat(e.protobuf[0]):i.protobuf=t.readProtobufDataFormat(e.protobuf)),(e==null?void 0:e.tarFile)!==void 0&&(Array.isArray(e.tarFile)?i.tarFile=t.readTarFileDataFormat(e.tarFile[0]):i.tarFile=t.readTarFileDataFormat(e.tarFile)),(e==null?void 0:e.tidyMarkup)!==void 0&&(Array.isArray(e.tidyMarkup)?i.tidyMarkup=t.readTidyMarkupDataFormat(e.tidyMarkup[0]):i.tidyMarkup=t.readTidyMarkupDataFormat(e.tidyMarkup)),(e==null?void 0:e.csv)!==void 0&&(Array.isArray(e.csv)?i.csv=t.readCsvDataFormat(e.csv[0]):i.csv=t.readCsvDataFormat(e.csv)),(e==null?void 0:e.base64)!==void 0&&(Array.isArray(e.base64)?i.base64=t.readBase64DataFormat(e.base64[0]):i.base64=t.readBase64DataFormat(e.base64)),(e==null?void 0:e.zipDeflater)!==void 0&&(Array.isArray(e.zipDeflater)?i.zipDeflater=t.readZipDeflaterDataFormat(e.zipDeflater[0]):i.zipDeflater=t.readZipDeflaterDataFormat(e.zipDeflater)),(e==null?void 0:e.bindy)!==void 0&&(Array.isArray(e.bindy)?i.bindy=t.readBindyDataFormat(e.bindy[0]):i.bindy=t.readBindyDataFormat(e.bindy)),(e==null?void 0:e.syslog)!==void 0&&(Array.isArray(e.syslog)?i.syslog=t.readSyslogDataFormat(e.syslog[0]):i.syslog=t.readSyslogDataFormat(e.syslog)),(e==null?void 0:e.zipFile)!==void 0&&(Array.isArray(e.zipFile)?i.zipFile=t.readZipFileDataFormat(e.zipFile[0]):i.zipFile=t.readZipFileDataFormat(e.zipFile)),(e==null?void 0:e.jaxb)!==void 0&&(Array.isArray(e.jaxb)?i.jaxb=t.readJaxbDataFormat(e.jaxb[0]):i.jaxb=t.readJaxbDataFormat(e.jaxb)),(e==null?void 0:e.rss)!==void 0&&(Array.isArray(e.rss)?i.rss=t.readRssDataFormat(e.rss[0]):i.rss=t.readRssDataFormat(e.rss)),(e==null?void 0:e.mimeMultipart)!==void 0&&(Array.isArray(e.mimeMultipart)?i.mimeMultipart=t.readMimeMultipartDataFormat(e.mimeMultipart[0]):i.mimeMultipart=t.readMimeMultipartDataFormat(e.mimeMultipart)),(e==null?void 0:e.asn1)!==void 0&&(Array.isArray(e.asn1)?i.asn1=t.readASN1DataFormat(e.asn1[0]):i.asn1=t.readASN1DataFormat(e.asn1)),(e==null?void 0:e.pgp)!==void 0&&(Array.isArray(e.pgp)?i.pgp=t.readPGPDataFormat(e.pgp[0]):i.pgp=t.readPGPDataFormat(e.pgp)),(e==null?void 0:e.thrift)!==void 0&&(Array.isArray(e.thrift)?i.thrift=t.readThriftDataFormat(e.thrift[0]):i.thrift=t.readThriftDataFormat(e.thrift)),(e==null?void 0:e.json)!==void 0&&(Array.isArray(e.json)?i.json=t.readJsonDataFormat(e.json[0]):i.json=t.readJsonDataFormat(e.json)),(e==null?void 0:e.lzf)!==void 0&&(Array.isArray(e.lzf)?i.lzf=t.readLZFDataFormat(e.lzf[0]):i.lzf=t.readLZFDataFormat(e.lzf)),(e==null?void 0:e.fhirXml)!==void 0&&(Array.isArray(e.fhirXml)?i.fhirXml=t.readFhirXmlDataFormat(e.fhirXml[0]):i.fhirXml=t.readFhirXmlDataFormat(e.fhirXml)),(e==null?void 0:e.barcode)!==void 0&&(Array.isArray(e.barcode)?i.barcode=t.readBarcodeDataFormat(e.barcode[0]):i.barcode=t.readBarcodeDataFormat(e.barcode)),(e==null?void 0:e.avro)!==void 0&&(Array.isArray(e.avro)?i.avro=t.readAvroDataFormat(e.avro[0]):i.avro=t.readAvroDataFormat(e.avro)),(e==null?void 0:e.yaml)!==void 0&&(Array.isArray(e.yaml)?i.yaml=t.readYAMLDataFormat(e.yaml[0]):i.yaml=t.readYAMLDataFormat(e.yaml)),(e==null?void 0:e.fhirJson)!==void 0&&(Array.isArray(e.fhirJson)?i.fhirJson=t.readFhirJsonDataFormat(e.fhirJson[0]):i.fhirJson=t.readFhirJsonDataFormat(e.fhirJson)),(e==null?void 0:e.any23)!==void 0&&(Array.isArray(e.any23)?i.any23=t.readAny23DataFormat(e.any23[0]):i.any23=t.readAny23DataFormat(e.any23)),(e==null?void 0:e.custom)!==void 0&&(Array.isArray(e.custom)?i.custom=t.readCustomDataFormat(e.custom[0]):i.custom=t.readCustomDataFormat(e.custom)),(e==null?void 0:e.flatpack)!==void 0&&(Array.isArray(e.flatpack)?i.flatpack=t.readFlatpackDataFormat(e.flatpack[0]):i.flatpack=t.readFlatpackDataFormat(e.flatpack)),(e==null?void 0:e.swiftMx)!==void 0&&(Array.isArray(e.swiftMx)?i.swiftMx=t.readSwiftMxDataFormat(e.swiftMx[0]):i.swiftMx=t.readSwiftMxDataFormat(e.swiftMx)),(e==null?void 0:e.cbor)!==void 0&&(Array.isArray(e.cbor)?i.cbor=t.readCBORDataFormat(e.cbor[0]):i.cbor=t.readCBORDataFormat(e.cbor)),(e==null?void 0:e.crypto)!==void 0&&(Array.isArray(e.crypto)?i.crypto=t.readCryptoDataFormat(e.crypto[0]):i.crypto=t.readCryptoDataFormat(e.crypto)),(e==null?void 0:e.swiftMt)!==void 0&&(Array.isArray(e.swiftMt)?i.swiftMt=t.readSwiftMtDataFormat(e.swiftMt[0]):i.swiftMt=t.readSwiftMtDataFormat(e.swiftMt)),(e==null?void 0:e.univocityTsv)!==void 0&&(Array.isArray(e.univocityTsv)?i.univocityTsv=t.readUniVocityTsvDataFormat(e.univocityTsv[0]):i.univocityTsv=t.readUniVocityTsvDataFormat(e.univocityTsv)),(e==null?void 0:e.hl7)!==void 0&&(Array.isArray(e.hl7)?i.hl7=t.readHL7DataFormat(e.hl7[0]):i.hl7=t.readHL7DataFormat(e.hl7)),(e==null?void 0:e.jsonApi)!==void 0&&(Array.isArray(e.jsonApi)?i.jsonApi=t.readJsonApiDataFormat(e.jsonApi[0]):i.jsonApi=t.readJsonApiDataFormat(e.jsonApi)),(e==null?void 0:e.xmlSecurity)!==void 0&&(Array.isArray(e.xmlSecurity)?i.xmlSecurity=t.readXMLSecurityDataFormat(e.xmlSecurity[0]):i.xmlSecurity=t.readXMLSecurityDataFormat(e.xmlSecurity)),(e==null?void 0:e.ical)!==void 0&&(Array.isArray(e.ical)?i.ical=t.readIcalDataFormat(e.ical[0]):i.ical=t.readIcalDataFormat(e.ical)),(e==null?void 0:e.univocityFixed)!==void 0&&(Array.isArray(e.univocityFixed)?i.univocityFixed=t.readUniVocityFixedDataFormat(e.univocityFixed[0]):i.univocityFixed=t.readUniVocityFixedDataFormat(e.univocityFixed)),(e==null?void 0:e.jacksonXml)!==void 0&&(Array.isArray(e.jacksonXml)?i.jacksonXml=t.readJacksonXMLDataFormat(e.jacksonXml[0]):i.jacksonXml=t.readJacksonXMLDataFormat(e.jacksonXml)),(e==null?void 0:e.grok)!==void 0&&(Array.isArray(e.grok)?i.grok=t.readGrokDataFormat(e.grok[0]):i.grok=t.readGrokDataFormat(e.grok)),(e==null?void 0:e.xstream)!==void 0&&(Array.isArray(e.xstream)?i.xstream=t.readXStreamDataFormat(e.xstream[0]):i.xstream=t.readXStreamDataFormat(e.xstream)),(e==null?void 0:e.gzipDeflater)!==void 0&&(Array.isArray(e.gzipDeflater)?i.gzipDeflater=t.readGzipDeflaterDataFormat(e.gzipDeflater[0]):i.gzipDeflater=t.readGzipDeflaterDataFormat(e.gzipDeflater)),(e==null?void 0:e.soap)!==void 0&&(Array.isArray(e.soap)?i.soap=t.readSoapDataFormat(e.soap[0]):i.soap=t.readSoapDataFormat(e.soap)),i},t.readFhirJsonDataFormat=function(e){var i=e?new m.FhirJsonDataFormat(E({},e)):new m.FhirJsonDataFormat;return i},t.readFhirXmlDataFormat=function(e){var i=e?new m.FhirXmlDataFormat(E({},e)):new m.FhirXmlDataFormat;return i},t.readFlatpackDataFormat=function(e){var i=e?new m.FlatpackDataFormat(E({},e)):new m.FlatpackDataFormat;return i},t.readGrokDataFormat=function(e){var i=e?new m.GrokDataFormat(E({},e)):new m.GrokDataFormat;return i},t.readGzipDeflaterDataFormat=function(e){var i=e?new m.GzipDeflaterDataFormat(E({},e)):new m.GzipDeflaterDataFormat;return i},t.readHL7DataFormat=function(e){var i=e?new m.HL7DataFormat(E({},e)):new m.HL7DataFormat;return i},t.readIcalDataFormat=function(e){var i=e?new m.IcalDataFormat(E({},e)):new m.IcalDataFormat;return i},t.readJacksonXMLDataFormat=function(e){var i=e?new m.JacksonXMLDataFormat(E({},e)):new m.JacksonXMLDataFormat;return i},t.readJaxbDataFormat=function(e){var i=e?new m.JaxbDataFormat(E({},e)):new m.JaxbDataFormat;return i},t.readJsonApiDataFormat=function(e){var i=e?new m.JsonApiDataFormat(E({},e)):new m.JsonApiDataFormat;return i},t.readJsonDataFormat=function(e){var i=e?new m.JsonDataFormat(E({},e)):new m.JsonDataFormat;return i},t.readLZFDataFormat=function(e){var i=e?new m.LZFDataFormat(E({},e)):new m.LZFDataFormat;return i},t.readMimeMultipartDataFormat=function(e){var i=e?new m.MimeMultipartDataFormat(E({},e)):new m.MimeMultipartDataFormat;return i},t.readPGPDataFormat=function(e){var i=e?new m.PGPDataFormat(E({},e)):new m.PGPDataFormat;return i},t.readProtobufDataFormat=function(e){var i=e?new m.ProtobufDataFormat(E({},e)):new m.ProtobufDataFormat;return i},t.readRssDataFormat=function(e){var i=e?new m.RssDataFormat(E({},e)):new m.RssDataFormat;return i},t.readSoapDataFormat=function(e){e&&typeof e=="string"&&(e={contextPath:e});var i=e?new m.SoapDataFormat(E({},e)):new m.SoapDataFormat;return i},t.readSwiftMtDataFormat=function(e){var i=e?new m.SwiftMtDataFormat(E({},e)):new m.SwiftMtDataFormat;return i},t.readSwiftMxDataFormat=function(e){var i=e?new m.SwiftMxDataFormat(E({},e)):new m.SwiftMxDataFormat;return i},t.readSyslogDataFormat=function(e){var i=e?new m.SyslogDataFormat(E({},e)):new m.SyslogDataFormat;return i},t.readTarFileDataFormat=function(e){var i=e?new m.TarFileDataFormat(E({},e)):new m.TarFileDataFormat;return i},t.readThriftDataFormat=function(e){var i=e?new m.ThriftDataFormat(E({},e)):new m.ThriftDataFormat;return i},t.readTidyMarkupDataFormat=function(e){var i=e?new m.TidyMarkupDataFormat(E({},e)):new m.TidyMarkupDataFormat;return i},t.readUniVocityCsvDataFormat=function(e){var i=e?new m.UniVocityCsvDataFormat(E({},e)):new m.UniVocityCsvDataFormat;return i.univocityHeader=e&&(e!=null&&e.univocityHeader)?e==null?void 0:e.univocityHeader.map(function(n){return t.readUniVocityHeader(n)}):[],i},t.readUniVocityFixedDataFormat=function(e){var i=e?new m.UniVocityFixedDataFormat(E({},e)):new m.UniVocityFixedDataFormat;return i.univocityHeader=e&&(e!=null&&e.univocityHeader)?e==null?void 0:e.univocityHeader.map(function(n){return t.readUniVocityHeader(n)}):[],i},t.readUniVocityHeader=function(e){var i=e?new m.UniVocityHeader(E({},e)):new m.UniVocityHeader;return i},t.readUniVocityTsvDataFormat=function(e){var i=e?new m.UniVocityTsvDataFormat(E({},e)):new m.UniVocityTsvDataFormat;return i.univocityHeader=e&&(e!=null&&e.univocityHeader)?e==null?void 0:e.univocityHeader.map(function(n){return t.readUniVocityHeader(n)}):[],i},t.readXMLSecurityDataFormat=function(e){var i=e?new m.XMLSecurityDataFormat(E({},e)):new m.XMLSecurityDataFormat;return i},t.readXStreamDataFormat=function(e){var i=e?new m.XStreamDataFormat(E({},e)):new m.XStreamDataFormat;return i.omitFields=e&&(e!=null&&e.omitFields)?e==null?void 0:e.omitFields.map(function(n){return t.readPropertyDefinition(n)}):[],i.aliases=e&&(e!=null&&e.aliases)?e==null?void 0:e.aliases.map(function(n){return t.readPropertyDefinition(n)}):[],i.implicitCollections=e&&(e!=null&&e.implicitCollections)?e==null?void 0:e.implicitCollections.map(function(n){return t.readPropertyDefinition(n)}):[],i.converters=e&&(e!=null&&e.converters)?e==null?void 0:e.converters.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readYAMLDataFormat=function(e){var i=e?new m.YAMLDataFormat(E({},e)):new m.YAMLDataFormat;return i.typeFilter=e&&(e!=null&&e.typeFilter)?e==null?void 0:e.typeFilter.map(function(n){return t.readYAMLTypeFilterDefinition(n)}):[],i},t.readYAMLTypeFilterDefinition=function(e){var i=e?new m.YAMLTypeFilterDefinition(E({},e)):new m.YAMLTypeFilterDefinition;return i},t.readZipDeflaterDataFormat=function(e){var i=e?new m.ZipDeflaterDataFormat(E({},e)):new m.ZipDeflaterDataFormat;return i},t.readZipFileDataFormat=function(e){var i=e?new m.ZipFileDataFormat(E({},e)):new m.ZipFileDataFormat;return i},t.readDeadLetterChannelDefinition=function(e){var i=e?new m.DeadLetterChannelDefinition(E({},e)):new m.DeadLetterChannelDefinition;return(e==null?void 0:e.redeliveryPolicy)!==void 0&&(Array.isArray(e.redeliveryPolicy)?i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy[0]):i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy)),i},t.readDefaultErrorHandlerDefinition=function(e){var i=e?new m.DefaultErrorHandlerDefinition(E({},e)):new m.DefaultErrorHandlerDefinition;return(e==null?void 0:e.redeliveryPolicy)!==void 0&&(Array.isArray(e.redeliveryPolicy)?i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy[0]):i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy)),i},t.readJtaTransactionErrorHandlerDefinition=function(e){var i=e?new m.JtaTransactionErrorHandlerDefinition(E({},e)):new m.JtaTransactionErrorHandlerDefinition;return(e==null?void 0:e.redeliveryPolicy)!==void 0&&(Array.isArray(e.redeliveryPolicy)?i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy[0]):i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy)),i},t.readNoErrorHandlerDefinition=function(e){var i=e?new m.NoErrorHandlerDefinition(E({},e)):new m.NoErrorHandlerDefinition;return i},t.readRefErrorHandlerDefinition=function(e){e&&typeof e=="string"&&(e={ref:e});var i=e?new m.RefErrorHandlerDefinition(E({},e)):new m.RefErrorHandlerDefinition;return i},t.readSpringTransactionErrorHandlerDefinition=function(e){var i=e?new m.SpringTransactionErrorHandlerDefinition(E({},e)):new m.SpringTransactionErrorHandlerDefinition;return(e==null?void 0:e.redeliveryPolicy)!==void 0&&(Array.isArray(e.redeliveryPolicy)?i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy[0]):i.redeliveryPolicy=t.readRedeliveryPolicyDefinition(e.redeliveryPolicy)),i},t.readCSimpleExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.CSimpleExpression(E({},e)):new m.CSimpleExpression;return i},t.readConstantExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.ConstantExpression(E({},e)):new m.ConstantExpression;return i},t.readDatasonnetExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.DatasonnetExpression(E({},e)):new m.DatasonnetExpression;return i},t.readExchangePropertyExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.ExchangePropertyExpression(E({},e)):new m.ExchangePropertyExpression;return i},t.readExpressionDefinition=function(e){var i=e?new m.ExpressionDefinition(E({},e)):new m.ExpressionDefinition;return(e==null?void 0:e.ognl)!==void 0&&(Array.isArray(e.ognl)?i.ognl=t.readOgnlExpression(e.ognl[0]):i.ognl=t.readOgnlExpression(e.ognl)),(e==null?void 0:e.python)!==void 0&&(Array.isArray(e.python)?i.python=t.readPythonExpression(e.python[0]):i.python=t.readPythonExpression(e.python)),(e==null?void 0:e.constant)!==void 0&&(Array.isArray(e.constant)?i.constant=t.readConstantExpression(e.constant[0]):i.constant=t.readConstantExpression(e.constant)),(e==null?void 0:e.mvel)!==void 0&&(Array.isArray(e.mvel)?i.mvel=t.readMvelExpression(e.mvel[0]):i.mvel=t.readMvelExpression(e.mvel)),(e==null?void 0:e.method)!==void 0&&(Array.isArray(e.method)?i.method=t.readMethodCallExpression(e.method[0]):i.method=t.readMethodCallExpression(e.method)),(e==null?void 0:e.xquery)!==void 0&&(Array.isArray(e.xquery)?i.xquery=t.readXQueryExpression(e.xquery[0]):i.xquery=t.readXQueryExpression(e.xquery)),(e==null?void 0:e.datasonnet)!==void 0&&(Array.isArray(e.datasonnet)?i.datasonnet=t.readDatasonnetExpression(e.datasonnet[0]):i.datasonnet=t.readDatasonnetExpression(e.datasonnet)),(e==null?void 0:e.jq)!==void 0&&(Array.isArray(e.jq)?i.jq=t.readJqExpression(e.jq[0]):i.jq=t.readJqExpression(e.jq)),(e==null?void 0:e.js)!==void 0&&(Array.isArray(e.js)?i.js=t.readJavaScriptExpression(e.js[0]):i.js=t.readJavaScriptExpression(e.js)),(e==null?void 0:e.language)!==void 0&&(Array.isArray(e.language)?i.language=t.readLanguageExpression(e.language[0]):i.language=t.readLanguageExpression(e.language)),(e==null?void 0:e.simple)!==void 0&&(Array.isArray(e.simple)?i.simple=t.readSimpleExpression(e.simple[0]):i.simple=t.readSimpleExpression(e.simple)),(e==null?void 0:e.hl7terser)!==void 0&&(Array.isArray(e.hl7terser)?i.hl7terser=t.readHl7TerserExpression(e.hl7terser[0]):i.hl7terser=t.readHl7TerserExpression(e.hl7terser)),(e==null?void 0:e.tokenize)!==void 0&&(Array.isArray(e.tokenize)?i.tokenize=t.readTokenizerExpression(e.tokenize[0]):i.tokenize=t.readTokenizerExpression(e.tokenize)),(e==null?void 0:e.spel)!==void 0&&(Array.isArray(e.spel)?i.spel=t.readSpELExpression(e.spel[0]):i.spel=t.readSpELExpression(e.spel)),(e==null?void 0:e.ref)!==void 0&&(Array.isArray(e.ref)?i.ref=t.readRefExpression(e.ref[0]):i.ref=t.readRefExpression(e.ref)),(e==null?void 0:e.xpath)!==void 0&&(Array.isArray(e.xpath)?i.xpath=t.readXPathExpression(e.xpath[0]):i.xpath=t.readXPathExpression(e.xpath)),(e==null?void 0:e.groovy)!==void 0&&(Array.isArray(e.groovy)?i.groovy=t.readGroovyExpression(e.groovy[0]):i.groovy=t.readGroovyExpression(e.groovy)),(e==null?void 0:e.csimple)!==void 0&&(Array.isArray(e.csimple)?i.csimple=t.readCSimpleExpression(e.csimple[0]):i.csimple=t.readCSimpleExpression(e.csimple)),(e==null?void 0:e.exchangeProperty)!==void 0&&(Array.isArray(e.exchangeProperty)?i.exchangeProperty=t.readExchangePropertyExpression(e.exchangeProperty[0]):i.exchangeProperty=t.readExchangePropertyExpression(e.exchangeProperty)),(e==null?void 0:e.jsonpath)!==void 0&&(Array.isArray(e.jsonpath)?i.jsonpath=t.readJsonPathExpression(e.jsonpath[0]):i.jsonpath=t.readJsonPathExpression(e.jsonpath)),(e==null?void 0:e.header)!==void 0&&(Array.isArray(e.header)?i.header=t.readHeaderExpression(e.header[0]):i.header=t.readHeaderExpression(e.header)),(e==null?void 0:e.joor)!==void 0&&(Array.isArray(e.joor)?i.joor=t.readJoorExpression(e.joor[0]):i.joor=t.readJoorExpression(e.joor)),(e==null?void 0:e.xtokenize)!==void 0&&(Array.isArray(e.xtokenize)?i.xtokenize=t.readXMLTokenizerExpression(e.xtokenize[0]):i.xtokenize=t.readXMLTokenizerExpression(e.xtokenize)),i},t.readGroovyExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.GroovyExpression(E({},e)):new m.GroovyExpression;return i},t.readHeaderExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.HeaderExpression(E({},e)):new m.HeaderExpression;return i},t.readHl7TerserExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.Hl7TerserExpression(E({},e)):new m.Hl7TerserExpression;return i},t.readJavaScriptExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.JavaScriptExpression(E({},e)):new m.JavaScriptExpression;return i},t.readJoorExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.JoorExpression(E({},e)):new m.JoorExpression;return i},t.readJqExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.JqExpression(E({},e)):new m.JqExpression;return i},t.readJsonPathExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.JsonPathExpression(E({},e)):new m.JsonPathExpression;return i},t.readLanguageExpression=function(e){var i=e?new m.LanguageExpression(E({},e)):new m.LanguageExpression;return i},t.readMethodCallExpression=function(e){var i=e?new m.MethodCallExpression(E({},e)):new m.MethodCallExpression;return i},t.readMvelExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.MvelExpression(E({},e)):new m.MvelExpression;return i},t.readOgnlExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.OgnlExpression(E({},e)):new m.OgnlExpression;return i},t.readPythonExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.PythonExpression(E({},e)):new m.PythonExpression;return i},t.readRefExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.RefExpression(E({},e)):new m.RefExpression;return i},t.readSimpleExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.SimpleExpression(E({},e)):new m.SimpleExpression;return i},t.readSpELExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.SpELExpression(E({},e)):new m.SpELExpression;return i},t.readTokenizerExpression=function(e){e&&typeof e=="string"&&(e={token:e});var i=e?new m.TokenizerExpression(E({},e)):new m.TokenizerExpression;return i},t.readXMLTokenizerExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.XMLTokenizerExpression(E({},e)):new m.XMLTokenizerExpression;return i.namespace=e&&(e!=null&&e.namespace)?e==null?void 0:e.namespace.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readXPathExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.XPathExpression(E({},e)):new m.XPathExpression;return i.namespace=e&&(e!=null&&e.namespace)?e==null?void 0:e.namespace.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readXQueryExpression=function(e){e&&typeof e=="string"&&(e={expression:e});var i=e?new m.XQueryExpression(E({},e)):new m.XQueryExpression;return i.namespace=e&&(e!=null&&e.namespace)?e==null?void 0:e.namespace.map(function(n){return t.readPropertyDefinition(n)}):[],i},t.readCustomLoadBalancerDefinition=function(e){e&&typeof e=="string"&&(e={ref:e});var i=e?new m.CustomLoadBalancerDefinition(E({},e)):new m.CustomLoadBalancerDefinition;return i},t.readFailoverLoadBalancerDefinition=function(e){var i=e?new m.FailoverLoadBalancerDefinition(E({},e)):new m.FailoverLoadBalancerDefinition;return i},t.readRandomLoadBalancerDefinition=function(e){var i=e?new m.RandomLoadBalancerDefinition(E({},e)):new m.RandomLoadBalancerDefinition;return i},t.readRoundRobinLoadBalancerDefinition=function(e){var i=e?new m.RoundRobinLoadBalancerDefinition(E({},e)):new m.RoundRobinLoadBalancerDefinition;return i},t.readStickyLoadBalancerDefinition=function(e){var i=e?new m.StickyLoadBalancerDefinition(E({},e)):new m.StickyLoadBalancerDefinition;return(e==null?void 0:e.correlationExpression)!==void 0&&(Array.isArray(e.correlationExpression)?i.correlationExpression=t.readExpressionSubElementDefinition(e.correlationExpression[0]):i.correlationExpression=t.readExpressionSubElementDefinition(e.correlationExpression)),i},t.readTopicLoadBalancerDefinition=function(e){var i=e?new m.TopicLoadBalancerDefinition(E({},e)):new m.TopicLoadBalancerDefinition;return i},t.readWeightedLoadBalancerDefinition=function(e){var i=e?new m.WeightedLoadBalancerDefinition(E({},e)):new m.WeightedLoadBalancerDefinition;return i},t.readApiKeyDefinition=function(e){var i=e?new m.ApiKeyDefinition(E({},e)):new m.ApiKeyDefinition;return i},t.readBasicAuthDefinition=function(e){var i=e?new m.BasicAuthDefinition(E({},e)):new m.BasicAuthDefinition;return i},t.readBearerTokenDefinition=function(e){var i=e?new m.BearerTokenDefinition(E({},e)):new m.BearerTokenDefinition;return i},t.readDeleteDefinition=function(e){var i=e?new m.DeleteDefinition(E({},e)):new m.DeleteDefinition;return i.security=e&&(e!=null&&e.security)?e==null?void 0:e.security.map(function(n){return t.readSecurityDefinition(n)}):[],i.param=e&&(e!=null&&e.param)?e==null?void 0:e.param.map(function(n){return t.readParamDefinition(n)}):[],i.responseMessage=e&&(e!=null&&e.responseMessage)?e==null?void 0:e.responseMessage.map(function(n){return t.readResponseMessageDefinition(n)}):[],i},t.readGetDefinition=function(e){var i=e?new m.GetDefinition(E({},e)):new m.GetDefinition;return i.security=e&&(e!=null&&e.security)?e==null?void 0:e.security.map(function(n){return t.readSecurityDefinition(n)}):[],i.param=e&&(e!=null&&e.param)?e==null?void 0:e.param.map(function(n){return t.readParamDefinition(n)}):[],i.responseMessage=e&&(e!=null&&e.responseMessage)?e==null?void 0:e.responseMessage.map(function(n){return t.readResponseMessageDefinition(n)}):[],i},t.readHeadDefinition=function(e){var i=e?new m.HeadDefinition(E({},e)):new m.HeadDefinition;return i.security=e&&(e!=null&&e.security)?e==null?void 0:e.security.map(function(n){return t.readSecurityDefinition(n)}):[],i.param=e&&(e!=null&&e.param)?e==null?void 0:e.param.map(function(n){return t.readParamDefinition(n)}):[],i.responseMessage=e&&(e!=null&&e.responseMessage)?e==null?void 0:e.responseMessage.map(function(n){return t.readResponseMessageDefinition(n)}):[],i},t.readMutualTLSDefinition=function(e){var i=e?new m.MutualTLSDefinition(E({},e)):new m.MutualTLSDefinition;return i},t.readOAuth2Definition=function(e){var i=e?new m.OAuth2Definition(E({},e)):new m.OAuth2Definition;return i.scopes=e&&(e!=null&&e.scopes)?e==null?void 0:e.scopes.map(function(n){return t.readRestPropertyDefinition(n)}):[],i},t.readOpenIdConnectDefinition=function(e){var i=e?new m.OpenIdConnectDefinition(E({},e)):new m.OpenIdConnectDefinition;return i},t.readParamDefinition=function(e){var i=e?new m.ParamDefinition(E({},e)):new m.ParamDefinition;return i.allowableValues=e&&(e!=null&&e.allowableValues)?e==null?void 0:e.allowableValues.map(function(n){return t.readValueDefinition(n)}):[],i.examples=e&&(e!=null&&e.examples)?e==null?void 0:e.examples.map(function(n){return t.readRestPropertyDefinition(n)}):[],i},t.readPatchDefinition=function(e){var i=e?new m.PatchDefinition(E({},e)):new m.PatchDefinition;return i.security=e&&(e!=null&&e.security)?e==null?void 0:e.security.map(function(n){return t.readSecurityDefinition(n)}):[],i.param=e&&(e!=null&&e.param)?e==null?void 0:e.param.map(function(n){return t.readParamDefinition(n)}):[],i.responseMessage=e&&(e!=null&&e.responseMessage)?e==null?void 0:e.responseMessage.map(function(n){return t.readResponseMessageDefinition(n)}):[],i},t.readPostDefinition=function(e){var i=e?new m.PostDefinition(E({},e)):new m.PostDefinition;return i.security=e&&(e!=null&&e.security)?e==null?void 0:e.security.map(function(n){return t.readSecurityDefinition(n)}):[],i.param=e&&(e!=null&&e.param)?e==null?void 0:e.param.map(function(n){return t.readParamDefinition(n)}):[],i.responseMessage=e&&(e!=null&&e.responseMessage)?e==null?void 0:e.responseMessage.map(function(n){return t.readResponseMessageDefinition(n)}):[],i},t.readPutDefinition=function(e){var i=e?new m.PutDefinition(E({},e)):new m.PutDefinition;return i.security=e&&(e!=null&&e.security)?e==null?void 0:e.security.map(function(n){return t.readSecurityDefinition(n)}):[],i.param=e&&(e!=null&&e.param)?e==null?void 0:e.param.map(function(n){return t.readParamDefinition(n)}):[],i.responseMessage=e&&(e!=null&&e.responseMessage)?e==null?void 0:e.responseMessage.map(function(n){return t.readResponseMessageDefinition(n)}):[],i},t.readResponseHeaderDefinition=function(e){var i=e?new m.ResponseHeaderDefinition(E({},e)):new m.ResponseHeaderDefinition;return i.allowableValues=e&&(e!=null&&e.allowableValues)?e==null?void 0:e.allowableValues.map(function(n){return t.readValueDefinition(n)}):[],i},t.readResponseMessageDefinition=function(e){var i=e?new m.ResponseMessageDefinition(E({},e)):new m.ResponseMessageDefinition;return i.examples=e&&(e!=null&&e.examples)?e==null?void 0:e.examples.map(function(n){return t.readRestPropertyDefinition(n)}):[],i.header=e&&(e!=null&&e.header)?e==null?void 0:e.header.map(function(n){return t.readResponseHeaderDefinition(n)}):[],i},t.readRestBindingDefinition=function(e){var i=e?new m.RestBindingDefinition(E({},e)):new m.RestBindingDefinition;return i},t.readRestConfigurationDefinition=function(e){var i=e?new m.RestConfigurationDefinition(E({},e)):new m.RestConfigurationDefinition;return i.corsHeaders=e&&(e!=null&&e.corsHeaders)?e==null?void 0:e.corsHeaders.map(function(n){return t.readRestPropertyDefinition(n)}):[],i.dataFormatProperty=e&&(e!=null&&e.dataFormatProperty)?e==null?void 0:e.dataFormatProperty.map(function(n){return t.readRestPropertyDefinition(n)}):[],i.consumerProperty=e&&(e!=null&&e.consumerProperty)?e==null?void 0:e.consumerProperty.map(function(n){return t.readRestPropertyDefinition(n)}):[],i.apiProperty=e&&(e!=null&&e.apiProperty)?e==null?void 0:e.apiProperty.map(function(n){return t.readRestPropertyDefinition(n)}):[],i.endpointProperty=e&&(e!=null&&e.endpointProperty)?e==null?void 0:e.endpointProperty.map(function(n){return t.readRestPropertyDefinition(n)}):[],i.componentProperty=e&&(e!=null&&e.componentProperty)?e==null?void 0:e.componentProperty.map(function(n){return t.readRestPropertyDefinition(n)}):[],i},t.readRestDefinition=function(e){var i=e?new m.RestDefinition(E({},e)):new m.RestDefinition;return i.head=e&&(e!=null&&e.head)?e==null?void 0:e.head.map(function(n){return t.readHeadDefinition(n)}):[],i.patch=e&&(e!=null&&e.patch)?e==null?void 0:e.patch.map(function(n){return t.readPatchDefinition(n)}):[],i.post=e&&(e!=null&&e.post)?e==null?void 0:e.post.map(function(n){return t.readPostDefinition(n)}):[],i.get=e&&(e!=null&&e.get)?e==null?void 0:e.get.map(function(n){return t.readGetDefinition(n)}):[],i.securityRequirements=e&&(e!=null&&e.securityRequirements)?e==null?void 0:e.securityRequirements.map(function(n){return t.readSecurityDefinition(n)}):[],i.delete=e&&(e!=null&&e.delete)?e==null?void 0:e.delete.map(function(n){return t.readDeleteDefinition(n)}):[],(e==null?void 0:e.securityDefinitions)!==void 0&&(Array.isArray(e.securityDefinitions)?i.securityDefinitions=t.readRestSecuritiesDefinition(e.securityDefinitions[0]):i.securityDefinitions=t.readRestSecuritiesDefinition(e.securityDefinitions)),i.put=e&&(e!=null&&e.put)?e==null?void 0:e.put.map(function(n){return t.readPutDefinition(n)}):[],i},t.readRestPropertyDefinition=function(e){var i=e?new m.RestPropertyDefinition(E({},e)):new m.RestPropertyDefinition;return i},t.readRestSecuritiesDefinition=function(e){var i=e?new m.RestSecuritiesDefinition(E({},e)):new m.RestSecuritiesDefinition;return(e==null?void 0:e.openIdConnect)!==void 0&&(Array.isArray(e.openIdConnect)?i.openIdConnect=t.readOpenIdConnectDefinition(e.openIdConnect[0]):i.openIdConnect=t.readOpenIdConnectDefinition(e.openIdConnect)),(e==null?void 0:e.apiKey)!==void 0&&(Array.isArray(e.apiKey)?i.apiKey=t.readApiKeyDefinition(e.apiKey[0]):i.apiKey=t.readApiKeyDefinition(e.apiKey)),(e==null?void 0:e.basicAuth)!==void 0&&(Array.isArray(e.basicAuth)?i.basicAuth=t.readBasicAuthDefinition(e.basicAuth[0]):i.basicAuth=t.readBasicAuthDefinition(e.basicAuth)),(e==null?void 0:e.mutualTls)!==void 0&&(Array.isArray(e.mutualTls)?i.mutualTls=t.readMutualTLSDefinition(e.mutualTls[0]):i.mutualTls=t.readMutualTLSDefinition(e.mutualTls)),(e==null?void 0:e.bearer)!==void 0&&(Array.isArray(e.bearer)?i.bearer=t.readBearerTokenDefinition(e.bearer[0]):i.bearer=t.readBearerTokenDefinition(e.bearer)),(e==null?void 0:e.oauth2)!==void 0&&(Array.isArray(e.oauth2)?i.oauth2=t.readOAuth2Definition(e.oauth2[0]):i.oauth2=t.readOAuth2Definition(e.oauth2)),i},t.readRestsDefinition=function(e){var i=e?new m.RestsDefinition(E({},e)):new m.RestsDefinition;return i.rest=e&&(e!=null&&e.rest)?e==null?void 0:e.rest.map(function(n){return t.readRestDefinition(n)}):[],i},t.readSecurityDefinition=function(e){var i=e?new m.SecurityDefinition(E({},e)):new m.SecurityDefinition;return i},t.readCustomTransformerDefinition=function(e){var i=e?new m.CustomTransformerDefinition(E({},e)):new m.CustomTransformerDefinition;return i},t.readDataFormatTransformerDefinition=function(e){var i=e?new m.DataFormatTransformerDefinition(E({},e)):new m.DataFormatTransformerDefinition;return(e==null?void 0:e.univocityCsv)!==void 0&&(Array.isArray(e.univocityCsv)?i.univocityCsv=t.readUniVocityCsvDataFormat(e.univocityCsv[0]):i.univocityCsv=t.readUniVocityCsvDataFormat(e.univocityCsv)),(e==null?void 0:e.protobuf)!==void 0&&(Array.isArray(e.protobuf)?i.protobuf=t.readProtobufDataFormat(e.protobuf[0]):i.protobuf=t.readProtobufDataFormat(e.protobuf)),(e==null?void 0:e.tarFile)!==void 0&&(Array.isArray(e.tarFile)?i.tarFile=t.readTarFileDataFormat(e.tarFile[0]):i.tarFile=t.readTarFileDataFormat(e.tarFile)),(e==null?void 0:e.tidyMarkup)!==void 0&&(Array.isArray(e.tidyMarkup)?i.tidyMarkup=t.readTidyMarkupDataFormat(e.tidyMarkup[0]):i.tidyMarkup=t.readTidyMarkupDataFormat(e.tidyMarkup)),(e==null?void 0:e.csv)!==void 0&&(Array.isArray(e.csv)?i.csv=t.readCsvDataFormat(e.csv[0]):i.csv=t.readCsvDataFormat(e.csv)),(e==null?void 0:e.base64)!==void 0&&(Array.isArray(e.base64)?i.base64=t.readBase64DataFormat(e.base64[0]):i.base64=t.readBase64DataFormat(e.base64)),(e==null?void 0:e.zipDeflater)!==void 0&&(Array.isArray(e.zipDeflater)?i.zipDeflater=t.readZipDeflaterDataFormat(e.zipDeflater[0]):i.zipDeflater=t.readZipDeflaterDataFormat(e.zipDeflater)),(e==null?void 0:e.bindy)!==void 0&&(Array.isArray(e.bindy)?i.bindy=t.readBindyDataFormat(e.bindy[0]):i.bindy=t.readBindyDataFormat(e.bindy)),(e==null?void 0:e.syslog)!==void 0&&(Array.isArray(e.syslog)?i.syslog=t.readSyslogDataFormat(e.syslog[0]):i.syslog=t.readSyslogDataFormat(e.syslog)),(e==null?void 0:e.zipFile)!==void 0&&(Array.isArray(e.zipFile)?i.zipFile=t.readZipFileDataFormat(e.zipFile[0]):i.zipFile=t.readZipFileDataFormat(e.zipFile)),(e==null?void 0:e.jaxb)!==void 0&&(Array.isArray(e.jaxb)?i.jaxb=t.readJaxbDataFormat(e.jaxb[0]):i.jaxb=t.readJaxbDataFormat(e.jaxb)),(e==null?void 0:e.rss)!==void 0&&(Array.isArray(e.rss)?i.rss=t.readRssDataFormat(e.rss[0]):i.rss=t.readRssDataFormat(e.rss)),(e==null?void 0:e.mimeMultipart)!==void 0&&(Array.isArray(e.mimeMultipart)?i.mimeMultipart=t.readMimeMultipartDataFormat(e.mimeMultipart[0]):i.mimeMultipart=t.readMimeMultipartDataFormat(e.mimeMultipart)),(e==null?void 0:e.asn1)!==void 0&&(Array.isArray(e.asn1)?i.asn1=t.readASN1DataFormat(e.asn1[0]):i.asn1=t.readASN1DataFormat(e.asn1)),(e==null?void 0:e.pgp)!==void 0&&(Array.isArray(e.pgp)?i.pgp=t.readPGPDataFormat(e.pgp[0]):i.pgp=t.readPGPDataFormat(e.pgp)),(e==null?void 0:e.thrift)!==void 0&&(Array.isArray(e.thrift)?i.thrift=t.readThriftDataFormat(e.thrift[0]):i.thrift=t.readThriftDataFormat(e.thrift)),(e==null?void 0:e.json)!==void 0&&(Array.isArray(e.json)?i.json=t.readJsonDataFormat(e.json[0]):i.json=t.readJsonDataFormat(e.json)),(e==null?void 0:e.lzf)!==void 0&&(Array.isArray(e.lzf)?i.lzf=t.readLZFDataFormat(e.lzf[0]):i.lzf=t.readLZFDataFormat(e.lzf)),(e==null?void 0:e.fhirXml)!==void 0&&(Array.isArray(e.fhirXml)?i.fhirXml=t.readFhirXmlDataFormat(e.fhirXml[0]):i.fhirXml=t.readFhirXmlDataFormat(e.fhirXml)),(e==null?void 0:e.barcode)!==void 0&&(Array.isArray(e.barcode)?i.barcode=t.readBarcodeDataFormat(e.barcode[0]):i.barcode=t.readBarcodeDataFormat(e.barcode)),(e==null?void 0:e.avro)!==void 0&&(Array.isArray(e.avro)?i.avro=t.readAvroDataFormat(e.avro[0]):i.avro=t.readAvroDataFormat(e.avro)),(e==null?void 0:e.yaml)!==void 0&&(Array.isArray(e.yaml)?i.yaml=t.readYAMLDataFormat(e.yaml[0]):i.yaml=t.readYAMLDataFormat(e.yaml)),(e==null?void 0:e.fhirJson)!==void 0&&(Array.isArray(e.fhirJson)?i.fhirJson=t.readFhirJsonDataFormat(e.fhirJson[0]):i.fhirJson=t.readFhirJsonDataFormat(e.fhirJson)),(e==null?void 0:e.any23)!==void 0&&(Array.isArray(e.any23)?i.any23=t.readAny23DataFormat(e.any23[0]):i.any23=t.readAny23DataFormat(e.any23)),(e==null?void 0:e.custom)!==void 0&&(Array.isArray(e.custom)?i.custom=t.readCustomDataFormat(e.custom[0]):i.custom=t.readCustomDataFormat(e.custom)),(e==null?void 0:e.flatpack)!==void 0&&(Array.isArray(e.flatpack)?i.flatpack=t.readFlatpackDataFormat(e.flatpack[0]):i.flatpack=t.readFlatpackDataFormat(e.flatpack)),(e==null?void 0:e.swiftMx)!==void 0&&(Array.isArray(e.swiftMx)?i.swiftMx=t.readSwiftMxDataFormat(e.swiftMx[0]):i.swiftMx=t.readSwiftMxDataFormat(e.swiftMx)),(e==null?void 0:e.cbor)!==void 0&&(Array.isArray(e.cbor)?i.cbor=t.readCBORDataFormat(e.cbor[0]):i.cbor=t.readCBORDataFormat(e.cbor)),(e==null?void 0:e.crypto)!==void 0&&(Array.isArray(e.crypto)?i.crypto=t.readCryptoDataFormat(e.crypto[0]):i.crypto=t.readCryptoDataFormat(e.crypto)),(e==null?void 0:e.swiftMt)!==void 0&&(Array.isArray(e.swiftMt)?i.swiftMt=t.readSwiftMtDataFormat(e.swiftMt[0]):i.swiftMt=t.readSwiftMtDataFormat(e.swiftMt)),(e==null?void 0:e.univocityTsv)!==void 0&&(Array.isArray(e.univocityTsv)?i.univocityTsv=t.readUniVocityTsvDataFormat(e.univocityTsv[0]):i.univocityTsv=t.readUniVocityTsvDataFormat(e.univocityTsv)),(e==null?void 0:e.hl7)!==void 0&&(Array.isArray(e.hl7)?i.hl7=t.readHL7DataFormat(e.hl7[0]):i.hl7=t.readHL7DataFormat(e.hl7)),(e==null?void 0:e.jsonApi)!==void 0&&(Array.isArray(e.jsonApi)?i.jsonApi=t.readJsonApiDataFormat(e.jsonApi[0]):i.jsonApi=t.readJsonApiDataFormat(e.jsonApi)),(e==null?void 0:e.xmlSecurity)!==void 0&&(Array.isArray(e.xmlSecurity)?i.xmlSecurity=t.readXMLSecurityDataFormat(e.xmlSecurity[0]):i.xmlSecurity=t.readXMLSecurityDataFormat(e.xmlSecurity)),(e==null?void 0:e.ical)!==void 0&&(Array.isArray(e.ical)?i.ical=t.readIcalDataFormat(e.ical[0]):i.ical=t.readIcalDataFormat(e.ical)),(e==null?void 0:e.univocityFixed)!==void 0&&(Array.isArray(e.univocityFixed)?i.univocityFixed=t.readUniVocityFixedDataFormat(e.univocityFixed[0]):i.univocityFixed=t.readUniVocityFixedDataFormat(e.univocityFixed)),(e==null?void 0:e.jacksonXml)!==void 0&&(Array.isArray(e.jacksonXml)?i.jacksonXml=t.readJacksonXMLDataFormat(e.jacksonXml[0]):i.jacksonXml=t.readJacksonXMLDataFormat(e.jacksonXml)),(e==null?void 0:e.grok)!==void 0&&(Array.isArray(e.grok)?i.grok=t.readGrokDataFormat(e.grok[0]):i.grok=t.readGrokDataFormat(e.grok)),(e==null?void 0:e.xstream)!==void 0&&(Array.isArray(e.xstream)?i.xstream=t.readXStreamDataFormat(e.xstream[0]):i.xstream=t.readXStreamDataFormat(e.xstream)),(e==null?void 0:e.gzipDeflater)!==void 0&&(Array.isArray(e.gzipDeflater)?i.gzipDeflater=t.readGzipDeflaterDataFormat(e.gzipDeflater[0]):i.gzipDeflater=t.readGzipDeflaterDataFormat(e.gzipDeflater)),(e==null?void 0:e.soap)!==void 0&&(Array.isArray(e.soap)?i.soap=t.readSoapDataFormat(e.soap[0]):i.soap=t.readSoapDataFormat(e.soap)),i},t.readEndpointTransformerDefinition=function(e){var i=e?new m.EndpointTransformerDefinition(E({},e)):new m.EndpointTransformerDefinition;return i=vi.ComponentApi.parseElementUri(i),i},t.readTransformersDefinition=function(e){var i=e?new m.TransformersDefinition(E({},e)):new m.TransformersDefinition;return(e==null?void 0:e.endpointTransformer)!==void 0&&(Array.isArray(e.endpointTransformer)?i.endpointTransformer=t.readEndpointTransformerDefinition(e.endpointTransformer[0]):i.endpointTransformer=t.readEndpointTransformerDefinition(e.endpointTransformer)),(e==null?void 0:e.customTransformer)!==void 0&&(Array.isArray(e.customTransformer)?i.customTransformer=t.readCustomTransformerDefinition(e.customTransformer[0]):i.customTransformer=t.readCustomTransformerDefinition(e.customTransformer)),(e==null?void 0:e.dataFormatTransformer)!==void 0&&(Array.isArray(e.dataFormatTransformer)?i.dataFormatTransformer=t.readDataFormatTransformerDefinition(e.dataFormatTransformer[0]):i.dataFormatTransformer=t.readDataFormatTransformerDefinition(e.dataFormatTransformer)),i},t.readCustomValidatorDefinition=function(e){var i=e?new m.CustomValidatorDefinition(E({},e)):new m.CustomValidatorDefinition;return i},t.readEndpointValidatorDefinition=function(e){var i=e?new m.EndpointValidatorDefinition(E({},e)):new m.EndpointValidatorDefinition;return i=vi.ComponentApi.parseElementUri(i),i},t.readPredicateValidatorDefinition=function(e){var i=e?new m.PredicateValidatorDefinition(E({},e)):new m.PredicateValidatorDefinition;if((e==null?void 0:e.expression)!==void 0)i.expression=t.readExpressionDefinition(e.expression);else{var n=Object.keys(e).filter(function(r){return je.CamelMetadataApi.hasLanguage(r)})[0]||void 0;if(n){var s={};s[n]=e[n],i.expression=t.readExpressionDefinition(s),delete i[n]}}return i},t.readValidatorsDefinition=function(e){var i=e?new m.ValidatorsDefinition(E({},e)):new m.ValidatorsDefinition;return(e==null?void 0:e.predicateValidator)!==void 0&&(Array.isArray(e.predicateValidator)?i.predicateValidator=t.readPredicateValidatorDefinition(e.predicateValidator[0]):i.predicateValidator=t.readPredicateValidatorDefinition(e.predicateValidator)),(e==null?void 0:e.endpointValidator)!==void 0&&(Array.isArray(e.endpointValidator)?i.endpointValidator=t.readEndpointValidatorDefinition(e.endpointValidator[0]):i.endpointValidator=t.readEndpointValidatorDefinition(e.endpointValidator)),(e==null?void 0:e.customValidator)!==void 0&&(Array.isArray(e.customValidator)?i.customValidator=t.readCustomValidatorDefinition(e.customValidator[0]):i.customValidator=t.readCustomValidatorDefinition(e.customValidator)),i},t.readStep=function(e,i){i===void 0&&(i=!1);var n=Object.getOwnPropertyNames(e)[0],s=XF.CamelUtil.camelizeBody(n,e[n],i);switch(n){case"setProperty":return t.readSetPropertyDefinition(s);case"to":return t.readToDefinition(s);case"doCatch":return t.readCatchDefinition(s);case"inOut":return t.readInOutDefinition(s);case"onFallback":return t.readOnFallbackDefinition(s);case"loadBalance":return t.readLoadBalanceDefinition(s);case"process":return t.readProcessDefinition(s);case"bean":return t.readBeanDefinition(s);case"transacted":return t.readTransactedDefinition(s);case"pollEnrich":return t.readPollEnrichDefinition(s);case"filter":return t.readFilterDefinition(s);case"pausable":return t.readPausableDefinition(s);case"setBody":return t.readSetBodyDefinition(s);case"claimCheck":return t.readClaimCheckDefinition(s);case"step":return t.readStepDefinition(s);case"aggregate":return t.readAggregateDefinition(s);case"when":return t.readWhenDefinition(s);case"loop":return t.readLoopDefinition(s);case"stop":return t.readStopDefinition(s);case"resumable":return t.readResumableDefinition(s);case"removeProperty":return t.readRemovePropertyDefinition(s);case"split":return t.readSplitDefinition(s);case"multicast":return t.readMulticastDefinition(s);case"otherwise":return t.readOtherwiseDefinition(s);case"removeProperties":return t.readRemovePropertiesDefinition(s);case"saga":return t.readSagaDefinition(s);case"removeHeaders":return t.readRemoveHeadersDefinition(s);case"setExchangePattern":return t.readSetExchangePatternDefinition(s);case"intercept":return t.readInterceptDefinition(s);case"transform":return t.readTransformDefinition(s);case"routingSlip":return t.readRoutingSlipDefinition(s);case"doTry":return t.readTryDefinition(s);case"delay":return t.readDelayDefinition(s);case"script":return t.readScriptDefinition(s);case"inOnly":return t.readInOnlyDefinition(s);case"enrich":return t.readEnrichDefinition(s);case"onCompletion":return t.readOnCompletionDefinition(s);case"wireTap":return t.readWireTapDefinition(s);case"kamelet":return t.readKameletDefinition(s);case"interceptFrom":return t.readInterceptFromDefinition(s);case"doFinally":return t.readFinallyDefinition(s);case"idempotentConsumer":return t.readIdempotentConsumerDefinition(s);case"removeHeader":return t.readRemoveHeaderDefinition(s);case"circuitBreaker":return t.readCircuitBreakerDefinition(s);case"rollback":return t.readRollbackDefinition(s);case"dynamicRouter":return t.readDynamicRouterDefinition(s);case"resequence":return t.readResequenceDefinition(s);case"log":return t.readLogDefinition(s);case"throttle":return t.readThrottleDefinition(s);case"recipientList":return t.readRecipientListDefinition(s);case"marshal":return t.readMarshalDefinition(s);case"policy":return t.readPolicyDefinition(s);case"serviceCall":return t.readServiceCallDefinition(s);case"unmarshal":return t.readUnmarshalDefinition(s);case"threads":return t.readThreadsDefinition(s);case"toD":return t.readToDynamicDefinition(s);case"convertBodyTo":return t.readConvertBodyDefinition(s);case"pipeline":return t.readPipelineDefinition(s);case"throwException":return t.readThrowExceptionDefinition(s);case"validate":return t.readValidateDefinition(s);case"interceptSendToEndpoint":return t.readInterceptSendToEndpointDefinition(s);case"choice":return t.readChoiceDefinition(s);case"whenSkipSendToEndpoint":return t.readWhenSkipSendToEndpointDefinition(s);case"sample":return t.readSamplingDefinition(s);case"setHeader":return t.readSetHeaderDefinition(s);case"sort":return t.readSortDefinition(s);case"toD":return t.readToDynamicDefinition(s);default:return new VF.CamelElement("")}},t.readSteps=function(e){var i=[];return e!==void 0&&e.forEach(function(n){i.push(t.readStep(n))}),i},t}();yo.CamelDefinitionYamlStep=JF;var Ds=si&&si.__assign||function(){return Ds=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++){e=arguments[i];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},Ds.apply(this,arguments)};Object.defineProperty(xl,"__esModule",{value:!0});var rr=xl.CamelDefinitionYaml=void 0,Wo=di,Ka=Ke,Dt=v,Uo=Fa(),ji=yo,GF=function(){function t(){}var e;return e=t,t.integrationToYaml=function(i){var n=Uo.CamelUtil.cloneIntegration(i),s=i.spec.flows;if(n.spec.flows=s==null?void 0:s.map(function(l){return t.cleanupElement(l)}).filter(function(l){return Object.keys(l).length!==0}),i.type==="crd"){delete n.type;var r=JSON.parse(JSON.stringify(n,function(l,c){return e.replacer(l,c)},3)),a=t.yamlDump(r);return a}else{var o=JSON.parse(JSON.stringify(n.spec.flows,function(c,f){return e.replacer(c,f)},3)),a=t.yamlDump(o);return a}},t.cleanupElement=function(i,n,s){var r={},a=Object.assign({},i);return n&&(a.inArray=n,a.inSteps=s===!0),a.dslName.endsWith("Expression")?(delete a.language,delete a.expressionName):a.dslName.endsWith("DataFormat")?delete a.dataFormatName:a.dslName==="NamedBeanDefinition"&&a.properties&&Object.keys(a.properties).length===0&&delete a.properties,delete a.uuid,delete a.show,Object.keys(a).forEach(function(o){if(a[o]instanceof Ka.CamelElement||typeof a[o]=="object"&&a[o].dslName)r[o]=t.cleanupElement(a[o]);else if(Array.isArray(a[o]))a[o].length>0&&(r[o]=t.cleanupElements(a[o],o==="steps"));else if(o==="parameters"&&typeof a[o]=="object"){var l=a[o],c=Object.keys(l||{}).reduce(function(f,h){return l[h]!==null&&l[h]!==void 0&&l[h].toString().trim().length>0&&(f[h]=l[h]),f},{});Object.keys(c).length>0&&(r[o]=c)}else a[o]!==void 0&&a[o].toString().trim().length>0&&(r[o]=a[o])}),r},t.cleanupElements=function(i,n){var s=[];return i.forEach(function(r){if(typeof r=="object"){var a=t.cleanupElement(r,!0,n);s.push(a)}else s.push(r)}),s},t.yamlDump=function(i){return Wo.dump(i,{noRefs:!1,noArrayIndent:!1,sortKeys:function(n,s){return n==="steps"?1:s==="steps"?-1:0}})},t.replacer=function(i,n){if(typeof n=="object"&&(n.hasOwnProperty("stepName")||n.hasOwnProperty("inArray")||n.hasOwnProperty("inSteps"))){var s=n.hasOwnProperty("stepName")?"stepName":"step-name",r=n[s],a=n.dslName,o=JSON.parse(JSON.stringify(n));if(delete o.dslName,delete o[s],n.inArray&&!n.inSteps&&["intercept","interceptFrom","interceptSendToEndpoint","onCompletion","onException"].includes(r)){delete o.inArray,delete o.inSteps;var l={};return l[r]=o,l}else{if(n.inArray&&!n.inSteps||a==="ExpressionSubElementDefinition"||a==="ExpressionDefinition"||a!=null&&a.endsWith("Expression")||r==="otherwise"||r==="doFinally"||r==="resilience4jConfiguration"||r==="faultToleranceConfiguration"||r==="errorHandler"||r==="deadLetterChannel"||r==="defaultErrorHandler"||r==="jtaTransactionErrorHandler"||r==="noErrorHandler"||r==="springTransactionErrorHandler"||r==="redeliveryPolicy"||i==="from")return delete o.inArray,delete o.inSteps,o;delete o.inArray,delete o.inSteps;var l={};return l[r]=o,l}}else return n==null||delete n.dslName,n},t.yamlToIntegration=function(i,n){var s,r,a,o,l=Ka.Integration.createNew(i),c=Wo.load(n),f=Uo.CamelUtil.camelizeObject(c);if(f!=null&&f.apiVersion&&f.apiVersion.startsWith("camel.apache.org")&&f.kind&&f.kind==="Integration"){l.type="crd",!((s=f==null?void 0:f.metadata)===null||s===void 0)&&s.name&&(l.metadata.name=(r=f==null?void 0:f.metadata)===null||r===void 0?void 0:r.name);var h=new Ka.Integration(Ds({},f));(a=l.spec.flows)===null||a===void 0||a.push.apply(a,e.flowsToCamelElements(h.spec.flows||[]))}else if(Array.isArray(f)){l.type="plain";var p=f;(o=l.spec.flows)===null||o===void 0||o.push.apply(o,e.flowsToCamelElements(p))}return l},t.yamlIsIntegration=function(i){var n=Wo.load(i),s=Uo.CamelUtil.camelizeObject(n);return s!=null&&s.apiVersion&&s.apiVersion.startsWith("camel.apache.org")&&s.kind&&s.kind==="Integration"?!0:!!Array.isArray(s)},t.flowsToCamelElements=function(i){var n=[];return i.filter(function(s){return s.hasOwnProperty("restConfiguration")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRestConfigurationDefinition(s.restConfiguration))}),i.filter(function(s){return s.hasOwnProperty("rest")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRestDefinition(s.rest))}),i.filter(function(s){return s.hasOwnProperty("route")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRouteDefinition(s.route))}),i.filter(function(s){return s.hasOwnProperty("from")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRouteDefinition(new Dt.RouteDefinition({from:s.from})))}),i.filter(function(s){return s.hasOwnProperty("beans")}).forEach(function(s){return n.push(t.readBeanDefinition(s))}),i.filter(function(s){return s.hasOwnProperty("routeConfiguration")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRouteConfigurationDefinition(s.routeConfiguration))}),i.filter(function(s){return s.hasOwnProperty("errorHandler")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRouteConfigurationDefinition(new Dt.RouteConfigurationDefinition({errorHandler:s.errorHandler})))}),i.filter(function(s){return s.hasOwnProperty("onException")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRouteConfigurationDefinition(new Dt.RouteConfigurationDefinition({onException:s.onException})))}),i.filter(function(s){return s.hasOwnProperty("intercept")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRouteConfigurationDefinition(new Dt.RouteConfigurationDefinition({intercept:s.intercept})))}),i.filter(function(s){return s.hasOwnProperty("interceptFrom")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRouteConfigurationDefinition(new Dt.RouteConfigurationDefinition({interceptFrom:s.interceptFrom})))}),i.filter(function(s){return s.hasOwnProperty("interceptSendToEndpoint")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRouteConfigurationDefinition(new Dt.RouteConfigurationDefinition({interceptSendToEndpoint:s.interceptSendToEndpoint})))}),i.filter(function(s){return s.hasOwnProperty("onCompletion")}).forEach(function(s){return n.push(ji.CamelDefinitionYamlStep.readRouteConfigurationDefinition(new Dt.RouteConfigurationDefinition({onCompletion:s.onCompletion})))}),n},t.readBeanDefinition=function(i){var n=new Ka.Beans;return i.beans.forEach(function(s){var r={};s&&s.properties&&Object.keys(s.properties).forEach(function(a){var o=s.properties[a];t.flatMapProperty(a,o,new Map).forEach(function(l,c){return r[c]=l})}),s.properties=r,n.beans.push(new Dt.NamedBeanDefinition(s))}),n},t.flatMapProperty=function(i,n,s){return n===void 0||(typeof n=="object"?Object.keys(n).forEach(function(r){var a=i+"."+r,o=n[r];t.flatMapProperty(a,o,new Map).forEach(function(l,c){return s.set(c,l)})}):s.set(i,n)),s},t.addYamlToIntegrationYaml=function(i,n,s,r,a){var o,l,c,f,h,p=n!=null?t.yamlToIntegration(i,n):Ka.Integration.createNew(i),g=t.yamlToIntegration(i,s),y=((o=p.spec.flows)===null||o===void 0?void 0:o.filter(function(M){return!["RouteDefinition","RestDefinition"].includes(M.dslName)}))||[],b=((l=p.spec.flows)===null||l===void 0?void 0:l.filter(function(M){return M.dslName==="RestDefinition"}))||[],w=((c=g.spec.flows)===null||c===void 0?void 0:c.filter(function(M){return M.dslName==="RestDefinition"}))||[];r?y.push.apply(y,w):y.push.apply(y,b);var D=((f=p.spec.flows)===null||f===void 0?void 0:f.filter(function(M){return M.dslName==="RouteDefinition"}))||[],O=((h=g.spec.flows)===null||h===void 0?void 0:h.filter(function(M){return M.dslName==="RouteDefinition"}))||[];return a?y.push.apply(y,O):y.push.apply(y,D),p.spec.flows=y,t.integrationToYaml(p)},t}();rr=xl.CamelDefinitionYaml=GF;let Yn;const KF=new Uint8Array(16);function qF(){if(!Yn&&(Yn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Yn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Yn(KF)}const Ye=[];for(let t=0;t<256;++t)Ye.push((t+256).toString(16).slice(1));function $F(t,e=0){return(Ye[t[e+0]]+Ye[t[e+1]]+Ye[t[e+2]]+Ye[t[e+3]]+"-"+Ye[t[e+4]]+Ye[t[e+5]]+"-"+Ye[t[e+6]]+Ye[t[e+7]]+"-"+Ye[t[e+8]]+Ye[t[e+9]]+"-"+Ye[t[e+10]]+Ye[t[e+11]]+Ye[t[e+12]]+Ye[t[e+13]]+Ye[t[e+14]]+Ye[t[e+15]]).toLowerCase()}const YF=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Sd={randomUUID:YF};function on(t,e,i){if(Sd.randomUUID&&!t)return Sd.randomUUID();t=t||{};const n=t.random||(t.rng||qF)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,$F(n)}var fh={};(function(t){t.__esModule=!0,t.TimesIconConfig={name:"TimesIcon",height:512,width:352,svgPath:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z",yOffset:0,xOffset:0},t.TimesIcon=Ai.createIcon(t.TimesIconConfig),t.default=t.TimesIcon})(fh);const ZF=Mi(fh);class QF extends H.Component{constructor(){var e,i;super(...arguments),this.preparePropertiesMap=n=>{const s=new Map;return Object.keys(n).forEach((r,a,o)=>s.set(on(),[r,n[r],!1])),s},this.state={bean:this.props.bean,key:"",showKubernetesSelector:!1,properties:(e=this.props.bean)!=null&&e.properties?this.preparePropertiesMap((i=this.props.bean)==null?void 0:i.properties):new Map},this.componentDidUpdate=(n,s,r)=>{var a,o,l;if(((a=n.bean)==null?void 0:a.uuid)!==((o=this.props.bean)==null?void 0:o.uuid)&&this.setBean(this.props.bean),s.key!==this.state.key&&this.state.bean){const c=oe.CamelUtil.cloneBean(this.state.bean),f={};this.state.properties.forEach(h=>f[h[0]]=h[1]),c.properties=f,this.setState({bean:c}),(l=this.props.onChange)==null||l.call(this,c)}},this.setBean=n=>{this.setState({bean:n,properties:n!=null&&n.properties?this.preparePropertiesMap(n.properties):new Map})},this.beanChanged=(n,s)=>{var r;if(this.state.bean){const a=oe.CamelUtil.cloneBean(this.state.bean);a[n]=s,this.setState({bean:a}),(r=this.props.onChange)==null||r.call(this,a)}},this.propertyChanged=(n,s,r,a)=>{this.setState(o=>(o.properties.set(n,[s,r,a]),{properties:o.properties,key:Math.random().toString()}))},this.propertyDeleted=n=>{this.setState(s=>(s.properties.delete(n),{properties:s.properties,key:Math.random().toString()}))},this.selectKubernetes=n=>{const s=this.state.kubernetesSelectorProperty,r=this.state.kubernetesSelectorUuid;s&&r&&((n.startsWith("config")||n.startsWith("secret"))&&(n="{{"+n+"}}"),this.propertyChanged(r,s,n,!1),this.setState({showKubernetesSelector:!1,kubernetesSelectorProperty:void 0}))},this.openKubernetesSelector=(n,s)=>{this.setState({kubernetesSelectorUuid:n,kubernetesSelectorProperty:s,showKubernetesSelector:!0})},this.closeKubernetesSelector=()=>{this.setState({showKubernetesSelector:!1})},this.cloneBean=()=>{var n;if(this.state.bean){const s=oe.CamelUtil.cloneBean(this.state.bean);s.uuid=on(),(n=this.props.onClone)==null||n.call(this,s)}},this.getLabelIcon=(n,s)=>u.jsx(Qt,{position:"left",headerContent:n,bodyContent:s,footerContent:u.jsx("div",{children:u.jsx("b",{children:"Required"})}),children:u.jsx("button",{type:"button","aria-label":"More info",onClick:r=>{r.preventDefault(),r.stopPropagation()},className:"pf-c-form__group-label-help",children:u.jsx(kn,{noVerticalAlign:!0})})})}getKubernetesSelectorModal(){return u.jsx(uo,{dark:!1,isOpen:this.state.showKubernetesSelector,onClose:()=>this.closeKubernetesSelector(),onSelect:this.selectKubernetes})}getBeanForm(){const e=this.state.bean;return u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"headers",children:u.jsxs("div",{className:"top",children:[u.jsx(At,{headingLevel:"h1",size:"md",children:"Bean"}),u.jsx(ve,{content:"Clone bean",position:"bottom",children:u.jsx($,{variant:"link",onClick:()=>this.cloneBean(),icon:u.jsx(Zp,{})})})]})}),u.jsx(_i,{label:"Name",fieldId:"name",isRequired:!0,labelIcon:this.getLabelIcon("Name","Bean name used as a reference ex: myBean"),children:u.jsx(oi,{className:"text-field",isRequired:!0,type:"text",id:"name",name:"name",value:e==null?void 0:e.name,onChange:i=>this.beanChanged("name",i)})}),u.jsx(_i,{label:"Type",fieldId:"type",isRequired:!0,labelIcon:this.getLabelIcon("Type","Bean class Canonical Name ex: org.demo.MyBean"),children:u.jsx(oi,{className:"text-field",isRequired:!0,type:"text",id:"type",name:"type",value:e==null?void 0:e.type,onChange:i=>this.beanChanged("type",i)})}),u.jsxs(_i,{label:"Properties",fieldId:"properties",className:"bean-properties",children:[Array.from(this.state.properties.entries()).map((i,n,s)=>{const r=i[0],a=i[1][0],o=i[1][1],l=i[1][2],c=a!==void 0&&li.SensitiveKeys.includes(a.toLowerCase());return u.jsxs("div",{className:"bean-property",children:[u.jsx(oi,{placeholder:"Bean Field Name",className:"text-field",isRequired:!0,type:"text",id:"key",name:"key",value:a,onChange:f=>this.propertyChanged(r,f,o,l)}),u.jsxs(Et,{children:[ft.inKubernetes&&u.jsx(ve,{position:"bottom-end",content:"Select value from Kubernetes",children:u.jsx($,{variant:"control",onClick:f=>this.openKubernetesSelector(r,a),children:u.jsx(po,{})})}),u.jsx(oi,{placeholder:"Bean Field Value",type:c&&!l?"password":"text",className:"text-field",isRequired:!0,id:"value",name:"value",value:o,onChange:f=>this.propertyChanged(r,a,f,l)}),c&&u.jsx(ve,{position:"bottom-end",content:l?"Hide":"Show",children:u.jsx($,{variant:"control",onClick:f=>this.propertyChanged(r,a,o,!l),children:l?u.jsx(gl,{}):u.jsx(vl,{})})})]}),u.jsx($,{variant:"link",className:"delete-button",onClick:f=>this.propertyDeleted(r),children:u.jsx(ZF,{})})]},"key-"+r)}),u.jsxs($,{variant:"link",className:"add-button",onClick:i=>this.propertyChanged(on(),"","",!1),children:[u.jsx(xa,{}),"Add property"]})]})]})}render(){return u.jsxs("div",{className:"properties",children:[u.jsxs(On,{autoComplete:"off",onSubmit:e=>e.preventDefault(),children:[this.state.bean===void 0&&u.jsx(Yp,{integration:this.props.integration}),this.state.bean!==void 0&&this.getBeanForm()]}),this.getKubernetesSelectorModal()]},this.state.bean?this.state.bean.uuid:"integration")}}class eO extends H.Component{constructor(){super(...arguments),this.selectElement=e=>{e.stopPropagation(),this.props.selectElement.call(this,this.props.bean)},this.delete=e=>{e.stopPropagation(),this.props.deleteElement.call(this,this.props.bean)}}render(){var i;const e=this.props.bean;return u.jsxs("div",{className:((i=this.props.selectedStep)==null?void 0:i.uuid)===e.uuid?"rest-card rest-card-selected":"rest-card rest-card-unselected",onClick:n=>this.selectElement(n),children:[u.jsxs("div",{className:"header",children:[u.jsx("div",{className:"title",children:"BEAN"}),u.jsx("div",{className:"title",children:e.name}),u.jsx("div",{className:"description",children:e.type}),u.jsx($,{variant:"link",className:"delete-button",onClick:n=>this.delete(n),children:u.jsx(Zt,{})})]}),u.jsx("div",{className:"rest-content"},Math.random().toString())]})}}class iO extends H.Component{constructor(){super(...arguments),this.state={integration:this.props.integration,showDeleteConfirmation:!1,key:"",propertyOnly:!1},this.componentDidUpdate=(e,i,n)=>{var s;i.key!==this.state.key&&((s=this.props.onSave)==null||s.call(this,this.state.integration,this.state.propertyOnly))},this.showDeleteConfirmation=e=>{this.setState({selectedBean:e,showDeleteConfirmation:!0})},this.onIntegrationUpdate=e=>{this.setState({integration:e,propertyOnly:!1,showDeleteConfirmation:!1,key:Math.random().toString()})},this.deleteBean=()=>{const e=te.CamelDefinitionApiExt.deleteBeanFromIntegration(this.state.integration,this.state.selectedBean);this.setState({integration:e,showDeleteConfirmation:!1,key:Math.random().toString(),selectedBean:new hs,propertyOnly:!1})},this.changeBean=e=>{const i=oe.CamelUtil.cloneIntegration(this.state.integration),n=te.CamelDefinitionApiExt.addBeanToIntegration(i,e);this.setState({integration:n,propertyOnly:!1,key:Math.random().toString(),selectedBean:e})},this.selectBean=e=>{this.setState({selectedBean:e})},this.unselectBean=e=>{e.target.dataset.click==="BEANS"&&(e.stopPropagation(),this.setState({selectedBean:void 0}))},this.createBean=()=>{this.changeBean(new hs)}}getDeleteConfirmation(){return u.jsx(wi,{className:"modal-delete",title:"Confirmation",isOpen:this.state.showDeleteConfirmation,onClose:()=>this.setState({showDeleteConfirmation:!1}),actions:[u.jsx($,{variant:"primary",onClick:e=>this.deleteBean(),children:"Delete"},"confirm"),u.jsx($,{variant:"link",onClick:e=>this.setState({showDeleteConfirmation:!1}),children:"Cancel"},"cancel")],onEscapePress:e=>this.setState({showDeleteConfirmation:!1}),children:u.jsx("div",{children:"Delete bean from integration?"})})}getPropertiesPanel(){return u.jsx(Gr,{isResizable:!0,hasNoBorder:!0,defaultSize:"400px",maxSize:"800px",minSize:"300px",children:u.jsx(QF,{integration:this.props.integration,bean:this.state.selectedBean,dark:this.props.dark,onChange:this.changeBean,onClone:this.changeBean})})}render(){const e=ue.getBeans(this.state.integration);return u.jsxs(it,{className:"rest-page",isFilled:!0,padding:{default:"noPadding"},children:[u.jsx("div",{className:"rest-page-columns",children:u.jsx(Vr,{isExpanded:!0,isInline:!0,children:u.jsx(Xr,{panelContent:this.getPropertiesPanel(),children:u.jsx(Jr,{children:u.jsx("div",{className:"graph","data-click":"REST",onClick:i=>this.unselectBean(i),children:u.jsxs("div",{className:"flows",children:[e==null?void 0:e.map(i=>u.jsx(eO,{selectedStep:this.state.selectedBean,bean:i,integration:this.props.integration,selectElement:this.selectBean,deleteElement:this.showDeleteConfirmation},i.uuid+this.state.key)),u.jsx("div",{className:"add-rest",children:u.jsx($,{variant:(e==null?void 0:e.length)===0?"primary":"secondary","data-click":"ADD_REST",icon:u.jsx(ht,{}),onClick:i=>this.createBean(),children:"Create bean"})})]})})})})})}),this.getDeleteConfirmation()]})}}class ra extends H.Component{constructor(){super(...arguments),this.state={method:this.props.method,expanded:!1},this.selectElement=e=>{e.stopPropagation(),this.props.selectElement.call(this,this.state.method)},this.delete=e=>{e.stopPropagation(),this.props.deleteElement.call(this,this.props.method)}}render(){var i;const e=this.state.method;return u.jsxs("div",{className:((i=this.props.selectedStep)==null?void 0:i.uuid)===e.uuid?"method-card method-card-selected":"method-card method-card-unselected",onClick:n=>this.selectElement(n),children:[u.jsx("div",{className:"method",children:e.dslName.replace("Definition","").toUpperCase()}),u.jsxs("div",{className:"rest-method-desc",children:[u.jsx("div",{className:"title",children:e.path}),u.jsx("div",{className:"description",children:e.description})]}),u.jsx($,{variant:"link",className:"delete-button",onClick:n=>this.delete(n),children:u.jsx(Zt,{})})]})}}class tO extends H.Component{constructor(){super(...arguments),this.selectElement=e=>{e.stopPropagation(),this.props.selectElement.call(this,this.props.rest)},this.selectMethod=e=>{e.stopPropagation(),this.props.selectMethod.call(this,this.props.rest)},this.delete=e=>{e.stopPropagation(),this.props.deleteElement.call(this,this.props.rest)}}render(){var i,n,s,r,a,o,l;const e=this.props.rest;return u.jsxs("div",{className:((i=this.props.selectedStep)==null?void 0:i.uuid)===e.uuid?"rest-card rest-card-selected":"rest-card rest-card-unselected",onClick:c=>this.selectElement(c),children:[u.jsxs("div",{className:"header",children:[u.jsx("div",{className:"title",children:"REST"}),u.jsx("div",{className:"title",children:e.path}),u.jsx("div",{className:"description",children:e.description}),u.jsx(ve,{position:"bottom",content:u.jsx("div",{children:"Add REST method"}),children:u.jsx($,{variant:"link",icon:u.jsx(xa,{}),"aria-label":"Add",onClick:c=>this.selectMethod(c),className:"add-button",children:"Add method"})}),u.jsx($,{variant:"link",className:"delete-button",onClick:c=>this.delete(c),children:u.jsx(Zt,{})})]}),u.jsxs("div",{className:"rest-content",children:[(n=e.get)==null?void 0:n.map(c=>u.jsx(ra,{method:c,selectedStep:this.props.selectedStep,integration:this.props.integration,selectElement:this.props.selectElement,deleteElement:this.props.deleteElement},c.uuid)),(s=e.post)==null?void 0:s.map(c=>u.jsx(ra,{method:c,selectedStep:this.props.selectedStep,integration:this.props.integration,selectElement:this.props.selectElement,deleteElement:this.props.deleteElement},c.uuid)),(r=e.put)==null?void 0:r.map(c=>u.jsx(ra,{method:c,selectedStep:this.props.selectedStep,integration:this.props.integration,selectElement:this.props.selectElement,deleteElement:this.props.deleteElement},c.uuid)),(a=e.patch)==null?void 0:a.map(c=>u.jsx(ra,{method:c,selectedStep:this.props.selectedStep,integration:this.props.integration,selectElement:this.props.selectElement,deleteElement:this.props.deleteElement},c.uuid)),(o=e.delete)==null?void 0:o.map(c=>u.jsx(ra,{method:c,selectedStep:this.props.selectedStep,integration:this.props.integration,selectElement:this.props.selectElement,deleteElement:this.props.deleteElement},c.uuid)),(l=e.head)==null?void 0:l.map(c=>u.jsx(ra,{method:c,selectedStep:this.props.selectedStep,integration:this.props.integration,selectElement:this.props.selectElement,deleteElement:this.props.deleteElement},c.uuid))]},Math.random().toString())]})}}class aO extends H.Component{constructor(){super(...arguments),this.state={},this.selectTab=(e,i)=>{this.setState({tabIndex:i})},this.selectMethod=(e,i)=>{e.stopPropagation(),this.props.onMethodSelect.call(this,i)}}getCard(e,i){return u.jsxs(Fn,{isHoverable:!0,isCompact:!0,className:"dsl-card",onClick:n=>this.selectMethod(n,e),children:[u.jsxs(hr,{children:[ue.getIconForDsl(e),u.jsx(Si,{children:e.title})]}),u.jsx(Us,{children:u.jsx(Si,{children:e.description})}),u.jsxs(pr,{children:[e.navigation.toLowerCase()==="kamelet"&&u.jsxs("div",{className:"footer",style:{justifyContent:"space-between"},children:[u.jsx(ui,{isRead:!0,className:"labels",children:e.labels}),u.jsx(ui,{isRead:!0,className:"version",children:e.version})]}),e.navigation.toLowerCase()==="component"&&u.jsx("div",{className:"footer",style:{justifyContent:"flex-start"},children:e.labels.split(",").map(n=>u.jsx(ui,{isRead:!0,className:"labels",children:n},n))})]})]},e.dsl+i)}render(){return u.jsx(it,{variant:this.props.dark?"darker":"light",children:u.jsx(gt,{style:{overflow:"hidden"},activeKey:"methods",onSelect:this.selectTab,children:u.jsx(dt,{eventKey:"methods",title:u.jsx(Tt,{children:"Methods"}),children:u.jsx(Ys,{hasGutter:!0,className:"dsl-gallery",children:ue.getSelectorRestMethodModels().map((e,i)=>this.getCard(e,i))})})})})}}class nO extends H.Component{constructor(){super(...arguments),this.state={restConfig:this.props.restConfig,expanded:!1},this.selectElement=e=>{e.stopPropagation(),this.props.selectElement.call(this,this.state.restConfig)},this.delete=e=>{e.stopPropagation(),this.props.deleteElement.call(this,this.props.restConfig)}}render(){var n;const e=this.state.restConfig,i=e.host&&e.port?e.host+":"+e.port:(e.host?e.host:"")+(e.port?e.port:"");return u.jsxs("div",{className:((n=this.props.selectedRestConfig)==null?void 0:n.uuid)===e.uuid?"rest-config-card rest-config-card-selected":"rest-config-card rest-config-card-unselected",onClick:s=>this.selectElement(s),children:[u.jsx("div",{className:"title",children:"Configuration"}),u.jsx("div",{className:"title",children:e.contextPath}),u.jsx("div",{className:"description",children:i}),u.jsx($,{variant:"link",className:"delete-button",onClick:s=>this.delete(s),children:u.jsx(Zt,{})})]})}}class rO extends H.Component{constructor(){super(...arguments),this.state={integration:this.props.integration,key:"",showSelector:!1,showDeleteConfirmation:!1,propertyOnly:!1},this.componentDidUpdate=(e,i,n)=>{var s;i.key!==this.state.key&&((s=this.props.onSave)==null||s.call(this,this.state.integration,this.state.propertyOnly))},this.onIntegrationUpdate=e=>{this.setState({integration:e,showSelector:!1,key:Math.random().toString(),propertyOnly:!1})},this.selectElement=e=>{this.setState({selectedStep:e})},this.onPropertyUpdate=(e,i)=>{if(i){let n=te.CamelDefinitionApiExt.updateIntegrationRestElement(this.state.integration,e);const s=Xe.CamelDefinitionApi.createFromDefinition({uri:i.componentName+":"+i.name}),r=Xe.CamelDefinitionApi.createRouteDefinition({from:s,id:i.name});n=te.CamelDefinitionApiExt.addStepToIntegration(n,r,"");const a=oe.CamelUtil.cloneIntegration(n);this.setState({integration:a,key:Math.random().toString(),showSelector:!1,selectedStep:e,propertyOnly:!1})}else{const n=oe.CamelUtil.cloneIntegration(this.state.integration),s=te.CamelDefinitionApiExt.updateIntegrationRestElement(n,e);this.setState({integration:s,propertyOnly:!0,key:Math.random().toString()})}},this.unselectElement=e=>{e.target.dataset.click==="REST"&&(e.stopPropagation(),this.setState({selectedStep:void 0}))},this.addRest=e=>{const i=oe.CamelUtil.cloneIntegration(this.state.integration),n=te.CamelDefinitionApiExt.addRestToIntegration(i,e);this.setState({integration:n,propertyOnly:!1,key:Math.random().toString(),selectedStep:e})},this.createRest=()=>{this.addRest(new Yu)},this.createRestConfiguration=()=>{this.addRest(new $u)},this.showDeleteConfirmation=e=>{this.setState({selectedStep:e,showSelector:!1,showDeleteConfirmation:!0})},this.deleteElement=()=>{const e=this.state.selectedStep;if(e){let i;e.dslName==="RestDefinition"?i=te.CamelDefinitionApiExt.deleteRestFromIntegration(this.state.integration,e.uuid):e.dslName==="RestConfigurationDefinition"?i=te.CamelDefinitionApiExt.deleteRestConfigurationFromIntegration(this.state.integration):i=te.CamelDefinitionApiExt.deleteRestMethodFromIntegration(this.state.integration,e.uuid),this.setState({integration:i,showSelector:!1,showDeleteConfirmation:!1,key:Math.random().toString(),selectedStep:void 0,propertyOnly:!1})}},this.closeMethodSelector=()=>{this.setState({showSelector:!1})},this.onMethodSelect=e=>{var i;if(this.state.selectedStep){const n=oe.CamelUtil.cloneIntegration(this.state.integration),s=Xe.CamelDefinitionApi.createStep(e.dsl,{}),r=te.CamelDefinitionApiExt.addRestMethodToIntegration(n,s,(i=this.state.selectedStep)==null?void 0:i.uuid);this.setState({integration:r,key:Math.random().toString(),selectedStep:s,showSelector:!1})}},this.cloneRest=e=>{if(e.dslName==="RestDefinition"){const i=oe.CamelUtil.cloneStep(e);i.uuid=on();const n=oe.CamelUtil.cloneIntegration(this.state.integration),s=te.CamelDefinitionApiExt.addRestToIntegration(n,i);this.setState({integration:s,propertyOnly:!1,key:Math.random().toString(),selectedStep:i})}else if(e.dslName!=="RestConfigurationDefinition"){if(this.state.selectedStep){const i=te.CamelDefinitionApiExt.findRestMethodParent(this.state.integration,e);if(i){const n=oe.CamelUtil.cloneStep(e);n.uuid=on();const s=oe.CamelUtil.cloneIntegration(this.state.integration),r=te.CamelDefinitionApiExt.addRestMethodToIntegration(s,n,i);this.setState({integration:r,key:Math.random().toString(),selectedStep:n,showSelector:!1})}}}},this.selectMethod=e=>{this.setState({selectedStep:e,showSelector:!0})}}getDeleteConfirmation(){return u.jsx(wi,{className:"modal-delete",title:"Confirmation",isOpen:this.state.showDeleteConfirmation,onClose:()=>this.setState({showDeleteConfirmation:!1}),actions:[u.jsx($,{variant:"primary",onClick:e=>this.deleteElement(),children:"Delete"},"confirm"),u.jsx($,{variant:"link",onClick:e=>this.setState({showDeleteConfirmation:!1}),children:"Cancel"},"cancel")],onEscapePress:e=>this.setState({showDeleteConfirmation:!1}),children:u.jsx("div",{children:"Delete element from integration?"})})}getSelectorModal(){return u.jsx(wi,{title:"Select method",width:"90%",className:"dsl-modal",isOpen:this.state.showSelector,onClose:()=>this.closeMethodSelector(),actions:{},children:u.jsx(aO,{dark:this.props.dark,onMethodSelect:this.onMethodSelect})})}getRestConfigurationCard(e){return u.jsx(u.Fragment,{children:u.jsx(nO,{selectedRestConfig:this.state.selectedStep,restConfig:e,integration:this.props.integration,selectElement:this.selectElement,deleteElement:this.showDeleteConfirmation},Math.random().toString())})}getRestCards(e){return u.jsx(u.Fragment,{children:e==null?void 0:e.map(i=>u.jsx(tO,{selectedStep:this.state.selectedStep,rest:i,integration:this.props.integration,selectMethod:this.selectMethod,selectElement:this.selectElement,deleteElement:this.showDeleteConfirmation},i.uuid+this.state.key))})}getPropertiesPanel(){return u.jsx(Gr,{isResizable:!0,hasNoBorder:!0,defaultSize:"400px",maxSize:"800px",minSize:"300px",children:u.jsx(Qp,{integration:this.props.integration,step:this.state.selectedStep,onIntegrationUpdate:this.onIntegrationUpdate,onPropertyUpdate:this.onPropertyUpdate,isRouteDesigner:!1,onClone:this.cloneRest,dark:this.props.dark})})}render(){var s,r;const e=(s=this.props.integration.spec.flows)==null?void 0:s.filter(a=>a.dslName==="RestDefinition"),i=(r=this.props.integration.spec.flows)==null?void 0:r.filter(a=>a.dslName==="RestConfigurationDefinition"),n=i&&Array.isArray(i)?i[0]:void 0;return u.jsxs(it,{className:"rest-page",isFilled:!0,padding:{default:"noPadding"},children:[u.jsx("div",{className:"rest-page-columns",children:u.jsx(Vr,{isExpanded:!0,isInline:!0,children:u.jsx(Xr,{panelContent:this.getPropertiesPanel(),children:u.jsx(Jr,{children:u.jsx("div",{className:"graph","data-click":"REST",onClick:a=>this.unselectElement(a),children:u.jsxs("div",{className:"flows",children:[n&&this.getRestConfigurationCard(n),e&&this.getRestCards(e),u.jsxs("div",{className:"add-rest",children:[u.jsx($,{variant:(e==null?void 0:e.length)===0?"primary":"secondary","data-click":"ADD_REST",icon:u.jsx(ht,{}),onClick:a=>this.createRest(),children:"Create service"}),n===void 0&&u.jsx($,{variant:"secondary","data-click":"ADD_REST_REST_CONFIG",icon:u.jsx(ht,{}),onClick:a=>this.createRestConfiguration(),children:"Create configuration"})]})]})})})})})}),this.getSelectorModal(),this.getDeleteConfirmation()]})}}class Gt{static set(e){Gt.designer=e}static get(){return Gt.designer}static getProps(){var e;return(e=Gt.designer)==null?void 0:e.props}}class uh extends H.Component{constructor(){super(...arguments),this.getIntegration=(e,i)=>e&&rr.yamlIsIntegration(e)?rr.yamlToIntegration(this.props.filename,this.props.yaml):Uu.createNew(i,"plain"),this.state={tab:this.props.tab?this.props.tab:"routes",integration:this.getIntegration(this.props.yaml,this.props.filename),key:"",propertyOnly:!1},this.componentDidUpdate=(e,i,n)=>{var s;i.key!==this.state.key&&((s=this.props.onSave)==null||s.call(this,this.props.filename,this.getCode(this.state.integration),this.state.propertyOnly))},this.save=(e,i)=>{this.setState({key:Math.random().toString(),integration:e,propertyOnly:i})},this.getCode=e=>{const i=oe.CamelUtil.cloneIntegration(e);return rr.integrationToYaml(i)}}componentDidMount(){Gt.set(this)}getTab(e,i,n){const s=ue.getFlowCounts(this.state.integration),r=s.has(n)&&s.get(n)?s.get(n):void 0,a=r&&r>0;return u.jsx(ve,{position:"bottom",content:u.jsx("div",{children:i}),children:u.jsxs("div",{className:"top-menu-item",children:[u.jsx(zf,{children:KD(n)}),u.jsx(Tt,{children:e}),a&&u.jsx(ui,{isRead:!0,className:"count",children:s.get(n)})]})})}render(){const e=this.state.tab;return u.jsxs(it,{variant:this.props.dark?xt.darker:xt.light,className:"page",isFilled:!0,padding:{default:"noPadding"},children:[u.jsxs(gt,{className:"main-tabs",activeKey:e,onSelect:(i,n)=>this.setState({tab:n.toString()}),style:{width:"100%"},children:[u.jsx(dt,{eventKey:"routes",title:this.getTab("Routes","Integration flows","routes")}),u.jsx(dt,{eventKey:"rest",title:this.getTab("REST","REST services","rest")}),u.jsx(dt,{eventKey:"beans",title:this.getTab("Beans","Beans Configuration","beans")})]}),e==="routes"&&u.jsx(UF,{integration:this.state.integration,onSave:(i,n)=>this.save(i,n),dark:this.props.dark}),e==="rest"&&u.jsx(rO,{integration:this.state.integration,onSave:(i,n)=>this.save(i,n),dark:this.props.dark}),e==="beans"&&u.jsx(iO,{integration:this.state.integration,onSave:(i,n)=>this.save(i,n),dark:this.props.dark})]})}}class oO extends H.Component{constructor(){super(...arguments),this.state={mode:"design"},this.download=()=>{const{name:e,yaml:i}=this.props;if(e&&i){const n=document.createElement("a");n.setAttribute("download","example.yaml"),n.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(i)),n.click()}},this.downloadImage=()=>{Mt.sendCommand("downloadImage")},this.getDesigner=()=>{const{name:e,yaml:i}=this.props;return u.jsx(uh,{dark:this.props.dark,filename:e,yaml:i,onSave:(n,s,r)=>this.save(n,s,r),onGetCustomCode:n=>new Promise(s=>s(void 0)),onSaveCustomCode:(n,s)=>{console.log(n,s)}})},this.getEditor=()=>{const{name:e,yaml:i}=this.props;return u.jsx($p,{height:"100vh",defaultLanguage:"yaml",theme:"light",value:i,className:"code-editor",onChange:(n,s)=>{n&&this.save(e,n,!1)}})}}componentDidMount(){}save(e,i,n){var s;(s=this.props.onSave)==null||s.call(this,e,i,n)}render(){const{mode:e}=this.state;return u.jsxs(it,{className:"kamelet-section designer-page",padding:{default:"noPadding"},children:[u.jsx(it,{className:"tools-section",padding:{default:"noPadding"},style:{backgroundColor:"transparent",paddingLeft:"var(--pf-c-page__main-section--PaddingLeft)"},children:u.jsxs(Mn,{className:"tools",justifyContent:{default:"justifyContentSpaceBetween"},children:[u.jsx(Yt,{children:u.jsx(Bf,{className:"header",children:u.jsx(Si,{component:"h2",children:"Designer"})})}),u.jsx(Yt,{children:u.jsx(gn,{id:"toolbar-group-types",children:u.jsxs(Ta,{children:[u.jsx(Xt,{children:u.jsxs(Hf,{children:[u.jsx(br,{text:"Design",buttonId:"design",isSelected:e==="design",onChange:i=>this.setState({mode:"design"})}),u.jsx(br,{text:"Code",buttonId:"code",isSelected:e==="code",onChange:i=>this.setState({mode:"code"})})]})}),u.jsx(Xt,{children:u.jsx(ve,{content:"Download YAML",position:"bottom",children:u.jsx($,{variant:"primary",icon:u.jsx(Pm,{}),onClick:i=>this.download(),children:"YAML"})})}),u.jsx(Xt,{children:u.jsx(ve,{content:"Download image",position:"bottom",children:u.jsx($,{variant:"secondary",icon:u.jsx(Nm,{}),onClick:i=>this.downloadImage(),children:"Image"})})})]})})})]})}),e==="design"&&this.getDesigner(),e==="code"&&this.getEditor()]})}}const sO=({className:t,children:e})=>u.jsx("div",{className:t,children:e});exports.DesignerPage=oO;exports.EventBus=Mt;exports.KaravanDesigner=uh;exports.KaravanWrapper=sO;
|
|
60
|
+
//# sourceMappingURL=index.cjs.map
|