camunda-bpmn-js 3.10.1 → 3.10.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.
@@ -175,4 +175,4 @@ var Kj=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[hr
175
175
  * focus-trap 7.5.2
176
176
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
177
177
  */
178
- function vI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function bI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vI(Object(n),!0).forEach((function(t){xI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wI=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},EI=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},_I=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},OI=function(e){return _I(e)&&!e.shiftKey},PI=function(e){return _I(e)&&e.shiftKey},kI=function(e){return setTimeout(e,0)},SI=function(e,t){var n=-1;return e.every((function(e,i){return!t(e)||(n=i,!1)})),n},CI=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},TI=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},AI=[],MI=function(e,t){var n,i=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||AI,o=bI({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:OI,isKeyBackward:PI},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},l=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return s.containerGroups.findIndex((function(t){var i=t.container,r=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||r.find((function(t){return t===e}))}))},c=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},p=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!yI(e,o.tabbableOptions))if(l(i.activeElement)>=0)e=i.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(s.containerGroups=s.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?iI([e],t.includeContainer,{filter:dI.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:hI}):nI(e,t.includeContainer,dI.bind(null,t)),mI(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?iI([e],t.includeContainer,{filter:uI.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):nI(e,t.includeContainer,uI.bind(null,t))}(e,o.tabbableOptions),i=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,s=n.find((function(e){return fI(e)})),a=n.slice().reverse().find((function(e){return fI(e)})),l=!!t.find((function(e){return oI(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:r,firstDomTabbableNode:s,lastDomTabbableNode:a,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?i?n.slice(n.indexOf(e)+1).find((function(e){return fI(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return fI(e)})):t[r+(i?1:-1)]}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.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");if(s.containerGroups.find((function(e){return e.posTabIndexesFound}))&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},d=function e(t){!1!==t&&t!==i.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(p()))},h=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},m=function(e){var t=e.target,n=e.event,i=e.isBackward,r=void 0!==i&&i;t=t||TI(n),u();var a=null;if(s.tabbableGroups.length>0){var p=l(t,n),d=p>=0?s.containerGroups[p]:void 0;if(p<0)a=r?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(r){var h=SI(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(h<0&&(d.container===t||yI(t,o.tabbableOptions)&&!fI(t,o.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(h=p),h>=0){var m=0===h?s.tabbableGroups.length-1:h-1,f=s.tabbableGroups[m];a=oI(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else _I(n)||(a=d.nextTabbableNode(t,!1))}else{var g=SI(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(g<0&&(d.container===t||yI(t,o.tabbableOptions)&&!fI(t,o.tabbableOptions)&&!d.nextTabbableNode(t))&&(g=p),g>=0){var y=g===s.tabbableGroups.length-1?0:g+1,v=s.tabbableGroups[y];a=oI(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else _I(n)||(a=d.nextTabbableNode(t))}}else a=c("fallbackFocus");return a},f=function(e){var t=TI(e);l(t,e)>=0||(CI(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):CI(o.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=TI(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(s.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var r=!0;if(s.mostRecentlyFocusedNode)if(oI(s.mostRecentlyFocusedNode)>0){var a=l(s.mostRecentlyFocusedNode),c=s.containerGroups[a].tabbableNodes;if(c.length>0){var u=c.findIndex((function(e){return e===s.mostRecentlyFocusedNode}));u>=0&&(o.isKeyForward(s.recentNavEvent)?u+1<c.length&&(i=c[u+1],r=!1):u-1>=0&&(i=c[u-1],r=!1))}}else s.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return oI(e)>0}))}))||(r=!1);else r=!1;r&&(i=m({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),d(i||(s.mostRecentlyFocusedNode||p()))}s.recentNavEvent=void 0},y=function(e){if(function(e){return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)}(e)&&!1!==CI(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s.recentNavEvent=e;var n=m({event:e,isBackward:t});n&&(_I(e)&&e.preventDefault(),d(n))}(e,o.isKeyBackward(e))},v=function(e){var t=TI(e);l(t,e)>=0||CI(o.clickOutsideDeactivates,e)||CI(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(s.active)return wI(r,n),s.delayInitialFocusTimer=o.delayInitialFocus?kI((function(){d(p())})):d(p()),i.addEventListener("focusin",g,!0),i.addEventListener("mousedown",f,{capture:!0,passive:!1}),i.addEventListener("touchstart",f,{capture:!0,passive:!1}),i.addEventListener("click",v,{capture:!0,passive:!1}),i.addEventListener("keydown",y,{capture:!0,passive:!1}),n},x=function(){if(s.active)return i.removeEventListener("focusin",g,!0),i.removeEventListener("mousedown",f,!0),i.removeEventListener("touchstart",f,!0),i.removeEventListener("click",v,!0),i.removeEventListener("keydown",y,!0),n},w="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===s.mostRecentlyFocusedNode}))}));t&&d(p())})):void 0,E=function(){w&&(w.disconnect(),s.active&&!s.paused&&s.containers.map((function(e){w.observe(e,{subtree:!0,childList:!0})})))};return n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),r=a(e,"checkCanFocusTrap");r||u(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var o=function(){r&&u(),b(),E(),null==n||n()};return r?(r(s.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!s.active)return this;var t=bI({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,x(),s.active=!1,s.paused=!1,E(),EI(r,n);var i=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),p=a(t,"returnFocus","returnFocusOnDeactivate");null==i||i();var u=function(){kI((function(){p&&d(h(s.nodeFocusedBeforeActivation)),null==l||l()}))};return p&&c?(c(h(s.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(s.paused||!s.active)return this;var t=a(e,"onPause"),n=a(e,"onPostPause");return s.paused=!0,null==t||t(),x(),E(),null==n||n(),this},unpause:function(e){if(!s.paused||!s.active)return this;var t=a(e,"onUnpause"),n=a(e,"onPostUnpause");return s.paused=!1,null==t||t(),u(),b(),E(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),s.active&&u(),E(),this}},n.updateContainerElements(e),n},RI=function(e){return LE("svg",{...e,children:LE("path",{fillRule:"evenodd",d:"m11.657 8-4.95 4.95a1 1 0 0 1-1.414-1.414L8.828 8 5.293 4.464A1 1 0 1 1 6.707 3.05L11.657 8Z"})})};RI.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var DI=function(e){return LE("svg",{...e,children:LE("path",{fillRule:"evenodd",d:"M9 13V9h4a1 1 0 0 0 0-2H9V3a1 1 0 1 0-2 0v4H3a1 1 0 1 0 0 2h4v4a1 1 0 0 0 2 0Z"})})};DI.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var NI=function(e){return LE("svg",{...e,children:LE("path",{fillRule:"evenodd",d:"M12 6v7c0 1.1-.4 1.55-1.5 1.55h-5C4.4 14.55 4 14.1 4 13V6h8Zm-1.5 1.5h-5v4.3c0 .66.5 1.2 1.111 1.2H9.39c.611 0 1.111-.54 1.111-1.2V7.5ZM13 3h-2l-1-1H6L5 3H3v1.5h10V3Z"})})};NI.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var BI=function(e){return LE("svg",{...e,children:[LE("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),LE("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),LE("path",{d:"M7 3H5v2h2V3zm4 0H9v2h2V3zM7 7H5v2h2V7zm4 0H9v2h2V7zm-4 4H5v2h2v-2zm4 0H9v2h2v-2z",fill:"#161616"})]})};BI.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var $I=function(e){return LE("svg",{...e,children:LE("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.637 12.637v-4.72h1.362v4.721c0 .36-.137.676-.411.95-.275.275-.591.412-.95.412H3.362c-.38 0-.703-.132-.967-.396A1.315 1.315 0 0 1 2 12.638V3.362c0-.38.132-.703.396-.967S2.982 2 3.363 2h4.553v1.363H3.363v9.274h9.274ZM14 2H9.28l-.001 1.362h2.408L5.065 9.984l.95.95 6.622-6.622v2.409H14V2Z",fill:"currentcolor"})})};$I.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var jI=function(e){return LE("svg",{...e,children:[LE("path",{d:"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 26a12 12 0 1 1 12-12 12 12 0 0 1-12 12Z"}),LE("circle",{cx:"16",cy:"23.5",r:"1.5"}),LE("path",{d:"M17 8h-1.5a4.49 4.49 0 0 0-4.5 4.5v.5h2v-.5a2.5 2.5 0 0 1 2.5-2.5H17a2.5 2.5 0 0 1 0 5h-2v4.5h2V17a4.5 4.5 0 0 0 0-9Z"}),LE("path",{style:{fill:"none"},d:"M0 0h32v32H0z"})]})};function II(e){const{element:t,headerProvider:n}=e,{getElementIcon:i,getDocumentationRef:r,getElementLabel:o,getTypeLabel:s}=n,a=o(t),l=s(t),c=r&&r(t),p=i(t);return LE("div",{class:"bio-properties-panel-header",children:[LE("div",{class:"bio-properties-panel-header-icon",children:p&&LE(p,{width:"32",height:"32",viewBox:"0 0 32 32"})}),LE("div",{class:"bio-properties-panel-header-labels",children:[LE("div",{title:l,class:"bio-properties-panel-header-type",children:l}),a?LE("div",{title:a,class:"bio-properties-panel-header-label",children:a}):null]}),LE("div",{class:"bio-properties-panel-header-actions",children:c?LE("a",{rel:"noopener",class:"bio-properties-panel-header-link",href:c,title:"Open documentation",target:"_blank",children:LE($I,{})}):null})]})}jI.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"};const LI=Mw({description:{},getDescriptionForId:()=>{}}),qI=Mw({errors:{}}),zI=Mw({eventBus:null}),VI=Mw({layout:{},setLayout:()=>{},getLayoutForKey:()=>{},setLayoutForKey:()=>{}}),FI=Mw({tooltip:{},getTooltipForId:()=>{}});function HI(e){const{forId:t,element:n}=e,i=function(e,t){const{getTooltipForId:n}=Zw(FI);return n(e,t)}(t,n),r=e.value||i;return r?LE(UI,{...e,value:r,forId:GI(t)}):e.children}function UI(e){const{forId:t,value:n,parent:i}=e,[r,o]=Uw(!1),[s,a]=Uw(!1);let l=null;const c=Qw(null),p=Qw(null),u=async e=>{const t=()=>o(!0);r||l||(e instanceof MouseEvent?l=setTimeout(t,200):(t(),a(!0)))},d=()=>{o(!1),a(!1)};Xw((()=>{const{current:e}=c;if(!e)return;const t=e=>{const t=document.activeElement===c.current||document.activeElement.closest(".bio-properties-panel-tooltip");!r||(({x:e,y:t})=>{const n=p.current,i=c.current;return n&&(WI(e,t,i.getBoundingClientRect())||WI(e,t,n.getBoundingClientRect()))})({x:e.x,y:e.y})||t&&s||d()},n=e=>{const{relatedTarget:t}=e;r&&!c.current.matches(":hover")&&t&&!t.closest(".bio-properties-panel-tooltip")&&d()};return document.addEventListener("wheel",t),document.addEventListener("focusout",n),document.addEventListener("mousemove",t),()=>{document.removeEventListener("wheel",t),document.removeEventListener("mousemove",t),document.removeEventListener("focusout",n)}}),[c.current,r,s]);const h=()=>LE("div",{class:"bio-properties-panel-tooltip",role:"tooltip",id:"bio-properties-panel-tooltip","aria-labelledby":t,style:XI(c.current),ref:p,onClick:e=>e.stopPropagation(),children:[LE("div",{class:"bio-properties-panel-tooltip-content",children:n}),LE("div",{class:"bio-properties-panel-tooltip-arrow"})]});return LE("div",{class:"bio-properties-panel-tooltip-wrapper",tabIndex:"0",ref:c,onMouseEnter:u,onMouseLeave:()=>{clearTimeout(l),l=null},onFocus:u,onKeyDown:e=>{"Escape"===e.code&&d()},children:[e.children,r?i?EE(h(),i.current):h():null]})}function WI(e,t,n){const{top:i,right:r,bottom:o,left:s}=n;return e>=s&&e<=r&&t>=i&&t<=o}function XI(e){const t=e.getBoundingClientRect();return`right: ${`calc(100% - ${t.x}px)`}; top: ${t.top-10+"px"};`}function GI(e){return`bio-properties-panel-${e}`}function QI(e){const{errors:t}=Zw(qI);return t[e]}function KI(){const{errors:e}=Zw(qI);return e}function YI(e,t,n){const i=Zw(zI);n||({eventBus:n}=i);const r=Qw(!1);n&&!r.current&&n.on(e,t),Xw((()=>(n&&r.current&&n.on(e,t),r.current=!0,()=>{n&&n.off(e,t)})),[t,e,n])}const ZI=6;function JI(e,t){const{getLayoutForKey:n,setLayoutForKey:i}=Zw(VI);return[n(e,t),Yw((t=>{i(e,t)}),[i])]}function eL(e){const t=Qw();return Xw((()=>{t.current=e})),t.current}function tL(e){const{onShow:t}=Zw(VI),n=Qw(),i=Qw(!1),r=Yw((n=>{n.id===e&&(t(),i.current||(i.current=!0))}),[e]);return Xw((()=>{i.current&&n.current&&(d(n.current.focus)&&n.current.focus(),d(n.current.select)&&n.current.select(),i.current=!1)})),YI("propertiesPanel.showEntry",r),n}function nL(e,t,n){const[i,r]=Uw(we(t)),o=Yw((()=>{const e=we(t);e!==i&&r(e)}),[t,i]);Xw((()=>{o()}),[o]),YI("propertiesPanel.attach",o),YI("propertiesPanel.detach",o),Xw((()=>{const t=IntersectionObserver;if(!t)return;if(!e.current||!i)return;const r=new t((e=>{0!==i.scrollHeight&&e.forEach((e=>{e.intersectionRatio<1?n(!0):1===e.intersectionRatio&&n(!1)}))}),{root:i,rootMargin:"0px 0px 999999% 0px",threshold:[1]});return r.observe(e.current),()=>{r.unobserve(e.current)}}),[e.current,i,n])}function iL(e){const t=Qw(e);return t.current=e,Yw(((...e)=>t.current(...e)),[])}function rL(e){const{element:t,entries:n=[],id:i,label:r,shouldOpen:o=!1}=e,s=Qw(null),[a,l]=JI(["groups",i,"open"],o),c=Yw((()=>l(!0)),[l]),[p,u]=Uw(!1),[h,m]=Uw(!1);Xw((()=>{const e=requestAnimationFrame((()=>{const e=n.find((e=>{const{id:t,isEdited:n}=e,i=we(`[data-entry-id="${t}"]`);if(!d(n)||!i)return!1;return n(we(".bio-properties-panel-input",i))}));u(e)}));return()=>cancelAnimationFrame(e)}),[n,u]);const f=KI(),g=n.some((e=>f[e.id]));nL(s,"div.bio-properties-panel-scroll-container",m);const y={...Zw(VI),onShow:c};return LE("div",{class:"bio-properties-panel-group","data-group-id":"group-"+i,ref:s,children:[LE("div",{class:zE("bio-properties-panel-group-header",p?"":"empty",a?"open":"",h&&a?"sticky":""),onClick:()=>l(!a),children:[LE("div",{title:e.tooltip?null:r,"data-title":r,class:"bio-properties-panel-group-header-title",children:LE(HI,{value:e.tooltip,forId:"group-"+i,element:t,parent:s,children:r})}),LE("div",{class:"bio-properties-panel-group-header-buttons",children:[LE(oL,{edited:p,hasErrors:g}),LE("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:LE(RI,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})]})]}),LE("div",{class:zE("bio-properties-panel-group-entries",a?"open":""),children:LE(VI.Provider,{value:y,children:n.map((e=>{const{component:n,id:i}=e;return lw(n,{...e,element:t,key:i})}))})})]})}function oL(e){const{edited:t,hasErrors:n}=e;return n?LE("div",{title:"Section contains an error",class:"bio-properties-panel-dot bio-properties-panel-dot--error"}):t?LE("div",{title:"Section contains data",class:"bio-properties-panel-dot"}):null}function sL(e){const{text:t,icon:n}=e;return LE("div",{class:"bio-properties-panel open",children:LE("section",{class:"bio-properties-panel-placeholder",children:[n&&LE(n,{class:"bio-properties-panel-placeholder-icon"}),LE("p",{class:"bio-properties-panel-placeholder-text",children:t})]})})}function aL(e){const{element:t,forId:n,value:i}=e,r=function(e,t){const{getDescriptionForId:n}=Zw(LI);return n(e,t)}(n,t),o=i||r;if(o)return LE("div",{class:"bio-properties-panel-description",children:o})}const lL=()=>{},cL=uE(((e,t)=>{const{onInput:n,disabled:i,tooltipContainer:r,enableGutters:o,value:s,onLint:a=lL,onPopupOpen:l=lL,popupOpen:c,contentAttributes:p={},hostLanguage:u=null,singleLine:d=!1}=e,h=Qw(),[m,f]=Uw(),[g,y]=Uw(s||"");!function(e,t){const[n,i]=Uw(void 0);t.current=Kw((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),i(t))}})),[e]),Xw((()=>{void 0!==n&&e&&(e.focus(n),i(!1))}),[e,n])}(m,t);const v=iL((e=>{n(e),y(e)}));Xw((()=>{let e;return e=new Rj({container:h.current,onChange:v,value:g,onLint:a,contentAttributes:p,tooltipContainer:r,enableGutters:o,hostLanguage:u,singleLine:d}),f(e),()=>{a([]),h.current.innerHTML="",f(null)}}),[]),Xw((()=>{m&&s!==g&&(m.setValue(s),y(s))}),[s]);return LE("div",{class:zE("bio-properties-panel-feelers-editor-container",c?"popupOpen":null),children:[LE("div",{class:"bio-properties-panel-feelers-editor__open-popup-placeholder",children:"Opened in editor"}),LE("div",{name:e.name,class:zE("bio-properties-panel-feelers-editor bio-properties-panel-input",g?"edited":null,i?"disabled":null),ref:h,onClick:()=>{t.current.focus()}}),LE("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l("feelers"),children:LE($I,{})})]})})),pL=()=>{},uL=uE(((e,t)=>{const{enableGutters:n,value:i,onInput:r,onFeelToggle:o=pL,onLint:s=pL,onPopupOpen:a=pL,popupOpen:l,disabled:c,tooltipContainer:p,variables:u}=e,d=Qw(),[h,m]=Uw(),[f,g]=Uw(i||"");!function(e,t){const[n,i]=Uw(void 0);t.current=Kw((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),i(t))}})),[e]),Xw((()=>{void 0!==n&&e&&(e.focus(n),i(!1))}),[e,n])}(h,t);const y=iL((e=>{r(e),g(e)}));Xw((()=>{let e;return e=new Qj({container:d.current,onChange:y,onKeyDown:t=>{if("Backspace"!==t.key||!e)return;const n=e.getSelection(),i=n.ranges[n.mainIndex];0===i.from&&0===i.to&&o()},onLint:s,tooltipContainer:p,value:f,variables:u,extensions:[...n?[qM()]:[]]}),m(e),()=>{s([]),d.current.innerHTML="",m(null)}}),[]),Xw((()=>{h&&i!==f&&(h.setValue(i),g(i))}),[i]),Xw((()=>{h&&h.setVariables(u)}),[u]);return LE("div",{class:zE("bio-properties-panel-feel-editor-container",c?"disabled":null,l?"popupOpen":null),children:[LE("div",{class:"bio-properties-panel-feel-editor__open-popup-placeholder",children:"Opened in editor"}),LE("div",{name:e.name,class:zE("bio-properties-panel-input",f?"edited":null),ref:d,onClick:()=>{t.current.focus()}}),LE("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>a(),children:LE($I,{})})]})})),dL=Mw({open:()=>{},close:()=>{},source:null});function hL(e,t){let n,i,r;function o(t){const o={x:t.clientX-i,y:t.clientY-r};return e.call(n,t,o)}function s(){document.removeEventListener("dragover",o,!0),document.removeEventListener("dragenter",mL,!0),document.removeEventListener("dragend",s),document.removeEventListener("drop",mL)}return function(e){n=this,i=e.clientX,r=e.clientY,e.dataTransfer&&e.dataTransfer.setDragImage(t||xe('<canvas width="0" height="0" />'),0,0),document.addEventListener("dragover",o,!0),document.addEventListener("dragenter",mL,!0),document.addEventListener("dragend",s),document.addEventListener("drop",mL)}}function mL(e){e.preventDefault(),e.stopPropagation()}const fL=()=>{};const gL=uE((function(e,t){const{container:n,className:i,delayInitialFocus:r,position:o,width:s,height:a,onClose:l,onPostActivate:c=fL,onPostDeactivate:p=fL,returnFocus:u=!0,closeOnEscape:d=!0,title:h}=e,m=Qw(null),f=Qw(null),g=t||f,y=Kw((()=>function(e){if("string"==typeof e)return we(e);return e}(n)),[n]),v=()=>{m.current&&m.current.activate()};let b={};return o&&(b={...b,top:o.top+"px",left:o.left+"px"}),s&&(b.width=s+"px"),a&&(b.height=a+"px"),Xw((()=>(g.current&&g.current.addEventListener("focusin",v),()=>{g.current.removeEventListener("focusin",v)})),[g]),Xw((()=>(g.current&&(m.current=MI(g.current,{clickOutsideDeactivates:!0,delayInitialFocus:r,fallbackFocus:g.current,onPostActivate:c,onPostDeactivate:p,returnFocusOnDeactivate:u}),m.current.activate()),()=>m.current&&m.current.deactivate())),[g]),EE(LE("div",{"aria-label":h,tabIndex:-1,ref:g,onKeyDown:e=>{e.stopPropagation(),d&&"Escape"===e.key&&l()},role:"dialog",class:zE("bio-properties-panel-popup",i),style:b,children:e.children}),y||document.body)}));function yL(e){return e.closest(".bio-properties-panel-popup")}gL.Title=function(e){const{children:t,className:n,draggable:i,emit:r=(()=>{}),title:o,...s}=e,a=Qw({startPosition:null,newPosition:null}),l=Qw(),c=Qw(),p=(e,t)=>{!function(e){e.preventDefault(),e.stopPropagation()}(e);const{x:n,y:i}=t,o={x:a.current.startPosition.x+n,y:a.current.startPosition.y+i},s=yL(c.current);s.style.top=o.y+"px",s.style.left=o.x+"px",r("dragover",{newPosition:o,delta:t})};return LE("div",{class:zE("bio-properties-panel-popup__header",i&&"draggable",n),ref:c,draggable:i,onDragStart:e=>{hL(p,l.current)(e),e.stopPropagation();const t=yL(c.current).getBoundingClientRect();a.current.startPosition={x:t.left,y:t.top},r("dragstart")},onDragEnd:()=>{a.current.newPosition=null,r("dragend")},...s,children:[i&&LE(pw,{children:[LE("div",{ref:l,class:"bio-properties-panel-popup__drag-preview"}),LE("div",{class:"bio-properties-panel-popup__drag-handle",children:LE(BI,{})})]}),LE("div",{class:"bio-properties-panel-popup__title",children:o}),t]})},gL.Body=function(e){const{children:t,className:n,...i}=e;return LE("div",{class:zE("bio-properties-panel-popup__body",n),...i,children:t})},gL.Footer=function(e){const{children:t,className:n,...i}=e;return LE("div",{class:zE("bio-properties-panel-popup__footer",n),...i,children:e.children})};const vL=700,bL=250;function xL(e){const{element:t,eventBus:n={fire(){},on(){},off(){}},popupContainer:i}=e,r=eL(t),[o,s]=Uw({}),[a,l]=Uw(!1),[c,p]=Uw(null),[u,d]=Uw(null),h=(e,t)=>{n.fire("feelPopup."+e,t)},m=Yw((()=>!!a),[a]);!function(e,t){const n=Qw(!1);Xw((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{a||h("closed")}),[a]);const f=(e,t,n)=>{p(e),s(t),l(!0),d(n),h("open")},g=()=>{l(!1),p(null)},y={open:f,close:g,source:c};return Xw((()=>{t&&r&&t!==r&&g()}),[t]),Xw((()=>{const e=()=>m();return n.on("feelPopup._close",g),n.on("feelPopup._open",(e=>{const{entryId:t,popupConfig:n,sourceElement:i}=e;f(t,n,i)})),n.on("feelPopup._isOpen",e),()=>{n.off("feelPopup._close",g),n.off("feelPopup._open",f),n.off("feelPopup._isOpen",e)}}),[n,m]),LE(dL.Provider,{value:y,children:[a&&LE(wL,{onClose:g,container:i,sourceElement:u,emit:h,...o}),e.children]})}function wL(e){const{container:t,id:n,hostLanguage:i,onInput:r,onClose:o,position:s,singleLine:a,sourceElement:l,title:c,tooltipContainer:p,type:u,value:d,variables:h,emit:m}=e,f=Qw(),g=Qw(),y=Qw(!1);return Xw((()=>(m("opened",{domNode:g.current}),()=>m("close",{domNode:g.current}))),[]),Xw((()=>{f.current&&f.current.focus()}),[f]),LE(gL,{container:t,className:"bio-properties-panel-feel-popup",emit:m,position:s,title:c,onClose:o,returnFocus:!1,closeOnEscape:!1,delayInitialFocus:!1,onPostDeactivate:()=>{l&&l.focus()},height:bL,width:vL,ref:g,children:[LE(gL.Title,{title:c,emit:m,draggable:!0,children:["feel"===u&&LE("a",{href:"https://docs.camunda.io/docs/components/modeler/feel/what-is-feel/",target:"_blank",class:"bio-properties-panel-feel-popup__title-link",children:["Learn FEEL expressions",LE(jI,{})]}),"feelers"===u&&LE("a",{href:"https://docs.camunda.io/docs/components/modeler/forms/configuration/forms-config-templating-syntax/",target:"_blank",class:"bio-properties-panel-feel-popup__title-link",children:["Learn templating",LE(jI,{})]})]}),LE(gL.Body,{children:LE("div",{onKeyDownCapture:e=>{"Escape"===e.key&&(y.current=e.target.closest(".cm-editor").querySelector(".cm-tooltip-autocomplete"))},onKeyDown:e=>{"Escape"===e.key&&(y.current||(o(),y.current=!1))},class:"bio-properties-panel-feel-popup__body",children:["feel"===u&&LE(uL,{enableGutters:!0,id:EL(n),name:n,onInput:r,value:d,variables:h,ref:f,tooltipContainer:p}),"feelers"===u&&LE(cL,{id:EL(n),contentAttributes:{"aria-label":c},enableGutters:!0,hostLanguage:i,name:n,onInput:r,value:d,ref:f,singleLine:a,tooltipContainer:p})]})}),LE(gL.Footer,{children:LE("button",{type:"button",onClick:o,title:"Close pop-up editor",class:"bio-properties-panel-feel-popup__close-btn",children:"Close"})})]})}function EL(e){return`bio-properties-panel-${e}`}function _L(e){const{id:t,label:n,onInput:i,value:r,switcherLabel:o,inline:s,onFocus:a,onBlur:l,inputRef:c,tooltip:p}=e,[u,d]=Uw(r);return Xw((()=>{r!==u&&d(r)}),[r]),LE("div",{class:zE("bio-properties-panel-toggle-switch",{inline:s}),children:[LE("label",{class:"bio-properties-panel-label",for:PL(t),children:LE(HI,{value:p,forId:t,element:e.element,children:n})}),LE("div",{class:"bio-properties-panel-field-wrapper",children:[LE("label",{class:"bio-properties-panel-toggle-switch__switcher",children:[LE("input",{ref:c,id:PL(t),class:"bio-properties-panel-input",type:"checkbox",onFocus:a,onBlur:l,name:t,onInput:e=>{(async()=>{i(!r)})(),d(e.target.value)},checked:!!u}),LE("span",{class:"bio-properties-panel-toggle-switch__slider"})]}),o&&LE("p",{class:"bio-properties-panel-toggle-switch__label",children:o})]})]})}function OL(e){const{element:t,id:n,description:i,label:r,switcherLabel:o,inline:s,getValue:a,setValue:l,onFocus:c,onBlur:p,tooltip:u}=e;return LE("div",{class:"bio-properties-panel-entry bio-properties-panel-toggle-switch-entry","data-entry-id":n,children:[LE(_L,{id:n,label:r,value:a(t),onInput:l,onFocus:c,onBlur:p,switcherLabel:o,inline:s,tooltip:u,element:t}),LE(aL,{forId:n,element:t,value:i})]})}function PL(e){return`bio-properties-panel-${e}`}function kL(e){const{debounce:t,disabled:n,displayLabel:i=!0,id:r,inputRef:o,label:s,max:a,min:l,onInput:c,step:p,value:u="",onFocus:d,onBlur:h}=e,[m,f]=Uw(u),g=Kw((()=>t((e=>{const{validity:t,value:n}=e.target;t.valid&&c(n?parseFloat(n):void 0)}))),[c,t]);return Xw((()=>{u!==m&&f(u)}),[u]),LE("div",{class:"bio-properties-panel-numberfield",children:[i&&LE("label",{for:SL(r),class:"bio-properties-panel-label",children:s}),LE("input",{id:SL(r),ref:o,type:"number",name:r,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",max:a,min:l,onInput:e=>{g(e),f(e.target.value)},onFocus:d,onBlur:h,step:p,value:m})]})}function SL(e){return`bio-properties-panel-${e}`}function CL(e){return`bio-properties-panel-${e}`}uE(((e,t)=>{const{id:n,disabled:i,onInput:r,value:o,onFocus:s,onBlur:a}=e,l=Qw();return t.current={focus:e=>{const t=l.current;t&&(t.focus(),"number"==typeof e&&(e>o.length&&(e=o.length),t.setSelectionRange(e,e)))}},LE("input",{id:CL(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:i,class:"bio-properties-panel-input",onInput:e=>r(e.target.value),onFocus:s,onBlur:a,value:o||""})})),uE(((e,t)=>{const{id:n,debounce:i,disabled:r,onInput:o,value:s,min:a,max:l,step:c,onFocus:p,onBlur:u}=e,d=Qw();return t.current={focus:e=>{const t=d.current;t&&(t.focus(),"number"==typeof e&&e!==1/0&&(e>s.length&&(e=s.length),t.setSelectionRange(e,e)))}},LE(kL,{id:n,debounce:i,disabled:r,displayLabel:!1,inputRef:d,max:l,min:a,onInput:o,step:c,value:s,onFocus:p,onBlur:u})})),uE(((e,t)=>{const{id:n,disabled:i,onInput:r,value:o,onFocus:s,onBlur:a}=e,l=Qw();return t.current={focus:()=>{const e=l.current;e&&(e.focus(),e.setSelectionRange(0,0))}},LE("textarea",{id:CL(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:i,class:"bio-properties-panel-input",onInput:e=>r(e.target.value),onFocus:s,onBlur:a,value:o||"","data-gramm":"false"})})),uE(((e,t)=>{const{id:n,onInput:i,value:r,onFocus:o,onBlur:s,switcherLabel:a}=e,l=Qw();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},LE(_L,{id:n,value:r,inputRef:l,onInput:i,onFocus:o,onBlur:s,switcherLabel:a})})),uE(((e,t)=>{const{id:n,disabled:i,onInput:r,value:o,onFocus:s,onBlur:a}=e,l=Qw();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},LE("input",{ref:l,id:CL(n),name:n,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:({target:e})=>{r(e.checked)},checked:o,disabled:i})}));const TL={},AL={},ML={};function RL(e){const{element:t,headerProvider:n,placeholderProvider:i,groups:r,layoutConfig:o,layoutChanged:s,descriptionConfig:a,descriptionLoaded:l,tooltipConfig:p,tooltipLoaded:u,feelPopupContainer:d,eventBus:h}=e,[m,f]=Uw(DL(o));!function(e,t){const n=Qw(!1);Gw((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{const e=DL(o);f(e)}),[o]),Xw((()=>{"function"==typeof s&&s(m)}),[m,s]);const g={layout:m,setLayout:f,getLayoutForKey:(e,t)=>z(m,e,t),setLayoutForKey:(e,t)=>{const n=L({},m);q(n,e,t),f(n)}},y=Kw((()=>function(e={}){return{...AL,...e}}(a)),[a]);Xw((()=>{"function"==typeof l&&l(y)}),[y,l]);const v={description:y,getDescriptionForId:(e,t)=>y[e]&&y[e](t)},b=Kw((()=>function(e={}){return{...ML,...e}}(p)),[p]);Xw((()=>{"function"==typeof u&&u(b)}),[b,u]);const x={tooltip:b,getTooltipForId:(e,t)=>b[e]&&b[e](t)},[w,E]=Uw({});YI("propertiesPanel.setErrors",(({errors:e})=>E(e)),h);const _={errors:w},O={eventBus:h},P={element:t};return i&&!t?LE(sL,{...i.getEmpty()}):i&&c(t)?LE(sL,{...i.getMultiple()}):LE(VI.Provider,{value:P,children:LE(qI.Provider,{value:_,children:LE(LI.Provider,{value:v,children:LE(FI.Provider,{value:x,children:LE(VI.Provider,{value:g,children:LE(zI.Provider,{value:O,children:LE(xL,{element:t,eventBus:h,popupContainer:d,children:LE("div",{class:"bio-properties-panel",children:[LE(II,{element:t,headerProvider:n}),LE("div",{class:"bio-properties-panel-scroll-container",children:r.map((e=>{const{component:n=rL,id:i}=e;return lw(n,{...e,key:i,element:t})}))})]})})})})})})})})}function DL(e={},t=TL){return{...t,...e}}function NL(e){const{class:t,children:n,menuItems:i=[]}=e,r=Qw(null),o=Qw(null),[s,a]=Uw(!1),l=()=>a(!1);function c(e,t){e.stopPropagation(),l(),t()}var p,u;return p=[r.current],u=()=>l(),Xw((()=>{function e(e){p.some((t=>t&&t.contains(e.target)))||u()}return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0})}),[...p,u]),LE("div",{class:zE("bio-properties-panel-dropdown-button",{open:s},t),onClick:function(e){o.current&&o.current.contains(e.target)||(e.stopPropagation(),a((e=>!e)))},ref:r,children:[n,LE("div",{class:"bio-properties-panel-dropdown-button__menu",ref:o,children:i.map(((e,t)=>LE(BL,{onClick:c,item:e},t)))})]})}function BL({item:e,onClick:t}){return e.separator?LE("div",{class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--separator"}):e.action?LE("button",{type:"button",class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--actionable",onClick:n=>t(n,e.action),children:e.entry}):LE("div",{class:"bio-properties-panel-dropdown-button__menu-item",children:e.entry})}function $L(e){const{children:t=null,class:n,onClick:i=(()=>{}),...r}=e;return LE("button",{type:"button",...r,onClick:i,class:zE("bio-properties-panel-group-header-button",n),children:t})}function jL(e){const{element:t,entries:n=[],id:i,label:r,open:o,remove:s}=e,[a,l]=Uw(o),{onShow:c}=Zw(VI),p={...Zw(VI),onShow:Yw((()=>{l(!0),d(c)&&c()}),[c,l])},u="<empty>";return LE("div",{"data-entry-id":i,class:zE("bio-properties-panel-collapsible-entry",a?"open":""),children:[LE("div",{class:"bio-properties-panel-collapsible-entry-header",onClick:()=>l(!a),children:[LE("div",{title:r||u,class:zE("bio-properties-panel-collapsible-entry-header-title",!r&&"empty"),children:r||u}),LE("button",{type:"button",title:"Toggle list item",class:"bio-properties-panel-arrow bio-properties-panel-collapsible-entry-arrow",children:LE(RI,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}),s?LE("button",{type:"button",title:"Delete item",class:"bio-properties-panel-remove-entry",onClick:s,children:LE(NI,{})}):null]}),LE("div",{class:zE("bio-properties-panel-collapsible-entry-entries",a?"open":""),children:LE(VI.Provider,{value:p,children:n.map((e=>{const{component:n,id:i}=e;return lw(n,{...e,element:t,key:i})}))})})]})}function IL(e){const{autoFocusEntry:t,autoOpen:n}=e;return Xw((()=>{if(n&&t){const e=we(`[data-entry-id="${t}"]`),n=we(".bio-properties-panel-input",e);n&&(d(n.select)?n.select():d(n.focus)&&n.focus())}}),[n,t]),LE("div",{class:"bio-properties-panel-list-item",children:LE(jL,{...e,open:n})})}const LL=()=>{};function qL(e){const{add:t,element:n,id:i,items:r,label:o,shouldOpen:s=!0,shouldSort:a=!0}=e,l=Qw(null),[c,p]=JI(["groups",i,"open"],!1),[u,d]=Uw(!1),h=Yw((()=>p(!0)),[p]),[m,f]=Uw([]),[g,y]=Uw(!1),[v,b]=Uw(!1),x=eL(r),w=eL(n),E=n!==w,_=!E&&(a||s);E&&f(FL(a?zL(r):r)),Xw((()=>{x&&a||f(FL(r))}),[r,n]),Xw((()=>{if(b(!1),_&&x&&r.length>x.length){let e=[];r.forEach((t=>{m.includes(t.id)||e.push(t.id)}));let t=m;v&&!c&&s&&O(),!c&&a&&(t=FL(zL(r))),t=t.filter((t=>!e.includes(t))),a?t.unshift(...e):t.push(...e),f(t),y(v)}else y(!1)}),[r,c,_,v]),Xw((()=>{a&&c&&!g&&f(FL(zL(r)))}),[c,a]),Xw((()=>{if(_&&x&&r.length<x.length){let e=[];m.forEach((t=>{VL(r,t)&&e.push(t)})),f(e)}}),[r,_]),nL(l,"div.bio-properties-panel-scroll-container",d);const O=()=>p(!c),P=!!r.length,k={...Zw(VI),onShow:h},S=KI(),C=r.some((e=>!!S[e.id]||(e.entries?e.entries.some((e=>S[e.id])):void 0)));return LE("div",{class:"bio-properties-panel-group","data-group-id":"group-"+i,ref:l,children:[LE("div",{class:zE("bio-properties-panel-group-header",P?"":"empty",P&&c?"open":"",u&&c?"sticky":""),onClick:P?O:LL,children:[LE("div",{title:e.tooltip?null:o,"data-title":o,class:"bio-properties-panel-group-header-title",children:LE(HI,{value:e.tooltip,forId:"group-"+i,element:n,parent:l,children:o})}),LE("div",{class:"bio-properties-panel-group-header-buttons",children:[t?LE("button",{type:"button",title:"Create new list item",class:"bio-properties-panel-group-header-button bio-properties-panel-add-entry",onClick:e=>{b(!0),t(e)},children:[LE(DI,{}),P?null:LE("span",{class:"bio-properties-panel-add-entry-label",children:"Create"})]}):null,P?LE("div",{title:`List contains ${r.length} item${1!=r.length?"s":""}`,class:zE("bio-properties-panel-list-badge",C?"bio-properties-panel-list-badge--error":""),children:r.length}):null,P?LE("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:LE(RI,{class:c?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}):null]})]}),LE("div",{class:zE("bio-properties-panel-list",c&&P?"open":""),children:LE(VI.Provider,{value:k,children:m.map(((e,t)=>{const i=VL(r,e);if(!i)return;const{id:o}=i,s=g;return lw(IL,{...i,autoOpen:s,element:n,index:t,key:o})}))})})]})}function zL(e){return M(e,(e=>e.label.toLowerCase()))}function VL(e,t){return g(e,(e=>e.id===t))}function FL(e){return e.map((e=>e.id))}function HL(e){const{id:t,label:n,onChange:i,disabled:r,value:o=!1,onFocus:s,onBlur:a,tooltip:l}=e,[c,p]=Uw(o);Xw((()=>{o!==c&&p(o)}),[o]);return LE("div",{class:"bio-properties-panel-checkbox",children:[LE("input",{ref:tL(t),id:XL(t),name:t,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:e=>{(({target:e})=>{i(e.checked)})(e),p(e.target.value)},checked:c,disabled:r}),LE("label",{for:XL(t),class:"bio-properties-panel-label",children:LE(HI,{value:l,forId:t,element:e.element,children:n})})]})}function UL(e){const{element:t,id:n,description:i,label:r,getValue:o,setValue:s,disabled:a,onFocus:l,onBlur:c,tooltip:p}=e,u=o(t),d=QI(n);return LE("div",{class:"bio-properties-panel-entry bio-properties-panel-checkbox-entry","data-entry-id":n,children:[LE(HL,{disabled:a,id:n,label:r,onChange:s,onFocus:l,onBlur:c,value:u,tooltip:p,element:t},t),d&&LE("div",{class:"bio-properties-panel-error",children:d}),LE(aL,{forId:n,element:t,value:i})]})}function WL(e){return e&&!!e.checked}function XL(e){return`bio-properties-panel-${e}`}function GL(e){const{id:t,element:n,items:i=[],component:r,label:o="<empty>",open:s,onAdd:a,onRemove:l,autoFocusEntry:c,compareFn:p,...u}=e,[d,h]=Uw(!!s),m=!!i.length,f=!eL(d)&&d,g=eL(n)!==n,y=function(e,t,n=!1){const i=Qw(e.slice());if(n)i.current=e.slice(),t&&i.current.sort(t);else{const n=i.current;for(const i of e)n.includes(i)||(t?n.unshift(i):n.push(i));i.current=n.filter((t=>e.includes(t)))}return i.current}(i,p,f||g),v=function(e=[],t){const n=eL(e.slice())||[];if(t)return[];return n?e.filter((e=>!n.includes(e))):[]}(i,g);return Xw((()=>{d&&!m&&h(!1)}),[d,m]),LE("div",{"data-entry-id":t,class:zE("bio-properties-panel-entry","bio-properties-panel-list-entry",m?"":"empty",d?"open":""),children:[LE("div",{class:"bio-properties-panel-list-entry-header",onClick:()=>m&&h(!d),children:[LE("div",{title:o,class:zE("bio-properties-panel-list-entry-header-title",d&&"open"),children:o}),LE("div",{class:"bio-properties-panel-list-entry-header-buttons",children:[LE("button",{type:"button",title:"Create new list item",onClick:function(e){e.stopPropagation(),a(),d||h(!0)},class:"bio-properties-panel-add-entry",children:[LE(DI,{}),m?null:LE("span",{class:"bio-properties-panel-add-entry-label",children:"Create"})]}),m&&LE("div",{title:`List contains ${i.length} item${1!=i.length?"s":""}`,class:"bio-properties-panel-list-badge",children:i.length}),m&&LE("button",{type:"button",title:"Toggle list item",class:"bio-properties-panel-arrow",children:LE(RI,{class:d?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})]})]}),m&&LE(QL,{...u,autoFocusEntry:c,component:r,element:n,id:t,items:y,newItems:v,onRemove:l,open:d})]})}function QL(e){const{autoFocusEntry:t,component:n,element:i,id:r,items:o,newItems:s,onRemove:a,open:l,...c}=e,p=function(e=[]){const t=Kw((()=>new Map),e);return e=>{let n=t.get(e);return n||(n=Math.random().toString().slice(-ZI),t.set(e,n)),n}}(),u=s[0];return Xw((()=>{if(u&&t){const e=we(`[data-entry-id="${r}"]`),n=we("boolean"==typeof t?".bio-properties-panel-input":t,e);n&&(d(n.select)?n.select():d(n.focus)&&n.focus())}}),[u,t,r]),LE("ol",{class:zE("bio-properties-panel-list-entry-items",l?"open":""),children:o.map(((e,t)=>{const o=p(e);return LE("li",{class:"bio-properties-panel-list-entry-item",children:[LE(n,{...c,element:i,id:r,index:t,item:e,open:e===u}),a&&LE("button",{type:"button",title:"Delete item",class:"bio-properties-panel-remove-entry bio-properties-panel-remove-list-entry",onClick:()=>a&&a(e),children:LE(NI,{})})]},o)}))})}function KL(e){const{id:t,label:n,onChange:i,options:r=[],value:o="",disabled:s,onFocus:a,onBlur:l,tooltip:c}=e,p=tL(t),[u,d]=Uw(o);return Xw((()=>{o!==u&&d(o)}),[o]),LE("div",{class:"bio-properties-panel-select",children:[LE("label",{for:JL(t),class:"bio-properties-panel-label",children:LE(HI,{value:c,forId:t,element:e.element,children:n})}),LE("select",{ref:p,id:JL(t),name:t,class:"bio-properties-panel-input",onInput:e=>{(({target:e})=>{i(e.value)})(e),d(e.target.value)},onFocus:a,onBlur:l,value:u,disabled:s,children:r.map(((e,t)=>e.children?LE("optgroup",{label:e.label,children:e.children.map(((e,t)=>LE("option",{value:e.value,disabled:e.disabled,children:e.label},t)))},t):LE("option",{value:e.value,disabled:e.disabled,children:e.label},t)))})]})}function YL(e){const{element:t,id:n,description:i,label:r,getValue:o,setValue:s,getOptions:a,disabled:l,onFocus:c,onBlur:p,validate:u,tooltip:h}=e,m=a(t),f=QI(n),[g,y]=Uw(null);let v=o(t);Xw((()=>{if(d(u)){const e=u(v)||null;y(e)}}),[v]);const b=f||g;return LE("div",{class:zE("bio-properties-panel-entry",b?"has-error":""),"data-entry-id":n,children:[LE(KL,{id:n,label:r,value:v,onChange:e=>{let t=null;d(u)&&(t=u(e)||null),s(e,t),y(t)},onFocus:c,onBlur:p,options:m,disabled:l,tooltip:h,element:t},t),b&&LE("div",{class:"bio-properties-panel-error",children:b}),LE(aL,{forId:n,element:t,value:i})]})}function ZL(e){return e&&!!e.value}function JL(e){return`bio-properties-panel-${e}`}function eq(e){const{debounce:t,disabled:n,element:i,getValue:r,id:o,onBlur:s,onFocus:a,setValue:l}=e,c=r(i),[p,u]=Uw(c),d=Kw((()=>t((({target:e})=>l(e.value.length?e.value:void 0)))),[l,t]);return Xw((()=>{c!==p&&u(c)}),[c]),LE("div",{class:"bio-properties-panel-simple",children:LE("input",{id:tq(o),type:"text",name:o,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",onInput:e=>{d(e),u(e.target.value)},"aria-label":p||"<empty>",onFocus:a,onBlur:s,value:p},i)})}function tq(e){return`bio-properties-panel-${e}`}function nq(e){e.style.height="auto",e.style.height=`${e.scrollHeight+2}px`}function iq(e){const{id:t,label:n,debounce:i,onInput:r,value:o="",disabled:s,monospace:a,onFocus:l,onBlur:c,autoResize:p,rows:u=(p?1:2),tooltip:d}=e,[h,m]=Uw(o),f=tL(t),g=Kw((()=>i((({target:e})=>r(e.value.length?e.value:void 0)))),[r,i]);return Gw((()=>{p&&nq(f.current)}),[]),Xw((()=>{o!==h&&m(o)}),[o]),LE("div",{class:"bio-properties-panel-textarea",children:[LE("label",{for:sq(t),class:"bio-properties-panel-label",children:LE(HI,{value:d,forId:t,element:e.element,children:n})}),LE("textarea",{ref:f,id:sq(t),name:t,spellCheck:"false",class:zE("bio-properties-panel-input",a?"bio-properties-panel-input-monospace":"",p?"auto-resize":""),onInput:e=>{g(e),p&&nq(e.target),m(e.target.value)},onFocus:l,onBlur:c,rows:u,value:h,disabled:s,"data-gramm":"false"})]})}function rq(e){const{element:t,id:n,description:i,debounce:r,label:o,getValue:s,setValue:a,rows:l,monospace:c,disabled:p,validate:u,onFocus:h,onBlur:m,autoResize:f,tooltip:g}=e,y=QI(n),[v,b]=Uw(null);let x=s(t);Xw((()=>{if(d(u)){const e=u(x)||null;b(e)}}),[x]);const w=y||v;return LE("div",{class:zE("bio-properties-panel-entry",w?"has-error":""),"data-entry-id":n,children:[LE(iq,{id:n,label:o,value:x,onInput:e=>{let t=null;d(u)&&(t=u(e)||null),a(e,t),b(t)},onFocus:h,onBlur:m,rows:l,debounce:r,monospace:c,disabled:p,autoResize:f,tooltip:g,element:t},t),w&&LE("div",{class:"bio-properties-panel-error",children:w}),LE(aL,{forId:n,element:t,value:i})]})}function oq(e){return e&&!!e.value}function sq(e){return`bio-properties-panel-${e}`}function aq(e){const{debounce:t,disabled:n=!1,id:i,label:r,onInput:o,onFocus:s,onBlur:a,value:l="",tooltip:c}=e,[p,u]=Uw(l||""),d=tL(i),h=Kw((()=>t((({target:e})=>o(e.value.length?e.value:void 0)))),[o,t]);return Xw((()=>{l!==p&&u(l)}),[l]),LE("div",{class:"bio-properties-panel-textfield",children:[LE("label",{for:pq(i),class:"bio-properties-panel-label",children:LE(HI,{value:c,forId:i,element:e.element,children:r})}),LE("input",{ref:d,id:pq(i),type:"text",name:i,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",onInput:e=>{h(e),u(e.target.value)},onFocus:s,onBlur:a,value:p})]})}function lq(e){const{element:t,id:n,description:i,debounce:r,disabled:o,label:s,getValue:a,setValue:l,validate:c,onFocus:p,onBlur:u,tooltip:h}=e,m=QI(n),[f,g]=Uw(null);let y=a(t);Xw((()=>{if(d(c)){const e=c(y)||null;g(e)}}),[y]);const v=m||f;return LE("div",{class:zE("bio-properties-panel-entry",v?"has-error":""),"data-entry-id":n,children:[LE(aq,{debounce:r,disabled:o,id:n,label:s,onInput:e=>{let t=null;d(c)&&(t=c(e)||null),l(e,t),g(t)},onFocus:p,onBlur:u,value:y,tooltip:h,element:t},t),v&&LE("div",{class:"bio-properties-panel-error",children:v}),LE(aL,{forId:n,element:t,value:i})]})}function cq(e){return e&&!!e.value}function pq(e){return`bio-properties-panel-${e}`}function uq(e){return function(t){return!1!==e?j(t,u(e)?e:300):t}}uq.$inject=["config.debounceInput"];var dq={debounceInput:["factory",uq]};class hq{constructor(e){this._eventBus=e}isOpen(){return this._eventBus.fire("feelPopup._isOpen")}open(e,t,n){return this._eventBus.fire("feelPopup._open",{entryId:e,popupConfig:t,sourceElement:n})}close(){return this._eventBus.fire("feelPopup._close")}}hq.$inject=["eventBus"];var mq={feelPopup:["type",hq]},fq={},gq=qt(H);Object.defineProperty(fq,"__esModule",{value:!0});var yq=gq;function vq(e){return(xq(e,"zeebe:IoMapping")||[])[0]}function bq(e){return function(e,t){var n=vq(e);return n&&n.get(t)||[]}(e,"inputParameters")}function xq(e,t,n){var i=function(e,t){var n=[],i=e.get("extensionElements");if(void 0!==i){var r=i.get("values");void 0!==r&&(n=yq.filter(r,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(i[0]||{})[n]||[]:i}function wq(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function Eq(e,t,n){n=n||0,yq.isArray(e)||(e=[e]),yq.forEach(e,(function(e,i){var r=t(e,i,n);yq.isArray(r)&&r.length&&Eq(r,t,n+1)}))}function _q(e,t,n){var i=!n||-1===e.indexOf(t);return i&&e.push(t),i}function Oq(e,t,n){var i=[],r=[];return Eq(e,(function(e,o,s){_q(i,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&_q(r,a,t))return a})),i}function Pq(e,t){return Oq(e,!t,-1)}function kq(e,t){var n=yq.findIndex(e,(function(e){return e.name===t.name&&e.scope===t.scope}));n>=0?e[n].origin=function(e,t){return e.concat(t)}(e[n].origin,t.origin):e.push(t)}function Sq(e,t,n){var i,r,o,s,a=(i=n,r=t,o=wq(e),s=yq.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return yq.find(bq(e),(function(e){return e.target===t}))}(e,r)})),s||i);return{name:t,origin:[e],scope:a}}var Cq=[function(e){var t=e.elements,n=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=function(e){return(vq(e)||{}).inputParameters}(e);yq.forEach(t,(function(t){var i=Sq(e,t.target,e);kq(n,i)}))})),n},function(e){var t=e.elements,n=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=e.loopCharacteristics,i=t&&function(e){const t=xq(e,"zeebe:LoopCharacteristics")[0];return t&&t.inputElement}(t);if(i){var r=Sq(e,i,e);kq(n,r)}})),n},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=function(e){return(vq(e)||{}).outputParameters}(e);yq.forEach(t,(function(t){var r=Sq(e,t.target,n);kq(i,r)}))})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=e.loopCharacteristics,r=t&&function(e){const t=xq(e,"zeebe:LoopCharacteristics")[0];return t&&t.outputCollection}(t);if(r){var o=Sq(e,r,n);kq(i,o)}})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=function(e){return(xq(e,"zeebe:CalledDecision")||[])[0]}(e)||function(e){return(xq(e,"zeebe:Script")||[])[0]}(e);if(t){var r=t.resultVariable;if(r){var o=Sq(e,r,n);kq(i,o)}}})),i}];function Tq(e,t=[]){var n=[],i=Pq([e],!1);const r=[];return yq.forEach([...Cq,...t],(function(t){r.push(t({elements:i,containerElement:e,processVariables:n}))})),Promise.all(r).then((()=>n))}async function Aq(e,t,n=[]){var i=await Tq(t,n),r=function(e,t){var n=Pq(t);return yq.find(n,(function(t){return t.id===e}))}(e,t),o=yq.filter(i,(function(e){return e.scope.id===r.id})),s=wq(r);return function(e,t){return e.concat(t)}(o,yq.filter(i,(function(e){return yq.find(s,(function(t){return t.id===e.scope.id}))})))}function Mq(e){return e&&e.businessObject||e}function Rq(e,t){var n=Mq(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}fq.getProcessVariables=Tq,fq.getVariablesForElement=function(e,t=[]){return Aq(function(e){const t=Mq(e);if(Rq(e,"bpmn:Participant"))return t.processRef.id;return t.id}(e),function(e){const t=Mq(e);if(Rq(t,"bpmn:Participant"))return t.processRef;if(Rq(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!Rq(n,"bpmn:Process");)n=n.$parent;return n}(e),t)},fq.getVariablesForScope=Aq;var Dq={exports:{}};const Nq=(e,t,n)=>{const i=t<0?e.length+t:t;if(i>=0&&i<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}};Dq.exports=(e,t,n)=>(e=[...e],Nq(e,t,n),e);var Bq=Dq.exports.mutate=Nq,$q={};Object.defineProperty($q,"__esModule",{value:!0});var jq=gq;function Iq(e){var t=function(e){return Lq(e,"camunda:FormData")[0]}(e);return t&&t.get("fields")||[]}function Lq(e,t,n){var i=function(e,t){var n=[],i=e.get("extensionElements");if(void 0!==i){var r=i.get("values");void 0!==r&&(n=jq.filter(r,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(i[0]||{})[n]||[]:i}function qq(e,t){var n=function(e){return(Lq(e,"camunda:InputOutput")||[])[0]}(e);return n&&n.get(t)||[]}function zq(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function Vq(e,t,n){n=n||0,jq.isArray(e)||(e=[e]),jq.forEach(e,(function(e,i){var r=t(e,i,n);jq.isArray(r)&&r.length&&Vq(r,t,n+1)}))}function Fq(e,t,n){var i=!n||-1===e.indexOf(t);return i&&e.push(t),i}function Hq(e,t,n){var i=[],r=[];return Vq(e,(function(e,o,s){Fq(i,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&Fq(r,a,t))return a})),i}function Uq(e,t){return Hq(e,!t,-1)}function Wq(e,t){var n=jq.findIndex(e,(function(e){return e.name===t.name&&e.scope===t.scope}));n>=0?e[n].origin=function(e,t){return e.concat(t)}(e[n].origin,t.origin):e.push(t)}function Xq(e,t,n){var i,r,o,s,a=(i=n,r=t,o=zq(e),s=jq.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return jq.find(function(e){return qq(e,"inputParameters")}(e),(function(e){return e.name===t}))}(e,r)})),s||i);return{name:t,origin:[e],scope:a}}function Gq(e,t){var n=e.eventDefinitions;return n&&t?jq.filter(n,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})):n}var Qq=[function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=function(e){return qq(e,"outputParameters")}(e);jq.forEach(t,(function(t){var r=Xq(e,t.name,n);Wq(i,r)}))})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=function(e){return e.get("camunda:resultVariable")}(e);if(t){var r=Xq(e,t,n);Wq(i,r)}})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=Iq(e);jq.forEach(t,(function(t){var r=Xq(e,t.id,n);Wq(i,r)}))})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=function(e){return Lq(e,"camunda:Out")}(e);jq.forEach(t,(function(t){if(!t.local){var r=Xq(e,t.target,n);Wq(i,r)}}))})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables,r=function(e,t){var r=Xq(e,t,n);Wq(i,r)};return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=function(e){return Gq(e,"bpmn:ErrorEventDefinition")}(e);jq.forEach(t,(function(t){var n=t.get("errorCodeVariable"),i=t.get("errorMessageVariable");n&&r(e,n),i&&r(e,i)}));var n=function(e){return Gq(e,"bpmn:EscalationEventDefinition")}(e);jq.forEach(n,(function(t){var n=t.get("escalationCodeVariable");n&&r(e,n)}))})),i}];function Kq(e,t=[]){const n=[];var i=[],r=Uq([e],!1);return jq.forEach([...Qq,...t],(function(t){n.push(t({elements:r,containerElement:e,processVariables:i}))})),Promise.all(n).then((()=>i))}var Yq=$q.getProcessVariables=Kq,Zq=$q.getVariablesForScope=async function(e,t,n=[]){var i=await Kq(t,n),r=function(e,t){var n=Uq(t);return jq.find(n,(function(t){return t.id===e}))}(e,t),o=jq.filter(i,(function(e){return e.scope.id===r.id})),s=zq(r);return function(e,t){return e.concat(t)}(o,jq.filter(i,(function(e){return jq.find(s,(function(t){return t.id===e.scope.id}))})))};const Jq=Mw({selectedElement:null,injector:null,getService:()=>null});function ez(e,t){const{getService:n}=Zw(Jq);return n(e,t)}function tz(){return tz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},tz.apply(this,arguments)}function nz(){return nz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},nz.apply(this,arguments)}function iz(){return iz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},iz.apply(this,arguments)}function rz(){return rz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},rz.apply(this,arguments)}function oz(){return oz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},oz.apply(this,arguments)}function sz(){return sz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sz.apply(this,arguments)}function az(){return az=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},az.apply(this,arguments)}var lz=({styles:e={},...t})=>jE("svg",az({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),jE("path",{stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"1.1,4.3",d:"M1.5 30.5L27 5"}),jE("path",{d:"M31.803.197L26.5 16.107l-1.52-1.52 3.783-11.35-11.35 3.783-1.52-1.52z"}));function cz(){return cz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},cz.apply(this,arguments)}function pz(){return pz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},pz.apply(this,arguments)}function uz(){return uz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},uz.apply(this,arguments)}function dz(){return dz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},dz.apply(this,arguments)}function hz(){return hz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hz.apply(this,arguments)}function mz(){return mz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},mz.apply(this,arguments)}function fz(){return fz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fz.apply(this,arguments)}function gz(){return gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},gz.apply(this,arguments)}function yz(){return yz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yz.apply(this,arguments)}function vz(){return vz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vz.apply(this,arguments)}function bz(){return bz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},bz.apply(this,arguments)}function xz(){return xz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xz.apply(this,arguments)}function wz(){return wz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},wz.apply(this,arguments)}function Ez(){return Ez=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ez.apply(this,arguments)}function _z(){return _z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_z.apply(this,arguments)}function Oz(){return Oz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Oz.apply(this,arguments)}function Pz(){return Pz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Pz.apply(this,arguments)}function kz(){return kz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kz.apply(this,arguments)}function Sz(){return Sz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Sz.apply(this,arguments)}function Cz(){return Cz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Cz.apply(this,arguments)}function Tz(){return Tz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Tz.apply(this,arguments)}function Az(){return Az=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Az.apply(this,arguments)}function Mz(){return Mz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Mz.apply(this,arguments)}function Rz(){return Rz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Rz.apply(this,arguments)}var Dz=({styles:e={},...t})=>jE("svg",Rz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.111.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.454 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.215-2.282-2.022-5.3-3.217-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.082 11.082 0 0116 5.021zm-3.956 3.946l-3.096 3.097 3.985 3.985-3.913 3.913 3.047 3.048 3.913-3.913 3.988 3.987 3.097-3.096L19.076 16l3.914-3.913-3.048-3.048-3.913 3.913-3.986-3.985zm-.002 1.222l3.988 3.987 3.913-3.913 1.826 1.826-3.913 3.913 3.985 3.986-1.873 1.873-3.985-3.985-3.913 3.913-1.827-1.827 3.914-3.913-3.988-3.987 1.873-1.873z"}));function Nz(){return Nz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Nz.apply(this,arguments)}var Bz=({styles:e={},...t})=>jE("svg",Nz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm-.56 5.772l-7.408 5.231 7.409 5.234v-5.057c2.385 1.687 4.771 3.371 7.157 5.057V10.793l-7.157 5.055v-5.055zm-.865 1.665v7.125l-5.048-3.562 5.048-3.563zm7.161 0v7.132l-5.048-3.566 5.048-3.566z"}));function $z(){return $z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$z.apply(this,arguments)}var jz=({styles:e={},...t})=>jE("svg",$z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.97.04h-.127C8.713-.018 2.003 5.334.437 12.286c-1.51 6.123.98 13.005 6.136 16.665 5.125 3.788 12.546 4.105 17.912.623 5.272-3.276 8.33-9.766 7.325-15.916-.904-6.241-5.79-11.7-11.95-13.143A16.082 16.082 0 0015.97.04zm-.181 1.724c.115 0 .23 0 .347.003 6.625-.066 12.823 5.149 13.89 11.69 1.13 5.91-1.908 12.349-7.262 15.138-5.473 3.013-12.866 1.884-17.116-2.726C1.291 21.372.444 13.914 3.802 8.602c2.493-4.112 7.169-6.819 11.987-6.838zm.283 1.554c-.117 0-.234.002-.351.005-6.1 0-11.691 5.049-12.346 11.114-.78 5.684 2.795 11.612 8.218 13.52 5.139 1.943 11.416.101 14.624-4.38 3.461-4.583 3.262-11.538-.596-15.831-2.36-2.747-5.924-4.423-9.549-4.428zm-.078 1.695c.078 0 .156 0 .234.003 5.4 0 10.321 4.556 10.734 9.942.563 5.13-2.958 10.364-7.971 11.678-4.832 1.41-10.457-.935-12.746-5.446-2.463-4.559-1.2-10.795 3.014-13.883a11.072 11.072 0 016.735-2.294zm-5.352 4.266V22.761h10.716V9.279H10.642zm.863.866h8.987v11.75h-8.987v-11.75zm.927 1.323v.862h7.133v-.862h-7.133zm0 2.602v.866h7.133v-.866h-7.133zm0 3.008v.862h7.133v-.862h-7.133zm0 2.717v.863h7.133v-.863h-7.133z"}));function Iz(){return Iz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Iz.apply(this,arguments)}var Lz=({styles:e={},...t})=>jE("svg",Iz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm6.132 4.194c-1.21 2.455-2.422 4.91-3.633 7.364l-4.516-5.875-4.103 12.133 4.6-5.912c1.58 1.81 3.162 3.619 4.744 5.429L22.13 9.215zM14.383 13.1l4.295 5.445 1.073-2.387-1.027 4.131-4.384-5.157-1.778 2.75 1.821-4.782z"}));function qz(){return qz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qz.apply(this,arguments)}var zz=({styles:e={},...t})=>jE("svg",qz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.927c-1.672 4.654-2.734 9.502-4.406 14.155 1.534-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.496-4.71-2.91-9.446-4.406-14.156zm.032 2.929c.822 2.586 1.598 5.186 2.42 7.771l-2.42-2.612c-.682.597-2.452 2.884-2.338 2.388.87-2.487 1.447-5.067 2.338-7.547z"}));function Vz(){return Vz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Vz.apply(this,arguments)}var Fz=({styles:e={},...t})=>jE("svg",Vz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm1.78 4.093v3.555H9.785v6.714h7.994v3.554l5.829-6.911-5.83-6.912zm.974 2.584l3.61 4.295-3.61 4.294v-1.933h-7.88v-4.688h7.88v-1.968z"}));function Hz(){return Hz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Hz.apply(this,arguments)}var Uz=({styles:e={},...t})=>jE("svg",Hz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm-7.245 5.475v11.06h14.502v-11.06H8.754zm3.222 1.728h8.057c-1.427.878-2.854 2.806-4.281 3.016l-3.776-3.016zm9.554 1.017v6.587H10.48V13.24l5.524 4.414 5.526-4.414z"}));function Wz(){return Wz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Wz.apply(this,arguments)}var Xz=({styles:e={},...t})=>jE("svg",Wz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.073l-7.62 5.531 2.91 8.95h9.42l2.91-8.95-7.62-5.53zm0 1.067l6.604 4.794-2.523 7.757h-8.162l-2.522-7.757 6.603-4.794z"}));function Gz(){return Gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Gz.apply(this,arguments)}var Qz=({styles:e={},...t})=>jE("svg",Gz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M10.638 9.563V23.056h10.724V9.563H10.638zm.863.866h8.995v11.76H11.5V10.43zm.928 1.324v.862h7.139v-.862h-7.14zm0 2.605v.866h7.139v-.866h-7.14zm0 3.01v.863h7.139v-.863h-7.14zm0 2.72v.863h7.139v-.864h-7.14zM15.999.308h-.004l-.188.001h-.011l-.188.004h-.011L15.41.32h-.011l-.187.008h-.005L15.2.33l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.37h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003.178-.001h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 1.023l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.62h-.005l-.005-.002-.182-.035h-.006L18.938.58l-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.43 17.783.41l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.37h-.005L17.38.368l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.328h-.011L16.6.32h-.011l-.187-.006h-.011L16.204.31h-.011L16.005.31H16zm9.016 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zm-18.381.344l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003L4.682 5l-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.595h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01L16.32 3.6h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 13.135l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187V16.7l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zm-30.21.572l-.161.001-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158-.074-.155-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178-.001-.177v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057-.159-.028zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14v-.005l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 23.019l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 27.127l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z"}));function Kz(){return Kz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Kz.apply(this,arguments)}var Yz=({styles:e={},...t})=>jE("svg",Kz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.012 9.222c-1.673 4.657-2.735 9.508-4.409 14.164 1.536-1.526 2.874-3.236 4.41-4.762l4.408 4.762c-1.497-4.712-2.911-9.451-4.409-14.164zm.032 2.93c.823 2.588 1.599 5.19 2.421 7.777l-2.42-2.614c-.683.598-2.454 2.886-2.34 2.39.871-2.489 1.448-5.07 2.34-7.552zM16.012.312c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function Zz(){return Zz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Zz.apply(this,arguments)}var Jz=({styles:e={},...t})=>jE("svg",Zz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M8.742 10.464v11.072h14.516V10.464H8.742zm3.224 1.73h8.066a69569 69569 0 00-4.034 3.22l-4.032-3.22zm9.565 1.018v6.594H10.469v-6.593L16 17.63l5.532-4.419zM16 0h-.005l-.188.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06h-.005L17.38.06l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0H16zm9.015 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zM6.634 3.28l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.286h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 12.826l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zM.938 15L.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 22.71l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 26.818l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z"}));function eV(){return eV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},eV.apply(this,arguments)}var tV=({styles:e={},...t})=>jE("svg",eV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M23.637 13.902l-7.625-5.535-7.624 5.535 2.912 8.956h9.425l2.912-8.956zm-1.017.33l-2.524 7.762H11.93l-2.524-7.762 6.607-4.796 6.608 4.796zM16.012.311c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function nV(){return nV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},nV.apply(this,arguments)}var iV=({styles:e={},...t})=>jE("svg",nV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M13.51 9.081v4.428H9.08v4.982h4.428v4.428h4.982V18.49h4.428v-4.982H18.49V9.081h-4.982zm.83.83h3.32v4.428h4.429v3.322H17.66v4.428h-3.32v-4.454H9.91v-3.296h4.428V9.911zM16 0h-.005l-.188.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06h-.005L17.38.06l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0H16zm9.015 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zM6.634 3.28l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.286h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 12.826l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zM.938 15L.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 22.71l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 26.818l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z",opacity:".98"}));function rV(){return rV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},rV.apply(this,arguments)}var oV=({styles:e={},...t})=>jE("svg",rV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.012 8.816L9.21 21.026h13.606l-6.803-12.21zm0 1.776l5.332 9.57H10.681l5.331-9.57zm0-10.281c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function sV(){return sV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sV.apply(this,arguments)}var aV=({styles:e={},...t})=>jE("svg",sV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.998 8.406c-3.018-.041-5.92 1.926-7.031 4.727-1.138 2.695-.51 6.012 1.537 8.103 1.99 2.141 5.268 2.93 8.014 1.927 2.878-.98 4.992-3.827 5.068-6.87.153-2.957-1.624-5.88-4.3-7.137a7.552 7.552 0 00-3.288-.75zm0 1.384c2.759-.052 5.373 1.973 6.015 4.655.704 2.578-.482 5.517-2.791 6.867-2.358 1.48-5.682 1.086-7.618-.918-2.043-1.971-2.407-5.381-.84-7.745 1.11-1.763 3.15-2.88 5.234-2.86zm1.962 1.765l-2.074 3.762c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.182l1.993-3.615c-.252-.14-.505-.278-.757-.417zm-1.965-8.268h-.158l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.048.12.047.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.138-.107-.121-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.005-.002-.006-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.141-.031-.006-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.001-.143-.026-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.01l-.148-.001h-.01zM10.357 4.66l-.156.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.004.003-.005.004-.11.096-.004.004-.004.003-.109.098-.004.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.003.004-.004.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.005-.086.117-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.029.15-.058.138-.085.119-.108.082-.106.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022-.16.008zm13.91 2.116l-.158.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.026.159.054.152.082.139.086.102.09.09.094.098.093.099.092.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.115.068.117.067.115.065.118.064.117.062.118.061.12.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.049.127.046.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.086.137.109.119.129.096.145.07.155.043.16.013.161-.017.155-.046.143-.074.126-.1.106-.122.082-.138.055-.152.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.059-.132-.002-.005-.002-.004-.061-.132-.003-.004-.002-.005-.062-.13-.003-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.073-.125-.003-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.08-.12-.004-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.117-.003-.005-.003-.004-.088-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.093-.113-.004-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.109-.004-.004-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023-.16.008zM4.288 12.828l-.158.032-.15.06-.135.088-.117.11-.095.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.006-.019.144v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.006l-.001.005-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.006.033.14v.006l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.103.102-.126.076-.142.049-.153.02-.16-.01-.161-.032-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.132-.024-.134-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.132.01-.139.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029-.16.002zm23.286 4.202l-.156.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.134-.026.132-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.062.119-.063.116-.067.119-.066.116-.068.115-.07.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.108-.085.109-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.082-.12.003-.005.002-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.004.003-.005.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.003-.005.002-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.002-.006.04-.138.002-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.141.001-.006.001-.005.031-.141.002-.006v-.005l.03-.142.001-.005.001-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022-.16.007zM6.681 22.734l-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.11.04.047.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.106.004.003.004.004.103.105.004.004.004.004.105.103.004.004.003.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.005.004.004.003.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.003.126.072.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.068.005.002.004.002.13.066.004.003.005.002.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.003.133.056.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.161-.015.155-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.158-.061-.15-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.079-.11-.08-.109-.082-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006-.16.024zm15.063 2.691l-.156.044-.12.057-.06.034-.12.066-.116.064-.119.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.036-.13.035-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021h.005l.006-.002.143-.022h.006l.005-.002.143-.024h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.036.005-.002.005-.001.14-.038.005-.001.005-.002.14-.04h.005l.005-.002.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.056.005-.003.005-.002.132-.057.005-.002.005-.003.132-.059.005-.002.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.002.005-.003.129-.066.004-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.002.065-.038.132-.093.112-.115.089-.135.062-.149.034-.157.004-.161-.027-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.045-.16-.017-.161.014zM15.994 0l-.187.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.01L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.184.027h-.006l-.005.001-.184.029h-.005l-.005.001-.183.031-.005.001-.006.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.177.027.17.03.173.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.088-.135.06-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.144-.073-.129-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.005-.001-.184-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06 17.385.06h-.005l-.187-.015h-.005l-.005-.001-.187-.013h-.01L16.799.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0h-.01zm8.86 2.939l-.157.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.127.125.123.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.085.152.083.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.161-.016.155-.046.143-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.002-.005-.003-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.002-.005-.102-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.004-.003-.005-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.003-.004-.004-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.003-.004-.133-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027-.16.004zm-18.381.348l-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.005-.003.004-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.005-.003.004-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023-.161.008zm24.514 11.15l-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.024.175-.027.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.161-.061.164-.063.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.078.158-.081.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.12.13.096.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.004.002-.005.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.17.002-.006.001-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.18.001-.006.001-.005.038-.182v-.005l.002-.005.035-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02-.161.009zM.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.005.074.169.002.005.002.004.076.169.002.005.002.004.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.156-.07-.162-.068-.16-.067-.164-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15 .777 15zM6.17 26.842l-.152.052-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.005.003.004.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.003.162.088.005.002.004.002.164.087.005.002.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.169.076.004.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.061.005.002.005.001.175.06.005.001.005.002.176.057.005.001.005.002.177.055.005.001.005.002.177.052.005.002.005.001.178.051.005.001.005.002.178.048.006.002h.005l.179.047.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.169-.044-.17-.045-.166-.048-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006-.16.024zm19.214.073l-.156.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.157.073-.158.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.048-.17.045-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.008.133-.017.115-.024h.005l.005-.002.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002h.005l.18-.047.004-.001.005-.002.179-.048.005-.002.005-.001.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.005-.002.004-.002.172-.068.005-.001.005-.002.171-.07.005-.002.005-.002.17-.072.005-.002.005-.002.169-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.002.167-.08.004-.003.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.002.163-.087.005-.002.005-.002.162-.088.005-.003.005-.003.161-.09.005-.002.004-.003.16-.092.005-.002.005-.003.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.002.155-.102.005-.003.004-.003.154-.104.004-.003.005-.003.152-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.111.004-.004.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02-.16.009z"}));function lV(){return lV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},lV.apply(this,arguments)}var cV=({styles:e={},...t})=>jE("svg",lV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.157.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.408 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.215-2.282-2.022-5.3-3.217-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.082 11.082 0 0116 4.975zm-2.15 3.281v5.534H8.213v4.38h5.636v5.534h4.31V18.17h5.639v-4.38h-5.64V8.256h-4.31zm.865.865h2.583v5.534h5.635v2.65h-5.635v5.533h-2.583v-5.534h-5.64v-2.649h5.64V9.121z"}));function pV(){return pV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},pV.apply(this,arguments)}var uV=({styles:e={},...t})=>jE("svg",pV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.521L9.206 20.745h13.598L16.005 8.542zm0 1.775l5.329 9.564H10.677l5.328-9.564z"}));function dV(){return dV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},dV.apply(this,arguments)}var hV=({styles:e={},...t})=>jE("svg",dV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.97.04h-.127C8.713-.018 2.003 5.334.437 12.286c-1.51 6.123.98 13.005 6.136 16.665 5.125 3.788 12.546 4.105 17.912.623 5.272-3.276 8.33-9.766 7.325-15.916-.904-6.241-5.79-11.7-11.95-13.143A16.082 16.082 0 0015.97.04zm-.181 1.724c.115 0 .23 0 .347.003 6.625-.066 12.823 5.149 13.89 11.69 1.13 5.91-1.908 12.349-7.262 15.138-5.473 3.013-12.866 1.884-17.116-2.726C1.291 21.372.444 13.914 3.802 8.602c2.493-4.112 7.169-6.819 11.987-6.838zm.283 1.554c-.117 0-.234.002-.351.005-6.1 0-11.691 5.049-12.346 11.114-.78 5.684 2.795 11.612 8.218 13.52 5.139 1.943 11.416.101 14.624-4.38 3.461-4.583 3.262-11.538-.596-15.831-2.36-2.747-5.924-4.423-9.549-4.428zm-.078 1.695c.078 0 .156 0 .234.003 5.4 0 10.321 4.556 10.734 9.942.563 5.13-2.958 10.364-7.971 11.678-4.832 1.41-10.457-.935-12.746-5.446-2.463-4.559-1.2-10.795 3.014-13.883a11.072 11.072 0 016.735-2.294zm-.137 3.42c-2.965.02-5.792 1.968-6.884 4.722-1.137 2.693-.509 6.007 1.536 8.096 1.988 2.14 5.263 2.929 8.007 1.926 2.875-.98 4.987-3.824 5.063-6.865.154-2.954-1.622-5.875-4.295-7.13a7.545 7.545 0 00-3.427-.75zm.27 1.381c2.708.013 5.249 2.014 5.88 4.652.704 2.576-.481 5.512-2.788 6.862-2.356 1.478-5.677 1.084-7.611-.918-2.042-1.97-2.405-5.376-.839-7.738 1.11-1.762 3.146-2.877 5.229-2.857h.13zm1.831 1.764l-2.072 3.76c-.64.068-.792 1.039-.202 1.298.39.27.696-.18 1.051-.164h3.168v-.864h-3.18l1.992-3.612-.757-.418z"}));function mV(){return mV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},mV.apply(this,arguments)}var fV=({styles:e={},...t})=>jE("svg",mV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.848.001C8.113-.093.931 6.281.125 13.983c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.207C29.105 4.938 23.55.48 17.367.06A16.448 16.448 0 0015.848 0v.001zm.293 1.727c7.113-.099 13.662 5.97 14.077 13.08.56 6.299-3.516 12.735-9.582 14.679-5.798 2.004-12.806-.12-16.283-5.237C.717 19.159.874 11.638 5.016 6.876 7.722 3.638 11.902 1.63 16.14 1.728zm-.415 1.555C9.157 3.258 3.256 9.156 3.278 15.729c-.16 5.965 4.365 11.725 10.293 12.737 5.409 1.065 11.37-1.744 13.775-6.753 2.534-4.986 1.386-11.627-2.953-15.251-2.364-2.077-5.512-3.27-8.667-3.18zm.507 1.692c5.82-.026 11.013 5.318 10.79 11.143-.024 5.3-4.313 10.267-9.636 10.803-5.075.667-10.426-2.588-11.885-7.553-1.535-4.744.494-10.46 4.925-12.885a11.072 11.072 0 015.806-1.508z"}));function gV(){return gV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},gV.apply(this,arguments)}function yV(){return yV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yV.apply(this,arguments)}function vV(){return vV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vV.apply(this,arguments)}function bV(){return bV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},bV.apply(this,arguments)}function xV(){return xV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xV.apply(this,arguments)}function wV(){return wV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},wV.apply(this,arguments)}function EV(){return EV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},EV.apply(this,arguments)}function _V(){return _V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_V.apply(this,arguments)}function OV(){return OV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},OV.apply(this,arguments)}function PV(){return PV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PV.apply(this,arguments)}function kV(){return kV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kV.apply(this,arguments)}function SV(){return SV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},SV.apply(this,arguments)}function CV(){return CV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},CV.apply(this,arguments)}function TV(){return TV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},TV.apply(this,arguments)}function AV(){return AV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},AV.apply(this,arguments)}function MV(){return MV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},MV.apply(this,arguments)}function RV(){return RV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},RV.apply(this,arguments)}function DV(){return DV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},DV.apply(this,arguments)}function NV(){return NV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},NV.apply(this,arguments)}function BV(){return BV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},BV.apply(this,arguments)}function $V(){return $V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$V.apply(this,arguments)}function jV(){return jV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},jV.apply(this,arguments)}function IV(){return IV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},IV.apply(this,arguments)}function LV(){return LV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},LV.apply(this,arguments)}function qV(){return qV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qV.apply(this,arguments)}function zV(){return zV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},zV.apply(this,arguments)}function VV(){return VV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},VV.apply(this,arguments)}function FV(){return FV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},FV.apply(this,arguments)}function HV(){return HV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},HV.apply(this,arguments)}function UV(){return UV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},UV.apply(this,arguments)}function WV(){return WV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},WV.apply(this,arguments)}function XV(){return XV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},XV.apply(this,arguments)}function GV(){return GV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},GV.apply(this,arguments)}var QV=({styles:e={},...t})=>jE("svg",GV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M5.637 3A5.644 5.644 0 000 8.637v15.417a5.644 5.644 0 005.637 5.637h20.726A5.644 5.644 0 0032 24.054V8.637A5.644 5.644 0 0026.363 3H5.637zm0 1.778h20.726a3.83 3.83 0 013.859 3.859v15.417a3.83 3.83 0 01-3.859 3.858h-4.201V16.695H9.838v11.217H5.637a3.83 3.83 0 01-3.859-3.858V8.637a3.83 3.83 0 013.859-3.859zm5.33 13.046h10.066v10.065H10.967V17.824zm4.189 1.431V22.06H12.35v1.689h2.804V26.554h1.69V23.749h2.804V22.06h-2.804V19.255h-1.69z"}));function KV(){return KV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},KV.apply(this,arguments)}var YV=({styles:e={},...t})=>jE("svg",KV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M5.636 3A5.642 5.642 0 000 8.636v15.418a5.643 5.643 0 005.636 5.636h20.728A5.643 5.643 0 0032 24.054V8.636A5.642 5.642 0 0026.364 3H5.636zm0 1.778h20.728a3.83 3.83 0 013.858 3.858v15.418a3.83 3.83 0 01-3.858 3.858h-4.203V16.723H9.84v11.189H5.636a3.83 3.83 0 01-3.858-3.858V8.636a3.83 3.83 0 013.858-3.858zm5.331 13.074h10.066v10.06H10.967v-10.06zm1.336 3.996v1.711h7.394v-1.71h-7.394z"}));function ZV(){return ZV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ZV.apply(this,arguments)}function JV(){return JV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},JV.apply(this,arguments)}function eF(){return eF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},eF.apply(this,arguments)}function tF(){return tF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},tF.apply(this,arguments)}var nF={Association:({styles:e={},...t})=>jE("svg",tz({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),jE("path",{stroke:"#000",strokeWidth:"2",fill:"none",strokeDasharray:"3.3,6",strokeLinecap:"square",d:"M1.5 30.5l29-29"})),BusinessRuleTask:({styles:e={},...t})=>jE("svg",nz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zM5.296 7.398v12.665h16.87V7.398H5.296zm.718 4.386h15.433v3.44H9.985v-3.432h-.719v3.431H6.014v-3.44zm0 4.158h3.252v3.403H6.014v-3.403zm3.97 0h11.463v3.403H9.985v-3.403z"}),jE("path",{d:"M6.079 8.209v3.587H21.44V8.209z"})),CallActivity:({styles:e={},...t})=>jE("svg",iz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M24.978 3c3.761 0 6.89 2.979 7.018 6.695l.004.238V22.4c0 3.747-3.05 6.804-6.783 6.93l-.24.003H7.023c-3.761 0-6.89-2.978-7.018-6.695L0 22.4V9.933C0 6.187 3.05 3.13 6.783 3.004L7.023 3h17.955zm0 3.667H7.022c-1.842 0-3.255 1.344-3.35 3.079l-.005.187V22.4c0 1.761 1.35 3.167 3.16 3.262l.195.005L10 25.666V15h12v10.666h2.978c1.842 0 3.255-1.344 3.35-3.079l.005-.187V9.933c0-1.761-1.35-3.166-3.16-3.261l-.195-.005zm-3.732 9.087H10.754v9.912h10.491v-9.912zm-4.475 1.817v2.658h2.658v1.542H16.77v2.658H15.23V21.77H12.57V20.23h2.658V17.57h1.542z"})),Collaboration:({styles:e={},...t})=>jE("svg",rz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("g",{fillRule:"evenodd"},jE("path",{fillRule:"nonzero",d:"M0 0v8.62h32V0H0zm1.655 7.054v-5.37h28.62v5.37H1.656zM0 23.38V32h32v-8.62H0zm1.655 7.054v-5.37h28.62v5.37H1.656z"}),jE("path",{d:"M24 8l4 7h-8l4-7zm0 2l-2.28 4h4.56L24 10zM23.5 21h1v3h-1zM23.5 15h1v3h-1zM8 24l-4-7h8l-4 7zm0-2l2.28-4H5.72L8 22zM7.5 8h1v3h-1zM7.5 14h1v3h-1z"}))),ConditionalFlow:({styles:e={},...t})=>jE("svg",oz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M32 .041S20.42 5.95 14.537 8.713c1.26 1.15 2.432 2.392 3.648 3.588-5.703 5.78-3.15 3.303-8.087 8.316l-8.472 1.377L0 32l10.006-1.626.098-.598 1.279-7.873c4.975-5.052 2.403-2.555 8.118-8.346 1.218 1.214 2.43 2.435 3.648 3.648C26.29 11.018 32 .041 32 .041zM9.603 22.397L8.54 28.91 2.03 29.97l1.061-6.515 6.512-1.058z"})),SequenceFlow:({styles:e={},...t})=>jE("svg",sz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M32 .06S20.33 6.014 14.403 8.798c1.27 1.16 2.451 2.41 3.676 3.616L0 30.734 1.325 32l18.08-18.32c1.227 1.223 2.448 2.453 3.676 3.676C26.247 11.12 32 .06 32 .06z"})),DataInput:({styles:e={},...t})=>jE("svg",cz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M20.833 0H3.488v32H28V7.36L20.833 0zm-2.105 1.818v7.507h7.454v20.857H5.306V1.818h13.422zm1.818.493l5.06 5.196h-5.06V2.311zm-9.182.86v3.744H7.081v3.222h4.283v3.743l5.7-5.354-5.7-5.354zm.808 1.868l3.711 3.487-3.71 3.487V9.329H7.888V7.723h4.283V5.039z"})),DataInputAssociation:lz,DataOutput:({styles:e={},...t})=>jE("svg",uz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M20.833 0H3.488v32H28V7.36L20.833 0zm-2.105 1.818v7.507h7.454v20.857H5.306V1.818h13.422zm1.818.493l5.06 5.196h-5.06V2.311zm-9.182.86v3.744H7.081v3.222h4.283v3.743l5.7-5.354-5.7-5.354z"})),DataOutputAssociation:lz,DataObjectReference:({styles:e={},...t})=>jE("svg",pz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M21.345 0H4v32h24.512V7.36L21.345 0zM19.24 1.818v7.507h7.454v20.857H5.818V1.818H19.24zm1.818.493l5.06 5.196h-5.06V2.311z"})),DataStoreReference:({styles:e={},...t})=>jE("svg",dz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.008 1c-3.712 0-7.417.306-10.319.939-1.45.316-2.7.71-3.68 1.226C1.065 3.662.297 4.304.061 5.23a.823.823 0 00-.035.15L0 5.502l.017.084c-.012 7.41 0 14.46 0 22.08l.017.082c.203.985.995 1.656 1.975 2.172.98.517 2.23.91 3.68 1.226 2.902.633 6.607.94 10.319.94 3.711 0 7.416-.307 10.318-.94 1.451-.316 2.701-.71 3.68-1.226.98-.516 1.772-1.187 1.975-2.172l.017-.082V5.541a.825.825 0 000-.106v-.016l-.002-.013a.823.823 0 00-.046-.197c-.244-.916-1.007-1.55-1.943-2.044-.98-.516-2.23-.91-3.68-1.226C23.423 1.306 19.718 1 16.006 1zm0 1.646c3.62 0 7.245.308 9.968.901 1.36.297 2.497.67 3.263 1.074.612.323.932.643 1.063.882-.131.24-.451.56-1.063.882-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.901-1.361-.297-2.497-.67-3.264-1.074-.611-.322-.931-.642-1.062-.882.13-.24.451-.56 1.062-.882.767-.403 1.903-.777 3.264-1.074 2.723-.593 6.348-.9 9.968-.9zM1.664 7.647c.112.067.227.132.345.194.98.517 2.23.91 3.68 1.226 2.902.633 6.607.94 10.319.94 3.711 0 7.416-.307 10.318-.94 1.451-.316 2.701-.71 3.68-1.226.119-.062.234-.127.346-.194v1.93c-.08.245-.398.619-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.9-1.361-.298-2.497-.671-3.264-1.075-.714-.376-1.032-.75-1.112-.995v-1.93zm0 4.187c.112.067.227.132.345.195.98.516 2.23.91 3.68 1.226 2.902.632 6.607.938 10.319.938 3.711 0 7.416-.306 10.318-.938 1.451-.317 2.701-.71 3.68-1.226.119-.063.234-.128.346-.195v1.93c-.08.245-.398.619-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.9-1.361-.298-2.497-.67-3.264-1.075-.714-.376-1.032-.75-1.112-.995v-1.93zm0 4.188c.112.067.227.131.345.194.98.516 2.23.91 3.68 1.226 2.902.633 6.607.939 10.319.939 3.711 0 7.416-.306 10.318-.94 1.451-.316 2.701-.709 3.68-1.225.119-.063.234-.127.346-.194V27.47c-.08.245-.398.618-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.9-9.968.9-3.62 0-7.245-.306-9.968-.9-1.361-.297-2.497-.67-3.264-1.074-.714-.377-1.032-.75-1.112-.995V16.022z"})),DefaultFlow:({styles:e={},...t})=>jE("svg",hz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M32 .06S20.33 6.014 14.403 8.798c1.27 1.16 2.451 2.41 3.676 3.616L6.84 23.804H.046v1.755h5.063L0 30.735 1.325 32l6.357-6.441h7.145v-1.756H9.414l9.99-10.123c1.228 1.223 2.45 2.453 3.677 3.676C26.247 11.12 32 .06 32 .06z"})),CancelEndEvent:({styles:e={},...t})=>jE("svg",mz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-3.955 3.918L8.94 12.072l3.985 3.985-3.913 3.913 3.048 3.047 3.913-3.913 3.987 3.987 3.096-3.096-3.987-3.987 3.913-3.913-3.047-3.048-3.913 3.913-3.985-3.985z"})),CompensateEndEvent:({styles:e={},...t})=>jE("svg",fz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-.56 5.744l-7.407 5.23 7.408 5.234v-5.057c2.384 1.687 4.771 3.371 7.157 5.057V10.801l-7.157 5.054v-5.054z"})),ErrorEndEvent:({styles:e={},...t})=>jE("svg",gz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm6.132 4.166l-3.633 7.363-4.516-5.874-4.102 12.131 4.599-5.91 4.743 5.427 2.909-13.137z"})),EscalationEndEvent:({styles:e={},...t})=>jE("svg",yz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 3.9c-1.672 4.653-2.733 9.5-4.406 14.153 1.535-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.497-4.71-2.91-9.445-4.406-14.155z"})),LinkEndEvent:({styles:e={},...t})=>jE("svg",vz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.532 18.532 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm1.78 4.065v3.555H9.779v6.713h7.994v3.554l5.828-6.91-5.828-6.912z"})),MessageEndEvent:({styles:e={},...t})=>jE("svg",bz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.532 18.532 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-5.91 5.448l6.041 4.9 6.04-4.9H10.084zm-1.34 1.137v9.92h14.513v-9.718l-7.132 5.786-7.381-5.988z"})),MultipleEndEvent:({styles:e={},...t})=>jE("svg",xz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.529 18.529 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.011 3.039l-7.619 5.53 2.91 8.95h9.418l2.91-8.95-7.619-5.53z"})),EndEvent:({styles:e={},...t})=>jE("svg",wz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.84.042C8.654-.01 1.913 5.437.4 12.454-1.057 18.62 1.554 25.495 6.784 29.09c5.076 3.636 12.31 3.92 17.59.544 5.309-3.251 8.435-9.744 7.445-15.921C30.91 7.307 25.795 1.738 19.442.422a16.064 16.064 0 00-3.602-.38zm.382 5.01c5.28-.017 10.13 4.353 10.669 9.61.687 5.025-2.552 10.281-7.423 11.792-4.754 1.617-10.486-.447-12.962-4.856-2.74-4.575-1.574-11.094 2.768-14.27a11.05 11.05 0 016.948-2.276z"})),SignalEndEvent:({styles:e={},...t})=>jE("svg",Ez({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 3.492c-2.261 4.07-4.532 8.136-6.797 12.204h13.595L15.999 8.55z"})),TerminateEndEvent:({styles:e={},...t})=>jE("svg",_z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 2.859c-5.264-.2-9.495 5.551-7.755 10.516 1.366 5.085 8.108 7.436 12.339 4.301 4.455-2.807 4.708-9.943.462-13.058A8.128 8.128 0 0016 7.915z"})),EventSubProcess:({styles:e={},...t})=>jE("svg",Oz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M7.295 4.78h1.779V3.003h-1.78V4.78zm3.558 0h1.779V3.003h-1.78V4.78zm3.557 0h1.78V3.003h-1.78V4.78zm3.558 0h1.78V3.003h-1.78V4.78zm3.558 0h1.779V3.003h-1.779V4.78zm3.558 0c.55.014 1.106-.034 1.654.045l.245-1.762c-.629-.096-1.266-.05-1.9-.061V4.78zM5.732 3.004a5.933 5.933 0 00-.915.093c.111.582.226 1.164.315 1.75.358-.101.947.098.746-.483-.096-.382.164-1.208-.146-1.36zm22.372 2.281c.427.234.812.547 1.13.915.42-.4 1.002-.777 1.33-1.18a5.863 5.863 0 00-1.593-1.289l-.867 1.554zm-25.27-1.44c-.587.354-1.11.811-1.539 1.345.47.333.96.86 1.417 1.077.299-.362.66-.673 1.065-.913-.328-.493-.55-1.055-.944-1.509zM30.515 7.26c-.563.046-.557.342-.378.784.154.25-.097.862.25.85.525-.023 1.14.043 1.612-.032a5.891 5.891 0 00-.362-2.027l-1.122.425zM.268 7.114A6.042 6.042 0 000 9.052h1.78c-.013-.5.047-1.003.208-1.478L.296 7.027l-.026.079-.002.008zM30.22 12.45H32v-1.779h-1.779v1.779zm-30.22.16h1.78v-1.779H0v1.78zm30.22 3.398H32v-1.78h-1.779v1.78zm-30.22.16h1.78v-1.779H0v1.779zm30.22 3.398H32v-1.78h-1.779v1.78zm-30.22.16h1.78v-1.78H0v1.78zm30.22 3.397H32v-1.779h-1.779v1.78zm-30.22.16h1.78v-1.778H0v1.778zm30.137 1.47a4.059 4.059 0 01-.522 1.32c.506.283 1.046.715 1.53.908a5.836 5.836 0 00.744-1.918c-.576-.094-1.209-.264-1.752-.31zm-29.984.51c.157.676.435 1.325.82 1.904l1.486-.977a4.065 4.065 0 01-.577-1.347l-1.73.42zm28.427 1.943c-.371.277-.79.49-1.234.627l.548 1.693a5.84 5.84 0 001.835-.96l-1.082-1.412-.066.05-.001.002zm-26.164 1.47c.567.413 1.21.722 1.886.907.14-.569.343-1.175.444-1.722a4.062 4.062 0 01-1.283-.624l-1.047 1.438zm3.88 1.119h1.779v-1.78h-1.78v1.78zm3.55 0h1.787v-1.78H9.846v1.78zm3.565 0h1.78v-1.78h-1.78v1.78zm3.558 0h1.78v-1.78h-1.78v1.78zm3.451 0h1.743v-1.78h-1.743v1.78zm3.665 0h1.779v-1.78h-1.78v1.78zm-1.922-.545V16.776H9.846V29.25h12.318zM10.967 17.905h10.068V27.97H10.967V17.905zm1.336 3.998v1.711h7.396v-1.711h-7.396z",opacity:".97"})),ComplexGateway:({styles:e={},...t})=>jE("svg",Pz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm-.327 6.79v.007l-.145.027-.118.08-.083.123-.028.145v4.954L11.793 10.8l-.125-.08-.14-.029-.144.027-.122.082-.46.46-.085.125-.026.142.028.14.08.125 3.505 3.505H9.347l-.001-.002-.145.032-.118.08-.083.122-.028.146v.652l.029.147.082.119.12.08.144.032h4.956L10.8 20.207v-.001l-.084.124-.026.142.028.14.08.124.46.461.126.082.14.029.143-.027.124-.084L15.3 17.69v4.964-.001l.028.147.082.12.12.08.144.031h.652l.148-.03.118-.08.083-.12.028-.146v-4.962l3.505 3.505.126.082.14.027.142-.027.124-.084.461-.46.083-.123s.028-.144.027-.146l-.028-.14-.082-.126-3.496-3.496h4.948l.148-.03.119-.08.082-.12.028-.147v-.652l-.028-.145-.083-.122-.119-.08s-.147-.033-.147-.031h-4.964l3.512-3.512.082-.122.029-.144-.028-.14-.084-.124-.46-.461-.123-.082-.14-.027-.145.027-.122.082-3.507 3.507V9.348l-.028-.146-.082-.122-.12-.08-.147-.029h-.652z"})),EventBasedGateway:({styles:e={},...t})=>jE("svg",kz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 0a1.29 1.29 0 00-.918.373L.371 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.915.372A1.294 1.294 0 0016 0zm-.002 2.181l13.821 13.821-13.821 13.821-13.821-13.82L15.998 2.18zm0 5.876l-.254.185-7.377 5.355 2.915 8.964h9.433l2.915-8.964-7.631-5.54zm0 1.07l6.614 4.8-2.526 7.769h-8.175l-2.526-7.768 6.614-4.802z"})),ExclusiveGateway:({styles:e={},...t})=>jE("svg",Az({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 0a1.29 1.29 0 00-.918.373L.371 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.915.372A1.294 1.294 0 0016 0zm-.002 2.181l13.821 13.821-13.821 13.821-13.821-13.82L15.998 2.18zm-5.162 7.69l-.166.032-.141.096-.532.532s-.097.142-.097.144l-.03.164.032.162.093.144 4.857 4.858-4.855 4.855v-.001L9.9 21l-.03.164.032.162s.093.142.093.144l.531.532.146.095.162.032.164-.03.144-.097 4.855-4.856 4.857 4.857.145.095.162.032.164-.03.144-.097.531-.532.095-.14.033-.168-.033-.162-.095-.146L17.144 16 22 11.144l.095-.14.033-.166-.033-.163-.097-.144-.532-.532-.14-.095-.163-.032-.166.032-.141.095L16 14.855l-4.858-4.858v-.002l-.144-.092-.162-.032z"})),Gateway:({styles:e={},...t})=>jE("svg",Sz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.373a1.313 1.313 0 00-1.833 0L.373 15.084zm1.806.918L16 2.182l13.821 13.82L16 29.823 2.179 16.003z"})),InclusiveGateway:({styles:e={},...t})=>jE("svg",Cz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm0 6.379a7.447 7.447 0 00-7.44 7.441A7.447 7.447 0 0016 23.443 7.447 7.447 0 0023.443 16a7.447 7.447 0 00-7.441-7.441zm0 .825a6.61 6.61 0 016.617 6.616A6.61 6.61 0 0116 22.618 6.61 6.61 0 019.385 16 6.61 6.61 0 0116 9.385z"})),ParallelGateway:({styles:e={},...t})=>jE("svg",Tz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm-.377 5.708l-.168.032-.136.092-.096.14-.032.168v6.868h-6.87l-.002-.002-.166.037-.137.092v-.002l-.095.141-.033.167v.753s.032.169.034.17l.094.138.138.092.167.036h6.87v6.867l-.001-.001.033.17.095.138.138.092s.166.035.167.037h.752l.17-.036.137-.092.095-.137.033-.17v-6.867h6.868l.17-.035.137-.092.095-.137.033-.17v-.753s-.033-.165-.032-.167l-.096-.14-.138-.093s-.17-.037-.17-.035H16.81V8.323l-.033-.168-.094-.14-.138-.092-.17-.034h-.752z"})),Group:({styles:e={},...t})=>jE("svg",Mz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.34.016c-2.333.025-4.684 1.77-5.29 4.17C.608 5.848.88 7.608.804 9.314v2.922h2.041c.038-2.332-.076-4.673.062-7C3.14 3.355 4.869 1.938 6.643 2.04h8.956V.009c-3.086 0-6.173-.02-9.258 0v.007zm13.094 2.023h1.92V.009h-1.92v2.03zm5.756 0c1.265-.069 2.66.045 3.602 1.055 1.036.983 1.201 2.523 1.122 3.91v6.313h2.078c-.03-2.677.062-5.36-.047-8.032-.17-2.743-2.62-5.111-5.215-5.236-.511-.064-1.027-.02-1.54-.033v2.023zM.803 18.319h2.041v-2.026H.804v2.026zm29.11 1.084h2.08v-2.03h-2.08v2.03zM.804 26.148c.004 2.218 1.393 4.366 3.313 5.28 1.728.853 3.681.448 5.521.544.43-.112 1.29.231 1.435-.183v-1.847c-1.788-.043-3.584.094-5.365-.082-1.67-.354-2.919-2.048-2.863-3.844v-3.644H.804v3.777zm29.11-.068c.04 1.961-1.508 3.787-3.381 3.842-1.954.06-3.914.02-5.87.026v2.03c2.118-.042 4.242.08 6.355-.063 2.524-.264 4.818-2.644 4.94-5.323.08-1.039.014-2.085.035-3.126h-2.078v2.613zm-15.006 5.898h1.92v-2.03h-1.92v2.03z"})),CancelIntermediateCatchEvent:Dz,CompensateIntermediateCatchEvent:Bz,ConditionalIntermediateCatchEvent:jz,ErrorIntermediateCatchEvent:Lz,EscalationIntermediateCatchEvent:zz,LinkIntermediateCatchEvent:Fz,MessageIntermediateCatchEvent:Uz,MultipleIntermediateCatchEvent:Xz,ConditionalIntermediateCatchEventNonInterrupting:Qz,EscalationIntermediateCatchEventNonInterrupting:Yz,MessageIntermediateCatchEventNonInterrupting:Jz,MultipleIntermediateCatchEventNonInterrupting:tV,ParallelIntermediateCatchEventNonInterrupting:iV,SignalIntermediateCatchEventNonInterrupting:oV,TimerIntermediateCatchEventNonInterrupting:aV,ParallelMultipleIntermediateCatchEvent:cV,SignalIntermediateCatchEvent:uV,TimerIntermediateCatchEvent:hV,IntermediateThrowEvent:fV,CompensateIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",gV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm-.56 5.772l-7.408 5.231 7.409 5.234v-5.057c2.385 1.687 4.771 3.371 7.157 5.057V10.747l-7.157 5.055v-5.055z"})),EscalationIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",yV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.927c-1.672 4.654-2.734 9.502-4.406 14.155 1.534-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.496-4.71-2.91-9.446-4.406-14.156z"})),LinkIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",vV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm1.78 4.093v3.555H9.785v6.714h7.994v3.554l5.829-6.911-5.83-6.912z"})),MessageIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",bV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm-5.91 5.475l6.04 4.901 6.042-4.9H10.088zm-1.341 1.138v9.921h14.514V11.79l-7.132 5.787-7.382-5.99z"})),MultipleIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",xV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.073l-7.62 5.532 2.91 8.95h9.42l2.91-8.95-7.62-5.532z"})),SignalIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",wV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.52c-2.261 4.07-4.533 8.136-6.798 12.205h13.596L16.005 8.495z"})),Lane:({styles:e={},...t})=>jE("svg",EV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M0 7v18.62h32V7H0zm1.655 17.056V8.684h28.62v15.372H1.656z"})),ManualTask:({styles:e={},...t})=>jE("svg",_V({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm4.43 1.328c-.222.005-.43.09-.606.203-.985.638-4.356 2.977-5.096 3.486-.67.46-1.12 1.153-1.38 1.974-.27.858-.235 1.793-.232 2.576.002.59.016 1.104.17 1.727.22.908.634 1.63 1.23 2.118.597.49 1.363.732 2.23.734 3.038.012 6.078.016 9.119 0 .327-.002.645-.127.848-.37.204-.241.287-.56.291-.914a1.732 1.732 0 00-.097-.625h.327c.335 0 .641-.11.852-.316.21-.206.317-.475.374-.754a1.783 1.783 0 00-.126-1.143 1.18 1.18 0 00.877-.521c.196-.306.257-.666.258-1.025.001-.375-.088-.738-.293-1.033a1.179 1.179 0 00-.958-.512h-.478c.108-.237.156-.505.155-.782-.003-.373-.098-.721-.316-.99a1.21 1.21 0 00-.943-.43c-2.273-.004-4.236.018-6.412.012l-.19-.001c.102-.104.202-.205.312-.314.337-.336.662-.652.83-.869.4-.516.46-1.215.123-1.729-.178-.272-.439-.456-.72-.494a.93.93 0 00-.148-.008zm.029.728l.022.001c.055.008.115.027.209.172.132.201.126.606-.09.884-.079.102-.431.465-.767.8-.337.334-.657.643-.815.836-.153.186-.096.338-.056.435.04.096.085.212.298.263.063.014.066.01.086.012l.066.003c2.429.027 4.986-.004 7.223-.003.194 0 .293.056.379.162.086.105.151.286.153.533 0 .257-.065.467-.155.59-.09.124-.183.182-.37.183-1.706-.001-3.411-.005-5.117-.009v.731c2.23.004 4.461.01 6.692.012.17 0 .265.06.361.2.096.138.164.364.163.615 0 .268-.058.501-.143.634-.085.132-.162.193-.385.195-2.32-.001-4.554-.006-6.688-.003v.73c1.905 0 3.809.003 5.713.001.194.005.316.09.416.26.102.173.151.442.093.728-.04.193-.102.313-.17.38-.067.065-.148.108-.343.108h-5.71l.002.734c1.445 0 2.89-.01 4.334-.001.162 0 .232.041.297.123.064.081.123.238.12.488-.003.244-.061.385-.12.455-.06.07-.127.11-.296.11-3.037.016-6.076.012-9.113 0-.735-.002-1.316-.196-1.77-.568-.454-.372-.793-.935-.986-1.728-.134-.546-.146-.978-.148-1.558-.003-.796-.018-1.664.199-2.354.222-.705.582-1.24 1.096-1.593.75-.515 4.14-2.866 5.079-3.474a.504.504 0 01.241-.087z"})),MessageFlow:({styles:e={},...t})=>jE("svg",OV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M4.073 26.607l1.295 1.296L1.325 32l-.662-.633L0 30.735l4.073-4.128zm6.953-7.046l1.296 1.296L1.325 32l7.555-7.656-1.295-1.296 1.455-1.474 1.986-2.013zM32 .06s-2.699 5.189-5.417 10.462l-.326.633c-1.14 2.214-2.265 4.407-3.176 6.2-1.228-1.222-2.449-2.452-3.676-3.675l-3.57 3.618-1.297-1.296 3.541-3.588c-.98-.964-1.932-1.958-2.923-2.91l-.753-.706c2.68-1.258 6.533-3.165 9.95-4.876l.617-.309C28.838 1.673 32 .06 32 .06zm-4.126 4.06l-.015.007-.115.057-.048.024-.115.057L17.7 9.172l5.017 4.948 5.157-10z"})),Participant:({styles:e={},...t})=>jE("svg",PV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M0 5v22.069h32V5H0zm30.276 1.684v18.82H6.62V6.684h23.655zm-28.62 0h3.31v18.82h-3.31V6.684z"})),Process:({styles:e={},...t})=>jE("svg",kV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{fillRule:"evenodd",d:"M16.177 0l.137.002c.452.009.9.037 1.342.082.346.036.62.303.68.646l.437 2.536c.055.319.296.57.608.655.986.269 1.923.653 2.796 1.14.28.155.624.145.885-.039l2.083-1.47a.775.775 0 01.937.022c.86.699 1.645 1.484 2.343 2.343.22.27.223.653.023.937l-1.439 2.038a.833.833 0 00-.031.896c.512.889.92 1.846 1.204 2.855a.833.833 0 00.653.601l2.435.42c.342.059.61.333.645.679a15.928 15.928 0 01.08 2.064l-.003.114c-.012.382-.038.76-.077 1.134a.775.775 0 01-.645.68l-2.396.412a.835.835 0 00-.656.61 12.511 12.511 0 01-1.2 2.917.832.832 0 00.034.892l1.396 1.978c.2.284.196.667-.023.936a16.104 16.104 0 01-2.343 2.343.775.775 0 01-.937.023l-1.99-1.404a.833.833 0 00-.88-.026c-.907.516-1.886.922-2.916 1.2a.833.833 0 00-.61.656l-.414 2.396a.775.775 0 01-.679.646 16.096 16.096 0 01-3.312 0 .775.775 0 01-.679-.646l-.423-2.452a.834.834 0 00-.598-.636 12.474 12.474 0 01-1.468-.514 12.49 12.49 0 01-1.417-.68.833.833 0 00-.878.03l-2.026 1.43a.775.775 0 01-.937-.023 16.069 16.069 0 01-2.342-2.342.774.774 0 01-.024-.936l1.402-1.986a.833.833 0 00.032-.896 12.507 12.507 0 01-1.214-2.911.833.833 0 00-.655-.606l-2.386-.412a.775.775 0 01-.646-.678 16.097 16.097 0 010-3.314.775.775 0 01.646-.678l2.386-.412a.833.833 0 00.655-.606 12.507 12.507 0 011.214-2.911.833.833 0 00-.032-.896L3.552 6.853a.774.774 0 01.023-.936 16.091 16.091 0 012.343-2.343.775.775 0 01.937-.023l2.03 1.433c.26.177.6.182.874.028.915-.512 1.88-.9 2.87-1.167a.833.833 0 00.612-.656l.424-2.46a.775.775 0 01.679-.645C14.845.032 15.348.004 15.85 0h.326zM16 6.4c-5.302 0-9.6 4.297-9.6 9.599 0 5.302 4.298 9.6 9.6 9.6s9.6-4.298 9.6-9.6-4.298-9.6-9.6-9.6zm-3 4.283c0-1.425 1.637-2.203 2.715-1.29l5.69 4.815c.794.672.794 1.91 0 2.583l-5.69 4.815c-1.078.913-2.715.134-2.715-1.29z"})),ReceiveTask:({styles:e={},...t})=>jE("svg",SV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zM5.23 7.764v11.577h17.55V7.764H5.23zm1.816.758h13.917l-6.959 4.577-6.958-4.577zm-1.06.21l8.018 5.274 8.018-5.275v9.853H5.987V8.73z"})),ScriptTask:({styles:e={},...t})=>jE("svg",CV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm2.99 3.077l-.077.045-.026.015c-1.09.646-1.84 1.239-2.336 1.818-.496.579-.735 1.162-.742 1.725-.014 1.119.812 1.958 1.544 2.708.732.75 1.385 1.456 1.446 2.041.032.298-.039.598-.364 1.008-.324.408-.911.897-1.85 1.445l-1.388.808h8.56l.101-.059c.996-.58 1.667-1.116 2.094-1.655.429-.54.603-1.107.547-1.638-.11-1.052-.967-1.818-1.688-2.556-.721-.739-1.306-1.436-1.298-2.092.004-.331.132-.7.535-1.171.402-.47 1.08-1.02 2.119-1.636l1.362-.806h-8.54zm.241.867h5.271a6.83 6.83 0 00-1.113 1.01c-.496.58-.736 1.163-.743 1.726-.014 1.119.812 1.958 1.544 2.708.732.75 1.385 1.456 1.446 2.041.032.298-.039.598-.364 1.008-.312.393-.872.862-1.753 1.386H8.728c.367-.286.658-.566.88-.847.43-.54.604-1.107.548-1.638-.11-1.052-.968-1.818-1.688-2.556-.721-.739-1.306-1.435-1.298-2.092.004-.331.132-.7.534-1.171.389-.454 1.04-.984 2.021-1.575zm-1.233 1.48v.4h4.12v-.4h-4.12zm-.154 2.158v.4H12.6v-.4H8.34zm1.931 2.158v.4h4.126v-.4H10.27zm.59 2.158v.4h4.276v-.4h-4.276z"})),SendTask:({styles:e={},...t})=>jE("svg",TV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm-1.38 3.16l8.332 4.717L21.78 8.16H5.114zm.021 1.745v9.309H21.8V9.905l-8.353 4.655-8.31-4.655z"})),ServiceTask:({styles:e={},...t})=>jE("svg",AV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm1.22 1.681V7.84c-.329.093-.63.223-.914.382l-.83-.82-1.554 1.561.83.82c-.16.288-.285.594-.372.911l-1.177.002v2.2l1.189-.004c.109.431.345.819.58 1.165v-1.898l-1.038.004v-.737l1.034-.002.058-.294c.084-.429.252-.838.493-1.203l.165-.25-.727-.718.523-.526.728.719.247-.165c.379-.25.793-.417 1.206-.505l.291-.06-.002-1.01h.75L9.19 8.417H11.16c-.185-.221-.951-.508-1.237-.588L9.93 6.68H7.713zm2.078 2.105l.003 1.158a4.19 4.19 0 00-.915.383l-.83-.821-1.553 1.562.83.82c-.16.288-.286.593-.373.91l-1.176.003v2.2l1.188-.004c.094.326.224.624.383.905l-.85.847 1.57 1.543.847-.843c.29.161.599.286.919.373v1.198c.756.006 1.56.003 2.206.003V17.81a4.19 4.19 0 00.915-.383l.847.835 1.554-1.56-.848-.836c.16-.288.286-.594.373-.912l1.152-.007V12.75l-1.165.007a4.09 4.09 0 00-.382-.905l.805-.807-1.57-1.546-.804.806a4.16 4.16 0 00-.915-.372l.007-1.147H9.792zm.732.73h.751l-.006 1.005.297.058c.43.085.844.252 1.21.492l.25.162.701-.704.528.52-.702.704.169.25c.248.374.412.779.505 1.196l.061.292 1.016-.006v.737l-1.01.006-.058.292c-.085.43-.252.838-.494 1.205l-.165.25.744.733-.523.525-.743-.734-.248.165c-.378.247-.789.418-1.203.503l-.294.058v1.067h-.745v-1.059l-.295-.057a3.395 3.395 0 01-1.21-.492l-.248-.162-.747.743-.528-.52.747-.744-.17-.25a3.546 3.546 0 01-.506-1.196l-.06-.291-1.04.004v-.738l1.034-.002.058-.294c.085-.428.252-.837.493-1.203l.165-.25-.726-.718.522-.526.728.72.248-.166a3.546 3.546 0 011.205-.504l.292-.06-.003-1.01zm.388 2.685a1.65 1.65 0 00-1.645 1.645c0 .904.74 1.645 1.645 1.645a1.65 1.65 0 001.645-1.645 1.65 1.65 0 00-1.645-1.645zm0 .73a.91.91 0 01.915.915.91.91 0 01-.915.914.91.91 0 01-.915-.914.91.91 0 01.915-.915z"})),CompensateStartEvent:({styles:e={},...t})=>jE("svg",MV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm-.566 9.03l-7.415 5.235 7.415 5.238v-5.062c2.386 1.689 4.775 3.375 7.163 5.062V10.761l-7.163 5.058v-5.058zm-.866 1.666v7.13L9.51 15.993l5.052-3.565zm7.166 0v7.137l-5.052-3.568 5.052-3.569z"})),ConditionalStartEvent:({styles:e={},...t})=>jE("svg",RV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 0C7.174 0 0 7.174 0 16s7.174 16 16 16 16-7.174 16-16S24.826 0 16 0zm0 1.73c7.892 0 14.27 6.378 14.27 14.27 0 7.891-6.379 14.27-14.27 14.27S1.73 23.891 1.73 16C1.73 8.108 8.108 1.73 16 1.73zm-5.362 7.523v13.493h10.724V9.253H10.638zm.863.866h8.995V21.88H11.501V10.12zm.928 1.324v.863h7.139v-.863h-7.139zm0 2.605v.867h7.139v-.867h-7.139zm0 3.01v.864h7.139v-.863h-7.139zm0 2.72v.863h7.139v-.863h-7.139z"})),ErrorStartEvent:({styles:e={},...t})=>jE("svg",DV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.005C9.705-.08 3.643 3.968 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994.005zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626-4.814-3.838-6.538-10.939-4.067-16.57 2.14-5.205 7.515-8.774 13.147-8.708zm6.13 7.45l-3.635 7.37-4.52-5.88c-1.37 4.048-2.738 8.095-4.106 12.143l4.603-5.917 4.748 5.433 2.91-13.149zm-7.754 3.889l4.299 5.449 1.073-2.39-1.028 4.135-4.387-5.16-1.78 2.75 1.823-4.784z"})),EscalationStartEvent:({styles:e={},...t})=>jE("svg",NV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm0 7.183c-1.674 4.658-2.736 9.509-4.41 14.166 1.535-1.526 2.874-3.236 4.41-4.763l4.41 4.763c-1.499-4.713-2.913-9.453-4.41-14.166zm.032 2.931c.822 2.588 1.598 5.19 2.42 7.778l-2.42-2.615c-.683.598-2.455 2.887-2.34 2.39.871-2.489 1.448-5.07 2.34-7.553z"})),MessageStartEvent:({styles:e={},...t})=>jE("svg",BV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm-7.257 8.732v11.069h14.513v-11.07H8.738zm3.224 1.73h8.064c-1.428.878-2.857 2.807-4.285 3.018l-3.779-3.019zm9.562 1.017v6.593H10.465V13.21l5.528 4.417 5.53-4.418z"})),MultipleStartEvent:({styles:e={},...t})=>jE("svg",$V({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm0 6.328l-7.626 5.536c.97 2.986 1.942 5.971 2.913 8.957h9.426l2.912-8.957-7.625-5.536zm0 1.068l6.609 4.798-2.525 7.763H11.91l-2.524-7.763 6.609-4.798z"})),ConditionalStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",jV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M10.632 9.189V22.68h10.723V9.189H10.632zm.862.865h8.994v11.76H11.494v-11.76zm.928 1.324v.863h7.138v-.863h-7.138zm0 2.605v.866h7.138v-.866h-7.138zm0 3.01v.863h7.138v-.863h-7.138zm0 2.72v.862h7.138v-.863h-7.138zM16.12 0h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136-.109-.118-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006l-.216-.042-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006l-.006-.001-.22-.017-.005-.001h-.006L17.06.03h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012L16.132 0h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zM6.377 3.21l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1v.003l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114v-.008l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V15.95l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z"})),EscalationStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",IV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 9.209c-1.674 4.655-2.735 9.504-4.408 14.16 1.534-1.526 2.873-3.235 4.407-4.761l4.408 4.76c-1.497-4.71-2.91-9.448-4.408-14.16zm.031 2.93c.822 2.586 1.598 5.187 2.42 7.774l-2.42-2.614c-.682.598-2.453 2.886-2.34 2.389.873-2.488 1.45-5.068 2.34-7.55zM16.132.364c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.564c-.734.078-1.196.762-1.735 1.206C3.552 6.02 2.55 7.511 1.681 9.053c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786A15.932 15.932 0 011.728 16a.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),MessageStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",LV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M8.746 10.393v11.064h14.506V10.393H8.746zm3.223 1.728h8.06c-1.428.879-2.856 2.807-4.283 3.018l-3.777-3.018zm9.557 1.018v6.59H10.473v-6.59l5.525 4.416 5.528-4.416zM16.132 0c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.2c-.734.078-1.196.762-1.735 1.206C3.552 5.656 2.55 7.147 1.681 8.69c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786a15.932 15.932 0 01-1.672-6.874.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),MultipleStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",qV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M23.621 13.524L16 7.99l-7.622 5.534 2.911 8.952h9.422l2.911-8.952zm-1.016.33l-2.523 7.759h-8.165l-2.524-7.76L16 9.059l6.606 4.796zM16.132 0c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.2c-.734.078-1.196.762-1.735 1.206C3.552 5.656 2.55 7.147 1.681 8.69c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786a15.932 15.932 0 01-1.672-6.874.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),ParallelMultipleStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",zV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M13.503 9.016v4.428H9.075v4.98h4.428v4.428h4.98v-4.427h4.428v-4.981h-4.427V9.016h-4.981zm.83.83h3.32v4.428h4.428v3.32h-4.428v4.428h-3.32v-4.454H9.905v-3.294h4.428V9.846zM16.12 0h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136-.109-.118-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006l-.216-.042-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006l-.006-.001-.22-.017-.005-.001h-.006L17.06.03h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012L16.132 0h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zM6.377 3.21l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1v.003l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114v-.008l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V15.95l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z",opacity:".98"})),SignalStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",VV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.007 8.82L9.21 21.022h13.596L16.007 8.82zm0 1.775l5.328 9.563H10.68l5.327-9.563zM16.14.386c-1.571.236-4.195-.284-4.9 1.381.619 1.703 2.745.069 4.085.365 1.421-.13 2.84.2 4.235.259C21.27.784 18.19.344 17 .413a20.456 20.456 0 00-.86-.027zM25 3.162c-2.19.694.401 2.26 1.181 3.094 1.083 1.152 1.954 2.484 2.715 3.864 1.48 1.005 1.845-1.26.81-2.03-1.158-1.897-2.613-3.704-4.513-4.89l-.192-.038zm-18.438.423c-1.793.712-2.909 2.548-4.01 4.061-.773.814-2.211 3.653.005 3.211 1.123-1.469 1.87-3.306 3.267-4.614.664-.7 2.73-2.013.738-2.658zm24.57 11.072c-1.659.435-.468 2.667-.99 3.895a13.427 13.427 0 01-1.497 4.435c-.23 1.659 1.991 1.165 2.018-.199a14.277 14.277 0 001.254-7.552.865.865 0 00-.785-.579zm-30.18.666c-1.677.386-.633 2.667-.608 3.876.371 1.623.792 3.35 1.79 4.696 2.382.321.571-2.338.292-3.492a15.92 15.92 0 01-.684-4.39.877.877 0 00-.79-.69zm24.558 11.81c-1.755.865-3.303 2.266-5.274 2.765-1.162-.016-3.074 1.271-1.331 2.102 2.66-.447 5.163-1.733 7.236-3.445.472-.506.06-1.432-.631-1.421zm-19.151.043c-2.004.786.416 2.405 1.43 2.913 1.608.904 3.379 1.636 5.208 1.877 1.77-.804-.228-2.094-1.357-2.073-1.75-.537-3.403-1.396-4.798-2.586l-.227-.104-.256-.027z"})),TimerStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",FV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.991 8.7c-3.018-.042-5.92 1.925-7.03 4.725-1.138 2.695-.509 6.011 1.537 8.102 1.99 2.142 5.267 2.93 8.013 1.927 2.877-.98 4.99-3.826 5.067-6.87.153-2.956-1.624-5.88-4.299-7.135a7.551 7.551 0 00-3.288-.75zm0 1.383c2.758-.052 5.372 1.972 6.014 4.654.704 2.578-.482 5.516-2.79 6.867-2.358 1.48-5.682 1.085-7.617-.919-2.043-1.97-2.407-5.38-.84-7.743 1.11-1.764 3.149-2.88 5.233-2.86zm1.962 1.764l-2.074 3.762c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.182l1.993-3.614-.757-.418zM16.12.358h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136L19.823.9l-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006L19.135.64l-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006L17.512.42l-.22-.017-.005-.001h-.006l-.22-.015h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012l-.221-.003h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zm-18.458.426l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1V9.5l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114V16.5l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V16.308l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z"})),CancelBoundaryEvent:Dz,CompensateBoundaryEvent:Bz,ConditionalBoundaryEvent:jz,ErrorBoundaryEvent:Lz,EscalationBoundaryEvent:zz,LinkBoundaryEvent:Fz,MessageBoundaryEvent:Uz,MultipleBoundaryEvent:Xz,BoundaryEvent:fV,ConditionalBoundaryEventNonInterrupting:Qz,EscalationBoundaryEventNonInterrupting:Yz,MessageBoundaryEventNonInterrupting:Jz,MultipleBoundaryEventNonInterrupting:tV,ParallelBoundaryEventNonInterrupting:iV,SignalBoundaryEventNonInterrupting:oV,TimerBoundaryEventNonInterrupting:aV,ParallelMultipleBoundaryEvent:cV,SignalBoundaryEvent:uV,TimerBoundaryEvent:hV,StartEvent:({styles:e={},...t})=>jE("svg",HV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.847.004C9.61-.016 3.624 4.014 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.101 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.268.403-6.228-3.26-12.441-8.87-15.154A15.924 15.924 0 0015.846.004zm.439 1.729c6.105.033 11.856 4.45 13.435 10.359 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.625-4.814-3.84-6.538-10.94-4.067-16.57 2.14-5.206 7.515-8.775 13.147-8.71.097-.001.194-.002.29-.001z"})),ParallelMultipleStartEvent:({styles:e={},...t})=>jE("svg",UV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.847 0C9.61-.02 3.624 4.01 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.101 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.268.403-6.228-3.26-12.441-8.87-15.154A15.924 15.924 0 0015.846 0zm.439 1.729c6.105.033 11.856 4.45 13.435 10.359 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.625C2.101 23.17.377 16.07 2.848 10.44c2.134-5.2 7.522-8.78 13.147-8.71.097-.001.194-.002.29-.001zM13.504 9.08v4.427H9.077v4.98h4.427v4.427h4.98v-4.427h4.428v-4.98h-4.427V9.08h-4.98zm.83.83h3.32v4.427h4.428v3.32h-4.427v4.427h-3.32v-4.453H9.906v-3.294h4.427V9.91z"})),SignalStartEvent:({styles:e={},...t})=>jE("svg",WV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.005C9.705-.08 3.643 3.968 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994.005zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626-4.814-3.838-6.538-10.939-4.067-16.57 2.14-5.205 7.515-8.774 13.147-8.708zm0 6.776L9.19 20.724H22.8L15.995 8.511zm0 1.777l5.332 9.572H10.662l5.333-9.572z"})),TimerStartEvent:({styles:e={},...t})=>jE("svg",XV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 0C7.174 0 0 7.174 0 16s7.174 16 16 16 16-7.174 16-16S24.826 0 16 0zm0 1.73c7.892 0 14.27 6.378 14.27 14.27 0 7.891-6.379 14.27-14.27 14.27S1.73 23.891 1.73 16C1.73 8.108 8.108 1.73 16 1.73zm-.143 6.676c-2.967.02-5.797 1.97-6.89 4.727-1.138 2.695-.51 6.012 1.537 8.102 1.99 2.142 5.268 2.932 8.014 1.928 2.878-.98 4.992-3.827 5.068-6.87.153-2.957-1.624-5.881-4.3-7.137a7.552 7.552 0 00-3.43-.75zm.27 1.383c2.71.012 5.254 2.015 5.886 4.656.704 2.577-.482 5.517-2.791 6.867-2.358 1.48-5.682 1.085-7.618-.918-2.043-1.971-2.407-5.381-.84-7.745 1.11-1.763 3.15-2.88 5.234-2.86h.13zm1.833 1.765l-2.074 3.763c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.181l1.992-3.615-.757-.418z"})),CollapsedSubProcess:QV,CollapsedAdHocSubProcess:QV,ExpandedSubProcess:YV,ExpandedAdHocSubProcess:YV,Task:({styles:e={},...t})=>jE("svg",ZV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 2.667C2.916 2.667 0 5.57 0 9.142v13.383C0 26.097 2.916 29 6.494 29h19.012C29.084 29 32 26.097 32 22.525V9.142c0-3.572-2.916-6.475-6.494-6.475H6.494zm0 2h19.012c2.509 0 4.494 1.98 4.494 4.475v13.383C30 25.02 28.015 27 25.506 27H6.494C3.985 27 2 25.02 2 22.525V9.142c0-2.495 1.985-4.475 4.494-4.475z"})),TextAnnotation:({styles:e={},...t})=>jE("svg",JV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M22.087 0v31.647H32v-1.788h-8.125V1.788H32V0h-9.913zm-2.924 13.999l-2.737 2.167 2.167 2.738 2.738-2.167-2.168-2.738zm-5.475 4.335L10.95 20.5l2.168 2.738 2.737-2.168-2.167-2.737zm-5.475 4.335l-2.738 2.167 2.168 2.738 2.737-2.168-2.167-2.737zm-5.476 4.335L0 29.17l2.167 2.738 2.738-2.168-2.168-2.737z"})),Transaction:({styles:e={},...t})=>jE("svg",eF({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M5.422 3A5.424 5.424 0 000 8.422v15.822a5.424 5.424 0 005.422 5.423h21.156A5.424 5.424 0 0032 24.244V8.422A5.424 5.424 0 0026.578 3H5.422zm0 1.244h21.156a4.155 4.155 0 014.178 4.178v15.822a4.155 4.155 0 01-4.178 4.178H5.422a4.155 4.155 0 01-4.178-4.178V8.422a4.155 4.155 0 014.178-4.178zm1.056 1.778a3.373 3.373 0 00-3.367 3.366v13.89a3.373 3.373 0 003.367 3.366h19.044a3.373 3.373 0 003.367-3.366V9.388a3.373 3.373 0 00-3.367-3.366H6.478zm0 1.245h19.044c1.187 0 2.122.935 2.122 2.121v13.89a2.104 2.104 0 01-2.122 2.122H6.478a2.104 2.104 0 01-2.122-2.122V9.388c0-1.186.935-2.121 2.122-2.121z"})),UserTask:({styles:e={},...t})=>jE("svg",tF({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{fillRule:"evenodd",d:"M10.263 7.468c-1.698 0-2.912 1.305-2.915 2.791v.001c0 .45.121.924.311 1.352.138.309.308.593.516.82-1.235.423-2.683 1.119-3.414 2.49l-.04.075v4.44h11.083v-4.44l-.04-.074c-.72-1.352-2.136-2.047-3.36-2.471.597-.608.774-1.392.774-2.192-.004-1.487-1.218-2.792-2.915-2.792zm-1.16 1.583c.08 0 .165.003.26.008.757.045 1.012.181 1.207.31.196.13.334.252.851.268.404-.016.598-.087.737-.169.056-.033.103-.067.152-.1.128.275.197.578.198.893 0 .894-.154 1.52-.975 2.034l.08.604c.171.052.348.11.527.171.025.105.054.242.073.387.02.153.029.311.016.43a.422.422 0 01-.056.19c-.417.417-1.157.66-1.908.66-.75 0-1.49-.243-1.908-.66a.422.422 0 01-.056-.19 1.949 1.949 0 01.016-.43c.02-.146.049-.284.074-.388.177-.062.352-.118.521-.17l.048-.648a.616.616 0 00-.126-.118c-.183-.138-.405-.44-.562-.793-.157-.353-.254-.757-.254-1.08 0-.387.105-.758.297-1.079l.11-.04c.143-.046.339-.09.679-.09zm-1.448 4.304l-.002.014c-.025.185-.04.387-.018.589.021.202.074.42.248.593.595.594 1.494.857 2.382.857.889 0 1.788-.263 2.382-.857.174-.174.227-.391.249-.593a2.496 2.496 0 00-.018-.59l-.002-.01c.903.396 1.776.963 2.258 1.81v3.599H13.53v-2.538h-.67v2.538H7.651v-2.538h-.67v2.538H5.39v-3.599c.483-.849 1.359-1.416 2.264-1.813zM6.495 3C2.914 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.01C28.016 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5z"}))};function iF(e){const{type:t}=e;let n=oF(t);const i=function(e){const t=qr(e),n=t.eventDefinitions;return n&&n[0]}(e);if(i)return n=`${function(e){const t=oF(e.$type);return t.replace("EventDefinition","")}(i)}${n}`,(Ir(e,"bpmn:StartEvent")&&!oo(e)||Ir(e,"bpmn:BoundaryEvent")&&!function(e){const t=qr(e);return t&&!1!==t.cancelActivity}(e))&&(n=`${n}NonInterrupting`),n;if(Ir(e,"bpmn:SubProcess")&&!Ir(e,"bpmn:Transaction"))if(so(e))n=`Event${n}`;else{const t=ro(e)&&!function(e){const t=e&&(e.di||qr(e).di);return Ir(t,"bpmndi:BPMNPlane")}(e);n=`${t?"Expanded":"Collapsed"}${n}`}return function(e){const t=qr(e),n=qr(e.source);if(!Ir(e,"bpmn:SequenceFlow")||!n)return!1;return n.default&&n.default===t&&(Ir(n,"bpmn:Gateway")||Ir(n,"bpmn:Activity"))}(e)&&(n="DefaultFlow"),function(e){const t=qr(e),n=qr(e.source);if(!Ir(e,"bpmn:SequenceFlow")||!n)return!1;return t.conditionExpression&&Ir(n,"bpmn:Activity")}(e)&&(n="ConditionalFlow"),n}const rF={getDocumentationRef:e=>{const t=sF();if(t)return function(e,t){const n=aF(e,t);return n&&n.documentationRef}(e,t)},getElementLabel:e=>Ir(e,"bpmn:Process")?qr(e).name:go(e),getElementIcon:e=>{const t=iF(e),n=sF();if(n){const t=aF(e,n);if(t&&t.icon)return()=>LE("img",{class:"bio-properties-panel-header-template-icon",width:"32",height:"32",src:t.icon.contents})}return nF[t]},getTypeLabel:e=>{const t=sF();if(t){const n=aF(e,t);if(n&&n.name)return n.name}return iF(e).replace(/(\B[A-Z])/g," $1").replace(/(\bNon Interrupting)/g,"($1)")}};function oF(e){return e.split(":")[1]}function sF(){return ez("elementTemplates",!1)}function aF(e,t){return t.get(e)}function lF(){return lF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},lF.apply(this,arguments)}var cF=({styles:e={},...t})=>jE("svg",lF({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"64",height:"64"},t),jE("defs",null,jE("rect",{id:"a",width:"57",height:"47",x:"3",y:"8",rx:"7"}),jE("mask",{id:"b",width:"57",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},jE("use",{xlinkHref:"#a"}))),jE("g",{fill:"none",fillRule:"evenodd"},jE("path",{fill:"#818798",d:"M52 11a5 5 0 015 5v31a5 5 0 01-5 5H11a5 5 0 01-5-5V16a5 5 0 015-5h41zm0 2H11a3 3 0 00-2.995 2.824L8 16v31a3 3 0 002.824 2.995L11 50h41a3 3 0 002.995-2.824L55 47V16a3 3 0 00-2.824-2.995L52 13z"}),jE("path",{fill:"#D5D7DD",d:"M16 24h31v6H16zM21 33h21v6H21z"}),jE("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));function pF(){return pF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},pF.apply(this,arguments)}var uF=({styles:e={},...t})=>jE("svg",pF({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"128",height:"64"},t),jE("defs",null,jE("path",{id:"a",d:"M9 9h110v47H9z"}),jE("mask",{id:"b",width:"110",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},jE("use",{xlinkHref:"#a"}))),jE("g",{fill:"none",fillRule:"evenodd"},jE("path",{fill:"#818798",d:"M25 20.272L37.728 33 25 45.728 12.272 33 25 20.272zm0 2.829L15.1 33l9.9 9.9 9.9-9.9-9.9-9.9z"}),jE("path",{fill:"#D5D7DD",d:"M17 47h16v6H17z"}),jE("path",{fill:"#818798",d:"M35 32h27v2H35z"}),jE("path",{fill:"#818798",d:"M60 30v6l6-3z"}),jE("path",{fill:"#D5D7DD",d:"M80 34h21v6H80z"}),jE("g",null,jE("path",{fill:"#818798",d:"M111 12a5 5 0 015 5v31a5 5 0 01-5 5H70a5 5 0 01-5-5V17a5 5 0 015-5h41zm0 2H70a3 3 0 00-3 3v31a3 3 0 003 3h41a3 3 0 003-3V17a3 3 0 00-3-3z"}),jE("path",{fill:"#D5D7DD",d:"M75 25h31v6H75z"})),jE("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));const dF=e=>(e||(e=e=>e),{getEmpty:()=>({text:e("Select an element to edit its properties."),icon:cF}),getMultiple:()=>({text:e("Multiple elements are selected. Select a single element to edit its properties."),icon:uF})});function hF(e){const{element:t,injector:n,getProviders:i,layoutConfig:r,descriptionConfig:o,tooltipConfig:s,feelPopupContainer:a}=e,l=n.get("canvas"),p=n.get("elementRegistry"),u=n.get("eventBus"),d=n.get("translate"),[h,m]=Uw({selectedElement:t}),f=h.selectedElement,y=e=>{if(!e)return;let t=e;t&&"label"===t.type&&(t=t.labelTarget),m({...h,selectedElement:t}),u.fire("propertiesPanel.updated",{element:t})};Xw((()=>{const e=e=>{const{newSelection:t=[]}=e;if(t.length>1)return y(t);const n=t[0],i=l.getRootElement();(function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)})(i)||y(n||i)};return u.on("selection.changed",e),()=>{u.off("selection.changed",e)}}),[]),Xw((()=>{const e=e=>{const t=function(e,t){return g(e,(e=>e===t))}(e.elements,f);t&&function(e,t){return e&&t.get(e.id)}(t,p)&&y(t)};return u.on("elements.changed",e),()=>{u.off("elements.changed",e)}}),[f]),Xw((()=>{const e=e=>{const t=e.element;y(t)};return u.on("root.added",e),()=>{u.off("root.added",e)}}),[f]),Xw((()=>{const e=()=>{y(f)};return u.on("propertiesPanel.providersChanged",e),()=>{u.off("propertiesPanel.providersChanged",e)}}),[f]),Xw((()=>{const e=()=>{y(f)};return u.on("elementTemplates.changed",e),()=>{u.off("elementTemplates.changed",e)}}),[f]);const v={selectedElement:f,injector:n,getService:(e,t)=>n.get(e,t)},b=i(f),x=Kw((()=>w(b,(function(e,t){if(c(f))return[];return t.getGroups(f)(e)}),[])),[b,f]),[E,_]=Uw(r||{}),O=Yw((e=>{u.fire("propertiesPanel.layoutChanged",{layout:e})}),[u]);Xw((()=>{const e=e=>{const{layout:t}=e;_(t)};return u.on("propertiesPanel.setLayout",e),()=>u.off("propertiesPanel.setLayout",e)}),[u,_]);return LE(Jq.Provider,{value:v,children:LE(RL,{element:f,headerProvider:rF,placeholderProvider:dF(d),groups:x,layoutConfig:E,layoutChanged:O,descriptionConfig:o,descriptionLoaded:e=>{u.fire("propertiesPanel.descriptionLoaded",{description:e})},tooltipConfig:s,tooltipLoaded:e=>{u.fire("propertiesPanel.tooltipLoaded",{tooltip:e})},feelPopupContainer:a,eventBus:u})})}class mF{constructor(e,t,n){const{parent:i,layout:r,description:o,tooltip:s,feelPopupContainer:a}=e||{};this._eventBus=n,this._injector=t,this._layoutConfig=r,this._descriptionConfig=o,this._tooltipConfig=s,this._feelPopupContainer=a,this._container=xe('<div style="height: 100%" class="bio-properties-panel-container"></div>');var l=t.get("commandStack",!1);l&&function(e,t,n){function i(e){e.preventDefault(),e.stopPropagation()}function r(e){return ia(e)?(n.undo(),i(e)):ra(e)?(n.redo(),i(e)):void 0}t.on("keyboard.bind",(function(){he.bind(e,"keydown",r)})),t.on("keyboard.unbind",(function(){he.unbind(e,"keydown",r)}))}(this._container,n,l),n.on("diagram.init",(()=>{i&&this.attachTo(i)})),n.on("diagram.destroy",(()=>{this.detach()})),n.on("root.added",(e=>{const{element:t}=e;this._render(t)}))}attachTo(e){if(!e)throw new Error("container required");e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),"string"==typeof e&&(e=we(e)),this.detach(),e.appendChild(this._container),this._eventBus.fire("propertiesPanel.attach")}detach(){const e=this._container.parentNode;e&&(e.removeChild(this._container),this._eventBus.fire("propertiesPanel.detach"))}registerProvider(e,t){t||(t=e,e=1e3),"function"==typeof t.getGroups?(this._eventBus.on("propertiesPanel.getProviders",e,(function(e){e.providers.push(t)})),this._eventBus.fire("propertiesPanel.providersChanged")):console.error("Properties provider does not implement #getGroups(element) API")}setLayout(e){this._eventBus.fire("propertiesPanel.setLayout",{layout:e})}_getProviders(){const e=this._eventBus.createEvent({type:"propertiesPanel.getProviders",providers:[]});return this._eventBus.fire(e),e.providers}_render(e){const t=this._injector.get("canvas");e||(e=t.getRootElement()),function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)}(e)||(Aw(LE(hF,{element:e,injector:this._injector,getProviders:this._getProviders.bind(this),layoutConfig:this._layoutConfig,descriptionConfig:this._descriptionConfig,tooltipConfig:this._tooltipConfig,feelPopupContainer:this._feelPopupContainer}),this._container),this._eventBus.fire("propertiesPanel.rendered"))}_destroy(){this._container&&(Aw(null,this._container),this._eventBus.fire("propertiesPanel.destroyed"))}}mF.$inject=["config.propertiesPanel","injector","eventBus"];class fF{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;b(e,(function(e){t.execute(e.cmd,e.context)}))}}fF.$inject=["commandStack"];const gF={"properties-panel.multi-command-executor":fF};function yF(e,t){e.on("diagram.init",(function(){b(gF,(function(e,n){t.registerHandler(n,e)}))}))}yF.$inject=["eventBus","commandStack"];var vF={__depends__:[{__init__:[yF]},dq,mq],__init__:["propertiesPanel"],propertiesPanel:["type",mF]};function bF(e){const{autoFocusEntry:t,element:n,getOptions:i}=e,r=i(n),o=eL(r);return Xw((()=>{if(t&&o&&r.length>o.length){const e=we(`[data-entry-id="${t}"]`),n=we(".bio-properties-panel-input",e);n&&n.select()}}),[r]),LE(YL,{...e})}function xF(e){return Lr(e,["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:EndEvent"])&&!!wF(e)}function wF(e){return OF(e,"bpmn:ErrorEventDefinition")}function EF(e){return OF(e,"bpmn:TimerEventDefinition")}function _F(e){const t=wF(e);return t&&t.get("errorRef")}function OF(e,t){return g(qr(e).get("eventDefinitions")||[],(function(e){return Ir(e,t)}))}function PF(e){return Ir(e,"bpmn:ReceiveTask")?qr(e):OF(e,"bpmn:MessageEventDefinition")}function kF(e){const t=PF(e);return t&&t.get("messageRef")}function SF(e){return OF(e,"bpmn:LinkEventDefinition")}function CF(e){return OF(e,"bpmn:SignalEventDefinition")}function TF(e){const t=CF(e);return t&&t.get("signalRef")}function AF(e){return OF(e,"bpmn:EscalationEventDefinition")}function MF(e){return Ir(e,"bpmn:Event")&&!!AF(e)}function RF(e){const t=AF(e);return t&&t.get("escalationRef")}function DF(e){return OF(e,"bpmn:CompensateEventDefinition")}function NF(e){const{element:t}=e;return function(e){return Lr(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"])&&!!DF(e)}(t)?[{id:"waitForCompletion",component:BF,isEdited:WL},{id:"activityRef",component:$F,isEdited:ZL}]:[]}function BF(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=DF(t);return UL({element:t,id:"waitForCompletion",label:i("Wait for completion"),getValue:()=>r.get("waitForCompletion"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{waitForCompletion:e}})}})}function $F(e){const{element:t}=e,n=ez("commandStack"),i=ez("elementRegistry"),r=ez("translate"),o=DF(t);return bF({element:t,id:"activityRef",label:r("Activity reference"),getValue:()=>{const e=function(e){const t=DF(e);return t&&t.get("activityRef")}(t);return e&&e.get("id")},setValue:e=>{const r=e?qr(i.get(e)):void 0;n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{activityRef:r}})},getOptions:()=>{let e=[{value:"",label:r("<none>")}];const n=function(e){const t=qr(e);let n=t.$parent,i=LF(n);Ir(n,"bpmn:SubProcess")&&n.triggeredByEvent&&(n=n.$parent,n&&(i=[...i,...LF(n)]));return i}(t);var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((function(t){e.push({value:t.id,label:qF(t)})})),e}})}function jF(e,t){const{flowElements:n}=e;return n.filter((function(e){return Ir(e,t)}))}function IF(e,t){return Ir(e,"bpmn:CallActivity")||Ir(e,"bpmn:SubProcess")&&!e.triggeredByEvent&&!e.isForCompensation||function(e,t){const{id:n}=e;return!!g(t,(function(e){const{attachedToRef:t}=e,i=DF(e);return t&&i&&t.id===n}))}(e,t)}function LF(e){const t=function(e){return jF(e,"bpmn:Activity")}(e),n=function(e){return jF(e,"bpmn:BoundaryEvent")}(e);return t.filter((function(e){return IF(e,n)}))}function qF(e){const{id:t,name:n}=e;return`${n?n+" ":""}(id=${t})`}const zF="text/plain";function VF(e){const{element:t}=e,n=[{id:"documentation",component:FF,isEdited:oq}];return function(e){return Ir(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)&&n.push({id:"processDocumentation",component:HF,isEdited:oq}),n}function FF(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=ez("debounceInput"),s=WF(qr(t)),a=XF(t,qr(t),n,i);return rq({element:t,id:"documentation",label:r("Element documentation"),getValue:s,setValue:a,debounce:o})}function HF(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=ez("debounceInput"),s=qr(t).processRef,a=WF(s),l=XF(t,s,n,i);return rq({element:t,id:"processDocumentation",label:r("Process documentation"),getValue:a,setValue:l,debounce:o})}function UF(e){return e.find((function(e){return(e.textFormat||zF)===zF}))}function WF(e){return function(){const t=UF(e&&e.get("documentation"));return t&&t.text}}function XF(e,t,n,i){return function(r){let o=UF(t&&t.get("documentation"));return o?r?i.execute("element.updateModdleProperties",{element:e,moddleElement:o,properties:{text:r}}):i.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:x(t.get("documentation"),o)}}):r?(o=n.create("bpmn:Documentation",{text:r}),i.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:[...t.get("documentation"),o]}})):void 0}}function GF(e,t,n,i){const r=i.create(e,t);return n&&(r.$parent=n),r}function QF(e){return new n([32,32,1]).nextPrefixed(e)}function KF(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function YF(e,t){const n=KF(e);return i=n.get("rootElements"),r=t,(i||[]).filter((e=>Ir(e,r)));var i,r}function ZF(e,t,n){return YF(e,t).find((e=>e.id===n))}const JF="",eH="create-new";function tH(e){const{element:t}=e;if(!xF(t))return[];let n=[{id:"errorRef",component:nH,isEdited:ZL}];return _F(t)&&(n=[...n,{id:"errorName",component:iH,isEdited:cq},{id:"errorCode",component:rH,isEdited:cq}]),n}function nH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=wF(t);return bF({element:t,id:"errorRef",label:r("Global error reference"),autoFocusEntry:"errorName",getValue:()=>{const e=_F(t);return e?e.get("id"):JF},setValue:e=>{const r=KF(o),s=[];let a;return e===eH&&(a=GF("bpmn:Error",{name:QF("Error_")},r,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{rootElements:[...r.get("rootElements"),a]}}})),a=a||ZF(o,"bpmn:Error",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{errorRef:a}}}),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:JF,label:r("<none>")},{value:eH,label:r("Create new ...")}];const n=YF(qr(t),"bpmn:Error");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function iH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=_F(t);return lq({element:t,id:"errorName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:r})}function rH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=_F(t);return lq({element:t,id:"errorCode",label:i("Code"),getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:r})}const oH="create-new";function sH(e){const{element:t}=e;if(!MF(t))return[];let n=[{id:"escalationRef",component:aH,isEdited:ZL}];return RF(t)&&(n=[...n,{id:"escalationName",component:lH,isEdited:cq},{id:"escalationCode",component:cH,isEdited:cq}]),n}function aH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=AF(t);return bF({element:t,id:"escalationRef",label:r("Global escalation reference"),autoFocusEntry:"escalationName",getValue:()=>{const e=RF(t);return e&&e.get("id")},setValue:e=>{const r=KF(o),s=[];let a;if(e===oH){const i=QF("Escalation_");a=GF("bpmn:Escalation",{id:i,name:i},r,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{rootElements:[...r.get("rootElements"),a]}}})}return a=a||ZF(o,"bpmn:Escalation",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{escalationRef:a}}}),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:"",label:r("<none>")},{value:oH,label:r("Create new ...")}];const n=YF(qr(t),"bpmn:Escalation");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function lH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=RF(t);return lq({element:t,id:"escalationName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:r})}function cH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=RF(t);return lq({element:t,id:"escalationCode",label:i("Code"),getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:r})}function pH(e){const{element:t}=e;return Ir(t,"bpmn:Process")||function(e){return Ir(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"isExecutable",component:uH,isEdited:WL}]:[]}function uH(e){const{element:t}=e,n=ez("modeling"),i=ez("commandStack"),r=ez("translate");let o,s;if(s=e=>{n.updateProperties(t,{isExecutable:e})},o=e=>e.businessObject.isExecutable,Ir(t,"bpmn:Participant")){const e=t.businessObject.get("processRef");s=n=>{i.execute("element.updateModdleProperties",{element:t,moddleElement:e,properties:{isExecutable:n}})},o=()=>e.get("isExecutable")}return UL({element:t,id:"isExecutable",label:r("Executable"),getValue:o,setValue:s})}const dH=/\s/,hH=/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i,mH=/^[a-z_][\w-.]*$/i;function fH(e,t,n){const i=e.$model.ids.assigned(t);return t?i&&i!==e?n("ID must be unique."):function(e,t){if(n=e,dH.test(n))return t("ID must not contain spaces.");var n;if(!mH.test(e))return hH.test(e)?t("ID must not contain prefix."):t("ID must be a valid QName.")}(t,n):n("ID must not be empty.")}function gH(e){const{element:t}=e,n=ez("modeling"),i=ez("debounceInput"),r=ez("translate");return lq({element:t,id:"id",label:r(Ir(t,"bpmn:Participant")?"Participant ID":"ID"),getValue:e=>e.businessObject.id,setValue:(e,i)=>{i||n.updateProperties(t,{id:e})},debounce:i,validate:e=>fH(qr(t),e,r)})}function yH(e){const{element:t}=e;return function(e){return Lr(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!SF(e)}(t)?[{id:"linkName",component:vH,isEdited:cq}]:[]}function vH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=SF(t);return lq({element:t,id:"linkName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:r})}const bH="",xH="create-new";function wH(e){const{element:t}=e;if(!function(e){return Ir(e,"bpmn:ReceiveTask")||Lr(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!PF(e)}(t))return[];let n=[{id:"messageRef",component:EH,isEdited:ZL}];return kF(t)&&(n=[...n,{id:"messageName",component:_H,isEdited:cq}]),n}function EH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=PF(t);return bF({element:t,id:"messageRef",label:r("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=kF(t);return e?e.get("id"):bH},setValue:e=>{const r=KF(o),s=[];let a;if(e===xH){const i=QF("Message_");a=GF("bpmn:Message",{id:i,name:i},r,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{rootElements:[...r.get("rootElements"),a]}}})}return a=a||ZF(o,"bpmn:Message",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{messageRef:a}}}),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:bH,label:r("<none>")},{value:xH,label:r("Create new ...")}];const n=YF(qr(t),"bpmn:Message");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function _H(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=kF(t);return lq({element:t,id:"messageName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:r})}function OH(e){const{element:t}=e;if(!function(e){const t=TH(e);return!!t&&Ir(t,"bpmn:MultiInstanceLoopCharacteristics")}(t))return[];return[{id:"loopCardinality",component:PH,isEdited:cq},{id:"completionCondition",component:kH,isEdited:cq}]}function PH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("debounceInput"),r=ez("commandStack"),o=ez("translate");return lq({element:t,id:"loopCardinality",label:o("Loop cardinality"),getValue:()=>function(e){const t=function(e){return CH(e,"loopCardinality")}(e);return SH(t)}(t),setValue:e=>r.execute("element.updateModdleProperties",AH(t,"loopCardinality",e,n)),debounce:i})}function kH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("debounceInput"),r=ez("commandStack"),o=ez("translate");return lq({element:t,id:"completionCondition",label:o("Completion condition"),getValue:()=>function(e){const t=function(e){return CH(e,"completionCondition")}(e);return SH(t)}(t),setValue:e=>r.execute("element.updateModdleProperties",AH(t,"completionCondition",e,n)),debounce:i})}function SH(e){return e&&e.get("body")}function CH(e,t){const n=TH(e);return n&&n.get(t)}function TH(e){return qr(e).loopCharacteristics}function AH(e,t,n,i){const r=TH(e),o={};if(!n)return o[t]=void 0,{element:e,moddleElement:r,properties:o};const s=r.get(t);return s?{element:e,moddleElement:s,properties:{body:n}}:(o[t]=function(e,t,n){return GF("bpmn:FormalExpression",{body:t},e,n)}(r,n,i),{element:e,moddleElement:r,properties:o})}function MH(e){const{element:t}=e;return Lr(t,["bpmn:Collaboration","bpmn:DataAssociation","bpmn:Association"])?[]:[{id:"name",component:RH,isEdited:oq}]}function RH(e){const{element:t}=e,n=ez("modeling"),i=ez("debounceInput"),r=ez("canvas"),o=ez("bpmnFactory"),s=ez("translate");let a={element:t,id:"name",label:s("Name"),debounce:i,setValue:e=>{n.updateProperties(t,{name:e})},getValue:e=>e.businessObject.name,autoResize:!0};return Ir(t,"bpmn:TextAnnotation")?a={...a,setValue:e=>{n.updateProperties(t,{text:e})},getValue:e=>e.businessObject.text}:Ir(t,"bpmn:Group")?a={...a,setValue:e=>{const i=qr(t);i.categoryValueRef||function(e,t,n){const i=function(e,t){const n=t.create("bpmn:CategoryValue"),i=t.create("bpmn:Category",{categoryValue:[n]});return At(e.get("rootElements"),i),qr(i).$parent=e,qr(n).$parent=i,n}(qr(t).$parent,n);e.categoryValueRef=i}(i,r.getRootElement(),o),n.updateLabel(t,e)},getValue:e=>{const t=qr(e).categoryValueRef;return t&&t.value}}:Ir(t,"bpmn:Participant")&&(a.label=s("Participant Name")),rq(a)}function DH(e){const{element:t}=e;return function(e){return Ir(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"processId",component:BH,isEdited:cq},{id:"processName",component:NH,isEdited:cq}]:[]}function NH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=t.businessObject.get("processRef");return lq({element:t,id:"processName",label:i("Process name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:r})}function BH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=t.businessObject.get("processRef");return lq({element:t,id:"processId",label:i("Process ID"),getValue:()=>o.get("id"),setValue:(e,i)=>{i||n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{id:e}})},debounce:r,validate:e=>fH(o,e,i)})}const $H="",jH="create-new";function IH(e){const{element:t}=e;if(!function(e){return Ir(e,"bpmn:Event")&&!!CF(e)}(t))return[];let n=[{id:"signalRef",component:LH,isEdited:ZL}];return TF(t)&&(n=[...n,{id:"signalName",component:qH,isEdited:cq}]),n}function LH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=CF(t);return bF({element:t,id:"signalRef",label:r("Global signal reference"),autoFocusEntry:"signalName",getValue:()=>{const e=TF(t);return e?e.get("id"):$H},setValue:e=>{const r=KF(o),s=[];let a;if(e===jH){const i=QF("Signal_");a=GF("bpmn:Signal",{id:i,name:i},r,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{rootElements:[...r.get("rootElements"),a]}}})}return a=a||ZF(o,"bpmn:Signal",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{signalRef:a}}}),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:$H,label:r("<none>")},{value:jH,label:r("Create new ...")}];const n=YF(qr(t),"bpmn:Signal");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function qH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=TF(t);return lq({element:t,id:"signalName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:r})}function zH(e){return Lr(e,["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:BoundaryEvent"])&&!!FH(e)}function VH(e){if(!e)return;if(void 0!==e.get("timeDate"))return"timeDate";if(void 0!==e.get("timeCycle"))return"timeCycle";return void 0!==e.get("timeDuration")?"timeDuration":void 0}function FH(e){return function(e,t){const n=qr(e);return g(n.get("eventDefinitions")||[],(function(e){return Ir(e,t)}))}(e,"bpmn:TimerEventDefinition")}function HH(e){const{element:t,idPrefix:n}=e;let{timerEventDefinition:i}=e;if(!i){i=FH(qr(t))}const r=VH(i);if(!zH(t))return[];const o=[];return o.push({id:GH(n,"timerEventDefinitionType"),component:UH,isEdited:ZL,timerEventDefinition:i,timerEventDefinitionType:r}),r&&o.push({id:GH(n,"timerEventDefinitionValue"),component:WH,isEdited:cq,timerEventDefinition:i,timerEventDefinitionType:r}),o}function UH(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:i}=e,r=ez("commandStack"),o=ez("bpmnFactory"),s=ez("translate");return YL({element:t,id:"timerEventDefinitionType",label:s("Type"),getValue:()=>i||"",setValue:e=>{if(e===i)return;const s=o.create("bpmn:FormalExpression",{body:void 0});s.$parent=n;const a={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(a[e]=s),r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:a})},getOptions:e=>[{value:"",label:s("<none>")},{value:"timeDate",label:s("Date")},{value:"timeDuration",label:s("Duration")},{value:"timeCycle",label:s("Cycle")}]})}function WH(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=n.get(i);return lq({element:t,id:"timerEventDefinitionValue",label:o("Value"),getValue:()=>a&&a.get("body"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{body:e}})},debounce:s,tooltip:XH(i,o)})}function XH(e,t){switch(e){case"timeDate":return LE("div",{children:[LE("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),LE("li",{children:[LE("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-date",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeCycle":return LE("div",{children:[LE("p",{children:t("A cycle defined as ISO 8601 repeating intervals format.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),LE("li",{children:[LE("code",{children:"R/P1D"})," - ",t("every day, infinitely")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-cycle",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeDuration":return LE("div",{children:[LE("p",{children:t("A time duration defined as ISO 8601 durations format.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"PT15S"})," - ",t("15 seconds")]}),LE("li",{children:[LE("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),LE("li",{children:[LE("code",{children:"P14D"})," - ",t("14 days")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-duration",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]})}}function GH(e,t){return e?e+t:t}function QH(e,t){const n=t.get("translate"),i=[...MH({element:e}),{id:"id",component:gH,isEdited:cq},...DH({element:e}),...pH({element:e})];return{id:"general",label:n("General"),entries:i,component:rL}}function KH(e,t){const n={label:t.get("translate")("Compensation"),id:"compensation",component:rL,entries:[...NF({element:e})]};return n.entries.length?n:null}function YH(e,t){const n=t.get("translate"),i=[...VF({element:e})];return{id:"documentation",label:n("Documentation"),entries:i,component:rL}}function ZH(e,t){const n={id:"error",label:t.get("translate")("Error"),component:rL,entries:[...tH({element:e})]};return n.entries.length?n:null}function JH(e,t){const n={id:"message",label:t.get("translate")("Message"),component:rL,entries:[...wH({element:e})]};return n.entries.length?n:null}function eU(e,t){const n={id:"signal",label:t.get("translate")("Signal"),component:rL,entries:[...IH({element:e})]};return n.entries.length?n:null}function tU(e,t){const n={label:t.get("translate")("Link"),id:"link",component:rL,entries:[...yH({element:e})]};return n.entries.length?n:null}function nU(e,t){const n={id:"escalation",label:t.get("translate")("Escalation"),component:rL,entries:[...sH({element:e})]};return n.entries.length?n:null}function iU(e,t){const n={label:t.get("translate")("Timer"),id:"timer",component:rL,entries:[...HH({element:e})]};return n.entries.length?n:null}function rU(e,t){const n={label:t.get("translate")("Multi-instance"),id:"multiInstance",component:rL,entries:[...OH({element:e})]};return n.entries.length?n:null}class oU{constructor(e,t){e.registerProvider(this),this._injector=t}getGroups(e){return t=>(t=t.concat(function(e,t){return[QH(e,t),YH(e,t),KH(e,t),ZH(e,t),tU(e,t),JH(e,t),rU(e,t),eU(e,t),nU(e,t),iU(e,t)].filter((e=>null!==e))}(e,this._injector)),t)}}oU.$inject=["propertiesPanel","injector"];var sU={__init__:["bpmnPropertiesProvider"],bpmnPropertiesProvider:["type",oU]};function aU(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const i=n.get("values");return i&&i.length?t?i.filter((e=>Ir(e,t))):i:[]}function lU(e,t,n,i,r){const o=[];let s=t.get("extensionElements");s||(s=GF("bpmn:ExtensionElements",{values:[]},t,i),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:{extensionElements:s}}})),n.$parent=s,o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),n]}}}),r.execute("properties-panel.multi-command-executor",o)}function cU(e,t,n,i){c(n)||(n=[n]);const r=t.get("extensionElements"),o=r.get("values").filter((e=>!n.includes(e)));i.execute("element.updateModdleProperties",{element:e,moddleElement:r,properties:{values:o}})}function pU(e){const{idPrefix:t,property:n}=e;return[{id:t+"-name",component:uU,idPrefix:t,property:n},{id:t+"-value",component:dU,idPrefix:t,property:n}]}function uU(e){const{idPrefix:t,element:n,property:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o("Name"),getValue:()=>i.name,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}function dU(e){const{idPrefix:t,element:n,property:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-value",label:o("Value"),getValue:()=>i.value,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{value:e}})},debounce:s})}function hU({element:e,injector:t,namespace:n="camunda"}){let i=gU(e);if(!i)return;const r=function(e,t="camunda"){const n=gU(e),i=vU(n,t);return i&&i.get(yU(t))}(i,n)||[],o=t.get("bpmnFactory"),s=t.get("commandStack"),a=r.map(((t,i)=>{const r=e.id+"-extensionProperty-"+i;return{id:r,label:t.get("name")||"",entries:pU({idPrefix:r,element:e,property:t}),autoFocusEntry:r+"-name",remove:mU({commandStack:s,element:e,property:t,namespace:n})}}));return{items:a,add:fU({bpmnFactory:o,commandStack:s,element:e,namespace:n}),shouldSort:!1}}function mU({commandStack:e,element:t,property:n,namespace:i}){return function(r){r.stopPropagation();const o=[],s=gU(t),a=s.get("extensionElements"),l=vU(s,i);if(!l)return;const c=yU(i),p=x(l.get(c),n);o.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{[c]:p}}}),p.length||o.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:x(a.get("values"),l)}}}),e.execute("properties-panel.multi-command-executor",o)}}function fU({bpmnFactory:e,commandStack:t,element:n,namespace:i}){return function(r){r.stopPropagation();let o=[];const s=gU(n);let a=s.get("extensionElements");a||(a=GF("bpmn:ExtensionElements",{values:[]},s,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{extensionElements:a}}}));const l=yU(i);let c=vU(s,i);if(!c){c=GF(`${i}:Properties`,{[l]:[]},a,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),c]}}})}const p=GF(`${i}:Property`,{},c,e);o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:c,properties:{[l]:[...c.get(l),p]}}}),t.execute("properties-panel.multi-command-executor",o)}}function gU(e){let t=qr(e);return Ir(e,"bpmn:Participant")?t.get("processRef"):t}function yU(e="camunda"){return"zeebe"===e?"properties":"values"}function vU(e,t="camunda"){return aU(gU(e),`${t}:Properties`)[0]}function bU(e){const{element:t}=e,n=e=>e&&!e.checked,i=qr(t),r=[];return Ir(t,"camunda:AsyncCapable")&&(r.push({id:"asynchronousContinuationBefore",component:xU,isEdited:WL},{id:"asynchronousContinuationAfter",component:wU,isEdited:WL}),(_U(i)||OU(i))&&r.push({id:"exclusive",component:EU,isEdited:n})),r}function xU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=qr(t);return UL({element:t,id:"asynchronousContinuationBefore",label:i("Before"),getValue:()=>_U(r),setValue:e=>{const i={"camunda:asyncBefore":e,"camunda:async":void 0};n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:i})}})}function wU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=qr(t);return UL({element:t,id:"asynchronousContinuationAfter",label:i("After"),getValue:()=>OU(r),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:asyncAfter":e}})}})}function EU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=qr(t);return UL({element:t,id:"exclusive",label:i("Exclusive"),getValue:()=>!!r.get("camunda:exclusive"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:exclusive":e}})}})}function _U(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}function OU(e){return!!e.get("camunda:asyncAfter")}const PU="";function kU(e){const{element:t}=e;return Ir(t,"bpmn:StartEvent")&&function(e){const t=qr(e),n=CU(t);return n&&n.get("camunda:fields").length}(t)?[{id:"businessKey",component:SU,isEdited:ZL}]:[]}function SU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=CU(t);return YL({element:t,id:"businessKey",label:i("Key"),getValue:()=>r.get("camunda:businessKey")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:businessKey":e}})},getOptions:()=>{const e=[{value:PU,label:i("<none>")}];return r.get("fields").forEach((t=>{const n=t.get("camunda:id");n&&e.push({value:n,label:n})})),e}})}function CU(e){return aU(qr(e),"camunda:FormData")[0]}function TU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElement",label:i("Called element"),getValue:()=>qr(t).get("calledElement"),setValue:e=>{n.updateProperties(t,{calledElement:e||""})},debounce:r})}function AU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate");return LE(YL,{element:t,id:"calledElementBinding",label:i("Binding"),getValue:()=>qr(t).get("camunda:calledElementBinding")||"latest",setValue:e=>{n.updateProperties(t,{calledElementBinding:"latest"===e?void 0:e,calledElementVersion:void 0,calledElementVersionTag:void 0})},getOptions:()=>[{value:"latest",label:i("latest")},{value:"deployment",label:i("deployment")},{value:"version",label:i("version")},{value:"versionTag",label:i("version tag")}]})}function MU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementVersion",label:i("Version"),getValue:()=>qr(t).get("camunda:calledElementVersion"),setValue:e=>{n.updateProperties(t,{calledElementVersion:e})},debounce:r})}function RU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementVersionTag",label:i("Version tag"),getValue:()=>qr(t).get("camunda:calledElementVersionTag"),setValue:e=>{n.updateProperties(t,{calledElementVersionTag:e})},debounce:r})}function DU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementTenantId",label:i("Tenant ID"),getValue:()=>qr(t).get("camunda:calledElementTenantId"),setValue:e=>{n.updateProperties(t,{calledElementTenantId:e})},debounce:r})}function NU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementCaseRef",label:i("Case ref"),getValue:()=>qr(t).get("camunda:caseRef"),setValue:e=>{n.updateProperties(t,{caseRef:e||""})},debounce:r})}function BU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate");return LE(YL,{element:t,id:"calledElementCaseBinding",label:i("Binding"),getValue:()=>qr(t).get("camunda:caseBinding")||"latest",setValue:e=>{n.updateProperties(t,{caseBinding:"latest"===e?void 0:e,caseVersion:void 0})},getOptions:()=>[{value:"latest",label:i("latest")},{value:"deployment",label:i("deployment")},{value:"version",label:i("version")}]})}function $U(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementCaseVersion",label:i("Version"),getValue:()=>qr(t).get("camunda:caseVersion"),setValue:e=>{n.updateProperties(t,{caseVersion:e})},debounce:r})}function jU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementCaseTenantId",label:i("Tenant ID"),getValue:()=>qr(t).get("camunda:caseTenantId"),setValue:e=>{n.updateProperties(t,{caseTenantId:e})},debounce:r})}const IU={"camunda:variableMappingClass":void 0,"camunda:variableMappingDelegateExpression":void 0};function LU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate");return LE(YL,{element:t,id:"calledElementDelegateVariableMappingType",label:i("Delegate Variable Mapping"),getValue:()=>VU(t),setValue:e=>{const i={...IU};"class"===e?i["camunda:variableMappingClass"]="":"delegateExpression"===e&&(i["camunda:variableMappingDelegateExpression"]=""),n.execute("element.updateProperties",{element:t,properties:i})},getOptions:()=>[{value:"none",label:i("<none>")},{value:"class",label:i("Class")},{value:"delegateExpression",label:i("Delegate expression")}]})}function qU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementVariableMappingDelegateExpression",label:i("Delegate Expression"),getValue:()=>qr(t).get("camunda:variableMappingDelegateExpression"),setValue:e=>{n.updateProperties(t,{variableMappingDelegateExpression:e||"",variableMappingClass:void 0})},debounce:r})}function zU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementVariableMappingClass",label:i("Delegate Class"),getValue:()=>qr(t).get("camunda:variableMappingClass"),setValue:e=>{n.updateProperties(t,{variableMappingDelegateExpression:void 0,variableMappingClass:e||""})},debounce:r})}function VU(e){const t=qr(e);return void 0!==t.get("camunda:variableMappingClass")?"class":void 0!==t.get("camunda:variableMappingDelegateExpression")?"delegateExpression":"none"}function FU(e){const{element:t}=e;if(!Ir(t,"bpmn:CallActivity"))return[];const n=[];n.push({id:"calledElementType",component:WU,isEdited:ZL});const i=KU(t);return"bpmn"===i?n.push(...function(e){const{element:t}=e,n=[{id:"calledElement",component:TU,isEdited:cq},{id:"calledElementBinding",component:AU,isEdited:ZL},{id:"calledElementTenantId",component:DU,isEdited:cq}],i=qr(t).get("camunda:calledElementBinding");return"version"===i?n.splice(-1,0,{id:"calledElementVersion",component:MU,isEdited:cq}):"versionTag"===i&&n.splice(-1,0,{id:"calledElementVersionTag",component:RU,isEdited:cq}),n}({element:t}),...XU({element:t}),...function(e){const{element:t}=e,n=[{id:"calledElementDelegateVariableMappingType",component:LU,isEdited:ZL}],i=VU(t);return"class"===i?n.push({id:"calledElementVariableMappingClass",component:zU,isEdited:cq}):"delegateExpression"===i&&n.push({id:"calledElementVariableMappingDelegateExpression",component:qU,isEdited:cq}),n}({element:t})):"cmmn"===i?n.push(...function(e){const{element:t}=e,n=[{id:"calledElementCaseRef",component:NU,isEdited:cq},{id:"calledElementCaseBinding",component:BU,isEdited:ZL},{id:"calledElementCaseTenantId",component:jU,isEdited:cq}];return"version"===qr(t).get("camunda:caseBinding")&&n.splice(-1,0,{id:"calledElementCaseVersion",component:$U,isEdited:cq}),n}({element:t}),...XU({element:t})):n.push(...XU({element:t})),n}const HU={calledElement:void 0,"camunda:calledElementBinding":void 0,"camunda:calledElementVersion":void 0,"camunda:calledElementTenantId":void 0,"camunda:variableMappingClass":void 0,"camunda:variableMappingDelegateExpression":void 0,"camunda:caseRef":void 0,"camunda:caseBinding":void 0,"camunda:caseVersion":void 0,"camunda:caseTenantId":void 0},UU="#{execution.processBusinessKey}";function WU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate");return LE(YL,{element:t,id:"calledElementType",label:i("Type"),getValue:()=>KU(t),setValue:e=>{const i={...HU};"bpmn"===e?i.calledElement="":"cmmn"===e&&(i["camunda:caseRef"]=""),n.execute("element.updateProperties",{element:t,properties:i})},getOptions:()=>[{value:"",label:i("<none>")},{value:"bpmn",label:i("BPMN")},{value:"cmmn",label:i("CMMN")}]})}function XU(e){const{element:t}=e,n=[{id:"calledElementBusinessKey",component:GU,isEdited:WL}];return YU(t)&&n.push({id:"calledElementBusinessKeyExpression",component:QU,isEdited:cq}),n}function GU(e){const{element:t}=e,n=ez("commandStack"),i=ez("modeling"),r=ez("bpmnFactory"),o=ez("translate");function s(e){return GF("camunda:In",{businessKey:UU},e,r)}return LE(UL,{element:t,id:"calledElementBusinessKey",label:o("Business key"),getValue:()=>YU(t),setValue:e=>{e?function(){const e=qr(t);let o=e.get("extensionElements");if(o){const i=s(o);lU(t,e,i,r,n)}else{o=GF("bpmn:ExtensionElements",{},e,r);const n=s(o);o.set("values",[n]),i.updateProperties(t,{extensionElements:o})}}():function(){const e=qr(t),i=aU(e,"camunda:In").filter((e=>void 0!==e.get("businessKey")));cU(t,e,i,n)}()}})}function QU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementBusinessKeyExpression",label:i("Business key expression"),getValue:()=>ZU(t),setValue:e=>{const i=JU(t);n.execute("element.updateModdleProperties",{element:t,moddleElement:i,properties:{businessKey:e||""}})},debounce:r})}function KU(e){const t=qr(e);return void 0!==t.get("calledElement")?"bpmn":void 0!==t.get("camunda:caseRef")?"cmmn":""}function YU(e){return void 0!==ZU(e)}function ZU(e){const t=JU(e);if(t)return t.get("businessKey")}function JU(e){const t=aU(qr(e),"camunda:In");for(const e of t){if(void 0!==e.get("businessKey"))return e}}function eW(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")?[{id:"candidateStarterGroups",component:tW,isEdited:cq},{id:"candidateStarterUsers",component:nW,isEdited:cq}]:[]}function tW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=iW(t);return lq({element:t,id:"candidateStarterGroups",label:i("Candidate starter groups"),description:i("Specify more than one group as a comma separated list."),getValue:()=>o.get("camunda:candidateStarterGroups")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:candidateStarterGroups":e}})},debounce:r})}function nW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=iW(t);return lq({element:t,id:"candidateStarterUsers",label:i("Candidate starter users"),description:i("Specify more than one user as a comma separated list."),getValue:()=>o.get("camunda:candidateStarterUsers")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:candidateStarterUsers":e}})},debounce:r})}function iW(e){return Ir(e,"bpmn:Process")?qr(e):qr(e).get("processRef")}function rW(e){const{element:t}=e;if(!(Ir(t,"bpmn:SequenceFlow")&&function(e){return Lr(e,hW)}(t.source)||mW(t)))return[];const n=[];mW(t)&&n.push(...function(e){const{element:t}=e,n=[];n.push({id:"conditionVariableName",component:uW,isEdited:cq}),(!Ir(t,"bpmn:StartEvent")||function(e){const t=qr(e),n=t.$parent;return Ir(n,"bpmn:SubProcess")&&n.triggeredByEvent}(t))&&n.push({id:"conditionVariableEvents",component:dW,isEdited:cq});return n}({element:t})),n.push({id:"conditionType",component:oW,isEdited:ZL});const i=fW(t);return"script"===i?n.push(...function(e){const{element:t}=e,n=[],i=yW(t);n.push({id:"conditionScriptLanguage",component:aW,isEdited:cq}),n.push({id:"conditionScriptType",component:lW,isEdited:ZL}),"script"===i?n.push({id:"conditionScriptValue",component:cW,isEdited:oq}):"resource"===i&&n.push({id:"conditionScriptResource",component:pW,isEdited:cq});return n}({element:t})):"expression"===i&&n.push({id:"conditionExpression",component:sW,isEdited:cq}),n}function oW(e){const{element:t}=e,n=ez("commandStack"),i=ez("bpmnFactory"),r=ez("translate");return LE(YL,{element:t,id:"conditionType",label:r("Type"),getValue:()=>fW(t),setValue:e=>{if(""===e)vW(t,n,void 0);else{const r=bW(t,{body:"",language:"script"===e?"":void 0},i);vW(t,n,r)}},getOptions:()=>[{value:"",label:r("<none>")},{value:"script",label:r("Script")},{value:"expression",label:r("Expression")}]})}function sW(e){const{element:t}=e,n=ez("commandStack"),i=ez("bpmnFactory"),r=ez("translate"),o=ez("debounceInput");return LE(lq,{element:t,id:"conditionExpression",label:r("Condition Expression"),getValue:()=>gW(t).get("body"),setValue:e=>{const r=bW(t,{body:e},i);vW(t,n,r)},debounce:o})}function aW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"conditionScriptLanguage",label:i("Format"),getValue:()=>gW(t).get("language"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:gW(t),properties:{language:e||""}})},debounce:r})}function lW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate");return YL({element:t,id:"conditionScriptType",label:i("Script type"),getValue:()=>yW(t),setValue:e=>{const i={body:"script"===e?"":void 0,"camunda:resource":"resource"===e?"":void 0};n.execute("element.updateModdleProperties",{element:t,moddleElement:gW(t),properties:i})},getOptions:()=>[{value:"resource",label:i("External resource")},{value:"script",label:i("Inline script")}]})}function cW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(rq,{element:t,id:"conditionScriptValue",label:i("Script"),getValue:()=>gW(t).get("body"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:gW(t),properties:{body:e||""}})},debounce:r,monospace:!0})}function pW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:!0,id:"conditionScriptResource",label:i("Resource"),getValue:()=>gW(t).get("camunda:resource"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:gW(t),properties:{"camunda:resource":e||""}})},debounce:r})}function uW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"conditionVariableName",label:i("Variable name"),getValue:()=>mW(t).get("variableName"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:mW(t),properties:{variableName:e||""}})},debounce:r})}function dW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"conditionVariableEvents",label:i("Variable events"),description:i("Specify more than one variable change event as a comma separated list."),getValue:()=>mW(t).get("variableEvents"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:mW(t),properties:{variableEvents:e||""}})},debounce:r})}const hW=["bpmn:Activity","bpmn:ExclusiveGateway","bpmn:InclusiveGateway","bpmn:ComplexGateway"];function mW(e){return!!Ir(e,"bpmn:Event")&&OF(e,"bpmn:ConditionalEventDefinition")}function fW(e){const t=gW(e);return t?void 0===t.get("language")?"expression":"script":""}function gW(e){const t=qr(e);return Ir(t,"bpmn:SequenceFlow")?t.get("conditionExpression"):mW(t)?mW(t).get("condition"):void 0}function yW(e){return void 0!==gW(e).get("camunda:resource")?"resource":"script"}function vW(e,t,n=void 0){Ir(e,"bpmn:SequenceFlow")?t.execute("element.updateProperties",{element:e,properties:{conditionExpression:n}}):t.execute("element.updateModdleProperties",{element:e,moddleElement:mW(e),properties:{condition:n}})}function bW(e,t,n){return GF("bpmn:FormalExpression",t,Ir(e,"bpmn:SequenceFlow")?qr(e):mW(e),n)}function xW(e){const{element:t,script:n,prefix:i}=e,r=[],o=PW(n||t),s=i||"";return r.push({id:s+"scriptFormat",component:wW,isEdited:cq,idPrefix:s,script:n}),r.push({id:s+"scriptType",component:EW,isEdited:ZL,idPrefix:s,script:n}),"script"===o&&r.push({id:s+"scriptValue",component:_W,isEdited:oq,idPrefix:s,script:n}),"resource"===o&&r.push({id:s+"scriptResource",component:OW,isEdited:cq,idPrefix:s,script:n}),r}function wW(e){const{element:t,idPrefix:n,script:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=i||qr(t);return lq({element:t,id:n+"scriptFormat",label:o("Format"),getValue:()=>a.get("scriptFormat"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{scriptFormat:e}})},debounce:s})}function EW(e){const{element:t,idPrefix:n,script:i}=e,r=ez("commandStack"),o=ez("translate"),s=i||qr(t),a=SW(s);return YL({element:t,id:n+"scriptType",label:o("Type"),getValue:()=>PW(s),setValue:e=>{const n={[a]:"script"===e?"":void 0,"camunda:resource":"resource"===e?"":void 0};r.execute("element.updateModdleProperties",{element:t,moddleElement:s,properties:n})},getOptions:()=>[{value:"",label:o("<none>")},{value:"resource",label:o("External resource")},{value:"script",label:o("Inline script")}]})}function _W(e){const{element:t,idPrefix:n,script:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=i||qr(t),l=SW(a);return rq({element:t,id:n+"scriptValue",label:o("Script"),getValue:()=>kW(a),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{[l]:e||""}})},debounce:s,monospace:!0})}function OW(e){const{element:t,idPrefix:n,script:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=i||qr(t);return lq({element:t,id:n+"scriptResource",label:o("Resource"),getValue:()=>a.get("camunda:resource"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{"camunda:resource":e||""}})},debounce:s})}function PW(e){const t=qr(e);if(void 0!==kW(t))return"script";return void 0!==t.get("camunda:resource")?"resource":void 0}function kW(e){return e.get(SW(e))}function SW(e){return Ir(e,"camunda:Script")?"value":"script"}function CW(e,t){const n=TW(e);return n&&n.get(t)||[]}function TW(e){if(Ir(e,"camunda:Connector"))return e.get("inputOutput");return(function(e,t,n){const i=aU(e,t);return n?(i[0]||{})[n]||[]:i}(qr(e),"camunda:InputOutput")||[])[0]}function AW(e){return CW(e,"inputParameters")}function MW(e){return CW(e,"outputParameters")}function RW(e){const t=qr(e);return Ir(t,"bpmn:FlowNode")&&!(Lr(t,["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:Gateway"])||Ir(t,"bpmn:SubProcess")&&t.get("triggeredByEvent"))}function DW(e){const t={"camunda:Map":"map","camunda:List":"list","camunda:Script":"script"};let n="stringOrExpression";const i=e.get("definition");return void 0!==i&&(n=t[i.$type]),n}function NW(e,t,n,i){const r="camunda:InputParameter"===t,o=GF(t,{name:QF(r?"Input_":"Output_")},n,i),s=r?"inputParameters":"outputParameters";return{cmd:"element.updateModdleProperties",context:{element:e,moddleElement:n,properties:{[s]:[...n.get(s),o]}}}}function BW(e,t,n){const i=[],r=qr(e);let o=r.get("extensionElements");o||(o=GF("bpmn:ExtensionElements",{values:[]},r,n),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:r,properties:{extensionElements:o}}}));let s=TW(e);if(!s){s=GF("camunda:InputOutput",{inputParameters:[],outputParameters:[]},o,n),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{values:[...o.get("values"),s]}}})}return i.push(NW(e,t,s,n)),i}function $W(e){const{element:t,id:n,index:i,item:r}=e;return LE(IW,{idPrefix:`${n}-listItem-${i}`,element:t,item:r})}function jW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=i.get("definition"),l=a.get("items");return GL({element:n,autoFocusEntry:!0,compareFn:function(e,t){const[n="",i=""]=[e.value,t.value];return n===i?0:n>i?1:-1},id:t+"-list",items:l,label:s("List values"),onAdd:function(){const e=GF("camunda:Value",{},i,r);o.execute("element.updateModdleProperties",{element:n,moddleElement:a,properties:{items:[...a.get("items"),e]}})},onRemove:function(e){o.execute("element.updateModdleProperties",{element:n,moddleElement:a,properties:{items:x(a.get("items"),e)}})},component:$W})}function IW(e){const{idPrefix:t,element:n,item:i}=e,r=ez("commandStack"),o=ez("translate"),s={"camunda:Map":o("Map"),"camunda:List":o("List"),"camunda:Script":o("Script")};return function(e){const{id:t,disabled:n,getValue:i,setValue:r}=e,o=ez("debounceInput",!0);return LE(eq,{id:t,getValue:i,setValue:r,disabled:n,debounce:o})}({id:t+"-value",disabled:LW(i),getValue:()=>LW(i)?s[i.$type]:i.get("value"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{value:e}})}})}function LW(e){return function(e){return Ir(e,"camunda:Script")}(e)||function(e){return Ir(e,"camunda:List")}(e)||function(e){return Ir(e,"camunda:Map")}(e)}function qW(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=`${n}-mapEntry-${i}`,a=ez("translate");return LE(jL,{id:s,element:t,entries:VW({element:t,entry:r,idPrefix:s}),label:r.get("key")||a("<empty>"),open:o})}function zW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=i.get("definition"),l=a.get("entries");return GL({element:n,autoFocusEntry:!0,compareFn:function(e,t){const[n="",i=""]=[e.key,t.key];return n===i?0:n>i?1:-1},id:t+"-map",items:l,label:s("Map entries"),onAdd:function(){const e=GF("camunda:Entry",{},i,r);o.execute("element.updateModdleProperties",{element:n,moddleElement:a,properties:{entries:[...a.get("entries"),e]}})},onRemove:function(e){o.execute("element.updateModdleProperties",{element:n,moddleElement:a,properties:{entries:x(a.get("entries"),e)}})},component:qW})}function VW(e){const{element:t,entry:n,idPrefix:i}=e;return[{id:i+"-key",component:FW,entry:n,idPrefix:i,element:t},{id:i+"-value",component:HW,entry:n,idPrefix:i,element:t}]}function FW(e){const{element:t,entry:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:n,id:i+"-key",label:o("Key"),getValue:()=>n.get("key"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{key:e}})},debounce:s})}function HW(e){const{element:t,entry:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=n.get("definition"),l={"camunda:Map":o("Map"),"camunda:List":o("List"),"camunda:Script":o("Script")};return lq({element:n,id:i+"-value",label:o("Value"),getValue:()=>UW(a)?l[a.$type]:n.get("value"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{value:e}})},disabled:UW(a),debounce:s})}function UW(e){return function(e){return Ir(e,"camunda:Script")}(e)||function(e){return Ir(e,"camunda:List")}(e)||function(e){return Ir(e,"camunda:Map")}(e)}const WW={value:void 0,definition:void 0};function XW(e){const{idPrefix:t,element:n,parameter:i}=e,r=DW(i);let o=[{id:t+"-name",component:GW,isEdited:cq,idPrefix:t,parameter:i},{id:t+"-type",component:QW,isEdited:ZL,idPrefix:t,parameter:i}];if("stringOrExpression"===r)o.push({id:t+"-stringOrExpression",component:KW,isEdited:oq,idPrefix:t,parameter:i});else if("script"===r){const e=i.get("definition");o=[...o,...xW({element:n,prefix:t+"-",script:e})]}else"list"===r?o.push({id:`${t}-list`,component:jW,idPrefix:t,parameter:i}):"map"===r&&o.push({id:`${t}-map`,component:zW,idPrefix:t,parameter:i});return o}function GW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o(YW(i)?"Local variable name":"Process variable name"),getValue:e=>e.get("name"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}function QW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=e=>GF(e,{},i,r);return YL({element:i,id:t+"-type",label:s("Assignment type"),getValue:e=>DW(e),setValue:e=>{let t={...WW};"script"===e?t.definition=a("camunda:Script"):"list"===e?t.definition=a("camunda:List"):"map"===e&&(t.definition=a("camunda:Map")),o.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:t})},getOptions:()=>[{label:s("List"),value:"list"},{label:s("Map"),value:"map"},{label:s("Script"),value:"script"},{label:s("String or expression"),value:"stringOrExpression"}]})}function KW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return rq({element:i,id:t+"-stringOrExpression",label:o("Value"),description:o('Start typing "${}" to create an expression.'),getValue:e=>e.get("value"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{value:e}})},rows:1,debounce:s})}function YW(e){return Ir(e,"camunda:InputParameter")}function ZW(e){return Ir(e,"camunda:ServiceTaskLike")}function JW(e){return Ir(e,"camunda:DmnCapable")}function eX(e){return Ir(e,"camunda:ExternalCapable")}function tX(e){if(Ir(e,"bpmn:IntermediateThrowEvent")||Ir(e,"bpmn:EndEvent")){const t=PF(e);t&&(e=t)}return ZW(e)&&qr(e)}function nX(e){const t=function(e){if(Lr(e,["camunda:ExecutionListener","camunda:TaskListener"]))return e}(e)||tX(e);if(!t)return;if(JW(t)){if(void 0!==t.get("camunda:decisionRef"))return"dmn"}if(ZW(t)){if(aU(t,"camunda:Connector").length)return"connector"}if(eX(t)){if("external"===t.get("camunda:type"))return"external"}if(void 0!==t.get("camunda:class"))return"class";if(void 0!==t.get("camunda:expression"))return"expression";if(void 0!==t.get("camunda:delegateExpression"))return"delegateExpression";return void 0!==t.get("script")?"script":void 0}function iX(e){const t=tX(e);return t&&"connector"===nX(t)}function rX(e){const t=function(e){return aU(e,"camunda:Connector")}(tX(e));return t[0]}function oX(e){const{element:t,injector:n}=e;if(!iX(t))return null;const i=rX(t),r=n.get("commandStack"),o=n.get("bpmnFactory"),s=(AW(i)||[]).map(((e,n)=>{const o=t.id+"-connector-inputParameter-"+n;return{id:o,label:e.get("name")||"",entries:XW({element:t,idPrefix:o,parameter:e}),autoFocusEntry:o+"-name",remove:sX({connector:i,element:t,parameter:e,commandStack:r})}}));return{items:s,add:function(e){e.stopPropagation();const n=[];let s=TW(i);s||(s=GF("camunda:InputOutput",{inputParameters:[],outputParameters:[]},i,o),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{inputOutput:s}}})),n.push(NW(t,"camunda:InputParameter",s,o)),r.execute("properties-panel.multi-command-executor",n)}}}function sX(e){const{commandStack:t,connector:n,element:i,parameter:r}=e;return function(e){e.stopPropagation();const o=TW(n);o&&t.execute("element.updateModdleProperties",{element:i,moddleElement:o,properties:{inputParameters:x(o.get("inputParameters"),r)}})}}function aX(e){const{element:t,injector:n}=e;if(!iX(t))return null;const i=rX(t),r=n.get("commandStack"),o=n.get("bpmnFactory"),s=(MW(i)||[]).map(((e,n)=>{const o=t.id+"-connector-outputParameter-"+n;return{id:o,label:e.get("name")||"",entries:XW({idPrefix:o,element:t,parameter:e}),autoFocusEntry:o+"-name",remove:lX({connector:i,element:t,commandStack:r,parameter:e})}}));return{items:s,add:function(e){e.stopPropagation();const n=[];let s=TW(i);s||(s=GF("camunda:InputOutput",{inputParameters:[],outputParameters:[]},i,o),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{inputOutput:s}}})),n.push(NW(t,"camunda:OutputParameter",s,o)),r.execute("properties-panel.multi-command-executor",n)}}}function lX(e){const{commandStack:t,connector:n,element:i,parameter:r}=e;return function(e){e.stopPropagation();const o=TW(n);o&&t.execute("element.updateModdleProperties",{element:i,moddleElement:o,properties:{outputParameters:x(o.get("outputParameters"),r)}})}}function cX(e){const{element:t,entries:n}=e;if(!xF(t))return n;if(_F(t)){const e=function(e,t){const n=y(e,(e=>e.id===t));return n>=0?n+1:e.length}(n,"errorCode");n.splice(e,0,{id:"errorMessage",component:pX,isEdited:cq})}return function(e){return Ir(e,"bpmn:StartEvent")||Ir(e,"bpmn:BoundaryEvent")}(t)?(n.push({id:"errorCodeVariable",component:uX,isEdited:cq},{id:"errorMessageVariable",component:dX,isEdited:cq}),n):n}function pX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=_F(t);return lq({element:t,id:"errorMessage",label:i("Message"),getValue:()=>o.get("camunda:errorMessage"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:errorMessage":e}}),debounce:r})}function uX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=wF(t);return lq({element:t,id:"errorCodeVariable",label:i("Code variable"),description:i("Define the name of the variable that will contain the error code."),getValue:()=>o.get("camunda:errorCodeVariable"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:errorCodeVariable":e}}),debounce:r})}function dX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=wF(t);return lq({element:t,id:"errorMessageVariable",label:i("Message variable"),description:i("Define the name of the variable that will contain the error message."),getValue:()=>o.get("camunda:errorMessageVariable"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:errorMessageVariable":e}}),debounce:r})}const hX="",mX="create-new";function fX(e){const{idPrefix:t,errorEventDefinition:n}=e;let i=[{id:t+"-errorRef",component:gX,isEdited:ZL,errorEventDefinition:n,idPrefix:t}];const r=n.get("errorRef");return r&&(i=[...i,{id:t+"-errorName",component:yX,isEdited:cq,error:r,errorEventDefinition:n,idPrefix:t},{id:t+"-errorCode",component:vX,isEdited:cq,error:r,errorEventDefinition:n,idPrefix:t},{id:t+"-errorMessage",component:bX,isEdited:cq,error:r,errorEventDefinition:n,idPrefix:t}]),i.push({id:t+"-expression",component:xX,errorEventDefinition:n,idPrefix:t}),i}function gX(e){const{element:t,errorEventDefinition:n,idPrefix:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=qr(t);return bF({element:t,id:i+"-errorRef",label:s("Global error reference"),autoFocusEntry:i+"-errorName",getValue:()=>{const e=n.get("errorRef");return e?e.get("id"):hX},setValue:e=>{const i=KF(a),s=[];let l;return e===mX&&(l=GF("bpmn:Error",{name:QF("Error_")},i,r),e=l.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),l]}}})),l=l||ZF(a,"bpmn:Error",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:n,properties:{errorRef:l}}}),o.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:hX,label:s("<none>")},{value:mX,label:s("Create new ...")}];const n=YF(qr(t),"bpmn:Error");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")||t.get("id")})})),e}})}function yX(e){const{element:t,error:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i+"-errorName",label:o("Name"),getValue:()=>n.get("name"),setValue:e=>r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{name:e}}),debounce:s})}function vX(e){const{element:t,error:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i+"-errorCode",label:o("Code"),getValue:()=>n.get("errorCode"),setValue:e=>r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{errorCode:e}}),debounce:s})}function bX(e){const{element:t,error:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i+"-errorMessage",label:o("Message"),getValue:()=>n.get("errorMessage"),setValue:e=>r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{errorMessage:e}}),debounce:s})}function xX(e){const{element:t,errorEventDefinition:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:n,id:i+"-expression",label:o("Throw expression"),getValue:()=>n.get("camunda:expression"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:expression":e}})},debounce:s})}function wX({element:e,injector:t}){const n=qr(e);if(!Ir(e,"bpmn:ServiceTask")||"external"!==nX(e))return null;const i=aU(n,"camunda:ErrorEventDefinition"),r=t.get("bpmnFactory"),o=t.get("commandStack"),s=i.map(((t,n)=>{const i=e.id+"-error-"+n;return{id:i,label:OX(t),entries:fX({idPrefix:i,element:e,errorEventDefinition:t}),autoFocusEntry:i+"-errorRef",remove:EX({commandStack:o,element:e,errorEventDefinition:t})}}));return{items:s,add:_X({bpmnFactory:r,commandStack:o,element:e}),shouldSort:!1}}function EX({commandStack:e,element:t,errorEventDefinition:n}){return function(i){i.stopPropagation();const r=qr(t);cU(t,r,n,e)}}function _X({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=qr(n),o=GF("camunda:ErrorEventDefinition",{},void 0,e);lU(n,r,o,e,t)}}function OX(e){const t=e.get("errorRef");if(!t)return"<no reference>";const n=t.get("errorCode"),i=t.get("name")||"<unnamed>";return n?`${i} (code = ${n})`:i}function PX(e){const{element:t,entries:n}=e;return MF(t)&&function(e){return Ir(e,"bpmn:StartEvent")||Ir(e,"bpmn:BoundaryEvent")}(t)?(n.push({id:"escalationCodeVariable",component:kX,isEdited:cq}),n):n}function kX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=AF(t);return lq({element:t,id:"escalationCodeVariable",label:i("Code variable"),description:i("Define the name of the variable that will contain the escalation code."),getValue:()=>o.get("camunda:escalationCodeVariable"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:escalationCodeVariable":e}}),debounce:r})}function SX(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")||TX(t)?[{id:"externalTaskPriority",component:CX,isEdited:cq}]:[]}function CX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");let o;o=Ir(t,"bpmn:Participant")?qr(t).get("processRef"):TX(t)?tX(t):qr(t);return lq({element:t,id:"externalTaskPriority",label:i("Priority"),getValue:()=>o.get("camunda:taskPriority"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:taskPriority":e}})},debounce:r})}function TX(e){const t=tX(e),n=t&&t.get("camunda:type");return Ir(t,"camunda:ServiceTaskLike")&&n&&"external"===n}const AX={stringValue:void 0,string:void 0,expression:void 0};function MX(e){const{element:t,idPrefix:n,field:i}=e;return[{id:n+"-name",component:RX,field:i,idPrefix:n,element:t},{id:n+"-type",component:DX,field:i,idPrefix:n,element:t},{id:n+"-value",component:NX,field:i,idPrefix:n,element:t}]}function RX(e){const{idPrefix:t,element:n,field:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o("Name"),getValue:e=>e.name,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}function DX(e){const{idPrefix:t,element:n,field:i}=e,r=ez("commandStack"),o=ez("translate");return YL({element:i,id:t+"-type",label:o("Type"),getValue:e=>BX(e),setValue:e=>{const t=Object.assign({},AX);t[e]="",r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:t})},getOptions:e=>[{value:"string",label:o("String")},{value:"expression",label:o("Expression")}]})}function NX(e){const{idPrefix:t,element:n,field:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-value",label:o("Value"),getValue:e=>e.string||e.stringValue||e.expression,setValue:e=>{const t=BX(i),o=Object.assign({},AX);o[t]=e||"",r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:o})},debounce:s})}function BX(e){return("string"in e?"string":"expression"in e&&"expression")||"stringValue"in e&&"string"||"string"}function $X({element:e,injector:t}){const n=tX(e);if(!n)return null;const i=aU(n,"camunda:Field"),r=t.get("bpmnFactory"),o=t.get("commandStack"),s=i.map(((t,n)=>{const i=e.id+"-fieldInjection-"+n;return{id:i,label:LX(t),entries:MX({idPrefix:i,element:e,field:t}),autoFocusEntry:i+"-name",remove:jX({commandStack:o,element:e,field:t})}}));return{items:s,add:IX({bpmnFactory:r,commandStack:o,element:e})}}function jX({commandStack:e,element:t,field:n}){return function(i){i.stopPropagation();const r=tX(t);cU(t,r,n,e)}}function IX({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=tX(n),o=GF("camunda:Field",{name:void 0,string:"",stringValue:void 0},null,e);lU(n,r,o,e,t)}}function LX(e){return e.name||"<empty>"}function qX(e){const{constraint:t,element:n,idPrefix:i}=e;return[{id:i+"-name",component:zX,constraint:t,idPrefix:i,element:n},{id:i+"-config",component:VX,constraint:t,idPrefix:i,element:n}]}function zX(e){const{idPrefix:t,element:n,constraint:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o("Name"),getValue:()=>i.name,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}function VX(e){const{idPrefix:t,element:n,constraint:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-config",label:o("Config"),getValue:()=>i.config,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{config:e}})},debounce:s})}function FX(e){const{element:t,idPrefix:n,property:i}=e;return[{id:n+"-id",component:HX,idPrefix:n,property:i,element:t},{id:n+"-value",component:UX,idPrefix:n,property:i,element:t}]}function HX(e){const{idPrefix:t,element:n,property:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-id",label:o("ID"),getValue:()=>i.id,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{id:e}})},debounce:s})}function UX(e){const{idPrefix:t,element:n,property:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-value",label:o("Value"),getValue:()=>i.value,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{value:e}})},debounce:s})}function WX(e){const{element:t,idPrefix:n,value:i}=e;return[{id:n+"-id",component:XX,idPrefix:n,value:i,element:t},{id:n+"-name",component:GX,idPrefix:n,value:i,element:t}]}function XX(e){const{idPrefix:t,element:n,value:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-id",label:o("ID"),getValue:()=>i.id,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{id:e}})},debounce:s})}function GX(e){const{idPrefix:t,element:n,value:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o("Name"),getValue:()=>i.name,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}const QX="",KX=["boolean","date","enum","long","string",void 0];function YX(e){const{idPrefix:t,formField:n}=e,i=[{id:t+"-formFieldID",component:ZX,idPrefix:t,formField:n},{id:t+"-formFieldLabel",component:JX,idPrefix:t,formField:n},{id:t+"-formFieldType",component:eG,idPrefix:t,formField:n}];return KX.includes(n.get("type"))||i.push({id:t+"-formFieldCustomType",component:tG,idPrefix:t,formField:n}),i.push({id:t+"-formFieldDefaultValue",component:nG,idPrefix:t,formField:n}),"enum"===n.get("type")&&i.push({id:t+"-formFieldValues",component:rG,formField:n,idPrefix:t}),i.push({id:t+"-formFieldConstraints",component:sG,formField:n,idPrefix:t},{id:t+"-formFieldProperties",component:lG,formField:n,idPrefix:t}),i}function ZX(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-formFieldID",label:o("ID"),description:o("Refers to the process variable name"),getValue:()=>i.get("id"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{id:e}})},debounce:s})}function JX(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-formFieldLabel",label:o("Label"),getValue:()=>i.get("label"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{label:e}})},debounce:s})}function eG(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate");return YL({element:i,id:t+"-formFieldType",label:o("Type"),getValue:()=>{const e=i.get("type");return KX.includes(e)?e:QX},setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{type:e}})},getOptions:()=>{const e=[{label:o("boolean"),value:"boolean"},{label:o("date"),value:"date"},{label:o("enum"),value:"enum"},{label:o("long"),value:"long"},{label:o("string"),value:"string"},{label:o("<custom type>"),value:QX}];return void 0===i.get("type")&&e.unshift({label:o("<none>"),value:""}),e}})}function tG(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-formFieldCustomType",label:o("Custom type"),getValue:()=>i.get("type"),setValue:e=>{const t=e||"";r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{type:t}})},debounce:s})}function nG(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-formFieldDefaultValue",label:o("Default value"),getValue:()=>i.get("defaultValue"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{defaultValue:e}})},debounce:s})}function iG(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=ez("translate"),a=`${n}-value-${i}`;return LE(jL,{id:a,element:t,entries:WX({idPrefix:a,element:t,value:r}),label:r.get("id")||s("<empty>"),open:o})}function rG(e){const{element:t,formField:n,idPrefix:i}=e,r=`${i}-formFieldValues`,o=ez("bpmnFactory"),s=ez("commandStack"),a=ez("translate"),l=n.get("values")||[];return LE(GL,{element:t,autoFocusEntry:`[data-entry-id="${r}-value-${l.length-1}"] input`,id:r,label:a("Values"),items:l,component:iG,onAdd:function(){const e=GF("camunda:Value",{id:void 0,name:void 0},n,o);s.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{values:[...n.get("values"),e]}})},onRemove:function(e){s.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{values:x(n.get("values"),e)}})}})}function oG(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=ez("translate"),a=`${n}-constraint-${i}`;return LE(jL,{id:a,element:t,entries:qX({constraint:r,element:t,idPrefix:a}),label:r.get("name")||s("<empty>"),open:o})}function sG(e){const{element:t,formField:n,idPrefix:i}=e,r=`${i}-formFieldConstraints`,o=ez("bpmnFactory"),s=ez("commandStack"),a=ez("translate"),l=qr(t);let c=n.get("validation");const p=c&&c.get("constraints")||[];return LE(GL,{element:t,autoFocusEntry:`[data-entry-id="${r}-constraint-${p.length-1}"] input`,id:r,label:a("Constraints"),items:p,component:oG,onAdd:function(){const e=[];c||(c=GF("camunda:Validation",{},l,o),e.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:n,properties:{validation:c}}}));const i=GF("camunda:Constraint",{name:void 0,config:void 0},c,o);e.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:c,properties:{constraints:[...c.get("constraints"),i]}}}),s.execute("properties-panel.multi-command-executor",e)},onRemove:function(e){s.execute("element.updateModdleProperties",{element:t,moddleElement:c,properties:{constraints:x(c.get("constraints"),e)}})}})}function aG(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=ez("translate"),a=`${n}-property-${i}`;return LE(jL,{id:a,element:t,entries:FX({element:t,idPrefix:a,property:r}),label:r.get("id")||s("<empty>"),open:o})}function lG(e){const{element:t,formField:n,idPrefix:i}=e,r=`${i}-formFieldProperties`,o=ez("bpmnFactory"),s=ez("commandStack"),a=ez("translate"),l=qr(t);let c=n.get("properties");const p=c&&c.get("values")||[];return LE(GL,{element:t,autoFocusEntry:!0,id:r,compareFn:(u="id",function(e,t){const[n="",i=""]=[e[u],t[u]];return n===i?0:n>i?1:-1}),label:a("Properties"),items:p,component:aG,onAdd:function(){const e=[];c||(c=GF("camunda:Properties",{},l,o),e.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:n,properties:{properties:c}}}));const i=GF("camunda:Property",{id:void 0,value:void 0},c,o);e.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:c,properties:{values:[...c.get("values"),i]}}}),s.execute("properties-panel.multi-command-executor",e)},onRemove:function(e){s.execute("element.updateModdleProperties",{element:t,moddleElement:c,properties:{values:x(c.get("values"),e)}})}});var u}function cG({element:e,injector:t}){if(!function(e){const t=dG(e);return(Ir(e,"bpmn:StartEvent")&&!Ir(e.parent,"bpmn:SubProcess")||Ir(e,"bpmn:UserTask"))&&t}(e))return;const n=hG(e)||[],i=t.get("bpmnFactory"),r=t.get("commandStack"),o=n.map(((t,n)=>{const i=e.id+"-formField-"+n;return{id:i,label:t.get("id")||"",entries:YX({idPrefix:i,element:e,formField:t}),autoFocusEntry:i+"-formFieldID",remove:uG({commandStack:r,element:e,formField:t})}}));return{items:o,add:pG({bpmnFactory:i,commandStack:r,element:e}),shouldSort:!1}}function pG({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=[],o=dG(n),s=GF("camunda:FormField",{},o,e);r.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:o,properties:{fields:[...o.get("fields"),s]}}}),t.execute("properties-panel.multi-command-executor",r)}}function uG({commandStack:e,element:t,formField:n}){return function(i){i.stopPropagation();const r=dG(t),o=hG(t);if(!o||!o.length)return;const s=x(r.get("fields"),n);e.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{fields:s}})}}function dG(e){return aU(qr(e),"camunda:FormData")[0]}function hG(e){const t=dG(qr(e));return t&&t.fields}const mG={"camunda:formRef":void 0,"camunda:formRefBinding":void 0,"camunda:formRefVersion":void 0},fG={"camunda:formKey":void 0};function gG(e){const{element:t}=e,n=ez("translate"),i=ez("bpmnFactory"),r=qr(t),o=ez("commandStack");let s=r.get("extensionElements");return YL({element:t,id:"formType",label:n("Type"),getValue:()=>a(r.get("camunda:formKey"))?"formKey":a(r.get("camunda:formRef"))?"formRef":yG(t)?"formData":"",setValue:e=>{const n=function(e,t){const n=qr(e),i=n.get("extensionElements"),r=[];r.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:n,properties:{...mG,...fG}}}),i&&yG(e)&&r.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{values:x(i.get("values"),yG(e))}}});return r}(t);if("formData"===e){s||(s=GF("bpmn:ExtensionElements",{values:[]},r,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{extensionElements:s}}}));const e=GF("camunda:FormData",{fields:[]},s,i);n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),e]}}})}else"formKey"===e?n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{"camunda:formKey":""}}}):"formRef"===e&&n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{"camunda:formRef":""}}});o.execute("properties-panel.multi-command-executor",n)},getOptions:()=>[{value:"",label:n("<none>")},{value:"formRef",label:n("Camunda Forms")},{value:"formKey",label:n("Embedded or External Task Forms")},{value:"formData",label:n("Generated Task Forms")}]})}function yG(e){return aU(qr(e),"camunda:FormData")[0]}function vG(e){return qr(e).get("camunda:formRefBinding")||"latest"}function bG(e){const{element:t}=e;if(!function(e){return Ir(e,"bpmn:StartEvent")&&!Ir(e.parent,"bpmn:SubProcess")||Ir(e,"bpmn:UserTask")}(t))return[];const n=function(e){const t=qr(e);return a(t.get("camunda:formKey"))?"formKey":a(t.get("camunda:formRef"))?"formRef":void 0}(t),i=vG(t),r=[{id:"formType",component:gG,isEdited:ZL}];return"formKey"===n?r.push({id:"formKey",component:xG,isEdited:cq}):"formRef"===n&&(r.push({id:"formRef",component:wG,isEdited:cq},{id:"formRefBinding",component:EG,isEdited:ZL}),"version"===i&&r.push({id:"formRefVersion",component:_G,isEdited:cq})),r}function xG(e){const{element:t}=e,n=ez("debounceInput"),i=ez("modeling"),r=ez("translate"),o=qr(t);return lq({element:t,id:"formKey",label:r("Form key"),getValue:()=>o.get("camunda:formKey"),setValue:e=>{i.updateProperties(t,{"camunda:formKey":s(e)?"":e})},debounce:n})}function wG(e){const{element:t}=e,n=ez("debounceInput"),i=ez("modeling"),r=ez("translate"),o=qr(t);return lq({element:t,id:"formRef",label:r("Form reference"),getValue:()=>o.get("camunda:formRef"),setValue:e=>{i.updateProperties(t,{"camunda:formRef":s(e)?"":e})},debounce:n})}function EG(e){const{element:t}=e,n=ez("modeling"),i=ez("translate");return YL({element:t,id:"formRefBinding",label:i("Binding"),getValue:()=>vG(t),setValue:e=>{n.updateProperties(t,{"camunda:formRefBinding":e})},getOptions:()=>[{value:"deployment",label:i("deployment")},{value:"latest",label:i("latest")},{value:"version",label:i("version")}]})}function _G(e){const{element:t}=e,n=ez("debounceInput"),i=ez("modeling"),r=ez("translate"),o=qr(t);return lq({element:t,id:"formRefVersion",label:r("Version"),getValue:()=>o.get("camunda:formRefVersion"),setValue:e=>{i.updateProperties(t,{"camunda:formRefVersion":e})},debounce:n})}function OG(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")?[{id:"historyTimeToLive",component:PG,isEdited:cq}]:[]}function PG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=function(e){return Ir(e,"bpmn:Process")?qr(e):qr(e).get("processRef")}(t);return lq({element:t,id:"historyTimeToLive",label:i("Time to live"),getValue:()=>o.get("camunda:historyTimeToLive")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:historyTimeToLive":e}})},debounce:r})}function kG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRef",label:i("Decision reference"),getValue:()=>o.get("camunda:decisionRef"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:decisionRef":e||""}})},debounce:r})}function SG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate");return YL({element:t,id:"decisionRefBinding",label:i("Binding"),getValue:()=>DG(t),setValue:e=>{const i=qr(t),r={"camunda:decisionRefVersion":void 0,"camunda:decisionRefVersionTag":void 0,"camunda:decisionRefBinding":e};n.execute("element.updateModdleProperties",{element:t,moddleElement:i,properties:r})},getOptions:()=>[{value:"deployment",label:i("deployment")},{value:"latest",label:i("latest")},{value:"version",label:i("version")},{value:"versionTag",label:i("versionTag")}]})}function CG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRefVersion",label:i("Version"),getValue:()=>o.get("camunda:decisionRefVersion"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:decisionRefVersion":e}})},debounce:r})}function TG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRefVersionTag",label:i("Version tag"),getValue:()=>o.get("camunda:decisionRefVersionTag"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:decisionRefVersionTag":e}})},debounce:r})}function AG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRefTenantId",label:i("Tenant ID"),getValue:()=>o.get("camunda:decisionRefTenantId"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:decisionRefTenantId":e}})},debounce:r})}function MG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRefResultVariable",label:i("Result variable"),getValue:()=>NG(o),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:resultVariable":e}})},debounce:r})}function RG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=qr(t);return YL({element:t,id:"mapDecisionResult",label:i("Map decision result"),getValue:()=>r.get("camunda:mapDecisionResult")||"resultList",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:mapDecisionResult":e}})},getOptions:()=>[{value:"collectEntries",label:i("collectEntries (List<Object>)")},{value:"resultList",label:i("resultList (List<Map<String, Object>>)")},{value:"singleEntry",label:i("singleEntry (TypedValue)")},{value:"singleResult",label:i("singleResult (Map<String, Object>)")}]})}function DG(e){return qr(e).get("camunda:decisionRefBinding")||"latest"}function NG(e){return qr(e).get("camunda:resultVariable")}const BG={"camunda:class":void 0,"camunda:expression":void 0,"camunda:delegateExpression":void 0,"camunda:resultVariable":void 0},$G={"camunda:decisionRef":void 0,"camunda:decisionRefBinding":"latest","camunda:decisionRefVersion":void 0,"camunda:mapDecisionResult":"resultList","camunda:decisionRefTenantId":void 0},jG={"camunda:type":void 0,"camunda:topic":void 0},IG="<none>",LG="Java class",qG="Expression",zG="Delegate expression",VG="DMN",FG="External",HG="Connector";function UG(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate");return YL({element:t,id:"implementationType",label:r("Type"),getValue:()=>nX(t)||"",setValue:e=>{const r=nX(t),o=tX(t),s=[];let a=BG,l=o.get("extensionElements");if(WG(e)&&(a={...a,[e]:WG(r)?o.get(`camunda:${r}`):""}),JW(o)&&(a={...a,...$G},"dmn"===e&&(a={...a,"camunda:decisionRef":""})),eX(o)&&(a={...a,...jG},"external"===e&&(a={...a,"camunda:type":"external","camunda:topic":""})),ZW(o)){const i=function(e){return aU(e,"camunda:Connector")}(o);if(i.length&&s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{values:x(l.get("values"),(e=>i.includes(e)))}}}),"connector"===e){l||(l=GF("bpmn:ExtensionElements",{values:[]},o,n),s.push(XG(t,o,{extensionElements:l})));const e=GF("camunda:Connector",{},l,n);s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{values:[...l.get("values"),e]}}})}}s.push(XG(t,o,a)),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{const e=tX(t),n=[{value:"",label:r(IG)},{value:"class",label:r(LG)},{value:"expression",label:r(qG)},{value:"delegateExpression",label:r(zG)}];return JW(e)&&n.push({value:"dmn",label:r(VG)}),eX(e)&&n.push({value:"external",label:r(FG)}),ZW(e)&&n.push({value:"connector",label:r(HG)}),function(e){const t={[IG]:0,[LG]:3,[qG]:4,[zG]:5,[VG]:1,[FG]:2,[HG]:6};return M(e,(e=>t[e.label]))}(n)}})}function WG(e){return["class","expression","delegateExpression"].includes(e)}function XG(e,t,n){return{cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:n}}}function GG(e){const{element:t}=e;if(!tX(t))return[];const n=nX(t),i=[{id:"implementationType",component:UG,isEdited:ZL}];return"class"===n?i.push({id:"javaClass",component:QG,isEdited:cq}):"expression"===n?i.push({id:"expression",component:KG,isEdited:cq},{id:"expressionResultVariable",component:YG,isEdited:cq}):"delegateExpression"===n?i.push({id:"delegateExpression",component:ZG,isEdited:cq}):"dmn"===n?i.push(...function(e){const{element:t}=e,n=[],i=nX(t),r=DG(t);return"dmn"!==i||(n.push({id:"decisionRef",component:kG,isEdited:cq}),n.push({id:"decisionRefBinding",component:SG,isEdited:ZL}),"version"===r&&n.push({id:"decisionRefVersion",component:CG,isEdited:cq}),"versionTag"===r&&n.push({id:"decisionRefVersionTag",component:TG,isEdited:cq}),n.push({id:"decisionRefTenantId",component:AG,isEdited:cq}),n.push({id:"decisionRefResultVariable",component:MG,isEdited:cq}),NG(t)&&n.push({id:"mapDecisionResult",component:RG,isEdited:ZL})),n}({element:t})):"external"===n?i.push({id:"externalTopic",component:JG,isEdited:cq}):"connector"===n&&i.push({id:"connectorId",component:eQ,isEdited:cq}),i}function QG(e){const{element:t,businessObject:n=tX(t),id:i="javaClass"}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i,label:o("Java class"),getValue:()=>n.get("camunda:class"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:class":e||""}})},debounce:s})}function KG(e){const{element:t,businessObject:n=tX(t),id:i="expression"}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i,label:o("Expression"),getValue:()=>n.get("camunda:expression"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:expression":e||""}})},debounce:s})}function YG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=tX(t);return lq({element:t,id:"expressionResultVariable",label:i("Result variable"),getValue:()=>o.get("camunda:resultVariable"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:resultVariable":e}})},debounce:r})}function ZG(e){const{element:t,businessObject:n=tX(t),id:i="delegateExpression"}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i,label:o("Delegate expression"),getValue:()=>n.get("camunda:delegateExpression"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:delegateExpression":e||""}})},debounce:s})}function JG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=tX(t);return lq({element:t,id:"externalTopic",label:i("Topic"),getValue:()=>o.get("camunda:topic"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:topic":e}})},debounce:r})}function eQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=function(e){const t=tX(e);return function(e){return aU(e,"camunda:Connector")}(t)[0]}(t);return lq({element:t,id:"connectorId",label:i("Connector ID"),getValue:()=>o.get("camunda:connectorId"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:connectorId":e}})},debounce:r})}function tQ(e){const{element:t}=e;return function(e){return Ir(e,"camunda:Initiator")&&!Ir(e.parent,"bpmn:SubProcess")}(t)?[{id:"initiator",component:nQ,isEdited:cq}]:[]}function nQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"initiator",label:i("Initiator"),getValue:()=>o.get("camunda:initiator"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:initiator":e}})},debounce:r})}function iQ(e){const{element:t}=e;if(!function(e){const t=CF(e);if(t)return Lr(e,["bpmn:IntermediateThrowEvent","bpmn:EndEvent"]);return Ir(e,"bpmn:CallActivity")}(t))return[];const n=[{id:"inMapping-propagation",component:rQ,isEdited:WL}];return aQ(t)&&n.push({id:"inMapping-propagation-local",component:oQ,isEdited:WL}),n}function rQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("bpmnFactory");return UL({id:"inMapping-propagation",label:ez("translate")("Propagate all variables"),getValue:()=>aQ(t),setValue:e=>{e?function(){const e=CF(t)||qr(t),r=GF("camunda:In",{variables:"all"},null,i);lU(t,e,r,i,n)}():function(){const e=CF(t)||qr(t),i=sQ(t);cU(t,e,i,n)}()}})}function oQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=sQ(t)[0];return UL({element:t,id:"inMapping-propagation-local",label:i("Local"),getValue:()=>r.get("camunda:local"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{local:e}})}})}function sQ(e){const t=function(e){const t=qr(e);return aU(CF(t)||t,"camunda:In")}(e);return v(t,(function(e){const t=e.get("variables");return t&&"all"===t}))}function aQ(e){return!!sQ(e).length}const lQ={source:void 0,sourceExpression:void 0};function cQ(e){const{idPrefix:t,mapping:n}=e,i=fQ(n),r=[];return r.push({id:t+"-type",component:pQ,idPrefix:t,mapping:n}),"source"===i&&r.push({id:t+"-source",component:uQ,idPrefix:t,mapping:n}),"sourceExpression"===i&&r.push({id:t+"-sourceExpression",component:dQ,idPrefix:t,mapping:n}),r.push({id:t+"-target",component:hQ,idPrefix:t,mapping:n}),r.push({id:t+"-local",component:mQ,idPrefix:t,mapping:n}),r}function pQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate");return YL({element:i,id:t+"-type",label:o("Type"),getValue:e=>fQ(e),setValue:e=>{const t={...lQ,[e]:""};r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:t})},getOptions:()=>[{label:o("Source"),value:"source"},{label:o("Source expression"),value:"sourceExpression"}]})}function uQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-source",label:o("Source"),getValue:e=>e.get("camunda:source"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{source:e}})},debounce:s})}function dQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-sourceExpression",label:o("Source expression"),getValue:e=>e.get("camunda:sourceExpression"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{sourceExpression:e}})},debounce:s})}function hQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-target",label:o("Target"),getValue:e=>e.get("camunda:target"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{target:e}})},debounce:s})}function mQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate");return UL({element:n,id:t+"-local",label:o("Local"),getValue:()=>i.get("camunda:local"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{local:e}})}})}function fQ(e){let t="";return void 0!==e.source?t="source":void 0!==e.sourceExpression&&(t="sourceExpression"),t}function gQ({element:e,injector:t}){if(!function(e){const t=CF(e);if(t)return Lr(e,["bpmn:IntermediateThrowEvent","bpmn:EndEvent"]);return Ir(e,"bpmn:CallActivity")}(e))return null;const n=function(e){const t=qr(e),n=CF(t);return v(aU(n||t,"camunda:In"),(function(e){return!(e.businessKey||e.variables&&"all"===e.variables)}))}(e)||[],i=t.get("bpmnFactory"),r=t.get("commandStack"),o=n.map(((t,n)=>{const i=e.id+"-inMapping-"+n;return{id:i,label:t.get("target")||"",entries:cQ({idPrefix:i,element:e,mapping:t}),autoFocusEntry:i+"-target",remove:yQ({commandStack:r,element:e,mapping:t})}}));return{items:o,add:vQ({bpmnFactory:i,commandStack:r,element:e})}}function yQ({commandStack:e,element:t,mapping:n}){return function(i){i.stopPropagation();const r=CF(t)||qr(t);cU(t,r,n,e)}}function vQ({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=CF(n)||qr(n),o=GF("camunda:In",{source:""},null,e);lU(n,r,o,e,t)}}function bQ(e){const{element:t,injector:n}=e;if(!function(e){return RW(e)}(t))return null;const i=AW(t)||[],r=n.get("bpmnFactory"),o=n.get("commandStack"),s=i.map(((e,n)=>{const i=t.id+"-inputParameter-"+n;return{id:i,label:e.get("name")||"",entries:XW({idPrefix:i,element:t,parameter:e}),autoFocusEntry:i+"-name",remove:xQ({element:t,commandStack:o,parameter:e})}}));return{items:s,add:function(e){e.stopPropagation(),o.execute("properties-panel.multi-command-executor",BW(t,"camunda:InputParameter",r))},shouldSort:!1}}function xQ(e){const{commandStack:t,element:n,parameter:i}=e;return function(e){e.stopPropagation();const r=TW(n);r&&t.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{inputParameters:x(r.get("inputParameters"),i)}})}}function wQ(e){const{element:t}=e,n=qr(t),i=[];return(Ir(t,"camunda:AsyncCapable")&&OQ(n)||PQ(t))&&i.push({id:"retryTimeCycle",component:_Q,isEdited:cq}),(Ir(t,"camunda:JobPriorized")&&OQ(n)||Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")||PQ(t))&&i.push({id:"jobPriority",component:EQ,isEdited:cq}),i}function EQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=Ir(t,"bpmn:Participant")?qr(t).get("processRef"):qr(t);return lq({element:t,id:"jobPriority",label:i("Priority"),getValue:()=>o.get("camunda:jobPriority"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:jobPriority":e}})},debounce:r})}function _Q(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=ez("debounceInput"),s=qr(t);return lq({element:t,id:"retryTimeCycle",label:r("Retry time cycle"),getValue:()=>{const e=aU(s,"camunda:FailedJobRetryTimeCycle")[0];return e&&e.body},setValue:e=>{const r=[];let o=s.get("extensionElements");o||(o=GF("bpmn:ExtensionElements",{values:[]},s,n),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{extensionElements:o}}}));let a=aU(s,"camunda:FailedJobRetryTimeCycle")[0];a||(a=GF("camunda:FailedJobRetryTimeCycle",{},o,n),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{values:[...o.get("values"),a]}}})),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{body:e}}}),i.execute("properties-panel.multi-command-executor",r)},debounce:o})}function OQ(e){return function(e){return!!e.get("camunda:asyncAfter")}(e)||function(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}(e)}function PQ(e){return Ir(e,"bpmn:Event")&&EF(e)}function kQ(e){const{element:t}=e,n=NQ(t);let i=e.entries||[];return function(e){const t=NQ(e);return!!t&&Ir(t,"camunda:Collectable")}(t)?(i.push({id:"collection",component:SQ,isEdited:cq},{id:"elementVariable",component:CQ,isEdited:cq},{id:"multiInstanceAsynchronousBefore",component:TQ,isEdited:WL},{id:"multiInstanceAsynchronousAfter",component:AQ,isEdited:WL}),($Q(r=n)||BQ(r))&&i.push({id:"multiInstanceExclusive",component:MQ,isEdited:jQ},{id:"multiInstanceRetryTimeCycle",component:RQ,isEdited:cq}),i):i;var r}function SQ(e){const{element:t}=e,n=ez("debounceInput"),i=ez("commandStack"),r=ez("translate"),o=NQ(t);return lq({element:t,id:"collection",label:r("Collection"),getValue:()=>function(e){return DQ(e,"camunda:collection")}(t),setValue:e=>i.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:collection":e}}),debounce:n})}function CQ(e){const{element:t}=e,n=ez("debounceInput"),i=ez("commandStack"),r=ez("translate"),o=NQ(t);return lq({element:t,id:"elementVariable",label:r("Element variable"),getValue:()=>function(e){return DQ(e,"camunda:elementVariable")}(t),setValue:e=>i.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:elementVariable":e}}),debounce:n})}function TQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=NQ(t);return UL({element:t,id:"multiInstanceAsynchronousBefore",label:i("Asynchronous before"),getValue:()=>BQ(r),setValue:e=>{const i={"camunda:asyncBefore":e,"camunda:async":void 0};n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:i})}})}function AQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=NQ(t);return UL({element:t,id:"multiInstanceAsynchronousAfter",label:i("Asynchronous after"),getValue:()=>$Q(r),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:asyncAfter":e}})}})}function MQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=NQ(t);return UL({element:t,id:"multiInstanceExclusive",label:i("Exclusive"),getValue:()=>!!r.get("camunda:exclusive"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:exclusive":e}})}})}function RQ(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=ez("debounceInput"),s=NQ(t);return lq({element:t,id:"multiInstanceRetryTimeCycle",label:r("Retry time cycle"),getValue:()=>{const e=aU(s,"camunda:FailedJobRetryTimeCycle")[0];return e&&e.body},setValue:e=>{const r=[];let o=s.get("extensionElements");o||(o=GF("bpmn:ExtensionElements",{values:[]},s,n),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{extensionElements:o}}}));let a=aU(s,"camunda:FailedJobRetryTimeCycle")[0];a||(a=GF("camunda:FailedJobRetryTimeCycle",{},o,n),r.push({cmd:"element.updateModdleProperties",context:{element:s,moddleElement:o,properties:{values:[...o.get("values"),a]}}})),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{body:e}}}),i.execute("properties-panel.multi-command-executor",r)},debounce:o})}function DQ(e,t){var n=NQ(e);return n&&n.get(t)}function NQ(e){return qr(e).loopCharacteristics}function BQ(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}function $Q(e){return!!e.get("camunda:asyncAfter")}function jQ(e){return e&&!e.checked}function IQ(e){const{element:t}=e;if(!function(e){return Ir(e,"bpmn:CallActivity")}(t))return[];const n=[{id:"outMapping-propagation",component:LQ,isEdited:WL}];return VQ(t)&&n.push({id:"outMapping-propagation-local",component:qQ,isEdited:WL}),n}function LQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("bpmnFactory");return UL({id:"outMapping-propagation",label:ez("translate")("Propagate all variables"),getValue:()=>VQ(t),setValue:e=>{e?function(){const e=qr(t),r=GF("camunda:Out",{variables:"all"},null,i);lU(t,e,r,i,n)}():function(){const e=qr(t),i=zQ(t);cU(t,e,i,n)}()}})}function qQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=zQ(t)[0];return UL({element:t,id:"outMapping-propagation-local",label:i("Local"),getValue:()=>r.get("camunda:local"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{local:e}})}})}function zQ(e){const t=function(e){return aU(qr(e),"camunda:Out")}(e);return v(t,(function(e){const t=e.get("variables");return t&&"all"===t}))}function VQ(e){return!!zQ(e).length}function FQ({element:e,injector:t}){if(!function(e){return Ir(e,"bpmn:CallActivity")}(e))return null;const n=function(e){const t=qr(e);return v(aU(t,"camunda:Out"),(function(e){return!(e.businessKey||e.variables&&"all"===e.variables)}))}(e)||[],i=t.get("bpmnFactory"),r=t.get("commandStack"),o=n.map(((t,n)=>{const i=e.id+"-outMapping-"+n;return{id:i,label:t.get("target")||"",entries:cQ({idPrefix:i,element:e,mapping:t}),autoFocusEntry:i+"-target",remove:HQ({commandStack:r,element:e,mapping:t})}}));return{items:o,add:UQ({bpmnFactory:i,commandStack:r,element:e})}}function HQ({commandStack:e,element:t,mapping:n}){return function(i){i.stopPropagation();const r=qr(t);cU(t,r,n,e)}}function UQ({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=qr(n),o=GF("camunda:Out",{source:""},null,e);lU(n,r,o,e,t)}}function WQ({element:e,injector:t}){if(!function(e){const t=qr(e);return RW(e)&&!Ir(t,"bpmn:EndEvent")&&!t.loopCharacteristics}(e))return null;const n=MW(e)||[],i=t.get("bpmnFactory"),r=t.get("commandStack"),o=n.map(((t,n)=>{const i=e.id+"-outputParameter-"+n;return{id:i,label:t.get("name")||"",entries:XW({idPrefix:i,element:e,parameter:t}),autoFocusEntry:i+"-name",remove:XQ({commandStack:r,element:e,parameter:t})}}));return{items:o,add:GQ({bpmnFactory:i,commandStack:r,element:e}),shouldSort:!1}}function XQ({commandStack:e,element:t,parameter:n}){return function(i){i.stopPropagation();const r=TW(t);r&&e.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{outputParameters:x(r.get("outputParameters"),n)}})}}function GQ({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation(),t.execute("properties-panel.multi-command-executor",BW(n,"camunda:OutputParameter",e))}}function QQ(e){const{element:t,listener:n,idPrefix:i}=e;let{timerEventDefinition:r}=e;if(!r){r=FH(qr(t))}const o=VH(r);if(!zH(t)&&!function(e){return e&&Ir(e,"camunda:TaskListener")&&FH(e)}(n))return[];const s=[];return s.push({id:JQ(i,"timerEventDefinitionType"),component:KQ,isEdited:ZL,timerEventDefinition:r,timerEventDefinitionType:o}),o&&s.push({id:JQ(i,"timerEventDefinitionValue"),component:YQ,isEdited:cq,timerEventDefinition:r,timerEventDefinitionType:o}),s}function KQ(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:i}=e,r=ez("commandStack"),o=ez("bpmnFactory"),s=ez("translate");return YL({element:t,id:"timerEventDefinitionType",label:s("Type"),getValue:()=>i||"",setValue:e=>{if(e===i)return;const s=o.create("bpmn:FormalExpression",{body:void 0});s.$parent=n;const a={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(a[e]=s),r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:a})},getOptions:e=>[{value:"",label:s("<none>")},{value:"timeDate",label:s("Date")},{value:"timeDuration",label:s("Duration")},{value:"timeCycle",label:s("Cycle")}]})}function YQ(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=n.get(i);return lq({element:t,id:"timerEventDefinitionValue",label:o("Value"),getValue:()=>a&&a.get("body"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{body:e}})},debounce:s,tooltip:ZQ(i,o)})}function ZQ(e,t){switch(e){case"timeDate":return LE("div",{children:[LE("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),LE("li",{children:[LE("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-date",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeCycle":return LE("div",{children:[LE("p",{children:t("A cycle defined as ISO 8601 repeating intervals format, or a cron expression.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),LE("li",{children:[LE("code",{children:"R/P1D"})," - ",t("every day, infinitely")]}),LE("li",{children:[LE("code",{children:"0 0 9-17 * * MON-FRI"})," - ",t("every hour on the hour from 9-5 p.m. UTC Monday-Friday")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-cycle",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeDuration":return LE("div",{children:[LE("p",{children:t("A time duration defined as ISO 8601 durations format.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"PT15S"})," - ",t("15 seconds")]}),LE("li",{children:[LE("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),LE("li",{children:[LE("code",{children:"P14D"})," - ",t("14 days")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-duration",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]})}}function JQ(e,t){return e?e+t:t}const eK=["bpmn:Activity","bpmn:Event","bpmn:Gateway","bpmn:SequenceFlow","bpmn:Process","bpmn:Participant"],tK={...{script:void 0,resource:void 0,scriptFormat:void 0},...{class:void 0},...{expression:void 0},...{delegateExpression:void 0}},nK={eventDefinitions:void 0,event:void 0},iK={class:"Java class",expression:"Expression",delegateExpression:"Delegate expression",script:"Script"},rK={start:"Start",end:"End",take:"Take",create:"Create",assignment:"Assignment",complete:"Complete",delete:"Delete",update:"Update",timeout:"Timeout"};function oK({element:e,injector:t}){if(!Lr(e,eK))return;const n=t.get("bpmnFactory"),i=t.get("commandStack");if(Ir(e,"bpmn:Participant")&&!e.businessObject.processRef)return;return{items:aU(_K(e),"camunda:ExecutionListener").map(((t,n)=>{const r=`${e.id}-executionListener-${n}`;return{id:r,label:vK(t),entries:sK({idPrefix:r,element:e,listener:t}),remove:cK({element:e,listener:t,commandStack:i})}})),add:(r={bpmnFactory:n,commandStack:i,element:e},yK({...r,listenerGroup:"camunda:ExecutionListener"}))};var r}function sK(e){const{idPrefix:t,element:n,listener:i}=e;return[{id:`${t}-eventType`,component:pK,listener:i},{id:`${t}-listenerType`,component:dK,listener:i},...hK({idPrefix:t,element:n,listener:i}),{id:`${t}-fields`,component:gK,listener:i}]}function aK({element:e,injector:t}){if(!Ir(e,"bpmn:UserTask"))return;const n=t.get("bpmnFactory"),i=t.get("commandStack");return{items:aU(_K(e),"camunda:TaskListener").map(((t,n)=>{const r=`${e.id}-taskListener-${n}`;return{id:r,label:vK(t),entries:lK({idPrefix:r,element:e,listener:t}),remove:cK({element:e,listener:t,commandStack:i})}})),add:(r={bpmnFactory:n,commandStack:i,element:e},yK({...r,listenerGroup:"camunda:TaskListener"}))};var r}function lK(e){const{idPrefix:t,element:n,listener:i}=e;return[{id:`${t}-eventType`,component:pK,listener:i},{id:`${t}-listenerId`,component:uK,listener:i},{id:`${t}-listenerType`,component:dK,listener:i},...hK({idPrefix:t,element:n,listener:i}),...mK({idPrefix:t,element:n,listener:i}),{id:`${t}-fields`,component:gK,listener:i}]}function cK({element:e,listener:t,commandStack:n}){return function(i){i.stopPropagation(),cU(e,_K(e),t,n)}}function pK({id:e,element:t,listener:n}){const i=ez("translate"),r=ez("bpmnFactory"),o=ez("commandStack");return LE(YL,{id:e,label:i("Event type"),getValue:function(){return n.get("event")},setValue:function(e){const i=function(e,t){if("timeout"===e)return{...nK,eventDefinitions:[t.create("bpmn:TimerEventDefinition")],event:e};return{...nK,event:e}}(e,r);o.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:i})},getOptions:function(){return Ir(n,"camunda:TaskListener")?[{value:"create",label:i("create")},{value:"assignment",label:i("assignment")},{value:"complete",label:i("complete")},{value:"delete",label:i("delete")},{value:"update",label:i("update")},{value:"timeout",label:i("timeout")}]:Ir(t,"bpmn:SequenceFlow")?[{value:"take",label:i("take")}]:[{value:"start",label:i("start")},{value:"end",label:i("end")}]}})}function uK({id:e,element:t,listener:n}){const i=ez("translate"),r=ez("debounceInput"),o=ez("commandStack");return lq({element:t,id:e,label:i("Listener ID"),debounce:r,isEdited:cq,setValue:e=>{o.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:id":e}})},getValue:()=>n.get("camunda:id")})}function dK({id:e,element:t,listener:n}){const i=ez("modeling"),r=ez("translate"),o=ez("bpmnFactory");return LE(YL,{id:e,label:r("Listener type"),getValue:function(){return bK(n)},setValue:function(e){const r=function(e,t){switch(e){case"class":return{...tK,class:""};case"expression":return{...tK,expression:""};case"delegateExpression":return{...tK,delegateExpression:""};case"script":return{...tK,script:t.create("camunda:Script")}}}(e,o);i.updateModdleProperties(t,n,r)},getOptions:function(){return function(e){return Object.entries(iK).map((([t,n])=>({value:t,label:e(n)})))}(r)}})}function hK(e){const{idPrefix:t,element:n,listener:i}=e,r=bK(i);return"class"===r?[{id:wK(t,"javaClass"),component:QG,businessObject:i}]:"expression"===r?[{id:wK(t,"expression"),component:KG,businessObject:i}]:"delegateExpression"===r?[{id:wK(t,"delegateExpression"),component:ZG,businessObject:i}]:"script"===r?xW({element:n,script:i.get("script"),prefix:t}):[]}function mK(e){const{idPrefix:t,element:n,listener:i}=e;return"timeout"===i.get("event")?QQ({element:n,listener:i,timerEventDefinition:EF(i),idPrefix:t}):[]}function fK(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=`${n}-field-${i}`;return LE(jL,{id:s,element:t,entries:MX({element:t,field:r,idPrefix:s}),label:r.get("name")||"<empty>",open:o})}function gK(e){const{id:t,element:n,listener:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=i.get("fields");return LE(GL,{id:t,element:n,label:s("Field injection"),items:a,component:fK,onAdd:function(){const e=GF("camunda:Field",{},i,r);o.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{fields:[...i.get("fields"),e]}})},onRemove:function(e){o.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{fields:x(i.get("fields"),e)}})},compareFn:EK,autoFocusEntry:!0})}function yK({bpmnFactory:e,commandStack:t,element:n,listenerGroup:i}){return function(r){r.stopPropagation();const o=e.create(i,{event:xK(n,i),class:""}),s=_K(n);lU(n,s,o,e,t)}}function vK(e,t=(e=>e)){const n=e.get("event"),i=bK(e);return`${t(rK[n])}: ${t(iK[i])}`}function bK(e){return nX(e)}function xK(e,t){return"camunda:TaskListener"===t?"create":Ir(e,"bpmn:SequenceFlow")?"take":"start"}function wK(e,t){return`${e}-${t}`}function EK(e,t){const[n="",i=""]=[e.name,t.name];return n===i?0:n>i?1:-1}function _K(e){const t=qr(e);return t.get("processRef")||t}function OK(e){const{element:t}=e,[n,r]=Uw([]);if(Xw((async()=>{const e=function(e){const t=qr(e);if(Ir(t,"bpmn:Participant"))return t.processRef;if(Ir(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!Ir(n,"bpmn:Process");)n=n.$parent;return n}(qr(t)),n=function(e){const t=qr(e);if(Ir(e,"bpmn:Participant"))return t.processRef.id;return t.id}(t),i=function(e){return b(e,(function(e){const t=O(e.origin,(function(e){return e.name||e.id}));e.origin=t,e.scope=e.scope.name||e.scope.id})),e}(function(e){return M(e,(function(e){return e.name}))}(await Zq(n,e)));r(i)}),[t]),!n.length)return null;const o=function(e){return C(e,"scope")}(n),s=P(o).length>1;let a=[];if(s){const e=O(O(l=P(o),(function(e,t){return l[l.length-1-t]})),(e=>o[e]));a=i(e)}else a=n;var l;const c=a.map(((e,n)=>{const i=t.id+"-variable-"+n;return{id:i,label:e.name,entries:[...kK({idPrefix:i,multiScope:s,variable:e})]}}));return LE(qL,{...e,items:c,shouldSort:!1})}function PK(e){const{element:t}=e;return function(e){const t=qr(e);return Lr(e,["bpmn:Process","bpmn:SubProcess"])||Ir(e,"bpmn:Participant")&&t.get("processRef")}(t)?{component:OK,shouldSort:!1}:null}function kK(e){const{idPrefix:t,multiScope:n,variable:i}=e;let r=[];return n&&r.push({id:t+"-scope",component:SK,idPrefix:t,variable:i}),r.push({id:t+"-createdIn",component:CK,idPrefix:t,variable:i}),r}function SK(e){const{idPrefix:t,variable:n}=e,i=t+"-scope";return LE("div",{"data-entry-id":i,class:"bio-properties-panel-entry",children:[LE("b",{style:"font-weight: bold",class:"bio-properties-panel-label",children:ez("translate")("Scope")}),LE("label",{id:TK(i),class:"bio-properties-panel-label",children:n.scope})]})}function CK(e){const{idPrefix:t,variable:n}=e,i=ez("translate"),r=t+"-createdIn",o=n.origin.join(", ");return LE("div",{"data-entry-id":r,class:"bio-properties-panel-entry",children:[LE("b",{style:"font-weight: bold",class:"bio-properties-panel-label",children:i("Created in")}),LE("label",{id:TK(r),class:"bio-properties-panel-label",children:o})]})}function TK(e){return`bio-properties-panel-${e}`}function AK(e){const{element:t}=e;if(!Ir(t,"bpmn:ScriptTask"))return[];const n=[...xW({element:t})];return n.push({id:"scriptResultVariable",component:MK,isEdited:cq}),n}function MK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"scriptResultVariable",label:i("Result variable"),getValue:()=>o.get("camunda:resultVariable"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:resultVariable":e}})},debounce:r})}function RK(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")?[{id:"isStartableInTasklist",component:DK,isEdited:e=>e&&!e.checked}]:[]}function DK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=function(e){return Ir(e,"bpmn:Process")?qr(e):qr(e).get("processRef")}(t);return UL({element:t,id:"isStartableInTasklist",label:i("Startable"),getValue:()=>r.get("camunda:isStartableInTasklist"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:isStartableInTasklist":e}})}})}function NK(e){const{element:t}=e;return Ir(t,"camunda:Assignable")?[{id:"assignee",component:BK,isEdited:cq},{id:"candidateGroups",component:jK,isEdited:cq},{id:"candidateUsers",component:$K,isEdited:cq},{id:"dueDate",component:IK,isEdited:cq},{id:"followUpDate",component:LK,isEdited:cq},{id:"priority",component:qK,isEdited:cq}]:[]}function BK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"assignee",label:i("Assignee"),getValue:()=>o.get("camunda:assignee"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:assignee":e}})},debounce:r})}function $K(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"candidateUsers",label:i("Candidate users"),getValue:()=>o.get("camunda:candidateUsers"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:candidateUsers":e}})},debounce:r})}function jK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"candidateGroups",label:i("Candidate groups"),getValue:()=>o.get("camunda:candidateGroups"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:candidateGroups":e}})},debounce:r})}function IK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"dueDate",label:i("Due date"),description:i("The due date as an EL expression (e.g. ${someDate}) or an ISO date (e.g. 2015-06-26T09:54:00)."),getValue:()=>o.get("camunda:dueDate"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:dueDate":e}})},debounce:r})}function LK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"followUpDate",label:i("Follow up date"),description:i("The follow up date as an EL expression (e.g. ${someDate}) or an ISO date (e.g. 2015-06-26T09:54:00)."),getValue:()=>o.get("camunda:followUpDate"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:followUpDate":e}})},debounce:r})}function qK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"priority",label:i("Priority"),getValue:()=>o.get("camunda:priority"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:priority":e}})},debounce:r})}function zK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=function(e){return Ir(e,"bpmn:Process")?qr(e):qr(e).get("processRef")}(t);return lq({element:t,id:"versionTag",label:i("Version tag"),getValue:()=>o.get("camunda:versionTag")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:versionTag":e}})},debounce:r})}const VK=[function(e,t){const n=t.get("translate"),i={label:n("History cleanup"),id:"CamundaPlatform__HistoryCleanup",component:rL,entries:[...OG({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Tasklist"),id:"CamundaPlatform__Tasklist",component:rL,entries:[...RK({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Candidate starter"),id:"CamundaPlatform__CandidateStarter",component:rL,entries:[...eW({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Implementation"),id:"CamundaPlatform__Implementation",component:rL,entries:[...GG({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("External task"),id:"CamundaPlatform__ExternalTask",component:rL,entries:[...SX({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i=PK({element:e,injector:t});if(!i)return null;const r={label:n("Process variables"),id:"CamundaPlatform__ProcessVariables",...i};return r},function(e,t){const n=t.get("translate"),i={label:n("Errors"),id:"CamundaPlatform__Errors",component:qL,...wX({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("User assignment"),id:"CamundaPlatform__UserAssignment",component:rL,entries:[...NK({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Forms"),id:"CamundaPlatform__Form",component:rL,entries:[...bG({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Form fields"),id:"CamundaPlatform__FormData",component:qL,...cG({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Task listeners"),id:"CamundaPlatform__TaskListener",component:qL,...aK({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Start initiator"),id:"CamundaPlatform__StartInitiator",component:rL,entries:[...tQ({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Script"),id:"CamundaPlatform__Script",component:rL,entries:[...AK({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Condition"),id:"CamundaPlatform__Condition",component:rL,entries:[...rW({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Called element"),id:"CamundaPlatform__CallActivity",component:rL,entries:[...FU({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Asynchronous continuations"),id:"CamundaPlatform__AsynchronousContinuations",component:rL,entries:[...bU({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Job execution"),id:"CamundaPlatform__JobExecution",component:rL,entries:[...wQ({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("In mapping propagation"),id:"CamundaPlatform__InMappingPropagation",component:rL,entries:[...iQ({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("In mappings"),id:"CamundaPlatform__InMapping",component:qL,...gQ({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Inputs"),id:"CamundaPlatform__Input",component:qL,...bQ({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Connector inputs"),id:"CamundaPlatform__ConnectorInput",component:qL,...oX({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Out mapping propagation"),id:"CamundaPlatform__OutMappingPropagation",component:rL,entries:[...IQ({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Out mappings"),id:"CamundaPlatform__OutMapping",component:qL,...FQ({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Outputs"),id:"CamundaPlatform__Output",component:qL,...WQ({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Connector outputs"),id:"CamundaPlatform__ConnectorOutput",component:qL,...aX({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Execution listeners"),id:"CamundaPlatform__ExecutionListener",component:qL,...oK({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Extension properties"),id:"CamundaPlatform__ExtensionProperties",component:qL,...hU({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Field injections"),id:"CamundaPlatform__FieldInjection",component:qL,...$X({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Business key"),id:"CamundaPlatform__BusinessKey",component:rL,entries:[...kU({element:e})]};if(i.entries.length)return i;return null}];class FK{constructor(e,t){e.registerProvider(500,this),this._injector=t}getGroups(e){return t=>(function(e,t){const n=HK(e,"general");if(!n)return;const{entries:i}=n,r=y(i,(e=>"isExecutable"===e.id)),o=r>=0?r:i.length;i.splice(o,0,...function(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")?[{id:"versionTag",component:zK,isEdited:cq}]:[]}({element:t}))}(t=t.concat(this._getGroups(e)),e),function(e,t){const n=HK(e,"error");if(!n)return;const{entries:i}=n;cX({element:t,entries:i})}(t,e),function(e,t){const n=HK(e,"escalation");if(!n)return;const{entries:i}=n;PX({element:t,entries:i})}(t,e),function(e,t){const n=HK(e,"multiInstance");if(!n)return;const{entries:i}=n;kQ({element:t,entries:i})}(t,e),function(e,t){const n=HK(e,"timer");if(!n)return;n.entries=[...QQ({element:t})]}(t,e),function(e){const t=UK(e,"documentation");if(t<0)return;(function(e,t,n){const i=UK(e,t);if(n<0||i<0)return;Bq(e,i,n)})(e,"CamundaPlatform__Implementation",t+1)}(t),t)}_getGroups(e){const t=VK.map((t=>t(e,this._injector)));return t.filter((e=>null!==e))}}function HK(e,t){return e.find((e=>e.id===t))}function UK(e,t){return y(e,(e=>e.id===t))}FK.$inject=["propertiesPanel","injector"];var WK={__init__:["camundaPlatformPropertiesProvider"],camundaPlatformPropertiesProvider:["type",FK]};function XK(e={}){xx.call(this,e)}e(XK,xx),XK.prototype.getModules=function(e={}){return[...xx.prototype.getModules.call(this,e),e.disableAdjustOrigin?Vx:Ux,e.disableGrid?{}:jx]},XK.prototype._extensionModules=[Dx,tw,vF,sU],XK.prototype._modules=[].concat(xx.prototype._modules,XK.prototype._extensionModules);const GK="*";class QK{constructor(e){e.on("moddleCopy.canCopyProperty",(e=>{const{parent:t,property:n}=e;return this.canCopyProperty(n,t)}))}canCopyProperty(e,t){return!(p(e)&&!function(e,t){var n=e.$type&&e.$model.getTypeDescriptor(e.$type),i=n&&n.meta&&n.meta.allowedIn;if(!i||function(e){return e.includes(GK)}(i))return!0;return _(i,(function(e){return KK(t,e)}))}(e,t))&&(!(Ir(e,"camunda:InputOutput")&&!this.canHostInputOutput(t))&&(!(Lr(e,["camunda:Connector","camunda:Field"])&&!this.canHostConnector(t))&&(!(Ir(e,"camunda:In")&&!this.canHostIn(t))&&void 0)))}canHostInputOutput(e){if(KK(e,"camunda:Connector"))return!0;const t=KK(e,"bpmn:FlowNode");return!!t&&(!Lr(t,["bpmn:StartEvent","bpmn:Gateway","bpmn:BoundaryEvent"])&&(!Ir(t,"bpmn:SubProcess")||!t.get("triggeredByEvent")))}canHostConnector(e){return!Ir(KK(e,"camunda:ServiceTaskLike"),"bpmn:MessageEventDefinition")||(KK(e,"bpmn:IntermediateThrowEvent")||KK(e,"bpmn:EndEvent"))}canHostIn(e){if(KK(e,"bpmn:CallActivity"))return!0;return!KK(e,"bpmn:SignalEventDefinition")||(KK(e,"bpmn:IntermediateThrowEvent")||KK(e,"bpmn:EndEvent"))}}function KK(e,t){return t?Ir(e,t)?e:e.$parent?KK(e.$parent,t):void 0:e.$parent}QK.$inject=["eventBus"];class YK extends ks{constructor(e,t,n,i){function r(e){return!!g(t.getDefinitions().get("rootElements"),R({id:e.get("id")}))}super(n),this.executed("shape.create",(e=>{const{shape:n}=e,i=qr(n);if(!eY(i))return;const o=tY(i,ZK(n)),s=t.getDefinitions().get("rootElements");e.addedRootElements=[],o.forEach((t=>{const{referencedElement:n}=t;n&&!r(n)&&(At(s,n),e.addedRootElements.push(n))}))}),!0),this.reverted("shape.create",(e=>{const{addedRootElements:n}=e;if(!n)return;const i=t.getDefinitions().get("rootElements");n.forEach((e=>{Tt(i,e)}))}),!0),n.on("copyPaste.copyElement",(function(e){const{descriptor:t,element:n}=e,i=qr(n);if(n.labelTarget||!eY(i))return;const r=tY(i,ZK(n));r&&(t.referencedRootElements=r)})),n.on("copyPaste.pasteElement",500,(t=>{const{descriptor:n}=t,{businessObject:o,referencedRootElements:s}=n;s&&(s.forEach((t=>{let{idx:n,referencedElement:s}=t;s&&(r(s)||(s=i.copyElement(s,e.create(s.$type))),function(e,t,n){const i=e.get("extensionElements").get("values")[n];i.set(JK(i),t)}(o,s,n))})),delete n.referencedRootElements)}))}}function ZK(e){if(Ir(e,"bpmn:ServiceTask"))return"camunda:ErrorEventDefinition"}function JK(e){if(Ir(e,"camunda:ErrorEventDefinition"))return"errorRef"}function eY(e){return Ir(e,"bpmn:ServiceTask")&&"external"===e.get("type")}function tY(e,t){const n=e.get("extensionElements");return n?n.get("values").filter((e=>Ir(e,t))).reduce(((t,n)=>{const i=n.get(JK(n));return i&&t.push({idx:nY(e,n),referencedElement:i}),t}),[]):[]}function nY(e,t){const n=e.get("extensionElements");return n?n.get("values").indexOf(t):-1}function iY(e,t=void 0){const n=qr(e).get("extensionElements");if(!n)return[];const i=n.get("values");return i&&i.length?t?i.filter((e=>Ir(e,t))):i:[]}function rY(e,t,n,i){c(n)||(n=[n]);const r=t.get("extensionElements"),o=r.get("values").filter((e=>!n.includes(e)));i.execute("element.updateModdleProperties",{element:e,moddleElement:r,properties:{values:o}})}YK.$inject=["bpmnFactory","bpmnjs","eventBus","moddleCopy"];class oY extends ks{constructor(e,t){super(t),this.postExecute(["element.updateProperties","element.updateModdleProperties"],5e3,(function(t){const{element:n,moddleElement:i,properties:r}=t,o=i||qr(n);if(Ir(n,"camunda:ExternalCapable")&&Ir(o,"camunda:ExternalCapable")&&"external"!==r["camunda:type"]){const t=iY(o,"camunda:ErrorEventDefinition");t.length&&rY(n,o,t,e)}}),!0)}}oY.$inject=["commandStack","eventBus"];class sY extends ks{constructor(e,t,n){super(e),this.postExecuted("shape.delete",250,(function(e){const{collaborationRoot:i,shape:r}=e,o=t.getRootElement();if(Ir(r,"bpmn:Participant")&&i&&!i.businessObject.get("participants").length&&Ir(o,"bpmn:Process")){const e=r.businessObject.get("processRef");if(!e)return;n.updateProperties(o,{isExecutable:e.get("isExecutable")})}}),!0)}}sY.$inject=["eventBus","canvas","modeling"];class aY extends ks{constructor(e,t){super(t),this.postExecute(["element.updateProperties","element.updateModdleProperties"],5e3,(function(t){const{element:n,moddleElement:i,properties:r={}}=t,o=r["camunda:asyncAfter"],s=r["camunda:asyncBefore"],a=i||qr(n),l=function(e){return iY(e,"camunda:FailedJobRetryTimeCycle")[0]}(n);!Ir(n,"camunda:AsyncCapable")||!Ir(a,"camunda:AsyncCapable")||!1!==o&&!1!==s||!l||function(e){return function(e,t){const n=qr(e),i=n.get("eventDefinitions");if(!i||!i.length)return;return i.find((e=>Ir(e,t)))}(e,"bpmn:TimerEventDefinition")}(n)||function(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}(a)||function(e){return!!e.get("camunda:asyncAfter")}(a)||rY(n,a,l,e)}),!0)}}aY.$inject=["commandStack","eventBus"];class lY extends ks{constructor(e,t){super(e),this.postExecuted(["shape.create","shape.move"],(e=>{const{shape:n,parent:i,newParent:r=i}=e,o=qr(n);Ir(n,"bpmn:StartEvent")&&a(o.get("camunda:initiator"))&&Ir(r||i,"bpmn:SubProcess")&&t.updateProperties(n,{"camunda:initiator":void 0})}),!0)}}lY.$inject=["eventBus","modeling"];class cY extends ks{constructor(e,t,n,i){super(t),this.postExecuted(["shape.create","shape.move"],(t=>{const{parent:r,newParent:o=r,shape:s}=t,a=qr(o),l=qr(s);if(Ir(s,"bpmn:StartEvent")&&(!Ir(o,"bpmn:SubProcess")||!a.get("triggeredByEvent"))){const t=l.get("eventDefinitions").slice(),r=t.reduce(((i,r,o)=>{if(Ir(r,"bpmn:ConditionalEventDefinition")){if(r.get("camunda:variableEvents")){const i=e.create("bpmn:ConditionalEventDefinition");return n.copyElement(r,i),i.$parent=r.$parent,i.variableEvents=void 0,t[o]=i,!0}return i}}),!1);r&&i.updateProperties(s,{eventDefinitions:t})}}),!0)}}cY.$inject=["bpmnFactory","eventBus","moddleCopy","modeling"];class pY extends ks{constructor(e){super(e),this.preExecute(["element.updateProperties","element.updateModdleProperties"],5e3,(function(e){const{element:t,moddleElement:n,properties:i={}}=e,r=n||qr(t),o=i["camunda:asyncAfter"],s=i["camunda:asyncBefore"];!Ir(t,"camunda:AsyncCapable")||!Ir(r,"camunda:AsyncCapable")||!1!==o&&!1!==s||function(e){return!!e.get("camunda:exclusive")}(r)||function(e){return!!e.get("camunda:asyncAfter")}(r)&&!1!==o||function(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}(r)&&!1!==s||!0===o||!0===s||(i["camunda:exclusive"]=!0)}),!0)}}pY.$inject=["eventBus"];class uY extends ks{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",250,(function(t){const{element:n,moddleElement:i}=t;Ir(i,"camunda:InputOutput")&&function(e){const t=function(e){return e.get("inputParameters")}(e),n=function(e){return e.get("outputParameters")}(e);return!t.length&&!n.length}(i)&&rY(n,qr(n),i,e)}),!0)}}uY.$inject=["commandStack","eventBus"];class dY extends ks{constructor(e){super(e),this.preExecute(["element.updateProperties","element.updateModdleProperties"],5e3,(function(e){const{element:t,moddleElement:n,properties:i}=e,r=n||qr(t);var o;Ir(t,"camunda:DmnCapable")&&Ir(r,"camunda:DmnCapable")&&f(i,"camunda:resultVariable")&&(null==(o=i["camunda:resultVariable"])||""===o)&&(i["camunda:mapDecisionResult"]=void 0)}),!0)}}dY.$inject=["eventBus"];let hY=class extends ks{constructor(e){super(e),this.preExecute(["element.updateProperties","element.updateModdleProperties"],(function(e){const{element:t,moddleElement:n,properties:i}=e,r=n||qr(t);f(i,"camunda:formKey")?Object.assign(i,{"camunda:formRef":void 0,"camunda:formRefBinding":void 0,"camunda:formRefVersion":void 0}):f(i,"camunda:formRef")&&(Object.assign(i,{"camunda:formKey":void 0}),s(i["camunda:formRef"])&&Object.assign(i,{"camunda:formRefBinding":void 0,"camunda:formRefVersion":void 0}),!f(i,"camunda:formRefBinding")&&s(r.get("camunda:formRefBinding"))&&Object.assign(i,{"camunda:formRefBinding":"latest"})),f(i,"camunda:formRefBinding")&&"version"!==i["camunda:formRefBinding"]&&Object.assign(i,{"camunda:formRefVersion":void 0})}),!0)}};hY.$inject=["eventBus"];class mY extends ks{constructor(e,t){super(e),this.preExecute("element.updateModdleProperties",(function(e){const{moddleElement:t,properties:n}=e;Ir(t,"camunda:FormField")&&("type"in n&&"enum"!==n.type||"camunda:type"in n&&"enum"!==n["camunda:type"])&&(n["camunda:values"]=void 0)}),!0),this.preExecute("element.updateModdleProperties",(function(e){const{element:n,moddleElement:i,properties:r}=e;if(!Ir(i,"camunda:FormField")||!f(r,"id")&&!f(r,"camunda:id"))return;const o=function(e){const t=qr(e),n=t.get("extensionElements");if(!n)return;const i=n.get("values");return i.find((e=>Ir(e,"camunda:FormData")))}(n);o.get("camunda:businessKey")&&function(e,t){return e.get("camunda:id")===t.get("camunda:businessKey")}(i,o)&&t.updateModdleProperties(n,o,{"camunda:businessKey":f(r,"id")?r.id:r["camunda:id"]})}),!0),this.postExecute("element.updateModdleProperties",(function(e){const{element:n,moddleElement:i,properties:r}=e;if(!Ir(i,"camunda:FormData")||!f(r,"fields"))return;const o=i.get("camunda:businessKey");if(!o)return;i.get("fields").find((e=>e.get("camunda:id")===o))||t.updateModdleProperties(n,i,{"camunda:businessKey":void 0})}),!0)}}mY.$inject=["eventBus","modeling"];var fY={__init__:["copyPasteBehavior","copyPasteRootElementBehavior","deleteErrorEventDefinitionBehavior","deleteParticipantBehaviour","deleteRetryTimeCycleBehavior","removeInitiatorBehaviour","removeVariableEventBehaviour","updateCamundaExclusiveBehavior","updateResultVariableBehavior","updateInputOutputBehavior","userTaskFormsBehavior","userTaskGeneratedFormsBehavior"],copyPasteBehavior:["type",QK],copyPasteRootElementBehavior:["type",YK],deleteErrorEventDefinitionBehavior:["type",oY],deleteParticipantBehaviour:["type",sY],deleteRetryTimeCycleBehavior:["type",aY],removeInitiatorBehaviour:["type",lY],removeVariableEventBehaviour:["type",cY],updateCamundaExclusiveBehavior:["type",pY],updateResultVariableBehavior:["type",dY],updateInputOutputBehavior:["type",uY],userTaskFormsBehavior:["type",hY],userTaskGeneratedFormsBehavior:["type",mY]};let gY;const yY=new Uint8Array(16);function vY(){if(!gY&&(gY="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!gY))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return gY(yY)}const bY=[];for(let e=0;e<256;++e)bY.push((e+256).toString(16).slice(1));var xY={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function wY(e,t,n){if(xY.randomUUID&&!t&&!e)return xY.randomUUID();const i=(e=e||{}).random||(e.rng||vY)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=i[e];return t}return function(e,t=0){return(bY[e[t+0]]+bY[e[t+1]]+bY[e[t+2]]+bY[e[t+3]]+"-"+bY[e[t+4]]+bY[e[t+5]]+"-"+bY[e[t+6]]+bY[e[t+7]]+"-"+bY[e[t+8]]+bY[e[t+9]]+"-"+bY[e[t+10]]+bY[e[t+11]]+bY[e[t+12]]+bY[e[t+13]]+bY[e[t+14]]+bY[e[t+15]]).toLowerCase()}(i)}var EY=function(e,t){for(var n=e.split("."),i=t.split("."),r=0;r<3;r++){var o=Number(n[r]),s=Number(i[r]);if(o>s)return 1;if(s>o)return-1;if(!isNaN(o)&&isNaN(s))return 1;if(isNaN(o)&&!isNaN(s))return-1}return 0},_Y=Lt(EY),OY={exports:{}},PY={exports:{}},kY=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,r,o;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=i;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;0!=r--;){var s=o[r];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n};!function(e){e.exports=kY}(PY),OY.exports=qY,OY.exports.default=qY;const SY={type:"object",allOf:[{required:["name","id","appliesTo","properties"],properties:{name:{$id:"#/name",type:"string",description:"The name of the element template."},id:{$id:"#/id",type:"string",description:"The identifier of the element template."},description:{$id:"#/description",type:"string",description:"The description of the element template."},version:{$id:"#/version",type:"integer",description:"Optional version of the template. If you add a version to a template it will be considered unique based on its ID and version. Two templates can have the same ID if their version is different."},isDefault:{$id:"#/isDefault",type:"boolean",description:"Indicates whether the element template is a default template."},deprecated:{$id:"#/deprecated",type:["boolean","object"],description:"Indicates whether the element template is deprecated.",properties:{message:{$id:"#/deprecated/message",type:"string",description:"Optional message to describe migration path."},documentationRef:{$id:"#/deprecated/documentationRef",type:"string",pattern:"^(https|http)://.*",description:"Optional link to migration documentation."}}},appliesTo:{$id:"#/appliesTo",type:"array",description:"List of BPMN types the template can be applied to.",default:[],items:{$id:"#/appliesTo/items",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:Task","bpmn:ServiceTask","bpmn:SequenceFlow","bpmn:Process","bpmn:StartEvent","bpmn:Gateway"]}],errorMessage:{pattern:'invalid item for "appliesTo", should contain namespaced property, example: "bpmn:Task"'}}},elementType:{$id:"#/elementType",type:"object",description:"The BPMN type the element will be transformed into.",default:{},required:["value"],properties:{value:{$id:"#/elementType/value",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:ServiceTask","bpmn:UserTask","bpmn:StartEvent","bpmn:ExclusiveGateway","bpmn:ParallelGateway"]}],errorMessage:{pattern:'invalid item for "elementType", should contain namespaced property, example: "bpmn:Task"'}}},errorMessage:{required:{value:"missing elementType value"}}},metadata:{$id:"#/metadata",type:"object",description:"Some custom properties for further configuration.",default:{}},entriesVisible:{$id:"#/entriesVisible",type:"boolean",description:"Select whether non-template entries are visible in the properties panel."},groups:{$id:"#/groups",type:"array",description:"Custom fields can be ordered together via groups.",allOf:[{examples:[[{id:"group-1",label:"My Group"}]]}],items:{$id:"#/groups/group",type:"object",default:{},required:["id","label"],properties:{id:{$id:"#/groups/group/id",type:"string",description:"The id of the custom group"},label:{$id:"#/groups/group/label",type:"string",description:"The label of the custom group"}},errorMessage:{required:{id:'missing id for group "${0#}"',label:'missing label for group "${0#}"'}}}},documentationRef:{$id:"#/documentationRef",type:"string",pattern:"^(https|http)://.*",errorMessage:{pattern:'Malformed documentation URL, must match "^(https|http)://.*"'}}},errorMessage:{required:{name:"missing template name",id:"missing template id",appliesTo:"missing appliesTo=[]",properties:"missing properties=[]"}}}],properties:{properties:{$ref:"#/definitions/properties",$id:"#/properties"},scopes:{$id:"#/scopes",type:"array",description:"Special scoped bindings that allow you to configure nested elements.",allOf:[{examples:[[{type:"bpmn:Error",id:"Error_1",properties:[{value:"error-code",binding:{type:"property",name:"errorCode"}},{value:"error-message",binding:{type:"property",name:"camunda:errorMessage"}},{value:"error-name",binding:{type:"property",name:"name"}}]}]]}],items:{$id:"#/scopes/item",type:"object",default:{},properties:{type:{$id:"#scopes/item/type",type:"string",description:"The type of a scope.",enum:["camunda:Connector","bpmn:Error"],errorMessage:"invalid scope type ${0}; must be any of { camunda:Connector, bpmn:Error }"},properties:{$id:"#/scopes/properties",description:"List of properties of a scope.",default:[],allOf:[{$ref:"#/definitions/properties/allOf/0"},{$ref:"#/definitions/properties/allOf/1"}]}},required:["type","properties"],allOf:[{if:{properties:{type:{enum:["bpmn:Error"]}},required:["type"]},then:{required:["id"],errorMessage:"invalid scope ${0/type}, missing id"}}],errorMessage:{required:{type:"invalid scope, missing type",properties:"invalid scope ${0/type}, missing properties=[]"}}}}}},CY={$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{const:"camunda:executionListener"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["Hidden"],errorMessage:'invalid property type ${1/type} for binding type "camunda:executionListener"; must be "Hidden"'},binding:{properties:{implementationType:{enum:["class","delegateExpression","expression","script"]}},oneOf:[{not:{properties:{implementationType:{const:"script"}}}},{required:["scriptFormat"]},{allOf:[{not:{required:["implementationType"]}},{not:{required:["scriptFormat"]}}]}]}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:property","camunda:outputParameter","camunda:in","camunda:in:businessKey","camunda:out","camunda:errorEventDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:inputParameter","camunda:field"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Camunda extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","camunda:property","camunda:inputParameter","camunda:field"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"camunda:outputParameter"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"camunda:in"}},required:["type"]},then:{anyOf:[{required:["variables"]},{required:["target"]}],errorMessage:"property.binding ${0/type} requires variables, target, or both"}},{if:{properties:{type:{const:"camunda:out"}},required:["type"]},then:{oneOf:[{required:["variables"],not:{anyOf:[{required:["source"]},{required:["sourceExpression"]}]}},{required:["source"],not:{anyOf:[{required:["variables"]},{required:["sourceExpression"]}]}},{required:["sourceExpression"],not:{anyOf:[{required:["variables"]},{required:["source"]}]}},{required:["variables","sourceExpression"],not:{required:["source"]}},{required:["variables","source"],not:{required:["sourceExpression"]}}],errorMessage:"property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"}},{if:{properties:{type:{const:"camunda:errorEventDefinition"}},required:["type"]},then:{oneOf:[{required:["errorRef"]}],errorMessage:"property.binding ${0/type} requires errorRef"}},{examples:[{type:"property",name:"name"},{type:"camunda:property",name:"property"},{type:"camunda:inputParameter",name:"input"},{type:"camunda:outputParameter",source:"output"},{type:"camunda:in",target:"target"},{type:"camunda:in:businessKey"},{type:"camunda:out",source:"output"},{type:"camunda:executionListener",event:"start"},{type:"camunda:field",name:"field"},{type:"camunda:errorEventDefinition",errorRef:"error"},{type:"camunda:errorEventDefinition",errorRef:"error"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",enum:["property","camunda:property","camunda:inputParameter","camunda:outputParameter","camunda:in","camunda:out","camunda:in:businessKey","camunda:executionListener","camunda:field","camunda:errorEventDefinition"],description:"The type of a property binding.",errorMessage:"invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},event:{$id:"#/properties/property/binding/event",type:"string",description:"The event type of a property binding (camunda:executionListener)."},scriptFormat:{$id:"#/properties/property/binding/scriptFormat",type:"string",description:"The script format of a property binding (camunda:outputParameter, camunda:inputParameter)."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (camunda:outputParameter, camunda:out)."},target:{$id:"#/properties/property/binding/target",type:"string",description:"The target value of a property binding (camunda:in)."},expression:{$id:"#/properties/property/binding/expression",type:"boolean",description:"Indicates whether the control field value is an expression (camunda:in, camunda:field)."},variables:{$id:"#/properties/property/binding/variables",type:"string",enum:["all","local"],description:"The variable mapping of a property binding (camunda:in)."},sourceExpression:{$id:"#/properties/property/binding/sourceExpression",type:"string",description:"The string containing the expression for the source attribute (camunda:out)."}}}},errorMessage:{required:'missing binding for property "${0#}"'}}},TY=new RegExp("^(https|http)://.*","u"),AY=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),MY={required:"missingProperty",dependencies:"property",dependentRequired:"property"},RY={allOf:[{type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}}],properties:{id:{type:"string",description:"Unique identifier of the property."},value:{$id:"#/properties/property/value",type:["string","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."},condition:{$id:"#/condition",type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}}},oneOf:[{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},minItems:1}},required:["allMatch"]}]}}}},{$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{const:"camunda:executionListener"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["Hidden"],errorMessage:'invalid property type ${1/type} for binding type "camunda:executionListener"; must be "Hidden"'},binding:{properties:{implementationType:{enum:["class","delegateExpression","expression","script"]}},oneOf:[{not:{properties:{implementationType:{const:"script"}}}},{required:["scriptFormat"]},{allOf:[{not:{required:["implementationType"]}},{not:{required:["scriptFormat"]}}]}]}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:property","camunda:outputParameter","camunda:in","camunda:in:businessKey","camunda:out","camunda:errorEventDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:inputParameter","camunda:field"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Camunda extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","camunda:property","camunda:inputParameter","camunda:field"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"camunda:outputParameter"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"camunda:in"}},required:["type"]},then:{anyOf:[{required:["variables"]},{required:["target"]}],errorMessage:"property.binding ${0/type} requires variables, target, or both"}},{if:{properties:{type:{const:"camunda:out"}},required:["type"]},then:{oneOf:[{required:["variables"],not:{anyOf:[{required:["source"]},{required:["sourceExpression"]}]}},{required:["source"],not:{anyOf:[{required:["variables"]},{required:["sourceExpression"]}]}},{required:["sourceExpression"],not:{anyOf:[{required:["variables"]},{required:["source"]}]}},{required:["variables","sourceExpression"],not:{required:["source"]}},{required:["variables","source"],not:{required:["sourceExpression"]}}],errorMessage:"property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"}},{if:{properties:{type:{const:"camunda:errorEventDefinition"}},required:["type"]},then:{oneOf:[{required:["errorRef"]}],errorMessage:"property.binding ${0/type} requires errorRef"}},{examples:[{type:"property",name:"name"},{type:"camunda:property",name:"property"},{type:"camunda:inputParameter",name:"input"},{type:"camunda:outputParameter",source:"output"},{type:"camunda:in",target:"target"},{type:"camunda:in:businessKey"},{type:"camunda:out",source:"output"},{type:"camunda:executionListener",event:"start"},{type:"camunda:field",name:"field"},{type:"camunda:errorEventDefinition",errorRef:"error"},{type:"camunda:errorEventDefinition",errorRef:"error"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",enum:["property","camunda:property","camunda:inputParameter","camunda:outputParameter","camunda:in","camunda:out","camunda:in:businessKey","camunda:executionListener","camunda:field","camunda:errorEventDefinition"],description:"The type of a property binding.",errorMessage:"invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},event:{$id:"#/properties/property/binding/event",type:"string",description:"The event type of a property binding (camunda:executionListener)."},scriptFormat:{$id:"#/properties/property/binding/scriptFormat",type:"string",description:"The script format of a property binding (camunda:outputParameter, camunda:inputParameter)."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (camunda:outputParameter, camunda:out)."},target:{$id:"#/properties/property/binding/target",type:"string",description:"The target value of a property binding (camunda:in)."},expression:{$id:"#/properties/property/binding/expression",type:"boolean",description:"Indicates whether the control field value is an expression (camunda:in, camunda:field)."},variables:{$id:"#/properties/property/binding/variables",type:"string",enum:["all","local"],description:"The variable mapping of a property binding (camunda:in)."},sourceExpression:{$id:"#/properties/property/binding/sourceExpression",type:"string",description:"The string containing the expression for the source attribute (camunda:out)."}}}},errorMessage:{required:'missing binding for property "${0#}"'}}}]},DY={type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},NY=PY.exports;function BY(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const a=s;let l=!1,c=null;const p=s,u=s;let d=!1,h=null;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=m===s)&&(d=!0,h=0);const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((g=f===s)&&d)d=!1,h=[h,1];else{g&&(d=!0,h=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var g;(g=n===s)&&d?(d=!1,h=[h,2]):g&&(d=!0,h=2)}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:h},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(i=MY[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:r},message:e?e():DY.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}(b=p===s)&&(l=!0,c=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t,schemaPath:"#/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const r=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(v=c===s)&&(a=!0,l=0);const p=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((v=p===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var v;(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=MY[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():DY.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var b;if((b=y===s)&&l?(l=!1,c=[c,1]):b&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return BY.errors=o,0===s}function $Y(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const d=s;let h=!0;const m=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"Dropdown")){const e={};null===o?o=[e]:o.push(e),s++}var a=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/then/required",params:{missingProperty:"choices"},message:"should have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i&&(0!==n.dataPath.indexOf(t+"/"+i)||"/"!==n.dataPath[t+"/"+i.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}h=a=e===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={keyword:"type",dataPath:t+"/"+i+"/id",schemaPath:"#/allOf/0/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/value",schemaPath:"#/allOf/0/items/properties/value/type",params:{type:RY.allOf[0].items.properties.value.type},message:"should be string,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={keyword:"type",dataPath:t+"/"+i+"/description",schemaPath:"#/allOf/0/items/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={keyword:"type",dataPath:t+"/"+i+"/label",schemaPath:"#/allOf/0/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={keyword:"type",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/0/items/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={keyword:"type",dataPath:t+"/"+i+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(BY(n.condition,{dataPath:t+"/"+i+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:r})||(o=null===o?BY.errors:o.concat(BY.errors),s=o.length))}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(40))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const l={keyword:"errorMessage",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():RY.allOf[0].items.properties.choices.items.errorMessage[r]};null===o?o=[l]:o.push(l),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const r=s;let a=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}(l=p===s)&&(a=!0,c=0);const u=s;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}var l;if((l=u===s)&&a?(a=!1,c=[c,1]):l&&(a=!0,c=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={keyword:"type",dataPath:t+"/"+i+"/group",schemaPath:"#/allOf/0/items/properties/group/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const r=s;let a=!1,l=null;const d=s,h=s;let m=!1,f=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(m=!0,f=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&m)m=!1,f=[f,1];else{c&&(m=!0,f=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&m?(m=!1,f=[f,2]):c&&(m=!0,f=2)}if(m)s=h,null!==o&&(h?o.length=h:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:f},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=MY[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():DY.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(a=MY[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={keyword:"errorMessage",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:l},message:e?e():DY.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/allOf/0/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const r=s;let a=!0;const l=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"property")){const e={};null===o?o=[e]:o.push(e),s++}}var d=l===s;if(s=r,null!==o&&(r?o.length=r:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",params:{allowedValues:RY.allOf[1].items.allOf[0].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/0/then/properties/type")||"/"!==e.schemaPath[44]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}a=d=e===s}if(!a){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:executionListener")){const e={};null===o?o=[e]:o.push(e),s++}}var h=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),h){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.type){if("Hidden"!==n.type){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",params:{allowedValues:RY.allOf[1].items.allOf[1].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/type")||"/"!==n.dataPath[t+"/"+i+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n&&n.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}if(void 0!==n.binding){let e=n.binding;const r=s;let a=!1,l=null;const c=s,p=s,u=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.implementationType&&!NY(e.implementationType,"script")){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(m=c===s)&&(a=!0,l=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",params:{missingProperty:"scriptFormat"},message:"should have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((m=d===s)&&a)a=!1,l=[l,1];else{m&&(a=!0,l=1);const n=s,r=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);const p=s,u=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={};null===o?o=[e]:o.push(e),s++}var m;if(u===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(m=n===s)&&a?(a=!1,l=[l,2]):m&&(a=!0,l=2)}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.implementationType){let n=e.implementationType;if("class"!==n&&"delegateExpression"!==n&&"expression"!==n&&"script"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/implementationType",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",params:{allowedValues:RY.allOf[1].items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}p=h=e===s}if(!p){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const S=s;let C=!0;const T=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("camunda:property"!==t&&"camunda:outputParameter"!==t&&"camunda:in"!==t&&"camunda:in:businessKey"!==t&&"camunda:out"!==t&&"camunda:errorEventDefinition"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var f=T===s;if(s=S,null!==o&&(S?o.length=S:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/enum",params:{allowedValues:RY.allOf[1].items.allOf[2].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const r=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[44]||(r.push(e),e.emUsed=!0);if(r.length){const a={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/errorMessage",params:{errors:r},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}C=f=e===s}if(!C){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const A=s;let M=!0;const R=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("camunda:inputParameter"!==t&&"camunda:field"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var g=R===s;if(s=A,null!==o&&(A?o.length=A:o=null),g){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/enum",params:{allowedValues:RY.allOf[1].items.allOf[3].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const r=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[44]||(r.push(e),e.emUsed=!0);if(r.length){const a={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/errorMessage",params:{errors:r},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}M=g=e===s}if(!M){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.binding){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/required",params:{missingProperty:"binding"},message:"should have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const r=s;let a=!0;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("property"!==t&&"camunda:property"!==t&&"camunda:inputParameter"!==t&&"camunda:field"!==t){const e={};null===o?o=[e]:o.push(e),s++}}var y=l===s;if(s=r,null!==o&&(r?o.length=r:o=null),y){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/0/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}a=y=n===s}if(!a){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:outputParameter")){const e={};null===o?o=[e]:o.push(e),s++}var v=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),v){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/1/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}p=v=n===s}if(!p){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:in")){const e={};null===o?o=[e]:o.push(e),s++}var b=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),b){const n=s,r=s;let a=!1;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var x=l===s;if(a=a||x,!a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.target){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",params:{missingProperty:"target"},message:"should have required property 'target'"};null===o?o=[e]:o.push(e),s++}x=n===s;a=a||x}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"anyOf",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf",params:{},message:"should match some schema in anyOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/2/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires variables, target, or both"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}h=b=n===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const f=s;let g=!0;const S=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:out")){const e={};null===o?o=[e]:o.push(e),s++}var w=S===s;if(s=f,null!==o&&(f?o.length=f:o=null),w){const n=s,r=s;let a=!1,l=null;const c=s,p=s,u=s,d=s;let h=!1;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}var E=m===s;if(h=h||E,!h){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}E=t===s;h=h||E}if(h)s=d,null!==o&&(d?o.length=d:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(P=c===s)&&(a=!0,l=0);const f=s,y=s,v=s,b=s;let x=!1;const k=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={};null===o?o=[e]:o.push(e),s++}var _=k===s;if(x=x||_,!x){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}_=t===s;x=x||_}if(x)s=b,null!==o&&(b?o.length=b:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(v===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=y,null!==o&&(y?o.length=y:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((P=f===s)&&a)a=!1,l=[l,1];else{P&&(a=!0,l=1);const n=s,r=s,c=s,p=s;let u=!1;const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={};null===o?o=[e]:o.push(e),s++}var O=d===s;if(u=u||O,!u){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}O=t===s;u=u||O}if(u)s=p,null!==o&&(p?o.length=p:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",params:{missingProperty:"sourceExpression"},message:"should have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((P=n===s)&&a)a=!1,l=[l,2];else{P&&(a=!0,l=2);const n=s,r=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.sourceExpression){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",params:{missingProperty:"sourceExpression"},message:"should have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((P=n===s)&&a)a=!1,l=[l,3];else{P&&(a=!0,l=3);const n=s,r=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}var P;if(c===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.source){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(P=n===s)&&a?(a=!1,l=[l,4]):P&&(a=!0,l=4)}}}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/3/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}g=w=n===s}if(!g){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const C=s;let T=!0;const A=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:errorEventDefinition")){const e={};null===o?o=[e]:o.push(e),s++}var k=A===s;if(s=C,null!==o&&(C?o.length=C:o=null),k){const n=s,r=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.errorRef){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",params:{missingProperty:"errorRef"},message:"should have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(c===s&&(a=!0,l=0),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/4/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires errorRef"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}T=k=n===s}if(!T){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("property"!==n&&"camunda:property"!==n&&"camunda:inputParameter"!==n&&"camunda:outputParameter"!==n&&"camunda:in"!==n&&"camunda:out"!==n&&"camunda:in:businessKey"!==n&&"camunda:executionListener"!==n&&"camunda:field"!==n&&"camunda:errorEventDefinition"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",params:{allowedValues:RY.allOf[1].items.properties.binding.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/binding/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/binding/type")||"/"!==n.dataPath[t+"/"+i+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/properties/binding/properties/type")||"/"!==n.schemaPath[50]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",params:{errors:e},message:"invalid property.binding type "+JSON.stringify(n)+"; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={keyword:"type",dataPath:t+"/"+i+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.event&&"string"!=typeof e.event){const e={keyword:"type",dataPath:t+"/"+i+"/binding/event",schemaPath:"#/allOf/1/items/properties/binding/properties/event/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.scriptFormat&&"string"!=typeof e.scriptFormat){const e={keyword:"type",dataPath:t+"/"+i+"/binding/scriptFormat",schemaPath:"#/allOf/1/items/properties/binding/properties/scriptFormat/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={keyword:"type",dataPath:t+"/"+i+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.target&&"string"!=typeof e.target){const e={keyword:"type",dataPath:t+"/"+i+"/binding/target",schemaPath:"#/allOf/1/items/properties/binding/properties/target/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.expression&&"boolean"!=typeof e.expression){const e={keyword:"type",dataPath:t+"/"+i+"/binding/expression",schemaPath:"#/allOf/1/items/properties/binding/properties/expression/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.variables){let n=e.variables;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("all"!==n&&"local"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/enum",params:{allowedValues:RY.allOf[1].items.properties.binding.properties.variables.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.sourceExpression&&"string"!=typeof e.sourceExpression){const e={keyword:"type",dataPath:t+"/"+i+"/binding/sourceExpression",schemaPath:"#/allOf/1/items/properties/binding/properties/sourceExpression/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={required:function(){return'missing binding for property "'+JSON.stringify(i)+'"'}};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const a={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():RY.allOf[1].items.errorMessage[r]};null===o?o=[a]:o.push(a),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/allOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}return $Y.errors=o,0===s}const jY={type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}}],properties:{id:{type:"string",description:"Unique identifier of the property."},value:{$id:"#/properties/property/value",type:["string","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."},condition:{$id:"#/condition",type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}}},oneOf:[{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},minItems:1}},required:["allMatch"]}]}}}};function IY(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const d=s;let h=!0;const m=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"Dropdown")){const e={};null===o?o=[e]:o.push(e),s++}var a=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/items/allOf/0/then/required",params:{missingProperty:"choices"},message:"should have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i&&(0!==n.dataPath.indexOf(t+"/"+i)||"/"!==n.dataPath[t+"/"+i.length])||0!==n.schemaPath.indexOf("#/items/allOf/0/then")||"/"!==n.schemaPath[20]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/items/allOf/0/then/errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}h=a=e===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={keyword:"type",dataPath:t+"/"+i+"/id",schemaPath:"#/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/value",schemaPath:"#/items/properties/value/type",params:{type:jY.items.properties.value.type},message:"should be string,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={keyword:"type",dataPath:t+"/"+i+"/description",schemaPath:"#/items/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={keyword:"type",dataPath:t+"/"+i+"/label",schemaPath:"#/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={keyword:"type",dataPath:t+"/"+i+"/type",schemaPath:"#/items/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={keyword:"type",dataPath:t+"/"+i+"/editable",schemaPath:"#/items/properties/editable/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/name",schemaPath:"#/items/properties/choices/items/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/value",schemaPath:"#/items/properties/choices/items/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(BY(n.condition,{dataPath:t+"/"+i+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:r})||(o=null===o?BY.errors:o.concat(BY.errors),s=o.length))}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/items/properties/choices/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const l={keyword:"errorMessage",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/items/properties/choices/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():jY.items.properties.choices.items.errorMessage[r]};null===o?o=[l]:o.push(l),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices",schemaPath:"#/items/properties/choices/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/items/properties/constraints/properties/notEmpty/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/minLength",schemaPath:"#/items/properties/constraints/properties/minLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/maxLength",schemaPath:"#/items/properties/constraints/properties/maxLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const r=s;let a=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/value",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/message",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}(l=p===s)&&(a=!0,c=0);const u=s;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/1/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}var l;if((l=u===s)&&a?(a=!1,c=[c,1]):l&&(a=!0,c=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints",schemaPath:"#/items/properties/constraints/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={keyword:"type",dataPath:t+"/"+i+"/group",schemaPath:"#/items/properties/group/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/items/properties/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const r=s;let a=!1,l=null;const d=s,h=s;let m=!1,f=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(m=!0,f=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&m)m=!1,f=[f,1];else{c&&(m=!0,f=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&m?(m=!1,f=[f,2]):c&&(m=!0,f=2)}if(m)s=h,null!==o&&(h?o.length=h:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:f},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=MY[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():DY.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/items/properties/condition/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/items/properties/condition/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(a=MY[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={keyword:"errorMessage",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:l},message:e?e():DY.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/items/properties/condition/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/items/properties/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}return IY.errors=o,0===s}function LY(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"appliesTo"},message:"should have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"properties"},message:"should have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={keyword:"type",dataPath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={keyword:"type",dataPath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={keyword:"type",dataPath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.version){let n=e.version;if("number"!=typeof n||n%1||isNaN(n)){const e={keyword:"type",dataPath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",params:{type:"integer"},message:"should be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={keyword:"type",dataPath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.deprecated){let n=e.deprecated;if("boolean"!=typeof n&&(!n||"object"!=typeof n||Array.isArray(n))){const e={keyword:"type",dataPath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",params:{type:SY.allOf[0].properties.deprecated.type},message:"should be boolean,object"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!TY.test(e)){const e={keyword:"pattern",dataPath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",params:{pattern:"^(https|http)://.*"},message:'should match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}}}if(void 0!==e.appliesTo){let n=e.appliesTo;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"==typeof e){if(!AY.test(e)){const e={keyword:"pattern",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'should match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/appliesTo/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/appliesTo/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(36))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const a={keyword:"errorMessage",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():SY.allOf[0].properties.appliesTo.items.errorMessage[r]};null===o?o=[a]:o.push(a),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"==typeof e){if(!AY.test(e)){const e={keyword:"pattern",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'should match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/elementType/value"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType/properties/value")&&/^\/[^\/]*$/.test(n.schemaPath.slice(49))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",params:{errors:e[i]},message:i in n?n[i]():SY.allOf[0].properties.elementType.properties.value.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={keyword:"type",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(i=MY[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",params:{errors:r},message:e?e():SY.allOf[0].properties.elementType.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.metadata){let n=e.metadata;if(!n||"object"!=typeof n||Array.isArray(n)){const e={keyword:"type",dataPath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={keyword:"type",dataPath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={keyword:"required",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={keyword:"required",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/required",params:{missingProperty:"label"},message:"should have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={keyword:"type",dataPath:t+"/groups/"+i+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={keyword:"type",dataPath:t+"/groups/"+i+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{id:[],label:[]}},n={required:{id:function(){return'missing id for group "'+JSON.stringify(i)+'"'},label:function(){return'missing label for group "'+JSON.stringify(i)+'"'}}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/groups/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(r=MY[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",params:{errors:a},message:e?e():SY.allOf[0].properties.groups.items.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!TY.test(n)){const e={keyword:"pattern",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",params:{pattern:"^(https|http)://.*"},message:'should match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/documentationRef"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/documentationRef")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",params:{errors:e[i]},message:i in n?n[i]():SY.allOf[0].properties.documentationRef.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(i=MY[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t,schemaPath:"#/allOf/0/errorMessage",params:{errors:r},message:e?e():SY.allOf[0].errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&($Y(e.properties,{dataPath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:r})||(o=null===o?$Y.errors:o.concat($Y.errors),s=o.length)),void 0!==e.scopes){let n=e.scopes;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];const _=s;let O=!0;const P=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"bpmn:Error"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var a=P===s;if(s=_,null!==o&&(_?o.length=_:o=null),a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.id){const e={keyword:"required",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/allOf/0/then/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i&&(0!==e.dataPath.indexOf(t+"/scopes/"+i)||"/"!==e.dataPath[t+"/scopes/"+i.length])||0!==e.schemaPath.indexOf("#/properties/scopes/items/allOf/0/then")||"/"!==e.schemaPath[38]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/allOf/0/then/errorMessage",params:{errors:n},message:"invalid scope "+JSON.stringify(e&&e.type)+", missing id"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}O=a=n===s}if(!O){const e={keyword:"if",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={keyword:"required",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/required",params:{missingProperty:"properties"},message:"should have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/type",schemaPath:"#/properties/scopes/items/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("camunda:Connector"!==n&&"bpmn:Error"!==n){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/type",schemaPath:"#/properties/scopes/items/properties/type/enum",params:{allowedValues:SY.properties.scopes.items.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/type"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/type")||"/"!==n.dataPath[t+"/scopes/"+i+5])||0!==n.schemaPath.indexOf("#/properties/scopes/items/properties/type")||"/"!==n.schemaPath[41]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/type",schemaPath:"#/properties/scopes/items/properties/type/errorMessage",params:{errors:e},message:"invalid scope type "+JSON.stringify(n)+"; must be any of { camunda:Connector, bpmn:Error }"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}if(void 0!==e.properties){let n=e.properties;if(IY(n,{dataPath:t+"/scopes/"+i+"/properties",parentData:e,parentDataProperty:"properties",rootData:r})||(o=null===o?IY.errors:o.concat(IY.errors),s=o.length),Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];const a=s;let _=!0;const O=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type&&!NY(t.type,"property")){const e={};null===o?o=[e]:o.push(e),s++}}var l=O===s;if(s=a,null!==o&&(a?o.length=a:o=null),l){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Text"!==n&&"Hidden"!==n&&"Dropdown"!==n&&"Boolean"!==n){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/enum",params:{allowedValues:CY.items.allOf[0].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/type"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/type")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+5])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/0/then/properties/type")||"/"!==n.schemaPath[67]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}_=l=n===s}if(!_){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const P=s;let k=!0;const S=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type&&!NY(t.type,"camunda:executionListener")){const e={};null===o?o=[e]:o.push(e),s++}}var c=S===s;if(s=P,null!==o&&(P?o.length=P:o=null),c){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.type){if("Hidden"!==e.type){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/enum",params:{allowedValues:CY.items.allOf[1].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/type"&&(0!==e.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/type")||"/"!==e.dataPath[t+"/scopes/"+i+"/properties/"+r+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[67]||(n.push(e),e.emUsed=!0);if(n.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e&&e.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.binding){let n=e.binding;const a=s;let l=!1,c=null;const u=s,d=s,h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.implementationType&&!NY(n.implementationType,"script")){const e={};null===o?o=[e]:o.push(e),s++}if(h===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=d,null!==o&&(d?o.length=d:o=null);(p=u===s)&&(l=!0,c=0);const m=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",params:{missingProperty:"scriptFormat"},message:"should have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((p=m===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const e=s,a=s,u=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);const d=s,h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={};null===o?o=[e]:o.push(e),s++}var p;if(h===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=d,null!==o&&(d?o.length=d:o=null);(p=e===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.implementationType){let e=n.implementationType;if("class"!==e&&"delegateExpression"!==e&&"expression"!==e&&"script"!==e){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/implementationType",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",params:{allowedValues:CY.items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}k=c=n===s}if(!k){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const C=s;let T=!0;const A=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type){let e=t.type;if("camunda:property"!==e&&"camunda:outputParameter"!==e&&"camunda:in"!==e&&"camunda:in:businessKey"!==e&&"camunda:out"!==e&&"camunda:errorEventDefinition"!==e){const e={};null===o?o=[e]:o.push(e),s++}}}var u=A===s;if(s=C,null!==o&&(C?o.length=C:o=null),u){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Hidden"!==n&&"Dropdown"!==n){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/enum",params:{allowedValues:CY.items.allOf[2].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const a=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/type"&&(0!==e.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/type")||"/"!==e.dataPath[t+"/scopes/"+i+"/properties/"+r+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[67]||(a.push(e),e.emUsed=!0);if(a.length){const l={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/errorMessage",params:{errors:a},message:"invalid property type "+JSON.stringify(n)+" for binding type "+JSON.stringify(e&&e.binding&&e.binding.type)+"; must be any of { String, Hidden, Dropdown }"};null===o?o=[l]:o.push(l),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}T=u=n===s}if(!T){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const M=s;let R=!0;const D=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type){let e=t.type;if("camunda:inputParameter"!==e&&"camunda:field"!==e){const e={};null===o?o=[e]:o.push(e),s++}}}var d=D===s;if(s=M,null!==o&&(M?o.length=M:o=null),d){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Text"!==n&&"Hidden"!==n&&"Dropdown"!==n){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/enum",params:{allowedValues:CY.items.allOf[3].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const a=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/type"&&(0!==e.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/type")||"/"!==e.dataPath[t+"/scopes/"+i+"/properties/"+r+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[67]||(a.push(e),e.emUsed=!0);if(a.length){const l={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/errorMessage",params:{errors:a},message:"invalid property type "+JSON.stringify(n)+" for binding type "+JSON.stringify(e&&e.binding&&e.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[l]:o.push(l),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}R=d=n===s}if(!R){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.binding){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/required",params:{missingProperty:"binding"},message:"should have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.binding){let n=e.binding;const a=s;let l=!0;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("property"!==e&&"camunda:property"!==e&&"camunda:inputParameter"!==e&&"camunda:field"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var h=c===s;if(s=a,null!==o&&(a?o.length=a:o=null),h){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.name){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires name"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}l=h=e===s}if(!l){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const p=s;let u=!0;const d=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"camunda:outputParameter")){const e={};null===o?o=[e]:o.push(e),s++}var m=d===s;if(s=p,null!==o&&(p?o.length=p:o=null),m){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires source"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}u=m=e===s}if(!u){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const _=s;let O=!0;const P=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"camunda:in")){const e={};null===o?o=[e]:o.push(e),s++}var f=P===s;if(s=_,null!==o&&(_?o.length=_:o=null),f){const e=s,a=s;let l=!1;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var g=c===s;if(l=l||g,!l){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.target){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",params:{missingProperty:"target"},message:"should have required property 'target'"};null===o?o=[e]:o.push(e),s++}g=e===s;l=l||g}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"anyOf",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf",params:{},message:"should match some schema in anyOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires variables, target, or both"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}O=f=e===s}if(!O){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const k=s;let S=!0;const C=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"camunda:out")){const e={};null===o?o=[e]:o.push(e),s++}var y=C===s;if(s=k,null!==o&&(k?o.length=k:o=null),y){const e=s,a=s;let l=!1,c=null;const p=s,u=s,d=s,h=s;let m=!1;const f=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}var v=f===s;if(m=m||v,!m){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}v=e===s;m=m||v}if(m)s=h,null!==o&&(h?o.length=h:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(d===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=u,null!==o&&(u?o.length=u:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(w=p===s)&&(l=!0,c=0);const g=s,E=s,_=s,O=s;let P=!1;const k=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={};null===o?o=[e]:o.push(e),s++}var b=k===s;if(P=P||b,!P){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}b=e===s;P=P||b}if(P)s=O,null!==o&&(O?o.length=O:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(_===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=E,null!==o&&(E?o.length=E:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((w=g===s)&&l)l=!1,c=[c,1];else{w&&(l=!0,c=1);const e=s,a=s,p=s,u=s;let d=!1;const h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={};null===o?o=[e]:o.push(e),s++}var x=h===s;if(d=d||x,!d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}x=e===s;d=d||x}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(p===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",params:{missingProperty:"sourceExpression"},message:"should have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((w=e===s)&&l)l=!1,c=[c,2];else{w&&(l=!0,c=2);const e=s,a=s,p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}if(p===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.variables){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.sourceExpression){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",params:{missingProperty:"sourceExpression"},message:"should have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((w=e===s)&&l)l=!1,c=[c,3];else{w&&(l=!0,c=3);const e=s,a=s,p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}var w;if(p===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.variables){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.source){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(w=e===s)&&l?(l=!1,c=[c,4]):w&&(l=!0,c=4)}}}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}S=y=e===s}if(!S){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const T=s;let A=!0;const M=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"camunda:errorEventDefinition")){const e={};null===o?o=[e]:o.push(e),s++}var E=M===s;if(s=T,null!==o&&(T?o.length=T:o=null),E){const e=s,a=s;let l=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.errorRef){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",params:{missingProperty:"errorRef"},message:"should have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(p===s&&(l=!0,c=0),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires errorRef"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}A=E=e===s}if(!A){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type){let e=n.type;if("string"!=typeof e){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("property"!==e&&"camunda:property"!==e&&"camunda:inputParameter"!==e&&"camunda:outputParameter"!==e&&"camunda:in"!==e&&"camunda:out"!==e&&"camunda:in:businessKey"!==e&&"camunda:executionListener"!==e&&"camunda:field"!==e&&"camunda:errorEventDefinition"!==e){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/enum",params:{allowedValues:CY.items.properties.binding.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding/type"&&(0!==e.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding/type")||"/"!==e.dataPath[t+"/scopes/"+i+"/properties/"+r+13])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/properties/type")||"/"!==e.schemaPath[73]||(n.push(e),e.emUsed=!0);if(n.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/errorMessage",params:{errors:n},message:"invalid property.binding type "+JSON.stringify(e)+"; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==n.name&&"string"!=typeof n.name){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/name",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.event&&"string"!=typeof n.event){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/event",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/event/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.scriptFormat&&"string"!=typeof n.scriptFormat){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/scriptFormat",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/scriptFormat/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.source&&"string"!=typeof n.source){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/source",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/source/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.target&&"string"!=typeof n.target){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/target",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/target/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.expression&&"boolean"!=typeof n.expression){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/expression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/expression/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.variables){let e=n.variables;if("string"!=typeof e){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("all"!==e&&"local"!==e){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/enum",params:{allowedValues:CY.items.properties.binding.properties.variables.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.sourceExpression&&"string"!=typeof n.sourceExpression){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/sourceExpression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/sourceExpression/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={required:function(){return'missing binding for property "'+JSON.stringify(r)+'"'}};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/scopes/"+i+"/properties/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(38))&&(e[n.keyword].push(n),n.emUsed=!0);for(const a in e)if(e[a].length){const l={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/errorMessage",params:{errors:e[a]},message:a in n?n[a]():CY.items.errorMessage[a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}}else{const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties",schemaPath:"#/definitions/properties/allOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const n={required:{type:[],properties:[]}},r={required:{properties:function(){return"invalid scope "+JSON.stringify(e&&e.type)+", missing properties=[]"}}};let a,l;for(const e of o)"errorMessage"!==e.keyword&&!e.emUsed&&e.dataPath===t+"/scopes/"+i&&e.keyword in n&&0===e.schemaPath.indexOf("#/properties/scopes/items")&&/^\/[^\/]*$/.test(e.schemaPath.slice(25))&&(a=MY[e.keyword],l=n[e.keyword][e.params[a]],l&&(l.push(e),e.emUsed=!0));for(const e in n)for(const a in n[e])if(l=n[e][a],l.length){const n=r[e]&&r[e][a],c={keyword:"errorMessage",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/errorMessage",params:{errors:l},message:n?n():SY.properties.scopes.items.errorMessage[e][a]};null===o?o=[c]:o.push(c),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={keyword:"type",dataPath:t+"/scopes",schemaPath:"#/properties/scopes/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}return LY.errors=o,0===s}function qY(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;LY(e,{dataPath:t,parentData:n,parentDataProperty:i,rootData:r})||(o=null===o?LY.errors:o.concat(LY.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++)LY(e[i],{dataPath:t+"/"+i,parentData:e,parentDataProperty:i,rootData:r})||(o=null===o?LY.errors:o.concat(LY.errors),s=o.length)}else{const e={keyword:"type",dataPath:t,schemaPath:"#/oneOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}var d;if((d=u===s)&&l?(l=!1,c=[c,1]):d&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return qY.errors=o,0===s}var zY={},VY={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",'"':'"',"/":"/","\\":"\\"},FY="a".charCodeAt();zY.parse=function(e,t,n){var i={},r=0,o=0,s=0,a=n&&n.bigint&&"undefined"!=typeof BigInt;return{data:l("",!0),pointers:i};function l(t,n){var i;c(),g(t,"value");var r=d();switch(r){case"t":u("rue"),i=!0;break;case"f":u("alse"),i=!1;break;case"n":u("ull"),i=null;break;case'"':i=p();break;case"[":i=function(e){c();var t=[],n=0;if("]"==d())return t;h();for(;;){var i=e+"/"+n;t.push(l(i)),c();var r=d();if("]"==r)break;","!=r&&x(),c(),n++}return t}(t);break;case"{":i=function(e){c();var t={};if("}"==d())return t;h();for(;;){var n=v();'"'!=d()&&x();var i=p(),r=e+"/"+tZ(i);y(r,"key",n),g(r,"keyEnd"),c(),":"!=d()&&x(),c(),t[i]=l(r),c();var o=d();if("}"==o)break;","!=o&&x(),c()}return t}(t);break;default:h(),"-0123456789".indexOf(r)>=0?i=function(){var t="",n=!0;"-"==e[s]&&(t+=d());t+="0"==e[s]?d():f(),"."==e[s]&&(t+=d()+f(),n=!1);"e"!=e[s]&&"E"!=e[s]||(t+=d(),"+"!=e[s]&&"-"!=e[s]||(t+=d()),t+=f(),n=!1);var i=+t;return a&&n&&(i>Number.MAX_SAFE_INTEGER||i<Number.MIN_SAFE_INTEGER)?BigInt(t):i}():b()}return g(t,"valueEnd"),c(),n&&s<e.length&&b(),i}function c(){e:for(;s<e.length;){switch(e[s]){case" ":o++;break;case"\t":o+=4;break;case"\r":o=0;break;case"\n":o=0,r++;break;default:break e}s++}}function p(){for(var e,t="";'"'!=(e=d());)"\\"==e?(e=d())in VY?t+=VY[e]:"u"==e?t+=m():x():t+=e;return t}function u(e){for(var t=0;t<e.length;t++)d()!==e[t]&&x()}function d(){w();var t=e[s];return s++,o++,t}function h(){s--,o--}function m(){for(var e=4,t=0;e--;){t<<=4;var n=d().toLowerCase();n>="a"&&n<="f"?t+=n.charCodeAt()-FY+10:n>="0"&&n<="9"?t+=+n:x()}return String.fromCharCode(t)}function f(){for(var t="";e[s]>="0"&&e[s]<="9";)t+=d();if(t.length)return t;w(),b()}function g(e,t){y(e,t,v())}function y(e,t,n){i[e]=i[e]||{},i[e][t]=n}function v(){return{line:r,column:o,pos:s}}function b(){throw new SyntaxError("Unexpected token "+e[s]+" in JSON at position "+s)}function x(){h(),b()}function w(){if(s>=e.length)throw new SyntaxError("Unexpected end of JSON input")}},zY.stringify=function(e,t,n){if(UY(e)){var i,r,o=0,s="object"==typeof n?n.space:n;switch(typeof s){case"number":var a=s>10?10:s<0?0:Math.floor(s);s=a&&v(a," "),i=a,r=a;break;case"string":s=s.slice(0,10),i=0,r=0;for(var l=0;l<s.length;l++){switch(s[l]){case" ":r++;break;case"\t":r+=4;break;case"\r":r=0;break;case"\n":r=0,o++;break;default:throw new Error("whitespace characters not allowed in JSON")}i++}break;default:s=void 0}var c="",p={},u=0,d=0,h=0,m=n&&n.es6&&"function"==typeof Map;return function e(t,n,i){switch(y(i,"value"),typeof t){case"number":case"bigint":case"boolean":f(""+t);break;case"string":f(ZY(t));break;case"object":null===t?f("null"):"function"==typeof t.toJSON?f(ZY(t.toJSON())):Array.isArray(t)?r():m?t.constructor.BYTES_PER_ELEMENT?r():t instanceof Map?a():t instanceof Set?a(!0):o():o()}function r(){if(t.length){f("[");for(var r=n+1,o=0;o<t.length;o++){o&&f(","),g(r);var s=UY(t[o])?t[o]:null;e(s,r,i+"/"+o)}g(n),f("]")}else f("[]")}function o(){var r=Object.keys(t);if(r.length){f("{");for(var o=n+1,a=0;a<r.length;a++){var l=r[a],c=t[l];if(UY(c)){a&&f(",");var p=i+"/"+tZ(l);g(o),y(p,"key"),f(ZY(l)),y(p,"keyEnd"),f(":"),s&&f(" "),e(c,o,p)}}g(n),f("}")}else f("{}")}function a(r){if(t.size){f("{");for(var o=n+1,a=!0,l=t.entries(),c=l.next();!c.done;){var p=c.value,u=p[0],d=!!r||p[1];if(UY(d)){a||f(","),a=!1;var h=i+"/"+tZ(u);g(o),y(h,"key"),f(ZY(u)),y(h,"keyEnd"),f(":"),s&&f(" "),e(d,o,h)}c=l.next()}g(n),f("}")}else f("{}")}y(i,"valueEnd")}(e,0,""),{json:c,pointers:p}}function f(e){d+=e.length,h+=e.length,c+=e}function g(e){if(s){for(c+="\n"+v(e,s),u++,d=0;e--;)o?(u+=o,d=r):d+=r,h+=i;h+=1}}function y(e,t){p[e]=p[e]||{},p[e][t]={line:u,column:d,pos:h}}function v(e,t){return Array(e+1).join(t)}};var HY=["number","bigint","boolean","string","object"];function UY(e){return HY.indexOf(typeof e)>=0}var WY=/"|\\/g,XY=/[\b]/g,GY=/\f/g,QY=/\n/g,KY=/\r/g,YY=/\t/g;function ZY(e){return'"'+(e=e.replace(WY,"\\$&").replace(GY,"\\f").replace(XY,"\\b").replace(QY,"\\n").replace(KY,"\\r").replace(YY,"\\t"))+'"'}var JY=/~/g,eZ=/\//g;function tZ(e){return e.replace(JY,"~0").replace(eZ,"~1")}function nZ(e,t){const n=function(e){return zY.stringify(e,null,2).pointers}(e),i=t(e);let r=t.errors;return r&&r.length&&(b(r,iZ),r=function(e){return v(e,(function(e){return"if"!==e.keyword}))}(r),b(r,(function(e){!function(e,t){const n=e.dataPath,i=t[n];e.dataPointer=i}(e,n)}))),{valid:i,object:e,errors:r}}function iZ(e){const t=e.params;t&&t.errors&&(t.rawErrors=t.errors,delete t.errors)}var rZ={exports:{}};rZ.exports=gZ,rZ.exports.default=gZ;const oZ={type:"object",allOf:[{required:["name","id","appliesTo","properties"],properties:{name:{$id:"#/name",type:"string",description:"The name of the element template."},id:{$id:"#/id",type:"string",description:"The identifier of the element template."},description:{$id:"#/description",type:"string",description:"The description of the element template."},version:{$id:"#/version",type:"integer",description:"Optional version of the template. If you add a version to a template it will be considered unique based on its ID and version. Two templates can have the same ID if their version is different."},isDefault:{$id:"#/isDefault",type:"boolean",description:"Indicates whether the element template is a default template."},deprecated:{$id:"#/deprecated",type:["boolean","object"],description:"Indicates whether the element template is deprecated.",properties:{message:{$id:"#/deprecated/message",type:"string",description:"Optional message to describe migration path."},documentationRef:{$id:"#/deprecated/documentationRef",type:"string",pattern:"^(https|http)://.*",description:"Optional link to migration documentation."}}},appliesTo:{$id:"#/appliesTo",type:"array",description:"List of BPMN types the template can be applied to.",default:[],items:{$id:"#/appliesTo/items",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:Task","bpmn:ServiceTask","bpmn:SequenceFlow","bpmn:Process","bpmn:StartEvent","bpmn:Gateway"]}],errorMessage:{pattern:'invalid item for "appliesTo", should contain namespaced property, example: "bpmn:Task"'}}},elementType:{$id:"#/elementType",type:"object",description:"The BPMN type the element will be transformed into.",default:{},required:["value"],properties:{value:{$id:"#/elementType/value",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:ServiceTask","bpmn:UserTask","bpmn:StartEvent","bpmn:ExclusiveGateway","bpmn:ParallelGateway"]}],errorMessage:{pattern:'invalid item for "elementType", should contain namespaced property, example: "bpmn:Task"'}}},errorMessage:{required:{value:"missing elementType value"}}},metadata:{$id:"#/metadata",type:"object",description:"Some custom properties for further configuration.",default:{}},entriesVisible:{$id:"#/entriesVisible",type:"boolean",description:"Select whether non-template entries are visible in the properties panel."},groups:{$id:"#/groups",type:"array",description:"Custom fields can be ordered together via groups.",allOf:[{examples:[[{id:"group-1",label:"My Group"}]]}],items:{$id:"#/groups/group",type:"object",default:{},required:["id","label"],properties:{id:{$id:"#/groups/group/id",type:"string",description:"The id of the custom group"},label:{$id:"#/groups/group/label",type:"string",description:"The label of the custom group"}},errorMessage:{required:{id:'missing id for group "${0#}"',label:'missing label for group "${0#}"'}}}},documentationRef:{$id:"#/documentationRef",type:"string",pattern:"^(https|http)://.*",errorMessage:{pattern:'Malformed documentation URL, must match "^(https|http)://.*"'}}},errorMessage:{required:{name:"missing template name",id:"missing template id",appliesTo:"missing appliesTo=[]",properties:"missing properties=[]"}}},{allOf:[{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"bpmn:Message#property"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{enum:["bpmn:ReceiveTask","bpmn:SendTask","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},allOf:[{if:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}}},then:{eventDefinition:{const:"bpmn:MessageEventDefinition"},required:["eventDefinition"]}}]}}}},{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"bpmn:Message#zeebe:subscription#property"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{enum:["bpmn:ReceiveTask","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},allOf:[{if:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}}},then:{eventDefinition:{const:"bpmn:MessageEventDefinition"},required:["eventDefinition"]}}]}}}}]}],properties:{properties:{$ref:"#/definitions/properties",$id:"#/properties"},icon:{$id:"#/icon",type:"object",description:"Custom icon to be shown on the element",default:{},properties:{contents:{$id:"#/icon/contents",type:"string",description:"The URL of an icon.",pattern:"^(https?|data):.*",errorMessage:{pattern:"Malformed icon source, must be a valid HTTP(s) or data URL"}}},required:["contents"],errorMessage:{required:{contents:"missing icon contents"}}},elementType:{allOf:[{allOf:[{properties:{eventDefinition:{$id:"#/elementType/eventDefinition",enum:["bpmn:MessageEventDefinition"]}}},{if:{required:["eventDefinition"]},then:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},required:["value"]}}]}]},groups:{items:{properties:{tooltip:{$id:"#/groups/group/tooltip",type:"string"},openByDefault:{$id:"#/groups/group/openByDefault",type:"boolean",description:"Specifies whether the Group should be opened when first viewed. Defaults to true.",default:!0}}}}}},sZ=new RegExp("^(https|http)://.*","u"),aZ=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),lZ=new RegExp("^(https?|data):.*","u"),cZ={required:"missingProperty",dependencies:"property",dependentRequired:"property"},pZ=PY.exports,uZ={allOf:[{type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}}],properties:{id:{type:"string",description:"Unique identifier of the property."},value:{$id:"#/properties/property/value",type:["string","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."},condition:{$id:"#/condition",type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}}},oneOf:[{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},minItems:1}},required:["allMatch"]}]}}}},{$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{enum:["zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader","zeebe:taskDefinition:type","bpmn:Message#property","bpmn:Message#zeebe:subscription#property","zeebe:taskDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}},{if:{properties:{optional:{const:!0}},required:["optional"]},then:{properties:{binding:{properties:{type:{enum:["zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader"],errorMessage:"optional is not supported for binding type ${0}; must be any of { zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader }"}},required:["type"]}}}},{if:{properties:{optional:{const:!0}},required:["optional"]},then:{properties:{constraints:{properties:{notEmpty:{const:!1,errorMessage:'optional is not allowed for truthy "notEmpty" constraint'}},required:["notEmpty"]}}}},{if:{properties:{feel:{not:{const:null}}},required:["feel"]},then:{properties:{type:{enum:["String","Text"],errorMessage:'feel is only supported for "String" and "Text" type'}},required:["type"]}},{if:{properties:{language:{not:{const:null}}},required:["language"]},then:{properties:{type:{enum:["Text"],errorMessage:'language is only supported for "Text" type'}}}},{if:{required:["value"]},then:{not:{required:["generatedValue"]}}},{if:{properties:{type:{enum:["Boolean","Dropdown"]}},required:["type"]},then:{not:{required:["generatedValue"]}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Zeebe extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","zeebe:property","zeebe:input","bpmn:Message#property","bpmn:Message#zeebe:subscription#property"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"zeebe:output"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"zeebe:taskHeader"}},required:["type"]},then:{required:["key"],errorMessage:"property.binding ${0/type} requires key"}},{if:{properties:{type:{const:"zeebe:taskDefinition"}},required:["type"]},then:{properties:{property:{enum:["type","retries"]}},required:["property"]}},{if:{properties:{type:{const:"zeebe:taskDefinition:type"}},required:["type"]},then:{deprecated:!0}},{examples:[{type:"property",name:"name"},{type:"zeebe:input",name:"input"},{type:"zeebe:output",source:"output"},{type:"zeebe:property",name:"property"},{type:"zeebe:taskHeader",key:"key"},{type:"zeebe:taskDefinition",property:"retries"},{type:"zeebe:taskDefinition",property:"type"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",description:"The type of a property binding.",enum:["property","zeebe:taskDefinition:type","zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader","bpmn:Message#property","bpmn:Message#zeebe:subscription#property","zeebe:taskDefinition"],errorMessage:"invalid property.binding type ${0}; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (zeebe:output)."},key:{$id:"#/properties/property/binding/key",type:"string",description:"The key value of a property binding (zeebe:taskHeader)."},property:{$id:"#/properties/property/binding/property",type:"string",description:"The name of the property defined in the binding."}}},optional:{$id:"#/optional",type:"boolean",description:"Indicates whether a property is optional. Optional bindings do not persist empty values in the underlying BPMN 2.0 XML."},feel:{$id:"#/properties/property/feel",type:"string",default:null,description:"Indicates whether the property can be a feel expression",enum:[null,"optional","required"]},language:{$id:"#/properties/property/language",type:"string",description:"Indicates that the field is a custom language editor"},generatedValue:{$id:"#/properties/property/generatedValue",type:"object",required:["type"],properties:{type:{const:"uuid"}},description:"Sets property to a generated value according to given scheme."},tooltip:{$id:"#/properties/property/tooltip",type:"string",description:"Hints for the control field."}},errorMessage:{required:{binding:'missing binding for property "${0#}"'}}}}]},dZ={type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}};function hZ(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const a=s;let l=!1,c=null;const p=s,u=s;let d=!1,h=null;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:dZ.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=m===s)&&(d=!0,h=0);const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:dZ.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((g=f===s)&&d)d=!1,h=[h,1];else{g&&(d=!0,h=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var g;(g=n===s)&&d?(d=!1,h=[h,2]):g&&(d=!0,h=2)}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:h},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"simple")){const e={keyword:"const",dataPath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(i=cZ[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:r},message:e?e():dZ.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}(b=p===s)&&(l=!0,c=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t,schemaPath:"#/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const r=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:dZ.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(v=c===s)&&(a=!0,l=0);const p=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:dZ.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((v=p===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var v;(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"simple")){const e={keyword:"const",dataPath:t+"/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=cZ[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():dZ.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var b;if((b=y===s)&&l?(l=!1,c=[c,1]):b&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return hZ.errors=o,0===s}function mZ(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const d=s;let h=!0;const m=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!pZ(n.type,"Dropdown")){const e={};null===o?o=[e]:o.push(e),s++}var a=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/then/required",params:{missingProperty:"choices"},message:"should have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i&&(0!==n.dataPath.indexOf(t+"/"+i)||"/"!==n.dataPath[t+"/"+i.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}h=a=e===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={keyword:"type",dataPath:t+"/"+i+"/id",schemaPath:"#/allOf/0/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/value",schemaPath:"#/allOf/0/items/properties/value/type",params:{type:uZ.allOf[0].items.properties.value.type},message:"should be string,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={keyword:"type",dataPath:t+"/"+i+"/description",schemaPath:"#/allOf/0/items/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={keyword:"type",dataPath:t+"/"+i+"/label",schemaPath:"#/allOf/0/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={keyword:"type",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/0/items/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={keyword:"type",dataPath:t+"/"+i+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(hZ(n.condition,{dataPath:t+"/"+i+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:r})||(o=null===o?hZ.errors:o.concat(hZ.errors),s=o.length))}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(40))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const l={keyword:"errorMessage",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():uZ.allOf[0].items.properties.choices.items.errorMessage[r]};null===o?o=[l]:o.push(l),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const r=s;let a=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}(l=p===s)&&(a=!0,c=0);const u=s;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}var l;if((l=u===s)&&a?(a=!1,c=[c,1]):l&&(a=!0,c=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={keyword:"type",dataPath:t+"/"+i+"/group",schemaPath:"#/allOf/0/items/properties/group/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const r=s;let a=!1,l=null;const d=s,h=s;let m=!1,f=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:dZ.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(m=!0,f=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:dZ.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&m)m=!1,f=[f,1];else{c&&(m=!0,f=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&m?(m=!1,f=[f,2]):c&&(m=!0,f=2)}if(m)s=h,null!==o&&(h?o.length=h:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:f},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=cZ[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():dZ.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:dZ.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:dZ.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(a=cZ[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={keyword:"errorMessage",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:l},message:e?e():dZ.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/allOf/0/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const r=s;let a=!0;const l=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"property")){const e={};null===o?o=[e]:o.push(e),s++}}var d=l===s;if(s=r,null!==o&&(r?o.length=r:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[0].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/0/then/properties/type")||"/"!==e.schemaPath[44]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}a=d=e===s}if(!a){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("zeebe:input"!==t&&"zeebe:output"!==t&&"zeebe:property"!==t&&"zeebe:taskHeader"!==t&&"zeebe:taskDefinition:type"!==t&&"bpmn:Message#property"!==t&&"bpmn:Message#zeebe:subscription#property"!==t&&"zeebe:taskDefinition"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var h=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),h){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[1].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const r=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[44]||(r.push(e),e.emUsed=!0);if(r.length){const a={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",params:{errors:r},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}p=h=e===s}if(!p){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const k=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.optional){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.optional&&!pZ(n.optional,!0)){const e={};null===o?o=[e]:o.push(e),s++}var m=k===s;if(s=O,null!==o&&(O?o.length=O:o=null),m){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("zeebe:input"!==n&&"zeebe:output"!==n&&"zeebe:property"!==n&&"zeebe:taskHeader"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[2].then.properties.binding.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/binding/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/binding/type")||"/"!==n.dataPath[t+"/"+i+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/binding/properties/type")||"/"!==n.schemaPath[63]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/errorMessage",params:{errors:e},message:"optional is not supported for binding type "+JSON.stringify(n)+"; must be any of { zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader }"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}}P=m=e===s}if(!P){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const S=s;let C=!0;const T=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.optional){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.optional&&!pZ(n.optional,!0)){const e={};null===o?o=[e]:o.push(e),s++}var f=T===s;if(s=S,null!==o&&(S?o.length=S:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.notEmpty){const e={keyword:"required",dataPath:t+"/"+i+"/constraints",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/required",params:{missingProperty:"notEmpty"},message:"should have required property 'notEmpty'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.notEmpty){if(!pZ(e.notEmpty,!1)){const e={keyword:"const",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/const",params:{allowedValue:!1},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/constraints/notEmpty"&&(0!==n.dataPath.indexOf(t+"/"+i+"/constraints/notEmpty")||"/"!==n.dataPath[t+"/"+i+21])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty")||"/"!==n.schemaPath[71]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/errorMessage",params:{errors:e},message:'optional is not allowed for truthy "notEmpty" constraint'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}}}C=f=e===s}if(!C){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const A=s;let M=!0;const R=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.feel){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.feel){const e=s,t=s;if(!pZ(n.feel,uZ.allOf[1].items.allOf[4].if.properties.feel.not.const)){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var g=R===s;if(s=A,null!==o&&(A?o.length=A:o=null),g){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/4/then/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[4].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/type")||"/"!==n.dataPath[t+"/"+i+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/4/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/errorMessage",params:{errors:e},message:'feel is only supported for "String" and "Text" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}}M=g=e===s}if(!M){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/4/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const D=s;let N=!0;const B=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.language){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.language){const e=s,t=s;if(!pZ(n.language,uZ.allOf[1].items.allOf[5].if.properties.language.not.const)){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var y=B===s;if(s=D,null!==o&&(D?o.length=D:o=null),y){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){if("Text"!==n.type){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[5].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/type")||"/"!==n.dataPath[t+"/"+i+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/5/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/errorMessage",params:{errors:e},message:'language is only supported for "Text" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}N=y=e===s}if(!N){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/5/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const $=s;let j=!0;const I=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.value){const e={};null===o?o=[e]:o.push(e),s++}var v=I===s;if(s=$,null!==o&&($?o.length=$:o=null),v){const e=s,r=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.generatedValue){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={keyword:"not",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/6/then/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);j=v=e===s}if(!j){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/6/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const L=s;let q=!0;const z=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("Boolean"!==e&&"Dropdown"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var b=z===s;if(s=L,null!==o&&(L?o.length=L:o=null),b){const e=s,r=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.generatedValue){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={keyword:"not",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/7/then/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);q=b=e===s}if(!q){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/7/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.binding){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/required",params:{missingProperty:"binding"},message:"should have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const r=s;let a=!0;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("property"!==t&&"zeebe:property"!==t&&"zeebe:input"!==t&&"bpmn:Message#property"!==t&&"bpmn:Message#zeebe:subscription#property"!==t){const e={};null===o?o=[e]:o.push(e),s++}}var x=l===s;if(s=r,null!==o&&(r?o.length=r:o=null),x){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/0/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}a=x=n===s}if(!a){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"zeebe:output")){const e={};null===o?o=[e]:o.push(e),s++}var w=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),w){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/1/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}p=w=n===s}if(!p){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"zeebe:taskHeader")){const e={};null===o?o=[e]:o.push(e),s++}var E=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),E){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.key){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/required",params:{missingProperty:"key"},message:"should have required property 'key'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/2/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires key"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}h=E=n===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const f=s;let g=!0;const y=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"zeebe:taskDefinition")){const e={};null===o?o=[e]:o.push(e),s++}var _=y===s;if(s=f,null!==o&&(f?o.length=f:o=null),_){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property){let n=e.property;if("type"!==n&&"retries"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/properties/property/enum",params:{allowedValues:uZ.allOf[1].items.properties.binding.allOf[3].then.properties.property.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}g=_=n===s}if(!g){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("property"!==n&&"zeebe:taskDefinition:type"!==n&&"zeebe:input"!==n&&"zeebe:output"!==n&&"zeebe:property"!==n&&"zeebe:taskHeader"!==n&&"bpmn:Message#property"!==n&&"bpmn:Message#zeebe:subscription#property"!==n&&"zeebe:taskDefinition"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.properties.binding.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/binding/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/binding/type")||"/"!==n.dataPath[t+"/"+i+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/properties/binding/properties/type")||"/"!==n.schemaPath[50]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",params:{errors:e},message:"invalid property.binding type "+JSON.stringify(n)+"; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property }"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={keyword:"type",dataPath:t+"/"+i+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={keyword:"type",dataPath:t+"/"+i+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.key&&"string"!=typeof e.key){const e={keyword:"type",dataPath:t+"/"+i+"/binding/key",schemaPath:"#/allOf/1/items/properties/binding/properties/key/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.optional&&"boolean"!=typeof n.optional){const e={keyword:"type",dataPath:t+"/"+i+"/optional",schemaPath:"#/allOf/1/items/properties/optional/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.feel){let e=n.feel;if("string"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/feel",schemaPath:"#/allOf/1/items/properties/feel/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(null!==e&&"optional"!==e&&"required"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/feel",schemaPath:"#/allOf/1/items/properties/feel/enum",params:{allowedValues:uZ.allOf[1].items.properties.feel.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.language&&"string"!=typeof n.language){const e={keyword:"type",dataPath:t+"/"+i+"/language",schemaPath:"#/allOf/1/items/properties/language/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.generatedValue){let e=n.generatedValue;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/"+i+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"uuid")){const e={keyword:"const",dataPath:t+"/"+i+"/generatedValue/type",schemaPath:"#/allOf/1/items/properties/generatedValue/properties/type/const",params:{allowedValue:"uuid"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.tooltip&&"string"!=typeof n.tooltip){const e={keyword:"type",dataPath:t+"/"+i+"/tooltip",schemaPath:"#/allOf/1/items/properties/tooltip/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{binding:[]}},n={required:{binding:function(){return'missing binding for property "'+JSON.stringify(i)+'"'}}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(r=cZ[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/errorMessage",params:{errors:a},message:e?e():uZ.allOf[1].items.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/allOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}return mZ.errors=o,0===s}function fZ(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"appliesTo"},message:"should have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"properties"},message:"should have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={keyword:"type",dataPath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={keyword:"type",dataPath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={keyword:"type",dataPath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.version){let n=e.version;if("number"!=typeof n||n%1||isNaN(n)){const e={keyword:"type",dataPath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",params:{type:"integer"},message:"should be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={keyword:"type",dataPath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.deprecated){let n=e.deprecated;if("boolean"!=typeof n&&(!n||"object"!=typeof n||Array.isArray(n))){const e={keyword:"type",dataPath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",params:{type:oZ.allOf[0].properties.deprecated.type},message:"should be boolean,object"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!sZ.test(e)){const e={keyword:"pattern",dataPath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",params:{pattern:"^(https|http)://.*"},message:'should match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}}}if(void 0!==e.appliesTo){let n=e.appliesTo;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"==typeof e){if(!aZ.test(e)){const e={keyword:"pattern",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'should match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/appliesTo/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/appliesTo/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(36))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const a={keyword:"errorMessage",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():oZ.allOf[0].properties.appliesTo.items.errorMessage[r]};null===o?o=[a]:o.push(a),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"==typeof e){if(!aZ.test(e)){const e={keyword:"pattern",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'should match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/elementType/value"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType/properties/value")&&/^\/[^\/]*$/.test(n.schemaPath.slice(49))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",params:{errors:e[i]},message:i in n?n[i]():oZ.allOf[0].properties.elementType.properties.value.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={keyword:"type",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(i=cZ[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",params:{errors:r},message:e?e():oZ.allOf[0].properties.elementType.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.metadata){let n=e.metadata;if(!n||"object"!=typeof n||Array.isArray(n)){const e={keyword:"type",dataPath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={keyword:"type",dataPath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={keyword:"required",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={keyword:"required",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/required",params:{missingProperty:"label"},message:"should have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={keyword:"type",dataPath:t+"/groups/"+i+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={keyword:"type",dataPath:t+"/groups/"+i+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{id:[],label:[]}},n={required:{id:function(){return'missing id for group "'+JSON.stringify(i)+'"'},label:function(){return'missing label for group "'+JSON.stringify(i)+'"'}}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/groups/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(r=cZ[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",params:{errors:a},message:e?e():oZ.allOf[0].properties.groups.items.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!sZ.test(n)){const e={keyword:"pattern",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",params:{pattern:"^(https|http)://.*"},message:'should match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/documentationRef"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/documentationRef")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",params:{errors:e[i]},message:i in n?n[i]():oZ.allOf[0].properties.documentationRef.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(i=cZ[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t,schemaPath:"#/allOf/0/errorMessage",params:{errors:r},message:e?e():oZ.allOf[0].errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}const a=s;let l=!0;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const i=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"bpmn:Message#property")){const e={};null===o?o=[e]:o.push(e),s++}}var p=i===s;if(p)break}if(p)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var u=c===s;if(s=a,null!==o&&(a?o.length=a:o=null),u){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/1/allOf/0/then/required",params:{missingProperty:"elementType"},message:"should have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const i=s;let r=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var d=a===s;if(s=i,null!==o&&(i?o.length=i:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/then/required",params:{missingProperty:"eventDefinition"},message:"should have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}r=d=e===s}if(!r){const e={keyword:"if",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:ReceiveTask"!==e&&"bpmn:SendTask"!==e&&"bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={keyword:"enum",dataPath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/properties/value/enum",params:{allowedValues:oZ.allOf[1].allOf[0].then.properties.elementType.properties.value.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}l=u=n===s}if(!l){const e={keyword:"if",dataPath:t,schemaPath:"#/allOf/1/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const h=s;let m=!0;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const i=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"bpmn:Message#zeebe:subscription#property")){const e={};null===o?o=[e]:o.push(e),s++}}var g=i===s;if(g)break}if(g)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var y=f===s;if(s=h,null!==o&&(h?o.length=h:o=null),y){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/1/allOf/1/then/required",params:{missingProperty:"elementType"},message:"should have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const i=s;let r=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var v=a===s;if(s=i,null!==o&&(i?o.length=i:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/then/required",params:{missingProperty:"eventDefinition"},message:"should have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}r=v=e===s}if(!r){const e={keyword:"if",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:ReceiveTask"!==e&&"bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={keyword:"enum",dataPath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/properties/value/enum",params:{allowedValues:oZ.allOf[1].allOf[1].then.properties.elementType.properties.value.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}m=y=n===s}if(!m){const e={keyword:"if",dataPath:t,schemaPath:"#/allOf/1/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&(mZ(e.properties,{dataPath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:r})||(o=null===o?mZ.errors:o.concat(mZ.errors),s=o.length)),void 0!==e.icon){let n=e.icon;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.contents){const e={keyword:"required",dataPath:t+"/icon",schemaPath:"#/properties/icon/required",params:{missingProperty:"contents"},message:"should have required property 'contents'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.contents){let e=n.contents;if("string"==typeof e){if(!lZ.test(e)){const e={keyword:"pattern",dataPath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/pattern",params:{pattern:"^(https?|data):.*"},message:'should match pattern "^(https?|data):.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/icon/contents"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon/properties/contents")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/errorMessage",params:{errors:e[i]},message:i in n?n[i]():oZ.properties.icon.properties.contents.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={keyword:"type",dataPath:t+"/icon",schemaPath:"#/properties/icon/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{contents:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/icon"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon")&&/^\/[^\/]*$/.test(n.schemaPath.slice(17))&&(i=cZ[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t+"/icon",schemaPath:"#/properties/icon/errorMessage",params:{errors:r},message:e?e():oZ.properties.icon.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.eventDefinition&&"bpmn:MessageEventDefinition"!==n.eventDefinition){const e={keyword:"enum",dataPath:t+"/elementType/eventDefinition",schemaPath:"#/properties/elementType/allOf/0/allOf/0/properties/eventDefinition/enum",params:{allowedValues:oZ.properties.elementType.allOf[0].allOf[0].properties.eventDefinition.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}const i=s;let r=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={};null===o?o=[e]:o.push(e),s++}var b=a===s;if(s=i,null!==o&&(i?o.length=i:o=null),b){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={keyword:"enum",dataPath:t+"/elementType/value",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/properties/value/enum",params:{allowedValues:oZ.properties.elementType.allOf[0].allOf[1].then.properties.value.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}r=b=e===s}if(!r){const e={keyword:"if",dataPath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.tooltip&&"string"!=typeof e.tooltip){const e={keyword:"type",dataPath:t+"/groups/"+i+"/tooltip",schemaPath:"#/properties/groups/items/properties/tooltip/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.openByDefault&&"boolean"!=typeof e.openByDefault){const e={keyword:"type",dataPath:t+"/groups/"+i+"/openByDefault",schemaPath:"#/properties/groups/items/properties/openByDefault/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}}}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}return fZ.errors=o,0===s}function gZ(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;fZ(e,{dataPath:t,parentData:n,parentDataProperty:i,rootData:r})||(o=null===o?fZ.errors:o.concat(fZ.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++)fZ(e[i],{dataPath:t+"/"+i,parentData:e,parentDataProperty:i,rootData:r})||(o=null===o?fZ.errors:o.concat(fZ.errors),s=o.length)}else{const e={keyword:"type",dataPath:t,schemaPath:"#/oneOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}var d;if((d=u===s)&&l?(l=!1,c=[c,1]):d&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return gZ.errors=o,0===s}function yZ(e){this.cache=e}yZ.prototype.resolveRule=function(e,t){return this.resolve("rule",e,t)},yZ.prototype.resolveConfig=function(e,t){return this.resolve("config",e,t)},yZ.prototype.resolve=function(e,t,n){const i=`${t}/${n}`,r=this.cache[`${e}:${i}`];if(!r)throw new Error(`unknown ${e} <${i}>`);return r};const vZ="zeebe:input",bZ="zeebe:output",xZ="zeebe:property",wZ="zeebe:taskDefinition:type",EZ="zeebe:taskDefinition",_Z="zeebe:taskHeader",OZ="bpmn:Message#property",PZ="bpmn:Message#zeebe:subscription#property",kZ=[PZ,vZ,bZ,xZ,wZ,EZ,_Z],SZ=[wZ,EZ],CZ=[vZ,bZ],TZ=[OZ,PZ],AZ=["property",OZ];function MZ(e){return e.type===wZ?"type":e.property}const RZ="zeebe:modelerTemplate";function DZ(e){const t=qr(e);if(t)return t.get(RZ)}function NZ(e,t){const n=qr(e);let i;if(i=Ir(n,"bpmn:ExtensionElements")?n:n.get("extensionElements"),i)return i.get("values").find((e=>Ir(e,t)))}function BZ(e,t){return e.get("properties").find((e=>e.name===t.name))}function $Z(e,t){return e.get("inputParameters").find((e=>e.target===t.name))}function jZ(e,t){return e.get("outputParameters").find((e=>e.source===t.source))}function IZ(e,t){return e.get("values").find((e=>e.key===t.key))}function LZ(e){if(Ir(e,"bpmn:Event")){const t=e.get("eventDefinitions");if(!t||!t.length)return;e=t[0]}return e.get("messageRef")}function qZ(e,t,n,i){const r=i.create(e,t);return n&&(r.$parent=n),r}function zZ(e){return new n([32,32,1]).nextPrefixed(e)}function VZ(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function FZ(e,t){const{optional:n}=t;return e||!n}const HZ=["Boolean","Integer","String"];function UZ(e,t,n){let i=qr(e);const r="",{binding:o}=t,{name:a,property:l,type:c}=o;if("property"===c){const e=i.get(a);return s(e)?r:e}if(SZ.includes(c)){const e=NZ(i,"zeebe:TaskDefinition");if(e){if(c===wZ)return e.get("type");if(c===EZ)return e.get(l)}return r}if(CZ.includes(c)){const e=NZ(i,"zeebe:IoMapping");if(!e)return r;if(c===vZ){const t=$Z(e,o);return t?t.get("source"):r}if(c===bZ){const t=jZ(e,o);return t?t.get("target"):r}}if(c===_Z){const e=NZ(i,"zeebe:TaskHeaders");if(!e)return r;const t=IZ(e,o);return t?t.get("value"):r}if(c===xZ){const e=NZ(i,"zeebe:Properties");if(e){const t=BZ(e,o);if(t)return t.get("value")}return r}if(c===OZ){const e=LZ(i),t=e?e.get(a):void 0;return s(t)?r:t}if(c===PZ){const e=LZ(i);if(e){const t=NZ(e,"zeebe:Subscription");if(!s(t?t.get(a):void 0))return t.get(a)}return r}throw QZ(e,t)}const WZ=null;function XZ(e,t,n,i,r){let o=qr(n);const{binding:a}=i,{name:l,type:c}=a;let p,u;const d=[],h={element:n,property:i};if(TZ.includes(c)){Ir(o,"bpmn:Event")&&(o=o.get("eventDefinitions")[0]);let t=LZ(o);t||(t=e.create("bpmn:Message",{"zeebe:modelerTemplate":DZ(n)}),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{messageRef:t}}})),o=t}if(kZ.includes(c)&&(p=o.get("extensionElements"),p?d.push(WZ):(p=qZ("bpmn:ExtensionElements",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{extensionElements:p}}}))),AZ.includes(c)){const e=o.$descriptor.propertiesByName[l];if(e){const{type:t}=e;if(!HZ.includes(t))throw new Error(`cannot set property of type <${t}>`);"Boolean"===t?u=!!r:"Integer"===t?(u=parseInt(r,10),isNaN(u)&&(u=void 0)):u=r||""}else u=r||"";s(u)?d.push(WZ):d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{[l]:u}}})}if(SZ.includes(c)){const t=NZ(p,"zeebe:TaskDefinition"),n={[MZ(a)]:r||""};if(t)d.push({cmd:"element.updateModdleProperties",context:{...h,properties:n,moddleElement:t}});else{const t=function(e={},t){return t.create("zeebe:TaskDefinition",e)}(n,e);t.$parent=o;const i=p.get("values");d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...i,t]}}})}}if(CZ.includes(c)){let t=NZ(p,"zeebe:IoMapping");if(t||(t=qZ("zeebe:IoMapping",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}})),c===vZ){const n=$Z(t,a),o=t.get("inputParameters").filter((e=>e!==n));if(FZ(r,i)){const t=function(e,t,n){const{name:i}=e;return n.create("zeebe:Input",{source:t,target:i})}(a,r,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{inputParameters:[...o]}}})}if(c===bZ){const n=jZ(t,a),o=t.get("outputParameters").filter((e=>e!==n));if(FZ(r,i)){const t=function(e,t,n){const{source:i}=e;return n.create("zeebe:Output",{source:i,target:t})}(a,r,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{outputParameters:[...o]}}})}}if(c===_Z){let t=NZ(p,"zeebe:TaskHeaders");t||(t=qZ("zeebe:TaskHeaders",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const n=IZ(t,a),i=t.get("values").filter((e=>e!==n));if(r){const n=function(e,t,n){const{key:i}=e;return n.create("zeebe:Header",{key:i,value:t})}(a,r,e);d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:[...i,n]}}})}else d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:i}}})}if(c===xZ){let t=NZ(p,"zeebe:Properties");t||(t=qZ("zeebe:Properties",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const s=BZ(t,a),l=t.get("properties").filter((e=>e!==s));if(FZ(r,i)){const t=function(e,t="",n){const{name:i}=e;return n.create("zeebe:Property",{name:i,value:t})}(a,r,e);l.push(t)}d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{properties:l}}})}if(c===PZ){let t=NZ(p,"zeebe:Subscription");const i={[l]:r||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:i,moddleElement:t}}):(t=qZ("zeebe:Subscription",i,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(!d.length)throw QZ(n,i);{const e=d.filter((e=>e!==WZ));e.length&&t.execute("properties-panel.multi-command-executor",e)}}function GZ(e,t,n){let i=qr(t);const{binding:r}=n,{type:o}=r;let s;const a=[],l={element:t,property:n};if(!TZ.includes(o)||(i=LZ(i),i)){if(AZ.includes(o)){const{name:e}=r;a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:i,properties:{[e]:void 0}}})}if(!kZ.includes(o)||(s=i.get("extensionElements"),s)){if(SZ.includes(o)){const e=NZ(s,"zeebe:TaskDefinition"),t=MZ(r);e&&(!function(e,t){return e.$descriptor.properties.every((({name:n})=>t===n||void 0===e.get(n)))}(e,t)?a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:e,properties:{[t]:void 0}}}):a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:s,properties:{values:x(s.get("values"),e)}}}))}if(CZ.includes(o)){let e=NZ(s,"zeebe:IoMapping");if(!e)return;if(o===vZ){const t=$Z(e,r),n=e.get("inputParameters").filter((e=>e!==t));0==e.get("outputParameters").length&&0==n.length?a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:s,properties:{values:x(s.get("values"),e)}}}):a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:e,properties:{inputParameters:[...n]}}})}if(o===bZ){const t=jZ(e,r),n=e.get("outputParameters").filter((e=>e!==t));0==e.get("inputParameters").length&&0==n.length&&a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:s,properties:{values:x(s.get("values"),e)}}}),a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:e,properties:{outputParameters:[...n]}}})}}if(o===_Z){let e=NZ(s,"zeebe:TaskHeaders");if(!e)return;const t=IZ(e,r),n=e.get("values").filter((e=>e!==t));0===n.length?a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:s,properties:{values:x(s.get("values"),e)}}}):a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:e,properties:{values:[...n]}}})}if(o===xZ){let e=NZ(s,"zeebe:Properties");if(!e)return;const t=BZ(e,r),n=e.get("properties").filter((e=>e!==t));n.length?a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:e,properties:{properties:[...n]}}}):a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:s,properties:{values:x(s.get("values"),e)}}})}if(o===OZ&&a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:i,properties:{[r.name]:void 0}}}),o===PZ){const e=NZ(i,"zeebe:Subscription");if(!e)return;a.push({cmd:"element.updateModdleProperties",context:{...l,moddleElement:e,properties:{[r.name]:void 0}}})}a.length&&e.execute("properties-panel.multi-command-executor",a)}}}function QZ(e,t){const n=qr(e).get("id"),{binding:i}=t,{type:r}=i;return new Error(`unknown binding <${r}> for element <${n}>, this should never happen`)}function KZ(e,t){const{properties:n}=t,i=n.filter((t=>function(e,t){const{binding:n}=t,{type:i}=n;if("bpmn:Message#zeebe:subscription#property"===i&&"correlationKey"===n.name&&Ir(e,"bpmn:StartEvent")&&!so(e.parent))return!1;return!0}(e,t)&&YZ(e,n,t)));return{...t,properties:i}}function YZ(e,t,n){const{condition:i}=n;if(!i)return!0;if(i.allMatch){return i.allMatch.every((n=>ZZ(e,t,n)))}return ZZ(e,t,i)}function ZZ(e,t,n){const{property:i,equals:r,oneOf:o,isActive:s}=n;if(void 0!==s){const n=t.find((e=>e.id===i));return n?s?YZ(e,t,n):!YZ(e,t,n):!s}const a=function(e,t,n){const i=t.find((e=>e.id===n));if(!i)return;return UZ(e,i)}(e,t,i);return r?a===r:!!o&&o.includes(a)}function JZ(e,t){const n=t.get("modeling"),i=t.get("canvas"),r=t.get("bpmnjs"),o=i.getRootElement(),s=r.getDefinitions(),a=s.get("rootElements"),l=a.filter((t=>t!==e));l.length!==a.length&&n.updateModdleProperties(o,s,{rootElements:l})}function eJ(e){const t=qr(e);return Ir(t,"bpmn:Event")?t.get("eventDefinitions")[0]:t}function tJ(e,t){return t.properties.filter((t=>!e.properties.find((e=>function(e,t){return iJ(e.binding,t.binding)&&oJ(e.condition,t.condition)}(e,t)))))}function nJ(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function iJ(e,t){return oJ(e=rJ(e),t=rJ(t))}function rJ(e){return e.type===wZ?{...e,type:EZ,property:"type"}:e}function oJ(e,t){return JSON.stringify(e,nJ)===JSON.stringify(t,nJ)}function sJ(e){return e.properties.some((e=>TZ.includes(e.binding.type)))}(class extends ks{constructor(e,t,n,i,r){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=i,this._injector=r,this.preExecute(["element.updateProperties","element.updateModdleProperties"],this._saveConditionalState,!0,this),this.postExecute(["element.updateProperties","element.updateModdleProperties","propertiesPanel.zeebe.changeTemplate","element.move"],this._applyConditions,!0,this)}_saveConditionalState(e){const{element:t}=e,n=this._elementTemplates.get(t);n&&(e.oldTemplate=KZ(t,n))}_applyConditions(e){const{element:t,oldTemplate:n}=e,i=this._elementTemplates.get(t);if(!i||!n||i.id!==n.id)return;const r=KZ(t,i),o=tJ(n,r),s=function(e,t){const n=tJ(e,t);return n.filter((t=>!function(e,t){return e.properties.some((e=>iJ(t.binding,e.binding)))}(e,t)))}(r,n);this._updateReferencedElement(t,n,r),o.forEach((e=>XZ(this._bpmnFactory,this._commandStack,t,e,e.value))),s.forEach((e=>GZ(this._commandStack,t,e)))}_updateReferencedElement(e,t,n){sJ(t)&&!sJ(n)&&function(e,t){const n=t.get("modeling"),i=eJ(e),r=LZ(i);r&&(n.updateModdleProperties(e,i,{messageRef:void 0}),JZ(r,t))}(e,this._injector)}}).$inject=["eventBus","elementTemplates","commandStack","bpmnFactory","injector"];const aJ="camunda:modelerTemplate";function lJ(e){const t=qr(e);if(t)return t.get(aJ)}function cJ(e,t){const n=qr(e);let i;return i=Ir(n,"bpmn:ExtensionElements")?n:n.get("extensionElements"),i?i.get("values").find((e=>Ir(e,t))):null}function pJ(e,t){const n=gJ(e);return n?n.get("values").filter((e=>Lr(e,t))):[]}function uJ(e,t){const n=gJ(e);if(!n)return;const{type:i}=t;let r;return"camunda:in"===i?r=e=>Ir(e,"camunda:In")&&yJ(e,t):"camunda:out"===i?r=e=>Ir(e,"camunda:Out")&&yJ(e,t):"camunda:in:businessKey"===i&&(r=e=>Ir(e,"camunda:In")&&"businessKey"in e),n.get("values").find(r)}function dJ(e,t){return e.get("values").find((e=>e.name===t.name))}function hJ(e,t){return e.get("inputParameters").find((e=>e.name===t.name))}function mJ(e,t){return e.get("outputParameters").find((function(e){const{value:n}=e;if(!t.scriptFormat)return n===t.source;const i=e.get("camunda:definition");return!(!i||t.scriptFormat!==i.get("camunda:scriptFormat"))&&i.get("camunda:value")===t.source}))}function fJ(e,t){let n;return pJ(e,["camunda:ErrorEventDefinition"]).find((e=>{if(n=e.get("bpmn:errorRef"),n)return n.get("bpmn:id").startsWith(`Error_${t}`)}))}function gJ(e){const t=qr(e);return Ir(t,"bpmn:ExtensionElements")?t:t.get("extensionElements")}function yJ(e,t){if("camunda:in"===t.type&&t.target)return e.target===t.target;if("camunda:out"===t.type){if(t.source)return e.source===t.source;if(t.sourceExpression)return e.sourceExpression===t.sourceExpression}return t.variables?"all"===e.variables&&("local"!==t.variables||e.local):void 0}let vJ=class{constructor(e,t,n,i){this._commandStack=e,this._eventBus=t,this._injector=i,this._modeling=n,this._templates={}}get(e,t){const n=this._templates;let i;return s(e)?null:h(e)?(s(t)&&(t="_"),n[e]&&n[e][t]?n[e][t]:null):(i=e,this.get(this._getTemplateId(i),this._getTemplateVersion(i)))}getDefault(e){return g(this.getAll(e),(function(e){return e.isDefault}))||null}getAll(e){return this._getTemplateVerions(e,{includeDeprecated:!0})}getLatest(e,t={}){return this._getTemplateVerions(e,{...t,latest:!0})}set(e){this._templates={},e.forEach((e=>{const t=e.id,n=s(e.version)?"_":e.version;this._templates[t]||(this._templates[t]={latest:e}),this._templates[t][n]=e;const i=this._templates[t].latest.version;(s(i)||e.version>i)&&(this._templates[t].latest=e)}))}_getTemplateVerions(e,t={}){const{latest:n,deprecated:r}=t,o=this._templates,s=e=>{const{latest:t,...i}=e;return n?!r&&t.deprecated?[]:[t]:S(i)};if(l(e))return i(S(o).map(s));if(p(e)){const n=e;return v(this._getTemplateVerions(null,t),(function(e){return Lr(n,e.appliesTo)}))||[]}if(h(e))return o[e]&&s(o[e]);throw new Error("argument must be of type {string|djs.model.Base|undefined}")}_getTemplateId(e){return lJ(e)}_getTemplateVersion(e){return function(e){const t=qr(e);if(t)return t.get("camunda:modelerTemplateVersion")}(e)}applyTemplate(e,t){let n="apply",i={element:e,newTemplate:t};const r=this.get(e);r&&!t&&(n="unlink",i={element:e}),t&&r&&t.id===r.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:r};return this._commandStack.execute("propertiesPanel.camunda.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,i),o.element}removeTemplate(e){this._injector.get("eventBus").fire("elementTemplates.remove",{element:e});const t={element:e};return this._commandStack.execute("propertiesPanel.removeTemplate",t),t.newElement}unlinkTemplate(e){return this.applyTemplate(e,null)}};vJ.$inject=["commandStack","eventBus","modeling","injector"];(class extends vJ{constructor(e,t,n,i,r){super(t,n,i,r),this._templateElementFactory=e}_getTemplateId(e){return DZ(e)}_getTemplateVersion(e){return function(e){const t=qr(e);if(t)return t.get("zeebe:modelerTemplateVersion")}(e)}createElement(e){if(!e)throw new Error("template is missing");return this._templateElementFactory.create(e)}applyTemplate(e,t){let n="apply",i={element:e,newTemplate:t};const r=this.get(e);r&&!t&&(n="unlink",i={element:e}),t&&r&&t.id===r.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:r};return this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,i),o.element}}).$inject=["templateElementFactory","commandStack","eventBus","modeling","injector"];const bJ="0.16.0",xJ=["bpmn:Activity","bpmn:Event","bpmn:Gateway"];let wJ=class{constructor(e){this._templatesById={},this._validTemplates=[],this._errors=[],this._moddle=e}addAll(e){return c(e)?e.forEach(this.add,this):this._logError("templates must be []"),this}add(e){let t,n;return this._validateTemplate(e)||(t=e.id,n=e.version||"_",this._templatesById[t]||(this._templatesById[t]={}),this._templatesById[t][n]=e,this._validTemplates.push(e)),this}_validateTemplate(e){let t;const n=e.id,i=e.version||"_",r=e.$schema&&EJ(e.$schema);if(r&&_Y(bJ,r)<0)return this._logError(`unsupported element template schema version <${r}>. Your installation only supports up to version <${bJ}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][i])return"_"===i?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${i}> already used`,e);const o=this._validateElementType(e);if(o)return o;const s=nZ(e,OY.exports);const{errors:a,valid:l}=s;return l||(t=new Error("invalid template"),_J(a).forEach((t=>{this._logError(t.message,e)}))),t}_validateElementType(e){if(e.elementType&&e.appliesTo){const t=e.elementType.value,n=e.appliesTo;if(!n.find((e=>this._isType(t,e))))return this._logError(`template does not apply to requested element type <${t}>`,e);for(const i of n)if(!this._canMorph(i,t))return this._logError(`can not morph <${i}> into <${t}>`,e)}}_isType(e,t){const n=this._moddle.getType(e);return n&&t in this._moddle.getElementDescriptor(n).allTypesByName}_canMorph(e,t){if(e===t)return!0;const n=xJ.find((t=>this._isType(e,t)));return!!n&&this._isType(t,n)}_logError(e,t){if(h(e)){if(t){const{id:n,name:i}=t;e=`template(id: <${n}>, name: <${i}>): ${e}`}e=new Error(e)}return this._errors.push(e),e}getErrors(){return this._errors}getValidTemplates(){return this._validTemplates}};function EJ(e){const t=e.match(/\d+\.\d+\.\d+/g);return null===t?void 0:t[0]}function _J(e){return v(e,(e=>{const{dataPath:t,keyword:n}=e;return"errorMessage"===n||!("type"!==n||!t||t.startsWith("/scopes/"))}))}const OJ="0.16.1";class PJ extends wJ{constructor(e){super(e)}_validateTemplate(e){let t;const n=e.id,i=e.version||"_",r=e.$schema,o=r&&EJ(r);if(!r)return this._logError("missing $schema attribute.",e);if(!this.isSchemaValid(r))return this._logError(`unsupported $schema attribute <${r}>.`,e);if(o&&_Y(OJ,o)<0)return this._logError(`unsupported element template schema version <${o}>. Your installation only supports up to version <${OJ}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][i])return"_"===i?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${i}> already used`,e);const s=this._validateElementType(e);if(s)return s;const a=nZ(e,rZ.exports);const{errors:l,valid:c}=a;return c||(t=new Error("invalid template"),_J(l).forEach((t=>{this._logError(t.message,e)}))),t}isSchemaValid(e){return e&&e.includes("@camunda/zeebe-element-templates-json-schema")}}let kJ=class{constructor(e,t,n,i){this._loadTemplates=e,this._eventBus=t,this._elementTemplates=n,this._moddle=i,t.on("diagram.init",(()=>{this.reload()}))}reload(){const e=this._loadTemplates;if(!s(e))return d(e)?e(((e,t)=>{if(e)return this.templateErrors([e]);this.setTemplates(t)})):e.length?this.setTemplates(e):void 0}setTemplates(e){const t=this._elementTemplates,n=this._moddle,i=new wJ(n).addAll(e),r=i.getErrors(),o=i.getValidTemplates();t.set(o),r.length&&this.templateErrors(r),this.templatesChanged()}templatesChanged(){this._eventBus.fire("elementTemplates.changed")}templateErrors(e){this._eventBus.fire("elementTemplates.errors",{errors:e})}};kJ.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];(class extends kJ{constructor(e,t,n,i){super(e,t,n,i),this._elementTemplates=n}setTemplates(e){const t=this._elementTemplates,n=this._moddle,i=new PJ(n).addAll(e),r=i.getErrors(),o=i.getValidTemplates();t.set(o),r.length&&this.templateErrors(r),this.templatesChanged()}}).$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];(class extends ks{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(t){var n=t.context,i=qr(n.oldShape),r=n.newShape,o=qr(r);if(!i.modelerTemplate)return;const s=o.modelerTemplate,a=o.modelerTemplateVersion,l=e.get(s,a);if(!l)return void e.unlinkTemplate(r);const{appliesTo:c,elementType:p}=l;if(p)return void(Ir(r,p.value)&&!function(e,t){if(!Ir(e,"bpmn:Event"))return!1;const{eventDefinition:n}=t,i=qr(e),r=i.get("eventDefinitions");if(!n)return 0!==r.length;return!Ir(r[0],n)}(r,p)||e.unlinkTemplate(r));c.reduce(((e,t)=>e||Ir(o,t)),!1)||e.unlinkTemplate(r)}))}}).$inject=["elementTemplates","injector"];class SJ{constructor(e,t,n,i,r,o,s){this._modeling=e,this._elementFactory=t,this._elementRegistry=n,this._canvas=i,this._bpmnFactory=r,this._replace=o,this._commandStack=s}preExecute(e){const{element:t}=e;t.parent?e.newElement=this._removeTemplate(t):e.newElement=this._removeRootTemplate(t)}_removeTemplate(e){const t=this._replace,n=qr(e),i=n.$type,r=this._getEventDefinitionType(n),o=this._createBlankBusinessObject(e);return t.replaceElement(e,{type:i,businessObject:o,eventDefinitionType:r},{createElementsBehavior:!1})}_removeRootTemplate(e){var t=this._modeling,n=this._elementFactory,i=this._elementRegistry,r=this._canvas;if(js(e)){const t=Ns(e),n=i.get(t);if(n&&n!==e)return r.setRootElement(r.findRoot(n)),this._removeTemplate(n)}const o=qr(e).$type,s=this._createBlankBusinessObject(e),a=n.create("root",{type:o,businessObject:s});return this._commandStack.execute("canvas.updateRoot",{newRoot:a,oldRoot:e}),t.moveElements(e.children,{x:0,y:0},a),a}_getEventDefinitionType(e){if(!e.eventDefinitions)return null;const t=e.eventDefinitions[0];return t?t.$type:null}_createBlankBusinessObject(e){const t=this._bpmnFactory,n=qr(e),i=t.create(n.$type),r=go(e);return r?(Ir(e,"bpmn:Group")&&(i.categoryValueRef=t.create("bpmn:CategoryValue")),yo({businessObject:i},r),i):i}}function CJ(e){const t=e.metadata,n=e.version;if(t){if(!s(t.created))return TJ(t.created);if(!s(t.updated))return TJ(t.updated)}return s(n)?null:n}function TJ(e){const t=new Date(e),n=t.getFullYear(),i=AJ(String(t.getMonth()+1));return AJ(String(t.getDate()))+"."+i+"."+n+" "+AJ(String(t.getHours()))+":"+AJ(String(t.getMinutes()))}function AJ(e){return function(e,t,n){for(;e.length<t;)e=n+e;return e}(e,2,"0")}function MJ(e={}){const{getTemplateId:t=lJ}=e;return function(e){const{id:n,label:i,element:r,entries:o=[]}=e,[s,a]=JI(["groups",n,"open"],!1),l=!o.length;return LE("div",{class:"bio-properties-panel-group bio-properties-panel-templates-group","data-group-id":"group-"+n,children:[LE("div",{class:zE("bio-properties-panel-group-header",{empty:l,open:s&&!l}),onClick:()=>!l&&a(!s),children:[LE("div",{title:i,class:"bio-properties-panel-group-header-title",children:i}),LE("div",{class:"bio-properties-panel-group-header-buttons",children:[LE(DJ,{element:r,getTemplateId:t}),!l&&LE(RJ,{open:s})]})]}),LE("div",{class:zE("bio-properties-panel-group-entries",{open:s&&!l}),children:o.map((e=>{const{component:t,id:n}=e;return lw(t,{...e,key:n,element:r})}))})]})}}function RJ({open:e}){return LE($L,{title:"Toggle section",class:"bio-properties-panel-arrow",children:LE(RI,{class:e?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})}function DJ({element:e,getTemplateId:t}){const n=function(e,t,n){const i=n(t),r=e.get(t);if(!i)return{type:"NO_TEMPLATE"};if(!r)return{type:"UNKNOWN_TEMPLATE",templateId:i};if(r.deprecated)return{type:"DEPRECATED_TEMPLATE",template:r};const o=e.getLatest(i,{deprecated:!0})[0];if(o!==r)return{type:"OUTDATED_TEMPLATE",template:r,newerTemplate:o};return{type:"KNOWN_TEMPLATE",template:r}}(ez("elementTemplates"),e,t);return"NO_TEMPLATE"===n.type?LE(NJ,{element:e}):"KNOWN_TEMPLATE"===n.type?LE(BJ,{element:e}):"UNKNOWN_TEMPLATE"===n.type?LE(jJ,{element:e}):"DEPRECATED_TEMPLATE"===n.type?LE(zJ,{element:e,templateState:n}):"OUTDATED_TEMPLATE"===n.type?LE(LJ,{element:e,templateState:n}):void 0}function NJ({element:e}){const t=ez("translate"),n=ez("eventBus");return LE($L,{title:"Select a template",class:"bio-properties-panel-select-template-button",onClick:()=>n.fire("elementTemplates.select",{element:e}),children:[LE(DI,{}),LE("span",{children:t("Select")})]})}function BJ({element:e}){const t=ez("translate"),n=ez("elementTemplates"),i=[{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:LE($J,{}),action:()=>n.removeTemplate(e)}];return LE(NL,{menuItems:i,class:"bio-properties-panel-applied-template-button",children:LE($L,{children:[LE("span",{children:t("Applied")}),LE(RI,{class:"bio-properties-panel-arrow-down"})]})})}function $J(){return LE("span",{class:"bio-properties-panel-remove-template",children:ez("translate")("Remove")})}function jJ({element:e}){const t=ez("translate"),n=ez("elementTemplates"),i=[{entry:LE(IJ,{})},{separator:!0},{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:LE($J,{}),action:()=>n.removeTemplate(e)}];return LE(NL,{menuItems:i,class:"bio-properties-panel-template-not-found",children:LE($L,{children:[LE("span",{children:t("Not found")}),LE(RI,{class:"bio-properties-panel-arrow-down"})]})})}function IJ(){return LE("div",{class:"bio-properties-panel-template-not-found-text",children:ez("translate")("The template applied was not found. Therefore, its properties cannot be shown. Unlink to access the data.")})}function LJ({element:e,templateState:t}){const{newerTemplate:n}=t,i=ez("translate"),r=ez("elementTemplates"),o=[{entry:LE(qJ,{newerTemplate:n})},{separator:!0},{entry:i("Update"),action:()=>r.applyTemplate(e,n)},{entry:i("Unlink"),action:()=>r.unlinkTemplate(e)},{entry:LE($J,{}),action:()=>r.removeTemplate(e)}];return LE(NL,{menuItems:o,class:"bio-properties-panel-template-update-available",children:LE($L,{children:[LE("span",{children:i("Update available")}),LE(RI,{class:"bio-properties-panel-arrow-down"})]})})}function qJ({newerTemplate:e}){return LE("div",{class:"bio-properties-panel-template-update-available-text",children:ez("translate")("A new version of the template is available: {templateVersion}",{templateVersion:CJ(e)})})}function zJ({element:e,templateState:t}){const{template:n}=t,i=ez("translate"),r=ez("elementTemplates"),o=[{entry:LE(VJ,{template:n})},{separator:!0},{entry:i("Unlink"),action:()=>r.unlinkTemplate(e)},{entry:LE($J,{}),action:()=>r.removeTemplate(e)}];return LE(NL,{menuItems:o,class:"bio-properties-panel-deprecated-template-button",children:LE($L,{children:[LE("span",{children:i("Deprecated")}),LE(RI,{class:"bio-properties-panel-arrow-down"})]})})}function VJ({template:e}){const t=ez("translate"),{message:n=t("This template is deprecated."),documentationRef:i}=e.deprecated;return LE("div",{class:"bio-properties-panel-deprecated-template-text",children:[n,i&&LE(pw,{children:[" ",LE("a",{href:i,children:LE(FJ,{})})]})]})}function FJ(){return LE("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:LE("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.6368 10.6375V5.91761H11.9995V10.6382C11.9995 10.9973 11.8623 11.3141 11.5878 11.5885C11.3134 11.863 10.9966 12.0002 10.6375 12.0002H1.36266C0.982345 12.0002 0.660159 11.8681 0.396102 11.6041C0.132044 11.34 1.52588e-05 11.0178 1.52588e-05 10.6375V1.36267C1.52588e-05 0.98236 0.132044 0.660173 0.396102 0.396116C0.660159 0.132058 0.982345 2.95639e-05 1.36266 2.95639e-05H5.91624V1.36267H1.36266V10.6375H10.6368ZM12 0H7.2794L7.27873 1.36197H9.68701L3.06507 7.98391L4.01541 8.93425L10.6373 2.31231V4.72059H12V0Z",fill:"#818798"})})}function HJ({element:e,elementTemplates:t}){const n=t.get(e);return n?[{id:"template-name",component:UJ,template:n},{id:"template-version",component:WJ,template:n},{id:"template-description",component:XJ,template:n}].filter((e=>!!e.component)):[]}function UJ({id:e,template:t}){return LE(GJ,{id:e,label:ez("translate")("Name"),content:t.name})}function WJ({id:e,template:t}){const n=ez("translate"),i=CJ(t);return i?LE(GJ,{id:e,label:n("Version"),content:i}):null}function XJ({id:e,template:t}){const n=ez("translate"),{description:i}=t;return i?LE(GJ,{id:e,label:n("Description"),content:t.description}):null}function GJ({id:e,label:t,content:n}){return LE("div",{"data-entry-id":e,class:"bio-properties-panel-entry bio-properties-panel-text-entry",children:[LE("span",{class:"bio-properties-panel-label",children:t}),LE("span",{class:"bio-properties-panel-text-entry__content",children:n})]})}SJ.$inject=["modeling","elementFactory","elementRegistry","canvas","bpmnFactory","replace","commandStack"];var QJ,KJ={};function YJ(e,t,n){if(3===e.nodeType){var i="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==YJ.options.trim){var r=0===t||t===n.length-1;if((!(i=i.match(/^[\s\n]+$/g)&&"all"!==YJ.options.trim?" ":i.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===YJ.options.trim||r?"":" "))||" "===i)&&n.length>1&&r)return null}return i}if(1!==e.nodeType)return null;var o=String(e.nodeName).toLowerCase();if("script"===o&&!YJ.options.allowScripts)return null;var s,a,l=YJ.h(o,function(e){var t=e&&e.length;if(!t)return null;for(var n={},i=0;i<t;i++){var r=e[i],o=r.name,s=r.value;"on"===o.substring(0,2)&&YJ.options.allowEvents&&(s=new Function(s)),n[o]=s}return n}(e.attributes),(a=(s=e.childNodes)&&Array.prototype.map.call(s,YJ).filter(JJ))&&a.length?a:null);return YJ.visitor&&YJ.visitor(l),l}var ZJ,JJ=function(e){return e},e0={};function t0(e){var t=(e.type||"").toLowerCase(),n=t0.map;n&&n.hasOwnProperty(t)?(e.type=n[t],e.props=Object.keys(e.props||{}).reduce((function(t,n){var i;return t[(i=n,i.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=e.props[n],t}),{})):e.type=t.replace(/[^a-z0-9-]/i,"")}var n0=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.setReviver=function(e){ZJ=e},t.prototype.shouldComponentUpdate=function(e){var t=this.props;return e.wrap!==t.wrap||e.type!==t.type||e.markup!==t.markup},t.prototype.setComponents=function(e){if(this.map={},e)for(var t in e)if(e.hasOwnProperty(t)){var n=t.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g,"$1$3-$2$4").toLowerCase();this.map[n]=e[t]}},t.prototype.render=function(e){var t=e.wrap;void 0===t&&(t=!0);var n,i=e.type,r=e.markup,o=e.components,s=e.reviver,a=e.onError,l=e["allow-scripts"],c=e["allow-events"],p=e.trim,u=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&-1===t.indexOf(i)&&(n[i]=e[i]);return n}(e,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),d=s||this.reviver||this.constructor.prototype.reviver||ZJ||lw;this.setComponents(o);var h={allowScripts:l,allowEvents:c,trim:p};try{n=function(e,t,n,i,r){var o=function(e,t){var n,i,r,o,s="html"===t?"text/html":"application/xml";"html"===t?(o="body",r="<!DOCTYPE html>\n<html><body>"+e+"</body></html>"):(o="xml",r='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+e+"</xml>");try{n=(new DOMParser).parseFromString(r,s)}catch(e){i=e}if(n||"html"!==t||((n=QJ||(QJ=function(){if(document.implementation&&document.implementation.createHTMLDocument)return document.implementation.createHTMLDocument("");var e=document.createElement("iframe");return e.style.cssText="position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;",e.setAttribute("sandbox","allow-forms"),document.body.appendChild(e),e.contentWindow.document}())).open(),n.write(r),n.close()),n){var a=n.getElementsByTagName(o)[0],l=a.firstChild;return e&&!l&&(a.error="Document parse failed."),l&&"parsererror"===String(l.nodeName).toLowerCase()&&(l.removeChild(l.firstChild),l.removeChild(l.lastChild),a.error=l.textContent||l.nodeValue||i||"Unknown error",a.removeChild(l)),a}}(e,t);if(o&&o.error)throw new Error(o.error);var s=o&&o.body||o;t0.map=i||e0;var a=s&&function(e,t,n,i){return YJ.visitor=t,YJ.h=n,YJ.options=i||KJ,YJ(e)}(s,t0,n,r);return t0.map=null,a&&a.props&&a.props.children||null}(r,i,d,this.map,h)}catch(e){a?a({error:e}):"undefined"!=typeof console&&console.error&&console.error("preact-markup: "+e)}if(!1===t)return n||null;var m=u.hasOwnProperty("className")?"className":"class",f=u[m];return f?f.splice?f.splice(0,0,"markup"):"string"==typeof f?u[m]+=" markup":"object"==typeof f&&(f.markup=!0):u[m]="markup",d("div",u,n||null)},t}(uw);const i0=3,r0=1,o0=["h1","h2","h3","h4","h5","span","em","a","p","div","ul","ol","li","hr","blockquote","img","pre","code","br","strong"],s0=["align","alt","class","href","id","name","rel","target","src"],a0=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,l0=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,c0=document.createElement("form");function p0(e){const t=(new DOMParser).parseFromString(`<!DOCTYPE html>\n<html><body><div>${e}`,"text/html");t.normalize();const n=t.body.firstChild;return n?(u0(n),(new XMLSerializer).serializeToString(n)):""}function u0(e){if(e.nodeType===i0)return;if(e.nodeType!==r0)return e.remove();const t=e.tagName.toLowerCase();if(!o0.includes(t))return e.remove();const n=e.attributes;for(let i=n.length;i--;){const r=n[i],o=r.name,s=o.toLowerCase(),a=r.value.trim();e.removeAttribute(o);d0(t,s,a)&&e.setAttribute(o,a)}"a"===t&&"_blank"===e.getAttribute("target")&&"noopener"!==e.getAttribute("rel")&&e.setAttribute("rel","noopener");for(let t=e.childNodes.length;t--;)u0(e.childNodes[t])}function d0(e,t,n){return!!s0.includes(t)&&(("id"!==t&&"name"!==t||!(n in document)&&!(n in c0))&&(("target"!==t||"_blank"===n)&&!("href"===t&&!a0.test(n.replace(l0,"")))))}function h0(e){const{description:t}=e;return t&&LE(n0,{markup:p0(t),trim:!1})}function m0(e){return function(e,t){return g(qr(e).get("eventDefinitions")||[],(function(e){return Ir(e,t)}))}(e,"bpmn:SignalEventDefinition")}function f0(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function g0(e,t){return e.every(((e,n)=>function(e,t){return JSON.stringify(e,f0)===JSON.stringify(t,f0)}(e,t[n])))}function y0(e,t,n){return e.sort(((e,i)=>t(n,e)-t(n,i)))}(class extends ks{constructor(e,t,n,i){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=i,this.postExecute(["element.updateProperties","element.updateModdleProperties"],this._updatePropertiesOrder,!0,this)}_updatePropertiesOrder(e){const{element:t}=e,n=this._elementTemplates.get(t),i=t.businessObject,r=[];if(!n)return;const o=KZ(t,n).properties,s=NZ(i,"zeebe:Properties");s&&this._updateZeebePropertiesOrder(s,o,r,e);const a=NZ(i,"zeebe:IoMapping");a&&(this._updateInputOrder(a,o,r,e),this._updateOutputOrder(a,o,r,e));const l=NZ(i,"zeebe:TaskHeaders");if(l&&this._updateTaskHeadersOrder(l,o,r,e),r.length){const e=r.filter((e=>null!==e));e.length&&this._commandStack.execute("properties-panel.multi-command-executor",e)}else;}_updateZeebePropertiesOrder(e,t,n,i){const r=e.get("properties");if(r.length<1)return;let o=[...r];y0(o,((e,t)=>e.findIndex((e=>"zeebe:property"==e.binding.type&&e.binding.name===t.get("name")))),t),g0(o,r)||n.push({cmd:"element.updateModdleProperties",context:{...i,moddleElement:e,properties:{properties:o}}})}_updateInputOrder(e,t,n,i){const r=e.get("inputParameters");if(r.length<1)return;let o=[...r];y0(o,((e,t)=>e.findIndex((e=>"zeebe:input"==e.binding.type&&e.binding.name===t.get("target")))),t),g0(o,r)||n.push({cmd:"element.updateModdleProperties",context:{...i,moddleElement:e,properties:{inputParameters:o}}})}_updateOutputOrder(e,t,n,i){const r=e.get("outputParameters");if(r.length<1)return;let o=[...r];y0(o,((e,t)=>e.findIndex((e=>"zeebe:output"==e.binding.type&&e.binding.source===t.get("source")))),t),g0(o,r)||n.push({cmd:"element.updateModdleProperties",context:{...i,moddleElement:e,properties:{outputParameters:o}}})}_updateTaskHeadersOrder(e,t,n,i){const r=e.get("zeebe:values");if(r.length<1)return;let o=[...r];y0(o,((e,t)=>e.findIndex((e=>"zeebe:taskHeader"==e.binding.type&&e.binding.key===t.get("key")))),t),g0(o,r)||n.push({cmd:"element.updateModdleProperties",context:{...i,moddleElement:e,properties:{values:o}}})}}).$inject=["eventBus","elementTemplates","commandStack","bpmnFactory"];function v0(e){return Lr(e,["bpmn:ReceiveTask","bpmn:SendTask","bpmn:Event"])}(class extends ks{constructor(e,t,n,i,r,o){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this._injector=i,this.postExecuted(["element.updateProperties","element.updateModdleProperties"],this._handlePropertiesUpdate,!0,this),this.postExecuted("shape.replace",this._handleReplacement,!0,this),this.postExecuted("shape.delete",this._handleRemoval,!0,this),e.on("copyPaste.pasteElement",(function(e){const{referencedRootElement:t}=e.descriptor;t&&DZ(t)&&(e.descriptor.referencedRootElement=r.copyElement(t,o.create(t.$type)))}))}_handlePropertiesUpdate(e){const{element:t,properties:n}=e;if(!v0(t))return;if(!(RZ in n)||h(n[RZ]))return;const i=LZ(qr(t));i&&DZ(i)&&this._modeling.updateModdleProperties(t,i,{[RZ]:null})}_handleReplacement(e){const{oldShape:t,newShape:n}=e,i=DZ(t),r=DZ(n);if(!v0(t)||!i)return;const o=LZ(qr(t));o&&DZ(o)&&(v0(n)&&r?this._addMessage(n,o):JZ(o,this._injector))}_handleRemoval(e){const{shape:t}=e;if("label"===t.type)return;if(!v0(t))return;if(!DZ(t))return;const n=LZ(qr(t));n&&DZ(n)&&JZ(n,this._injector)}_addMessage(e,t){const n=eJ(e);this._modeling.updateModdleProperties(e,n,{messageRef:t})}}).$inject=["eventBus","elementTemplates","modeling","injector","moddleCopy","bpmnFactory"];(class extends ks{constructor(e,t,n,i,r){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this.preExecute("shape.create",(e=>{const n=e.shape,o=t.get(n);if(!o)return;const s=o.properties.filter((e=>e.generatedValue));s.forEach((e=>{if(!UZ(n,e))return;const t=function(e){if(void 0!==e.value)return e.value;if(e.generatedValue){const{type:t}=e.generatedValue;if("uuid"===t)return wY()}}(e);XZ(r,i,n,e,t)}))}),!0)}}).$inject=["eventBus","elementTemplates","modeling","commandStack","bpmnFactory"];class b0 extends ks{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(n){var i=n.context,r=qr(i.oldShape),o=i.newShape,s=qr(o);if(!r.modelerTemplate)return;const a=s.modelerTemplate,l=s.modelerTemplateVersion,c=e.get(a,l);if(!c)return void e.unlinkTemplate(o,t);const{appliesTo:p,elementType:u}=c;if(u)return void(Ir(o,u.value)||e.unlinkTemplate(o,t));p.reduce(((e,t)=>e||Ir(s,t)),!1)||e.unlinkTemplate(o,t)}))}}function x0(e=[]){const t=[];return p(e)?(b(P(e),(function(n){t.push(L({type:n},e[n]))})),t):e}function w0(e,t,n){const{name:i,scriptFormat:r}=e;let o,s;return r?s=n.create("camunda:Script",{scriptFormat:r,value:t}):o=t,n.create("camunda:InputParameter",{name:i,value:o,definition:s})}function E0(e,t,n){const{scriptFormat:i,source:r}=e;let o,s;return i?s=n.create("camunda:Script",{scriptFormat:i,value:r}):o=r,n.create("camunda:OutputParameter",{name:t,value:o,definition:s})}function _0(e,t="",n){const{name:i}=e;return n.create("camunda:Property",{name:i,value:t})}function O0(e,t,n){const i=A0(e,t);return n.create("camunda:In",i)}function P0(e,t){return t.create("camunda:In",{businessKey:e})}function k0(e,t,n){const i=A0(e,t);return n.create("camunda:Out",i)}function S0(e,t,n){const i=L({},{string:void 0,expression:void 0,name:void 0}),{expression:r,name:o}=e;return r?i.expression=t:i.string=t,i.name=o,n.create("camunda:Field",i)}function C0(e,t,n,i){const r=i.create("camunda:ErrorEventDefinition",{errorRef:t,expression:e});return r.$parent=n,r}function T0(e,t,n){const i=n.create("bpmn:Error",{id:zZ("Error_"+e+"_")});return i.$parent=t,i}function A0(e,t){const n={},{expression:i,source:r,sourceExpression:o,target:s,type:a,variables:l}=e;if("camunda:in"===a)if(!s||i||l)if(s&&!0===i&&!l)n.target=s,n.sourceExpression=t;else if(s||i||"local"!==l)if(s&&!i&&"local"===l)n.local=!0,n.source=t,n.target=s;else if(s&&i&&"local"===l)n.local=!0,n.sourceExpression=t,n.target=s;else{if(s||i||"all"!==l)throw new Error("invalid configuration for camunda:in element template binding");n.variables="all"}else n.local=!0,n.variables="all";else n.target=s,n.source=t;if("camunda:out"===a)if(!r||o||l)if(r||!o||l)if(r||o||"all"!==l)if(r&&!o&&"local"===l)n.local=!0,n.source=r,n.target=t;else if(!r&&o&&"local"===l)n.local=!0,n.sourceExpression=o,n.target=t;else{if(r||o||"local"!==l)throw new Error("invalid configuration for camunda:out element template binding");n.local=!0,n.variables="all"}else n.variables="all";else n.target=t,n.sourceExpression=o;else n.target=t,n.source=r;return n}b0.$inject=["elementTemplates","injector"];const M0=["camunda:class","camunda:delegateExpression","camunda:expression"];class R0{constructor(e,t,n,i){this._bpmnFactory=e,this._bpmnReplace=t,this._commandStack=n,this._modeling=i}preExecute(e){const t=e.newTemplate,n=e.oldTemplate;let i=e.element;this._updateCamundaModelerTemplate(i,t),t&&(i=e.element=this._updateTaskType(i,t),this._updateProperties(i,n,t),this._updateCamundaExecutionListenerProperties(i,t),this._updateCamundaFieldProperties(i,n,t),this._updateCamundaInOutProperties(i,n,t),this._updateCamundaInputOutputParameterProperties(i,n,t),this._updateCamundaPropertyProperties(i,n,t),this._updateCamundaErrorEventDefinitionProperties(i,n,t),x0(t.scopes).forEach((e=>{this._updateScopeProperties(i,n,e,t)})))}_getOrCreateExtensionElements(e){const t=this._bpmnFactory,n=this._modeling,i=qr(e);let r=i.get("extensionElements");return r||(r=t.create("bpmn:ExtensionElements",{values:[]}),r.$parent=i,n.updateProperties(e,{extensionElements:r})),r}_updateCamundaErrorEventDefinitionProperties(e,t,n){const i=this._bpmnFactory,r=this._commandStack,o=n.properties.filter((e=>"camunda:errorEventDefinition"===e.binding.type));if(!o.length)return;const s=this._getOrCreateExtensionElements(e),a=pJ(e,["camunda:ErrorEventDefinition"]);o.forEach((n=>{const o=N0(t,n),l=o&&D0(s,o),c=n.binding;if(o&&l)$0(l,o)||r.execute("element.updateModdleProperties",{element:e,moddleElement:l,properties:{expression:n.value}}),j0(a,l);else{const t=VZ(qr(e)),o=T0(c.errorRef,t,i),a=C0(n.value,o,s,i);r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{rootElements:[...t.get("rootElements"),o]}}),r.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}})),a.length&&r.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:x(s.get("values"),(e=>a.includes(e)))}})}_updateCamundaExecutionListenerProperties(e,t){const n=this._bpmnFactory,i=this._commandStack,r=t.properties.filter((e=>"camunda:executionListener"===e.binding.type));if(!r.length)return;const o=this._getOrCreateExtensionElements(e),s=pJ(e,["camunda:ExecutionListener"]),a=r.map((e=>function(e,t,n){const{event:i,implementationType:r,scriptFormat:o}=e;return"script"===r||o?n.create("camunda:ExecutionListener",{event:i,script:n.create("camunda:Script",{scriptFormat:o,value:t})}):n.create("camunda:ExecutionListener",{event:i,[r]:t})}(e.binding,e.value,n)));i.execute("element.updateModdleProperties",{element:e,moddleElement:o,properties:{values:[...x(o.get("values"),(e=>s.includes(e))),...a]}})}_updateCamundaFieldProperties(e,t,n,i){const r=this._bpmnFactory,o=this._commandStack,s=n.properties.filter((e=>"camunda:field"===e.binding.type));if(!s.length)return;i||(i=this._getOrCreateExtensionElements(e));const a=Lr(i,["camunda:ExecutionListener","camunda:TaskListener"])?"fields":"values",l=pJ(e,["camunda:Field"]);s.forEach((n=>{const s=N0(t,n),c=s&&D0(i,s),p=n.binding;if(s&&c)$0(c,s)||o.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{string:n.value}}),j0(l,c);else{const t=S0(p,n.value,r);o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{[a]:[...i.get(a),t]}})}})),l.length&&o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{[a]:x(i.get(a),(e=>l.includes(e)))}})}_updateCamundaInOutProperties(e,t,n){const i=this._bpmnFactory,r=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return"camunda:in"===t||"camunda:in:businessKey"===t||"camunda:out"===t}));if(!o.length)return;const s=this._getOrCreateExtensionElements(m0(e)||e),a=pJ(s,["camunda:In","camunda:Out"]);o.forEach((n=>{const o=N0(t,n),l=o&&o.binding,c=o&&D0(s,o),p=n.value,u=n.binding,d=u.type,h={};let m;o&&c?($0(c,o)||("camunda:in"===d?u.expression?h["camunda:sourceExpression"]=p:h["camunda:source"]=p:"camunda:in:businessKey"===d?h["camunda:businessKey"]=p:"camunda:out"===d&&(h["camunda:target"]=p)),(l.local&&!u.local||!l.local&&u.local)&&(h.local=u.local),P(h)&&r.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:h}),j0(a,c)):("camunda:in"===d?m=O0(u,p,i):"camunda:out"===d?m=k0(u,p,i):"camunda:in:businessKey"===d&&(m=P0(p,i)),r.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),m]}}))})),a.length&&r.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:x(s.get("values"),(e=>a.includes(e)))}})}_updateCamundaInputOutputParameterProperties(e,t,n,i){const r=this._bpmnFactory,o=this._commandStack,s=n.properties.filter((e=>{const t=e.binding.type;return"camunda:inputParameter"===t||"camunda:outputParameter"===t}));if(!s.length)return;let a;i||(i=this._getOrCreateExtensionElements(e)),Ir(i,"camunda:Connector")?(a=i.get("camunda:inputOutput"),a||(a=r.create("camunda:InputOutput"),o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{inputOutput:a}}))):(a=cJ(i,"camunda:InputOutput"),a||(a=r.create("camunda:InputOutput"),o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:[...i.get("values"),a]}})));const l=a.get("camunda:inputParameters")?a.get("camunda:inputParameters").slice():[],c=a.get("camunda:outputParameters")?a.get("camunda:outputParameters").slice():[];let p;s.forEach((n=>{const s=N0(t,n),u=s&&D0(i,s),d=n.value,h=n.binding,m=h.type;let f,g;s&&u?($0(u,s)||(g=Ir(u,"camunda:InputParameter")?{value:d}:{name:d},o.execute("element.updateModdleProperties",{element:e,moddleElement:u,properties:g})),Ir(u,"camunda:InputParameter")?j0(l,u):j0(c,u)):("camunda:inputParameter"===m?(p="inputParameters",f=w0(h,d,r)):(p="outputParameters",f=E0(h,d,r)),o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{[p]:[...a.get(p),f]}}))})),l.length&&o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{inputParameters:x(a.get("inputParameters"),(e=>l.includes(e)))}}),c.length&&o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{outputParameters:x(a.get("outputParameters"),(e=>c.includes(e)))}})}_updateCamundaModelerTemplate(e,t){this._modeling.updateProperties(e,{"camunda:modelerTemplate":t&&t.id,"camunda:modelerTemplateVersion":t&&t.version})}_updateCamundaPropertyProperties(e,t,n,i){const r=this._bpmnFactory,o=this._commandStack,s=n.properties.filter((e=>"camunda:property"===e.binding.type));if(!s.length)return;let a=cJ(i=i?this._getOrCreateExtensionElements(i):this._getOrCreateExtensionElements(e),"camunda:Properties");a||(a=r.create("camunda:Properties"),o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:[...i.get("values"),a]}}));const l=a.get("camunda:values")?a.get("camunda:values").slice():[];s.forEach((n=>{const s=N0(t,n),c=s&&D0(i,s),p=n.value,u=n.binding;if(s&&c)$0(c,s)||o.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{value:p}}),j0(l,c);else{const t=_0(u,p,r);o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:[...a.get("values"),t]}})}})),l.length&&o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:x(a.get("values"),(e=>l.includes(e)))}})}_updateConditionExpression(e,t,n){const i=this._bpmnFactory,r=this._commandStack,o=this._modeling,s=n.binding,a=n.value;if(!t)return void o.updateProperties(e,{conditionExpression:i.create("bpmn:FormalExpression",{body:a,language:s.scriptFormat})});const l=t.binding,c=t.value,p=qr(e).get("bpmn:conditionExpression"),u={};p.get("body")===c&&(u.body=a),p.get("language")===l.scriptFormat&&(u.language=s.scriptFormat),P(u).length&&r.execute("element.updateModdleProperties",{element:e,moddleElement:p,properties:u})}_updateProperties(e,t,n,i){const r=this._commandStack,o=n.properties.filter((e=>"property"===e.binding.type)),s=t&&t.properties.filter((e=>"property"===e.binding.type));o.length&&(i||(i=qr(e)),o.forEach((n=>{const o=N0(t,n),a=n.binding.name,l=n.value;let c,p;if(o&&j0(s,o),"conditionExpression"===a)this._updateConditionExpression(e,o,n);else{if(c=Ir(i,"bpmn:Error")?i:e,o&&$0(c,o))return;p={},p[a]=l,-1!==M0.indexOf(a)&&M0.forEach((e=>{e!==a&&(p[e]=void 0)})),r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:p})}})),s&&s.forEach((t=>{r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{[t.binding.name]:null}})})))}_updateScopeProperties(e,t,n,i){const r=this._bpmnFactory,o=this._commandStack,s=n.type;let a;a=function(e,t,n){const i=t.type,r=t.id;if("camunda:Connector"===i)return cJ(e,"camunda:Connector");if("bpmn:Error"===i){const t=function(e,t){return g(e.properties,(function(e){return e.binding.errorRef===t}))}(n,r);if(!t)return;const i=D0(e,t);if(!i)return;return i.errorRef}}(e,n,i),a||(a=r.create(s));const l=function(e,t){const n=e.type,i=e.id,r=t&&x0(t.scopes);return r&&g(r,(function(e){return B0(n)?e.id===i:e.type===n}))}(n,t);if(this._updateProperties(e,l,n,a),this._updateCamundaExecutionListenerProperties(e,n),this._updateCamundaInOutProperties(e,l,n),this._updateCamundaInputOutputParameterProperties(e,l,n,a),this._updateCamundaFieldProperties(e,l,n,a),this._updateCamundaPropertyProperties(e,l,n,a),B0(s))return;const c=this._getOrCreateExtensionElements(e);o.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{values:[...c.get("values"),a]}})}_updateTaskType(e,t){const n=t.elementType;return n?e.$type===n.value?e:this._bpmnReplace.replaceElement(e,{type:n.value}):e}}function D0(e,t){let n,i=qr(e);const r=t.binding,o=r.type;if("camunda:field"===o){if(n=Lr(i,["camunda:ExecutionListener","camunda:TaskListener"])?"camunda:fields":"bpmn:values",!i||!i.get(n)||!i.get(n).length)return;return g(i.get(n),(function(e){return e.get("camunda:name")===r.name}))}if("camunda:in"===o)return g(i.get("values"),(function(e){return e.get("target")===r.target}));if("camunda:in:businessKey"===o)return g(i.get("values"),(function(e){return h(e.get("businessKey"))}));if("camunda:out"===o)return g(i.get("values"),(function(e){return e.get("source")===r.source||e.get("sourceExpression")||r.sourceExpression}));if("camunda:inputParameter"===o||"camunda:outputParameter"===o){if(Ir(i,"camunda:Connector")){if(i=i.get("camunda:inputOutput"),!i)return}else if(i=cJ(i,"camunda:InputOutput"),!i)return;return"camunda:inputParameter"===o?g(i.get("camunda:inputParameters"),(function(e){return e.get("camunda:name")===r.name})):g(i.get("camunda:outputParameters"),(function(e){if(r.scriptFormat){const t=e.get("camunda:definition");return t&&t.get("camunda:value")===r.source}return e.get("camunda:value")===r.source}))}if("camunda:property"===o){if(!i||!i.get("values")||!i.get("values").length)return;if(i=cJ(i,"camunda:Properties"),!i)return;return g(i.get("values"),(function(e){return e.get("camunda:name")===r.name}))}return"camunda:errorEventDefinition"===o?fJ(e,r.errorRef):void 0}function N0(e,t){if(!e)return;const n=e.properties,i=t.binding,r=i.name,o=i.type;return"property"===o?g(n,(function(e){const t=e.binding,n=t.name;return"property"===t.type&&n===r})):"camunda:field"===o?g(n,(function(e){const t=e.binding,n=t.name;return"camunda:field"===t.type&&n===r})):"camunda:in"===o?g(n,(function(e){const t=e.binding;if("camunda:in"===t.type&&!(t.expression&&!i.expression||!t.expression&&i.expression))return t.target===i.target})):"camunda:in:businessKey"===o?g(n,(function(e){return"camunda:in:businessKey"===e.binding.type})):"camunda:out"===o?g(n,(function(e){const t=e.binding;return"camunda:out"===t.type&&(t.source===i.source||t.sourceExpression===i.sourceExpression)})):"camunda:inputParameter"===o?g(n,(function(e){const t=e.binding,n=t.name;if("camunda:inputParameter"===t.type)return n===r&&t.scriptFormat===i.scriptFormat})):"camunda:outputParameter"===o?g(n,(function(e){const t=e.binding;if("camunda:outputParameter"===t.type)return t.source===i.source&&t.scriptFormat===i.scriptFormat})):"camunda:property"===o?g(n,(function(e){const t=e.binding,n=t.name;return"camunda:property"===t.type&&n===r})):"camunda:errorEventDefinition"===o?g(n,(function(e){const t=i.errorRef,n=e.binding,r=n.errorRef;return"camunda:errorEventDefinition"===n.type&&r===t})):void 0}function B0(e){return["bpmn:Error"].includes(e)}function $0(e,t){const n=qr(e),i=t.binding,r=i.name,o=i.type,s=t.value;let a,l;return"property"===o?"conditionExpression"===r?(a=n.get("bpmn:conditionExpression"),a.get("bpmn:body")!==s):n.get(r)!==s:"camunda:field"===o?n.get("camunda:string")!==s:"camunda:in"===o?i.expression?n.get("sourceExpression")!==s:n.get("camunda:source")!==s:"camunda:in:businessKey"===o?n.get("camunda:businessKey")!==s:"camunda:out"===o?n.get("camunda:target")!==s:"camunda:inputParameter"===o?i.scriptFormat?(l=n.get("camunda:definition"),l&&l.get("camunda:value")!==s):n.get("camunda:value")!==s:"camunda:outputParameter"===o?n.get("camunda:name")!==s:"camunda:property"===o?n.get("camunda:value")!==s:"camunda:errorEventDefinition"===o?n.get("expression")!==s:void 0}function j0(e,t){const n=e.indexOf(t);return s(n)||e.splice(n,1),e}function I0(e,t,n){e.registerHandler("propertiesPanel.camunda.changeTemplate",R0),e.registerHandler("propertiesPanel.removeTemplate",SJ),n.on(["commandStack.shape.create.postExecuted"],(function(n){const{context:{hints:i={},shape:r}}=n;!1!==i.createElementsBehavior&&q0(r,t,e)})),n.on(["commandStack.connection.create.postExecuted"],(function(n){const{context:{hints:i={},connection:r}}=n;!1!==i.createElementsBehavior&&q0(r,t,e)}))}R0.$inject=["bpmnFactory","bpmnReplace","commandStack","modeling"],I0.$inject=["commandStack","elementTemplates","eventBus"];var L0={__init__:[I0]};function q0(e,t,n){if(!t.get(e)&&t.getDefault(e)){const i="propertiesPanel.camunda.changeTemplate",r={element:e,newTemplate:t.getDefault(e)};n.execute(i,r)}}const z0="camunda:errorEventDefinition",V0="camunda:executionListener",F0="camunda:field",H0="camunda:in:businessKey",U0="camunda:in",W0="camunda:inputParameter",X0="camunda:out",G0="camunda:outputParameter",Q0="camunda:property",K0="property",Y0=[z0,F0,U0,H0,W0,X0,G0,Q0],Z0=[W0,G0],J0=[H0,U0,X0],e1=["Boolean","Integer","String"],t1={id:"ElementTemplates__CustomProperties",label:"Custom properties"};function n1(e){const{element:t,elementTemplate:n}=e,i=[],{id:r,properties:o,groups:s,scopes:a}=n,l=function(e){return C(e,"group")}(o),p=[];return b(l,((e,n)=>{const o=function(e,t){return g(e,(e=>e.id===t))}(s,n);if(!o)return p.push(...e);i1(i,{element:t,id:`ElementTemplates__CustomProperties-${n}`,label:o.label,properties:e,templateId:`${r}-${n}`})})),p.length&&i1(i,{...t1,element:t,properties:p,templateId:r}),c(a)&&a.forEach((e=>{const{properties:n,type:r}=e,o=r.replace(/:/g,"-");i1(i,{element:t,id:`ElementTemplates__CustomGroup-${o}`,label:`Custom properties for scope <${r}>`,properties:n,templateId:o,scope:e})})),i}function i1(e,t){const{element:n,id:i,label:r,properties:o,scope:s,templateId:a}=t,l={id:i,label:r,component:rL,entries:[],shouldOpen:!0};o.forEach(((e,t)=>{const n=function(e,t,n,i){let{type:r}=n;r||(r=function(e){const{binding:t}=e,{type:n}=t;if([K0,Q0,U0,H0,X0,F0].includes(n))return"String";if(n===V0)return"Hidden"}(n));if("Boolean"===r)return{id:e,component:r1,isEdited:WL,property:n,scope:i};if("Dropdown"===r)return{id:e,component:o1,isEdited:ZL,property:n,scope:i};if("String"===r)return{id:e,component:s1,isEdited:cq,property:n,scope:i};if("Text"===r)return{id:e,component:a1,isEdited:oq,property:n,scope:i}}(`custom-entry-${a}-${t}`,0,e,s);n&&l.entries.push(n)})),l.entries.length&&e.push(l)}function r1(e){const{element:t,id:n,property:i,scope:r}=e,{description:o,editable:s,label:a}=i,l=ez("bpmnFactory"),c=ez("commandStack");return UL({element:t,getValue:l1(t,i,r),id:n,label:a,description:h0({description:o}),setValue:c1(l,c,t,i,r),disabled:!1===s})}function o1(e){const{element:t,id:n,property:i,scope:r}=e,{description:o,editable:s,label:a}=i,l=ez("bpmnFactory"),c=ez("commandStack");return YL({element:t,id:n,label:a,getOptions:()=>{const{choices:e}=i;return e.map((({name:e,value:t})=>({label:e,value:t})))},description:h0({description:o}),getValue:l1(t,i,r),setValue:c1(l,c,t,i,r),disabled:!1===s})}function s1(e){const{element:t,id:n,property:i,scope:r}=e,{description:o,editable:s,label:a}=i,l=ez("bpmnFactory"),c=ez("commandStack"),p=ez("debounceInput"),u=ez("translate");return lq({debounce:p,element:t,getValue:l1(t,i,r),id:n,label:a,description:h0({description:o}),setValue:c1(l,c,t,i,r),validate:p1(u,i),disabled:!1===s})}function a1(e){const{element:t,id:n,property:i,scope:r}=e,{description:o,editable:s,label:a}=i,l=ez("bpmnFactory"),c=ez("commandStack");return rq({debounce:ez("debounceInput"),element:t,id:n,label:a,description:h0({description:o}),getValue:l1(t,i,r),setValue:c1(l,c,t,i,r),disabled:!1===s})}function l1(e,t,n){return function(){let i=qr(e);const{binding:r,value:o=""}=t,{name:a,type:l}=r;if(n&&(i=u1(i,n),!i))return o;if("property"===l){const e=i.get(a);return"conditionExpression"===a?e?e.get("body"):o:s(e)?o:e}if(l===z0){const{errorRef:e}=r,t=fJ(i,e);return t?t.get("camunda:expression"):""}if(l===F0){const e=pJ(i,["camunda:Field"]).find((e=>e.get("camunda:name")===a));return e?e.get("camunda:string")||e.get("camunda:expression"):""}if(l===Q0){let e;if(e=n?i.get("properties"):cJ(i,"camunda:Properties"),e){const t=dJ(e,r);if(t)return t.get("camunda:value")}return o}if(Z0.includes(l)){let e;if(e=n?i.get("inputOutput"):cJ(i,"camunda:InputOutput"),!e)return o;if(l===W0){const t=hJ(e,r);if(t){const{scriptFormat:e}=r;if(!e)return t.get("value")||"";{const e=t.get("camunda:definition");if(e)return e.get("camunda:value")}}return o}if(l===G0){const t=mJ(e,r);return t?t.get("camunda:name"):o}}if(J0.includes(l)){const e=uJ(i,r);if(e){if(l===H0)return e.get("camunda:businessKey");if(l===X0)return e.get("camunda:target");if(l===U0){const{expression:t}=r;return t?e.get("camunda:sourceExpression"):e.get("camunda:source")}}return o}throw d1(e,t)}}function c1(e,t,n,i,r){return function(o){let a=qr(n);const{binding:l}=i,{name:c,type:p}=l,u=VZ(a);let d,h;const m=[];if(Y0.includes(p)&&(d=a.get("extensionElements"),d||(d=qZ("bpmn:ExtensionElements",null,a,e),m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{extensionElements:d}}}))),r&&(a=u1(a,r),a||("bpmn:Error"===r.type?(a=T0(r.id,u,e),m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:u,properties:{rootElements:[...u.get("rootElements"),a]}}})):(a=qZ(r.type,null,n,e),m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...d.get("values"),a]}}})))),"property"===p){if("conditionExpression"===c){const{scriptFormat:t}=l;h=qZ("bpmn:FormalExpression",{body:o,language:t},a,e)}else{const e=a.$descriptor.propertiesByName[c],{type:t}=e;if(!e1.includes(t))throw new Error(`cannot set property of type <${t}>`);"Boolean"===t?h=!!o:"Integer"===t?(h=parseInt(o,10),isNaN(h)&&(h=void 0)):h=o||""}s(h)||m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{[c]:h}}})}if(p===z0){const{errorRef:t}=l,i=fJ(a,t);if(i)m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:i,properties:{"camunda:expression":o}}});else{const t=T0(l.errorRef,u,e),i=C0(o,t,d,e);m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:u,properties:{rootElements:[...u.get("rootElements"),t]}}}),m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...d.get("values"),i]}}})}}if(p===F0){const t=pJ(a,["camunda:Field"]),i=[];t.length?t.forEach((t=>{t.name===c?i.push(S0(l,o,e)):i.push(t)})):i.push(S0(l,o,e));const r=d.get("values").filter((e=>!t.includes(e)));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...r,...i]}}})}if(p===Q0){let t;t=r?a.get("properties"):cJ(d,"camunda:Properties"),t||(t=qZ("camunda:Properties",null,a,e),r?m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{properties:t}}}):m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...d.get("values"),t]}}}));const i=dJ(t,l),s=_0(l,o,e),c=t.get("values").filter((e=>e!==i));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{values:[...c,s]}}})}if(Z0.includes(p)){let t;if(t=r?a.get("inputOutput"):cJ(d,"camunda:InputOutput"),t||(t=qZ("camunda:InputOutput",null,a,e),r?m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{inputOutput:t}}}):m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...d.get("values"),t]}}})),p===W0){const i=hJ(t,l),r=w0(l,o,e),s=t.get("camunda:inputParameters").filter((e=>e!==i));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{"camunda:inputParameters":[...s,r]}}})}if(p===G0){const i=mJ(t,l),r=E0(l,o,e),s=t.get("camunda:outputParameters").filter((e=>e!==i));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{"camunda:outputParameters":[...s,r]}}})}}if(J0.includes(p)){const t=uJ(a,l);let i;i=p===U0?O0(l,o,e):p===X0?k0(l,o,e):P0(o,e);const r=d.get("values").filter((e=>e!==t));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...r,i]}}})}if(!m.length)throw d1(n,i);t.execute("properties-panel.multi-command-executor",m)}}function p1(e,t){return function(n){const{constraints:i={}}=t,{maxLength:r,minLength:o,notEmpty:s}=i;if(s&&function(e){return!e||!e.trim().length}(n))return e("Must not be empty.");if(r&&n.length>r)return e("Must have max length {maxLength}.",{maxLength:r});if(o&&n.length<o)return e("Must have min length {minLength}.",{minLength:o});let{pattern:a}=i;if(a){let t;if(h(a)||(t=a.message,a=a.value),!function(e,t){return new RegExp(t).test(e)}(n,a))return t||e("Must match pattern {pattern}.",{pattern:a})}}}function u1(e,t){const{id:n,type:i}=t;if("bpmn:Error"===i){const t=fJ(e,n);if(t)return t.get("errorRef")}return cJ(e,i)}function d1(e,t){const n=qr(e).get("id"),{binding:i}=t,{type:r}=i;return new Error(`unknown binding <${r}> for element <${n}>, this should never happen`)}function h1(e){const{errorEventDefinition:t,id:n}=e,i=ez("translate"),r=ez("debounceInput");return lq({element:t,id:n,label:i("Throw expression"),getValue:()=>t.get("camunda:expression"),setValue:()=>{},debounce:r,disabled:!0})}function m1(e,t){const n=e.find((({id:e})=>e.endsWith(t)));return x(e,n)}function f1(e){const t=e.get("errorRef");if(!t)return"<no reference>";const n=t.get("errorCode"),i=t.get("name")||"<unnamed>";return n?`${i} (code = ${n})`:i}function g1(e){const{element:t,index:n,property:i,groups:r}=e,{binding:o,description:s,label:a}=i,{name:l}=o,c=cJ(qr(t),"camunda:InputOutput"),p=c&&hJ(c,o),u=`${t.id}-inputParameter-${n}`;let d=[];if(p){const e=r.find((({id:e})=>"CamundaPlatform__Input"===e)),t=e.items.find((({entries:e})=>e[0].parameter===p));d=t.entries,d=function(e,t){const n=e.find((({id:e})=>e.endsWith(t)));return x(e,n)}(d,"-name")}d.unshift({id:`${u}-local-variable-assignment`,component:v1,inputParameter:p,property:i}),s&&d.unshift({id:`${u}-description`,component:y1,text:s});return{id:u,label:a||l,entries:d}}function y1(e){const{id:t,text:n}=e;return LE("div",{class:"bio-properties-panel-entry","data-entry-id":t,children:LE("div",{class:"bio-properties-panel-description",children:LE(h0,{description:n})})})}function v1(e){const{element:t,id:n,property:i,inputParameter:r}=e,{binding:o}=i,s=ez("bpmnFactory"),a=ez("modeling"),l=ez("translate");return OL({id:n,label:l("Local variable assignment"),switcherLabel:l(r?"On":"Off"),description:r?"":l("Parameter won't be created as local variable."),getValue:()=>r,setValue:e=>{e?function(e,t,n,i){const{binding:r,value:o}=t,s=qr(e),a=s.get("extensionElements"),l=cJ(s,"camunda:InputOutput");let c,p;if(a)if(l){c=l;const e=w0(r,o,n);e.$parent=l,p={inputParameters:l.get("camunda:inputParameters").concat(e)}}else{c=a;const e=b1(r,o,n,a);p={values:a.get("values").concat(e)}}else{c=s;const e=function(e,t){return qZ("bpmn:ExtensionElements",{values:[]},e,t)}(s,n),t=b1(r,o,n,e);e.values.push(t),p={extensionElements:e}}i.updateModdleProperties(e,c,p)}(t,i,s,a):function(e,t,n){const i=qr(e),r=cJ(i,"camunda:InputOutput"),o=r.get("camunda:inputParameters"),s=hJ(r,t);n.updateModdleProperties(e,r,{inputParameters:x(o,s)})}(t,o,a)}})}function b1(e,t,n,i){const r=w0(e,t,n),o=qZ("camunda:InputOutput",{inputParameters:[r],outputParameters:[]},i,n);return r.$parent=o,o}const x1=/\s/;function w1(e){const{id:t,text:n}=e;return LE("div",{class:"bio-properties-panel-entry","data-entry-id":t,children:LE("div",{class:"bio-properties-panel-description",children:LE(h0,{description:n})})})}function E1(e){const{element:t,id:n,property:i,outputParameter:r}=e,{binding:o}=i,s=ez("bpmnFactory"),a=ez("modeling"),l=ez("translate");return OL({id:n,label:l("Process variable assignment"),switcherLabel:l(r?"On":"Off"),description:r?"":l("Parameter won't be available in process scope."),getValue:()=>r,setValue:e=>{e?function(e,t,n,i){const{binding:r,value:o}=t,s=qr(e),a=s.get("extensionElements"),l=cJ(s,"camunda:InputOutput");let c,p;if(a)if(l){c=l;const e=E0(r,o,n);e.$parent=l,p={outputParameters:l.get("camunda:outputParameters").concat(e)}}else{c=a;const e=O1(r,o,n,a);p={values:a.get("values").concat(e)}}else{c=s;const e=function(e,t){return qZ("bpmn:ExtensionElements",{values:[]},e,t)}(s,n),t=O1(r,o,n,e);e.values.push(t),p={extensionElements:e}}i.updateModdleProperties(e,c,p)}(t,i,s,a):function(e,t,n){const i=qr(e),r=cJ(i,"camunda:InputOutput"),o=r.get("camunda:outputParameters"),s=mJ(r,t);n.updateModdleProperties(e,r,{outputParameters:x(o,s)})}(t,o,a)}})}function _1(e){const{element:t,id:n,property:i}=e,{binding:r}=i,o=mJ(cJ(t,"camunda:InputOutput"),r),s=ez("commandStack"),a=ez("debounceInput"),l=ez("translate");return lq({debounce:a,element:o,id:n,label:l("Assign to process variable"),getValue:()=>o.get("camunda:name"),setValue:e=>{s.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},validate:e=>e?function(e){return x1.test(e)}(e)?l("Process variable name must not contain spaces."):void 0:l("Process variable name must not be empty.")})}function O1(e,t,n,i){const r=E0(e,t,n),o=qZ("camunda:InputOutput",{inputParameters:[],outputParameters:[r]},i,n);return r.$parent=o,o}const P1="camunda:errorEventDefinition",k1="camunda:inputParameter",S1="camunda:outputParameter";class C1{constructor(e,t,n){t.registerProvider(300,this),this._elementTemplates=e,this._injector=n}getGroups(e){return t=>{const n=this._injector;if(!this._shouldShowTemplateProperties(e))return t;T1("documentation",t=t.slice(),[{element:e,id:"ElementTemplates__Template",label:"Template",component:MJ(),entries:HJ({element:e,elementTemplates:this._elementTemplates})}]);const i=this._elementTemplates.get(e);if(i){const r=[].concat(function(e,t,n,i){const r=n.get("translate"),o={label:r("Inputs"),id:"ElementTemplates__Input",component:qL,items:[]},s=t.properties.filter((({binding:e,type:t})=>!t&&e.type===k1));if(s.forEach(((t,n)=>{const r=g1({element:e,index:n,property:t,groups:i});r&&o.items.push(r)})),!o.items.length)return null;return o}(e,i,n,t)||[],function(e,t,n,i){const r=n.get("translate"),o={label:r("Outputs"),id:"ElementTemplates__Output",component:qL,items:[]},s=t.properties.filter((({binding:e,type:t})=>!t&&e.type===S1));if(s.forEach(((t,i)=>{const r=function(e){const{element:t,index:n,injector:i,property:r}=e,{binding:o,description:s,label:a}=r,{name:l}=o,c=cJ(qr(t),"camunda:InputOutput"),p=i.get("translate"),u=c&&mJ(c,o),d=`${t.id}-outputParameter-${n}`;let h=[];return s&&h.push({id:`${d}-description`,component:w1,text:s}),h.push({id:`${d}-local-variable-assignment`,component:E1,outputParameter:u,property:r}),u&&h.push({id:`${d}-assign-to-process-variable`,component:_1,property:r}),{id:d,label:a||l||p("<unnamed>"),entries:h}}({element:e,index:i,property:t,injector:n});r&&o.items.push(r)})),!o.items.length)return null;return o}(e,i,n)||[],function(e,t,n,i){const r=n.get("translate"),o={label:r("Errors"),id:"ElementTemplates__Error",component:qL,items:[]},s=t.properties.filter((({binding:e,type:t})=>!t&&e.type===P1));if(s.forEach(((t,n)=>{const r=function(e){const{element:t,index:n,property:i,groups:r}=e,{binding:o,label:s}=i,{errorRef:a}=o;if(!pJ(qr(t),["camunda:ErrorEventDefinition"]).length)return;const l=fJ(t,a),c=`${t.id}-error-${n}`;let p=[];const u=r.find((({id:e})=>"CamundaPlatform__Errors"===e)),d=u.items.find((({entries:e})=>e[0].errorEventDefinition===l));return p=d.entries,p=m1(p,"-errorRef"),p=m1(p,"-expression"),p.push({id:`${c}-expression`,component:h1,errorEventDefinition:l,property:i}),{id:c,label:s||f1(l),entries:p}}({element:e,index:n,property:t,groups:i});r&&o.items.push(r)})),!o.items.length)return null;return o}(e,i,n,t)||[],n1({element:e,elementTemplate:i}));T1("ElementTemplates__Template",t,r)}return lJ(e)&&(t=function(e,t){if(!e.entriesVisible)return t.filter((e=>"general"===e.id||e.id.startsWith("ElementTemplates__")));return t}(i||{},t)),t}}_shouldShowTemplateProperties(e){return lJ(e)||this._elementTemplates.getAll(e).length}}function T1(e,t,n){const i=t.findIndex((t=>t.id===e));-1!==i?t.splice(i+1,0,...n):t.unshift(...n)}C1.$inject=["elementTemplates","propertiesPanel","injector"];var A1={__depends__:[L0,Fo,WK],__init__:["elementTemplatesLoader","replaceBehavior","elementTemplatesPropertiesProvider"],elementTemplates:["type",vJ],elementTemplatesLoader:["type",kJ],replaceBehavior:["type",b0],elementTemplatesPropertiesProvider:["type",C1]};function M1(){}function R1(e,t){this.model=e,this.properties=t}M1.prototype.get=function(e){return this.$model.properties.get(this,e)},M1.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},R1.prototype.createType=function(e){var t=this.model,n=this.properties,i=Object.create(M1.prototype);b(e.properties,(function(e){e.isMany||void 0===e.default||(i[e.name]=e.default)})),n.defineModel(i,t),n.defineDescriptor(i,e);var r=e.ns.name;function o(e){n.define(this,"$type",{value:r,enumerable:!0}),n.define(this,"$attrs",{value:{}}),n.define(this,"$parent",{writable:!0}),b(e,I((function(e,t){this.set(t,e)}),this))}return o.prototype=i,o.hasType=i.$instanceOf=this.model.hasType,n.defineModel(o,t),n.defineDescriptor(o,e),o};var D1={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},N1={String:function(e){return e},Boolean:function(e){return"true"===e},Integer:function(e){return parseInt(e,10)},Real:function(e){return parseFloat(e)}};function B1(e,t){var n=N1[e];return n?n(t):t}function $1(e){return!!D1[e]}function j1(e){return!!N1[e]}function I1(e,t){var n,i,r=e.split(/:/);if(1===r.length)n=e,i=t;else{if(2!==r.length)throw new Error("expected <prefix:localName> or <localName>, got "+e);n=r[1],i=r[0]}return{name:e=(i?i+":":"")+n,prefix:i,localName:n}}function L1(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function q1(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,b(e,I(this.registerPackage,this))}function z1(e,t,n){var i=t[n];if(i in e)throw new Error("package with "+n+" <"+i+"> already defined")}function V1(e){this.model=e}function F1(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function H1(e){return e.replace(/^:/,"")}function U1(e,t={}){this.properties=new V1(this),this.factory=new R1(this,this.properties),this.registry=new q1(e,this.properties),this.typeCache={},this.config=t}L1.prototype.build=function(){return V(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},L1.prototype.addProperty=function(e,t,n){"boolean"==typeof t&&(n=t,t=void 0),this.addNamedProperty(e,!1!==n);var i=this.properties;void 0!==t?i.splice(t,0,e):i.push(e)},L1.prototype.replaceProperty=function(e,t,n){var i=e.ns,r=this.properties,o=this.propertiesByName,s=e.name!==t.name;if(e.isId){if(!t.isId)throw new Error("property <"+t.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(t,!1)}if(e.isBody){if(!t.isBody)throw new Error("property <"+t.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(t,!1)}var a=r.indexOf(e);if(-1===a)throw new Error("property <"+i.name+"> not found in property list");r.splice(a,1),this.addProperty(t,n?void 0:a,s),o[i.name]=o[i.localName]=t},L1.prototype.redefineProperty=function(e,t,n){var i=e.ns.prefix,r=t.split("#"),o=I1(r[0],i),s=I1(r[1],o.prefix).name,a=this.propertiesByName[s];if(!a)throw new Error("refined property <"+s+"> not found");this.replaceProperty(a,e,n),delete e.redefines},L1.prototype.addNamedProperty=function(e,t){var n=e.ns,i=this.propertiesByName;t&&(this.assertNotDefined(e,n.name),this.assertNotDefined(e,n.localName)),i[n.name]=i[n.localName]=e},L1.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},L1.prototype.setBodyProperty=function(e,t){if(t&&this.bodyProperty)throw new Error("body property defined multiple times (<"+this.bodyProperty.ns.name+">, <"+e.ns.name+">)");this.bodyProperty=e},L1.prototype.setIdProperty=function(e,t){if(t&&this.idProperty)throw new Error("id property defined multiple times (<"+this.idProperty.ns.name+">, <"+e.ns.name+">)");this.idProperty=e},L1.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},L1.prototype.assertNotDefined=function(e,t){var n=e.name,i=this.propertiesByName[n];if(i)throw new Error("property <"+n+"> already defined; override of <"+i.definedBy.ns.name+"#"+i.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},L1.prototype.hasProperty=function(e){return this.propertiesByName[e]},L1.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var n=this.allTypesByName,i=this.allTypes,r=e.name;r in n||(b(e.properties,I((function(n){n=L({},n,{name:n.ns.localName,inherited:t}),Object.defineProperty(n,"definedBy",{value:e});var i=n.replaces,r=n.redefines;i||r?this.redefineProperty(n,i||r,i):(n.isBody&&this.setBodyProperty(n),n.isId&&this.setIdProperty(n),this.addProperty(n))}),this)),i.push(e),n[r]=e)},q1.prototype.getPackage=function(e){return this.packageMap[e]},q1.prototype.getPackages=function(){return this.packages},q1.prototype.registerPackage=function(e){e=L({},e);var t=this.packageMap;z1(t,e,"prefix"),z1(t,e,"uri"),b(e.types,I((function(t){this.registerType(t,e)}),this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},q1.prototype.registerType=function(e,t){var n=I1((e=L({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:L(e.meta||{})})).name,t.prefix),i=n.name,r={};b(e.properties,I((function(e){var t=I1(e.name,n.prefix),i=t.name;$1(e.type)||(e.type=I1(e.type,t.prefix).name),L(e,{ns:t,name:i}),r[i]=e}),this)),L(e,{ns:n,name:i,propertiesByName:r}),b(e.extends,I((function(e){var t=I1(e,n.prefix),r=this.typeMap[t.name];r.traits=r.traits||[],r.traits.push(i)}),this)),this.definePackage(e,t),this.typeMap[i]=e},q1.prototype.mapTypes=function(e,t,n){var i=$1(e.name)?{name:e.name}:this.typeMap[e.name],r=this;function o(n,i){var o=I1(n,$1(n)?"":e.prefix);r.mapTypes(o,t,i)}function s(e){return o(e,!0)}if(!i)throw new Error("unknown type <"+e.name+">");b(i.superClass,n?s:function(e){return o(e,!1)}),t(i,!n),b(i.traits,s)},q1.prototype.getEffectiveDescriptor=function(e){var t=I1(e),n=new L1(t);this.mapTypes(t,(function(e,t){n.addTrait(e,t)}));var i=n.build();return this.definePackage(i,i.allTypes[i.allTypes.length-1].$pkg),i},q1.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},V1.prototype.set=function(e,t,n){if(!h(t)||!t.length)throw new TypeError("property name must be a non-empty string");var i=this.getProperty(e,t),r=i&&i.name;void 0===n?i?delete e[r]:delete e.$attrs[H1(t)]:i?r in e?e[r]=n:F1(e,i,n):e.$attrs[H1(t)]=n},V1.prototype.get=function(e,t){var n=this.getProperty(e,t);if(!n)return e.$attrs[H1(t)];var i=n.name;return!e[i]&&n.isMany&&F1(e,n,[]),e[i]},V1.prototype.define=function(e,t,n){if(!n.writable){var i=n.value;delete(n=L({},n,{get:function(){return i}})).value}Object.defineProperty(e,t,n)},V1.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},V1.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},V1.prototype.getProperty=function(e,t){var n=this.model,i=n.getPropertyDescriptor(e,t);if(i)return i;if(t.includes(":"))return null;const r=n.config.strict;if(void 0!==r){const n=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(r)throw n;"undefined"!=typeof console&&console.warn(n)}return null},U1.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},U1.prototype.getType=function(e){var t=this.typeCache,n=h(e)?e:e.ns.name,i=t[n];return i||(e=this.registry.getEffectiveDescriptor(n),i=t[n]=this.factory.createType(e)),i},U1.prototype.createAny=function(e,t,n){var i=I1(e),r={$type:e,$instanceOf:function(e){return e===this.$type},get:function(e){return this[e]},set:function(e,t){q(this,[e],t)}},o={name:e,isGeneric:!0,ns:{prefix:i.prefix,localName:i.localName,uri:t}};return this.properties.defineDescriptor(r,o),this.properties.defineModel(r,this),this.properties.define(r,"get",{enumerable:!1,writable:!0}),this.properties.define(r,"set",{enumerable:!1,writable:!0}),this.properties.define(r,"$parent",{enumerable:!1,writable:!0}),this.properties.define(r,"$instanceOf",{enumerable:!1,writable:!0}),b(n,(function(e,t){p(e)&&void 0!==e.value?r[e.name]=e.value:r[t]=e})),r},U1.prototype.getPackage=function(e){return this.registry.getPackage(e)},U1.prototype.getPackages=function(){return this.registry.getPackages()},U1.prototype.getElementDescriptor=function(e){return e.$descriptor},U1.prototype.hasType=function(e,t){return void 0===t&&(t=e,e=this),t in e.$model.getElementDescriptor(e).allTypesByName},U1.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},U1.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var W1=String.fromCharCode,X1=Object.prototype.hasOwnProperty,G1=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,Q1={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function K1(e,t,n,i){return i?X1.call(Q1,i)?Q1[i]:"&"+i+";":W1(t||parseInt(n,16))}function Y1(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(G1,K1):e}Object.keys(Q1).forEach((function(e){Q1[e.toUpperCase()]=Q1[e]}));var Z1="xsi:type",J1="non-whitespace outside of root node";function e2(e){return new Error(e)}function t2(e){return"missing namespace for prefix <"+e+">"}function n2(e){return{get:e,enumerable:!0}}function i2(e){var t,n={};for(t in e)n[t]=e[t];return n}function r2(e){return e+"$uri"}function o2(){return{line:0,column:0}}function s2(e){throw e}function a2(e){if(!this)return new a2(e);var t,n,i,r,o,s,a,l,c,p=e&&e.proxy,u=s2,d=o2,h=!1,m=!1,f=null,g=!1;function y(e){e instanceof Error||(e=e2(e)),f=e,u(e,d)}function v(e){o&&(e instanceof Error||(e=e2(e)),o(e,d))}this.on=function(e,c){if("function"!=typeof c)throw e2("required args <name, cb>");switch(e){case"openTag":n=c;break;case"text":t=c;break;case"closeTag":i=c;break;case"error":u=c;break;case"warn":o=c;break;case"cdata":r=c;break;case"attention":l=c;break;case"question":a=c;break;case"comment":s=c;break;default:throw e2("unsupported event: "+e)}return this},this.ns=function(e){if(void 0===e&&(e={}),"object"!=typeof e)throw e2("required args <nsMap={}>");var t,n={};for(t in e)n[t]=e[t];return n["http://www.w3.org/2001/XMLSchema-instance"]="xsi",m=!0,c=n,this},this.parse=function(e){if("string"!=typeof e)throw e2("required args <xml=string>");return f=null,function(e){var o,u,f,b,x,w,E,_,O,P,k,S=m?[]:null,C=m?function(e){var t,n,i={};for(t in e)i[n=e[t]]=n,i[r2(n)]=t;return i}(c):null,T=[],A=0,M=!1,R=!1,D=0,N=0,B="",$=0;function j(){if(null!==k)return k;var e,t,n,i,r,o,s,a,l,p,u,d=m&&C.xmlns,f=m&&h?[]:null,g=$,y=B,b=y.length,x={},w={};e:for(;g<b;g++)if(l=!1,!(32===(p=y.charCodeAt(g))||p<14&&p>8)){for((p<65||p>122||p>90&&p<97)&&95!==p&&58!==p&&(v("illegal first char attribute name"),l=!0),u=g+1;u<b;u++)if(!((p=y.charCodeAt(u))>96&&p<123||p>64&&p<91||p>47&&p<59||46===p||45===p||95===p)){if(32===p||p<14&&p>8){v("missing attribute value"),g=u;continue e}if(61===p)break;v("illegal attribute name char"),l=!0}if("xmlns:xmlns"===(a=y.substring(g,u))&&(v("illegal declaration of xmlns"),l=!0),34===(p=y.charCodeAt(u+1)))-1===(u=y.indexOf('"',g=u+2))&&-1!==(u=y.indexOf("'",g))&&(v("attribute value quote missmatch"),l=!0);else if(39===p)-1===(u=y.indexOf("'",g=u+2))&&-1!==(u=y.indexOf('"',g))&&(v("attribute value quote missmatch"),l=!0);else for(v("missing attribute value quotes"),l=!0,u+=1;u<b&&!(32===(p=y.charCodeAt(u+1))||p<14&&p>8);u++);for(-1===u&&(v("missing closing quotes"),u=b,l=!0),l||(o=y.substring(g,u)),g=u;u+1<b&&!(32===(p=y.charCodeAt(u+1))||p<14&&p>8);u++)g===u&&(v("illegal character after attribute end"),l=!0);if(g=u+1,!l)if(a in w)v("attribute <"+a+"> already defined");else if(w[a]=!0,m)if(h){if(null!==(r="xmlns"===a?"xmlns":120===a.charCodeAt(0)&&"xmlns:"===a.substr(0,6)?a.substr(6):null)){if(e=Y1(o),t=r2(r),!(s=c[e])){if("xmlns"===r||t in C&&C[t]!==e)do{s="ns"+A++}while(void 0!==C[s]);else s=r;c[e]=s}C[r]!==s&&(i||(C=i2(C),i=!0),C[r]=s,"xmlns"===r&&(C[r2(s)]=e,d=s),C[t]=e),x[a]=o;continue}f.push(a,o)}else-1!==(p=a.indexOf(":"))?(n=C[a.substring(0,p)])?((a=d===n?a.substr(p+1):n+a.substr(p))===Z1&&(-1!==(p=o.indexOf(":"))?(n=o.substring(0,p),o=(n=C[n]||n)+o.substring(p)):o=d+":"+o),x[a]=o):v(t2(a.substring(0,p))):x[a]=o;else x[a]=o}if(h)for(g=0,b=f.length;g<b;g++){if(a=f[g++],o=f[g],-1!==(p=a.indexOf(":"))){if(!(n=C[a.substring(0,p)])){v(t2(a.substring(0,p)));continue}(a=d===n?a.substr(p+1):n+a.substr(p))===Z1&&(-1!==(p=o.indexOf(":"))?(n=o.substring(0,p),o=(n=C[n]||n)+o.substring(p)):o=d+":"+o)}x[a]=o}return k=x}function I(){for(var t,n,i=/(\r\n|\r|\n)/g,r=0,o=0,s=0,a=N;D>=s&&(t=i.exec(e))&&!((a=t[0].length+t.index)>D);)r+=1,s=a;return-1==D?(o=a,n=e.substring(N)):0===N?n=e.substring(N,D):(o=D-s,n=-1==N?e.substring(D):e.substring(D,N+1)),{data:n,line:r,column:o}}d=I,p&&(P=Object.create({},{name:n2((function(){return _})),originalName:n2((function(){return O})),attrs:n2(j),ns:n2((function(){return C}))}));for(;-1!==N;){if(-1===(D=60===e.charCodeAt(N)?N:e.indexOf("<",N)))return T.length?y("unexpected end of file"):0===N?y("missing start tag"):void(N<e.length&&e.substring(N).trim()&&v(J1));if(N!==D)if(T.length){if(t&&(t(e.substring(N,D),Y1,d),g))return}else if(e.substring(N,D).trim()&&(v(J1),g))return;if(33===(x=e.charCodeAt(D+1))){if(91===(b=e.charCodeAt(D+2))&&"CDATA["===e.substr(D+3,6)){if(-1===(N=e.indexOf("]]>",D)))return y("unclosed cdata");if(r&&(r(e.substring(D+9,N),d),g))return;N+=3;continue}if(45===b&&45===e.charCodeAt(D+3)){if(-1===(N=e.indexOf("--\x3e",D)))return y("unclosed comment");if(s&&(s(e.substring(D+4,N),Y1,d),g))return;N+=3;continue}}if(63!==x){for(u=D+1;;u++){if(w=e.charCodeAt(u),isNaN(w))return N=-1,y("unclosed tag");if(34===w)u=-1!==(b=e.indexOf('"',u+1))?b:u;else if(39===w)u=-1!==(b=e.indexOf("'",u+1))?b:u;else if(62===w){N=u;break}}if(33!==x){if(k={},47===x){if(M=!1,R=!0,!T.length)return y("missing open tag");if(u=_=T.pop(),b=D+2+u.length,e.substring(D+2,b)!==u)return y("closing tag mismatch");for(;b<N;b++)if(!(32===(x=e.charCodeAt(b))||x>8&&x<14))return y("close tag")}else{if(47===e.charCodeAt(N-1)?(u=_=e.substring(D+1,N-1),M=!0,R=!0):(u=_=e.substring(D+1,N),M=!0,R=!1),!(x>96&&x<123||x>64&&x<91||95===x||58===x))return y("illegal first char nodeName");for(b=1,f=u.length;b<f;b++)if(!((x=u.charCodeAt(b))>96&&x<123||x>64&&x<91||x>47&&x<59||45===x||95===x||46==x)){if(32===x||x<14&&x>8){_=u.substring(0,b),k=null;break}return y("invalid nodeName")}R||T.push(_)}if(m){if(o=C,M&&(R||S.push(o),null===k&&(h=-1!==u.indexOf("xmlns",b))&&($=b,B=u,j(),h=!1)),O=_,-1!==(x=_.indexOf(":"))){if(!(E=C[_.substring(0,x)]))return y("missing namespace on <"+O+">");_=_.substr(x+1)}else E=C.xmlns;E&&(_=E+":"+_)}if(M&&($=b,B=u,n&&(p?n(P,Y1,R,d):n(_,j,Y1,R,d),g)))return;if(R){if(i&&(i(p?P:_,Y1,M,d),g))return;m&&(C=M?o:S.pop())}N+=1}else{if(l&&(l(e.substring(D,N+1),Y1,d),g))return;N+=1}}else{if(-1===(N=e.indexOf("?>",D)))return y("unclosed question");if(a&&(a(e.substring(D,N+2),d),g))return;N+=2}}}(e),d=o2,g=!1,f},this.stop=function(){g=!0}}function l2(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var c2={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},p2="xsi:type";function u2(e){return e.xml&&e.xml.serialize}function d2(e){return u2(e)===p2}function h2(e,t){return l2(t)?e.prefix+":"+((n=e.localName).charAt(0).toUpperCase()+n.slice(1)):e.name;var n}function m2(e){return new Error(e)}function f2(e){return e.$descriptor}function g2(e){L(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(e){this.references.push(e)},this.addElement=function(e){if(!e)throw m2("expected element");var t,n=this.elementsById,i=f2(e).idProperty;if(i&&(t=e.get(i.name))){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(t))throw new Error("illegal ID <"+t+">");if(n[t])throw m2("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function y2(){}function v2(){}function b2(){}function x2(e,t){this.property=e,this.context=t}function w2(e,t){this.element=t,this.propertyDesc=e}function E2(){}function _2(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function O2(e,t,n){_2.call(this,e,t,n)}function P2(e,t,n){this.model=e,this.context=n}function k2(e){e instanceof U1&&(e={model:e}),L(this,{lax:!1},e)}y2.prototype.handleEnd=function(){},y2.prototype.handleText=function(){},y2.prototype.handleNode=function(){},v2.prototype=Object.create(y2.prototype),v2.prototype.handleNode=function(){return this},b2.prototype=Object.create(y2.prototype),b2.prototype.handleText=function(e){this.body=(this.body||"")+e},x2.prototype=Object.create(b2.prototype),x2.prototype.handleNode=function(e){if(this.element)throw m2("expected no sub nodes");return this.element=this.createReference(e),this},x2.prototype.handleEnd=function(){this.element.id=this.body},x2.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},w2.prototype=Object.create(b2.prototype),w2.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=B1(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},E2.prototype=Object.create(b2.prototype),E2.prototype.handleNode=function(e){var t=this,n=this.element;return n?t=this.handleChild(e):(n=this.element=this.createElement(e),this.context.addElement(n)),t},_2.prototype=Object.create(E2.prototype),_2.prototype.addReference=function(e){this.context.addReference(e)},_2.prototype.handleText=function(e){if(!f2(this.element).bodyProperty)throw m2("unexpected body text <"+e+">");b2.prototype.handleText.call(this,e)},_2.prototype.handleEnd=function(){var e=this.body,t=this.element,n=f2(t).bodyProperty;n&&void 0!==e&&(e=B1(n.type,e),t.set(n.name,e))},_2.prototype.createElement=function(e){var t,n=e.attributes,i=this.type,r=f2(i),o=this.context,s=new i({}),a=this.model;return b(n,(function(e,n){var i=r.propertiesByName[n];i&&i.isReference?i.isMany?b(e.split(" "),(function(e){o.addReference({element:s,property:i.ns.name,id:e})})):o.addReference({element:s,property:i.ns.name,id:e}):(i?e=B1(i.type,e):"xmlns"!==n&&(t=I1(n,r.ns.prefix),a.getPackage(t.prefix)&&o.addWarning({message:"unknown attribute <"+n+">",element:s,property:n,value:e})),s.set(n,e))})),s},_2.prototype.getPropertyForNode=function(e){var t,n,i=I1(e.name),r=this.type,o=this.model,s=f2(r),a=i.name,l=s.propertiesByName[a];if(l&&!l.isAttr)return d2(l)&&(t=e.attributes[p2])?(t=function(e,t){var n=I1(e);return function(e,t){var n=e.name,i=e.localName,r=t.xml&&t.xml.typePrefix;return r&&0===i.indexOf(r)?e.prefix+":"+i.slice(r.length):n}(n,t.getPackage(n.prefix))}(t,o),L({},l,{effectiveType:f2(n=o.getType(t)).name})):l;var c=o.getPackage(i.prefix);if(c){if(t=h2(i,c),n=o.getType(t),l=g(s.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})),l)return L({},l,{effectiveType:f2(n).name})}else if(l=g(s.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})),l)return l;throw m2("unrecognized element <"+i.name+">")},_2.prototype.toString=function(){return"ElementDescriptor["+f2(this.type).name+"]"},_2.prototype.valueHandler=function(e,t){return new w2(e,t)},_2.prototype.referenceHandler=function(e){return new x2(e,this.context)},_2.prototype.handler=function(e){return"Element"===e?new P2(this.model,e,this.context):new _2(this.model,e,this.context)},_2.prototype.handleChild=function(e){var t,n,i,r;if(t=this.getPropertyForNode(e),i=this.element,j1(n=t.effectiveType||t.type))return this.valueHandler(t,i);var o=(r=t.isReference?this.referenceHandler(t).handleNode(e):this.handler(n).handleNode(e)).element;return void 0!==o&&(t.isMany?i.get(t.name).push(o):i.set(t.name,o),t.isReference?(L(o,{element:i}),this.context.addReference(o)):o.$parent=i),r},O2.prototype=Object.create(_2.prototype),O2.prototype.createElement=function(e){var t=e.name,n=I1(t),i=this.model,r=this.type,o=i.getPackage(n.prefix),s=o&&h2(n,o)||t;if(!r.hasType(s))throw m2("unexpected element <"+e.originalName+">");return _2.prototype.createElement.call(this,e)},P2.prototype=Object.create(E2.prototype),P2.prototype.createElement=function(e){var t=e.name,n=I1(t).prefix,i=e.ns[n+"$uri"],r=e.attributes;return this.model.createAny(t,i,r)},P2.prototype.handleChild=function(e){var t=new P2(this.model,"Element",this.context).handleNode(e),n=this.element,i=t.element;return void 0!==i&&((n.$children=n.$children||[]).push(i),i.$parent=n),t},P2.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},k2.prototype.fromXML=function(e,t,n){var i=t.rootHandler;t instanceof _2?(i=t,t={}):"string"==typeof t?(i=this.handler(t),t={}):"string"==typeof i&&(i=this.handler(i));var r=this.model,o=this.lax,s=new g2(L({},t,{rootHandler:i})),a=new a2({proxy:!0}),l=function(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}();function c(e,t,n){var i=t(),r=i.line,o=i.column,a=i.data;"<"===a.charAt(0)&&-1!==a.indexOf(" ")&&(a=a.slice(0,a.indexOf(" "))+">");var l="unparsable content "+(a?a+" ":"")+"detected\n\tline: "+r+"\n\tcolumn: "+o+"\n\tnested error: "+e.message;if(n)return s.addWarning({message:l,error:e}),!0;throw m2(l)}function p(e,t){return c(e,t,!0)}i.context=s,l.push(i);var u=/^<\?xml /i,d=/ encoding="([^"]+)"/i,h=/^utf-8$/i;function m(e,t){try{l.peek().handleText(e)}catch(e){p(e,t)}}var f=r.getPackages().reduce((function(e,t){return e[t.uri]=t.prefix,e}),{"http://www.w3.org/XML/1998/namespace":"xml"});return a.ns(f).on("openTag",(function(e,t,n,i){var r=e.attrs||{},s=Object.keys(r).reduce((function(e,n){var i=t(r[n]);return e[n]=i,e}),{});!function(e,t){var n=l.peek();try{l.push(n.handleNode(e))}catch(e){c(e,t,o)&&l.push(new v2)}}({name:e.name,originalName:e.originalName,attributes:s,ns:e.ns},i)})).on("question",(function(e){if(u.test(e)){var t=d.exec(e),n=t&&t[1];n&&!h.test(n)&&s.addWarning({message:"unsupported document encoding <"+n+">, falling back to UTF-8"})}})).on("closeTag",(function(){l.pop().handleEnd()})).on("cdata",m).on("text",(function(e,t,n){!function(e,t){e.trim()&&m(e,t)}(t(e),n)})).on("error",c).on("warn",p),new Promise((function(t,n){var r;try{a.parse(e),function(){var e,t,n=s.elementsById,i=s.references;for(e=0;t=i[e];e++){var r=t.element,o=n[t.id],a=f2(r).propertiesByName[t.property];if(o||s.addWarning({message:"unresolved reference <"+t.id+">",element:t.element,property:t.property,value:t.id}),a.isMany){var l=r.get(a.name),c=l.indexOf(t);-1===c&&(c=l.length),o?l[c]=o:l.splice(c,1)}else r.set(a.name,o)}}()}catch(e){r=e}var o=i.element;r||o||(r=m2("failed to parse document as <"+i.type.$descriptor.name+">"));var l=s.warnings,c=s.references,p=s.elementsById;return r?(r.warnings=l,n(r)):t({rootElement:o,elementsById:p,references:c,warnings:l})}))},k2.prototype.handler=function(e){return new O2(this.model,e)};var S2=/<|>|'|"|&|\n\r|\n/g,C2=/<|>|&/g;function T2(e){var t={},n={},i={},r=[],o=[];this.byUri=function(t){return n[t]||e&&e.byUri(t)},this.add=function(e,t){n[e.uri]=e,t?r.push(e):o.push(e),this.mapPrefix(e.prefix,e.uri)},this.uriByPrefix=function(e){return t[e||"xmlns"]},this.mapPrefix=function(e,n){t[e||"xmlns"]=n},this.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},this.logUsed=function(t){var n=t.uri,r=this.getNSKey(t);i[r]=this.byUri(n),e&&e.logUsed(t)},this.getUsed=function(e){var t=this;return[].concat(r,o).filter((function(e){var n=t.getNSKey(e);return i[n]}))}}function A2(e,t){return l2(t)?function(e){return e.charAt(0).toLowerCase()+e.slice(1)}(e):e}function M2(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function R2(e){return h(e)?e:(e.prefix?e.prefix+":":"")+e.localName}var D2={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},N2={"<":"lt",">":"gt","&":"amp"};function B2(e,t,n){return(e=h(e)?e:""+e).replace(t,(function(e){return"&"+n[e]+";"}))}function $2(e){this.tagName=e}function j2(){}function I2(e){this.tagName=e}function L2(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function q2(e,t){L2.call(this,e,t)}function z2(){this.value="",this.write=function(e){this.value+=e}}function V2(e,t){var n=[""];this.append=function(t){return e.write(t),this},this.appendNewLine=function(){return t&&e.write("\n"),this},this.appendIndent=function(){return t&&e.write(n.join(" ")),this},this.indent=function(){return n.push(""),this},this.unindent=function(){return n.pop(),this}}function F2(e){return e=L({format:!1,preamble:!0},e||{}),{toXML:function(t,n){var i=n||new z2,r=new V2(i,e.format);if(e.preamble&&r.append('<?xml version="1.0" encoding="UTF-8"?>\n'),(new L2).build(t).serializeTo(r),!n)return i.value}}}function H2(e,t){U1.call(this,e,t)}$2.prototype.build=function(e){return this.element=e,this},$2.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()},j2.prototype.serializeValue=j2.prototype.serializeTo=function(e){e.append(this.escape?B2(this.value,C2,N2):this.value)},j2.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(C2)&&(this.escape=!0),this},M2(I2,j2),I2.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()},L2.prototype.build=function(e){this.element=e;var t,n,i=e.$descriptor,r=this.propertyDescriptor,o=i.isGeneric;return t=o?this.parseGeneric(e):this.parseNsAttributes(e),this.ns=r?this.nsPropertyTagName(r):this.nsTagName(i),this.tagName=this.addTagName(this.ns),o||(n=function(e){return v(e.$descriptor.properties,(function(t){var n=t.name;if(t.isVirtual)return!1;if(!f(e,n))return!1;var i=e[n];return i!==t.default&&null!==i&&(!t.isMany||i.length)}))}(e),this.parseAttributes(v(n,(function(e){return e.isAttr}))),this.parseContainments(function(e){return v(e,(function(e){return!e.isAttr}))}(n))),this.parseGenericAttributes(e,t),this},L2.prototype.nsTagName=function(e){return function(e,t){return t.isGeneric?L({localName:t.ns.localName},e):L({localName:A2(t.ns.localName,t.$pkg)},e)}(this.logNamespaceUsed(e.ns),e)},L2.prototype.nsPropertyTagName=function(e){return function(e,t){return L({localName:t.ns.localName},e)}(this.logNamespaceUsed(e.ns),e)},L2.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},L2.prototype.nsAttributeName=function(e){var t;if(t=h(e)?I1(e):e.ns,e.inherited)return{localName:t.localName};var n=this.logNamespaceUsed(t);return this.getNamespaces().logUsed(n),this.isLocalNs(n)?{localName:t.localName}:L({localName:t.localName},n)},L2.prototype.parseGeneric=function(e){var t=this,n=this.body,i=[];return b(e,(function(r,o){"$body"===o?n.push((new j2).build({type:"String"},r)):"$children"===o?b(r,(function(e){n.push(new L2(t).build(e))})):0!==o.indexOf("$")&&t.parseNsAttribute(e,o,r)&&i.push({name:o,value:r})})),i},L2.prototype.parseNsAttribute=function(e,t,n){var i,r=e.$model,o=I1(t);if("xmlns"===o.prefix&&(i={prefix:o.localName,uri:n}),o.prefix||"xmlns"!==o.localName||(i={uri:n}),!i)return{name:t,value:n};if(r&&r.getPackage(n))this.logNamespace(i,!0,!0);else{var s=this.logNamespaceUsed(i,!0);this.getNamespaces().logUsed(s)}},L2.prototype.parseNsAttributes=function(e,t){var n=this,i=e.$attrs,r=[];return b(i,(function(t,i){var o=n.parseNsAttribute(e,i,t);o&&r.push(o)})),r},L2.prototype.parseGenericAttributes=function(e,t){var n=this;b(t,(function(t){if(t.name!==p2)try{n.addAttribute(n.nsAttributeName(t.name),t.value)}catch(n){console.warn("missing namespace information for ",t.name,"=",t.value,"on",e,n)}}))},L2.prototype.parseContainments=function(e){var t=this,n=this.body,i=this.element;b(e,(function(e){var r=i.get(e.name),o=e.isReference;if(e.isMany||(r=[r]),e.isBody)n.push((new j2).build(e,r[0]));else if(j1(e.type))b(r,(function(i){n.push(new I2(t.addTagName(t.nsPropertyTagName(e))).build(e,i))}));else if(o)b(r,(function(i){n.push(new $2(t.addTagName(t.nsPropertyTagName(e))).build(i))}));else{var s=d2(e),a=function(e){return"property"===u2(e)}(e);b(r,(function(i){var r;r=s?new q2(t,e):a?new L2(t,e):new L2(t),n.push(r.build(i))}))}}))},L2.prototype.getNamespaces=function(e){var t,n=this.namespaces,i=this.parent;return n||(t=i&&i.getNamespaces(),e||!t?this.namespaces=n=new T2(t):n=t),n},L2.prototype.logNamespace=function(e,t,n){var i=this.getNamespaces(n),r=e.uri,o=e.prefix;return i.byUri(r)&&!n||i.add(e,t),i.mapPrefix(o,r),e},L2.prototype.logNamespaceUsed=function(e,t){var n,i,r,o=this.element.$model,s=this.getNamespaces(t),a=e.prefix,l=e.uri;if(!a&&!l)return{localName:e.localName};if(r=c2[a]||o&&(o.getPackage(a)||{}).uri,!(l=l||r||s.uriByPrefix(a)))throw new Error("no namespace uri given for prefix <"+a+">");if(!(e=s.byUri(l))){for(n=a,i=1;s.uriByPrefix(n);)n=a+"_"+i++;e=this.logNamespace({prefix:n,uri:l},r===l)}return a&&s.mapPrefix(a,l),e},L2.prototype.parseAttributes=function(e){var t=this,n=this.element;b(e,(function(e){var i=n.get(e.name);if(e.isReference)if(e.isMany){var r=[];b(i,(function(e){r.push(e.id)})),i=r.join(" ")}else i=i.id;t.addAttribute(t.nsAttributeName(e),i)}))},L2.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),R2(e)},L2.prototype.addAttribute=function(e,t){var n=this.attrs;h(t)&&(t=B2(t,S2,D2));var i=y(n,(function(t){return t.name.localName===e.localName&&t.name.uri===e.uri&&t.name.prefix===e.prefix})),r={name:e,value:t};-1!==i?n.splice(i,1,r):n.push(r)},L2.prototype.serializeAttributes=function(e){var t=this.attrs,n=this.namespaces;n&&(t=function(e){return e.getUsed().filter((function(e){return"xml"!==e.prefix})).map((function(e){return{name:"xmlns"+(e.prefix?":"+e.prefix:""),value:e.uri}}))}(n).concat(t)),b(t,(function(t){e.append(" ").append(R2(t.name)).append('="').append(t.value).append('"')}))},L2.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==j2;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(n&&e.appendNewLine().indent(),b(this.body,(function(t){t.serializeTo(e)})),n&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()},M2(q2,L2),q2.prototype.parseNsAttributes=function(e){var t=L2.prototype.parseNsAttributes.call(this,e),n=e.$descriptor;if(n.name===this.propertyDescriptor.type)return t;var i=this.typeNs=this.nsTagName(n);this.getNamespaces().logUsed(this.typeNs);var r=e.$model.getPackage(i.uri),o=r.xml&&r.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(p2),(i.prefix?i.prefix+":":"")+o+n.ns.localName),t},q2.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},H2.prototype=Object.create(U1.prototype),H2.prototype.fromXML=function(e,t,n){h(t)||(n=t,t="bpmn:Definitions");var i=new k2(L({model:this,lax:!0},n)),r=i.handler(t);return i.fromXML(e,r)},H2.prototype.toXML=function(e,t){var n=new F2(t);return new Promise((function(t,i){try{return t({xml:n.toXML(e)})}catch(e){return i(e)}}))};class U2{constructor(e){this._generate=e,this.value=null,this.valid=!1}invalidate(){this.valid=!1}get(){return this.valid||(this.value=this._generate(),this.valid=!0),this.value}}function W2(e){return!!function(e){return G2(e,"outputParameters")}(e).length}function X2(e,t){return function(e){return G2(e,"inputParameters")}(e).find((function(e){return e.target===t||e.name===t}))}function G2(e,t){var n=function(e){return Q2(e,"zeebe:IoMapping")[0]||Q2(e,"camunda:InputOutput")[0]}(e);return n&&n.get(t)||[]}function Q2(e,t){var n=[],i=e.get("extensionElements");if(void 0!==i){var r=i.get("values");void 0!==r&&(n=v(r,(function(e){return Ir(e,t)})))}return n}function K2(e,t,n){var i=Y2(e);if(W2(e))return e;var r=i.find((function(e){return Ir(e,"bpmn:SubProcess")&&X2(e,n)}));return r||t}function Y2(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}class Z2{constructor(e,t){this.providers=[],this._eventBus=e,this._bpmnjs=t,this.rawVariables=new U2(this._generateRawVariables.bind(this)),this.parsedVariables=new U2((async()=>{const t={variables:await this.getRawVariables()};return e.fire("variableResolver.parseVariables",t),t.variables})),e.on(["commandStack.changed","diagram.clear","import.done","variables.changed"],(()=>{this.invalidateCache()})),e.on("variableResolver.parseVariables",((e,t)=>{t.variables=this._parseVariables(t.variables)}))}_baseExtractor(){return[]}async getRawVariables(){return await this.rawVariables.get()}async getVariables(){return await this.parsedVariables.get()}invalidateCache(){this.rawVariables.invalidate(),this.parsedVariables.invalidate()}async _generateRawVariables(){const e=this._bpmnjs,t={},n=e.getDefinitions().get("rootElements").map((async e=>{const n=await this._baseExtractor(e,[this._extractor.bind(this)]);t[e.id]=n.map((e=>(e.provider||(e.provider=[this._baseExtractor]),e)))}));return await Promise.all(n),t}_parseVariables(e){const t={};for(const n in e){const i=e[n],r=[];i.forEach((e=>{const t=r.find((t=>t.name===e.name&&t.scope===e.scope));t?(J2("origin",t,e),J2("provider",t,e),e3(t,e)):r.push(e)})),n3(r),t[n]=r}return t}async _extractor(e){const{elements:t,containerElement:n,processVariables:i}=e,r=this,o=t.flatMap((e=>r.providers.map((async t=>{const r=await t.getVariables(e);r&&r.forEach((r=>{i.push({...i3(r),origin:[e],scope:r.scope||K2(e,n,r.name),provider:[t]})}))}))));await Promise.all(o)}registerProvider(e){this.providers.push(e),this.invalidateCache()}async getProcessVariables(e){const t=qr(e);return(await this.getVariables())[t.id]||[]}async getVariablesForElement(e){const t=qr(e),n=function(e){const t=qr(e);if(Ir(t,"bpmn:Participant"))return t.processRef;if(Ir(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!Ir(n,"bpmn:Process");)n=n.$parent;return n}(t),i=await this.getProcessVariables(n);var r=i.filter((function(e){return e.scope.id===t.id})),o=Y2(t);return[...r,...i.filter((function(e){return o.find((function(t){return t.id===e.scope.id}))}))]}}function J2(e,t,n){n[e]||(n[e]=[]),t[e]||(t[e]=[]);const i=n[e].filter((e=>!t.origin.includes(e)));t[e].push(...i)}function e3(e,t){e.type=t3(e.type,t.type,"|"),e.info=t3(e.info,t.info,"\n"),e.isList=!!e.isList==!!t.isList?e.isList:"optional",t.entries&&(e.entries||(e.entries=[]),t.entries.forEach((t=>{const n=e.entries.find((e=>e.name===t.name));n?e3(n,t):e.entries.push(t)})))}Z2.$inject=["eventBus","bpmnjs"];const t3=(e,t,n)=>{if(e&&e!==t){const i=e.split(n);return i.includes(t)||i.push(t),i.join(n)}return t};function n3(e){e&&e.forEach((e=>{e.detail=e.type,n3(e.entries)}))}function i3(e){const t={...e};return t.entries&&(t.entries=t.entries.map(i3)),t}const r3={__init__:["variableResolver"],variableResolver:["type",class extends Z2{constructor(e,t){super(e,t),this._baseExtractor=Yq}}]};const o3={camunda:{name:"Camunda",uri:"http://camunda.org/schema/1.0/bpmn",prefix:"camunda",xml:{tagAlias:"lowerCase"},associations:[],types:[{name:"Definitions",isAbstract:!0,extends:["bpmn:Definitions"],properties:[{name:"diagramRelationId",isAttr:!0,type:"String"}]},{name:"InOutBinding",superClass:["Element"],isAbstract:!0,properties:[{name:"source",isAttr:!0,type:"String"},{name:"sourceExpression",isAttr:!0,type:"String"},{name:"target",isAttr:!0,type:"String"},{name:"businessKey",isAttr:!0,type:"String"},{name:"local",isAttr:!0,type:"Boolean",default:!1},{name:"variables",isAttr:!0,type:"String"}]},{name:"In",superClass:["InOutBinding"],meta:{allowedIn:["bpmn:CallActivity","bpmn:SignalEventDefinition"]}},{name:"Out",superClass:["InOutBinding"],meta:{allowedIn:["bpmn:CallActivity"]}},{name:"AsyncCapable",isAbstract:!0,extends:["bpmn:Activity","bpmn:Gateway","bpmn:Event"],properties:[{name:"async",isAttr:!0,type:"Boolean",default:!1},{name:"asyncBefore",isAttr:!0,type:"Boolean",default:!1},{name:"asyncAfter",isAttr:!0,type:"Boolean",default:!1},{name:"exclusive",isAttr:!0,type:"Boolean",default:!0}]},{name:"JobPriorized",isAbstract:!0,extends:["bpmn:Process","camunda:AsyncCapable"],properties:[{name:"jobPriority",isAttr:!0,type:"String"}]},{name:"SignalEventDefinitionExtension",isAbstract:!0,extends:["bpmn:SignalEventDefinition"],properties:[{name:"async",isAttr:!0,type:"Boolean",default:!1}]},{name:"ErrorEventDefinitionExtension",isAbstract:!0,extends:["bpmn:ErrorEventDefinition"],properties:[{name:"errorCodeVariable",isAttr:!0,type:"String"},{name:"errorMessageVariable",isAttr:!0,type:"String"}]},{name:"ErrorEventDefinition",superClass:["bpmn:ErrorEventDefinition","Element"],properties:[{name:"expression",isAttr:!0,type:"String"}],meta:{allowedIn:["bpmn:ServiceTask"]}},{name:"Error",isAbstract:!0,extends:["bpmn:Error"],properties:[{name:"camunda:errorMessage",isAttr:!0,type:"String"}]},{name:"PotentialStarter",superClass:["Element"],properties:[{name:"resourceAssignmentExpression",type:"bpmn:ResourceAssignmentExpression"}]},{name:"FormSupported",isAbstract:!0,extends:["bpmn:StartEvent","bpmn:UserTask"],properties:[{name:"formHandlerClass",isAttr:!0,type:"String"},{name:"formKey",isAttr:!0,type:"String"},{name:"formRef",isAttr:!0,type:"String"},{name:"formRefBinding",isAttr:!0,type:"String"},{name:"formRefVersion",isAttr:!0,type:"String"}]},{name:"TemplateSupported",isAbstract:!0,extends:["bpmn:Collaboration","bpmn:Process","bpmn:FlowElement"],properties:[{name:"modelerTemplate",isAttr:!0,type:"String"},{name:"modelerTemplateVersion",isAttr:!0,type:"Integer"}]},{name:"Initiator",isAbstract:!0,extends:["bpmn:StartEvent"],properties:[{name:"initiator",isAttr:!0,type:"String"}]},{name:"ScriptTask",isAbstract:!0,extends:["bpmn:ScriptTask"],properties:[{name:"resultVariable",isAttr:!0,type:"String"},{name:"resource",isAttr:!0,type:"String"}]},{name:"Process",isAbstract:!0,extends:["bpmn:Process"],properties:[{name:"candidateStarterGroups",isAttr:!0,type:"String"},{name:"candidateStarterUsers",isAttr:!0,type:"String"},{name:"versionTag",isAttr:!0,type:"String"},{name:"historyTimeToLive",isAttr:!0,type:"String"},{name:"isStartableInTasklist",isAttr:!0,type:"Boolean",default:!0}]},{name:"EscalationEventDefinitionExtension",isAbstract:!0,extends:["bpmn:EscalationEventDefinition"],properties:[{name:"escalationCodeVariable",isAttr:!0,type:"String"}]},{name:"FormalExpression",isAbstract:!0,extends:["bpmn:FormalExpression"],properties:[{name:"resource",isAttr:!0,type:"String"}]},{name:"Assignable",extends:["bpmn:UserTask"],properties:[{name:"assignee",isAttr:!0,type:"String"},{name:"candidateUsers",isAttr:!0,type:"String"},{name:"candidateGroups",isAttr:!0,type:"String"},{name:"dueDate",isAttr:!0,type:"String"},{name:"followUpDate",isAttr:!0,type:"String"},{name:"priority",isAttr:!0,type:"String"}]},{name:"CallActivity",extends:["bpmn:CallActivity"],properties:[{name:"calledElementBinding",isAttr:!0,type:"String",default:"latest"},{name:"calledElementVersion",isAttr:!0,type:"String"},{name:"calledElementVersionTag",isAttr:!0,type:"String"},{name:"calledElementTenantId",isAttr:!0,type:"String"},{name:"caseRef",isAttr:!0,type:"String"},{name:"caseBinding",isAttr:!0,type:"String",default:"latest"},{name:"caseVersion",isAttr:!0,type:"String"},{name:"caseTenantId",isAttr:!0,type:"String"},{name:"variableMappingClass",isAttr:!0,type:"String"},{name:"variableMappingDelegateExpression",isAttr:!0,type:"String"}]},{name:"ServiceTaskLike",extends:["bpmn:ServiceTask","bpmn:BusinessRuleTask","bpmn:SendTask","bpmn:MessageEventDefinition"],properties:[{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"resultVariable",isAttr:!0,type:"String"}]},{name:"DmnCapable",extends:["bpmn:BusinessRuleTask"],properties:[{name:"decisionRef",isAttr:!0,type:"String"},{name:"decisionRefBinding",isAttr:!0,type:"String",default:"latest"},{name:"decisionRefVersion",isAttr:!0,type:"String"},{name:"mapDecisionResult",isAttr:!0,type:"String",default:"resultList"},{name:"decisionRefTenantId",isAttr:!0,type:"String"}]},{name:"ExternalCapable",extends:["camunda:ServiceTaskLike"],properties:[{name:"type",isAttr:!0,type:"String"},{name:"topic",isAttr:!0,type:"String"}]},{name:"TaskPriorized",extends:["bpmn:Process","camunda:ExternalCapable"],properties:[{name:"taskPriority",isAttr:!0,type:"String"}]},{name:"Properties",superClass:["Element"],meta:{allowedIn:["*"]},properties:[{name:"values",type:"Property",isMany:!0}]},{name:"Property",superClass:["Element"],properties:[{name:"id",type:"String",isAttr:!0},{name:"name",type:"String",isAttr:!0},{name:"value",type:"String",isAttr:!0}]},{name:"Connector",superClass:["Element"],meta:{allowedIn:["camunda:ServiceTaskLike"]},properties:[{name:"inputOutput",type:"InputOutput"},{name:"connectorId",type:"String"}]},{name:"InputOutput",superClass:["Element"],meta:{allowedIn:["bpmn:FlowNode","camunda:Connector"]},properties:[{name:"inputOutput",type:"InputOutput"},{name:"connectorId",type:"String"},{name:"inputParameters",isMany:!0,type:"InputParameter"},{name:"outputParameters",isMany:!0,type:"OutputParameter"}]},{name:"InputOutputParameter",properties:[{name:"name",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"},{name:"definition",type:"InputOutputParameterDefinition"}]},{name:"InputOutputParameterDefinition",isAbstract:!0},{name:"List",superClass:["InputOutputParameterDefinition"],properties:[{name:"items",isMany:!0,type:"InputOutputParameterDefinition"}]},{name:"Map",superClass:["InputOutputParameterDefinition"],properties:[{name:"entries",isMany:!0,type:"Entry"}]},{name:"Entry",properties:[{name:"key",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"},{name:"definition",type:"InputOutputParameterDefinition"}]},{name:"Value",superClass:["InputOutputParameterDefinition"],properties:[{name:"id",isAttr:!0,type:"String"},{name:"name",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"}]},{name:"Script",superClass:["InputOutputParameterDefinition"],properties:[{name:"scriptFormat",isAttr:!0,type:"String"},{name:"resource",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"}]},{name:"Field",superClass:["Element"],meta:{allowedIn:["camunda:ServiceTaskLike","camunda:ExecutionListener","camunda:TaskListener"]},properties:[{name:"name",isAttr:!0,type:"String"},{name:"expression",type:"String"},{name:"stringValue",isAttr:!0,type:"String"},{name:"string",type:"String"}]},{name:"InputParameter",superClass:["InputOutputParameter"]},{name:"OutputParameter",superClass:["InputOutputParameter"]},{name:"Collectable",isAbstract:!0,extends:["bpmn:MultiInstanceLoopCharacteristics"],superClass:["camunda:AsyncCapable"],properties:[{name:"collection",isAttr:!0,type:"String"},{name:"elementVariable",isAttr:!0,type:"String"}]},{name:"FailedJobRetryTimeCycle",superClass:["Element"],meta:{allowedIn:["camunda:AsyncCapable","bpmn:MultiInstanceLoopCharacteristics"]},properties:[{name:"body",isBody:!0,type:"String"}]},{name:"ExecutionListener",superClass:["Element"],meta:{allowedIn:["bpmn:Task","bpmn:ServiceTask","bpmn:UserTask","bpmn:BusinessRuleTask","bpmn:ScriptTask","bpmn:ReceiveTask","bpmn:ManualTask","bpmn:ExclusiveGateway","bpmn:SequenceFlow","bpmn:ParallelGateway","bpmn:InclusiveGateway","bpmn:EventBasedGateway","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:EndEvent","bpmn:BoundaryEvent","bpmn:CallActivity","bpmn:SubProcess","bpmn:Process"]},properties:[{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"event",isAttr:!0,type:"String"},{name:"script",type:"Script"},{name:"fields",type:"Field",isMany:!0}]},{name:"TaskListener",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"event",isAttr:!0,type:"String"},{name:"script",type:"Script"},{name:"fields",type:"Field",isMany:!0},{name:"id",type:"String",isAttr:!0},{name:"eventDefinitions",type:"bpmn:TimerEventDefinition",isMany:!0}]},{name:"FormProperty",superClass:["Element"],meta:{allowedIn:["bpmn:StartEvent","bpmn:UserTask"]},properties:[{name:"id",type:"String",isAttr:!0},{name:"name",type:"String",isAttr:!0},{name:"type",type:"String",isAttr:!0},{name:"required",type:"String",isAttr:!0},{name:"readable",type:"String",isAttr:!0},{name:"writable",type:"String",isAttr:!0},{name:"variable",type:"String",isAttr:!0},{name:"expression",type:"String",isAttr:!0},{name:"datePattern",type:"String",isAttr:!0},{name:"default",type:"String",isAttr:!0},{name:"values",type:"Value",isMany:!0}]},{name:"FormData",superClass:["Element"],meta:{allowedIn:["bpmn:StartEvent","bpmn:UserTask"]},properties:[{name:"fields",type:"FormField",isMany:!0},{name:"businessKey",type:"String",isAttr:!0}]},{name:"FormField",superClass:["Element"],properties:[{name:"id",type:"String",isAttr:!0},{name:"label",type:"String",isAttr:!0},{name:"type",type:"String",isAttr:!0},{name:"datePattern",type:"String",isAttr:!0},{name:"defaultValue",type:"String",isAttr:!0},{name:"properties",type:"Properties"},{name:"validation",type:"Validation"},{name:"values",type:"Value",isMany:!0}]},{name:"Validation",superClass:["Element"],properties:[{name:"constraints",type:"Constraint",isMany:!0}]},{name:"Constraint",superClass:["Element"],properties:[{name:"name",type:"String",isAttr:!0},{name:"config",type:"String",isAttr:!0}]},{name:"ConditionalEventDefinitionExtension",isAbstract:!0,extends:["bpmn:ConditionalEventDefinition"],properties:[{name:"variableName",isAttr:!0,type:"String"},{name:"variableEvents",isAttr:!0,type:"String"}]}],emumerations:[]}};function s3(e,t,n,i){this._contextPad=e,this._popupMenu=t,this._canvas=n,this._translate=i,e.registerProvider(this)}function a3(e,t,n){var i=e.getContainer(),r=t.getPad(n).html,o=i.getBoundingClientRect(),s=r.getBoundingClientRect(),a=s.top-o.top;return{x:s.left-o.left,y:a+s.height+5}}s3.$inject=["contextPad","popupMenu","canvas","translate"],s3.prototype.getContextPadEntries=function(e){return this._createPopupAction([e])},s3.prototype.getMultiElementContextPadEntries=function(e){return this._createPopupAction(e)},s3.prototype._createPopupAction=function(e){const t=this._canvas,n=this._translate,i=this._contextPad,r=this._popupMenu;return{"set-color":{group:"edit",className:"bpmn-icon-color",title:n("Set Color"),html:'<div class="entry"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="currentColor">\n <path d="m12.5 5.5.3-.4 3.6-3.6c.5-.5 1.3-.5 1.7 0l1 1c.5.4.5 1.2 0 1.7l-3.6 3.6-.4.2v.2c0 1.4.6 2 1 2.7v.6l-1.7 1.6c-.2.2-.4.2-.6 0L7.3 6.6a.4.4 0 0 1 0-.6l.3-.3.5-.5.8-.8c.2-.2.4-.1.6 0 .9.5 1.5 1.1 3 1.1zm-9.9 6 4.2-4.2 6.3 6.3-4.2 4.2c-.3.3-.9.3-1.2 0l-.8-.8-.9-.8-2.3-2.9" />\n</svg></div>',action:{click:(n,o)=>{var s={...a3(t,i,e),cursor:{x:n.x,y:n.y}};r.open(e,"color-picker",s)}}}}};const l3=[{label:"Default",fill:void 0,stroke:void 0},{label:"Blue",fill:"#BBDEFB",stroke:"#0D4372"},{label:"Orange",fill:"#FFE0B2",stroke:"#6B3C00"},{label:"Green",fill:"#C8E6C9",stroke:"#205022"},{label:"Red",fill:"#FFCDD2",stroke:"#831311"},{label:"Purple",fill:"#E1BEE7",stroke:"#5B176D"}];function c3(e,t,n,i,r){this._popupMenu=n,this._modeling=i,this._translate=r,this._colors=e&&e.colors||l3,this._defaultFillColor=t&&t.defaultFillColor||"white",this._defaultStrokeColor=t&&t.defaultStrokeColor||"rgb(34, 36, 42)",this._popupMenu.registerProvider("color-picker",this)}function p3(e,t,n){return function(){e.setColor(t,n)}}c3.$inject=["config.colorPicker","config.bpmnRenderer","popupMenu","modeling","translate"],c3.prototype.getEntries=function(e){var t=this,n=xe('\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="100%">\n <rect rx="2" x="1" y="1" width="22" height="22" fill="var(--fill-color)" stroke="var(--stroke-color)" style="stroke-width:2"></rect>\n </svg>\n ');return this._colors.map((function(i){return n.style.setProperty("--fill-color",i.fill||t._defaultFillColor),n.style.setProperty("--stroke-color",i.stroke||t._defaultStrokeColor),{title:t._translate(i.label),id:i.label.toLowerCase()+"-color",imageUrl:`data:image/svg+xml;utf8,${encodeURIComponent(n.outerHTML)}`,action:p3(t._modeling,e,i)}}))};var u3={__init__:["colorContextPadProvider","colorPopupProvider"],colorContextPadProvider:["type",s3],colorPopupProvider:["type",c3]};const d3=Object.prototype.toString,h3=Object.prototype.hasOwnProperty;function m3(e){return void 0===e}function f3(e){return"[object Array]"===d3.call(e)}function g3(e){return"[object Object]"===d3.call(e)}function y3(e){return"[object Number]"===d3.call(e)}function v3(e){const t=d3.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function b3(e,t){return h3.call(e,t)}function x3(e,t){const n=function(e){return v3(e)?e:t=>t===e}(t);let i;return w3(e,(function(e,t){if(n(e,t))return i=e,!1})),i}function w3(e,t){let n,i;if(m3(e))return;const r=f3(e)?_3:E3;for(let o in e)if(b3(e,o)&&(n=e[o],i=t(n,r(o)),!1===i))return n}function E3(e){return e}function _3(e){return Number(e)}function O3(e,...t){return Object.assign(e,...t)}const P3={id:"events",name:"Events"},k3={id:"tasks",name:"Tasks"},S3={id:"data",name:"Data"},C3={id:"participants",name:"Participants"},T3={id:"subprocess",name:"Sub Processes"},A3={id:"gateways",name:"Gateways"},M3=[{label:"Start Event",actionName:"none-start-event",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"Boundary Event",actionName:"none-boundary-event",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:BoundaryEvent"}},{label:"End Event",actionName:"none-end-event",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}].map((e=>({...e,group:P3}))),R3=[{label:"Message Start Event",actionName:"message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map((e=>({...e,group:P3}))),D3=[{label:"Message Intermediate Catch Event",actionName:"message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message Intermediate Throw Event",actionName:"message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Intermediate Catch Event",actionName:"timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Intermediate Throw Event",actionName:"escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Intermediate Catch Event",actionName:"conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link Intermediate Catch Event",actionName:"link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link Intermediate Throw Event",actionName:"link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation Intermediate Throw Event",actionName:"compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal Intermediate Catch Event",actionName:"signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal Intermediate Throw Event",actionName:"signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map((e=>({...e,group:P3}))),N3=[{label:"Message Boundary Event",actionName:"message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Boundary Event",actionName:"timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Boundary Event",actionName:"escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Boundary Event",actionName:"conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error Boundary Event",actionName:"error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel Boundary Event",actionName:"cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal Boundary Event",actionName:"signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation Boundary Event",actionName:"compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Boundary Event (non-interrupting)",actionName:"non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer Boundary Event (non-interrupting)",actionName:"non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation Boundary Event (non-interrupting)",actionName:"non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional Boundary Event (non-interrupting)",actionName:"non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal Boundary Event (non-interrupting)",actionName:"non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}].map((e=>({...e,group:P3}))),B3=[{label:"Message End Event",actionName:"message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation End Event",actionName:"escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error End Event",actionName:"error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel End Event",actionName:"cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation End Event",actionName:"compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal End Event",actionName:"signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate End Event",actionName:"terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}].map((e=>({...e,group:P3}))),$3=[{label:"Exclusive Gateway",actionName:"exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel Gateway",actionName:"parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive Gateway",search:"or",actionName:"inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"},rank:-1},{label:"Complex Gateway",actionName:"complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"},rank:-1},{label:"Event based Gateway",actionName:"event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}].map((e=>({...e,group:A3}))),j3=[{label:"Call Activity",actionName:"call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}},{label:"Transaction",actionName:"transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event Sub Process",search:"subprocess",actionName:"event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub Process (collapsed)",search:"subprocess",actionName:"collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub Process (expanded)",search:"subprocess",actionName:"expanded-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!0}}].map((e=>({...e,group:T3}))),I3=[...$3,...[{label:"Task",actionName:"task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User Task",actionName:"user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service Task",actionName:"service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send Task",actionName:"send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"},rank:-1},{label:"Receive Task",actionName:"receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"},rank:-1},{label:"Manual Task",actionName:"manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"},rank:-1},{label:"Business Rule Task",actionName:"rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script Task",actionName:"script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}}].map((e=>({...e,group:k3}))),...j3,...M3,...R3,...D3,...B3,...N3,...[{label:"Data Store Reference",actionName:"data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}},{label:"Data Object Reference",actionName:"data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}].map((e=>({...e,group:S3}))),...[{label:"Expanded Pool",search:"Participant",actionName:"expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:"Empty Pool",search:"Collapsed Participant",actionName:"collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}].map((e=>({...e,group:C3})))];function L3(e,t,n,i,r,o,s){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=i,this._rules=r,this._create=n,this._mouse=o,this._translate=s,this.register()}L3.$inject=["elementFactory","popupMenu","create","autoPlace","rules","mouse","translate"],L3.prototype.register=function(){this._popupMenu.registerProvider("bpmn-append",this)},L3.prototype.getPopupMenuEntries=function(e){const t=this._rules,n=this._translate,i={};if(!t.allowed("shape.append",{element:e}))return[];return this._filterEntries(I3).forEach((t=>{const{actionName:r,className:o,label:s,target:a,description:l,group:c,search:p,rank:u}=t;i[`append-${r}`]={label:s&&n(s),className:o,description:l,group:c&&{...c,name:n(c.name)},search:p,rank:u,action:this._createEntryAction(e,a)}})),i},L3.prototype._filterEntries=function(e){return e.filter((e=>{const t=e.target,{type:n,eventDefinitionType:i}=t;return!["bpmn:StartEvent","bpmn:Participant"].includes(n)&&("bpmn:BoundaryEvent"!==n||!m3(i))}))},L3.prototype._createEntryAction=function(e,t){const n=this._elementFactory,i=this._autoPlace,r=this._create,o=this._mouse,s=i=>{const s=n.create("shape",t);return i instanceof KeyboardEvent&&(i=o.getLastMoveEvent()),r.start(i,s,{source:e})};return{click:this._canAutoPlaceElement(t)?()=>{const r=n.create("shape",t);i.append(e,r)}:s,dragstart:s}},L3.prototype._canAutoPlaceElement=e=>{const{type:t}=e;return"bpmn:BoundaryEvent"!==t&&(("bpmn:SubProcess"!==t||!e.triggeredByEvent)&&("bpmn:IntermediateCatchEvent"!==t||"bpmn:LinkEventDefinition"!==e.eventDefinitionType))};function q3(e,t,n,i){this._contextPad=e,this._popupMenu=t,this._translate=n,this._canvas=i,this.register()}function z3(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}function V3(e,t){var n=H3(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}function F3(e,t){return function(e,t){return!!x3(e,t)}(t,(function(t){return V3(e,t)}))}function H3(e){return e&&e.businessObject||e}q3.$inject=["contextPad","popupMenu","translate","canvas"],q3.prototype.register=function(){this._contextPad.registerProvider(this)},q3.prototype.getContextPadEntries=function(e){const t=this._popupMenu,n=this._translate,i=this._getAppendMenuPosition.bind(this);if(!t.isEmpty(e,"bpmn-append"))return{append:{group:"model",html:'<div class="entry"><svg width="22" height="22" viewBox="0 0 5.82 5.82" xmlns="http://www.w3.org/2000/svg" fill="currentColor">\n <path d="M1.3 3.4c.3 0 .5-.2.5-.5s-.2-.4-.5-.4c-.2 0-.4.1-.4.4 0 .3.2.5.4.5zM3 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5zM4.6 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5z"/>\n</svg></div>',title:n("Append element"),action:{click:function(e,r){const o=O3(i(r),{cursor:{x:e.x,y:e.y}});t.open(r,"bpmn-append",o,{title:n("Append element"),width:300,search:!0})}}}}},q3.prototype._getAppendMenuPosition=function(e){const t=this._contextPad.getPad(e).html.getBoundingClientRect();return{x:t.right+5,y:t.top}};function U3(e){this._eventBus=e}function W3(e){return function(t,n,i,r,o){(v3(t)||y3(t))&&(o=r,r=i,i=n,n=t,t=null),this.on(t,e,n,i,r,o)}}function X3(e){U3.call(this,e),this.init()}function G3(e){X3.call(this,e)}U3.$inject=["eventBus"],U3.prototype.on=function(e,t,n,i,r,o){if((v3(t)||y3(t))&&(o=r,r=i,i=n,n=t,t=null),v3(n)&&(o=r,r=i,i=n,n=1e3),g3(r)&&(o=r,r=!1),!v3(i))throw new Error("handlerFn must be a function");f3(e)||(e=[e]);var s=this._eventBus;w3(e,(function(e){var a=["commandStack",e,t].filter((function(e){return e})).join(".");s.on(a,n,r?function(e,t){return function(n){return e.call(t||null,n.context,n.command,n)}}(i,o):i,o)}))},U3.prototype.canExecute=W3("canExecute"),U3.prototype.preExecute=W3("preExecute"),U3.prototype.preExecuted=W3("preExecuted"),U3.prototype.execute=W3("execute"),U3.prototype.executed=W3("executed"),U3.prototype.postExecute=W3("postExecute"),U3.prototype.postExecuted=W3("postExecuted"),U3.prototype.revert=W3("revert"),U3.prototype.reverted=W3("reverted"),X3.$inject=["eventBus"],z3(X3,U3),X3.prototype.addRule=function(e,t,n){var i=this;"string"==typeof e&&(e=[e]),e.forEach((function(e){i.canExecute(e,t,(function(e,t,i){return n(e)}),!0)}))},X3.prototype.init=function(){},z3(G3,X3),G3.$inject=["eventBus"],G3.prototype.init=function(){this.addRule("shape.append",(function(e){const t=e.element,n=H3(t);return(!g3(i=t)||!b3(i,"labelTarget"))&&(!F3(t,["bpmn:EndEvent","bpmn:Group","bpmn:TextAnnotation","bpmn:Lane","bpmn:Participant","bpmn:DataStoreReference","bpmn:DataObjectReference"])&&(!t.waypoints&&((!V3(t,"bpmn:IntermediateThrowEvent")||!function(e,t){const n=H3(e);return!!x3(n.eventDefinitions||[],(function(e){return V3(e,t)}))}(t,"bpmn:LinkEventDefinition"))&&((!V3(t,"bpmn:SubProcess")||!n.triggeredByEvent)&&void 0))));var i}))};var Q3,K3={__init__:["appendMenuProvider","appendContextPadProvider","appendRules"],appendMenuProvider:["type",L3],appendContextPadProvider:["type",q3],appendRules:["type",G3]};function Y3(e,t,n,i,r,o){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=i,this._mouse=r,this._translate=o,this.register()}Y3.$inject=["elementFactory","popupMenu","create","autoPlace","mouse","translate"],Y3.prototype.register=function(){this._popupMenu.registerProvider("bpmn-create",this)},Y3.prototype.getPopupMenuEntries=function(){const e={};return I3.forEach((t=>{const{actionName:n,className:i,label:r,target:o,description:s,group:a,search:l,rank:c}=t,p=this._createEntryAction(o);e[`create-${n}`]={label:r&&this._translate(r),className:i,description:s,group:a&&{...a,name:this._translate(a.name)},search:l,rank:c,action:{click:p,dragstart:p}}})),e},Y3.prototype._createEntryAction=function(e){const t=this._create,n=this._mouse,i=this._popupMenu,r=this._elementFactory;let o;return s=>(i.close(),o="bpmn:Participant"===e.type?r.createParticipantShape(e):r.create("shape",e),s instanceof KeyboardEvent&&(s=n.getLastMoveEvent()),t.start(s,o))},"undefined"!=typeof document&&((Q3=document.createElement("div")).innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',Q3.getElementsByTagName("link").length,Q3=void 0);function Z3(e,t,n,i,r){this._palette=e,this._translate=t,this._popupMenu=n,this._canvas=i,this._mouse=r,this.register()}Z3.$inject=["palette","translate","popupMenu","canvas","mouse"],Z3.prototype.register=function(){this._palette.registerProvider(900,this)},Z3.prototype.getPaletteEntries=function(e){const t=this._translate,n=this._popupMenu,i=this._canvas,r=this._mouse,o=e=>{if(e instanceof KeyboardEvent)return{x:(e=r.getLastMoveEvent()).x,y:e.y};const t=e&&e.target||(n='.djs-palette [data-action="create"]',(i=i||document).querySelector(n));var n,i;const o=t.getBoundingClientRect();return t&&{x:o.left+o.width/2+35,y:o.top+o.height/2+10}};return{create:{group:"create",html:'<div class="entry"> <svg width="46" height="46" viewBox="-2 -2 9.82 9.82" xmlns="http://www.w3.org/2000/svg" fill="currentColor">\n <path d="M1.3 3.4c.3 0 .5-.2.5-.5s-.2-.4-.5-.4c-.2 0-.4.1-.4.4 0 .3.2.5.4.5zM3 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5zM4.6 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5z"/>\n</svg></div>',title:t("Create element"),action:{click:function(e){const r=o(e),s=i.getRootElement();n.open(s,"bpmn-create",r,{title:t("Create element"),width:300,search:!0})}}}}};var J3={__init__:["createMenuProvider","createPaletteProvider"],createMenuProvider:["type",Y3],createPaletteProvider:["type",Z3]};function e5(e){this._injector=e,this.registerActions()}e5.$inject=["injector"],e5.prototype.registerActions=function(){const e=this._injector.get("editorActions",!1),t=this._injector.get("selection",!1),n=this._injector.get("contextPad",!1),i=this._injector.get("palette",!1),r=this._injector.get("popupMenu",!1),o={};t&&n&&i&&r&&i&&O3(o,{appendElement:function(e){const o=t&&t.get();1!=o.length||r.isEmpty(o[0],"bpmn-append")?i.triggerEntry("create","click",e):n.triggerEntry("append","click",e)}}),i&&O3(o,{createElement:function(e){i.triggerEntry("create","click",e)}}),e&&e.register(o)};var t5={__depends__:[K3,J3],__init__:["createAppendEditorActions"],createAppendEditorActions:["type",e5]},n5=["c","C"],i5=["v","V"],r5=["y","Y"],o5=["z","Z"];function s5(e){return!e.altKey&&(e.ctrlKey||e.metaKey)}function a5(e,t){return-1!==(e=f3(e)?e:[e]).indexOf(t.key)||-1!==e.indexOf(t.code)}function l5(e){return e.shiftKey}var c5=500;function p5(e,t){var n=this;e.on("editorActions.init",c5,(function(e){var i=e.editorActions;n.registerBindings(t,i)}))}function u5(e){this._injector=e,this._keyboard=this._injector.get("keyboard",!1),this._editorActions=this._injector.get("editorActions",!1),this._keyboard&&this._injector.invoke(p5,this)}p5.$inject=["eventBus","keyboard"],p5.prototype.registerBindings=function(e,t){function n(n,i){t.isRegistered(n)&&e.addListener(i)}n("undo",(function(e){if(function(e){return s5(e)&&!l5(e)&&a5(o5,e)}(e.keyEvent))return t.trigger("undo"),!0})),n("redo",(function(e){if(function(e){return s5(e)&&(a5(r5,e)||a5(o5,e)&&l5(e))}(e.keyEvent))return t.trigger("redo"),!0})),n("copy",(function(e){if(function(e){return s5(e)&&a5(n5,e)}(e.keyEvent))return t.trigger("copy"),!0})),n("paste",(function(e){if(function(e){return s5(e)&&a5(i5,e)}(e.keyEvent))return t.trigger("paste"),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(a5(["+","Add","="],n)&&s5(n))return t.trigger("stepZoom",{value:1}),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(a5(["-","Subtract"],n)&&s5(n))return t.trigger("stepZoom",{value:-1}),!0})),n("zoom",(function(e){var n=e.keyEvent;if(a5("0",n)&&s5(n))return t.trigger("zoom",{value:1}),!0})),n("removeSelection",(function(e){if(a5(["Backspace","Delete","Del"],e.keyEvent))return t.trigger("removeSelection"),!0}))},z3(u5,p5),u5.$inject=["injector"],u5.prototype.registerBindings=function(){const e=this._keyboard,t=this._editorActions;function n(n,i){t&&t.isRegistered(n)&&e&&e.addListener(i)}p5.prototype.registerBindings.call(this,e,t),n("appendElement",(function(n){const i=n.keyEvent;if(!e||!e.hasModifier(i))return e&&e.isKey(["a","A"],i)?(t&&t.trigger("appendElement",i),!0):void 0})),n("createElement",(function(n){const i=n.keyEvent;if(!e||!e.hasModifier(i))return e&&e.isKey(["n","N"],i)?(t&&t.trigger("createElement",i),!0):void 0}))};var d5={__depends__:[K3,J3,t5,{__depends__:[K3,J3],__init__:["createAppendKeyboardBindings"],createAppendKeyboardBindings:["type",u5]}]};function h5(e){return function(t){var n=t.target,i=H3(e),r=i.eventDefinitions&&i.eventDefinitions[0],o=i.$type===n.type,s=(r&&r.$type)===n.eventDefinitionType,a=!!n.triggeredByEvent==!!i.triggeredByEvent,l=void 0===n.isExpanded||n.isExpanded===function(e,t){return!V3(e,"bpmn:CallActivity")&&(V3(e,"bpmn:SubProcess")?(t=t||function(e){return e&&e.di}(e),!(!t||!V3(t,"bpmndi:BPMNPlane"))||t&&!!t.isExpanded):!V3(e,"bpmn:Participant")||!!H3(e).processRef)}(e);return!(o&&s&&a&&l)}}var m5=[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Sub Process",actionName:"replace-with-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}}],f5=m5,g5=Object.freeze({__proto__:null,BOUNDARY_EVENT:[{label:"Message Boundary Event",actionName:"replace-with-message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Boundary Event",actionName:"replace-with-timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Boundary Event",actionName:"replace-with-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Boundary Event",actionName:"replace-with-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error Boundary Event",actionName:"replace-with-error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel Boundary Event",actionName:"replace-with-cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal Boundary Event",actionName:"replace-with-signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation Boundary Event",actionName:"replace-with-compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}],DATA_OBJECT_REFERENCE:[{label:"Data Store Reference",actionName:"replace-with-data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}}],DATA_STORE_REFERENCE:[{label:"Data Object Reference",actionName:"replace-with-data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}],END_EVENT:[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message End Event",actionName:"replace-with-message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation End Event",actionName:"replace-with-escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error End Event",actionName:"replace-with-error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel End Event",actionName:"replace-with-cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation End Event",actionName:"replace-with-compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal End Event",actionName:"replace-with-signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate End Event",actionName:"replace-with-terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}],EVENT_SUB_PROCESS:f5,EVENT_SUB_PROCESS_START_EVENT:[{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Error Start Event",actionName:"replace-with-error-start",className:"bpmn-icon-start-event-error",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Escalation Start Event",actionName:"replace-with-escalation-start",className:"bpmn-icon-start-event-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Compensation Start Event",actionName:"replace-with-compensation-start",className:"bpmn-icon-start-event-compensation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-start",className:"bpmn-icon-start-event-non-interrupting-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition",isInterrupting:!1}},{label:"Timer Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-start",className:"bpmn-icon-start-event-non-interrupting-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition",isInterrupting:!1}},{label:"Conditional Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-start",className:"bpmn-icon-start-event-non-interrupting-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",isInterrupting:!1}},{label:"Signal Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-start",className:"bpmn-icon-start-event-non-interrupting-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition",isInterrupting:!1}},{label:"Escalation Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-start",className:"bpmn-icon-start-event-non-interrupting-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",isInterrupting:!1}}],GATEWAY:[{label:"Exclusive Gateway",actionName:"replace-with-exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel Gateway",actionName:"replace-with-parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive Gateway",actionName:"replace-with-inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"}},{label:"Complex Gateway",actionName:"replace-with-complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"}},{label:"Event based Gateway",actionName:"replace-with-event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}],INTERMEDIATE_EVENT:[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Intermediate Catch Event",actionName:"replace-with-message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message Intermediate Throw Event",actionName:"replace-with-message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Intermediate Catch Event",actionName:"replace-with-timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Intermediate Throw Event",actionName:"replace-with-escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Intermediate Catch Event",actionName:"replace-with-conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link Intermediate Catch Event",actionName:"replace-with-link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link Intermediate Throw Event",actionName:"replace-with-link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation Intermediate Throw Event",actionName:"replace-with-compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal Intermediate Catch Event",actionName:"replace-with-signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal Intermediate Throw Event",actionName:"replace-with-signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],PARTICIPANT:[{label:"Expanded Pool",actionName:"replace-with-expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:function(e){var t="Empty Pool";return e.children&&e.children.length&&(t+=" (removes content)"),t},actionName:"replace-with-collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}],SEQUENCE_FLOW:[{label:"Sequence Flow",actionName:"replace-with-sequence-flow",className:"bpmn-icon-connection"},{label:"Default Flow",actionName:"replace-with-default-flow",className:"bpmn-icon-default-flow"},{label:"Conditional Flow",actionName:"replace-with-conditional-flow",className:"bpmn-icon-conditional-flow"}],START_EVENT:[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],START_EVENT_SUB_PROCESS:[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}],SUBPROCESS_EXPANDED:[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}}],TASK:[{label:"Task",actionName:"replace-with-task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User Task",actionName:"replace-with-user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service Task",actionName:"replace-with-service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send Task",actionName:"replace-with-send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"}},{label:"Receive Task",actionName:"replace-with-receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"}},{label:"Manual Task",actionName:"replace-with-manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"}},{label:"Business Rule Task",actionName:"replace-with-rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script Task",actionName:"replace-with-script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}},{label:"Call Activity",actionName:"replace-with-call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub Process (expanded)",actionName:"replace-with-expanded-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}}],TRANSACTION:m5});const y5=Object.values(g5);function v5(e,t,n){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this.register()}function b5(e,t,n){const i=e[t];return!!i&&n.findIndex((([e])=>e===i.actionName))}v5.$inject=["popupMenu","translate","elementTemplates"],v5.prototype.register=function(){this._popupMenu.registerProvider("bpmn-replace",this)},v5.prototype.getPopupMenuEntries=function(e){return t=>{let n=Object.entries(t);return this._elementTemplates&&this._elementTemplates.get(e)&&this.addPlainElementEntry(e,n,this._translate,this._elementTemplates),n.reduce(((e,[t,n])=>(e[t]=n,e)),{})}},v5.prototype.addPlainElementEntry=function(e,t,n,i){const r=this.getPlainEntry(e,t,n,i);if(!r)return;const[o,s]=r;t.splice(o,0,[s.id,s])},v5.prototype.getPlainEntry=function(e,t,n,i){const{options:r,option:o,optionIndex:s}=function(e){const t=(e,t)=>t.target&&!h5(e)(t);return y5.reduce(((n,i)=>{if(n)return n;const r=i.findIndex((n=>t(e,n)));return-1!==r?{options:i,option:i[r],optionIndex:r}:void 0}),null)}(e)||{};if(!r)return null;const a={id:"replace-remove-element-template",action:()=>{i.removeTemplate(e)},label:n(o.label),className:o.className},l=b5(r,s-1,t);if(l)return[l+1,a];const c=b5(r,s+1,t);return c?[c,a]:[0,a]};var x5={__init__:["removeTemplateReplaceProvider"],removeTemplateReplaceProvider:["type",v5]};function w5(e={}){e={...e,moddleExtensions:{...o3,...e.moddleExtensions}},XK.call(this,e)}return e(w5,XK),w5.prototype._camundaPlatformModules=[fY,WK,A1,u3,d5,r3,x5],w5.prototype._modules=[].concat(XK.prototype._modules,w5.prototype._camundaPlatformModules),w5}));
178
+ function vI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function bI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vI(Object(n),!0).forEach((function(t){xI(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vI(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xI(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wI=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},EI=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},_I=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},OI=function(e){return _I(e)&&!e.shiftKey},PI=function(e){return _I(e)&&e.shiftKey},kI=function(e){return setTimeout(e,0)},SI=function(e,t){var n=-1;return e.every((function(e,i){return!t(e)||(n=i,!1)})),n},CI=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},TI=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},AI=[],MI=function(e,t){var n,i=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||AI,o=bI({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:OI,isKeyBackward:PI},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},l=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return s.containerGroups.findIndex((function(t){var i=t.container,r=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||r.find((function(t){return t===e}))}))},c=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},p=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!yI(e,o.tabbableOptions))if(l(i.activeElement)>=0)e=i.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(s.containerGroups=s.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?iI([e],t.includeContainer,{filter:dI.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:hI}):nI(e,t.includeContainer,dI.bind(null,t)),mI(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?iI([e],t.includeContainer,{filter:uI.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):nI(e,t.includeContainer,uI.bind(null,t))}(e,o.tabbableOptions),i=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,s=n.find((function(e){return fI(e)})),a=n.slice().reverse().find((function(e){return fI(e)})),l=!!t.find((function(e){return oI(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:r,firstDomTabbableNode:s,lastDomTabbableNode:a,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?i?n.slice(n.indexOf(e)+1).find((function(e){return fI(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return fI(e)})):t[r+(i?1:-1)]}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.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");if(s.containerGroups.find((function(e){return e.posTabIndexesFound}))&&s.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},d=function e(t){!1!==t&&t!==i.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(p()))},h=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},m=function(e){var t=e.target,n=e.event,i=e.isBackward,r=void 0!==i&&i;t=t||TI(n),u();var a=null;if(s.tabbableGroups.length>0){var p=l(t,n),d=p>=0?s.containerGroups[p]:void 0;if(p<0)a=r?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(r){var h=SI(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(h<0&&(d.container===t||yI(t,o.tabbableOptions)&&!fI(t,o.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(h=p),h>=0){var m=0===h?s.tabbableGroups.length-1:h-1,f=s.tabbableGroups[m];a=oI(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else _I(n)||(a=d.nextTabbableNode(t,!1))}else{var g=SI(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(g<0&&(d.container===t||yI(t,o.tabbableOptions)&&!fI(t,o.tabbableOptions)&&!d.nextTabbableNode(t))&&(g=p),g>=0){var y=g===s.tabbableGroups.length-1?0:g+1,v=s.tabbableGroups[y];a=oI(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else _I(n)||(a=d.nextTabbableNode(t))}}else a=c("fallbackFocus");return a},f=function(e){var t=TI(e);l(t,e)>=0||(CI(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):CI(o.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=TI(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(s.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var r=!0;if(s.mostRecentlyFocusedNode)if(oI(s.mostRecentlyFocusedNode)>0){var a=l(s.mostRecentlyFocusedNode),c=s.containerGroups[a].tabbableNodes;if(c.length>0){var u=c.findIndex((function(e){return e===s.mostRecentlyFocusedNode}));u>=0&&(o.isKeyForward(s.recentNavEvent)?u+1<c.length&&(i=c[u+1],r=!1):u-1>=0&&(i=c[u-1],r=!1))}}else s.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return oI(e)>0}))}))||(r=!1);else r=!1;r&&(i=m({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),d(i||(s.mostRecentlyFocusedNode||p()))}s.recentNavEvent=void 0},y=function(e){if(function(e){return"Escape"===(null==e?void 0:e.key)||"Esc"===(null==e?void 0:e.key)||27===(null==e?void 0:e.keyCode)}(e)&&!1!==CI(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s.recentNavEvent=e;var n=m({event:e,isBackward:t});n&&(_I(e)&&e.preventDefault(),d(n))}(e,o.isKeyBackward(e))},v=function(e){var t=TI(e);l(t,e)>=0||CI(o.clickOutsideDeactivates,e)||CI(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(s.active)return wI(r,n),s.delayInitialFocusTimer=o.delayInitialFocus?kI((function(){d(p())})):d(p()),i.addEventListener("focusin",g,!0),i.addEventListener("mousedown",f,{capture:!0,passive:!1}),i.addEventListener("touchstart",f,{capture:!0,passive:!1}),i.addEventListener("click",v,{capture:!0,passive:!1}),i.addEventListener("keydown",y,{capture:!0,passive:!1}),n},x=function(){if(s.active)return i.removeEventListener("focusin",g,!0),i.removeEventListener("mousedown",f,!0),i.removeEventListener("touchstart",f,!0),i.removeEventListener("click",v,!0),i.removeEventListener("keydown",y,!0),n},w="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===s.mostRecentlyFocusedNode}))}));t&&d(p())})):void 0,E=function(){w&&(w.disconnect(),s.active&&!s.paused&&s.containers.map((function(e){w.observe(e,{subtree:!0,childList:!0})})))};return n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),r=a(e,"checkCanFocusTrap");r||u(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var o=function(){r&&u(),b(),E(),null==n||n()};return r?(r(s.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!s.active)return this;var t=bI({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,x(),s.active=!1,s.paused=!1,E(),EI(r,n);var i=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),p=a(t,"returnFocus","returnFocusOnDeactivate");null==i||i();var u=function(){kI((function(){p&&d(h(s.nodeFocusedBeforeActivation)),null==l||l()}))};return p&&c?(c(h(s.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(s.paused||!s.active)return this;var t=a(e,"onPause"),n=a(e,"onPostPause");return s.paused=!0,null==t||t(),x(),E(),null==n||n(),this},unpause:function(e){if(!s.paused||!s.active)return this;var t=a(e,"onUnpause"),n=a(e,"onPostUnpause");return s.paused=!1,null==t||t(),u(),b(),E(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),s.active&&u(),E(),this}},n.updateContainerElements(e),n},RI=function(e){return LE("svg",{...e,children:LE("path",{fillRule:"evenodd",d:"m11.657 8-4.95 4.95a1 1 0 0 1-1.414-1.414L8.828 8 5.293 4.464A1 1 0 1 1 6.707 3.05L11.657 8Z"})})};RI.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var DI=function(e){return LE("svg",{...e,children:LE("path",{fillRule:"evenodd",d:"M9 13V9h4a1 1 0 0 0 0-2H9V3a1 1 0 1 0-2 0v4H3a1 1 0 1 0 0 2h4v4a1 1 0 0 0 2 0Z"})})};DI.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var NI=function(e){return LE("svg",{...e,children:LE("path",{fillRule:"evenodd",d:"M12 6v7c0 1.1-.4 1.55-1.5 1.55h-5C4.4 14.55 4 14.1 4 13V6h8Zm-1.5 1.5h-5v4.3c0 .66.5 1.2 1.111 1.2H9.39c.611 0 1.111-.54 1.111-1.2V7.5ZM13 3h-2l-1-1H6L5 3H3v1.5h10V3Z"})})};NI.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var BI=function(e){return LE("svg",{...e,children:[LE("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),LE("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),LE("path",{d:"M7 3H5v2h2V3zm4 0H9v2h2V3zM7 7H5v2h2V7zm4 0H9v2h2V7zm-4 4H5v2h2v-2zm4 0H9v2h2v-2z",fill:"#161616"})]})};BI.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var $I=function(e){return LE("svg",{...e,children:LE("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.637 12.637v-4.72h1.362v4.721c0 .36-.137.676-.411.95-.275.275-.591.412-.95.412H3.362c-.38 0-.703-.132-.967-.396A1.315 1.315 0 0 1 2 12.638V3.362c0-.38.132-.703.396-.967S2.982 2 3.363 2h4.553v1.363H3.363v9.274h9.274ZM14 2H9.28l-.001 1.362h2.408L5.065 9.984l.95.95 6.622-6.622v2.409H14V2Z",fill:"currentcolor"})})};$I.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var jI=function(e){return LE("svg",{...e,children:[LE("path",{d:"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 26a12 12 0 1 1 12-12 12 12 0 0 1-12 12Z"}),LE("circle",{cx:"16",cy:"23.5",r:"1.5"}),LE("path",{d:"M17 8h-1.5a4.49 4.49 0 0 0-4.5 4.5v.5h2v-.5a2.5 2.5 0 0 1 2.5-2.5H17a2.5 2.5 0 0 1 0 5h-2v4.5h2V17a4.5 4.5 0 0 0 0-9Z"}),LE("path",{style:{fill:"none"},d:"M0 0h32v32H0z"})]})};function II(e){const{element:t,headerProvider:n}=e,{getElementIcon:i,getDocumentationRef:r,getElementLabel:o,getTypeLabel:s}=n,a=o(t),l=s(t),c=r&&r(t),p=i(t);return LE("div",{class:"bio-properties-panel-header",children:[LE("div",{class:"bio-properties-panel-header-icon",children:p&&LE(p,{width:"32",height:"32",viewBox:"0 0 32 32"})}),LE("div",{class:"bio-properties-panel-header-labels",children:[LE("div",{title:l,class:"bio-properties-panel-header-type",children:l}),a?LE("div",{title:a,class:"bio-properties-panel-header-label",children:a}):null]}),LE("div",{class:"bio-properties-panel-header-actions",children:c?LE("a",{rel:"noopener",class:"bio-properties-panel-header-link",href:c,title:"Open documentation",target:"_blank",children:LE($I,{})}):null})]})}jI.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"};const LI=Mw({description:{},getDescriptionForId:()=>{}}),qI=Mw({errors:{}}),zI=Mw({eventBus:null}),VI=Mw({layout:{},setLayout:()=>{},getLayoutForKey:()=>{},setLayoutForKey:()=>{}}),FI=Mw({tooltip:{},getTooltipForId:()=>{}});function HI(e){const{forId:t,element:n}=e,i=function(e,t){const{getTooltipForId:n}=Zw(FI);return n(e,t)}(t,n),r=e.value||i;return r?LE(UI,{...e,value:r,forId:GI(t)}):e.children}function UI(e){const{forId:t,value:n,parent:i}=e,[r,o]=Uw(!1),[s,a]=Uw(!1);let l=null;const c=Qw(null),p=Qw(null),u=async e=>{const t=()=>o(!0);r||l||(e instanceof MouseEvent?l=setTimeout(t,200):(t(),a(!0)))},d=()=>{o(!1),a(!1)};Xw((()=>{const{current:e}=c;if(!e)return;const t=e=>{const t=document.activeElement===c.current||document.activeElement.closest(".bio-properties-panel-tooltip");!r||(({x:e,y:t})=>{const n=p.current,i=c.current;return n&&(WI(e,t,i.getBoundingClientRect())||WI(e,t,n.getBoundingClientRect()))})({x:e.x,y:e.y})||t&&s||d()},n=e=>{const{relatedTarget:t}=e;r&&!c.current.matches(":hover")&&t&&!t.closest(".bio-properties-panel-tooltip")&&d()};return document.addEventListener("wheel",t),document.addEventListener("focusout",n),document.addEventListener("mousemove",t),()=>{document.removeEventListener("wheel",t),document.removeEventListener("mousemove",t),document.removeEventListener("focusout",n)}}),[c.current,r,s]);const h=()=>LE("div",{class:"bio-properties-panel-tooltip",role:"tooltip",id:"bio-properties-panel-tooltip","aria-labelledby":t,style:XI(c.current),ref:p,onClick:e=>e.stopPropagation(),children:[LE("div",{class:"bio-properties-panel-tooltip-content",children:n}),LE("div",{class:"bio-properties-panel-tooltip-arrow"})]});return LE("div",{class:"bio-properties-panel-tooltip-wrapper",tabIndex:"0",ref:c,onMouseEnter:u,onMouseLeave:()=>{clearTimeout(l),l=null},onFocus:u,onKeyDown:e=>{"Escape"===e.code&&d()},children:[e.children,r?i?EE(h(),i.current):h():null]})}function WI(e,t,n){const{top:i,right:r,bottom:o,left:s}=n;return e>=s&&e<=r&&t>=i&&t<=o}function XI(e){const t=e.getBoundingClientRect();return`right: ${`calc(100% - ${t.x}px)`}; top: ${t.top-10+"px"};`}function GI(e){return`bio-properties-panel-${e}`}function QI(e){const{errors:t}=Zw(qI);return t[e]}function KI(){const{errors:e}=Zw(qI);return e}function YI(e,t,n){const i=Zw(zI);n||({eventBus:n}=i);const r=Qw(!1);n&&!r.current&&n.on(e,t),Xw((()=>(n&&r.current&&n.on(e,t),r.current=!0,()=>{n&&n.off(e,t)})),[t,e,n])}const ZI=6;function JI(e,t){const{getLayoutForKey:n,setLayoutForKey:i}=Zw(VI);return[n(e,t),Yw((t=>{i(e,t)}),[i])]}function eL(e){const t=Qw();return Xw((()=>{t.current=e})),t.current}function tL(e){const{onShow:t}=Zw(VI),n=Qw(),i=Qw(!1),r=Yw((n=>{n.id===e&&(t(),i.current||(i.current=!0))}),[e]);return Xw((()=>{i.current&&n.current&&(d(n.current.focus)&&n.current.focus(),d(n.current.select)&&n.current.select(),i.current=!1)})),YI("propertiesPanel.showEntry",r),n}function nL(e,t,n){const[i,r]=Uw(we(t)),o=Yw((()=>{const e=we(t);e!==i&&r(e)}),[t,i]);Xw((()=>{o()}),[o]),YI("propertiesPanel.attach",o),YI("propertiesPanel.detach",o),Xw((()=>{const t=IntersectionObserver;if(!t)return;if(!e.current||!i)return;const r=new t((e=>{0!==i.scrollHeight&&e.forEach((e=>{e.intersectionRatio<1?n(!0):1===e.intersectionRatio&&n(!1)}))}),{root:i,rootMargin:"0px 0px 999999% 0px",threshold:[1]});return r.observe(e.current),()=>{r.unobserve(e.current)}}),[e.current,i,n])}function iL(e){const t=Qw(e);return t.current=e,Yw(((...e)=>t.current(...e)),[])}function rL(e){const{element:t,entries:n=[],id:i,label:r,shouldOpen:o=!1}=e,s=Qw(null),[a,l]=JI(["groups",i,"open"],o),c=Yw((()=>l(!0)),[l]),[p,u]=Uw(!1),[h,m]=Uw(!1);Xw((()=>{const e=requestAnimationFrame((()=>{const e=n.find((e=>{const{id:t,isEdited:n}=e,i=we(`[data-entry-id="${t}"]`);if(!d(n)||!i)return!1;return n(we(".bio-properties-panel-input",i))}));u(e)}));return()=>cancelAnimationFrame(e)}),[n,u]);const f=KI(),g=n.some((e=>f[e.id]));nL(s,"div.bio-properties-panel-scroll-container",m);const y={...Zw(VI),onShow:c};return LE("div",{class:"bio-properties-panel-group","data-group-id":"group-"+i,ref:s,children:[LE("div",{class:zE("bio-properties-panel-group-header",p?"":"empty",a?"open":"",h&&a?"sticky":""),onClick:()=>l(!a),children:[LE("div",{title:e.tooltip?null:r,"data-title":r,class:"bio-properties-panel-group-header-title",children:LE(HI,{value:e.tooltip,forId:"group-"+i,element:t,parent:s,children:r})}),LE("div",{class:"bio-properties-panel-group-header-buttons",children:[LE(oL,{edited:p,hasErrors:g}),LE("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:LE(RI,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})]})]}),LE("div",{class:zE("bio-properties-panel-group-entries",a?"open":""),children:LE(VI.Provider,{value:y,children:n.map((e=>{const{component:n,id:i}=e;return lw(n,{...e,element:t,key:i})}))})})]})}function oL(e){const{edited:t,hasErrors:n}=e;return n?LE("div",{title:"Section contains an error",class:"bio-properties-panel-dot bio-properties-panel-dot--error"}):t?LE("div",{title:"Section contains data",class:"bio-properties-panel-dot"}):null}function sL(e){const{text:t,icon:n}=e;return LE("div",{class:"bio-properties-panel open",children:LE("section",{class:"bio-properties-panel-placeholder",children:[n&&LE(n,{class:"bio-properties-panel-placeholder-icon"}),LE("p",{class:"bio-properties-panel-placeholder-text",children:t})]})})}function aL(e){const{element:t,forId:n,value:i}=e,r=function(e,t){const{getDescriptionForId:n}=Zw(LI);return n(e,t)}(n,t),o=i||r;if(o)return LE("div",{class:"bio-properties-panel-description",children:o})}const lL=()=>{},cL=uE(((e,t)=>{const{onInput:n,disabled:i,tooltipContainer:r,enableGutters:o,value:s,onLint:a=lL,onPopupOpen:l=lL,popupOpen:c,contentAttributes:p={},hostLanguage:u=null,singleLine:d=!1}=e,h=Qw(),[m,f]=Uw(),[g,y]=Uw(s||"");!function(e,t){const[n,i]=Uw(void 0);t.current=Kw((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),i(t))}})),[e]),Xw((()=>{void 0!==n&&e&&(e.focus(n),i(!1))}),[e,n])}(m,t);const v=iL((e=>{n(e),y(e)}));Xw((()=>{let e;return e=new Rj({container:h.current,onChange:v,value:g,onLint:a,contentAttributes:p,tooltipContainer:r,enableGutters:o,hostLanguage:u,singleLine:d}),f(e),()=>{a([]),h.current.innerHTML="",f(null)}}),[]),Xw((()=>{m&&s!==g&&(m.setValue(s),y(s))}),[s]);return LE("div",{class:zE("bio-properties-panel-feelers-editor-container",c?"popupOpen":null),children:[LE("div",{class:"bio-properties-panel-feelers-editor__open-popup-placeholder",children:"Opened in editor"}),LE("div",{name:e.name,class:zE("bio-properties-panel-feelers-editor bio-properties-panel-input",g?"edited":null,i?"disabled":null),ref:h,onClick:()=>{t.current.focus()}}),LE("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l("feelers"),children:LE($I,{})})]})})),pL=()=>{},uL=uE(((e,t)=>{const{enableGutters:n,value:i,onInput:r,onFeelToggle:o=pL,onLint:s=pL,onPopupOpen:a=pL,popupOpen:l,disabled:c,tooltipContainer:p,variables:u}=e,d=Qw(),[h,m]=Uw(),[f,g]=Uw(i||"");!function(e,t){const[n,i]=Uw(void 0);t.current=Kw((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),i(t))}})),[e]),Xw((()=>{void 0!==n&&e&&(e.focus(n),i(!1))}),[e,n])}(h,t);const y=iL((e=>{r(e),g(e)}));Xw((()=>{let e;return e=new Qj({container:d.current,onChange:y,onKeyDown:t=>{if("Backspace"!==t.key||!e)return;const n=e.getSelection(),i=n.ranges[n.mainIndex];0===i.from&&0===i.to&&o()},onLint:s,tooltipContainer:p,value:f,variables:u,extensions:[...n?[qM()]:[]]}),m(e),()=>{s([]),d.current.innerHTML="",m(null)}}),[]),Xw((()=>{h&&i!==f&&(h.setValue(i),g(i))}),[i]),Xw((()=>{h&&h.setVariables(u)}),[u]);return LE("div",{class:zE("bio-properties-panel-feel-editor-container",c?"disabled":null,l?"popupOpen":null),children:[LE("div",{class:"bio-properties-panel-feel-editor__open-popup-placeholder",children:"Opened in editor"}),LE("div",{name:e.name,class:zE("bio-properties-panel-input",f?"edited":null),ref:d,onClick:()=>{t.current.focus()}}),LE("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>a(),children:LE($I,{})})]})})),dL=Mw({open:()=>{},close:()=>{},source:null});function hL(e,t){let n,i,r;function o(t){const o={x:t.clientX-i,y:t.clientY-r};return e.call(n,t,o)}function s(){document.removeEventListener("dragover",o,!0),document.removeEventListener("dragenter",mL,!0),document.removeEventListener("dragend",s),document.removeEventListener("drop",mL)}return function(e){n=this,i=e.clientX,r=e.clientY,e.dataTransfer&&e.dataTransfer.setDragImage(t||xe('<canvas width="0" height="0" />'),0,0),document.addEventListener("dragover",o,!0),document.addEventListener("dragenter",mL,!0),document.addEventListener("dragend",s),document.addEventListener("drop",mL)}}function mL(e){e.preventDefault(),e.stopPropagation()}const fL=()=>{};const gL=uE((function(e,t){const{container:n,className:i,delayInitialFocus:r,position:o,width:s,height:a,onClose:l,onPostActivate:c=fL,onPostDeactivate:p=fL,returnFocus:u=!0,closeOnEscape:d=!0,title:h}=e,m=Qw(null),f=Qw(null),g=t||f,y=Kw((()=>function(e){if("string"==typeof e)return we(e);return e}(n)),[n]),v=()=>{m.current&&m.current.activate()};let b={};return o&&(b={...b,top:o.top+"px",left:o.left+"px"}),s&&(b.width=s+"px"),a&&(b.height=a+"px"),Xw((()=>(g.current&&g.current.addEventListener("focusin",v),()=>{g.current.removeEventListener("focusin",v)})),[g]),Xw((()=>(g.current&&(m.current=MI(g.current,{clickOutsideDeactivates:!0,delayInitialFocus:r,fallbackFocus:g.current,onPostActivate:c,onPostDeactivate:p,returnFocusOnDeactivate:u}),m.current.activate()),()=>m.current&&m.current.deactivate())),[g]),EE(LE("div",{"aria-label":h,tabIndex:-1,ref:g,onKeyDown:e=>{e.stopPropagation(),d&&"Escape"===e.key&&l()},role:"dialog",class:zE("bio-properties-panel-popup",i),style:b,children:e.children}),y||document.body)}));function yL(e){return e.closest(".bio-properties-panel-popup")}gL.Title=function(e){const{children:t,className:n,draggable:i,emit:r=(()=>{}),title:o,...s}=e,a=Qw({startPosition:null,newPosition:null}),l=Qw(),c=Qw(),p=(e,t)=>{!function(e){e.preventDefault(),e.stopPropagation()}(e);const{x:n,y:i}=t,o={x:a.current.startPosition.x+n,y:a.current.startPosition.y+i},s=yL(c.current);s.style.top=o.y+"px",s.style.left=o.x+"px",r("dragover",{newPosition:o,delta:t})};return LE("div",{class:zE("bio-properties-panel-popup__header",i&&"draggable",n),ref:c,draggable:i,onDragStart:e=>{hL(p,l.current)(e),e.stopPropagation();const t=yL(c.current).getBoundingClientRect();a.current.startPosition={x:t.left,y:t.top},r("dragstart")},onDragEnd:()=>{a.current.newPosition=null,r("dragend")},...s,children:[i&&LE(pw,{children:[LE("div",{ref:l,class:"bio-properties-panel-popup__drag-preview"}),LE("div",{class:"bio-properties-panel-popup__drag-handle",children:LE(BI,{})})]}),LE("div",{class:"bio-properties-panel-popup__title",children:o}),t]})},gL.Body=function(e){const{children:t,className:n,...i}=e;return LE("div",{class:zE("bio-properties-panel-popup__body",n),...i,children:t})},gL.Footer=function(e){const{children:t,className:n,...i}=e;return LE("div",{class:zE("bio-properties-panel-popup__footer",n),...i,children:e.children})};const vL=700,bL=250;function xL(e){const{element:t,eventBus:n={fire(){},on(){},off(){}},popupContainer:i}=e,r=eL(t),[o,s]=Uw({}),[a,l]=Uw(!1),[c,p]=Uw(null),[u,d]=Uw(null),h=(e,t)=>{n.fire("feelPopup."+e,t)},m=Yw((()=>!!a),[a]);!function(e,t){const n=Qw(!1);Xw((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{a||h("closed")}),[a]);const f=(e,t,n)=>{p(e),s(t),l(!0),d(n),h("open")},g=()=>{l(!1),p(null)},y={open:f,close:g,source:c};return Xw((()=>{t&&r&&t!==r&&g()}),[t]),Xw((()=>{const e=()=>m();return n.on("feelPopup._close",g),n.on("feelPopup._open",(e=>{const{entryId:t,popupConfig:n,sourceElement:i}=e;f(t,n,i)})),n.on("feelPopup._isOpen",e),()=>{n.off("feelPopup._close",g),n.off("feelPopup._open",f),n.off("feelPopup._isOpen",e)}}),[n,m]),LE(dL.Provider,{value:y,children:[a&&LE(wL,{onClose:g,container:i,sourceElement:u,emit:h,...o}),e.children]})}function wL(e){const{container:t,id:n,hostLanguage:i,onInput:r,onClose:o,position:s,singleLine:a,sourceElement:l,title:c,tooltipContainer:p,type:u,value:d,variables:h,emit:m}=e,f=Qw(),g=Qw(),y=Qw(!1);return Xw((()=>(m("opened",{domNode:g.current}),()=>m("close",{domNode:g.current}))),[]),Xw((()=>{f.current&&f.current.focus()}),[f]),LE(gL,{container:t,className:"bio-properties-panel-feel-popup",emit:m,position:s,title:c,onClose:o,returnFocus:!1,closeOnEscape:!1,delayInitialFocus:!1,onPostDeactivate:()=>{l&&l.focus()},height:bL,width:vL,ref:g,children:[LE(gL.Title,{title:c,emit:m,draggable:!0,children:["feel"===u&&LE("a",{href:"https://docs.camunda.io/docs/components/modeler/feel/what-is-feel/",target:"_blank",class:"bio-properties-panel-feel-popup__title-link",children:["Learn FEEL expressions",LE(jI,{})]}),"feelers"===u&&LE("a",{href:"https://docs.camunda.io/docs/components/modeler/forms/configuration/forms-config-templating-syntax/",target:"_blank",class:"bio-properties-panel-feel-popup__title-link",children:["Learn templating",LE(jI,{})]})]}),LE(gL.Body,{children:LE("div",{onKeyDownCapture:e=>{"Escape"===e.key&&(y.current=e.target.closest(".cm-editor").querySelector(".cm-tooltip-autocomplete"))},onKeyDown:e=>{"Escape"===e.key&&(y.current||(o(),y.current=!1))},class:"bio-properties-panel-feel-popup__body",children:["feel"===u&&LE(uL,{enableGutters:!0,id:EL(n),name:n,onInput:r,value:d,variables:h,ref:f,tooltipContainer:p}),"feelers"===u&&LE(cL,{id:EL(n),contentAttributes:{"aria-label":c},enableGutters:!0,hostLanguage:i,name:n,onInput:r,value:d,ref:f,singleLine:a,tooltipContainer:p})]})}),LE(gL.Footer,{children:LE("button",{type:"button",onClick:o,title:"Close pop-up editor",class:"bio-properties-panel-feel-popup__close-btn",children:"Close"})})]})}function EL(e){return`bio-properties-panel-${e}`}function _L(e){const{id:t,label:n,onInput:i,value:r,switcherLabel:o,inline:s,onFocus:a,onBlur:l,inputRef:c,tooltip:p}=e,[u,d]=Uw(r);return Xw((()=>{r!==u&&d(r)}),[r]),LE("div",{class:zE("bio-properties-panel-toggle-switch",{inline:s}),children:[LE("label",{class:"bio-properties-panel-label",for:PL(t),children:LE(HI,{value:p,forId:t,element:e.element,children:n})}),LE("div",{class:"bio-properties-panel-field-wrapper",children:[LE("label",{class:"bio-properties-panel-toggle-switch__switcher",children:[LE("input",{ref:c,id:PL(t),class:"bio-properties-panel-input",type:"checkbox",onFocus:a,onBlur:l,name:t,onInput:e=>{(async()=>{i(!r)})(),d(e.target.value)},checked:!!u}),LE("span",{class:"bio-properties-panel-toggle-switch__slider"})]}),o&&LE("p",{class:"bio-properties-panel-toggle-switch__label",children:o})]})]})}function OL(e){const{element:t,id:n,description:i,label:r,switcherLabel:o,inline:s,getValue:a,setValue:l,onFocus:c,onBlur:p,tooltip:u}=e;return LE("div",{class:"bio-properties-panel-entry bio-properties-panel-toggle-switch-entry","data-entry-id":n,children:[LE(_L,{id:n,label:r,value:a(t),onInput:l,onFocus:c,onBlur:p,switcherLabel:o,inline:s,tooltip:u,element:t}),LE(aL,{forId:n,element:t,value:i})]})}function PL(e){return`bio-properties-panel-${e}`}function kL(e){const{debounce:t,disabled:n,displayLabel:i=!0,id:r,inputRef:o,label:s,max:a,min:l,onInput:c,step:p,value:u="",onFocus:d,onBlur:h}=e,[m,f]=Uw(u),g=Kw((()=>t((e=>{const{validity:t,value:n}=e.target;t.valid&&c(n?parseFloat(n):void 0)}))),[c,t]);return Xw((()=>{u!==m&&f(u)}),[u]),LE("div",{class:"bio-properties-panel-numberfield",children:[i&&LE("label",{for:SL(r),class:"bio-properties-panel-label",children:s}),LE("input",{id:SL(r),ref:o,type:"number",name:r,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",max:a,min:l,onInput:e=>{g(e),f(e.target.value)},onFocus:d,onBlur:h,step:p,value:m})]})}function SL(e){return`bio-properties-panel-${e}`}function CL(e){return`bio-properties-panel-${e}`}uE(((e,t)=>{const{id:n,disabled:i,onInput:r,value:o,onFocus:s,onBlur:a}=e,l=Qw();return t.current={focus:e=>{const t=l.current;t&&(t.focus(),"number"==typeof e&&(e>o.length&&(e=o.length),t.setSelectionRange(e,e)))}},LE("input",{id:CL(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:i,class:"bio-properties-panel-input",onInput:e=>r(e.target.value),onFocus:s,onBlur:a,value:o||""})})),uE(((e,t)=>{const{id:n,debounce:i,disabled:r,onInput:o,value:s,min:a,max:l,step:c,onFocus:p,onBlur:u}=e,d=Qw();return t.current={focus:e=>{const t=d.current;t&&(t.focus(),"number"==typeof e&&e!==1/0&&(e>s.length&&(e=s.length),t.setSelectionRange(e,e)))}},LE(kL,{id:n,debounce:i,disabled:r,displayLabel:!1,inputRef:d,max:l,min:a,onInput:o,step:c,value:s,onFocus:p,onBlur:u})})),uE(((e,t)=>{const{id:n,disabled:i,onInput:r,value:o,onFocus:s,onBlur:a}=e,l=Qw();return t.current={focus:()=>{const e=l.current;e&&(e.focus(),e.setSelectionRange(0,0))}},LE("textarea",{id:CL(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:i,class:"bio-properties-panel-input",onInput:e=>r(e.target.value),onFocus:s,onBlur:a,value:o||"","data-gramm":"false"})})),uE(((e,t)=>{const{id:n,onInput:i,value:r,onFocus:o,onBlur:s,switcherLabel:a}=e,l=Qw();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},LE(_L,{id:n,value:r,inputRef:l,onInput:i,onFocus:o,onBlur:s,switcherLabel:a})})),uE(((e,t)=>{const{id:n,disabled:i,onInput:r,value:o,onFocus:s,onBlur:a}=e,l=Qw();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},LE("input",{ref:l,id:CL(n),name:n,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:({target:e})=>{r(e.checked)},checked:o,disabled:i})}));const TL={},AL={},ML={};function RL(e){const{element:t,headerProvider:n,placeholderProvider:i,groups:r,layoutConfig:o,layoutChanged:s,descriptionConfig:a,descriptionLoaded:l,tooltipConfig:p,tooltipLoaded:u,feelPopupContainer:d,eventBus:h}=e,[m,f]=Uw(DL(o));!function(e,t){const n=Qw(!1);Gw((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{const e=DL(o);f(e)}),[o]),Xw((()=>{"function"==typeof s&&s(m)}),[m,s]);const g={layout:m,setLayout:f,getLayoutForKey:(e,t)=>z(m,e,t),setLayoutForKey:(e,t)=>{const n=L({},m);q(n,e,t),f(n)}},y=Kw((()=>function(e={}){return{...AL,...e}}(a)),[a]);Xw((()=>{"function"==typeof l&&l(y)}),[y,l]);const v={description:y,getDescriptionForId:(e,t)=>y[e]&&y[e](t)},b=Kw((()=>function(e={}){return{...ML,...e}}(p)),[p]);Xw((()=>{"function"==typeof u&&u(b)}),[b,u]);const x={tooltip:b,getTooltipForId:(e,t)=>b[e]&&b[e](t)},[w,E]=Uw({});YI("propertiesPanel.setErrors",(({errors:e})=>E(e)),h);const _={errors:w},O={eventBus:h},P={element:t};return i&&!t?LE(sL,{...i.getEmpty()}):i&&c(t)?LE(sL,{...i.getMultiple()}):LE(VI.Provider,{value:P,children:LE(qI.Provider,{value:_,children:LE(LI.Provider,{value:v,children:LE(FI.Provider,{value:x,children:LE(VI.Provider,{value:g,children:LE(zI.Provider,{value:O,children:LE(xL,{element:t,eventBus:h,popupContainer:d,children:LE("div",{class:"bio-properties-panel",children:[LE(II,{element:t,headerProvider:n}),LE("div",{class:"bio-properties-panel-scroll-container",children:r.map((e=>{const{component:n=rL,id:i}=e;return lw(n,{...e,key:i,element:t})}))})]})})})})})})})})}function DL(e={},t=TL){return{...t,...e}}function NL(e){const{class:t,children:n,menuItems:i=[]}=e,r=Qw(null),o=Qw(null),[s,a]=Uw(!1),l=()=>a(!1);function c(e,t){e.stopPropagation(),l(),t()}var p,u;return p=[r.current],u=()=>l(),Xw((()=>{function e(e){p.some((t=>t&&t.contains(e.target)))||u()}return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0})}),[...p,u]),LE("div",{class:zE("bio-properties-panel-dropdown-button",{open:s},t),onClick:function(e){o.current&&o.current.contains(e.target)||(e.stopPropagation(),a((e=>!e)))},ref:r,children:[n,LE("div",{class:"bio-properties-panel-dropdown-button__menu",ref:o,children:i.map(((e,t)=>LE(BL,{onClick:c,item:e},t)))})]})}function BL({item:e,onClick:t}){return e.separator?LE("div",{class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--separator"}):e.action?LE("button",{type:"button",class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--actionable",onClick:n=>t(n,e.action),children:e.entry}):LE("div",{class:"bio-properties-panel-dropdown-button__menu-item",children:e.entry})}function $L(e){const{children:t=null,class:n,onClick:i=(()=>{}),...r}=e;return LE("button",{type:"button",...r,onClick:i,class:zE("bio-properties-panel-group-header-button",n),children:t})}function jL(e){const{element:t,entries:n=[],id:i,label:r,open:o,remove:s}=e,[a,l]=Uw(o),{onShow:c}=Zw(VI),p={...Zw(VI),onShow:Yw((()=>{l(!0),d(c)&&c()}),[c,l])},u="<empty>";return LE("div",{"data-entry-id":i,class:zE("bio-properties-panel-collapsible-entry",a?"open":""),children:[LE("div",{class:"bio-properties-panel-collapsible-entry-header",onClick:()=>l(!a),children:[LE("div",{title:r||u,class:zE("bio-properties-panel-collapsible-entry-header-title",!r&&"empty"),children:r||u}),LE("button",{type:"button",title:"Toggle list item",class:"bio-properties-panel-arrow bio-properties-panel-collapsible-entry-arrow",children:LE(RI,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}),s?LE("button",{type:"button",title:"Delete item",class:"bio-properties-panel-remove-entry",onClick:s,children:LE(NI,{})}):null]}),LE("div",{class:zE("bio-properties-panel-collapsible-entry-entries",a?"open":""),children:LE(VI.Provider,{value:p,children:n.map((e=>{const{component:n,id:i}=e;return lw(n,{...e,element:t,key:i})}))})})]})}function IL(e){const{autoFocusEntry:t,autoOpen:n}=e;return Xw((()=>{if(n&&t){const e=we(`[data-entry-id="${t}"]`),n=we(".bio-properties-panel-input",e);n&&(d(n.select)?n.select():d(n.focus)&&n.focus())}}),[n,t]),LE("div",{class:"bio-properties-panel-list-item",children:LE(jL,{...e,open:n})})}const LL=()=>{};function qL(e){const{add:t,element:n,id:i,items:r,label:o,shouldOpen:s=!0,shouldSort:a=!0}=e,l=Qw(null),[c,p]=JI(["groups",i,"open"],!1),[u,d]=Uw(!1),h=Yw((()=>p(!0)),[p]),[m,f]=Uw([]),[g,y]=Uw(!1),[v,b]=Uw(!1),x=eL(r),w=eL(n),E=n!==w,_=!E&&(a||s);E&&f(FL(a?zL(r):r)),Xw((()=>{x&&a||f(FL(r))}),[r,n]),Xw((()=>{if(b(!1),_&&x&&r.length>x.length){let e=[];r.forEach((t=>{m.includes(t.id)||e.push(t.id)}));let t=m;v&&!c&&s&&O(),!c&&a&&(t=FL(zL(r))),t=t.filter((t=>!e.includes(t))),a?t.unshift(...e):t.push(...e),f(t),y(v)}else y(!1)}),[r,c,_,v]),Xw((()=>{a&&c&&!g&&f(FL(zL(r)))}),[c,a]),Xw((()=>{if(_&&x&&r.length<x.length){let e=[];m.forEach((t=>{VL(r,t)&&e.push(t)})),f(e)}}),[r,_]),nL(l,"div.bio-properties-panel-scroll-container",d);const O=()=>p(!c),P=!!r.length,k={...Zw(VI),onShow:h},S=KI(),C=r.some((e=>!!S[e.id]||(e.entries?e.entries.some((e=>S[e.id])):void 0)));return LE("div",{class:"bio-properties-panel-group","data-group-id":"group-"+i,ref:l,children:[LE("div",{class:zE("bio-properties-panel-group-header",P?"":"empty",P&&c?"open":"",u&&c?"sticky":""),onClick:P?O:LL,children:[LE("div",{title:e.tooltip?null:o,"data-title":o,class:"bio-properties-panel-group-header-title",children:LE(HI,{value:e.tooltip,forId:"group-"+i,element:n,parent:l,children:o})}),LE("div",{class:"bio-properties-panel-group-header-buttons",children:[t?LE("button",{type:"button",title:"Create new list item",class:"bio-properties-panel-group-header-button bio-properties-panel-add-entry",onClick:e=>{b(!0),t(e)},children:[LE(DI,{}),P?null:LE("span",{class:"bio-properties-panel-add-entry-label",children:"Create"})]}):null,P?LE("div",{title:`List contains ${r.length} item${1!=r.length?"s":""}`,class:zE("bio-properties-panel-list-badge",C?"bio-properties-panel-list-badge--error":""),children:r.length}):null,P?LE("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:LE(RI,{class:c?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}):null]})]}),LE("div",{class:zE("bio-properties-panel-list",c&&P?"open":""),children:LE(VI.Provider,{value:k,children:m.map(((e,t)=>{const i=VL(r,e);if(!i)return;const{id:o}=i,s=g;return lw(IL,{...i,autoOpen:s,element:n,index:t,key:o})}))})})]})}function zL(e){return M(e,(e=>e.label.toLowerCase()))}function VL(e,t){return g(e,(e=>e.id===t))}function FL(e){return e.map((e=>e.id))}function HL(e){const{id:t,label:n,onChange:i,disabled:r,value:o=!1,onFocus:s,onBlur:a,tooltip:l}=e,[c,p]=Uw(o);Xw((()=>{o!==c&&p(o)}),[o]);return LE("div",{class:"bio-properties-panel-checkbox",children:[LE("input",{ref:tL(t),id:XL(t),name:t,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:e=>{(({target:e})=>{i(e.checked)})(e),p(e.target.value)},checked:c,disabled:r}),LE("label",{for:XL(t),class:"bio-properties-panel-label",children:LE(HI,{value:l,forId:t,element:e.element,children:n})})]})}function UL(e){const{element:t,id:n,description:i,label:r,getValue:o,setValue:s,disabled:a,onFocus:l,onBlur:c,tooltip:p}=e,u=o(t),d=QI(n);return LE("div",{class:"bio-properties-panel-entry bio-properties-panel-checkbox-entry","data-entry-id":n,children:[LE(HL,{disabled:a,id:n,label:r,onChange:s,onFocus:l,onBlur:c,value:u,tooltip:p,element:t},t),d&&LE("div",{class:"bio-properties-panel-error",children:d}),LE(aL,{forId:n,element:t,value:i})]})}function WL(e){return e&&!!e.checked}function XL(e){return`bio-properties-panel-${e}`}function GL(e){const{id:t,element:n,items:i=[],component:r,label:o="<empty>",open:s,onAdd:a,onRemove:l,autoFocusEntry:c,compareFn:p,...u}=e,[d,h]=Uw(!!s),m=!!i.length,f=!eL(d)&&d,g=eL(n)!==n,y=function(e,t,n=!1){const i=Qw(e.slice());if(n)i.current=e.slice(),t&&i.current.sort(t);else{const n=i.current;for(const i of e)n.includes(i)||(t?n.unshift(i):n.push(i));i.current=n.filter((t=>e.includes(t)))}return i.current}(i,p,f||g),v=function(e=[],t){const n=eL(e.slice())||[];if(t)return[];return n?e.filter((e=>!n.includes(e))):[]}(i,g);return Xw((()=>{d&&!m&&h(!1)}),[d,m]),LE("div",{"data-entry-id":t,class:zE("bio-properties-panel-entry","bio-properties-panel-list-entry",m?"":"empty",d?"open":""),children:[LE("div",{class:"bio-properties-panel-list-entry-header",onClick:()=>m&&h(!d),children:[LE("div",{title:o,class:zE("bio-properties-panel-list-entry-header-title",d&&"open"),children:o}),LE("div",{class:"bio-properties-panel-list-entry-header-buttons",children:[LE("button",{type:"button",title:"Create new list item",onClick:function(e){e.stopPropagation(),a(),d||h(!0)},class:"bio-properties-panel-add-entry",children:[LE(DI,{}),m?null:LE("span",{class:"bio-properties-panel-add-entry-label",children:"Create"})]}),m&&LE("div",{title:`List contains ${i.length} item${1!=i.length?"s":""}`,class:"bio-properties-panel-list-badge",children:i.length}),m&&LE("button",{type:"button",title:"Toggle list item",class:"bio-properties-panel-arrow",children:LE(RI,{class:d?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})]})]}),m&&LE(QL,{...u,autoFocusEntry:c,component:r,element:n,id:t,items:y,newItems:v,onRemove:l,open:d})]})}function QL(e){const{autoFocusEntry:t,component:n,element:i,id:r,items:o,newItems:s,onRemove:a,open:l,...c}=e,p=function(e=[]){const t=Kw((()=>new Map),e);return e=>{let n=t.get(e);return n||(n=Math.random().toString().slice(-ZI),t.set(e,n)),n}}(),u=s[0];return Xw((()=>{if(u&&t){const e=we(`[data-entry-id="${r}"]`),n=we("boolean"==typeof t?".bio-properties-panel-input":t,e);n&&(d(n.select)?n.select():d(n.focus)&&n.focus())}}),[u,t,r]),LE("ol",{class:zE("bio-properties-panel-list-entry-items",l?"open":""),children:o.map(((e,t)=>{const o=p(e);return LE("li",{class:"bio-properties-panel-list-entry-item",children:[LE(n,{...c,element:i,id:r,index:t,item:e,open:e===u}),a&&LE("button",{type:"button",title:"Delete item",class:"bio-properties-panel-remove-entry bio-properties-panel-remove-list-entry",onClick:()=>a&&a(e),children:LE(NI,{})})]},o)}))})}function KL(e){const{id:t,label:n,onChange:i,options:r=[],value:o="",disabled:s,onFocus:a,onBlur:l,tooltip:c}=e,p=tL(t),[u,d]=Uw(o);return Xw((()=>{o!==u&&d(o)}),[o]),LE("div",{class:"bio-properties-panel-select",children:[LE("label",{for:JL(t),class:"bio-properties-panel-label",children:LE(HI,{value:c,forId:t,element:e.element,children:n})}),LE("select",{ref:p,id:JL(t),name:t,class:"bio-properties-panel-input",onInput:e=>{(({target:e})=>{i(e.value)})(e),d(e.target.value)},onFocus:a,onBlur:l,value:u,disabled:s,children:r.map(((e,t)=>e.children?LE("optgroup",{label:e.label,children:e.children.map(((e,t)=>LE("option",{value:e.value,disabled:e.disabled,children:e.label},t)))},t):LE("option",{value:e.value,disabled:e.disabled,children:e.label},t)))})]})}function YL(e){const{element:t,id:n,description:i,label:r,getValue:o,setValue:s,getOptions:a,disabled:l,onFocus:c,onBlur:p,validate:u,tooltip:h}=e,m=a(t),f=QI(n),[g,y]=Uw(null);let v=o(t);Xw((()=>{if(d(u)){const e=u(v)||null;y(e)}}),[v]);const b=f||g;return LE("div",{class:zE("bio-properties-panel-entry",b?"has-error":""),"data-entry-id":n,children:[LE(KL,{id:n,label:r,value:v,onChange:e=>{let t=null;d(u)&&(t=u(e)||null),s(e,t),y(t)},onFocus:c,onBlur:p,options:m,disabled:l,tooltip:h,element:t},t),b&&LE("div",{class:"bio-properties-panel-error",children:b}),LE(aL,{forId:n,element:t,value:i})]})}function ZL(e){return e&&!!e.value}function JL(e){return`bio-properties-panel-${e}`}function eq(e){const{debounce:t,disabled:n,element:i,getValue:r,id:o,onBlur:s,onFocus:a,setValue:l}=e,c=r(i),[p,u]=Uw(c),d=Kw((()=>t((({target:e})=>l(e.value.length?e.value:void 0)))),[l,t]);return Xw((()=>{c!==p&&u(c)}),[c]),LE("div",{class:"bio-properties-panel-simple",children:LE("input",{id:tq(o),type:"text",name:o,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",onInput:e=>{d(e),u(e.target.value)},"aria-label":p||"<empty>",onFocus:a,onBlur:s,value:p},i)})}function tq(e){return`bio-properties-panel-${e}`}function nq(e){e.style.height="auto",e.style.height=`${e.scrollHeight+2}px`}function iq(e){const{id:t,label:n,debounce:i,onInput:r,value:o="",disabled:s,monospace:a,onFocus:l,onBlur:c,autoResize:p,rows:u=(p?1:2),tooltip:d}=e,[h,m]=Uw(o),f=tL(t),g=Kw((()=>i((({target:e})=>r(e.value.length?e.value:void 0)))),[r,i]);return Gw((()=>{p&&nq(f.current)}),[]),Xw((()=>{o!==h&&m(o)}),[o]),LE("div",{class:"bio-properties-panel-textarea",children:[LE("label",{for:sq(t),class:"bio-properties-panel-label",children:LE(HI,{value:d,forId:t,element:e.element,children:n})}),LE("textarea",{ref:f,id:sq(t),name:t,spellCheck:"false",class:zE("bio-properties-panel-input",a?"bio-properties-panel-input-monospace":"",p?"auto-resize":""),onInput:e=>{g(e),p&&nq(e.target),m(e.target.value)},onFocus:l,onBlur:c,rows:u,value:h,disabled:s,"data-gramm":"false"})]})}function rq(e){const{element:t,id:n,description:i,debounce:r,label:o,getValue:s,setValue:a,rows:l,monospace:c,disabled:p,validate:u,onFocus:h,onBlur:m,autoResize:f,tooltip:g}=e,y=QI(n),[v,b]=Uw(null);let x=s(t);Xw((()=>{if(d(u)){const e=u(x)||null;b(e)}}),[x]);const w=y||v;return LE("div",{class:zE("bio-properties-panel-entry",w?"has-error":""),"data-entry-id":n,children:[LE(iq,{id:n,label:o,value:x,onInput:e=>{let t=null;d(u)&&(t=u(e)||null),a(e,t),b(t)},onFocus:h,onBlur:m,rows:l,debounce:r,monospace:c,disabled:p,autoResize:f,tooltip:g,element:t},t),w&&LE("div",{class:"bio-properties-panel-error",children:w}),LE(aL,{forId:n,element:t,value:i})]})}function oq(e){return e&&!!e.value}function sq(e){return`bio-properties-panel-${e}`}function aq(e){const{debounce:t,disabled:n=!1,id:i,label:r,onInput:o,onFocus:s,onBlur:a,value:l="",tooltip:c}=e,[p,u]=Uw(l||""),d=tL(i),h=Kw((()=>t((({target:e})=>o(e.value.length?e.value:void 0)))),[o,t]);return Xw((()=>{l!==p&&u(l)}),[l]),LE("div",{class:"bio-properties-panel-textfield",children:[LE("label",{for:pq(i),class:"bio-properties-panel-label",children:LE(HI,{value:c,forId:i,element:e.element,children:r})}),LE("input",{ref:d,id:pq(i),type:"text",name:i,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",onInput:e=>{h(e),u(e.target.value)},onFocus:s,onBlur:a,value:p})]})}function lq(e){const{element:t,id:n,description:i,debounce:r,disabled:o,label:s,getValue:a,setValue:l,validate:c,onFocus:p,onBlur:u,tooltip:h}=e,m=QI(n),[f,g]=Uw(null);let y=a(t);Xw((()=>{if(d(c)){const e=c(y)||null;g(e)}}),[y]);const v=m||f;return LE("div",{class:zE("bio-properties-panel-entry",v?"has-error":""),"data-entry-id":n,children:[LE(aq,{debounce:r,disabled:o,id:n,label:s,onInput:e=>{let t=null;d(c)&&(t=c(e)||null),l(e,t),g(t)},onFocus:p,onBlur:u,value:y,tooltip:h,element:t},t),v&&LE("div",{class:"bio-properties-panel-error",children:v}),LE(aL,{forId:n,element:t,value:i})]})}function cq(e){return e&&!!e.value}function pq(e){return`bio-properties-panel-${e}`}function uq(e){return function(t){return!1!==e?j(t,u(e)?e:300):t}}uq.$inject=["config.debounceInput"];var dq={debounceInput:["factory",uq]};class hq{constructor(e){this._eventBus=e}isOpen(){return this._eventBus.fire("feelPopup._isOpen")}open(e,t,n){return this._eventBus.fire("feelPopup._open",{entryId:e,popupConfig:t,sourceElement:n})}close(){return this._eventBus.fire("feelPopup._close")}}hq.$inject=["eventBus"];var mq={feelPopup:["type",hq]},fq={},gq=qt(H);Object.defineProperty(fq,"__esModule",{value:!0});var yq=gq;function vq(e){return(xq(e,"zeebe:IoMapping")||[])[0]}function bq(e){return function(e,t){var n=vq(e);return n&&n.get(t)||[]}(e,"inputParameters")}function xq(e,t,n){var i=function(e,t){var n=[],i=e.get("extensionElements");if(void 0!==i){var r=i.get("values");void 0!==r&&(n=yq.filter(r,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(i[0]||{})[n]||[]:i}function wq(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function Eq(e,t,n){n=n||0,yq.isArray(e)||(e=[e]),yq.forEach(e,(function(e,i){var r=t(e,i,n);yq.isArray(r)&&r.length&&Eq(r,t,n+1)}))}function _q(e,t,n){var i=!n||-1===e.indexOf(t);return i&&e.push(t),i}function Oq(e,t,n){var i=[],r=[];return Eq(e,(function(e,o,s){_q(i,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&_q(r,a,t))return a})),i}function Pq(e,t){return Oq(e,!t,-1)}function kq(e,t){var n=yq.findIndex(e,(function(e){return e.name===t.name&&e.scope===t.scope}));n>=0?e[n].origin=function(e,t){return e.concat(t)}(e[n].origin,t.origin):e.push(t)}function Sq(e,t,n){var i,r,o,s,a=(i=n,r=t,o=wq(e),s=yq.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return yq.find(bq(e),(function(e){return e.target===t}))}(e,r)})),s||i);return{name:t,origin:[e],scope:a}}var Cq=[function(e){var t=e.elements,n=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=function(e){return(vq(e)||{}).inputParameters}(e);yq.forEach(t,(function(t){var i=Sq(e,t.target,e);kq(n,i)}))})),n},function(e){var t=e.elements,n=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=e.loopCharacteristics,i=t&&function(e){const t=xq(e,"zeebe:LoopCharacteristics")[0];return t&&t.inputElement}(t);if(i){var r=Sq(e,i,e);kq(n,r)}})),n},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=function(e){return(vq(e)||{}).outputParameters}(e);yq.forEach(t,(function(t){var r=Sq(e,t.target,n);kq(i,r)}))})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=e.loopCharacteristics,r=t&&function(e){const t=xq(e,"zeebe:LoopCharacteristics")[0];return t&&t.outputCollection}(t);if(r){var o=Sq(e,r,n);kq(i,o)}})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return yq.isArray(t)||(t=[t]),yq.forEach(t,(function(e){var t=function(e){return(xq(e,"zeebe:CalledDecision")||[])[0]}(e)||function(e){return(xq(e,"zeebe:Script")||[])[0]}(e);if(t){var r=t.resultVariable;if(r){var o=Sq(e,r,n);kq(i,o)}}})),i}];function Tq(e,t=[]){var n=[],i=Pq([e],!1);const r=[];return yq.forEach([...Cq,...t],(function(t){r.push(t({elements:i,containerElement:e,processVariables:n}))})),Promise.all(r).then((()=>n))}async function Aq(e,t,n=[]){var i=await Tq(t,n),r=function(e,t){var n=Pq(t);return yq.find(n,(function(t){return t.id===e}))}(e,t),o=yq.filter(i,(function(e){return e.scope.id===r.id})),s=wq(r);return function(e,t){return e.concat(t)}(o,yq.filter(i,(function(e){return yq.find(s,(function(t){return t.id===e.scope.id}))})))}function Mq(e){return e&&e.businessObject||e}function Rq(e,t){var n=Mq(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}fq.getProcessVariables=Tq,fq.getVariablesForElement=function(e,t=[]){return Aq(function(e){const t=Mq(e);if(Rq(e,"bpmn:Participant"))return t.processRef.id;return t.id}(e),function(e){const t=Mq(e);if(Rq(t,"bpmn:Participant"))return t.processRef;if(Rq(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!Rq(n,"bpmn:Process");)n=n.$parent;return n}(e),t)},fq.getVariablesForScope=Aq;var Dq={exports:{}};const Nq=(e,t,n)=>{const i=t<0?e.length+t:t;if(i>=0&&i<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}};Dq.exports=(e,t,n)=>(e=[...e],Nq(e,t,n),e);var Bq=Dq.exports.mutate=Nq,$q={};Object.defineProperty($q,"__esModule",{value:!0});var jq=gq;function Iq(e){var t=function(e){return Lq(e,"camunda:FormData")[0]}(e);return t&&t.get("fields")||[]}function Lq(e,t,n){var i=function(e,t){var n=[],i=e.get("extensionElements");if(void 0!==i){var r=i.get("values");void 0!==r&&(n=jq.filter(r,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(i[0]||{})[n]||[]:i}function qq(e,t){var n=function(e){return(Lq(e,"camunda:InputOutput")||[])[0]}(e);return n&&n.get(t)||[]}function zq(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function Vq(e,t,n){n=n||0,jq.isArray(e)||(e=[e]),jq.forEach(e,(function(e,i){var r=t(e,i,n);jq.isArray(r)&&r.length&&Vq(r,t,n+1)}))}function Fq(e,t,n){var i=!n||-1===e.indexOf(t);return i&&e.push(t),i}function Hq(e,t,n){var i=[],r=[];return Vq(e,(function(e,o,s){Fq(i,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&Fq(r,a,t))return a})),i}function Uq(e,t){return Hq(e,!t,-1)}function Wq(e,t){var n=jq.findIndex(e,(function(e){return e.name===t.name&&e.scope===t.scope}));n>=0?e[n].origin=function(e,t){return e.concat(t)}(e[n].origin,t.origin):e.push(t)}function Xq(e,t,n){var i,r,o,s,a=(i=n,r=t,o=zq(e),s=jq.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return jq.find(function(e){return qq(e,"inputParameters")}(e),(function(e){return e.name===t}))}(e,r)})),s||i);return{name:t,origin:[e],scope:a}}function Gq(e,t){var n=e.eventDefinitions;return n&&t?jq.filter(n,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})):n}var Qq=[function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=function(e){return qq(e,"outputParameters")}(e);jq.forEach(t,(function(t){var r=Xq(e,t.name,n);Wq(i,r)}))})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=function(e){return e.get("camunda:resultVariable")}(e);if(t){var r=Xq(e,t,n);Wq(i,r)}})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=Iq(e);jq.forEach(t,(function(t){var r=Xq(e,t.id,n);Wq(i,r)}))})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables;return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=function(e){return Lq(e,"camunda:Out")}(e);jq.forEach(t,(function(t){if(!t.local){var r=Xq(e,t.target,n);Wq(i,r)}}))})),i},function(e){var t=e.elements,n=e.containerElement,i=e.processVariables,r=function(e,t){var r=Xq(e,t,n);Wq(i,r)};return jq.isArray(t)||(t=[t]),jq.forEach(t,(function(e){var t=function(e){return Gq(e,"bpmn:ErrorEventDefinition")}(e);jq.forEach(t,(function(t){var n=t.get("errorCodeVariable"),i=t.get("errorMessageVariable");n&&r(e,n),i&&r(e,i)}));var n=function(e){return Gq(e,"bpmn:EscalationEventDefinition")}(e);jq.forEach(n,(function(t){var n=t.get("escalationCodeVariable");n&&r(e,n)}))})),i}];function Kq(e,t=[]){const n=[];var i=[],r=Uq([e],!1);return jq.forEach([...Qq,...t],(function(t){n.push(t({elements:r,containerElement:e,processVariables:i}))})),Promise.all(n).then((()=>i))}var Yq=$q.getProcessVariables=Kq,Zq=$q.getVariablesForScope=async function(e,t,n=[]){var i=await Kq(t,n),r=function(e,t){var n=Uq(t);return jq.find(n,(function(t){return t.id===e}))}(e,t),o=jq.filter(i,(function(e){return e.scope.id===r.id})),s=zq(r);return function(e,t){return e.concat(t)}(o,jq.filter(i,(function(e){return jq.find(s,(function(t){return t.id===e.scope.id}))})))};const Jq=Mw({selectedElement:null,injector:null,getService:()=>null});function ez(e,t){const{getService:n}=Zw(Jq);return n(e,t)}function tz(){return tz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},tz.apply(this,arguments)}function nz(){return nz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},nz.apply(this,arguments)}function iz(){return iz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},iz.apply(this,arguments)}function rz(){return rz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},rz.apply(this,arguments)}function oz(){return oz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},oz.apply(this,arguments)}function sz(){return sz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sz.apply(this,arguments)}function az(){return az=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},az.apply(this,arguments)}var lz=({styles:e={},...t})=>jE("svg",az({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),jE("path",{stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"1.1,4.3",d:"M1.5 30.5L27 5"}),jE("path",{d:"M31.803.197L26.5 16.107l-1.52-1.52 3.783-11.35-11.35 3.783-1.52-1.52z"}));function cz(){return cz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},cz.apply(this,arguments)}function pz(){return pz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},pz.apply(this,arguments)}function uz(){return uz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},uz.apply(this,arguments)}function dz(){return dz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},dz.apply(this,arguments)}function hz(){return hz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hz.apply(this,arguments)}function mz(){return mz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},mz.apply(this,arguments)}function fz(){return fz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fz.apply(this,arguments)}function gz(){return gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},gz.apply(this,arguments)}function yz(){return yz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yz.apply(this,arguments)}function vz(){return vz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vz.apply(this,arguments)}function bz(){return bz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},bz.apply(this,arguments)}function xz(){return xz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xz.apply(this,arguments)}function wz(){return wz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},wz.apply(this,arguments)}function Ez(){return Ez=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ez.apply(this,arguments)}function _z(){return _z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_z.apply(this,arguments)}function Oz(){return Oz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Oz.apply(this,arguments)}function Pz(){return Pz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Pz.apply(this,arguments)}function kz(){return kz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kz.apply(this,arguments)}function Sz(){return Sz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Sz.apply(this,arguments)}function Cz(){return Cz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Cz.apply(this,arguments)}function Tz(){return Tz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Tz.apply(this,arguments)}function Az(){return Az=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Az.apply(this,arguments)}function Mz(){return Mz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Mz.apply(this,arguments)}function Rz(){return Rz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Rz.apply(this,arguments)}var Dz=({styles:e={},...t})=>jE("svg",Rz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.111.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.454 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.215-2.282-2.022-5.3-3.217-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.082 11.082 0 0116 5.021zm-3.956 3.946l-3.096 3.097 3.985 3.985-3.913 3.913 3.047 3.048 3.913-3.913 3.988 3.987 3.097-3.096L19.076 16l3.914-3.913-3.048-3.048-3.913 3.913-3.986-3.985zm-.002 1.222l3.988 3.987 3.913-3.913 1.826 1.826-3.913 3.913 3.985 3.986-1.873 1.873-3.985-3.985-3.913 3.913-1.827-1.827 3.914-3.913-3.988-3.987 1.873-1.873z"}));function Nz(){return Nz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Nz.apply(this,arguments)}var Bz=({styles:e={},...t})=>jE("svg",Nz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm-.56 5.772l-7.408 5.231 7.409 5.234v-5.057c2.385 1.687 4.771 3.371 7.157 5.057V10.793l-7.157 5.055v-5.055zm-.865 1.665v7.125l-5.048-3.562 5.048-3.563zm7.161 0v7.132l-5.048-3.566 5.048-3.566z"}));function $z(){return $z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$z.apply(this,arguments)}var jz=({styles:e={},...t})=>jE("svg",$z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.97.04h-.127C8.713-.018 2.003 5.334.437 12.286c-1.51 6.123.98 13.005 6.136 16.665 5.125 3.788 12.546 4.105 17.912.623 5.272-3.276 8.33-9.766 7.325-15.916-.904-6.241-5.79-11.7-11.95-13.143A16.082 16.082 0 0015.97.04zm-.181 1.724c.115 0 .23 0 .347.003 6.625-.066 12.823 5.149 13.89 11.69 1.13 5.91-1.908 12.349-7.262 15.138-5.473 3.013-12.866 1.884-17.116-2.726C1.291 21.372.444 13.914 3.802 8.602c2.493-4.112 7.169-6.819 11.987-6.838zm.283 1.554c-.117 0-.234.002-.351.005-6.1 0-11.691 5.049-12.346 11.114-.78 5.684 2.795 11.612 8.218 13.52 5.139 1.943 11.416.101 14.624-4.38 3.461-4.583 3.262-11.538-.596-15.831-2.36-2.747-5.924-4.423-9.549-4.428zm-.078 1.695c.078 0 .156 0 .234.003 5.4 0 10.321 4.556 10.734 9.942.563 5.13-2.958 10.364-7.971 11.678-4.832 1.41-10.457-.935-12.746-5.446-2.463-4.559-1.2-10.795 3.014-13.883a11.072 11.072 0 016.735-2.294zm-5.352 4.266V22.761h10.716V9.279H10.642zm.863.866h8.987v11.75h-8.987v-11.75zm.927 1.323v.862h7.133v-.862h-7.133zm0 2.602v.866h7.133v-.866h-7.133zm0 3.008v.862h7.133v-.862h-7.133zm0 2.717v.863h7.133v-.863h-7.133z"}));function Iz(){return Iz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Iz.apply(this,arguments)}var Lz=({styles:e={},...t})=>jE("svg",Iz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm6.132 4.194c-1.21 2.455-2.422 4.91-3.633 7.364l-4.516-5.875-4.103 12.133 4.6-5.912c1.58 1.81 3.162 3.619 4.744 5.429L22.13 9.215zM14.383 13.1l4.295 5.445 1.073-2.387-1.027 4.131-4.384-5.157-1.778 2.75 1.821-4.782z"}));function qz(){return qz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qz.apply(this,arguments)}var zz=({styles:e={},...t})=>jE("svg",qz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.927c-1.672 4.654-2.734 9.502-4.406 14.155 1.534-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.496-4.71-2.91-9.446-4.406-14.156zm.032 2.929c.822 2.586 1.598 5.186 2.42 7.771l-2.42-2.612c-.682.597-2.452 2.884-2.338 2.388.87-2.487 1.447-5.067 2.338-7.547z"}));function Vz(){return Vz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Vz.apply(this,arguments)}var Fz=({styles:e={},...t})=>jE("svg",Vz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm1.78 4.093v3.555H9.785v6.714h7.994v3.554l5.829-6.911-5.83-6.912zm.974 2.584l3.61 4.295-3.61 4.294v-1.933h-7.88v-4.688h7.88v-1.968z"}));function Hz(){return Hz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Hz.apply(this,arguments)}var Uz=({styles:e={},...t})=>jE("svg",Hz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm-7.245 5.475v11.06h14.502v-11.06H8.754zm3.222 1.728h8.057c-1.427.878-2.854 2.806-4.281 3.016l-3.776-3.016zm9.554 1.017v6.587H10.48V13.24l5.524 4.414 5.526-4.414z"}));function Wz(){return Wz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Wz.apply(this,arguments)}var Xz=({styles:e={},...t})=>jE("svg",Wz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.073l-7.62 5.531 2.91 8.95h9.42l2.91-8.95-7.62-5.53zm0 1.067l6.604 4.794-2.523 7.757h-8.162l-2.522-7.757 6.603-4.794z"}));function Gz(){return Gz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Gz.apply(this,arguments)}var Qz=({styles:e={},...t})=>jE("svg",Gz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M10.638 9.563V23.056h10.724V9.563H10.638zm.863.866h8.995v11.76H11.5V10.43zm.928 1.324v.862h7.139v-.862h-7.14zm0 2.605v.866h7.139v-.866h-7.14zm0 3.01v.863h7.139v-.863h-7.14zm0 2.72v.863h7.139v-.864h-7.14zM15.999.308h-.004l-.188.001h-.011l-.188.004h-.011L15.41.32h-.011l-.187.008h-.005L15.2.33l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.37h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003.178-.001h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 1.023l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.62h-.005l-.005-.002-.182-.035h-.006L18.938.58l-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.43 17.783.41l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.37h-.005L17.38.368l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.328h-.011L16.6.32h-.011l-.187-.006h-.011L16.204.31h-.011L16.005.31H16zm9.016 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zm-18.381.344l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003L4.682 5l-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.595h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01L16.32 3.6h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 13.135l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187V16.7l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zm-30.21.572l-.161.001-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158-.074-.155-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178-.001-.177v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057-.159-.028zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14v-.005l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 23.019l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 27.127l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z"}));function Kz(){return Kz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Kz.apply(this,arguments)}var Yz=({styles:e={},...t})=>jE("svg",Kz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.012 9.222c-1.673 4.657-2.735 9.508-4.409 14.164 1.536-1.526 2.874-3.236 4.41-4.762l4.408 4.762c-1.497-4.712-2.911-9.451-4.409-14.164zm.032 2.93c.823 2.588 1.599 5.19 2.421 7.777l-2.42-2.614c-.683.598-2.454 2.886-2.34 2.39.871-2.489 1.448-5.07 2.34-7.552zM16.012.312c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function Zz(){return Zz=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Zz.apply(this,arguments)}var Jz=({styles:e={},...t})=>jE("svg",Zz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M8.742 10.464v11.072h14.516V10.464H8.742zm3.224 1.73h8.066a69569 69569 0 00-4.034 3.22l-4.032-3.22zm9.565 1.018v6.594H10.469v-6.593L16 17.63l5.532-4.419zM16 0h-.005l-.188.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06h-.005L17.38.06l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0H16zm9.015 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zM6.634 3.28l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.286h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 12.826l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zM.938 15L.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 22.71l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 26.818l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z"}));function eV(){return eV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},eV.apply(this,arguments)}var tV=({styles:e={},...t})=>jE("svg",eV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M23.637 13.902l-7.625-5.535-7.624 5.535 2.912 8.956h9.425l2.912-8.956zm-1.017.33l-2.524 7.762H11.93l-2.524-7.762 6.607-4.796 6.608 4.796zM16.012.311c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function nV(){return nV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},nV.apply(this,arguments)}var iV=({styles:e={},...t})=>jE("svg",nV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M13.51 9.081v4.428H9.08v4.982h4.428v4.428h4.982V18.49h4.428v-4.982H18.49V9.081h-4.982zm.83.83h3.32v4.428h4.429v3.322H17.66v4.428h-3.32v-4.454H9.91v-3.296h4.428V9.911zM16 0h-.005l-.188.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.011L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.185.027h-.005l-.005.001-.184.029h-.005l-.005.001-.183.031-.006.001-.005.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.176.027.17.03.174.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.087-.135.061-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.145-.073-.128-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.006-.001-.183-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06h-.005L17.38.06l-.187-.015h-.005l-.005-.001-.187-.013h-.011L16.8.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0H16zm9.015 2.935l-.16.004-.158.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.126.125.124.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.084.152.084.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.16-.016.155-.046.144-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.003-.005-.002-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.003-.005-.101-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.005-.003-.004-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.004-.004-.003-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.004-.004-.132-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027zM6.634 3.28l-.161.008-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.004-.003.005-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.004-.003.005-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023zM16 3.286h-.005l-.148.001h-.01l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.047.12.048.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.139-.107-.12-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.006-.002-.005-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.142-.031-.005-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.002-.143-.025-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.011l-.147-.001H16zm-5.482 1.366l-.16.008-.157.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.005.003-.004.004-.11.096-.004.004-.004.003-.11.098-.003.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.004.004-.003.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.004-.086.118-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.03.15-.057.138-.085.119-.109.082-.105.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022zm13.91 2.116l-.162.008-.157.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.025.159.055.152.082.138.086.103.09.09.094.098.092.099.093.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.114.068.118.067.115.065.118.064.117.062.117.061.121.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.048.127.047.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.085.137.11.119.129.096.145.07.155.043.16.013.161-.017.154-.046.144-.075.126-.1.106-.12.082-.14.055-.151.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.06-.132-.001-.005-.002-.004-.061-.132-.003-.004-.002-.005-.063-.13-.002-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.074-.125-.002-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.081-.12-.003-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.118-.003-.004-.004-.004-.087-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.094-.113-.003-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.11-.004-.003-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023zM4.45 12.826l-.161.002-.158.032-.15.06-.135.088-.118.11-.094.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.005-.019.145v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.005l-.001.006-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.005.033.142v.005l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.104.102-.125.076-.142.049-.153.02-.16-.011-.161-.031-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.133-.024-.133-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.133.01-.138.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029zm26.698 1.601l-.161.01-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.025.175-.026.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.16-.062.165-.062.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.079.158-.08.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.119.13.097.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.005.002-.004.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.171.001-.005.002-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.181.001-.005.001-.005.037-.182.002-.005v-.005l.036-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02zM.938 15L.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.004.074.17.002.005.002.004.076.169.002.004.002.005.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.157-.07-.16-.068-.16-.067-.165-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15zm26.798 2.024l-.16.007-.157.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.133-.026.133-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.063.119-.062.116-.067.119-.066.116-.069.115-.069.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.107-.085.11-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.081-.12.003-.005.003-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.005.003-.004.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.002-.005.003-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.001-.006.042-.138.001-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.142.001-.005.001-.005.031-.141.001-.006.002-.005.029-.142v-.005l.002-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022zM6.841 22.71l-.16.024-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.109.04.048.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.105.004.004.004.004.103.105.004.004.004.003.105.104.003.004.004.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.004.003.005.004.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.002.126.073.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.067.005.003.004.002.13.066.004.002.005.003.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.002.133.057.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.16-.015.156-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.159-.061-.149-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.08-.11-.08-.109-.081-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006zm15.063 2.701l-.16.014-.156.044-.12.057-.06.034-.12.066-.117.064-.118.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.035-.13.036-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021.005-.001h.006l.143-.023.006-.001h.005l.143-.025h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.037h.005l.005-.002.14-.038.005-.002h.005l.14-.04.005-.002.005-.001.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.057.005-.002.005-.002.132-.057.005-.003.005-.002.132-.06.005-.001.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.003.005-.002.128-.066.005-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.003.065-.037.132-.093.112-.115.089-.135.062-.149.034-.157.003-.161-.026-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.046-.16-.016zM6.33 26.818l-.16.023-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.004.003.005.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.002.162.088.005.003.004.002.164.086.005.003.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.168.076.005.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.06.005.003.005.001.175.06.005.001.005.002.176.057.005.001.005.002.176.055.006.001.005.002.177.052.005.002.005.001.178.05.005.002.005.002.178.048.006.001.005.002.179.046.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.17-.044-.168-.046-.167-.047-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006zm19.215.087l-.16.01-.157.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.158.073-.157.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.047-.17.046-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.007.133-.016.115-.024.005-.001.005-.001.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002.005-.001.18-.046.004-.002h.005l.179-.05h.005l.005-.002.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.004-.002.005-.002.172-.068.005-.002.005-.002.171-.07.005-.001.005-.002.17-.072.005-.002.004-.002.17-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.003.167-.08.004-.002.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.003.163-.086.005-.002.005-.003.162-.088.005-.002.005-.003.161-.09.005-.002.004-.003.16-.092.005-.003.005-.002.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.003.155-.101.005-.003.004-.003.154-.104.004-.003.004-.003.153-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.112.004-.003.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02z",opacity:".98"}));function rV(){return rV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},rV.apply(this,arguments)}var oV=({styles:e={},...t})=>jE("svg",rV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.012 8.816L9.21 21.026h13.606l-6.803-12.21zm0 1.776l5.332 9.57H10.681l5.331-9.57zm0-10.281c-1.448.02-2.93.157-4.302.628-.852.447-.255 1.863.66 1.574 2.255-.608 4.648-.607 6.922-.108.934.075 1.228-1.376.338-1.67C18.451.44 17.227.317 16.012.311zm9.012 2.934c-.913-.104-1.272 1.258-.454 1.648 1.834 1.36 3.293 3.185 4.31 5.22.526.776 1.842.098 1.515-.78a15.522 15.522 0 00-5.06-6.006c-.1-.044-.203-.07-.31-.082zM6.65 3.59c-.762.089-1.24.809-1.805 1.267C3.38 6.295 2.163 8.007 1.37 9.905c-.266.898 1.094 1.484 1.564.675a14.825 14.825 0 014.327-5.56c.476-.515.09-1.419-.612-1.431zm9.362.007c-.698.066-1.689-.16-2.033.635-.282.733.535 1.358 1.217 1.125 1.806-.147 3.63.203 5.293.907.902.255 1.472-1.112.656-1.573-1.6-.735-3.374-1.089-5.133-1.094zm-5.479 1.365c-.835.15-1.517.76-2.21 1.226-1.203.94-2.318 2.061-3.057 3.402-.33.904 1.063 1.552 1.547.723 1.045-1.656 2.596-2.925 4.285-3.873.545-.499.171-1.463-.565-1.478zm13.903 2.115c-.875-.07-1.22 1.173-.501 1.627 1.325 1.34 2.188 3.062 2.748 4.84.468.84 1.869.21 1.557-.699-.604-2.118-1.751-4.097-3.351-5.615a.93.93 0 00-.453-.153zM4.467 13.132c-.822-.07-.996.826-1.046 1.455-.256 1.93-.094 3.933.562 5.769.406.844 1.807.365 1.612-.551a11.498 11.498 0 01-.334-5.808.874.874 0 00-.794-.865zm26.687 1.6c-.746-.037-1.014.785-.879 1.395.043 2.393-.57 4.771-1.66 6.894-.31.884 1.02 1.536 1.53.75a15.632 15.632 0 001.821-8.372.876.876 0 00-.812-.667zm-30.197.571c-.782-.073-1.044.775-.933 1.404.068 2.414.661 4.833 1.809 6.962.534.77 1.842.076 1.505-.798a14.833 14.833 0 01-1.603-6.861.876.876 0 00-.778-.707zm26.787 2.024c-.777-.048-.952.797-1.021 1.392-.354 1.692-1.202 3.231-2.216 4.608-.407.872.925 1.638 1.48.852 1.361-1.733 2.296-3.827 2.582-6.017a.874.874 0 00-.825-.835zM6.857 23.012c-.808.018-1.082 1.122-.47 1.59 1.393 1.607 3.187 2.886 5.194 3.599.91.222 1.43-1.165.598-1.596a11.495 11.495 0 01-4.723-3.396.899.899 0 00-.599-.197zm15.057 2.7c-.81.194-1.504.76-2.325.972-1.203.458-2.5.536-3.758.664-.869.307-.573 1.728.346 1.663 2.201-.034 4.412-.626 6.293-1.778.604-.495.227-1.532-.556-1.521zM6.346 27.118c-.833.008-1.11 1.218-.395 1.617 1.986 1.602 4.358 2.749 6.868 3.226.933.076 1.227-1.376.338-1.67a14.838 14.838 0 01-6.345-3.066.929.929 0 00-.466-.107zm19.208.087c-.766.09-1.241.841-1.922 1.158-1.516.991-3.251 1.58-4.996 2.005-.872.405-.346 1.849.584 1.604 2.543-.526 4.98-1.66 6.963-3.344.47-.52.072-1.42-.63-1.423z"}));function sV(){return sV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},sV.apply(this,arguments)}var aV=({styles:e={},...t})=>jE("svg",sV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.998 8.406c-3.018-.041-5.92 1.926-7.031 4.727-1.138 2.695-.51 6.012 1.537 8.103 1.99 2.141 5.268 2.93 8.014 1.927 2.878-.98 4.992-3.827 5.068-6.87.153-2.957-1.624-5.88-4.3-7.137a7.552 7.552 0 00-3.288-.75zm0 1.384c2.759-.052 5.373 1.973 6.015 4.655.704 2.578-.482 5.517-2.791 6.867-2.358 1.48-5.682 1.086-7.618-.918-2.043-1.971-2.407-5.381-.84-7.745 1.11-1.763 3.15-2.88 5.234-2.86zm1.962 1.765l-2.074 3.762c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.182l1.993-3.615c-.252-.14-.505-.278-.757-.417zm-1.965-8.268h-.158l-.147.003h-.011l-.147.005h-.011l-.146.007h-.011l-.146.009h-.011l-.146.01h-.005l-.005.001-.146.012h-.011l-.145.014h-.006l-.005.001-.05.006-.158.031-.15.06-.135.088-.117.111-.094.13-.069.147-.04.156-.01.16.019.16.049.154.076.142.102.125.123.105.14.08.152.051.16.023.134-.003.045-.005.135-.013.133-.01.136-.01.135-.007.137-.006.136-.004.136-.003h.274l.136.003.136.004.136.006.136.007.136.01.133.01.135.013.135.014.135.016.134.018.132.018.134.021.133.023.133.024.133.025.13.027.132.03.132.03.129.031.13.034.129.035.129.036.13.04.126.038.128.042.126.042.128.045.127.047.126.048.12.047.127.051.123.052.006.002.147.048.16.021.16-.009.157-.038.147-.067.131-.093.112-.116.089-.135.062-.149.033-.158.004-.16-.027-.16-.055-.151-.083-.138-.107-.121-.127-.099-.118-.063-.004-.001-.005-.003-.005-.002-.133-.056-.005-.002-.005-.002-.134-.054-.004-.002-.005-.002-.135-.053-.005-.002-.005-.002-.135-.051-.005-.002-.005-.002-.135-.05-.005-.001-.005-.002-.137-.048-.005-.001-.005-.002-.137-.046-.005-.002-.005-.002-.137-.044-.005-.002-.005-.001-.138-.043-.005-.002-.006-.001-.138-.042-.005-.001-.005-.002-.14-.04H19.4l-.005-.002-.14-.038-.005-.001-.005-.002-.14-.036-.005-.001-.005-.001-.141-.035-.005-.001-.005-.001-.142-.033-.005-.001-.005-.001-.141-.031-.006-.002h-.005l-.142-.03-.005-.001-.005-.001-.143-.028h-.005l-.005-.001-.143-.026-.006-.001-.005-.001-.143-.024-.005-.001-.006-.001-.143-.022-.006-.001h-.005l-.144-.022h-.005l-.006-.001-.144-.019h-.005l-.006-.001-.144-.017h-.006l-.005-.001-.145-.016h-.011l-.145-.014H17.1l-.005-.001-.146-.012h-.01l-.146-.01-.006-.001h-.005l-.146-.009h-.011l-.147-.006h-.01l-.147-.005h-.011l-.147-.003h-.01l-.148-.001h-.01zM10.357 4.66l-.156.037-.123.053-.06.032-.005.002-.004.003-.128.069-.004.002-.005.003-.126.07-.005.003-.004.002-.126.072-.005.003-.004.003-.125.073-.004.003-.005.003-.124.075-.004.003-.005.002-.123.077-.004.003-.005.003-.122.078-.004.003-.005.003-.121.08-.004.002-.005.003-.12.082-.005.003-.004.003-.12.083-.004.003-.004.003-.118.084-.005.003-.004.003-.118.086-.004.003-.004.003-.117.088-.004.003-.004.003-.116.089-.004.003-.004.004-.114.09-.005.003-.004.003-.113.092-.004.004-.004.003-.113.093-.004.004-.004.003-.111.095-.004.003-.005.004-.11.096-.004.004-.004.003-.109.098-.004.003-.004.004-.108.1-.004.003-.004.003-.107.101-.004.004-.004.003-.106.102-.003.004-.004.004-.105.103-.004.004-.004.004-.103.105-.004.004-.004.003-.102.106-.003.004-.004.004-.1.107-.004.004-.004.004-.099.108-.004.004-.003.004-.098.11-.003.003-.004.004-.096.11-.004.005-.003.004-.095.111-.003.004-.004.004-.093.113-.003.004-.004.004-.092.113-.003.004-.003.005-.09.114-.004.004-.003.004-.089.116-.003.004-.003.004-.088.117-.003.004-.003.005-.086.117-.003.004-.003.005-.084.118-.003.004-.003.005-.083.12-.003.003-.003.005-.082.12-.003.005-.002.004-.068.103-.076.142-.048.154-.018.16.011.161.041.156.07.146.095.13.117.11.136.086.15.06.158.03.162.002.158-.029.15-.058.138-.085.119-.108.082-.106.065-.099.075-.11.077-.113.077-.107.08-.11.08-.108.084-.108.083-.105.086-.106.086-.104.088-.104.089-.101.09-.102.093-.101.093-.099.094-.097.095-.096.098-.097.098-.095.099-.093.1-.092.103-.091.101-.089.104-.088.104-.086.106-.086.106-.083.106-.082.109-.082.108-.079.11-.078.11-.076.112-.076.112-.074.113-.072.113-.071.115-.07.115-.068.118-.067.117-.065.12-.065.054-.029.135-.088.116-.111.094-.132.068-.146.04-.156.009-.161-.02-.16-.05-.153-.078-.142-.102-.125-.123-.103-.141-.079-.153-.051-.16-.022-.16.008zm13.91 2.116l-.158.037-.147.066-.132.092-.113.116-.09.134-.063.148-.034.157-.005.162.026.159.054.152.082.139.086.102.09.09.094.098.093.099.092.1.091.103.089.101.088.104.086.104.086.106.083.105.083.108.08.108.081.11.077.107.077.112.075.111.075.114.072.113.071.113.07.115.068.117.067.115.065.118.064.117.062.118.061.12.059.119.059.122.056.121.054.12.055.125.051.123.051.125.048.123.049.127.046.126.044.125.043.128.042.129.039.126.038.13.022.076.058.15.086.137.109.119.129.096.145.07.155.043.16.013.161-.017.155-.046.143-.074.126-.1.106-.122.082-.138.055-.152.025-.16-.005-.16-.026-.132-.023-.082-.002-.005-.001-.005-.042-.139-.001-.005-.002-.005-.043-.138-.001-.005-.002-.005-.044-.137-.002-.005-.002-.005-.046-.137-.002-.005-.001-.005-.048-.137-.002-.005-.002-.005-.05-.135-.001-.005-.002-.005-.051-.135-.002-.005-.002-.005-.053-.135-.002-.005-.002-.005-.054-.133-.002-.005-.002-.005-.057-.133-.002-.005-.002-.005-.057-.132-.003-.005-.002-.005-.059-.132-.002-.005-.002-.004-.061-.132-.003-.004-.002-.005-.062-.13-.003-.005-.002-.005-.064-.13-.003-.004-.002-.005-.066-.129-.002-.004-.003-.005-.067-.128-.002-.005-.003-.004-.069-.128-.002-.004-.003-.005-.07-.126-.003-.005-.003-.004-.072-.126-.002-.005-.003-.004-.073-.125-.003-.004-.003-.005-.075-.124-.003-.004-.003-.005-.076-.123-.003-.004-.003-.005-.078-.122-.003-.004-.003-.005-.08-.121-.003-.004-.003-.005-.08-.12-.004-.005-.003-.004-.083-.12-.003-.004-.003-.004-.084-.118-.003-.005-.003-.004-.086-.117-.003-.005-.003-.004-.088-.117-.003-.004-.003-.004-.09-.116-.002-.004-.004-.004-.09-.114-.003-.005-.004-.004-.091-.113-.004-.004-.003-.004-.093-.113-.004-.004-.003-.004-.095-.111-.004-.004-.003-.004-.096-.11-.004-.005-.003-.004-.098-.109-.004-.004-.003-.004-.1-.108-.003-.004-.004-.004-.1-.107-.004-.004-.004-.004-.102-.106-.003-.003-.004-.004-.093-.095-.124-.103-.14-.08-.153-.05-.16-.023-.16.008zM4.288 12.828l-.158.032-.15.06-.135.088-.117.11-.095.131-.069.146-.035.129-.026.132v.005l-.002.005-.025.143-.001.005-.001.006-.024.143-.001.005-.001.006-.022.143-.001.006-.001.005-.02.144-.001.005-.001.006-.019.144v.005l-.001.006-.017.144v.006l-.001.005-.016.145v.011l-.014.145v.006l-.001.005-.012.146v.01l-.01.146-.001.006v.005l-.009.146v.011l-.007.146v.011l-.004.147v.011l-.003.147v.01l-.002.148v.01l.001.148v.01l.003.147v.011l.005.147v.01l.007.147v.011l.009.146v.011l.01.146v.01l.013.146v.011l.014.145v.005l.001.006.016.145v.011l.018.144v.006l.001.005.019.144v.006l.001.005.021.144v.005l.002.006.022.143v.006l.002.005.024.143v.005l.002.006.025.143.001.005.001.005.028.143.001.005.001.005.03.142v.005l.002.006.03.141.002.005.001.006.033.14v.006l.002.005.035.14v.006l.002.005.036.14.002.005.001.005.038.14.001.005.002.005.04.14v.005l.002.005.042.138.001.006.002.005.042.138.002.005.002.005.017.054.064.148.09.134.114.114.132.092.148.065.157.037.16.007.16-.023.153-.052.14-.08.123-.103.102-.126.076-.142.049-.153.02-.16-.01-.161-.032-.13-.017-.051-.039-.126-.038-.13-.037-.128-.035-.13-.033-.128-.033-.134-.03-.13-.029-.131-.026-.13-.026-.132-.024-.134-.023-.133-.02-.132-.02-.136-.017-.132-.016-.135-.014-.135-.012-.133-.012-.138-.009-.133-.007-.136-.006-.138-.004-.134-.003-.136v-.274l.003-.136.004-.134.006-.139.007-.136.01-.132.01-.139.013-.132.014-.135.016-.135.017-.132.02-.137.02-.13.023-.134.024-.133.024-.126.016-.16-.014-.161-.044-.155-.072-.145-.098-.128-.12-.108-.137-.084-.15-.057-.16-.029-.16.002zm23.286 4.202l-.156.038-.148.066-.132.092-.113.115-.09.134-.062.148-.03.127-.001.004-.023.134-.024.134-.026.132-.026.13-.03.132-.03.129-.032.134-.033.128-.035.13-.037.128-.038.13-.04.126-.04.128-.044.128-.044.126-.046.126-.048.126-.05.125-.05.125-.051.122-.054.123-.055.122-.056.12-.058.122-.06.12-.061.12-.062.119-.063.116-.067.119-.066.116-.068.115-.07.115-.07.113-.073.113-.074.112-.076.113-.077.112-.077.107-.08.11-.08.108-.085.109-.044.056-.088.135-.06.15-.033.158-.002.16.027.16.057.15.083.138.108.12.128.098.144.072.155.045.16.015.161-.016.155-.044.144-.073.128-.098.09-.099.05-.061.003-.004.003-.005.089-.115.003-.004.003-.005.088-.116.003-.004.003-.005.086-.117.003-.004.003-.005.084-.118.003-.004.003-.005.083-.12.003-.004.003-.004.082-.12.003-.005.002-.004.08-.121.003-.005.003-.004.078-.122.003-.005.003-.004.077-.123.002-.005.003-.004.075-.124.003-.005.003-.004.073-.125.003-.004.003-.005.072-.126.002-.004.003-.005.07-.126.003-.005.002-.005.07-.127.002-.004.002-.005.068-.128.002-.005.002-.004.066-.13.003-.004.002-.005.064-.13.002-.004.003-.005.062-.13.003-.005.002-.005.06-.13.003-.005.002-.005.06-.132.002-.005.002-.005.057-.132.003-.005.002-.005.056-.133.002-.005.002-.005.054-.134.002-.004.002-.005.053-.135.002-.005.002-.005.051-.135.002-.005.002-.005.05-.135.001-.005.002-.005.048-.137.001-.005.002-.005.046-.137.002-.005.002-.005.044-.137.002-.005.002-.005.042-.138.002-.005.002-.006.04-.138.002-.005.002-.005.04-.14V19.4l.002-.005.038-.14.001-.005.002-.005.036-.14.001-.005.001-.005.035-.141.001-.005.001-.005.033-.141.001-.006.001-.005.031-.141.002-.006v-.005l.03-.142.001-.005.001-.005.028-.143v-.005l.002-.005.025-.143.001-.006.001-.005.024-.143.001-.005.001-.006.001-.006.01-.161-.02-.16-.05-.154-.077-.141-.102-.125-.123-.104-.141-.079-.153-.051-.16-.022-.16.007zM6.681 22.734l-.152.053-.14.08-.122.105-.101.126-.076.142-.048.154-.018.16.011.161.041.156.07.146.077.11.04.047.003.004.003.004.095.111.003.004.004.004.096.11.004.005.003.004.098.109.003.004.004.004.1.108.003.004.003.004.101.107.004.004.003.004.102.106.004.003.004.004.103.105.004.004.004.004.105.103.004.004.003.003.106.102.004.004.004.004.107.1.004.004.004.004.108.099.004.003.004.004.11.098.003.003.004.004.11.096.005.004.004.003.11.095.005.003.004.004.113.093.004.003.004.004.113.091.004.004.005.003.114.09.004.004.004.003.116.089.004.003.004.003.117.088.004.003.004.003.118.086.004.003.005.003.118.084.004.003.005.003.119.083.004.003.005.003.12.081.005.003.004.003.121.08.005.003.004.003.122.078.005.003.004.003.123.076.005.003.004.003.124.075.005.003.004.003.125.073.004.003.005.003.126.072.004.002.005.003.126.07.005.003.004.002.128.07.004.002.005.002.128.068.005.002.004.002.13.066.004.003.005.002.13.064.004.002.005.003.13.062.005.002.004.003.132.06.004.003.005.002.132.06.005.002.005.002.132.057.005.002.005.003.133.056.005.002.005.002.133.054.005.002.005.002.13.05.154.045.16.016.161-.015.155-.045.144-.072.128-.098.108-.12.083-.138.057-.15.028-.16-.003-.16-.032-.158-.061-.15-.088-.135-.11-.117-.132-.094-.12-.058-.124-.049-.126-.051-.122-.051-.122-.054-.12-.054-.126-.058-.119-.057-.12-.06-.12-.06-.118-.063-.117-.064-.119-.066-.116-.066-.115-.068-.115-.07-.113-.07-.115-.074-.112-.074-.11-.075-.11-.076-.112-.079-.11-.08-.109-.082-.106-.082-.104-.082-.106-.086-.105-.087-.101-.086-.105-.091-.1-.09-.1-.091-.1-.094-.097-.094-.1-.098-.093-.095-.096-.1-.093-.098-.092-.101-.089-.1-.09-.102-.088-.104-.036-.043-.114-.114-.133-.091-.148-.065-.157-.036-.161-.006-.16.024zm15.063 2.691l-.156.044-.12.057-.06.034-.12.066-.116.064-.119.062-.12.061-.12.06-.118.057-.126.058-.12.054-.122.054-.122.05-.126.052-.125.05-.124.046-.127.047-.125.044-.129.043-.126.04-.13.042-.128.038-.127.036-.13.035-.131.034-.129.031-.132.03-.13.03-.135.027-.133.026-.13.023-.13.022-.137.021-.132.02-.134.017-.132.015-.138.015-.135.013-.133.01-.138.01-.136.007-.134.006-.136.004-.14.003-.16.018-.155.047-.142.076-.127.1-.105.122-.08.14-.054.151-.025.16.006.16.035.158.064.148.09.134.114.114.133.092.147.065.157.036.134.008.145-.002h.011l.147-.005h.01l.147-.007h.011l.146-.009h.011l.146-.01h.005l.005-.001.146-.012h.011l.145-.014h.005l.006-.001.145-.016h.011l.144-.018h.006l.005-.001.144-.02h.011l.144-.021h.005l.006-.002.143-.022h.006l.005-.002.143-.024h.005l.006-.002.143-.026h.005l.005-.002.143-.027.005-.001.005-.001.142-.03h.005l.005-.002.142-.03.005-.002.005-.001.142-.033.005-.001.005-.001.14-.035.006-.001.005-.001.14-.036.005-.002.005-.001.14-.038.005-.001.005-.002.14-.04h.005l.005-.002.138-.042.005-.001.006-.002.138-.043.005-.001.005-.002.137-.044.005-.002.005-.002.137-.046.005-.002.005-.001.137-.048.005-.002.005-.002.135-.05.005-.001.005-.002.135-.051.005-.002.005-.002.135-.053.005-.002.004-.002.134-.054.005-.002.005-.002.133-.056.005-.003.005-.002.132-.057.005-.002.005-.003.132-.059.005-.002.004-.002.131-.061.005-.003.005-.002.13-.062.005-.003.005-.002.13-.064.004-.002.005-.003.129-.066.004-.002.005-.003.128-.067.005-.002.004-.003.127-.069.005-.002.005-.003.126-.07.005-.003.004-.002.065-.038.132-.093.112-.115.089-.135.062-.149.034-.157.004-.161-.027-.16-.055-.15-.082-.14-.107-.12-.127-.1-.144-.073-.154-.045-.16-.017-.161.014zM15.994 0l-.187.001h-.011l-.188.004h-.011l-.187.006h-.011l-.187.008h-.005L15.2.02l-.187.01h-.005l-.005.001-.187.013h-.01L14.62.06h-.01l-.186.018h-.011l-.185.02-.005.001h-.006l-.185.022-.005.001h-.005l-.185.025h-.005l-.005.001-.184.027h-.006l-.005.001-.184.029h-.005l-.005.001-.183.031-.005.001-.006.001-.182.033-.006.001-.005.001-.182.035-.005.001-.005.001-.182.038h-.005l-.005.002-.181.04h-.005l-.005.002-.18.042-.006.001-.005.001-.18.044-.005.002h-.005l-.17.045-.152.054-.139.082-.121.106-.1.127-.074.143-.046.155-.017.16.013.16.043.156.07.145.097.13.119.108.137.085.15.058.159.03.16-.001.133-.023.165-.043.168-.041.171-.04.171-.037.172-.036.17-.033.173-.03.17-.03.177-.027.171-.025.175-.022.175-.02.175-.02.176-.016.175-.014.177-.012.176-.01.177-.007.174-.006.177-.003L16 1.73h.177l.178.004.174.006.177.007.176.01.177.012.175.014.176.017.175.018.175.02.175.023.171.025.177.027.17.03.173.03.17.033.171.036.154.033.16.02.161-.01.156-.04.146-.069.131-.094.111-.117.088-.135.06-.15.032-.158.002-.16-.027-.16-.057-.15L20 .714l-.108-.12-.128-.097-.144-.073-.129-.038-.158-.035-.005-.001-.005-.001L19.14.31h-.005l-.005-.002-.182-.035h-.006l-.005-.002-.182-.033h-.006l-.005-.002-.183-.03-.005-.001-.005-.001-.184-.029h-.005l-.006-.001-.184-.027h-.005l-.005-.001-.185-.024h-.005L17.968.12 17.783.1l-.006-.001h-.005l-.185-.02h-.006l-.005-.001L17.39.06 17.385.06h-.005l-.187-.015h-.005l-.005-.001-.187-.013h-.01L16.799.02h-.011L16.6.01h-.011l-.187-.006h-.011L16.204 0h-.011L16.005 0h-.01zm8.86 2.939l-.157.033-.15.062-.134.09-.116.111-.093.132-.067.147-.038.156-.01.161.022.16.05.153.078.141.103.124.102.087.045.034.142.106.137.105.14.11.136.11.135.112.134.115.134.117.13.115.132.122.128.12.127.122.127.125.123.126.124.128.121.13.118.128.118.132.117.133.113.134.113.136.11.136.109.137.109.142.104.14.103.14.101.142.1.144.099.146.095.145.094.147.093.15.092.15.087.149.087.15.085.152.083.155.08.152.08.155.04.081.084.138.11.119.128.096.145.072.155.043.16.013.161-.016.155-.046.143-.074.127-.099.106-.12.083-.14.055-.151.026-.16-.004-.16-.034-.158-.05-.124-.042-.085-.002-.004-.003-.005-.084-.165-.002-.004-.003-.005-.086-.164-.002-.004-.003-.005-.088-.162-.002-.005-.003-.005-.09-.161-.002-.005-.003-.004-.092-.16-.002-.005-.003-.005-.094-.16-.003-.004-.003-.004-.096-.159-.002-.004-.003-.005-.098-.157-.003-.004-.003-.005-.1-.156-.003-.004-.002-.005-.102-.154-.003-.005-.003-.004-.104-.154-.003-.004-.003-.005-.106-.152-.003-.004-.003-.005-.108-.151-.003-.004-.003-.005-.11-.15-.003-.004-.003-.004-.111-.15-.004-.003-.003-.005-.113-.147-.004-.004-.003-.005-.115-.146-.004-.004-.003-.004-.117-.145-.004-.004-.003-.004-.12-.144-.003-.004-.003-.004-.121-.142-.003-.004-.004-.004-.123-.141-.003-.004-.004-.004-.125-.14-.003-.004-.004-.004-.127-.138-.003-.004-.004-.004-.128-.136-.004-.004-.004-.004-.13-.135-.004-.004-.003-.004-.133-.134-.003-.004-.004-.003-.134-.133-.004-.003-.004-.004-.135-.13-.004-.004-.004-.004-.136-.128-.004-.004-.004-.004-.138-.126-.004-.004-.004-.003-.14-.125-.004-.004-.004-.003-.14-.123-.005-.004-.004-.003-.142-.121-.004-.004-.004-.003-.144-.12-.004-.003-.004-.003-.145-.117-.004-.004-.004-.003-.147-.115-.004-.004-.004-.003-.148-.113-.004-.003-.004-.004-.149-.111-.004-.003-.004-.004-.05-.036-.14-.083-.15-.055-.16-.027-.16.004zm-18.381.348l-.157.037-.147.066-.111.074-.04.032-.005.003-.004.004-.145.117-.004.003-.004.004-.144.119-.004.003-.004.004-.142.12-.004.004-.004.004-.141.123-.004.003-.004.004-.14.125-.004.003-.004.004-.138.126-.004.004-.004.004-.136.128-.004.004-.004.004-.135.13-.004.004-.004.003-.134.133-.004.003-.004.004-.132.134-.003.004-.004.004-.13.135-.004.004-.004.004-.128.136-.004.004-.004.004-.126.138-.004.004-.003.004-.125.14-.004.004-.003.004-.123.14-.004.005-.003.004-.121.142-.004.004-.003.004-.12.144-.003.004-.003.004-.117.145-.004.004-.003.004-.115.146-.004.005-.003.004-.113.147-.003.005-.004.004-.111.149-.003.004-.004.004-.11.15-.002.005-.003.004-.108.151-.003.005-.003.004-.106.152-.003.005-.003.004-.104.154-.003.004-.003.005-.102.154-.003.005-.002.004-.1.156-.003.005-.003.004-.098.157-.003.005-.003.004-.096.159-.002.004-.003.005-.094.16-.003.004-.002.004-.092.16-.003.005-.003.005-.09.161-.002.005-.003.005-.088.162-.002.005-.003.004-.086.164-.002.005-.002.004-.084.165-.003.005-.002.004-.082.166-.002.005-.003.004-.08.167-.002.004-.002.005-.078.168-.002.004-.002.005-.045.1-.053.153-.023.16.007.16.037.157.065.148.092.132.114.114.134.09.148.064.157.035.161.006.16-.025.152-.054.14-.08.121-.106.1-.126.065-.118.043-.095.074-.16.075-.155.077-.157.08-.155.08-.152.083-.155.085-.152.086-.15.088-.149.091-.15.094-.15.094-.147.095-.145.099-.146.1-.144.1-.142.104-.14.104-.14.11-.142.107-.137.11-.136.114-.136.113-.134.117-.133.118-.132.117-.129.122-.13.124-.127.123-.126.127-.125.127-.122.128-.12.132-.122.13-.115.133-.117.135-.115.135-.111.136-.11.037-.03.117-.11.094-.132.068-.146.04-.156.01-.161-.02-.16-.05-.154-.076-.141-.102-.125-.123-.104-.14-.08-.153-.051-.16-.023-.161.008zm24.514 11.15l-.157.04-.146.067-.131.093-.112.117-.088.135-.061.149-.033.157-.005.134.006.14.006.176.003.177.001.178-.001.177-.003.178-.006.177-.007.176-.01.177-.012.176-.015.176-.016.173-.018.175-.02.175-.024.174-.024.175-.027.17-.03.174-.03.173-.033.17-.036.172-.037.17-.04.17-.042.172-.043.168-.045.166-.048.169-.05.167-.052.168-.053.164-.056.166-.058.166-.06.161-.061.164-.063.158-.066.165-.068.16-.07.16-.07.158-.075.159-.074.155-.078.158-.081.158-.06.15-.03.158-.001.161.029.159.058.15.085.137.108.12.13.096.144.07.156.044.16.013.16-.017.155-.046.143-.074.127-.1.107-.12.07-.115.083-.164.003-.005.002-.004.082-.166.002-.005.003-.004.08-.167.002-.005.002-.004.078-.168.002-.004.002-.005.076-.169.002-.004.002-.005.074-.17.002-.004.002-.005.072-.17.002-.005.002-.005.07-.17.002-.006.001-.005.068-.172.002-.004.002-.005.065-.173.002-.005.002-.005.063-.173.002-.005.002-.005.06-.174.003-.005.001-.005.06-.175.001-.005.002-.005.057-.176.001-.005.002-.005.055-.177.001-.005.002-.005.052-.177.002-.005.001-.005.051-.178.001-.005.002-.005.048-.179.002-.005v-.005l.047-.179.001-.005.002-.005.044-.18v-.005l.002-.005.042-.18.001-.006.001-.005.04-.18.001-.006.001-.005.038-.182v-.005l.002-.005.035-.182v-.006l.002-.005.033-.182v-.006l.002-.005.03-.183.001-.005.001-.005.029-.184v-.005l.001-.006.027-.184v-.005l.001-.005.024-.185v-.005l.001-.005.022-.185v-.006l.001-.005.02-.185v-.006l.001-.005.017-.186v-.005l.001-.005.015-.187v-.005l.001-.005.013-.187v-.01l.01-.187.001-.006v-.005l.009-.187v-.011l.006-.187v-.011l.004-.188v-.011l.001-.188v-.01l-.001-.188v-.011l-.004-.188v-.011l-.006-.187v-.011l-.007-.145-.022-.16-.05-.152-.08-.141-.103-.124-.125-.102-.141-.077-.153-.05-.16-.02-.161.009zM.777 15l-.158.032-.15.06-.136.087-.117.11-.095.131-.068.146-.04.156-.012.133-.001.14v.01l.001.188v.011l.004.188v.011l.006.187v.011l.008.187v.011l.011.187v.005l.001.005.013.187v.01l.016.187v.01l.018.186v.011l.02.185.001.005v.006l.022.185.001.005v.005l.025.185v.005l.001.005.027.184v.006l.001.005.029.184v.005l.001.005.031.183.001.005.001.006.033.182.001.005.001.006.035.182.001.005.001.005.038.182v.005l.002.005.04.181v.005l.002.005.042.18.001.006.001.005.044.18.002.005v.005l.047.18.001.004.002.005.048.179.002.005.001.005.05.178.002.005.001.005.053.177.002.005.001.005.055.177.002.005.001.005.057.176.002.005.001.005.06.175.001.005.002.005.061.174.002.005.002.005.063.173.002.005.002.005.065.173.002.005.002.004.067.172.002.005.002.005.07.171.002.005.002.005.072.17.002.005.002.005.074.169.002.005.002.004.076.169.002.005.002.004.078.168.002.004.002.005.08.167.003.004.002.005.082.166.002.004.003.005.02.04.086.136.11.118.13.095.146.07.156.041.16.012.16-.019.155-.048.142-.075.126-.1.105-.123.08-.14.054-.152.024-.16-.006-.16-.036-.158-.051-.123-.018-.034-.078-.158L3.1 22.1l-.074-.16-.071-.156-.07-.162-.068-.16-.067-.164-.062-.158-.062-.164-.059-.161-.058-.166-.056-.166-.053-.164-.052-.168-.05-.167-.048-.17-.045-.165-.043-.168-.043-.172-.039-.17-.037-.17-.036-.172-.033-.17-.03-.173-.03-.174-.027-.17-.025-.175-.022-.174-.021-.175-.018-.175-.017-.173-.014-.176-.012-.176-.01-.177-.007-.176-.006-.177-.003-.178L1.73 16v-.134l-.013-.16-.044-.156-.072-.144-.097-.129-.12-.108-.137-.085-.15-.057L.938 15 .777 15zM6.17 26.842l-.152.052-.14.08-.122.105-.101.126-.076.142-.048.154-.02.16.012.161.041.156.07.146.094.13.096.093.032.026.004.003.004.004.145.117.004.003.004.004.146.115.005.003.004.004.147.113.005.003.004.004.149.111.004.003.004.003.15.11.005.003.004.003.151.108.005.003.004.003.152.106.005.003.004.003.154.104.004.003.005.003.154.102.005.002.004.003.156.1.005.003.004.003.157.098.005.003.004.002.159.096.004.003.005.003.16.094.004.003.004.002.16.092.005.003.005.002.161.09.005.003.005.003.162.088.005.002.004.002.164.087.005.002.004.002.165.084.005.003.004.002.166.082.004.002.005.003.167.08.004.002.005.002.168.078.004.002.005.002.169.076.004.002.005.002.17.074.004.002.005.002.17.072.005.002.005.002.17.07.006.002.005.001.171.068.005.002.005.002.173.065.005.002.005.002.173.063.005.002.005.002.174.061.005.002.005.001.175.06.005.001.005.002.176.057.005.001.005.002.177.055.005.001.005.002.177.052.005.002.005.001.178.051.005.001.005.002.178.048.006.002h.005l.179.047.005.001.005.002.18.044h.005l.005.002.18.042.006.001.005.001.159.035.16.02.16-.01.157-.04.146-.069.13-.094.112-.117.087-.136.06-.149.033-.158.002-.161-.028-.159-.057-.15-.084-.138-.108-.12-.128-.098-.144-.072-.128-.039-.154-.033-.168-.04-.171-.041-.169-.044-.17-.045-.166-.048-.168-.05-.165-.051-.166-.054-.166-.056-.163-.057-.165-.06-.161-.062-.164-.064-.16-.065-.16-.068-.162-.07-.157-.07-.157-.074-.157-.075-.156-.077-.153-.079-.156-.082-.153-.082-.154-.086-.15-.086-.152-.09-.148-.09-.147-.092-.149-.095-.145-.095-.144-.098-.145-.1-.143-.102-.14-.103-.14-.104-.14-.108-.139-.11-.136-.11-.027-.022-.133-.091-.148-.065-.157-.036-.161-.006-.16.024zm19.214.073l-.156.039-.146.067-.11.076-.064.051-.139.11-.14.108-.14.104-.14.103-.143.101-.145.101-.144.098-.145.095-.149.095-.148.093-.147.089-.152.09-.15.086-.154.086-.153.082-.156.082-.153.079-.156.077-.157.075-.157.073-.158.071-.16.07-.16.068-.161.065-.164.064-.161.061-.165.06-.163.058-.166.056-.166.054-.166.051-.167.05-.167.048-.17.045-.168.044-.171.042-.168.039-.17.037-.11.023-.154.047-.143.075-.126.1-.106.122-.081.139-.054.152-.025.16.006.16.035.158.063.148.09.133.114.115.132.092.148.065.157.037.16.008.133-.017.115-.024h.005l.005-.002.181-.04h.005l.005-.002.18-.042.006-.001.005-.001.18-.044.005-.002h.005l.18-.047.004-.001.005-.002.179-.048.005-.002.005-.001.178-.05.005-.002.005-.002.177-.052.005-.002.005-.001.177-.055.005-.002.005-.001.176-.057.005-.002.005-.002.175-.059.005-.001.005-.002.174-.061.005-.002.005-.002.173-.063.005-.002.005-.002.173-.065.005-.002.004-.002.172-.068.005-.001.005-.002.171-.07.005-.002.005-.002.17-.072.005-.002.005-.002.169-.074.005-.002.004-.002.169-.076.004-.002.005-.002.168-.078.004-.002.005-.002.167-.08.004-.003.005-.002.166-.082.004-.002.005-.003.165-.084.004-.002.005-.002.163-.087.005-.002.005-.002.162-.088.005-.003.005-.003.161-.09.005-.002.004-.003.16-.092.005-.002.005-.003.16-.094.004-.003.004-.003.158-.096.005-.002.004-.003.158-.098.004-.003.005-.003.156-.1.004-.003.004-.002.155-.102.005-.003.004-.003.154-.104.004-.003.005-.003.152-.106.004-.003.005-.003.151-.108.004-.003.005-.003.15-.11.004-.003.004-.003.149-.111.004-.004.004-.003.148-.113.004-.004.004-.003.147-.115.004-.004.004-.003.068-.055.116-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.05-.153-.08-.14-.103-.125-.124-.102-.142-.077-.153-.05-.16-.02-.16.009z"}));function lV(){return lV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},lV.apply(this,arguments)}var cV=({styles:e={},...t})=>jE("svg",lV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.157.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.408 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.215-2.282-2.022-5.3-3.217-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.082 11.082 0 0116 4.975zm-2.15 3.281v5.534H8.213v4.38h5.636v5.534h4.31V18.17h5.639v-4.38h-5.64V8.256h-4.31zm.865.865h2.583v5.534h5.635v2.65h-5.635v5.533h-2.583v-5.534h-5.64v-2.649h5.64V9.121z"}));function pV(){return pV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},pV.apply(this,arguments)}var uV=({styles:e={},...t})=>jE("svg",pV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.521L9.206 20.745h13.598L16.005 8.542zm0 1.775l5.329 9.564H10.677l5.328-9.564z"}));function dV(){return dV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},dV.apply(this,arguments)}var hV=({styles:e={},...t})=>jE("svg",dV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.97.04h-.127C8.713-.018 2.003 5.334.437 12.286c-1.51 6.123.98 13.005 6.136 16.665 5.125 3.788 12.546 4.105 17.912.623 5.272-3.276 8.33-9.766 7.325-15.916-.904-6.241-5.79-11.7-11.95-13.143A16.082 16.082 0 0015.97.04zm-.181 1.724c.115 0 .23 0 .347.003 6.625-.066 12.823 5.149 13.89 11.69 1.13 5.91-1.908 12.349-7.262 15.138-5.473 3.013-12.866 1.884-17.116-2.726C1.291 21.372.444 13.914 3.802 8.602c2.493-4.112 7.169-6.819 11.987-6.838zm.283 1.554c-.117 0-.234.002-.351.005-6.1 0-11.691 5.049-12.346 11.114-.78 5.684 2.795 11.612 8.218 13.52 5.139 1.943 11.416.101 14.624-4.38 3.461-4.583 3.262-11.538-.596-15.831-2.36-2.747-5.924-4.423-9.549-4.428zm-.078 1.695c.078 0 .156 0 .234.003 5.4 0 10.321 4.556 10.734 9.942.563 5.13-2.958 10.364-7.971 11.678-4.832 1.41-10.457-.935-12.746-5.446-2.463-4.559-1.2-10.795 3.014-13.883a11.072 11.072 0 016.735-2.294zm-.137 3.42c-2.965.02-5.792 1.968-6.884 4.722-1.137 2.693-.509 6.007 1.536 8.096 1.988 2.14 5.263 2.929 8.007 1.926 2.875-.98 4.987-3.824 5.063-6.865.154-2.954-1.622-5.875-4.295-7.13a7.545 7.545 0 00-3.427-.75zm.27 1.381c2.708.013 5.249 2.014 5.88 4.652.704 2.576-.481 5.512-2.788 6.862-2.356 1.478-5.677 1.084-7.611-.918-2.042-1.97-2.405-5.376-.839-7.738 1.11-1.762 3.146-2.877 5.229-2.857h.13zm1.831 1.764l-2.072 3.76c-.64.068-.792 1.039-.202 1.298.39.27.696-.18 1.051-.164h3.168v-.864h-3.18l1.992-3.612-.757-.418z"}));function mV(){return mV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},mV.apply(this,arguments)}var fV=({styles:e={},...t})=>jE("svg",mV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.848.001C8.113-.093.931 6.281.125 13.983c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.207C29.105 4.938 23.55.48 17.367.06A16.448 16.448 0 0015.848 0v.001zm.293 1.727c7.113-.099 13.662 5.97 14.077 13.08.56 6.299-3.516 12.735-9.582 14.679-5.798 2.004-12.806-.12-16.283-5.237C.717 19.159.874 11.638 5.016 6.876 7.722 3.638 11.902 1.63 16.14 1.728zm-.415 1.555C9.157 3.258 3.256 9.156 3.278 15.729c-.16 5.965 4.365 11.725 10.293 12.737 5.409 1.065 11.37-1.744 13.775-6.753 2.534-4.986 1.386-11.627-2.953-15.251-2.364-2.077-5.512-3.27-8.667-3.18zm.507 1.692c5.82-.026 11.013 5.318 10.79 11.143-.024 5.3-4.313 10.267-9.636 10.803-5.075.667-10.426-2.588-11.885-7.553-1.535-4.744.494-10.46 4.925-12.885a11.072 11.072 0 015.806-1.508z"}));function gV(){return gV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},gV.apply(this,arguments)}function yV(){return yV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},yV.apply(this,arguments)}function vV(){return vV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vV.apply(this,arguments)}function bV(){return bV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},bV.apply(this,arguments)}function xV(){return xV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xV.apply(this,arguments)}function wV(){return wV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},wV.apply(this,arguments)}function EV(){return EV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},EV.apply(this,arguments)}function _V(){return _V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_V.apply(this,arguments)}function OV(){return OV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},OV.apply(this,arguments)}function PV(){return PV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PV.apply(this,arguments)}function kV(){return kV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},kV.apply(this,arguments)}function SV(){return SV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},SV.apply(this,arguments)}function CV(){return CV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},CV.apply(this,arguments)}function TV(){return TV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},TV.apply(this,arguments)}function AV(){return AV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},AV.apply(this,arguments)}function MV(){return MV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},MV.apply(this,arguments)}function RV(){return RV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},RV.apply(this,arguments)}function DV(){return DV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},DV.apply(this,arguments)}function NV(){return NV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},NV.apply(this,arguments)}function BV(){return BV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},BV.apply(this,arguments)}function $V(){return $V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},$V.apply(this,arguments)}function jV(){return jV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},jV.apply(this,arguments)}function IV(){return IV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},IV.apply(this,arguments)}function LV(){return LV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},LV.apply(this,arguments)}function qV(){return qV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qV.apply(this,arguments)}function zV(){return zV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},zV.apply(this,arguments)}function VV(){return VV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},VV.apply(this,arguments)}function FV(){return FV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},FV.apply(this,arguments)}function HV(){return HV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},HV.apply(this,arguments)}function UV(){return UV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},UV.apply(this,arguments)}function WV(){return WV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},WV.apply(this,arguments)}function XV(){return XV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},XV.apply(this,arguments)}function GV(){return GV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},GV.apply(this,arguments)}var QV=({styles:e={},...t})=>jE("svg",GV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M5.637 3A5.644 5.644 0 000 8.637v15.417a5.644 5.644 0 005.637 5.637h20.726A5.644 5.644 0 0032 24.054V8.637A5.644 5.644 0 0026.363 3H5.637zm0 1.778h20.726a3.83 3.83 0 013.859 3.859v15.417a3.83 3.83 0 01-3.859 3.858h-4.201V16.695H9.838v11.217H5.637a3.83 3.83 0 01-3.859-3.858V8.637a3.83 3.83 0 013.859-3.859zm5.33 13.046h10.066v10.065H10.967V17.824zm4.189 1.431V22.06H12.35v1.689h2.804V26.554h1.69V23.749h2.804V22.06h-2.804V19.255h-1.69z"}));function KV(){return KV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},KV.apply(this,arguments)}var YV=({styles:e={},...t})=>jE("svg",KV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M5.636 3A5.642 5.642 0 000 8.636v15.418a5.643 5.643 0 005.636 5.636h20.728A5.643 5.643 0 0032 24.054V8.636A5.642 5.642 0 0026.364 3H5.636zm0 1.778h20.728a3.83 3.83 0 013.858 3.858v15.418a3.83 3.83 0 01-3.858 3.858h-4.203V16.723H9.84v11.189H5.636a3.83 3.83 0 01-3.858-3.858V8.636a3.83 3.83 0 013.858-3.858zm5.331 13.074h10.066v10.06H10.967v-10.06zm1.336 3.996v1.711h7.394v-1.71h-7.394z"}));function ZV(){return ZV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ZV.apply(this,arguments)}function JV(){return JV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},JV.apply(this,arguments)}function eF(){return eF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},eF.apply(this,arguments)}function tF(){return tF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},tF.apply(this,arguments)}var nF={Association:({styles:e={},...t})=>jE("svg",tz({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),jE("path",{stroke:"#000",strokeWidth:"2",fill:"none",strokeDasharray:"3.3,6",strokeLinecap:"square",d:"M1.5 30.5l29-29"})),BusinessRuleTask:({styles:e={},...t})=>jE("svg",nz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zM5.296 7.398v12.665h16.87V7.398H5.296zm.718 4.386h15.433v3.44H9.985v-3.432h-.719v3.431H6.014v-3.44zm0 4.158h3.252v3.403H6.014v-3.403zm3.97 0h11.463v3.403H9.985v-3.403z"}),jE("path",{d:"M6.079 8.209v3.587H21.44V8.209z"})),CallActivity:({styles:e={},...t})=>jE("svg",iz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M24.978 3c3.761 0 6.89 2.979 7.018 6.695l.004.238V22.4c0 3.747-3.05 6.804-6.783 6.93l-.24.003H7.023c-3.761 0-6.89-2.978-7.018-6.695L0 22.4V9.933C0 6.187 3.05 3.13 6.783 3.004L7.023 3h17.955zm0 3.667H7.022c-1.842 0-3.255 1.344-3.35 3.079l-.005.187V22.4c0 1.761 1.35 3.167 3.16 3.262l.195.005L10 25.666V15h12v10.666h2.978c1.842 0 3.255-1.344 3.35-3.079l.005-.187V9.933c0-1.761-1.35-3.166-3.16-3.261l-.195-.005zm-3.732 9.087H10.754v9.912h10.491v-9.912zm-4.475 1.817v2.658h2.658v1.542H16.77v2.658H15.23V21.77H12.57V20.23h2.658V17.57h1.542z"})),Collaboration:({styles:e={},...t})=>jE("svg",rz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("g",{fillRule:"evenodd"},jE("path",{fillRule:"nonzero",d:"M0 0v8.62h32V0H0zm1.655 7.054v-5.37h28.62v5.37H1.656zM0 23.38V32h32v-8.62H0zm1.655 7.054v-5.37h28.62v5.37H1.656z"}),jE("path",{d:"M24 8l4 7h-8l4-7zm0 2l-2.28 4h4.56L24 10zM23.5 21h1v3h-1zM23.5 15h1v3h-1zM8 24l-4-7h8l-4 7zm0-2l2.28-4H5.72L8 22zM7.5 8h1v3h-1zM7.5 14h1v3h-1z"}))),ConditionalFlow:({styles:e={},...t})=>jE("svg",oz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M32 .041S20.42 5.95 14.537 8.713c1.26 1.15 2.432 2.392 3.648 3.588-5.703 5.78-3.15 3.303-8.087 8.316l-8.472 1.377L0 32l10.006-1.626.098-.598 1.279-7.873c4.975-5.052 2.403-2.555 8.118-8.346 1.218 1.214 2.43 2.435 3.648 3.648C26.29 11.018 32 .041 32 .041zM9.603 22.397L8.54 28.91 2.03 29.97l1.061-6.515 6.512-1.058z"})),SequenceFlow:({styles:e={},...t})=>jE("svg",sz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M32 .06S20.33 6.014 14.403 8.798c1.27 1.16 2.451 2.41 3.676 3.616L0 30.734 1.325 32l18.08-18.32c1.227 1.223 2.448 2.453 3.676 3.676C26.247 11.12 32 .06 32 .06z"})),DataInput:({styles:e={},...t})=>jE("svg",cz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M20.833 0H3.488v32H28V7.36L20.833 0zm-2.105 1.818v7.507h7.454v20.857H5.306V1.818h13.422zm1.818.493l5.06 5.196h-5.06V2.311zm-9.182.86v3.744H7.081v3.222h4.283v3.743l5.7-5.354-5.7-5.354zm.808 1.868l3.711 3.487-3.71 3.487V9.329H7.888V7.723h4.283V5.039z"})),DataInputAssociation:lz,DataOutput:({styles:e={},...t})=>jE("svg",uz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M20.833 0H3.488v32H28V7.36L20.833 0zm-2.105 1.818v7.507h7.454v20.857H5.306V1.818h13.422zm1.818.493l5.06 5.196h-5.06V2.311zm-9.182.86v3.744H7.081v3.222h4.283v3.743l5.7-5.354-5.7-5.354z"})),DataOutputAssociation:lz,DataObjectReference:({styles:e={},...t})=>jE("svg",pz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M21.345 0H4v32h24.512V7.36L21.345 0zM19.24 1.818v7.507h7.454v20.857H5.818V1.818H19.24zm1.818.493l5.06 5.196h-5.06V2.311z"})),DataStoreReference:({styles:e={},...t})=>jE("svg",dz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.008 1c-3.712 0-7.417.306-10.319.939-1.45.316-2.7.71-3.68 1.226C1.065 3.662.297 4.304.061 5.23a.823.823 0 00-.035.15L0 5.502l.017.084c-.012 7.41 0 14.46 0 22.08l.017.082c.203.985.995 1.656 1.975 2.172.98.517 2.23.91 3.68 1.226 2.902.633 6.607.94 10.319.94 3.711 0 7.416-.307 10.318-.94 1.451-.316 2.701-.71 3.68-1.226.98-.516 1.772-1.187 1.975-2.172l.017-.082V5.541a.825.825 0 000-.106v-.016l-.002-.013a.823.823 0 00-.046-.197c-.244-.916-1.007-1.55-1.943-2.044-.98-.516-2.23-.91-3.68-1.226C23.423 1.306 19.718 1 16.006 1zm0 1.646c3.62 0 7.245.308 9.968.901 1.36.297 2.497.67 3.263 1.074.612.323.932.643 1.063.882-.131.24-.451.56-1.063.882-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.901-1.361-.297-2.497-.67-3.264-1.074-.611-.322-.931-.642-1.062-.882.13-.24.451-.56 1.062-.882.767-.403 1.903-.777 3.264-1.074 2.723-.593 6.348-.9 9.968-.9zM1.664 7.647c.112.067.227.132.345.194.98.517 2.23.91 3.68 1.226 2.902.633 6.607.94 10.319.94 3.711 0 7.416-.307 10.318-.94 1.451-.316 2.701-.71 3.68-1.226.119-.062.234-.127.346-.194v1.93c-.08.245-.398.619-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.9-1.361-.298-2.497-.671-3.264-1.075-.714-.376-1.032-.75-1.112-.995v-1.93zm0 4.187c.112.067.227.132.345.195.98.516 2.23.91 3.68 1.226 2.902.632 6.607.938 10.319.938 3.711 0 7.416-.306 10.318-.938 1.451-.317 2.701-.71 3.68-1.226.119-.063.234-.128.346-.195v1.93c-.08.245-.398.619-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.901-9.968.901-3.62 0-7.245-.307-9.968-.9-1.361-.298-2.497-.67-3.264-1.075-.714-.376-1.032-.75-1.112-.995v-1.93zm0 4.188c.112.067.227.131.345.194.98.516 2.23.91 3.68 1.226 2.902.633 6.607.939 10.319.939 3.711 0 7.416-.306 10.318-.94 1.451-.316 2.701-.709 3.68-1.225.119-.063.234-.127.346-.194V27.47c-.08.245-.398.618-1.113.995-.766.404-1.902.777-3.263 1.074-2.723.594-6.349.9-9.968.9-3.62 0-7.245-.306-9.968-.9-1.361-.297-2.497-.67-3.264-1.074-.714-.377-1.032-.75-1.112-.995V16.022z"})),DefaultFlow:({styles:e={},...t})=>jE("svg",hz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M32 .06S20.33 6.014 14.403 8.798c1.27 1.16 2.451 2.41 3.676 3.616L6.84 23.804H.046v1.755h5.063L0 30.735 1.325 32l6.357-6.441h7.145v-1.756H9.414l9.99-10.123c1.228 1.223 2.45 2.453 3.677 3.676C26.247 11.12 32 .06 32 .06z"})),CancelEndEvent:({styles:e={},...t})=>jE("svg",mz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-3.955 3.918L8.94 12.072l3.985 3.985-3.913 3.913 3.048 3.047 3.913-3.913 3.987 3.987 3.096-3.096-3.987-3.987 3.913-3.913-3.047-3.048-3.913 3.913-3.985-3.985z"})),CompensateEndEvent:({styles:e={},...t})=>jE("svg",fz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-.56 5.744l-7.407 5.23 7.408 5.234v-5.057c2.384 1.687 4.771 3.371 7.157 5.057V10.801l-7.157 5.054v-5.054z"})),ErrorEndEvent:({styles:e={},...t})=>jE("svg",gz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm6.132 4.166l-3.633 7.363-4.516-5.874-4.102 12.131 4.599-5.91 4.743 5.427 2.909-13.137z"})),EscalationEndEvent:({styles:e={},...t})=>jE("svg",yz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 3.9c-1.672 4.653-2.733 9.5-4.406 14.153 1.535-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.497-4.71-2.91-9.445-4.406-14.155z"})),LinkEndEvent:({styles:e={},...t})=>jE("svg",vz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.532 18.532 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm1.78 4.065v3.555H9.779v6.713h7.994v3.554l5.828-6.91-5.828-6.912z"})),MessageEndEvent:({styles:e={},...t})=>jE("svg",bz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.532 18.532 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm-5.91 5.448l6.041 4.9 6.04-4.9H10.084zm-1.34 1.137v9.92h14.513v-9.718l-7.132 5.786-7.381-5.988z"})),MultipleEndEvent:({styles:e={},...t})=>jE("svg",xz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676 0C7.943.007.834 6.45.104 14.16c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 4.958 23.394.313 16.978.032A18.529 18.529 0 0015.676 0zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.011 3.039l-7.619 5.53 2.91 8.95h9.418l2.91-8.95-7.619-5.53z"})),EndEvent:({styles:e={},...t})=>jE("svg",wz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.84.042C8.654-.01 1.913 5.437.4 12.454-1.057 18.62 1.554 25.495 6.784 29.09c5.076 3.636 12.31 3.92 17.59.544 5.309-3.251 8.435-9.744 7.445-15.921C30.91 7.307 25.795 1.738 19.442.422a16.064 16.064 0 00-3.602-.38zm.382 5.01c5.28-.017 10.13 4.353 10.669 9.61.687 5.025-2.552 10.281-7.423 11.792-4.754 1.617-10.486-.447-12.962-4.856-2.74-4.575-1.574-11.094 2.768-14.27a11.05 11.05 0 016.948-2.276z"})),SignalEndEvent:({styles:e={},...t})=>jE("svg",Ez({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 3.492c-2.261 4.07-4.532 8.136-6.797 12.204h13.595L15.999 8.55z"})),TerminateEndEvent:({styles:e={},...t})=>jE("svg",_z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.676.051C7.943.058.834 6.501.104 14.21c-.783 6.565 2.912 13.427 8.942 16.216 5.6 2.737 12.789 1.87 17.434-2.344 4.725-4.09 6.79-11.06 4.714-17.006C29.22 5.009 23.394.364 16.978.083A18.532 18.532 0 0015.676.05zm.317 5.006c5.695-.165 10.916 4.858 10.983 10.555.246 5.212-3.67 10.33-8.864 11.204-5.026 1.007-10.6-1.898-12.36-6.777-1.894-4.826.039-10.928 4.649-13.46a11.082 11.082 0 015.592-1.522zm.006 2.859c-5.264-.2-9.495 5.551-7.755 10.516 1.366 5.085 8.108 7.436 12.339 4.301 4.455-2.807 4.708-9.943.462-13.058A8.128 8.128 0 0016 7.915z"})),EventSubProcess:({styles:e={},...t})=>jE("svg",Oz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M7.295 4.78h1.779V3.003h-1.78V4.78zm3.558 0h1.779V3.003h-1.78V4.78zm3.557 0h1.78V3.003h-1.78V4.78zm3.558 0h1.78V3.003h-1.78V4.78zm3.558 0h1.779V3.003h-1.779V4.78zm3.558 0c.55.014 1.106-.034 1.654.045l.245-1.762c-.629-.096-1.266-.05-1.9-.061V4.78zM5.732 3.004a5.933 5.933 0 00-.915.093c.111.582.226 1.164.315 1.75.358-.101.947.098.746-.483-.096-.382.164-1.208-.146-1.36zm22.372 2.281c.427.234.812.547 1.13.915.42-.4 1.002-.777 1.33-1.18a5.863 5.863 0 00-1.593-1.289l-.867 1.554zm-25.27-1.44c-.587.354-1.11.811-1.539 1.345.47.333.96.86 1.417 1.077.299-.362.66-.673 1.065-.913-.328-.493-.55-1.055-.944-1.509zM30.515 7.26c-.563.046-.557.342-.378.784.154.25-.097.862.25.85.525-.023 1.14.043 1.612-.032a5.891 5.891 0 00-.362-2.027l-1.122.425zM.268 7.114A6.042 6.042 0 000 9.052h1.78c-.013-.5.047-1.003.208-1.478L.296 7.027l-.026.079-.002.008zM30.22 12.45H32v-1.779h-1.779v1.779zm-30.22.16h1.78v-1.779H0v1.78zm30.22 3.398H32v-1.78h-1.779v1.78zm-30.22.16h1.78v-1.779H0v1.779zm30.22 3.398H32v-1.78h-1.779v1.78zm-30.22.16h1.78v-1.78H0v1.78zm30.22 3.397H32v-1.779h-1.779v1.78zm-30.22.16h1.78v-1.778H0v1.778zm30.137 1.47a4.059 4.059 0 01-.522 1.32c.506.283 1.046.715 1.53.908a5.836 5.836 0 00.744-1.918c-.576-.094-1.209-.264-1.752-.31zm-29.984.51c.157.676.435 1.325.82 1.904l1.486-.977a4.065 4.065 0 01-.577-1.347l-1.73.42zm28.427 1.943c-.371.277-.79.49-1.234.627l.548 1.693a5.84 5.84 0 001.835-.96l-1.082-1.412-.066.05-.001.002zm-26.164 1.47c.567.413 1.21.722 1.886.907.14-.569.343-1.175.444-1.722a4.062 4.062 0 01-1.283-.624l-1.047 1.438zm3.88 1.119h1.779v-1.78h-1.78v1.78zm3.55 0h1.787v-1.78H9.846v1.78zm3.565 0h1.78v-1.78h-1.78v1.78zm3.558 0h1.78v-1.78h-1.78v1.78zm3.451 0h1.743v-1.78h-1.743v1.78zm3.665 0h1.779v-1.78h-1.78v1.78zm-1.922-.545V16.776H9.846V29.25h12.318zM10.967 17.905h10.068V27.97H10.967V17.905zm1.336 3.998v1.711h7.396v-1.711h-7.396z",opacity:".97"})),ComplexGateway:({styles:e={},...t})=>jE("svg",Pz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm-.327 6.79v.007l-.145.027-.118.08-.083.123-.028.145v4.954L11.793 10.8l-.125-.08-.14-.029-.144.027-.122.082-.46.46-.085.125-.026.142.028.14.08.125 3.505 3.505H9.347l-.001-.002-.145.032-.118.08-.083.122-.028.146v.652l.029.147.082.119.12.08.144.032h4.956L10.8 20.207v-.001l-.084.124-.026.142.028.14.08.124.46.461.126.082.14.029.143-.027.124-.084L15.3 17.69v4.964-.001l.028.147.082.12.12.08.144.031h.652l.148-.03.118-.08.083-.12.028-.146v-4.962l3.505 3.505.126.082.14.027.142-.027.124-.084.461-.46.083-.123s.028-.144.027-.146l-.028-.14-.082-.126-3.496-3.496h4.948l.148-.03.119-.08.082-.12.028-.147v-.652l-.028-.145-.083-.122-.119-.08s-.147-.033-.147-.031h-4.964l3.512-3.512.082-.122.029-.144-.028-.14-.084-.124-.46-.461-.123-.082-.14-.027-.145.027-.122.082-3.507 3.507V9.348l-.028-.146-.082-.122-.12-.08-.147-.029h-.652z"})),EventBasedGateway:({styles:e={},...t})=>jE("svg",kz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 0a1.29 1.29 0 00-.918.373L.371 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.915.372A1.294 1.294 0 0016 0zm-.002 2.181l13.821 13.821-13.821 13.821-13.821-13.82L15.998 2.18zm0 5.876l-.254.185-7.377 5.355 2.915 8.964h9.433l2.915-8.964-7.631-5.54zm0 1.07l6.614 4.8-2.526 7.769h-8.175l-2.526-7.768 6.614-4.802z"})),ExclusiveGateway:({styles:e={},...t})=>jE("svg",Az({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 0a1.29 1.29 0 00-.918.373L.371 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.915.372A1.294 1.294 0 0016 0zm-.002 2.181l13.821 13.821-13.821 13.821-13.821-13.82L15.998 2.18zm-5.162 7.69l-.166.032-.141.096-.532.532s-.097.142-.097.144l-.03.164.032.162.093.144 4.857 4.858-4.855 4.855v-.001L9.9 21l-.03.164.032.162s.093.142.093.144l.531.532.146.095.162.032.164-.03.144-.097 4.855-4.856 4.857 4.857.145.095.162.032.164-.03.144-.097.531-.532.095-.14.033-.168-.033-.162-.095-.146L17.144 16 22 11.144l.095-.14.033-.166-.033-.163-.097-.144-.532-.532-.14-.095-.163-.032-.166.032-.141.095L16 14.855l-4.858-4.858v-.002l-.144-.092-.162-.032z"})),Gateway:({styles:e={},...t})=>jE("svg",Sz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.373a1.313 1.313 0 00-1.833 0L.373 15.084zm1.806.918L16 2.182l13.821 13.82L16 29.823 2.179 16.003z"})),InclusiveGateway:({styles:e={},...t})=>jE("svg",Cz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm0 6.379a7.447 7.447 0 00-7.44 7.441A7.447 7.447 0 0016 23.443 7.447 7.447 0 0023.443 16a7.447 7.447 0 00-7.441-7.441zm0 .825a6.61 6.61 0 016.617 6.616A6.61 6.61 0 0116 22.618 6.61 6.61 0 019.385 16 6.61 6.61 0 0116 9.385z"})),ParallelGateway:({styles:e={},...t})=>jE("svg",Tz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.001 0a1.29 1.29 0 00-.917.373L.373 15.084a1.316 1.316 0 00.002 1.834l14.71 14.709a1.313 1.313 0 001.833 0l14.711-14.711a1.316 1.316 0 00-.002-1.834L16.917.372A1.294 1.294 0 0016.002 0zM16 2.181l13.821 13.821L16 29.823 2.179 16.003 16 2.18zm-.377 5.708l-.168.032-.136.092-.096.14-.032.168v6.868h-6.87l-.002-.002-.166.037-.137.092v-.002l-.095.141-.033.167v.753s.032.169.034.17l.094.138.138.092.167.036h6.87v6.867l-.001-.001.033.17.095.138.138.092s.166.035.167.037h.752l.17-.036.137-.092.095-.137.033-.17v-6.867h6.868l.17-.035.137-.092.095-.137.033-.17v-.753s-.033-.165-.032-.167l-.096-.14-.138-.093s-.17-.037-.17-.035H16.81V8.323l-.033-.168-.094-.14-.138-.092-.17-.034h-.752z"})),Group:({styles:e={},...t})=>jE("svg",Mz({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.34.016c-2.333.025-4.684 1.77-5.29 4.17C.608 5.848.88 7.608.804 9.314v2.922h2.041c.038-2.332-.076-4.673.062-7C3.14 3.355 4.869 1.938 6.643 2.04h8.956V.009c-3.086 0-6.173-.02-9.258 0v.007zm13.094 2.023h1.92V.009h-1.92v2.03zm5.756 0c1.265-.069 2.66.045 3.602 1.055 1.036.983 1.201 2.523 1.122 3.91v6.313h2.078c-.03-2.677.062-5.36-.047-8.032-.17-2.743-2.62-5.111-5.215-5.236-.511-.064-1.027-.02-1.54-.033v2.023zM.803 18.319h2.041v-2.026H.804v2.026zm29.11 1.084h2.08v-2.03h-2.08v2.03zM.804 26.148c.004 2.218 1.393 4.366 3.313 5.28 1.728.853 3.681.448 5.521.544.43-.112 1.29.231 1.435-.183v-1.847c-1.788-.043-3.584.094-5.365-.082-1.67-.354-2.919-2.048-2.863-3.844v-3.644H.804v3.777zm29.11-.068c.04 1.961-1.508 3.787-3.381 3.842-1.954.06-3.914.02-5.87.026v2.03c2.118-.042 4.242.08 6.355-.063 2.524-.264 4.818-2.644 4.94-5.323.08-1.039.014-2.085.035-3.126h-2.078v2.613zm-15.006 5.898h1.92v-2.03h-1.92v2.03z"})),CancelIntermediateCatchEvent:Dz,CompensateIntermediateCatchEvent:Bz,ConditionalIntermediateCatchEvent:jz,ErrorIntermediateCatchEvent:Lz,EscalationIntermediateCatchEvent:zz,LinkIntermediateCatchEvent:Fz,MessageIntermediateCatchEvent:Uz,MultipleIntermediateCatchEvent:Xz,ConditionalIntermediateCatchEventNonInterrupting:Qz,EscalationIntermediateCatchEventNonInterrupting:Yz,MessageIntermediateCatchEventNonInterrupting:Jz,MultipleIntermediateCatchEventNonInterrupting:tV,ParallelIntermediateCatchEventNonInterrupting:iV,SignalIntermediateCatchEventNonInterrupting:oV,TimerIntermediateCatchEventNonInterrupting:aV,ParallelMultipleIntermediateCatchEvent:cV,SignalIntermediateCatchEvent:uV,TimerIntermediateCatchEvent:hV,IntermediateThrowEvent:fV,CompensateIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",gV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm-.56 5.772l-7.408 5.231 7.409 5.234v-5.057c2.385 1.687 4.771 3.371 7.157 5.057V10.747l-7.157 5.055v-5.055z"})),EscalationIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",yV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm.006 3.927c-1.672 4.654-2.734 9.502-4.406 14.155 1.534-1.525 2.872-3.234 4.406-4.759l4.406 4.76c-1.496-4.71-2.91-9.446-4.406-14.156z"})),LinkIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",vV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.049C8.195-.11.935 6.286.125 14.03c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.93 23.445.453 17.201.095c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.22.872 11.725 4.985 6.962c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 5.021c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 5.021zm1.78 4.093v3.555H9.785v6.714h7.994v3.554l5.829-6.911-5.83-6.912z"})),MessageIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",bV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm-5.91 5.475l6.04 4.901 6.042-4.9H10.088zm-1.341 1.138v9.921h14.514V11.79l-7.132 5.787-7.382-5.99z"})),MultipleIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",xV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.073l-7.62 5.532 2.91 8.95h9.42l2.91-8.95-7.62-5.532z"})),SignalIntermediateThrowEvent:({styles:e={},...t})=>jE("svg",wV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.975.003C8.195-.156.935 6.24.125 13.985c-.855 6.55 2.741 13.46 8.74 16.314 5.666 2.847 13.012 1.99 17.71-2.33 4.745-4.162 6.727-11.243 4.532-17.206C29.09 4.884 23.445.407 17.201.049c-.408-.03-.817-.046-1.226-.046zm-.181 1.724c7.134-.269 13.84 5.68 14.399 12.804.686 6.283-3.267 12.792-9.283 14.862-5.847 2.162-13.025.06-16.557-5.141C.728 19.174.872 11.679 4.985 6.916c2.632-3.171 6.671-5.174 10.809-5.19zm.283 1.553c-6.6-.21-12.671 5.585-12.79 12.185-.292 5.964 4.129 11.817 10.034 12.953 5.47 1.198 11.584-1.613 14.025-6.702 2.525-4.97 1.396-11.585-2.912-15.216-2.282-2.021-5.3-3.216-8.357-3.22zM16 4.975c5.818-.154 11.117 5.082 11.024 10.905.103 5.384-4.23 10.5-9.636 11.043-5.075.667-10.426-2.587-11.885-7.552-1.53-4.73.48-10.428 4.888-12.864A11.083 11.083 0 0116 4.975zm.006 3.52c-2.261 4.07-4.533 8.136-6.798 12.205h13.596L16.005 8.495z"})),Lane:({styles:e={},...t})=>jE("svg",EV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M0 7v18.62h32V7H0zm1.655 17.056V8.684h28.62v15.372H1.656z"})),ManualTask:({styles:e={},...t})=>jE("svg",_V({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm4.43 1.328c-.222.005-.43.09-.606.203-.985.638-4.356 2.977-5.096 3.486-.67.46-1.12 1.153-1.38 1.974-.27.858-.235 1.793-.232 2.576.002.59.016 1.104.17 1.727.22.908.634 1.63 1.23 2.118.597.49 1.363.732 2.23.734 3.038.012 6.078.016 9.119 0 .327-.002.645-.127.848-.37.204-.241.287-.56.291-.914a1.732 1.732 0 00-.097-.625h.327c.335 0 .641-.11.852-.316.21-.206.317-.475.374-.754a1.783 1.783 0 00-.126-1.143 1.18 1.18 0 00.877-.521c.196-.306.257-.666.258-1.025.001-.375-.088-.738-.293-1.033a1.179 1.179 0 00-.958-.512h-.478c.108-.237.156-.505.155-.782-.003-.373-.098-.721-.316-.99a1.21 1.21 0 00-.943-.43c-2.273-.004-4.236.018-6.412.012l-.19-.001c.102-.104.202-.205.312-.314.337-.336.662-.652.83-.869.4-.516.46-1.215.123-1.729-.178-.272-.439-.456-.72-.494a.93.93 0 00-.148-.008zm.029.728l.022.001c.055.008.115.027.209.172.132.201.126.606-.09.884-.079.102-.431.465-.767.8-.337.334-.657.643-.815.836-.153.186-.096.338-.056.435.04.096.085.212.298.263.063.014.066.01.086.012l.066.003c2.429.027 4.986-.004 7.223-.003.194 0 .293.056.379.162.086.105.151.286.153.533 0 .257-.065.467-.155.59-.09.124-.183.182-.37.183-1.706-.001-3.411-.005-5.117-.009v.731c2.23.004 4.461.01 6.692.012.17 0 .265.06.361.2.096.138.164.364.163.615 0 .268-.058.501-.143.634-.085.132-.162.193-.385.195-2.32-.001-4.554-.006-6.688-.003v.73c1.905 0 3.809.003 5.713.001.194.005.316.09.416.26.102.173.151.442.093.728-.04.193-.102.313-.17.38-.067.065-.148.108-.343.108h-5.71l.002.734c1.445 0 2.89-.01 4.334-.001.162 0 .232.041.297.123.064.081.123.238.12.488-.003.244-.061.385-.12.455-.06.07-.127.11-.296.11-3.037.016-6.076.012-9.113 0-.735-.002-1.316-.196-1.77-.568-.454-.372-.793-.935-.986-1.728-.134-.546-.146-.978-.148-1.558-.003-.796-.018-1.664.199-2.354.222-.705.582-1.24 1.096-1.593.75-.515 4.14-2.866 5.079-3.474a.504.504 0 01.241-.087z"})),MessageFlow:({styles:e={},...t})=>jE("svg",OV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M4.073 26.607l1.295 1.296L1.325 32l-.662-.633L0 30.735l4.073-4.128zm6.953-7.046l1.296 1.296L1.325 32l7.555-7.656-1.295-1.296 1.455-1.474 1.986-2.013zM32 .06s-2.699 5.189-5.417 10.462l-.326.633c-1.14 2.214-2.265 4.407-3.176 6.2-1.228-1.222-2.449-2.452-3.676-3.675l-3.57 3.618-1.297-1.296 3.541-3.588c-.98-.964-1.932-1.958-2.923-2.91l-.753-.706c2.68-1.258 6.533-3.165 9.95-4.876l.617-.309C28.838 1.673 32 .06 32 .06zm-4.126 4.06l-.015.007-.115.057-.048.024-.115.057L17.7 9.172l5.017 4.948 5.157-10z"})),Participant:({styles:e={},...t})=>jE("svg",PV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M0 5v22.069h32V5H0zm30.276 1.684v18.82H6.62V6.684h23.655zm-28.62 0h3.31v18.82h-3.31V6.684z"})),Process:({styles:e={},...t})=>jE("svg",kV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{fillRule:"evenodd",d:"M16.177 0l.137.002c.452.009.9.037 1.342.082.346.036.62.303.68.646l.437 2.536c.055.319.296.57.608.655.986.269 1.923.653 2.796 1.14.28.155.624.145.885-.039l2.083-1.47a.775.775 0 01.937.022c.86.699 1.645 1.484 2.343 2.343.22.27.223.653.023.937l-1.439 2.038a.833.833 0 00-.031.896c.512.889.92 1.846 1.204 2.855a.833.833 0 00.653.601l2.435.42c.342.059.61.333.645.679a15.928 15.928 0 01.08 2.064l-.003.114c-.012.382-.038.76-.077 1.134a.775.775 0 01-.645.68l-2.396.412a.835.835 0 00-.656.61 12.511 12.511 0 01-1.2 2.917.832.832 0 00.034.892l1.396 1.978c.2.284.196.667-.023.936a16.104 16.104 0 01-2.343 2.343.775.775 0 01-.937.023l-1.99-1.404a.833.833 0 00-.88-.026c-.907.516-1.886.922-2.916 1.2a.833.833 0 00-.61.656l-.414 2.396a.775.775 0 01-.679.646 16.096 16.096 0 01-3.312 0 .775.775 0 01-.679-.646l-.423-2.452a.834.834 0 00-.598-.636 12.474 12.474 0 01-1.468-.514 12.49 12.49 0 01-1.417-.68.833.833 0 00-.878.03l-2.026 1.43a.775.775 0 01-.937-.023 16.069 16.069 0 01-2.342-2.342.774.774 0 01-.024-.936l1.402-1.986a.833.833 0 00.032-.896 12.507 12.507 0 01-1.214-2.911.833.833 0 00-.655-.606l-2.386-.412a.775.775 0 01-.646-.678 16.097 16.097 0 010-3.314.775.775 0 01.646-.678l2.386-.412a.833.833 0 00.655-.606 12.507 12.507 0 011.214-2.911.833.833 0 00-.032-.896L3.552 6.853a.774.774 0 01.023-.936 16.091 16.091 0 012.343-2.343.775.775 0 01.937-.023l2.03 1.433c.26.177.6.182.874.028.915-.512 1.88-.9 2.87-1.167a.833.833 0 00.612-.656l.424-2.46a.775.775 0 01.679-.645C14.845.032 15.348.004 15.85 0h.326zM16 6.4c-5.302 0-9.6 4.297-9.6 9.599 0 5.302 4.298 9.6 9.6 9.6s9.6-4.298 9.6-9.6-4.298-9.6-9.6-9.6zm-3 4.283c0-1.425 1.637-2.203 2.715-1.29l5.69 4.815c.794.672.794 1.91 0 2.583l-5.69 4.815c-1.078.913-2.715.134-2.715-1.29z"})),ReceiveTask:({styles:e={},...t})=>jE("svg",SV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zM5.23 7.764v11.577h17.55V7.764H5.23zm1.816.758h13.917l-6.959 4.577-6.958-4.577zm-1.06.21l8.018 5.274 8.018-5.275v9.853H5.987V8.73z"})),ScriptTask:({styles:e={},...t})=>jE("svg",CV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm2.99 3.077l-.077.045-.026.015c-1.09.646-1.84 1.239-2.336 1.818-.496.579-.735 1.162-.742 1.725-.014 1.119.812 1.958 1.544 2.708.732.75 1.385 1.456 1.446 2.041.032.298-.039.598-.364 1.008-.324.408-.911.897-1.85 1.445l-1.388.808h8.56l.101-.059c.996-.58 1.667-1.116 2.094-1.655.429-.54.603-1.107.547-1.638-.11-1.052-.967-1.818-1.688-2.556-.721-.739-1.306-1.436-1.298-2.092.004-.331.132-.7.535-1.171.402-.47 1.08-1.02 2.119-1.636l1.362-.806h-8.54zm.241.867h5.271a6.83 6.83 0 00-1.113 1.01c-.496.58-.736 1.163-.743 1.726-.014 1.119.812 1.958 1.544 2.708.732.75 1.385 1.456 1.446 2.041.032.298-.039.598-.364 1.008-.312.393-.872.862-1.753 1.386H8.728c.367-.286.658-.566.88-.847.43-.54.604-1.107.548-1.638-.11-1.052-.968-1.818-1.688-2.556-.721-.739-1.306-1.435-1.298-2.092.004-.331.132-.7.534-1.171.389-.454 1.04-.984 2.021-1.575zm-1.233 1.48v.4h4.12v-.4h-4.12zm-.154 2.158v.4H12.6v-.4H8.34zm1.931 2.158v.4h4.126v-.4H10.27zm.59 2.158v.4h4.276v-.4h-4.276z"})),SendTask:({styles:e={},...t})=>jE("svg",TV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm-1.38 3.16l8.332 4.717L21.78 8.16H5.114zm.021 1.745v9.309H21.8V9.905l-8.353 4.655-8.31-4.655z"})),ServiceTask:({styles:e={},...t})=>jE("svg",AV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 3C2.916 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.012C28.015 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5zm1.22 1.681V7.84c-.329.093-.63.223-.914.382l-.83-.82-1.554 1.561.83.82c-.16.288-.285.594-.372.911l-1.177.002v2.2l1.189-.004c.109.431.345.819.58 1.165v-1.898l-1.038.004v-.737l1.034-.002.058-.294c.084-.429.252-.838.493-1.203l.165-.25-.727-.718.523-.526.728.719.247-.165c.379-.25.793-.417 1.206-.505l.291-.06-.002-1.01h.75L9.19 8.417H11.16c-.185-.221-.951-.508-1.237-.588L9.93 6.68H7.713zm2.078 2.105l.003 1.158a4.19 4.19 0 00-.915.383l-.83-.821-1.553 1.562.83.82c-.16.288-.286.593-.373.91l-1.176.003v2.2l1.188-.004c.094.326.224.624.383.905l-.85.847 1.57 1.543.847-.843c.29.161.599.286.919.373v1.198c.756.006 1.56.003 2.206.003V17.81a4.19 4.19 0 00.915-.383l.847.835 1.554-1.56-.848-.836c.16-.288.286-.594.373-.912l1.152-.007V12.75l-1.165.007a4.09 4.09 0 00-.382-.905l.805-.807-1.57-1.546-.804.806a4.16 4.16 0 00-.915-.372l.007-1.147H9.792zm.732.73h.751l-.006 1.005.297.058c.43.085.844.252 1.21.492l.25.162.701-.704.528.52-.702.704.169.25c.248.374.412.779.505 1.196l.061.292 1.016-.006v.737l-1.01.006-.058.292c-.085.43-.252.838-.494 1.205l-.165.25.744.733-.523.525-.743-.734-.248.165c-.378.247-.789.418-1.203.503l-.294.058v1.067h-.745v-1.059l-.295-.057a3.395 3.395 0 01-1.21-.492l-.248-.162-.747.743-.528-.52.747-.744-.17-.25a3.546 3.546 0 01-.506-1.196l-.06-.291-1.04.004v-.738l1.034-.002.058-.294c.085-.428.252-.837.493-1.203l.165-.25-.726-.718.522-.526.728.72.248-.166a3.546 3.546 0 011.205-.504l.292-.06-.003-1.01zm.388 2.685a1.65 1.65 0 00-1.645 1.645c0 .904.74 1.645 1.645 1.645a1.65 1.65 0 001.645-1.645 1.65 1.65 0 00-1.645-1.645zm0 .73a.91.91 0 01.915.915.91.91 0 01-.915.914.91.91 0 01-.915-.914.91.91 0 01.915-.915z"})),CompensateStartEvent:({styles:e={},...t})=>jE("svg",MV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm-.566 9.03l-7.415 5.235 7.415 5.238v-5.062c2.386 1.689 4.775 3.375 7.163 5.062V10.761l-7.163 5.058v-5.058zm-.866 1.666v7.13L9.51 15.993l5.052-3.565zm7.166 0v7.137l-5.052-3.568 5.052-3.569z"})),ConditionalStartEvent:({styles:e={},...t})=>jE("svg",RV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 0C7.174 0 0 7.174 0 16s7.174 16 16 16 16-7.174 16-16S24.826 0 16 0zm0 1.73c7.892 0 14.27 6.378 14.27 14.27 0 7.891-6.379 14.27-14.27 14.27S1.73 23.891 1.73 16C1.73 8.108 8.108 1.73 16 1.73zm-5.362 7.523v13.493h10.724V9.253H10.638zm.863.866h8.995V21.88H11.501V10.12zm.928 1.324v.863h7.139v-.863h-7.139zm0 2.605v.867h7.139v-.867h-7.139zm0 3.01v.864h7.139v-.863h-7.139zm0 2.72v.863h7.139v-.863h-7.139z"})),ErrorStartEvent:({styles:e={},...t})=>jE("svg",DV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.005C9.705-.08 3.643 3.968 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994.005zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626-4.814-3.838-6.538-10.939-4.067-16.57 2.14-5.205 7.515-8.774 13.147-8.708zm6.13 7.45l-3.635 7.37-4.52-5.88c-1.37 4.048-2.738 8.095-4.106 12.143l4.603-5.917 4.748 5.433 2.91-13.149zm-7.754 3.889l4.299 5.449 1.073-2.39-1.028 4.135-4.387-5.16-1.78 2.75 1.823-4.784z"})),EscalationStartEvent:({styles:e={},...t})=>jE("svg",NV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm0 7.183c-1.674 4.658-2.736 9.509-4.41 14.166 1.535-1.526 2.874-3.236 4.41-4.763l4.41 4.763c-1.499-4.713-2.913-9.453-4.41-14.166zm.032 2.931c.822 2.588 1.598 5.19 2.42 7.778l-2.42-2.615c-.683.598-2.455 2.887-2.34 2.39.871-2.489 1.448-5.07 2.34-7.553z"})),MessageStartEvent:({styles:e={},...t})=>jE("svg",BV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm-7.257 8.732v11.069h14.513v-11.07H8.738zm3.224 1.73h8.064c-1.428.878-2.857 2.807-4.285 3.018l-3.779-3.019zm9.562 1.017v6.593H10.465V13.21l5.528 4.417 5.53-4.418z"})),MultipleStartEvent:({styles:e={},...t})=>jE("svg",$V({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.001C9.705-.084 3.643 3.964 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994 0zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626C2.101 23.171.377 16.07 2.848 10.44c2.14-5.205 7.515-8.774 13.147-8.708zm0 6.328l-7.626 5.536c.97 2.986 1.942 5.971 2.913 8.957h9.426l2.912-8.957-7.625-5.536zm0 1.068l6.609 4.798-2.525 7.763H11.91l-2.524-7.763 6.609-4.798z"})),ConditionalStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",jV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M10.632 9.189V22.68h10.723V9.189H10.632zm.862.865h8.994v11.76H11.494v-11.76zm.928 1.324v.863h7.138v-.863h-7.138zm0 2.605v.866h7.138v-.866h-7.138zm0 3.01v.863h7.138v-.863h-7.138zm0 2.72v.862h7.138v-.863h-7.138zM16.12 0h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136-.109-.118-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006l-.216-.042-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006l-.006-.001-.22-.017-.005-.001h-.006L17.06.03h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012L16.132 0h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zM6.377 3.21l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1v.003l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114v-.008l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V15.95l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z"})),EscalationStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",IV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 9.209c-1.674 4.655-2.735 9.504-4.408 14.16 1.534-1.526 2.873-3.235 4.407-4.761l4.408 4.76c-1.497-4.71-2.91-9.448-4.408-14.16zm.031 2.93c.822 2.586 1.598 5.187 2.42 7.774l-2.42-2.614c-.682.598-2.453 2.886-2.34 2.389.873-2.488 1.45-5.068 2.34-7.55zM16.132.364c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.564c-.734.078-1.196.762-1.735 1.206C3.552 6.02 2.55 7.511 1.681 9.053c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786A15.932 15.932 0 011.728 16a.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),MessageStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",LV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M8.746 10.393v11.064h14.506V10.393H8.746zm3.223 1.728h8.06c-1.428.879-2.856 2.807-4.283 3.018l-3.777-3.018zm9.557 1.018v6.59H10.473v-6.59l5.525 4.416 5.528-4.416zM16.132 0c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.2c-.734.078-1.196.762-1.735 1.206C3.552 5.656 2.55 7.147 1.681 8.69c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786a15.932 15.932 0 01-1.672-6.874.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),MultipleStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",qV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M23.621 13.524L16 7.99l-7.622 5.534 2.911 8.952h9.422l2.911-8.952zm-1.016.33l-2.523 7.759h-8.165l-2.524-7.76L16 9.059l6.606 4.796zM16.132 0c-1.51.016-3.055.139-4.492.614-.854.442-.266 1.861.651 1.578 2.266-.58 4.656-.596 6.944-.144.935.063 1.21-1.391.318-1.674-1.118-.26-2.274-.361-3.42-.374zm8.865 2.777c-.931-.1-1.262 1.29-.425 1.666 1.863 1.364 3.222 3.298 4.322 5.296.617.737 1.875-.145 1.398-.979-1.184-2.275-2.808-4.384-4.923-5.866a.863.863 0 00-.372-.117zM6.55 3.2c-.734.078-1.196.762-1.735 1.206C3.552 5.656 2.55 7.147 1.681 8.69c-.31.533-.71 1.33-.03 1.767.615.432 1.282-.132 1.446-.742.796-1.475 1.746-2.89 2.934-4.08.43-.548 1.292-.822 1.34-1.595a.874.874 0 00-.822-.839zm24.582 11.078c-.771-.033-1.004.82-.873 1.437.13 2.395-.471 4.797-1.615 6.897-.33.876.984 1.559 1.512.785a14.276 14.276 0 001.761-8.54.865.865 0 00-.785-.579zm-30.195.666c-.774-.06-1.032.785-.905 1.407.117 2.41.732 4.81 1.858 6.945.528.774 1.84.09 1.51-.786a15.932 15.932 0 01-1.672-6.874.876.876 0 00-.79-.692zm24.57 11.817c-.762.099-1.243.835-1.919 1.16-1.514 1.002-3.237 1.632-4.978 2.092-.864.423-.307 1.855.616 1.591 2.528-.578 4.93-1.75 6.913-3.421.469-.522.07-1.42-.631-1.422zm-19.16.042c-.845.001-1.12 1.228-.395 1.628 1.665 1.401 3.667 2.348 5.76 2.912.618.178 1.482.565 1.893-.177.355-.628-.226-1.297-.87-1.326-1.972-.515-3.912-1.285-5.5-2.594-.26-.213-.522-.472-.888-.443z"})),ParallelMultipleStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",zV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M13.503 9.016v4.428H9.075v4.98h4.428v4.428h4.98v-4.427h4.428v-4.981h-4.427V9.016h-4.981zm.83.83h3.32v4.428h4.428v3.32h-4.428v4.428h-3.32v-4.454H9.905v-3.294h4.428V9.846zM16.12 0h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136-.109-.118-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006l-.216-.042-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006l-.006-.001-.22-.017-.005-.001h-.006L17.06.03h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012L16.132 0h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zM6.377 3.21l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1v.003l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114v-.008l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V15.95l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z",opacity:".98"})),SignalStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",VV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16.007 8.82L9.21 21.022h13.596L16.007 8.82zm0 1.775l5.328 9.563H10.68l5.327-9.563zM16.14.386c-1.571.236-4.195-.284-4.9 1.381.619 1.703 2.745.069 4.085.365 1.421-.13 2.84.2 4.235.259C21.27.784 18.19.344 17 .413a20.456 20.456 0 00-.86-.027zM25 3.162c-2.19.694.401 2.26 1.181 3.094 1.083 1.152 1.954 2.484 2.715 3.864 1.48 1.005 1.845-1.26.81-2.03-1.158-1.897-2.613-3.704-4.513-4.89l-.192-.038zm-18.438.423c-1.793.712-2.909 2.548-4.01 4.061-.773.814-2.211 3.653.005 3.211 1.123-1.469 1.87-3.306 3.267-4.614.664-.7 2.73-2.013.738-2.658zm24.57 11.072c-1.659.435-.468 2.667-.99 3.895a13.427 13.427 0 01-1.497 4.435c-.23 1.659 1.991 1.165 2.018-.199a14.277 14.277 0 001.254-7.552.865.865 0 00-.785-.579zm-30.18.666c-1.677.386-.633 2.667-.608 3.876.371 1.623.792 3.35 1.79 4.696 2.382.321.571-2.338.292-3.492a15.92 15.92 0 01-.684-4.39.877.877 0 00-.79-.69zm24.558 11.81c-1.755.865-3.303 2.266-5.274 2.765-1.162-.016-3.074 1.271-1.331 2.102 2.66-.447 5.163-1.733 7.236-3.445.472-.506.06-1.432-.631-1.421zm-19.151.043c-2.004.786.416 2.405 1.43 2.913 1.608.904 3.379 1.636 5.208 1.877 1.77-.804-.228-2.094-1.357-2.073-1.75-.537-3.403-1.396-4.798-2.586l-.227-.104-.256-.027z"})),TimerStartEventNonInterrupting:({styles:e={},...t})=>jE("svg",FV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.991 8.7c-3.018-.042-5.92 1.925-7.03 4.725-1.138 2.695-.509 6.011 1.537 8.102 1.99 2.142 5.267 2.93 8.013 1.927 2.877-.98 4.99-3.826 5.067-6.87.153-2.956-1.624-5.88-4.299-7.135a7.551 7.551 0 00-3.288-.75zm0 1.383c2.758-.052 5.372 1.972 6.014 4.654.704 2.578-.482 5.516-2.79 6.867-2.358 1.48-5.682 1.085-7.617-.919-2.043-1.97-2.407-5.38-.84-7.743 1.11-1.764 3.149-2.88 5.233-2.86zm1.962 1.764l-2.074 3.762c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.182l1.993-3.614-.757-.418zM16.12.358h-.232l-.22.004h-.012l-.221.006h-.012l-.22.01h-.012l-.22.013h-.012l-.22.016h-.012l-.22.019h-.005l-.006.001-.22.021h-.006l-.005.001-.22.025h-.011l-.22.028h-.005l-.006.002-.219.03h-.005l-.006.001-.218.033-.006.001-.006.001-.217.036-.006.001-.006.001-.217.039-.006.001-.006.001-.216.042-.006.001-.006.001-.215.045-.006.001-.006.002-.215.047-.006.002-.006.001-.214.05-.006.002-.006.002-.115.029-.152.053-.14.081-.122.106-.1.126-.075.143-.047.154-.018.16.012.16.042.156.07.145.095.13.118.11.137.086.15.059.158.03h.161l.132-.022.11-.028.202-.047.203-.046.208-.043.202-.039.206-.037.206-.034.205-.03.208-.03.205-.025.209-.023.208-.02.21-.017.209-.015.207-.011.21-.009.21-.006.207-.003h.21l.21.002.207.005.207.008.212.011.207.014.208.017.209.019.208.022.205.025.206.028.207.03.208.035.205.036.202.039.052.01.16.018.16-.012.156-.042.146-.07.13-.096.109-.119.085-.136.06-.15.03-.159v-.16l-.03-.16-.059-.15-.086-.136L19.823.9l-.13-.096-.145-.07-.128-.038-.057-.011-.006-.002h-.006L19.135.64l-.006-.001-.006-.001-.217-.039H18.9l-.006-.002-.217-.035-.006-.001-.006-.001-.218-.032-.006-.001-.006-.001-.218-.03h-.006l-.006-.001-.219-.027h-.011l-.22-.024-.005-.001h-.006l-.22-.021h-.006L17.512.42l-.22-.017-.005-.001h-.006l-.22-.015h-.012l-.22-.012h-.012l-.22-.01h-.012l-.22-.005h-.012l-.221-.003h-.012zm8.715 2.783l-.157.034-.149.063-.134.089-.116.112-.092.132-.067.147-.038.157-.008.16.021.16.051.153.079.141.103.124.102.087.052.038h.001l.087.064v.001l.082.061.002.001.076.059h.001l.084.065.082.066.002.001.079.063.002.002.077.063.081.067.002.002.077.065.076.065.001.002.08.07.078.07h.002l.075.068.077.072.002.001.073.069.077.073.072.07.002.001.077.076.07.07v.001l.075.076.07.073.002.001.074.079.002.002.069.074.069.075.074.082.07.08.002.001.068.079h.001l.067.079.068.082.065.078.001.002.068.083.067.084.063.081.001.002.067.087.002.002.063.084.001.001.064.087.008.01.008.01.095.12.093.121.09.119.087.119.088.122.086.123.084.12.081.122.001.002.084.126.08.126.08.127.077.126.079.131.074.127.075.131.073.131.07.13.07.133.069.133.045.09.086.137.109.119.13.096.144.07.156.042.16.013.16-.017.155-.047.143-.075.126-.1.106-.121.082-.14.054-.151.025-.16-.005-.16-.035-.158-.05-.124-.048-.095-.002-.004-.002-.004-.073-.14-.002-.005-.002-.004-.074-.14-.002-.004-.002-.004-.076-.14-.002-.003-.002-.004-.077-.139-.003-.004-.002-.004-.078-.138-.003-.004-.002-.003-.08-.137-.002-.004-.003-.004-.081-.136-.002-.004-.003-.004-.083-.136-.002-.003-.002-.004-.085-.135-.002-.004-.003-.003-.085-.134-.003-.004-.002-.004-.087-.132-.003-.004-.003-.004-.088-.132-.003-.003-.002-.004-.09-.13-.003-.005-.003-.003-.091-.13-.003-.004-.002-.004-.093-.129-.003-.003-.003-.004-.094-.128-.003-.004-.003-.003-.095-.127-.003-.004-.003-.004-.097-.125-.003-.004-.003-.004-.09-.114-.06-.082-.003-.003-.002-.003-.069-.091-.002-.004-.002-.003-.07-.09-.003-.003-.002-.003-.07-.09-.003-.003-.002-.003-.071-.09-.002-.003-.003-.002-.072-.089-.002-.003-.002-.003-.073-.088-.002-.003-.002-.002-.074-.087-.002-.003-.002-.003-.074-.086-.003-.003-.002-.003-.074-.086-.003-.002-.002-.003-.075-.085-.003-.003-.002-.002-.076-.084-.002-.003-.003-.003-.076-.083-.002-.003-.003-.003-.077-.082-.002-.003-.003-.002-.077-.082-.003-.003-.003-.002-.078-.081-.002-.003-.003-.003-.078-.08-.003-.002-.003-.003-.079-.08-.002-.002-.003-.002-.08-.08-.002-.002-.003-.002-.08-.078-.003-.003-.003-.002-.08-.077-.003-.003-.003-.002-.082-.077-.002-.002-.003-.002-.082-.076-.003-.002-.002-.003-.083-.075-.003-.002-.002-.003-.084-.074-.002-.002-.003-.002-.084-.074-.003-.002-.002-.002-.085-.073-.002-.002-.003-.003-.085-.071-.003-.003-.002-.002-.086-.07-.003-.003-.002-.002-.086-.07-.003-.003-.003-.002-.086-.07-.003-.002-.003-.002-.087-.069-.002-.002-.003-.002-.088-.068-.002-.002-.003-.002-.088-.067-.003-.003-.003-.002-.088-.066-.003-.002-.003-.002-.089-.066-.003-.002-.003-.002-.057-.042-.14-.082-.15-.055-.16-.026-.16.004zm-18.458.426l-.157.037-.148.066-.111.074-.007.006-.003.002-.003.002-.086.069-.003.002-.002.002-.086.07-.003.002-.002.002-.086.07-.002.003-.003.002-.085.071-.002.002-.003.003-.084.071-.003.003-.002.002-.084.072-.003.003-.002.002-.083.073-.003.003-.002.002-.083.074-.002.002-.003.003-.082.074-.003.003-.002.002-.081.076-.003.002-.003.002-.08.077-.003.002-.003.003-.08.076-.002.003-.003.002-.08.078-.002.002-.003.003-.079.078-.002.003-.003.002-.078.08-.003.002-.002.002-.078.08-.002.003-.003.002-.077.08-.003.004-.002.002-.077.081-.002.003-.003.003-.076.082-.002.002-.003.003-.075.082-.002.003-.003.003-.074.083-.003.003-.002.003-.074.084-.003.003-.002.002-.074.085-.002.003-.002.003-.073.085-.003.003-.002.003-.072.086-.002.003-.003.003-.071.087-.003.003-.002.002-.07.088-.003.003-.002.003-.07.088-.003.003-.002.003-.07.09-.002.002-.002.003-.069.09-.002.003-.003.003-.068.09-.002.003-.002.003-.067.092-.003.003-.002.003-.067.092-.002.003-.002.003-.066.092-.002.003-.002.004-.066.093-.002.003-.002.003-.065.094-.002.003-.002.004-.064.094-.002.003-.002.004-.063.095-.002.003-.002.003-.063.097-.002.003-.002.003-.046.073-.05.07-.003.002-.002.003-.067.093-.003.003-.002.003-.066.094-.002.003-.002.003-.066.094-.002.003-.002.003-.064.094-.002.004-.002.003-.064.094-.002.004-.002.003-.062.095-.002.003-.002.003-.062.096-.002.003-.002.003-.06.096-.003.003-.002.003-.06.096-.001.004-.002.003-.059.096-.002.004-.002.003-.058.097-.002.003-.001.003-.057.098-.002.003-.002.003-.056.098-.002.003-.002.003-.055.098-.002.004-.001.003-.055.098-.001.004-.002.003-.054.099-.001.003-.002.003-.052.1-.002.002-.002.004-.051.1-.002.002-.002.004-.05.1-.002.003-.002.003-.05.1v.003l-.002.004-.05.1V9.5l-.002.004-.048.1-.002.004-.001.003-.047.101-.002.003-.001.004-.013.027-.052.152-.024.16.006.16.037.157.064.148.091.133.114.114.134.09.147.065.157.036.162.006.159-.024.152-.053.14-.08.122-.105.1-.126.066-.117.01-.023.044-.095.045-.095.002-.003.042-.087.048-.097.048-.095v-.001l.048-.092.001-.001.047-.09.05-.093.002-.002.049-.09.052-.092.001-.002.051-.089.001-.002.051-.087.053-.088.001-.002.055-.091.057-.091.057-.09.001-.002.057-.089.055-.083.001-.002.06-.09.06-.088.062-.089.001-.001.06-.084.063-.088.065-.089.017-.023.016-.025.06-.094.059-.09v-.002l.058-.086.057-.086.001-.001.062-.09.062-.088.001-.002.06-.085.002-.002.06-.082.063-.087.064-.084.002-.002.061-.08.065-.084.064-.08v-.001l.067-.083.067-.082.07-.083.069-.08.063-.074.074-.083.068-.077.002-.002.07-.076.07-.075.072-.077.001-.001.067-.07.076-.078.002-.002.07-.07.075-.075.002-.002.072-.07.075-.072.002-.002.073-.069.074-.068.001-.001.08-.073.076-.068.002-.002.072-.063v-.001l.078-.067.079-.068.002-.001.08-.068.002-.002.077-.063.082-.066.001-.001.075-.06.002-.002.006-.004.117-.111.094-.131.068-.146.04-.156.01-.161-.019-.16-.049-.154-.076-.141-.102-.125-.123-.105-.14-.079-.153-.052-.16-.023-.16.007zm24.596 11.088l-.156.04-.146.067-.131.094-.112.117-.087.135-.061.15-.033.157-.004.134.007.142.005.152.004.15.002.149v.153l.001.011v.015l.004.11.002.11v.002l.002.106v.321l-.003.102-.002.106-.004.107-.005.105-.006.106-.006.106-.008.106v.002l-.008.103v.002l-.01.1-.01.105-.01.105-.013.105-.012.099v.002l-.014.108-.014.1-.016.105-.016.103v.002l-.017.099-.018.104-.019.103v.002l-.019.097-.02.104-.022.103v.001l-.022.098-.023.103v.002l-.024.096-.025.103v.002l-.024.096-.027.102v.003l-.026.093v.001l-.029.103v.002l-.03.099-.028.097v.002l-.03.095-.03.096v.001l-.033.1-.031.095v.002l-.035.1v.003l-.034.094v.003l-.035.096v.001l-.034.09v.002l-.038.098-.036.093v.002l-.038.095-.079.194-.08.188-.085.189-.087.19-.09.184-.092.183-.095.184-.05.093-.064.148-.034.158-.005.16.026.16.054.151.082.14.106.12.127.1.143.075.154.046.16.017.161-.013.156-.042.144-.071.13-.096.109-.119.072-.112.053-.099.003-.005.003-.006.102-.195.003-.006.003-.006.098-.196.003-.006.003-.006.096-.197.002-.006.003-.006.093-.2.002-.006.003-.006.09-.2.002-.006.003-.007.086-.202.003-.006.002-.006.084-.203.002-.005.001-.005.04-.102.002-.003.001-.003.04-.103.001-.003.001-.003.04-.103v-.004l.001-.003.039-.103v-.003l.002-.003.037-.104.001-.003.001-.003.037-.104v-.004l.002-.003.035-.104.002-.003v-.004l.035-.104.002-.004v-.003l.034-.105.002-.003v-.003l.034-.105v-.004l.002-.003.032-.106.001-.003.001-.003.031-.106.001-.003.001-.004.031-.106.001-.003.001-.004.03-.106v-.003l.002-.004.028-.107.001-.003.001-.003.028-.107.001-.004.001-.003.027-.107.001-.004v-.003l.027-.108.001-.003v-.004l.026-.108.001-.003v-.004l.025-.108.001-.003v-.004l.025-.108v-.004l.001-.003.023-.109v-.003l.001-.004.022-.109v-.003l.002-.004.02-.109.001-.004v-.003l.02-.11.002-.003v-.004l.02-.11v-.007l.019-.11v-.003l.001-.004.017-.11v-.004l.001-.003.017-.11v-.008l.016-.11v-.004l.001-.004.015-.11v-.008l.015-.111v-.008l.013-.111v-.007l.013-.112v-.007l.011-.112v-.004l.001-.004.01-.112v-.007l.01-.112v-.008l.008-.112v-.008l.007-.113v-.007l.007-.113v-.008l.005-.113v-.007l.005-.114v-.007l.003-.114v-.007l.003-.114v-.129l.001-.114v-.13l-.003-.114V16.5l-.003-.115v-.007l-.003-.102v-.155l-.003-.158v-.01l-.004-.158v-.01l-.006-.158v-.01l-.007-.148-.023-.16-.051-.152-.08-.14-.103-.124-.125-.102-.142-.077-.153-.05-.16-.02-.161.01zm-30.213.66l-.157.034-.149.063-.134.09-.115.113-.092.132-.067.147-.037.156-.009.134.001.11V16.308l.006.22v.012l.01.22v.012l.012.22v.006l.001.006.015.22v.005l.001.006.018.22.001.006v.006l.022.219v.006l.001.006.024.219.001.006v.006l.028.218.001.006v.006l.031.218.001.006.001.006.033.218.001.006.001.005.037.218v.006l.002.005.04.217v.006l.001.006.043.216.001.006.001.006.046.216v.005l.002.006.048.215.002.006.001.006.051.214.002.006v.006l.055.214.002.005.001.006.057.213.002.006.001.005.06.213.002.005.001.006.063.212.002.005.001.006.066.21.002.006.002.006.068.21.002.005.002.005.07.21.003.005.002.005.074.208.002.006.002.005.077.207.002.006.002.005.08.206.002.005.002.006.082.204.002.006.002.005.086.204.002.005.002.006.088.202.002.005.003.006.09.2.003.006.002.005.094.2.002.006.003.005.096.199.002.005.003.005.03.062.086.137.11.118.128.097.145.07.156.043.16.013.16-.017.155-.047.143-.074.127-.1.106-.121.081-.14.055-.15.025-.16-.005-.161-.034-.158-.05-.124-.028-.055-.092-.19-.087-.188-.087-.192-.083-.19-.08-.193-.078-.194-.076-.196-.073-.195-.07-.197-.067-.198-.065-.199-.063-.2-.059-.2-.056-.2-.055-.204-.05-.201-.049-.202-.046-.205-.043-.206-.04-.203-.038-.207-.034-.204-.032-.207-.028-.205-.026-.207-.023-.208-.02-.207-.018-.207-.014-.208-.011-.207-.009-.208-.005-.207-.002-.104-.017-.16-.046-.155-.074-.143-.1-.126-.121-.107-.139-.081-.152-.055-.159-.025-.161.004zm24.585 11.83l-.156.039-.146.068-.11.076-.015.012-.163.129-.166.127-.168.125-.17.124-.17.12-.172.118-.173.115-.176.114-.177.111-.18.11-.178.105-.182.104-.182.101-.184.1-.184.095-.189.095-.186.09-.188.089-.19.086-.19.082-.193.081-.195.078-.191.074-.197.073-.195.07-.196.065-.198.064-.198.061-.2.058-.2.055-.2.052-.2.049-.151.035-.153.05-.141.078-.125.103-.103.124-.078.14-.05.154-.022.16.009.16.038.157.067.147.093.132.116.112.134.089.149.062.158.034.16.003.133-.02.158-.035.006-.002.006-.001.213-.052.006-.002.007-.001.212-.056.006-.001.006-.002.212-.058.006-.002.006-.002.211-.061.006-.002.006-.002.21-.064.006-.002.006-.002.21-.067.005-.002.006-.002.208-.07.006-.002.006-.003.207-.073.006-.002.006-.002.206-.077.006-.002.005-.002.206-.08.005-.001.006-.003.204-.082.006-.002.005-.002.203-.085.006-.003.005-.002.202-.088.006-.002.005-.003.2-.09.006-.003.006-.003.2-.093.005-.003.005-.002.198-.096.006-.003.005-.003.197-.099.005-.002.005-.003.196-.102.005-.002.005-.003.195-.105.005-.002.005-.003.193-.107.005-.003.005-.003.191-.11.005-.003.005-.003.19-.112.005-.003.005-.003.189-.115.005-.003.005-.003.187-.117.005-.003.004-.004.186-.12.005-.003.004-.003.184-.122.005-.003.005-.004.182-.125.004-.003.005-.003.18-.128.005-.003.005-.003.179-.13.004-.003.005-.004.177-.132.004-.004.005-.003.175-.135.005-.003.004-.004.173-.137.005-.003.004-.004.019-.015.115-.113.092-.132.066-.147.038-.157.008-.16-.022-.16-.052-.153-.079-.14-.103-.124-.125-.102-.142-.078-.153-.05-.16-.02-.16.01zm-19.17.054l-.153.051-.14.079-.124.103-.103.125-.077.141-.05.153-.02.16.009.161.04.156.067.147.093.131.095.094.047.04.005.004.005.004.17.14.005.004.005.004.172.137.004.004.005.003.086.067.003.002.003.002.087.067.003.002.003.002.088.066.002.003.003.002.089.065.002.002.003.002.09.065.002.002.003.002.09.064.002.002.003.002.09.063.003.002.003.002.09.063.003.002.003.002.092.062.002.002.003.002.092.061.003.002.003.002.092.06.003.003.003.001.093.06.003.002.003.002.093.06.003.001.003.002.094.058.003.002.003.002.095.058.003.001.003.002.095.057.003.002.003.002.095.056.003.002.003.002.096.055.004.002.003.001.096.055.003.002.003.002.098.053.003.002.003.002.097.053.004.002.003.001.098.053.003.001.003.002.099.052.003.001.003.002.1.05.003.002.003.002.1.05.003.002.003.001.1.05h.003l.004.003.1.048.004.001.003.002.101.048.003.001.004.002.101.046.004.002.003.001.102.046.004.002.003.001.103.045.003.002.003.001.103.045.004.001.003.002.104.043.003.001.004.002.104.042.003.002.004.001.104.042.004.001.003.002.105.04.004.002.003.001.106.04.003.002h.004l.106.04.004.001.003.002.107.038.003.001.004.001.107.038.003.001.004.001.107.037.004.001.004.001.108.036.003.001.004.001.108.035.004.001.003.001.11.034.003.001.004.001.109.033.004.002h.003l.11.033h.004l.003.002.11.031.004.001.004.001.084.023.081.028.004.001.003.001.109.037.003.001.004.001.109.036.003.001.004.001.109.035h.003l.004.002.11.033.003.001.003.001.11.033.003.001.004.001.109.031.004.002h.003l.11.031.003.001.004.001.11.03h.003l.003.001.11.029h.004l.003.002.11.027.003.001.004.001.11.027h.003l.004.001.004.001.16.022.16-.008.157-.038.147-.067.132-.092.112-.116.09-.134.062-.149.034-.157.004-.161-.025-.16-.055-.151-.082-.139-.107-.12-.127-.1-.143-.074-.124-.04h-.003l-.104-.025-.103-.026h-.002l-.095-.026h-.001l-.101-.027h-.002l-.1-.028h-.002l-.103-.03-.104-.032-.097-.03h-.002l-.103-.033-.102-.033-.101-.034-.106-.036-.027-.01-.027-.007-.107-.03-.104-.029-.104-.03h-.002l-.097-.03-.102-.032-.102-.032-.102-.034-.103-.035-.096-.034-.1-.036-.101-.037h-.002l-.094-.036-.096-.037-.097-.04h-.002l-.099-.04-.098-.042h-.002l-.092-.04-.097-.043-.095-.043-.097-.044h-.002l-.09-.043-.094-.045-.094-.046-.093-.047-.09-.046-.096-.05-.088-.047-.002-.001-.09-.049-.094-.052-.002-.002-.087-.049-.087-.05h-.002l-.088-.053h-.001l-.09-.055-.086-.052-.002-.001-.089-.055-.084-.054h-.002l-.09-.059h-.001l-.085-.056-.001-.001-.084-.056-.082-.056h-.001l-.086-.06-.082-.058H7.79l-.086-.062-.002-.002-.08-.058-.081-.06h-.001l-.085-.064-.002-.002-.076-.058-.002-.002-.082-.064-.161-.128-.162-.133-.04-.034-.132-.092-.147-.066-.157-.038-.16-.008-.16.022z"})),CancelBoundaryEvent:Dz,CompensateBoundaryEvent:Bz,ConditionalBoundaryEvent:jz,ErrorBoundaryEvent:Lz,EscalationBoundaryEvent:zz,LinkBoundaryEvent:Fz,MessageBoundaryEvent:Uz,MultipleBoundaryEvent:Xz,BoundaryEvent:fV,ConditionalBoundaryEventNonInterrupting:Qz,EscalationBoundaryEventNonInterrupting:Yz,MessageBoundaryEventNonInterrupting:Jz,MultipleBoundaryEventNonInterrupting:tV,ParallelBoundaryEventNonInterrupting:iV,SignalBoundaryEventNonInterrupting:oV,TimerBoundaryEventNonInterrupting:aV,ParallelMultipleBoundaryEvent:cV,SignalBoundaryEvent:uV,TimerBoundaryEvent:hV,StartEvent:({styles:e={},...t})=>jE("svg",HV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.847.004C9.61-.016 3.624 4.014 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.101 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.268.403-6.228-3.26-12.441-8.87-15.154A15.924 15.924 0 0015.846.004zm.439 1.729c6.105.033 11.856 4.45 13.435 10.359 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.625-4.814-3.84-6.538-10.94-4.067-16.57 2.14-5.206 7.515-8.775 13.147-8.71.097-.001.194-.002.29-.001z"})),ParallelMultipleStartEvent:({styles:e={},...t})=>jE("svg",UV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.847 0C9.61-.02 3.624 4.01 1.257 9.775-1.235 15.485.06 22.577 4.42 27.03c4.193 4.513 11.101 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.268.403-6.228-3.26-12.441-8.87-15.154A15.924 15.924 0 0015.846 0zm.439 1.729c6.105.033 11.856 4.45 13.435 10.359 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.625C2.101 23.17.377 16.07 2.848 10.44c2.134-5.2 7.522-8.78 13.147-8.71.097-.001.194-.002.29-.001zM13.504 9.08v4.427H9.077v4.98h4.427v4.427h4.98v-4.427h4.428v-4.98h-4.427V9.08h-4.98zm.83.83h3.32v4.427h4.428v3.32h-4.427v4.427h-3.32v-4.453H9.906v-3.294h4.427V9.91z"})),SignalStartEvent:({styles:e={},...t})=>jE("svg",WV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M15.995.005C9.705-.08 3.643 3.968 1.257 9.78-1.235 15.49.06 22.581 4.42 27.034c4.193 4.513 11.102 6.17 16.887 4.058 5.996-2.042 10.423-7.93 10.664-14.269.403-6.227-3.26-12.44-8.87-15.153A15.924 15.924 0 0015.994.005zm0 1.73c6.213-.108 12.122 4.355 13.726 10.357 1.678 5.653-.592 12.198-5.463 15.547-5.06 3.719-12.564 3.45-17.343-.626-4.814-3.838-6.538-10.939-4.067-16.57 2.14-5.205 7.515-8.774 13.147-8.708zm0 6.776L9.19 20.724H22.8L15.995 8.511zm0 1.777l5.332 9.572H10.662l5.333-9.572z"})),TimerStartEvent:({styles:e={},...t})=>jE("svg",XV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M16 0C7.174 0 0 7.174 0 16s7.174 16 16 16 16-7.174 16-16S24.826 0 16 0zm0 1.73c7.892 0 14.27 6.378 14.27 14.27 0 7.891-6.379 14.27-14.27 14.27S1.73 23.891 1.73 16C1.73 8.108 8.108 1.73 16 1.73zm-.143 6.676c-2.967.02-5.797 1.97-6.89 4.727-1.138 2.695-.51 6.012 1.537 8.102 1.99 2.142 5.268 2.932 8.014 1.928 2.878-.98 4.992-3.827 5.068-6.87.153-2.957-1.624-5.881-4.3-7.137a7.552 7.552 0 00-3.43-.75zm.27 1.383c2.71.012 5.254 2.015 5.886 4.656.704 2.577-.482 5.517-2.791 6.867-2.358 1.48-5.682 1.085-7.618-.918-2.043-1.971-2.407-5.381-.84-7.745 1.11-1.763 3.15-2.88 5.234-2.86h.13zm1.833 1.765l-2.074 3.763c-.64.068-.793 1.04-.202 1.3.39.27.696-.18 1.052-.165h3.17v-.865h-3.181l1.992-3.615-.757-.418z"})),CollapsedSubProcess:QV,CollapsedAdHocSubProcess:QV,ExpandedSubProcess:YV,ExpandedAdHocSubProcess:YV,Task:({styles:e={},...t})=>jE("svg",ZV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M6.494 2.667C2.916 2.667 0 5.57 0 9.142v13.383C0 26.097 2.916 29 6.494 29h19.012C29.084 29 32 26.097 32 22.525V9.142c0-3.572-2.916-6.475-6.494-6.475H6.494zm0 2h19.012c2.509 0 4.494 1.98 4.494 4.475v13.383C30 25.02 28.015 27 25.506 27H6.494C3.985 27 2 25.02 2 22.525V9.142c0-2.495 1.985-4.475 4.494-4.475z"})),TextAnnotation:({styles:e={},...t})=>jE("svg",JV({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M22.087 0v31.647H32v-1.788h-8.125V1.788H32V0h-9.913zm-2.924 13.999l-2.737 2.167 2.167 2.738 2.738-2.167-2.168-2.738zm-5.475 4.335L10.95 20.5l2.168 2.738 2.737-2.168-2.167-2.737zm-5.475 4.335l-2.738 2.167 2.168 2.738 2.737-2.168-2.167-2.737zm-5.476 4.335L0 29.17l2.167 2.738 2.738-2.168-2.168-2.737z"})),Transaction:({styles:e={},...t})=>jE("svg",eF({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{d:"M5.422 3A5.424 5.424 0 000 8.422v15.822a5.424 5.424 0 005.422 5.423h21.156A5.424 5.424 0 0032 24.244V8.422A5.424 5.424 0 0026.578 3H5.422zm0 1.244h21.156a4.155 4.155 0 014.178 4.178v15.822a4.155 4.155 0 01-4.178 4.178H5.422a4.155 4.155 0 01-4.178-4.178V8.422a4.155 4.155 0 014.178-4.178zm1.056 1.778a3.373 3.373 0 00-3.367 3.366v13.89a3.373 3.373 0 003.367 3.366h19.044a3.373 3.373 0 003.367-3.366V9.388a3.373 3.373 0 00-3.367-3.366H6.478zm0 1.245h19.044c1.187 0 2.122.935 2.122 2.121v13.89a2.104 2.104 0 01-2.122 2.122H6.478a2.104 2.104 0 01-2.122-2.122V9.388c0-1.186.935-2.121 2.122-2.121z"})),UserTask:({styles:e={},...t})=>jE("svg",tF({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),jE("path",{fillRule:"evenodd",d:"M10.263 7.468c-1.698 0-2.912 1.305-2.915 2.791v.001c0 .45.121.924.311 1.352.138.309.308.593.516.82-1.235.423-2.683 1.119-3.414 2.49l-.04.075v4.44h11.083v-4.44l-.04-.074c-.72-1.352-2.136-2.047-3.36-2.471.597-.608.774-1.392.774-2.192-.004-1.487-1.218-2.792-2.915-2.792zm-1.16 1.583c.08 0 .165.003.26.008.757.045 1.012.181 1.207.31.196.13.334.252.851.268.404-.016.598-.087.737-.169.056-.033.103-.067.152-.1.128.275.197.578.198.893 0 .894-.154 1.52-.975 2.034l.08.604c.171.052.348.11.527.171.025.105.054.242.073.387.02.153.029.311.016.43a.422.422 0 01-.056.19c-.417.417-1.157.66-1.908.66-.75 0-1.49-.243-1.908-.66a.422.422 0 01-.056-.19 1.949 1.949 0 01.016-.43c.02-.146.049-.284.074-.388.177-.062.352-.118.521-.17l.048-.648a.616.616 0 00-.126-.118c-.183-.138-.405-.44-.562-.793-.157-.353-.254-.757-.254-1.08 0-.387.105-.758.297-1.079l.11-.04c.143-.046.339-.09.679-.09zm-1.448 4.304l-.002.014c-.025.185-.04.387-.018.589.021.202.074.42.248.593.595.594 1.494.857 2.382.857.889 0 1.788-.263 2.382-.857.174-.174.227-.391.249-.593a2.496 2.496 0 00-.018-.59l-.002-.01c.903.396 1.776.963 2.258 1.81v3.599H13.53v-2.538h-.67v2.538H7.651v-2.538h-.67v2.538H5.39v-3.599c.483-.849 1.359-1.416 2.264-1.813zM6.495 3C2.914 3 0 5.903 0 9.475v13.383c0 3.572 2.916 6.475 6.494 6.475h19.012c3.578 0 6.494-2.903 6.494-6.475V9.475C32 5.903 29.084 3 25.506 3H6.494zm0 2h19.01C28.016 5 30 6.98 30 9.475v13.383c0 2.495-1.985 4.475-4.494 4.475H6.494C3.985 27.333 2 25.353 2 22.858V9.475C2 6.98 3.985 5 6.494 5z"}))};function iF(e){const{type:t}=e;let n=oF(t);const i=function(e){const t=qr(e),n=t.eventDefinitions;return n&&n[0]}(e);if(i)return n=`${function(e){const t=oF(e.$type);return t.replace("EventDefinition","")}(i)}${n}`,(Ir(e,"bpmn:StartEvent")&&!oo(e)||Ir(e,"bpmn:BoundaryEvent")&&!function(e){const t=qr(e);return t&&!1!==t.cancelActivity}(e))&&(n=`${n}NonInterrupting`),n;if(Ir(e,"bpmn:SubProcess")&&!Ir(e,"bpmn:Transaction"))if(so(e))n=`Event${n}`;else{const t=ro(e)&&!function(e){const t=e&&(e.di||qr(e).di);return Ir(t,"bpmndi:BPMNPlane")}(e);n=`${t?"Expanded":"Collapsed"}${n}`}return function(e){const t=qr(e),n=qr(e.source);if(!Ir(e,"bpmn:SequenceFlow")||!n)return!1;return n.default&&n.default===t&&(Ir(n,"bpmn:Gateway")||Ir(n,"bpmn:Activity"))}(e)&&(n="DefaultFlow"),function(e){const t=qr(e),n=qr(e.source);if(!Ir(e,"bpmn:SequenceFlow")||!n)return!1;return t.conditionExpression&&Ir(n,"bpmn:Activity")}(e)&&(n="ConditionalFlow"),n}const rF={getDocumentationRef:e=>{const t=sF();if(t)return function(e,t){const n=aF(e,t);return n&&n.documentationRef}(e,t)},getElementLabel:e=>Ir(e,"bpmn:Process")?qr(e).name:go(e),getElementIcon:e=>{const t=iF(e),n=sF();if(n){const t=aF(e,n);if(t&&t.icon)return()=>LE("img",{class:"bio-properties-panel-header-template-icon",width:"32",height:"32",src:t.icon.contents})}return nF[t]},getTypeLabel:e=>{const t=sF();if(t){const n=aF(e,t);if(n&&n.name)return n.name}return iF(e).replace(/(\B[A-Z])/g," $1").replace(/(\bNon Interrupting)/g,"($1)")}};function oF(e){return e.split(":")[1]}function sF(){return ez("elementTemplates",!1)}function aF(e,t){return t.get(e)}function lF(){return lF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},lF.apply(this,arguments)}var cF=({styles:e={},...t})=>jE("svg",lF({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"64",height:"64"},t),jE("defs",null,jE("rect",{id:"a",width:"57",height:"47",x:"3",y:"8",rx:"7"}),jE("mask",{id:"b",width:"57",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},jE("use",{xlinkHref:"#a"}))),jE("g",{fill:"none",fillRule:"evenodd"},jE("path",{fill:"#818798",d:"M52 11a5 5 0 015 5v31a5 5 0 01-5 5H11a5 5 0 01-5-5V16a5 5 0 015-5h41zm0 2H11a3 3 0 00-2.995 2.824L8 16v31a3 3 0 002.824 2.995L11 50h41a3 3 0 002.995-2.824L55 47V16a3 3 0 00-2.824-2.995L52 13z"}),jE("path",{fill:"#D5D7DD",d:"M16 24h31v6H16zM21 33h21v6H21z"}),jE("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));function pF(){return pF=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},pF.apply(this,arguments)}var uF=({styles:e={},...t})=>jE("svg",pF({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"128",height:"64"},t),jE("defs",null,jE("path",{id:"a",d:"M9 9h110v47H9z"}),jE("mask",{id:"b",width:"110",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},jE("use",{xlinkHref:"#a"}))),jE("g",{fill:"none",fillRule:"evenodd"},jE("path",{fill:"#818798",d:"M25 20.272L37.728 33 25 45.728 12.272 33 25 20.272zm0 2.829L15.1 33l9.9 9.9 9.9-9.9-9.9-9.9z"}),jE("path",{fill:"#D5D7DD",d:"M17 47h16v6H17z"}),jE("path",{fill:"#818798",d:"M35 32h27v2H35z"}),jE("path",{fill:"#818798",d:"M60 30v6l6-3z"}),jE("path",{fill:"#D5D7DD",d:"M80 34h21v6H80z"}),jE("g",null,jE("path",{fill:"#818798",d:"M111 12a5 5 0 015 5v31a5 5 0 01-5 5H70a5 5 0 01-5-5V17a5 5 0 015-5h41zm0 2H70a3 3 0 00-3 3v31a3 3 0 003 3h41a3 3 0 003-3V17a3 3 0 00-3-3z"}),jE("path",{fill:"#D5D7DD",d:"M75 25h31v6H75z"})),jE("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));const dF=e=>(e||(e=e=>e),{getEmpty:()=>({text:e("Select an element to edit its properties."),icon:cF}),getMultiple:()=>({text:e("Multiple elements are selected. Select a single element to edit its properties."),icon:uF})});function hF(e){const{element:t,injector:n,getProviders:i,layoutConfig:r,descriptionConfig:o,tooltipConfig:s,feelPopupContainer:a}=e,l=n.get("canvas"),p=n.get("elementRegistry"),u=n.get("eventBus"),d=n.get("translate"),[h,m]=Uw({selectedElement:t}),f=h.selectedElement,y=e=>{if(!e)return;let t=e;t&&"label"===t.type&&(t=t.labelTarget),m({...h,selectedElement:t}),u.fire("propertiesPanel.updated",{element:t})};Xw((()=>{const e=e=>{const{newSelection:t=[]}=e;if(t.length>1)return y(t);const n=t[0],i=l.getRootElement();(function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)})(i)||y(n||i)};return u.on("selection.changed",e),()=>{u.off("selection.changed",e)}}),[]),Xw((()=>{const e=e=>{const t=function(e,t){return g(e,(e=>e===t))}(e.elements,f);t&&function(e,t){return e&&t.get(e.id)}(t,p)&&y(t)};return u.on("elements.changed",e),()=>{u.off("elements.changed",e)}}),[f]),Xw((()=>{const e=e=>{const t=e.element;y(t)};return u.on("root.added",e),()=>{u.off("root.added",e)}}),[f]),Xw((()=>{const e=()=>{y(f)};return u.on("propertiesPanel.providersChanged",e),()=>{u.off("propertiesPanel.providersChanged",e)}}),[f]),Xw((()=>{const e=()=>{y(f)};return u.on("elementTemplates.changed",e),()=>{u.off("elementTemplates.changed",e)}}),[f]);const v={selectedElement:f,injector:n,getService:(e,t)=>n.get(e,t)},b=i(f),x=Kw((()=>w(b,(function(e,t){if(c(f))return[];return t.getGroups(f)(e)}),[])),[b,f]),[E,_]=Uw(r||{}),O=Yw((e=>{u.fire("propertiesPanel.layoutChanged",{layout:e})}),[u]);Xw((()=>{const e=e=>{const{layout:t}=e;_(t)};return u.on("propertiesPanel.setLayout",e),()=>u.off("propertiesPanel.setLayout",e)}),[u,_]);return LE(Jq.Provider,{value:v,children:LE(RL,{element:f,headerProvider:rF,placeholderProvider:dF(d),groups:x,layoutConfig:E,layoutChanged:O,descriptionConfig:o,descriptionLoaded:e=>{u.fire("propertiesPanel.descriptionLoaded",{description:e})},tooltipConfig:s,tooltipLoaded:e=>{u.fire("propertiesPanel.tooltipLoaded",{tooltip:e})},feelPopupContainer:a,eventBus:u})})}class mF{constructor(e,t,n){const{parent:i,layout:r,description:o,tooltip:s,feelPopupContainer:a}=e||{};this._eventBus=n,this._injector=t,this._layoutConfig=r,this._descriptionConfig=o,this._tooltipConfig=s,this._feelPopupContainer=a,this._container=xe('<div style="height: 100%" class="bio-properties-panel-container"></div>');var l=t.get("commandStack",!1);l&&function(e,t,n){function i(e){e.preventDefault(),e.stopPropagation()}function r(e){return ia(e)?(n.undo(),i(e)):ra(e)?(n.redo(),i(e)):void 0}t.on("keyboard.bind",(function(){he.bind(e,"keydown",r)})),t.on("keyboard.unbind",(function(){he.unbind(e,"keydown",r)}))}(this._container,n,l),n.on("diagram.init",(()=>{i&&this.attachTo(i)})),n.on("diagram.destroy",(()=>{this.detach()})),n.on("root.added",(e=>{const{element:t}=e;this._render(t)}))}attachTo(e){if(!e)throw new Error("container required");e.get&&e.constructor.prototype.jquery&&(e=e.get(0)),"string"==typeof e&&(e=we(e)),this.detach(),e.appendChild(this._container),this._eventBus.fire("propertiesPanel.attach")}detach(){const e=this._container.parentNode;e&&(e.removeChild(this._container),this._eventBus.fire("propertiesPanel.detach"))}registerProvider(e,t){t||(t=e,e=1e3),"function"==typeof t.getGroups?(this._eventBus.on("propertiesPanel.getProviders",e,(function(e){e.providers.push(t)})),this._eventBus.fire("propertiesPanel.providersChanged")):console.error("Properties provider does not implement #getGroups(element) API")}setLayout(e){this._eventBus.fire("propertiesPanel.setLayout",{layout:e})}_getProviders(){const e=this._eventBus.createEvent({type:"propertiesPanel.getProviders",providers:[]});return this._eventBus.fire(e),e.providers}_render(e){const t=this._injector.get("canvas");e||(e=t.getRootElement()),function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)}(e)||(Aw(LE(hF,{element:e,injector:this._injector,getProviders:this._getProviders.bind(this),layoutConfig:this._layoutConfig,descriptionConfig:this._descriptionConfig,tooltipConfig:this._tooltipConfig,feelPopupContainer:this._feelPopupContainer}),this._container),this._eventBus.fire("propertiesPanel.rendered"))}_destroy(){this._container&&(Aw(null,this._container),this._eventBus.fire("propertiesPanel.destroyed"))}}mF.$inject=["config.propertiesPanel","injector","eventBus"];class fF{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;b(e,(function(e){t.execute(e.cmd,e.context)}))}}fF.$inject=["commandStack"];const gF={"properties-panel.multi-command-executor":fF};function yF(e,t){e.on("diagram.init",(function(){b(gF,(function(e,n){t.registerHandler(n,e)}))}))}yF.$inject=["eventBus","commandStack"];var vF={__depends__:[{__init__:[yF]},dq,mq],__init__:["propertiesPanel"],propertiesPanel:["type",mF]};function bF(e){const{autoFocusEntry:t,element:n,getOptions:i}=e,r=i(n),o=eL(r);return Xw((()=>{if(t&&o&&r.length>o.length){const e=we(`[data-entry-id="${t}"]`),n=we(".bio-properties-panel-input",e);n&&n.select()}}),[r]),LE(YL,{...e})}function xF(e){return Lr(e,["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:EndEvent"])&&!!wF(e)}function wF(e){return OF(e,"bpmn:ErrorEventDefinition")}function EF(e){return OF(e,"bpmn:TimerEventDefinition")}function _F(e){const t=wF(e);return t&&t.get("errorRef")}function OF(e,t){return g(qr(e).get("eventDefinitions")||[],(function(e){return Ir(e,t)}))}function PF(e){return Ir(e,"bpmn:ReceiveTask")?qr(e):OF(e,"bpmn:MessageEventDefinition")}function kF(e){const t=PF(e);return t&&t.get("messageRef")}function SF(e){return OF(e,"bpmn:LinkEventDefinition")}function CF(e){return OF(e,"bpmn:SignalEventDefinition")}function TF(e){const t=CF(e);return t&&t.get("signalRef")}function AF(e){return OF(e,"bpmn:EscalationEventDefinition")}function MF(e){return Ir(e,"bpmn:Event")&&!!AF(e)}function RF(e){const t=AF(e);return t&&t.get("escalationRef")}function DF(e){return OF(e,"bpmn:CompensateEventDefinition")}function NF(e){const{element:t}=e;return function(e){return Lr(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"])&&!!DF(e)}(t)?[{id:"waitForCompletion",component:BF,isEdited:WL},{id:"activityRef",component:$F,isEdited:ZL}]:[]}function BF(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=DF(t);return UL({element:t,id:"waitForCompletion",label:i("Wait for completion"),getValue:()=>r.get("waitForCompletion"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{waitForCompletion:e}})}})}function $F(e){const{element:t}=e,n=ez("commandStack"),i=ez("elementRegistry"),r=ez("translate"),o=DF(t);return bF({element:t,id:"activityRef",label:r("Activity reference"),getValue:()=>{const e=function(e){const t=DF(e);return t&&t.get("activityRef")}(t);return e&&e.get("id")},setValue:e=>{const r=e?qr(i.get(e)):void 0;n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{activityRef:r}})},getOptions:()=>{let e=[{value:"",label:r("<none>")}];const n=function(e){const t=qr(e);let n=t.$parent,i=LF(n);Ir(n,"bpmn:SubProcess")&&n.triggeredByEvent&&(n=n.$parent,n&&(i=[...i,...LF(n)]));return i}(t);var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((function(t){e.push({value:t.id,label:qF(t)})})),e}})}function jF(e,t){const{flowElements:n}=e;return n.filter((function(e){return Ir(e,t)}))}function IF(e,t){return Ir(e,"bpmn:CallActivity")||Ir(e,"bpmn:SubProcess")&&!e.triggeredByEvent&&!e.isForCompensation||function(e,t){const{id:n}=e;return!!g(t,(function(e){const{attachedToRef:t}=e,i=DF(e);return t&&i&&t.id===n}))}(e,t)}function LF(e){const t=function(e){return jF(e,"bpmn:Activity")}(e),n=function(e){return jF(e,"bpmn:BoundaryEvent")}(e);return t.filter((function(e){return IF(e,n)}))}function qF(e){const{id:t,name:n}=e;return`${n?n+" ":""}(id=${t})`}const zF="text/plain";function VF(e){const{element:t}=e,n=[{id:"documentation",component:FF,isEdited:oq}];return function(e){return Ir(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)&&n.push({id:"processDocumentation",component:HF,isEdited:oq}),n}function FF(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=ez("debounceInput"),s=WF(qr(t)),a=XF(t,qr(t),n,i);return rq({element:t,id:"documentation",label:r("Element documentation"),getValue:s,setValue:a,debounce:o})}function HF(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=ez("debounceInput"),s=qr(t).processRef,a=WF(s),l=XF(t,s,n,i);return rq({element:t,id:"processDocumentation",label:r("Process documentation"),getValue:a,setValue:l,debounce:o})}function UF(e){return e.find((function(e){return(e.textFormat||zF)===zF}))}function WF(e){return function(){const t=UF(e&&e.get("documentation"));return t&&t.text}}function XF(e,t,n,i){return function(r){let o=UF(t&&t.get("documentation"));return o?r?i.execute("element.updateModdleProperties",{element:e,moddleElement:o,properties:{text:r}}):i.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:x(t.get("documentation"),o)}}):r?(o=n.create("bpmn:Documentation",{text:r}),i.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:[...t.get("documentation"),o]}})):void 0}}function GF(e,t,n,i){const r=i.create(e,t);return n&&(r.$parent=n),r}function QF(e){return new n([32,32,1]).nextPrefixed(e)}function KF(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function YF(e,t){const n=KF(e);return i=n.get("rootElements"),r=t,(i||[]).filter((e=>Ir(e,r)));var i,r}function ZF(e,t,n){return YF(e,t).find((e=>e.id===n))}const JF="",eH="create-new";function tH(e){const{element:t}=e;if(!xF(t))return[];let n=[{id:"errorRef",component:nH,isEdited:ZL}];return _F(t)&&(n=[...n,{id:"errorName",component:iH,isEdited:cq},{id:"errorCode",component:rH,isEdited:cq}]),n}function nH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=wF(t);return bF({element:t,id:"errorRef",label:r("Global error reference"),autoFocusEntry:"errorName",getValue:()=>{const e=_F(t);return e?e.get("id"):JF},setValue:e=>{const r=KF(o),s=[];let a;return e===eH&&(a=GF("bpmn:Error",{name:QF("Error_")},r,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{rootElements:[...r.get("rootElements"),a]}}})),a=a||ZF(o,"bpmn:Error",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{errorRef:a}}}),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:JF,label:r("<none>")},{value:eH,label:r("Create new ...")}];const n=YF(qr(t),"bpmn:Error");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function iH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=_F(t);return lq({element:t,id:"errorName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:r})}function rH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=_F(t);return lq({element:t,id:"errorCode",label:i("Code"),getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:r})}const oH="create-new";function sH(e){const{element:t}=e;if(!MF(t))return[];let n=[{id:"escalationRef",component:aH,isEdited:ZL}];return RF(t)&&(n=[...n,{id:"escalationName",component:lH,isEdited:cq},{id:"escalationCode",component:cH,isEdited:cq}]),n}function aH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=AF(t);return bF({element:t,id:"escalationRef",label:r("Global escalation reference"),autoFocusEntry:"escalationName",getValue:()=>{const e=RF(t);return e&&e.get("id")},setValue:e=>{const r=KF(o),s=[];let a;if(e===oH){const i=QF("Escalation_");a=GF("bpmn:Escalation",{id:i,name:i},r,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{rootElements:[...r.get("rootElements"),a]}}})}return a=a||ZF(o,"bpmn:Escalation",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{escalationRef:a}}}),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:"",label:r("<none>")},{value:oH,label:r("Create new ...")}];const n=YF(qr(t),"bpmn:Escalation");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function lH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=RF(t);return lq({element:t,id:"escalationName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:r})}function cH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=RF(t);return lq({element:t,id:"escalationCode",label:i("Code"),getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:r})}function pH(e){const{element:t}=e;return Ir(t,"bpmn:Process")||function(e){return Ir(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"isExecutable",component:uH,isEdited:WL}]:[]}function uH(e){const{element:t}=e,n=ez("modeling"),i=ez("commandStack"),r=ez("translate");let o,s;if(s=e=>{n.updateProperties(t,{isExecutable:e})},o=e=>e.businessObject.isExecutable,Ir(t,"bpmn:Participant")){const e=t.businessObject.get("processRef");s=n=>{i.execute("element.updateModdleProperties",{element:t,moddleElement:e,properties:{isExecutable:n}})},o=()=>e.get("isExecutable")}return UL({element:t,id:"isExecutable",label:r("Executable"),getValue:o,setValue:s})}const dH=/\s/,hH=/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i,mH=/^[a-z_][\w-.]*$/i;function fH(e,t,n){const i=e.$model.ids.assigned(t);return t?i&&i!==e?n("ID must be unique."):function(e,t){if(n=e,dH.test(n))return t("ID must not contain spaces.");var n;if(!mH.test(e))return hH.test(e)?t("ID must not contain prefix."):t("ID must be a valid QName.")}(t,n):n("ID must not be empty.")}function gH(e){const{element:t}=e,n=ez("modeling"),i=ez("debounceInput"),r=ez("translate");return lq({element:t,id:"id",label:r(Ir(t,"bpmn:Participant")?"Participant ID":"ID"),getValue:e=>e.businessObject.id,setValue:(e,i)=>{i||n.updateProperties(t,{id:e})},debounce:i,validate:e=>fH(qr(t),e,r)})}function yH(e){const{element:t}=e;return function(e){return Lr(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!SF(e)}(t)?[{id:"linkName",component:vH,isEdited:cq}]:[]}function vH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=SF(t);return lq({element:t,id:"linkName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:r})}const bH="",xH="create-new";function wH(e){const{element:t}=e;if(!function(e){return Ir(e,"bpmn:ReceiveTask")||Lr(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!PF(e)}(t))return[];let n=[{id:"messageRef",component:EH,isEdited:ZL}];return kF(t)&&(n=[...n,{id:"messageName",component:_H,isEdited:cq}]),n}function EH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=PF(t);return bF({element:t,id:"messageRef",label:r("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=kF(t);return e?e.get("id"):bH},setValue:e=>{const r=KF(o),s=[];let a;if(e===xH){const i=QF("Message_");a=GF("bpmn:Message",{id:i,name:i},r,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{rootElements:[...r.get("rootElements"),a]}}})}return a=a||ZF(o,"bpmn:Message",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{messageRef:a}}}),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:bH,label:r("<none>")},{value:xH,label:r("Create new ...")}];const n=YF(qr(t),"bpmn:Message");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function _H(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=kF(t);return lq({element:t,id:"messageName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:r})}function OH(e){const{element:t}=e;if(!function(e){const t=TH(e);return!!t&&Ir(t,"bpmn:MultiInstanceLoopCharacteristics")}(t))return[];return[{id:"loopCardinality",component:PH,isEdited:cq},{id:"completionCondition",component:kH,isEdited:cq}]}function PH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("debounceInput"),r=ez("commandStack"),o=ez("translate");return lq({element:t,id:"loopCardinality",label:o("Loop cardinality"),getValue:()=>function(e){const t=function(e){return CH(e,"loopCardinality")}(e);return SH(t)}(t),setValue:e=>r.execute("element.updateModdleProperties",AH(t,"loopCardinality",e,n)),debounce:i})}function kH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("debounceInput"),r=ez("commandStack"),o=ez("translate");return lq({element:t,id:"completionCondition",label:o("Completion condition"),getValue:()=>function(e){const t=function(e){return CH(e,"completionCondition")}(e);return SH(t)}(t),setValue:e=>r.execute("element.updateModdleProperties",AH(t,"completionCondition",e,n)),debounce:i})}function SH(e){return e&&e.get("body")}function CH(e,t){const n=TH(e);return n&&n.get(t)}function TH(e){return qr(e).loopCharacteristics}function AH(e,t,n,i){const r=TH(e),o={};if(!n)return o[t]=void 0,{element:e,moddleElement:r,properties:o};const s=r.get(t);return s?{element:e,moddleElement:s,properties:{body:n}}:(o[t]=function(e,t,n){return GF("bpmn:FormalExpression",{body:t},e,n)}(r,n,i),{element:e,moddleElement:r,properties:o})}function MH(e){const{element:t}=e;return Lr(t,["bpmn:Collaboration","bpmn:DataAssociation","bpmn:Association"])?[]:[{id:"name",component:RH,isEdited:oq}]}function RH(e){const{element:t}=e,n=ez("modeling"),i=ez("debounceInput"),r=ez("canvas"),o=ez("bpmnFactory"),s=ez("translate");let a={element:t,id:"name",label:s("Name"),debounce:i,setValue:e=>{n.updateProperties(t,{name:e})},getValue:e=>e.businessObject.name,autoResize:!0};return Ir(t,"bpmn:TextAnnotation")?a={...a,setValue:e=>{n.updateProperties(t,{text:e})},getValue:e=>e.businessObject.text}:Ir(t,"bpmn:Group")?a={...a,setValue:e=>{const i=qr(t);i.categoryValueRef||function(e,t,n){const i=function(e,t){const n=t.create("bpmn:CategoryValue"),i=t.create("bpmn:Category",{categoryValue:[n]});return At(e.get("rootElements"),i),qr(i).$parent=e,qr(n).$parent=i,n}(qr(t).$parent,n);e.categoryValueRef=i}(i,r.getRootElement(),o),n.updateLabel(t,e)},getValue:e=>{const t=qr(e).categoryValueRef;return t&&t.value}}:Ir(t,"bpmn:Participant")&&(a.label=s("Participant Name")),rq(a)}function DH(e){const{element:t}=e;return function(e){return Ir(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"processId",component:BH,isEdited:cq},{id:"processName",component:NH,isEdited:cq}]:[]}function NH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=t.businessObject.get("processRef");return lq({element:t,id:"processName",label:i("Process name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:r})}function BH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=t.businessObject.get("processRef");return lq({element:t,id:"processId",label:i("Process ID"),getValue:()=>o.get("id"),setValue:(e,i)=>{i||n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{id:e}})},debounce:r,validate:e=>fH(o,e,i)})}const $H="",jH="create-new";function IH(e){const{element:t}=e;if(!function(e){return Ir(e,"bpmn:Event")&&!!CF(e)}(t))return[];let n=[{id:"signalRef",component:LH,isEdited:ZL}];return TF(t)&&(n=[...n,{id:"signalName",component:qH,isEdited:cq}]),n}function LH(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=CF(t);return bF({element:t,id:"signalRef",label:r("Global signal reference"),autoFocusEntry:"signalName",getValue:()=>{const e=TF(t);return e?e.get("id"):$H},setValue:e=>{const r=KF(o),s=[];let a;if(e===jH){const i=QF("Signal_");a=GF("bpmn:Signal",{id:i,name:i},r,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{rootElements:[...r.get("rootElements"),a]}}})}return a=a||ZF(o,"bpmn:Signal",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{signalRef:a}}}),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:$H,label:r("<none>")},{value:jH,label:r("Create new ...")}];const n=YF(qr(t),"bpmn:Signal");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function qH(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=TF(t);return lq({element:t,id:"signalName",label:i("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:r})}function zH(e){return Lr(e,["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:BoundaryEvent"])&&!!FH(e)}function VH(e){if(!e)return;if(void 0!==e.get("timeDate"))return"timeDate";if(void 0!==e.get("timeCycle"))return"timeCycle";return void 0!==e.get("timeDuration")?"timeDuration":void 0}function FH(e){return function(e,t){const n=qr(e);return g(n.get("eventDefinitions")||[],(function(e){return Ir(e,t)}))}(e,"bpmn:TimerEventDefinition")}function HH(e){const{element:t,idPrefix:n}=e;let{timerEventDefinition:i}=e;if(!i){i=FH(qr(t))}const r=VH(i);if(!zH(t))return[];const o=[];return o.push({id:GH(n,"timerEventDefinitionType"),component:UH,isEdited:ZL,timerEventDefinition:i,timerEventDefinitionType:r}),r&&o.push({id:GH(n,"timerEventDefinitionValue"),component:WH,isEdited:cq,timerEventDefinition:i,timerEventDefinitionType:r}),o}function UH(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:i}=e,r=ez("commandStack"),o=ez("bpmnFactory"),s=ez("translate");return YL({element:t,id:"timerEventDefinitionType",label:s("Type"),getValue:()=>i||"",setValue:e=>{if(e===i)return;const s=o.create("bpmn:FormalExpression",{body:void 0});s.$parent=n;const a={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(a[e]=s),r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:a})},getOptions:e=>[{value:"",label:s("<none>")},{value:"timeDate",label:s("Date")},{value:"timeDuration",label:s("Duration")},{value:"timeCycle",label:s("Cycle")}]})}function WH(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=n.get(i);return lq({element:t,id:"timerEventDefinitionValue",label:o("Value"),getValue:()=>a&&a.get("body"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{body:e}})},debounce:s,tooltip:XH(i,o)})}function XH(e,t){switch(e){case"timeDate":return LE("div",{children:[LE("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),LE("li",{children:[LE("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-date",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeCycle":return LE("div",{children:[LE("p",{children:t("A cycle defined as ISO 8601 repeating intervals format.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),LE("li",{children:[LE("code",{children:"R/P1D"})," - ",t("every day, infinitely")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-cycle",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeDuration":return LE("div",{children:[LE("p",{children:t("A time duration defined as ISO 8601 durations format.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"PT15S"})," - ",t("15 seconds")]}),LE("li",{children:[LE("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),LE("li",{children:[LE("code",{children:"P14D"})," - ",t("14 days")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-duration",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]})}}function GH(e,t){return e?e+t:t}function QH(e,t){const n=t.get("translate"),i=[...MH({element:e}),{id:"id",component:gH,isEdited:cq},...DH({element:e}),...pH({element:e})];return{id:"general",label:n("General"),entries:i,component:rL}}function KH(e,t){const n={label:t.get("translate")("Compensation"),id:"compensation",component:rL,entries:[...NF({element:e})]};return n.entries.length?n:null}function YH(e,t){const n=t.get("translate"),i=[...VF({element:e})];return{id:"documentation",label:n("Documentation"),entries:i,component:rL}}function ZH(e,t){const n={id:"error",label:t.get("translate")("Error"),component:rL,entries:[...tH({element:e})]};return n.entries.length?n:null}function JH(e,t){const n={id:"message",label:t.get("translate")("Message"),component:rL,entries:[...wH({element:e})]};return n.entries.length?n:null}function eU(e,t){const n={id:"signal",label:t.get("translate")("Signal"),component:rL,entries:[...IH({element:e})]};return n.entries.length?n:null}function tU(e,t){const n={label:t.get("translate")("Link"),id:"link",component:rL,entries:[...yH({element:e})]};return n.entries.length?n:null}function nU(e,t){const n={id:"escalation",label:t.get("translate")("Escalation"),component:rL,entries:[...sH({element:e})]};return n.entries.length?n:null}function iU(e,t){const n={label:t.get("translate")("Timer"),id:"timer",component:rL,entries:[...HH({element:e})]};return n.entries.length?n:null}function rU(e,t){const n={label:t.get("translate")("Multi-instance"),id:"multiInstance",component:rL,entries:[...OH({element:e})]};return n.entries.length?n:null}class oU{constructor(e,t){e.registerProvider(this),this._injector=t}getGroups(e){return t=>(t=t.concat(function(e,t){return[QH(e,t),YH(e,t),KH(e,t),ZH(e,t),tU(e,t),JH(e,t),rU(e,t),eU(e,t),nU(e,t),iU(e,t)].filter((e=>null!==e))}(e,this._injector)),t)}}oU.$inject=["propertiesPanel","injector"];var sU={__init__:["bpmnPropertiesProvider"],bpmnPropertiesProvider:["type",oU]};function aU(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const i=n.get("values");return i&&i.length?t?i.filter((e=>Ir(e,t))):i:[]}function lU(e,t,n,i,r){const o=[];let s=t.get("extensionElements");s||(s=GF("bpmn:ExtensionElements",{values:[]},t,i),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:{extensionElements:s}}})),n.$parent=s,o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),n]}}}),r.execute("properties-panel.multi-command-executor",o)}function cU(e,t,n,i){c(n)||(n=[n]);const r=t.get("extensionElements"),o=r.get("values").filter((e=>!n.includes(e)));i.execute("element.updateModdleProperties",{element:e,moddleElement:r,properties:{values:o}})}function pU(e){const{idPrefix:t,property:n}=e;return[{id:t+"-name",component:uU,idPrefix:t,property:n},{id:t+"-value",component:dU,idPrefix:t,property:n}]}function uU(e){const{idPrefix:t,element:n,property:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o("Name"),getValue:()=>i.name,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}function dU(e){const{idPrefix:t,element:n,property:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-value",label:o("Value"),getValue:()=>i.value,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{value:e}})},debounce:s})}function hU({element:e,injector:t,namespace:n="camunda"}){let i=gU(e);if(!i)return;const r=function(e,t="camunda"){const n=gU(e),i=vU(n,t);return i&&i.get(yU(t))}(i,n)||[],o=t.get("bpmnFactory"),s=t.get("commandStack"),a=r.map(((t,i)=>{const r=e.id+"-extensionProperty-"+i;return{id:r,label:t.get("name")||"",entries:pU({idPrefix:r,element:e,property:t}),autoFocusEntry:r+"-name",remove:mU({commandStack:s,element:e,property:t,namespace:n})}}));return{items:a,add:fU({bpmnFactory:o,commandStack:s,element:e,namespace:n}),shouldSort:!1}}function mU({commandStack:e,element:t,property:n,namespace:i}){return function(r){r.stopPropagation();const o=[],s=gU(t),a=s.get("extensionElements"),l=vU(s,i);if(!l)return;const c=yU(i),p=x(l.get(c),n);o.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{[c]:p}}}),p.length||o.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:x(a.get("values"),l)}}}),e.execute("properties-panel.multi-command-executor",o)}}function fU({bpmnFactory:e,commandStack:t,element:n,namespace:i}){return function(r){r.stopPropagation();let o=[];const s=gU(n);let a=s.get("extensionElements");a||(a=GF("bpmn:ExtensionElements",{values:[]},s,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{extensionElements:a}}}));const l=yU(i);let c=vU(s,i);if(!c){c=GF(`${i}:Properties`,{[l]:[]},a,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),c]}}})}const p=GF(`${i}:Property`,{},c,e);o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:c,properties:{[l]:[...c.get(l),p]}}}),t.execute("properties-panel.multi-command-executor",o)}}function gU(e){let t=qr(e);return Ir(e,"bpmn:Participant")?t.get("processRef"):t}function yU(e="camunda"){return"zeebe"===e?"properties":"values"}function vU(e,t="camunda"){return aU(gU(e),`${t}:Properties`)[0]}function bU(e){const{element:t}=e,n=e=>e&&!e.checked,i=qr(t),r=[];return Ir(t,"camunda:AsyncCapable")&&(r.push({id:"asynchronousContinuationBefore",component:xU,isEdited:WL},{id:"asynchronousContinuationAfter",component:wU,isEdited:WL}),(_U(i)||OU(i))&&r.push({id:"exclusive",component:EU,isEdited:n})),r}function xU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=qr(t);return UL({element:t,id:"asynchronousContinuationBefore",label:i("Before"),getValue:()=>_U(r),setValue:e=>{const i={"camunda:asyncBefore":e,"camunda:async":void 0};n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:i})}})}function wU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=qr(t);return UL({element:t,id:"asynchronousContinuationAfter",label:i("After"),getValue:()=>OU(r),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:asyncAfter":e}})}})}function EU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=qr(t);return UL({element:t,id:"exclusive",label:i("Exclusive"),getValue:()=>!!r.get("camunda:exclusive"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:exclusive":e}})}})}function _U(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}function OU(e){return!!e.get("camunda:asyncAfter")}const PU="";function kU(e){const{element:t}=e;return Ir(t,"bpmn:StartEvent")&&function(e){const t=qr(e),n=CU(t);return n&&n.get("camunda:fields").length}(t)?[{id:"businessKey",component:SU,isEdited:ZL}]:[]}function SU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=CU(t);return YL({element:t,id:"businessKey",label:i("Key"),getValue:()=>r.get("camunda:businessKey")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:businessKey":e}})},getOptions:()=>{const e=[{value:PU,label:i("<none>")}];return r.get("fields").forEach((t=>{const n=t.get("camunda:id");n&&e.push({value:n,label:n})})),e}})}function CU(e){return aU(qr(e),"camunda:FormData")[0]}function TU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElement",label:i("Called element"),getValue:()=>qr(t).get("calledElement"),setValue:e=>{n.updateProperties(t,{calledElement:e||""})},debounce:r})}function AU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate");return LE(YL,{element:t,id:"calledElementBinding",label:i("Binding"),getValue:()=>qr(t).get("camunda:calledElementBinding")||"latest",setValue:e=>{n.updateProperties(t,{calledElementBinding:"latest"===e?void 0:e,calledElementVersion:void 0,calledElementVersionTag:void 0})},getOptions:()=>[{value:"latest",label:i("latest")},{value:"deployment",label:i("deployment")},{value:"version",label:i("version")},{value:"versionTag",label:i("version tag")}]})}function MU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementVersion",label:i("Version"),getValue:()=>qr(t).get("camunda:calledElementVersion"),setValue:e=>{n.updateProperties(t,{calledElementVersion:e})},debounce:r})}function RU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementVersionTag",label:i("Version tag"),getValue:()=>qr(t).get("camunda:calledElementVersionTag"),setValue:e=>{n.updateProperties(t,{calledElementVersionTag:e})},debounce:r})}function DU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementTenantId",label:i("Tenant ID"),getValue:()=>qr(t).get("camunda:calledElementTenantId"),setValue:e=>{n.updateProperties(t,{calledElementTenantId:e})},debounce:r})}function NU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementCaseRef",label:i("Case ref"),getValue:()=>qr(t).get("camunda:caseRef"),setValue:e=>{n.updateProperties(t,{caseRef:e||""})},debounce:r})}function BU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate");return LE(YL,{element:t,id:"calledElementCaseBinding",label:i("Binding"),getValue:()=>qr(t).get("camunda:caseBinding")||"latest",setValue:e=>{n.updateProperties(t,{caseBinding:"latest"===e?void 0:e,caseVersion:void 0})},getOptions:()=>[{value:"latest",label:i("latest")},{value:"deployment",label:i("deployment")},{value:"version",label:i("version")}]})}function $U(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementCaseVersion",label:i("Version"),getValue:()=>qr(t).get("camunda:caseVersion"),setValue:e=>{n.updateProperties(t,{caseVersion:e})},debounce:r})}function jU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementCaseTenantId",label:i("Tenant ID"),getValue:()=>qr(t).get("camunda:caseTenantId"),setValue:e=>{n.updateProperties(t,{caseTenantId:e})},debounce:r})}const IU={"camunda:variableMappingClass":void 0,"camunda:variableMappingDelegateExpression":void 0};function LU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate");return LE(YL,{element:t,id:"calledElementDelegateVariableMappingType",label:i("Delegate Variable Mapping"),getValue:()=>VU(t),setValue:e=>{const i={...IU};"class"===e?i["camunda:variableMappingClass"]="":"delegateExpression"===e&&(i["camunda:variableMappingDelegateExpression"]=""),n.execute("element.updateProperties",{element:t,properties:i})},getOptions:()=>[{value:"none",label:i("<none>")},{value:"class",label:i("Class")},{value:"delegateExpression",label:i("Delegate expression")}]})}function qU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementVariableMappingDelegateExpression",label:i("Delegate Expression"),getValue:()=>qr(t).get("camunda:variableMappingDelegateExpression"),setValue:e=>{n.updateProperties(t,{variableMappingDelegateExpression:e||"",variableMappingClass:void 0})},debounce:r})}function zU(e){const{element:t}=e,n=ez("modeling"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementVariableMappingClass",label:i("Delegate Class"),getValue:()=>qr(t).get("camunda:variableMappingClass"),setValue:e=>{n.updateProperties(t,{variableMappingDelegateExpression:void 0,variableMappingClass:e||""})},debounce:r})}function VU(e){const t=qr(e);return void 0!==t.get("camunda:variableMappingClass")?"class":void 0!==t.get("camunda:variableMappingDelegateExpression")?"delegateExpression":"none"}function FU(e){const{element:t}=e;if(!Ir(t,"bpmn:CallActivity"))return[];const n=[];n.push({id:"calledElementType",component:WU,isEdited:ZL});const i=KU(t);return"bpmn"===i?n.push(...function(e){const{element:t}=e,n=[{id:"calledElement",component:TU,isEdited:cq},{id:"calledElementBinding",component:AU,isEdited:ZL},{id:"calledElementTenantId",component:DU,isEdited:cq}],i=qr(t).get("camunda:calledElementBinding");return"version"===i?n.splice(-1,0,{id:"calledElementVersion",component:MU,isEdited:cq}):"versionTag"===i&&n.splice(-1,0,{id:"calledElementVersionTag",component:RU,isEdited:cq}),n}({element:t}),...XU({element:t}),...function(e){const{element:t}=e,n=[{id:"calledElementDelegateVariableMappingType",component:LU,isEdited:ZL}],i=VU(t);return"class"===i?n.push({id:"calledElementVariableMappingClass",component:zU,isEdited:cq}):"delegateExpression"===i&&n.push({id:"calledElementVariableMappingDelegateExpression",component:qU,isEdited:cq}),n}({element:t})):"cmmn"===i?n.push(...function(e){const{element:t}=e,n=[{id:"calledElementCaseRef",component:NU,isEdited:cq},{id:"calledElementCaseBinding",component:BU,isEdited:ZL},{id:"calledElementCaseTenantId",component:jU,isEdited:cq}];return"version"===qr(t).get("camunda:caseBinding")&&n.splice(-1,0,{id:"calledElementCaseVersion",component:$U,isEdited:cq}),n}({element:t}),...XU({element:t})):n.push(...XU({element:t})),n}const HU={calledElement:void 0,"camunda:calledElementBinding":void 0,"camunda:calledElementVersion":void 0,"camunda:calledElementTenantId":void 0,"camunda:variableMappingClass":void 0,"camunda:variableMappingDelegateExpression":void 0,"camunda:caseRef":void 0,"camunda:caseBinding":void 0,"camunda:caseVersion":void 0,"camunda:caseTenantId":void 0},UU="#{execution.processBusinessKey}";function WU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate");return LE(YL,{element:t,id:"calledElementType",label:i("Type"),getValue:()=>KU(t),setValue:e=>{const i={...HU};"bpmn"===e?i.calledElement="":"cmmn"===e&&(i["camunda:caseRef"]=""),n.execute("element.updateProperties",{element:t,properties:i})},getOptions:()=>[{value:"",label:i("<none>")},{value:"bpmn",label:i("BPMN")},{value:"cmmn",label:i("CMMN")}]})}function XU(e){const{element:t}=e,n=[{id:"calledElementBusinessKey",component:GU,isEdited:WL}];return YU(t)&&n.push({id:"calledElementBusinessKeyExpression",component:QU,isEdited:cq}),n}function GU(e){const{element:t}=e,n=ez("commandStack"),i=ez("modeling"),r=ez("bpmnFactory"),o=ez("translate");function s(e){return GF("camunda:In",{businessKey:UU},e,r)}return LE(UL,{element:t,id:"calledElementBusinessKey",label:o("Business key"),getValue:()=>YU(t),setValue:e=>{e?function(){const e=qr(t);let o=e.get("extensionElements");if(o){const i=s(o);lU(t,e,i,r,n)}else{o=GF("bpmn:ExtensionElements",{},e,r);const n=s(o);o.set("values",[n]),i.updateProperties(t,{extensionElements:o})}}():function(){const e=qr(t),i=aU(e,"camunda:In").filter((e=>void 0!==e.get("businessKey")));cU(t,e,i,n)}()}})}function QU(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"calledElementBusinessKeyExpression",label:i("Business key expression"),getValue:()=>ZU(t),setValue:e=>{const i=JU(t);n.execute("element.updateModdleProperties",{element:t,moddleElement:i,properties:{businessKey:e||""}})},debounce:r})}function KU(e){const t=qr(e);return void 0!==t.get("calledElement")?"bpmn":void 0!==t.get("camunda:caseRef")?"cmmn":""}function YU(e){return void 0!==ZU(e)}function ZU(e){const t=JU(e);if(t)return t.get("businessKey")}function JU(e){const t=aU(qr(e),"camunda:In");for(const e of t){if(void 0!==e.get("businessKey"))return e}}function eW(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")?[{id:"candidateStarterGroups",component:tW,isEdited:cq},{id:"candidateStarterUsers",component:nW,isEdited:cq}]:[]}function tW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=iW(t);return lq({element:t,id:"candidateStarterGroups",label:i("Candidate starter groups"),description:i("Specify more than one group as a comma separated list."),getValue:()=>o.get("camunda:candidateStarterGroups")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:candidateStarterGroups":e}})},debounce:r})}function nW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=iW(t);return lq({element:t,id:"candidateStarterUsers",label:i("Candidate starter users"),description:i("Specify more than one user as a comma separated list."),getValue:()=>o.get("camunda:candidateStarterUsers")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:candidateStarterUsers":e}})},debounce:r})}function iW(e){return Ir(e,"bpmn:Process")?qr(e):qr(e).get("processRef")}function rW(e){const{element:t}=e;if(!(Ir(t,"bpmn:SequenceFlow")&&function(e){return Lr(e,hW)}(t.source)||mW(t)))return[];const n=[];mW(t)&&n.push(...function(e){const{element:t}=e,n=[];n.push({id:"conditionVariableName",component:uW,isEdited:cq}),(!Ir(t,"bpmn:StartEvent")||function(e){const t=qr(e),n=t.$parent;return Ir(n,"bpmn:SubProcess")&&n.triggeredByEvent}(t))&&n.push({id:"conditionVariableEvents",component:dW,isEdited:cq});return n}({element:t})),n.push({id:"conditionType",component:oW,isEdited:ZL});const i=fW(t);return"script"===i?n.push(...function(e){const{element:t}=e,n=[],i=yW(t);n.push({id:"conditionScriptLanguage",component:aW,isEdited:cq}),n.push({id:"conditionScriptType",component:lW,isEdited:ZL}),"script"===i?n.push({id:"conditionScriptValue",component:cW,isEdited:oq}):"resource"===i&&n.push({id:"conditionScriptResource",component:pW,isEdited:cq});return n}({element:t})):"expression"===i&&n.push({id:"conditionExpression",component:sW,isEdited:cq}),n}function oW(e){const{element:t}=e,n=ez("commandStack"),i=ez("bpmnFactory"),r=ez("translate");return LE(YL,{element:t,id:"conditionType",label:r("Type"),getValue:()=>fW(t),setValue:e=>{if(""===e)vW(t,n,void 0);else{const r=bW(t,{body:"",language:"script"===e?"":void 0},i);vW(t,n,r)}},getOptions:()=>[{value:"",label:r("<none>")},{value:"script",label:r("Script")},{value:"expression",label:r("Expression")}]})}function sW(e){const{element:t}=e,n=ez("commandStack"),i=ez("bpmnFactory"),r=ez("translate"),o=ez("debounceInput");return LE(lq,{element:t,id:"conditionExpression",label:r("Condition Expression"),getValue:()=>gW(t).get("body"),setValue:e=>{const r=bW(t,{body:e},i);vW(t,n,r)},debounce:o})}function aW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"conditionScriptLanguage",label:i("Format"),getValue:()=>gW(t).get("language"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:gW(t),properties:{language:e||""}})},debounce:r})}function lW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate");return YL({element:t,id:"conditionScriptType",label:i("Script type"),getValue:()=>yW(t),setValue:e=>{const i={body:"script"===e?"":void 0,"camunda:resource":"resource"===e?"":void 0};n.execute("element.updateModdleProperties",{element:t,moddleElement:gW(t),properties:i})},getOptions:()=>[{value:"resource",label:i("External resource")},{value:"script",label:i("Inline script")}]})}function cW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(rq,{element:t,id:"conditionScriptValue",label:i("Script"),getValue:()=>gW(t).get("body"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:gW(t),properties:{body:e||""}})},debounce:r,monospace:!0})}function pW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:!0,id:"conditionScriptResource",label:i("Resource"),getValue:()=>gW(t).get("camunda:resource"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:gW(t),properties:{"camunda:resource":e||""}})},debounce:r})}function uW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"conditionVariableName",label:i("Variable name"),getValue:()=>mW(t).get("variableName"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:mW(t),properties:{variableName:e||""}})},debounce:r})}function dW(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");return LE(lq,{element:t,id:"conditionVariableEvents",label:i("Variable events"),description:i("Specify more than one variable change event as a comma separated list."),getValue:()=>mW(t).get("variableEvents"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:mW(t),properties:{variableEvents:e||""}})},debounce:r})}const hW=["bpmn:Activity","bpmn:ExclusiveGateway","bpmn:InclusiveGateway","bpmn:ComplexGateway"];function mW(e){return!!Ir(e,"bpmn:Event")&&OF(e,"bpmn:ConditionalEventDefinition")}function fW(e){const t=gW(e);return t?void 0===t.get("language")?"expression":"script":""}function gW(e){const t=qr(e);return Ir(t,"bpmn:SequenceFlow")?t.get("conditionExpression"):mW(t)?mW(t).get("condition"):void 0}function yW(e){return void 0!==gW(e).get("camunda:resource")?"resource":"script"}function vW(e,t,n=void 0){Ir(e,"bpmn:SequenceFlow")?t.execute("element.updateProperties",{element:e,properties:{conditionExpression:n}}):t.execute("element.updateModdleProperties",{element:e,moddleElement:mW(e),properties:{condition:n}})}function bW(e,t,n){return GF("bpmn:FormalExpression",t,Ir(e,"bpmn:SequenceFlow")?qr(e):mW(e),n)}function xW(e){const{element:t,script:n,prefix:i}=e,r=[],o=PW(n||t),s=i||"";return r.push({id:s+"scriptFormat",component:wW,isEdited:cq,idPrefix:s,script:n}),r.push({id:s+"scriptType",component:EW,isEdited:ZL,idPrefix:s,script:n}),"script"===o&&r.push({id:s+"scriptValue",component:_W,isEdited:oq,idPrefix:s,script:n}),"resource"===o&&r.push({id:s+"scriptResource",component:OW,isEdited:cq,idPrefix:s,script:n}),r}function wW(e){const{element:t,idPrefix:n,script:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=i||qr(t);return lq({element:t,id:n+"scriptFormat",label:o("Format"),getValue:()=>a.get("scriptFormat"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{scriptFormat:e}})},debounce:s})}function EW(e){const{element:t,idPrefix:n,script:i}=e,r=ez("commandStack"),o=ez("translate"),s=i||qr(t),a=SW(s);return YL({element:t,id:n+"scriptType",label:o("Type"),getValue:()=>PW(s),setValue:e=>{const n={[a]:"script"===e?"":void 0,"camunda:resource":"resource"===e?"":void 0};r.execute("element.updateModdleProperties",{element:t,moddleElement:s,properties:n})},getOptions:()=>[{value:"",label:o("<none>")},{value:"resource",label:o("External resource")},{value:"script",label:o("Inline script")}]})}function _W(e){const{element:t,idPrefix:n,script:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=i||qr(t),l=SW(a);return rq({element:t,id:n+"scriptValue",label:o("Script"),getValue:()=>kW(a),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{[l]:e||""}})},debounce:s,monospace:!0})}function OW(e){const{element:t,idPrefix:n,script:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=i||qr(t);return lq({element:t,id:n+"scriptResource",label:o("Resource"),getValue:()=>a.get("camunda:resource"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{"camunda:resource":e||""}})},debounce:s})}function PW(e){const t=qr(e);if(void 0!==kW(t))return"script";return void 0!==t.get("camunda:resource")?"resource":void 0}function kW(e){return e.get(SW(e))}function SW(e){return Ir(e,"camunda:Script")?"value":"script"}function CW(e,t){const n=TW(e);return n&&n.get(t)||[]}function TW(e){if(Ir(e,"camunda:Connector"))return e.get("inputOutput");return(function(e,t,n){const i=aU(e,t);return n?(i[0]||{})[n]||[]:i}(qr(e),"camunda:InputOutput")||[])[0]}function AW(e){return CW(e,"inputParameters")}function MW(e){return CW(e,"outputParameters")}function RW(e){const t=qr(e);return Ir(t,"bpmn:FlowNode")&&!(Lr(t,["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:Gateway"])||Ir(t,"bpmn:SubProcess")&&t.get("triggeredByEvent"))}function DW(e){const t={"camunda:Map":"map","camunda:List":"list","camunda:Script":"script"};let n="stringOrExpression";const i=e.get("definition");return void 0!==i&&(n=t[i.$type]),n}function NW(e,t,n,i){const r="camunda:InputParameter"===t,o=GF(t,{name:QF(r?"Input_":"Output_")},n,i),s=r?"inputParameters":"outputParameters";return{cmd:"element.updateModdleProperties",context:{element:e,moddleElement:n,properties:{[s]:[...n.get(s),o]}}}}function BW(e,t,n){const i=[],r=qr(e);let o=r.get("extensionElements");o||(o=GF("bpmn:ExtensionElements",{values:[]},r,n),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:r,properties:{extensionElements:o}}}));let s=TW(e);if(!s){s=GF("camunda:InputOutput",{inputParameters:[],outputParameters:[]},o,n),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{values:[...o.get("values"),s]}}})}return i.push(NW(e,t,s,n)),i}function $W(e){const{element:t,id:n,index:i,item:r}=e;return LE(IW,{idPrefix:`${n}-listItem-${i}`,element:t,item:r})}function jW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=i.get("definition"),l=a.get("items");return GL({element:n,autoFocusEntry:!0,compareFn:function(e,t){const[n="",i=""]=[e.value,t.value];return n===i?0:n>i?1:-1},id:t+"-list",items:l,label:s("List values"),onAdd:function(){const e=GF("camunda:Value",{},i,r);o.execute("element.updateModdleProperties",{element:n,moddleElement:a,properties:{items:[...a.get("items"),e]}})},onRemove:function(e){o.execute("element.updateModdleProperties",{element:n,moddleElement:a,properties:{items:x(a.get("items"),e)}})},component:$W})}function IW(e){const{idPrefix:t,element:n,item:i}=e,r=ez("commandStack"),o=ez("translate"),s={"camunda:Map":o("Map"),"camunda:List":o("List"),"camunda:Script":o("Script")};return function(e){const{id:t,disabled:n,getValue:i,setValue:r}=e,o=ez("debounceInput",!0);return LE(eq,{id:t,getValue:i,setValue:r,disabled:n,debounce:o})}({id:t+"-value",disabled:LW(i),getValue:()=>LW(i)?s[i.$type]:i.get("value"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{value:e}})}})}function LW(e){return function(e){return Ir(e,"camunda:Script")}(e)||function(e){return Ir(e,"camunda:List")}(e)||function(e){return Ir(e,"camunda:Map")}(e)}function qW(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=`${n}-mapEntry-${i}`,a=ez("translate");return LE(jL,{id:s,element:t,entries:VW({element:t,entry:r,idPrefix:s}),label:r.get("key")||a("<empty>"),open:o})}function zW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=i.get("definition"),l=a.get("entries");return GL({element:n,autoFocusEntry:!0,compareFn:function(e,t){const[n="",i=""]=[e.key,t.key];return n===i?0:n>i?1:-1},id:t+"-map",items:l,label:s("Map entries"),onAdd:function(){const e=GF("camunda:Entry",{},i,r);o.execute("element.updateModdleProperties",{element:n,moddleElement:a,properties:{entries:[...a.get("entries"),e]}})},onRemove:function(e){o.execute("element.updateModdleProperties",{element:n,moddleElement:a,properties:{entries:x(a.get("entries"),e)}})},component:qW})}function VW(e){const{element:t,entry:n,idPrefix:i}=e;return[{id:i+"-key",component:FW,entry:n,idPrefix:i,element:t},{id:i+"-value",component:HW,entry:n,idPrefix:i,element:t}]}function FW(e){const{element:t,entry:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:n,id:i+"-key",label:o("Key"),getValue:()=>n.get("key"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{key:e}})},debounce:s})}function HW(e){const{element:t,entry:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=n.get("definition"),l={"camunda:Map":o("Map"),"camunda:List":o("List"),"camunda:Script":o("Script")};return lq({element:n,id:i+"-value",label:o("Value"),getValue:()=>UW(a)?l[a.$type]:n.get("value"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{value:e}})},disabled:UW(a),debounce:s})}function UW(e){return function(e){return Ir(e,"camunda:Script")}(e)||function(e){return Ir(e,"camunda:List")}(e)||function(e){return Ir(e,"camunda:Map")}(e)}const WW={value:void 0,definition:void 0};function XW(e){const{idPrefix:t,element:n,parameter:i}=e,r=DW(i);let o=[{id:t+"-name",component:GW,isEdited:cq,idPrefix:t,parameter:i},{id:t+"-type",component:QW,isEdited:ZL,idPrefix:t,parameter:i}];if("stringOrExpression"===r)o.push({id:t+"-stringOrExpression",component:KW,isEdited:oq,idPrefix:t,parameter:i});else if("script"===r){const e=i.get("definition");o=[...o,...xW({element:n,prefix:t+"-",script:e})]}else"list"===r?o.push({id:`${t}-list`,component:jW,idPrefix:t,parameter:i}):"map"===r&&o.push({id:`${t}-map`,component:zW,idPrefix:t,parameter:i});return o}function GW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o(YW(i)?"Local variable name":"Process variable name"),getValue:e=>e.get("name"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}function QW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=e=>GF(e,{},i,r);return YL({element:i,id:t+"-type",label:s("Assignment type"),getValue:e=>DW(e),setValue:e=>{let t={...WW};"script"===e?t.definition=a("camunda:Script"):"list"===e?t.definition=a("camunda:List"):"map"===e&&(t.definition=a("camunda:Map")),o.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:t})},getOptions:()=>[{label:s("List"),value:"list"},{label:s("Map"),value:"map"},{label:s("Script"),value:"script"},{label:s("String or expression"),value:"stringOrExpression"}]})}function KW(e){const{idPrefix:t,element:n,parameter:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return rq({element:i,id:t+"-stringOrExpression",label:o("Value"),description:o('Start typing "${}" to create an expression.'),getValue:e=>e.get("value"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{value:e}})},rows:1,debounce:s})}function YW(e){return Ir(e,"camunda:InputParameter")}function ZW(e){return Ir(e,"camunda:ServiceTaskLike")}function JW(e){return Ir(e,"camunda:DmnCapable")}function eX(e){return Ir(e,"camunda:ExternalCapable")}function tX(e){if(Ir(e,"bpmn:IntermediateThrowEvent")||Ir(e,"bpmn:EndEvent")){const t=PF(e);t&&(e=t)}return ZW(e)&&qr(e)}function nX(e){const t=function(e){if(Lr(e,["camunda:ExecutionListener","camunda:TaskListener"]))return e}(e)||tX(e);if(!t)return;if(JW(t)){if(void 0!==t.get("camunda:decisionRef"))return"dmn"}if(ZW(t)){if(aU(t,"camunda:Connector").length)return"connector"}if(eX(t)){if("external"===t.get("camunda:type"))return"external"}if(void 0!==t.get("camunda:class"))return"class";if(void 0!==t.get("camunda:expression"))return"expression";if(void 0!==t.get("camunda:delegateExpression"))return"delegateExpression";return void 0!==t.get("script")?"script":void 0}function iX(e){const t=tX(e);return t&&"connector"===nX(t)}function rX(e){const t=function(e){return aU(e,"camunda:Connector")}(tX(e));return t[0]}function oX(e){const{element:t,injector:n}=e;if(!iX(t))return null;const i=rX(t),r=n.get("commandStack"),o=n.get("bpmnFactory"),s=(AW(i)||[]).map(((e,n)=>{const o=t.id+"-connector-inputParameter-"+n;return{id:o,label:e.get("name")||"",entries:XW({element:t,idPrefix:o,parameter:e}),autoFocusEntry:o+"-name",remove:sX({connector:i,element:t,parameter:e,commandStack:r})}}));return{items:s,add:function(e){e.stopPropagation();const n=[];let s=TW(i);s||(s=GF("camunda:InputOutput",{inputParameters:[],outputParameters:[]},i,o),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{inputOutput:s}}})),n.push(NW(t,"camunda:InputParameter",s,o)),r.execute("properties-panel.multi-command-executor",n)}}}function sX(e){const{commandStack:t,connector:n,element:i,parameter:r}=e;return function(e){e.stopPropagation();const o=TW(n);o&&t.execute("element.updateModdleProperties",{element:i,moddleElement:o,properties:{inputParameters:x(o.get("inputParameters"),r)}})}}function aX(e){const{element:t,injector:n}=e;if(!iX(t))return null;const i=rX(t),r=n.get("commandStack"),o=n.get("bpmnFactory"),s=(MW(i)||[]).map(((e,n)=>{const o=t.id+"-connector-outputParameter-"+n;return{id:o,label:e.get("name")||"",entries:XW({idPrefix:o,element:t,parameter:e}),autoFocusEntry:o+"-name",remove:lX({connector:i,element:t,commandStack:r,parameter:e})}}));return{items:s,add:function(e){e.stopPropagation();const n=[];let s=TW(i);s||(s=GF("camunda:InputOutput",{inputParameters:[],outputParameters:[]},i,o),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{inputOutput:s}}})),n.push(NW(t,"camunda:OutputParameter",s,o)),r.execute("properties-panel.multi-command-executor",n)}}}function lX(e){const{commandStack:t,connector:n,element:i,parameter:r}=e;return function(e){e.stopPropagation();const o=TW(n);o&&t.execute("element.updateModdleProperties",{element:i,moddleElement:o,properties:{outputParameters:x(o.get("outputParameters"),r)}})}}function cX(e){const{element:t,entries:n}=e;if(!xF(t))return n;if(_F(t)){const e=function(e,t){const n=y(e,(e=>e.id===t));return n>=0?n+1:e.length}(n,"errorCode");n.splice(e,0,{id:"errorMessage",component:pX,isEdited:cq})}return function(e){return Ir(e,"bpmn:StartEvent")||Ir(e,"bpmn:BoundaryEvent")}(t)?(n.push({id:"errorCodeVariable",component:uX,isEdited:cq},{id:"errorMessageVariable",component:dX,isEdited:cq}),n):n}function pX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=_F(t);return lq({element:t,id:"errorMessage",label:i("Message"),getValue:()=>o.get("camunda:errorMessage"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:errorMessage":e}}),debounce:r})}function uX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=wF(t);return lq({element:t,id:"errorCodeVariable",label:i("Code variable"),description:i("Define the name of the variable that will contain the error code."),getValue:()=>o.get("camunda:errorCodeVariable"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:errorCodeVariable":e}}),debounce:r})}function dX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=wF(t);return lq({element:t,id:"errorMessageVariable",label:i("Message variable"),description:i("Define the name of the variable that will contain the error message."),getValue:()=>o.get("camunda:errorMessageVariable"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:errorMessageVariable":e}}),debounce:r})}const hX="",mX="create-new";function fX(e){const{idPrefix:t,errorEventDefinition:n}=e;let i=[{id:t+"-errorRef",component:gX,isEdited:ZL,errorEventDefinition:n,idPrefix:t}];const r=n.get("errorRef");return r&&(i=[...i,{id:t+"-errorName",component:yX,isEdited:cq,error:r,errorEventDefinition:n,idPrefix:t},{id:t+"-errorCode",component:vX,isEdited:cq,error:r,errorEventDefinition:n,idPrefix:t},{id:t+"-errorMessage",component:bX,isEdited:cq,error:r,errorEventDefinition:n,idPrefix:t}]),i.push({id:t+"-expression",component:xX,errorEventDefinition:n,idPrefix:t}),i}function gX(e){const{element:t,errorEventDefinition:n,idPrefix:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=qr(t);return bF({element:t,id:i+"-errorRef",label:s("Global error reference"),autoFocusEntry:i+"-errorName",getValue:()=>{const e=n.get("errorRef");return e?e.get("id"):hX},setValue:e=>{const i=KF(a),s=[];let l;return e===mX&&(l=GF("bpmn:Error",{name:QF("Error_")},i,r),e=l.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),l]}}})),l=l||ZF(a,"bpmn:Error",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:n,properties:{errorRef:l}}}),o.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:hX,label:s("<none>")},{value:mX,label:s("Create new ...")}];const n=YF(qr(t),"bpmn:Error");var i;return(i=n,M(i,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")||t.get("id")})})),e}})}function yX(e){const{element:t,error:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i+"-errorName",label:o("Name"),getValue:()=>n.get("name"),setValue:e=>r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{name:e}}),debounce:s})}function vX(e){const{element:t,error:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i+"-errorCode",label:o("Code"),getValue:()=>n.get("errorCode"),setValue:e=>r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{errorCode:e}}),debounce:s})}function bX(e){const{element:t,error:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i+"-errorMessage",label:o("Message"),getValue:()=>n.get("errorMessage"),setValue:e=>r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{errorMessage:e}}),debounce:s})}function xX(e){const{element:t,errorEventDefinition:n,idPrefix:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:n,id:i+"-expression",label:o("Throw expression"),getValue:()=>n.get("camunda:expression"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:expression":e}})},debounce:s})}function wX({element:e,injector:t}){const n=qr(e);if(!Ir(e,"bpmn:ServiceTask")||"external"!==nX(e))return null;const i=aU(n,"camunda:ErrorEventDefinition"),r=t.get("bpmnFactory"),o=t.get("commandStack"),s=i.map(((t,n)=>{const i=e.id+"-error-"+n;return{id:i,label:OX(t),entries:fX({idPrefix:i,element:e,errorEventDefinition:t}),autoFocusEntry:i+"-errorRef",remove:EX({commandStack:o,element:e,errorEventDefinition:t})}}));return{items:s,add:_X({bpmnFactory:r,commandStack:o,element:e}),shouldSort:!1}}function EX({commandStack:e,element:t,errorEventDefinition:n}){return function(i){i.stopPropagation();const r=qr(t);cU(t,r,n,e)}}function _X({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=qr(n),o=GF("camunda:ErrorEventDefinition",{},void 0,e);lU(n,r,o,e,t)}}function OX(e){const t=e.get("errorRef");if(!t)return"<no reference>";const n=t.get("errorCode"),i=t.get("name")||"<unnamed>";return n?`${i} (code = ${n})`:i}function PX(e){const{element:t,entries:n}=e;return MF(t)&&function(e){return Ir(e,"bpmn:StartEvent")||Ir(e,"bpmn:BoundaryEvent")}(t)?(n.push({id:"escalationCodeVariable",component:kX,isEdited:cq}),n):n}function kX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=AF(t);return lq({element:t,id:"escalationCodeVariable",label:i("Code variable"),description:i("Define the name of the variable that will contain the escalation code."),getValue:()=>o.get("camunda:escalationCodeVariable"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:escalationCodeVariable":e}}),debounce:r})}function SX(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")||TX(t)?[{id:"externalTaskPriority",component:CX,isEdited:cq}]:[]}function CX(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput");let o;o=Ir(t,"bpmn:Participant")?qr(t).get("processRef"):TX(t)?tX(t):qr(t);return lq({element:t,id:"externalTaskPriority",label:i("Priority"),getValue:()=>o.get("camunda:taskPriority"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:taskPriority":e}})},debounce:r})}function TX(e){const t=tX(e),n=t&&t.get("camunda:type");return Ir(t,"camunda:ServiceTaskLike")&&n&&"external"===n}const AX={stringValue:void 0,string:void 0,expression:void 0};function MX(e){const{element:t,idPrefix:n,field:i}=e;return[{id:n+"-name",component:RX,field:i,idPrefix:n,element:t},{id:n+"-type",component:DX,field:i,idPrefix:n,element:t},{id:n+"-value",component:NX,field:i,idPrefix:n,element:t}]}function RX(e){const{idPrefix:t,element:n,field:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o("Name"),getValue:e=>e.name,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}function DX(e){const{idPrefix:t,element:n,field:i}=e,r=ez("commandStack"),o=ez("translate");return YL({element:i,id:t+"-type",label:o("Type"),getValue:e=>BX(e),setValue:e=>{const t=Object.assign({},AX);t[e]="",r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:t})},getOptions:e=>[{value:"string",label:o("String")},{value:"expression",label:o("Expression")}]})}function NX(e){const{idPrefix:t,element:n,field:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-value",label:o("Value"),getValue:e=>e.string||e.stringValue||e.expression,setValue:e=>{const t=BX(i),o=Object.assign({},AX);o[t]=e||"",r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:o})},debounce:s})}function BX(e){return("string"in e?"string":"expression"in e&&"expression")||"stringValue"in e&&"string"||"string"}function $X({element:e,injector:t}){const n=tX(e);if(!n)return null;const i=aU(n,"camunda:Field"),r=t.get("bpmnFactory"),o=t.get("commandStack"),s=i.map(((t,n)=>{const i=e.id+"-fieldInjection-"+n;return{id:i,label:LX(t),entries:MX({idPrefix:i,element:e,field:t}),autoFocusEntry:i+"-name",remove:jX({commandStack:o,element:e,field:t})}}));return{items:s,add:IX({bpmnFactory:r,commandStack:o,element:e})}}function jX({commandStack:e,element:t,field:n}){return function(i){i.stopPropagation();const r=tX(t);cU(t,r,n,e)}}function IX({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=tX(n),o=GF("camunda:Field",{name:void 0,string:"",stringValue:void 0},null,e);lU(n,r,o,e,t)}}function LX(e){return e.name||"<empty>"}function qX(e){const{constraint:t,element:n,idPrefix:i}=e;return[{id:i+"-name",component:zX,constraint:t,idPrefix:i,element:n},{id:i+"-config",component:VX,constraint:t,idPrefix:i,element:n}]}function zX(e){const{idPrefix:t,element:n,constraint:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o("Name"),getValue:()=>i.name,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}function VX(e){const{idPrefix:t,element:n,constraint:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-config",label:o("Config"),getValue:()=>i.config,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{config:e}})},debounce:s})}function FX(e){const{element:t,idPrefix:n,property:i}=e;return[{id:n+"-id",component:HX,idPrefix:n,property:i,element:t},{id:n+"-value",component:UX,idPrefix:n,property:i,element:t}]}function HX(e){const{idPrefix:t,element:n,property:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-id",label:o("ID"),getValue:()=>i.id,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{id:e}})},debounce:s})}function UX(e){const{idPrefix:t,element:n,property:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-value",label:o("Value"),getValue:()=>i.value,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{value:e}})},debounce:s})}function WX(e){const{element:t,idPrefix:n,value:i}=e;return[{id:n+"-id",component:XX,idPrefix:n,value:i,element:t},{id:n+"-name",component:GX,idPrefix:n,value:i,element:t}]}function XX(e){const{idPrefix:t,element:n,value:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-id",label:o("ID"),getValue:()=>i.id,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{id:e}})},debounce:s})}function GX(e){const{idPrefix:t,element:n,value:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-name",label:o("Name"),getValue:()=>i.name,setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{name:e}})},debounce:s})}const QX="",KX=["boolean","date","enum","long","string",void 0];function YX(e){const{idPrefix:t,formField:n}=e,i=[{id:t+"-formFieldID",component:ZX,idPrefix:t,formField:n},{id:t+"-formFieldLabel",component:JX,idPrefix:t,formField:n},{id:t+"-formFieldType",component:eG,idPrefix:t,formField:n}];return KX.includes(n.get("type"))||i.push({id:t+"-formFieldCustomType",component:tG,idPrefix:t,formField:n}),i.push({id:t+"-formFieldDefaultValue",component:nG,idPrefix:t,formField:n}),"enum"===n.get("type")&&i.push({id:t+"-formFieldValues",component:rG,formField:n,idPrefix:t}),i.push({id:t+"-formFieldConstraints",component:sG,formField:n,idPrefix:t},{id:t+"-formFieldProperties",component:lG,formField:n,idPrefix:t}),i}function ZX(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-formFieldID",label:o("ID"),description:o("Refers to the process variable name"),getValue:()=>i.get("id"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{id:e}})},debounce:s})}function JX(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-formFieldLabel",label:o("Label"),getValue:()=>i.get("label"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{label:e}})},debounce:s})}function eG(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate");return YL({element:i,id:t+"-formFieldType",label:o("Type"),getValue:()=>{const e=i.get("type");return KX.includes(e)?e:QX},setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{type:e}})},getOptions:()=>{const e=[{label:o("boolean"),value:"boolean"},{label:o("date"),value:"date"},{label:o("enum"),value:"enum"},{label:o("long"),value:"long"},{label:o("string"),value:"string"},{label:o("<custom type>"),value:QX}];return void 0===i.get("type")&&e.unshift({label:o("<none>"),value:""}),e}})}function tG(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-formFieldCustomType",label:o("Custom type"),getValue:()=>i.get("type"),setValue:e=>{const t=e||"";r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{type:t}})},debounce:s})}function nG(e){const{idPrefix:t,element:n,formField:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-formFieldDefaultValue",label:o("Default value"),getValue:()=>i.get("defaultValue"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{defaultValue:e}})},debounce:s})}function iG(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=ez("translate"),a=`${n}-value-${i}`;return LE(jL,{id:a,element:t,entries:WX({idPrefix:a,element:t,value:r}),label:r.get("id")||s("<empty>"),open:o})}function rG(e){const{element:t,formField:n,idPrefix:i}=e,r=`${i}-formFieldValues`,o=ez("bpmnFactory"),s=ez("commandStack"),a=ez("translate"),l=n.get("values")||[];return LE(GL,{element:t,autoFocusEntry:`[data-entry-id="${r}-value-${l.length-1}"] input`,id:r,label:a("Values"),items:l,component:iG,onAdd:function(){const e=GF("camunda:Value",{id:void 0,name:void 0},n,o);s.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{values:[...n.get("values"),e]}})},onRemove:function(e){s.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{values:x(n.get("values"),e)}})}})}function oG(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=ez("translate"),a=`${n}-constraint-${i}`;return LE(jL,{id:a,element:t,entries:qX({constraint:r,element:t,idPrefix:a}),label:r.get("name")||s("<empty>"),open:o})}function sG(e){const{element:t,formField:n,idPrefix:i}=e,r=`${i}-formFieldConstraints`,o=ez("bpmnFactory"),s=ez("commandStack"),a=ez("translate"),l=qr(t);let c=n.get("validation");const p=c&&c.get("constraints")||[];return LE(GL,{element:t,autoFocusEntry:`[data-entry-id="${r}-constraint-${p.length-1}"] input`,id:r,label:a("Constraints"),items:p,component:oG,onAdd:function(){const e=[];c||(c=GF("camunda:Validation",{},l,o),e.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:n,properties:{validation:c}}}));const i=GF("camunda:Constraint",{name:void 0,config:void 0},c,o);e.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:c,properties:{constraints:[...c.get("constraints"),i]}}}),s.execute("properties-panel.multi-command-executor",e)},onRemove:function(e){s.execute("element.updateModdleProperties",{element:t,moddleElement:c,properties:{constraints:x(c.get("constraints"),e)}})}})}function aG(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=ez("translate"),a=`${n}-property-${i}`;return LE(jL,{id:a,element:t,entries:FX({element:t,idPrefix:a,property:r}),label:r.get("id")||s("<empty>"),open:o})}function lG(e){const{element:t,formField:n,idPrefix:i}=e,r=`${i}-formFieldProperties`,o=ez("bpmnFactory"),s=ez("commandStack"),a=ez("translate"),l=qr(t);let c=n.get("properties");const p=c&&c.get("values")||[];return LE(GL,{element:t,autoFocusEntry:!0,id:r,compareFn:(u="id",function(e,t){const[n="",i=""]=[e[u],t[u]];return n===i?0:n>i?1:-1}),label:a("Properties"),items:p,component:aG,onAdd:function(){const e=[];c||(c=GF("camunda:Properties",{},l,o),e.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:n,properties:{properties:c}}}));const i=GF("camunda:Property",{id:void 0,value:void 0},c,o);e.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:c,properties:{values:[...c.get("values"),i]}}}),s.execute("properties-panel.multi-command-executor",e)},onRemove:function(e){s.execute("element.updateModdleProperties",{element:t,moddleElement:c,properties:{values:x(c.get("values"),e)}})}});var u}function cG({element:e,injector:t}){if(!function(e){const t=dG(e);return(Ir(e,"bpmn:StartEvent")&&!Ir(e.parent,"bpmn:SubProcess")||Ir(e,"bpmn:UserTask"))&&t}(e))return;const n=hG(e)||[],i=t.get("bpmnFactory"),r=t.get("commandStack"),o=n.map(((t,n)=>{const i=e.id+"-formField-"+n;return{id:i,label:t.get("id")||"",entries:YX({idPrefix:i,element:e,formField:t}),autoFocusEntry:i+"-formFieldID",remove:uG({commandStack:r,element:e,formField:t})}}));return{items:o,add:pG({bpmnFactory:i,commandStack:r,element:e}),shouldSort:!1}}function pG({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=[],o=dG(n),s=GF("camunda:FormField",{},o,e);r.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:o,properties:{fields:[...o.get("fields"),s]}}}),t.execute("properties-panel.multi-command-executor",r)}}function uG({commandStack:e,element:t,formField:n}){return function(i){i.stopPropagation();const r=dG(t),o=hG(t);if(!o||!o.length)return;const s=x(r.get("fields"),n);e.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{fields:s}})}}function dG(e){return aU(qr(e),"camunda:FormData")[0]}function hG(e){const t=dG(qr(e));return t&&t.fields}const mG={"camunda:formRef":void 0,"camunda:formRefBinding":void 0,"camunda:formRefVersion":void 0},fG={"camunda:formKey":void 0};function gG(e){const{element:t}=e,n=ez("translate"),i=ez("bpmnFactory"),r=qr(t),o=ez("commandStack");let s=r.get("extensionElements");return YL({element:t,id:"formType",label:n("Type"),getValue:()=>a(r.get("camunda:formKey"))?"formKey":a(r.get("camunda:formRef"))?"formRef":yG(t)?"formData":"",setValue:e=>{const n=function(e,t){const n=qr(e),i=n.get("extensionElements"),r=[];r.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:n,properties:{...mG,...fG}}}),i&&yG(e)&&r.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{values:x(i.get("values"),yG(e))}}});return r}(t);if("formData"===e){s||(s=GF("bpmn:ExtensionElements",{values:[]},r,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{extensionElements:s}}}));const e=GF("camunda:FormData",{fields:[]},s,i);n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),e]}}})}else"formKey"===e?n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{"camunda:formKey":""}}}):"formRef"===e&&n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:r,properties:{"camunda:formRef":""}}});o.execute("properties-panel.multi-command-executor",n)},getOptions:()=>[{value:"",label:n("<none>")},{value:"formRef",label:n("Camunda Forms")},{value:"formKey",label:n("Embedded or External Task Forms")},{value:"formData",label:n("Generated Task Forms")}]})}function yG(e){return aU(qr(e),"camunda:FormData")[0]}function vG(e){return qr(e).get("camunda:formRefBinding")||"latest"}function bG(e){const{element:t}=e;if(!function(e){return Ir(e,"bpmn:StartEvent")&&!Ir(e.parent,"bpmn:SubProcess")||Ir(e,"bpmn:UserTask")}(t))return[];const n=function(e){const t=qr(e);return a(t.get("camunda:formKey"))?"formKey":a(t.get("camunda:formRef"))?"formRef":void 0}(t),i=vG(t),r=[{id:"formType",component:gG,isEdited:ZL}];return"formKey"===n?r.push({id:"formKey",component:xG,isEdited:cq}):"formRef"===n&&(r.push({id:"formRef",component:wG,isEdited:cq},{id:"formRefBinding",component:EG,isEdited:ZL}),"version"===i&&r.push({id:"formRefVersion",component:_G,isEdited:cq})),r}function xG(e){const{element:t}=e,n=ez("debounceInput"),i=ez("modeling"),r=ez("translate"),o=qr(t);return lq({element:t,id:"formKey",label:r("Form key"),getValue:()=>o.get("camunda:formKey"),setValue:e=>{i.updateProperties(t,{"camunda:formKey":s(e)?"":e})},debounce:n})}function wG(e){const{element:t}=e,n=ez("debounceInput"),i=ez("modeling"),r=ez("translate"),o=qr(t);return lq({element:t,id:"formRef",label:r("Form reference"),getValue:()=>o.get("camunda:formRef"),setValue:e=>{i.updateProperties(t,{"camunda:formRef":s(e)?"":e})},debounce:n})}function EG(e){const{element:t}=e,n=ez("modeling"),i=ez("translate");return YL({element:t,id:"formRefBinding",label:i("Binding"),getValue:()=>vG(t),setValue:e=>{n.updateProperties(t,{"camunda:formRefBinding":e})},getOptions:()=>[{value:"deployment",label:i("deployment")},{value:"latest",label:i("latest")},{value:"version",label:i("version")}]})}function _G(e){const{element:t}=e,n=ez("debounceInput"),i=ez("modeling"),r=ez("translate"),o=qr(t);return lq({element:t,id:"formRefVersion",label:r("Version"),getValue:()=>o.get("camunda:formRefVersion"),setValue:e=>{i.updateProperties(t,{"camunda:formRefVersion":e})},debounce:n})}function OG(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")?[{id:"historyTimeToLive",component:PG,isEdited:cq}]:[]}function PG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=function(e){return Ir(e,"bpmn:Process")?qr(e):qr(e).get("processRef")}(t);return lq({element:t,id:"historyTimeToLive",label:i("Time to live"),getValue:()=>o.get("camunda:historyTimeToLive")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:historyTimeToLive":e}})},debounce:r})}function kG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRef",label:i("Decision reference"),getValue:()=>o.get("camunda:decisionRef"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:decisionRef":e||""}})},debounce:r})}function SG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate");return YL({element:t,id:"decisionRefBinding",label:i("Binding"),getValue:()=>DG(t),setValue:e=>{const i=qr(t),r={"camunda:decisionRefVersion":void 0,"camunda:decisionRefVersionTag":void 0,"camunda:decisionRefBinding":e};n.execute("element.updateModdleProperties",{element:t,moddleElement:i,properties:r})},getOptions:()=>[{value:"deployment",label:i("deployment")},{value:"latest",label:i("latest")},{value:"version",label:i("version")},{value:"versionTag",label:i("versionTag")}]})}function CG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRefVersion",label:i("Version"),getValue:()=>o.get("camunda:decisionRefVersion"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:decisionRefVersion":e}})},debounce:r})}function TG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRefVersionTag",label:i("Version tag"),getValue:()=>o.get("camunda:decisionRefVersionTag"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:decisionRefVersionTag":e}})},debounce:r})}function AG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRefTenantId",label:i("Tenant ID"),getValue:()=>o.get("camunda:decisionRefTenantId"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:decisionRefTenantId":e}})},debounce:r})}function MG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"decisionRefResultVariable",label:i("Result variable"),getValue:()=>NG(o),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:resultVariable":e}})},debounce:r})}function RG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=qr(t);return YL({element:t,id:"mapDecisionResult",label:i("Map decision result"),getValue:()=>r.get("camunda:mapDecisionResult")||"resultList",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:mapDecisionResult":e}})},getOptions:()=>[{value:"collectEntries",label:i("collectEntries (List<Object>)")},{value:"resultList",label:i("resultList (List<Map<String, Object>>)")},{value:"singleEntry",label:i("singleEntry (TypedValue)")},{value:"singleResult",label:i("singleResult (Map<String, Object>)")}]})}function DG(e){return qr(e).get("camunda:decisionRefBinding")||"latest"}function NG(e){return qr(e).get("camunda:resultVariable")}const BG={"camunda:class":void 0,"camunda:expression":void 0,"camunda:delegateExpression":void 0,"camunda:resultVariable":void 0},$G={"camunda:decisionRef":void 0,"camunda:decisionRefBinding":"latest","camunda:decisionRefVersion":void 0,"camunda:mapDecisionResult":"resultList","camunda:decisionRefTenantId":void 0},jG={"camunda:type":void 0,"camunda:topic":void 0},IG="<none>",LG="Java class",qG="Expression",zG="Delegate expression",VG="DMN",FG="External",HG="Connector";function UG(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate");return YL({element:t,id:"implementationType",label:r("Type"),getValue:()=>nX(t)||"",setValue:e=>{const r=nX(t),o=tX(t),s=[];let a=BG,l=o.get("extensionElements");if(WG(e)&&(a={...a,[e]:WG(r)?o.get(`camunda:${r}`):""}),JW(o)&&(a={...a,...$G},"dmn"===e&&(a={...a,"camunda:decisionRef":""})),eX(o)&&(a={...a,...jG},"external"===e&&(a={...a,"camunda:type":"external","camunda:topic":""})),ZW(o)){const i=function(e){return aU(e,"camunda:Connector")}(o);if(i.length&&s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{values:x(l.get("values"),(e=>i.includes(e)))}}}),"connector"===e){l||(l=GF("bpmn:ExtensionElements",{values:[]},o,n),s.push(XG(t,o,{extensionElements:l})));const e=GF("camunda:Connector",{},l,n);s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{values:[...l.get("values"),e]}}})}}s.push(XG(t,o,a)),i.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{const e=tX(t),n=[{value:"",label:r(IG)},{value:"class",label:r(LG)},{value:"expression",label:r(qG)},{value:"delegateExpression",label:r(zG)}];return JW(e)&&n.push({value:"dmn",label:r(VG)}),eX(e)&&n.push({value:"external",label:r(FG)}),ZW(e)&&n.push({value:"connector",label:r(HG)}),function(e){const t={[IG]:0,[LG]:3,[qG]:4,[zG]:5,[VG]:1,[FG]:2,[HG]:6};return M(e,(e=>t[e.label]))}(n)}})}function WG(e){return["class","expression","delegateExpression"].includes(e)}function XG(e,t,n){return{cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:n}}}function GG(e){const{element:t}=e;if(!tX(t))return[];const n=nX(t),i=[{id:"implementationType",component:UG,isEdited:ZL}];return"class"===n?i.push({id:"javaClass",component:QG,isEdited:cq}):"expression"===n?i.push({id:"expression",component:KG,isEdited:cq},{id:"expressionResultVariable",component:YG,isEdited:cq}):"delegateExpression"===n?i.push({id:"delegateExpression",component:ZG,isEdited:cq}):"dmn"===n?i.push(...function(e){const{element:t}=e,n=[],i=nX(t),r=DG(t);return"dmn"!==i||(n.push({id:"decisionRef",component:kG,isEdited:cq}),n.push({id:"decisionRefBinding",component:SG,isEdited:ZL}),"version"===r&&n.push({id:"decisionRefVersion",component:CG,isEdited:cq}),"versionTag"===r&&n.push({id:"decisionRefVersionTag",component:TG,isEdited:cq}),n.push({id:"decisionRefTenantId",component:AG,isEdited:cq}),n.push({id:"decisionRefResultVariable",component:MG,isEdited:cq}),NG(t)&&n.push({id:"mapDecisionResult",component:RG,isEdited:ZL})),n}({element:t})):"external"===n?i.push({id:"externalTopic",component:JG,isEdited:cq}):"connector"===n&&i.push({id:"connectorId",component:eQ,isEdited:cq}),i}function QG(e){const{element:t,businessObject:n=tX(t),id:i="javaClass"}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i,label:o("Java class"),getValue:()=>n.get("camunda:class"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:class":e||""}})},debounce:s})}function KG(e){const{element:t,businessObject:n=tX(t),id:i="expression"}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i,label:o("Expression"),getValue:()=>n.get("camunda:expression"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:expression":e||""}})},debounce:s})}function YG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=tX(t);return lq({element:t,id:"expressionResultVariable",label:i("Result variable"),getValue:()=>o.get("camunda:resultVariable"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:resultVariable":e}})},debounce:r})}function ZG(e){const{element:t,businessObject:n=tX(t),id:i="delegateExpression"}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:t,id:i,label:o("Delegate expression"),getValue:()=>n.get("camunda:delegateExpression"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:delegateExpression":e||""}})},debounce:s})}function JG(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=tX(t);return lq({element:t,id:"externalTopic",label:i("Topic"),getValue:()=>o.get("camunda:topic"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:topic":e}})},debounce:r})}function eQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=function(e){const t=tX(e);return function(e){return aU(e,"camunda:Connector")}(t)[0]}(t);return lq({element:t,id:"connectorId",label:i("Connector ID"),getValue:()=>o.get("camunda:connectorId"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:connectorId":e}})},debounce:r})}function tQ(e){const{element:t}=e;return function(e){return Ir(e,"camunda:Initiator")&&!Ir(e.parent,"bpmn:SubProcess")}(t)?[{id:"initiator",component:nQ,isEdited:cq}]:[]}function nQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"initiator",label:i("Initiator"),getValue:()=>o.get("camunda:initiator"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:initiator":e}})},debounce:r})}function iQ(e){const{element:t}=e;if(!function(e){const t=CF(e);if(t)return Lr(e,["bpmn:IntermediateThrowEvent","bpmn:EndEvent"]);return Ir(e,"bpmn:CallActivity")}(t))return[];const n=[{id:"inMapping-propagation",component:rQ,isEdited:WL}];return aQ(t)&&n.push({id:"inMapping-propagation-local",component:oQ,isEdited:WL}),n}function rQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("bpmnFactory");return UL({id:"inMapping-propagation",label:ez("translate")("Propagate all variables"),getValue:()=>aQ(t),setValue:e=>{e?function(){const e=CF(t)||qr(t),r=GF("camunda:In",{variables:"all"},null,i);lU(t,e,r,i,n)}():function(){const e=CF(t)||qr(t),i=sQ(t);cU(t,e,i,n)}()}})}function oQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=sQ(t)[0];return UL({element:t,id:"inMapping-propagation-local",label:i("Local"),getValue:()=>r.get("camunda:local"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{local:e}})}})}function sQ(e){const t=function(e){const t=qr(e);return aU(CF(t)||t,"camunda:In")}(e);return v(t,(function(e){const t=e.get("variables");return t&&"all"===t}))}function aQ(e){return!!sQ(e).length}const lQ={source:void 0,sourceExpression:void 0};function cQ(e){const{idPrefix:t,mapping:n}=e,i=fQ(n),r=[];return r.push({id:t+"-type",component:pQ,idPrefix:t,mapping:n}),"source"===i&&r.push({id:t+"-source",component:uQ,idPrefix:t,mapping:n}),"sourceExpression"===i&&r.push({id:t+"-sourceExpression",component:dQ,idPrefix:t,mapping:n}),r.push({id:t+"-target",component:hQ,idPrefix:t,mapping:n}),r.push({id:t+"-local",component:mQ,idPrefix:t,mapping:n}),r}function pQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate");return YL({element:i,id:t+"-type",label:o("Type"),getValue:e=>fQ(e),setValue:e=>{const t={...lQ,[e]:""};r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:t})},getOptions:()=>[{label:o("Source"),value:"source"},{label:o("Source expression"),value:"sourceExpression"}]})}function uQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-source",label:o("Source"),getValue:e=>e.get("camunda:source"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{source:e}})},debounce:s})}function dQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-sourceExpression",label:o("Source expression"),getValue:e=>e.get("camunda:sourceExpression"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{sourceExpression:e}})},debounce:s})}function hQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput");return lq({element:i,id:t+"-target",label:o("Target"),getValue:e=>e.get("camunda:target"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{target:e}})},debounce:s})}function mQ(e){const{idPrefix:t,element:n,mapping:i}=e,r=ez("commandStack"),o=ez("translate");return UL({element:n,id:t+"-local",label:o("Local"),getValue:()=>i.get("camunda:local"),setValue:e=>{r.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{local:e}})}})}function fQ(e){let t="";return void 0!==e.source?t="source":void 0!==e.sourceExpression&&(t="sourceExpression"),t}function gQ({element:e,injector:t}){if(!function(e){const t=CF(e);if(t)return Lr(e,["bpmn:IntermediateThrowEvent","bpmn:EndEvent"]);return Ir(e,"bpmn:CallActivity")}(e))return null;const n=function(e){const t=qr(e),n=CF(t);return v(aU(n||t,"camunda:In"),(function(e){return!(e.businessKey||e.variables&&"all"===e.variables)}))}(e)||[],i=t.get("bpmnFactory"),r=t.get("commandStack"),o=n.map(((t,n)=>{const i=e.id+"-inMapping-"+n;return{id:i,label:t.get("target")||"",entries:cQ({idPrefix:i,element:e,mapping:t}),autoFocusEntry:i+"-target",remove:yQ({commandStack:r,element:e,mapping:t})}}));return{items:o,add:vQ({bpmnFactory:i,commandStack:r,element:e})}}function yQ({commandStack:e,element:t,mapping:n}){return function(i){i.stopPropagation();const r=CF(t)||qr(t);cU(t,r,n,e)}}function vQ({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=CF(n)||qr(n),o=GF("camunda:In",{source:""},null,e);lU(n,r,o,e,t)}}function bQ(e){const{element:t,injector:n}=e;if(!function(e){return RW(e)}(t))return null;const i=AW(t)||[],r=n.get("bpmnFactory"),o=n.get("commandStack"),s=i.map(((e,n)=>{const i=t.id+"-inputParameter-"+n;return{id:i,label:e.get("name")||"",entries:XW({idPrefix:i,element:t,parameter:e}),autoFocusEntry:i+"-name",remove:xQ({element:t,commandStack:o,parameter:e})}}));return{items:s,add:function(e){e.stopPropagation(),o.execute("properties-panel.multi-command-executor",BW(t,"camunda:InputParameter",r))},shouldSort:!1}}function xQ(e){const{commandStack:t,element:n,parameter:i}=e;return function(e){e.stopPropagation();const r=TW(n);r&&t.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{inputParameters:x(r.get("inputParameters"),i)}})}}function wQ(e){const{element:t}=e,n=qr(t),i=[];return(Ir(t,"camunda:AsyncCapable")&&OQ(n)||PQ(t))&&i.push({id:"retryTimeCycle",component:_Q,isEdited:cq}),(Ir(t,"camunda:JobPriorized")&&OQ(n)||Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")||PQ(t))&&i.push({id:"jobPriority",component:EQ,isEdited:cq}),i}function EQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=Ir(t,"bpmn:Participant")?qr(t).get("processRef"):qr(t);return lq({element:t,id:"jobPriority",label:i("Priority"),getValue:()=>o.get("camunda:jobPriority"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:jobPriority":e}})},debounce:r})}function _Q(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=ez("debounceInput"),s=qr(t);return lq({element:t,id:"retryTimeCycle",label:r("Retry time cycle"),getValue:()=>{const e=aU(s,"camunda:FailedJobRetryTimeCycle")[0];return e&&e.body},setValue:e=>{const r=[];let o=s.get("extensionElements");o||(o=GF("bpmn:ExtensionElements",{values:[]},s,n),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{extensionElements:o}}}));let a=aU(s,"camunda:FailedJobRetryTimeCycle")[0];a||(a=GF("camunda:FailedJobRetryTimeCycle",{},o,n),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{values:[...o.get("values"),a]}}})),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{body:e}}}),i.execute("properties-panel.multi-command-executor",r)},debounce:o})}function OQ(e){return function(e){return!!e.get("camunda:asyncAfter")}(e)||function(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}(e)}function PQ(e){return Ir(e,"bpmn:Event")&&EF(e)}function kQ(e){const{element:t}=e,n=NQ(t);let i=e.entries||[];return function(e){const t=NQ(e);return!!t&&Ir(t,"camunda:Collectable")}(t)?(i.push({id:"collection",component:SQ,isEdited:cq},{id:"elementVariable",component:CQ,isEdited:cq},{id:"multiInstanceAsynchronousBefore",component:TQ,isEdited:WL},{id:"multiInstanceAsynchronousAfter",component:AQ,isEdited:WL}),($Q(r=n)||BQ(r))&&i.push({id:"multiInstanceExclusive",component:MQ,isEdited:jQ},{id:"multiInstanceRetryTimeCycle",component:RQ,isEdited:cq}),i):i;var r}function SQ(e){const{element:t}=e,n=ez("debounceInput"),i=ez("commandStack"),r=ez("translate"),o=NQ(t);return lq({element:t,id:"collection",label:r("Collection"),getValue:()=>function(e){return DQ(e,"camunda:collection")}(t),setValue:e=>i.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:collection":e}}),debounce:n})}function CQ(e){const{element:t}=e,n=ez("debounceInput"),i=ez("commandStack"),r=ez("translate"),o=NQ(t);return lq({element:t,id:"elementVariable",label:r("Element variable"),getValue:()=>function(e){return DQ(e,"camunda:elementVariable")}(t),setValue:e=>i.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:elementVariable":e}}),debounce:n})}function TQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=NQ(t);return UL({element:t,id:"multiInstanceAsynchronousBefore",label:i("Asynchronous before"),getValue:()=>BQ(r),setValue:e=>{const i={"camunda:asyncBefore":e,"camunda:async":void 0};n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:i})}})}function AQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=NQ(t);return UL({element:t,id:"multiInstanceAsynchronousAfter",label:i("Asynchronous after"),getValue:()=>$Q(r),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:asyncAfter":e}})}})}function MQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=NQ(t);return UL({element:t,id:"multiInstanceExclusive",label:i("Exclusive"),getValue:()=>!!r.get("camunda:exclusive"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:exclusive":e}})}})}function RQ(e){const{element:t}=e,n=ez("bpmnFactory"),i=ez("commandStack"),r=ez("translate"),o=ez("debounceInput"),s=NQ(t);return lq({element:t,id:"multiInstanceRetryTimeCycle",label:r("Retry time cycle"),getValue:()=>{const e=aU(s,"camunda:FailedJobRetryTimeCycle")[0];return e&&e.body},setValue:e=>{const r=[];let o=s.get("extensionElements");o||(o=GF("bpmn:ExtensionElements",{values:[]},s,n),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{extensionElements:o}}}));let a=aU(s,"camunda:FailedJobRetryTimeCycle")[0];a||(a=GF("camunda:FailedJobRetryTimeCycle",{},o,n),r.push({cmd:"element.updateModdleProperties",context:{element:s,moddleElement:o,properties:{values:[...o.get("values"),a]}}})),r.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{body:e}}}),i.execute("properties-panel.multi-command-executor",r)},debounce:o})}function DQ(e,t){var n=NQ(e);return n&&n.get(t)}function NQ(e){return qr(e).loopCharacteristics}function BQ(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}function $Q(e){return!!e.get("camunda:asyncAfter")}function jQ(e){return e&&!e.checked}function IQ(e){const{element:t}=e;if(!function(e){return Ir(e,"bpmn:CallActivity")}(t))return[];const n=[{id:"outMapping-propagation",component:LQ,isEdited:WL}];return VQ(t)&&n.push({id:"outMapping-propagation-local",component:qQ,isEdited:WL}),n}function LQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("bpmnFactory");return UL({id:"outMapping-propagation",label:ez("translate")("Propagate all variables"),getValue:()=>VQ(t),setValue:e=>{e?function(){const e=qr(t),r=GF("camunda:Out",{variables:"all"},null,i);lU(t,e,r,i,n)}():function(){const e=qr(t),i=zQ(t);cU(t,e,i,n)}()}})}function qQ(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=zQ(t)[0];return UL({element:t,id:"outMapping-propagation-local",label:i("Local"),getValue:()=>r.get("camunda:local"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{local:e}})}})}function zQ(e){const t=function(e){return aU(qr(e),"camunda:Out")}(e);return v(t,(function(e){const t=e.get("variables");return t&&"all"===t}))}function VQ(e){return!!zQ(e).length}function FQ({element:e,injector:t}){if(!function(e){return Ir(e,"bpmn:CallActivity")}(e))return null;const n=function(e){const t=qr(e);return v(aU(t,"camunda:Out"),(function(e){return!(e.businessKey||e.variables&&"all"===e.variables)}))}(e)||[],i=t.get("bpmnFactory"),r=t.get("commandStack"),o=n.map(((t,n)=>{const i=e.id+"-outMapping-"+n;return{id:i,label:t.get("target")||"",entries:cQ({idPrefix:i,element:e,mapping:t}),autoFocusEntry:i+"-target",remove:HQ({commandStack:r,element:e,mapping:t})}}));return{items:o,add:UQ({bpmnFactory:i,commandStack:r,element:e})}}function HQ({commandStack:e,element:t,mapping:n}){return function(i){i.stopPropagation();const r=qr(t);cU(t,r,n,e)}}function UQ({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation();const r=qr(n),o=GF("camunda:Out",{source:""},null,e);lU(n,r,o,e,t)}}function WQ({element:e,injector:t}){if(!function(e){const t=qr(e);return RW(e)&&!Ir(t,"bpmn:EndEvent")&&!t.loopCharacteristics}(e))return null;const n=MW(e)||[],i=t.get("bpmnFactory"),r=t.get("commandStack"),o=n.map(((t,n)=>{const i=e.id+"-outputParameter-"+n;return{id:i,label:t.get("name")||"",entries:XW({idPrefix:i,element:e,parameter:t}),autoFocusEntry:i+"-name",remove:XQ({commandStack:r,element:e,parameter:t})}}));return{items:o,add:GQ({bpmnFactory:i,commandStack:r,element:e}),shouldSort:!1}}function XQ({commandStack:e,element:t,parameter:n}){return function(i){i.stopPropagation();const r=TW(t);r&&e.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{outputParameters:x(r.get("outputParameters"),n)}})}}function GQ({bpmnFactory:e,commandStack:t,element:n}){return function(i){i.stopPropagation(),t.execute("properties-panel.multi-command-executor",BW(n,"camunda:OutputParameter",e))}}function QQ(e){const{element:t,listener:n,idPrefix:i}=e;let{timerEventDefinition:r}=e;if(!r){r=FH(qr(t))}const o=VH(r);if(!zH(t)&&!function(e){return e&&Ir(e,"camunda:TaskListener")&&FH(e)}(n))return[];const s=[];return s.push({id:JQ(i,"timerEventDefinitionType"),component:KQ,isEdited:ZL,timerEventDefinition:r,timerEventDefinitionType:o}),o&&s.push({id:JQ(i,"timerEventDefinitionValue"),component:YQ,isEdited:cq,timerEventDefinition:r,timerEventDefinitionType:o}),s}function KQ(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:i}=e,r=ez("commandStack"),o=ez("bpmnFactory"),s=ez("translate");return YL({element:t,id:"timerEventDefinitionType",label:s("Type"),getValue:()=>i||"",setValue:e=>{if(e===i)return;const s=o.create("bpmn:FormalExpression",{body:void 0});s.$parent=n;const a={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(a[e]=s),r.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:a})},getOptions:e=>[{value:"",label:s("<none>")},{value:"timeDate",label:s("Date")},{value:"timeDuration",label:s("Duration")},{value:"timeCycle",label:s("Cycle")}]})}function YQ(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:i}=e,r=ez("commandStack"),o=ez("translate"),s=ez("debounceInput"),a=n.get(i);return lq({element:t,id:"timerEventDefinitionValue",label:o("Value"),getValue:()=>a&&a.get("body"),setValue:e=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{body:e}})},debounce:s,tooltip:ZQ(i,o)})}function ZQ(e,t){switch(e){case"timeDate":return LE("div",{children:[LE("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),LE("li",{children:[LE("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-date",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeCycle":return LE("div",{children:[LE("p",{children:t("A cycle defined as ISO 8601 repeating intervals format, or a cron expression.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),LE("li",{children:[LE("code",{children:"R/P1D"})," - ",t("every day, infinitely")]}),LE("li",{children:[LE("code",{children:"0 0 9-17 * * MON-FRI"})," - ",t("every hour on the hour from 9-5 p.m. UTC Monday-Friday")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-cycle",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]});case"timeDuration":return LE("div",{children:[LE("p",{children:t("A time duration defined as ISO 8601 durations format.")}),LE("ul",{children:[LE("li",{children:[LE("code",{children:"PT15S"})," - ",t("15 seconds")]}),LE("li",{children:[LE("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),LE("li",{children:[LE("code",{children:"P14D"})," - ",t("14 days")]})]}),LE("a",{href:"https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/#time-duration",target:"_blank",rel:"noopener",children:t("Documentation: Timer events")})]})}}function JQ(e,t){return e?e+t:t}const eK=["bpmn:Activity","bpmn:Event","bpmn:Gateway","bpmn:SequenceFlow","bpmn:Process","bpmn:Participant"],tK={...{script:void 0,resource:void 0,scriptFormat:void 0},...{class:void 0},...{expression:void 0},...{delegateExpression:void 0}},nK={eventDefinitions:void 0,event:void 0},iK={class:"Java class",expression:"Expression",delegateExpression:"Delegate expression",script:"Script"},rK={start:"Start",end:"End",take:"Take",create:"Create",assignment:"Assignment",complete:"Complete",delete:"Delete",update:"Update",timeout:"Timeout"};function oK({element:e,injector:t}){if(!Lr(e,eK))return;const n=t.get("bpmnFactory"),i=t.get("commandStack");if(Ir(e,"bpmn:Participant")&&!e.businessObject.processRef)return;return{items:aU(_K(e),"camunda:ExecutionListener").map(((t,n)=>{const r=`${e.id}-executionListener-${n}`;return{id:r,label:vK(t),entries:sK({idPrefix:r,element:e,listener:t}),remove:cK({element:e,listener:t,commandStack:i})}})),add:(r={bpmnFactory:n,commandStack:i,element:e},yK({...r,listenerGroup:"camunda:ExecutionListener"}))};var r}function sK(e){const{idPrefix:t,element:n,listener:i}=e;return[{id:`${t}-eventType`,component:pK,listener:i},{id:`${t}-listenerType`,component:dK,listener:i},...hK({idPrefix:t,element:n,listener:i}),{id:`${t}-fields`,component:gK,listener:i}]}function aK({element:e,injector:t}){if(!Ir(e,"bpmn:UserTask"))return;const n=t.get("bpmnFactory"),i=t.get("commandStack");return{items:aU(_K(e),"camunda:TaskListener").map(((t,n)=>{const r=`${e.id}-taskListener-${n}`;return{id:r,label:vK(t),entries:lK({idPrefix:r,element:e,listener:t}),remove:cK({element:e,listener:t,commandStack:i})}})),add:(r={bpmnFactory:n,commandStack:i,element:e},yK({...r,listenerGroup:"camunda:TaskListener"}))};var r}function lK(e){const{idPrefix:t,element:n,listener:i}=e;return[{id:`${t}-eventType`,component:pK,listener:i},{id:`${t}-listenerId`,component:uK,listener:i},{id:`${t}-listenerType`,component:dK,listener:i},...hK({idPrefix:t,element:n,listener:i}),...mK({idPrefix:t,element:n,listener:i}),{id:`${t}-fields`,component:gK,listener:i}]}function cK({element:e,listener:t,commandStack:n}){return function(i){i.stopPropagation(),cU(e,_K(e),t,n)}}function pK({id:e,element:t,listener:n}){const i=ez("translate"),r=ez("bpmnFactory"),o=ez("commandStack");return LE(YL,{id:e,label:i("Event type"),getValue:function(){return n.get("event")},setValue:function(e){const i=function(e,t){if("timeout"===e)return{...nK,eventDefinitions:[t.create("bpmn:TimerEventDefinition")],event:e};return{...nK,event:e}}(e,r);o.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:i})},getOptions:function(){return Ir(n,"camunda:TaskListener")?[{value:"create",label:i("create")},{value:"assignment",label:i("assignment")},{value:"complete",label:i("complete")},{value:"delete",label:i("delete")},{value:"update",label:i("update")},{value:"timeout",label:i("timeout")}]:Ir(t,"bpmn:SequenceFlow")?[{value:"take",label:i("take")}]:[{value:"start",label:i("start")},{value:"end",label:i("end")}]}})}function uK({id:e,element:t,listener:n}){const i=ez("translate"),r=ez("debounceInput"),o=ez("commandStack");return lq({element:t,id:e,label:i("Listener ID"),debounce:r,isEdited:cq,setValue:e=>{o.execute("element.updateModdleProperties",{element:t,moddleElement:n,properties:{"camunda:id":e}})},getValue:()=>n.get("camunda:id")})}function dK({id:e,element:t,listener:n}){const i=ez("modeling"),r=ez("translate"),o=ez("bpmnFactory");return LE(YL,{id:e,label:r("Listener type"),getValue:function(){return bK(n)},setValue:function(e){const r=function(e,t){switch(e){case"class":return{...tK,class:""};case"expression":return{...tK,expression:""};case"delegateExpression":return{...tK,delegateExpression:""};case"script":return{...tK,script:t.create("camunda:Script")}}}(e,o);i.updateModdleProperties(t,n,r)},getOptions:function(){return function(e){return Object.entries(iK).map((([t,n])=>({value:t,label:e(n)})))}(r)}})}function hK(e){const{idPrefix:t,element:n,listener:i}=e,r=bK(i);return"class"===r?[{id:wK(t,"javaClass"),component:QG,businessObject:i}]:"expression"===r?[{id:wK(t,"expression"),component:KG,businessObject:i}]:"delegateExpression"===r?[{id:wK(t,"delegateExpression"),component:ZG,businessObject:i}]:"script"===r?xW({element:n,script:i.get("script"),prefix:t}):[]}function mK(e){const{idPrefix:t,element:n,listener:i}=e;return"timeout"===i.get("event")?QQ({element:n,listener:i,timerEventDefinition:EF(i),idPrefix:t}):[]}function fK(e){const{element:t,id:n,index:i,item:r,open:o}=e,s=`${n}-field-${i}`;return LE(jL,{id:s,element:t,entries:MX({element:t,field:r,idPrefix:s}),label:r.get("name")||"<empty>",open:o})}function gK(e){const{id:t,element:n,listener:i}=e,r=ez("bpmnFactory"),o=ez("commandStack"),s=ez("translate"),a=i.get("fields");return LE(GL,{id:t,element:n,label:s("Field injection"),items:a,component:fK,onAdd:function(){const e=GF("camunda:Field",{},i,r);o.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{fields:[...i.get("fields"),e]}})},onRemove:function(e){o.execute("element.updateModdleProperties",{element:n,moddleElement:i,properties:{fields:x(i.get("fields"),e)}})},compareFn:EK,autoFocusEntry:!0})}function yK({bpmnFactory:e,commandStack:t,element:n,listenerGroup:i}){return function(r){r.stopPropagation();const o=e.create(i,{event:xK(n,i),class:""}),s=_K(n);lU(n,s,o,e,t)}}function vK(e,t=(e=>e)){const n=e.get("event"),i=bK(e);return`${t(rK[n])}: ${t(iK[i])}`}function bK(e){return nX(e)}function xK(e,t){return"camunda:TaskListener"===t?"create":Ir(e,"bpmn:SequenceFlow")?"take":"start"}function wK(e,t){return`${e}-${t}`}function EK(e,t){const[n="",i=""]=[e.name,t.name];return n===i?0:n>i?1:-1}function _K(e){const t=qr(e);return t.get("processRef")||t}function OK(e){const{element:t}=e,[n,r]=Uw([]);if(Xw((async()=>{const e=function(e){const t=qr(e);if(Ir(t,"bpmn:Participant"))return t.processRef;if(Ir(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!Ir(n,"bpmn:Process");)n=n.$parent;return n}(qr(t)),n=function(e){const t=qr(e);if(Ir(e,"bpmn:Participant"))return t.processRef.id;return t.id}(t),i=function(e){return b(e,(function(e){const t=O(e.origin,(function(e){return e.name||e.id}));e.origin=t,e.scope=e.scope.name||e.scope.id})),e}(function(e){return M(e,(function(e){return e.name}))}(await Zq(n,e)));r(i)}),[t]),!n.length)return null;const o=function(e){return C(e,"scope")}(n),s=P(o).length>1;let a=[];if(s){const e=O(O(l=P(o),(function(e,t){return l[l.length-1-t]})),(e=>o[e]));a=i(e)}else a=n;var l;const c=a.map(((e,n)=>{const i=t.id+"-variable-"+n;return{id:i,label:e.name,entries:[...kK({idPrefix:i,multiScope:s,variable:e})]}}));return LE(qL,{...e,items:c,shouldSort:!1})}function PK(e){const{element:t}=e;return function(e){const t=qr(e);return Lr(e,["bpmn:Process","bpmn:SubProcess"])||Ir(e,"bpmn:Participant")&&t.get("processRef")}(t)?{component:OK,shouldSort:!1}:null}function kK(e){const{idPrefix:t,multiScope:n,variable:i}=e;let r=[];return n&&r.push({id:t+"-scope",component:SK,idPrefix:t,variable:i}),r.push({id:t+"-createdIn",component:CK,idPrefix:t,variable:i}),r}function SK(e){const{idPrefix:t,variable:n}=e,i=t+"-scope";return LE("div",{"data-entry-id":i,class:"bio-properties-panel-entry",children:[LE("b",{style:"font-weight: bold",class:"bio-properties-panel-label",children:ez("translate")("Scope")}),LE("label",{id:TK(i),class:"bio-properties-panel-label",children:n.scope})]})}function CK(e){const{idPrefix:t,variable:n}=e,i=ez("translate"),r=t+"-createdIn",o=n.origin.join(", ");return LE("div",{"data-entry-id":r,class:"bio-properties-panel-entry",children:[LE("b",{style:"font-weight: bold",class:"bio-properties-panel-label",children:i("Created in")}),LE("label",{id:TK(r),class:"bio-properties-panel-label",children:o})]})}function TK(e){return`bio-properties-panel-${e}`}function AK(e){const{element:t}=e;if(!Ir(t,"bpmn:ScriptTask"))return[];const n=[...xW({element:t})];return n.push({id:"scriptResultVariable",component:MK,isEdited:cq}),n}function MK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"scriptResultVariable",label:i("Result variable"),getValue:()=>o.get("camunda:resultVariable"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:resultVariable":e}})},debounce:r})}function RK(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")?[{id:"isStartableInTasklist",component:DK,isEdited:e=>e&&!e.checked}]:[]}function DK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=function(e){return Ir(e,"bpmn:Process")?qr(e):qr(e).get("processRef")}(t);return UL({element:t,id:"isStartableInTasklist",label:i("Startable"),getValue:()=>r.get("camunda:isStartableInTasklist"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:r,properties:{"camunda:isStartableInTasklist":e}})}})}function NK(e){const{element:t}=e;return Ir(t,"camunda:Assignable")?[{id:"assignee",component:BK,isEdited:cq},{id:"candidateGroups",component:jK,isEdited:cq},{id:"candidateUsers",component:$K,isEdited:cq},{id:"dueDate",component:IK,isEdited:cq},{id:"followUpDate",component:LK,isEdited:cq},{id:"priority",component:qK,isEdited:cq}]:[]}function BK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"assignee",label:i("Assignee"),getValue:()=>o.get("camunda:assignee"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:assignee":e}})},debounce:r})}function $K(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"candidateUsers",label:i("Candidate users"),getValue:()=>o.get("camunda:candidateUsers"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:candidateUsers":e}})},debounce:r})}function jK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"candidateGroups",label:i("Candidate groups"),getValue:()=>o.get("camunda:candidateGroups"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:candidateGroups":e}})},debounce:r})}function IK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"dueDate",label:i("Due date"),description:i("The due date as an EL expression (e.g. ${someDate}) or an ISO date (e.g. 2015-06-26T09:54:00)."),getValue:()=>o.get("camunda:dueDate"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:dueDate":e}})},debounce:r})}function LK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"followUpDate",label:i("Follow up date"),description:i("The follow up date as an EL expression (e.g. ${someDate}) or an ISO date (e.g. 2015-06-26T09:54:00)."),getValue:()=>o.get("camunda:followUpDate"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:followUpDate":e}})},debounce:r})}function qK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=qr(t);return lq({element:t,id:"priority",label:i("Priority"),getValue:()=>o.get("camunda:priority"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:priority":e}})},debounce:r})}function zK(e){const{element:t}=e,n=ez("commandStack"),i=ez("translate"),r=ez("debounceInput"),o=function(e){return Ir(e,"bpmn:Process")?qr(e):qr(e).get("processRef")}(t);return lq({element:t,id:"versionTag",label:i("Version tag"),getValue:()=>o.get("camunda:versionTag")||"",setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{"camunda:versionTag":e}})},debounce:r})}const VK=[function(e,t){const n=t.get("translate"),i={label:n("History cleanup"),id:"CamundaPlatform__HistoryCleanup",component:rL,entries:[...OG({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Tasklist"),id:"CamundaPlatform__Tasklist",component:rL,entries:[...RK({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Candidate starter"),id:"CamundaPlatform__CandidateStarter",component:rL,entries:[...eW({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Implementation"),id:"CamundaPlatform__Implementation",component:rL,entries:[...GG({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("External task"),id:"CamundaPlatform__ExternalTask",component:rL,entries:[...SX({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i=PK({element:e,injector:t});if(!i)return null;const r={label:n("Process variables"),id:"CamundaPlatform__ProcessVariables",...i};return r},function(e,t){const n=t.get("translate"),i={label:n("Errors"),id:"CamundaPlatform__Errors",component:qL,...wX({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("User assignment"),id:"CamundaPlatform__UserAssignment",component:rL,entries:[...NK({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Forms"),id:"CamundaPlatform__Form",component:rL,entries:[...bG({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Form fields"),id:"CamundaPlatform__FormData",component:qL,...cG({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Task listeners"),id:"CamundaPlatform__TaskListener",component:qL,...aK({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Start initiator"),id:"CamundaPlatform__StartInitiator",component:rL,entries:[...tQ({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Script"),id:"CamundaPlatform__Script",component:rL,entries:[...AK({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Condition"),id:"CamundaPlatform__Condition",component:rL,entries:[...rW({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Called element"),id:"CamundaPlatform__CallActivity",component:rL,entries:[...FU({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Asynchronous continuations"),id:"CamundaPlatform__AsynchronousContinuations",component:rL,entries:[...bU({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Job execution"),id:"CamundaPlatform__JobExecution",component:rL,entries:[...wQ({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("In mapping propagation"),id:"CamundaPlatform__InMappingPropagation",component:rL,entries:[...iQ({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("In mappings"),id:"CamundaPlatform__InMapping",component:qL,...gQ({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Inputs"),id:"CamundaPlatform__Input",component:qL,...bQ({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Connector inputs"),id:"CamundaPlatform__ConnectorInput",component:qL,...oX({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Out mapping propagation"),id:"CamundaPlatform__OutMappingPropagation",component:rL,entries:[...IQ({element:e})]};if(i.entries.length)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Out mappings"),id:"CamundaPlatform__OutMapping",component:qL,...FQ({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Outputs"),id:"CamundaPlatform__Output",component:qL,...WQ({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Connector outputs"),id:"CamundaPlatform__ConnectorOutput",component:qL,...aX({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Execution listeners"),id:"CamundaPlatform__ExecutionListener",component:qL,...oK({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Extension properties"),id:"CamundaPlatform__ExtensionProperties",component:qL,...hU({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Field injections"),id:"CamundaPlatform__FieldInjection",component:qL,...$X({element:e,injector:t})};if(i.items)return i;return null},function(e,t){const n=t.get("translate"),i={label:n("Business key"),id:"CamundaPlatform__BusinessKey",component:rL,entries:[...kU({element:e})]};if(i.entries.length)return i;return null}];class FK{constructor(e,t){e.registerProvider(500,this),this._injector=t}getGroups(e){return t=>(function(e,t){const n=HK(e,"general");if(!n)return;const{entries:i}=n,r=y(i,(e=>"isExecutable"===e.id)),o=r>=0?r:i.length;i.splice(o,0,...function(e){const{element:t}=e,n=qr(t);return Ir(t,"bpmn:Process")||Ir(t,"bpmn:Participant")&&n.get("processRef")?[{id:"versionTag",component:zK,isEdited:cq}]:[]}({element:t}))}(t=t.concat(this._getGroups(e)),e),function(e,t){const n=HK(e,"error");if(!n)return;const{entries:i}=n;cX({element:t,entries:i})}(t,e),function(e,t){const n=HK(e,"escalation");if(!n)return;const{entries:i}=n;PX({element:t,entries:i})}(t,e),function(e,t){const n=HK(e,"multiInstance");if(!n)return;const{entries:i}=n;kQ({element:t,entries:i})}(t,e),function(e,t){const n=HK(e,"timer");if(!n)return;n.entries=[...QQ({element:t})]}(t,e),function(e){const t=UK(e,"documentation");if(t<0)return;(function(e,t,n){const i=UK(e,t);if(n<0||i<0)return;Bq(e,i,n)})(e,"CamundaPlatform__Implementation",t+1)}(t),t)}_getGroups(e){const t=VK.map((t=>t(e,this._injector)));return t.filter((e=>null!==e))}}function HK(e,t){return e.find((e=>e.id===t))}function UK(e,t){return y(e,(e=>e.id===t))}FK.$inject=["propertiesPanel","injector"];var WK={__init__:["camundaPlatformPropertiesProvider"],camundaPlatformPropertiesProvider:["type",FK]};function XK(e={}){xx.call(this,e)}e(XK,xx),XK.prototype.getModules=function(e={}){return[...xx.prototype.getModules.call(this,e),e.disableAdjustOrigin?Vx:Ux,e.disableGrid?{}:jx]},XK.prototype._extensionModules=[Dx,tw,vF,sU],XK.prototype._modules=[].concat(xx.prototype._modules,XK.prototype._extensionModules);const GK="*";class QK{constructor(e){e.on("moddleCopy.canCopyProperty",(e=>{const{parent:t,property:n}=e;return this.canCopyProperty(n,t)}))}canCopyProperty(e,t){return!(p(e)&&!function(e,t){var n=e.$type&&e.$model.getTypeDescriptor(e.$type),i=n&&n.meta&&n.meta.allowedIn;if(!i||function(e){return e.includes(GK)}(i))return!0;return _(i,(function(e){return KK(t,e)}))}(e,t))&&(!(Ir(e,"camunda:InputOutput")&&!this.canHostInputOutput(t))&&(!(Lr(e,["camunda:Connector","camunda:Field"])&&!this.canHostConnector(t))&&(!(Ir(e,"camunda:In")&&!this.canHostIn(t))&&void 0)))}canHostInputOutput(e){if(KK(e,"camunda:Connector"))return!0;const t=KK(e,"bpmn:FlowNode");return!!t&&(!Lr(t,["bpmn:StartEvent","bpmn:Gateway","bpmn:BoundaryEvent"])&&(!Ir(t,"bpmn:SubProcess")||!t.get("triggeredByEvent")))}canHostConnector(e){return!Ir(KK(e,"camunda:ServiceTaskLike"),"bpmn:MessageEventDefinition")||(KK(e,"bpmn:IntermediateThrowEvent")||KK(e,"bpmn:EndEvent"))}canHostIn(e){if(KK(e,"bpmn:CallActivity"))return!0;return!KK(e,"bpmn:SignalEventDefinition")||(KK(e,"bpmn:IntermediateThrowEvent")||KK(e,"bpmn:EndEvent"))}}function KK(e,t){return t?Ir(e,t)?e:e.$parent?KK(e.$parent,t):void 0:e.$parent}QK.$inject=["eventBus"];class YK extends ks{constructor(e,t,n,i){function r(e){return!!g(t.getDefinitions().get("rootElements"),R({id:e.get("id")}))}super(n),this.executed("shape.create",(e=>{const{shape:n}=e,i=qr(n);if(!eY(i))return;const o=tY(i,ZK(n)),s=t.getDefinitions().get("rootElements");e.addedRootElements=[],o.forEach((t=>{const{referencedElement:n}=t;n&&!r(n)&&(At(s,n),e.addedRootElements.push(n))}))}),!0),this.reverted("shape.create",(e=>{const{addedRootElements:n}=e;if(!n)return;const i=t.getDefinitions().get("rootElements");n.forEach((e=>{Tt(i,e)}))}),!0),n.on("copyPaste.copyElement",(function(e){const{descriptor:t,element:n}=e,i=qr(n);if(n.labelTarget||!eY(i))return;const r=tY(i,ZK(n));r&&(t.referencedRootElements=r)})),n.on("copyPaste.pasteElement",500,(t=>{const{descriptor:n}=t,{businessObject:o,referencedRootElements:s}=n;s&&(s.forEach((t=>{let{idx:n,referencedElement:s}=t;s&&(r(s)||(s=i.copyElement(s,e.create(s.$type))),function(e,t,n){const i=e.get("extensionElements").get("values")[n];i.set(JK(i),t)}(o,s,n))})),delete n.referencedRootElements)}))}}function ZK(e){if(Ir(e,"bpmn:ServiceTask"))return"camunda:ErrorEventDefinition"}function JK(e){if(Ir(e,"camunda:ErrorEventDefinition"))return"errorRef"}function eY(e){return Ir(e,"bpmn:ServiceTask")&&"external"===e.get("type")}function tY(e,t){const n=e.get("extensionElements");return n?n.get("values").filter((e=>Ir(e,t))).reduce(((t,n)=>{const i=n.get(JK(n));return i&&t.push({idx:nY(e,n),referencedElement:i}),t}),[]):[]}function nY(e,t){const n=e.get("extensionElements");return n?n.get("values").indexOf(t):-1}function iY(e,t=void 0){const n=qr(e).get("extensionElements");if(!n)return[];const i=n.get("values");return i&&i.length?t?i.filter((e=>Ir(e,t))):i:[]}function rY(e,t,n,i){c(n)||(n=[n]);const r=t.get("extensionElements"),o=r.get("values").filter((e=>!n.includes(e)));i.execute("element.updateModdleProperties",{element:e,moddleElement:r,properties:{values:o}})}YK.$inject=["bpmnFactory","bpmnjs","eventBus","moddleCopy"];class oY extends ks{constructor(e,t){super(t),this.postExecute(["element.updateProperties","element.updateModdleProperties"],5e3,(function(t){const{element:n,moddleElement:i,properties:r}=t,o=i||qr(n);if(Ir(n,"camunda:ExternalCapable")&&Ir(o,"camunda:ExternalCapable")&&"external"!==r["camunda:type"]){const t=iY(o,"camunda:ErrorEventDefinition");t.length&&rY(n,o,t,e)}}),!0)}}oY.$inject=["commandStack","eventBus"];class sY extends ks{constructor(e,t,n){super(e),this.postExecuted("shape.delete",250,(function(e){const{collaborationRoot:i,shape:r}=e,o=t.getRootElement();if(Ir(r,"bpmn:Participant")&&i&&!i.businessObject.get("participants").length&&Ir(o,"bpmn:Process")){const e=r.businessObject.get("processRef");if(!e)return;n.updateProperties(o,{isExecutable:e.get("isExecutable")})}}),!0)}}sY.$inject=["eventBus","canvas","modeling"];class aY extends ks{constructor(e,t){super(t),this.postExecute(["element.updateProperties","element.updateModdleProperties"],5e3,(function(t){const{element:n,moddleElement:i,properties:r={}}=t,o=r["camunda:asyncAfter"],s=r["camunda:asyncBefore"],a=i||qr(n),l=function(e){return iY(e,"camunda:FailedJobRetryTimeCycle")[0]}(n);!Ir(n,"camunda:AsyncCapable")||!Ir(a,"camunda:AsyncCapable")||!1!==o&&!1!==s||!l||function(e){return function(e,t){const n=qr(e),i=n.get("eventDefinitions");if(!i||!i.length)return;return i.find((e=>Ir(e,t)))}(e,"bpmn:TimerEventDefinition")}(n)||function(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}(a)||function(e){return!!e.get("camunda:asyncAfter")}(a)||rY(n,a,l,e)}),!0)}}aY.$inject=["commandStack","eventBus"];class lY extends ks{constructor(e,t){super(e),this.postExecuted(["shape.create","shape.move"],(e=>{const{shape:n,parent:i,newParent:r=i}=e,o=qr(n);Ir(n,"bpmn:StartEvent")&&a(o.get("camunda:initiator"))&&Ir(r||i,"bpmn:SubProcess")&&t.updateProperties(n,{"camunda:initiator":void 0})}),!0)}}lY.$inject=["eventBus","modeling"];class cY extends ks{constructor(e,t,n,i){super(t),this.postExecuted(["shape.create","shape.move"],(t=>{const{parent:r,newParent:o=r,shape:s}=t,a=qr(o),l=qr(s);if(Ir(s,"bpmn:StartEvent")&&(!Ir(o,"bpmn:SubProcess")||!a.get("triggeredByEvent"))){const t=l.get("eventDefinitions").slice(),r=t.reduce(((i,r,o)=>{if(Ir(r,"bpmn:ConditionalEventDefinition")){if(r.get("camunda:variableEvents")){const i=e.create("bpmn:ConditionalEventDefinition");return n.copyElement(r,i),i.$parent=r.$parent,i.variableEvents=void 0,t[o]=i,!0}return i}}),!1);r&&i.updateProperties(s,{eventDefinitions:t})}}),!0)}}cY.$inject=["bpmnFactory","eventBus","moddleCopy","modeling"];class pY extends ks{constructor(e){super(e),this.preExecute(["element.updateProperties","element.updateModdleProperties"],5e3,(function(e){const{element:t,moddleElement:n,properties:i={}}=e,r=n||qr(t),o=i["camunda:asyncAfter"],s=i["camunda:asyncBefore"];!Ir(t,"camunda:AsyncCapable")||!Ir(r,"camunda:AsyncCapable")||!1!==o&&!1!==s||function(e){return!!e.get("camunda:exclusive")}(r)||function(e){return!!e.get("camunda:asyncAfter")}(r)&&!1!==o||function(e){return!(!e.get("camunda:asyncBefore")&&!e.get("camunda:async"))}(r)&&!1!==s||!0===o||!0===s||(i["camunda:exclusive"]=!0)}),!0)}}pY.$inject=["eventBus"];class uY extends ks{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",250,(function(t){const{element:n,moddleElement:i}=t;Ir(i,"camunda:InputOutput")&&function(e){const t=function(e){return e.get("inputParameters")}(e),n=function(e){return e.get("outputParameters")}(e);return!t.length&&!n.length}(i)&&rY(n,qr(n),i,e)}),!0)}}uY.$inject=["commandStack","eventBus"];class dY extends ks{constructor(e){super(e),this.preExecute(["element.updateProperties","element.updateModdleProperties"],5e3,(function(e){const{element:t,moddleElement:n,properties:i}=e,r=n||qr(t);var o;Ir(t,"camunda:DmnCapable")&&Ir(r,"camunda:DmnCapable")&&f(i,"camunda:resultVariable")&&(null==(o=i["camunda:resultVariable"])||""===o)&&(i["camunda:mapDecisionResult"]=void 0)}),!0)}}dY.$inject=["eventBus"];let hY=class extends ks{constructor(e){super(e),this.preExecute(["element.updateProperties","element.updateModdleProperties"],(function(e){const{element:t,moddleElement:n,properties:i}=e,r=n||qr(t);f(i,"camunda:formKey")?Object.assign(i,{"camunda:formRef":void 0,"camunda:formRefBinding":void 0,"camunda:formRefVersion":void 0}):f(i,"camunda:formRef")&&(Object.assign(i,{"camunda:formKey":void 0}),s(i["camunda:formRef"])&&Object.assign(i,{"camunda:formRefBinding":void 0,"camunda:formRefVersion":void 0}),!f(i,"camunda:formRefBinding")&&s(r.get("camunda:formRefBinding"))&&Object.assign(i,{"camunda:formRefBinding":"latest"})),f(i,"camunda:formRefBinding")&&"version"!==i["camunda:formRefBinding"]&&Object.assign(i,{"camunda:formRefVersion":void 0})}),!0)}};hY.$inject=["eventBus"];class mY extends ks{constructor(e,t){super(e),this.preExecute("element.updateModdleProperties",(function(e){const{moddleElement:t,properties:n}=e;Ir(t,"camunda:FormField")&&("type"in n&&"enum"!==n.type||"camunda:type"in n&&"enum"!==n["camunda:type"])&&(n["camunda:values"]=void 0)}),!0),this.preExecute("element.updateModdleProperties",(function(e){const{element:n,moddleElement:i,properties:r}=e;if(!Ir(i,"camunda:FormField")||!f(r,"id")&&!f(r,"camunda:id"))return;const o=function(e){const t=qr(e),n=t.get("extensionElements");if(!n)return;const i=n.get("values");return i.find((e=>Ir(e,"camunda:FormData")))}(n);o.get("camunda:businessKey")&&function(e,t){return e.get("camunda:id")===t.get("camunda:businessKey")}(i,o)&&t.updateModdleProperties(n,o,{"camunda:businessKey":f(r,"id")?r.id:r["camunda:id"]})}),!0),this.postExecute("element.updateModdleProperties",(function(e){const{element:n,moddleElement:i,properties:r}=e;if(!Ir(i,"camunda:FormData")||!f(r,"fields"))return;const o=i.get("camunda:businessKey");if(!o)return;i.get("fields").find((e=>e.get("camunda:id")===o))||t.updateModdleProperties(n,i,{"camunda:businessKey":void 0})}),!0)}}mY.$inject=["eventBus","modeling"];var fY={__init__:["copyPasteBehavior","copyPasteRootElementBehavior","deleteErrorEventDefinitionBehavior","deleteParticipantBehaviour","deleteRetryTimeCycleBehavior","removeInitiatorBehaviour","removeVariableEventBehaviour","updateCamundaExclusiveBehavior","updateResultVariableBehavior","updateInputOutputBehavior","userTaskFormsBehavior","userTaskGeneratedFormsBehavior"],copyPasteBehavior:["type",QK],copyPasteRootElementBehavior:["type",YK],deleteErrorEventDefinitionBehavior:["type",oY],deleteParticipantBehaviour:["type",sY],deleteRetryTimeCycleBehavior:["type",aY],removeInitiatorBehaviour:["type",lY],removeVariableEventBehaviour:["type",cY],updateCamundaExclusiveBehavior:["type",pY],updateResultVariableBehavior:["type",dY],updateInputOutputBehavior:["type",uY],userTaskFormsBehavior:["type",hY],userTaskGeneratedFormsBehavior:["type",mY]};let gY;const yY=new Uint8Array(16);function vY(){if(!gY&&(gY="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!gY))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return gY(yY)}const bY=[];for(let e=0;e<256;++e)bY.push((e+256).toString(16).slice(1));var xY={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function wY(e,t,n){if(xY.randomUUID&&!t&&!e)return xY.randomUUID();const i=(e=e||{}).random||(e.rng||vY)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=i[e];return t}return function(e,t=0){return(bY[e[t+0]]+bY[e[t+1]]+bY[e[t+2]]+bY[e[t+3]]+"-"+bY[e[t+4]]+bY[e[t+5]]+"-"+bY[e[t+6]]+bY[e[t+7]]+"-"+bY[e[t+8]]+bY[e[t+9]]+"-"+bY[e[t+10]]+bY[e[t+11]]+bY[e[t+12]]+bY[e[t+13]]+bY[e[t+14]]+bY[e[t+15]]).toLowerCase()}(i)}var EY=function(e,t){for(var n=e.split("."),i=t.split("."),r=0;r<3;r++){var o=Number(n[r]),s=Number(i[r]);if(o>s)return 1;if(s>o)return-1;if(!isNaN(o)&&isNaN(s))return 1;if(isNaN(o)&&!isNaN(s))return-1}return 0},_Y=Lt(EY),OY={exports:{}},PY={exports:{}},kY=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var i,r,o;if(Array.isArray(t)){if((i=t.length)!=n.length)return!1;for(r=i;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((i=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(r=i;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=i;0!=r--;){var s=o[r];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n};!function(e){e.exports=kY}(PY),OY.exports=qY,OY.exports.default=qY;const SY={type:"object",allOf:[{required:["name","id","appliesTo","properties"],properties:{name:{$id:"#/name",type:"string",description:"The name of the element template."},id:{$id:"#/id",type:"string",description:"The identifier of the element template."},description:{$id:"#/description",type:"string",description:"The description of the element template."},version:{$id:"#/version",type:"integer",description:"Optional version of the template. If you add a version to a template it will be considered unique based on its ID and version. Two templates can have the same ID if their version is different."},isDefault:{$id:"#/isDefault",type:"boolean",description:"Indicates whether the element template is a default template."},deprecated:{$id:"#/deprecated",type:["boolean","object"],description:"Indicates whether the element template is deprecated.",properties:{message:{$id:"#/deprecated/message",type:"string",description:"Optional message to describe migration path."},documentationRef:{$id:"#/deprecated/documentationRef",type:"string",pattern:"^(https|http)://.*",description:"Optional link to migration documentation."}}},appliesTo:{$id:"#/appliesTo",type:"array",description:"List of BPMN types the template can be applied to.",default:[],items:{$id:"#/appliesTo/items",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:Task","bpmn:ServiceTask","bpmn:SequenceFlow","bpmn:Process","bpmn:StartEvent","bpmn:Gateway"]}],errorMessage:{pattern:'invalid item for "appliesTo", should contain namespaced property, example: "bpmn:Task"'}}},elementType:{$id:"#/elementType",type:"object",description:"The BPMN type the element will be transformed into.",default:{},required:["value"],properties:{value:{$id:"#/elementType/value",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:ServiceTask","bpmn:UserTask","bpmn:StartEvent","bpmn:ExclusiveGateway","bpmn:ParallelGateway"]}],errorMessage:{pattern:'invalid item for "elementType", should contain namespaced property, example: "bpmn:Task"'}}},errorMessage:{required:{value:"missing elementType value"}}},metadata:{$id:"#/metadata",type:"object",description:"Some custom properties for further configuration.",default:{}},entriesVisible:{$id:"#/entriesVisible",type:"boolean",description:"Select whether non-template entries are visible in the properties panel."},groups:{$id:"#/groups",type:"array",description:"Custom fields can be ordered together via groups.",allOf:[{examples:[[{id:"group-1",label:"My Group"}]]}],items:{$id:"#/groups/group",type:"object",default:{},required:["id","label"],properties:{id:{$id:"#/groups/group/id",type:"string",description:"The id of the custom group"},label:{$id:"#/groups/group/label",type:"string",description:"The label of the custom group"}},errorMessage:{required:{id:'missing id for group "${0#}"',label:'missing label for group "${0#}"'}}}},documentationRef:{$id:"#/documentationRef",type:"string",pattern:"^(https|http)://.*",errorMessage:{pattern:'Malformed documentation URL, must match "^(https|http)://.*"'}}},errorMessage:{required:{name:"missing template name",id:"missing template id",appliesTo:"missing appliesTo=[]",properties:"missing properties=[]"}}}],properties:{properties:{$ref:"#/definitions/properties",$id:"#/properties"},scopes:{$id:"#/scopes",type:"array",description:"Special scoped bindings that allow you to configure nested elements.",allOf:[{examples:[[{type:"bpmn:Error",id:"Error_1",properties:[{value:"error-code",binding:{type:"property",name:"errorCode"}},{value:"error-message",binding:{type:"property",name:"camunda:errorMessage"}},{value:"error-name",binding:{type:"property",name:"name"}}]}]]}],items:{$id:"#/scopes/item",type:"object",default:{},properties:{type:{$id:"#scopes/item/type",type:"string",description:"The type of a scope.",enum:["camunda:Connector","bpmn:Error"],errorMessage:"invalid scope type ${0}; must be any of { camunda:Connector, bpmn:Error }"},properties:{$id:"#/scopes/properties",description:"List of properties of a scope.",default:[],allOf:[{$ref:"#/definitions/properties/allOf/0"},{$ref:"#/definitions/properties/allOf/1"}]}},required:["type","properties"],allOf:[{if:{properties:{type:{enum:["bpmn:Error"]}},required:["type"]},then:{required:["id"],errorMessage:"invalid scope ${0/type}, missing id"}}],errorMessage:{required:{type:"invalid scope, missing type",properties:"invalid scope ${0/type}, missing properties=[]"}}}}}},CY={$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{const:"camunda:executionListener"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["Hidden"],errorMessage:'invalid property type ${1/type} for binding type "camunda:executionListener"; must be "Hidden"'},binding:{properties:{implementationType:{enum:["class","delegateExpression","expression","script"]}},oneOf:[{not:{properties:{implementationType:{const:"script"}}}},{required:["scriptFormat"]},{allOf:[{not:{required:["implementationType"]}},{not:{required:["scriptFormat"]}}]}]}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:property","camunda:outputParameter","camunda:in","camunda:in:businessKey","camunda:out","camunda:errorEventDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:inputParameter","camunda:field"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Camunda extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","camunda:property","camunda:inputParameter","camunda:field"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"camunda:outputParameter"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"camunda:in"}},required:["type"]},then:{anyOf:[{required:["variables"]},{required:["target"]}],errorMessage:"property.binding ${0/type} requires variables, target, or both"}},{if:{properties:{type:{const:"camunda:out"}},required:["type"]},then:{oneOf:[{required:["variables"],not:{anyOf:[{required:["source"]},{required:["sourceExpression"]}]}},{required:["source"],not:{anyOf:[{required:["variables"]},{required:["sourceExpression"]}]}},{required:["sourceExpression"],not:{anyOf:[{required:["variables"]},{required:["source"]}]}},{required:["variables","sourceExpression"],not:{required:["source"]}},{required:["variables","source"],not:{required:["sourceExpression"]}}],errorMessage:"property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"}},{if:{properties:{type:{const:"camunda:errorEventDefinition"}},required:["type"]},then:{oneOf:[{required:["errorRef"]}],errorMessage:"property.binding ${0/type} requires errorRef"}},{examples:[{type:"property",name:"name"},{type:"camunda:property",name:"property"},{type:"camunda:inputParameter",name:"input"},{type:"camunda:outputParameter",source:"output"},{type:"camunda:in",target:"target"},{type:"camunda:in:businessKey"},{type:"camunda:out",source:"output"},{type:"camunda:executionListener",event:"start"},{type:"camunda:field",name:"field"},{type:"camunda:errorEventDefinition",errorRef:"error"},{type:"camunda:errorEventDefinition",errorRef:"error"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",enum:["property","camunda:property","camunda:inputParameter","camunda:outputParameter","camunda:in","camunda:out","camunda:in:businessKey","camunda:executionListener","camunda:field","camunda:errorEventDefinition"],description:"The type of a property binding.",errorMessage:"invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},event:{$id:"#/properties/property/binding/event",type:"string",description:"The event type of a property binding (camunda:executionListener)."},scriptFormat:{$id:"#/properties/property/binding/scriptFormat",type:"string",description:"The script format of a property binding (camunda:outputParameter, camunda:inputParameter)."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (camunda:outputParameter, camunda:out)."},target:{$id:"#/properties/property/binding/target",type:"string",description:"The target value of a property binding (camunda:in)."},expression:{$id:"#/properties/property/binding/expression",type:"boolean",description:"Indicates whether the control field value is an expression (camunda:in, camunda:field)."},variables:{$id:"#/properties/property/binding/variables",type:"string",enum:["all","local"],description:"The variable mapping of a property binding (camunda:in)."},sourceExpression:{$id:"#/properties/property/binding/sourceExpression",type:"string",description:"The string containing the expression for the source attribute (camunda:out)."}}}},errorMessage:{required:'missing binding for property "${0#}"'}}},TY=new RegExp("^(https|http)://.*","u"),AY=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),MY={required:"missingProperty",dependencies:"property",dependentRequired:"property"},RY={allOf:[{type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}}],properties:{id:{type:"string",description:"Unique identifier of the property."},value:{$id:"#/properties/property/value",type:["string","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."},condition:{$id:"#/condition",type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}}},oneOf:[{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},minItems:1}},required:["allMatch"]}]}}}},{$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{const:"camunda:executionListener"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["Hidden"],errorMessage:'invalid property type ${1/type} for binding type "camunda:executionListener"; must be "Hidden"'},binding:{properties:{implementationType:{enum:["class","delegateExpression","expression","script"]}},oneOf:[{not:{properties:{implementationType:{const:"script"}}}},{required:["scriptFormat"]},{allOf:[{not:{required:["implementationType"]}},{not:{required:["scriptFormat"]}}]}]}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:property","camunda:outputParameter","camunda:in","camunda:in:businessKey","camunda:out","camunda:errorEventDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Hidden, Dropdown }"}}}},{if:{properties:{binding:{properties:{type:{enum:["camunda:inputParameter","camunda:field"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Camunda extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","camunda:property","camunda:inputParameter","camunda:field"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"camunda:outputParameter"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"camunda:in"}},required:["type"]},then:{anyOf:[{required:["variables"]},{required:["target"]}],errorMessage:"property.binding ${0/type} requires variables, target, or both"}},{if:{properties:{type:{const:"camunda:out"}},required:["type"]},then:{oneOf:[{required:["variables"],not:{anyOf:[{required:["source"]},{required:["sourceExpression"]}]}},{required:["source"],not:{anyOf:[{required:["variables"]},{required:["sourceExpression"]}]}},{required:["sourceExpression"],not:{anyOf:[{required:["variables"]},{required:["source"]}]}},{required:["variables","sourceExpression"],not:{required:["source"]}},{required:["variables","source"],not:{required:["sourceExpression"]}}],errorMessage:"property.binding ${0/type} requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"}},{if:{properties:{type:{const:"camunda:errorEventDefinition"}},required:["type"]},then:{oneOf:[{required:["errorRef"]}],errorMessage:"property.binding ${0/type} requires errorRef"}},{examples:[{type:"property",name:"name"},{type:"camunda:property",name:"property"},{type:"camunda:inputParameter",name:"input"},{type:"camunda:outputParameter",source:"output"},{type:"camunda:in",target:"target"},{type:"camunda:in:businessKey"},{type:"camunda:out",source:"output"},{type:"camunda:executionListener",event:"start"},{type:"camunda:field",name:"field"},{type:"camunda:errorEventDefinition",errorRef:"error"},{type:"camunda:errorEventDefinition",errorRef:"error"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",enum:["property","camunda:property","camunda:inputParameter","camunda:outputParameter","camunda:in","camunda:out","camunda:in:businessKey","camunda:executionListener","camunda:field","camunda:errorEventDefinition"],description:"The type of a property binding.",errorMessage:"invalid property.binding type ${0}; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},event:{$id:"#/properties/property/binding/event",type:"string",description:"The event type of a property binding (camunda:executionListener)."},scriptFormat:{$id:"#/properties/property/binding/scriptFormat",type:"string",description:"The script format of a property binding (camunda:outputParameter, camunda:inputParameter)."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (camunda:outputParameter, camunda:out)."},target:{$id:"#/properties/property/binding/target",type:"string",description:"The target value of a property binding (camunda:in)."},expression:{$id:"#/properties/property/binding/expression",type:"boolean",description:"Indicates whether the control field value is an expression (camunda:in, camunda:field)."},variables:{$id:"#/properties/property/binding/variables",type:"string",enum:["all","local"],description:"The variable mapping of a property binding (camunda:in)."},sourceExpression:{$id:"#/properties/property/binding/sourceExpression",type:"string",description:"The string containing the expression for the source attribute (camunda:out)."}}}},errorMessage:{required:'missing binding for property "${0#}"'}}}]},DY={type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}},NY=PY.exports;function BY(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const a=s;let l=!1,c=null;const p=s,u=s;let d=!1,h=null;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=m===s)&&(d=!0,h=0);const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((g=f===s)&&d)d=!1,h=[h,1];else{g&&(d=!0,h=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var g;(g=n===s)&&d?(d=!1,h=[h,2]):g&&(d=!0,h=2)}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:h},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(i=MY[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:r},message:e?e():DY.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}(b=p===s)&&(l=!0,c=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t,schemaPath:"#/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const r=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(v=c===s)&&(a=!0,l=0);const p=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((v=p===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var v;(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=MY[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():DY.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var b;if((b=y===s)&&l?(l=!1,c=[c,1]):b&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return BY.errors=o,0===s}function $Y(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const d=s;let h=!0;const m=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"Dropdown")){const e={};null===o?o=[e]:o.push(e),s++}var a=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/then/required",params:{missingProperty:"choices"},message:"should have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i&&(0!==n.dataPath.indexOf(t+"/"+i)||"/"!==n.dataPath[t+"/"+i.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}h=a=e===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={keyword:"type",dataPath:t+"/"+i+"/id",schemaPath:"#/allOf/0/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/value",schemaPath:"#/allOf/0/items/properties/value/type",params:{type:RY.allOf[0].items.properties.value.type},message:"should be string,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={keyword:"type",dataPath:t+"/"+i+"/description",schemaPath:"#/allOf/0/items/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={keyword:"type",dataPath:t+"/"+i+"/label",schemaPath:"#/allOf/0/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={keyword:"type",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/0/items/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={keyword:"type",dataPath:t+"/"+i+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(BY(n.condition,{dataPath:t+"/"+i+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:r})||(o=null===o?BY.errors:o.concat(BY.errors),s=o.length))}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(40))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const l={keyword:"errorMessage",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():RY.allOf[0].items.properties.choices.items.errorMessage[r]};null===o?o=[l]:o.push(l),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const r=s;let a=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}(l=p===s)&&(a=!0,c=0);const u=s;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}var l;if((l=u===s)&&a?(a=!1,c=[c,1]):l&&(a=!0,c=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={keyword:"type",dataPath:t+"/"+i+"/group",schemaPath:"#/allOf/0/items/properties/group/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const r=s;let a=!1,l=null;const d=s,h=s;let m=!1,f=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(m=!0,f=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&m)m=!1,f=[f,1];else{c&&(m=!0,f=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&m?(m=!1,f=[f,2]):c&&(m=!0,f=2)}if(m)s=h,null!==o&&(h?o.length=h:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:f},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=MY[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():DY.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(a=MY[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={keyword:"errorMessage",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:l},message:e?e():DY.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/allOf/0/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const r=s;let a=!0;const l=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"property")){const e={};null===o?o=[e]:o.push(e),s++}}var d=l===s;if(s=r,null!==o&&(r?o.length=r:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",params:{allowedValues:RY.allOf[1].items.allOf[0].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/0/then/properties/type")||"/"!==e.schemaPath[44]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}a=d=e===s}if(!a){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:executionListener")){const e={};null===o?o=[e]:o.push(e),s++}}var h=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),h){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.type){if("Hidden"!==n.type){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",params:{allowedValues:RY.allOf[1].items.allOf[1].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/type")||"/"!==n.dataPath[t+"/"+i+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n&&n.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}if(void 0!==n.binding){let e=n.binding;const r=s;let a=!1,l=null;const c=s,p=s,u=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.implementationType&&!NY(e.implementationType,"script")){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(m=c===s)&&(a=!0,l=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",params:{missingProperty:"scriptFormat"},message:"should have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((m=d===s)&&a)a=!1,l=[l,1];else{m&&(a=!0,l=1);const n=s,r=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);const p=s,u=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={};null===o?o=[e]:o.push(e),s++}var m;if(u===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(m=n===s)&&a?(a=!1,l=[l,2]):m&&(a=!0,l=2)}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.implementationType){let n=e.implementationType;if("class"!==n&&"delegateExpression"!==n&&"expression"!==n&&"script"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/implementationType",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",params:{allowedValues:RY.allOf[1].items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}p=h=e===s}if(!p){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const S=s;let C=!0;const T=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("camunda:property"!==t&&"camunda:outputParameter"!==t&&"camunda:in"!==t&&"camunda:in:businessKey"!==t&&"camunda:out"!==t&&"camunda:errorEventDefinition"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var f=T===s;if(s=S,null!==o&&(S?o.length=S:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/enum",params:{allowedValues:RY.allOf[1].items.allOf[2].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const r=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[44]||(r.push(e),e.emUsed=!0);if(r.length){const a={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/errorMessage",params:{errors:r},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}C=f=e===s}if(!C){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const A=s;let M=!0;const R=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("camunda:inputParameter"!==t&&"camunda:field"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var g=R===s;if(s=A,null!==o&&(A?o.length=A:o=null),g){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/enum",params:{allowedValues:RY.allOf[1].items.allOf[3].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const r=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[44]||(r.push(e),e.emUsed=!0);if(r.length){const a={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/errorMessage",params:{errors:r},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}M=g=e===s}if(!M){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.binding){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/required",params:{missingProperty:"binding"},message:"should have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const r=s;let a=!0;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("property"!==t&&"camunda:property"!==t&&"camunda:inputParameter"!==t&&"camunda:field"!==t){const e={};null===o?o=[e]:o.push(e),s++}}var y=l===s;if(s=r,null!==o&&(r?o.length=r:o=null),y){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/0/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}a=y=n===s}if(!a){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:outputParameter")){const e={};null===o?o=[e]:o.push(e),s++}var v=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),v){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/1/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}p=v=n===s}if(!p){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:in")){const e={};null===o?o=[e]:o.push(e),s++}var b=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),b){const n=s,r=s;let a=!1;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var x=l===s;if(a=a||x,!a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.target){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",params:{missingProperty:"target"},message:"should have required property 'target'"};null===o?o=[e]:o.push(e),s++}x=n===s;a=a||x}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"anyOf",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf",params:{},message:"should match some schema in anyOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/2/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires variables, target, or both"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}h=b=n===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const f=s;let g=!0;const S=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:out")){const e={};null===o?o=[e]:o.push(e),s++}var w=S===s;if(s=f,null!==o&&(f?o.length=f:o=null),w){const n=s,r=s;let a=!1,l=null;const c=s,p=s,u=s,d=s;let h=!1;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}var E=m===s;if(h=h||E,!h){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}E=t===s;h=h||E}if(h)s=d,null!==o&&(d?o.length=d:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(P=c===s)&&(a=!0,l=0);const f=s,y=s,v=s,b=s;let x=!1;const k=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={};null===o?o=[e]:o.push(e),s++}var _=k===s;if(x=x||_,!x){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}_=t===s;x=x||_}if(x)s=b,null!==o&&(b?o.length=b:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(v===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=y,null!==o&&(y?o.length=y:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((P=f===s)&&a)a=!1,l=[l,1];else{P&&(a=!0,l=1);const n=s,r=s,c=s,p=s;let u=!1;const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={};null===o?o=[e]:o.push(e),s++}var O=d===s;if(u=u||O,!u){const t=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}O=t===s;u=u||O}if(u)s=p,null!==o&&(p?o.length=p:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",params:{missingProperty:"sourceExpression"},message:"should have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((P=n===s)&&a)a=!1,l=[l,2];else{P&&(a=!0,l=2);const n=s,r=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={};null===o?o=[e]:o.push(e),s++}if(c===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.sourceExpression){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",params:{missingProperty:"sourceExpression"},message:"should have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((P=n===s)&&a)a=!1,l=[l,3];else{P&&(a=!0,l=3);const n=s,r=s,c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}var P;if(c===s){const e={keyword:"not",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.source){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(P=n===s)&&a?(a=!1,l=[l,4]):P&&(a=!0,l=4)}}}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/3/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}g=w=n===s}if(!g){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const C=s;let T=!0;const A=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!NY(e.type,"camunda:errorEventDefinition")){const e={};null===o?o=[e]:o.push(e),s++}var k=A===s;if(s=C,null!==o&&(C?o.length=C:o=null),k){const n=s,r=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.errorRef){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",params:{missingProperty:"errorRef"},message:"should have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(c===s&&(a=!0,l=0),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/4/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires errorRef"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}T=k=n===s}if(!T){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("property"!==n&&"camunda:property"!==n&&"camunda:inputParameter"!==n&&"camunda:outputParameter"!==n&&"camunda:in"!==n&&"camunda:out"!==n&&"camunda:in:businessKey"!==n&&"camunda:executionListener"!==n&&"camunda:field"!==n&&"camunda:errorEventDefinition"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",params:{allowedValues:RY.allOf[1].items.properties.binding.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/binding/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/binding/type")||"/"!==n.dataPath[t+"/"+i+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/properties/binding/properties/type")||"/"!==n.schemaPath[50]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",params:{errors:e},message:"invalid property.binding type "+JSON.stringify(n)+"; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={keyword:"type",dataPath:t+"/"+i+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.event&&"string"!=typeof e.event){const e={keyword:"type",dataPath:t+"/"+i+"/binding/event",schemaPath:"#/allOf/1/items/properties/binding/properties/event/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.scriptFormat&&"string"!=typeof e.scriptFormat){const e={keyword:"type",dataPath:t+"/"+i+"/binding/scriptFormat",schemaPath:"#/allOf/1/items/properties/binding/properties/scriptFormat/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={keyword:"type",dataPath:t+"/"+i+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.target&&"string"!=typeof e.target){const e={keyword:"type",dataPath:t+"/"+i+"/binding/target",schemaPath:"#/allOf/1/items/properties/binding/properties/target/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.expression&&"boolean"!=typeof e.expression){const e={keyword:"type",dataPath:t+"/"+i+"/binding/expression",schemaPath:"#/allOf/1/items/properties/binding/properties/expression/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.variables){let n=e.variables;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("all"!==n&&"local"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/enum",params:{allowedValues:RY.allOf[1].items.properties.binding.properties.variables.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.sourceExpression&&"string"!=typeof e.sourceExpression){const e={keyword:"type",dataPath:t+"/"+i+"/binding/sourceExpression",schemaPath:"#/allOf/1/items/properties/binding/properties/sourceExpression/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={required:function(){return'missing binding for property "'+JSON.stringify(i)+'"'}};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const a={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():RY.allOf[1].items.errorMessage[r]};null===o?o=[a]:o.push(a),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/allOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}return $Y.errors=o,0===s}const jY={type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}}],properties:{id:{type:"string",description:"Unique identifier of the property."},value:{$id:"#/properties/property/value",type:["string","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."},condition:{$id:"#/condition",type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}}},oneOf:[{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},minItems:1}},required:["allMatch"]}]}}}};function IY(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const d=s;let h=!0;const m=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"Dropdown")){const e={};null===o?o=[e]:o.push(e),s++}var a=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/items/allOf/0/then/required",params:{missingProperty:"choices"},message:"should have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i&&(0!==n.dataPath.indexOf(t+"/"+i)||"/"!==n.dataPath[t+"/"+i.length])||0!==n.schemaPath.indexOf("#/items/allOf/0/then")||"/"!==n.schemaPath[20]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/items/allOf/0/then/errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}h=a=e===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={keyword:"type",dataPath:t+"/"+i+"/id",schemaPath:"#/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/value",schemaPath:"#/items/properties/value/type",params:{type:jY.items.properties.value.type},message:"should be string,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={keyword:"type",dataPath:t+"/"+i+"/description",schemaPath:"#/items/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={keyword:"type",dataPath:t+"/"+i+"/label",schemaPath:"#/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={keyword:"type",dataPath:t+"/"+i+"/type",schemaPath:"#/items/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={keyword:"type",dataPath:t+"/"+i+"/editable",schemaPath:"#/items/properties/editable/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/name",schemaPath:"#/items/properties/choices/items/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/value",schemaPath:"#/items/properties/choices/items/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(BY(n.condition,{dataPath:t+"/"+i+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:r})||(o=null===o?BY.errors:o.concat(BY.errors),s=o.length))}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/items/properties/choices/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const l={keyword:"errorMessage",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/items/properties/choices/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():jY.items.properties.choices.items.errorMessage[r]};null===o?o=[l]:o.push(l),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices",schemaPath:"#/items/properties/choices/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/items/properties/constraints/properties/notEmpty/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/minLength",schemaPath:"#/items/properties/constraints/properties/minLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/maxLength",schemaPath:"#/items/properties/constraints/properties/maxLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const r=s;let a=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/value",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/message",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}(l=p===s)&&(a=!0,c=0);const u=s;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/1/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}var l;if((l=u===s)&&a?(a=!1,c=[c,1]):l&&(a=!0,c=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints",schemaPath:"#/items/properties/constraints/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={keyword:"type",dataPath:t+"/"+i+"/group",schemaPath:"#/items/properties/group/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/items/properties/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const r=s;let a=!1,l=null;const d=s,h=s;let m=!1,f=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(m=!0,f=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&m)m=!1,f=[f,1];else{c&&(m=!0,f=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&m?(m=!1,f=[f,2]):c&&(m=!0,f=2)}if(m)s=h,null!==o&&(h?o.length=h:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:f},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=MY[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():DY.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/items/properties/condition/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/items/properties/condition/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:DY.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:DY.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!NY(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(a=MY[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={keyword:"errorMessage",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:l},message:e?e():DY.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/items/properties/condition/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/items/properties/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}return IY.errors=o,0===s}function LY(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"appliesTo"},message:"should have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"properties"},message:"should have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={keyword:"type",dataPath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={keyword:"type",dataPath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={keyword:"type",dataPath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.version){let n=e.version;if("number"!=typeof n||n%1||isNaN(n)){const e={keyword:"type",dataPath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",params:{type:"integer"},message:"should be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={keyword:"type",dataPath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.deprecated){let n=e.deprecated;if("boolean"!=typeof n&&(!n||"object"!=typeof n||Array.isArray(n))){const e={keyword:"type",dataPath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",params:{type:SY.allOf[0].properties.deprecated.type},message:"should be boolean,object"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!TY.test(e)){const e={keyword:"pattern",dataPath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",params:{pattern:"^(https|http)://.*"},message:'should match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}}}if(void 0!==e.appliesTo){let n=e.appliesTo;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"==typeof e){if(!AY.test(e)){const e={keyword:"pattern",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'should match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/appliesTo/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/appliesTo/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(36))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const a={keyword:"errorMessage",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():SY.allOf[0].properties.appliesTo.items.errorMessage[r]};null===o?o=[a]:o.push(a),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"==typeof e){if(!AY.test(e)){const e={keyword:"pattern",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'should match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/elementType/value"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType/properties/value")&&/^\/[^\/]*$/.test(n.schemaPath.slice(49))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",params:{errors:e[i]},message:i in n?n[i]():SY.allOf[0].properties.elementType.properties.value.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={keyword:"type",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(i=MY[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",params:{errors:r},message:e?e():SY.allOf[0].properties.elementType.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.metadata){let n=e.metadata;if(!n||"object"!=typeof n||Array.isArray(n)){const e={keyword:"type",dataPath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={keyword:"type",dataPath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={keyword:"required",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={keyword:"required",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/required",params:{missingProperty:"label"},message:"should have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={keyword:"type",dataPath:t+"/groups/"+i+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={keyword:"type",dataPath:t+"/groups/"+i+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{id:[],label:[]}},n={required:{id:function(){return'missing id for group "'+JSON.stringify(i)+'"'},label:function(){return'missing label for group "'+JSON.stringify(i)+'"'}}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/groups/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(r=MY[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",params:{errors:a},message:e?e():SY.allOf[0].properties.groups.items.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!TY.test(n)){const e={keyword:"pattern",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",params:{pattern:"^(https|http)://.*"},message:'should match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/documentationRef"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/documentationRef")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",params:{errors:e[i]},message:i in n?n[i]():SY.allOf[0].properties.documentationRef.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(i=MY[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t,schemaPath:"#/allOf/0/errorMessage",params:{errors:r},message:e?e():SY.allOf[0].errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&($Y(e.properties,{dataPath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:r})||(o=null===o?$Y.errors:o.concat($Y.errors),s=o.length)),void 0!==e.scopes){let n=e.scopes;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];const _=s;let O=!0;const P=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&"bpmn:Error"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var a=P===s;if(s=_,null!==o&&(_?o.length=_:o=null),a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.id){const e={keyword:"required",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/allOf/0/then/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i&&(0!==e.dataPath.indexOf(t+"/scopes/"+i)||"/"!==e.dataPath[t+"/scopes/"+i.length])||0!==e.schemaPath.indexOf("#/properties/scopes/items/allOf/0/then")||"/"!==e.schemaPath[38]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/allOf/0/then/errorMessage",params:{errors:n},message:"invalid scope "+JSON.stringify(e&&e.type)+", missing id"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}O=a=n===s}if(!O){const e={keyword:"if",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={keyword:"required",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/required",params:{missingProperty:"properties"},message:"should have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/type",schemaPath:"#/properties/scopes/items/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("camunda:Connector"!==n&&"bpmn:Error"!==n){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/type",schemaPath:"#/properties/scopes/items/properties/type/enum",params:{allowedValues:SY.properties.scopes.items.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/type"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/type")||"/"!==n.dataPath[t+"/scopes/"+i+5])||0!==n.schemaPath.indexOf("#/properties/scopes/items/properties/type")||"/"!==n.schemaPath[41]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/type",schemaPath:"#/properties/scopes/items/properties/type/errorMessage",params:{errors:e},message:"invalid scope type "+JSON.stringify(n)+"; must be any of { camunda:Connector, bpmn:Error }"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}if(void 0!==e.properties){let n=e.properties;if(IY(n,{dataPath:t+"/scopes/"+i+"/properties",parentData:e,parentDataProperty:"properties",rootData:r})||(o=null===o?IY.errors:o.concat(IY.errors),s=o.length),Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];const a=s;let _=!0;const O=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type&&!NY(t.type,"property")){const e={};null===o?o=[e]:o.push(e),s++}}var l=O===s;if(s=a,null!==o&&(a?o.length=a:o=null),l){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Text"!==n&&"Hidden"!==n&&"Dropdown"!==n&&"Boolean"!==n){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/enum",params:{allowedValues:CY.items.allOf[0].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/type"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/type")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+5])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/0/then/properties/type")||"/"!==n.schemaPath[67]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}_=l=n===s}if(!_){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const P=s;let k=!0;const S=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type&&!NY(t.type,"camunda:executionListener")){const e={};null===o?o=[e]:o.push(e),s++}}var c=S===s;if(s=P,null!==o&&(P?o.length=P:o=null),c){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.type){if("Hidden"!==e.type){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/enum",params:{allowedValues:CY.items.allOf[1].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/type"&&(0!==e.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/type")||"/"!==e.dataPath[t+"/scopes/"+i+"/properties/"+r+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[67]||(n.push(e),e.emUsed=!0);if(n.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e&&e.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.binding){let n=e.binding;const a=s;let l=!1,c=null;const u=s,d=s,h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.implementationType&&!NY(n.implementationType,"script")){const e={};null===o?o=[e]:o.push(e),s++}if(h===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=d,null!==o&&(d?o.length=d:o=null);(p=u===s)&&(l=!0,c=0);const m=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",params:{missingProperty:"scriptFormat"},message:"should have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((p=m===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const e=s,a=s,u=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);const d=s,h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={};null===o?o=[e]:o.push(e),s++}var p;if(h===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=d,null!==o&&(d?o.length=d:o=null);(p=e===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.implementationType){let e=n.implementationType;if("class"!==e&&"delegateExpression"!==e&&"expression"!==e&&"script"!==e){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/implementationType",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",params:{allowedValues:CY.items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}k=c=n===s}if(!k){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const C=s;let T=!0;const A=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type){let e=t.type;if("camunda:property"!==e&&"camunda:outputParameter"!==e&&"camunda:in"!==e&&"camunda:in:businessKey"!==e&&"camunda:out"!==e&&"camunda:errorEventDefinition"!==e){const e={};null===o?o=[e]:o.push(e),s++}}}var u=A===s;if(s=C,null!==o&&(C?o.length=C:o=null),u){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Hidden"!==n&&"Dropdown"!==n){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/enum",params:{allowedValues:CY.items.allOf[2].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const a=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/type"&&(0!==e.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/type")||"/"!==e.dataPath[t+"/scopes/"+i+"/properties/"+r+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[67]||(a.push(e),e.emUsed=!0);if(a.length){const l={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/errorMessage",params:{errors:a},message:"invalid property type "+JSON.stringify(n)+" for binding type "+JSON.stringify(e&&e.binding&&e.binding.type)+"; must be any of { String, Hidden, Dropdown }"};null===o?o=[l]:o.push(l),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}T=u=n===s}if(!T){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const M=s;let R=!0;const D=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.binding){let t=e.binding;if(t&&"object"==typeof t&&!Array.isArray(t))if(void 0===t.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==t.type){let e=t.type;if("camunda:inputParameter"!==e&&"camunda:field"!==e){const e={};null===o?o=[e]:o.push(e),s++}}}var d=D===s;if(s=M,null!==o&&(M?o.length=M:o=null),d){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0!==e.type){let n=e.type;if("String"!==n&&"Text"!==n&&"Hidden"!==n&&"Dropdown"!==n){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/enum",params:{allowedValues:CY.items.allOf[3].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const a=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/type"&&(0!==e.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/type")||"/"!==e.dataPath[t+"/scopes/"+i+"/properties/"+r+5])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[67]||(a.push(e),e.emUsed=!0);if(a.length){const l={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/errorMessage",params:{errors:a},message:"invalid property type "+JSON.stringify(n)+" for binding type "+JSON.stringify(e&&e.binding&&e.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[l]:o.push(l),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}R=d=n===s}if(!R){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.binding){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/required",params:{missingProperty:"binding"},message:"should have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.binding){let n=e.binding;const a=s;let l=!0;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("property"!==e&&"camunda:property"!==e&&"camunda:inputParameter"!==e&&"camunda:field"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var h=c===s;if(s=a,null!==o&&(a?o.length=a:o=null),h){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.name){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires name"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}l=h=e===s}if(!l){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const p=s;let u=!0;const d=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"camunda:outputParameter")){const e={};null===o?o=[e]:o.push(e),s++}var m=d===s;if(s=p,null!==o&&(p?o.length=p:o=null),m){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires source"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}u=m=e===s}if(!u){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const _=s;let O=!0;const P=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"camunda:in")){const e={};null===o?o=[e]:o.push(e),s++}var f=P===s;if(s=_,null!==o&&(_?o.length=_:o=null),f){const e=s,a=s;let l=!1;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var g=c===s;if(l=l||g,!l){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.target){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",params:{missingProperty:"target"},message:"should have required property 'target'"};null===o?o=[e]:o.push(e),s++}g=e===s;l=l||g}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"anyOf",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf",params:{},message:"should match some schema in anyOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires variables, target, or both"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}O=f=e===s}if(!O){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const k=s;let S=!0;const C=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"camunda:out")){const e={};null===o?o=[e]:o.push(e),s++}var y=C===s;if(s=k,null!==o&&(k?o.length=k:o=null),y){const e=s,a=s;let l=!1,c=null;const p=s,u=s,d=s,h=s;let m=!1;const f=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}var v=f===s;if(m=m||v,!m){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}v=e===s;m=m||v}if(m)s=h,null!==o&&(h?o.length=h:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(d===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=u,null!==o&&(u?o.length=u:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(w=p===s)&&(l=!0,c=0);const g=s,E=s,_=s,O=s;let P=!1;const k=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={};null===o?o=[e]:o.push(e),s++}var b=k===s;if(P=P||b,!P){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}b=e===s;P=P||b}if(P)s=O,null!==o&&(O?o.length=O:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(_===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=E,null!==o&&(E?o.length=E:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((w=g===s)&&l)l=!1,c=[c,1];else{w&&(l=!0,c=1);const e=s,a=s,p=s,u=s;let d=!1;const h=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.variables){const e={};null===o?o=[e]:o.push(e),s++}var x=h===s;if(d=d||x,!d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}x=e===s;d=d||x}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(p===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",params:{missingProperty:"sourceExpression"},message:"should have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((w=e===s)&&l)l=!1,c=[c,2];else{w&&(l=!0,c=2);const e=s,a=s,p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={};null===o?o=[e]:o.push(e),s++}if(p===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.variables){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.sourceExpression){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",params:{missingProperty:"sourceExpression"},message:"should have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((w=e===s)&&l)l=!1,c=[c,3];else{w&&(l=!0,c=3);const e=s,a=s,p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.sourceExpression){const e={};null===o?o=[e]:o.push(e),s++}var w;if(p===s){const e={keyword:"not",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=a,null!==o&&(a?o.length=a:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.variables){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",params:{missingProperty:"variables"},message:"should have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.source){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(w=e===s)&&l?(l=!1,c=[c,4]):w&&(l=!0,c=4)}}}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires one of the following: variables, sourceExpression, source, (sourceExpression and variables), or (source and variables)"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}S=y=e===s}if(!S){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const T=s;let A=!0;const M=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!NY(n.type,"camunda:errorEventDefinition")){const e={};null===o?o=[e]:o.push(e),s++}var E=M===s;if(s=T,null!==o&&(T?o.length=T:o=null),E){const e=s,a=s;let l=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.errorRef){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",params:{missingProperty:"errorRef"},message:"should have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(p===s&&(l=!0,c=0),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding"&&(0!==n.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding")||"/"!==n.dataPath[t+"/scopes/"+i+"/properties/"+r+8])||0!==n.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then")||"/"!==n.schemaPath[70]||(e.push(n),n.emUsed=!0);if(e.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/errorMessage",params:{errors:e},message:"property.binding "+JSON.stringify(n&&n.type)+" requires errorRef"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}A=E=e===s}if(!A){const e={keyword:"if",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={keyword:"required",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type){let e=n.type;if("string"!=typeof e){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("property"!==e&&"camunda:property"!==e&&"camunda:inputParameter"!==e&&"camunda:outputParameter"!==e&&"camunda:in"!==e&&"camunda:out"!==e&&"camunda:in:businessKey"!==e&&"camunda:executionListener"!==e&&"camunda:field"!==e&&"camunda:errorEventDefinition"!==e){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/enum",params:{allowedValues:CY.items.properties.binding.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/scopes/"+i+"/properties/"+r+"/binding/type"&&(0!==e.dataPath.indexOf(t+"/scopes/"+i+"/properties/"+r+"/binding/type")||"/"!==e.dataPath[t+"/scopes/"+i+"/properties/"+r+13])||0!==e.schemaPath.indexOf("#/definitions/properties/allOf/1/items/properties/binding/properties/type")||"/"!==e.schemaPath[73]||(n.push(e),e.emUsed=!0);if(n.length){const a={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/errorMessage",params:{errors:n},message:"invalid property.binding type "+JSON.stringify(e)+"; must be any of { property, camunda:property, camunda:inputParameter, camunda:outputParameter, camunda:in, camunda:out, camunda:in:businessKey, camunda:executionListener, camunda:field, camunda:errorEventDefinition }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==n.name&&"string"!=typeof n.name){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/name",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.event&&"string"!=typeof n.event){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/event",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/event/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.scriptFormat&&"string"!=typeof n.scriptFormat){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/scriptFormat",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/scriptFormat/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.source&&"string"!=typeof n.source){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/source",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/source/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.target&&"string"!=typeof n.target){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/target",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/target/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.expression&&"boolean"!=typeof n.expression){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/expression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/expression/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.variables){let e=n.variables;if("string"!=typeof e){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("all"!==e&&"local"!==e){const e={keyword:"enum",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/enum",params:{allowedValues:CY.items.properties.binding.properties.variables.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.sourceExpression&&"string"!=typeof n.sourceExpression){const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding/sourceExpression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/sourceExpression/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={required:function(){return'missing binding for property "'+JSON.stringify(r)+'"'}};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/scopes/"+i+"/properties/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(38))&&(e[n.keyword].push(n),n.emUsed=!0);for(const a in e)if(e[a].length){const l={keyword:"errorMessage",dataPath:t+"/scopes/"+i+"/properties/"+r,schemaPath:"#/definitions/properties/allOf/1/items/errorMessage",params:{errors:e[a]},message:a in n?n[a]():CY.items.errorMessage[a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}}else{const e={keyword:"type",dataPath:t+"/scopes/"+i+"/properties",schemaPath:"#/definitions/properties/allOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const n={required:{type:[],properties:[]}},r={required:{properties:function(){return"invalid scope "+JSON.stringify(e&&e.type)+", missing properties=[]"}}};let a,l;for(const e of o)"errorMessage"!==e.keyword&&!e.emUsed&&e.dataPath===t+"/scopes/"+i&&e.keyword in n&&0===e.schemaPath.indexOf("#/properties/scopes/items")&&/^\/[^\/]*$/.test(e.schemaPath.slice(25))&&(a=MY[e.keyword],l=n[e.keyword][e.params[a]],l&&(l.push(e),e.emUsed=!0));for(const e in n)for(const a in n[e])if(l=n[e][a],l.length){const n=r[e]&&r[e][a],c={keyword:"errorMessage",dataPath:t+"/scopes/"+i,schemaPath:"#/properties/scopes/items/errorMessage",params:{errors:l},message:n?n():SY.properties.scopes.items.errorMessage[e][a]};null===o?o=[c]:o.push(c),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={keyword:"type",dataPath:t+"/scopes",schemaPath:"#/properties/scopes/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}return LY.errors=o,0===s}function qY(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;LY(e,{dataPath:t,parentData:n,parentDataProperty:i,rootData:r})||(o=null===o?LY.errors:o.concat(LY.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++)LY(e[i],{dataPath:t+"/"+i,parentData:e,parentDataProperty:i,rootData:r})||(o=null===o?LY.errors:o.concat(LY.errors),s=o.length)}else{const e={keyword:"type",dataPath:t,schemaPath:"#/oneOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}var d;if((d=u===s)&&l?(l=!1,c=[c,1]):d&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return qY.errors=o,0===s}var zY={},VY={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",'"':'"',"/":"/","\\":"\\"},FY="a".charCodeAt();zY.parse=function(e,t,n){var i={},r=0,o=0,s=0,a=n&&n.bigint&&"undefined"!=typeof BigInt;return{data:l("",!0),pointers:i};function l(t,n){var i;c(),g(t,"value");var r=d();switch(r){case"t":u("rue"),i=!0;break;case"f":u("alse"),i=!1;break;case"n":u("ull"),i=null;break;case'"':i=p();break;case"[":i=function(e){c();var t=[],n=0;if("]"==d())return t;h();for(;;){var i=e+"/"+n;t.push(l(i)),c();var r=d();if("]"==r)break;","!=r&&x(),c(),n++}return t}(t);break;case"{":i=function(e){c();var t={};if("}"==d())return t;h();for(;;){var n=v();'"'!=d()&&x();var i=p(),r=e+"/"+tZ(i);y(r,"key",n),g(r,"keyEnd"),c(),":"!=d()&&x(),c(),t[i]=l(r),c();var o=d();if("}"==o)break;","!=o&&x(),c()}return t}(t);break;default:h(),"-0123456789".indexOf(r)>=0?i=function(){var t="",n=!0;"-"==e[s]&&(t+=d());t+="0"==e[s]?d():f(),"."==e[s]&&(t+=d()+f(),n=!1);"e"!=e[s]&&"E"!=e[s]||(t+=d(),"+"!=e[s]&&"-"!=e[s]||(t+=d()),t+=f(),n=!1);var i=+t;return a&&n&&(i>Number.MAX_SAFE_INTEGER||i<Number.MIN_SAFE_INTEGER)?BigInt(t):i}():b()}return g(t,"valueEnd"),c(),n&&s<e.length&&b(),i}function c(){e:for(;s<e.length;){switch(e[s]){case" ":o++;break;case"\t":o+=4;break;case"\r":o=0;break;case"\n":o=0,r++;break;default:break e}s++}}function p(){for(var e,t="";'"'!=(e=d());)"\\"==e?(e=d())in VY?t+=VY[e]:"u"==e?t+=m():x():t+=e;return t}function u(e){for(var t=0;t<e.length;t++)d()!==e[t]&&x()}function d(){w();var t=e[s];return s++,o++,t}function h(){s--,o--}function m(){for(var e=4,t=0;e--;){t<<=4;var n=d().toLowerCase();n>="a"&&n<="f"?t+=n.charCodeAt()-FY+10:n>="0"&&n<="9"?t+=+n:x()}return String.fromCharCode(t)}function f(){for(var t="";e[s]>="0"&&e[s]<="9";)t+=d();if(t.length)return t;w(),b()}function g(e,t){y(e,t,v())}function y(e,t,n){i[e]=i[e]||{},i[e][t]=n}function v(){return{line:r,column:o,pos:s}}function b(){throw new SyntaxError("Unexpected token "+e[s]+" in JSON at position "+s)}function x(){h(),b()}function w(){if(s>=e.length)throw new SyntaxError("Unexpected end of JSON input")}},zY.stringify=function(e,t,n){if(UY(e)){var i,r,o=0,s="object"==typeof n?n.space:n;switch(typeof s){case"number":var a=s>10?10:s<0?0:Math.floor(s);s=a&&v(a," "),i=a,r=a;break;case"string":s=s.slice(0,10),i=0,r=0;for(var l=0;l<s.length;l++){switch(s[l]){case" ":r++;break;case"\t":r+=4;break;case"\r":r=0;break;case"\n":r=0,o++;break;default:throw new Error("whitespace characters not allowed in JSON")}i++}break;default:s=void 0}var c="",p={},u=0,d=0,h=0,m=n&&n.es6&&"function"==typeof Map;return function e(t,n,i){switch(y(i,"value"),typeof t){case"number":case"bigint":case"boolean":f(""+t);break;case"string":f(ZY(t));break;case"object":null===t?f("null"):"function"==typeof t.toJSON?f(ZY(t.toJSON())):Array.isArray(t)?r():m?t.constructor.BYTES_PER_ELEMENT?r():t instanceof Map?a():t instanceof Set?a(!0):o():o()}function r(){if(t.length){f("[");for(var r=n+1,o=0;o<t.length;o++){o&&f(","),g(r);var s=UY(t[o])?t[o]:null;e(s,r,i+"/"+o)}g(n),f("]")}else f("[]")}function o(){var r=Object.keys(t);if(r.length){f("{");for(var o=n+1,a=0;a<r.length;a++){var l=r[a],c=t[l];if(UY(c)){a&&f(",");var p=i+"/"+tZ(l);g(o),y(p,"key"),f(ZY(l)),y(p,"keyEnd"),f(":"),s&&f(" "),e(c,o,p)}}g(n),f("}")}else f("{}")}function a(r){if(t.size){f("{");for(var o=n+1,a=!0,l=t.entries(),c=l.next();!c.done;){var p=c.value,u=p[0],d=!!r||p[1];if(UY(d)){a||f(","),a=!1;var h=i+"/"+tZ(u);g(o),y(h,"key"),f(ZY(u)),y(h,"keyEnd"),f(":"),s&&f(" "),e(d,o,h)}c=l.next()}g(n),f("}")}else f("{}")}y(i,"valueEnd")}(e,0,""),{json:c,pointers:p}}function f(e){d+=e.length,h+=e.length,c+=e}function g(e){if(s){for(c+="\n"+v(e,s),u++,d=0;e--;)o?(u+=o,d=r):d+=r,h+=i;h+=1}}function y(e,t){p[e]=p[e]||{},p[e][t]={line:u,column:d,pos:h}}function v(e,t){return Array(e+1).join(t)}};var HY=["number","bigint","boolean","string","object"];function UY(e){return HY.indexOf(typeof e)>=0}var WY=/"|\\/g,XY=/[\b]/g,GY=/\f/g,QY=/\n/g,KY=/\r/g,YY=/\t/g;function ZY(e){return'"'+(e=e.replace(WY,"\\$&").replace(GY,"\\f").replace(XY,"\\b").replace(QY,"\\n").replace(KY,"\\r").replace(YY,"\\t"))+'"'}var JY=/~/g,eZ=/\//g;function tZ(e){return e.replace(JY,"~0").replace(eZ,"~1")}function nZ(e,t){const n=function(e){return zY.stringify(e,null,2).pointers}(e),i=t(e);let r=t.errors;return r&&r.length&&(b(r,iZ),r=function(e){return v(e,(function(e){return"if"!==e.keyword}))}(r),b(r,(function(e){!function(e,t){const n=e.dataPath,i=t[n];e.dataPointer=i}(e,n)}))),{valid:i,object:e,errors:r}}function iZ(e){const t=e.params;t&&t.errors&&(t.rawErrors=t.errors,delete t.errors)}var rZ={exports:{}};rZ.exports=gZ,rZ.exports.default=gZ;const oZ={type:"object",allOf:[{required:["name","id","appliesTo","properties"],properties:{name:{$id:"#/name",type:"string",description:"The name of the element template."},id:{$id:"#/id",type:"string",description:"The identifier of the element template."},description:{$id:"#/description",type:"string",description:"The description of the element template."},version:{$id:"#/version",type:"integer",description:"Optional version of the template. If you add a version to a template it will be considered unique based on its ID and version. Two templates can have the same ID if their version is different."},isDefault:{$id:"#/isDefault",type:"boolean",description:"Indicates whether the element template is a default template."},deprecated:{$id:"#/deprecated",type:["boolean","object"],description:"Indicates whether the element template is deprecated.",properties:{message:{$id:"#/deprecated/message",type:"string",description:"Optional message to describe migration path."},documentationRef:{$id:"#/deprecated/documentationRef",type:"string",pattern:"^(https|http)://.*",description:"Optional link to migration documentation."}}},appliesTo:{$id:"#/appliesTo",type:"array",description:"List of BPMN types the template can be applied to.",default:[],items:{$id:"#/appliesTo/items",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:Task","bpmn:ServiceTask","bpmn:SequenceFlow","bpmn:Process","bpmn:StartEvent","bpmn:Gateway"]}],errorMessage:{pattern:'invalid item for "appliesTo", should contain namespaced property, example: "bpmn:Task"'}}},elementType:{$id:"#/elementType",type:"object",description:"The BPMN type the element will be transformed into.",default:{},required:["value"],properties:{value:{$id:"#/elementType/value",type:"string",pattern:"^[\\w\\d]+:[\\w\\d]+$",allOf:[{examples:["bpmn:ServiceTask","bpmn:UserTask","bpmn:StartEvent","bpmn:ExclusiveGateway","bpmn:ParallelGateway"]}],errorMessage:{pattern:'invalid item for "elementType", should contain namespaced property, example: "bpmn:Task"'}}},errorMessage:{required:{value:"missing elementType value"}}},metadata:{$id:"#/metadata",type:"object",description:"Some custom properties for further configuration.",default:{}},entriesVisible:{$id:"#/entriesVisible",type:"boolean",description:"Select whether non-template entries are visible in the properties panel."},groups:{$id:"#/groups",type:"array",description:"Custom fields can be ordered together via groups.",allOf:[{examples:[[{id:"group-1",label:"My Group"}]]}],items:{$id:"#/groups/group",type:"object",default:{},required:["id","label"],properties:{id:{$id:"#/groups/group/id",type:"string",description:"The id of the custom group"},label:{$id:"#/groups/group/label",type:"string",description:"The label of the custom group"}},errorMessage:{required:{id:'missing id for group "${0#}"',label:'missing label for group "${0#}"'}}}},documentationRef:{$id:"#/documentationRef",type:"string",pattern:"^(https|http)://.*",errorMessage:{pattern:'Malformed documentation URL, must match "^(https|http)://.*"'}}},errorMessage:{required:{name:"missing template name",id:"missing template id",appliesTo:"missing appliesTo=[]",properties:"missing properties=[]"}}},{allOf:[{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"bpmn:Message#property"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{enum:["bpmn:ReceiveTask","bpmn:SendTask","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},allOf:[{if:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}}},then:{eventDefinition:{const:"bpmn:MessageEventDefinition"},required:["eventDefinition"]}}]}}}},{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"bpmn:Message#zeebe:subscription#property"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{enum:["bpmn:ReceiveTask","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},allOf:[{if:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}}},then:{eventDefinition:{const:"bpmn:MessageEventDefinition"},required:["eventDefinition"]}}]}}}}]}],properties:{properties:{$ref:"#/definitions/properties",$id:"#/properties"},icon:{$id:"#/icon",type:"object",description:"Custom icon to be shown on the element",default:{},properties:{contents:{$id:"#/icon/contents",type:"string",description:"The URL of an icon.",pattern:"^(https?|data):.*",errorMessage:{pattern:"Malformed icon source, must be a valid HTTP(s) or data URL"}}},required:["contents"],errorMessage:{required:{contents:"missing icon contents"}}},elementType:{allOf:[{allOf:[{properties:{eventDefinition:{$id:"#/elementType/eventDefinition",enum:["bpmn:MessageEventDefinition"]}}},{if:{required:["eventDefinition"]},then:{properties:{value:{enum:["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:EndEvent"]}},required:["value"]}}]}]},groups:{items:{properties:{tooltip:{$id:"#/groups/group/tooltip",type:"string"},openByDefault:{$id:"#/groups/group/openByDefault",type:"boolean",description:"Specifies whether the Group should be opened when first viewed. Defaults to true.",default:!0}}}}}},sZ=new RegExp("^(https|http)://.*","u"),aZ=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),lZ=new RegExp("^(https?|data):.*","u"),cZ={required:"missingProperty",dependencies:"property",dependentRequired:"property"},pZ=PY.exports,uZ={allOf:[{type:"array",description:"List of properties of the element template.",allOf:[{examples:[[{label:"Name",type:"String",binding:{type:"property",name:"name"}}]]}],items:{type:"object",default:{},allOf:[{if:{properties:{type:{const:"Dropdown"}},required:["type"]},then:{required:["choices"],errorMessage:'must provide choices=[] with "Dropdown" type'}}],properties:{id:{type:"string",description:"Unique identifier of the property."},value:{$id:"#/properties/property/value",type:["string","boolean"],description:"The value of a control field."},description:{$id:"#/properties/property/description",type:"string",description:"The description of a control field."},label:{$id:"#/properties/property/label",type:"string",description:"The label of a control field."},type:{$id:"#/properties/property/type",type:"string",description:"The type of a control field."},editable:{$id:"#/properties/property/editable",type:"boolean",description:"Indicates whether a control field is editable or not."},choices:{$id:"#/properties/property/choices",type:"array",description:"The choices for dropdown fields.",default:[],items:{$id:"#/properties/property/choices/item",type:"object",default:{},properties:{name:{$id:"#/properties/property/choices/item/name",type:"string",description:"The name of a choice."},value:{$id:"#/properties/property/choices/item/value",type:"string",description:"The value of a choice."},condition:{$ref:"#/definitions/properties/allOf/0/items/properties/condition"}},required:["value","name"],errorMessage:{required:'{ name, value } must be specified for "Dropdown" choices'}}},constraints:{$id:"#/properties/property/constraints",type:"object",description:"The validation constraints of a control field.",allOf:[{examples:[{notEmpty:!0}]}],properties:{notEmpty:{$id:"#/properties/property/constraints/notEmpty",type:"boolean",description:"The control field must not be empty."},minLength:{$id:"#/properties/property/constraints/minLength",type:"number",description:"The minimal length of a control field value."},maxLength:{$id:"#/properties/property/constraints/maxLength",type:"number",description:"The maximal length for a control field value."},pattern:{$id:"#/properties/property/constraints/pattern",description:"A regular expression pattern for a constraint.",oneOf:[{type:"object",default:{},properties:{value:{$id:"#/properties/property/constraints/pattern/value",type:"string",description:"The regular expression of a pattern."},message:{$id:"#/properties/property/constraints/pattern/message",type:"string",description:"The validation message of a pattern."}}},{type:"string"}]}}},group:{$id:"#/properties/property/group",type:"string",description:"The custom group of a control field."},condition:{$id:"#/condition",type:"object",description:"Condition(s) to activate the binding.",allOf:[{examples:[{type:"simple",property:"httpMethod",equals:"GET"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]},{allMatch:[{type:"simple",property:"authType",equals:"Basic"},{type:"simple",property:"httpMethod",oneOf:["POST","PUT","DELETE"]}]}]}],definitions:{condition:{type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}}},oneOf:[{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition"},minItems:1}},required:["allMatch"]}]}}}},{$schema:"http://json-schema.org/draft-07/schema",type:"array",description:"List of properties of the element template.",items:{type:"object",default:{},required:["binding"],allOf:[{if:{properties:{binding:{properties:{type:{const:"property"}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'}}}},{if:{properties:{binding:{properties:{type:{enum:["zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader","zeebe:taskDefinition:type","bpmn:Message#property","bpmn:Message#zeebe:subscription#property","zeebe:taskDefinition"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown }"}}}},{if:{properties:{optional:{const:!0}},required:["optional"]},then:{properties:{binding:{properties:{type:{enum:["zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader"],errorMessage:"optional is not supported for binding type ${0}; must be any of { zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader }"}},required:["type"]}}}},{if:{properties:{optional:{const:!0}},required:["optional"]},then:{properties:{constraints:{properties:{notEmpty:{const:!1,errorMessage:'optional is not allowed for truthy "notEmpty" constraint'}},required:["notEmpty"]}}}},{if:{properties:{feel:{not:{const:null}}},required:["feel"]},then:{properties:{type:{enum:["String","Text"],errorMessage:'feel is only supported for "String" and "Text" type'}},required:["type"]}},{if:{properties:{language:{not:{const:null}}},required:["language"]},then:{properties:{type:{enum:["Text"],errorMessage:'language is only supported for "Text" type'}}}},{if:{required:["value"]},then:{not:{required:["generatedValue"]}}},{if:{properties:{type:{enum:["Boolean","Dropdown"]}},required:["type"]},then:{not:{required:["generatedValue"]}}}],properties:{binding:{$id:"#/properties/property/binding",type:"object",description:"Specifying how the property is mapped to BPMN or Zeebe extension elements and attributes.",required:["type"],allOf:[{if:{properties:{type:{enum:["property","zeebe:property","zeebe:input","bpmn:Message#property","bpmn:Message#zeebe:subscription#property"]}},required:["type"]},then:{required:["name"],errorMessage:"property.binding ${0/type} requires name"}},{if:{properties:{type:{const:"zeebe:output"}},required:["type"]},then:{required:["source"],errorMessage:"property.binding ${0/type} requires source"}},{if:{properties:{type:{const:"zeebe:taskHeader"}},required:["type"]},then:{required:["key"],errorMessage:"property.binding ${0/type} requires key"}},{if:{properties:{type:{const:"zeebe:taskDefinition"}},required:["type"]},then:{properties:{property:{enum:["type","retries"]}},required:["property"]}},{if:{properties:{type:{const:"zeebe:taskDefinition:type"}},required:["type"]},then:{deprecated:!0}},{examples:[{type:"property",name:"name"},{type:"zeebe:input",name:"input"},{type:"zeebe:output",source:"output"},{type:"zeebe:property",name:"property"},{type:"zeebe:taskHeader",key:"key"},{type:"zeebe:taskDefinition",property:"retries"},{type:"zeebe:taskDefinition",property:"type"}]}],properties:{type:{$id:"#/properties/property/binding/type",type:"string",description:"The type of a property binding.",enum:["property","zeebe:taskDefinition:type","zeebe:input","zeebe:output","zeebe:property","zeebe:taskHeader","bpmn:Message#property","bpmn:Message#zeebe:subscription#property","zeebe:taskDefinition"],errorMessage:"invalid property.binding type ${0}; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property }"},name:{$id:"#/properties/property/binding/name",type:"string",description:"The name of a property binding."},source:{$id:"#/properties/property/binding/source",type:"string",description:"The source value of a property binding (zeebe:output)."},key:{$id:"#/properties/property/binding/key",type:"string",description:"The key value of a property binding (zeebe:taskHeader)."},property:{$id:"#/properties/property/binding/property",type:"string",description:"The name of the property defined in the binding."}}},optional:{$id:"#/optional",type:"boolean",description:"Indicates whether a property is optional. Optional bindings do not persist empty values in the underlying BPMN 2.0 XML."},feel:{$id:"#/properties/property/feel",type:"string",default:null,description:"Indicates whether the property can be a feel expression",enum:[null,"optional","required"]},language:{$id:"#/properties/property/language",type:"string",description:"Indicates that the field is a custom language editor"},generatedValue:{$id:"#/properties/property/generatedValue",type:"object",required:["type"],properties:{type:{const:"uuid"}},description:"Sets property to a generated value according to given scheme."},tooltip:{$id:"#/properties/property/tooltip",type:"string",description:"Hints for the control field."}},errorMessage:{required:{binding:'missing binding for property "${0#}"'}}}}]},dZ={type:"object",required:["property"],properties:{type:{$id:"#/condition/type",const:"simple",description:"The type of the condition.",default:"simple"},property:{$id:"#/condition/property",type:"string",description:"The id of the property to check."}},oneOf:[{properties:{equals:{type:["string","number","boolean"]}},required:["equals"]},{properties:{oneOf:{type:"array",items:{type:["string","number"]}}},required:["oneOf"]},{properties:{isActive:{type:"boolean",description:"For `true`, activates the property when given property is active"}},required:["isActive"]}],errorMessage:{required:{property:"missing property name for condition"}}};function hZ(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const a=s;let l=!1,c=null;const p=s,u=s;let d=!1,h=null;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:dZ.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=m===s)&&(d=!0,h=0);const f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:dZ.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((g=f===s)&&d)d=!1,h=[h,1];else{g&&(d=!0,h=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var g;(g=n===s)&&d?(d=!1,h=[h,2]):g&&(d=!0,h=2)}if(d)s=u,null!==o&&(u?o.length=u:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:h},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"simple")){const e={keyword:"const",dataPath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(i=cZ[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:r},message:e?e():dZ.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}(b=p===s)&&(l=!0,c=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t,schemaPath:"#/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let i=0;i<e;i++){let e=n[i];const r=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:dZ.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(v=c===s)&&(a=!0,l=0);const p=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:dZ.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((v=p===s)&&a)a=!1,l=[l,1];else{v&&(a=!0,l=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var v;(v=n===s)&&a?(a=!1,l=[l,2]):v&&(a=!0,l=2)}if(a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"simple")){const e={keyword:"const",dataPath:t+"/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=cZ[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():dZ.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var b;if((b=y===s)&&l?(l=!1,c=[c,1]):b&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return hZ.errors=o,0===s}function mZ(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const d=s;let h=!0;const m=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type&&!pZ(n.type,"Dropdown")){const e={};null===o?o=[e]:o.push(e),s++}var a=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/then/required",params:{missingProperty:"choices"},message:"should have required property 'choices'"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i&&(0!==n.dataPath.indexOf(t+"/"+i)||"/"!==n.dataPath[t+"/"+i.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",params:{errors:e},message:'must provide choices=[] with "Dropdown" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}h=a=e===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.id&&"string"!=typeof n.id){const e={keyword:"type",dataPath:t+"/"+i+"/id",schemaPath:"#/allOf/0/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/value",schemaPath:"#/allOf/0/items/properties/value/type",params:{type:uZ.allOf[0].items.properties.value.type},message:"should be string,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={keyword:"type",dataPath:t+"/"+i+"/description",schemaPath:"#/allOf/0/items/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={keyword:"type",dataPath:t+"/"+i+"/label",schemaPath:"#/allOf/0/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={keyword:"type",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/0/items/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={keyword:"type",dataPath:t+"/"+i+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.choices){let e=n.choices;if(Array.isArray(e)){const n=e.length;for(let a=0;a<n;a++){let n=e[a];if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={keyword:"required",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(hZ(n.condition,{dataPath:t+"/"+i+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:r})||(o=null===o?hZ.errors:o.concat(hZ.errors),s=o.length))}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/choices/"+a&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/items/properties/choices/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(40))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const l={keyword:"errorMessage",dataPath:t+"/"+i+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():uZ.allOf[0].items.properties.choices.items.errorMessage[r]};null===o?o=[l]:o.push(l),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.notEmpty&&"boolean"!=typeof e.notEmpty){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",params:{type:"number"},message:"should be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const r=s;let a=!1,c=null;const p=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}(l=p===s)&&(a=!0,c=0);const u=s;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}var l;if((l=u===s)&&a?(a=!1,c=[c,1]):l&&(a=!0,c=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={keyword:"type",dataPath:t+"/"+i+"/group",schemaPath:"#/allOf/0/items/properties/group/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.condition){let e=n.condition;if(!e||"object"!=typeof e||Array.isArray(e)){const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}const r=s;let a=!1,l=null;const d=s,h=s;let m=!1,f=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:dZ.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(m=!0,f=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:dZ.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&m)m=!1,f=[f,1];else{c&&(m=!0,f=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&m?(m=!1,f=[f,2]):c&&(m=!0,f=2)}if(m)s=h,null!==o&&(h?o.length=h:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:f},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(r=cZ[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/"+i+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:a},message:e?e():dZ.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}(u=d===s)&&(a=!0,l=0);const v=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.allMatch){const e={keyword:"required",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/required",params:{missingProperty:"allMatch"},message:"should have required property 'allMatch'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.allMatch){let n=e.allMatch;if(Array.isArray(n)){if(n.length<1){const e={keyword:"minItems",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/properties/allMatch/minItems",params:{limit:1},message:"should NOT have fewer than 1 items"};null===o?o=[e]:o.push(e),s++}const e=n.length;for(let r=0;r<e;r++){let e=n[r];const a=s;let l=!1,c=null;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/required",params:{missingProperty:"equals"},message:"should have required property 'equals'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.equals){let n=e.equals;if("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/0/properties/equals/type",params:{type:dZ.oneOf[0].properties.equals.type},message:"should be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(p=u===s)&&(l=!0,c=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/required",params:{missingProperty:"oneOf"},message:"should have required property 'oneOf'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.oneOf){let n=e.oneOf;if(Array.isArray(n)){const e=n.length;for(let a=0;a<e;a++){let e=n[a];if("string"!=typeof e&&"number"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/items/type",params:{type:dZ.oneOf[1].properties.oneOf.items.type},message:"should be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/1/properties/oneOf/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}if((p=d===s)&&l)l=!1,c=[c,1];else{p&&(l=!0,c=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/required",params:{missingProperty:"isActive"},message:"should have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf/2/properties/isActive/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}var p;(p=n===s)&&l?(l=!1,c=[c,2]):p&&(l=!0,c=2)}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"simple")){const e={keyword:"const",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/type/const",params:{allowedValue:"simple"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let a,l;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i+"/condition/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/properties/condition/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(81))&&(a=cZ[n.keyword],l=e[n.keyword][n.params[a]],l&&(l.push(n),n.emUsed=!0));for(const a in e)for(const c in e[a])if(l=e[a][c],l.length){const e=n[a]&&n[a][c],p={keyword:"errorMessage",dataPath:t+"/"+i+"/condition/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/properties/condition/definitions/condition/errorMessage",params:{errors:l},message:e?e():dZ.errorMessage[a][c]};null===o?o=[p]:o.push(p),s++}const c=[];for(const e of o)e.emUsed||c.push(e);o=c,s=c.length}}}else{const e={keyword:"type",dataPath:t+"/"+i+"/condition/allMatch",schemaPath:"#/allOf/0/items/properties/condition/oneOf/1/properties/allMatch/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}}var u;if((u=v===s)&&a?(a=!1,l=[l,1]):u&&(a=!0,l=1),a)s=r,null!==o&&(r?o.length=r:o=null);else{const e={keyword:"oneOf",dataPath:t+"/"+i+"/condition",schemaPath:"#/allOf/0/items/properties/condition/oneOf",params:{passingSchemas:l},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/allOf/0/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/allOf/0/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++){let n=e[i];const r=s;let a=!0;const l=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"property")){const e={};null===o?o=[e]:o.push(e),s++}}var d=l===s;if(s=r,null!==o&&(r?o.length=r:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[0].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/0/then/properties/type")||"/"!==e.schemaPath[44]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean }'};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}a=d=e===s}if(!a){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("zeebe:input"!==t&&"zeebe:output"!==t&&"zeebe:property"!==t&&"zeebe:taskHeader"!==t&&"zeebe:taskDefinition:type"!==t&&"bpmn:Message#property"!==t&&"bpmn:Message#zeebe:subscription#property"!==t&&"zeebe:taskDefinition"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var h=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),h){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[1].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const r=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/type"&&(0!==e.dataPath.indexOf(t+"/"+i+"/type")||"/"!==e.dataPath[t+"/"+i+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[44]||(r.push(e),e.emUsed=!0);if(r.length){const a={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",params:{errors:r},message:"invalid property type "+JSON.stringify(e)+" for binding type "+JSON.stringify(n&&n.binding&&n.binding.type)+"; must be any of { String, Text, Hidden, Dropdown }"};null===o?o=[a]:o.push(a),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}p=h=e===s}if(!p){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!0;const k=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.optional){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.optional&&!pZ(n.optional,!0)){const e={};null===o?o=[e]:o.push(e),s++}var m=k===s;if(s=O,null!==o&&(O?o.length=O:o=null),m){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("zeebe:input"!==n&&"zeebe:output"!==n&&"zeebe:property"!==n&&"zeebe:taskHeader"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[2].then.properties.binding.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/binding/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/binding/type")||"/"!==n.dataPath[t+"/"+i+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/binding/properties/type")||"/"!==n.schemaPath[63]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/errorMessage",params:{errors:e},message:"optional is not supported for binding type "+JSON.stringify(n)+"; must be any of { zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader }"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}}P=m=e===s}if(!P){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const S=s;let C=!0;const T=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.optional){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.optional&&!pZ(n.optional,!0)){const e={};null===o?o=[e]:o.push(e),s++}var f=T===s;if(s=S,null!==o&&(S?o.length=S:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.constraints){let e=n.constraints;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.notEmpty){const e={keyword:"required",dataPath:t+"/"+i+"/constraints",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/required",params:{missingProperty:"notEmpty"},message:"should have required property 'notEmpty'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.notEmpty){if(!pZ(e.notEmpty,!1)){const e={keyword:"const",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/const",params:{allowedValue:!1},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/constraints/notEmpty"&&(0!==n.dataPath.indexOf(t+"/"+i+"/constraints/notEmpty")||"/"!==n.dataPath[t+"/"+i+21])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty")||"/"!==n.schemaPath[71]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/errorMessage",params:{errors:e},message:'optional is not allowed for truthy "notEmpty" constraint'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}}}C=f=e===s}if(!C){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const A=s;let M=!0;const R=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.feel){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.feel){const e=s,t=s;if(!pZ(n.feel,uZ.allOf[1].items.allOf[4].if.properties.feel.not.const)){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var g=R===s;if(s=A,null!==o&&(A?o.length=A:o=null),g){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/4/then/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[4].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/type")||"/"!==n.dataPath[t+"/"+i+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/4/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/errorMessage",params:{errors:e},message:'feel is only supported for "String" and "Text" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}}M=g=e===s}if(!M){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/4/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const D=s;let N=!0;const B=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.language){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.language){const e=s,t=s;if(!pZ(n.language,uZ.allOf[1].items.allOf[5].if.properties.language.not.const)){const e={};null===o?o=[e]:o.push(e),s++}if(t===s){const e={};null===o?o=[e]:o.push(e),s++}else s=e,null!==o&&(e?o.length=e:o=null)}var y=B===s;if(s=D,null!==o&&(D?o.length=D:o=null),y){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){if("Text"!==n.type){const e={keyword:"enum",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.allOf[5].then.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/type")||"/"!==n.dataPath[t+"/"+i+5])||0!==n.schemaPath.indexOf("#/allOf/1/items/allOf/5/then/properties/type")||"/"!==n.schemaPath[44]||(e.push(n),n.emUsed=!0);if(e.length){const n={keyword:"errorMessage",dataPath:t+"/"+i+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/errorMessage",params:{errors:e},message:'language is only supported for "Text" type'};null===o?o=[n]:o.push(n),s++}const n=[];for(const e of o)e.emUsed||n.push(e);o=n,s=n.length}}N=y=e===s}if(!N){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/5/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const $=s;let j=!0;const I=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.value){const e={};null===o?o=[e]:o.push(e),s++}var v=I===s;if(s=$,null!==o&&($?o.length=$:o=null),v){const e=s,r=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.generatedValue){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={keyword:"not",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/6/then/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);j=v=e===s}if(!j){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/6/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const L=s;let q=!0;const z=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.type){let e=n.type;if("Boolean"!==e&&"Dropdown"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var b=z===s;if(s=L,null!==o&&(L?o.length=L:o=null),b){const e=s,r=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.generatedValue){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={keyword:"not",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/7/then/not",params:{},message:"should NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=r,null!==o&&(r?o.length=r:o=null);q=b=e===s}if(!q){const e={keyword:"if",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/allOf/7/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.binding){const e={keyword:"required",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/required",params:{missingProperty:"binding"},message:"should have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const r=s;let a=!0;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type){let t=e.type;if("property"!==t&&"zeebe:property"!==t&&"zeebe:input"!==t&&"bpmn:Message#property"!==t&&"bpmn:Message#zeebe:subscription#property"!==t){const e={};null===o?o=[e]:o.push(e),s++}}var x=l===s;if(s=r,null!==o&&(r?o.length=r:o=null),x){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/0/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}a=x=n===s}if(!a){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const c=s;let p=!0;const u=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"zeebe:output")){const e={};null===o?o=[e]:o.push(e),s++}var w=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),w){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",params:{missingProperty:"source"},message:"should have required property 'source'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/1/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}p=w=n===s}if(!p){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const m=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"zeebe:taskHeader")){const e={};null===o?o=[e]:o.push(e),s++}var E=m===s;if(s=d,null!==o&&(d?o.length=d:o=null),E){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.key){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/required",params:{missingProperty:"key"},message:"should have required property 'key'"};null===o?o=[e]:o.push(e),s++}if(s>0){const n=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.dataPath!==t+"/"+i+"/binding"&&(0!==e.dataPath.indexOf(t+"/"+i+"/binding")||"/"!==e.dataPath[t+"/"+i+8])||0!==e.schemaPath.indexOf("#/allOf/1/items/properties/binding/allOf/2/then")||"/"!==e.schemaPath[47]||(n.push(e),e.emUsed=!0);if(n.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires key"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}h=E=n===s}if(!h){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const f=s;let g=!0;const y=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"zeebe:taskDefinition")){const e={};null===o?o=[e]:o.push(e),s++}var _=y===s;if(s=f,null!==o&&(f?o.length=f:o=null),_){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/required",params:{missingProperty:"property"},message:"should have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property){let n=e.property;if("type"!==n&&"retries"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/properties/property/enum",params:{allowedValues:uZ.allOf[1].items.properties.binding.allOf[3].then.properties.property.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}g=_=n===s}if(!g){const e={keyword:"if",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type){let n=e.type;if("string"!=typeof n){const e={keyword:"type",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if("property"!==n&&"zeebe:taskDefinition:type"!==n&&"zeebe:input"!==n&&"zeebe:output"!==n&&"zeebe:property"!==n&&"zeebe:taskHeader"!==n&&"bpmn:Message#property"!==n&&"bpmn:Message#zeebe:subscription#property"!==n&&"zeebe:taskDefinition"!==n){const e={keyword:"enum",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",params:{allowedValues:uZ.allOf[1].items.properties.binding.properties.type.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.dataPath!==t+"/"+i+"/binding/type"&&(0!==n.dataPath.indexOf(t+"/"+i+"/binding/type")||"/"!==n.dataPath[t+"/"+i+13])||0!==n.schemaPath.indexOf("#/allOf/1/items/properties/binding/properties/type")||"/"!==n.schemaPath[50]||(e.push(n),n.emUsed=!0);if(e.length){const r={keyword:"errorMessage",dataPath:t+"/"+i+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",params:{errors:e},message:"invalid property.binding type "+JSON.stringify(n)+"; must be any of { property, zeebe:taskDefinition:type, zeebe:input, zeebe:output, zeebe:property, zeebe:taskHeader, bpmn:Message#property, bpmn:Message#zeebe:subscription#property }"};null===o?o=[r]:o.push(r),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={keyword:"type",dataPath:t+"/"+i+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={keyword:"type",dataPath:t+"/"+i+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.key&&"string"!=typeof e.key){const e={keyword:"type",dataPath:t+"/"+i+"/binding/key",schemaPath:"#/allOf/1/items/properties/binding/properties/key/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={keyword:"type",dataPath:t+"/"+i+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/properties/property/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.optional&&"boolean"!=typeof n.optional){const e={keyword:"type",dataPath:t+"/"+i+"/optional",schemaPath:"#/allOf/1/items/properties/optional/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.feel){let e=n.feel;if("string"!=typeof e){const e={keyword:"type",dataPath:t+"/"+i+"/feel",schemaPath:"#/allOf/1/items/properties/feel/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(null!==e&&"optional"!==e&&"required"!==e){const e={keyword:"enum",dataPath:t+"/"+i+"/feel",schemaPath:"#/allOf/1/items/properties/feel/enum",params:{allowedValues:uZ.allOf[1].items.properties.feel.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.language&&"string"!=typeof n.language){const e={keyword:"type",dataPath:t+"/"+i+"/language",schemaPath:"#/allOf/1/items/properties/language/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.generatedValue){let e=n.generatedValue;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.type){const e={keyword:"required",dataPath:t+"/"+i+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/required",params:{missingProperty:"type"},message:"should have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&!pZ(e.type,"uuid")){const e={keyword:"const",dataPath:t+"/"+i+"/generatedValue/type",schemaPath:"#/allOf/1/items/properties/generatedValue/properties/type/const",params:{allowedValue:"uuid"},message:"should be equal to constant"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.tooltip&&"string"!=typeof n.tooltip){const e={keyword:"type",dataPath:t+"/"+i+"/tooltip",schemaPath:"#/allOf/1/items/properties/tooltip/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{binding:[]}},n={required:{binding:function(){return'missing binding for property "'+JSON.stringify(i)+'"'}}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(r=cZ[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/"+i,schemaPath:"#/allOf/1/items/errorMessage",params:{errors:a},message:e?e():uZ.allOf[1].items.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/allOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}return mZ.errors=o,0===s}function fZ(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"name"},message:"should have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"appliesTo"},message:"should have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/0/required",params:{missingProperty:"properties"},message:"should have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={keyword:"type",dataPath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={keyword:"type",dataPath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={keyword:"type",dataPath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.version){let n=e.version;if("number"!=typeof n||n%1||isNaN(n)){const e={keyword:"type",dataPath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",params:{type:"integer"},message:"should be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={keyword:"type",dataPath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.deprecated){let n=e.deprecated;if("boolean"!=typeof n&&(!n||"object"!=typeof n||Array.isArray(n))){const e={keyword:"type",dataPath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",params:{type:oZ.allOf[0].properties.deprecated.type},message:"should be boolean,object"};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.message&&"string"!=typeof n.message){const e={keyword:"type",dataPath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!sZ.test(e)){const e={keyword:"pattern",dataPath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",params:{pattern:"^(https|http)://.*"},message:'should match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}}}if(void 0!==e.appliesTo){let n=e.appliesTo;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if("string"==typeof e){if(!aZ.test(e)){const e={keyword:"pattern",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'should match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/appliesTo/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/appliesTo/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(36))&&(e[n.keyword].push(n),n.emUsed=!0);for(const r in e)if(e[r].length){const a={keyword:"errorMessage",dataPath:t+"/appliesTo/"+i,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",params:{errors:e[r]},message:r in n?n[r]():oZ.allOf[0].properties.appliesTo.items.errorMessage[r]};null===o?o=[a]:o.push(a),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={keyword:"type",dataPath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("string"==typeof e){if(!aZ.test(e)){const e={keyword:"pattern",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'should match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/elementType/value"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType/properties/value")&&/^\/[^\/]*$/.test(n.schemaPath.slice(49))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",params:{errors:e[i]},message:i in n?n[i]():oZ.allOf[0].properties.elementType.properties.value.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={keyword:"type",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(i=cZ[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",params:{errors:r},message:e?e():oZ.allOf[0].properties.elementType.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.metadata){let n=e.metadata;if(!n||"object"!=typeof n||Array.isArray(n)){const e={keyword:"type",dataPath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={keyword:"type",dataPath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={keyword:"required",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/required",params:{missingProperty:"id"},message:"should have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={keyword:"required",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/required",params:{missingProperty:"label"},message:"should have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={keyword:"type",dataPath:t+"/groups/"+i+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={keyword:"type",dataPath:t+"/groups/"+i+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{id:[],label:[]}},n={required:{id:function(){return'missing id for group "'+JSON.stringify(i)+'"'},label:function(){return'missing label for group "'+JSON.stringify(i)+'"'}}};let r,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/groups/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(r=cZ[n.keyword],a=e[n.keyword][n.params[r]],a&&(a.push(n),n.emUsed=!0));for(const r in e)for(const l in e[r])if(a=e[r][l],a.length){const e=n[r]&&n[r][l],c={keyword:"errorMessage",dataPath:t+"/groups/"+i,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",params:{errors:a},message:e?e():oZ.allOf[0].properties.groups.items.errorMessage[r][l]};null===o?o=[c]:o.push(c),s++}const l=[];for(const e of o)e.emUsed||l.push(e);o=l,s=l.length}}}else{const e={keyword:"type",dataPath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!sZ.test(n)){const e={keyword:"pattern",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",params:{pattern:"^(https|http)://.*"},message:'should match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/documentationRef"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/documentationRef")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",params:{errors:e[i]},message:i in n?n[i]():oZ.allOf[0].properties.documentationRef.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(i=cZ[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t,schemaPath:"#/allOf/0/errorMessage",params:{errors:r},message:e?e():oZ.allOf[0].errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}const a=s;let l=!0;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const i=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"bpmn:Message#property")){const e={};null===o?o=[e]:o.push(e),s++}}var p=i===s;if(p)break}if(p)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var u=c===s;if(s=a,null!==o&&(a?o.length=a:o=null),u){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/1/allOf/0/then/required",params:{missingProperty:"elementType"},message:"should have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const i=s;let r=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var d=a===s;if(s=i,null!==o&&(i?o.length=i:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/then/required",params:{missingProperty:"eventDefinition"},message:"should have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}r=d=e===s}if(!r){const e={keyword:"if",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:ReceiveTask"!==e&&"bpmn:SendTask"!==e&&"bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={keyword:"enum",dataPath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/properties/value/enum",params:{allowedValues:oZ.allOf[1].allOf[0].then.properties.elementType.properties.value.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}l=u=n===s}if(!l){const e={keyword:"if",dataPath:t,schemaPath:"#/allOf/1/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}const h=s;let m=!0;const f=s;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.properties){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.properties){let t=e.properties;if(Array.isArray(t)){const e=s,n=t.length;for(let e=0;e<n;e++){let n=t[e];const i=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.binding){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.binding){let e=n.binding;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.type){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.type&&!pZ(e.type,"bpmn:Message#zeebe:subscription#property")){const e={};null===o?o=[e]:o.push(e),s++}}var g=i===s;if(g)break}if(g)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var y=f===s;if(s=h,null!==o&&(h?o.length=h:o=null),y){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={keyword:"required",dataPath:t,schemaPath:"#/allOf/1/allOf/1/then/required",params:{missingProperty:"elementType"},message:"should have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const i=s;let r=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var v=a===s;if(s=i,null!==o&&(i?o.length=i:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/then/required",params:{missingProperty:"eventDefinition"},message:"should have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}r=v=e===s}if(!r){const e={keyword:"if",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:ReceiveTask"!==e&&"bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={keyword:"enum",dataPath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/properties/value/enum",params:{allowedValues:oZ.allOf[1].allOf[1].then.properties.elementType.properties.value.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}m=y=n===s}if(!m){const e={keyword:"if",dataPath:t,schemaPath:"#/allOf/1/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&(mZ(e.properties,{dataPath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:r})||(o=null===o?mZ.errors:o.concat(mZ.errors),s=o.length)),void 0!==e.icon){let n=e.icon;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.contents){const e={keyword:"required",dataPath:t+"/icon",schemaPath:"#/properties/icon/required",params:{missingProperty:"contents"},message:"should have required property 'contents'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.contents){let e=n.contents;if("string"==typeof e){if(!lZ.test(e)){const e={keyword:"pattern",dataPath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/pattern",params:{pattern:"^(https?|data):.*"},message:'should match pattern "^(https?|data):.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={keyword:"type",dataPath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={pattern:[]},n={};for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/icon/contents"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon/properties/contents")&&/^\/[^\/]*$/.test(n.schemaPath.slice(37))&&(e[n.keyword].push(n),n.emUsed=!0);for(const i in e)if(e[i].length){const r={keyword:"errorMessage",dataPath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/errorMessage",params:{errors:e[i]},message:i in n?n[i]():oZ.properties.icon.properties.contents.errorMessage[i]};null===o?o=[r]:o.push(r),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={keyword:"type",dataPath:t+"/icon",schemaPath:"#/properties/icon/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{contents:[]}},n={required:{}};let i,r;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.dataPath===t+"/icon"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon")&&/^\/[^\/]*$/.test(n.schemaPath.slice(17))&&(i=cZ[n.keyword],r=e[n.keyword][n.params[i]],r&&(r.push(n),n.emUsed=!0));for(const i in e)for(const a in e[i])if(r=e[i][a],r.length){const e=n[i]&&n[i][a],l={keyword:"errorMessage",dataPath:t+"/icon",schemaPath:"#/properties/icon/errorMessage",params:{errors:r},message:e?e():oZ.properties.icon.errorMessage[i][a]};null===o?o=[l]:o.push(l),s++}const a=[];for(const e of o)e.emUsed||a.push(e);o=a,s=a.length}}if(void 0!==e.elementType){let n=e.elementType;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.eventDefinition&&"bpmn:MessageEventDefinition"!==n.eventDefinition){const e={keyword:"enum",dataPath:t+"/elementType/eventDefinition",schemaPath:"#/properties/elementType/allOf/0/allOf/0/properties/eventDefinition/enum",params:{allowedValues:oZ.properties.elementType.allOf[0].allOf[0].properties.eventDefinition.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}const i=s;let r=!0;const a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={};null===o?o=[e]:o.push(e),s++}var b=a===s;if(s=i,null!==o&&(i?o.length=i:o=null),b){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={keyword:"required",dataPath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/required",params:{missingProperty:"value"},message:"should have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value){let e=n.value;if("bpmn:StartEvent"!==e&&"bpmn:IntermediateCatchEvent"!==e&&"bpmn:IntermediateThrowEvent"!==e&&"bpmn:BoundaryEvent"!==e&&"bpmn:EndEvent"!==e){const e={keyword:"enum",dataPath:t+"/elementType/value",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/properties/value/enum",params:{allowedValues:oZ.properties.elementType.allOf[0].allOf[1].then.properties.value.enum},message:"should be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}r=b=e===s}if(!r){const e={keyword:"if",dataPath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/if",params:{failingKeyword:"then"},message:'should match "then" schema'};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.groups){let n=e.groups;if(Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.tooltip&&"string"!=typeof e.tooltip){const e={keyword:"type",dataPath:t+"/groups/"+i+"/tooltip",schemaPath:"#/properties/groups/items/properties/tooltip/type",params:{type:"string"},message:"should be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.openByDefault&&"boolean"!=typeof e.openByDefault){const e={keyword:"type",dataPath:t+"/groups/"+i+"/openByDefault",schemaPath:"#/properties/groups/items/properties/openByDefault/type",params:{type:"boolean"},message:"should be boolean"};null===o?o=[e]:o.push(e),s++}}}}}}else{const e={keyword:"type",dataPath:t,schemaPath:"#/type",params:{type:"object"},message:"should be object"};null===o?o=[e]:o.push(e),s++}return fZ.errors=o,0===s}function gZ(e,{dataPath:t="",parentData:n,parentDataProperty:i,rootData:r=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;fZ(e,{dataPath:t,parentData:n,parentDataProperty:i,rootData:r})||(o=null===o?fZ.errors:o.concat(fZ.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let i=0;i<n;i++)fZ(e[i],{dataPath:t+"/"+i,parentData:e,parentDataProperty:i,rootData:r})||(o=null===o?fZ.errors:o.concat(fZ.errors),s=o.length)}else{const e={keyword:"type",dataPath:t,schemaPath:"#/oneOf/1/type",params:{type:"array"},message:"should be array"};null===o?o=[e]:o.push(e),s++}var d;if((d=u===s)&&l?(l=!1,c=[c,1]):d&&(l=!0,c=1),l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={keyword:"oneOf",dataPath:t,schemaPath:"#/oneOf",params:{passingSchemas:c},message:"should match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return gZ.errors=o,0===s}function yZ(e){this.cache=e}yZ.prototype.resolveRule=function(e,t){return this.resolve("rule",e,t)},yZ.prototype.resolveConfig=function(e,t){return this.resolve("config",e,t)},yZ.prototype.resolve=function(e,t,n){const i=`${t}/${n}`,r=this.cache[`${e}:${i}`];if(!r)throw new Error(`unknown ${e} <${i}>`);return r};const vZ="zeebe:input",bZ="zeebe:output",xZ="zeebe:property",wZ="zeebe:taskDefinition:type",EZ="zeebe:taskDefinition",_Z="zeebe:taskHeader",OZ="bpmn:Message#property",PZ="bpmn:Message#zeebe:subscription#property",kZ=[PZ,vZ,bZ,xZ,wZ,EZ,_Z],SZ=[wZ,EZ],CZ=[vZ,bZ],TZ=[OZ,PZ],AZ=["property",OZ];const MZ="zeebe:modelerTemplate";function RZ(e){const t=qr(e);if(t)return t.get(MZ)}function DZ(e,t){const n=qr(e);let i;if(i=Ir(n,"bpmn:ExtensionElements")?n:n.get("extensionElements"),i)return i.get("values").find((e=>Ir(e,t)))}function NZ(e,t){return e.get("properties").find((e=>e.name===t.name))}function BZ(e,t){return e.get("inputParameters").find((e=>e.target===t.name))}function $Z(e,t){return e.get("outputParameters").find((e=>e.source===t.source))}function jZ(e,t){return e.get("values").find((e=>e.key===t.key))}function IZ(e){if(Ir(e,"bpmn:Event")){const t=e.get("eventDefinitions");if(!t||!t.length)return;e=t[0]}if(e)return e.get("messageRef")}function LZ(e,t,n,i){const r=i.create(e,t);return n&&(r.$parent=n),r}function qZ(e){return new n([32,32,1]).nextPrefixed(e)}function zZ(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function VZ(e,t){const{optional:n}=t;return e||!n}const FZ=["Boolean","Integer","String"];function HZ(e,t,n){let i=qr(e);const r="",{binding:o}=t,{name:a,property:l,type:c}=o;if("property"===c){const e=i.get(a);return s(e)?r:e}if(SZ.includes(c)){const e=DZ(i,"zeebe:TaskDefinition");if(e){if(c===wZ)return e.get("type");if(c===EZ)return e.get(l)}return r}if(CZ.includes(c)){const e=DZ(i,"zeebe:IoMapping");if(!e)return r;if(c===vZ){const t=BZ(e,o);return t?t.get("source"):r}if(c===bZ){const t=$Z(e,o);return t?t.get("target"):r}}if(c===_Z){const e=DZ(i,"zeebe:TaskHeaders");if(!e)return r;const t=jZ(e,o);return t?t.get("value"):r}if(c===xZ){const e=DZ(i,"zeebe:Properties");if(e){const t=NZ(e,o);if(t)return t.get("value")}return r}if(c===OZ){const e=IZ(i),t=e?e.get(a):void 0;return s(t)?r:t}if(c===PZ){const e=IZ(i);if(e){const t=DZ(e,"zeebe:Subscription");if(!s(t?t.get(a):void 0))return t.get(a)}return r}throw XZ(e,t)}const UZ=null;function WZ(e,t,n,i,r){let o=qr(n);const{binding:a}=i,{name:l,type:c}=a;let p,u;const d=[],h={element:n,property:i};if(TZ.includes(c)){Ir(o,"bpmn:Event")&&(o=o.get("eventDefinitions")[0]);let t=IZ(o);t||(t=e.create("bpmn:Message",{"zeebe:modelerTemplate":RZ(n)}),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{messageRef:t}}})),o=t}if(kZ.includes(c)&&(p=o.get("extensionElements"),p?d.push(UZ):(p=LZ("bpmn:ExtensionElements",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{extensionElements:p}}}))),AZ.includes(c)){const e=o.$descriptor.propertiesByName[l];if(e){const{type:t}=e;if(!FZ.includes(t))throw new Error(`cannot set property of type <${t}>`);"Boolean"===t?u=!!r:"Integer"===t?(u=parseInt(r,10),isNaN(u)&&(u=void 0)):u=r||""}else u=r||"";s(u)?d.push(UZ):d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{[l]:u}}})}if(SZ.includes(c)){const t=DZ(p,"zeebe:TaskDefinition"),n=function(e){return e.type===wZ?"type":e.property}(a),i={[n]:r||""};if(t)d.push({cmd:"element.updateModdleProperties",context:{...h,properties:i,moddleElement:t}});else{const t=function(e={},t){return t.create("zeebe:TaskDefinition",e)}(i,e);t.$parent=o;const n=p.get("values");d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...n,t]}}})}}if(CZ.includes(c)){let t=DZ(p,"zeebe:IoMapping");if(t||(t=LZ("zeebe:IoMapping",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}})),c===vZ){const n=BZ(t,a),o=t.get("inputParameters").filter((e=>e!==n));if(VZ(r,i)){const t=function(e,t,n){const{name:i}=e;return n.create("zeebe:Input",{source:t,target:i})}(a,r,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{inputParameters:[...o]}}})}if(c===bZ){const n=$Z(t,a),o=t.get("outputParameters").filter((e=>e!==n));if(VZ(r,i)){const t=function(e,t,n){const{source:i}=e;return n.create("zeebe:Output",{source:i,target:t})}(a,r,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{outputParameters:[...o]}}})}}if(c===_Z){let t=DZ(p,"zeebe:TaskHeaders");t||(t=LZ("zeebe:TaskHeaders",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const n=jZ(t,a),i=t.get("values").filter((e=>e!==n));if(r){const n=function(e,t,n){const{key:i}=e;return n.create("zeebe:Header",{key:i,value:t})}(a,r,e);d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:[...i,n]}}})}else d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:i}}})}if(c===xZ){let t=DZ(p,"zeebe:Properties");t||(t=LZ("zeebe:Properties",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const s=NZ(t,a),l=t.get("properties").filter((e=>e!==s));if(VZ(r,i)){const t=function(e,t="",n){const{name:i}=e;return n.create("zeebe:Property",{name:i,value:t})}(a,r,e);l.push(t)}d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{properties:l}}})}if(c===PZ){let t=DZ(p,"zeebe:Subscription");const i={[l]:r||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:i,moddleElement:t}}):(t=LZ("zeebe:Subscription",i,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(!d.length)throw XZ(n,i);{const e=d.filter((e=>e!==UZ));e.length&&t.execute("properties-panel.multi-command-executor",e)}}function XZ(e,t){const n=qr(e).get("id"),{binding:i}=t,{type:r}=i;return new Error(`unknown binding <${r}> for element <${n}>, this should never happen`)}function GZ(e,t){const{properties:n}=t,i=n.filter((t=>function(e,t){const{binding:n}=t,{type:i}=n;if("bpmn:Message#zeebe:subscription#property"===i&&"correlationKey"===n.name&&Ir(e,"bpmn:StartEvent")&&!so(e.parent))return!1;return!0}(e,t)&&QZ(e,n,t)));return{...t,properties:i}}function QZ(e,t,n){const{condition:i}=n;if(!i)return!0;if(i.allMatch){return i.allMatch.every((n=>KZ(e,t,n)))}return KZ(e,t,i)}function KZ(e,t,n){const{property:i,equals:r,oneOf:o,isActive:s}=n;if(void 0!==s){const n=t.find((e=>e.id===i));return n?s?QZ(e,t,n):!QZ(e,t,n):!s}const a=function(e,t,n){const i=t.find((e=>e.id===n));if(!i)return;return HZ(e,i)}(e,t,i);return r?a===r:!!o&&o.includes(a)}function YZ(e,t){return JZ(e.binding,t.binding)&&tJ(e.condition,t.condition)}function ZZ(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function JZ(e,t){return tJ(e=eJ(e),t=eJ(t))}function eJ(e){return e.type===wZ?{...e,type:EZ,property:"type"}:e}function tJ(e,t){return JSON.stringify(e,ZZ)===JSON.stringify(t,ZZ)}(class extends ks{constructor(e,t,n,i,r){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=i,this._injector=r,this.preExecute(["element.updateProperties","element.updateModdleProperties"],this._saveConditionalState,!0,this),this.postExecute(["element.updateProperties","element.updateModdleProperties","propertiesPanel.zeebe.changeTemplate","element.move"],this._applyConditions,!0,this),this.preExecute(["propertiesPanel.zeebe.changeTemplate"],2500,this._handleTemplateUpgrade,!0,this)}_handleTemplateUpgrade(e){const{element:t,newTemplate:n}=e;t&&n&&(e.newTemplate=GZ(e.element,e.newTemplate))}_saveConditionalState(e){const{element:t}=e,n=this._elementTemplates.get(t);n&&(e.oldTemplate=GZ(t,n))}_applyConditions(e){const{element:t,hints:n={}}=e;if(n.skipConditionUpdate)return;const i=this._elementTemplates.get(t),r=e.oldTemplate||e.newTemplate;if(!i||!r||i.id!==r.id)return;const o=GZ(t,i);if(!function(e,t){let n=t.properties;return n.some((t=>!e.properties.find((e=>YZ(e,t)))))}(s=o,a=r)&&!function(e,t){const n=function(e,t){let n=t.properties;return n.filter((t=>!e.properties.find((e=>YZ(e,t)))))}(t,e);return n.some((e=>!function(e,t){return e.properties.some((e=>JZ(t.binding,e.binding)))}(t,e)))}(s,a))return;var s,a;const l={element:t,newTemplate:o,oldTemplate:r,hints:{skipConditionUpdate:!0}};this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",l)}}).$inject=["eventBus","elementTemplates","commandStack","bpmnFactory","injector"];const nJ="camunda:modelerTemplate";function iJ(e){const t=qr(e);if(t)return t.get(nJ)}function rJ(e,t){const n=qr(e);let i;return i=Ir(n,"bpmn:ExtensionElements")?n:n.get("extensionElements"),i?i.get("values").find((e=>Ir(e,t))):null}function oJ(e,t){const n=uJ(e);return n?n.get("values").filter((e=>Lr(e,t))):[]}function sJ(e,t){const n=uJ(e);if(!n)return;const{type:i}=t;let r;return"camunda:in"===i?r=e=>Ir(e,"camunda:In")&&dJ(e,t):"camunda:out"===i?r=e=>Ir(e,"camunda:Out")&&dJ(e,t):"camunda:in:businessKey"===i&&(r=e=>Ir(e,"camunda:In")&&"businessKey"in e),n.get("values").find(r)}function aJ(e,t){return e.get("values").find((e=>e.name===t.name))}function lJ(e,t){return e.get("inputParameters").find((e=>e.name===t.name))}function cJ(e,t){return e.get("outputParameters").find((function(e){const{value:n}=e;if(!t.scriptFormat)return n===t.source;const i=e.get("camunda:definition");return!(!i||t.scriptFormat!==i.get("camunda:scriptFormat"))&&i.get("camunda:value")===t.source}))}function pJ(e,t){let n;return oJ(e,["camunda:ErrorEventDefinition"]).find((e=>{if(n=e.get("bpmn:errorRef"),n)return n.get("bpmn:id").startsWith(`Error_${t}`)}))}function uJ(e){const t=qr(e);return Ir(t,"bpmn:ExtensionElements")?t:t.get("extensionElements")}function dJ(e,t){if("camunda:in"===t.type&&t.target)return e.target===t.target;if("camunda:out"===t.type){if(t.source)return e.source===t.source;if(t.sourceExpression)return e.sourceExpression===t.sourceExpression}return t.variables?"all"===e.variables&&("local"!==t.variables||e.local):void 0}let hJ=class{constructor(e,t,n,i){this._commandStack=e,this._eventBus=t,this._injector=i,this._modeling=n,this._templates={}}get(e,t){const n=this._templates;let i;return s(e)?null:h(e)?(s(t)&&(t="_"),n[e]&&n[e][t]?n[e][t]:null):(i=e,this.get(this._getTemplateId(i),this._getTemplateVersion(i)))}getDefault(e){return g(this.getAll(e),(function(e){return e.isDefault}))||null}getAll(e){return this._getTemplateVerions(e,{includeDeprecated:!0})}getLatest(e,t={}){return this._getTemplateVerions(e,{...t,latest:!0})}set(e){this._templates={},e.forEach((e=>{const t=e.id,n=s(e.version)?"_":e.version;this._templates[t]||(this._templates[t]={latest:e}),this._templates[t][n]=e;const i=this._templates[t].latest.version;(s(i)||e.version>i)&&(this._templates[t].latest=e)}))}_getTemplateVerions(e,t={}){const{latest:n,deprecated:r}=t,o=this._templates,s=e=>{const{latest:t,...i}=e;return n?!r&&t.deprecated?[]:[t]:S(i)};if(l(e))return i(S(o).map(s));if(p(e)){const n=e;return v(this._getTemplateVerions(null,t),(function(e){return Lr(n,e.appliesTo)}))||[]}if(h(e))return o[e]&&s(o[e]);throw new Error("argument must be of type {string|djs.model.Base|undefined}")}_getTemplateId(e){return iJ(e)}_getTemplateVersion(e){return function(e){const t=qr(e);if(t)return t.get("camunda:modelerTemplateVersion")}(e)}applyTemplate(e,t){let n="apply",i={element:e,newTemplate:t};const r=this.get(e);r&&!t&&(n="unlink",i={element:e}),t&&r&&t.id===r.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:r};return this._commandStack.execute("propertiesPanel.camunda.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,i),o.element}removeTemplate(e){this._injector.get("eventBus").fire("elementTemplates.remove",{element:e});const t={element:e};return this._commandStack.execute("propertiesPanel.removeTemplate",t),t.newElement}unlinkTemplate(e){return this.applyTemplate(e,null)}};hJ.$inject=["commandStack","eventBus","modeling","injector"];(class extends hJ{constructor(e,t,n,i,r){super(t,n,i,r),this._templateElementFactory=e}_getTemplateId(e){return RZ(e)}_getTemplateVersion(e){return function(e){const t=qr(e);if(t)return t.get("zeebe:modelerTemplateVersion")}(e)}createElement(e){if(!e)throw new Error("template is missing");return this._templateElementFactory.create(e)}applyTemplate(e,t){let n="apply",i={element:e,newTemplate:t};const r=this.get(e);r&&!t&&(n="unlink",i={element:e}),t&&r&&t.id===r.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:r};return this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,i),o.element}}).$inject=["templateElementFactory","commandStack","eventBus","modeling","injector"];const mJ="0.16.0",fJ=["bpmn:Activity","bpmn:Event","bpmn:Gateway"];let gJ=class{constructor(e){this._templatesById={},this._validTemplates=[],this._errors=[],this._moddle=e}addAll(e){return c(e)?e.forEach(this.add,this):this._logError("templates must be []"),this}add(e){let t,n;return this._validateTemplate(e)||(t=e.id,n=e.version||"_",this._templatesById[t]||(this._templatesById[t]={}),this._templatesById[t][n]=e,this._validTemplates.push(e)),this}_validateTemplate(e){let t;const n=e.id,i=e.version||"_",r=e.$schema&&yJ(e.$schema);if(r&&_Y(mJ,r)<0)return this._logError(`unsupported element template schema version <${r}>. Your installation only supports up to version <${mJ}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][i])return"_"===i?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${i}> already used`,e);const o=this._validateElementType(e);if(o)return o;const s=nZ(e,OY.exports);const{errors:a,valid:l}=s;return l||(t=new Error("invalid template"),vJ(a).forEach((t=>{this._logError(t.message,e)}))),t}_validateElementType(e){if(e.elementType&&e.appliesTo){const t=e.elementType.value,n=e.appliesTo;if(!n.find((e=>this._isType(t,e))))return this._logError(`template does not apply to requested element type <${t}>`,e);for(const i of n)if(!this._canMorph(i,t))return this._logError(`can not morph <${i}> into <${t}>`,e)}}_isType(e,t){const n=this._moddle.getType(e);return n&&t in this._moddle.getElementDescriptor(n).allTypesByName}_canMorph(e,t){if(e===t)return!0;const n=fJ.find((t=>this._isType(e,t)));return!!n&&this._isType(t,n)}_logError(e,t){if(h(e)){if(t){const{id:n,name:i}=t;e=`template(id: <${n}>, name: <${i}>): ${e}`}e=new Error(e)}return this._errors.push(e),e}getErrors(){return this._errors}getValidTemplates(){return this._validTemplates}};function yJ(e){const t=e.match(/\d+\.\d+\.\d+/g);return null===t?void 0:t[0]}function vJ(e){return v(e,(e=>{const{dataPath:t,keyword:n}=e;return"errorMessage"===n||!("type"!==n||!t||t.startsWith("/scopes/"))}))}const bJ="0.16.1";class xJ extends gJ{constructor(e){super(e)}_validateTemplate(e){let t;const n=e.id,i=e.version||"_",r=e.$schema,o=r&&yJ(r);if(!r)return this._logError("missing $schema attribute.",e);if(!this.isSchemaValid(r))return this._logError(`unsupported $schema attribute <${r}>.`,e);if(o&&_Y(bJ,o)<0)return this._logError(`unsupported element template schema version <${o}>. Your installation only supports up to version <${bJ}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][i])return"_"===i?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${i}> already used`,e);const s=this._validateElementType(e);if(s)return s;const a=nZ(e,rZ.exports);const{errors:l,valid:c}=a;return c||(t=new Error("invalid template"),vJ(l).forEach((t=>{this._logError(t.message,e)}))),t}isSchemaValid(e){return e&&e.includes("@camunda/zeebe-element-templates-json-schema")}}let wJ=class{constructor(e,t,n,i){this._loadTemplates=e,this._eventBus=t,this._elementTemplates=n,this._moddle=i,t.on("diagram.init",(()=>{this.reload()}))}reload(){const e=this._loadTemplates;if(!s(e))return d(e)?e(((e,t)=>{if(e)return this.templateErrors([e]);this.setTemplates(t)})):e.length?this.setTemplates(e):void 0}setTemplates(e){const t=this._elementTemplates,n=this._moddle,i=new gJ(n).addAll(e),r=i.getErrors(),o=i.getValidTemplates();t.set(o),r.length&&this.templateErrors(r),this.templatesChanged()}templatesChanged(){this._eventBus.fire("elementTemplates.changed")}templateErrors(e){this._eventBus.fire("elementTemplates.errors",{errors:e})}};wJ.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];(class extends wJ{constructor(e,t,n,i){super(e,t,n,i),this._elementTemplates=n}setTemplates(e){const t=this._elementTemplates,n=this._moddle,i=new xJ(n).addAll(e),r=i.getErrors(),o=i.getValidTemplates();t.set(o),r.length&&this.templateErrors(r),this.templatesChanged()}}).$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];function EJ(e,t){const n=t.get("modeling"),i=t.get("canvas"),r=t.get("bpmnjs"),o=i.getRootElement(),s=r.getDefinitions(),a=s.get("rootElements"),l=a.filter((t=>t!==e));l.length!==a.length&&n.updateModdleProperties(o,s,{rootElements:l})}(class extends ks{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(t){var n=t.context,i=qr(n.oldShape),r=n.newShape,o=qr(r);if(!i.modelerTemplate)return;const s=o.modelerTemplate,a=o.modelerTemplateVersion,l=e.get(s,a);if(!l)return void e.unlinkTemplate(r);const{appliesTo:c,elementType:p}=l;if(p)return void(Ir(r,p.value)&&!function(e,t){if(!Ir(e,"bpmn:Event"))return!1;const{eventDefinition:n}=t,i=qr(e),r=i.get("eventDefinitions");if(!n)return 0!==r.length;return!Ir(r[0],n)}(r,p)||e.unlinkTemplate(r));c.reduce(((e,t)=>e||Ir(o,t)),!1)||e.unlinkTemplate(r)}))}}).$inject=["elementTemplates","injector"];class _J{constructor(e,t,n,i,r,o,s){this._modeling=e,this._elementFactory=t,this._elementRegistry=n,this._canvas=i,this._bpmnFactory=r,this._replace=o,this._commandStack=s}preExecute(e){const{element:t}=e;t.parent?e.newElement=this._removeTemplate(t):e.newElement=this._removeRootTemplate(t)}_removeTemplate(e){const t=this._replace,n=qr(e),i=n.$type,r=this._getEventDefinitionType(n),o=this._createBlankBusinessObject(e);return t.replaceElement(e,{type:i,businessObject:o,eventDefinitionType:r},{createElementsBehavior:!1})}_removeRootTemplate(e){var t=this._modeling,n=this._elementFactory,i=this._elementRegistry,r=this._canvas;if(js(e)){const t=Ns(e),n=i.get(t);if(n&&n!==e)return r.setRootElement(r.findRoot(n)),this._removeTemplate(n)}const o=qr(e).$type,s=this._createBlankBusinessObject(e),a=n.create("root",{type:o,businessObject:s});return this._commandStack.execute("canvas.updateRoot",{newRoot:a,oldRoot:e}),t.moveElements(e.children,{x:0,y:0},a),a}_getEventDefinitionType(e){if(!e.eventDefinitions)return null;const t=e.eventDefinitions[0];return t?t.$type:null}_createBlankBusinessObject(e){const t=this._bpmnFactory,n=qr(e),i=t.create(n.$type),r=go(e);return r?(Ir(e,"bpmn:Group")&&(i.categoryValueRef=t.create("bpmn:CategoryValue")),yo({businessObject:i},r),i):i}}function OJ(e){const t=e.metadata,n=e.version;if(t){if(!s(t.created))return PJ(t.created);if(!s(t.updated))return PJ(t.updated)}return s(n)?null:n}function PJ(e){const t=new Date(e),n=t.getFullYear(),i=kJ(String(t.getMonth()+1));return kJ(String(t.getDate()))+"."+i+"."+n+" "+kJ(String(t.getHours()))+":"+kJ(String(t.getMinutes()))}function kJ(e){return function(e,t,n){for(;e.length<t;)e=n+e;return e}(e,2,"0")}function SJ(e={}){const{getTemplateId:t=iJ}=e;return function(e){const{id:n,label:i,element:r,entries:o=[]}=e,[s,a]=JI(["groups",n,"open"],!1),l=!o.length;return LE("div",{class:"bio-properties-panel-group bio-properties-panel-templates-group","data-group-id":"group-"+n,children:[LE("div",{class:zE("bio-properties-panel-group-header",{empty:l,open:s&&!l}),onClick:()=>!l&&a(!s),children:[LE("div",{title:i,class:"bio-properties-panel-group-header-title",children:i}),LE("div",{class:"bio-properties-panel-group-header-buttons",children:[LE(TJ,{element:r,getTemplateId:t}),!l&&LE(CJ,{open:s})]})]}),LE("div",{class:zE("bio-properties-panel-group-entries",{open:s&&!l}),children:o.map((e=>{const{component:t,id:n}=e;return lw(t,{...e,key:n,element:r})}))})]})}}function CJ({open:e}){return LE($L,{title:"Toggle section",class:"bio-properties-panel-arrow",children:LE(RI,{class:e?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})}function TJ({element:e,getTemplateId:t}){const n=function(e,t,n){const i=n(t),r=e.get(t);if(!i)return{type:"NO_TEMPLATE"};if(!r)return{type:"UNKNOWN_TEMPLATE",templateId:i};if(r.deprecated)return{type:"DEPRECATED_TEMPLATE",template:r};const o=e.getLatest(i,{deprecated:!0})[0];if(o!==r)return{type:"OUTDATED_TEMPLATE",template:r,newerTemplate:o};return{type:"KNOWN_TEMPLATE",template:r}}(ez("elementTemplates"),e,t);return"NO_TEMPLATE"===n.type?LE(AJ,{element:e}):"KNOWN_TEMPLATE"===n.type?LE(MJ,{element:e}):"UNKNOWN_TEMPLATE"===n.type?LE(DJ,{element:e}):"DEPRECATED_TEMPLATE"===n.type?LE(jJ,{element:e,templateState:n}):"OUTDATED_TEMPLATE"===n.type?LE(BJ,{element:e,templateState:n}):void 0}function AJ({element:e}){const t=ez("translate"),n=ez("eventBus");return LE($L,{title:"Select a template",class:"bio-properties-panel-select-template-button",onClick:()=>n.fire("elementTemplates.select",{element:e}),children:[LE(DI,{}),LE("span",{children:t("Select")})]})}function MJ({element:e}){const t=ez("translate"),n=ez("elementTemplates"),i=[{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:LE(RJ,{}),action:()=>n.removeTemplate(e)}];return LE(NL,{menuItems:i,class:"bio-properties-panel-applied-template-button",children:LE($L,{children:[LE("span",{children:t("Applied")}),LE(RI,{class:"bio-properties-panel-arrow-down"})]})})}function RJ(){return LE("span",{class:"bio-properties-panel-remove-template",children:ez("translate")("Remove")})}function DJ({element:e}){const t=ez("translate"),n=ez("elementTemplates"),i=[{entry:LE(NJ,{})},{separator:!0},{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:LE(RJ,{}),action:()=>n.removeTemplate(e)}];return LE(NL,{menuItems:i,class:"bio-properties-panel-template-not-found",children:LE($L,{children:[LE("span",{children:t("Not found")}),LE(RI,{class:"bio-properties-panel-arrow-down"})]})})}function NJ(){return LE("div",{class:"bio-properties-panel-template-not-found-text",children:ez("translate")("The template applied was not found. Therefore, its properties cannot be shown. Unlink to access the data.")})}function BJ({element:e,templateState:t}){const{newerTemplate:n}=t,i=ez("translate"),r=ez("elementTemplates"),o=[{entry:LE($J,{newerTemplate:n})},{separator:!0},{entry:i("Update"),action:()=>r.applyTemplate(e,n)},{entry:i("Unlink"),action:()=>r.unlinkTemplate(e)},{entry:LE(RJ,{}),action:()=>r.removeTemplate(e)}];return LE(NL,{menuItems:o,class:"bio-properties-panel-template-update-available",children:LE($L,{children:[LE("span",{children:i("Update available")}),LE(RI,{class:"bio-properties-panel-arrow-down"})]})})}function $J({newerTemplate:e}){return LE("div",{class:"bio-properties-panel-template-update-available-text",children:ez("translate")("A new version of the template is available: {templateVersion}",{templateVersion:OJ(e)})})}function jJ({element:e,templateState:t}){const{template:n}=t,i=ez("translate"),r=ez("elementTemplates"),o=[{entry:LE(IJ,{template:n})},{separator:!0},{entry:i("Unlink"),action:()=>r.unlinkTemplate(e)},{entry:LE(RJ,{}),action:()=>r.removeTemplate(e)}];return LE(NL,{menuItems:o,class:"bio-properties-panel-deprecated-template-button",children:LE($L,{children:[LE("span",{children:i("Deprecated")}),LE(RI,{class:"bio-properties-panel-arrow-down"})]})})}function IJ({template:e}){const t=ez("translate"),{message:n=t("This template is deprecated."),documentationRef:i}=e.deprecated;return LE("div",{class:"bio-properties-panel-deprecated-template-text",children:[n,i&&LE(pw,{children:[" ",LE("a",{href:i,children:LE(LJ,{})})]})]})}function LJ(){return LE("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:LE("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.6368 10.6375V5.91761H11.9995V10.6382C11.9995 10.9973 11.8623 11.3141 11.5878 11.5885C11.3134 11.863 10.9966 12.0002 10.6375 12.0002H1.36266C0.982345 12.0002 0.660159 11.8681 0.396102 11.6041C0.132044 11.34 1.52588e-05 11.0178 1.52588e-05 10.6375V1.36267C1.52588e-05 0.98236 0.132044 0.660173 0.396102 0.396116C0.660159 0.132058 0.982345 2.95639e-05 1.36266 2.95639e-05H5.91624V1.36267H1.36266V10.6375H10.6368ZM12 0H7.2794L7.27873 1.36197H9.68701L3.06507 7.98391L4.01541 8.93425L10.6373 2.31231V4.72059H12V0Z",fill:"#818798"})})}function qJ({element:e,elementTemplates:t}){const n=t.get(e);return n?[{id:"template-name",component:zJ,template:n},{id:"template-version",component:VJ,template:n},{id:"template-description",component:FJ,template:n}].filter((e=>!!e.component)):[]}function zJ({id:e,template:t}){return LE(HJ,{id:e,label:ez("translate")("Name"),content:t.name})}function VJ({id:e,template:t}){const n=ez("translate"),i=OJ(t);return i?LE(HJ,{id:e,label:n("Version"),content:i}):null}function FJ({id:e,template:t}){const n=ez("translate"),{description:i}=t;return i?LE(HJ,{id:e,label:n("Description"),content:t.description}):null}function HJ({id:e,label:t,content:n}){return LE("div",{"data-entry-id":e,class:"bio-properties-panel-entry bio-properties-panel-text-entry",children:[LE("span",{class:"bio-properties-panel-label",children:t}),LE("span",{class:"bio-properties-panel-text-entry__content",children:n})]})}_J.$inject=["modeling","elementFactory","elementRegistry","canvas","bpmnFactory","replace","commandStack"];var UJ,WJ={};function XJ(e,t,n){if(3===e.nodeType){var i="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==XJ.options.trim){var r=0===t||t===n.length-1;if((!(i=i.match(/^[\s\n]+$/g)&&"all"!==XJ.options.trim?" ":i.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===XJ.options.trim||r?"":" "))||" "===i)&&n.length>1&&r)return null}return i}if(1!==e.nodeType)return null;var o=String(e.nodeName).toLowerCase();if("script"===o&&!XJ.options.allowScripts)return null;var s,a,l=XJ.h(o,function(e){var t=e&&e.length;if(!t)return null;for(var n={},i=0;i<t;i++){var r=e[i],o=r.name,s=r.value;"on"===o.substring(0,2)&&XJ.options.allowEvents&&(s=new Function(s)),n[o]=s}return n}(e.attributes),(a=(s=e.childNodes)&&Array.prototype.map.call(s,XJ).filter(QJ))&&a.length?a:null);return XJ.visitor&&XJ.visitor(l),l}var GJ,QJ=function(e){return e},KJ={};function YJ(e){var t=(e.type||"").toLowerCase(),n=YJ.map;n&&n.hasOwnProperty(t)?(e.type=n[t],e.props=Object.keys(e.props||{}).reduce((function(t,n){var i;return t[(i=n,i.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=e.props[n],t}),{})):e.type=t.replace(/[^a-z0-9-]/i,"")}var ZJ=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.setReviver=function(e){GJ=e},t.prototype.shouldComponentUpdate=function(e){var t=this.props;return e.wrap!==t.wrap||e.type!==t.type||e.markup!==t.markup},t.prototype.setComponents=function(e){if(this.map={},e)for(var t in e)if(e.hasOwnProperty(t)){var n=t.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g,"$1$3-$2$4").toLowerCase();this.map[n]=e[t]}},t.prototype.render=function(e){var t=e.wrap;void 0===t&&(t=!0);var n,i=e.type,r=e.markup,o=e.components,s=e.reviver,a=e.onError,l=e["allow-scripts"],c=e["allow-events"],p=e.trim,u=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&-1===t.indexOf(i)&&(n[i]=e[i]);return n}(e,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),d=s||this.reviver||this.constructor.prototype.reviver||GJ||lw;this.setComponents(o);var h={allowScripts:l,allowEvents:c,trim:p};try{n=function(e,t,n,i,r){var o=function(e,t){var n,i,r,o,s="html"===t?"text/html":"application/xml";"html"===t?(o="body",r="<!DOCTYPE html>\n<html><body>"+e+"</body></html>"):(o="xml",r='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+e+"</xml>");try{n=(new DOMParser).parseFromString(r,s)}catch(e){i=e}if(n||"html"!==t||((n=UJ||(UJ=function(){if(document.implementation&&document.implementation.createHTMLDocument)return document.implementation.createHTMLDocument("");var e=document.createElement("iframe");return e.style.cssText="position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;",e.setAttribute("sandbox","allow-forms"),document.body.appendChild(e),e.contentWindow.document}())).open(),n.write(r),n.close()),n){var a=n.getElementsByTagName(o)[0],l=a.firstChild;return e&&!l&&(a.error="Document parse failed."),l&&"parsererror"===String(l.nodeName).toLowerCase()&&(l.removeChild(l.firstChild),l.removeChild(l.lastChild),a.error=l.textContent||l.nodeValue||i||"Unknown error",a.removeChild(l)),a}}(e,t);if(o&&o.error)throw new Error(o.error);var s=o&&o.body||o;YJ.map=i||KJ;var a=s&&function(e,t,n,i){return XJ.visitor=t,XJ.h=n,XJ.options=i||WJ,XJ(e)}(s,YJ,n,r);return YJ.map=null,a&&a.props&&a.props.children||null}(r,i,d,this.map,h)}catch(e){a?a({error:e}):"undefined"!=typeof console&&console.error&&console.error("preact-markup: "+e)}if(!1===t)return n||null;var m=u.hasOwnProperty("className")?"className":"class",f=u[m];return f?f.splice?f.splice(0,0,"markup"):"string"==typeof f?u[m]+=" markup":"object"==typeof f&&(f.markup=!0):u[m]="markup",d("div",u,n||null)},t}(uw);const JJ=3,e0=1,t0=["h1","h2","h3","h4","h5","span","em","a","p","div","ul","ol","li","hr","blockquote","img","pre","code","br","strong"],n0=["align","alt","class","href","id","name","rel","target","src"],i0=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,r0=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,o0=document.createElement("form");function s0(e){const t=(new DOMParser).parseFromString(`<!DOCTYPE html>\n<html><body><div>${e}`,"text/html");t.normalize();const n=t.body.firstChild;return n?(a0(n),(new XMLSerializer).serializeToString(n)):""}function a0(e){if(e.nodeType===JJ)return;if(e.nodeType!==e0)return e.remove();const t=e.tagName.toLowerCase();if(!t0.includes(t))return e.remove();const n=e.attributes;for(let i=n.length;i--;){const r=n[i],o=r.name,s=o.toLowerCase(),a=r.value.trim();e.removeAttribute(o);l0(t,s,a)&&e.setAttribute(o,a)}"a"===t&&"_blank"===e.getAttribute("target")&&"noopener"!==e.getAttribute("rel")&&e.setAttribute("rel","noopener");for(let t=e.childNodes.length;t--;)a0(e.childNodes[t])}function l0(e,t,n){return!!n0.includes(t)&&(("id"!==t&&"name"!==t||!(n in document)&&!(n in o0))&&(("target"!==t||"_blank"===n)&&!("href"===t&&!i0.test(n.replace(r0,"")))))}function c0(e){const{description:t}=e;return t&&LE(ZJ,{markup:s0(t),trim:!1})}function p0(e){return function(e,t){return g(qr(e).get("eventDefinitions")||[],(function(e){return Ir(e,t)}))}(e,"bpmn:SignalEventDefinition")}function u0(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function d0(e,t){return e.every(((e,n)=>function(e,t){return JSON.stringify(e,u0)===JSON.stringify(t,u0)}(e,t[n])))}function h0(e,t,n){return e.sort(((e,i)=>t(n,e)-t(n,i)))}(class extends ks{constructor(e,t,n,i){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=i,this.postExecute(["element.updateProperties","element.updateModdleProperties"],this._updatePropertiesOrder,!0,this)}_updatePropertiesOrder(e){const{element:t}=e,n=this._elementTemplates.get(t),i=t.businessObject,r=[];if(!n)return;const o=GZ(t,n).properties,s=DZ(i,"zeebe:Properties");s&&this._updateZeebePropertiesOrder(s,o,r,e);const a=DZ(i,"zeebe:IoMapping");a&&(this._updateInputOrder(a,o,r,e),this._updateOutputOrder(a,o,r,e));const l=DZ(i,"zeebe:TaskHeaders");if(l&&this._updateTaskHeadersOrder(l,o,r,e),r.length){const e=r.filter((e=>null!==e));e.length&&this._commandStack.execute("properties-panel.multi-command-executor",e)}else;}_updateZeebePropertiesOrder(e,t,n,i){const r=e.get("properties");if(r.length<1)return;let o=[...r];h0(o,((e,t)=>e.findIndex((e=>"zeebe:property"==e.binding.type&&e.binding.name===t.get("name")))),t),d0(o,r)||n.push({cmd:"element.updateModdleProperties",context:{...i,moddleElement:e,properties:{properties:o}}})}_updateInputOrder(e,t,n,i){const r=e.get("inputParameters");if(r.length<1)return;let o=[...r];h0(o,((e,t)=>e.findIndex((e=>"zeebe:input"==e.binding.type&&e.binding.name===t.get("target")))),t),d0(o,r)||n.push({cmd:"element.updateModdleProperties",context:{...i,moddleElement:e,properties:{inputParameters:o}}})}_updateOutputOrder(e,t,n,i){const r=e.get("outputParameters");if(r.length<1)return;let o=[...r];h0(o,((e,t)=>e.findIndex((e=>"zeebe:output"==e.binding.type&&e.binding.source===t.get("source")))),t),d0(o,r)||n.push({cmd:"element.updateModdleProperties",context:{...i,moddleElement:e,properties:{outputParameters:o}}})}_updateTaskHeadersOrder(e,t,n,i){const r=e.get("zeebe:values");if(r.length<1)return;let o=[...r];h0(o,((e,t)=>e.findIndex((e=>"zeebe:taskHeader"==e.binding.type&&e.binding.key===t.get("key")))),t),d0(o,r)||n.push({cmd:"element.updateModdleProperties",context:{...i,moddleElement:e,properties:{values:o}}})}}).$inject=["eventBus","elementTemplates","commandStack","bpmnFactory"];function m0(e){return Lr(e,["bpmn:ReceiveTask","bpmn:SendTask","bpmn:Event"])}(class extends ks{constructor(e,t,n,i,r,o){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this._injector=i,this.postExecuted(["element.updateProperties","element.updateModdleProperties"],this._handlePropertiesUpdate,!0,this),this.postExecuted("shape.replace",this._handleReplacement,!0,this),this.postExecuted("shape.delete",this._handleRemoval,!0,this),e.on("copyPaste.pasteElement",(function(e){const{referencedRootElement:t}=e.descriptor;t&&RZ(t)&&(e.descriptor.referencedRootElement=r.copyElement(t,o.create(t.$type)))}))}_handlePropertiesUpdate(e){const{element:t,properties:n}=e;if(!m0(t))return;if(!(MZ in n)||h(n[MZ]))return;const i=IZ(qr(t));i&&RZ(i)&&this._modeling.updateModdleProperties(t,i,{[MZ]:null})}_handleReplacement(e){const{oldShape:t,newShape:n}=e,i=RZ(t),r=RZ(n);if(!m0(t)||!i)return;const o=IZ(qr(t));o&&RZ(o)&&(m0(n)&&r?this._addMessage(n,o):EJ(o,this._injector))}_handleRemoval(e){const{shape:t}=e;if("label"===t.type)return;if(!m0(t))return;if(!RZ(t))return;const n=IZ(qr(t));n&&RZ(n)&&EJ(n,this._injector)}_addMessage(e,t){const n=function(e){const t=qr(e);return Ir(t,"bpmn:Event")?t.get("eventDefinitions")[0]:t}(e);this._modeling.updateModdleProperties(e,n,{messageRef:t})}}).$inject=["eventBus","elementTemplates","modeling","injector","moddleCopy","bpmnFactory"];(class extends ks{constructor(e,t,n,i,r){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this.preExecute("shape.create",(e=>{const n=e.shape,o=t.get(n);if(!o)return;const s=o.properties.filter((e=>e.generatedValue));s.forEach((e=>{if(!HZ(n,e))return;const t=function(e){if(void 0!==e.value)return e.value;if(e.generatedValue){const{type:t}=e.generatedValue;if("uuid"===t)return wY()}}(e);WZ(r,i,n,e,t)}))}),!0)}}).$inject=["eventBus","elementTemplates","modeling","commandStack","bpmnFactory"];class f0 extends ks{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(n){var i=n.context,r=qr(i.oldShape),o=i.newShape,s=qr(o);if(!r.modelerTemplate)return;const a=s.modelerTemplate,l=s.modelerTemplateVersion,c=e.get(a,l);if(!c)return void e.unlinkTemplate(o,t);const{appliesTo:p,elementType:u}=c;if(u)return void(Ir(o,u.value)||e.unlinkTemplate(o,t));p.reduce(((e,t)=>e||Ir(s,t)),!1)||e.unlinkTemplate(o,t)}))}}function g0(e=[]){const t=[];return p(e)?(b(P(e),(function(n){t.push(L({type:n},e[n]))})),t):e}function y0(e,t,n){const{name:i,scriptFormat:r}=e;let o,s;return r?s=n.create("camunda:Script",{scriptFormat:r,value:t}):o=t,n.create("camunda:InputParameter",{name:i,value:o,definition:s})}function v0(e,t,n){const{scriptFormat:i,source:r}=e;let o,s;return i?s=n.create("camunda:Script",{scriptFormat:i,value:r}):o=r,n.create("camunda:OutputParameter",{name:t,value:o,definition:s})}function b0(e,t="",n){const{name:i}=e;return n.create("camunda:Property",{name:i,value:t})}function x0(e,t,n){const i=k0(e,t);return n.create("camunda:In",i)}function w0(e,t){return t.create("camunda:In",{businessKey:e})}function E0(e,t,n){const i=k0(e,t);return n.create("camunda:Out",i)}function _0(e,t,n){const i=L({},{string:void 0,expression:void 0,name:void 0}),{expression:r,name:o}=e;return r?i.expression=t:i.string=t,i.name=o,n.create("camunda:Field",i)}function O0(e,t,n,i){const r=i.create("camunda:ErrorEventDefinition",{errorRef:t,expression:e});return r.$parent=n,r}function P0(e,t,n){const i=n.create("bpmn:Error",{id:qZ("Error_"+e+"_")});return i.$parent=t,i}function k0(e,t){const n={},{expression:i,source:r,sourceExpression:o,target:s,type:a,variables:l}=e;if("camunda:in"===a)if(!s||i||l)if(s&&!0===i&&!l)n.target=s,n.sourceExpression=t;else if(s||i||"local"!==l)if(s&&!i&&"local"===l)n.local=!0,n.source=t,n.target=s;else if(s&&i&&"local"===l)n.local=!0,n.sourceExpression=t,n.target=s;else{if(s||i||"all"!==l)throw new Error("invalid configuration for camunda:in element template binding");n.variables="all"}else n.local=!0,n.variables="all";else n.target=s,n.source=t;if("camunda:out"===a)if(!r||o||l)if(r||!o||l)if(r||o||"all"!==l)if(r&&!o&&"local"===l)n.local=!0,n.source=r,n.target=t;else if(!r&&o&&"local"===l)n.local=!0,n.sourceExpression=o,n.target=t;else{if(r||o||"local"!==l)throw new Error("invalid configuration for camunda:out element template binding");n.local=!0,n.variables="all"}else n.variables="all";else n.target=t,n.sourceExpression=o;else n.target=t,n.source=r;return n}f0.$inject=["elementTemplates","injector"];const S0=["camunda:class","camunda:delegateExpression","camunda:expression"];class C0{constructor(e,t,n,i){this._bpmnFactory=e,this._bpmnReplace=t,this._commandStack=n,this._modeling=i}preExecute(e){const t=e.newTemplate,n=e.oldTemplate;let i=e.element;this._updateCamundaModelerTemplate(i,t),t&&(i=e.element=this._updateTaskType(i,t),this._updateProperties(i,n,t),this._updateCamundaExecutionListenerProperties(i,t),this._updateCamundaFieldProperties(i,n,t),this._updateCamundaInOutProperties(i,n,t),this._updateCamundaInputOutputParameterProperties(i,n,t),this._updateCamundaPropertyProperties(i,n,t),this._updateCamundaErrorEventDefinitionProperties(i,n,t),g0(t.scopes).forEach((e=>{this._updateScopeProperties(i,n,e,t)})))}_getOrCreateExtensionElements(e){const t=this._bpmnFactory,n=this._modeling,i=qr(e);let r=i.get("extensionElements");return r||(r=t.create("bpmn:ExtensionElements",{values:[]}),r.$parent=i,n.updateProperties(e,{extensionElements:r})),r}_updateCamundaErrorEventDefinitionProperties(e,t,n){const i=this._bpmnFactory,r=this._commandStack,o=n.properties.filter((e=>"camunda:errorEventDefinition"===e.binding.type));if(!o.length)return;const s=this._getOrCreateExtensionElements(e),a=oJ(e,["camunda:ErrorEventDefinition"]);o.forEach((n=>{const o=A0(t,n),l=o&&T0(s,o),c=n.binding;if(o&&l)R0(l,o)||r.execute("element.updateModdleProperties",{element:e,moddleElement:l,properties:{expression:n.value}}),D0(a,l);else{const t=zZ(qr(e)),o=P0(c.errorRef,t,i),a=O0(n.value,o,s,i);r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{rootElements:[...t.get("rootElements"),o]}}),r.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}})),a.length&&r.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:x(s.get("values"),(e=>a.includes(e)))}})}_updateCamundaExecutionListenerProperties(e,t){const n=this._bpmnFactory,i=this._commandStack,r=t.properties.filter((e=>"camunda:executionListener"===e.binding.type));if(!r.length)return;const o=this._getOrCreateExtensionElements(e),s=oJ(e,["camunda:ExecutionListener"]),a=r.map((e=>function(e,t,n){const{event:i,implementationType:r,scriptFormat:o}=e;return"script"===r||o?n.create("camunda:ExecutionListener",{event:i,script:n.create("camunda:Script",{scriptFormat:o,value:t})}):n.create("camunda:ExecutionListener",{event:i,[r]:t})}(e.binding,e.value,n)));i.execute("element.updateModdleProperties",{element:e,moddleElement:o,properties:{values:[...x(o.get("values"),(e=>s.includes(e))),...a]}})}_updateCamundaFieldProperties(e,t,n,i){const r=this._bpmnFactory,o=this._commandStack,s=n.properties.filter((e=>"camunda:field"===e.binding.type));if(!s.length)return;i||(i=this._getOrCreateExtensionElements(e));const a=Lr(i,["camunda:ExecutionListener","camunda:TaskListener"])?"fields":"values",l=oJ(e,["camunda:Field"]);s.forEach((n=>{const s=A0(t,n),c=s&&T0(i,s),p=n.binding;if(s&&c)R0(c,s)||o.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{string:n.value}}),D0(l,c);else{const t=_0(p,n.value,r);o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{[a]:[...i.get(a),t]}})}})),l.length&&o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{[a]:x(i.get(a),(e=>l.includes(e)))}})}_updateCamundaInOutProperties(e,t,n){const i=this._bpmnFactory,r=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return"camunda:in"===t||"camunda:in:businessKey"===t||"camunda:out"===t}));if(!o.length)return;const s=this._getOrCreateExtensionElements(p0(e)||e),a=oJ(s,["camunda:In","camunda:Out"]);o.forEach((n=>{const o=A0(t,n),l=o&&o.binding,c=o&&T0(s,o),p=n.value,u=n.binding,d=u.type,h={};let m;o&&c?(R0(c,o)||("camunda:in"===d?u.expression?h["camunda:sourceExpression"]=p:h["camunda:source"]=p:"camunda:in:businessKey"===d?h["camunda:businessKey"]=p:"camunda:out"===d&&(h["camunda:target"]=p)),(l.local&&!u.local||!l.local&&u.local)&&(h.local=u.local),P(h)&&r.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:h}),D0(a,c)):("camunda:in"===d?m=x0(u,p,i):"camunda:out"===d?m=E0(u,p,i):"camunda:in:businessKey"===d&&(m=w0(p,i)),r.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),m]}}))})),a.length&&r.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:x(s.get("values"),(e=>a.includes(e)))}})}_updateCamundaInputOutputParameterProperties(e,t,n,i){const r=this._bpmnFactory,o=this._commandStack,s=n.properties.filter((e=>{const t=e.binding.type;return"camunda:inputParameter"===t||"camunda:outputParameter"===t}));if(!s.length)return;let a;i||(i=this._getOrCreateExtensionElements(e)),Ir(i,"camunda:Connector")?(a=i.get("camunda:inputOutput"),a||(a=r.create("camunda:InputOutput"),o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{inputOutput:a}}))):(a=rJ(i,"camunda:InputOutput"),a||(a=r.create("camunda:InputOutput"),o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:[...i.get("values"),a]}})));const l=a.get("camunda:inputParameters")?a.get("camunda:inputParameters").slice():[],c=a.get("camunda:outputParameters")?a.get("camunda:outputParameters").slice():[];let p;s.forEach((n=>{const s=A0(t,n),u=s&&T0(i,s),d=n.value,h=n.binding,m=h.type;let f,g;s&&u?(R0(u,s)||(g=Ir(u,"camunda:InputParameter")?{value:d}:{name:d},o.execute("element.updateModdleProperties",{element:e,moddleElement:u,properties:g})),Ir(u,"camunda:InputParameter")?D0(l,u):D0(c,u)):("camunda:inputParameter"===m?(p="inputParameters",f=y0(h,d,r)):(p="outputParameters",f=v0(h,d,r)),o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{[p]:[...a.get(p),f]}}))})),l.length&&o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{inputParameters:x(a.get("inputParameters"),(e=>l.includes(e)))}}),c.length&&o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{outputParameters:x(a.get("outputParameters"),(e=>c.includes(e)))}})}_updateCamundaModelerTemplate(e,t){this._modeling.updateProperties(e,{"camunda:modelerTemplate":t&&t.id,"camunda:modelerTemplateVersion":t&&t.version})}_updateCamundaPropertyProperties(e,t,n,i){const r=this._bpmnFactory,o=this._commandStack,s=n.properties.filter((e=>"camunda:property"===e.binding.type));if(!s.length)return;let a=rJ(i=i?this._getOrCreateExtensionElements(i):this._getOrCreateExtensionElements(e),"camunda:Properties");a||(a=r.create("camunda:Properties"),o.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:[...i.get("values"),a]}}));const l=a.get("camunda:values")?a.get("camunda:values").slice():[];s.forEach((n=>{const s=A0(t,n),c=s&&T0(i,s),p=n.value,u=n.binding;if(s&&c)R0(c,s)||o.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{value:p}}),D0(l,c);else{const t=b0(u,p,r);o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:[...a.get("values"),t]}})}})),l.length&&o.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:x(a.get("values"),(e=>l.includes(e)))}})}_updateConditionExpression(e,t,n){const i=this._bpmnFactory,r=this._commandStack,o=this._modeling,s=n.binding,a=n.value;if(!t)return void o.updateProperties(e,{conditionExpression:i.create("bpmn:FormalExpression",{body:a,language:s.scriptFormat})});const l=t.binding,c=t.value,p=qr(e).get("bpmn:conditionExpression"),u={};p.get("body")===c&&(u.body=a),p.get("language")===l.scriptFormat&&(u.language=s.scriptFormat),P(u).length&&r.execute("element.updateModdleProperties",{element:e,moddleElement:p,properties:u})}_updateProperties(e,t,n,i){const r=this._commandStack,o=n.properties.filter((e=>"property"===e.binding.type)),s=t&&t.properties.filter((e=>"property"===e.binding.type));o.length&&(i||(i=qr(e)),o.forEach((n=>{const o=A0(t,n),a=n.binding.name,l=n.value;let c,p;if(o&&D0(s,o),"conditionExpression"===a)this._updateConditionExpression(e,o,n);else{if(c=Ir(i,"bpmn:Error")?i:e,o&&R0(c,o))return;p={},p[a]=l,-1!==S0.indexOf(a)&&S0.forEach((e=>{e!==a&&(p[e]=void 0)})),r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:p})}})),s&&s.forEach((t=>{r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{[t.binding.name]:null}})})))}_updateScopeProperties(e,t,n,i){const r=this._bpmnFactory,o=this._commandStack,s=n.type;let a;a=function(e,t,n){const i=t.type,r=t.id;if("camunda:Connector"===i)return rJ(e,"camunda:Connector");if("bpmn:Error"===i){const t=function(e,t){return g(e.properties,(function(e){return e.binding.errorRef===t}))}(n,r);if(!t)return;const i=T0(e,t);if(!i)return;return i.errorRef}}(e,n,i),a||(a=r.create(s));const l=function(e,t){const n=e.type,i=e.id,r=t&&g0(t.scopes);return r&&g(r,(function(e){return M0(n)?e.id===i:e.type===n}))}(n,t);if(this._updateProperties(e,l,n,a),this._updateCamundaExecutionListenerProperties(e,n),this._updateCamundaInOutProperties(e,l,n),this._updateCamundaInputOutputParameterProperties(e,l,n,a),this._updateCamundaFieldProperties(e,l,n,a),this._updateCamundaPropertyProperties(e,l,n,a),M0(s))return;const c=this._getOrCreateExtensionElements(e);o.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{values:[...c.get("values"),a]}})}_updateTaskType(e,t){const n=t.elementType;return n?e.$type===n.value?e:this._bpmnReplace.replaceElement(e,{type:n.value}):e}}function T0(e,t){let n,i=qr(e);const r=t.binding,o=r.type;if("camunda:field"===o){if(n=Lr(i,["camunda:ExecutionListener","camunda:TaskListener"])?"camunda:fields":"bpmn:values",!i||!i.get(n)||!i.get(n).length)return;return g(i.get(n),(function(e){return e.get("camunda:name")===r.name}))}if("camunda:in"===o)return g(i.get("values"),(function(e){return e.get("target")===r.target}));if("camunda:in:businessKey"===o)return g(i.get("values"),(function(e){return h(e.get("businessKey"))}));if("camunda:out"===o)return g(i.get("values"),(function(e){return e.get("source")===r.source||e.get("sourceExpression")||r.sourceExpression}));if("camunda:inputParameter"===o||"camunda:outputParameter"===o){if(Ir(i,"camunda:Connector")){if(i=i.get("camunda:inputOutput"),!i)return}else if(i=rJ(i,"camunda:InputOutput"),!i)return;return"camunda:inputParameter"===o?g(i.get("camunda:inputParameters"),(function(e){return e.get("camunda:name")===r.name})):g(i.get("camunda:outputParameters"),(function(e){if(r.scriptFormat){const t=e.get("camunda:definition");return t&&t.get("camunda:value")===r.source}return e.get("camunda:value")===r.source}))}if("camunda:property"===o){if(!i||!i.get("values")||!i.get("values").length)return;if(i=rJ(i,"camunda:Properties"),!i)return;return g(i.get("values"),(function(e){return e.get("camunda:name")===r.name}))}return"camunda:errorEventDefinition"===o?pJ(e,r.errorRef):void 0}function A0(e,t){if(!e)return;const n=e.properties,i=t.binding,r=i.name,o=i.type;return"property"===o?g(n,(function(e){const t=e.binding,n=t.name;return"property"===t.type&&n===r})):"camunda:field"===o?g(n,(function(e){const t=e.binding,n=t.name;return"camunda:field"===t.type&&n===r})):"camunda:in"===o?g(n,(function(e){const t=e.binding;if("camunda:in"===t.type&&!(t.expression&&!i.expression||!t.expression&&i.expression))return t.target===i.target})):"camunda:in:businessKey"===o?g(n,(function(e){return"camunda:in:businessKey"===e.binding.type})):"camunda:out"===o?g(n,(function(e){const t=e.binding;return"camunda:out"===t.type&&(t.source===i.source||t.sourceExpression===i.sourceExpression)})):"camunda:inputParameter"===o?g(n,(function(e){const t=e.binding,n=t.name;if("camunda:inputParameter"===t.type)return n===r&&t.scriptFormat===i.scriptFormat})):"camunda:outputParameter"===o?g(n,(function(e){const t=e.binding;if("camunda:outputParameter"===t.type)return t.source===i.source&&t.scriptFormat===i.scriptFormat})):"camunda:property"===o?g(n,(function(e){const t=e.binding,n=t.name;return"camunda:property"===t.type&&n===r})):"camunda:errorEventDefinition"===o?g(n,(function(e){const t=i.errorRef,n=e.binding,r=n.errorRef;return"camunda:errorEventDefinition"===n.type&&r===t})):void 0}function M0(e){return["bpmn:Error"].includes(e)}function R0(e,t){const n=qr(e),i=t.binding,r=i.name,o=i.type,s=t.value;let a,l;return"property"===o?"conditionExpression"===r?(a=n.get("bpmn:conditionExpression"),a.get("bpmn:body")!==s):n.get(r)!==s:"camunda:field"===o?n.get("camunda:string")!==s:"camunda:in"===o?i.expression?n.get("sourceExpression")!==s:n.get("camunda:source")!==s:"camunda:in:businessKey"===o?n.get("camunda:businessKey")!==s:"camunda:out"===o?n.get("camunda:target")!==s:"camunda:inputParameter"===o?i.scriptFormat?(l=n.get("camunda:definition"),l&&l.get("camunda:value")!==s):n.get("camunda:value")!==s:"camunda:outputParameter"===o?n.get("camunda:name")!==s:"camunda:property"===o?n.get("camunda:value")!==s:"camunda:errorEventDefinition"===o?n.get("expression")!==s:void 0}function D0(e,t){const n=e.indexOf(t);return s(n)||e.splice(n,1),e}function N0(e,t,n){e.registerHandler("propertiesPanel.camunda.changeTemplate",C0),e.registerHandler("propertiesPanel.removeTemplate",_J),n.on(["commandStack.shape.create.postExecuted"],(function(n){const{context:{hints:i={},shape:r}}=n;!1!==i.createElementsBehavior&&$0(r,t,e)})),n.on(["commandStack.connection.create.postExecuted"],(function(n){const{context:{hints:i={},connection:r}}=n;!1!==i.createElementsBehavior&&$0(r,t,e)}))}C0.$inject=["bpmnFactory","bpmnReplace","commandStack","modeling"],N0.$inject=["commandStack","elementTemplates","eventBus"];var B0={__init__:[N0]};function $0(e,t,n){if(!t.get(e)&&t.getDefault(e)){const i="propertiesPanel.camunda.changeTemplate",r={element:e,newTemplate:t.getDefault(e)};n.execute(i,r)}}const j0="camunda:errorEventDefinition",I0="camunda:executionListener",L0="camunda:field",q0="camunda:in:businessKey",z0="camunda:in",V0="camunda:inputParameter",F0="camunda:out",H0="camunda:outputParameter",U0="camunda:property",W0="property",X0=[j0,L0,z0,q0,V0,F0,H0,U0],G0=[V0,H0],Q0=[q0,z0,F0],K0=["Boolean","Integer","String"],Y0={id:"ElementTemplates__CustomProperties",label:"Custom properties"};function Z0(e){const{element:t,elementTemplate:n}=e,i=[],{id:r,properties:o,groups:s,scopes:a}=n,l=function(e){return C(e,"group")}(o),p=[];return b(l,((e,n)=>{const o=function(e,t){return g(e,(e=>e.id===t))}(s,n);if(!o)return p.push(...e);J0(i,{element:t,id:`ElementTemplates__CustomProperties-${n}`,label:o.label,properties:e,templateId:`${r}-${n}`})})),p.length&&J0(i,{...Y0,element:t,properties:p,templateId:r}),c(a)&&a.forEach((e=>{const{properties:n,type:r}=e,o=r.replace(/:/g,"-");J0(i,{element:t,id:`ElementTemplates__CustomGroup-${o}`,label:`Custom properties for scope <${r}>`,properties:n,templateId:o,scope:e})})),i}function J0(e,t){const{element:n,id:i,label:r,properties:o,scope:s,templateId:a}=t,l={id:i,label:r,component:rL,entries:[],shouldOpen:!0};o.forEach(((e,t)=>{const n=function(e,t,n,i){let{type:r}=n;r||(r=function(e){const{binding:t}=e,{type:n}=t;if([W0,U0,z0,q0,F0,L0].includes(n))return"String";if(n===I0)return"Hidden"}(n));if("Boolean"===r)return{id:e,component:e1,isEdited:WL,property:n,scope:i};if("Dropdown"===r)return{id:e,component:t1,isEdited:ZL,property:n,scope:i};if("String"===r)return{id:e,component:n1,isEdited:cq,property:n,scope:i};if("Text"===r)return{id:e,component:i1,isEdited:oq,property:n,scope:i}}(`custom-entry-${a}-${t}`,0,e,s);n&&l.entries.push(n)})),l.entries.length&&e.push(l)}function e1(e){const{element:t,id:n,property:i,scope:r}=e,{description:o,editable:s,label:a}=i,l=ez("bpmnFactory"),c=ez("commandStack");return UL({element:t,getValue:r1(t,i,r),id:n,label:a,description:c0({description:o}),setValue:o1(l,c,t,i,r),disabled:!1===s})}function t1(e){const{element:t,id:n,property:i,scope:r}=e,{description:o,editable:s,label:a}=i,l=ez("bpmnFactory"),c=ez("commandStack");return YL({element:t,id:n,label:a,getOptions:()=>{const{choices:e}=i;return e.map((({name:e,value:t})=>({label:e,value:t})))},description:c0({description:o}),getValue:r1(t,i,r),setValue:o1(l,c,t,i,r),disabled:!1===s})}function n1(e){const{element:t,id:n,property:i,scope:r}=e,{description:o,editable:s,label:a}=i,l=ez("bpmnFactory"),c=ez("commandStack"),p=ez("debounceInput"),u=ez("translate");return lq({debounce:p,element:t,getValue:r1(t,i,r),id:n,label:a,description:c0({description:o}),setValue:o1(l,c,t,i,r),validate:s1(u,i),disabled:!1===s})}function i1(e){const{element:t,id:n,property:i,scope:r}=e,{description:o,editable:s,label:a}=i,l=ez("bpmnFactory"),c=ez("commandStack");return rq({debounce:ez("debounceInput"),element:t,id:n,label:a,description:c0({description:o}),getValue:r1(t,i,r),setValue:o1(l,c,t,i,r),disabled:!1===s})}function r1(e,t,n){return function(){let i=qr(e);const{binding:r,value:o=""}=t,{name:a,type:l}=r;if(n&&(i=a1(i,n),!i))return o;if("property"===l){const e=i.get(a);return"conditionExpression"===a?e?e.get("body"):o:s(e)?o:e}if(l===j0){const{errorRef:e}=r,t=pJ(i,e);return t?t.get("camunda:expression"):""}if(l===L0){const e=oJ(i,["camunda:Field"]).find((e=>e.get("camunda:name")===a));return e?e.get("camunda:string")||e.get("camunda:expression"):""}if(l===U0){let e;if(e=n?i.get("properties"):rJ(i,"camunda:Properties"),e){const t=aJ(e,r);if(t)return t.get("camunda:value")}return o}if(G0.includes(l)){let e;if(e=n?i.get("inputOutput"):rJ(i,"camunda:InputOutput"),!e)return o;if(l===V0){const t=lJ(e,r);if(t){const{scriptFormat:e}=r;if(!e)return t.get("value")||"";{const e=t.get("camunda:definition");if(e)return e.get("camunda:value")}}return o}if(l===H0){const t=cJ(e,r);return t?t.get("camunda:name"):o}}if(Q0.includes(l)){const e=sJ(i,r);if(e){if(l===q0)return e.get("camunda:businessKey");if(l===F0)return e.get("camunda:target");if(l===z0){const{expression:t}=r;return t?e.get("camunda:sourceExpression"):e.get("camunda:source")}}return o}throw l1(e,t)}}function o1(e,t,n,i,r){return function(o){let a=qr(n);const{binding:l}=i,{name:c,type:p}=l,u=zZ(a);let d,h;const m=[];if(X0.includes(p)&&(d=a.get("extensionElements"),d||(d=LZ("bpmn:ExtensionElements",null,a,e),m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{extensionElements:d}}}))),r&&(a=a1(a,r),a||("bpmn:Error"===r.type?(a=P0(r.id,u,e),m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:u,properties:{rootElements:[...u.get("rootElements"),a]}}})):(a=LZ(r.type,null,n,e),m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...d.get("values"),a]}}})))),"property"===p){if("conditionExpression"===c){const{scriptFormat:t}=l;h=LZ("bpmn:FormalExpression",{body:o,language:t},a,e)}else{const e=a.$descriptor.propertiesByName[c],{type:t}=e;if(!K0.includes(t))throw new Error(`cannot set property of type <${t}>`);"Boolean"===t?h=!!o:"Integer"===t?(h=parseInt(o,10),isNaN(h)&&(h=void 0)):h=o||""}s(h)||m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{[c]:h}}})}if(p===j0){const{errorRef:t}=l,i=pJ(a,t);if(i)m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:i,properties:{"camunda:expression":o}}});else{const t=P0(l.errorRef,u,e),i=O0(o,t,d,e);m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:u,properties:{rootElements:[...u.get("rootElements"),t]}}}),m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...d.get("values"),i]}}})}}if(p===L0){const t=oJ(a,["camunda:Field"]),i=[];t.length?t.forEach((t=>{t.name===c?i.push(_0(l,o,e)):i.push(t)})):i.push(_0(l,o,e));const r=d.get("values").filter((e=>!t.includes(e)));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...r,...i]}}})}if(p===U0){let t;t=r?a.get("properties"):rJ(d,"camunda:Properties"),t||(t=LZ("camunda:Properties",null,a,e),r?m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{properties:t}}}):m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...d.get("values"),t]}}}));const i=aJ(t,l),s=b0(l,o,e),c=t.get("values").filter((e=>e!==i));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{values:[...c,s]}}})}if(G0.includes(p)){let t;if(t=r?a.get("inputOutput"):rJ(d,"camunda:InputOutput"),t||(t=LZ("camunda:InputOutput",null,a,e),r?m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{inputOutput:t}}}):m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...d.get("values"),t]}}})),p===V0){const i=lJ(t,l),r=y0(l,o,e),s=t.get("camunda:inputParameters").filter((e=>e!==i));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{"camunda:inputParameters":[...s,r]}}})}if(p===H0){const i=cJ(t,l),r=v0(l,o,e),s=t.get("camunda:outputParameters").filter((e=>e!==i));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{"camunda:outputParameters":[...s,r]}}})}}if(Q0.includes(p)){const t=sJ(a,l);let i;i=p===z0?x0(l,o,e):p===F0?E0(l,o,e):w0(o,e);const r=d.get("values").filter((e=>e!==t));m.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:d,properties:{values:[...r,i]}}})}if(!m.length)throw l1(n,i);t.execute("properties-panel.multi-command-executor",m)}}function s1(e,t){return function(n){const{constraints:i={}}=t,{maxLength:r,minLength:o,notEmpty:s}=i;if(s&&function(e){return!e||!e.trim().length}(n))return e("Must not be empty.");if(r&&n.length>r)return e("Must have max length {maxLength}.",{maxLength:r});if(o&&n.length<o)return e("Must have min length {minLength}.",{minLength:o});let{pattern:a}=i;if(a){let t;if(h(a)||(t=a.message,a=a.value),!function(e,t){return new RegExp(t).test(e)}(n,a))return t||e("Must match pattern {pattern}.",{pattern:a})}}}function a1(e,t){const{id:n,type:i}=t;if("bpmn:Error"===i){const t=pJ(e,n);if(t)return t.get("errorRef")}return rJ(e,i)}function l1(e,t){const n=qr(e).get("id"),{binding:i}=t,{type:r}=i;return new Error(`unknown binding <${r}> for element <${n}>, this should never happen`)}function c1(e){const{errorEventDefinition:t,id:n}=e,i=ez("translate"),r=ez("debounceInput");return lq({element:t,id:n,label:i("Throw expression"),getValue:()=>t.get("camunda:expression"),setValue:()=>{},debounce:r,disabled:!0})}function p1(e,t){const n=e.find((({id:e})=>e.endsWith(t)));return x(e,n)}function u1(e){const t=e.get("errorRef");if(!t)return"<no reference>";const n=t.get("errorCode"),i=t.get("name")||"<unnamed>";return n?`${i} (code = ${n})`:i}function d1(e){const{element:t,index:n,property:i,groups:r}=e,{binding:o,description:s,label:a}=i,{name:l}=o,c=rJ(qr(t),"camunda:InputOutput"),p=c&&lJ(c,o),u=`${t.id}-inputParameter-${n}`;let d=[];if(p){const e=r.find((({id:e})=>"CamundaPlatform__Input"===e)),t=e.items.find((({entries:e})=>e[0].parameter===p));d=t.entries,d=function(e,t){const n=e.find((({id:e})=>e.endsWith(t)));return x(e,n)}(d,"-name")}d.unshift({id:`${u}-local-variable-assignment`,component:m1,inputParameter:p,property:i}),s&&d.unshift({id:`${u}-description`,component:h1,text:s});return{id:u,label:a||l,entries:d}}function h1(e){const{id:t,text:n}=e;return LE("div",{class:"bio-properties-panel-entry","data-entry-id":t,children:LE("div",{class:"bio-properties-panel-description",children:LE(c0,{description:n})})})}function m1(e){const{element:t,id:n,property:i,inputParameter:r}=e,{binding:o}=i,s=ez("bpmnFactory"),a=ez("modeling"),l=ez("translate");return OL({id:n,label:l("Local variable assignment"),switcherLabel:l(r?"On":"Off"),description:r?"":l("Parameter won't be created as local variable."),getValue:()=>r,setValue:e=>{e?function(e,t,n,i){const{binding:r,value:o}=t,s=qr(e),a=s.get("extensionElements"),l=rJ(s,"camunda:InputOutput");let c,p;if(a)if(l){c=l;const e=y0(r,o,n);e.$parent=l,p={inputParameters:l.get("camunda:inputParameters").concat(e)}}else{c=a;const e=f1(r,o,n,a);p={values:a.get("values").concat(e)}}else{c=s;const e=function(e,t){return LZ("bpmn:ExtensionElements",{values:[]},e,t)}(s,n),t=f1(r,o,n,e);e.values.push(t),p={extensionElements:e}}i.updateModdleProperties(e,c,p)}(t,i,s,a):function(e,t,n){const i=qr(e),r=rJ(i,"camunda:InputOutput"),o=r.get("camunda:inputParameters"),s=lJ(r,t);n.updateModdleProperties(e,r,{inputParameters:x(o,s)})}(t,o,a)}})}function f1(e,t,n,i){const r=y0(e,t,n),o=LZ("camunda:InputOutput",{inputParameters:[r],outputParameters:[]},i,n);return r.$parent=o,o}const g1=/\s/;function y1(e){const{id:t,text:n}=e;return LE("div",{class:"bio-properties-panel-entry","data-entry-id":t,children:LE("div",{class:"bio-properties-panel-description",children:LE(c0,{description:n})})})}function v1(e){const{element:t,id:n,property:i,outputParameter:r}=e,{binding:o}=i,s=ez("bpmnFactory"),a=ez("modeling"),l=ez("translate");return OL({id:n,label:l("Process variable assignment"),switcherLabel:l(r?"On":"Off"),description:r?"":l("Parameter won't be available in process scope."),getValue:()=>r,setValue:e=>{e?function(e,t,n,i){const{binding:r,value:o}=t,s=qr(e),a=s.get("extensionElements"),l=rJ(s,"camunda:InputOutput");let c,p;if(a)if(l){c=l;const e=v0(r,o,n);e.$parent=l,p={outputParameters:l.get("camunda:outputParameters").concat(e)}}else{c=a;const e=x1(r,o,n,a);p={values:a.get("values").concat(e)}}else{c=s;const e=function(e,t){return LZ("bpmn:ExtensionElements",{values:[]},e,t)}(s,n),t=x1(r,o,n,e);e.values.push(t),p={extensionElements:e}}i.updateModdleProperties(e,c,p)}(t,i,s,a):function(e,t,n){const i=qr(e),r=rJ(i,"camunda:InputOutput"),o=r.get("camunda:outputParameters"),s=cJ(r,t);n.updateModdleProperties(e,r,{outputParameters:x(o,s)})}(t,o,a)}})}function b1(e){const{element:t,id:n,property:i}=e,{binding:r}=i,o=cJ(rJ(t,"camunda:InputOutput"),r),s=ez("commandStack"),a=ez("debounceInput"),l=ez("translate");return lq({debounce:a,element:o,id:n,label:l("Assign to process variable"),getValue:()=>o.get("camunda:name"),setValue:e=>{s.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},validate:e=>e?function(e){return g1.test(e)}(e)?l("Process variable name must not contain spaces."):void 0:l("Process variable name must not be empty.")})}function x1(e,t,n,i){const r=v0(e,t,n),o=LZ("camunda:InputOutput",{inputParameters:[],outputParameters:[r]},i,n);return r.$parent=o,o}const w1="camunda:errorEventDefinition",E1="camunda:inputParameter",_1="camunda:outputParameter";class O1{constructor(e,t,n){t.registerProvider(300,this),this._elementTemplates=e,this._injector=n}getGroups(e){return t=>{const n=this._injector;if(!this._shouldShowTemplateProperties(e))return t;P1("documentation",t=t.slice(),[{element:e,id:"ElementTemplates__Template",label:"Template",component:SJ(),entries:qJ({element:e,elementTemplates:this._elementTemplates})}]);const i=this._elementTemplates.get(e);if(i){const r=[].concat(function(e,t,n,i){const r=n.get("translate"),o={label:r("Inputs"),id:"ElementTemplates__Input",component:qL,items:[]},s=t.properties.filter((({binding:e,type:t})=>!t&&e.type===E1));if(s.forEach(((t,n)=>{const r=d1({element:e,index:n,property:t,groups:i});r&&o.items.push(r)})),!o.items.length)return null;return o}(e,i,n,t)||[],function(e,t,n,i){const r=n.get("translate"),o={label:r("Outputs"),id:"ElementTemplates__Output",component:qL,items:[]},s=t.properties.filter((({binding:e,type:t})=>!t&&e.type===_1));if(s.forEach(((t,i)=>{const r=function(e){const{element:t,index:n,injector:i,property:r}=e,{binding:o,description:s,label:a}=r,{name:l}=o,c=rJ(qr(t),"camunda:InputOutput"),p=i.get("translate"),u=c&&cJ(c,o),d=`${t.id}-outputParameter-${n}`;let h=[];return s&&h.push({id:`${d}-description`,component:y1,text:s}),h.push({id:`${d}-local-variable-assignment`,component:v1,outputParameter:u,property:r}),u&&h.push({id:`${d}-assign-to-process-variable`,component:b1,property:r}),{id:d,label:a||l||p("<unnamed>"),entries:h}}({element:e,index:i,property:t,injector:n});r&&o.items.push(r)})),!o.items.length)return null;return o}(e,i,n)||[],function(e,t,n,i){const r=n.get("translate"),o={label:r("Errors"),id:"ElementTemplates__Error",component:qL,items:[]},s=t.properties.filter((({binding:e,type:t})=>!t&&e.type===w1));if(s.forEach(((t,n)=>{const r=function(e){const{element:t,index:n,property:i,groups:r}=e,{binding:o,label:s}=i,{errorRef:a}=o;if(!oJ(qr(t),["camunda:ErrorEventDefinition"]).length)return;const l=pJ(t,a),c=`${t.id}-error-${n}`;let p=[];const u=r.find((({id:e})=>"CamundaPlatform__Errors"===e)),d=u.items.find((({entries:e})=>e[0].errorEventDefinition===l));return p=d.entries,p=p1(p,"-errorRef"),p=p1(p,"-expression"),p.push({id:`${c}-expression`,component:c1,errorEventDefinition:l,property:i}),{id:c,label:s||u1(l),entries:p}}({element:e,index:n,property:t,groups:i});r&&o.items.push(r)})),!o.items.length)return null;return o}(e,i,n,t)||[],Z0({element:e,elementTemplate:i}));P1("ElementTemplates__Template",t,r)}return iJ(e)&&(t=function(e,t){if(!e.entriesVisible)return t.filter((e=>"general"===e.id||e.id.startsWith("ElementTemplates__")));return t}(i||{},t)),t}}_shouldShowTemplateProperties(e){return iJ(e)||this._elementTemplates.getAll(e).length}}function P1(e,t,n){const i=t.findIndex((t=>t.id===e));-1!==i?t.splice(i+1,0,...n):t.unshift(...n)}O1.$inject=["elementTemplates","propertiesPanel","injector"];var k1={__depends__:[B0,Fo,WK],__init__:["elementTemplatesLoader","replaceBehavior","elementTemplatesPropertiesProvider"],elementTemplates:["type",hJ],elementTemplatesLoader:["type",wJ],replaceBehavior:["type",f0],elementTemplatesPropertiesProvider:["type",O1]};function S1(){}function C1(e,t){this.model=e,this.properties=t}S1.prototype.get=function(e){return this.$model.properties.get(this,e)},S1.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},C1.prototype.createType=function(e){var t=this.model,n=this.properties,i=Object.create(S1.prototype);b(e.properties,(function(e){e.isMany||void 0===e.default||(i[e.name]=e.default)})),n.defineModel(i,t),n.defineDescriptor(i,e);var r=e.ns.name;function o(e){n.define(this,"$type",{value:r,enumerable:!0}),n.define(this,"$attrs",{value:{}}),n.define(this,"$parent",{writable:!0}),b(e,I((function(e,t){this.set(t,e)}),this))}return o.prototype=i,o.hasType=i.$instanceOf=this.model.hasType,n.defineModel(o,t),n.defineDescriptor(o,e),o};var T1={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},A1={String:function(e){return e},Boolean:function(e){return"true"===e},Integer:function(e){return parseInt(e,10)},Real:function(e){return parseFloat(e)}};function M1(e,t){var n=A1[e];return n?n(t):t}function R1(e){return!!T1[e]}function D1(e){return!!A1[e]}function N1(e,t){var n,i,r=e.split(/:/);if(1===r.length)n=e,i=t;else{if(2!==r.length)throw new Error("expected <prefix:localName> or <localName>, got "+e);n=r[1],i=r[0]}return{name:e=(i?i+":":"")+n,prefix:i,localName:n}}function B1(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function $1(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,b(e,I(this.registerPackage,this))}function j1(e,t,n){var i=t[n];if(i in e)throw new Error("package with "+n+" <"+i+"> already defined")}function I1(e){this.model=e}function L1(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function q1(e){return e.replace(/^:/,"")}function z1(e,t={}){this.properties=new I1(this),this.factory=new C1(this,this.properties),this.registry=new $1(e,this.properties),this.typeCache={},this.config=t}B1.prototype.build=function(){return V(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},B1.prototype.addProperty=function(e,t,n){"boolean"==typeof t&&(n=t,t=void 0),this.addNamedProperty(e,!1!==n);var i=this.properties;void 0!==t?i.splice(t,0,e):i.push(e)},B1.prototype.replaceProperty=function(e,t,n){var i=e.ns,r=this.properties,o=this.propertiesByName,s=e.name!==t.name;if(e.isId){if(!t.isId)throw new Error("property <"+t.ns.name+"> must be id property to refine <"+e.ns.name+">");this.setIdProperty(t,!1)}if(e.isBody){if(!t.isBody)throw new Error("property <"+t.ns.name+"> must be body property to refine <"+e.ns.name+">");this.setBodyProperty(t,!1)}var a=r.indexOf(e);if(-1===a)throw new Error("property <"+i.name+"> not found in property list");r.splice(a,1),this.addProperty(t,n?void 0:a,s),o[i.name]=o[i.localName]=t},B1.prototype.redefineProperty=function(e,t,n){var i=e.ns.prefix,r=t.split("#"),o=N1(r[0],i),s=N1(r[1],o.prefix).name,a=this.propertiesByName[s];if(!a)throw new Error("refined property <"+s+"> not found");this.replaceProperty(a,e,n),delete e.redefines},B1.prototype.addNamedProperty=function(e,t){var n=e.ns,i=this.propertiesByName;t&&(this.assertNotDefined(e,n.name),this.assertNotDefined(e,n.localName)),i[n.name]=i[n.localName]=e},B1.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},B1.prototype.setBodyProperty=function(e,t){if(t&&this.bodyProperty)throw new Error("body property defined multiple times (<"+this.bodyProperty.ns.name+">, <"+e.ns.name+">)");this.bodyProperty=e},B1.prototype.setIdProperty=function(e,t){if(t&&this.idProperty)throw new Error("id property defined multiple times (<"+this.idProperty.ns.name+">, <"+e.ns.name+">)");this.idProperty=e},B1.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},B1.prototype.assertNotDefined=function(e,t){var n=e.name,i=this.propertiesByName[n];if(i)throw new Error("property <"+n+"> already defined; override of <"+i.definedBy.ns.name+"#"+i.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},B1.prototype.hasProperty=function(e){return this.propertiesByName[e]},B1.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var n=this.allTypesByName,i=this.allTypes,r=e.name;r in n||(b(e.properties,I((function(n){n=L({},n,{name:n.ns.localName,inherited:t}),Object.defineProperty(n,"definedBy",{value:e});var i=n.replaces,r=n.redefines;i||r?this.redefineProperty(n,i||r,i):(n.isBody&&this.setBodyProperty(n),n.isId&&this.setIdProperty(n),this.addProperty(n))}),this)),i.push(e),n[r]=e)},$1.prototype.getPackage=function(e){return this.packageMap[e]},$1.prototype.getPackages=function(){return this.packages},$1.prototype.registerPackage=function(e){e=L({},e);var t=this.packageMap;j1(t,e,"prefix"),j1(t,e,"uri"),b(e.types,I((function(t){this.registerType(t,e)}),this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},$1.prototype.registerType=function(e,t){var n=N1((e=L({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:L(e.meta||{})})).name,t.prefix),i=n.name,r={};b(e.properties,I((function(e){var t=N1(e.name,n.prefix),i=t.name;R1(e.type)||(e.type=N1(e.type,t.prefix).name),L(e,{ns:t,name:i}),r[i]=e}),this)),L(e,{ns:n,name:i,propertiesByName:r}),b(e.extends,I((function(e){var t=N1(e,n.prefix),r=this.typeMap[t.name];r.traits=r.traits||[],r.traits.push(i)}),this)),this.definePackage(e,t),this.typeMap[i]=e},$1.prototype.mapTypes=function(e,t,n){var i=R1(e.name)?{name:e.name}:this.typeMap[e.name],r=this;function o(n,i){var o=N1(n,R1(n)?"":e.prefix);r.mapTypes(o,t,i)}function s(e){return o(e,!0)}if(!i)throw new Error("unknown type <"+e.name+">");b(i.superClass,n?s:function(e){return o(e,!1)}),t(i,!n),b(i.traits,s)},$1.prototype.getEffectiveDescriptor=function(e){var t=N1(e),n=new B1(t);this.mapTypes(t,(function(e,t){n.addTrait(e,t)}));var i=n.build();return this.definePackage(i,i.allTypes[i.allTypes.length-1].$pkg),i},$1.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},I1.prototype.set=function(e,t,n){if(!h(t)||!t.length)throw new TypeError("property name must be a non-empty string");var i=this.getProperty(e,t),r=i&&i.name;void 0===n?i?delete e[r]:delete e.$attrs[q1(t)]:i?r in e?e[r]=n:L1(e,i,n):e.$attrs[q1(t)]=n},I1.prototype.get=function(e,t){var n=this.getProperty(e,t);if(!n)return e.$attrs[q1(t)];var i=n.name;return!e[i]&&n.isMany&&L1(e,n,[]),e[i]},I1.prototype.define=function(e,t,n){if(!n.writable){var i=n.value;delete(n=L({},n,{get:function(){return i}})).value}Object.defineProperty(e,t,n)},I1.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},I1.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},I1.prototype.getProperty=function(e,t){var n=this.model,i=n.getPropertyDescriptor(e,t);if(i)return i;if(t.includes(":"))return null;const r=n.config.strict;if(void 0!==r){const n=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(r)throw n;"undefined"!=typeof console&&console.warn(n)}return null},z1.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},z1.prototype.getType=function(e){var t=this.typeCache,n=h(e)?e:e.ns.name,i=t[n];return i||(e=this.registry.getEffectiveDescriptor(n),i=t[n]=this.factory.createType(e)),i},z1.prototype.createAny=function(e,t,n){var i=N1(e),r={$type:e,$instanceOf:function(e){return e===this.$type},get:function(e){return this[e]},set:function(e,t){q(this,[e],t)}},o={name:e,isGeneric:!0,ns:{prefix:i.prefix,localName:i.localName,uri:t}};return this.properties.defineDescriptor(r,o),this.properties.defineModel(r,this),this.properties.define(r,"get",{enumerable:!1,writable:!0}),this.properties.define(r,"set",{enumerable:!1,writable:!0}),this.properties.define(r,"$parent",{enumerable:!1,writable:!0}),this.properties.define(r,"$instanceOf",{enumerable:!1,writable:!0}),b(n,(function(e,t){p(e)&&void 0!==e.value?r[e.name]=e.value:r[t]=e})),r},z1.prototype.getPackage=function(e){return this.registry.getPackage(e)},z1.prototype.getPackages=function(){return this.registry.getPackages()},z1.prototype.getElementDescriptor=function(e){return e.$descriptor},z1.prototype.hasType=function(e,t){return void 0===t&&(t=e,e=this),t in e.$model.getElementDescriptor(e).allTypesByName},z1.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},z1.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var V1=String.fromCharCode,F1=Object.prototype.hasOwnProperty,H1=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,U1={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function W1(e,t,n,i){return i?F1.call(U1,i)?U1[i]:"&"+i+";":V1(t||parseInt(n,16))}function X1(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(H1,W1):e}Object.keys(U1).forEach((function(e){U1[e.toUpperCase()]=U1[e]}));var G1="xsi:type",Q1="non-whitespace outside of root node";function K1(e){return new Error(e)}function Y1(e){return"missing namespace for prefix <"+e+">"}function Z1(e){return{get:e,enumerable:!0}}function J1(e){var t,n={};for(t in e)n[t]=e[t];return n}function e2(e){return e+"$uri"}function t2(){return{line:0,column:0}}function n2(e){throw e}function i2(e){if(!this)return new i2(e);var t,n,i,r,o,s,a,l,c,p=e&&e.proxy,u=n2,d=t2,h=!1,m=!1,f=null,g=!1;function y(e){e instanceof Error||(e=K1(e)),f=e,u(e,d)}function v(e){o&&(e instanceof Error||(e=K1(e)),o(e,d))}this.on=function(e,c){if("function"!=typeof c)throw K1("required args <name, cb>");switch(e){case"openTag":n=c;break;case"text":t=c;break;case"closeTag":i=c;break;case"error":u=c;break;case"warn":o=c;break;case"cdata":r=c;break;case"attention":l=c;break;case"question":a=c;break;case"comment":s=c;break;default:throw K1("unsupported event: "+e)}return this},this.ns=function(e){if(void 0===e&&(e={}),"object"!=typeof e)throw K1("required args <nsMap={}>");var t,n={};for(t in e)n[t]=e[t];return n["http://www.w3.org/2001/XMLSchema-instance"]="xsi",m=!0,c=n,this},this.parse=function(e){if("string"!=typeof e)throw K1("required args <xml=string>");return f=null,function(e){var o,u,f,b,x,w,E,_,O,P,k,S=m?[]:null,C=m?function(e){var t,n,i={};for(t in e)i[n=e[t]]=n,i[e2(n)]=t;return i}(c):null,T=[],A=0,M=!1,R=!1,D=0,N=0,B="",$=0;function j(){if(null!==k)return k;var e,t,n,i,r,o,s,a,l,p,u,d=m&&C.xmlns,f=m&&h?[]:null,g=$,y=B,b=y.length,x={},w={};e:for(;g<b;g++)if(l=!1,!(32===(p=y.charCodeAt(g))||p<14&&p>8)){for((p<65||p>122||p>90&&p<97)&&95!==p&&58!==p&&(v("illegal first char attribute name"),l=!0),u=g+1;u<b;u++)if(!((p=y.charCodeAt(u))>96&&p<123||p>64&&p<91||p>47&&p<59||46===p||45===p||95===p)){if(32===p||p<14&&p>8){v("missing attribute value"),g=u;continue e}if(61===p)break;v("illegal attribute name char"),l=!0}if("xmlns:xmlns"===(a=y.substring(g,u))&&(v("illegal declaration of xmlns"),l=!0),34===(p=y.charCodeAt(u+1)))-1===(u=y.indexOf('"',g=u+2))&&-1!==(u=y.indexOf("'",g))&&(v("attribute value quote missmatch"),l=!0);else if(39===p)-1===(u=y.indexOf("'",g=u+2))&&-1!==(u=y.indexOf('"',g))&&(v("attribute value quote missmatch"),l=!0);else for(v("missing attribute value quotes"),l=!0,u+=1;u<b&&!(32===(p=y.charCodeAt(u+1))||p<14&&p>8);u++);for(-1===u&&(v("missing closing quotes"),u=b,l=!0),l||(o=y.substring(g,u)),g=u;u+1<b&&!(32===(p=y.charCodeAt(u+1))||p<14&&p>8);u++)g===u&&(v("illegal character after attribute end"),l=!0);if(g=u+1,!l)if(a in w)v("attribute <"+a+"> already defined");else if(w[a]=!0,m)if(h){if(null!==(r="xmlns"===a?"xmlns":120===a.charCodeAt(0)&&"xmlns:"===a.substr(0,6)?a.substr(6):null)){if(e=X1(o),t=e2(r),!(s=c[e])){if("xmlns"===r||t in C&&C[t]!==e)do{s="ns"+A++}while(void 0!==C[s]);else s=r;c[e]=s}C[r]!==s&&(i||(C=J1(C),i=!0),C[r]=s,"xmlns"===r&&(C[e2(s)]=e,d=s),C[t]=e),x[a]=o;continue}f.push(a,o)}else-1!==(p=a.indexOf(":"))?(n=C[a.substring(0,p)])?((a=d===n?a.substr(p+1):n+a.substr(p))===G1&&(-1!==(p=o.indexOf(":"))?(n=o.substring(0,p),o=(n=C[n]||n)+o.substring(p)):o=d+":"+o),x[a]=o):v(Y1(a.substring(0,p))):x[a]=o;else x[a]=o}if(h)for(g=0,b=f.length;g<b;g++){if(a=f[g++],o=f[g],-1!==(p=a.indexOf(":"))){if(!(n=C[a.substring(0,p)])){v(Y1(a.substring(0,p)));continue}(a=d===n?a.substr(p+1):n+a.substr(p))===G1&&(-1!==(p=o.indexOf(":"))?(n=o.substring(0,p),o=(n=C[n]||n)+o.substring(p)):o=d+":"+o)}x[a]=o}return k=x}function I(){for(var t,n,i=/(\r\n|\r|\n)/g,r=0,o=0,s=0,a=N;D>=s&&(t=i.exec(e))&&!((a=t[0].length+t.index)>D);)r+=1,s=a;return-1==D?(o=a,n=e.substring(N)):0===N?n=e.substring(N,D):(o=D-s,n=-1==N?e.substring(D):e.substring(D,N+1)),{data:n,line:r,column:o}}d=I,p&&(P=Object.create({},{name:Z1((function(){return _})),originalName:Z1((function(){return O})),attrs:Z1(j),ns:Z1((function(){return C}))}));for(;-1!==N;){if(-1===(D=60===e.charCodeAt(N)?N:e.indexOf("<",N)))return T.length?y("unexpected end of file"):0===N?y("missing start tag"):void(N<e.length&&e.substring(N).trim()&&v(Q1));if(N!==D)if(T.length){if(t&&(t(e.substring(N,D),X1,d),g))return}else if(e.substring(N,D).trim()&&(v(Q1),g))return;if(33===(x=e.charCodeAt(D+1))){if(91===(b=e.charCodeAt(D+2))&&"CDATA["===e.substr(D+3,6)){if(-1===(N=e.indexOf("]]>",D)))return y("unclosed cdata");if(r&&(r(e.substring(D+9,N),d),g))return;N+=3;continue}if(45===b&&45===e.charCodeAt(D+3)){if(-1===(N=e.indexOf("--\x3e",D)))return y("unclosed comment");if(s&&(s(e.substring(D+4,N),X1,d),g))return;N+=3;continue}}if(63!==x){for(u=D+1;;u++){if(w=e.charCodeAt(u),isNaN(w))return N=-1,y("unclosed tag");if(34===w)u=-1!==(b=e.indexOf('"',u+1))?b:u;else if(39===w)u=-1!==(b=e.indexOf("'",u+1))?b:u;else if(62===w){N=u;break}}if(33!==x){if(k={},47===x){if(M=!1,R=!0,!T.length)return y("missing open tag");if(u=_=T.pop(),b=D+2+u.length,e.substring(D+2,b)!==u)return y("closing tag mismatch");for(;b<N;b++)if(!(32===(x=e.charCodeAt(b))||x>8&&x<14))return y("close tag")}else{if(47===e.charCodeAt(N-1)?(u=_=e.substring(D+1,N-1),M=!0,R=!0):(u=_=e.substring(D+1,N),M=!0,R=!1),!(x>96&&x<123||x>64&&x<91||95===x||58===x))return y("illegal first char nodeName");for(b=1,f=u.length;b<f;b++)if(!((x=u.charCodeAt(b))>96&&x<123||x>64&&x<91||x>47&&x<59||45===x||95===x||46==x)){if(32===x||x<14&&x>8){_=u.substring(0,b),k=null;break}return y("invalid nodeName")}R||T.push(_)}if(m){if(o=C,M&&(R||S.push(o),null===k&&(h=-1!==u.indexOf("xmlns",b))&&($=b,B=u,j(),h=!1)),O=_,-1!==(x=_.indexOf(":"))){if(!(E=C[_.substring(0,x)]))return y("missing namespace on <"+O+">");_=_.substr(x+1)}else E=C.xmlns;E&&(_=E+":"+_)}if(M&&($=b,B=u,n&&(p?n(P,X1,R,d):n(_,j,X1,R,d),g)))return;if(R){if(i&&(i(p?P:_,X1,M,d),g))return;m&&(C=M?o:S.pop())}N+=1}else{if(l&&(l(e.substring(D,N+1),X1,d),g))return;N+=1}}else{if(-1===(N=e.indexOf("?>",D)))return y("unclosed question");if(a&&(a(e.substring(D,N+2),d),g))return;N+=2}}}(e),d=t2,g=!1,f},this.stop=function(){g=!0}}function r2(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var o2={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},s2="xsi:type";function a2(e){return e.xml&&e.xml.serialize}function l2(e){return a2(e)===s2}function c2(e,t){return r2(t)?e.prefix+":"+((n=e.localName).charAt(0).toUpperCase()+n.slice(1)):e.name;var n}function p2(e){return new Error(e)}function u2(e){return e.$descriptor}function d2(e){L(this,e),this.elementsById={},this.references=[],this.warnings=[],this.addReference=function(e){this.references.push(e)},this.addElement=function(e){if(!e)throw p2("expected element");var t,n=this.elementsById,i=u2(e).idProperty;if(i&&(t=e.get(i.name))){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(t))throw new Error("illegal ID <"+t+">");if(n[t])throw p2("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function h2(){}function m2(){}function f2(){}function g2(e,t){this.property=e,this.context=t}function y2(e,t){this.element=t,this.propertyDesc=e}function v2(){}function b2(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function x2(e,t,n){b2.call(this,e,t,n)}function w2(e,t,n){this.model=e,this.context=n}function E2(e){e instanceof z1&&(e={model:e}),L(this,{lax:!1},e)}h2.prototype.handleEnd=function(){},h2.prototype.handleText=function(){},h2.prototype.handleNode=function(){},m2.prototype=Object.create(h2.prototype),m2.prototype.handleNode=function(){return this},f2.prototype=Object.create(h2.prototype),f2.prototype.handleText=function(e){this.body=(this.body||"")+e},g2.prototype=Object.create(f2.prototype),g2.prototype.handleNode=function(e){if(this.element)throw p2("expected no sub nodes");return this.element=this.createReference(e),this},g2.prototype.handleEnd=function(){this.element.id=this.body},g2.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},y2.prototype=Object.create(f2.prototype),y2.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=M1(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},v2.prototype=Object.create(f2.prototype),v2.prototype.handleNode=function(e){var t=this,n=this.element;return n?t=this.handleChild(e):(n=this.element=this.createElement(e),this.context.addElement(n)),t},b2.prototype=Object.create(v2.prototype),b2.prototype.addReference=function(e){this.context.addReference(e)},b2.prototype.handleText=function(e){if(!u2(this.element).bodyProperty)throw p2("unexpected body text <"+e+">");f2.prototype.handleText.call(this,e)},b2.prototype.handleEnd=function(){var e=this.body,t=this.element,n=u2(t).bodyProperty;n&&void 0!==e&&(e=M1(n.type,e),t.set(n.name,e))},b2.prototype.createElement=function(e){var t,n=e.attributes,i=this.type,r=u2(i),o=this.context,s=new i({}),a=this.model;return b(n,(function(e,n){var i=r.propertiesByName[n];i&&i.isReference?i.isMany?b(e.split(" "),(function(e){o.addReference({element:s,property:i.ns.name,id:e})})):o.addReference({element:s,property:i.ns.name,id:e}):(i?e=M1(i.type,e):"xmlns"!==n&&(t=N1(n,r.ns.prefix),a.getPackage(t.prefix)&&o.addWarning({message:"unknown attribute <"+n+">",element:s,property:n,value:e})),s.set(n,e))})),s},b2.prototype.getPropertyForNode=function(e){var t,n,i=N1(e.name),r=this.type,o=this.model,s=u2(r),a=i.name,l=s.propertiesByName[a];if(l&&!l.isAttr)return l2(l)&&(t=e.attributes[s2])?(t=function(e,t){var n=N1(e);return function(e,t){var n=e.name,i=e.localName,r=t.xml&&t.xml.typePrefix;return r&&0===i.indexOf(r)?e.prefix+":"+i.slice(r.length):n}(n,t.getPackage(n.prefix))}(t,o),L({},l,{effectiveType:u2(n=o.getType(t)).name})):l;var c=o.getPackage(i.prefix);if(c){if(t=c2(i,c),n=o.getType(t),l=g(s.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})),l)return L({},l,{effectiveType:u2(n).name})}else if(l=g(s.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})),l)return l;throw p2("unrecognized element <"+i.name+">")},b2.prototype.toString=function(){return"ElementDescriptor["+u2(this.type).name+"]"},b2.prototype.valueHandler=function(e,t){return new y2(e,t)},b2.prototype.referenceHandler=function(e){return new g2(e,this.context)},b2.prototype.handler=function(e){return"Element"===e?new w2(this.model,e,this.context):new b2(this.model,e,this.context)},b2.prototype.handleChild=function(e){var t,n,i,r;if(t=this.getPropertyForNode(e),i=this.element,D1(n=t.effectiveType||t.type))return this.valueHandler(t,i);var o=(r=t.isReference?this.referenceHandler(t).handleNode(e):this.handler(n).handleNode(e)).element;return void 0!==o&&(t.isMany?i.get(t.name).push(o):i.set(t.name,o),t.isReference?(L(o,{element:i}),this.context.addReference(o)):o.$parent=i),r},x2.prototype=Object.create(b2.prototype),x2.prototype.createElement=function(e){var t=e.name,n=N1(t),i=this.model,r=this.type,o=i.getPackage(n.prefix),s=o&&c2(n,o)||t;if(!r.hasType(s))throw p2("unexpected element <"+e.originalName+">");return b2.prototype.createElement.call(this,e)},w2.prototype=Object.create(v2.prototype),w2.prototype.createElement=function(e){var t=e.name,n=N1(t).prefix,i=e.ns[n+"$uri"],r=e.attributes;return this.model.createAny(t,i,r)},w2.prototype.handleChild=function(e){var t=new w2(this.model,"Element",this.context).handleNode(e),n=this.element,i=t.element;return void 0!==i&&((n.$children=n.$children||[]).push(i),i.$parent=n),t},w2.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},E2.prototype.fromXML=function(e,t,n){var i=t.rootHandler;t instanceof b2?(i=t,t={}):"string"==typeof t?(i=this.handler(t),t={}):"string"==typeof i&&(i=this.handler(i));var r=this.model,o=this.lax,s=new d2(L({},t,{rootHandler:i})),a=new i2({proxy:!0}),l=function(){var e=[];return Object.defineProperty(e,"peek",{value:function(){return this[this.length-1]}}),e}();function c(e,t,n){var i=t(),r=i.line,o=i.column,a=i.data;"<"===a.charAt(0)&&-1!==a.indexOf(" ")&&(a=a.slice(0,a.indexOf(" "))+">");var l="unparsable content "+(a?a+" ":"")+"detected\n\tline: "+r+"\n\tcolumn: "+o+"\n\tnested error: "+e.message;if(n)return s.addWarning({message:l,error:e}),!0;throw p2(l)}function p(e,t){return c(e,t,!0)}i.context=s,l.push(i);var u=/^<\?xml /i,d=/ encoding="([^"]+)"/i,h=/^utf-8$/i;function m(e,t){try{l.peek().handleText(e)}catch(e){p(e,t)}}var f=r.getPackages().reduce((function(e,t){return e[t.uri]=t.prefix,e}),{"http://www.w3.org/XML/1998/namespace":"xml"});return a.ns(f).on("openTag",(function(e,t,n,i){var r=e.attrs||{},s=Object.keys(r).reduce((function(e,n){var i=t(r[n]);return e[n]=i,e}),{});!function(e,t){var n=l.peek();try{l.push(n.handleNode(e))}catch(e){c(e,t,o)&&l.push(new m2)}}({name:e.name,originalName:e.originalName,attributes:s,ns:e.ns},i)})).on("question",(function(e){if(u.test(e)){var t=d.exec(e),n=t&&t[1];n&&!h.test(n)&&s.addWarning({message:"unsupported document encoding <"+n+">, falling back to UTF-8"})}})).on("closeTag",(function(){l.pop().handleEnd()})).on("cdata",m).on("text",(function(e,t,n){!function(e,t){e.trim()&&m(e,t)}(t(e),n)})).on("error",c).on("warn",p),new Promise((function(t,n){var r;try{a.parse(e),function(){var e,t,n=s.elementsById,i=s.references;for(e=0;t=i[e];e++){var r=t.element,o=n[t.id],a=u2(r).propertiesByName[t.property];if(o||s.addWarning({message:"unresolved reference <"+t.id+">",element:t.element,property:t.property,value:t.id}),a.isMany){var l=r.get(a.name),c=l.indexOf(t);-1===c&&(c=l.length),o?l[c]=o:l.splice(c,1)}else r.set(a.name,o)}}()}catch(e){r=e}var o=i.element;r||o||(r=p2("failed to parse document as <"+i.type.$descriptor.name+">"));var l=s.warnings,c=s.references,p=s.elementsById;return r?(r.warnings=l,n(r)):t({rootElement:o,elementsById:p,references:c,warnings:l})}))},E2.prototype.handler=function(e){return new x2(this.model,e)};var _2=/<|>|'|"|&|\n\r|\n/g,O2=/<|>|&/g;function P2(e){var t={},n={},i={},r=[],o=[];this.byUri=function(t){return n[t]||e&&e.byUri(t)},this.add=function(e,t){n[e.uri]=e,t?r.push(e):o.push(e),this.mapPrefix(e.prefix,e.uri)},this.uriByPrefix=function(e){return t[e||"xmlns"]},this.mapPrefix=function(e,n){t[e||"xmlns"]=n},this.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},this.logUsed=function(t){var n=t.uri,r=this.getNSKey(t);i[r]=this.byUri(n),e&&e.logUsed(t)},this.getUsed=function(e){var t=this;return[].concat(r,o).filter((function(e){var n=t.getNSKey(e);return i[n]}))}}function k2(e,t){return r2(t)?function(e){return e.charAt(0).toLowerCase()+e.slice(1)}(e):e}function S2(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function C2(e){return h(e)?e:(e.prefix?e.prefix+":":"")+e.localName}var T2={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},A2={"<":"lt",">":"gt","&":"amp"};function M2(e,t,n){return(e=h(e)?e:""+e).replace(t,(function(e){return"&"+n[e]+";"}))}function R2(e){this.tagName=e}function D2(){}function N2(e){this.tagName=e}function B2(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function $2(e,t){B2.call(this,e,t)}function j2(){this.value="",this.write=function(e){this.value+=e}}function I2(e,t){var n=[""];this.append=function(t){return e.write(t),this},this.appendNewLine=function(){return t&&e.write("\n"),this},this.appendIndent=function(){return t&&e.write(n.join(" ")),this},this.indent=function(){return n.push(""),this},this.unindent=function(){return n.pop(),this}}function L2(e){return e=L({format:!1,preamble:!0},e||{}),{toXML:function(t,n){var i=n||new j2,r=new I2(i,e.format);if(e.preamble&&r.append('<?xml version="1.0" encoding="UTF-8"?>\n'),(new B2).build(t).serializeTo(r),!n)return i.value}}}function q2(e,t){z1.call(this,e,t)}R2.prototype.build=function(e){return this.element=e,this},R2.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()},D2.prototype.serializeValue=D2.prototype.serializeTo=function(e){e.append(this.escape?M2(this.value,O2,A2):this.value)},D2.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(O2)&&(this.escape=!0),this},S2(N2,D2),N2.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()},B2.prototype.build=function(e){this.element=e;var t,n,i=e.$descriptor,r=this.propertyDescriptor,o=i.isGeneric;return t=o?this.parseGeneric(e):this.parseNsAttributes(e),this.ns=r?this.nsPropertyTagName(r):this.nsTagName(i),this.tagName=this.addTagName(this.ns),o||(n=function(e){return v(e.$descriptor.properties,(function(t){var n=t.name;if(t.isVirtual)return!1;if(!f(e,n))return!1;var i=e[n];return i!==t.default&&null!==i&&(!t.isMany||i.length)}))}(e),this.parseAttributes(v(n,(function(e){return e.isAttr}))),this.parseContainments(function(e){return v(e,(function(e){return!e.isAttr}))}(n))),this.parseGenericAttributes(e,t),this},B2.prototype.nsTagName=function(e){return function(e,t){return t.isGeneric?L({localName:t.ns.localName},e):L({localName:k2(t.ns.localName,t.$pkg)},e)}(this.logNamespaceUsed(e.ns),e)},B2.prototype.nsPropertyTagName=function(e){return function(e,t){return L({localName:t.ns.localName},e)}(this.logNamespaceUsed(e.ns),e)},B2.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},B2.prototype.nsAttributeName=function(e){var t;if(t=h(e)?N1(e):e.ns,e.inherited)return{localName:t.localName};var n=this.logNamespaceUsed(t);return this.getNamespaces().logUsed(n),this.isLocalNs(n)?{localName:t.localName}:L({localName:t.localName},n)},B2.prototype.parseGeneric=function(e){var t=this,n=this.body,i=[];return b(e,(function(r,o){"$body"===o?n.push((new D2).build({type:"String"},r)):"$children"===o?b(r,(function(e){n.push(new B2(t).build(e))})):0!==o.indexOf("$")&&t.parseNsAttribute(e,o,r)&&i.push({name:o,value:r})})),i},B2.prototype.parseNsAttribute=function(e,t,n){var i,r=e.$model,o=N1(t);if("xmlns"===o.prefix&&(i={prefix:o.localName,uri:n}),o.prefix||"xmlns"!==o.localName||(i={uri:n}),!i)return{name:t,value:n};if(r&&r.getPackage(n))this.logNamespace(i,!0,!0);else{var s=this.logNamespaceUsed(i,!0);this.getNamespaces().logUsed(s)}},B2.prototype.parseNsAttributes=function(e,t){var n=this,i=e.$attrs,r=[];return b(i,(function(t,i){var o=n.parseNsAttribute(e,i,t);o&&r.push(o)})),r},B2.prototype.parseGenericAttributes=function(e,t){var n=this;b(t,(function(t){if(t.name!==s2)try{n.addAttribute(n.nsAttributeName(t.name),t.value)}catch(n){console.warn("missing namespace information for ",t.name,"=",t.value,"on",e,n)}}))},B2.prototype.parseContainments=function(e){var t=this,n=this.body,i=this.element;b(e,(function(e){var r=i.get(e.name),o=e.isReference;if(e.isMany||(r=[r]),e.isBody)n.push((new D2).build(e,r[0]));else if(D1(e.type))b(r,(function(i){n.push(new N2(t.addTagName(t.nsPropertyTagName(e))).build(e,i))}));else if(o)b(r,(function(i){n.push(new R2(t.addTagName(t.nsPropertyTagName(e))).build(i))}));else{var s=l2(e),a=function(e){return"property"===a2(e)}(e);b(r,(function(i){var r;r=s?new $2(t,e):a?new B2(t,e):new B2(t),n.push(r.build(i))}))}}))},B2.prototype.getNamespaces=function(e){var t,n=this.namespaces,i=this.parent;return n||(t=i&&i.getNamespaces(),e||!t?this.namespaces=n=new P2(t):n=t),n},B2.prototype.logNamespace=function(e,t,n){var i=this.getNamespaces(n),r=e.uri,o=e.prefix;return i.byUri(r)&&!n||i.add(e,t),i.mapPrefix(o,r),e},B2.prototype.logNamespaceUsed=function(e,t){var n,i,r,o=this.element.$model,s=this.getNamespaces(t),a=e.prefix,l=e.uri;if(!a&&!l)return{localName:e.localName};if(r=o2[a]||o&&(o.getPackage(a)||{}).uri,!(l=l||r||s.uriByPrefix(a)))throw new Error("no namespace uri given for prefix <"+a+">");if(!(e=s.byUri(l))){for(n=a,i=1;s.uriByPrefix(n);)n=a+"_"+i++;e=this.logNamespace({prefix:n,uri:l},r===l)}return a&&s.mapPrefix(a,l),e},B2.prototype.parseAttributes=function(e){var t=this,n=this.element;b(e,(function(e){var i=n.get(e.name);if(e.isReference)if(e.isMany){var r=[];b(i,(function(e){r.push(e.id)})),i=r.join(" ")}else i=i.id;t.addAttribute(t.nsAttributeName(e),i)}))},B2.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),C2(e)},B2.prototype.addAttribute=function(e,t){var n=this.attrs;h(t)&&(t=M2(t,_2,T2));var i=y(n,(function(t){return t.name.localName===e.localName&&t.name.uri===e.uri&&t.name.prefix===e.prefix})),r={name:e,value:t};-1!==i?n.splice(i,1,r):n.push(r)},B2.prototype.serializeAttributes=function(e){var t=this.attrs,n=this.namespaces;n&&(t=function(e){return e.getUsed().filter((function(e){return"xml"!==e.prefix})).map((function(e){return{name:"xmlns"+(e.prefix?":"+e.prefix:""),value:e.uri}}))}(n).concat(t)),b(t,(function(t){e.append(" ").append(C2(t.name)).append('="').append(t.value).append('"')}))},B2.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==D2;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(n&&e.appendNewLine().indent(),b(this.body,(function(t){t.serializeTo(e)})),n&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()},S2($2,B2),$2.prototype.parseNsAttributes=function(e){var t=B2.prototype.parseNsAttributes.call(this,e),n=e.$descriptor;if(n.name===this.propertyDescriptor.type)return t;var i=this.typeNs=this.nsTagName(n);this.getNamespaces().logUsed(this.typeNs);var r=e.$model.getPackage(i.uri),o=r.xml&&r.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(s2),(i.prefix?i.prefix+":":"")+o+n.ns.localName),t},$2.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},q2.prototype=Object.create(z1.prototype),q2.prototype.fromXML=function(e,t,n){h(t)||(n=t,t="bpmn:Definitions");var i=new E2(L({model:this,lax:!0},n)),r=i.handler(t);return i.fromXML(e,r)},q2.prototype.toXML=function(e,t){var n=new L2(t);return new Promise((function(t,i){try{return t({xml:n.toXML(e)})}catch(e){return i(e)}}))};class z2{constructor(e){this._generate=e,this.value=null,this.valid=!1}invalidate(){this.valid=!1}get(){return this.valid||(this.value=this._generate(),this.valid=!0),this.value}}function V2(e){return!!function(e){return H2(e,"outputParameters")}(e).length}function F2(e,t){return function(e){return H2(e,"inputParameters")}(e).find((function(e){return e.target===t||e.name===t}))}function H2(e,t){var n=function(e){return U2(e,"zeebe:IoMapping")[0]||U2(e,"camunda:InputOutput")[0]}(e);return n&&n.get(t)||[]}function U2(e,t){var n=[],i=e.get("extensionElements");if(void 0!==i){var r=i.get("values");void 0!==r&&(n=v(r,(function(e){return Ir(e,t)})))}return n}function W2(e,t,n){var i=X2(e);if(V2(e))return e;var r=i.find((function(e){return Ir(e,"bpmn:SubProcess")&&F2(e,n)}));return r||t}function X2(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}class G2{constructor(e,t){this.providers=[],this._eventBus=e,this._bpmnjs=t,this.rawVariables=new z2(this._generateRawVariables.bind(this)),this.parsedVariables=new z2((async()=>{const t={variables:await this.getRawVariables()};return e.fire("variableResolver.parseVariables",t),t.variables})),e.on(["commandStack.changed","diagram.clear","import.done","variables.changed"],(()=>{this.invalidateCache()})),e.on("variableResolver.parseVariables",((e,t)=>{t.variables=this._parseVariables(t.variables)}))}_baseExtractor(){return[]}async getRawVariables(){return await this.rawVariables.get()}async getVariables(){return await this.parsedVariables.get()}invalidateCache(){this.rawVariables.invalidate(),this.parsedVariables.invalidate()}async _generateRawVariables(){const e=this._bpmnjs,t={},n=e.getDefinitions().get("rootElements").map((async e=>{const n=await this._baseExtractor(e,[this._extractor.bind(this)]);t[e.id]=n.map((e=>(e.provider||(e.provider=[this._baseExtractor]),e)))}));return await Promise.all(n),t}_parseVariables(e){const t={};for(const n in e){const i=e[n],r=[];i.forEach((e=>{const t=r.find((t=>t.name===e.name&&t.scope===e.scope));t?(Q2("origin",t,e),Q2("provider",t,e),K2(t,e)):r.push(e)})),Z2(r),t[n]=r}return t}async _extractor(e){const{elements:t,containerElement:n,processVariables:i}=e,r=this,o=t.flatMap((e=>r.providers.map((async t=>{const r=await t.getVariables(e);r&&r.forEach((r=>{i.push({...J2(r),origin:[e],scope:r.scope||W2(e,n,r.name),provider:[t]})}))}))));await Promise.all(o)}registerProvider(e){this.providers.push(e),this.invalidateCache()}async getProcessVariables(e){const t=qr(e);return(await this.getVariables())[t.id]||[]}async getVariablesForElement(e){const t=qr(e),n=function(e){const t=qr(e);if(Ir(t,"bpmn:Participant"))return t.processRef;if(Ir(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!Ir(n,"bpmn:Process");)n=n.$parent;return n}(t),i=await this.getProcessVariables(n);var r=i.filter((function(e){return e.scope.id===t.id})),o=X2(t);return[...r,...i.filter((function(e){return o.find((function(t){return t.id===e.scope.id}))}))]}}function Q2(e,t,n){n[e]||(n[e]=[]),t[e]||(t[e]=[]);const i=n[e].filter((e=>!t.origin.includes(e)));t[e].push(...i)}function K2(e,t){e.type=Y2(e.type,t.type,"|"),e.info=Y2(e.info,t.info,"\n"),e.isList=!!e.isList==!!t.isList?e.isList:"optional",t.entries&&(e.entries||(e.entries=[]),t.entries.forEach((t=>{const n=e.entries.find((e=>e.name===t.name));n?K2(n,t):e.entries.push(t)})))}G2.$inject=["eventBus","bpmnjs"];const Y2=(e,t,n)=>{if(e&&e!==t){const i=e.split(n);return i.includes(t)||i.push(t),i.join(n)}return t};function Z2(e){e&&e.forEach((e=>{e.detail=e.type,Z2(e.entries)}))}function J2(e){const t={...e};return t.entries&&(t.entries=t.entries.map(J2)),t}const e3={__init__:["variableResolver"],variableResolver:["type",class extends G2{constructor(e,t){super(e,t),this._baseExtractor=Yq}}]};const t3={camunda:{name:"Camunda",uri:"http://camunda.org/schema/1.0/bpmn",prefix:"camunda",xml:{tagAlias:"lowerCase"},associations:[],types:[{name:"Definitions",isAbstract:!0,extends:["bpmn:Definitions"],properties:[{name:"diagramRelationId",isAttr:!0,type:"String"}]},{name:"InOutBinding",superClass:["Element"],isAbstract:!0,properties:[{name:"source",isAttr:!0,type:"String"},{name:"sourceExpression",isAttr:!0,type:"String"},{name:"target",isAttr:!0,type:"String"},{name:"businessKey",isAttr:!0,type:"String"},{name:"local",isAttr:!0,type:"Boolean",default:!1},{name:"variables",isAttr:!0,type:"String"}]},{name:"In",superClass:["InOutBinding"],meta:{allowedIn:["bpmn:CallActivity","bpmn:SignalEventDefinition"]}},{name:"Out",superClass:["InOutBinding"],meta:{allowedIn:["bpmn:CallActivity"]}},{name:"AsyncCapable",isAbstract:!0,extends:["bpmn:Activity","bpmn:Gateway","bpmn:Event"],properties:[{name:"async",isAttr:!0,type:"Boolean",default:!1},{name:"asyncBefore",isAttr:!0,type:"Boolean",default:!1},{name:"asyncAfter",isAttr:!0,type:"Boolean",default:!1},{name:"exclusive",isAttr:!0,type:"Boolean",default:!0}]},{name:"JobPriorized",isAbstract:!0,extends:["bpmn:Process","camunda:AsyncCapable"],properties:[{name:"jobPriority",isAttr:!0,type:"String"}]},{name:"SignalEventDefinitionExtension",isAbstract:!0,extends:["bpmn:SignalEventDefinition"],properties:[{name:"async",isAttr:!0,type:"Boolean",default:!1}]},{name:"ErrorEventDefinitionExtension",isAbstract:!0,extends:["bpmn:ErrorEventDefinition"],properties:[{name:"errorCodeVariable",isAttr:!0,type:"String"},{name:"errorMessageVariable",isAttr:!0,type:"String"}]},{name:"ErrorEventDefinition",superClass:["bpmn:ErrorEventDefinition","Element"],properties:[{name:"expression",isAttr:!0,type:"String"}],meta:{allowedIn:["bpmn:ServiceTask"]}},{name:"Error",isAbstract:!0,extends:["bpmn:Error"],properties:[{name:"camunda:errorMessage",isAttr:!0,type:"String"}]},{name:"PotentialStarter",superClass:["Element"],properties:[{name:"resourceAssignmentExpression",type:"bpmn:ResourceAssignmentExpression"}]},{name:"FormSupported",isAbstract:!0,extends:["bpmn:StartEvent","bpmn:UserTask"],properties:[{name:"formHandlerClass",isAttr:!0,type:"String"},{name:"formKey",isAttr:!0,type:"String"},{name:"formRef",isAttr:!0,type:"String"},{name:"formRefBinding",isAttr:!0,type:"String"},{name:"formRefVersion",isAttr:!0,type:"String"}]},{name:"TemplateSupported",isAbstract:!0,extends:["bpmn:Collaboration","bpmn:Process","bpmn:FlowElement"],properties:[{name:"modelerTemplate",isAttr:!0,type:"String"},{name:"modelerTemplateVersion",isAttr:!0,type:"Integer"}]},{name:"Initiator",isAbstract:!0,extends:["bpmn:StartEvent"],properties:[{name:"initiator",isAttr:!0,type:"String"}]},{name:"ScriptTask",isAbstract:!0,extends:["bpmn:ScriptTask"],properties:[{name:"resultVariable",isAttr:!0,type:"String"},{name:"resource",isAttr:!0,type:"String"}]},{name:"Process",isAbstract:!0,extends:["bpmn:Process"],properties:[{name:"candidateStarterGroups",isAttr:!0,type:"String"},{name:"candidateStarterUsers",isAttr:!0,type:"String"},{name:"versionTag",isAttr:!0,type:"String"},{name:"historyTimeToLive",isAttr:!0,type:"String"},{name:"isStartableInTasklist",isAttr:!0,type:"Boolean",default:!0}]},{name:"EscalationEventDefinitionExtension",isAbstract:!0,extends:["bpmn:EscalationEventDefinition"],properties:[{name:"escalationCodeVariable",isAttr:!0,type:"String"}]},{name:"FormalExpression",isAbstract:!0,extends:["bpmn:FormalExpression"],properties:[{name:"resource",isAttr:!0,type:"String"}]},{name:"Assignable",extends:["bpmn:UserTask"],properties:[{name:"assignee",isAttr:!0,type:"String"},{name:"candidateUsers",isAttr:!0,type:"String"},{name:"candidateGroups",isAttr:!0,type:"String"},{name:"dueDate",isAttr:!0,type:"String"},{name:"followUpDate",isAttr:!0,type:"String"},{name:"priority",isAttr:!0,type:"String"}]},{name:"CallActivity",extends:["bpmn:CallActivity"],properties:[{name:"calledElementBinding",isAttr:!0,type:"String",default:"latest"},{name:"calledElementVersion",isAttr:!0,type:"String"},{name:"calledElementVersionTag",isAttr:!0,type:"String"},{name:"calledElementTenantId",isAttr:!0,type:"String"},{name:"caseRef",isAttr:!0,type:"String"},{name:"caseBinding",isAttr:!0,type:"String",default:"latest"},{name:"caseVersion",isAttr:!0,type:"String"},{name:"caseTenantId",isAttr:!0,type:"String"},{name:"variableMappingClass",isAttr:!0,type:"String"},{name:"variableMappingDelegateExpression",isAttr:!0,type:"String"}]},{name:"ServiceTaskLike",extends:["bpmn:ServiceTask","bpmn:BusinessRuleTask","bpmn:SendTask","bpmn:MessageEventDefinition"],properties:[{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"resultVariable",isAttr:!0,type:"String"}]},{name:"DmnCapable",extends:["bpmn:BusinessRuleTask"],properties:[{name:"decisionRef",isAttr:!0,type:"String"},{name:"decisionRefBinding",isAttr:!0,type:"String",default:"latest"},{name:"decisionRefVersion",isAttr:!0,type:"String"},{name:"mapDecisionResult",isAttr:!0,type:"String",default:"resultList"},{name:"decisionRefTenantId",isAttr:!0,type:"String"}]},{name:"ExternalCapable",extends:["camunda:ServiceTaskLike"],properties:[{name:"type",isAttr:!0,type:"String"},{name:"topic",isAttr:!0,type:"String"}]},{name:"TaskPriorized",extends:["bpmn:Process","camunda:ExternalCapable"],properties:[{name:"taskPriority",isAttr:!0,type:"String"}]},{name:"Properties",superClass:["Element"],meta:{allowedIn:["*"]},properties:[{name:"values",type:"Property",isMany:!0}]},{name:"Property",superClass:["Element"],properties:[{name:"id",type:"String",isAttr:!0},{name:"name",type:"String",isAttr:!0},{name:"value",type:"String",isAttr:!0}]},{name:"Connector",superClass:["Element"],meta:{allowedIn:["camunda:ServiceTaskLike"]},properties:[{name:"inputOutput",type:"InputOutput"},{name:"connectorId",type:"String"}]},{name:"InputOutput",superClass:["Element"],meta:{allowedIn:["bpmn:FlowNode","camunda:Connector"]},properties:[{name:"inputOutput",type:"InputOutput"},{name:"connectorId",type:"String"},{name:"inputParameters",isMany:!0,type:"InputParameter"},{name:"outputParameters",isMany:!0,type:"OutputParameter"}]},{name:"InputOutputParameter",properties:[{name:"name",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"},{name:"definition",type:"InputOutputParameterDefinition"}]},{name:"InputOutputParameterDefinition",isAbstract:!0},{name:"List",superClass:["InputOutputParameterDefinition"],properties:[{name:"items",isMany:!0,type:"InputOutputParameterDefinition"}]},{name:"Map",superClass:["InputOutputParameterDefinition"],properties:[{name:"entries",isMany:!0,type:"Entry"}]},{name:"Entry",properties:[{name:"key",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"},{name:"definition",type:"InputOutputParameterDefinition"}]},{name:"Value",superClass:["InputOutputParameterDefinition"],properties:[{name:"id",isAttr:!0,type:"String"},{name:"name",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"}]},{name:"Script",superClass:["InputOutputParameterDefinition"],properties:[{name:"scriptFormat",isAttr:!0,type:"String"},{name:"resource",isAttr:!0,type:"String"},{name:"value",isBody:!0,type:"String"}]},{name:"Field",superClass:["Element"],meta:{allowedIn:["camunda:ServiceTaskLike","camunda:ExecutionListener","camunda:TaskListener"]},properties:[{name:"name",isAttr:!0,type:"String"},{name:"expression",type:"String"},{name:"stringValue",isAttr:!0,type:"String"},{name:"string",type:"String"}]},{name:"InputParameter",superClass:["InputOutputParameter"]},{name:"OutputParameter",superClass:["InputOutputParameter"]},{name:"Collectable",isAbstract:!0,extends:["bpmn:MultiInstanceLoopCharacteristics"],superClass:["camunda:AsyncCapable"],properties:[{name:"collection",isAttr:!0,type:"String"},{name:"elementVariable",isAttr:!0,type:"String"}]},{name:"FailedJobRetryTimeCycle",superClass:["Element"],meta:{allowedIn:["camunda:AsyncCapable","bpmn:MultiInstanceLoopCharacteristics"]},properties:[{name:"body",isBody:!0,type:"String"}]},{name:"ExecutionListener",superClass:["Element"],meta:{allowedIn:["bpmn:Task","bpmn:ServiceTask","bpmn:UserTask","bpmn:BusinessRuleTask","bpmn:ScriptTask","bpmn:ReceiveTask","bpmn:ManualTask","bpmn:ExclusiveGateway","bpmn:SequenceFlow","bpmn:ParallelGateway","bpmn:InclusiveGateway","bpmn:EventBasedGateway","bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:IntermediateThrowEvent","bpmn:EndEvent","bpmn:BoundaryEvent","bpmn:CallActivity","bpmn:SubProcess","bpmn:Process"]},properties:[{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"event",isAttr:!0,type:"String"},{name:"script",type:"Script"},{name:"fields",type:"Field",isMany:!0}]},{name:"TaskListener",superClass:["Element"],meta:{allowedIn:["bpmn:UserTask"]},properties:[{name:"expression",isAttr:!0,type:"String"},{name:"class",isAttr:!0,type:"String"},{name:"delegateExpression",isAttr:!0,type:"String"},{name:"event",isAttr:!0,type:"String"},{name:"script",type:"Script"},{name:"fields",type:"Field",isMany:!0},{name:"id",type:"String",isAttr:!0},{name:"eventDefinitions",type:"bpmn:TimerEventDefinition",isMany:!0}]},{name:"FormProperty",superClass:["Element"],meta:{allowedIn:["bpmn:StartEvent","bpmn:UserTask"]},properties:[{name:"id",type:"String",isAttr:!0},{name:"name",type:"String",isAttr:!0},{name:"type",type:"String",isAttr:!0},{name:"required",type:"String",isAttr:!0},{name:"readable",type:"String",isAttr:!0},{name:"writable",type:"String",isAttr:!0},{name:"variable",type:"String",isAttr:!0},{name:"expression",type:"String",isAttr:!0},{name:"datePattern",type:"String",isAttr:!0},{name:"default",type:"String",isAttr:!0},{name:"values",type:"Value",isMany:!0}]},{name:"FormData",superClass:["Element"],meta:{allowedIn:["bpmn:StartEvent","bpmn:UserTask"]},properties:[{name:"fields",type:"FormField",isMany:!0},{name:"businessKey",type:"String",isAttr:!0}]},{name:"FormField",superClass:["Element"],properties:[{name:"id",type:"String",isAttr:!0},{name:"label",type:"String",isAttr:!0},{name:"type",type:"String",isAttr:!0},{name:"datePattern",type:"String",isAttr:!0},{name:"defaultValue",type:"String",isAttr:!0},{name:"properties",type:"Properties"},{name:"validation",type:"Validation"},{name:"values",type:"Value",isMany:!0}]},{name:"Validation",superClass:["Element"],properties:[{name:"constraints",type:"Constraint",isMany:!0}]},{name:"Constraint",superClass:["Element"],properties:[{name:"name",type:"String",isAttr:!0},{name:"config",type:"String",isAttr:!0}]},{name:"ConditionalEventDefinitionExtension",isAbstract:!0,extends:["bpmn:ConditionalEventDefinition"],properties:[{name:"variableName",isAttr:!0,type:"String"},{name:"variableEvents",isAttr:!0,type:"String"}]}],emumerations:[]}};function n3(e,t,n,i){this._contextPad=e,this._popupMenu=t,this._canvas=n,this._translate=i,e.registerProvider(this)}function i3(e,t,n){var i=e.getContainer(),r=t.getPad(n).html,o=i.getBoundingClientRect(),s=r.getBoundingClientRect(),a=s.top-o.top;return{x:s.left-o.left,y:a+s.height+5}}n3.$inject=["contextPad","popupMenu","canvas","translate"],n3.prototype.getContextPadEntries=function(e){return this._createPopupAction([e])},n3.prototype.getMultiElementContextPadEntries=function(e){return this._createPopupAction(e)},n3.prototype._createPopupAction=function(e){const t=this._canvas,n=this._translate,i=this._contextPad,r=this._popupMenu;return{"set-color":{group:"edit",className:"bpmn-icon-color",title:n("Set Color"),html:'<div class="entry"><svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="currentColor">\n <path d="m12.5 5.5.3-.4 3.6-3.6c.5-.5 1.3-.5 1.7 0l1 1c.5.4.5 1.2 0 1.7l-3.6 3.6-.4.2v.2c0 1.4.6 2 1 2.7v.6l-1.7 1.6c-.2.2-.4.2-.6 0L7.3 6.6a.4.4 0 0 1 0-.6l.3-.3.5-.5.8-.8c.2-.2.4-.1.6 0 .9.5 1.5 1.1 3 1.1zm-9.9 6 4.2-4.2 6.3 6.3-4.2 4.2c-.3.3-.9.3-1.2 0l-.8-.8-.9-.8-2.3-2.9" />\n</svg></div>',action:{click:(n,o)=>{var s={...i3(t,i,e),cursor:{x:n.x,y:n.y}};r.open(e,"color-picker",s)}}}}};const r3=[{label:"Default",fill:void 0,stroke:void 0},{label:"Blue",fill:"#BBDEFB",stroke:"#0D4372"},{label:"Orange",fill:"#FFE0B2",stroke:"#6B3C00"},{label:"Green",fill:"#C8E6C9",stroke:"#205022"},{label:"Red",fill:"#FFCDD2",stroke:"#831311"},{label:"Purple",fill:"#E1BEE7",stroke:"#5B176D"}];function o3(e,t,n,i,r){this._popupMenu=n,this._modeling=i,this._translate=r,this._colors=e&&e.colors||r3,this._defaultFillColor=t&&t.defaultFillColor||"white",this._defaultStrokeColor=t&&t.defaultStrokeColor||"rgb(34, 36, 42)",this._popupMenu.registerProvider("color-picker",this)}function s3(e,t,n){return function(){e.setColor(t,n)}}o3.$inject=["config.colorPicker","config.bpmnRenderer","popupMenu","modeling","translate"],o3.prototype.getEntries=function(e){var t=this,n=xe('\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" height="100%">\n <rect rx="2" x="1" y="1" width="22" height="22" fill="var(--fill-color)" stroke="var(--stroke-color)" style="stroke-width:2"></rect>\n </svg>\n ');return this._colors.map((function(i){return n.style.setProperty("--fill-color",i.fill||t._defaultFillColor),n.style.setProperty("--stroke-color",i.stroke||t._defaultStrokeColor),{title:t._translate(i.label),id:i.label.toLowerCase()+"-color",imageUrl:`data:image/svg+xml;utf8,${encodeURIComponent(n.outerHTML)}`,action:s3(t._modeling,e,i)}}))};var a3={__init__:["colorContextPadProvider","colorPopupProvider"],colorContextPadProvider:["type",n3],colorPopupProvider:["type",o3]};const l3=Object.prototype.toString,c3=Object.prototype.hasOwnProperty;function p3(e){return void 0===e}function u3(e){return"[object Array]"===l3.call(e)}function d3(e){return"[object Object]"===l3.call(e)}function h3(e){return"[object Number]"===l3.call(e)}function m3(e){const t=l3.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function f3(e,t){return c3.call(e,t)}function g3(e,t){const n=function(e){return m3(e)?e:t=>t===e}(t);let i;return y3(e,(function(e,t){if(n(e,t))return i=e,!1})),i}function y3(e,t){let n,i;if(p3(e))return;const r=u3(e)?b3:v3;for(let o in e)if(f3(e,o)&&(n=e[o],i=t(n,r(o)),!1===i))return n}function v3(e){return e}function b3(e){return Number(e)}function x3(e,...t){return Object.assign(e,...t)}const w3={id:"events",name:"Events"},E3={id:"tasks",name:"Tasks"},_3={id:"data",name:"Data"},O3={id:"participants",name:"Participants"},P3={id:"subprocess",name:"Sub Processes"},k3={id:"gateways",name:"Gateways"},S3=[{label:"Start Event",actionName:"none-start-event",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"Boundary Event",actionName:"none-boundary-event",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:BoundaryEvent"}},{label:"End Event",actionName:"none-end-event",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}].map((e=>({...e,group:w3}))),C3=[{label:"Message Start Event",actionName:"message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map((e=>({...e,group:w3}))),T3=[{label:"Message Intermediate Catch Event",actionName:"message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message Intermediate Throw Event",actionName:"message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Intermediate Catch Event",actionName:"timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Intermediate Throw Event",actionName:"escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Intermediate Catch Event",actionName:"conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link Intermediate Catch Event",actionName:"link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link Intermediate Throw Event",actionName:"link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation Intermediate Throw Event",actionName:"compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal Intermediate Catch Event",actionName:"signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal Intermediate Throw Event",actionName:"signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}].map((e=>({...e,group:w3}))),A3=[{label:"Message Boundary Event",actionName:"message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Boundary Event",actionName:"timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Boundary Event",actionName:"escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Boundary Event",actionName:"conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error Boundary Event",actionName:"error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel Boundary Event",actionName:"cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal Boundary Event",actionName:"signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation Boundary Event",actionName:"compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Boundary Event (non-interrupting)",actionName:"non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer Boundary Event (non-interrupting)",actionName:"non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation Boundary Event (non-interrupting)",actionName:"non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional Boundary Event (non-interrupting)",actionName:"non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal Boundary Event (non-interrupting)",actionName:"non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}].map((e=>({...e,group:w3}))),M3=[{label:"Message End Event",actionName:"message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation End Event",actionName:"escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error End Event",actionName:"error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel End Event",actionName:"cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation End Event",actionName:"compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal End Event",actionName:"signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate End Event",actionName:"terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}].map((e=>({...e,group:w3}))),R3=[{label:"Exclusive Gateway",actionName:"exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel Gateway",actionName:"parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive Gateway",search:"or",actionName:"inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"},rank:-1},{label:"Complex Gateway",actionName:"complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"},rank:-1},{label:"Event based Gateway",actionName:"event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}].map((e=>({...e,group:k3}))),D3=[{label:"Call Activity",actionName:"call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}},{label:"Transaction",actionName:"transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event Sub Process",search:"subprocess",actionName:"event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub Process (collapsed)",search:"subprocess",actionName:"collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub Process (expanded)",search:"subprocess",actionName:"expanded-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!0}}].map((e=>({...e,group:P3}))),N3=[...R3,...[{label:"Task",actionName:"task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User Task",actionName:"user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service Task",actionName:"service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send Task",actionName:"send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"},rank:-1},{label:"Receive Task",actionName:"receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"},rank:-1},{label:"Manual Task",actionName:"manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"},rank:-1},{label:"Business Rule Task",actionName:"rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script Task",actionName:"script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}}].map((e=>({...e,group:E3}))),...D3,...S3,...C3,...T3,...M3,...A3,...[{label:"Data Store Reference",actionName:"data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}},{label:"Data Object Reference",actionName:"data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}].map((e=>({...e,group:_3}))),...[{label:"Expanded Pool",search:"Participant",actionName:"expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:"Empty Pool",search:"Collapsed Participant",actionName:"collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}].map((e=>({...e,group:O3})))];function B3(e,t,n,i,r,o,s){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=i,this._rules=r,this._create=n,this._mouse=o,this._translate=s,this.register()}B3.$inject=["elementFactory","popupMenu","create","autoPlace","rules","mouse","translate"],B3.prototype.register=function(){this._popupMenu.registerProvider("bpmn-append",this)},B3.prototype.getPopupMenuEntries=function(e){const t=this._rules,n=this._translate,i={};if(!t.allowed("shape.append",{element:e}))return[];return this._filterEntries(N3).forEach((t=>{const{actionName:r,className:o,label:s,target:a,description:l,group:c,search:p,rank:u}=t;i[`append-${r}`]={label:s&&n(s),className:o,description:l,group:c&&{...c,name:n(c.name)},search:p,rank:u,action:this._createEntryAction(e,a)}})),i},B3.prototype._filterEntries=function(e){return e.filter((e=>{const t=e.target,{type:n,eventDefinitionType:i}=t;return!["bpmn:StartEvent","bpmn:Participant"].includes(n)&&("bpmn:BoundaryEvent"!==n||!p3(i))}))},B3.prototype._createEntryAction=function(e,t){const n=this._elementFactory,i=this._autoPlace,r=this._create,o=this._mouse,s=i=>{const s=n.create("shape",t);return i instanceof KeyboardEvent&&(i=o.getLastMoveEvent()),r.start(i,s,{source:e})};return{click:this._canAutoPlaceElement(t)?()=>{const r=n.create("shape",t);i.append(e,r)}:s,dragstart:s}},B3.prototype._canAutoPlaceElement=e=>{const{type:t}=e;return"bpmn:BoundaryEvent"!==t&&(("bpmn:SubProcess"!==t||!e.triggeredByEvent)&&("bpmn:IntermediateCatchEvent"!==t||"bpmn:LinkEventDefinition"!==e.eventDefinitionType))};function $3(e,t,n,i){this._contextPad=e,this._popupMenu=t,this._translate=n,this._canvas=i,this.register()}function j3(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}function I3(e,t){var n=q3(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}function L3(e,t){return function(e,t){return!!g3(e,t)}(t,(function(t){return I3(e,t)}))}function q3(e){return e&&e.businessObject||e}$3.$inject=["contextPad","popupMenu","translate","canvas"],$3.prototype.register=function(){this._contextPad.registerProvider(this)},$3.prototype.getContextPadEntries=function(e){const t=this._popupMenu,n=this._translate,i=this._getAppendMenuPosition.bind(this);if(!t.isEmpty(e,"bpmn-append"))return{append:{group:"model",html:'<div class="entry"><svg width="22" height="22" viewBox="0 0 5.82 5.82" xmlns="http://www.w3.org/2000/svg" fill="currentColor">\n <path d="M1.3 3.4c.3 0 .5-.2.5-.5s-.2-.4-.5-.4c-.2 0-.4.1-.4.4 0 .3.2.5.4.5zM3 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5zM4.6 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5z"/>\n</svg></div>',title:n("Append element"),action:{click:function(e,r){const o=x3(i(r),{cursor:{x:e.x,y:e.y}});t.open(r,"bpmn-append",o,{title:n("Append element"),width:300,search:!0})}}}}},$3.prototype._getAppendMenuPosition=function(e){const t=this._contextPad.getPad(e).html.getBoundingClientRect();return{x:t.right+5,y:t.top}};function z3(e){this._eventBus=e}function V3(e){return function(t,n,i,r,o){(m3(t)||h3(t))&&(o=r,r=i,i=n,n=t,t=null),this.on(t,e,n,i,r,o)}}function F3(e){z3.call(this,e),this.init()}function H3(e){F3.call(this,e)}z3.$inject=["eventBus"],z3.prototype.on=function(e,t,n,i,r,o){if((m3(t)||h3(t))&&(o=r,r=i,i=n,n=t,t=null),m3(n)&&(o=r,r=i,i=n,n=1e3),d3(r)&&(o=r,r=!1),!m3(i))throw new Error("handlerFn must be a function");u3(e)||(e=[e]);var s=this._eventBus;y3(e,(function(e){var a=["commandStack",e,t].filter((function(e){return e})).join(".");s.on(a,n,r?function(e,t){return function(n){return e.call(t||null,n.context,n.command,n)}}(i,o):i,o)}))},z3.prototype.canExecute=V3("canExecute"),z3.prototype.preExecute=V3("preExecute"),z3.prototype.preExecuted=V3("preExecuted"),z3.prototype.execute=V3("execute"),z3.prototype.executed=V3("executed"),z3.prototype.postExecute=V3("postExecute"),z3.prototype.postExecuted=V3("postExecuted"),z3.prototype.revert=V3("revert"),z3.prototype.reverted=V3("reverted"),F3.$inject=["eventBus"],j3(F3,z3),F3.prototype.addRule=function(e,t,n){var i=this;"string"==typeof e&&(e=[e]),e.forEach((function(e){i.canExecute(e,t,(function(e,t,i){return n(e)}),!0)}))},F3.prototype.init=function(){},j3(H3,F3),H3.$inject=["eventBus"],H3.prototype.init=function(){this.addRule("shape.append",(function(e){const t=e.element,n=q3(t);return(!d3(i=t)||!f3(i,"labelTarget"))&&(!L3(t,["bpmn:EndEvent","bpmn:Group","bpmn:TextAnnotation","bpmn:Lane","bpmn:Participant","bpmn:DataStoreReference","bpmn:DataObjectReference"])&&(!t.waypoints&&((!I3(t,"bpmn:IntermediateThrowEvent")||!function(e,t){const n=q3(e);return!!g3(n.eventDefinitions||[],(function(e){return I3(e,t)}))}(t,"bpmn:LinkEventDefinition"))&&((!I3(t,"bpmn:SubProcess")||!n.triggeredByEvent)&&void 0))));var i}))};var U3,W3={__init__:["appendMenuProvider","appendContextPadProvider","appendRules"],appendMenuProvider:["type",B3],appendContextPadProvider:["type",$3],appendRules:["type",H3]};function X3(e,t,n,i,r,o){this._elementFactory=e,this._popupMenu=t,this._create=n,this._autoPlace=i,this._mouse=r,this._translate=o,this.register()}X3.$inject=["elementFactory","popupMenu","create","autoPlace","mouse","translate"],X3.prototype.register=function(){this._popupMenu.registerProvider("bpmn-create",this)},X3.prototype.getPopupMenuEntries=function(){const e={};return N3.forEach((t=>{const{actionName:n,className:i,label:r,target:o,description:s,group:a,search:l,rank:c}=t,p=this._createEntryAction(o);e[`create-${n}`]={label:r&&this._translate(r),className:i,description:s,group:a&&{...a,name:this._translate(a.name)},search:l,rank:c,action:{click:p,dragstart:p}}})),e},X3.prototype._createEntryAction=function(e){const t=this._create,n=this._mouse,i=this._popupMenu,r=this._elementFactory;let o;return s=>(i.close(),o="bpmn:Participant"===e.type?r.createParticipantShape(e):r.create("shape",e),s instanceof KeyboardEvent&&(s=n.getLastMoveEvent()),t.start(s,o))},"undefined"!=typeof document&&((U3=document.createElement("div")).innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',U3.getElementsByTagName("link").length,U3=void 0);function G3(e,t,n,i,r){this._palette=e,this._translate=t,this._popupMenu=n,this._canvas=i,this._mouse=r,this.register()}G3.$inject=["palette","translate","popupMenu","canvas","mouse"],G3.prototype.register=function(){this._palette.registerProvider(900,this)},G3.prototype.getPaletteEntries=function(e){const t=this._translate,n=this._popupMenu,i=this._canvas,r=this._mouse,o=e=>{if(e instanceof KeyboardEvent)return{x:(e=r.getLastMoveEvent()).x,y:e.y};const t=e&&e.target||(n='.djs-palette [data-action="create"]',(i=i||document).querySelector(n));var n,i;const o=t.getBoundingClientRect();return t&&{x:o.left+o.width/2+35,y:o.top+o.height/2+10}};return{create:{group:"create",html:'<div class="entry"> <svg width="46" height="46" viewBox="-2 -2 9.82 9.82" xmlns="http://www.w3.org/2000/svg" fill="currentColor">\n <path d="M1.3 3.4c.3 0 .5-.2.5-.5s-.2-.4-.5-.4c-.2 0-.4.1-.4.4 0 .3.2.5.4.5zM3 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5zM4.6 3.4c.2 0 .4-.2.4-.5s-.2-.4-.4-.4c-.3 0-.5.1-.5.4 0 .3.2.5.5.5z"/>\n</svg></div>',title:t("Create element"),action:{click:function(e){const r=o(e),s=i.getRootElement();n.open(s,"bpmn-create",r,{title:t("Create element"),width:300,search:!0})}}}}};var Q3={__init__:["createMenuProvider","createPaletteProvider"],createMenuProvider:["type",X3],createPaletteProvider:["type",G3]};function K3(e){this._injector=e,this.registerActions()}K3.$inject=["injector"],K3.prototype.registerActions=function(){const e=this._injector.get("editorActions",!1),t=this._injector.get("selection",!1),n=this._injector.get("contextPad",!1),i=this._injector.get("palette",!1),r=this._injector.get("popupMenu",!1),o={};t&&n&&i&&r&&i&&x3(o,{appendElement:function(e){const o=t&&t.get();1!=o.length||r.isEmpty(o[0],"bpmn-append")?i.triggerEntry("create","click",e):n.triggerEntry("append","click",e)}}),i&&x3(o,{createElement:function(e){i.triggerEntry("create","click",e)}}),e&&e.register(o)};var Y3={__depends__:[W3,Q3],__init__:["createAppendEditorActions"],createAppendEditorActions:["type",K3]},Z3=["c","C"],J3=["v","V"],e5=["y","Y"],t5=["z","Z"];function n5(e){return!e.altKey&&(e.ctrlKey||e.metaKey)}function i5(e,t){return-1!==(e=u3(e)?e:[e]).indexOf(t.key)||-1!==e.indexOf(t.code)}function r5(e){return e.shiftKey}var o5=500;function s5(e,t){var n=this;e.on("editorActions.init",o5,(function(e){var i=e.editorActions;n.registerBindings(t,i)}))}function a5(e){this._injector=e,this._keyboard=this._injector.get("keyboard",!1),this._editorActions=this._injector.get("editorActions",!1),this._keyboard&&this._injector.invoke(s5,this)}s5.$inject=["eventBus","keyboard"],s5.prototype.registerBindings=function(e,t){function n(n,i){t.isRegistered(n)&&e.addListener(i)}n("undo",(function(e){if(function(e){return n5(e)&&!r5(e)&&i5(t5,e)}(e.keyEvent))return t.trigger("undo"),!0})),n("redo",(function(e){if(function(e){return n5(e)&&(i5(e5,e)||i5(t5,e)&&r5(e))}(e.keyEvent))return t.trigger("redo"),!0})),n("copy",(function(e){if(function(e){return n5(e)&&i5(Z3,e)}(e.keyEvent))return t.trigger("copy"),!0})),n("paste",(function(e){if(function(e){return n5(e)&&i5(J3,e)}(e.keyEvent))return t.trigger("paste"),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(i5(["+","Add","="],n)&&n5(n))return t.trigger("stepZoom",{value:1}),!0})),n("stepZoom",(function(e){var n=e.keyEvent;if(i5(["-","Subtract"],n)&&n5(n))return t.trigger("stepZoom",{value:-1}),!0})),n("zoom",(function(e){var n=e.keyEvent;if(i5("0",n)&&n5(n))return t.trigger("zoom",{value:1}),!0})),n("removeSelection",(function(e){if(i5(["Backspace","Delete","Del"],e.keyEvent))return t.trigger("removeSelection"),!0}))},j3(a5,s5),a5.$inject=["injector"],a5.prototype.registerBindings=function(){const e=this._keyboard,t=this._editorActions;function n(n,i){t&&t.isRegistered(n)&&e&&e.addListener(i)}s5.prototype.registerBindings.call(this,e,t),n("appendElement",(function(n){const i=n.keyEvent;if(!e||!e.hasModifier(i))return e&&e.isKey(["a","A"],i)?(t&&t.trigger("appendElement",i),!0):void 0})),n("createElement",(function(n){const i=n.keyEvent;if(!e||!e.hasModifier(i))return e&&e.isKey(["n","N"],i)?(t&&t.trigger("createElement",i),!0):void 0}))};var l5={__depends__:[W3,Q3,Y3,{__depends__:[W3,Q3],__init__:["createAppendKeyboardBindings"],createAppendKeyboardBindings:["type",a5]}]};function c5(e){return function(t){var n=t.target,i=q3(e),r=i.eventDefinitions&&i.eventDefinitions[0],o=i.$type===n.type,s=(r&&r.$type)===n.eventDefinitionType,a=!!n.triggeredByEvent==!!i.triggeredByEvent,l=void 0===n.isExpanded||n.isExpanded===function(e,t){return!I3(e,"bpmn:CallActivity")&&(I3(e,"bpmn:SubProcess")?(t=t||function(e){return e&&e.di}(e),!(!t||!I3(t,"bpmndi:BPMNPlane"))||t&&!!t.isExpanded):!I3(e,"bpmn:Participant")||!!q3(e).processRef)}(e);return!(o&&s&&a&&l)}}var p5=[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Sub Process",actionName:"replace-with-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}}],u5=p5,d5=Object.freeze({__proto__:null,BOUNDARY_EVENT:[{label:"Message Boundary Event",actionName:"replace-with-message-boundary",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Boundary Event",actionName:"replace-with-timer-boundary",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Boundary Event",actionName:"replace-with-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Boundary Event",actionName:"replace-with-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Error Boundary Event",actionName:"replace-with-error-boundary",className:"bpmn-icon-intermediate-event-catch-error",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel Boundary Event",actionName:"replace-with-cancel-boundary",className:"bpmn-icon-intermediate-event-catch-cancel",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Signal Boundary Event",actionName:"replace-with-signal-boundary",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Compensation Boundary Event",actionName:"replace-with-compensation-boundary",className:"bpmn-icon-intermediate-event-catch-compensation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-message",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:MessageEventDefinition",cancelActivity:!1}},{label:"Timer Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-timer",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:TimerEventDefinition",cancelActivity:!1}},{label:"Escalation Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-escalation",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",cancelActivity:!1}},{label:"Conditional Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-condition",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",cancelActivity:!1}},{label:"Signal Boundary Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-boundary",className:"bpmn-icon-intermediate-event-catch-non-interrupting-signal",target:{type:"bpmn:BoundaryEvent",eventDefinitionType:"bpmn:SignalEventDefinition",cancelActivity:!1}}],DATA_OBJECT_REFERENCE:[{label:"Data Store Reference",actionName:"replace-with-data-store-reference",className:"bpmn-icon-data-store",target:{type:"bpmn:DataStoreReference"}}],DATA_STORE_REFERENCE:[{label:"Data Object Reference",actionName:"replace-with-data-object-reference",className:"bpmn-icon-data-object",target:{type:"bpmn:DataObjectReference"}}],END_EVENT:[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message End Event",actionName:"replace-with-message-end",className:"bpmn-icon-end-event-message",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Escalation End Event",actionName:"replace-with-escalation-end",className:"bpmn-icon-end-event-escalation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Error End Event",actionName:"replace-with-error-end",className:"bpmn-icon-end-event-error",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Cancel End Event",actionName:"replace-with-cancel-end",className:"bpmn-icon-end-event-cancel",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CancelEventDefinition"}},{label:"Compensation End Event",actionName:"replace-with-compensation-end",className:"bpmn-icon-end-event-compensation",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal End Event",actionName:"replace-with-signal-end",className:"bpmn-icon-end-event-signal",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Terminate End Event",actionName:"replace-with-terminate-end",className:"bpmn-icon-end-event-terminate",target:{type:"bpmn:EndEvent",eventDefinitionType:"bpmn:TerminateEventDefinition"}}],EVENT_SUB_PROCESS:u5,EVENT_SUB_PROCESS_START_EVENT:[{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Error Start Event",actionName:"replace-with-error-start",className:"bpmn-icon-start-event-error",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ErrorEventDefinition"}},{label:"Escalation Start Event",actionName:"replace-with-escalation-start",className:"bpmn-icon-start-event-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Compensation Start Event",actionName:"replace-with-compensation-start",className:"bpmn-icon-start-event-compensation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Message Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-message-start",className:"bpmn-icon-start-event-non-interrupting-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition",isInterrupting:!1}},{label:"Timer Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-timer-start",className:"bpmn-icon-start-event-non-interrupting-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition",isInterrupting:!1}},{label:"Conditional Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-conditional-start",className:"bpmn-icon-start-event-non-interrupting-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition",isInterrupting:!1}},{label:"Signal Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-signal-start",className:"bpmn-icon-start-event-non-interrupting-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition",isInterrupting:!1}},{label:"Escalation Start Event (non-interrupting)",actionName:"replace-with-non-interrupting-escalation-start",className:"bpmn-icon-start-event-non-interrupting-escalation",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:EscalationEventDefinition",isInterrupting:!1}}],GATEWAY:[{label:"Exclusive Gateway",actionName:"replace-with-exclusive-gateway",className:"bpmn-icon-gateway-xor",target:{type:"bpmn:ExclusiveGateway"}},{label:"Parallel Gateway",actionName:"replace-with-parallel-gateway",className:"bpmn-icon-gateway-parallel",target:{type:"bpmn:ParallelGateway"}},{label:"Inclusive Gateway",actionName:"replace-with-inclusive-gateway",className:"bpmn-icon-gateway-or",target:{type:"bpmn:InclusiveGateway"}},{label:"Complex Gateway",actionName:"replace-with-complex-gateway",className:"bpmn-icon-gateway-complex",target:{type:"bpmn:ComplexGateway"}},{label:"Event based Gateway",actionName:"replace-with-event-based-gateway",className:"bpmn-icon-gateway-eventbased",target:{type:"bpmn:EventBasedGateway",instantiate:!1,eventGatewayType:"Exclusive"}}],INTERMEDIATE_EVENT:[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throw",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Intermediate Catch Event",actionName:"replace-with-message-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-message",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Message Intermediate Throw Event",actionName:"replace-with-message-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-message",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Intermediate Catch Event",actionName:"replace-with-timer-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-timer",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Escalation Intermediate Throw Event",actionName:"replace-with-escalation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-escalation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:EscalationEventDefinition"}},{label:"Conditional Intermediate Catch Event",actionName:"replace-with-conditional-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-condition",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Link Intermediate Catch Event",actionName:"replace-with-link-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-link",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Link Intermediate Throw Event",actionName:"replace-with-link-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-link",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:LinkEventDefinition",eventDefinitionAttrs:{name:""}}},{label:"Compensation Intermediate Throw Event",actionName:"replace-with-compensation-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-compensation",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:CompensateEventDefinition"}},{label:"Signal Intermediate Catch Event",actionName:"replace-with-signal-intermediate-catch",className:"bpmn-icon-intermediate-event-catch-signal",target:{type:"bpmn:IntermediateCatchEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}},{label:"Signal Intermediate Throw Event",actionName:"replace-with-signal-intermediate-throw",className:"bpmn-icon-intermediate-event-throw-signal",target:{type:"bpmn:IntermediateThrowEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],PARTICIPANT:[{label:"Expanded Pool",actionName:"replace-with-expanded-pool",className:"bpmn-icon-participant",target:{type:"bpmn:Participant",isExpanded:!0}},{label:function(e){var t="Empty Pool";return e.children&&e.children.length&&(t+=" (removes content)"),t},actionName:"replace-with-collapsed-pool",className:"bpmn-icon-lane",target:{type:"bpmn:Participant",isExpanded:!1}}],SEQUENCE_FLOW:[{label:"Sequence Flow",actionName:"replace-with-sequence-flow",className:"bpmn-icon-connection"},{label:"Default Flow",actionName:"replace-with-default-flow",className:"bpmn-icon-default-flow"},{label:"Conditional Flow",actionName:"replace-with-conditional-flow",className:"bpmn-icon-conditional-flow"}],START_EVENT:[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}},{label:"Message Start Event",actionName:"replace-with-message-start",className:"bpmn-icon-start-event-message",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:MessageEventDefinition"}},{label:"Timer Start Event",actionName:"replace-with-timer-start",className:"bpmn-icon-start-event-timer",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:TimerEventDefinition"}},{label:"Conditional Start Event",actionName:"replace-with-conditional-start",className:"bpmn-icon-start-event-condition",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:ConditionalEventDefinition"}},{label:"Signal Start Event",actionName:"replace-with-signal-start",className:"bpmn-icon-start-event-signal",target:{type:"bpmn:StartEvent",eventDefinitionType:"bpmn:SignalEventDefinition"}}],START_EVENT_SUB_PROCESS:[{label:"Start Event",actionName:"replace-with-none-start",className:"bpmn-icon-start-event-none",target:{type:"bpmn:StartEvent"}},{label:"Intermediate Throw Event",actionName:"replace-with-none-intermediate-throwing",className:"bpmn-icon-intermediate-event-none",target:{type:"bpmn:IntermediateThrowEvent"}},{label:"End Event",actionName:"replace-with-none-end",className:"bpmn-icon-end-event-none",target:{type:"bpmn:EndEvent"}}],SUBPROCESS_EXPANDED:[{label:"Transaction",actionName:"replace-with-transaction",className:"bpmn-icon-transaction",target:{type:"bpmn:Transaction",isExpanded:!0}},{label:"Event Sub Process",actionName:"replace-with-event-subprocess",className:"bpmn-icon-event-subprocess-expanded",target:{type:"bpmn:SubProcess",triggeredByEvent:!0,isExpanded:!0}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}}],TASK:[{label:"Task",actionName:"replace-with-task",className:"bpmn-icon-task",target:{type:"bpmn:Task"}},{label:"User Task",actionName:"replace-with-user-task",className:"bpmn-icon-user",target:{type:"bpmn:UserTask"}},{label:"Service Task",actionName:"replace-with-service-task",className:"bpmn-icon-service",target:{type:"bpmn:ServiceTask"}},{label:"Send Task",actionName:"replace-with-send-task",className:"bpmn-icon-send",target:{type:"bpmn:SendTask"}},{label:"Receive Task",actionName:"replace-with-receive-task",className:"bpmn-icon-receive",target:{type:"bpmn:ReceiveTask"}},{label:"Manual Task",actionName:"replace-with-manual-task",className:"bpmn-icon-manual",target:{type:"bpmn:ManualTask"}},{label:"Business Rule Task",actionName:"replace-with-rule-task",className:"bpmn-icon-business-rule",target:{type:"bpmn:BusinessRuleTask"}},{label:"Script Task",actionName:"replace-with-script-task",className:"bpmn-icon-script",target:{type:"bpmn:ScriptTask"}},{label:"Call Activity",actionName:"replace-with-call-activity",className:"bpmn-icon-call-activity",target:{type:"bpmn:CallActivity"}},{label:"Sub Process (collapsed)",actionName:"replace-with-collapsed-subprocess",className:"bpmn-icon-subprocess-collapsed",target:{type:"bpmn:SubProcess",isExpanded:!1}},{label:"Sub Process (expanded)",actionName:"replace-with-expanded-subprocess",className:"bpmn-icon-subprocess-expanded",target:{type:"bpmn:SubProcess",isExpanded:!0}}],TRANSACTION:p5});const h5=Object.values(d5);function m5(e,t,n){this._popupMenu=e,this._translate=t,this._elementTemplates=n,this.register()}function f5(e,t,n){const i=e[t];return!!i&&n.findIndex((([e])=>e===i.actionName))}m5.$inject=["popupMenu","translate","elementTemplates"],m5.prototype.register=function(){this._popupMenu.registerProvider("bpmn-replace",this)},m5.prototype.getPopupMenuEntries=function(e){return t=>{let n=Object.entries(t);return this._elementTemplates&&this._elementTemplates.get(e)&&this.addPlainElementEntry(e,n,this._translate,this._elementTemplates),n.reduce(((e,[t,n])=>(e[t]=n,e)),{})}},m5.prototype.addPlainElementEntry=function(e,t,n,i){const r=this.getPlainEntry(e,t,n,i);if(!r)return;const[o,s]=r;t.splice(o,0,[s.id,s])},m5.prototype.getPlainEntry=function(e,t,n,i){const{options:r,option:o,optionIndex:s}=function(e){const t=(e,t)=>t.target&&!c5(e)(t);return h5.reduce(((n,i)=>{if(n)return n;const r=i.findIndex((n=>t(e,n)));return-1!==r?{options:i,option:i[r],optionIndex:r}:void 0}),null)}(e)||{};if(!r)return null;const a={id:"replace-remove-element-template",action:()=>{i.removeTemplate(e)},label:n(o.label),className:o.className},l=f5(r,s-1,t);if(l)return[l+1,a];const c=f5(r,s+1,t);return c?[c,a]:[0,a]};var g5={__init__:["removeTemplateReplaceProvider"],removeTemplateReplaceProvider:["type",m5]};function y5(e={}){e={...e,moddleExtensions:{...t3,...e.moddleExtensions}},XK.call(this,e)}return e(y5,XK),y5.prototype._camundaPlatformModules=[fY,WK,k1,a3,l5,e3,g5],y5.prototype._modules=[].concat(XK.prototype._modules,y5.prototype._camundaPlatformModules),y5}));