camunda-bpmn-js 4.6.2 → 4.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/README.md +88 -88
- package/dist/assets/base-modeler.css +5 -5
- package/dist/assets/base-navigated-viewer.css +1 -1
- package/dist/assets/base-viewer.css +1 -1
- package/dist/assets/camunda-cloud-modeler.css +2 -2
- package/dist/assets/camunda-platform-modeler.css +1 -1
- package/dist/base-modeler.development.js +48 -48
- package/dist/camunda-cloud-modeler.development.js +137 -111
- package/dist/camunda-cloud-modeler.production.min.js +1 -1
- package/dist/camunda-cloud-navigated-viewer.development.js +40 -40
- package/dist/camunda-cloud-viewer.development.js +40 -40
- package/dist/camunda-platform-modeler.development.js +120 -94
- package/dist/camunda-platform-modeler.production.min.js +1 -1
- package/dist/camunda-platform-navigated-viewer.development.js +27 -27
- package/dist/camunda-platform-viewer.development.js +27 -27
- package/lib/base/Modeler.d.ts +20 -20
- package/lib/base/Modeler.js +65 -65
- package/lib/base/NavigatedViewer.d.ts +2 -2
- package/lib/base/NavigatedViewer.js +2 -2
- package/lib/base/Viewer.d.ts +2 -2
- package/lib/base/Viewer.js +2 -2
- package/lib/camunda-cloud/ElementTemplatesValidator.d.ts +1 -1
- package/lib/camunda-cloud/Modeler.d.ts +3 -3
- package/lib/camunda-cloud/Modeler.js +84 -84
- package/lib/camunda-cloud/NavigatedViewer.d.ts +9 -9
- package/lib/camunda-cloud/NavigatedViewer.js +36 -36
- package/lib/camunda-cloud/Viewer.d.ts +9 -9
- package/lib/camunda-cloud/Viewer.js +36 -36
- package/lib/camunda-cloud/util/commonModules.d.ts +9 -9
- package/lib/camunda-cloud/util/commonModules.js +15 -15
- package/lib/camunda-platform/Modeler.d.ts +3 -3
- package/lib/camunda-platform/Modeler.js +68 -68
- package/lib/camunda-platform/NavigatedViewer.d.ts +9 -9
- package/lib/camunda-platform/NavigatedViewer.js +27 -27
- package/lib/camunda-platform/Viewer.d.ts +9 -9
- package/lib/camunda-platform/Viewer.js +27 -27
- package/lib/camunda-platform/util/commonModules.d.ts +9 -9
- package/lib/camunda-platform/util/commonModules.js +11 -11
- package/lib/util/ExtensionElementsUtil.d.ts +24 -24
- package/lib/util/ExtensionElementsUtil.js +68 -68
- package/package.json +140 -140
- package/styles/base-modeler.css +5 -5
- package/styles/base-navigated-viewer.css +1 -1
- package/styles/base-viewer.css +1 -1
- package/styles/camunda-cloud-modeler.css +2 -2
- package/styles/camunda-platform-modeler.css +1 -1
|
@@ -174,7 +174,7 @@ var lU=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[hr
|
|
|
174
174
|
* focus-trap 7.5.2
|
|
175
175
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
176
176
|
*/
|
|
177
|
-
function MU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function AU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MU(Object(n),!0).forEach((function(t){DU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MU(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function DU(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 r=n.call(e,t||"default");if("object"!=typeof r)return r;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 NU=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},RU=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},jU=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},IU=function(e){return jU(e)&&!e.shiftKey},LU=function(e){return jU(e)&&e.shiftKey},zU=function(e){return setTimeout(e,0)},BU=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},$U=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},qU=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},FU=[],VU=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=(null==t?void 0:t.trapStack)||FU,o=AU({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:IU,isKeyBackward:LU},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 r=t.container,i=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||i.find((function(t){return t===e}))}))},c=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];t=t.apply(void 0,i)}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=r.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||!TU(e,o.tabbableOptions))if(l(r.activeElement)>=0)e=r.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?mU([e],t.includeContainer,{filter:EU.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:OU}):fU(e,t.includeContainer,EU.bind(null,t)),PU(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?mU([e],t.includeContainer,{filter:kU.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):fU(e,t.includeContainer,kU.bind(null,t))}(e,o.tabbableOptions),r=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,s=n.find((function(e){return SU(e)})),a=n.slice().reverse().find((function(e){return SU(e)})),l=!!t.find((function(e){return yU(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbableNode:s,lastDomTabbableNode:a,nextTabbableNode:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find((function(e){return SU(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return SU(e)})):t[i+(r?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!==r.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},f=function(e){var t=e.target,n=e.event,r=e.isBackward,i=void 0!==r&&r;t=t||qU(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=i?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(i){var h=BU(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(h<0&&(d.container===t||TU(t,o.tabbableOptions)&&!SU(t,o.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(h=p),h>=0){var f=0===h?s.tabbableGroups.length-1:h-1,m=s.tabbableGroups[f];a=yU(t)>=0?m.lastTabbableNode:m.lastDomTabbableNode}else jU(n)||(a=d.nextTabbableNode(t,!1))}else{var g=BU(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(g<0&&(d.container===t||TU(t,o.tabbableOptions)&&!SU(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=yU(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else jU(n)||(a=d.nextTabbableNode(t))}}else a=c("fallbackFocus");return a},m=function(e){var t=qU(e);l(t,e)>=0||($U(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):$U(o.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=qU(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(s.mostRecentlyFocusedNode=t);else{var r;e.stopImmediatePropagation();var i=!0;if(s.mostRecentlyFocusedNode)if(yU(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&&(r=c[u+1],i=!1):u-1>=0&&(r=c[u-1],i=!1))}}else s.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return yU(e)>0}))}))||(i=!1);else i=!1;i&&(r=f({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),d(r||(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!==$U(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=f({event:e,isBackward:t});n&&(jU(e)&&e.preventDefault(),d(n))}(e,o.isKeyBackward(e))},v=function(e){var t=qU(e);l(t,e)>=0||$U(o.clickOutsideDeactivates,e)||$U(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(s.active)return NU(i,n),s.delayInitialFocusTimer=o.delayInitialFocus?zU((function(){d(p())})):d(p()),r.addEventListener("focusin",g,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",y,{capture:!0,passive:!1}),n},w=function(){if(s.active)return r.removeEventListener("focusin",g,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",y,!0),n},x="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,_=function(){x&&(x.disconnect(),s.active&&!s.paused&&s.containers.map((function(e){x.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"),i=a(e,"checkCanFocusTrap");i||u(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=r.activeElement,null==t||t();var o=function(){i&&u(),b(),_(),null==n||n()};return i?(i(s.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!s.active)return this;var t=AU({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,w(),s.active=!1,s.paused=!1,_(),RU(i,n);var r=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),p=a(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var u=function(){zU((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(),w(),_(),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(),_(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),s.active&&u(),_(),this}},n.updateContainerElements(e),n},HU=function(e){return Vk("svg",{...e,children:Vk("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"})})};HU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var UU=function(e){return Vk("svg",{...e,children:Vk("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"})})};UU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var WU=function(e){return Vk("svg",{...e,children:Vk("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"})})};WU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var GU=function(e){return Vk("svg",{...e,children:[Vk("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),Vk("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),Vk("path",{d:"M7 3H5v2h2V3zm4 0H9v2h2V3zM7 7H5v2h2V7zm4 0H9v2h2V7zm-4 4H5v2h2v-2zm4 0H9v2h2v-2z",fill:"#161616"})]})};GU.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var QU=function(e){return Vk("svg",{...e,children:Vk("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"})})};QU.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var XU=function(e){return Vk("svg",{...e,children:Vk("path",{d:"M3.617 11.99c-.137.684-.392 1.19-.765 1.518-.362.328-.882.492-1.558.492H0l.309-1.579h1.264l1.515-7.64h-.912l.309-1.579h.911l.236-1.191c.137-.685.387-1.192.75-1.52C4.753.164 5.277 0 5.953 0h1.294L6.94 1.579H5.675l-.323 1.623h1.264l-.309 1.579H5.043l-1.426 7.208ZM5.605 11.021l3.029-4.155L7.28 3.202h2.073l.706 2.547h.176l1.691-2.547H14l-3.014 4.051 1.338 3.768H10.25l-.706-2.606H9.37L7.678 11.02H5.605Z",fill:"currentcolor"})})};XU.defaultProps={width:"14",height:"14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ZU=function(e){return Vk("svg",{...e,children:[Vk("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"}),Vk("circle",{cx:"16",cy:"23.5",r:"1.5"}),Vk("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"}),Vk("path",{style:{fill:"none"},d:"M0 0h32v32H0z"})]})};ZU.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"};var YU=function(e){return Vk("svg",{...e,children:[Vk("path",{fill:"currentColor",d:"M28 4H10a2.006 2.006 0 0 0-2 2v14a2.006 2.006 0 0 0 2 2h18a2.006 2.006 0 0 0 2-2V6a2.006 2.006 0 0 0-2-2Zm0 16H10V6h18Z"}),Vk("path",{fill:"currentColor",d:"M18 26H4V16h2v-2H4a2.006 2.006 0 0 0-2 2v10a2.006 2.006 0 0 0 2 2h14a2.006 2.006 0 0 0 2-2v-2h-2Z"})]})};function KU(e){const{element:t,headerProvider:n}=e,{getElementIcon:r,getDocumentationRef:i,getElementLabel:o,getTypeLabel:s}=n,a=o(t),l=s(t),c=i&&i(t),p=r(t);return Vk("div",{class:"bio-properties-panel-header",children:[Vk("div",{class:"bio-properties-panel-header-icon",children:p&&Vk(p,{width:"32",height:"32",viewBox:"0 0 32 32"})}),Vk("div",{class:"bio-properties-panel-header-labels",children:[Vk("div",{title:l,class:"bio-properties-panel-header-type",children:l}),a?Vk("div",{title:a,class:"bio-properties-panel-header-label",children:a}):null]}),Vk("div",{class:"bio-properties-panel-header-actions",children:c?Vk("a",{rel:"noopener",class:"bio-properties-panel-header-link",href:c,title:"Open documentation",target:"_blank",children:Vk(QU,{})}):null})]})}YU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 32 32"};const JU=j_({description:{},getDescriptionForId:()=>{}}),eW=j_({errors:{}}),tW=j_({eventBus:null}),nW=j_({layout:{},setLayout:()=>{},getLayoutForKey:()=>{},setLayoutForKey:()=>{}}),rW=j_({tooltip:{},getTooltipForId:()=>{}});function iW(e){const{forId:t,element:n}=e,r=function(e,t){const{getTooltipForId:n}=nk(rW);return n(e,t)}(t,n),i=e.value||r;return i?Vk(oW,{...e,value:i,forId:lW(t)}):e.children}function oW(e){const{forId:t,value:n,parent:r,direction:i="right",position:o}=e,[s,a]=X_(!1),[l,c]=X_(!1);let p=null;const u=J_(null),d=J_(null),h=async e=>{const t=()=>a(!0);s||p||(e instanceof MouseEvent?p=setTimeout(t,200):(t(),c(!0)))},f=()=>{a(!1),c(!1)};Y_((()=>{const{current:e}=u;if(!e)return;const t=e=>{const t=document.activeElement===u.current||document.activeElement.closest(".bio-properties-panel-tooltip");!s||(({x:e,y:t})=>{const n=d.current,r=u.current;return n&&(sW(e,t,r.getBoundingClientRect())||sW(e,t,n.getBoundingClientRect()))})({x:e.x,y:e.y})||t&&l||f()},n=e=>{const{relatedTarget:t}=e;s&&!u.current.matches(":hover")&&t&&!t.closest(".bio-properties-panel-tooltip")&&f()};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)}}),[u.current,s,l]);const m=()=>Vk("div",{class:`bio-properties-panel-tooltip ${i}`,role:"tooltip",id:"bio-properties-panel-tooltip","aria-labelledby":t,style:o||aW(u.current),ref:d,onClick:e=>e.stopPropagation(),children:[Vk("div",{class:"bio-properties-panel-tooltip-content",children:n}),Vk("div",{class:"bio-properties-panel-tooltip-arrow"})]});return Vk("div",{class:"bio-properties-panel-tooltip-wrapper",tabIndex:"0",ref:u,onMouseEnter:h,onMouseLeave:()=>{clearTimeout(p),p=null},onFocus:h,onKeyDown:e=>{"Escape"===e.code&&f()},children:[e.children,s?r?Pk(m(),r.current):m():null]})}function sW(e,t,n){const{top:r,right:i,bottom:o,left:s}=n;return e>=s&&e<=i&&t>=r&&t<=o}function aW(e){const t=e.getBoundingClientRect();return`right: ${`calc(100% - ${t.x}px)`}; top: ${t.top-10+"px"};`}function lW(e){return`bio-properties-panel-${e}`}function cW(e){const{errors:t}=nk(eW);return t[e]}function pW(){const{errors:e}=nk(eW);return e}function uW(e,t,n){const r=nk(tW);n||({eventBus:n}=r);const i=J_(!1);n&&!i.current&&n.on(e,t),Y_((()=>(n&&i.current&&n.on(e,t),i.current=!0,()=>{n&&n.off(e,t)})),[t,e,n])}function dW(e,t){const{getLayoutForKey:n,setLayoutForKey:r}=nk(nW);return[n(e,t),tk((t=>{r(e,t)}),[r])]}function hW(e){const t=J_();return Y_((()=>{t.current=e})),t.current}function fW(e){const{onShow:t}=nk(nW),n=J_(),r=J_(!1),i=tk((n=>{n.id===e&&(t(),r.current||(r.current=!0))}),[e]);return Y_((()=>{r.current&&n.current&&(d(n.current.focus)&&n.current.focus(),d(n.current.select)&&n.current.select(),r.current=!1)})),uW("propertiesPanel.showEntry",i),n}function mW(e,t,n){const[r,i]=X_(Yk(t)),o=tk((()=>{const e=Yk(t);e!==r&&i(e)}),[t,r]);Y_((()=>{o()}),[o]),uW("propertiesPanel.attach",o),uW("propertiesPanel.detach",o),Y_((()=>{const t=IntersectionObserver;if(!t)return;if(!e.current||!r)return;const i=new t((e=>{0!==r.scrollHeight&&e.forEach((e=>{e.intersectionRatio<1?n(!0):1===e.intersectionRatio&&n(!1)}))}),{root:r,rootMargin:"0px 0px 999999% 0px",threshold:[1]});return i.observe(e.current),()=>{i.unobserve(e.current)}}),[e.current,r,n])}function gW(e){const t=J_(e);return t.current=e,tk(((...e)=>t.current(...e)),[])}function yW(e){const{element:t,entries:n=[],id:r,label:i,shouldOpen:o=!1}=e,s=J_(null),[a,l]=dW(["groups",r,"open"],o),c=tk((()=>l(!0)),[l]),[p,u]=X_(!1),[h,f]=X_(!1);Y_((()=>{const e=requestAnimationFrame((()=>{const e=n.find((e=>{const{id:t,isEdited:n}=e,r=Yk(`[data-entry-id="${t}"]`);if(!d(n)||!r)return!1;return n(Yk(".bio-properties-panel-input",r))}));u(e)}));return()=>cancelAnimationFrame(e)}),[n,u]);const m=pW(),g=n.some((e=>m[e.id]));mW(s,"div.bio-properties-panel-scroll-container",f);const y={...nk(nW),onShow:c};return Vk("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:s,children:[Vk("div",{class:Wk("bio-properties-panel-group-header",p?"":"empty",a?"open":"",h&&a?"sticky":""),onClick:()=>l(!a),children:[Vk("div",{title:e.tooltip?null:i,"data-title":i,class:"bio-properties-panel-group-header-title",children:Vk(iW,{value:e.tooltip,forId:"group-"+r,element:t,parent:s,children:i})}),Vk("div",{class:"bio-properties-panel-group-header-buttons",children:[Vk(vW,{edited:p,hasErrors:g}),Vk("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:Vk(HU,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})]})]}),Vk("div",{class:Wk("bio-properties-panel-group-entries",a?"open":""),children:Vk(nW.Provider,{value:y,children:n.map((e=>{const{component:n,id:r}=e;return h_(n,{...e,element:t,key:r})}))})})]})}function vW(e){const{edited:t,hasErrors:n}=e;return n?Vk("div",{title:"Section contains an error",class:"bio-properties-panel-dot bio-properties-panel-dot--error"}):t?Vk("div",{title:"Section contains data",class:"bio-properties-panel-dot"}):null}function bW(e){const{text:t,icon:n}=e;return Vk("div",{class:"bio-properties-panel open",children:Vk("section",{class:"bio-properties-panel-placeholder",children:[n&&Vk(n,{class:"bio-properties-panel-placeholder-icon"}),Vk("p",{class:"bio-properties-panel-placeholder-text",children:t})]})})}function wW(e){const{element:t,forId:n,value:r}=e,i=function(e,t){const{getDescriptionForId:n}=nk(JU);return n(e,t)}(n,t),o=r||i;if(o)return Vk("div",{class:"bio-properties-panel-description",children:o})}const xW=()=>{},_W=mk(((e,t)=>{const{onInput:n,disabled:r,tooltipContainer:i,enableGutters:o,value:s,onLint:a=xW,onPopupOpen:l=xW,popupOpen:c,contentAttributes:p={},hostLanguage:u=null,singleLine:d=!1}=e,h=J_(),[f,m]=X_(),[g,y]=X_(s||"");!function(e,t){const[n,r]=X_(void 0);t.current=ek((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Y_((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(f,t);const v=gW((e=>{n(e),y(e)}));Y_((()=>{let e;return e=new jH({container:h.current,onChange:v,value:g,onLint:a,contentAttributes:p,tooltipContainer:i,enableGutters:o,hostLanguage:u,singleLine:d}),m(e),()=>{a([]),h.current.innerHTML="",m(null)}}),[]),Y_((()=>{f&&s!==g&&(f.setValue(s),y(s))}),[s]);return Vk("div",{class:Wk("bio-properties-panel-feelers-editor-container",c?"popupOpen":null),children:[Vk("div",{class:"bio-properties-panel-feelers-editor__open-popup-placeholder",children:"Opened in editor"}),Vk("div",{name:e.name,class:Wk("bio-properties-panel-feelers-editor bio-properties-panel-input",g?"edited":null,r?"disabled":null),ref:h,onClick:()=>{t.current.focus()}}),Vk("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l("feelers"),children:Vk(QU,{})})]})})),kW=()=>{},EW=mk(((e,t)=>{const{contentAttributes:n,enableGutters:r,value:i,onInput:o,onFeelToggle:s=kW,onLint:a=kW,onPopupOpen:l=kW,popupOpen:c,disabled:p,tooltipContainer:u,variables:d}=e,h=J_(),[f,m]=X_(),[g,y]=X_(i||"");!function(e,t){const[n,r]=X_(void 0);t.current=ek((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Y_((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(f,t);const v=gW((e=>{o(e),y(e)}));Y_((()=>{let e;return e=new aU({container:h.current,onChange:v,onKeyDown:t=>{if("Backspace"!==t.key||!e)return;const n=e.getSelection(),r=n.ranges[n.mainIndex];0===r.from&&0===r.to&&s()},onLint:a,tooltipContainer:u,value:g,variables:d,extensions:[...r?[zz()]:[],$L.lineWrapping],contentAttributes:n}),m(e),()=>{a([]),h.current.innerHTML="",m(null)}}),[]),Y_((()=>{f&&i!==g&&(f.setValue(i),y(i))}),[i]),Y_((()=>{f&&f.setVariables(d)}),[d]);return Vk("div",{class:Wk("bio-properties-panel-feel-editor-container",p?"disabled":null,c?"popupOpen":null),children:[Vk("div",{class:"bio-properties-panel-feel-editor__open-popup-placeholder",children:"Opened in editor"}),Vk("div",{name:e.name,class:Wk("bio-properties-panel-input",g?"edited":null),ref:h,onClick:()=>{t.current.focus()}}),Vk("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l(),children:Vk(YU,{})})]})}));function OW(e){const{active:t}=e;return t?Vk("span",{class:"bio-properties-panel-feel-indicator",children:"="}):null}const PW=()=>{};function SW(e){const{feel:t=!1,active:n,disabled:r=!1,onClick:i=PW}=e,o=`Click to ${n?"remove":"set a"} dynamic value with FEEL expression`;return Vk("button",{type:"button",class:Wk("bio-properties-panel-feel-icon",n?"active":null,"required"===t?"required":"optional"),onClick:e=>{i(e),e.pointerType||e.stopPropagation()},disabled:"required"===t||r,title:"required"===t?"FEEL expression is mandatory":o,children:Vk(XU,{})})}const CW=j_({open:()=>{},close:()=>{},source:null});function TW(e,t){let n,r,i;function o(t){const o={x:t.clientX-r,y:t.clientY-i};return e.call(n,t,o)}function s(){document.removeEventListener("dragover",o,!0),document.removeEventListener("dragenter",MW,!0),document.removeEventListener("dragend",s),document.removeEventListener("drop",MW)}return function(e){n=this,r=e.clientX,i=e.clientY,e.dataTransfer&&e.dataTransfer.setDragImage(t||Zk('<canvas width="0" height="0" />'),0,0),document.addEventListener("dragover",o,!0),document.addEventListener("dragenter",MW,!0),document.addEventListener("dragend",s),document.addEventListener("drop",MW)}}function MW(e){e.preventDefault(),e.stopPropagation()}const AW=()=>{};const DW=mk((function(e,t){const{container:n,className:r,delayInitialFocus:i,position:o,width:s,height:a,onClose:l,onPostActivate:c=AW,onPostDeactivate:p=AW,returnFocus:u=!0,closeOnEscape:d=!0,title:h}=e,f=J_(null),m=J_(null),g=t||m,y=ek((()=>function(e){if("string"==typeof e)return Yk(e);return e}(n)),[n]),v=()=>{f.current&&f.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"),Y_((()=>(g.current&&g.current.addEventListener("focusin",v),()=>{g.current.removeEventListener("focusin",v)})),[g]),Y_((()=>(g.current&&(f.current=VU(g.current,{clickOutsideDeactivates:!0,delayInitialFocus:i,fallbackFocus:g.current,onPostActivate:c,onPostDeactivate:p,returnFocusOnDeactivate:u}),f.current.activate()),()=>f.current&&f.current.deactivate())),[g]),uW("propertiesPanel.detach",l),Pk(Vk("div",{"aria-label":h,tabIndex:-1,ref:g,onKeyDown:e=>{e.stopPropagation(),d&&"Escape"===e.key&&l()},role:"dialog",class:Wk("bio-properties-panel-popup",r),style:b,children:e.children}),y||document.body)}));function NW(e){return e.closest(".bio-properties-panel-popup")}DW.Title=function(e){const{children:t,className:n,draggable:r,emit:i=(()=>{}),title:o,...s}=e,a=J_({startPosition:null,newPosition:null}),l=J_(),c=J_(),p=(e,t)=>{!function(e){e.preventDefault(),e.stopPropagation()}(e);const{x:n,y:r}=t,o={x:a.current.startPosition.x+n,y:a.current.startPosition.y+r},s=NW(c.current);s.style.top=o.y+"px",s.style.left=o.x+"px",i("dragover",{newPosition:o,delta:t})};return Vk("div",{class:Wk("bio-properties-panel-popup__header",r&&"draggable",n),ref:c,draggable:r,onDragStart:e=>{TW(p,l.current)(e),e.stopPropagation();const t=NW(c.current).getBoundingClientRect();a.current.startPosition={x:t.left,y:t.top},i("dragstart")},onDragEnd:()=>{a.current.newPosition=null,i("dragend")},...s,children:[r&&Vk(m_,{children:[Vk("div",{ref:l,class:"bio-properties-panel-popup__drag-preview"}),Vk("div",{class:"bio-properties-panel-popup__drag-handle",children:Vk(GU,{})})]}),Vk("div",{class:"bio-properties-panel-popup__title",children:o}),t]})},DW.Body=function(e){const{children:t,className:n,...r}=e;return Vk("div",{class:Wk("bio-properties-panel-popup__body",n),...r,children:t})},DW.Footer=function(e){const{children:t,className:n,...r}=e;return Vk("div",{class:Wk("bio-properties-panel-popup__footer",n),...r,children:e.children})};const RW=700,jW=250;function IW(e){const{element:t,eventBus:n={fire(){},on(){},off(){}},popupContainer:r}=e,i=hW(t),[o,s]=X_({}),[a,l]=X_(!1),[c,p]=X_(null),[u,d]=X_(null),h=(e,t)=>{n.fire("feelPopup."+e,t)},f=tk((()=>!!a),[a]);!function(e,t){const n=J_(!1);Y_((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{a||h("closed")}),[a]);const m=(e,t,n)=>{p(e),s(t),l(!0),d(n),h("open")},g=(e={})=>{const{id:t}=e;t&&t!==c||(l(!1),p(null))},y={open:m,close:g,source:c};return Y_((()=>{t&&i&&t!==i&&g()}),[t]),Y_((()=>{const e=()=>f();return n.on("feelPopup._close",g),n.on("feelPopup._open",(e=>{const{entryId:t,popupConfig:n,sourceElement:r}=e;m(t,n,r)})),n.on("feelPopup._isOpen",e),()=>{n.off("feelPopup._close",g),n.off("feelPopup._open",m),n.off("feelPopup._isOpen",e)}}),[n,f]),Vk(CW.Provider,{value:y,children:[a&&Vk(LW,{onClose:g,container:r,sourceElement:u,emit:h,...o}),e.children]})}function LW(e){const{container:t,id:n,hostLanguage:r,onInput:i,onClose:o,position:s,singleLine:a,sourceElement:l,title:c,tooltipContainer:p,type:u,value:d,variables:h,emit:f}=e,m=J_(),g=J_(),y=J_(!1);return Y_((()=>(f("opened",{domNode:g.current}),()=>f("close",{domNode:g.current}))),[]),Y_((()=>{m.current&&m.current.focus()}),[m]),Vk(DW,{container:t,className:"bio-properties-panel-feel-popup",emit:f,position:s,title:c,onClose:o,returnFocus:!1,closeOnEscape:!1,delayInitialFocus:!1,onPostDeactivate:()=>{l&&l.focus()},height:jW,width:RW,ref:g,children:[Vk(DW.Title,{title:c,emit:f,draggable:!0,children:["feel"===u&&Vk("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",Vk(ZU,{})]}),"feelers"===u&&Vk("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",Vk(ZU,{})]})]}),Vk(DW.Body,{children:Vk("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&&Vk(EW,{enableGutters:!0,id:zW(n),name:n,onInput:i,value:d,variables:h,ref:m,tooltipContainer:p}),"feelers"===u&&Vk(_W,{id:zW(n),contentAttributes:{"aria-label":c},enableGutters:!0,hostLanguage:r,name:n,onInput:i,value:d,ref:m,singleLine:a,tooltipContainer:p})]})}),Vk(DW.Footer,{children:Vk("button",{type:"button",onClick:()=>o(),title:"Close pop-up editor",class:"bio-properties-panel-feel-popup__close-btn",children:"Close"})})]})}function zW(e){return`bio-properties-panel-${e}`}function BW(e){const{id:t,label:n,onInput:r,value:i,switcherLabel:o,inline:s,onFocus:a,onBlur:l,inputRef:c,tooltip:p}=e,[u,d]=X_(i);return Y_((()=>{i!==u&&d(i)}),[i]),Vk("div",{class:Wk("bio-properties-panel-toggle-switch",{inline:s}),children:[Vk("label",{class:"bio-properties-panel-label",for:FW(t),children:Vk(iW,{value:p,forId:t,element:e.element,children:n})}),Vk("div",{class:"bio-properties-panel-field-wrapper",children:[Vk("label",{class:"bio-properties-panel-toggle-switch__switcher",children:[Vk("input",{ref:c,id:FW(t),class:"bio-properties-panel-input",type:"checkbox",onFocus:a,onBlur:l,name:t,onInput:e=>{(async()=>{r(!i)})(),d(e.target.value)},checked:!!u}),Vk("span",{class:"bio-properties-panel-toggle-switch__slider"})]}),o&&Vk("p",{class:"bio-properties-panel-toggle-switch__label",children:o})]})]})}function $W(e){const{element:t,id:n,description:r,label:i,switcherLabel:o,inline:s,getValue:a,setValue:l,onFocus:c,onBlur:p,tooltip:u}=e;return Vk("div",{class:"bio-properties-panel-entry bio-properties-panel-toggle-switch-entry","data-entry-id":n,children:[Vk(BW,{id:n,label:i,value:a(t),onInput:l,onFocus:c,onBlur:p,switcherLabel:o,inline:s,tooltip:u,element:t}),Vk(wW,{forId:n,element:t,value:r})]})}function qW(e){return e&&!!e.checked}function FW(e){return`bio-properties-panel-${e}`}function VW(e){const{debounce:t,disabled:n,displayLabel:r=!0,id:i,inputRef:o,label:s,max:a,min:l,onInput:c,step:p,value:u="",onFocus:d,onBlur:h}=e,[f,m]=X_(u),g=ek((()=>t((e=>{e.validity.valid&&c(e.value?parseFloat(e.value):void 0)}))),[c,t]);return Y_((()=>{u!==f&&m(u)}),[u]),Vk("div",{class:"bio-properties-panel-numberfield",children:[r&&Vk("label",{for:WW(i),class:"bio-properties-panel-label",children:s}),Vk("input",{id:WW(i),ref:o,type:"number",name:i,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",max:a,min:l,onInput:e=>{g(e.target),m(e.target.value)},onFocus:d,onBlur:h,step:p,value:f})]})}function HW(e){const{debounce:t,description:n,disabled:r,element:i,getValue:o,id:s,label:a,max:l,min:c,setValue:p,step:u,onFocus:h,onBlur:f,validate:m}=e,g=cW(s),[y,v]=X_(null);let b=o(i);Y_((()=>{if(d(m)){const e=m(b)||null;v(e)}}),[b,m]);const w=g||y;return Vk("div",{class:Wk("bio-properties-panel-entry",w?"has-error":""),"data-entry-id":s,children:[Vk(VW,{debounce:t,disabled:r,id:s,label:a,onFocus:h,onBlur:f,onInput:e=>{let t=null;d(m)&&(t=m(e)||null),p(e,t),v(t)},max:l,min:c,step:u,value:b},i),w&&Vk("div",{class:"bio-properties-panel-error",children:w}),Vk(wW,{forId:s,element:i,value:n})]})}function UW(e){return e&&!!e.value}function WW(e){return`bio-properties-panel-${e}`}const GW=()=>{};const QW=(XW=function(e){const{debounce:t,id:n,element:r,label:i,hostLanguage:o,onInput:s,onError:a,feel:l,value:c="",disabled:p=!1,variables:u,singleLine:d,tooltipContainer:f,OptionalComponent:m=ZW,tooltip:g}=e,[y,v]=X_(c),b=fW(n),w=J_(),x=h(y)&&y.startsWith("=")||"required"===l,_=h(y)&&y.startsWith("=")?y.substring(1):y,[k,E]=X_(void 0),{open:O,source:P}=nk(CW),S=P===n,C=(e=0)=>{const t=w.current.contains(document.activeElement)?document.activeElement.selectionStart:1/0;E(t+e)},T=ek((()=>t((e=>{s(e)}))),[s,t]),M=e=>{v(e),T(void 0===e||""===e||"="===e?void 0:e)},A=gW((()=>{"required"!==l&&M(x?_:"="+y)})),D=e=>{x&&(e="="+e),e!==y&&(M(e),!x&&h(e)&&e.startsWith("=")&&C(-1))},N=gW((e=>{e&&e.length?a("Unparsable FEEL expression."):a(void 0)})),R=(e="feel")=>{const t={id:n,hostLanguage:o,onInput:D,position:oG(w.current),singleLine:d,title:sG(r,i),tooltipContainer:f,type:e,value:_,variables:u};O(n,t,b.current)};return Y_((()=>{void 0!==k&&(b.current.focus(k),E(void 0))}),[k]),Y_((()=>{c!==y&&M(c||(x?"=":""))}),[c]),Y_((()=>{const e=e=>{x&&e.clipboardData.setData("application/FEEL",e.clipboardData.getData("text"))},t=e=>{x||S||e.clipboardData.getData("application/FEEL")&&setTimeout((()=>{A(),C()}))};return w.current.addEventListener("copy",e),w.current.addEventListener("cut",e),w.current.addEventListener("paste",t),()=>{w.current.removeEventListener("copy",e),w.current.removeEventListener("cut",e),w.current.removeEventListener("paste",t)}}),[w,x,A,C]),Vk("div",{class:Wk("bio-properties-panel-feel-entry",{"feel-active":x}),children:[Vk("label",{for:iG(n),class:"bio-properties-panel-label",onClick:()=>C(),children:[Vk(iW,{value:g,forId:n,element:e.element,children:i}),Vk(SW,{label:i,feel:l,onClick:A,active:x})]}),Vk("div",{class:"bio-properties-panel-feel-container",ref:w,children:[Vk(OW,{active:x,disabled:"optional"!==l||p,onClick:A}),x?Vk(EW,{name:n,onInput:D,contentAttributes:{id:iG(n),"aria-label":i},disabled:p,popupOpen:S,onFeelToggle:()=>{A(),C(!0)},onLint:N,onPopupOpen:R,value:_,variables:u,ref:b,tooltipContainer:f}):Vk(m,{...e,popupOpen:S,onInput:D,contentAttributes:{id:iG(n),"aria-label":i},value:y,ref:b,onPopupOpen:R,containerRef:w})]})]})},function(e){const{id:t}=e,{close:n}=nk(CW),r=gW(n);return Y_((()=>()=>{r({id:t})}),[]),Vk(XW,{...e})});var XW;const ZW=mk(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=J_();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)))}},Vk("input",{id:iG(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,value:o||""})})),YW=mk(((e,t)=>{const{id:n,debounce:r,disabled:i,onInput:o,value:s,min:a,max:l,step:c,onFocus:p,onBlur:u}=e,d=J_();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)))}},Vk(VW,{id:n,debounce:r,disabled:i,displayLabel:!1,inputRef:d,max:l,min:a,onInput:o,step:c,value:s,onFocus:p,onBlur:u})})),KW=mk(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=J_();return t.current={focus:()=>{const e=l.current;e&&(e.focus(),e.setSelectionRange(0,0))}},Vk("textarea",{id:iG(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,value:o||"","data-gramm":"false"})}));mk(((e,t)=>{const{id:n,onInput:r,value:i,onFocus:o,onBlur:s,switcherLabel:a}=e,l=J_();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},Vk(BW,{id:n,value:i,inputRef:l,onInput:r,onFocus:o,onBlur:s,switcherLabel:a})}));const JW=mk(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=J_();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},Vk("input",{ref:l,id:iG(n),name:n,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:({target:e})=>{i(e.checked)},checked:o,disabled:r})}));function eG(e){const{element:t,id:n,description:r,debounce:i,disabled:o,feel:s,label:a,getValue:l,setValue:c,tooltipContainer:p,hostLanguage:u,singleLine:h,validate:f,show:m=GW,example:g,variables:y,onFocus:v,onBlur:b,tooltip:w}=e,[x,_]=X_(null),[k,E]=X_(null);let O=l(t);Y_((()=>{if(d(f)){const e=f(O)||null;_(e)}}),[O,f]);const P=gW((e=>{let t=null;d(f)&&(t=f(e)||null),e!==O&&c(e,t),_(t)})),S=tk((e=>{E(e)}),[]),C=cW(n)||k||x;return Vk("div",{class:Wk(e.class,"bio-properties-panel-entry",C?"has-error":""),"data-entry-id":n,children:[h_(QW,{...e,debounce:i,disabled:o,feel:s,id:n,key:t,label:a,onInput:P,onError:S,onFocus:v,onBlur:b,example:g,hostLanguage:u,singleLine:h,show:m,value:O,variables:y,tooltipContainer:p,OptionalComponent:e.OptionalComponent,tooltip:w}),C&&Vk("div",{class:"bio-properties-panel-error",children:C}),Vk(wW,{forId:n,element:t,value:r})]})}function tG(e){return Vk(eG,{class:"bio-properties-panel-feel-number",OptionalComponent:YW,...e})}function nG(e){return Vk(eG,{class:"bio-properties-panel-feel-checkbox",OptionalComponent:JW,...e})}function rG(e){return!!e&&("checkbox"===e.type?!!e.checked||e.classList.contains("edited"):!!e.value||e.classList.contains("edited"))}function iG(e){return`bio-properties-panel-${e}`}function oG(e){const{top:t,left:n}=e.getBoundingClientRect();return{left:n-RW-20,top:t}}function sG(e,t){let n="";return e&&e.type&&(n=`${e.type} / `),`${n}${t}`}const aG={},lG={},cG={};function pG(e){const{element:t,headerProvider:n,placeholderProvider:r,groups:i,layoutConfig:o,layoutChanged:s,descriptionConfig:a,descriptionLoaded:l,tooltipConfig:p,tooltipLoaded:u,feelPopupContainer:d,eventBus:h}=e,[f,m]=X_(uG(o));!function(e,t){const n=J_(!1);K_((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{const e=uG(o);m(e)}),[o]),Y_((()=>{"function"==typeof s&&s(f)}),[f,s]);const g={layout:f,setLayout:m,getLayoutForKey:(e,t)=>B(f,e,t),setLayoutForKey:(e,t)=>{const n=L({},f);z(n,e,t),m(n)}},y=ek((()=>function(e={}){return{...lG,...e}}(a)),[a]);Y_((()=>{"function"==typeof l&&l(y)}),[y,l]);const v={description:y,getDescriptionForId:(e,t)=>y[e]&&y[e](t)},b=ek((()=>function(e={}){return{...cG,...e}}(p)),[p]);Y_((()=>{"function"==typeof u&&u(b)}),[b,u]);const w={tooltip:b,getTooltipForId:(e,t)=>b[e]&&b[e](t)},[x,_]=X_({});uW("propertiesPanel.setErrors",(({errors:e})=>_(e)),h);const k={errors:x},E={eventBus:h},O={element:t};return r&&!t?Vk(bW,{...r.getEmpty()}):r&&c(t)?Vk(bW,{...r.getMultiple()}):Vk(nW.Provider,{value:O,children:Vk(eW.Provider,{value:k,children:Vk(JU.Provider,{value:v,children:Vk(rW.Provider,{value:w,children:Vk(nW.Provider,{value:g,children:Vk(tW.Provider,{value:E,children:Vk(IW,{element:t,eventBus:h,popupContainer:d,children:Vk("div",{class:"bio-properties-panel",children:[Vk(KU,{element:t,headerProvider:n}),Vk("div",{class:"bio-properties-panel-scroll-container",children:i.map((e=>{const{component:n=yW,id:r}=e;return h_(n,{...e,key:r,element:t})}))})]})})})})})})})})}function uG(e={},t=aG){return{...t,...e}}function dG(e){const{class:t,children:n,menuItems:r=[]}=e,i=J_(null),o=J_(null),[s,a]=X_(!1),l=()=>a(!1);function c(e,t){e.stopPropagation(),l(),t()}var p,u;return p=[i.current],u=()=>l(),Y_((()=>{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]),Vk("div",{class:Wk("bio-properties-panel-dropdown-button",{open:s},t),onClick:function(e){o.current&&o.current.contains(e.target)||(e.stopPropagation(),a((e=>!e)))},ref:i,children:[n,Vk("div",{class:"bio-properties-panel-dropdown-button__menu",ref:o,children:r.map(((e,t)=>Vk(hG,{onClick:c,item:e},t)))})]})}function hG({item:e,onClick:t}){return e.separator?Vk("div",{class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--separator"}):e.action?Vk("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}):Vk("div",{class:"bio-properties-panel-dropdown-button__menu-item",children:e.entry})}function fG(e){const{children:t=null,class:n,onClick:r=(()=>{}),...i}=e;return Vk("button",{type:"button",...i,onClick:r,class:Wk("bio-properties-panel-group-header-button",n),children:t})}function mG(e){const{element:t,entries:n=[],id:r,label:i,open:o,remove:s}=e,[a,l]=X_(o),{onShow:c}=nk(nW),p={...nk(nW),onShow:tk((()=>{l(!0),d(c)&&c()}),[c,l])},u="<empty>";return Vk("div",{"data-entry-id":r,class:Wk("bio-properties-panel-collapsible-entry",a?"open":""),children:[Vk("div",{class:"bio-properties-panel-collapsible-entry-header",onClick:()=>l(!a),children:[Vk("div",{title:i||u,class:Wk("bio-properties-panel-collapsible-entry-header-title",!i&&"empty"),children:i||u}),Vk("button",{type:"button",title:"Toggle list item",class:"bio-properties-panel-arrow bio-properties-panel-collapsible-entry-arrow",children:Vk(HU,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}),s?Vk("button",{type:"button",title:"Delete item",class:"bio-properties-panel-remove-entry",onClick:s,children:Vk(WU,{})}):null]}),Vk("div",{class:Wk("bio-properties-panel-collapsible-entry-entries",a?"open":""),children:Vk(nW.Provider,{value:p,children:n.map((e=>{const{component:n,id:r}=e;return h_(n,{...e,element:t,key:r})}))})})]})}function gG(e){const{autoFocusEntry:t,autoOpen:n}=e;return Y_((()=>{if(n&&t){const e=Yk(`[data-entry-id="${t}"]`),n=Yk(".bio-properties-panel-input",e);n&&(d(n.select)?n.select():d(n.focus)&&n.focus())}}),[n,t]),Vk("div",{class:"bio-properties-panel-list-item",children:Vk(mG,{...e,open:n})})}const yG=()=>{};function vG(e){const{add:t,element:n,id:r,items:i,label:o,shouldOpen:s=!0,shouldSort:a=!0}=e,l=J_(null),[c,p]=dW(["groups",r,"open"],!1),[u,d]=X_(!1),h=tk((()=>p(!0)),[p]),[f,m]=X_([]),[g,y]=X_(!1),[v,b]=X_(!1),w=hW(i),x=hW(n),_=n!==x,k=!_&&(a||s);_&&m(xG(a?bG(i):i)),Y_((()=>{w&&a||m(xG(i))}),[i,n]),Y_((()=>{if(b(!1),k&&w&&i.length>w.length){let e=[];i.forEach((t=>{f.includes(t.id)||e.push(t.id)}));let t=f;v&&!c&&s&&E(),!c&&a&&(t=xG(bG(i))),t=t.filter((t=>!e.includes(t))),a?t.unshift(...e):t.push(...e),m(t),y(v)}else y(!1)}),[i,c,k,v]),Y_((()=>{a&&c&&!g&&m(xG(bG(i)))}),[c,a]),Y_((()=>{if(k&&w&&i.length<w.length){let e=[];f.forEach((t=>{wG(i,t)&&e.push(t)})),m(e)}}),[i,k]),mW(l,"div.bio-properties-panel-scroll-container",d);const E=()=>p(!c),O=!!i.length,P={...nk(nW),onShow:h},S=pW(),C=i.some((e=>!!S[e.id]||(e.entries?e.entries.some((e=>S[e.id])):void 0)));return Vk("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:l,children:[Vk("div",{class:Wk("bio-properties-panel-group-header",O?"":"empty",O&&c?"open":"",u&&c?"sticky":""),onClick:O?E:yG,children:[Vk("div",{title:e.tooltip?null:o,"data-title":o,class:"bio-properties-panel-group-header-title",children:Vk(iW,{value:e.tooltip,forId:"group-"+r,element:n,parent:l,children:o})}),Vk("div",{class:"bio-properties-panel-group-header-buttons",children:[t?Vk("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:[Vk(UU,{}),O?null:Vk("span",{class:"bio-properties-panel-add-entry-label",children:"Create"})]}):null,O?Vk("div",{title:`List contains ${i.length} item${1!=i.length?"s":""}`,class:Wk("bio-properties-panel-list-badge",C?"bio-properties-panel-list-badge--error":""),children:i.length}):null,O?Vk("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:Vk(HU,{class:c?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}):null]})]}),Vk("div",{class:Wk("bio-properties-panel-list",c&&O?"open":""),children:Vk(nW.Provider,{value:P,children:f.map(((e,t)=>{const r=wG(i,e);if(!r)return;const{id:o}=r,s=g;return h_(gG,{...r,autoOpen:s,element:n,index:t,key:o})}))})})]})}function bG(e){return T(e,(e=>e.label.toLowerCase()))}function wG(e,t){return m(e,(e=>e.id===t))}function xG(e){return e.map((e=>e.id))}function _G(e){const{id:t,label:n,onChange:r,disabled:i,value:o=!1,onFocus:s,onBlur:a,tooltip:l}=e,[c,p]=X_(o);Y_((()=>{o!==c&&p(o)}),[o]);return Vk("div",{class:"bio-properties-panel-checkbox",children:[Vk("input",{ref:fW(t),id:OG(t),name:t,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:e=>{(({target:e})=>{r(e.checked)})(e),p(e.target.value)},checked:c,disabled:i}),Vk("label",{for:OG(t),class:"bio-properties-panel-label",children:Vk(iW,{value:l,forId:t,element:e.element,children:n})})]})}function kG(e){const{element:t,id:n,description:r,label:i,getValue:o,setValue:s,disabled:a,onFocus:l,onBlur:c,tooltip:p}=e,u=o(t),d=cW(n);return Vk("div",{class:"bio-properties-panel-entry bio-properties-panel-checkbox-entry","data-entry-id":n,children:[Vk(_G,{disabled:a,id:n,label:i,onChange:s,onFocus:l,onBlur:c,value:u,tooltip:p,element:t},t),d&&Vk("div",{class:"bio-properties-panel-error",children:d}),Vk(wW,{forId:n,element:t,value:r})]})}function EG(e){return e&&!!e.checked}function OG(e){return`bio-properties-panel-${e}`}function PG(e){const{id:t,label:n,onChange:r,options:i=[],value:o="",disabled:s,onFocus:a,onBlur:l,tooltip:c}=e,p=fW(t),[u,d]=X_(o);return Y_((()=>{o!==u&&d(o)}),[o]),Vk("div",{class:"bio-properties-panel-select",children:[Vk("label",{for:TG(t),class:"bio-properties-panel-label",children:Vk(iW,{value:c,forId:t,element:e.element,children:n})}),Vk("select",{ref:p,id:TG(t),name:t,class:"bio-properties-panel-input",onInput:e=>{(({target:e})=>{r(e.value)})(e),d(e.target.value)},onFocus:a,onBlur:l,value:u,disabled:s,children:i.map(((e,t)=>e.children?Vk("optgroup",{label:e.label,children:e.children.map(((e,t)=>Vk("option",{value:e.value,disabled:e.disabled,children:e.label},t)))},t):Vk("option",{value:e.value,disabled:e.disabled,children:e.label},t)))})]})}function SG(e){const{element:t,id:n,description:r,label:i,getValue:o,setValue:s,getOptions:a,disabled:l,onFocus:c,onBlur:p,validate:u,tooltip:h}=e,f=a(t),m=cW(n),[g,y]=X_(null);let v=o(t);Y_((()=>{if(d(u)){const e=u(v)||null;y(e)}}),[v,u]);const b=m||g;return Vk("div",{class:Wk("bio-properties-panel-entry",b?"has-error":""),"data-entry-id":n,children:[Vk(PG,{id:n,label:i,value:v,onChange:e=>{let t=null;d(u)&&(t=u(e)||null),s(e,t),y(t)},onFocus:c,onBlur:p,options:f,disabled:l,tooltip:h,element:t},t),b&&Vk("div",{class:"bio-properties-panel-error",children:b}),Vk(wW,{forId:n,element:t,value:r})]})}function CG(e){return e&&!!e.value}function TG(e){return`bio-properties-panel-${e}`}function MG(e){e.style.height="auto",e.style.height=`${e.scrollHeight+2}px`}function AG(e){const{id:t,label:n,debounce:r,onInput:i,value:o="",disabled:s,monospace:a,onFocus:l,onBlur:c,autoResize:p,rows:u=(p?1:2),tooltip:d}=e,[h,f]=X_(o),m=fW(t),g=ek((()=>r((e=>i(e.value.length?e.value:void 0)))),[i,r]);return K_((()=>{p&&MG(m.current)}),[]),Y_((()=>{o!==h&&f(o)}),[o]),Vk("div",{class:"bio-properties-panel-textarea",children:[Vk("label",{for:RG(t),class:"bio-properties-panel-label",children:Vk(iW,{value:d,forId:t,element:e.element,children:n})}),Vk("textarea",{ref:m,id:RG(t),name:t,spellCheck:"false",class:Wk("bio-properties-panel-input",a?"bio-properties-panel-input-monospace":"",p?"auto-resize":""),onInput:e=>{g(e.target),p&&MG(e.target),f(e.target.value)},onFocus:l,onBlur:c,rows:u,value:h,disabled:s,"data-gramm":"false"})]})}function DG(e){const{element:t,id:n,description:r,debounce:i,label:o,getValue:s,setValue:a,rows:l,monospace:c,disabled:p,validate:u,onFocus:h,onBlur:f,autoResize:m,tooltip:g}=e,y=cW(n),[v,b]=X_(null);let w=s(t);Y_((()=>{if(d(u)){const e=u(w)||null;b(e)}}),[w,u]);const x=y||v;return Vk("div",{class:Wk("bio-properties-panel-entry",x?"has-error":""),"data-entry-id":n,children:[Vk(AG,{id:n,label:o,value:w,onInput:e=>{let t=null;d(u)&&(t=u(e)||null),a(e,t),b(t)},onFocus:h,onBlur:f,rows:l,debounce:i,monospace:c,disabled:p,autoResize:m,tooltip:g,element:t},t),x&&Vk("div",{class:"bio-properties-panel-error",children:x}),Vk(wW,{forId:n,element:t,value:r})]})}function NG(e){return e&&!!e.value}function RG(e){return`bio-properties-panel-${e}`}function jG(e){const{debounce:t,disabled:n=!1,id:r,label:i,onInput:o,onFocus:s,onBlur:a,value:l="",tooltip:c}=e,[p,u]=X_(l||""),d=fW(r),h=ek((()=>t((e=>o(e.value.length?e.value:void 0)))),[o,t]);return Y_((()=>{l!==p&&u(l)}),[l]),Vk("div",{class:"bio-properties-panel-textfield",children:[Vk("label",{for:zG(r),class:"bio-properties-panel-label",children:Vk(iW,{value:c,forId:r,element:e.element,children:i})}),Vk("input",{ref:d,id:zG(r),type:"text",name:r,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",onInput:e=>{h(e.target),u(e.target.value)},onFocus:s,onBlur:a,value:p})]})}function IG(e){const{element:t,id:n,description:r,debounce:i,disabled:o,label:s,getValue:a,setValue:l,validate:c,onFocus:p,onBlur:u,tooltip:h}=e,f=cW(n),[m,g]=X_(null);let y=a(t);Y_((()=>{if(d(c)){const e=c(y)||null;g(e)}}),[y,c]);const v=f||m;return Vk("div",{class:Wk("bio-properties-panel-entry",v?"has-error":""),"data-entry-id":n,children:[Vk(jG,{debounce:i,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&&Vk("div",{class:"bio-properties-panel-error",children:v}),Vk(wW,{forId:n,element:t,value:r})]})}function LG(e){return e&&!!e.value}function zG(e){return`bio-properties-panel-${e}`}function BG(e){return function(t){return!1!==e?j(t,u(e)?e:300):t}}BG.$inject=["config.debounceInput"];var $G={debounceInput:["factory",BG]};class qG{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")}}qG.$inject=["eventBus"];var FG={feelPopup:["type",qG]};function VG(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var HG,UG,WG,GG={};function QG(){HG=window.addEventListener?"addEventListener":"attachEvent",UG=window.removeEventListener?"removeEventListener":"detachEvent",WG="addEventListener"!==HG?"on":""}var XG,ZG=GG.bind=function(e,t,n,r){return HG||QG(),e[HG](WG+t,n,r||!1),n},YG=GG.unbind=function(e,t,n,r){return UG||QG(),e[UG](WG+t,n,r||!1),n},KG=VG({__proto__:null,bind:ZG,unbind:YG,default:GG},[GG]),JG=function(e,t){if("string"!=typeof e)throw new TypeError("String expected");t||(t=document);var n=/<([\w:]+)/.exec(e);if(!n)return t.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var r=n[1];if("body"==r){return(l=t.createElement("html")).innerHTML=e,l.removeChild(l.lastChild)}var i=Object.prototype.hasOwnProperty.call(tQ,r)?tQ[r]:tQ._default,o=i[0],s=i[1],a=i[2],l=t.createElement("div");l.innerHTML=s+e+a;for(;o--;)l=l.lastChild;if(l.firstChild==l.lastChild)return l.removeChild(l.firstChild);var c=t.createDocumentFragment();for(;l.firstChild;)c.appendChild(l.removeChild(l.firstChild));return c},eQ=!1;"undefined"!=typeof document&&((XG=document.createElement("div")).innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',eQ=!XG.getElementsByTagName("link").length,XG=void 0);var tQ={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:eQ?[1,"X<div>","</div>"]:[0,"",""]};tQ.td=tQ.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],tQ.option=tQ.optgroup=[1,'<select multiple="multiple">',"</select>"],tQ.thead=tQ.tbody=tQ.colgroup=tQ.caption=tQ.tfoot=[1,"<table>","</table>"],tQ.polyline=tQ.ellipse=tQ.polygon=tQ.circle=tQ.text=tQ.line=tQ.path=tQ.rect=tQ.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"];var nQ=JG;function rQ(e,t){return(t=t||document).querySelector(e)}var iQ={},oQ={};const sQ=Object.prototype.toString,aQ=Object.prototype.hasOwnProperty;function lQ(e){return void 0===e}function cQ(e){return void 0!==e}function pQ(e){return null==e}function uQ(e){return"[object Array]"===sQ.call(e)}function dQ(e){return"[object Object]"===sQ.call(e)}function hQ(e){const t=sQ.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function fQ(e){if(!uQ(e))throw new Error("must supply array")}function mQ(e,t){return aQ.call(e,t)}function gQ(e,t){const n=PQ(t);let r;return yQ(e,(function(e,t){if(n(e,t))return r=e,!1})),r}function yQ(e,t){let n,r;if(lQ(e))return;const i=uQ(e)?CQ:SQ;for(let o in e)if(mQ(e,o)&&(n=e[o],r=t(n,i(o)),!1===r))return n}function vQ(e,t,n){return yQ(e,(function(e,r){n=t(n,e,r)})),n}function bQ(e,t){return!!vQ(e,(function(e,n,r){return e&&t(n,r)}),!0)}function wQ(e,t){let n=[];return yQ(e,(function(e,r){n.push(t(e,r))})),n}function xQ(e){return e&&Object.keys(e)||[]}function _Q(e,t,n={}){return t=OQ(t),yQ(e,(function(e){let r=t(e)||"_",i=n[r];i||(i=n[r]=[]),i.push(e)})),n}function kQ(e,...t){e=OQ(e);let n={};return yQ(t,(t=>_Q(t,e,n))),wQ(n,(function(e,t){return e[0]}))}const EQ=kQ;function OQ(e){return hQ(e)?e:t=>t[e]}function PQ(e){return hQ(e)?e:t=>t===e}function SQ(e){return e}function CQ(e){return Number(e)}oQ.assign=function(e,...t){return Object.assign(e,...t)},oQ.bind=function(e,t){return e.bind(t)},oQ.debounce=function(e,t){let n,r,i,o;function s(n){let s=Date.now(),c=n?0:o+t-s;if(c>0)return a(c);e.apply(i,r),l()}function a(e){n=setTimeout(s,e)}function l(){n&&clearTimeout(n),n=o=r=i=void 0}function c(...e){o=Date.now(),r=e,i=this,n||a(t)}return c.flush=function(){n&&s(!0),l()},c.cancel=l,c},oQ.ensureArray=fQ,oQ.every=bQ,oQ.filter=function(e,t){const n=PQ(t);let r=[];return yQ(e,(function(e,t){n(e,t)&&r.push(e)})),r},oQ.find=gQ,oQ.findIndex=function(e,t){const n=PQ(t);let r=uQ(e)?-1:void 0;return yQ(e,(function(e,t){if(n(e,t))return r=t,!1})),r},oQ.flatten=function(e){return Array.prototype.concat.apply([],e)},oQ.forEach=yQ,oQ.get=function(e,t,n){let r=e;return yQ(t,(function(e){if(pQ(r))return r=void 0,!1;r=r[e]})),lQ(r)?n:r},oQ.groupBy=_Q,oQ.has=mQ,oQ.isArray=uQ,oQ.isDefined=cQ,oQ.isFunction=hQ,oQ.isNil=pQ,oQ.isNumber=function(e){return"[object Number]"===sQ.call(e)},oQ.isObject=dQ,oQ.isString=function(e){return"[object String]"===sQ.call(e)},oQ.isUndefined=lQ,oQ.keys=xQ,oQ.map=wQ,oQ.matchPattern=function(e){return function(t){return bQ(e,(function(e,n){return t[n]===e}))}},oQ.merge=function e(t,...n){return n.length?(yQ(n,(function(n){n&&dQ(n)&&yQ(n,(function(n,r){if("__proto__"===r)return;let i=t[r];dQ(n)?(dQ(i)||(i={}),t[r]=e(i,n)):t[r]=n}))})),t):t},oQ.omit=function(e,t){let n={};return yQ(Object(e),(function(e,r){-1===t.indexOf(r)&&(n[r]=e)})),n},oQ.pick=function(e,t){let n={},r=Object(e);return yQ(t,(function(t){t in r&&(n[t]=e[t])})),n},oQ.reduce=vQ,oQ.set=function(e,t,n){let r=e;return yQ(t,(function(e,i){if("number"!=typeof e&&"string"!=typeof e)throw new Error("illegal key type: "+typeof e+". Key should be of type number or string.");if("constructor"===e)throw new Error("illegal key: constructor");if("__proto__"===e)throw new Error("illegal key: __proto__");let o=t[i+1],s=r[e];cQ(o)&&pQ(s)&&(s=r[e]=isNaN(+o)?{}:[]),lQ(o)?lQ(n)?delete r[e]:r[e]=n:r=s})),e},oQ.size=function(e){return xQ(e).length},oQ.some=function(e,t){return!!gQ(e,t)},oQ.sortBy=function(e,t){t=OQ(t);let n=[];return yQ(e,(function(e,r){let i=t(e,r),o={d:i,v:e};for(var s=0;s<n.length;s++){let{d:e}=n[s];if(i<e)return void n.splice(s,0,o)}n.push(o)})),wQ(n,(e=>e.v))},oQ.throttle=function(e,t){let n=!1;return function(...r){n||(e(...r),n=!0,setTimeout((()=>{n=!1}),t))}},oQ.unionBy=EQ,oQ.uniqueBy=kQ,oQ.values=function(e){return wQ(e,(e=>e))},oQ.without=function(e,t){if(lQ(e))return[];fQ(e);const n=PQ(t);return e.filter((function(e,t){return!n(e,t)}))},Object.defineProperty(iQ,"__esModule",{value:!0});var TQ=oQ;function MQ(e){return(DQ(e,"zeebe:IoMapping")||[])[0]}function AQ(e){return function(e,t){var n=MQ(e);return n&&n.get(t)||[]}(e,"inputParameters")}function DQ(e,t,n){var r=function(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=TQ.filter(i,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(r[0]||{})[n]||[]:r}function NQ(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function RQ(e,t,n){n=n||0,TQ.isArray(e)||(e=[e]),TQ.forEach(e,(function(e,r){var i=t(e,r,n);TQ.isArray(i)&&i.length&&RQ(i,t,n+1)}))}function jQ(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function IQ(e,t,n){var r=[],i=[];return RQ(e,(function(e,o,s){jQ(r,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&jQ(i,a,t))return a})),r}function LQ(e,t){return IQ(e,!t,-1)}function zQ(e,t){var n=TQ.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 BQ(e,t,n){var r,i,o,s,a=(r=n,i=t,o=NQ(e),s=TQ.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return TQ.find(AQ(e),(function(e){return e.target===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}var $Q=[function(e){var t=e.elements,n=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=function(e){return(MQ(e)||{}).inputParameters}(e);TQ.forEach(t,(function(t){var r=BQ(e,t.target,e);zQ(n,r)}))})),n},function(e){var t=e.elements,n=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=e.loopCharacteristics,r=t&&function(e){const t=DQ(e,"zeebe:LoopCharacteristics")[0];return t&&t.inputElement}(t);if(r){var i=BQ(e,r,e);zQ(n,i)}})),n},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=function(e){return(MQ(e)||{}).outputParameters}(e);TQ.forEach(t,(function(t){var i=BQ(e,t.target,n);zQ(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=e.loopCharacteristics,i=t&&function(e){const t=DQ(e,"zeebe:LoopCharacteristics")[0];return t&&t.outputCollection}(t);if(i){var o=BQ(e,i,n);zQ(r,o)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=function(e){return(DQ(e,"zeebe:CalledDecision")||[])[0]}(e)||function(e){return(DQ(e,"zeebe:Script")||[])[0]}(e);if(t){var i=t.resultVariable;if(i){var o=BQ(e,i,n);zQ(r,o)}}})),r}];function qQ(e,t=[]){var n=[],r=LQ([e],!1);const i=[];return TQ.forEach([...$Q,...t],(function(t){i.push(t({elements:r,containerElement:e,processVariables:n}))})),Promise.all(i).then((()=>n))}async function FQ(e,t,n=[]){var r=await qQ(t,n),i=function(e,t){var n=LQ(t);return TQ.find(n,(function(t){return t.id===e}))}(e,t),o=TQ.filter(r,(function(e){return e.scope.id===i.id})),s=NQ(i);return function(e,t){return e.concat(t)}(o,TQ.filter(r,(function(e){return TQ.find(s,(function(t){return t.id===e.scope.id}))})))}function VQ(e){return e&&e.businessObject||e}function HQ(e,t){var n=VQ(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}var UQ=iQ.getProcessVariables=qQ,WQ=iQ.getVariablesForElement=function(e,t=[]){return FQ(function(e){const t=VQ(e);if(HQ(e,"bpmn:Participant"))return t.processRef.id;return t.id}(e),function(e){const t=VQ(e);if(HQ(t,"bpmn:Participant"))return t.processRef;if(HQ(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!HQ(n,"bpmn:Process");)n=n.$parent;return n}(e),t)};iQ.getVariablesForScope=FQ;var GQ={};Object.defineProperty(GQ,"__esModule",{value:!0});var QQ=oQ;function XQ(e){var t=function(e){return ZQ(e,"camunda:FormData")[0]}(e);return t&&t.get("fields")||[]}function ZQ(e,t,n){var r=function(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=QQ.filter(i,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(r[0]||{})[n]||[]:r}function YQ(e,t){var n=function(e){return(ZQ(e,"camunda:InputOutput")||[])[0]}(e);return n&&n.get(t)||[]}function KQ(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function JQ(e,t,n){n=n||0,QQ.isArray(e)||(e=[e]),QQ.forEach(e,(function(e,r){var i=t(e,r,n);QQ.isArray(i)&&i.length&&JQ(i,t,n+1)}))}function eX(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function tX(e,t,n){var r=[],i=[];return JQ(e,(function(e,o,s){eX(r,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&eX(i,a,t))return a})),r}function nX(e,t){return tX(e,!t,-1)}function rX(e,t){var n=QQ.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 iX(e,t,n){var r,i,o,s,a=(r=n,i=t,o=KQ(e),s=QQ.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return QQ.find(function(e){return YQ(e,"inputParameters")}(e),(function(e){return e.name===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}function oX(e,t){var n=e.eventDefinitions;return n&&t?QQ.filter(n,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})):n}var sX=[function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=function(e){return YQ(e,"outputParameters")}(e);QQ.forEach(t,(function(t){var i=iX(e,t.name,n);rX(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=function(e){return e.get("camunda:resultVariable")}(e);if(t){var i=iX(e,t,n);rX(r,i)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=XQ(e);QQ.forEach(t,(function(t){var i=iX(e,t.id,n);rX(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=function(e){return ZQ(e,"camunda:Out")}(e);QQ.forEach(t,(function(t){if(!t.local){var i=iX(e,t.target,n);rX(r,i)}}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables,i=function(e,t){var i=iX(e,t,n);rX(r,i)};return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=function(e){return oX(e,"bpmn:ErrorEventDefinition")}(e);QQ.forEach(t,(function(t){var n=t.get("errorCodeVariable"),r=t.get("errorMessageVariable");n&&i(e,n),r&&i(e,r)}));var n=function(e){return oX(e,"bpmn:EscalationEventDefinition")}(e);QQ.forEach(n,(function(t){var n=t.get("escalationCodeVariable");n&&i(e,n)}))})),r}];function aX(e,t=[]){const n=[];var r=[],i=nX([e],!1);return QQ.forEach([...sX,...t],(function(t){n.push(t({elements:i,containerElement:e,processVariables:r}))})),Promise.all(n).then((()=>r))}GQ.getProcessVariables=aX,GQ.getVariablesForScope=async function(e,t,n=[]){var r=await aX(t,n),i=function(e,t){var n=nX(t);return QQ.find(n,(function(t){return t.id===e}))}(e,t),o=QQ.filter(r,(function(e){return e.scope.id===i.id})),s=KQ(i);return function(e,t){return e.concat(t)}(o,QQ.filter(r,(function(e){return QQ.find(s,(function(t){return t.id===e.scope.id}))})))};const lX=j_({selectedElement:null,injector:null,getService:()=>null});function cX(e,t){const{getService:n}=nk(lX);return n(e,t)}function pX(){return pX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pX.apply(this,arguments)}function uX(){return uX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uX.apply(this,arguments)}function dX(){return dX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dX.apply(this,arguments)}function hX(){return hX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hX.apply(this,arguments)}function fX(){return fX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fX.apply(this,arguments)}function mX(){return mX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mX.apply(this,arguments)}function gX(){return gX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gX.apply(this,arguments)}var yX=({styles:e={},...t})=>qk("svg",gX({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),qk("path",{stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"1.1,4.3",d:"M1.5 30.5L27 5"}),qk("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 vX(){return vX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vX.apply(this,arguments)}function bX(){return bX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bX.apply(this,arguments)}function wX(){return wX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wX.apply(this,arguments)}function xX(){return xX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xX.apply(this,arguments)}function _X(){return _X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_X.apply(this,arguments)}function kX(){return kX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kX.apply(this,arguments)}function EX(){return EX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EX.apply(this,arguments)}function OX(){return OX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OX.apply(this,arguments)}function PX(){return PX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PX.apply(this,arguments)}function SX(){return SX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SX.apply(this,arguments)}function CX(){return CX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CX.apply(this,arguments)}function TX(){return TX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TX.apply(this,arguments)}function MX(){return MX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MX.apply(this,arguments)}function AX(){return AX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AX.apply(this,arguments)}function DX(){return DX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DX.apply(this,arguments)}function NX(){return NX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NX.apply(this,arguments)}function RX(){return RX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RX.apply(this,arguments)}function jX(){return jX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jX.apply(this,arguments)}function IX(){return IX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IX.apply(this,arguments)}function LX(){return LX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LX.apply(this,arguments)}function zX(){return zX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zX.apply(this,arguments)}function BX(){return BX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BX.apply(this,arguments)}function $X(){return $X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$X.apply(this,arguments)}function qX(){return qX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qX.apply(this,arguments)}var FX=({styles:e={},...t})=>qk("svg",qX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 VX(){return VX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VX.apply(this,arguments)}var HX=({styles:e={},...t})=>qk("svg",VX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 UX(){return UX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UX.apply(this,arguments)}var WX=({styles:e={},...t})=>qk("svg",UX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 GX(){return GX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GX.apply(this,arguments)}var QX=({styles:e={},...t})=>qk("svg",GX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 XX(){return XX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XX.apply(this,arguments)}var ZX=({styles:e={},...t})=>qk("svg",XX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 YX(){return YX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YX.apply(this,arguments)}var KX=({styles:e={},...t})=>qk("svg",YX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 JX(){return JX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JX.apply(this,arguments)}var eZ=({styles:e={},...t})=>qk("svg",JX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 tZ(){return tZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tZ.apply(this,arguments)}var nZ=({styles:e={},...t})=>qk("svg",tZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 rZ(){return rZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rZ.apply(this,arguments)}var iZ=({styles:e={},...t})=>qk("svg",rZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 oZ(){return oZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oZ.apply(this,arguments)}var sZ=({styles:e={},...t})=>qk("svg",oZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 aZ(){return aZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aZ.apply(this,arguments)}var lZ=({styles:e={},...t})=>qk("svg",aZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 cZ(){return cZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cZ.apply(this,arguments)}var pZ=({styles:e={},...t})=>qk("svg",cZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 uZ(){return uZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uZ.apply(this,arguments)}var dZ=({styles:e={},...t})=>qk("svg",uZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 hZ(){return hZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hZ.apply(this,arguments)}var fZ=({styles:e={},...t})=>qk("svg",hZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 mZ(){return mZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mZ.apply(this,arguments)}var gZ=({styles:e={},...t})=>qk("svg",mZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 yZ(){return yZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yZ.apply(this,arguments)}var vZ=({styles:e={},...t})=>qk("svg",yZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 bZ(){return bZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bZ.apply(this,arguments)}var wZ=({styles:e={},...t})=>qk("svg",bZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 xZ(){return xZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xZ.apply(this,arguments)}var _Z=({styles:e={},...t})=>qk("svg",xZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 kZ(){return kZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kZ.apply(this,arguments)}var EZ=({styles:e={},...t})=>qk("svg",kZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 OZ(){return OZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RZ.apply(this,arguments)}function jZ(){return jZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IZ.apply(this,arguments)}function LZ(){return LZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LZ.apply(this,arguments)}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Z.apply(this,arguments)}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GZ.apply(this,arguments)}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XZ.apply(this,arguments)}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KZ.apply(this,arguments)}function JZ(){return JZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JZ.apply(this,arguments)}function eY(){return eY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eY.apply(this,arguments)}function tY(){return tY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tY.apply(this,arguments)}function nY(){return nY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nY.apply(this,arguments)}function rY(){return rY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rY.apply(this,arguments)}var iY=({styles:e={},...t})=>qk("svg",rY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 oY(){return oY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oY.apply(this,arguments)}var sY=({styles:e={},...t})=>qk("svg",oY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 aY(){return aY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aY.apply(this,arguments)}function lY(){return lY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lY.apply(this,arguments)}function cY(){return cY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cY.apply(this,arguments)}function pY(){return pY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pY.apply(this,arguments)}var uY={Association:({styles:e={},...t})=>qk("svg",pX({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),qk("path",{stroke:"#000",strokeWidth:"2",fill:"none",strokeDasharray:"3.3,6",strokeLinecap:"square",d:"M1.5 30.5l29-29"})),BusinessRuleTask:({styles:e={},...t})=>qk("svg",uX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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"}),qk("path",{d:"M6.079 8.209v3.587H21.44V8.209z"})),CallActivity:({styles:e={},...t})=>qk("svg",dX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",hX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("g",{fillRule:"evenodd"},qk("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"}),qk("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})=>qk("svg",fX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",mX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",vX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:yX,DataOutput:({styles:e={},...t})=>qk("svg",wX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:yX,DataObjectReference:({styles:e={},...t})=>qk("svg",bX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",xX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",_X({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",kX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",EX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",OX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",PX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",SX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",CX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",TX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",MX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",AX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",DX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",NX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",RX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",jX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",BX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",IX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",LX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",zX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",$X({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:FX,CompensateIntermediateCatchEvent:HX,ConditionalIntermediateCatchEvent:WX,ErrorIntermediateCatchEvent:QX,EscalationIntermediateCatchEvent:ZX,LinkIntermediateCatchEvent:KX,MessageIntermediateCatchEvent:eZ,MultipleIntermediateCatchEvent:nZ,ConditionalIntermediateCatchEventNonInterrupting:iZ,EscalationIntermediateCatchEventNonInterrupting:sZ,MessageIntermediateCatchEventNonInterrupting:lZ,MultipleIntermediateCatchEventNonInterrupting:pZ,ParallelIntermediateCatchEventNonInterrupting:dZ,SignalIntermediateCatchEventNonInterrupting:fZ,TimerIntermediateCatchEventNonInterrupting:gZ,ParallelMultipleIntermediateCatchEvent:vZ,SignalIntermediateCatchEvent:wZ,TimerIntermediateCatchEvent:_Z,IntermediateThrowEvent:EZ,CompensateIntermediateThrowEvent:({styles:e={},...t})=>qk("svg",OZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",PZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",SZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",CZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",TZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",MZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",AZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("path",{d:"M0 7v18.62h32V7H0zm1.655 17.056V8.684h28.62v15.372H1.656z"})),ManualTask:({styles:e={},...t})=>qk("svg",DZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",NZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",RZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("path",{d:"M0 5v22.069h32V5H0zm30.276 1.684v18.82H6.62V6.684h23.655zm-28.62 0h3.31v18.82h-3.31V6.684z"})),Process:({styles:e={},...t})=>qk("svg",jZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",IZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",LZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",zZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",BZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",$Z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",qZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",FZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",VZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",HZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",UZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",WZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",GZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",QZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",XZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",ZZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",YZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",KZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:FX,CompensateBoundaryEvent:HX,ConditionalBoundaryEvent:WX,ErrorBoundaryEvent:QX,EscalationBoundaryEvent:ZX,LinkBoundaryEvent:KX,MessageBoundaryEvent:eZ,MultipleBoundaryEvent:nZ,BoundaryEvent:EZ,ConditionalBoundaryEventNonInterrupting:iZ,EscalationBoundaryEventNonInterrupting:sZ,MessageBoundaryEventNonInterrupting:lZ,MultipleBoundaryEventNonInterrupting:pZ,ParallelBoundaryEventNonInterrupting:dZ,SignalBoundaryEventNonInterrupting:fZ,TimerBoundaryEventNonInterrupting:gZ,ParallelMultipleBoundaryEvent:vZ,SignalBoundaryEvent:wZ,TimerBoundaryEvent:_Z,StartEvent:({styles:e={},...t})=>qk("svg",JZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",eY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",tY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",nY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:iY,CollapsedAdHocSubProcess:iY,ExpandedSubProcess:sY,ExpandedAdHocSubProcess:sY,Task:({styles:e={},...t})=>qk("svg",aY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",lY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",cY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",pY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 dY(e){const{type:t}=e;let n=fY(t);const r=function(e){const t=ro(e),n=t.eventDefinitions;return n&&n[0]}(e);if(r)return n=`${function(e){const t=fY(e.$type);return t.replace("EventDefinition","")}(r)}${n}`,(to(e,"bpmn:StartEvent")&&!Eo(e)||to(e,"bpmn:BoundaryEvent")&&!function(e){const t=ro(e);return t&&!1!==t.cancelActivity}(e))&&(n=`${n}NonInterrupting`),n;if(to(e,"bpmn:SubProcess")&&!to(e,"bpmn:Transaction"))if(Oo(e))n=`Event${n}`;else{const t=_o(e)&&!function(e){const t=e&&(e.di||ro(e).di);return to(t,"bpmndi:BPMNPlane")}(e);n=`${t?"Expanded":"Collapsed"}${n}`}return function(e){const t=ro(e),n=ro(e.source);if(!to(e,"bpmn:SequenceFlow")||!n)return!1;return n.default&&n.default===t&&(to(n,"bpmn:Gateway")||to(n,"bpmn:Activity"))}(e)&&(n="DefaultFlow"),function(e){const t=ro(e),n=ro(e.source);if(!to(e,"bpmn:SequenceFlow")||!n)return!1;return t.conditionExpression&&to(n,"bpmn:Activity")}(e)&&(n="ConditionalFlow"),n}const hY=e=>(e||(e=e=>e),{getDocumentationRef:e=>{const t=mY();if(t)return function(e,t){const n=gY(e,t);return n&&n.documentationRef}(e,t)},getElementLabel:e=>to(e,"bpmn:Process")?ro(e).name:Ro(e),getElementIcon:e=>{const t=dY(e),n=cX("config.elementTemplateIconRenderer",!1),{iconProperty:r="zeebe:modelerTemplateIcon"}=n||{},i=ro(e).get(r);return i?()=>Vk("img",{class:"bio-properties-panel-header-template-icon",width:"32",height:"32",src:i}):uY[t]},getTypeLabel:t=>{const n=mY();if(n){const r=gY(t,n);if(r&&r.name)return e(r.name)}const r=dY(t);return e(r.replace(/(\B[A-Z])/g," $1").replace(/(\bNon Interrupting)/g,"($1)"))}});function fY(e){return e.split(":")[1]}function mY(){return cX("elementTemplates",!1)}function gY(e,t){return t.get(e)}function yY(){return yY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yY.apply(this,arguments)}var vY=({styles:e={},...t})=>qk("svg",yY({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"64",height:"64"},t),qk("defs",null,qk("rect",{id:"a",width:"57",height:"47",x:"3",y:"8",rx:"7"}),qk("mask",{id:"b",width:"57",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},qk("use",{xlinkHref:"#a"}))),qk("g",{fill:"none",fillRule:"evenodd"},qk("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"}),qk("path",{fill:"#D5D7DD",d:"M16 24h31v6H16zM21 33h21v6H21z"}),qk("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));function bY(){return bY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bY.apply(this,arguments)}var wY=({styles:e={},...t})=>qk("svg",bY({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"128",height:"64"},t),qk("defs",null,qk("path",{id:"a",d:"M9 9h110v47H9z"}),qk("mask",{id:"b",width:"110",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},qk("use",{xlinkHref:"#a"}))),qk("g",{fill:"none",fillRule:"evenodd"},qk("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"}),qk("path",{fill:"#D5D7DD",d:"M17 47h16v6H17z"}),qk("path",{fill:"#818798",d:"M35 32h27v2H35z"}),qk("path",{fill:"#818798",d:"M60 30v6l6-3z"}),qk("path",{fill:"#D5D7DD",d:"M80 34h21v6H80z"}),qk("g",null,qk("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"}),qk("path",{fill:"#D5D7DD",d:"M75 25h31v6H75z"})),qk("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));const xY=e=>(e||(e=e=>e),{getEmpty:()=>({text:e("Select an element to edit its properties."),icon:vY}),getMultiple:()=>({text:e("Multiple elements are selected. Select a single element to edit its properties."),icon:wY})});function _Y(e){const{element:t,injector:n,getProviders:r,layoutConfig:i,descriptionConfig:o,tooltipConfig:s,feelPopupContainer:a}=e,l=n.get("canvas"),p=n.get("elementRegistry"),u=n.get("eventBus"),d=n.get("translate"),[h,f]=X_({selectedElement:t}),g=h.selectedElement,y=e=>{if(!e)return;let t=e;t&&"label"===t.type&&(t=t.labelTarget),f({...h,selectedElement:t}),u.fire("propertiesPanel.updated",{element:t})};Y_((()=>{const e=e=>{const{newSelection:t=[]}=e;if(t.length>1)return y(t);const n=t[0],r=l.getRootElement();(function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)})(r)||y(n||r)};return u.on("selection.changed",e),()=>{u.off("selection.changed",e)}}),[]),Y_((()=>{const e=e=>{const t=function(e,t){return m(e,(e=>e===t))}(e.elements,g);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)}}),[g]),Y_((()=>{const e=e=>{const t=e.element;y(t)};return u.on("root.added",e),()=>{u.off("root.added",e)}}),[g]),Y_((()=>{const e=()=>{y(g)};return u.on("propertiesPanel.providersChanged",e),()=>{u.off("propertiesPanel.providersChanged",e)}}),[g]),Y_((()=>{const e=()=>{y(g)};return u.on("elementTemplates.changed",e),()=>{u.off("elementTemplates.changed",e)}}),[g]);const v={selectedElement:g,injector:n,getService:(e,t)=>n.get(e,t)},b=r(g),x=ek((()=>w(b,(function(e,t){if(c(g))return[];return t.getGroups(g)(e)}),[])),[b,g]),[_,k]=X_(i||{}),E=tk((e=>{u.fire("propertiesPanel.layoutChanged",{layout:e})}),[u]);Y_((()=>{const e=e=>{const{layout:t}=e;k(t)};return u.on("propertiesPanel.setLayout",e),()=>u.off("propertiesPanel.setLayout",e)}),[u,k]);return Vk(lX.Provider,{value:v,children:Vk(pG,{element:g,headerProvider:hY(d),placeholderProvider:xY(d),groups:x,layoutConfig:_,layoutChanged:E,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 kY{constructor(e,t,n){const{parent:r,layout:i,description:o,tooltip:s,feelPopupContainer:a}=e||{};this._eventBus=n,this._injector=t,this._layoutConfig=i,this._descriptionConfig=o,this._tooltipConfig=s,this._feelPopupContainer=a,this._container=nQ('<div style="height: 100%" class="bio-properties-panel-container"></div>');var l=t.get("commandStack",!1);l&&function(e,t,n){function r(e){e.preventDefault(),e.stopPropagation()}function i(e){return Sa(e)?(n.undo(),r(e)):Ca(e)?(n.redo(),r(e)):void 0}t.on("keyboard.bind",(function(){KG.bind(e,"keydown",i)})),t.on("keyboard.unbind",(function(){KG.unbind(e,"keydown",i)}))}(this._container,n,l),n.on("diagram.init",(()=>{r&&this.attachTo(r)})),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=rQ(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)||(R_(Vk(_Y,{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&&(R_(null,this._container),this._eventBus.fire("propertiesPanel.destroyed"))}}kY.$inject=["config.propertiesPanel","injector","eventBus"];let EY=class{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}};EY.$inject=["commandStack"];const OY={"properties-panel.multi-command-executor":EY};function PY(e,t){e.on("diagram.init",(function(){v(OY,(function(e,n){t.registerHandler(n,e)}))}))}PY.$inject=["eventBus","commandStack"];var SY={__depends__:[{__init__:[PY]},$G,FG],__init__:["propertiesPanel"],propertiesPanel:["type",kY]};function CY(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=hW(i);return Y_((()=>{if(t&&o&&i.length>o.length){const e=rQ(`[data-entry-id="${t}"]`),n=rQ(".bio-properties-panel-input",e);n&&n.select()}}),[i]),Vk(SG,{...e})}function TY(e){return AY(e,"bpmn:ErrorEventDefinition")}function MY(e){const t=TY(e);return t&&t.get("errorRef")}function AY(e,t){return m(ro(e).get("eventDefinitions")||[],(function(e){return to(e,t)}))}function DY(e){return to(e,"bpmn:ReceiveTask")?ro(e):AY(e,"bpmn:MessageEventDefinition")}function NY(e){const t=DY(e);return t&&t.get("messageRef")}function RY(e){return AY(e,"bpmn:LinkEventDefinition")}function jY(e){return AY(e,"bpmn:SignalEventDefinition")}function IY(e){const t=jY(e);return t&&t.get("signalRef")}function LY(e){return AY(e,"bpmn:EscalationEventDefinition")}function zY(e){const t=LY(e);return t&&t.get("escalationRef")}function BY(e){return AY(e,"bpmn:CompensateEventDefinition")}function $Y(e){const{element:t}=e;return function(e){return no(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"])&&!!BY(e)}(t)?[{id:"waitForCompletion",component:qY,isEdited:EG},{id:"activityRef",component:FY,isEdited:CG}]:[]}function qY(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=BY(t);return kG({element:t,id:"waitForCompletion",label:r("Wait for completion"),getValue:()=>i.get("waitForCompletion"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:i,properties:{waitForCompletion:e}})}})}function FY(e){const{element:t}=e,n=cX("commandStack"),r=cX("elementRegistry"),i=cX("translate"),o=BY(t);return CY({element:t,id:"activityRef",label:i("Activity reference"),getValue:()=>{const e=function(e){const t=BY(e);return t&&t.get("activityRef")}(t);return e&&e.get("id")},setValue:e=>{const i=e?ro(r.get(e)):void 0;n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{activityRef:i}})},getOptions:()=>{let e=[{value:"",label:i("<none>")}];const n=function(e){const t=ro(e);let n=t.$parent,r=UY(n);to(n,"bpmn:SubProcess")&&n.triggeredByEvent&&(n=n.$parent,n&&(r=[...r,...UY(n)]));return r}(t);var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((function(t){e.push({value:t.id,label:WY(t)})})),e}})}function VY(e,t){const{flowElements:n}=e;return n.filter((function(e){return to(e,t)}))}function HY(e,t){return to(e,"bpmn:CallActivity")||to(e,"bpmn:SubProcess")&&!e.triggeredByEvent&&!e.isForCompensation||function(e,t){const{id:n}=e;return!!m(t,(function(e){const{attachedToRef:t}=e,r=BY(e);return t&&r&&t.id===n}))}(e,t)}function UY(e){const t=function(e){return VY(e,"bpmn:Activity")}(e),n=function(e){return VY(e,"bpmn:BoundaryEvent")}(e);return t.filter((function(e){return HY(e,n)}))}function WY(e){const{id:t,name:n}=e;return`${n?n+" ":""}(id=${t})`}const GY="text/plain";function QY(e){const{element:t}=e,n=[{id:"documentation",component:XY,isEdited:NG}];return function(e){return to(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)&&n.push({id:"processDocumentation",component:ZY,isEdited:NG}),n}function XY(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=cX("debounceInput"),s=KY(ro(t)),a=JY(t,ro(t),n,r);return DG({element:t,id:"documentation",label:i("Element documentation"),getValue:s,setValue:a,debounce:o})}function ZY(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=cX("debounceInput"),s=ro(t).processRef,a=KY(s),l=JY(t,s,n,r);return DG({element:t,id:"processDocumentation",label:i("Process documentation"),getValue:a,setValue:l,debounce:o})}function YY(e){return e.find((function(e){return(e.textFormat||GY)===GY}))}function KY(e){return function(){const t=YY(e&&e.get("documentation"));return t&&t.text}}function JY(e,t,n,r){return function(i){let o=YY(t&&t.get("documentation"));return o?i?r.execute("element.updateModdleProperties",{element:e,moddleElement:o,properties:{text:i}}):r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:b(t.get("documentation"),o)}}):i?(o=n.create("bpmn:Documentation",{text:i}),r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:[...t.get("documentation"),o]}})):void 0}}function eK(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function tK(e){return new n([32,32,1]).nextPrefixed(e)}function nK(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function rK(e,t){return function(e,t){return(e||[]).filter((e=>to(e,t)))}(nK(e).get("rootElements"),t)}function iK(e,t,n){return rK(e,t).find((e=>e.id===n))}const oK="",sK="create-new";function aK(e){const{element:t}=e;if(!function(e){return no(e,["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:EndEvent"])&&!!TY(e)}(t))return[];let n=[{id:"errorRef",component:lK,isEdited:CG}];return MY(t)&&(n=[...n,{id:"errorName",component:cK,isEdited:LG},{id:"errorCode",component:pK,isEdited:LG}]),n}function lK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=TY(t);return CY({element:t,id:"errorRef",label:i("Global error reference"),autoFocusEntry:"errorName",getValue:()=>{const e=MY(t);return e?e.get("id"):oK},setValue:e=>{const i=nK(o),s=[];let a;return e===sK&&(a=eK("bpmn:Error",{name:tK("Error_")},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})),a=a||iK(o,"bpmn:Error",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{errorRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:oK,label:i("<none>")},{value:sK,label:i("Create new ...")}];const n=rK(ro(t),"bpmn:Error");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function cK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=MY(t);return IG({element:t,id:"errorName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function pK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=MY(t);return IG({element:t,id:"errorCode",label:r("Code"),getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:i})}const uK="create-new";function dK(e){const{element:t}=e;if(!function(e){return to(e,"bpmn:Event")&&!!LY(e)}(t))return[];let n=[{id:"escalationRef",component:hK,isEdited:CG}];return zY(t)&&(n=[...n,{id:"escalationName",component:fK,isEdited:LG},{id:"escalationCode",component:mK,isEdited:LG}]),n}function hK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=LY(t);return CY({element:t,id:"escalationRef",label:i("Global escalation reference"),autoFocusEntry:"escalationName",getValue:()=>{const e=zY(t);return e&&e.get("id")},setValue:e=>{const i=nK(o),s=[];let a;if(e===uK){const r=tK("Escalation_");a=eK("bpmn:Escalation",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||iK(o,"bpmn:Escalation",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{escalationRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:"",label:i("<none>")},{value:uK,label:i("Create new ...")}];const n=rK(ro(t),"bpmn:Escalation");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function fK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=zY(t);return IG({element:t,id:"escalationName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function mK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=zY(t);return IG({element:t,id:"escalationCode",label:r("Code"),getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:i})}function gK(e){const{element:t}=e;return to(t,"bpmn:Process")||function(e){return to(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"isExecutable",component:yK,isEdited:EG}]:[]}function yK(e){const{element:t}=e,n=cX("modeling"),r=cX("commandStack"),i=cX("translate");let o,s;if(s=e=>{n.updateProperties(t,{isExecutable:e})},o=e=>e.businessObject.isExecutable,to(t,"bpmn:Participant")){const e=t.businessObject.get("processRef");s=n=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:e,properties:{isExecutable:n}})},o=()=>e.get("isExecutable")}return kG({element:t,id:"isExecutable",label:i("Executable"),getValue:o,setValue:s})}const vK=/\s/,bK=/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i,wK=/^[a-z_][\w-.]*$/i;function xK(e,t,n){const r=e.$model.ids.assigned(t);return t?r&&r!==e?n("ID must be unique."):function(e,t){if(n=e,vK.test(n))return t("ID must not contain spaces.");var n;if(!wK.test(e))return bK.test(e)?t("ID must not contain prefix."):t("ID must be a valid QName.")}(t,n):n("ID must not be empty.")}function _K(e){const{element:t}=e,n=cX("modeling"),r=cX("debounceInput"),i=cX("translate"),o=tk((e=>ro(e).id),[t]),s=tk((e=>xK(ro(t),e,i)),[t,i]);return IG({element:t,id:"id",label:i(to(t,"bpmn:Participant")?"Participant ID":"ID"),getValue:o,setValue:(e,r)=>{r||n.updateProperties(t,{id:e})},debounce:r,validate:s})}function kK(e){const{element:t}=e;return function(e){return no(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!RY(e)}(t)?[{id:"linkName",component:EK,isEdited:LG}]:[]}function EK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=RY(t);return IG({element:t,id:"linkName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:i})}const OK="",PK="create-new";function SK(e){const{element:t}=e;if(!function(e){return to(e,"bpmn:ReceiveTask")||no(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!DY(e)}(t))return[];let n=[{id:"messageRef",component:CK,isEdited:CG}];return NY(t)&&(n=[...n,{id:"messageName",component:TK,isEdited:LG}]),n}function CK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=DY(t);return CY({element:t,id:"messageRef",label:i("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=NY(t);return e?e.get("id"):OK},setValue:e=>{const i=nK(o),s=[];let a;if(e===PK){const r=tK("Message_");a=eK("bpmn:Message",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||iK(o,"bpmn:Message",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{messageRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:OK,label:i("<none>")},{value:PK,label:i("Create new ...")}];const n=rK(ro(t),"bpmn:Message");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function TK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=NY(t);return IG({element:t,id:"messageName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function MK(e){const{element:t}=e;if(!function(e){const t=jK(e);return!!t&&to(t,"bpmn:MultiInstanceLoopCharacteristics")}(t))return[];return[{id:"loopCardinality",component:AK,isEdited:LG},{id:"completionCondition",component:DK,isEdited:LG}]}function AK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("debounceInput"),i=cX("commandStack"),o=cX("translate");return IG({element:t,id:"loopCardinality",label:o("Loop cardinality"),getValue:()=>function(e){const t=function(e){return RK(e,"loopCardinality")}(e);return NK(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",IK(t,"loopCardinality",e,n)),debounce:r})}function DK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("debounceInput"),i=cX("commandStack"),o=cX("translate");return IG({element:t,id:"completionCondition",label:o("Completion condition"),getValue:()=>function(e){const t=function(e){return RK(e,"completionCondition")}(e);return NK(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",IK(t,"completionCondition",e,n)),debounce:r})}function NK(e){return e&&e.get("body")}function RK(e,t){const n=jK(e);return n&&n.get(t)}function jK(e){return ro(e).loopCharacteristics}function IK(e,t,n,r){const i=jK(e),o={};if(!n)return o[t]=void 0,{element:e,moddleElement:i,properties:o};const s=i.get(t);return s?{element:e,moddleElement:s,properties:{body:n}}:(o[t]=function(e,t,n){return eK("bpmn:FormalExpression",{body:t},e,n)}(i,n,r),{element:e,moddleElement:i,properties:o})}function LK(e){const{element:t}=e;return no(t,["bpmn:Collaboration","bpmn:DataAssociation","bpmn:Association"])?[]:[{id:"name",component:zK,isEdited:NG}]}function zK(e){const{element:t}=e,n=cX("modeling"),r=cX("debounceInput"),i=cX("canvas"),o=cX("bpmnFactory"),s=cX("translate");let a={element:t,id:"name",label:s("Name"),debounce:r,setValue:e=>{n.updateProperties(t,{name:e})},getValue:e=>e.businessObject.name,autoResize:!0};return to(t,"bpmn:TextAnnotation")?a={...a,setValue:e=>{n.updateProperties(t,{text:e})},getValue:e=>e.businessObject.text}:to(t,"bpmn:Group")?a={...a,setValue:e=>{const r=ro(t);r.categoryValueRef||function(e,t,n){const r=function(e,t){const n=t.create("bpmn:CategoryValue"),r=t.create("bpmn:Category",{categoryValue:[n]});return tn(e.get("rootElements"),r),ro(r).$parent=e,ro(n).$parent=r,n}(ro(t).$parent,n);e.categoryValueRef=r}(r,i.getRootElement(),o),n.updateLabel(t,e)},getValue:e=>{const t=ro(e).categoryValueRef;return t&&t.value}}:to(t,"bpmn:Participant")&&(a.label=s("Participant Name")),DG(a)}function BK(e){const{element:t}=e;return function(e){return to(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"processId",component:qK,isEdited:LG},{id:"processName",component:$K,isEdited:LG}]:[]}function $K(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=t.businessObject.get("processRef");return IG({element:t,id:"processName",label:r("Process name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:i})}function qK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=t.businessObject.get("processRef"),s=tk((e=>xK(o,e,r)),[o,r]);return IG({element:t,id:"processId",label:r("Process ID"),getValue:()=>o.get("id"),setValue:(e,r)=>{r||n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{id:e}})},debounce:i,validate:s})}const FK="",VK="create-new";function HK(e){const{element:t}=e;if(!function(e){return to(e,"bpmn:Event")&&!!jY(e)}(t))return[];let n=[{id:"signalRef",component:UK,isEdited:CG}];return IY(t)&&(n=[...n,{id:"signalName",component:WK,isEdited:LG}]),n}function UK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=jY(t);return CY({element:t,id:"signalRef",label:i("Global signal reference"),autoFocusEntry:"signalName",getValue:()=>{const e=IY(t);return e?e.get("id"):FK},setValue:e=>{const i=nK(o),s=[];let a;if(e===VK){const r=tK("Signal_");a=eK("bpmn:Signal",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||iK(o,"bpmn:Signal",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{signalRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:FK,label:i("<none>")},{value:VK,label:i("Create new ...")}];const n=rK(ro(t),"bpmn:Signal");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function WK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=IY(t);return IG({element:t,id:"signalName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function GK(e){return no(e,["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:BoundaryEvent"])&&!!XK(e)}function QK(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 XK(e){return ZK(e,"bpmn:TimerEventDefinition")}function ZK(e,t){return m(ro(e).get("eventDefinitions")||[],(function(e){return to(e,t)}))}function YK(e){return ZK(e,"bpmn:SignalEventDefinition")}function KK(e){const t=YK(e);return t&&t.get("signalRef")}function JK(e){const{element:t,idPrefix:n}=e;let{timerEventDefinition:r}=e;if(!r){r=XK(ro(t))}const i=QK(r);if(!GK(t))return[];const o=[];return o.push({id:rJ(n,"timerEventDefinitionType"),component:eJ,isEdited:CG,timerEventDefinition:r,timerEventDefinitionType:i}),i&&o.push({id:rJ(n,"timerEventDefinitionValue"),component:tJ,isEdited:LG,timerEventDefinition:r,timerEventDefinitionType:i}),o}function eJ(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=cX("commandStack"),o=cX("bpmnFactory"),s=cX("translate");return SG({element:t,id:"timerEventDefinitionType",label:s("Type"),getValue:()=>r||"",setValue:e=>{if(e===r)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),i.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 tJ(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput"),a=n.get(r);return IG({element:t,id:"timerEventDefinitionValue",label:o("Value"),getValue:()=>a&&a.get("body"),setValue:e=>{i.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{body:e}})},debounce:s,tooltip:nJ(r,o)})}function nJ(e,t){switch(e){case"timeDate":return Vk("div",{children:[Vk("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),Vk("li",{children:[Vk("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),Vk("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 Vk("div",{children:[Vk("p",{children:t("A cycle defined as ISO 8601 repeating intervals format.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),Vk("li",{children:[Vk("code",{children:"R/P1D"})," - ",t("every day, infinitely")]})]}),Vk("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 Vk("div",{children:[Vk("p",{children:t("A time duration defined as ISO 8601 durations format.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"PT15S"})," - ",t("15 seconds")]}),Vk("li",{children:[Vk("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),Vk("li",{children:[Vk("code",{children:"P14D"})," - ",t("14 days")]})]}),Vk("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 rJ(e,t){return e?e+t:t}function iJ(e,t){const n=t.get("translate"),r=[...LK({element:e}),{id:"id",component:_K,isEdited:LG},...BK({element:e}),...gK({element:e})];return{id:"general",label:n("General"),entries:r,component:yW}}function oJ(e,t){const n={label:t.get("translate")("Compensation"),id:"compensation",component:yW,entries:[...$Y({element:e})]};return n.entries.length?n:null}function sJ(e,t){const n=t.get("translate"),r=[...QY({element:e})];return{id:"documentation",label:n("Documentation"),entries:r,component:yW}}function aJ(e,t){const n={id:"error",label:t.get("translate")("Error"),component:yW,entries:[...aK({element:e})]};return n.entries.length?n:null}function lJ(e,t){const n={id:"message",label:t.get("translate")("Message"),component:yW,entries:[...SK({element:e})]};return n.entries.length?n:null}function cJ(e,t){const n={id:"signal",label:t.get("translate")("Signal"),component:yW,entries:[...HK({element:e})]};return n.entries.length?n:null}function pJ(e,t){const n={label:t.get("translate")("Link"),id:"link",component:yW,entries:[...kK({element:e})]};return n.entries.length?n:null}function uJ(e,t){const n={id:"escalation",label:t.get("translate")("Escalation"),component:yW,entries:[...dK({element:e})]};return n.entries.length?n:null}function dJ(e,t){const n={label:t.get("translate")("Timer"),id:"timer",component:yW,entries:[...JK({element:e})]};return n.entries.length?n:null}function hJ(e,t){const n={label:t.get("translate")("Multi-instance"),id:"multiInstance",component:yW,entries:[...MK({element:e})]};return n.entries.length?n:null}class fJ{constructor(e,t){e.registerProvider(this),this._injector=t}getGroups(e){return t=>(t=t.concat(function(e,t){return[iJ(e,t),sJ(e,t),oJ(e,t),aJ(e,t),pJ(e,t),lJ(e,t),hJ(e,t),cJ(e,t),uJ(e,t),dJ(e,t)].filter((e=>null!==e))}(e,this._injector)),t)}}fJ.$inject=["propertiesPanel","injector"];var mJ={__init__:["bpmnPropertiesProvider"],bpmnPropertiesProvider:["type",fJ]};function gJ(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>to(e,t))):r:[]}function yJ(e,t,n,r){c(n)||(n=[n]);const i=t.get("extensionElements"),o=i.get("values").filter((e=>!n.includes(e)));r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:o}})}const vJ={getVariablesForElement:e=>WQ(e)};const bJ=function(e){return t=>{const n=ek((()=>{const e=cX("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return Vk(e,{...t,tooltipContainer:n})}}(eG),wJ=function(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=X_([]),a=cX("eventBus"),l=function(e,t){const n=cX(e,!1);if(!n)return t;return n}("variableResolver",vJ);return Y_((()=>{const e=()=>{(async()=>{const e=await l.getVariablesForElement(i,r);s(e.map((e=>({...e,info:e.info||e.origin&&"Written in "+e.origin.map((e=>e.name||e.id)).join(", ")}))))})()};return a.on("commandStack.changed",e),e(),()=>{a.off("commandStack.changed",e)}}),[i]),Vk(e,{...t,variables:o})}}(bJ);function xJ(e){const{element:t}=e;return to(t,"bpmn:UserTask")?[{id:"assignmentDefinitionAssignee",component:_J,isEdited:rG},{id:"assignmentDefinitionCandidateGroups",component:kJ,isEdited:rG},{id:"assignmentDefinitionCandidateUsers",component:EJ,isEdited:rG}]:[]}function _J(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"assignmentDefinitionAssignee",label:i("Assignee"),feel:"optional",getValue:()=>(OJ(t)||{}).assignee,setValue:e=>{const i=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=OJ(t);a||(a=eK("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{assignee:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function kJ(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"assignmentDefinitionCandidateGroups",label:i("Candidate groups"),feel:"optional",getValue:()=>(OJ(t)||{}).candidateGroups,setValue:e=>{let i=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=OJ(t);a||(a=eK("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{candidateGroups:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function EJ(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"assignmentDefinitionCandidateUsers",label:i("Candidate users"),feel:"optional",getValue:()=>(OJ(t)||{}).candidateUsers,setValue:e=>{let i=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=OJ(t);a||(a=eK("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{candidateUsers:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function OJ(e){return gJ(ro(e),"zeebe:AssignmentDefinition")[0]}function PJ(e){return!!to(e,"zeebe:ZeebeServiceTask")&&(to(e,"bpmn:EndEvent")||to(e,"bpmn:IntermediateThrowEvent")?!!DY(e):!(no(e,["bpmn:BusinessRuleTask","bpmn:ScriptTask"])&&!function(e){const t=ro(e);return gJ(t,"zeebe:TaskDefinition")[0]}(e)))}function SJ(e){return gJ(ro(e),"zeebe:TaskHeaders")[0]}const CJ="dmn",TJ="jobWorker",MJ="";function AJ(e){const{element:t}=e;return to(t,"bpmn:BusinessRuleTask")?[{id:"businessRuleImplementation",component:DJ,isEdited:()=>function(e){return NJ(e)}(t)}]:[]}function DJ(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate");return SG({element:t,id:n,label:o("Implementation"),getValue:()=>RJ(t)?CJ:NJ(t)?TJ:MJ,setValue:e=>{let n,o;e===CJ?(n=RJ(t),o="zeebe:CalledDecision"):e===TJ?(n=NJ(t),o="zeebe:TaskDefinition"):function(e,t){const n=ro(e),r=[NJ(e),SJ(e),RJ(e)].filter(Boolean);yJ(e,n,r,t)}(t,r),!n&&o&&(n=eK(o,{},null,i),function(e,t,n,r){const i=ro(e),o=[];let s,a=i.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));t.$parent=a,to(t,"zeebe:TaskDefinition")?s=b(a.get("values"),RJ(e)):to(t,"zeebe:CalledDecision")&&(s=b(a.get("values"),NJ(e)));o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...s,t]}}}),r.execute("properties-panel.multi-command-executor",o)}(t,n,i,r))},getOptions:()=>[{value:MJ,label:o("<none>")},{value:CJ,label:o("DMN decision")},{value:TJ,label:o("Job worker")}]})}function NJ(e){return gJ(ro(e),"zeebe:TaskDefinition")[0]}function RJ(e){return gJ(ro(e),"zeebe:CalledDecision")[0]}function jJ(e){const{element:t}=e;return to(t,"bpmn:BusinessRuleTask")&&zJ(t)?[{id:"decisionId",component:IJ,isEdited:rG},{id:"resultVariable",component:LJ,isEdited:LG}]:[]}function IJ(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("Decision ID"),feel:"optional",getValue:()=>(zJ(t)||{}).decisionId,setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=zJ(t);a||(a=eK("zeebe:CalledDecision",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{decisionId:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function LJ(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return IG({element:t,id:n,label:o("Result variable"),getValue:()=>(zJ(t)||{}).resultVariable,setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=zJ(t);a||(a=eK("zeebe:CalledDecision",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{resultVariable:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function zJ(e){return gJ(ro(e),"zeebe:CalledDecision")[0]}function BJ(e){const{element:t}=e;if(!to(t,"bpmn:SequenceFlow"))return[];const n=[];return function(e){return no(e,qJ)}(t.source)&&n.push({id:"conditionExpression",component:$J,isEdited:rG}),n}function $J(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"conditionExpression",label:i("Condition expression"),feel:"required",getValue:()=>function(e){const t=ro(e),n=t.conditionExpression;if(n)return n.get("body")}(t),setValue:e=>{const i=[],o=ro(t),s=t.source;s.businessObject.default===o&&i.push({cmd:"element.updateProperties",context:{element:s,properties:{default:void 0}}});const a=e&&""!=e?eK("bpmn:FormalExpression",{body:e},o,r):void 0;i.push({cmd:"element.updateProperties",context:{element:t,properties:{conditionExpression:a}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}const qJ=["bpmn:Activity","bpmn:ExclusiveGateway","bpmn:InclusiveGateway"];function FJ(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=MY(t);return wJ({element:t,id:"errorCode",label:r("Code"),feel:"optional",getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:i})}function VJ(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=zY(t);return wJ({element:t,id:"escalationCode",label:r("Code"),feel:"optional",getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:i})}const HJ="camunda-forms:bpmn:",UJ="UserTaskForm_",WJ={CAMUNDA_FORM_EMBEDDED:"camunda-form-embedded",CAMUNDA_FORM_LINKED:"camunda-form-linked",CUSTOM_FORM:"custom-form",EXTERNAL_REFERENCE:"external-reference"};function GJ(e){return gJ(ro(e),"zeebe:FormDefinition")[0]}function QJ(e,t){t=t||ZJ(e);const n=GJ(e);if(!n)return;const r=n.get("formKey");return gJ(t,"zeebe:UserTaskForm").find((e=>XJ(e.get("id"))===r))}function XJ(e){return`${HJ}${e}`}function ZJ(e){let t=ro(e);for(;t.$parent&&!to(t,"bpmn:Process");)t=t.$parent;return t}function YJ(e){const t=GJ(e);if(!t)return;const n=t.get("formId"),r=t.get("formKey"),i=t.get("externalReference");return a(n)?WJ.CAMUNDA_FORM_LINKED:a(i)?WJ.EXTERNAL_REFERENCE:a(r)?QJ(e)?WJ.CAMUNDA_FORM_EMBEDDED:WJ.CUSTOM_FORM:void 0}function KJ(e){return gJ(ro(e),"zeebe:UserTask").length>0}const JJ="none";function e0(e){const{element:t}=e;if(!to(t,"bpmn:UserTask"))return[];const n=[{id:"formType",component:t0,isEdited:e=>e.value!==JJ}],r=YJ(t);return r===WJ.CAMUNDA_FORM_EMBEDDED?n.push({id:"formConfiguration",component:n0,isEdited:NG}):r===WJ.CAMUNDA_FORM_LINKED?n.push({id:"formId",component:r0,isEdited:LG}):r===WJ.CUSTOM_FORM?n.push({id:"customFormKey",component:i0,isEdited:LG}):r===WJ.EXTERNAL_REFERENCE&&n.push({id:"externalReference",component:o0,isEdited:rG}),n}function t0(e){const{element:t}=e,n=cX("injector"),r=cX("translate");return SG({element:t,id:"formType",label:r("Type"),getValue:()=>YJ(t)||JJ,setValue:e=>{!function(e,t,n){n===WJ.CAMUNDA_FORM_EMBEDDED?d0(e,t,""):n===WJ.CAMUNDA_FORM_LINKED?c0(e,t,""):n===WJ.CUSTOM_FORM?p0(e,t,""):n===WJ.EXTERNAL_REFERENCE?u0(e,t,""):function(e,t){const n=GJ(t),r=e.get("modeling");if(n){const e=ro(t).get("extensionElements");r.updateModdleProperties(t,e,{values:b(e.get("values"),n)})}}(e,t)}(n,t,e)},getOptions:()=>function(e,t){if(KJ(t))return[{value:JJ,label:e("<none>")},{value:WJ.CAMUNDA_FORM_LINKED,label:e("Camunda Form")},{value:WJ.EXTERNAL_REFERENCE,label:e("External form reference")}];return[{value:JJ,label:e("<none>")},{value:WJ.CAMUNDA_FORM_LINKED,label:e("Camunda Form (linked)")},{value:WJ.CAMUNDA_FORM_EMBEDDED,label:e("Camunda Form (embedded)")},{value:WJ.CUSTOM_FORM,label:e("Custom form key")}]}(r,t)})}function n0(e){const{element:t}=e,n=cX("debounceInput"),r=cX("injector"),i=cX("translate");return DG({element:t,id:"formConfiguration",label:i("Form JSON configuration"),rows:4,getValue:()=>QJ(t).get("body"),setValue:e=>{d0(r,t,s(e)?"":e)},debounce:n})}function r0(e){const{element:t}=e,n=cX("debounceInput"),r=cX("injector"),i=cX("translate");return IG({element:t,id:"formId",label:i("Form ID"),getValue:()=>GJ(t).get("formId"),setValue:e=>{c0(r,t,s(e)?"":e)},debounce:n})}function i0(e){const{element:t}=e,n=cX("debounceInput"),r=cX("injector"),i=cX("translate");return IG({element:t,id:"customFormKey",label:i("Custom form key"),getValue:()=>GJ(t).get("formKey"),setValue:e=>{p0(r,t,s(e)?"":e)},debounce:n})}function o0(e){const{element:t}=e,n=cX("debounceInput"),r=cX("injector"),i=cX("translate");return wJ({element:t,id:"externalReference",label:i("External form reference"),feel:"optional",getValue:()=>GJ(t).get("externalReference"),setValue:e=>{u0(r,t,s(e)?"":e)},debounce:n})}function s0(e,t,n){const r=n||ro(t);let i=r.get("extensionElements");if(i)return{commands:[],extensionElements:i};return i=eK("bpmn:ExtensionElements",{values:[]},r,e.get("bpmnFactory")),{commands:[h0(t,r,{extensionElements:i})],extensionElements:i}}function a0(e,t){let n=GJ(t);if(n)return{commands:[],formDefinition:n};const{extensionElements:r,commands:i}=s0(e,t);return n=function(e,t,n){const r=e.get("bpmnFactory");return eK("zeebe:FormDefinition",t,n,r)}(e,{},r),{commands:[...i,h0(t,r,{values:[...r.get("values"),n]})],formDefinition:n}}function l0(e,t){let n=QJ(t);if(n)return{commands:[],formDefinition:GJ(t),userTaskForm:n};const r=ZJ(t),{extensionElements:i,commands:o}=s0(e,t,r),{formDefinition:s,commands:a}=a0(e,t),l=tK(UJ);return n=function(e,t,n){const r=e.get("bpmnFactory");return eK("zeebe:UserTaskForm",t,n,r)}(e,{id:l},i),{commands:[...o,...a,h0(t,i,{values:[...i.get("values"),n]}),h0(t,s,{formKey:XJ(l)})],formDefinition:s,userTaskForm:n}}function c0(e,t,n){let{commands:r,formDefinition:i}=a0(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,h0(t,i,{formId:n})])}function p0(e,t,n){let{commands:r,formDefinition:i}=a0(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,h0(t,i,{formKey:n})])}function u0(e,t,n){let{commands:r,formDefinition:i}=a0(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,h0(t,i,{externalReference:n})])}function d0(e,t,n){let{commands:r,userTaskForm:i}=l0(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,h0(t,i,{body:n})])}function h0(e,t,n){return{cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:n}}}function f0(e){const{idPrefix:t,header:n}=e;return[{id:t+"-key",component:m0,header:n,idPrefix:t},{id:t+"-value",component:g0,header:n,idPrefix:t}]}function m0(e){const{idPrefix:t,element:n,header:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-key",label:o("Key"),getValue:e=>e.key,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{key:e}})},debounce:s})}function g0(e){const{idPrefix:t,element:n,header:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-value",label:o("Value"),getValue:e=>e.value,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{value:e}})},debounce:s})}function y0({element:e,injector:t}){if(!function(e){return to(e,"bpmn:UserTask")||PJ(e)}(e))return null;const n=function(e){const t=SJ(e);return t?t.get("values"):[]}(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-header-"+n;return{id:r,label:t.get("key")||"",entries:f0({idPrefix:r,element:e,header:t}),autoFocusEntry:r+"-key",remove:v0({commandStack:i,element:e,header:t})}}));return{items:o,add:b0({bpmnFactory:r,commandStack:i,element:e}),shouldSort:!1}}function v0({commandStack:e,element:t,header:n}){return function(r){r.stopPropagation();let i=[];const o=SJ(t);if(!o)return;const s=b(o.get("values"),n);if(i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{values:s}}}),!s.length){const e=ro(t).get("extensionElements");i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:e,properties:{values:b(e.get("values"),o)}}})}e.execute("properties-panel.multi-command-executor",i)}}function b0({bpmnFactory:e,commandStack:t,element:n}){return function(r){r.stopPropagation();let i=[];const o=ro(n);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:o,properties:{extensionElements:s}}}));let a=SJ(n);if(!a){a=eK("zeebe:TaskHeaders",{values:[]},s,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=eK("zeebe:Header",{},a,e);i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),l]}}}),t.execute("properties-panel.multi-command-executor",i)}}function w0(e){const t=function(e){const t=ro(e);return gJ(t,"zeebe:CalledElement")}(e);return t[0]}function x0(e){const{element:t}=e;return to(t,"bpmn:CallActivity")?[{id:"propagateAllParentVariables",component:_0,isEdited:qW}]:[]}function _0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=function(e){if(!to(e,"bpmn:CallActivity"))return;const t=ro(e),n=w0(t);return!n||!f(n,"propagateAllParentVariables")||n.get("propagateAllParentVariables")}(t);return $W({id:"propagateAllParentVariables",label:i("Propagate all parent process variables"),switcherLabel:i(o?"On":"Off"),tooltip:Vk("div",{children:[Vk("p",{children:i("If turned on, all variables from the parent process instance will be propagated to the child process instance.")}),Vk("p",{children:i("Otherwise, only variables defined via input mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=w0(o);a||(a=eK("zeebe:CalledElement",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{propagateAllParentVariables:e}}}),n.execute("properties-panel.multi-command-executor",i)}})}function k0(e){const{idPrefix:t,parameter:n}=e;return[{id:t+"-target",component:E0,idPrefix:t,parameter:n},{id:t+"-source",component:O0,idPrefix:t,parameter:n}]}function E0(e){const{idPrefix:t,element:n,parameter:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-target",label:o(to(r,"zeebe:Input")?"Local variable name":"Process variable name"),getValue:e=>e.target,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{target:e}})},debounce:s})}function O0(e){const{idPrefix:t,element:n,parameter:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return wJ({bpmnElement:n,element:r,id:t+"-source",label:o("Variable assignment value"),feel:"required",getValue:e=>e.source,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{source:e}})},debounce:s})}function P0(e,t){const n=S0(e);return n&&n.get(t)||[]}function S0(e){return(function(e,t,n){const r=gJ(e,t);return n?(r[0]||{})[n]||[]:r}(ro(e),"zeebe:IoMapping")||[])[0]}function C0(e){return P0.apply(this,[e,"outputParameters"])}function T0(e){return no(e,["bpmn:UserTask","bpmn:SubProcess","bpmn:CallActivity","bpmn:BusinessRuleTask","bpmn:ScriptTask"])||PJ(e)||function(e){if(!no(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"]))return!1;return!!AY(e,"bpmn:SignalEventDefinition")}(e)}function M0(e){return(!to(e,"bpmn:EndEvent")||!TY(e)&&!function(e){return AY(e,"bpmn:TerminateEventDefinition")}(e))&&no(e,["zeebe:ZeebeServiceTask","bpmn:UserTask","bpmn:SubProcess","bpmn:ReceiveTask","bpmn:CallActivity","bpmn:Event","bpmn:BusinessRuleTask"])}function A0(e,t,n){return eK("zeebe:IoMapping",e,t,n)}function D0({element:e,injector:t}){if(!T0(e))return null;const n=function(e){return P0.apply(this,[e,"inputParameters"])}(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-input-"+n;return{id:r,label:t.get("target")||"",entries:k0({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:N0({commandStack:i,element:e,parameter:t})}}));return{items:o,add:R0({element:e,bpmnFactory:r,commandStack:i}),shouldSort:!1}}function N0({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();const i=[],o=S0(t);if(!o)return;const s=b(o.get("inputParameters"),n);i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{inputParameters:s}}});const a=ro(t).get("extensionElements"),l=b(a.get("values"),o);s.length||o.get("outputParameters").length||i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:l}}}),e.execute("properties-panel.multi-command-executor",i)}}function R0({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();const i=[],o=ro(e);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=S0(e);a||(a=A0({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}}));const l=eK("zeebe:Input",{target:tK("InputVariable_")},a,t);i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{inputParameters:[...a.get("inputParameters"),l]}}}),n.execute("properties-panel.multi-command-executor",i)}}function j0(e){const{element:t}=e,n=NY(t),r=[];return n&&r.push({id:"messageName",component:I0,isEdited:rG}),n&&function(e){if(to(e,"bpmn:ReceiveTask"))return!0;if(!to(e,"bpmn:StartEvent"))return!0;if(to(e,"bpmn:StartEvent")&&Oo(e.parent))return!0;return!1}(t)&&r.push({id:"messageSubscriptionCorrelationKey",component:L0,isEdited:rG}),r}function I0(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=NY(t);return wJ({element:t,id:"messageName",label:r("Name"),feel:"optional",getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function L0(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"messageSubscriptionCorrelationKey",label:i("Subscription correlation key"),feel:"required",getValue:()=>function(e){const t=z0(e);return t?t.get("correlationKey"):""}(t),setValue:e=>{const i=[],o={correlationKey:e},s=NY(t);let a=s.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},s,n),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{extensionElements:a}}}));let l=z0(t);l?i.push({cmd:"element.updateModdleProperties",context:{element:t,properties:o,moddleElement:l}}):(l=eK("zeebe:Subscription",o,a,n),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:[...a.get("values"),l]}}})),r.execute("properties-panel.multi-command-executor",i)},debounce:o})}function z0(e){const t=function(e){const t=gJ(e,"zeebe:Subscription");return t}(NY(e));return t[0]}function B0(e){const{element:t}=e;return function(e){return!!U0(e)}(t)?[{id:"multiInstance-inputCollection",component:$0,isEdited:rG},{id:"multiInstance-inputElement",component:q0,isEdited:LG},{id:"multiInstance-outputCollection",component:F0,isEdited:LG},{id:"multiInstance-outputElement",component:V0,isEdited:rG},{id:"multiInstance-completionCondition",component:H0,isEdited:rG}]:[]}function $0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"multiInstance-inputCollection",label:i("Input collection"),feel:"required",getValue:()=>Q0(t,"inputCollection"),setValue:e=>X0(t,"inputCollection",e,n,r),debounce:o})}function q0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return IG({element:t,id:"multiInstance-inputElement",label:i("Input element"),getValue:()=>Q0(t,"inputElement"),setValue:e=>X0(t,"inputElement",e,n,r),debounce:o})}function F0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return IG({element:t,id:"multiInstance-outputCollection",label:i("Output collection"),getValue:()=>Q0(t,"outputCollection"),setValue:e=>X0(t,"outputCollection",e,n,r),debounce:o})}function V0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"multiInstance-outputElement",label:i("Output element"),feel:"required",getValue:()=>Q0(t,"outputElement"),setValue:e=>X0(t,"outputElement",e,n,r),debounce:o})}function H0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"multiInstance-completionCondition",label:i("Completion condition"),feel:"required",getValue:()=>{const e=function(e){return U0(e).get("completionCondition")}(t);return e&&e.get("body")},setValue:e=>{if(e&&""!==e){const i=eK("bpmn:FormalExpression",{body:e},U0(t),r);G0(t,n,i)}else G0(t,n,void 0)},debounce:o})}function U0(e){return ro(e).get("loopCharacteristics")}function W0(e){const t=gJ(e,"zeebe:LoopCharacteristics");return t&&t[0]}function G0(e,t,n=void 0){t.execute("element.updateModdleProperties",{element:e,moddleElement:U0(e),properties:{completionCondition:n}})}function Q0(e,t){const n=W0(U0(e));return n&&n.get(t)}function X0(e,t,n,r,i){const o=U0(e),s=[];let a=o.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},o,i),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:a}}}));let l=W0(o);l||(l=eK("zeebe:LoopCharacteristics",{},a,i),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...a.get("values"),l]}}})),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:l,properties:{[t]:n}}}),r.execute("properties-panel.multi-command-executor",s)}function Z0(e){const{element:t}=e;return to(t,"bpmn:CallActivity")?[{id:"propagateAllChildVariables",component:Y0,isEdited:qW}]:[]}function Y0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=function(e){if(!to(e,"bpmn:CallActivity"))return;const t=ro(e),n=w0(t);return n&&f(n,"propagateAllChildVariables")?n.get("propagateAllChildVariables"):function(e){const t=C0(e);if(t)return!(t.length>0)}(e)}(t);return $W({id:"propagateAllChildVariables",label:i("Propagate all child process variables"),switcherLabel:i(o?"On":"Off"),tooltip:Vk("div",{children:[Vk("p",{children:i("If turned on, all variables from the child process instance will be propagated to the parent process instance.")}),Vk("p",{children:i("Otherwise, only variables defined via output mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=w0(o);a||(a=eK("zeebe:CalledElement",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{propagateAllChildVariables:e}}}),n.execute("properties-panel.multi-command-executor",i)}})}function K0({element:e,injector:t}){if(!M0(e))return null;const n=C0(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-output-"+n;return{id:r,label:t.get("target")||"",entries:k0({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:J0({commandStack:i,element:e,parameter:t})}}));return{items:o,add:e1({element:e,bpmnFactory:r,commandStack:i}),shouldSort:!1}}function J0({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();let i=[];const o=S0(t);if(!o)return;const s=b(o.get("outputParameters"),n);if(i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{outputParameters:s}}}),!o.get("inputParameters").length&&!s.length){const e=ro(t).get("extensionElements"),n=b(e.get("values"),o);i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:e,properties:{values:n}}})}e.execute("properties-panel.multi-command-executor",i)}}function e1({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();let i=[];const o=ro(e);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=S0(e);if(!a){a=A0({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=eK("zeebe:Output",{target:tK("OutputVariable_")},a,t);i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{outputParameters:[...a.get("outputParameters"),l]}}}),n.execute("properties-panel.multi-command-executor",i)}}const t1="script",n1="jobWorker",r1="";function i1(e){const{element:t}=e;return to(t,"bpmn:ScriptTask")?[{id:"scriptImplementation",component:o1,isEdited:()=>function(e){return s1(e)||a1(e)}(t)}]:[]}function o1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate");return SG({element:t,id:n,label:o("Implementation"),getValue:()=>a1(t)?t1:s1(t)?n1:r1,setValue:e=>{let n,o;e===t1?(n=a1(t),o="zeebe:Script"):e===n1?(n=s1(t),o="zeebe:TaskDefinition"):function(e,t){const n=ro(e),r=s1(e),i=function(e){const t=ro(e);return gJ(t,"zeebe:TaskHeaders")}(e),o=a1(e);if(r){return void yJ(e,n,[r,i].filter(Boolean),t)}o&&yJ(e,n,o,t)}(t,r),!n&&o&&(n=eK(o,{},null,i),function(e,t,n,r){const i=ro(e),o=[];let s,a=i.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));if(t.$parent=a,to(t,"zeebe:TaskDefinition"))s=b(a.get("values"),a1(e));else if(to(t,"zeebe:Script")){const e=e=>no(e,["zeebe:TaskDefinition","zeebe:TaskHeaders"]);s=b(a.get("values"),e)}o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...s,t]}}}),r.execute("properties-panel.multi-command-executor",o)}(t,n,i,r))},getOptions:()=>[{value:r1,label:o("<none>")},{value:t1,label:o("FEEL expression")},{value:n1,label:o("Job worker")}]})}function s1(e){return gJ(ro(e),"zeebe:TaskDefinition")[0]}function a1(e){return gJ(ro(e),"zeebe:Script")[0]}function l1(e){const{element:t}=e;return to(t,"bpmn:ScriptTask")&&u1(t)?[{id:"resultVariable",component:p1,isEdited:LG},{id:"scriptExpression",component:c1,isEdited:rG}]:[]}function c1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("FEEL expression"),feel:"required",getValue:()=>(u1(t)||{}).get("expression"),setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=u1(t);a||(a=eK("zeebe:Script",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{expression:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function p1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return IG({element:t,id:n,label:o("Result variable"),getValue:()=>(u1(t)||{}).resultVariable,setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=u1(t);a||(a=eK("zeebe:Script",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{resultVariable:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function u1(e){return gJ(ro(e),"zeebe:Script")[0]}function d1(e){const{element:t}=e;if(!function(e){return to(e,"bpmn:Event")&&!!YK(e)}(t))return[];let n=[];return KK(t)&&(n=[...n,{id:"signalName",component:h1,isEdited:rG}]),n}function h1(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=KK(t);return wJ({element:t,id:"signalName",label:r("Name"),feel:"optional",getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function f1(e){const{element:t}=e;return to(t,"bpmn:CallActivity")?[{id:"targetProcessId",component:m1,isEdited:rG}]:[]}function m1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("Process ID"),feel:"optional",getValue:()=>function(e){const t=w0(e);return t?t.get("processId"):""}(t),setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=w0(o);a||(a=eK("zeebe:CalledElement",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{processId:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function g1(e){const{element:t}=e;return PJ(t)?[{id:"taskDefinitionType",component:y1,isEdited:rG},{id:"taskDefinitionRetries",component:v1,isEdited:rG}]:[]}function y1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("Type"),feel:"optional",getValue:()=>(b1(t)||{}).type,setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=b1(t);a||(a=eK("zeebe:TaskDefinition",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{type:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function v1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("Retries"),feel:"optional",getValue:()=>(b1(t)||{}).retries,setValue:e=>{let n=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=b1(t);a||(a=eK("zeebe:TaskDefinition",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{retries:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function b1(e){return gJ(ro(e),"zeebe:TaskDefinition")[0]}function w1(e){const{element:t}=e;return to(t,"bpmn:UserTask")?[{id:"taskScheduleDueDate",component:x1,isEdited:rG},{id:"taskScheduleFollowUpDate",component:_1,isEdited:rG}]:[]}function x1(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"taskScheduleDueDate",label:i("Due date"),feel:"optional",getValue:()=>{const e=k1(t);if(e)return e.get("dueDate")},setValue:e=>{let i=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=k1(t);a||(a=eK("zeebe:TaskSchedule",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{dueDate:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function _1(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"taskScheduleFollowUpDate",label:i("Follow up date"),feel:"optional",getValue:()=>{const e=k1(t);if(e)return e.get("followUpDate")},setValue:e=>{let i=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=k1(t);a||(a=eK("zeebe:TaskSchedule",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{followUpDate:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function k1(e){return gJ(ro(e),"zeebe:TaskSchedule")[0]}function E1(e,t){const n=ro(t);switch(e){case"timeDate":return no(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!to(t,"bpmn:StartEvent")||P1(n))&&O1(n))||!(!to(t,"bpmn:BoundaryEvent")||O1(n));case"timeDuration":return!!no(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!to(t,"bpmn:StartEvent")||!P1(n));default:return!1}}function O1(e){return to(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function P1(e){const t=e.$parent;return t&&to(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}function S1(e){const{element:t,injector:n}=e,r=n.get("translate"),i=QK(XK(ro(t)));if(!GK(t))return[];const o=function(e,t){const n=[];E1("timeDate",e)&&n.push({value:"timeDate",label:t("Date")});E1("timeDuration",e)&&n.push({value:"timeDuration",label:t("Duration")});E1("timeCycle",e)&&n.push({value:"timeCycle",label:t("Cycle")});return n}(t,r),s=[];return s.push({id:"timerEventDefinitionType",component:C1,isEdited:CG,options:o}),i&&s.push({id:"timerEventDefinitionValue",component:T1,isEdited:rG,timerEventDefinitionType:i||o[0].value}),s}function C1(e){const{element:t,options:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=XK(ro(t)),a=QK(s);return SG({element:t,id:"timerEventDefinitionType",label:o("Type"),getValue:()=>a||"",setValue:e=>{if(e===a)return;const n=M1(i,s),o={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(o[e]=n),r.execute("element.updateModdleProperties",{element:t,moddleElement:s,properties:o})},getOptions:e=>[{value:"",label:o("<none>")},...n]})}function T1(e){const{element:t,label:n,timerEventDefinitionType:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput"),a=cX("bpmnFactory"),l=XK(ro(t)),c=l.get(r);return wJ({element:t,id:"timerEventDefinitionValue",label:n||o("Value"),feel:"optional",getValue:()=>c&&c.get("body"),setValue:e=>{if(!c){const n=M1(a,l);return n.set("body",e),void i.execute("element.updateModdleProperties",{element:t,moddleElement:l,properties:{[r]:n}})}i.execute("element.updateModdleProperties",{element:t,moddleElement:c,properties:{body:e}})},debounce:s,tooltip:A1(r,o)})}function M1(e,t){const n=e.create("bpmn:FormalExpression",{body:void 0});return n.$parent=t,n}function A1(e,t){switch(e){case"timeDate":return Vk("div",{children:[Vk("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),Vk("li",{children:[Vk("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),Vk("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-date",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]});case"timeCycle":return Vk("div",{children:[Vk("p",{children:t("A cycle defined as ISO 8601 repeating intervals format, or a cron expression.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),Vk("li",{children:[Vk("code",{children:"R/P1D"})," - ",t("every day, infinitely")]}),Vk("li",{children:[Vk("code",{children:"0 0 9-17 * * MON-FRI"})," - ",t("every hour on the hour from 9-5 p.m. UTC Monday-Friday")]})]}),Vk("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-cycle",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]});case"timeDuration":return Vk("div",{children:[Vk("p",{children:t("A time duration defined as ISO 8601 durations format.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"PT15S"})," - ",t("15 seconds")]}),Vk("li",{children:[Vk("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),Vk("li",{children:[Vk("code",{children:"P14D"})," - ",t("14 days")]})]}),Vk("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-duration",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]})}}const D1="zeebeUserTask",N1="jobWorker";function R1(e){const{element:t}=e;return to(t,"bpmn:UserTask")?[{id:"userTaskImplementation",component:j1,isEdited:()=>function(e){return I1(e)}(t)}]:[]}function j1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate");return SG({element:t,id:n,label:o("Type"),getValue:()=>I1(t)?D1:N1,setValue:e=>{e===D1?function(e,t,n){const r=ro(e),i=eK("zeebe:UserTask",{},r,t);!function(e,t,n,r,i){const o=[];let s=t.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},t,r),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]}}}),i.execute("properties-panel.multi-command-executor",o)}(e,r,i,t,n)}(t,i,r):e===N1&&function(e,t){const n=I1(e);yJ(e,ro(e),n,t)}(t,r)},getOptions:()=>[{value:D1,label:o("Zeebe user task")},{value:N1,label:o("Job worker")}]})}function I1(e){return gJ(ro(e),"zeebe:UserTask")[0]}function L1(e){const{idPrefix:t,property:n}=e;return[{id:t+"-name",component:z1,idPrefix:t,property:n},{id:t+"-value",component:B1,idPrefix:t,property:n}]}function z1(e){const{idPrefix:t,element:n,property:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-name",label:o("Name"),getValue:()=>r.name,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{name:e}})},debounce:s})}function B1(e){const{idPrefix:t,element:n,property:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-value",label:o("Value"),getValue:()=>r.value,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{value:e}})},debounce:s})}function $1({element:e,injector:t,namespace:n="camunda"}){let r=V1(e);if(!r)return;const i=function(e,t="camunda"){const n=V1(e),r=U1(n,t);return r&&r.get(H1(t))}(r,n)||[],o=t.get("bpmnFactory"),s=t.get("commandStack"),a=i.map(((t,r)=>{const i=e.id+"-extensionProperty-"+r;return{id:i,label:t.get("name")||"",entries:L1({idPrefix:i,element:e,property:t}),autoFocusEntry:i+"-name",remove:q1({commandStack:s,element:e,property:t,namespace:n})}}));return{items:a,add:F1({bpmnFactory:o,commandStack:s,element:e,namespace:n}),shouldSort:!1}}function q1({commandStack:e,element:t,property:n,namespace:r}){return function(i){i.stopPropagation();const o=[],s=V1(t),a=s.get("extensionElements"),l=U1(s,r);if(!l)return;const c=H1(r),p=b(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:b(a.get("values"),l)}}}),e.execute("properties-panel.multi-command-executor",o)}}function F1({bpmnFactory:e,commandStack:t,element:n,namespace:r}){return function(i){i.stopPropagation();let o=[];const s=V1(n);let a=s.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},s,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{extensionElements:a}}}));const l=H1(r);let c=U1(s,r);if(!c){c=eK(`${r}:Properties`,{[l]:[]},a,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),c]}}})}const p=eK(`${r}: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 V1(e){let t=ro(e);return to(e,"bpmn:Participant")?t.get("processRef"):t}function H1(e="camunda"){return"zeebe"===e?"properties":"values"}function U1(e,t="camunda"){return gJ(V1(e),`${t}:Properties`)[0]}const W1=[function(e,t){const n=t.get("translate"),r={id:"businessRuleImplementation",label:n("Implementation"),entries:[...AJ({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"calledDecision",label:n("Called decision"),entries:[...jJ({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"scriptImplementation",label:n("Implementation"),entries:[...i1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"script",label:n("Script"),entries:[...l1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"userTaskImplementation",label:n("Implementation"),entries:[...R1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"taskDefinition",label:n("Task definition"),entries:[...g1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"assignmentDefinition",label:n("Assignment"),entries:[...xJ({element:e}),...w1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"form",label:n("Form"),entries:[...e0({element:e,injector:t})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"condition",label:n("Condition"),entries:[...BJ({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"calledElement",label:n("Called element"),entries:[...f1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"inputPropagation",label:n("Input propagation"),entries:[...x0({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"inputs",label:n("Inputs"),component:vG,...D0({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={id:"outputPropagation",label:n("Output propagation"),entries:[...Z0({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"outputs",label:n("Outputs"),component:vG,...K0({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={id:"headers",label:n("Headers"),component:vG,...y0({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={label:n("Extension properties"),id:"Zeebe__ExtensionProperties",component:vG,...$1({element:e,injector:t,namespace:"zeebe"})};if(r.items)return r;return null}];let G1=class{constructor(e,t){e.registerProvider(500,this),this._injector=t}getGroups(e){return t=>(function(e,t){const n=Q1(e,"error");if(!n)return;n.entries=X1(n.entries,function(e){const{element:t}=e,n=[];return MY(t)&&to(t,"bpmn:ThrowEvent")&&n.push({id:"errorCode",component:FJ,isEdited:rG}),n}({element:t}))}(t=t.concat(this._getGroups(e)),e),function(e,t){const n=Q1(e,"escalation");if(!n)return;n.entries=X1(n.entries,function(e){const{element:t}=e;if(!to(t,"bpmn:ThrowEvent"))return[];const n=[];return zY(t)&&n.push({id:"escalationCode",component:VJ,isEdited:rG}),n}({element:t}))}(t,e),function(e,t){const n=Q1(e,"message");if(!n)return;n.entries=X1(n.entries,j0({element:t}))}(t,e),function(e,t){const n=Q1(e,"signal");if(!n)return;n.entries=X1(n.entries,d1({element:t}))}(t,e),function(e,t,n){const r=Q1(e,"timer");if(!r)return;r.entries=[...S1({element:t,injector:n})]}(t,e,this._injector),function(e,t){const n=Q1(e,"multiInstance");if(!n)return;n.entries=[...B0({element:t})]}(t,e),t=function(e,t){const n=Q1(e,"message");(function(e){return to(e,"bpmn:EndEvent")&&!!DY(e)}(t)||function(e){return to(e,"bpmn:IntermediateThrowEvent")&&!!DY(e)}(t))&&(e=e.filter((e=>e!=n)));return e}(t,e),t)}_getGroups(e){const t=W1.map((t=>t(e,this._injector)));return t.filter((e=>null!==e))}};function Q1(e,t){return e.find((e=>e.id===t))}function X1(e,t){return[...e.filter((e=>!t.find((t=>t.id===e.id)))),...t]}G1.$inject=["propertiesPanel","injector"];var Z1={__init__:["zeebePropertiesProvider"],zeebePropertiesProvider:["type",G1]};const Y1={"group-assignmentDefinition":e=>{const t=cX("translate");return Vk("div",{children:[t("Define who the task is assigned to. One or all of the following attributes can be specified simultaneously. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/#assignments",target:"_blank",rel:"noopener",title:t("User task documentation"),children:t("Learn more.")})]})},"group-condition":e=>{const t=cX("translate");return Vk("div",{children:[t("Define a boolean condition expression that defines when this flow is taken. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/exclusive-gateways/#conditions",target:"_blank",rel:"noopener",title:t("Conditions documentation"),children:t("Learn how to define conditions.")})]})},"group-businessRuleImplementation":e=>{const t=cX("translate");return Vk("div",{children:[t("Evaluate a business rule, for example a DMN decision. To add a custom implementation, use a job worker. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Business rule task documentation"),children:t("Learn more.")})]})},"group-scriptImplementation":e=>{const t=cX("translate");return Vk("div",{children:[t("Implement a script task using an inline FEEL expression. To add a custom implementation, use a job worker. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-script-task",target:"_blank",rel:"noopener",title:t("Script task documentation"),children:t("Learn more.")})]})},"group-userTaskImplementation":e=>{const t=cX("translate");return Vk("div",{children:[t("Implement a user task managed by Zeebe. To add a custom implementation, use a job worker. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/#define-a-user-task",target:"_blank",rel:"noopener",title:t("User task documentation"),children:t("Learn more.")})]})},"group-form":e=>{const t=cX("translate");return KJ(e)?Vk("div",{children:[t("Link a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify an external reference. "),Vk("a",{href:"https://docs.camunda.io/docs/guides/utilizing-forms/#link-your-form-to-a-bpmn-diagram",target:"_blank",rel:"noopener",title:t("User task form documentation"),children:t("Learn more.")})]}):Vk("div",{children:[t("Link or embed a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify a form key. "),Vk("a",{href:"https://docs.camunda.io/docs/guides/utilizing-forms/#link-your-form-to-a-bpmn-diagram",target:"_blank",rel:"noopener",title:t("User task form documentation"),children:t("Learn more.")})]})},"group-calledDecision":e=>{const t=cX("translate");return Vk("div",{children:[t("Define the decision to evaluate and how to map back the evaluation result. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#defining-a-called-decision",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("Learn more.")})]})},"group-message":e=>{const t=cX("translate");return to(e,"bpmn:ReceiveTask")?Vk("div",{children:[t("Define the name of the message (e.g. "),Vk("code",{children:"Money collected"}),t(") and the "),Vk("code",{children:"correlationKey"}),t(" expression (e.g. "),Vk("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),t("Learn more how to "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("send ")}),t("and "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/receive-tasks",target:"_blank",rel:"noopener",title:t("Receive task documentation"),children:t("receive messages. ")})]}):Vk("div",{children:[t("Define the name of the message (e.g. "),Vk("code",{children:"Money collected"}),t(") and the "),Vk("code",{children:"correlationKey"}),t(" expression (e.g. "),Vk("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#messages",target:"_blank",rel:"noopener",title:t("Message event documentation"),children:t("Learn more.")})]})},"group-calledElement":e=>{const t=cX("translate");return Vk("div",{children:[t("Define the ID of the process to call (e.g. ")," ",Vk("code",{children:"shipping-process"}),t(" or "),Vk("code",{children:'= "shipping-" + tenantId'})," ",t("). "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/call-activities/",target:"_blank",rel:"noopener",title:t("Call activity documentation"),children:t("Learn more.")})]})},"group-taskDefinition":e=>{const t=cX("translate");return to(e,"bpmn:ServiceTask")?Vk("div",{children:[t("Specify which job workers handle the task work to execute a service (e.g. "),Vk("code",{children:"order-items"}),t("). "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/service-tasks",target:"_blank",rel:"noopener",title:t("Service task documentation"),children:t("Learn more.")})]}):to(e,"bpmn:BusinessRuleTask")?Vk("div",{children:[t("Specify which job workers handle the task work to evaluate business rules. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#job-worker-implementation",target:"_blank",rel:"noopener",title:t("Business rule task documentation"),children:t("Learn more.")})]}):to(e,"bpmn:ScriptTask")?Vk("div",{children:[t("Specify which job workers handle the task work to execute a script. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Script task documentation"),children:t("Learn more.")})]}):to(e,"bpmn:SendTask")?Vk("div",{children:[t("Specify which job workers handle the task work to send a message (e.g. "),Vk("code",{children:"kafka"}),t(" or "),Vk("code",{children:"mail"}),t("). "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("Learn more.")})]}):to(e,"bpmn:ThrowEvent")?Vk("div",{children:[t("Specify which job workers handle the event work. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#message-throw-events",target:"_blank",rel:"noopener",title:t("Message throw event documentation"),children:t("Learn more.")})]}):void 0},"group-multiInstance":e=>{const t=cX("translate");return Vk("div",{children:[t("Execute this task for each element of a given collection. "),Vk("br",{}),t("Define an input collection expression that defines the collection to iterate over (e.g. "),Vk("code",{children:"= items"}),t("). "),t("To collect the output define the output collection and the output element expressions. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/multi-instance/#defining-the-collection-to-iterate-over",target:"_blank",rel:"noopener",title:t("Multi instance documentation"),children:t("Learn more.")})]})},"group-error":e=>{const t=cX("translate");return Vk("div",{children:[t("Define an error code (e.g. "),Vk("code",{children:"order-not-found"}),t("). "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/error-events/#defining-the-error",target:"_blank",rel:"noopener",title:t("Error event documentation"),children:t("Learn more.")})]})},"group-inputs":e=>{const t=cX("translate");return Vk("div",{children:[t("Create a new local variable in the scope of this task. "),Vk("a",{href:"https://docs.camunda.io/docs/components/concepts/variables/#input-mappings",target:"_blank",rel:"noopener",title:t("Input mappings documentation"),children:t("Learn more.")})]})},"group-outputs":e=>{const t=cX("translate");return Vk("div",{children:[t("Customize how result variables are merged into the global scope of the process instance. "),Vk("a",{href:"https://docs.camunda.io/docs/components/concepts/variables/#output-mappings",target:"_blank",rel:"noopener",title:t("Output mappings documentation"),children:t("Learn more.")})]})},taskDefinitionRetries:e=>{const t=cX("translate");return Vk("div",{children:Vk("p",{children:[t("The number of times the engine tries executing this activity if a worker signals a failure. The default is three.")," "," ",Vk("a",{href:"https://docs.camunda.io/docs/next/components/best-practices/development/dealing-with-problems-and-exceptions/#leveraging-retries",target:"_blank",rel:"noopener",children:t("Learn more.")})]})})}};function K1(e={}){sx.call(this,e)}function J1(e,t=void 0){const n=ro(e).get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>to(e,t))):r:[]}function e2(e,t,n,r){c(n)||(n=[n]);const i=t.get("extensionElements"),o=i.get("values").filter((e=>!n.includes(e)));r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:o}})}e(K1,sx),K1.prototype.getModules=function(e={}){return[...sx.prototype.getModules.call(this,e),e.disableAdjustOrigin?Gx:Zx,e.disableGrid?{}:Fx]},K1.prototype._extensionModules=[zx,s_,SY,mJ],K1.prototype._modules=[].concat(sx.prototype._modules,K1.prototype._extensionModules);class t2 extends _s{constructor(e,t){super(t),this.preExecute("element.updateModdleProperties",5e3,(function(e){const{element:t,moddleElement:n,properties:r}=e;if(!to(t,"bpmn:BusinessRuleTask")||!to(n,"bpmn:ExtensionElements")||!r.values)return;const i=n2(t),o=r2(t);i&&!o&&r.values.find((e=>to(e,"zeebe:CalledDecision")))&&r.values.find((e=>to(e,"zeebe:TaskDefinition")))&&(r.values=b(r.values,i))}),!0),this.preExecute("element.updateModdleProperties",5e3,(function(e){const{element:t,moddleElement:n,properties:r}=e;if(!to(t,"bpmn:BusinessRuleTask")||!to(n,"bpmn:ExtensionElements")||!r.values)return;const i=n2(t),o=r2(t),s=function(e){const t=ro(e);return J1(t,"zeebe:TaskHeaders")[0]}(t);!i&&(o||s)&&r.values.find((e=>to(e,"zeebe:CalledDecision")))&&r.values.find((e=>to(e,"zeebe:TaskDefinition")||to(e,"zeebe:TaskHeaders")))&&(r.values=b(r.values,(e=>e===o||e===s)))}),!0)}}function n2(e){return J1(ro(e),"zeebe:CalledDecision")[0]}function r2(e){return J1(ro(e),"zeebe:TaskDefinition")[0]}t2.$inject=["commandStack","eventBus"];class i2 extends _s{constructor(e,t){super(e),this.postExecuted("shape.replace",(function(e){const{context:n}=e,{newShape:r}=n;if(!to(r,"bpmn:EndEvent")||!function(e){const t=ro(e),n=t.get("eventDefinitions")||[];return m(n,(function(e){return to(e,"bpmn:ErrorEventDefinition")}))}(r))return;const i=function(e){const t=ro(e).get("extensionElements");if(!t)return null;const n=t.get("values");if(!n)return null;return m(n,(e=>to(e,"zeebe:IoMapping")))}(r);if(!i)return;const o=ro(r).get("extensionElements"),s=b(o.get("values"),i);t.updateModdleProperties(r,o,{values:s})}))}}i2.$inject=["eventBus","modeling"];class o2 extends _s{constructor(e,t){super(e),this.postExecuted(["element.updateProperties","element.updateModdleProperties"],(e=>{const n=e.shape||e.newShape||e.element;if(n.labelTarget)return;if(!to(n,"bpmn:Event"))return;const r=function(e){const t=ro(e);return t.get("eventDefinitions").find((e=>to(e,"bpmn:MessageEventDefinition")))}(n);if(!r)return;const i=r.get("messageRef");if(!i)return;const o=function(e){return J1(e,"zeebe:Subscription")[0]}(i);o&&function(e){const t=e.$descriptor;return t.properties.every((t=>void 0===e.get(t.name)))}(o)&&e2(n,i,o,t)}),!0)}}function s2(e,t){const n=ro(t);switch(e){case"timeDate":return no(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!to(t,"bpmn:StartEvent")||l2(n))&&a2(n))||!(!to(t,"bpmn:BoundaryEvent")||a2(n));case"timeDuration":return!!no(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!to(t,"bpmn:StartEvent")||!l2(n));default:return!1}}function a2(e){return to(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function l2(e){const t=e.$parent;return t&&to(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}o2.$inject=["eventBus","commandStack"];class c2 extends _s{constructor(e,t){super(e),this.postExecuted(["shape.move","shape.replace","element.updateProperties","element.updateModdleProperties"],(e=>{const n=e.shape||e.newShape||e.element;if(n.labelTarget)return;if(!to(n,"bpmn:Event"))return;const r=function(e){return ro(e).get("eventDefinitions").find((e=>to(e,"bpmn:TimerEventDefinition")))}(n);if(!r)return;const i={};["timeCycle","timeDate","timeDuration"].forEach((e=>{r.get(e)&&!s2(e,n)&&(i[e]=void 0)})),Object.keys(i).length&&t.updateModdleProperties(n,r,i)}),!0)}}c2.$inject=["eventBus","modeling"];const p2="*",u2=["timeCycle","timeDate","timeDuration"],d2=["zeebe:Input","zeebe:LoopCharacteristics","zeebe:TaskDefinition","zeebe:TaskHeaders","zeebe:Subscription"];class h2{constructor(e){e.on("moddleCopy.canCopyProperty",(e=>{const{parent:t,property:n,propertyName:r}=e;return this.canCopyProperty(n,t,r)}))}canCopyProperty(e,t,n){return!(p(e)&&!function(e,t){const n=e.$type&&e.$model.getTypeDescriptor(e.$type),r=n&&n.meta&&n.meta.allowedIn;if(!r||function(e){return-1!==e.indexOf(p2)}(r))return!0;return _(r,(function(e){return f2(t,e)}))}(e,t))&&(!!this.canHostServiceTaskLikeProperties(e,t)&&(!!this.canHostTimerExpression(e,t,n)&&void 0))}canHostServiceTaskLikeProperties(e,t){if(function(e){return d2.some((t=>to(e,t)))}(e)){const e=f2(t,"bpmn:IntermediateThrowEvent")||f2(t,"bpmn:EndEvent");if(e)return function(e){const t=e.get("eventDefinitions");return t.some((e=>to(e,"bpmn:MessageEventDefinition")))}(e)}return!0}canHostTimerExpression(e,t,n){return!to(t,"bpmn:TimerEventDefinition")||!u2.includes(n)||s2(n,t.$parent)}}function f2(e,t){return t?to(e,t)?e:e.$parent?f2(e.$parent,t):void 0:e.$parent}function m2(e,t,n,r){var i=r.create(e,t);return i.$parent=n,i}function g2(e){const t=function(e){const t=ro(e);return J1(t,"zeebe:CalledElement")}(e);return t[0]}h2.$inject=["eventBus"];class y2 extends _s{constructor(e,t,n){super(t),this.postExecuted("shape.create",5e3,(function(t){const{shape:r}=t;if(!to(r,"bpmn:CallActivity"))return;const i=ro(r);let o=g2(i);if(o)f(o,"propagateAllChildVariables")||n.updateModdleProperties(r,o,{propagateAllChildVariables:!1});else{let t=i.get("extensionElements");t||(t=m2("bpmn:ExtensionElements",{values:[]},i,e),n.updateProperties(r,{extensionElements:t})),o=m2("zeebe:CalledElement",{propagateAllChildVariables:!1},t,e),n.updateModdleProperties(r,t,{values:[...t.values||[],o]})}}),!0)}}y2.$inject=["bpmnFactory","eventBus","modeling"];class v2 extends _s{constructor(e,t,n){super(e),this.postExecuted("shape.delete",250,(function(e){const{collaborationRoot:r,shape:i}=e,o=t.getRootElement();if(to(i,"bpmn:Participant")&&r&&!r.businessObject.get("participants").length&&to(o,"bpmn:Process")){const e=i.businessObject.get("processRef");if(!e)return;n.updateProperties(o,{isExecutable:e.get("isExecutable")})}}),!0)}}v2.$inject=["eventBus","canvas","modeling"];const b2=new n([32,32,1]);const w2="camunda-forms:bpmn:";function x2(e){return J1(ro(e),"zeebe:FormDefinition")[0]}function _2(e,t={}){let{formKey:n,rootElement:r}=t;if(r=r||P2(e),!n){const t=x2(e);if(!t)return;n=t.get("formKey")}return J1(r,"zeebe:UserTaskForm").find((e=>k2(e.get("id"))===n))}function k2(e){return`${w2}${e}`}function E2(e){return e&&e.startsWith(w2)}function O2(){return function(e){return b2.nextPrefixed(e)}("UserTaskForm_")}function P2(e){let t=ro(e);for(;t.$parent&&!to(t,"bpmn:Process");)t=t.$parent;return t}class S2 extends _s{constructor(e,t,n){function r(e,t,r){const i=t.get("extensionElements"),o=b(i.get("values"),r);n.updateModdleProperties(e,i,{values:o}),o.length||n.updateModdleProperties(e,t,{extensionElements:void 0})}super(t),this._modeling=n,this.postExecute("shape.delete",(function(e){const{oldParent:t,shape:n}=e,i=P2(t),o=_2(n,{rootElement:i});to(n,"bpmn:UserTask")&&o&&r(n,i,o)}),!0),this.postExecute("shape.create",(function(t){const{shape:r}=t,i=x2(r);if(!to(r,"bpmn:UserTask")||!i)return;const o=_2(r),s=P2(r),a=ro(r).get("extensionElements");let l=s.get("extensionElements");l||(l=m2("bpmn:ExtensionElements",{values:[]},s,e),n.updateModdleProperties(r,s,{extensionElements:l}));let c=a.get("values").filter((e=>e!==i));const p=O2(),u=m2("zeebe:FormDefinition",{formKey:k2(p)},a,e);c=[...c,u],n.updateModdleProperties(r,a,{values:c});const d=m2("zeebe:UserTaskForm",{id:p,body:o?o.get("body"):""},l,e);n.updateModdleProperties(r,l,{values:[...l.get("values")||[],d]})}),!0),this.preExecute("element.updateModdleProperties",(function(e){const{moddleElement:t,properties:n}=e;to(t,"zeebe:FormDefinition")&&("formId"in n?(n.formKey=void 0,n.externalReference=void 0):"formKey"in n?(n.formId=void 0,n.externalReference=void 0):"externalReference"in n&&(n.formId=void 0,n.formKey=void 0))}),!0),this.postExecute("element.updateModdleProperties",(function(e){const{element:t,moddleElement:i,oldProperties:o}=e;if(to(i,"zeebe:FormDefinition")){const e=i.get("formKey");if(!e||!E2(e)){const e=_2(t,{formKey:o.formKey});e&&r(t,P2(t),e)}}else if(function(e,t){const{moddleElement:n,oldProperties:r,properties:i}=e;return to(n,"bpmn:ExtensionElements")&&"values"in r&&"values"in i&&r.values.find((e=>to(e,t)))&&!i.values.find((e=>to(e,t)))}(e,"zeebe:FormDefinition")){const e=_2(t,{formKey:o.values.find((e=>to(e,"zeebe:FormDefinition"))).get("formKey")});e&&r(t,P2(t),e),i.get("values").length||n.updateProperties(t,{extensionElements:void 0})}}),!0),this._registerZeebeUserTaskSupport()}_registerZeebeUserTaskSupport(){this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!to(e,"bpmn:UserTask")||!C2(e))return;const t=x2(e);if(!t)return;const n=t.get("formKey");s(n)||(E2(n)?this._modeling.updateModdleProperties(e,t,{formKey:void 0}):this._modeling.updateModdleProperties(e,t,{externalReference:n}))}),!0),this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!to(e,"bpmn:UserTask")||C2(e))return;const t=x2(e);if(!t)return;const n=t.get("externalReference");s(n)||this._modeling.updateModdleProperties(e,t,{externalReference:void 0,formKey:n})}),!0)}}function C2(e){return J1(e,"zeebe:UserTask").length}S2.$inject=["bpmnFactory","eventBus","modeling"];class T2 extends _s{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!to(r,"zeebe:AssignmentDefinition"))return;const i=r;if(to(n,"bpmn:UserTask")&&s(i.get("zeebe:assignee"))&&s(i.get("zeebe:candidateGroups"))&&s(i.get("zeebe:candidateUsers"))){e2(n,ro(n),i,e)}}),!0)}}T2.$inject=["commandStack","eventBus"];class M2 extends _s{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!to(r,"zeebe:TaskSchedule"))return;const i=r;if(to(n,"bpmn:UserTask")&&s(i.get("zeebe:dueDate"))&&s(i.get("zeebe:followUpDate"))){e2(n,ro(n),i,e)}}),!0)}}M2.$inject=["commandStack","eventBus"];var A2={__init__:["cleanUpBusinessRuleTaskBehavior","cleanUpEndEventBehavior","cleanUpSubscriptionBehavior","cleanUpTimerExpressionBehavior","copyPasteBehavior","createZeebeCallActivityBehavior","deleteParticipantBehaviour","formsBehavior","removeAssignmentDefinitionBehavior","removeTaskScheduleBehavior"],cleanUpBusinessRuleTaskBehavior:["type",t2],cleanUpEndEventBehavior:["type",i2],cleanUpSubscriptionBehavior:["type",o2],cleanUpTimerExpressionBehavior:["type",c2],copyPasteBehavior:["type",h2],createZeebeCallActivityBehavior:["type",y2],deleteParticipantBehaviour:["type",v2],formsBehavior:["type",S2],removeAssignmentDefinitionBehavior:["type",T2],removeTaskScheduleBehavior:["type",M2]};let D2;const N2=new Uint8Array(16);function R2(){if(!D2&&(D2="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!D2))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return D2(N2)}const j2=[];for(let e=0;e<256;++e)j2.push((e+256).toString(16).slice(1));var I2={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function L2(e,t,n){if(I2.randomUUID&&!t&&!e)return I2.randomUUID();const r=(e=e||{}).random||(e.rng||R2)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return j2[e[t+0]]+j2[e[t+1]]+j2[e[t+2]]+j2[e[t+3]]+"-"+j2[e[t+4]]+j2[e[t+5]]+"-"+j2[e[t+6]]+j2[e[t+7]]+"-"+j2[e[t+8]]+j2[e[t+9]]+"-"+j2[e[t+10]]+j2[e[t+11]]+j2[e[t+12]]+j2[e[t+13]]+j2[e[t+14]]+j2[e[t+15]]}(r)}var z2=function(e,t){for(var n=e.split("."),r=t.split("."),i=0;i<3;i++){var o=Number(n[i]),s=Number(r[i]);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},B2=kx(z2);function $2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var q2={exports:{}},F2={};Object.defineProperty(F2,"__esModule",{value:!0});const V2=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 r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))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((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var s=o[i];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n};V2.code='require("ajv/dist/runtime/equal").default',F2.default=V2,q2.exports=i3,q2.exports.default=i3;const H2={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=[]"}}}}}},U2={$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#}"'}}},W2=new RegExp("^(https|http)://.*","u"),G2=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),Q2={required:"missingProperty",dependencies:"property",dependentRequired:"property"},X2={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'}},{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"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},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"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","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/allOf/1/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."}}}},{$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#}"'}}}]},Z2={required:["property"],properties:{property:{const:{$data:"2/id"}}}},Y2={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"}}},K2=F2.default;function J2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must 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 f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(d=!0,h=0);const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((g=m===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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must 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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(r=Q2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():Y2.errorMessage[r][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={instancePath:t,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/allMatch/"+r+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=Q2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():Y2.errorMessage[i][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={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return J2.errors=o,0===s}function e3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const f=s;let m=!0;const g=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&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=g===s;if(s=f,null!==o&&(f?o.length=f:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must 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.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.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={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",keyword:"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}m=a=e===s}if(!m){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const y=s;let v=!0;const b=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!K2(e.property,Z2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=b===s;if(s=y,null!==o&&(y?o.length=y:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[36]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};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}v=l=e===s}if(!v){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/id",schemaPath:"#/allOf/0/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=Q2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():Y2.errorMessage[i][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={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=Q2[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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():Y2.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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const w=s;let x=!0;const _=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){const e=s,t=s;if("Number"!==n.type){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 d=_===s;if(s=w,null!==o&&(w?o.length=w:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:X2.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}x=d=e===s}if(!x){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/properties/value/type",keyword:"type",params:{type:X2.allOf[0].items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/allOf/0/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/allOf/0/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/0/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(J2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?J2.errors:o.concat(J2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/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 i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():X2.allOf[0].items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(h=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var h;if((h=p===s)&&a?(a=!1,l=[l,1]):h&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/allOf/0/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const i=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&&"property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var f=l===s;if(s=i,null!==o&&(i?o.length=i: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&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[0].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}a=f=e===s}if(!a){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"camunda:executionListener"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var m=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),m){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.type){if("Hidden"!==n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[1].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n&&n.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==n.binding){let e=n.binding;const i=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&&"script"!==e.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(g=c===s)&&(a=!0,l=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",keyword:"required",params:{missingProperty:"scriptFormat"},message:"must have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((g=d===s)&&a)a=!1,l=[l,1];else{g&&(a=!0,l=1);const n=s,i=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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i: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 g;if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(g=n===s)&&a?(a=!1,l=[l,2]):g&&(a=!0,l=2)}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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={instancePath:t+"/"+r+"/binding/implementationType",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}p=m=e===s}if(!p){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!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 y=T===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){let e=n.type;if("String"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[2].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},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}}h=y=e===s}if(!h){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const M=s;let A=!0;const D=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 v=D===s;if(s=M,null!==o&&(M?o.length=M:o=null),v){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={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[3].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},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}}A=v=e===s}if(!A){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const i=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 b=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),b){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}a=b=n===s}if(!a){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"camunda:outputParameter"!==e.type){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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}p=w=n===s}if(!p){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=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&&"camunda:in"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var x=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),x){const n=s,i=s;let a=!1;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var _=l===s;if(a=a||_,!a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.target){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"target"},message:"must have required property 'target'"};null===o?o=[e]:o.push(e),s++}_=n===s;a=a||_}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires variables, target, or both"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}h=x=n===s}if(!h){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=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&&"camunda:out"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var k=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),k){const n=s,i=s;let a=!1,l=null;const c=s,p=s,u=s,d=s;let h=!1;const f=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=f===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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(S=c===s)&&(a=!0,l=0);const m=s,y=s,v=s,b=s;let w=!1;const x=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=x===s;if(w=w||O,!w){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++}O=t===s;w=w||O}if(w)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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((S=m===s)&&a)a=!1,l=[l,1];else{S&&(a=!0,l=1);const n=s,i=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 P=d===s;if(u=u||P,!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++}P=t===s;u=u||P}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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((S=n===s)&&a)a=!1,l=[l,2];else{S&&(a=!0,l=2);const n=s,i=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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.sourceExpression){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((S=n===s)&&a)a=!1,l=[l,3];else{S&&(a=!0,l=3);const n=s,i=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 S;if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(S=n===s)&&a?(a=!1,l=[l,4]):S&&(a=!0,l=4)}}}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}g=k=n===s}if(!g){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const v=s;let T=!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&&"camunda:errorEventDefinition"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var C=M===s;if(s=v,null!==o&&(v?o.length=v:o=null),C){const n=s,i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.errorRef){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",keyword:"required",params:{missingProperty:"errorRef"},message:"must have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(c===s&&(a=!0,l=0),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires errorRef"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}T=C=n===s}if(!T){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must 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={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.properties.binding.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/"+r+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.event&&"string"!=typeof e.event){const e={instancePath:t+"/"+r+"/binding/event",schemaPath:"#/allOf/1/items/properties/binding/properties/event/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.scriptFormat&&"string"!=typeof e.scriptFormat){const e={instancePath:t+"/"+r+"/binding/scriptFormat",schemaPath:"#/allOf/1/items/properties/binding/properties/scriptFormat/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={instancePath:t+"/"+r+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.target&&"string"!=typeof e.target){const e={instancePath:t+"/"+r+"/binding/target",schemaPath:"#/allOf/1/items/properties/binding/properties/target/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.expression&&"boolean"!=typeof e.expression){const e={instancePath:t+"/"+r+"/binding/expression",schemaPath:"#/allOf/1/items/properties/binding/properties/expression/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("all"!==n&&"local"!==n){const e={instancePath:t+"/"+r+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.properties.binding.properties.variables.enum},message:"must 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={instancePath:t+"/"+r+"/binding/sourceExpression",schemaPath:"#/allOf/1/items/properties/binding/properties/sourceExpression/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r&&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 i in e)if(e[i].length){const a={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():X2.allOf[1].items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t,schemaPath:"#/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return e3.errors=o,0===s}const t3={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'}},{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"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},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"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","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/allOf/1/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."}}}};function n3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const f=s;let m=!0;const g=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&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=g===s;if(s=f,null!==o&&(f?o.length=f:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must 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.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/items/allOf/0/then")||"/"!==n.schemaPath[20]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/then/errorMessage",keyword:"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}m=a=e===s}if(!m){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const y=s;let v=!0;const b=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!K2(e.property,Z2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=b===s;if(s=y,null!==o&&(y?o.length=y:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};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}v=l=e===s}if(!v){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/id",schemaPath:"#/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=Q2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():Y2.errorMessage[i][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={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=Q2[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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():Y2.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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const w=s;let x=!0;const _=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){const e=s,t=s;if("Number"!==n.type){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 d=_===s;if(s=w,null!==o&&(w?o.length=w:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:t3.items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}x=d=e===s}if(!x){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/items/properties/value/type",keyword:"type",params:{type:t3.items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(J2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?J2.errors:o.concat(J2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/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 i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():t3.items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(h=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var h;if((h=p===s)&&a?(a=!1,l=[l,1]):h&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return n3.errors=o,0===s}function r3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={instancePath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",keyword:"type",params:{type:"integer"},message:"must be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={instancePath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",keyword:"type",params:{type:H2.allOf[0].properties.deprecated.type},message:"must 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={instancePath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!W2.test(e)){const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must 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 r=0;r<e;r++){let e=n[r];if("string"==typeof e){if(!G2.test(e)){const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===t+"/appliesTo/"+r&&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 i in e)if(e[i].length){const a={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():H2.allOf[0].properties.appliesTo.items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must 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(!G2.test(e)){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():H2.allOf[0].properties.elementType.properties.value.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(r=Q2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():H2.allOf[0].properties.elementType.errorMessage[r][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={instancePath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={instancePath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",keyword:"type",params:{type:"boolean"},message:"must 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 r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"label"},message:"must have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/groups/"+r+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={instancePath:t+"/groups/"+r+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/type",keyword:"type",params:{type:"object"},message:"must 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(r)+'"'},label:function(){return'missing label for group "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/groups/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(i=Q2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():H2.allOf[0].properties.groups.items.errorMessage[i][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={instancePath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!W2.test(n)){const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():H2.allOf[0].properties.documentationRef.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(r=Q2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/allOf/0/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():H2.allOf[0].errorMessage[r][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&&(e3(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?e3.errors:o.concat(e3.errors),s=o.length)),void 0!==e.scopes){let n=e.scopes;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];const k=s;let E=!0;const O=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=O===s;if(s=k,null!==o&&(k?o.length=k:o=null),a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.id){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"id"},message:"must 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.instancePath!==t+"/scopes/"+r&&(0!==e.instancePath.indexOf(t+"/scopes/"+r)||"/"!==e.instancePath[t+"/scopes/"+r.length])||0!==e.schemaPath.indexOf("#/properties/scopes/items/allOf/0/then")||"/"!==e.schemaPath[38]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid scope "+JSON.stringify(e&&e.type)+", missing id"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}E=a=n===s}if(!E){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/required",keyword:"required",params:{missingProperty:"properties"},message:"must 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={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("camunda:Connector"!==n&&"bpmn:Error"!==n){const e={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/enum",keyword:"enum",params:{allowedValues:H2.properties.scopes.items.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/type")||"/"!==n.instancePath[t+"/scopes/"+r+5])||0!==n.schemaPath.indexOf("#/properties/scopes/items/properties/type")||"/"!==n.schemaPath[41]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid scope type "+JSON.stringify(n)+"; must be any of { camunda:Connector, bpmn:Error }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.properties){let n=e.properties;if(n3(n,{instancePath:t+"/scopes/"+r+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?n3.errors:o.concat(n3.errors),s=o.length),Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let k=!0;const E=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&&"property"!==t.type){const e={};null===o?o=[e]:o.push(e),s++}}var l=E===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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[0].then.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"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}}k=l=n===s}if(!k){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!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&&"camunda:executionListener"!==t.type){const e={};null===o?o=[e]:o.push(e),s++}}var c=S===s;if(s=O,null!==o&&(O?o.length=O: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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[1].then.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"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&&"script"!==n.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(h===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",keyword:"not",params:{},message:"must 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 f=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",keyword:"required",params:{missingProperty:"scriptFormat"},message:"must have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((p=f===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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/implementationType",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}P=c=n===s}if(!P){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const C=s;let T=!0;const M=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=M===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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[2].then.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/errorMessage",keyword:"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={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const A=s;let D=!0;const N=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=N===s;if(s=A,null!==o&&(A?o.length=A: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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[3].then.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/errorMessage",keyword:"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}}D=d=n===s}if(!D){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"camunda:outputParameter"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var f=d===s;if(s=p,null!==o&&(p?o.length=p:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"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=f=e===s}if(!u){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const k=s;let E=!0;const O=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&&"camunda:in"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var m=O===s;if(s=k,null!==o&&(k?o.length=k:o=null),m){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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"target"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"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}E=m=e===s}if(!E){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const P=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&&"camunda:out"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var y=C===s;if(s=P,null!==o&&(P?o.length=P:o=null),y){const e=s,a=s;let l=!1,c=null;const p=s,u=s,d=s,h=s;let f=!1;const m=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=m===s;if(f=f||v,!f){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;f=f||v}if(f)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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(x=p===s)&&(l=!0,c=0);const g=s,_=s,k=s,E=s;let O=!1;const P=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=P===s;if(O=O||b,!O){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;O=O||b}if(O)s=E,null!==o&&(E?o.length=E:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(k===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=_,null!==o&&(_?o.length=_:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((x=g===s)&&l)l=!1,c=[c,1];else{x&&(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 w=h===s;if(d=d||w,!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++}w=e===s;d=d||w}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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((x=e===s)&&l)l=!1,c=[c,2];else{x&&(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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.sourceExpression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((x=e===s)&&l)l=!1,c=[c,3];else{x&&(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 x;if(p===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(x=e===s)&&l?(l=!1,c=[c,4]):x&&(l=!0,c=4)}}}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/errorMessage",keyword:"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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const T=s;let M=!0;const A=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&&"camunda:errorEventDefinition"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var _=A===s;if(s=T,null!==o&&(T?o.length=T:o=null),_){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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",keyword:"required",params:{missingProperty:"errorRef"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/errorMessage",keyword:"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}M=_=e===s}if(!M){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.properties.binding.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/name",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.event&&"string"!=typeof n.event){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/event",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/event/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.scriptFormat&&"string"!=typeof n.scriptFormat){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/scriptFormat",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/scriptFormat/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.source&&"string"!=typeof n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/source",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.target&&"string"!=typeof n.target){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/target",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/target/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.expression&&"boolean"!=typeof n.expression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/expression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/expression/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("all"!==e&&"local"!==e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/enum",keyword:"enum",params:{allowedValues:U2.items.properties.binding.properties.variables.enum},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/sourceExpression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/sourceExpression/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/scopes/"+r+"/properties/"+i&&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={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:e[a]},message:a in n?n[a]():U2.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={instancePath:t+"/scopes/"+r+"/properties",schemaPath:"#/definitions/properties/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const n={required:{type:[],properties:[]}},i={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.instancePath===t+"/scopes/"+r&&e.keyword in n&&0===e.schemaPath.indexOf("#/properties/scopes/items")&&/^\/[^\/]*$/.test(e.schemaPath.slice(25))&&(a=Q2[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=i[e]&&i[e][a],c={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/errorMessage",keyword:"errorMessage",params:{errors:l},message:n?n():H2.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={instancePath:t+"/scopes",schemaPath:"#/properties/scopes/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}return r3.errors=o,0===s}function i3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;r3(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?r3.errors:o.concat(r3.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)r3(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?r3.errors:o.concat(r3.errors),s=o.length)}else{const e={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return i3.errors=o,0===s}var o3=$2(q2.exports),s3={},a3={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",'"':'"',"/":"/","\\":"\\"},l3="a".charCodeAt();s3.parse=function(e,t,n){var r={},i=0,o=0,s=0,a=n&&n.bigint&&"undefined"!=typeof BigInt;return{data:l("",!0),pointers:r};function l(t,n){var r;c(),g(t,"value");var i=d();switch(i){case"t":u("rue"),r=!0;break;case"f":u("alse"),r=!1;break;case"n":u("ull"),r=null;break;case'"':r=p();break;case"[":r=function(e){c();var t=[],n=0;if("]"==d())return t;h();for(;;){var r=e+"/"+n;t.push(l(r)),c();var i=d();if("]"==i)break;","!=i&&w(),c(),n++}return t}(t);break;case"{":r=function(e){c();var t={};if("}"==d())return t;h();for(;;){var n=v();'"'!=d()&&w();var r=p(),i=e+"/"+w3(r);y(i,"key",n),g(i,"keyEnd"),c(),":"!=d()&&w(),c(),t[r]=l(i),c();var o=d();if("}"==o)break;","!=o&&w(),c()}return t}(t);break;default:h(),"-0123456789".indexOf(i)>=0?r=function(){var t="",n=!0;"-"==e[s]&&(t+=d());t+="0"==e[s]?d():m(),"."==e[s]&&(t+=d()+m(),n=!1);"e"!=e[s]&&"E"!=e[s]||(t+=d(),"+"!=e[s]&&"-"!=e[s]||(t+=d()),t+=m(),n=!1);var r=+t;return a&&n&&(r>Number.MAX_SAFE_INTEGER||r<Number.MIN_SAFE_INTEGER)?BigInt(t):r}():b()}return g(t,"valueEnd"),c(),n&&s<e.length&&b(),r}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,i++;break;default:break e}s++}}function p(){for(var e,t="";'"'!=(e=d());)"\\"==e?(e=d())in a3?t+=a3[e]:"u"==e?t+=f():w():t+=e;return t}function u(e){for(var t=0;t<e.length;t++)d()!==e[t]&&w()}function d(){x();var t=e[s];return s++,o++,t}function h(){s--,o--}function f(){for(var e=4,t=0;e--;){t<<=4;var n=d().toLowerCase();n>="a"&&n<="f"?t+=n.charCodeAt()-l3+10:n>="0"&&n<="9"?t+=+n:w()}return String.fromCharCode(t)}function m(){for(var t="";e[s]>="0"&&e[s]<="9";)t+=d();if(t.length)return t;x(),b()}function g(e,t){y(e,t,v())}function y(e,t,n){r[e]=r[e]||{},r[e][t]=n}function v(){return{line:i,column:o,pos:s}}function b(){throw new SyntaxError("Unexpected token "+e[s]+" in JSON at position "+s)}function w(){h(),b()}function x(){if(s>=e.length)throw new SyntaxError("Unexpected end of JSON input")}},s3.stringify=function(e,t,n){if(p3(e)){var r,i,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," "),r=a,i=a;break;case"string":s=s.slice(0,10),r=0,i=0;for(var l=0;l<s.length;l++){switch(s[l]){case" ":i++;break;case"\t":i+=4;break;case"\r":i=0;break;case"\n":i=0,o++;break;default:throw new Error("whitespace characters not allowed in JSON")}r++}break;default:s=void 0}var c="",p={},u=0,d=0,h=0,f=n&&n.es6&&"function"==typeof Map;return function e(t,n,r){switch(y(r,"value"),typeof t){case"number":case"bigint":case"boolean":m(""+t);break;case"string":m(y3(t));break;case"object":null===t?m("null"):"function"==typeof t.toJSON?m(y3(t.toJSON())):Array.isArray(t)?i():f?t.constructor.BYTES_PER_ELEMENT?i():t instanceof Map?a():t instanceof Set?a(!0):o():o()}function i(){if(t.length){m("[");for(var i=n+1,o=0;o<t.length;o++){o&&m(","),g(i);var s=p3(t[o])?t[o]:null;e(s,i,r+"/"+o)}g(n),m("]")}else m("[]")}function o(){var i=Object.keys(t);if(i.length){m("{");for(var o=n+1,a=0;a<i.length;a++){var l=i[a],c=t[l];if(p3(c)){a&&m(",");var p=r+"/"+w3(l);g(o),y(p,"key"),m(y3(l)),y(p,"keyEnd"),m(":"),s&&m(" "),e(c,o,p)}}g(n),m("}")}else m("{}")}function a(i){if(t.size){m("{");for(var o=n+1,a=!0,l=t.entries(),c=l.next();!c.done;){var p=c.value,u=p[0],d=!!i||p[1];if(p3(d)){a||m(","),a=!1;var h=r+"/"+w3(u);g(o),y(h,"key"),m(y3(u)),y(h,"keyEnd"),m(":"),s&&m(" "),e(d,o,h)}c=l.next()}g(n),m("}")}else m("{}")}y(r,"valueEnd")}(e,0,""),{json:c,pointers:p}}function m(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=i):d+=i,h+=r;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 c3=["number","bigint","boolean","string","object"];function p3(e){return c3.indexOf(typeof e)>=0}var u3=/"|\\/g,d3=/[\b]/g,h3=/\f/g,f3=/\n/g,m3=/\r/g,g3=/\t/g;function y3(e){return'"'+(e=e.replace(u3,"\\$&").replace(h3,"\\f").replace(d3,"\\b").replace(f3,"\\n").replace(m3,"\\r").replace(g3,"\\t"))+'"'}var v3=/~/g,b3=/\//g;function w3(e){return e.replace(v3,"~0").replace(b3,"~1")}function x3(e,t){const n=function(e){return s3.stringify(e,null,2).pointers}(e),r=t(e);let i=t.errors;return i&&i.length&&(v(i,_3),i=function(e){return y(e,(function(e){return"if"!==e.keyword}))}(i),v(i,(function(e){!function(e,t){const n=e.instancePath,r=t[n];e.dataPointer=r}(e,n)}))),{valid:r,object:e,errors:i}}function _3(e){const t=e.params;t&&t.errors&&(t.rawErrors=t.errors,delete t.errors)}var k3={exports:{}};k3.exports=I3,k3.exports.default=I3;const E3={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"]}}]}}}},{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"zeebe:calledElement"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{anyOf:[{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{const:"bpmn:CallActivity"}}}}},{required:["appliesTo"],properties:{appliesTo:{const:["bpmn:CallActivity"]}}}]}}]}],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}}}}}},O3=new RegExp("^(https|http)://.*","u"),P3=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),S3=new RegExp("^(https?|data):.*","u"),C3={required:"missingProperty",dependencies:"property",dependentRequired:"property"},T3=F2.default,M3={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'}},{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"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},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"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","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/allOf/1/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."}}}},{$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","Number"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }'}}}},{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","zeebe:calledElement"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean","Number"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }"}}}},{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","Number","Boolean"],errorMessage:'feel is only supported for "String", "Text", "Number" and "Boolean" 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"]}}},{if:{properties:{type:{enum:["String","Text"]}},required:["feel"]},then:{properties:{feel:{enum:["optional","required"]}}}},{if:{properties:{feel:{const:"required"}},required:["feel"]},then:{properties:{value:{type:"string"}}}}],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}},{if:{properties:{type:{const:"zeebe:calledElement"}},required:["type"]},then:{properties:{property:{const:"processId"}},required:["property"]}},{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","zeebe:calledElement"],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",description:"Indicates whether the property can be a feel expression",enum:["optional","required","static"]},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#}"'}}}}]},A3={required:["property"],properties:{property:{const:{$data:"2/id"}}}},D3={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 N3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must 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 f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:D3.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(d=!0,h=0);const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:D3.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((g=m===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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must 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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(r=C3[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():D3.errorMessage[r][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={instancePath:t,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:D3.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/allMatch/"+r+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:D3.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=C3[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():D3.errorMessage[i][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={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return N3.errors=o,0===s}function R3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const f=s;let m=!0;const g=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&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=g===s;if(s=f,null!==o&&(f?o.length=f:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must 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.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.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={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",keyword:"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}m=a=e===s}if(!m){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const y=s;let v=!0;const b=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!T3(e.property,A3.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=b===s;if(s=y,null!==o&&(y?o.length=y:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[36]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};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}v=l=e===s}if(!v){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/id",schemaPath:"#/allOf/0/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:D3.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:D3.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=C3[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():D3.errorMessage[i][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={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:D3.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:D3.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=C3[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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():D3.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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const w=s;let x=!0;const _=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){const e=s,t=s;if("Number"!==n.type){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 d=_===s;if(s=w,null!==o&&(w?o.length=w:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:M3.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}x=d=e===s}if(!x){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/properties/value/type",keyword:"type",params:{type:M3.allOf[0].items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/allOf/0/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/allOf/0/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/0/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(N3(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?N3.errors:o.concat(N3.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/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 i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():M3.allOf[0].items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(h=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var h;if((h=p===s)&&a?(a=!1,l=[l,1]):h&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/allOf/0/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const i=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&&"property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var f=l===s;if(s=i,null!==o&&(i?o.length=i: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&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e&&"Number"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[0].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}a=f=e===s}if(!a){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"zeebe:calledElement"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var m=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),m){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&&"Number"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[1].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},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, Boolean, Number }"};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=m=e===s}if(!p){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!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&&!0!==n.optional){const e={};null===o?o=[e]:o.push(e),s++}var g=T===s;if(s=d,null!==o&&(d?o.length=d:o=null),g){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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must 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={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[2].then.properties.binding.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}}h=g=e===s}if(!h){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const M=s;let A=!0;const D=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&&!0!==n.optional){const e={};null===o?o=[e]:o.push(e),s++}var y=D===s;if(s=M,null!==o&&(M?o.length=M:o=null),y){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={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/required",keyword:"required",params:{missingProperty:"notEmpty"},message:"must have required property 'notEmpty'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.notEmpty){if(!1!==e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/const",keyword:"const",params:{allowedValue:!1},message:"must 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.instancePath!==t+"/"+r+"/constraints/notEmpty"&&(0!==n.instancePath.indexOf(t+"/"+r+"/constraints/notEmpty")||"/"!==n.instancePath[t+"/"+r+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={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/errorMessage",keyword:"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}}}}A=y=e===s}if(!A){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const N=s;let R=!0;const j=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(null!==n.feel){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 v=j===s;if(s=N,null!==o&&(N?o.length=N:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/4/then/required",keyword:"required",params:{missingProperty:"type"},message:"must 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&&"Number"!==e&&"Boolean"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[4].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+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={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:'feel is only supported for "String", "Text", "Number" and "Boolean" 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}}}R=v=e===s}if(!R){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const I=s;let L=!0;const z=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(null!==n.language){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 b=z===s;if(s=I,null!==o&&(I?o.length=I:o=null),b){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){if("Text"!==n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[5].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+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={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/errorMessage",keyword:"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}}L=b=e===s}if(!L){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/5/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const B=s;let $=!0;const q=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.value){const e={};null===o?o=[e]:o.push(e),s++}var w=q===s;if(s=B,null!==o&&(B?o.length=B:o=null),w){const e=s,i=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={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/6/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);$=w=e===s}if(!$){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/6/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const F=s;let V=!0;const H=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 x=H===s;if(s=F,null!==o&&(F?o.length=F:o=null),x){const e=s,i=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={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/7/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);V=x=e===s}if(!V){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/7/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const U=s;let W=!0;const G=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.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var _=G===s;if(s=U,null!==o&&(U?o.length=U:o=null),_){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.feel){let e=n.feel;if("optional"!==e&&"required"!==e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/allOf/8/then/properties/feel/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[8].then.properties.feel.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}W=_=e===s}if(!W){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/8/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const Q=s;let X=!0;const Z=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&&"required"!==n.feel){const e={};null===o?o=[e]:o.push(e),s++}var k=Z===s;if(s=Q,null!==o&&(Q?o.length=Q:o=null),k){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/1/items/allOf/9/then/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}X=k=e===s}if(!X){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/9/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const i=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 E=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),E){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}a=E=n===s}if(!a){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"zeebe:output"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var O=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),O){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}p=O=n===s}if(!p){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=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&&"zeebe:taskHeader"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var P=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),P){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.key){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/required",keyword:"required",params:{missingProperty:"key"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires key"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}h=P=n===s}if(!h){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=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&&"zeebe:taskDefinition"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var S=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),S){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/required",keyword:"required",params:{missingProperty:"property"},message:"must 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={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/properties/property/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.properties.binding.allOf[3].then.properties.property.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}g=S=n===s}if(!g){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const v=s;let b=!0;const w=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&&"zeebe:calledElement"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var C=w===s;if(s=v,null!==o&&(v?o.length=v:o=null),C){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/then/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"processId"!==e.property){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/then/properties/property/const",keyword:"const",params:{allowedValue:"processId"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}b=C=n===s}if(!b){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must 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={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must 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&&"zeebe:calledElement"!==n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.properties.binding.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/"+r+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={instancePath:t+"/"+r+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.key&&"string"!=typeof e.key){const e={instancePath:t+"/"+r+"/binding/key",schemaPath:"#/allOf/1/items/properties/binding/properties/key/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.optional&&"boolean"!=typeof n.optional){const e={instancePath:t+"/"+r+"/optional",schemaPath:"#/allOf/1/items/properties/optional/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/properties/feel/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("optional"!==e&&"required"!==e&&"static"!==e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/properties/feel/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.properties.feel.enum},message:"must 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={instancePath:t+"/"+r+"/language",schemaPath:"#/allOf/1/items/properties/language/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"uuid"!==e.type){const e={instancePath:t+"/"+r+"/generatedValue/type",schemaPath:"#/allOf/1/items/properties/generatedValue/properties/type/const",keyword:"const",params:{allowedValue:"uuid"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.tooltip&&"string"!=typeof n.tooltip){const e={instancePath:t+"/"+r+"/tooltip",schemaPath:"#/allOf/1/items/properties/tooltip/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must 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(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(i=C3[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():M3.allOf[1].items.errorMessage[i][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={instancePath:t,schemaPath:"#/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return R3.errors=o,0===s}function j3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={instancePath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",keyword:"type",params:{type:"integer"},message:"must be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={instancePath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",keyword:"type",params:{type:E3.allOf[0].properties.deprecated.type},message:"must 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={instancePath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!O3.test(e)){const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must 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 r=0;r<e;r++){let e=n[r];if("string"==typeof e){if(!P3.test(e)){const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===t+"/appliesTo/"+r&&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 i in e)if(e[i].length){const a={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():E3.allOf[0].properties.appliesTo.items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must 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(!P3.test(e)){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():E3.allOf[0].properties.elementType.properties.value.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(r=C3[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():E3.allOf[0].properties.elementType.errorMessage[r][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={instancePath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={instancePath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",keyword:"type",params:{type:"boolean"},message:"must 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 r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"label"},message:"must have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/groups/"+r+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={instancePath:t+"/groups/"+r+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/type",keyword:"type",params:{type:"object"},message:"must 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(r)+'"'},label:function(){return'missing label for group "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/groups/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(i=C3[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():E3.allOf[0].properties.groups.items.errorMessage[i][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={instancePath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!O3.test(n)){const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():E3.allOf[0].properties.documentationRef.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(r=C3[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/allOf/0/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():E3.allOf[0].errorMessage[r][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 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&&"bpmn:Message#property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var p=r===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={instancePath:t,schemaPath:"#/allOf/1/allOf/0/then/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const r=s;let i=!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=r,null!==o&&(r?o.length=r:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/then/required",keyword:"required",params:{missingProperty:"eventDefinition"},message:"must have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}i=d=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must 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={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/properties/value/enum",keyword:"enum",params:{allowedValues:E3.allOf[1].allOf[0].then.properties.elementType.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}l=u=n===s}if(!l){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const h=s;let f=!0;const m=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 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&&"bpmn:Message#zeebe:subscription#property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var g=r===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=m===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={instancePath:t,schemaPath:"#/allOf/1/allOf/1/then/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const r=s;let i=!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=r,null!==o&&(r?o.length=r:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/then/required",keyword:"required",params:{missingProperty:"eventDefinition"},message:"must have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}i=v=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must 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={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/properties/value/enum",keyword:"enum",params:{allowedValues:E3.allOf[1].allOf[1].then.properties.elementType.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}f=y=n===s}if(!f){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=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 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&&"zeebe:calledElement"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var _=r===s;if(_)break}if(_)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var k=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),k){const n=s,r=s;let i=!1;const a=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};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={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"bpmn:CallActivity"!==n.value){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/properties/elementType/properties/value/const",keyword:"const",params:{allowedValue:"bpmn:CallActivity"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}}}var E=a===s;if(i=i||E,!i){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.appliesTo&&!T3(e.appliesTo,E3.allOf[1].allOf[2].then.anyOf[1].properties.appliesTo.const)){const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/1/allOf/2/then/anyOf/1/properties/appliesTo/const",keyword:"const",params:{allowedValue:E3.allOf[1].allOf[2].then.anyOf[1].properties.appliesTo.const},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}E=n===s;i=i||E}if(i)s=r,null!==o&&(r?o.length=r:o=null);else{const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};null===o?o=[e]:o.push(e),s++}w=k=n===s}if(!w){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&(R3(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?R3.errors:o.concat(R3.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={instancePath:t+"/icon",schemaPath:"#/properties/icon/required",keyword:"required",params:{missingProperty:"contents"},message:"must 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(!S3.test(e)){const e={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/pattern",keyword:"pattern",params:{pattern:"^(https?|data):.*"},message:'must match pattern "^(https?|data):.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():E3.properties.icon.properties.contents.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/icon",schemaPath:"#/properties/icon/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{contents:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/icon"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon")&&/^\/[^\/]*$/.test(n.schemaPath.slice(17))&&(r=C3[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/icon",schemaPath:"#/properties/icon/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():E3.properties.icon.errorMessage[r][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={instancePath:t+"/elementType/eventDefinition",schemaPath:"#/properties/elementType/allOf/0/allOf/0/properties/eventDefinition/enum",keyword:"enum",params:{allowedValues:E3.properties.elementType.allOf[0].allOf[0].properties.eventDefinition.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}const r=s;let i=!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 O=a===s;if(s=r,null!==o&&(r?o.length=r:o=null),O){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/required",keyword:"required",params:{missingProperty:"value"},message:"must 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={instancePath:t+"/elementType/value",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/properties/value/enum",keyword:"enum",params:{allowedValues:E3.properties.elementType.allOf[0].allOf[1].then.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}i=O=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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 r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.tooltip&&"string"!=typeof e.tooltip){const e={instancePath:t+"/groups/"+r+"/tooltip",schemaPath:"#/properties/groups/items/properties/tooltip/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.openByDefault&&"boolean"!=typeof e.openByDefault){const e={instancePath:t+"/groups/"+r+"/openByDefault",schemaPath:"#/properties/groups/items/properties/openByDefault/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}}}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}return j3.errors=o,0===s}function I3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;j3(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?j3.errors:o.concat(j3.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)j3(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?j3.errors:o.concat(j3.errors),s=o.length)}else{const e={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return I3.errors=o,0===s}var L3,z3=$2(k3.exports);function B3(e,t){return(t=t||document).querySelector(e)}function $3(e){this.cache=e}"undefined"!=typeof document&&((L3=document.createElement("div")).innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',L3.getElementsByTagName("link").length,L3=void 0),$3.prototype.resolveRule=function(e,t){return this.resolve("rule",e,t)},$3.prototype.resolveConfig=function(e,t){return this.resolve("config",e,t)},$3.prototype.resolve=function(e,t,n){const r=`${t}/${n}`,i=this.cache[`${e}:${r}`];if(!i)throw new Error(`unknown ${e} <${r}>`);return i};const q3="zeebe:modelerTemplate";function F3(e){const t=ro(e);if(t)return t.get(q3)}function V3(e){const t=ro(e);if(t)return t.get("zeebe:modelerTemplateVersion")}function H3(e,t){const n=ro(e);let r;if(r=to(n,"bpmn:ExtensionElements")?n:n.get("extensionElements"),r)return r.get("values").find((e=>to(e,t)))}function U3(e,t){return e.get("properties").find((e=>e.name===t.name))}function W3(e,t){return e.get("inputParameters").find((e=>e.target===t.name))}function G3(e,t){return e.get("outputParameters").find((e=>e.source===t.source))}function Q3(e,t){return e.get("values").find((e=>e.key===t.key))}function X3(e){if(to(e,"bpmn:Event")){const t=e.get("eventDefinitions");if(!t||!t.length)return;e=t[0]}if(e)return e.get("messageRef")}function Z3(e){if(void 0!==e.value)return e.value;if(e.generatedValue){const{type:t}=e.generatedValue;if("uuid"===t)return L2()}}const Y3="camunda:modelerTemplate";function K3(e){const t=ro(e);if(t)return t.get(Y3)}let J3=class{constructor(e,t,n,r){this._commandStack=e,this._eventBus=t,this._injector=r,this._modeling=n,this._templates={}}get(e,t){const n=this._templates;let r;return s(e)?null:h(e)?(s(t)&&(t="_"),n[e]&&n[e][t]?n[e][t]:null):(r=e,this.get(this._getTemplateId(r),this._getTemplateVersion(r)))}getDefault(e){return m(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 r=this._templates[t].latest.version;(s(r)||e.version>r)&&(this._templates[t].latest=e)}))}_getTemplateVerions(e,t={}){const{latest:n,deprecated:i}=t,o=this._templates,s=e=>{const{latest:t,...r}=e;return n?!i&&t.deprecated?[]:[t]:O(r)};if(l(e))return r(O(o).map(s));if(p(e)){const n=e;return y(this._getTemplateVerions(null,t),(function(e){return no(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 K3(e)}_getTemplateVersion(e){return function(e){const t=ro(e);if(t)return t.get("camunda:modelerTemplateVersion")}(e)}applyTemplate(e,t){let n="apply",r={element:e,newTemplate:t};const i=this.get(e);i&&!t&&(n="unlink",r={element:e}),t&&i&&t.id===i.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:i};return this._commandStack.execute("propertiesPanel.camunda.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,r),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)}};J3.$inject=["commandStack","eventBus","modeling","injector"];class e5 extends J3{constructor(e,t,n,r,i){super(t,n,r,i),this._templateElementFactory=e}_getTemplateId(e){return F3(e)}_getTemplateVersion(e){return V3(e)}createElement(e){if(!e)throw new Error("template is missing");return this._templateElementFactory.create(e)}applyTemplate(e,t){let n="apply",r={element:e,newTemplate:t};const i=this.get(e);i&&!t&&(n="unlink",r={element:e}),t&&i&&t.id===i.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:i};return this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,r),o.element}}e5.$inject=["templateElementFactory","commandStack","eventBus","modeling","injector"];const t5="0.17.2",n5=["bpmn:Activity","bpmn:Event","bpmn:Gateway"];let r5=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,r=e.version||"_",i=e.$schema&&i5(e.$schema);if(i&&B2(t5,i)<0)return this._logError(`unsupported element template schema version <${i}>. Your installation only supports up to version <${t5}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][r])return"_"===r?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${r}> already used`,e);const o=this._validateElementType(e);if(o)return o;const s=x3(e,o3);const{errors:a,valid:l}=s;return l||(t=new Error("invalid template"),o5(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 r of n)if(!this._canMorph(r,t))return this._logError(`can not morph <${r}> 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=n5.find((t=>this._isType(e,t)));return!!n&&this._isType(t,n)}_logError(e,t){if(h(e)){if(t){const{id:n,name:r}=t;e=`template(id: <${n}>, name: <${r}>): ${e}`}e=new Error(e)}return this._errors.push(e),e}getErrors(){return this._errors}getValidTemplates(){return this._validTemplates}};function i5(e){const t=e.match(/\d+\.\d+\.\d+/g);return null===t?void 0:t[0]}function o5(e){return y(e,(e=>{const{instancePath:t,keyword:n}=e;return"errorMessage"===n||!("type"!==n||!t||t.startsWith("/scopes/"))}))}const s5="0.19.2";class a5 extends r5{constructor(e){super(e)}_validateTemplate(e){let t;const n=e.id,r=e.version||"_",i=e.$schema,o=i&&i5(i);if(!i)return this._logError("missing $schema attribute.",e);if(!this.isSchemaValid(i))return this._logError(`unsupported $schema attribute <${i}>.`,e);if(o&&B2(s5,o)<0)return this._logError(`unsupported element template schema version <${o}>. Your installation only supports up to version <${s5}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][r])return"_"===r?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${r}> already used`,e);const s=this._validateElementType(e);if(s)return s;const a=x3(e,z3);const{errors:l,valid:c}=a;return c||(t=new Error("invalid template"),o5(l).forEach((t=>{this._logError(t.message,e)}))),t}isSchemaValid(e){return e&&e.includes("@camunda/zeebe-element-templates-json-schema")}}let l5=class{constructor(e,t,n,r){this._loadTemplates=e,this._eventBus=t,this._elementTemplates=n,this._moddle=r,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,r=new r5(n).addAll(e),i=r.getErrors(),o=r.getValidTemplates();t.set(o),i.length&&this.templateErrors(i),this.templatesChanged()}templatesChanged(){this._eventBus.fire("elementTemplates.changed")}templateErrors(e){this._eventBus.fire("elementTemplates.errors",{errors:e})}};l5.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];class c5 extends l5{constructor(e,t,n,r){super(e,t,n,r),this._elementTemplates=n}setTemplates(e){const t=this._elementTemplates,n=this._moddle,r=new a5(n).addAll(e),i=r.getErrors(),o=r.getValidTemplates();t.set(o),i.length&&this.templateErrors(i),this.templatesChanged()}}function p5(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function u5(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function d5(e,t){return function(e,t){return(e||[]).filter((e=>to(e,t)))}(u5(e).get("rootElements"),t)}function h5(e,t,n){const{name:r}=e;return n.create("zeebe:Input",{source:t,target:r})}function f5(e,t,n){const{source:r}=e;return n.create("zeebe:Output",{source:r,target:t})}function m5(e,t,n){const{key:r}=e;return n.create("zeebe:Header",{key:r,value:t})}function g5(e={},t){return t.create("zeebe:TaskDefinition",e)}function y5(e,t="",n){const{name:r}=e;return n.create("zeebe:Property",{name:r,value:t})}function v5(e,t){const{optional:n}=t;return e||!n}function b5(e,t,n){const r=ro(e);let i=r.get("extensionElements");i||(i=p5("bpmn:ExtensionElements",{},r,n),r.set("extensionElements",i));let o=H3(i,t);return o||(o=n.create(t),o.$parent=i,i.get("values").push(o)),o}c5.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];const w5="property",x5="zeebe:input",_5="zeebe:output",k5="zeebe:property",E5="zeebe:taskDefinition:type",O5="zeebe:taskDefinition",P5="zeebe:taskHeader",S5="bpmn:Message#property",C5="bpmn:Message#zeebe:subscription#property",T5="zeebe:calledElement",M5=[C5,x5,_5,k5,E5,O5,P5,T5],A5=[E5,O5],D5=[x5,_5],N5=[S5,C5],R5=[w5,S5];function j5(e){return e.type===E5?"type":e.property}function I5(e,t){const n=t.get("modeling"),r=t.get("canvas"),i=t.get("bpmnjs"),o=r.getRootElement(),s=i.getDefinitions(),a=s.get("rootElements"),l=a.filter((t=>t!==e));l.length!==a.length&&n.updateModdleProperties(o,s,{rootElements:l})}function L5(e){const t=ro(e);return to(t,"bpmn:Event")?t.get("eventDefinitions")[0]:t}let z5=class{constructor(e,t,n,r,i){this._bpmnFactory=e,this._bpmnReplace=t,this._modeling=r,this._commandStack=n,this._injector=i}preExecute(e){let t=e.newTemplate,n=e.oldTemplate,r=e.element;this._updateZeebeModelerTemplate(r,t),this._updateZeebeModelerTemplateIcon(r,t),t&&(r=e.element=this._updateElementType(r,n,t),this._updateProperties(r,n,t),this._updateZeebeTaskDefinition(r,n,t),this._updateZeebeInputOutputParameterProperties(r,n,t),this._updateZeebeTaskHeaderProperties(r,n,t),this._updateZeebePropertyProperties(r,n,t),this._updateMessage(r,n,t),this._updateCalledElement(r,n,t))}_getOrCreateExtensionElements(e,t=ro(e)){const n=this._bpmnFactory,r=this._modeling;let i=t.get("extensionElements");return i||(i=n.create("bpmn:ExtensionElements",{values:[]}),i.$parent=t,r.updateModdleProperties(e,t,{extensionElements:i})),i}_updateZeebeModelerTemplate(e,t){const n=this._modeling,r=t&&t.id,i=t&&t.version;F3(e)===r&&V3(e)===i||n.updateProperties(e,{"zeebe:modelerTemplate":r,"zeebe:modelerTemplateVersion":i})}_updateZeebeModelerTemplateIcon(e,t){const n=this._modeling,r=t&&t.icon,i=r&&r.contents;(function(e){const t=ro(e);if(t)return t.get("zeebe:modelerTemplateIcon")})(e)!==i&&n.updateProperties(e,{"zeebe:modelerTemplateIcon":i})}_updateProperties(e,t,n){const r=this._commandStack,i=ro(e),o=n.properties.filter((e=>"property"===e.binding.type)),s=t&&t.properties.filter((e=>"property"===e.binding.type&&!o.find((t=>t.binding.name===e.binding.name))))||[];if(s.length){const t=s.reduce(((e,t)=>(e[t.binding.name]=void 0,e)),{});r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:t})}o.length&&o.forEach((n=>{const o=$5(t,n),s=n.binding.name,a=Z3(n);let l={};q5(i,o,n)||(l[s]=a,r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:l}))}))}_updateZeebeTaskDefinition(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return A5.includes(t)})),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:TaskDefinition");if(!o.length)return void i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}});o.forEach((n=>{const o=$5(t,n),l=Z3(n),c=j5(n.binding);if(a){if(!q5(a,o,n)){const t={[c]:l};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:t})}}else{a=g5({[c]:l},r),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}}));(t&&t.properties.filter((e=>{const t=e.binding.type;return A5.includes(t)&&!o.find((t=>t.binding.property===e.binding.property))}))||[]).forEach((t=>{const n={[t.binding.property]:void 0};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:n})}))}_updateZeebeInputOutputParameterProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return"zeebe:input"===t||"zeebe:output"===t})),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:IoMapping");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:IoMapping"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("zeebe:inputParameters")?a.get("zeebe:inputParameters").slice():[],c=a.get("zeebe:outputParameters")?a.get("zeebe:outputParameters").slice():[];let p;o.forEach((n=>{const o=$5(t,n),u=B5(s,n),d=Z3(n),h=n.binding,f=h.type;let m,g;u?((v5(d,n)||q5(u,o,n))&&(to(u,"zeebe:Input")?V5(l,u):V5(c,u)),q5(u,o,n)||(g=to(u,"zeebe:Input")?{source:d}:{target:d},i.execute("element.updateModdleProperties",{element:e,moddleElement:u,properties:g}))):v5(d,n)&&("zeebe:input"===f?(p="inputParameters",m=h5(h,d,r)):(p="outputParameters",m=f5(h,d,r)),m.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{[p]:[...a.get(p),m]}}))})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{inputParameters:b(a.get("inputParameters"),(e=>l.includes(e)))}}),c.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{outputParameters:b(a.get("outputParameters"),(e=>c.includes(e)))}})}_updateZeebeTaskHeaderProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>"zeebe:taskHeader"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:TaskHeaders");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:TaskHeaders"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("zeebe:values")?a.get("zeebe:values").slice():[];o.forEach((n=>{const o=$5(t,n),c=B5(s,n),p=Z3(n),u=n.binding;if(c){if(!q5(c,o,n)){const t={value:p};i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:t})}V5(l,c)}else if(p){const t=m5(u,p,r);t.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:[...a.get("values"),t]}})}})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:b(a.get("values"),(e=>l.includes(e)))}})}_updateZeebePropertyProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>"zeebe:property"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:Properties");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:Properties"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("properties")?a.get("properties").slice():[];o.forEach((n=>{const o=$5(t,n),c=B5(s,n),p=Z3(n),u=n.binding;if(c)(v5(p,n)||q5(c,o,n))&&V5(l,c),q5(c,o,n)||i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{value:p}});else if(v5(p,n)){const t=y5(u,p,r);t.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{properties:[...a.get("properties"),t]}})}})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{properties:b(a.get("properties"),(e=>l.includes(e)))}})}_updateMessage(e,t,n){this._updateMessageProperties(e,t,n),this._updateMessageZeebeSubscriptionProperties(e,t,n),this._updateZeebeModelerTemplateOnReferencedElement(e,t,n),n.properties.some((e=>N5.includes(e.binding.type)))||function(e,t){const n=t.get("modeling"),r=L5(e);if(!r)return;const i=X3(r);i&&(n.updateModdleProperties(e,r,{messageRef:void 0}),I5(i,t))}(e,this._injector)}_updateMessageProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===S5)),i=t&&t.properties.filter((e=>e.binding.type===S5&&!r.find((t=>t.binding.name===e.binding.name))))||[];let o=this._getMessage(e);o&&i.forEach((t=>{this._modeling.updateModdleProperties(e,o,{[t.binding.name]:void 0})})),r.length&&(o=this._getOrCreateMessage(e,n),r.forEach((n=>{const r=$5(t,n),i=n.binding.name,s=Z3(n),a=o;let l={};q5(a,r,n)||(l[i]=s,this._modeling.updateModdleProperties(e,a,l))})))}_updateMessageZeebeSubscriptionProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===C5)),i=t&&t.properties.filter((e=>e.binding.type===C5&&!r.find((t=>t.binding.name===e.binding.name))))||[];if(!r.length&&!i.length)return;const o=this._getOrCreateMessage(e,n),s=this._getOrCreateExtensionElements(e,o),a=this._getSubscription(e,o),l=r.reduce(((e,n)=>{const r=$5(t,n),i=n.binding.name,o=Z3(n);return q5(a,r,n)||(e[i]=o),e}),{});if(a)this._modeling.updateModdleProperties(e,a,l);else{const t=p5("zeebe:Subscription",l,o,this._bpmnFactory);this._modeling.updateModdleProperties(e,s,{values:[...s.get("values"),t]})}if(!t||!a)return;const c=i.reduce(((e,t)=>(e[t.binding.name]=void 0,e)),{});this._modeling.updateModdleProperties(e,a,c)}_updateZeebeModelerTemplateOnReferencedElement(e,t,n){const r=X3(ro(e));r&&F3(r)!==n.id&&this._modeling.updateModdleProperties(e,r,{"zeebe:modelerTemplate":n.id})}_getSubscription(e,t){const n=H3(this._getOrCreateExtensionElements(e,t),"zeebe:Subscription");if(n)return n}_getOrCreateMessage(e,t){return this._getMessage(e)||this._createMessage(e,t)}_createMessage(e,t){let n=ro(e);to(n,"bpmn:Event")&&(n=n.get("eventDefinitions")[0]);const r=this._bpmnFactory.create("bpmn:Message",{"zeebe:modelerTemplate":t.id});return r.$parent=u5(n),this._modeling.updateModdleProperties(e,n,{messageRef:r}),r}_getMessage(e){let t=ro(e);return to(t,"bpmn:Event")&&(t=t.get("eventDefinitions")[0]),t&&t.get("messageRef")}_updateCalledElement(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>e.binding.type===T5)),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:CalledElement");if(!o.length)return void i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}});o.forEach((n=>{const o=$5(t,n),l=Z3(n),c=n.binding.property;if(a){if(!q5(a,o,n)){const t={[c]:l};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:t})}}else{a=function(e={},t){return t.create("zeebe:CalledElement",e)}({[c]:l},r),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}}));(t&&t.properties.filter((e=>e.binding.type===T5&&!o.find((t=>t.binding.property===e.binding.property))))||[]).forEach((t=>{const n={[t.binding.property]:void 0};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:n})}))}_updateElementType(e,t,n){const r=n.elementType;if(!r)return e;const i=t&&t.elementType||{value:e.type};if(i&&i.value===r.value&&i.eventDefinition===r.eventDefinition)return e;const o={type:r.value};r.eventDefinition&&(o.eventDefinitionType=r.eventDefinition);return this._bpmnReplace.replaceElement(e,o)}};function B5(e,t){const n=ro(e),r=t.binding,i=r.type;if(A5.includes(i))return H3(n,"zeebe:TaskDefinition");if("zeebe:input"===i||"zeebe:output"===i){const e=H3(n,"zeebe:IoMapping");if(!e)return;return"zeebe:input"===i?m(e.get("zeebe:inputParameters"),(function(e){return e.get("zeebe:target")===r.name})):m(e.get("zeebe:outputParameters"),(function(e){return e.get("zeebe:source")===r.source}))}if("zeebe:taskHeader"===i){const e=H3(n,"zeebe:TaskHeaders");if(!e)return;return m(e.get("zeebe:values"),(function(e){return e.get("zeebe:key")===r.key}))}if("zeebe:property"===i){const e=H3(n,"zeebe:Properties");if(!e)return;return e.get("properties").find((e=>e.get("name")===r.name))}}function $5(e,t){if(!e)return;const n=e.properties,r=t.binding,i=r.name,o=r.type;return"property"===o?m(n,(function(e){const t=e.binding,n=t.name;return"property"===t.type&&n===i})):A5.includes(o)?m(n,(function(e){return j5(e.binding)===j5(r)})):"zeebe:input"===o?m(n,(function(e){const t=e.binding,n=t.name;if("zeebe:input"===t.type)return n===i})):"zeebe:output"===o?m(n,(function(e){const t=e.binding;if("zeebe:output"===t.type)return t.source===r.source})):"zeebe:taskHeader"===o?m(n,(function(e){const t=e.binding;if("zeebe:taskHeader"===t.type)return t.key===r.key})):"zeebe:property"===o?n.find((e=>{const t=e.binding;if("zeebe:property"===t.type)return t.name===r.name})):o===S5?n.find((e=>{const t=e.binding;if(t.type===S5)return t.name===r.name})):o===C5?n.find((e=>{const t=e.binding;if(t.type===C5)return t.name===r.name})):void 0}function q5(e,t,n){if("Hidden"===n.type)return!1;if("Dropdown"===n.type){const t=F5(e,n);return n.choices&&n.choices.some((e=>e.value===t))}return t?function(e,t){const n=t.value;return F5(e,t)!==n}(e,t):!!F5(e,n)}function F5(e,t){const n=ro(e);if(!n)return;const r=t.binding,i=r.name,o=r.type;return"property"===o?n.get(i):A5.includes(o)?n.get(j5(r)):"zeebe:input"===o?n.get("zeebe:source"):"zeebe:output"===o?n.get("zeebe:target"):"zeebe:taskHeader"===o||"zeebe:property"===o?n.get("zeebe:value"):o===S5||o===C5?n.get(i):void 0}function V5(e,t){const n=e.indexOf(t);return s(n)||e.splice(n,1),e}z5.$inject=["bpmnFactory","bpmnReplace","commandStack","modeling","injector"];class H5{constructor(e,t,n,r,i,o,s){this._modeling=e,this._elementFactory=t,this._elementRegistry=n,this._canvas=r,this._bpmnFactory=i,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=ro(e),r=n.$type,i=this._getEventDefinitionType(n),o=this._createBlankBusinessObject(e);return t.replaceElement(e,{type:r,businessObject:o,eventDefinitionType:i},{createElementsBehavior:!1})}_removeRootTemplate(e){var t=this._modeling,n=this._elementFactory,r=this._elementRegistry,i=this._canvas;if(Ns(e)){const t=Ms(e),n=r.get(t);if(n&&n!==e)return i.setRootElement(i.findRoot(n)),this._removeTemplate(n)}const o=ro(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=ro(e),r=t.create(n.$type),i=Ro(e);return i?(to(e,"bpmn:Group")&&(r.categoryValueRef=t.create("bpmn:CategoryValue")),jo({businessObject:r},i),r):r}}H5.$inject=["modeling","elementFactory","elementRegistry","canvas","bpmnFactory","replace","commandStack"];class U5{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}}U5.$inject=["commandStack"];let W5=class{constructor(e,t,n){e.registerHandler("element-templates.multi-command-executor",U5),e.registerHandler("propertiesPanel.zeebe.changeTemplate",z5),e.registerHandler("propertiesPanel.removeTemplate",H5),n.on(["commandStack.shape.create.postExecuted"],(function(n){const{context:{hints:r={},shape:i}}=n;!1!==r.createElementsBehavior&&G5(i,t,e)})),n.on(["commandStack.connection.create.postExecuted"],(function(n){const{context:{hints:r={},connection:i}}=n;!1!==r.createElementsBehavior&&G5(i,t,e)}))}};function G5(e,t,n){if(!t.get(e)&&t.getDefault(e)){const r="propertiesPanel.zeebe.changeTemplate",i={element:e,newTemplate:t.getDefault(e)};n.execute(r,i)}}W5.$inject=["commandStack","elementTemplates","eventBus"];var Q5={__init__:["elementTemplateCommands"],elementTemplateCommands:["type",W5]};class X5{static create(e,t){const{property:n}=t,{binding:r}=n,{name:i}=r,o=Z3(n);ro(e)[i]=o}}class Z5{static create(e,t){const{property:n,bpmnFactory:r}=t,i=Z3(n),o=j5(n.binding);b5(e,"zeebe:TaskDefinition",r).set(o,i)}}class Y5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=Z3(n),s=b5(e,"zeebe:IoMapping",r);if(!v5(o,n))return;const a=h5(i,o,r);a.$parent=s,s.get("inputParameters").push(a)}}class K5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=Z3(n),s=b5(e,"zeebe:IoMapping",r);if(!v5(o,n))return;const a=f5(i,o,r);a.$parent=s,s.get("outputParameters").push(a)}}class J5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=Z3(n),s=b5(e,"zeebe:TaskHeaders",r),a=m5(i,o,r);a.$parent=s,s.get("values").push(a)}}class e4{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=Z3(n),s=b5(e,"zeebe:Properties",r);if(!v5(o,n))return;const a=y5(i,o,r);a.$parent=s,s.get("properties").push(a)}}class t4{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=Z3(r);let a=ro(e);to(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":F3(e)}),a.set("messageRef",l)),l.set(o,s)}}class n4{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=Z3(r);let a=ro(e);to(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":F3(e)}),a.set("messageRef",l));const c=b5(l,"zeebe:Subscription",n);v5(s,r)&&c.set(o,s)}}class r4{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,{property:o}=i,s=Z3(n),a=b5(e,"zeebe:CalledElement",r);!function(e){e.set("propagateAllChildVariables",!1),e.set("propagateAllParentVariables",!1)}(a),a.set(o,s)}}const i4=["Boolean","Integer","String"];function o4(e,t,n){let r=ro(e);const i="",{binding:o}=t,{name:a,property:l,type:c}=o;if("property"===c){const e=r.get(a);return s(e)?i:e}if(A5.includes(c)){const e=H3(r,"zeebe:TaskDefinition");if(e){if(c===E5)return e.get("type");if(c===O5)return e.get(l)}return i}if(D5.includes(c)){const e=H3(r,"zeebe:IoMapping");if(!e)return i;if(c===x5){const t=W3(e,o);return t?t.get("source"):i}if(c===_5){const t=G3(e,o);return t?t.get("target"):i}}if(c===P5){const e=H3(r,"zeebe:TaskHeaders");if(!e)return i;const t=Q3(e,o);return t?t.get("value"):i}if(c===k5){const e=H3(r,"zeebe:Properties");if(e){const t=U3(e,o);if(t)return t.get("value")}return i}if(c===S5){const e=X3(r),t=e?e.get(a):void 0;return s(t)?i:t}if(c===C5){const e=X3(r);if(e){const t=H3(e,"zeebe:Subscription");if(!s(t?t.get(a):void 0))return t.get(a)}return i}if(c===T5){const e=H3(r,"zeebe:CalledElement");return e?e.get(l):i}throw c4(e,t)}const s4=null;function a4(e,t,n,r,i){let o=ro(n);const{binding:a}=r,{name:l,type:c}=a;let p,u;const d=[],h={element:n,property:r};if(N5.includes(c)){to(o,"bpmn:Event")&&(o=o.get("eventDefinitions")[0]);let t=X3(o);t||(t=e.create("bpmn:Message",{"zeebe:modelerTemplate":F3(n)}),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{messageRef:t}}})),o=t}if(M5.includes(c)&&(p=o.get("extensionElements"),p?d.push(s4):(p=p5("bpmn:ExtensionElements",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{extensionElements:p}}}))),R5.includes(c)){const e=o.$descriptor.propertiesByName[l];if(e){const{type:t}=e;if(!i4.includes(t))throw new Error(`cannot set property of type <${t}>`);"Boolean"===t?u=!!i:"Integer"===t?(u=parseInt(i,10),isNaN(u)&&(u=void 0)):u=i||""}else u=i||"";s(u)?d.push(s4):d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{[l]:u}}})}if(A5.includes(c)){const t=H3(p,"zeebe:TaskDefinition"),n={[j5(a)]:i||""};if(t)d.push({cmd:"element.updateModdleProperties",context:{...h,properties:n,moddleElement:t}});else{const t=g5(n,e);t.$parent=o;const r=p.get("values");d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...r,t]}}})}}if(D5.includes(c)){let t=H3(p,"zeebe:IoMapping");if(t||(t=p5("zeebe:IoMapping",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}})),c===x5){const n=W3(t,a),o=t.get("inputParameters").filter((e=>e!==n));if(v5(i,r)){const t=h5(a,i,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{inputParameters:[...o]}}})}if(c===_5){const n=G3(t,a),o=t.get("outputParameters").filter((e=>e!==n));if(v5(i,r)){const t=f5(a,i,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{outputParameters:[...o]}}})}}if(c===P5){let t=H3(p,"zeebe:TaskHeaders");t||(t=p5("zeebe:TaskHeaders",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const n=Q3(t,a),r=t.get("values").filter((e=>e!==n));if(i){const n=m5(a,i,e);d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:[...r,n]}}})}else d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:r}}})}if(c===k5){let t=H3(p,"zeebe:Properties");t||(t=p5("zeebe:Properties",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const s=U3(t,a),l=t.get("properties").filter((e=>e!==s));if(v5(i,r)){const t=y5(a,i,e);l.push(t)}d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{properties:l}}})}if(c===C5){let t=H3(p,"zeebe:Subscription");const r={[l]:i||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:r,moddleElement:t}}):(t=p5("zeebe:Subscription",r,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(c===T5){let t=H3(n,"zeebe:CalledElement");const r={[a.property]:i||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:r,moddleElement:t}}):(t=p5("zeebe:CalledElement",r,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(!d.length)throw c4(n,r);{const e=d.filter((e=>e!==s4));e.length&&t.execute("element-templates.multi-command-executor",e)}}function l4(e,t,n=p4){const{constraints:r={},label:i}=t,{maxLength:o,minLength:s,notEmpty:a}=r;if(a&&function(e){if("string"==typeof e)return!e.trim().length;return void 0===e}(e))return`${i} ${n("must not be empty.")}`;if(o&&(e||"").length>o)return`${i} ${n("must have max length {maxLength}.",{maxLength:o})}`;if(s&&(e||"").length<s)return`${i} ${n("must have min length {minLength}.",{minLength:s})}`;let{pattern:l}=r;if(l){let t;if(h(l)||(t=l.message,l=l.value),!function(e,t){return new RegExp(t).test(e)}(e,l))return t?`${i} ${n(t)}`:`${i} ${n("must match pattern {pattern}.",{pattern:l})}`}}function c4(e,t){const n=ro(e).get("id"),{binding:r}=t,{type:i}=r;return new Error(`unknown binding <${i}> for element <${n}>, this should never happen`)}function p4(e,t){return t=t||{},e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function u4(e,t){const{properties:n}=t,r=n.filter((t=>function(e,t){const{binding:n}=t,{type:r}=n;if("bpmn:Message#zeebe:subscription#property"===r&&"correlationKey"===n.name&&to(e,"bpmn:StartEvent")&&!Oo(e.parent))return!1;return!0}(e,t)&&d4(e,n,t)));return{...t,properties:r}}function d4(e,t,n){const{condition:r}=n;if(!r)return!0;if(r.allMatch){return r.allMatch.every((n=>h4(e,t,n)))}return h4(e,t,r)}function h4(e,t,n){const{property:r,equals:i,oneOf:o,isActive:s}=n;if(void 0!==s){const n=t.find((e=>e.id===r));return n?s?d4(e,t,n):!d4(e,t,n):!s}const a=function(e,t,n){const r=t.find((e=>e.id===n));if(!r)return;return o4(e,r)}(e,t,r);return l=n,c="equals",Object.prototype.hasOwnProperty.call(l,c)?a===i:!!o&&o.includes(a);var l,c}class f4{constructor(e,t){this._bpmnFactory=e,this._elementFactory=t,this._providers={[w5]:X5,[E5]:Z5,[O5]:Z5,"zeebe:property":e4,[x5]:Y5,[_5]:K5,[P5]:J5,[S5]:t4,[C5]:n4,[T5]:r4}}create(e){const{properties:t}=e,n=this._createShape(e);return this._setModelerTemplate(n,e),function(e){const{icon:t}=e;return!(!t||!t.contents)}(e)&&this._setModelerTemplateIcon(n,e),this._applyProperties(n,t),n}_createShape(e){const{appliesTo:t,elementType:n={}}=e,r=this._elementFactory,i={type:n.value||t[0]};n.eventDefinition&&(i.eventDefinitionType=n.eventDefinition);return r.createShape(i)}_ensureExtensionElements(e){const t=this._bpmnFactory,n=ro(e);let r=n.get("extensionElements");return r||(r=t.create("bpmn:ExtensionElements",{values:[]}),r.$parent=n,n.set("extensionElements",r)),r}_setModelerTemplate(e,t){const{id:n,version:r}=t,i=ro(e);i.set("zeebe:modelerTemplate",n),i.set("zeebe:modelerTemplateVersion",r)}_setModelerTemplateIcon(e,t){const{icon:n}=t,{contents:r}=n;ro(e).set("zeebe:modelerTemplateIcon",r)}_applyProperties(e,t){const n=[];t.forEach((r=>this._applyProperty(e,r,t,n)))}_applyProperty(e,t,n,r){if(r.includes(t))return;const i=function(e,t){const{condition:n}=e;if(!n)return[];const r=function(e,t){return m(e,(function(e){return e.id===t}))}(t,n.property);if(r)return[r];return[]}(t,n);i.forEach((t=>this._applyProperty(e,t,n,r))),d4(e,n,t)&&this._bindProperty(t,e),r.push(t)}_bindProperty(e,t){const{binding:n}=e,{type:r}=n;this._providers[r].create(t,{property:e,bpmnFactory:this._bpmnFactory})}}f4.$inject=["bpmnFactory","elementFactory"];var m4={__init__:["templateElementFactory"],templateElementFactory:["type",f4]};class g4 extends _s{constructor(e,t,n,r,i){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=r,this._injector=i,this.preExecute(["element.updateProperties","element.updateModdleProperties","element.move"],this._saveConditionalState,!0,this),this.postExecute(["element.updateProperties","element.updateModdleProperties","propertiesPanel.zeebe.changeTemplate","element.move"],this._applyConditions,!0,this),this.preExecute(["propertiesPanel.zeebe.changeTemplate"],this._ensureConditional,!0,this)}_saveConditionalState(e){const{element:t}=e,n=this._elementTemplates.get(t);n&&(e.oldTemplateWithConditions=u4(t,n))}_applyConditions(e){const{element:t,newTemplate:n,oldTemplateWithConditions:r}=e,i=this._elementTemplates.get(t),o=r||n;if(!i||!o)return;const s=u4(t,i);if(!function(e,t){let n=t.properties;return n.some((t=>!e.properties.find((e=>y4(e,t)))))}(a=s,l=o)&&!function(e,t){const n=function(e,t){let n=t.properties;return n.filter((t=>!e.properties.find((e=>y4(e,t)))))}(t,e);return n.some((e=>!function(e,t){return e.properties.some((e=>b4(t.binding,e.binding)))}(t,e)))}(a,l))return;var a,l;const c={element:t,newTemplate:i,oldTemplate:o};this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",c)}_ensureConditional(e){const{element:t,newTemplate:n}=e;n&&(e.newTemplate=u4(t,n))}}function y4(e,t){return b4(e.binding,t.binding)&&x4(e.condition,t.condition)}function v4(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function b4(e,t){return x4(e=w4(e),t=w4(t))}function w4(e){return e.type===E5?{...e,type:O5,property:"type"}:e}function x4(e,t){return JSON.stringify(e,v4)===JSON.stringify(t,v4)}g4.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory","injector"];let _4=class extends _s{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(t){var n=t.context,r=ro(n.oldShape),i=n.newShape,o=ro(i);if(!r.modelerTemplate)return;const s=o.modelerTemplate,a=o.modelerTemplateVersion,l=e.get(s,a);if(!l)return void e.unlinkTemplate(i);const{appliesTo:c,elementType:p}=l;if(p)return void(to(i,p.value)&&!function(e,t){if(!to(e,"bpmn:Event"))return!1;const{eventDefinition:n}=t,r=ro(e),i=r.get("eventDefinitions");if(!n)return 0!==i.length;return!to(i[0],n)}(i,p)||e.unlinkTemplate(i));const u=c.reduce(((e,t)=>e||to(o,t)),!1);u||e.unlinkTemplate(i)}))}};_4.$inject=["elementTemplates","injector"];class k4 extends _s{constructor(e,t,n,r){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=r,this.postExecute(["element.updateProperties","element.updateModdleProperties"],this._updatePropertiesOrder,!0,this)}_updatePropertiesOrder(e){const{element:t}=e,n=this._elementTemplates.get(t),r=t.businessObject,i=[];if(!n)return;const o=u4(t,n).properties,s=H3(r,"zeebe:Properties");s&&this._updateZeebePropertiesOrder(s,o,i,e);const a=H3(r,"zeebe:IoMapping");a&&(this._updateInputOrder(a,o,i,e),this._updateOutputOrder(a,o,i,e));const l=H3(r,"zeebe:TaskHeaders");if(l&&this._updateTaskHeadersOrder(l,o,i,e),i.length){const e=i.filter((e=>null!==e));e.length&&this._commandStack.execute("element-templates.multi-command-executor",e)}else;}_updateZeebePropertiesOrder(e,t,n,r){const i=e.get("properties");if(i.length<1)return;let o=[...i];P4(o,((e,t)=>e.findIndex((e=>"zeebe:property"==e.binding.type&&e.binding.name===t.get("name")))),t),O4(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{properties:o}}})}_updateInputOrder(e,t,n,r){const i=e.get("inputParameters");if(i.length<1)return;let o=[...i];P4(o,((e,t)=>e.findIndex((e=>"zeebe:input"==e.binding.type&&e.binding.name===t.get("target")))),t),O4(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{inputParameters:o}}})}_updateOutputOrder(e,t,n,r){const i=e.get("outputParameters");if(i.length<1)return;let o=[...i];P4(o,((e,t)=>e.findIndex((e=>"zeebe:output"==e.binding.type&&e.binding.source===t.get("source")))),t),O4(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{outputParameters:o}}})}_updateTaskHeadersOrder(e,t,n,r){const i=e.get("zeebe:values");if(i.length<1)return;let o=[...i];P4(o,((e,t)=>e.findIndex((e=>"zeebe:taskHeader"==e.binding.type&&e.binding.key===t.get("key")))),t),O4(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{values:o}}})}}function E4(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function O4(e,t){return e.every(((e,n)=>function(e,t){return JSON.stringify(e,E4)===JSON.stringify(t,E4)}(e,t[n])))}function P4(e,t,n){return e.sort(((e,r)=>t(n,e)-t(n,r)))}k4.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory"];class S4 extends _s{constructor(e,t,n,r,i,o){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this._injector=r,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&&F3(t)&&(e.descriptor.referencedRootElement=i.copyElement(t,o.create(t.$type)))}))}_handlePropertiesUpdate(e){const{element:t,properties:n}=e;if(!C4(t))return;if(!(q3 in n)||h(n[q3]))return;const r=X3(ro(t));r&&F3(r)&&this._modeling.updateModdleProperties(t,r,{[q3]:null})}_handleReplacement(e){const{oldShape:t,newShape:n}=e,r=F3(t),i=F3(n);if(!C4(t)||!r)return;const o=X3(ro(t));o&&F3(o)&&(C4(n)&&i?this._addMessage(n,o):I5(o,this._injector))}_handleRemoval(e){const{shape:t}=e;if("label"===t.type)return;if(!C4(t))return;if(!F3(t))return;const n=X3(ro(t));n&&F3(n)&&I5(n,this._injector)}_addMessage(e,t){const n=L5(e);this._modeling.updateModdleProperties(e,n,{messageRef:t})}}function C4(e){return no(e,["bpmn:ReceiveTask","bpmn:SendTask","bpmn:Event"])}S4.$inject=["eventBus","elementTemplates","modeling","injector","moddleCopy","bpmnFactory"];class T4 extends _s{constructor(e,t,n,r,i){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(!o4(n,e))return;const t=Z3(e);a4(i,r,n,e,t)}))}),!0)}}T4.$inject=["eventBus","elementTemplates","modeling","commandStack","bpmnFactory"];class M4 extends _s{constructor(e,t,n){super(e),this._modeling=t,this._elementTemplates=n,this.postExecuted(["element.updateProperties","element.updateModdleProperties"],this._ensureNoPropagation,!0,this)}_ensureNoPropagation(e){const{element:t}=e;if(!this._elementTemplates.get(t))return;if(!to(t,"bpmn:CallActivity"))return;const n=H3(t,"zeebe:CalledElement");if(n)for(const e of["propagateAllChildVariables","propagateAllParentVariables"])!1!==n.get(e)&&this._modeling.updateModdleProperties(t,n,{[e]:!1})}}M4.$inject=["eventBus","modeling","elementTemplates"];var A4={__depends__:[Q5,{__init__:["elementTemplatesReplaceBehavior","elementTemplatesConditionalBehavior","elementTemplatesGeneratedValueBehavior","elementTemplatesReferencedElementBehavior","elementTemplatesUpdatePropertiesOrderBehavior","elementTemplatesCalledElementBehavior"],elementTemplatesReplaceBehavior:["type",_4],elementTemplatesConditionalBehavior:["type",g4],elementTemplatesGeneratedValueBehavior:["type",T4],elementTemplatesReferencedElementBehavior:["type",S4],elementTemplatesUpdatePropertiesOrderBehavior:["type",k4],elementTemplatesCalledElementBehavior:["type",M4]},m4],__init__:["elementTemplatesLoader"],elementTemplates:["type",e5],elementTemplatesLoader:["type",c5]};function D4(e){const t=e.metadata,n=e.version;if(t){if(!s(t.created))return N4(t.created);if(!s(t.updated))return N4(t.updated)}return s(n)?null:n}function N4(e){const t=new Date(e),n=t.getFullYear(),r=R4(String(t.getMonth()+1));return R4(String(t.getDate()))+"."+r+"."+n+" "+R4(String(t.getHours()))+":"+R4(String(t.getMinutes()))}function R4(e){return function(e,t,n){for(;e.length<t;)e=n+e;return e}(e,2,"0")}function j4(e={}){const{getTemplateId:t=K3}=e;return function(e){const{id:n,label:r,element:i,entries:o=[]}=e,[s,a]=dW(["groups",n,"open"],!1),l=!o.length;return Vk("div",{class:"bio-properties-panel-group bio-properties-panel-templates-group","data-group-id":"group-"+n,children:[Vk("div",{class:Wk("bio-properties-panel-group-header",{empty:l,open:s&&!l}),onClick:()=>!l&&a(!s),children:[Vk("div",{title:r,class:"bio-properties-panel-group-header-title",children:r}),Vk("div",{class:"bio-properties-panel-group-header-buttons",children:[Vk(L4,{element:i,getTemplateId:t}),!l&&Vk(I4,{open:s})]})]}),Vk("div",{class:Wk("bio-properties-panel-group-entries",{open:s&&!l}),children:o.map((e=>{const{component:t,id:n}=e;return h_(t,{...e,key:n,element:i})}))})]})}}function I4({open:e}){return Vk(fG,{title:"Toggle section",class:"bio-properties-panel-arrow",children:Vk(HU,{class:e?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})}function L4({element:e,getTemplateId:t}){const n=function(e,t,n){const r=n(t),i=e.get(t);if(!r)return{type:"NO_TEMPLATE"};if(!i)return{type:"UNKNOWN_TEMPLATE",templateId:r};if(i.deprecated)return{type:"DEPRECATED_TEMPLATE",template:i};const o=e.getLatest(r,{deprecated:!0})[0];if(o!==i)return{type:"OUTDATED_TEMPLATE",template:i,newerTemplate:o};return{type:"KNOWN_TEMPLATE",template:i}}(cX("elementTemplates"),e,t);return"NO_TEMPLATE"===n.type?Vk(z4,{element:e}):"KNOWN_TEMPLATE"===n.type?Vk(B4,{element:e}):"UNKNOWN_TEMPLATE"===n.type?Vk(q4,{element:e}):"DEPRECATED_TEMPLATE"===n.type?Vk(U4,{element:e,templateState:n}):"OUTDATED_TEMPLATE"===n.type?Vk(V4,{element:e,templateState:n}):void 0}function z4({element:e}){const t=cX("translate"),n=cX("eventBus");return Vk(fG,{title:"Select a template",class:"bio-properties-panel-select-template-button",onClick:()=>n.fire("elementTemplates.select",{element:e}),children:[Vk(UU,{}),Vk("span",{children:t("Select")})]})}function B4({element:e}){const t=cX("translate"),n=cX("elementTemplates"),r=[{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:Vk($4,{}),action:()=>n.removeTemplate(e)}];return Vk(dG,{menuItems:r,class:"bio-properties-panel-applied-template-button",children:Vk(fG,{children:[Vk("span",{children:t("Applied")}),Vk(HU,{class:"bio-properties-panel-arrow-down"})]})})}function $4(){return Vk("span",{class:"bio-properties-panel-remove-template",children:cX("translate")("Remove")})}function q4({element:e}){const t=cX("translate"),n=cX("elementTemplates"),r=[{entry:Vk(F4,{})},{separator:!0},{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:Vk($4,{}),action:()=>n.removeTemplate(e)}];return Vk(dG,{menuItems:r,class:"bio-properties-panel-template-not-found",children:Vk(fG,{children:[Vk("span",{children:t("Not found")}),Vk(HU,{class:"bio-properties-panel-arrow-down"})]})})}function F4(){return Vk("div",{class:"bio-properties-panel-template-not-found-text",children:cX("translate")("The template applied was not found. Therefore, its properties cannot be shown. Unlink to access the data.")})}function V4({element:e,templateState:t}){const{newerTemplate:n}=t,r=cX("translate"),i=cX("elementTemplates"),o=[{entry:Vk(H4,{newerTemplate:n})},{separator:!0},{entry:r("Update"),action:()=>i.applyTemplate(e,n)},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:Vk($4,{}),action:()=>i.removeTemplate(e)}];return Vk(dG,{menuItems:o,class:"bio-properties-panel-template-update-available",children:Vk(fG,{children:[Vk("span",{children:r("Update available")}),Vk(HU,{class:"bio-properties-panel-arrow-down"})]})})}function H4({newerTemplate:e}){return Vk("div",{class:"bio-properties-panel-template-update-available-text",children:cX("translate")("A new version of the template is available: {templateVersion}",{templateVersion:D4(e)})})}function U4({element:e,templateState:t}){const{template:n}=t,r=cX("translate"),i=cX("elementTemplates"),o=[{entry:Vk(W4,{template:n})},{separator:!0},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:Vk($4,{}),action:()=>i.removeTemplate(e)}];return Vk(dG,{menuItems:o,class:"bio-properties-panel-deprecated-template-button",children:Vk(fG,{children:[Vk("span",{children:r("Deprecated")}),Vk(HU,{class:"bio-properties-panel-arrow-down"})]})})}function W4({template:e}){const t=cX("translate"),{message:n=t("This template is deprecated."),documentationRef:r}=e.deprecated;return Vk("div",{class:"bio-properties-panel-deprecated-template-text",children:[n,r&&Vk(m_,{children:[" ",Vk("a",{href:r,children:Vk(G4,{})})]})]})}function G4(){return Vk("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Vk("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 Q4({element:e,elementTemplates:t}){const n=t.get(e);return n?[{id:"template-name",component:X4,template:n},{id:"template-version",component:Z4,template:n},{id:"template-description",component:Y4,template:n}].filter((e=>!!e.component)):[]}function X4({id:e,template:t}){return Vk(K4,{id:e,label:cX("translate")("Name"),content:t.name})}function Z4({id:e,template:t}){const n=cX("translate"),r=D4(t);return r?Vk(K4,{id:e,label:n("Version"),content:r}):null}function Y4({id:e,template:t}){const n=cX("translate"),{description:r}=t;return r?Vk(K4,{id:e,label:n("Description"),content:t.description}):null}function K4({id:e,label:t,content:n}){return Vk("div",{"data-entry-id":e,class:"bio-properties-panel-entry bio-properties-panel-text-entry",children:[Vk("span",{class:"bio-properties-panel-label",children:t}),Vk("span",{class:"bio-properties-panel-text-entry__content",children:n})]})}var J4,e6={};function t6(e,t,n){if(3===e.nodeType){var r="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==t6.options.trim){var i=0===t||t===n.length-1;if((!(r=r.match(/^[\s\n]+$/g)&&"all"!==t6.options.trim?" ":r.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===t6.options.trim||i?"":" "))||" "===r)&&n.length>1&&i)return null}return r}if(1!==e.nodeType)return null;var o=String(e.nodeName).toLowerCase();if("script"===o&&!t6.options.allowScripts)return null;var s,a,l=t6.h(o,function(e){var t=e&&e.length;if(!t)return null;for(var n={},r=0;r<t;r++){var i=e[r],o=i.name,s=i.value;"on"===o.substring(0,2)&&t6.options.allowEvents&&(s=new Function(s)),n[o]=s}return n}(e.attributes),(a=(s=e.childNodes)&&Array.prototype.map.call(s,t6).filter(r6))&&a.length?a:null);return t6.visitor&&t6.visitor(l),l}var n6,r6=function(e){return e},i6={};function o6(e){var t=(e.type||"").toLowerCase(),n=o6.map;n&&n.hasOwnProperty(t)?(e.type=n[t],e.props=Object.keys(e.props||{}).reduce((function(t,n){var r;return t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=e.props[n],t}),{})):e.type=t.replace(/[^a-z0-9-]/i,"")}var s6=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){n6=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,r=e.type,i=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 r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),d=s||this.reviver||this.constructor.prototype.reviver||n6||h_;this.setComponents(o);var h={allowScripts:l,allowEvents:c,trim:p};try{n=function(e,t,n,r,i){var o=function(e,t){var n,r,i,o,s="html"===t?"text/html":"application/xml";"html"===t?(o="body",i="<!DOCTYPE html>\n<html><body>"+e+"</body></html>"):(o="xml",i='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+e+"</xml>");try{n=(new DOMParser).parseFromString(i,s)}catch(e){r=e}if(n||"html"!==t||((n=J4||(J4=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(i),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||r||"Unknown error",a.removeChild(l)),a}}(e,t);if(o&&o.error)throw new Error(o.error);var s=o&&o.body||o;o6.map=r||i6;var a=s&&function(e,t,n,r){return t6.visitor=t,t6.h=n,t6.options=r||e6,t6(e)}(s,o6,n,i);return o6.map=null,a&&a.props&&a.props.children||null}(i,r,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 f=u.hasOwnProperty("className")?"className":"class",m=u[f];return m?m.splice?m.splice(0,0,"markup"):"string"==typeof m?u[f]+=" markup":"object"==typeof m&&(m.markup=!0):u[f]="markup",d("div",u,n||null)},t}(g_);const a6=3,l6=1,c6=["h1","h2","h3","h4","h5","span","em","a","p","div","ul","ol","li","hr","blockquote","img","pre","code","br","strong"],p6=["align","alt","class","href","id","name","rel","target","src"],u6=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,d6=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,h6=document.createElement("form");function f6(e){const t=(new DOMParser).parseFromString(`<!DOCTYPE html>\n<html><body><div>${e}`,"text/html");t.normalize();const n=t.body.firstChild;return n?(m6(n),(new XMLSerializer).serializeToString(n)):""}function m6(e){if(e.nodeType===a6)return;if(e.nodeType!==l6)return e.remove();const t=e.tagName.toLowerCase();if(!c6.includes(t))return e.remove();const n=e.attributes;for(let r=n.length;r--;){const i=n[r],o=i.name,s=o.toLowerCase(),a=i.value.trim();e.removeAttribute(o);g6(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--;)m6(e.childNodes[t])}function g6(e,t,n){return!!p6.includes(t)&&(("id"!==t&&"name"!==t||!(n in document)&&!(n in h6))&&(("target"!==t||"_blank"===n)&&!("href"===t&&!u6.test(n.replace(d6,"")))))}function y6(e){const{tooltip:t}=e;return t&&Vk(s6,{markup:f6(t),trim:!1})}function v6(e,t,n,r){const i=tk(E6(e,t,n,r),[e,t,n,r]),o=tk(k6(n,r),[n,r]),[s,a]=X_(_6(r,o())),l=tk((e=>{!s&&"string"==typeof e&&e.startsWith("=")&&a(!0),!s||"string"==typeof e&&e.startsWith("=")||a(!1)}),[s]),c=tk(((e,t)=>{l(e),i(w6(e,r.type))}),[i,r,l]),p=tk((()=>s?o():x6(o(),r.type)),[o,r,s]);return b6(r)?[p,c]:[o,i]}const b6=e=>["optional","static"].includes(e.feel)&&["Boolean","Number"].includes(e.type),w6=(e,t)=>"string"==typeof e&&e.startsWith("=")?e:"Boolean"===t?"="+!!(e="false"!==e&&e):void 0===e?e:"="+e.toString(),x6=(e,t)=>void 0===e?e:("string"==typeof e&&e.startsWith("=")&&(e=e.slice(1)),"Number"===t?Number(e):"Boolean"===t?"false"!==e:e),_6=(e,t)=>!b6(e)||("Boolean"===e.type?!("=true"===t||"=false"===t):"Number"!==e.type||isNaN(x6(t,e.type)));function k6(e,t){return function(){return o4(e,t)}}function E6(e,t,n,r){return function(i){return a4(e,t,n,r,i)}}function O6(e,t){return n=>l4(n,t,e)}function P6(e){return["zeebe:property","zeebe:taskHeader"].includes(e.binding.type)}function S6(e){const{description:t}=e,n=cX("translate");return t&&Vk(s6,{markup:f6(n(t)),trim:!1})}function C6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,language:l,tooltip:c}=r,p=cX("bpmnFactory"),u=cX("commandStack"),d=cX("debounceInput"),h=cX("translate");return DG({debounce:d,element:t,id:n,label:s,feel:a,monospace:!!l,autoResize:!0,description:S6({description:i}),getValue:k6(t,r),setValue:E6(p,u,t,r),validate:O6(h,r),disabled:!1===o,tooltip:y6({tooltip:c})})}function T6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c=cX("bpmnFactory"),p=cX("commandStack"),u=cX("debounceInput"),d=cX("translate");return IG({debounce:u,element:t,getValue:k6(t,r),id:n,label:s,feel:a,description:S6({description:i}),setValue:E6(c,p,t,r),validate:O6(d,r),disabled:!1===o,tooltip:y6({tooltip:l})})}function M6(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=X_([]),a=cX("eventBus"),l=(c={getVariablesForElement:WQ},cX("variableResolver",!1)||c);var c;return Y_((()=>{const e=()=>{(async()=>{const e=await l.getVariablesForElement(i);s(e.map((e=>({...e,info:e.info||e.origin&&"Written in "+e.origin.map((e=>e.name||e.id)).join(", ")}))))})()};return a.on("commandStack.changed",e),e(),()=>{a.off("commandStack.changed",e)}}),[i]),Vk(e,{...t,variables:o})}}function A6(e){return t=>{const n=ek((()=>{const e=cX("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return Vk(e,{...t,tooltipContainer:n})}}const D6=A6(eG),N6=A6((function(e){return Vk(eG,{class:"bio-properties-panel-feel-textarea",OptionalComponent:KW,...e})})),R6=M6(D6),j6=M6(N6);function I6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c=cX("bpmnFactory"),p=cX("commandStack"),u=cX("debounceInput"),d=cX("translate");return(P6(r)?D6:R6)({debounce:u,element:t,getValue:k6(t,r),id:n,label:s,feel:a,description:S6({description:i}),setValue:E6(c,p,t,r),validate:O6(d,r),disabled:!1===o,tooltip:y6({tooltip:l})})}function L6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c=cX("bpmnFactory"),p=cX("commandStack"),u=cX("debounceInput"),d=cX("translate");return(P6(r)?N6:j6)({debounce:u,element:t,getValue:k6(t,r),id:n,label:s,feel:a,description:S6({description:i}),setValue:E6(c,p,t,r),validate:O6(d,r),disabled:!1===o,tooltip:y6({tooltip:l})})}function z6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a}=r,l=cX("bpmnFactory"),c=cX("commandStack"),p=cX("translate");return SG({element:t,id:n,label:s,getOptions:()=>{const{choices:e,optional:t}=r;let n=[];return n=e.map((({name:e,value:t})=>({label:e,value:t}))),t&&(n=[{label:"",value:void 0},...n]),n},description:S6({description:i}),getValue:k6(t,r),setValue:E6(l,c,t,r),validate:O6(p,r),disabled:!1===o,tooltip:y6({tooltip:a})})}function B6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a,feel:l}=r,c=cX("bpmnFactory"),p=cX("commandStack"),u=cX("debounceInput"),d=cX("translate"),h="optional"===l?nG:kG,[f,m]=v6(c,p,t,r);return h({element:t,debounce:u,translate:d,getValue:f,id:n,label:s,description:S6({description:i}),setValue:m,disabled:!1===o,tooltip:y6({tooltip:a})})}function $6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c="optional"===a?tG:HW,p=cX("bpmnFactory"),d=cX("commandStack"),h=cX("debounceInput"),f=cX("translate"),[m,g]=v6(p,d,t,r),y=tk((e=>{if(b6(r)&&u(e)&&e.toString().includes("e"))return f("Scientific notation is disallowed in FEEL.");return O6(f,r)(e)}),[f,r]);return c({debounce:h,element:t,getValue:m,id:n,label:s,description:S6({description:i}),setValue:g,validate:y,disabled:!1===o,tooltip:y6({tooltip:l})})}function q6(e){const{element:t,elementTemplate:n,injector:r}=e,i=r.get("translate"),o=[],{id:s,properties:a,groups:l}=n,c=function(e){return P(e,"group")}(a),p=[];return v(c,((e,n)=>{const r=function(e,t){return m(e,(e=>e.id===t))}(l,n);if(!r)return p.push(...e);F6(o,{element:t,id:`ElementTemplates__CustomProperties-${n}`,label:i(r.label),openByDefault:r.openByDefault,properties:e,templateId:`${s}-${n}`,tooltip:y6({tooltip:r.tooltip})})})),p.length&&F6(o,{id:"ElementTemplates__CustomProperties",label:i("Custom properties"),element:t,properties:p,templateId:s}),o}function F6(e,t){const{element:n,id:r,label:i,openByDefault:o=!0,properties:s,templateId:a,tooltip:l}=t,c={id:r,label:i,component:yW,entries:[],shouldOpen:o,tooltip:l};s.forEach(((e,t)=>{const n=function(e,t,n){let{type:r,feel:i}=n;r||(r=function(e){const{binding:t}=e,{type:n}=t;if([w5,E5,O5,x5,_5,k5,P5].includes(n))return"String"}(n));if("required"===i)return{id:e,component:I6,isEdited:rG,property:n};if("Number"===r)return{id:e,component:$6,isEdited:UW,property:n};if("Boolean"===r)return{id:e,component:B6,isEdited:EG,property:n};if("Dropdown"===r)return{id:e,component:z6,isEdited:CG,property:n};if("String"===r)return i?{id:e,component:I6,isEdited:rG,property:n}:{id:e,component:T6,isEdited:LG,property:n};if("Text"===r)return i?{id:e,component:L6,isEdited:rG,property:n}:{id:e,component:C6,isEdited:NG,property:n}}(`custom-entry-${a}-${t}`,0,e);n&&c.entries.push(n)})),c.entries.length&&e.push(c)}function V6(e){return to(e,"bpmn:ReceiveTask")?ro(e):function(e,t){return m(ro(e).get("eventDefinitions")||[],(function(e){return to(e,t)}))}(e,"bpmn:MessageEventDefinition")}const H6="",U6="create-new";function W6(e){const{element:t}=e;return function(e){return to(e,"bpmn:ReceiveTask")||no(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!V6(e)}(t)?[{id:"messageRef",component:G6,isEdited:CG}]:[]}function G6(e){const{element:t}=e,r=cX("bpmnFactory"),i=cX("modeling"),o=cX("translate"),s=V6(t);return function(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=hW(i);return Y_((()=>{if(t&&o&&i.length>o.length){const e=B3(`[data-entry-id="${t}"]`),n=B3(".bio-properties-panel-input",e);n&&n.select()}}),[i]),Vk(SG,{...e})}({element:t,id:"messageRef",label:o("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=function(e){const t=V6(e);return t&&t.get("messageRef")}(t);return e?e.get("id"):H6},setValue:e=>{const o=u5(s);let a;if(e===U6){const t=function(e){return new n([32,32,1]).nextPrefixed(e)}("Message_");a=p5("bpmn:Message",{id:t,name:t},o,r),e=a.get("id")}return a=function(e,t,n){return d5(e,t).find((e=>e.id===n))}(s,"bpmn:Message",e)||a,i.updateModdleProperties(t,s,{messageRef:a})},getOptions:()=>{let e=[{value:H6,label:o("<none>")},{value:U6,label:o("Create new ...")}];const n=function(e){return e.filter((e=>!e.get("zeebe:modelerTemplate")))}(d5(ro(t),"bpmn:Message"));var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}const Q6=["general","documentation","multiInstance"];let X6=class{constructor(e,t,n){t.registerProvider(300,this),this._elementTemplates=e,this._injector=n}getGroups(e){return t=>{const n=this._injector;if(function(e,t){const n=function(e,t){return e.find((e=>e.id===t))}(e,"message");if(!n)return;n.entries=(r=n.entries,i=W6({element:t}),r.map((e=>i.find((t=>t.id===e.id))||e)));var r,i}(t,e),!this._shouldShowTemplateProperties(e))return t;const r=n.get("translate");t=t.slice();const i={element:e,id:"ElementTemplates__Template",label:r("Template"),component:j4({getTemplateId:F3}),entries:Q4({element:e,elementTemplates:this._elementTemplates})};Z6(Q6,t,[i]);let o=this._elementTemplates.get(e);if(o){o=u4(e,o);Z6("ElementTemplates__Template",t,[].concat(q6({element:e,elementTemplate:o,injector:n})))}return F3(e)&&(t=function(e,t){if(!e.entriesVisible)return t.filter((e=>Q6.includes(e.id)||e.id.startsWith("ElementTemplates__")));return t}(o||{},t)),t}}_shouldShowTemplateProperties(e){return F3(e)||this._elementTemplates.getAll(e).length}};function Z6(e,t,n){let r=e;Array.isArray(e)||(r=[e]);const i=t.reduce(((e,t,n)=>r.includes(t.id)?n:e),-1);-1!==i?t.splice(i+1,0,...n):t.unshift(...n)}X6.$inject=["elementTemplates","propertiesPanel","injector"];var Y6={__depends__:[A4,{__depends__:[as],__init__:["elementTemplatesPropertiesProvider"],elementTemplatesPropertiesProvider:["type",X6]}]};function K6(){}function J6(e,t){this.model=e,this.properties=t}(class extends _s{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(n){var r=n.context,i=ro(r.oldShape),o=r.newShape,s=ro(o);if(!i.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(to(o,u.value)||e.unlinkTemplate(o,t));const d=p.reduce(((e,t)=>e||to(s,t)),!1);d||e.unlinkTemplate(o,t)}))}}).$inject=["elementTemplates","injector"],K6.prototype.get=function(e){return this.$model.properties.get(this,e)},K6.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},J6.prototype.createType=function(e){var t=this.model,n=this.properties,r=Object.create(K6.prototype);v(e.properties,(function(e){e.isMany||void 0===e.default||(r[e.name]=e.default)})),n.defineModel(r,t),n.defineDescriptor(r,e);var i=e.ns.name;function o(e){n.define(this,"$type",{value:i,enumerable:!0}),n.define(this,"$attrs",{value:{}}),n.define(this,"$parent",{writable:!0}),v(e,I((function(e,t){this.set(t,e)}),this))}return o.prototype=r,o.hasType=r.$instanceOf=this.model.hasType,n.defineModel(o,t),n.defineDescriptor(o,e),o};var e7={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},t7={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 n7(e,t){var n=t7[e];return n?n(t):t}function r7(e){return!!e7[e]}function i7(e){return!!t7[e]}function o7(e,t){var n,r,i=e.split(/:/);if(1===i.length)n=e,r=t;else{if(2!==i.length)throw new Error("expected <prefix:localName> or <localName>, got "+e);n=i[1],r=i[0]}return{name:e=(r?r+":":"")+n,prefix:r,localName:n}}function s7(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function a7(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,v(e,I(this.registerPackage,this))}function l7(e,t,n){var r=t[n];if(r in e)throw new Error("package with "+n+" <"+r+"> already defined")}function c7(e){this.model=e}function p7(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function u7(e){return e.replace(/^:/,"")}function d7(e,t={}){this.properties=new c7(this),this.factory=new J6(this,this.properties),this.registry=new a7(e,this.properties),this.typeCache={},this.config=t}s7.prototype.build=function(){return $(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},s7.prototype.addProperty=function(e,t,n){"boolean"==typeof t&&(n=t,t=void 0),this.addNamedProperty(e,!1!==n);var r=this.properties;void 0!==t?r.splice(t,0,e):r.push(e)},s7.prototype.replaceProperty=function(e,t,n){var r=e.ns,i=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=i.indexOf(e);if(-1===a)throw new Error("property <"+r.name+"> not found in property list");i.splice(a,1),this.addProperty(t,n?void 0:a,s),o[r.name]=o[r.localName]=t},s7.prototype.redefineProperty=function(e,t,n){var r=e.ns.prefix,i=t.split("#"),o=o7(i[0],r),s=o7(i[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},s7.prototype.addNamedProperty=function(e,t){var n=e.ns,r=this.propertiesByName;t&&(this.assertNotDefined(e,n.name),this.assertNotDefined(e,n.localName)),r[n.name]=r[n.localName]=e},s7.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},s7.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},s7.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},s7.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},s7.prototype.assertNotDefined=function(e,t){var n=e.name,r=this.propertiesByName[n];if(r)throw new Error("property <"+n+"> already defined; override of <"+r.definedBy.ns.name+"#"+r.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},s7.prototype.hasProperty=function(e){return this.propertiesByName[e]},s7.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var n=this.allTypesByName,r=this.allTypes,i=e.name;i in n||(v(e.properties,I((function(n){n=L({},n,{name:n.ns.localName,inherited:t}),Object.defineProperty(n,"definedBy",{value:e});var r=n.replaces,i=n.redefines;r||i?this.redefineProperty(n,r||i,r):(n.isBody&&this.setBodyProperty(n),n.isId&&this.setIdProperty(n),this.addProperty(n))}),this)),r.push(e),n[i]=e)},a7.prototype.getPackage=function(e){return this.packageMap[e]},a7.prototype.getPackages=function(){return this.packages},a7.prototype.registerPackage=function(e){e=L({},e);var t=this.packageMap;l7(t,e,"prefix"),l7(t,e,"uri"),v(e.types,I((function(t){this.registerType(t,e)}),this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},a7.prototype.registerType=function(e,t){var n=o7((e=L({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:L(e.meta||{})})).name,t.prefix),r=n.name,i={};v(e.properties,I((function(e){var t=o7(e.name,n.prefix),r=t.name;r7(e.type)||(e.type=o7(e.type,t.prefix).name),L(e,{ns:t,name:r}),i[r]=e}),this)),L(e,{ns:n,name:r,propertiesByName:i}),v(e.extends,I((function(e){var t=o7(e,n.prefix),i=this.typeMap[t.name];i.traits=i.traits||[],i.traits.push(r)}),this)),this.definePackage(e,t),this.typeMap[r]=e},a7.prototype.mapTypes=function(e,t,n){var r=r7(e.name)?{name:e.name}:this.typeMap[e.name],i=this;function o(n,r){var o=o7(n,r7(n)?"":e.prefix);i.mapTypes(o,t,r)}function s(e){return o(e,!0)}if(!r)throw new Error("unknown type <"+e.name+">");v(r.superClass,n?s:function(e){return o(e,!1)}),t(r,!n),v(r.traits,s)},a7.prototype.getEffectiveDescriptor=function(e){var t=o7(e),n=new s7(t);this.mapTypes(t,(function(e,t){n.addTrait(e,t)}));var r=n.build();return this.definePackage(r,r.allTypes[r.allTypes.length-1].$pkg),r},a7.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},c7.prototype.set=function(e,t,n){if(!h(t)||!t.length)throw new TypeError("property name must be a non-empty string");var r=this.getProperty(e,t),i=r&&r.name;void 0===n?r?delete e[i]:delete e.$attrs[u7(t)]:r?i in e?e[i]=n:p7(e,r,n):e.$attrs[u7(t)]=n},c7.prototype.get=function(e,t){var n=this.getProperty(e,t);if(!n)return e.$attrs[u7(t)];var r=n.name;return!e[r]&&n.isMany&&p7(e,n,[]),e[r]},c7.prototype.define=function(e,t,n){if(!n.writable){var r=n.value;delete(n=L({},n,{get:function(){return r}})).value}Object.defineProperty(e,t,n)},c7.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},c7.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},c7.prototype.getProperty=function(e,t){var n=this.model,r=n.getPropertyDescriptor(e,t);if(r)return r;if(t.includes(":"))return null;const i=n.config.strict;if(void 0!==i){const n=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(i)throw n;"undefined"!=typeof console&&console.warn(n)}return null},d7.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},d7.prototype.getType=function(e){var t=this.typeCache,n=h(e)?e:e.ns.name,r=t[n];return r||(e=this.registry.getEffectiveDescriptor(n),r=t[n]=this.factory.createType(e)),r},d7.prototype.createAny=function(e,t,n){var r=o7(e),i={$type:e,$instanceOf:function(e){return e===this.$type},get:function(e){return this[e]},set:function(e,t){z(this,[e],t)}},o={name:e,isGeneric:!0,ns:{prefix:r.prefix,localName:r.localName,uri:t}};return this.properties.defineDescriptor(i,o),this.properties.defineModel(i,this),this.properties.define(i,"get",{enumerable:!1,writable:!0}),this.properties.define(i,"set",{enumerable:!1,writable:!0}),this.properties.define(i,"$parent",{enumerable:!1,writable:!0}),this.properties.define(i,"$instanceOf",{enumerable:!1,writable:!0}),v(n,(function(e,t){p(e)&&void 0!==e.value?i[e.name]=e.value:i[t]=e})),i},d7.prototype.getPackage=function(e){return this.registry.getPackage(e)},d7.prototype.getPackages=function(){return this.registry.getPackages()},d7.prototype.getElementDescriptor=function(e){return e.$descriptor},d7.prototype.hasType=function(e,t){return void 0===t&&(t=e,e=this),t in e.$model.getElementDescriptor(e).allTypesByName},d7.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},d7.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var h7=String.fromCharCode,f7=Object.prototype.hasOwnProperty,m7=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,g7={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function y7(e,t,n,r){return r?f7.call(g7,r)?g7[r]:"&"+r+";":h7(t||parseInt(n,16))}function v7(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(m7,y7):e}Object.keys(g7).forEach((function(e){g7[e.toUpperCase()]=g7[e]}));var b7="non-whitespace outside of root node";function w7(e){return new Error(e)}function x7(e){return"missing namespace for prefix <"+e+">"}function _7(e){return{get:e,enumerable:!0}}function k7(e){var t,n={};for(t in e)n[t]=e[t];return n}function E7(e){return e+"$uri"}function O7(){return{line:0,column:0}}function P7(e){throw e}function S7(e){if(!this)return new S7(e);var t,n,r,i,o,s,a,l,c,p=e&&e.proxy,u=P7,d=O7,h=!1,f=!1,m=null,g=!1;function y(e){e instanceof Error||(e=w7(e)),m=e,u(e,d)}function v(e){o&&(e instanceof Error||(e=w7(e)),o(e,d))}this.on=function(e,c){if("function"!=typeof c)throw w7("required args <name, cb>");switch(e){case"openTag":n=c;break;case"text":t=c;break;case"closeTag":r=c;break;case"error":u=c;break;case"warn":o=c;break;case"cdata":i=c;break;case"attention":l=c;break;case"question":a=c;break;case"comment":s=c;break;default:throw w7("unsupported event: "+e)}return this},this.ns=function(e){if(void 0===e&&(e={}),"object"!=typeof e)throw w7("required args <nsMap={}>");var t,n={};for(t in e)n[t]=e[t];return f=!0,c=n,this},this.parse=function(e){if("string"!=typeof e)throw w7("required args <xml=string>");return m=null,function(e){var o,u,m,b,w,x,_,k,E,O,P,S=f?[]:null,C=f?function(e){var t,n,r={};for(t in e)r[n=e[t]]=n,r[E7(n)]=t;return r}(c):null,T=[],M=0,A=!1,D=!1,N=0,R=0,j="",I=0;function L(){if(null!==P)return P;var e,t,n,r,i,o,s,a,l,p,u,d=f&&C.xmlns,m=f&&h?[]:null,g=I,y=j,b=y.length,w={},x={};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 x)v("attribute <"+a+"> already defined");else if(x[a]=!0,f)if(h){if(null!==(i="xmlns"===a?"xmlns":120===a.charCodeAt(0)&&"xmlns:"===a.substr(0,6)?a.substr(6):null)){if(e=v7(o),t=E7(i),!(s=c[e])){if("xmlns"===i||t in C&&C[t]!==e)do{s="ns"+M++}while(void 0!==C[s]);else s=i;c[e]=s}C[i]!==s&&(r||(C=k7(C),r=!0),C[i]=s,"xmlns"===i&&(C[E7(s)]=e,d=s),C[t]=e),w[a]=o;continue}m.push(a,o)}else-1!==(p=a.indexOf(":"))?(n=C[a.substring(0,p)])?w[a=d===n?a.substr(p+1):n+a.substr(p)]=o:v(x7(a.substring(0,p))):w[a]=o;else w[a]=o}if(h)for(g=0,b=m.length;g<b;g++){if(a=m[g++],o=m[g],-1!==(p=a.indexOf(":"))){if(!(n=C[a.substring(0,p)])){v(x7(a.substring(0,p)));continue}a=d===n?a.substr(p+1):n+a.substr(p)}w[a]=o}return P=w}function z(){for(var t,n,r=/(\r\n|\r|\n)/g,i=0,o=0,s=0,a=R;N>=s&&(t=r.exec(e))&&!((a=t[0].length+t.index)>N);)i+=1,s=a;return-1==N?(o=a,n=e.substring(R)):0===R?n=e.substring(R,N):(o=N-s,n=-1==R?e.substring(N):e.substring(N,R+1)),{data:n,line:i,column:o}}d=z,p&&(O=Object.create({},{name:_7((function(){return k})),originalName:_7((function(){return E})),attrs:_7(L),ns:_7((function(){return C}))}));for(;-1!==R;){if(-1===(N=60===e.charCodeAt(R)?R:e.indexOf("<",R)))return T.length?y("unexpected end of file"):0===R?y("missing start tag"):void(R<e.length&&e.substring(R).trim()&&v(b7));if(R!==N)if(T.length){if(t&&(t(e.substring(R,N),v7,d),g))return}else if(e.substring(R,N).trim()&&(v(b7),g))return;if(33===(w=e.charCodeAt(N+1))){if(91===(b=e.charCodeAt(N+2))&&"CDATA["===e.substr(N+3,6)){if(-1===(R=e.indexOf("]]>",N)))return y("unclosed cdata");if(i&&(i(e.substring(N+9,R),d),g))return;R+=3;continue}if(45===b&&45===e.charCodeAt(N+3)){if(-1===(R=e.indexOf("--\x3e",N)))return y("unclosed comment");if(s&&(s(e.substring(N+4,R),v7,d),g))return;R+=3;continue}}if(63!==w){for(u=N+1;;u++){if(x=e.charCodeAt(u),isNaN(x))return R=-1,y("unclosed tag");if(34===x)u=-1!==(b=e.indexOf('"',u+1))?b:u;else if(39===x)u=-1!==(b=e.indexOf("'",u+1))?b:u;else if(62===x){R=u;break}}if(33!==w){if(P={},47===w){if(A=!1,D=!0,!T.length)return y("missing open tag");if(u=k=T.pop(),b=N+2+u.length,e.substring(N+2,b)!==u)return y("closing tag mismatch");for(;b<R;b++)if(!(32===(w=e.charCodeAt(b))||w>8&&w<14))return y("close tag")}else{if(47===e.charCodeAt(R-1)?(u=k=e.substring(N+1,R-1),A=!0,D=!0):(u=k=e.substring(N+1,R),A=!0,D=!1),!(w>96&&w<123||w>64&&w<91||95===w||58===w))return y("illegal first char nodeName");for(b=1,m=u.length;b<m;b++)if(!((w=u.charCodeAt(b))>96&&w<123||w>64&&w<91||w>47&&w<59||45===w||95===w||46==w)){if(32===w||w<14&&w>8){k=u.substring(0,b),P=null;break}return y("invalid nodeName")}D||T.push(k)}if(f){if(o=C,A&&(D||S.push(o),null===P&&(h=-1!==u.indexOf("xmlns",b))&&(I=b,j=u,L(),h=!1)),E=k,-1!==(w=k.indexOf(":"))){if(!(_=C[k.substring(0,w)]))return y("missing namespace on <"+E+">");k=k.substr(w+1)}else _=C.xmlns;_&&(k=_+":"+k)}if(A&&(I=b,j=u,n&&(p?n(O,v7,D,d):n(k,L,v7,D,d),g)))return;if(D){if(r&&(r(p?O:k,v7,A,d),g))return;f&&(C=A?o:S.pop())}R+=1}else{if(l&&(l(e.substring(N,R+1),v7,d),g))return;R+=1}}else{if(-1===(R=e.indexOf("?>",N)))return y("unclosed question");if(a&&(a(e.substring(N,R+2),d),g))return;R+=2}}}(e),d=O7,g=!1,m},this.stop=function(){g=!0}}function C7(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var T7={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},M7="property";function A7(e){return e.xml&&e.xml.serialize}function D7(e,t){return C7(t)?e.prefix+":"+((n=e.localName).charAt(0).toUpperCase()+n.slice(1)):e.name;var n}function N7(e){return new Error(e)}function R7(e){return e.$descriptor}function j7(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 N7("expected element");var t,n=this.elementsById,r=R7(e).idProperty;if(r&&(t=e.get(r.name))){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(t))throw new Error("illegal ID <"+t+">");if(n[t])throw N7("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function I7(){}function L7(){}function z7(){}function B7(e,t){this.property=e,this.context=t}function $7(e,t){this.element=t,this.propertyDesc=e}function q7(){}function F7(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function V7(e,t,n){F7.call(this,e,t,n)}function H7(e,t,n){this.model=e,this.context=n}function U7(e){e instanceof d7&&(e={model:e}),L(this,{lax:!1},e)}I7.prototype.handleEnd=function(){},I7.prototype.handleText=function(){},I7.prototype.handleNode=function(){},L7.prototype=Object.create(I7.prototype),L7.prototype.handleNode=function(){return this},z7.prototype=Object.create(I7.prototype),z7.prototype.handleText=function(e){this.body=(this.body||"")+e},B7.prototype=Object.create(z7.prototype),B7.prototype.handleNode=function(e){if(this.element)throw N7("expected no sub nodes");return this.element=this.createReference(e),this},B7.prototype.handleEnd=function(){this.element.id=this.body},B7.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},$7.prototype=Object.create(z7.prototype),$7.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=n7(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},q7.prototype=Object.create(z7.prototype),q7.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},F7.prototype=Object.create(q7.prototype),F7.prototype.addReference=function(e){this.context.addReference(e)},F7.prototype.handleText=function(e){if(!R7(this.element).bodyProperty)throw N7("unexpected body text <"+e+">");z7.prototype.handleText.call(this,e)},F7.prototype.handleEnd=function(){var e=this.body,t=this.element,n=R7(t).bodyProperty;n&&void 0!==e&&(e=n7(n.type,e),t.set(n.name,e))},F7.prototype.createElement=function(e){var t,n=e.attributes,r=this.type,i=R7(r),o=this.context,s=new r({}),a=this.model;return v(n,(function(e,n){var r=i.propertiesByName[n];r&&r.isReference?r.isMany?v(e.split(" "),(function(e){o.addReference({element:s,property:r.ns.name,id:e})})):o.addReference({element:s,property:r.ns.name,id:e}):(r?e=n7(r.type,e):"xmlns"===n?n=":"+n:(t=o7(n,i.ns.prefix),a.getPackage(t.prefix)&&o.addWarning({message:"unknown attribute <"+n+">",element:s,property:n,value:e})),s.set(n,e))})),s},F7.prototype.getPropertyForNode=function(e){var t=o7(e.name),n=this.type,r=this.model,i=R7(n),o=t.name,s=i.propertiesByName[o];if(s&&!s.isAttr){const t=function(e){const t=A7(e);return t!==M7&&(t||null)}(s);if(t){const n=e.attributes[t];if(n){const t=function(e,t,n){const r=o7(e,t.xmlns),i=o7(`${t[r.prefix]||r.prefix}:${r.localName}`);return function(e,t){var n=e.name,r=e.localName,i=t&&t.xml&&t.xml.typePrefix;return i&&0===r.indexOf(i)?e.prefix+":"+r.slice(i.length):n}(i,n.getPackage(i.prefix))}(n,e.ns,r);return L({},s,{effectiveType:R7(r.getType(t)).name})}}return s}var a=r.getPackage(t.prefix);if(a){const e=D7(t,a),n=r.getType(e);if(s=m(i.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})),s)return L({},s,{effectiveType:R7(n).name})}else if(s=m(i.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})),s)return s;throw N7("unrecognized element <"+t.name+">")},F7.prototype.toString=function(){return"ElementDescriptor["+R7(this.type).name+"]"},F7.prototype.valueHandler=function(e,t){return new $7(e,t)},F7.prototype.referenceHandler=function(e){return new B7(e,this.context)},F7.prototype.handler=function(e){return"Element"===e?new H7(this.model,e,this.context):new F7(this.model,e,this.context)},F7.prototype.handleChild=function(e){var t,n,r,i;if(t=this.getPropertyForNode(e),r=this.element,i7(n=t.effectiveType||t.type))return this.valueHandler(t,r);var o=(i=t.isReference?this.referenceHandler(t).handleNode(e):this.handler(n).handleNode(e)).element;return void 0!==o&&(t.isMany?r.get(t.name).push(o):r.set(t.name,o),t.isReference?(L(o,{element:r}),this.context.addReference(o)):o.$parent=r),i},V7.prototype=Object.create(F7.prototype),V7.prototype.createElement=function(e){var t=e.name,n=o7(t),r=this.model,i=this.type,o=r.getPackage(n.prefix),s=o&&D7(n,o)||t;if(!i.hasType(s))throw N7("unexpected element <"+e.originalName+">");return F7.prototype.createElement.call(this,e)},H7.prototype=Object.create(q7.prototype),H7.prototype.createElement=function(e){var t=e.name,n=o7(t).prefix,r=e.ns[n+"$uri"],i=e.attributes;return this.model.createAny(t,r,i)},H7.prototype.handleChild=function(e){var t=new H7(this.model,"Element",this.context).handleNode(e),n=this.element,r=t.element;return void 0!==r&&((n.$children=n.$children||[]).push(r),r.$parent=n),t},H7.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},U7.prototype.fromXML=function(e,t,n){var r=t.rootHandler;t instanceof F7?(r=t,t={}):"string"==typeof t?(r=this.handler(t),t={}):"string"==typeof r&&(r=this.handler(r));var i=this.model,o=this.lax,s=new j7(L({},t,{rootHandler:r})),a=new S7({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 r=t(),i=r.line,o=r.column,a=r.data;"<"===a.charAt(0)&&-1!==a.indexOf(" ")&&(a=a.slice(0,a.indexOf(" "))+">");var l="unparsable content "+(a?a+" ":"")+"detected\n\tline: "+i+"\n\tcolumn: "+o+"\n\tnested error: "+e.message;if(n)return s.addWarning({message:l,error:e}),!0;throw N7(l)}function p(e,t){return c(e,t,!0)}r.context=s,l.push(r);var u=/^<\?xml /i,d=/ encoding="([^"]+)"/i,h=/^utf-8$/i;function f(e,t){try{l.peek().handleText(e)}catch(e){p(e,t)}}var m=i.getPackages().reduce((function(e,t){return e[t.uri]=t.prefix,e}),Object.entries(T7).reduce((function(e,[t,n]){return e[n]=t,e}),i.config&&i.config.nsMap||{}));return a.ns(m).on("openTag",(function(e,t,n,r){var i=e.attrs||{},s=Object.keys(i).reduce((function(e,n){var r=t(i[n]);return e[n]=r,e}),{});!function(e,t){var n=l.peek();try{l.push(n.handleNode(e))}catch(e){c(e,t,o)&&l.push(new L7)}}({name:e.name,originalName:e.originalName,attributes:s,ns:e.ns},r)})).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",f).on("text",(function(e,t,n){!function(e,t){e.trim()&&f(e,t)}(t(e),n)})).on("error",c).on("warn",p),new Promise((function(t,n){var i;try{a.parse(e),function(){var e,t,n=s.elementsById,r=s.references;for(e=0;t=r[e];e++){var i=t.element,o=n[t.id],a=R7(i).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=i.get(a.name),c=l.indexOf(t);-1===c&&(c=l.length),o?l[c]=o:l.splice(c,1)}else i.set(a.name,o)}}()}catch(e){i=e}var o=r.element;i||o||(i=N7("failed to parse document as <"+r.type.$descriptor.name+">"));var l=s.warnings,c=s.references,p=s.elementsById;return i?(i.warnings=l,n(i)):t({rootElement:o,elementsById:p,references:c,warnings:l})}))},U7.prototype.handler=function(e){return new V7(this.model,e)};var W7=/<|>|'|"|&|\n\r|\n/g,G7=/<|>|&/g;function Q7(e){this.prefixMap={},this.uriMap={},this.used={},this.wellknown=[],this.custom=[],this.parent=e,this.defaultPrefixMap=e&&e.defaultPrefixMap||{}}function X7(e,t){return C7(t)?function(e){return e.charAt(0).toLowerCase()+e.slice(1)}(e):e}function Z7(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function Y7(e){return h(e)?e:(e.prefix?e.prefix+":":"")+e.localName}Q7.prototype.mapDefaultPrefixes=function(e){this.defaultPrefixMap=e},Q7.prototype.defaultUriByPrefix=function(e){return this.defaultPrefixMap[e]},Q7.prototype.byUri=function(e){return this.uriMap[e]||this.parent&&this.parent.byUri(e)},Q7.prototype.add=function(e,t){this.uriMap[e.uri]=e,t?this.wellknown.push(e):this.custom.push(e),this.mapPrefix(e.prefix,e.uri)},Q7.prototype.uriByPrefix=function(e){return this.prefixMap[e||"xmlns"]||this.parent&&this.parent.uriByPrefix(e)},Q7.prototype.mapPrefix=function(e,t){this.prefixMap[e||"xmlns"]=t},Q7.prototype.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},Q7.prototype.logUsed=function(e){var t=e.uri,n=this.getNSKey(e);this.used[n]=this.byUri(t),this.parent&&this.parent.logUsed(e)},Q7.prototype.getUsed=function(e){return[].concat(this.wellknown,this.custom).filter((e=>{var t=this.getNSKey(e);return this.used[t]}))};var K7={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},J7={"<":"lt",">":"gt","&":"amp"};function e8(e,t,n){return(e=h(e)?e:""+e).replace(t,(function(e){return"&"+n[e]+";"}))}function t8(e){this.tagName=e}function n8(){}function r8(e){this.tagName=e}function i8(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function o8(e,t,n){i8.call(this,e,t),this.serialization=n}function s8(){this.value="",this.write=function(e){this.value+=e}}function a8(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 l8(e){return e=L({format:!1,preamble:!0},e||{}),{toXML:function(t,n){var r=n||new s8,i=new a8(r,e.format);e.preamble&&i.append('<?xml version="1.0" encoding="UTF-8"?>\n');var o=new i8,s=t.$model;if(o.getNamespaces().mapDefaultPrefixes(function(e){const t=e.config&&e.config.nsMap||{},n={};for(const e in T7)n[e]=T7[e];for(const e in t){n[t[e]]=e}for(const t of e.getPackages())n[t.prefix]=t.uri;return n}(s)),o.build(t).serializeTo(i),!n)return r.value}}}function c8(e,t){d7.call(this,e,t)}t8.prototype.build=function(e){return this.element=e,this},t8.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()},n8.prototype.serializeValue=n8.prototype.serializeTo=function(e){e.append(this.escape?e8(this.value,G7,J7):this.value)},n8.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(G7)&&(this.escape=!0),this},Z7(r8,n8),r8.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()},i8.prototype.build=function(e){this.element=e;var t,n,r=e.$descriptor,i=this.propertyDescriptor,o=r.isGeneric;return t=o?this.parseGenericNsAttributes(e):this.parseNsAttributes(e),this.ns=i?this.nsPropertyTagName(i):this.nsTagName(r),this.tagName=this.addTagName(this.ns),o?this.parseGenericContainments(e):(n=function(e){return y(e.$descriptor.properties,(function(t){var n=t.name;if(t.isVirtual)return!1;if(!f(e,n))return!1;var r=e[n];return r!==t.default&&null!==r&&(!t.isMany||r.length)}))}(e),this.parseAttributes(y(n,(function(e){return e.isAttr}))),this.parseContainments(function(e){return y(e,(function(e){return!e.isAttr}))}(n))),this.parseGenericAttributes(e,t),this},i8.prototype.nsTagName=function(e){return function(e,t){return t.isGeneric?L({localName:t.ns.localName},e):L({localName:X7(t.ns.localName,t.$pkg)},e)}(this.logNamespaceUsed(e.ns),e)},i8.prototype.nsPropertyTagName=function(e){return function(e,t){return L({localName:t.ns.localName},e)}(this.logNamespaceUsed(e.ns),e)},i8.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},i8.prototype.nsAttributeName=function(e){var t;if(t=h(e)?o7(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)},i8.prototype.parseGenericNsAttributes=function(e){return Object.entries(e).filter((([t,n])=>!t.startsWith("$")&&this.parseNsAttribute(e,t,n))).map((([e,t])=>({name:e,value:t})))},i8.prototype.parseGenericContainments=function(e){var t=e.$body;t&&this.body.push((new n8).build({type:"String"},t));var n=e.$children;n&&v(n,(e=>{this.body.push(new i8(this).build(e))}))},i8.prototype.parseNsAttribute=function(e,t,n){var r,i=e.$model,o=o7(t);if("xmlns"===o.prefix&&(r={prefix:o.localName,uri:n}),o.prefix||"xmlns"!==o.localName||(r={uri:n}),!r)return{name:t,value:n};if(i&&i.getPackage(n))this.logNamespace(r,!0,!0);else{var s=this.logNamespaceUsed(r,!0);this.getNamespaces().logUsed(s)}},i8.prototype.parseNsAttributes=function(e){var t=this,n=e.$attrs,r=[];return v(n,(function(n,i){var o=t.parseNsAttribute(e,i,n);o&&r.push(o)})),r},i8.prototype.parseGenericAttributes=function(e,t){var n=this;v(t,(function(t){try{n.addAttribute(n.nsAttributeName(t.name),t.value)}catch(n){"undefined"!=typeof console&&console.warn(`missing namespace information for <${t.name}=${t.value}> on`,e,n)}}))},i8.prototype.parseContainments=function(e){var t=this,n=this.body,r=this.element;v(e,(function(e){var i=r.get(e.name),o=e.isReference;if(e.isMany||(i=[i]),e.isBody)n.push((new n8).build(e,i[0]));else if(i7(e.type))v(i,(function(r){n.push(new r8(t.addTagName(t.nsPropertyTagName(e))).build(e,r))}));else if(o)v(i,(function(r){n.push(new t8(t.addTagName(t.nsPropertyTagName(e))).build(r))}));else{var s=A7(e);v(i,(function(r){var i;i=s?s===M7?new i8(t,e):new o8(t,e,s):new i8(t),n.push(i.build(r))}))}}))},i8.prototype.getNamespaces=function(e){var t,n=this.namespaces,r=this.parent;return n||(t=r&&r.getNamespaces(),e||!t?this.namespaces=n=new Q7(t):n=t),n},i8.prototype.logNamespace=function(e,t,n){var r=this.getNamespaces(n),i=e.uri,o=e.prefix;return r.byUri(i)&&!n||r.add(e,t),r.mapPrefix(o,i),e},i8.prototype.logNamespaceUsed=function(e,t){var n,r,i,o=this.getNamespaces(t),s=e.prefix,a=e.uri;if(!s&&!a)return{localName:e.localName};if(i=o.defaultUriByPrefix(s),!(a=a||i||o.uriByPrefix(s)))throw new Error("no namespace uri given for prefix <"+s+">");if((e=o.byUri(a))||s||(e=this.logNamespace({uri:a},i===a,!0)),!e){for(n=s,r=1;o.uriByPrefix(n);)n=s+"_"+r++;e=this.logNamespace({prefix:n,uri:a},i===a)}return s&&o.mapPrefix(s,a),e},i8.prototype.parseAttributes=function(e){var t=this,n=this.element;v(e,(function(e){var r=n.get(e.name);if(e.isReference)if(e.isMany){var i=[];v(r,(function(e){i.push(e.id)})),r=i.join(" ")}else r=r.id;t.addAttribute(t.nsAttributeName(e),r)}))},i8.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),Y7(e)},i8.prototype.addAttribute=function(e,t){var n=this.attrs;h(t)&&(t=e8(t,W7,K7));var r=g(n,(function(t){return t.name.localName===e.localName&&t.name.uri===e.uri&&t.name.prefix===e.prefix})),i={name:e,value:t};-1!==r?n.splice(r,1,i):n.push(i)},i8.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)),v(t,(function(t){e.append(" ").append(Y7(t.name)).append('="').append(t.value).append('"')}))},i8.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==n8;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(n&&e.appendNewLine().indent(),v(this.body,(function(t){t.serializeTo(e)})),n&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()},Z7(o8,i8),o8.prototype.parseNsAttributes=function(e){var t=i8.prototype.parseNsAttributes.call(this,e).filter((e=>e.name!==this.serialization)),n=e.$descriptor;if(n.name===this.propertyDescriptor.type)return t;var r=this.typeNs=this.nsTagName(n);this.getNamespaces().logUsed(this.typeNs);var i=e.$model.getPackage(r.uri),o=i.xml&&i.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(this.serialization),(r.prefix?r.prefix+":":"")+o+n.ns.localName),t},o8.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},c8.prototype=Object.create(d7.prototype),c8.prototype.fromXML=function(e,t,n){h(t)||(n=t,t="bpmn:Definitions");var r=new U7(L({model:this,lax:!0},n)),i=r.handler(t);return r.fromXML(e,i)},c8.prototype.toXML=function(e,t){var n=new l8(t);return new Promise((function(t,r){try{return t({xml:n.toXML(e)})}catch(e){return r(e)}}))};class p8{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 u8(e){return!!function(e){return m8(e,"outputParameters")}(e).length}function d8(e,t){return function(e){return m8(e,"inputParameters")}(e).find((function(e){return e.target===t||e.name===t}))}function h8(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>to(e,t))):r:[]}function f8(e){return g8(e,"zeebe:IoMapping")[0]||g8(e,"camunda:InputOutput")[0]}function m8(e,t){var n=f8(e);return n&&n.get(t)||[]}function g8(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=y(i,(function(e){return to(e,t)})))}return n}function y8(e,t,n){var r=v8(e);if(u8(e))return e;var i=r.find((function(e){return to(e,"bpmn:SubProcess")&&d8(e,n)}));return i||t}function v8(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}class b8{constructor(e,t){this.providers=[],this._eventBus=e,this._bpmnjs=t,this.rawVariables=new p8(this._generateRawVariables.bind(this)),this.parsedVariables=new p8((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 r=e[n],i=[];r.forEach((e=>{const t=i.find((t=>t.name===e.name&&t.scope===e.scope));t?(w8("origin",t,e),w8("provider",t,e),x8(t,e)):i.push(e)})),k8(i),t[n]=i}return t}async _extractor(e){const{elements:t,containerElement:n,processVariables:r}=e,i=this,o=t.flatMap((e=>i.providers.map((async t=>{const i=await t.getVariables(e);i&&i.forEach((i=>{r.push({...E8(i),origin:[e],scope:i.scope||y8(e,n,i.name),provider:[t]})}))}))));await Promise.all(o)}registerProvider(e){this.providers.push(e),this.invalidateCache()}async getProcessVariables(e){const t=ro(e);return(await this.getVariables())[t.id]||[]}async getVariablesForElement(e){const t=ro(e),n=function(e){const t=ro(e);if(to(t,"bpmn:Participant"))return t.processRef;if(to(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!to(n,"bpmn:Process");)n=n.$parent;return n}(t),r=await this.getProcessVariables(n);var i=r.filter((function(e){return e.scope.id===t.id})),o=v8(t);return[...i,...r.filter((function(e){return o.find((function(t){return t.id===e.scope.id}))}))]}}function w8(e,t,n){n[e]||(n[e]=[]),t[e]||(t[e]=[]);const r=n[e].filter((n=>!t[e].includes(n)));t[e].push(...r)}function x8(e,t,n=[]){n.includes(t)||n.includes(e)||(n.push(t),n.push(e),e.type=_8(e.type,t.type,"|"),e.info=_8(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 r=e.entries.find((e=>e.name===t.name));r?x8(r,t,n):e.entries.push(t)}))))}b8.$inject=["eventBus","bpmnjs"];const _8=(e,t,n)=>{if(e&&e!==t){const r=e.split(n);return r.includes(t)||r.push(t),r.join(n)}return t};function k8(e){e&&e.forEach((e=>{e.detail=e.type,k8(e.entries)}))}function E8(e){const t={...e};return t.entries&&(t.entries=t.entries.map(E8)),t}class O8 extends UM{constructor(e={entries:{}}){super(e),this.value.entries=this.value.entries||{};const t=this.value;for(const e in t.entries){t.entries[e]instanceof O8||(t.entries[e]=this.constructor.of(t.entries[e]))}}getKeys(){return Object.keys(this.value.entries)}get(e){const t=this.value.entries[e];return t&&t.atomic?t.atomicValue:t}set(e,t){return this.constructor.of({...this.value,entries:{...this.value.entries,[e]:t}})}static of(...e){const t=e=>this.isAtomic(e)?e instanceof this?e.value:{atomic:!0,atomicValue:e}:{...e};return new this(e.reduce(((e,n)=>{const{entries:r={},...i}=t(n);return{...e,...i,entries:{...e.entries,...r}}}),{}))}}function P8(e){const t=[];return e.forEach((e=>{e.origin.forEach((n=>{const r=function(e,t){const n=h8(t,"zeebe:IoMapping")[0];if(!n)return;let r;r=t===e.scope?n.inputParameters:n.outputParameters;if(!r)return;const i=r.find((t=>t.target===e.name));if(!i||!i.source)return;const o=i.source.substring(1),s=S8(o),a=C8(s);return{expression:o,unresolved:a}}(e,n);if(!r)return;const{expression:i,unresolved:o}=r;t.push({variable:e,expression:i,unresolved:o})}))})),function(e,t){const n=[];e.forEach((e=>{const{variable:t,unresolved:r}=e,i=n.findIndex((({unresolved:e})=>e.includes(t.name)));if(i>-1)return void n.splice(i,0,e);const o=n.findLastIndex((({variable:e})=>r.includes(e.name)));o>-1?n.splice(o+1,0,e):n.push(e)}));const r=t.filter((t=>!e.find((({variable:e})=>{})))),i={name:"OuterContext",entries:T8(r)},o=[];n.forEach((({variable:e,expression:t})=>{const n=S8(t,function(e,t){const n={entries:{}},r=t.origin.flatMap((e=>[e,...v8(e)]));for(const t in e.entries){const i=e.entries[t];r.find((e=>e.id===i.scope.id))&&(n.entries[t]=i)}return n}(i,e));let r=n.computedValue();r instanceof O8||(r=O8.of(r)),r.scope=e.scope,i.entries[e.name]=r,o.push({newVariable:M8({[e.name]:r})[0],oldVariable:e})}));return o.map((({newVariable:e,oldVariable:t})=>t?{...e,...t}:e))}(t,e)}function S8(e,t={}){const n=XM(t,O8);let r=null;const i=new pO({start:n.start,reduce(...e){const t=n.reduce(...e);return r=t,t}});return eA.configure({contextTracker:i}).parse(e),r}function C8(e){const t=[];return t.push(...e.children.flatMap(C8)),"VariableName"!==e.name||e.value||t.push(e.raw),t}function T8(e){if(!e)return;const t={};return e.forEach((e=>{t[e.name]={...e},t[e.name].entries=T8(e.entries)})),t}function M8(e){if(!e)return;const t=[];for(const n in e){let r=e[n];r instanceof O8&&(r=r.value),r?t.push({...A8(r),entries:M8(r.entries),name:n,scope:r.scope}):t.push({name:n})}return t}function A8(e){return{...e,type:D8(e),info:N8(e)}}function D8(e){return e?e.type?e.type:e.entries&&Object.keys(e.entries).length?"Context":e.atomicValue?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(typeof e.atomicValue):"":""}function N8(e){return e?e.info?e.info:e.atomicValue?""+e.atomicValue:"":""}class R8{constructor(e){this._variableResolver=e,this.register()}getVariables(e){}register(){this._variableResolver.registerProvider(this)}}R8.$inject=["variableResolver"];const j8={__init__:["variableResolver","connectorVariableProvider"],variableResolver:["type",class extends b8{constructor(e,t){super(e,t),this._baseExtractor=UQ,e.on("variableResolver.parseVariables",2e3,this._resolveIoMappings)}async getVariablesForElement(e,t){const n=await super.getVariablesForElement(e),r=ro(e);if(!t)return n;const i=f8(r);if(!i)return n;const o=[];if(to(t,"zeebe:Input")){const e=i.inputParameters,n=e.slice(e.indexOf(t)).map((e=>e.target));o.push(...n)}const s=i.outputParameters;if(to(t,"zeebe:Output")){const e=s.slice(s.indexOf(t)).map((e=>e.target));o.push(...e)}else if(s){const e=s.map((e=>e.target));o.push(...e)}return n.filter((e=>e.origin.length>1||e.origin[0]!==r||(!(!to(t,"zeebe:Output")||!e.provider.find((e=>e!==this._baseExtractor)))||!o.includes(e.name))))}_resolveIoMappings(e,t){const n=t.variables,r={};for(const e in n){const t=n[e],i=P8(t);r[e]=[...t,...i]}t.variables=r}}],connectorVariableProvider:["type",class extends R8{getVariables(e){const t=[],n=h8(e,"zeebe:TaskHeaders")[0];if(!n||!n.values)return;const r=n.values,i=r.find((e=>"resultVariable"===e.key)),o=r.find((e=>"resultExpression"===e.key));if(i&&i.value&&t.push({name:i.value}),o&&o.value){const e=M8(S8(o.value.substring(1)).computedValue());e&&e.length>0&&t.push(...e[0].entries)}return t}}]},I8="camundaModeler:exampleOutputJson";function L8(e){const t=z8(e,I8);if(t)return t.get("value")}function z8(e,t){const n=function(e,t){const n=ro(e);let r=[];const i=n.get("extensionElements");if(void 0!==i){const e=i.get("values");void 0!==e&&(r=e.filter((e=>to(e,t))))}return r}(e,"zeebe:Properties");if(0===n.length)return;return n[0].get("properties").find((e=>e.get("name")===t))}function B8(e={}){if("object"==typeof e&&null!==e)return Object.keys(e).map((t=>{let n=e[t];const r={name:t,info:JSON.stringify(n,null,2)};return Array.isArray(n)?(r.isList=!0,r.type="List",n.length>0&&(r.entries=B8(n[0])),r):(r.type=function(e){if(null===e)return"";const t=typeof e;if("object"===t)return"Context";return function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(t)}(n),r.entries=B8(n),r)}))}var $8={__init__:["exampleProvider"],exampleProvider:["type",class extends R8{getVariables(e){const t=L8(e);if(!t)return;const n=function(e){try{const t=JSON.parse(e);return B8(t)}catch(e){return[]}}(t);return n}}]};const q8=e=>{const{element:t}=e,n=cX("debounceInput"),r=cX("translate"),i=cX("commandStack"),o=cX("moddle"),s=cX("injector");return DG({element:t,label:r("Example output"),description:Zl`
|
|
177
|
+
function MU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function AU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MU(Object(n),!0).forEach((function(t){DU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MU(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function DU(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 r=n.call(e,t||"default");if("object"!=typeof r)return r;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 NU=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},RU=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},jU=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},IU=function(e){return jU(e)&&!e.shiftKey},LU=function(e){return jU(e)&&e.shiftKey},zU=function(e){return setTimeout(e,0)},BU=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},$U=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},qU=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},FU=[],VU=function(e,t){var n,r=(null==t?void 0:t.document)||document,i=(null==t?void 0:t.trapStack)||FU,o=AU({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:IU,isKeyBackward:LU},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 r=t.container,i=t.tabbableNodes;return r.contains(e)||(null==n?void 0:n.includes(r))||i.find((function(t){return t===e}))}))},c=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];t=t.apply(void 0,i)}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=r.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||!TU(e,o.tabbableOptions))if(l(r.activeElement)>=0)e=r.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?mU([e],t.includeContainer,{filter:EU.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:OU}):fU(e,t.includeContainer,EU.bind(null,t)),PU(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?mU([e],t.includeContainer,{filter:kU.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):fU(e,t.includeContainer,kU.bind(null,t))}(e,o.tabbableOptions),r=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,s=n.find((function(e){return SU(e)})),a=n.slice().reverse().find((function(e){return SU(e)})),l=!!t.find((function(e){return yU(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbableNode:s,lastDomTabbableNode:a,nextTabbableNode:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find((function(e){return SU(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return SU(e)})):t[i+(r?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!==r.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},f=function(e){var t=e.target,n=e.event,r=e.isBackward,i=void 0!==r&&r;t=t||qU(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=i?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(i){var h=BU(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(h<0&&(d.container===t||TU(t,o.tabbableOptions)&&!SU(t,o.tabbableOptions)&&!d.nextTabbableNode(t,!1))&&(h=p),h>=0){var f=0===h?s.tabbableGroups.length-1:h-1,m=s.tabbableGroups[f];a=yU(t)>=0?m.lastTabbableNode:m.lastDomTabbableNode}else jU(n)||(a=d.nextTabbableNode(t,!1))}else{var g=BU(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(g<0&&(d.container===t||TU(t,o.tabbableOptions)&&!SU(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=yU(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else jU(n)||(a=d.nextTabbableNode(t))}}else a=c("fallbackFocus");return a},m=function(e){var t=qU(e);l(t,e)>=0||($U(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):$U(o.allowOutsideClick,e)||e.preventDefault())},g=function(e){var t=qU(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(s.mostRecentlyFocusedNode=t);else{var r;e.stopImmediatePropagation();var i=!0;if(s.mostRecentlyFocusedNode)if(yU(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&&(r=c[u+1],i=!1):u-1>=0&&(r=c[u-1],i=!1))}}else s.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return yU(e)>0}))}))||(i=!1);else i=!1;i&&(r=f({target:s.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(s.recentNavEvent)})),d(r||(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!==$U(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=f({event:e,isBackward:t});n&&(jU(e)&&e.preventDefault(),d(n))}(e,o.isKeyBackward(e))},v=function(e){var t=qU(e);l(t,e)>=0||$U(o.clickOutsideDeactivates,e)||$U(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},b=function(){if(s.active)return NU(i,n),s.delayInitialFocusTimer=o.delayInitialFocus?zU((function(){d(p())})):d(p()),r.addEventListener("focusin",g,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",v,{capture:!0,passive:!1}),r.addEventListener("keydown",y,{capture:!0,passive:!1}),n},w=function(){if(s.active)return r.removeEventListener("focusin",g,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",v,!0),r.removeEventListener("keydown",y,!0),n},x="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,_=function(){x&&(x.disconnect(),s.active&&!s.paused&&s.containers.map((function(e){x.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"),i=a(e,"checkCanFocusTrap");i||u(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=r.activeElement,null==t||t();var o=function(){i&&u(),b(),_(),null==n||n()};return i?(i(s.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!s.active)return this;var t=AU({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,w(),s.active=!1,s.paused=!1,_(),RU(i,n);var r=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),p=a(t,"returnFocus","returnFocusOnDeactivate");null==r||r();var u=function(){zU((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(),w(),_(),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(),_(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),s.active&&u(),_(),this}},n.updateContainerElements(e),n},HU=function(e){return Vk("svg",{...e,children:Vk("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"})})};HU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var UU=function(e){return Vk("svg",{...e,children:Vk("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"})})};UU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var WU=function(e){return Vk("svg",{...e,children:Vk("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"})})};WU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"};var GU=function(e){return Vk("svg",{...e,children:[Vk("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),Vk("path",{fill:"#fff",style:{mixBlendMode:"multiply"},d:"M0 0h16v16H0z"}),Vk("path",{d:"M7 3H5v2h2V3zm4 0H9v2h2V3zM7 7H5v2h2V7zm4 0H9v2h2V7zm-4 4H5v2h2v-2zm4 0H9v2h2v-2z",fill:"#161616"})]})};GU.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var QU=function(e){return Vk("svg",{...e,children:Vk("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"})})};QU.defaultProps={width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var XU=function(e){return Vk("svg",{...e,children:Vk("path",{d:"M3.617 11.99c-.137.684-.392 1.19-.765 1.518-.362.328-.882.492-1.558.492H0l.309-1.579h1.264l1.515-7.64h-.912l.309-1.579h.911l.236-1.191c.137-.685.387-1.192.75-1.52C4.753.164 5.277 0 5.953 0h1.294L6.94 1.579H5.675l-.323 1.623h1.264l-.309 1.579H5.043l-1.426 7.208ZM5.605 11.021l3.029-4.155L7.28 3.202h2.073l.706 2.547h.176l1.691-2.547H14l-3.014 4.051 1.338 3.768H10.25l-.706-2.606H9.37L7.678 11.02H5.605Z",fill:"currentcolor"})})};XU.defaultProps={width:"14",height:"14",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ZU=function(e){return Vk("svg",{...e,children:[Vk("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"}),Vk("circle",{cx:"16",cy:"23.5",r:"1.5"}),Vk("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"}),Vk("path",{style:{fill:"none"},d:"M0 0h32v32H0z"})]})};ZU.defaultProps={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"};var YU=function(e){return Vk("svg",{...e,children:[Vk("path",{fill:"currentColor",d:"M28 4H10a2.006 2.006 0 0 0-2 2v14a2.006 2.006 0 0 0 2 2h18a2.006 2.006 0 0 0 2-2V6a2.006 2.006 0 0 0-2-2Zm0 16H10V6h18Z"}),Vk("path",{fill:"currentColor",d:"M18 26H4V16h2v-2H4a2.006 2.006 0 0 0-2 2v10a2.006 2.006 0 0 0 2 2h14a2.006 2.006 0 0 0 2-2v-2h-2Z"})]})};function KU(e){const{element:t,headerProvider:n}=e,{getElementIcon:r,getDocumentationRef:i,getElementLabel:o,getTypeLabel:s}=n,a=o(t),l=s(t),c=i&&i(t),p=r(t);return Vk("div",{class:"bio-properties-panel-header",children:[Vk("div",{class:"bio-properties-panel-header-icon",children:p&&Vk(p,{width:"32",height:"32",viewBox:"0 0 32 32"})}),Vk("div",{class:"bio-properties-panel-header-labels",children:[Vk("div",{title:l,class:"bio-properties-panel-header-type",children:l}),a?Vk("div",{title:a,class:"bio-properties-panel-header-label",children:a}):null]}),Vk("div",{class:"bio-properties-panel-header-actions",children:c?Vk("a",{rel:"noopener",class:"bio-properties-panel-header-link",href:c,title:"Open documentation",target:"_blank",children:Vk(QU,{})}):null})]})}YU.defaultProps={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 32 32"};const JU=j_({description:{},getDescriptionForId:()=>{}}),eW=j_({errors:{}}),tW=j_({eventBus:null}),nW=j_({layout:{},setLayout:()=>{},getLayoutForKey:()=>{},setLayoutForKey:()=>{}}),rW=j_({tooltip:{},getTooltipForId:()=>{}});function iW(e){const{forId:t,element:n}=e,r=function(e,t){const{getTooltipForId:n}=nk(rW);return n(e,t)}(t,n),i=e.value||r;return i?Vk(oW,{...e,value:i,forId:lW(t)}):e.children}function oW(e){const{forId:t,value:n,parent:r,direction:i="right",position:o}=e,[s,a]=X_(!1),[l,c]=X_(!1);let p=null;const u=J_(null),d=J_(null),h=async e=>{const t=()=>a(!0);s||p||(e instanceof MouseEvent?p=setTimeout(t,200):(t(),c(!0)))},f=()=>{a(!1),c(!1)};Y_((()=>{const{current:e}=u;if(!e)return;const t=e=>{const t=document.activeElement===u.current||document.activeElement.closest(".bio-properties-panel-tooltip");!s||(({x:e,y:t})=>{const n=d.current,r=u.current;return n&&(sW(e,t,r.getBoundingClientRect())||sW(e,t,n.getBoundingClientRect()))})({x:e.x,y:e.y})||t&&l||f()},n=e=>{const{relatedTarget:t}=e;s&&!u.current.matches(":hover")&&t&&!t.closest(".bio-properties-panel-tooltip")&&f()};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)}}),[u.current,s,l]);const m=()=>Vk("div",{class:`bio-properties-panel-tooltip ${i}`,role:"tooltip",id:"bio-properties-panel-tooltip","aria-labelledby":t,style:o||aW(u.current),ref:d,onClick:e=>e.stopPropagation(),children:[Vk("div",{class:"bio-properties-panel-tooltip-content",children:n}),Vk("div",{class:"bio-properties-panel-tooltip-arrow"})]});return Vk("div",{class:"bio-properties-panel-tooltip-wrapper",tabIndex:"0",ref:u,onMouseEnter:h,onMouseLeave:()=>{clearTimeout(p),p=null},onFocus:h,onKeyDown:e=>{"Escape"===e.code&&f()},children:[e.children,s?r?Pk(m(),r.current):m():null]})}function sW(e,t,n){const{top:r,right:i,bottom:o,left:s}=n;return e>=s&&e<=i&&t>=r&&t<=o}function aW(e){const t=e.getBoundingClientRect();return`right: ${`calc(100% - ${t.x}px)`}; top: ${t.top-10+"px"};`}function lW(e){return`bio-properties-panel-${e}`}function cW(e){const{errors:t}=nk(eW);return t[e]}function pW(){const{errors:e}=nk(eW);return e}function uW(e,t,n){const r=nk(tW);n||({eventBus:n}=r);const i=J_(!1);n&&!i.current&&n.on(e,t),Y_((()=>(n&&i.current&&n.on(e,t),i.current=!0,()=>{n&&n.off(e,t)})),[t,e,n])}function dW(e,t){const{getLayoutForKey:n,setLayoutForKey:r}=nk(nW);return[n(e,t),tk((t=>{r(e,t)}),[r])]}function hW(e){const t=J_();return Y_((()=>{t.current=e})),t.current}function fW(e){const{onShow:t}=nk(nW),n=J_(),r=J_(!1),i=tk((n=>{n.id===e&&(t(),r.current||(r.current=!0))}),[e]);return Y_((()=>{r.current&&n.current&&(d(n.current.focus)&&n.current.focus(),d(n.current.select)&&n.current.select(),r.current=!1)})),uW("propertiesPanel.showEntry",i),n}function mW(e,t,n){const[r,i]=X_(Yk(t)),o=tk((()=>{const e=Yk(t);e!==r&&i(e)}),[t,r]);Y_((()=>{o()}),[o]),uW("propertiesPanel.attach",o),uW("propertiesPanel.detach",o),Y_((()=>{const t=IntersectionObserver;if(!t)return;if(!e.current||!r)return;const i=new t((e=>{0!==r.scrollHeight&&e.forEach((e=>{e.intersectionRatio<1?n(!0):1===e.intersectionRatio&&n(!1)}))}),{root:r,rootMargin:"0px 0px 999999% 0px",threshold:[1]});return i.observe(e.current),()=>{i.unobserve(e.current)}}),[e.current,r,n])}function gW(e){const t=J_(e);return t.current=e,tk(((...e)=>t.current(...e)),[])}function yW(e){const{element:t,entries:n=[],id:r,label:i,shouldOpen:o=!1}=e,s=J_(null),[a,l]=dW(["groups",r,"open"],o),c=tk((()=>l(!0)),[l]),[p,u]=X_(!1),[h,f]=X_(!1);Y_((()=>{const e=requestAnimationFrame((()=>{const e=n.find((e=>{const{id:t,isEdited:n}=e,r=Yk(`[data-entry-id="${t}"]`);if(!d(n)||!r)return!1;return n(Yk(".bio-properties-panel-input",r))}));u(e)}));return()=>cancelAnimationFrame(e)}),[n,u]);const m=pW(),g=n.some((e=>m[e.id]));mW(s,"div.bio-properties-panel-scroll-container",f);const y={...nk(nW),onShow:c};return Vk("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:s,children:[Vk("div",{class:Wk("bio-properties-panel-group-header",p?"":"empty",a?"open":"",h&&a?"sticky":""),onClick:()=>l(!a),children:[Vk("div",{title:e.tooltip?null:i,"data-title":i,class:"bio-properties-panel-group-header-title",children:Vk(iW,{value:e.tooltip,forId:"group-"+r,element:t,parent:s,children:i})}),Vk("div",{class:"bio-properties-panel-group-header-buttons",children:[Vk(vW,{edited:p,hasErrors:g}),Vk("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:Vk(HU,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})]})]}),Vk("div",{class:Wk("bio-properties-panel-group-entries",a?"open":""),children:Vk(nW.Provider,{value:y,children:n.map((e=>{const{component:n,id:r}=e;return h_(n,{...e,element:t,key:r})}))})})]})}function vW(e){const{edited:t,hasErrors:n}=e;return n?Vk("div",{title:"Section contains an error",class:"bio-properties-panel-dot bio-properties-panel-dot--error"}):t?Vk("div",{title:"Section contains data",class:"bio-properties-panel-dot"}):null}function bW(e){const{text:t,icon:n}=e;return Vk("div",{class:"bio-properties-panel open",children:Vk("section",{class:"bio-properties-panel-placeholder",children:[n&&Vk(n,{class:"bio-properties-panel-placeholder-icon"}),Vk("p",{class:"bio-properties-panel-placeholder-text",children:t})]})})}function wW(e){const{element:t,forId:n,value:r}=e,i=function(e,t){const{getDescriptionForId:n}=nk(JU);return n(e,t)}(n,t),o=r||i;if(o)return Vk("div",{class:"bio-properties-panel-description",children:o})}const xW=()=>{},_W=mk(((e,t)=>{const{onInput:n,disabled:r,tooltipContainer:i,enableGutters:o,value:s,onLint:a=xW,onPopupOpen:l=xW,popupOpen:c,contentAttributes:p={},hostLanguage:u=null,singleLine:d=!1}=e,h=J_(),[f,m]=X_(),[g,y]=X_(s||"");!function(e,t){const[n,r]=X_(void 0);t.current=ek((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Y_((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(f,t);const v=gW((e=>{n(e),y(e)}));Y_((()=>{let e;return e=new jH({container:h.current,onChange:v,value:g,onLint:a,contentAttributes:p,tooltipContainer:i,enableGutters:o,hostLanguage:u,singleLine:d}),m(e),()=>{a([]),h.current.innerHTML="",m(null)}}),[]),Y_((()=>{f&&s!==g&&(f.setValue(s),y(s))}),[s]);return Vk("div",{class:Wk("bio-properties-panel-feelers-editor-container",c?"popupOpen":null),children:[Vk("div",{class:"bio-properties-panel-feelers-editor__open-popup-placeholder",children:"Opened in editor"}),Vk("div",{name:e.name,class:Wk("bio-properties-panel-feelers-editor bio-properties-panel-input",g?"edited":null,r?"disabled":null),ref:h,onClick:()=>{t.current.focus()}}),Vk("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l("feelers"),children:Vk(QU,{})})]})})),kW=()=>{},EW=mk(((e,t)=>{const{contentAttributes:n,enableGutters:r,value:i,onInput:o,onFeelToggle:s=kW,onLint:a=kW,onPopupOpen:l=kW,popupOpen:c,disabled:p,tooltipContainer:u,variables:d}=e,h=J_(),[f,m]=X_(),[g,y]=X_(i||"");!function(e,t){const[n,r]=X_(void 0);t.current=ek((()=>({focus:t=>{e?e.focus(t):(void 0===t&&(t=1/0),r(t))}})),[e]),Y_((()=>{void 0!==n&&e&&(e.focus(n),r(!1))}),[e,n])}(f,t);const v=gW((e=>{o(e),y(e)}));Y_((()=>{let e;return e=new aU({container:h.current,onChange:v,onKeyDown:t=>{if("Backspace"!==t.key||!e)return;const n=e.getSelection(),r=n.ranges[n.mainIndex];0===r.from&&0===r.to&&s()},onLint:a,tooltipContainer:u,value:g,variables:d,extensions:[...r?[zz()]:[],$L.lineWrapping],contentAttributes:n}),m(e),()=>{a([]),h.current.innerHTML="",m(null)}}),[]),Y_((()=>{f&&i!==g&&(f.setValue(i),y(i))}),[i]),Y_((()=>{f&&f.setVariables(d)}),[d]);return Vk("div",{class:Wk("bio-properties-panel-feel-editor-container",p?"disabled":null,c?"popupOpen":null),children:[Vk("div",{class:"bio-properties-panel-feel-editor__open-popup-placeholder",children:"Opened in editor"}),Vk("div",{name:e.name,class:Wk("bio-properties-panel-input",g?"edited":null),ref:h,onClick:()=>{t.current.focus()}}),Vk("button",{type:"button",title:"Open pop-up editor",class:"bio-properties-panel-open-feel-popup",onClick:()=>l(),children:Vk(YU,{})})]})}));function OW(e){const{active:t}=e;return t?Vk("span",{class:"bio-properties-panel-feel-indicator",children:"="}):null}const PW=()=>{};function SW(e){const{feel:t=!1,active:n,disabled:r=!1,onClick:i=PW}=e,o=`Click to ${n?"remove":"set a"} dynamic value with FEEL expression`;return Vk("button",{type:"button",class:Wk("bio-properties-panel-feel-icon",n?"active":null,"required"===t?"required":"optional"),onClick:e=>{i(e),e.pointerType||e.stopPropagation()},disabled:"required"===t||r,title:"required"===t?"FEEL expression is mandatory":o,children:Vk(XU,{})})}const CW=j_({open:()=>{},close:()=>{},source:null});function TW(e,t){let n,r,i;function o(t){const o={x:t.clientX-r,y:t.clientY-i};return e.call(n,t,o)}function s(){document.removeEventListener("dragover",o,!0),document.removeEventListener("dragenter",MW,!0),document.removeEventListener("dragend",s),document.removeEventListener("drop",MW)}return function(e){n=this,r=e.clientX,i=e.clientY,e.dataTransfer&&e.dataTransfer.setDragImage(t||Zk('<canvas width="0" height="0" />'),0,0),document.addEventListener("dragover",o,!0),document.addEventListener("dragenter",MW,!0),document.addEventListener("dragend",s),document.addEventListener("drop",MW)}}function MW(e){e.preventDefault(),e.stopPropagation()}const AW=()=>{};const DW=mk((function(e,t){const{container:n,className:r,delayInitialFocus:i,position:o,width:s,height:a,onClose:l,onPostActivate:c=AW,onPostDeactivate:p=AW,returnFocus:u=!0,closeOnEscape:d=!0,title:h}=e,f=J_(null),m=J_(null),g=t||m,y=ek((()=>function(e){if("string"==typeof e)return Yk(e);return e}(n)),[n]),v=()=>{f.current&&f.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"),Y_((()=>(g.current&&g.current.addEventListener("focusin",v),()=>{g.current.removeEventListener("focusin",v)})),[g]),Y_((()=>(g.current&&(f.current=VU(g.current,{clickOutsideDeactivates:!0,delayInitialFocus:i,fallbackFocus:g.current,onPostActivate:c,onPostDeactivate:p,returnFocusOnDeactivate:u}),f.current.activate()),()=>f.current&&f.current.deactivate())),[g]),uW("propertiesPanel.detach",l),Pk(Vk("div",{"aria-label":h,tabIndex:-1,ref:g,onKeyDown:e=>{e.stopPropagation(),d&&"Escape"===e.key&&l()},role:"dialog",class:Wk("bio-properties-panel-popup",r),style:b,children:e.children}),y||document.body)}));function NW(e){return e.closest(".bio-properties-panel-popup")}DW.Title=function(e){const{children:t,className:n,draggable:r,emit:i=(()=>{}),title:o,...s}=e,a=J_({startPosition:null,newPosition:null}),l=J_(),c=J_(),p=(e,t)=>{!function(e){e.preventDefault(),e.stopPropagation()}(e);const{x:n,y:r}=t,o={x:a.current.startPosition.x+n,y:a.current.startPosition.y+r},s=NW(c.current);s.style.top=o.y+"px",s.style.left=o.x+"px",i("dragover",{newPosition:o,delta:t})};return Vk("div",{class:Wk("bio-properties-panel-popup__header",r&&"draggable",n),ref:c,draggable:r,onDragStart:e=>{TW(p,l.current)(e),e.stopPropagation();const t=NW(c.current).getBoundingClientRect();a.current.startPosition={x:t.left,y:t.top},i("dragstart")},onDragEnd:()=>{a.current.newPosition=null,i("dragend")},...s,children:[r&&Vk(m_,{children:[Vk("div",{ref:l,class:"bio-properties-panel-popup__drag-preview"}),Vk("div",{class:"bio-properties-panel-popup__drag-handle",children:Vk(GU,{})})]}),Vk("div",{class:"bio-properties-panel-popup__title",children:o}),t]})},DW.Body=function(e){const{children:t,className:n,...r}=e;return Vk("div",{class:Wk("bio-properties-panel-popup__body",n),...r,children:t})},DW.Footer=function(e){const{children:t,className:n,...r}=e;return Vk("div",{class:Wk("bio-properties-panel-popup__footer",n),...r,children:e.children})};const RW=700,jW=250;function IW(e){const{element:t,eventBus:n={fire(){},on(){},off(){}},popupContainer:r}=e,i=hW(t),[o,s]=X_({}),[a,l]=X_(!1),[c,p]=X_(null),[u,d]=X_(null),h=(e,t)=>{n.fire("feelPopup."+e,t)},f=tk((()=>!!a),[a]);!function(e,t){const n=J_(!1);Y_((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{a||h("closed")}),[a]);const m=(e,t,n)=>{p(e),s(t),l(!0),d(n),h("open")},g=(e={})=>{const{id:t}=e;t&&t!==c||(l(!1),p(null))},y={open:m,close:g,source:c};return Y_((()=>{t&&i&&t!==i&&g()}),[t]),Y_((()=>{const e=()=>f();return n.on("feelPopup._close",g),n.on("feelPopup._open",(e=>{const{entryId:t,popupConfig:n,sourceElement:r}=e;m(t,n,r)})),n.on("feelPopup._isOpen",e),()=>{n.off("feelPopup._close",g),n.off("feelPopup._open",m),n.off("feelPopup._isOpen",e)}}),[n,f]),Vk(CW.Provider,{value:y,children:[a&&Vk(LW,{onClose:g,container:r,sourceElement:u,emit:h,...o}),e.children]})}function LW(e){const{container:t,id:n,hostLanguage:r,onInput:i,onClose:o,position:s,singleLine:a,sourceElement:l,title:c,tooltipContainer:p,type:u,value:d,variables:h,emit:f}=e,m=J_(),g=J_(),y=J_(!1);return Y_((()=>(f("opened",{domNode:g.current}),()=>f("close",{domNode:g.current}))),[]),Y_((()=>{m.current&&m.current.focus()}),[m]),Vk(DW,{container:t,className:"bio-properties-panel-feel-popup",emit:f,position:s,title:c,onClose:o,returnFocus:!1,closeOnEscape:!1,delayInitialFocus:!1,onPostDeactivate:()=>{l&&l.focus()},height:jW,width:RW,ref:g,children:[Vk(DW.Title,{title:c,emit:f,draggable:!0,children:["feel"===u&&Vk("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",Vk(ZU,{})]}),"feelers"===u&&Vk("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",Vk(ZU,{})]})]}),Vk(DW.Body,{children:Vk("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&&Vk(EW,{enableGutters:!0,id:zW(n),name:n,onInput:i,value:d,variables:h,ref:m,tooltipContainer:p}),"feelers"===u&&Vk(_W,{id:zW(n),contentAttributes:{"aria-label":c},enableGutters:!0,hostLanguage:r,name:n,onInput:i,value:d,ref:m,singleLine:a,tooltipContainer:p})]})}),Vk(DW.Footer,{children:Vk("button",{type:"button",onClick:()=>o(),title:"Close pop-up editor",class:"bio-properties-panel-feel-popup__close-btn",children:"Close"})})]})}function zW(e){return`bio-properties-panel-${e}`}function BW(e){const{id:t,label:n,onInput:r,value:i,switcherLabel:o,inline:s,onFocus:a,onBlur:l,inputRef:c,tooltip:p}=e,[u,d]=X_(i);return Y_((()=>{i!==u&&d(i)}),[i]),Vk("div",{class:Wk("bio-properties-panel-toggle-switch",{inline:s}),children:[Vk("label",{class:"bio-properties-panel-label",for:FW(t),children:Vk(iW,{value:p,forId:t,element:e.element,children:n})}),Vk("div",{class:"bio-properties-panel-field-wrapper",children:[Vk("label",{class:"bio-properties-panel-toggle-switch__switcher",children:[Vk("input",{ref:c,id:FW(t),class:"bio-properties-panel-input",type:"checkbox",onFocus:a,onBlur:l,name:t,onInput:e=>{(async()=>{r(!i)})(),d(e.target.value)},checked:!!u}),Vk("span",{class:"bio-properties-panel-toggle-switch__slider"})]}),o&&Vk("p",{class:"bio-properties-panel-toggle-switch__label",children:o})]})]})}function $W(e){const{element:t,id:n,description:r,label:i,switcherLabel:o,inline:s,getValue:a,setValue:l,onFocus:c,onBlur:p,tooltip:u}=e;return Vk("div",{class:"bio-properties-panel-entry bio-properties-panel-toggle-switch-entry","data-entry-id":n,children:[Vk(BW,{id:n,label:i,value:a(t),onInput:l,onFocus:c,onBlur:p,switcherLabel:o,inline:s,tooltip:u,element:t}),Vk(wW,{forId:n,element:t,value:r})]})}function qW(e){return e&&!!e.checked}function FW(e){return`bio-properties-panel-${e}`}function VW(e){const{debounce:t,disabled:n,displayLabel:r=!0,id:i,inputRef:o,label:s,max:a,min:l,onInput:c,step:p,value:u="",onFocus:d,onBlur:h}=e,[f,m]=X_(u),g=ek((()=>t((e=>{e.validity.valid&&c(e.value?parseFloat(e.value):void 0)}))),[c,t]);return Y_((()=>{u!==f&&m(u)}),[u]),Vk("div",{class:"bio-properties-panel-numberfield",children:[r&&Vk("label",{for:WW(i),class:"bio-properties-panel-label",children:s}),Vk("input",{id:WW(i),ref:o,type:"number",name:i,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",max:a,min:l,onInput:e=>{g(e.target),m(e.target.value)},onFocus:d,onBlur:h,step:p,value:f})]})}function HW(e){const{debounce:t,description:n,disabled:r,element:i,getValue:o,id:s,label:a,max:l,min:c,setValue:p,step:u,onFocus:h,onBlur:f,validate:m}=e,g=cW(s),[y,v]=X_(null);let b=o(i);Y_((()=>{if(d(m)){const e=m(b)||null;v(e)}}),[b,m]);const w=g||y;return Vk("div",{class:Wk("bio-properties-panel-entry",w?"has-error":""),"data-entry-id":s,children:[Vk(VW,{debounce:t,disabled:r,id:s,label:a,onFocus:h,onBlur:f,onInput:e=>{let t=null;d(m)&&(t=m(e)||null),p(e,t),v(t)},max:l,min:c,step:u,value:b},i),w&&Vk("div",{class:"bio-properties-panel-error",children:w}),Vk(wW,{forId:s,element:i,value:n})]})}function UW(e){return e&&!!e.value}function WW(e){return`bio-properties-panel-${e}`}const GW=()=>{};const QW=(XW=function(e){const{debounce:t,id:n,element:r,label:i,hostLanguage:o,onInput:s,onError:a,feel:l,value:c="",disabled:p=!1,variables:u,singleLine:d,tooltipContainer:f,OptionalComponent:m=ZW,tooltip:g}=e,[y,v]=X_(c),b=fW(n),w=J_(),x=h(y)&&y.startsWith("=")||"required"===l,_=h(y)&&y.startsWith("=")?y.substring(1):y,[k,E]=X_(void 0),{open:O,source:P}=nk(CW),S=P===n,C=(e=0)=>{const t=w.current.contains(document.activeElement)?document.activeElement.selectionStart:1/0;E(t+e)},T=ek((()=>t((e=>{s(e)}))),[s,t]),M=e=>{v(e),T(void 0===e||""===e||"="===e?void 0:e)},A=gW((()=>{"required"!==l&&M(x?_:"="+y)})),D=e=>{x&&(e="="+e),e!==y&&(M(e),!x&&h(e)&&e.startsWith("=")&&C(-1))},N=gW((e=>{e&&e.length?a("Unparsable FEEL expression."):a(void 0)})),R=(e="feel")=>{const t={id:n,hostLanguage:o,onInput:D,position:oG(w.current),singleLine:d,title:sG(r,i),tooltipContainer:f,type:e,value:_,variables:u};O(n,t,b.current)};return Y_((()=>{void 0!==k&&(b.current.focus(k),E(void 0))}),[k]),Y_((()=>{c!==y&&M(c||(x?"=":""))}),[c]),Y_((()=>{const e=e=>{x&&e.clipboardData.setData("application/FEEL",e.clipboardData.getData("text"))},t=e=>{x||S||e.clipboardData.getData("application/FEEL")&&setTimeout((()=>{A(),C()}))};return w.current.addEventListener("copy",e),w.current.addEventListener("cut",e),w.current.addEventListener("paste",t),()=>{w.current.removeEventListener("copy",e),w.current.removeEventListener("cut",e),w.current.removeEventListener("paste",t)}}),[w,x,A,C]),Vk("div",{class:Wk("bio-properties-panel-feel-entry",{"feel-active":x}),children:[Vk("label",{for:iG(n),class:"bio-properties-panel-label",onClick:()=>C(),children:[Vk(iW,{value:g,forId:n,element:e.element,children:i}),Vk(SW,{label:i,feel:l,onClick:A,active:x})]}),Vk("div",{class:"bio-properties-panel-feel-container",ref:w,children:[Vk(OW,{active:x,disabled:"optional"!==l||p,onClick:A}),x?Vk(EW,{name:n,onInput:D,contentAttributes:{id:iG(n),"aria-label":i},disabled:p,popupOpen:S,onFeelToggle:()=>{A(),C(!0)},onLint:N,onPopupOpen:R,value:_,variables:u,ref:b,tooltipContainer:f}):Vk(m,{...e,popupOpen:S,onInput:D,contentAttributes:{id:iG(n),"aria-label":i},value:y,ref:b,onPopupOpen:R,containerRef:w})]})]})},function(e){const{id:t}=e,{close:n}=nk(CW),r=gW(n);return Y_((()=>()=>{r({id:t})}),[]),Vk(XW,{...e})});var XW;const ZW=mk(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=J_();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)))}},Vk("input",{id:iG(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,value:o||""})})),YW=mk(((e,t)=>{const{id:n,debounce:r,disabled:i,onInput:o,value:s,min:a,max:l,step:c,onFocus:p,onBlur:u}=e,d=J_();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)))}},Vk(VW,{id:n,debounce:r,disabled:i,displayLabel:!1,inputRef:d,max:l,min:a,onInput:o,step:c,value:s,onFocus:p,onBlur:u})})),KW=mk(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=J_();return t.current={focus:()=>{const e=l.current;e&&(e.focus(),e.setSelectionRange(0,0))}},Vk("textarea",{id:iG(n),type:"text",ref:l,name:n,spellCheck:"false",autoComplete:"off",disabled:r,class:"bio-properties-panel-input",onInput:e=>i(e.target.value),onFocus:s,onBlur:a,value:o||"","data-gramm":"false"})}));mk(((e,t)=>{const{id:n,onInput:r,value:i,onFocus:o,onBlur:s,switcherLabel:a}=e,l=J_();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},Vk(BW,{id:n,value:i,inputRef:l,onInput:r,onFocus:o,onBlur:s,switcherLabel:a})}));const JW=mk(((e,t)=>{const{id:n,disabled:r,onInput:i,value:o,onFocus:s,onBlur:a}=e,l=J_();return t.current={focus:()=>{const e=l.current;e&&e.focus()}},Vk("input",{ref:l,id:iG(n),name:n,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:({target:e})=>{i(e.checked)},checked:o,disabled:r})}));function eG(e){const{element:t,id:n,description:r,debounce:i,disabled:o,feel:s,label:a,getValue:l,setValue:c,tooltipContainer:p,hostLanguage:u,singleLine:h,validate:f,show:m=GW,example:g,variables:y,onFocus:v,onBlur:b,tooltip:w}=e,[x,_]=X_(null),[k,E]=X_(null);let O=l(t);Y_((()=>{if(d(f)){const e=f(O)||null;_(e)}}),[O,f]);const P=gW((e=>{let t=null;d(f)&&(t=f(e)||null),e!==O&&c(e,t),_(t)})),S=tk((e=>{E(e)}),[]),C=cW(n)||k||x;return Vk("div",{class:Wk(e.class,"bio-properties-panel-entry",C?"has-error":""),"data-entry-id":n,children:[h_(QW,{...e,debounce:i,disabled:o,feel:s,id:n,key:t,label:a,onInput:P,onError:S,onFocus:v,onBlur:b,example:g,hostLanguage:u,singleLine:h,show:m,value:O,variables:y,tooltipContainer:p,OptionalComponent:e.OptionalComponent,tooltip:w}),C&&Vk("div",{class:"bio-properties-panel-error",children:C}),Vk(wW,{forId:n,element:t,value:r})]})}function tG(e){return Vk(eG,{class:"bio-properties-panel-feel-number",OptionalComponent:YW,...e})}function nG(e){return Vk(eG,{class:"bio-properties-panel-feel-checkbox",OptionalComponent:JW,...e})}function rG(e){return!!e&&("checkbox"===e.type?!!e.checked||e.classList.contains("edited"):!!e.value||e.classList.contains("edited"))}function iG(e){return`bio-properties-panel-${e}`}function oG(e){const{top:t,left:n}=e.getBoundingClientRect();return{left:n-RW-20,top:t}}function sG(e,t){let n="";return e&&e.type&&(n=`${e.type} / `),`${n}${t}`}const aG={},lG={},cG={};function pG(e){const{element:t,headerProvider:n,placeholderProvider:r,groups:i,layoutConfig:o,layoutChanged:s,descriptionConfig:a,descriptionLoaded:l,tooltipConfig:p,tooltipLoaded:u,feelPopupContainer:d,eventBus:h}=e,[f,m]=X_(uG(o));!function(e,t){const n=J_(!1);K_((()=>{if(n.current)return e();n.current=!0}),t)}((()=>{const e=uG(o);m(e)}),[o]),Y_((()=>{"function"==typeof s&&s(f)}),[f,s]);const g={layout:f,setLayout:m,getLayoutForKey:(e,t)=>B(f,e,t),setLayoutForKey:(e,t)=>{const n=L({},f);z(n,e,t),m(n)}},y=ek((()=>function(e={}){return{...lG,...e}}(a)),[a]);Y_((()=>{"function"==typeof l&&l(y)}),[y,l]);const v={description:y,getDescriptionForId:(e,t)=>y[e]&&y[e](t)},b=ek((()=>function(e={}){return{...cG,...e}}(p)),[p]);Y_((()=>{"function"==typeof u&&u(b)}),[b,u]);const w={tooltip:b,getTooltipForId:(e,t)=>b[e]&&b[e](t)},[x,_]=X_({});uW("propertiesPanel.setErrors",(({errors:e})=>_(e)),h);const k={errors:x},E={eventBus:h},O={element:t};return r&&!t?Vk(bW,{...r.getEmpty()}):r&&c(t)?Vk(bW,{...r.getMultiple()}):Vk(nW.Provider,{value:O,children:Vk(eW.Provider,{value:k,children:Vk(JU.Provider,{value:v,children:Vk(rW.Provider,{value:w,children:Vk(nW.Provider,{value:g,children:Vk(tW.Provider,{value:E,children:Vk(IW,{element:t,eventBus:h,popupContainer:d,children:Vk("div",{class:"bio-properties-panel",children:[Vk(KU,{element:t,headerProvider:n}),Vk("div",{class:"bio-properties-panel-scroll-container",children:i.map((e=>{const{component:n=yW,id:r}=e;return h_(n,{...e,key:r,element:t})}))})]})})})})})})})})}function uG(e={},t=aG){return{...t,...e}}function dG(e){const{class:t,children:n,menuItems:r=[]}=e,i=J_(null),o=J_(null),[s,a]=X_(!1),l=()=>a(!1);function c(e,t){e.stopPropagation(),l(),t()}var p,u;return p=[i.current],u=()=>l(),Y_((()=>{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]),Vk("div",{class:Wk("bio-properties-panel-dropdown-button",{open:s},t),onClick:function(e){o.current&&o.current.contains(e.target)||(e.stopPropagation(),a((e=>!e)))},ref:i,children:[n,Vk("div",{class:"bio-properties-panel-dropdown-button__menu",ref:o,children:r.map(((e,t)=>Vk(hG,{onClick:c,item:e},t)))})]})}function hG({item:e,onClick:t}){return e.separator?Vk("div",{class:"bio-properties-panel-dropdown-button__menu-item bio-properties-panel-dropdown-button__menu-item--separator"}):e.action?Vk("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}):Vk("div",{class:"bio-properties-panel-dropdown-button__menu-item",children:e.entry})}function fG(e){const{children:t=null,class:n,onClick:r=(()=>{}),...i}=e;return Vk("button",{type:"button",...i,onClick:r,class:Wk("bio-properties-panel-group-header-button",n),children:t})}function mG(e){const{element:t,entries:n=[],id:r,label:i,open:o,remove:s}=e,[a,l]=X_(o),{onShow:c}=nk(nW),p={...nk(nW),onShow:tk((()=>{l(!0),d(c)&&c()}),[c,l])},u="<empty>";return Vk("div",{"data-entry-id":r,class:Wk("bio-properties-panel-collapsible-entry",a?"open":""),children:[Vk("div",{class:"bio-properties-panel-collapsible-entry-header",onClick:()=>l(!a),children:[Vk("div",{title:i||u,class:Wk("bio-properties-panel-collapsible-entry-header-title",!i&&"empty"),children:i||u}),Vk("button",{type:"button",title:"Toggle list item",class:"bio-properties-panel-arrow bio-properties-panel-collapsible-entry-arrow",children:Vk(HU,{class:a?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}),s?Vk("button",{type:"button",title:"Delete item",class:"bio-properties-panel-remove-entry",onClick:s,children:Vk(WU,{})}):null]}),Vk("div",{class:Wk("bio-properties-panel-collapsible-entry-entries",a?"open":""),children:Vk(nW.Provider,{value:p,children:n.map((e=>{const{component:n,id:r}=e;return h_(n,{...e,element:t,key:r})}))})})]})}function gG(e){const{autoFocusEntry:t,autoOpen:n}=e;return Y_((()=>{if(n&&t){const e=Yk(`[data-entry-id="${t}"]`),n=Yk(".bio-properties-panel-input",e);n&&(d(n.select)?n.select():d(n.focus)&&n.focus())}}),[n,t]),Vk("div",{class:"bio-properties-panel-list-item",children:Vk(mG,{...e,open:n})})}const yG=()=>{};function vG(e){const{add:t,element:n,id:r,items:i,label:o,shouldOpen:s=!0,shouldSort:a=!0}=e,l=J_(null),[c,p]=dW(["groups",r,"open"],!1),[u,d]=X_(!1),h=tk((()=>p(!0)),[p]),[f,m]=X_([]),[g,y]=X_(!1),[v,b]=X_(!1),w=hW(i),x=hW(n),_=n!==x,k=!_&&(a||s);_&&m(xG(a?bG(i):i)),Y_((()=>{w&&a||m(xG(i))}),[i,n]),Y_((()=>{if(b(!1),k&&w&&i.length>w.length){let e=[];i.forEach((t=>{f.includes(t.id)||e.push(t.id)}));let t=f;v&&!c&&s&&E(),!c&&a&&(t=xG(bG(i))),t=t.filter((t=>!e.includes(t))),a?t.unshift(...e):t.push(...e),m(t),y(v)}else y(!1)}),[i,c,k,v]),Y_((()=>{a&&c&&!g&&m(xG(bG(i)))}),[c,a]),Y_((()=>{if(k&&w&&i.length<w.length){let e=[];f.forEach((t=>{wG(i,t)&&e.push(t)})),m(e)}}),[i,k]),mW(l,"div.bio-properties-panel-scroll-container",d);const E=()=>p(!c),O=!!i.length,P={...nk(nW),onShow:h},S=pW(),C=i.some((e=>!!S[e.id]||(e.entries?e.entries.some((e=>S[e.id])):void 0)));return Vk("div",{class:"bio-properties-panel-group","data-group-id":"group-"+r,ref:l,children:[Vk("div",{class:Wk("bio-properties-panel-group-header",O?"":"empty",O&&c?"open":"",u&&c?"sticky":""),onClick:O?E:yG,children:[Vk("div",{title:e.tooltip?null:o,"data-title":o,class:"bio-properties-panel-group-header-title",children:Vk(iW,{value:e.tooltip,forId:"group-"+r,element:n,parent:l,children:o})}),Vk("div",{class:"bio-properties-panel-group-header-buttons",children:[t?Vk("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:[Vk(UU,{}),O?null:Vk("span",{class:"bio-properties-panel-add-entry-label",children:"Create"})]}):null,O?Vk("div",{title:`List contains ${i.length} item${1!=i.length?"s":""}`,class:Wk("bio-properties-panel-list-badge",C?"bio-properties-panel-list-badge--error":""),children:i.length}):null,O?Vk("button",{type:"button",title:"Toggle section",class:"bio-properties-panel-group-header-button bio-properties-panel-arrow",children:Vk(HU,{class:c?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})}):null]})]}),Vk("div",{class:Wk("bio-properties-panel-list",c&&O?"open":""),children:Vk(nW.Provider,{value:P,children:f.map(((e,t)=>{const r=wG(i,e);if(!r)return;const{id:o}=r,s=g;return h_(gG,{...r,autoOpen:s,element:n,index:t,key:o})}))})})]})}function bG(e){return T(e,(e=>e.label.toLowerCase()))}function wG(e,t){return m(e,(e=>e.id===t))}function xG(e){return e.map((e=>e.id))}function _G(e){const{id:t,label:n,onChange:r,disabled:i,value:o=!1,onFocus:s,onBlur:a,tooltip:l}=e,[c,p]=X_(o);Y_((()=>{o!==c&&p(o)}),[o]);return Vk("div",{class:"bio-properties-panel-checkbox",children:[Vk("input",{ref:fW(t),id:OG(t),name:t,onFocus:s,onBlur:a,type:"checkbox",class:"bio-properties-panel-input",onChange:e=>{(({target:e})=>{r(e.checked)})(e),p(e.target.value)},checked:c,disabled:i}),Vk("label",{for:OG(t),class:"bio-properties-panel-label",children:Vk(iW,{value:l,forId:t,element:e.element,children:n})})]})}function kG(e){const{element:t,id:n,description:r,label:i,getValue:o,setValue:s,disabled:a,onFocus:l,onBlur:c,tooltip:p}=e,u=o(t),d=cW(n);return Vk("div",{class:"bio-properties-panel-entry bio-properties-panel-checkbox-entry","data-entry-id":n,children:[Vk(_G,{disabled:a,id:n,label:i,onChange:s,onFocus:l,onBlur:c,value:u,tooltip:p,element:t},t),d&&Vk("div",{class:"bio-properties-panel-error",children:d}),Vk(wW,{forId:n,element:t,value:r})]})}function EG(e){return e&&!!e.checked}function OG(e){return`bio-properties-panel-${e}`}function PG(e){const{id:t,label:n,onChange:r,options:i=[],value:o="",disabled:s,onFocus:a,onBlur:l,tooltip:c}=e,p=fW(t),[u,d]=X_(o);return Y_((()=>{o!==u&&d(o)}),[o]),Vk("div",{class:"bio-properties-panel-select",children:[Vk("label",{for:TG(t),class:"bio-properties-panel-label",children:Vk(iW,{value:c,forId:t,element:e.element,children:n})}),Vk("select",{ref:p,id:TG(t),name:t,class:"bio-properties-panel-input",onInput:e=>{(({target:e})=>{r(e.value)})(e),d(e.target.value)},onFocus:a,onBlur:l,value:u,disabled:s,children:i.map(((e,t)=>e.children?Vk("optgroup",{label:e.label,children:e.children.map(((e,t)=>Vk("option",{value:e.value,disabled:e.disabled,children:e.label},t)))},t):Vk("option",{value:e.value,disabled:e.disabled,children:e.label},t)))})]})}function SG(e){const{element:t,id:n,description:r,label:i,getValue:o,setValue:s,getOptions:a,disabled:l,onFocus:c,onBlur:p,validate:u,tooltip:h}=e,f=a(t),m=cW(n),[g,y]=X_(null);let v=o(t);Y_((()=>{if(d(u)){const e=u(v)||null;y(e)}}),[v,u]);const b=m||g;return Vk("div",{class:Wk("bio-properties-panel-entry",b?"has-error":""),"data-entry-id":n,children:[Vk(PG,{id:n,label:i,value:v,onChange:e=>{let t=null;d(u)&&(t=u(e)||null),s(e,t),y(t)},onFocus:c,onBlur:p,options:f,disabled:l,tooltip:h,element:t},t),b&&Vk("div",{class:"bio-properties-panel-error",children:b}),Vk(wW,{forId:n,element:t,value:r})]})}function CG(e){return e&&!!e.value}function TG(e){return`bio-properties-panel-${e}`}function MG(e){e.style.height="auto",e.style.height=`${e.scrollHeight+2}px`}function AG(e){const{id:t,label:n,debounce:r,onInput:i,value:o="",disabled:s,monospace:a,onFocus:l,onBlur:c,autoResize:p,rows:u=(p?1:2),tooltip:d}=e,[h,f]=X_(o),m=fW(t),g=ek((()=>r((e=>i(e.value.length?e.value:void 0)))),[i,r]);return K_((()=>{p&&MG(m.current)}),[]),Y_((()=>{o!==h&&f(o)}),[o]),Vk("div",{class:"bio-properties-panel-textarea",children:[Vk("label",{for:RG(t),class:"bio-properties-panel-label",children:Vk(iW,{value:d,forId:t,element:e.element,children:n})}),Vk("textarea",{ref:m,id:RG(t),name:t,spellCheck:"false",class:Wk("bio-properties-panel-input",a?"bio-properties-panel-input-monospace":"",p?"auto-resize":""),onInput:e=>{g(e.target),p&&MG(e.target),f(e.target.value)},onFocus:l,onBlur:c,rows:u,value:h,disabled:s,"data-gramm":"false"})]})}function DG(e){const{element:t,id:n,description:r,debounce:i,label:o,getValue:s,setValue:a,rows:l,monospace:c,disabled:p,validate:u,onFocus:h,onBlur:f,autoResize:m,tooltip:g}=e,y=cW(n),[v,b]=X_(null);let w=s(t);Y_((()=>{if(d(u)){const e=u(w)||null;b(e)}}),[w,u]);const x=y||v;return Vk("div",{class:Wk("bio-properties-panel-entry",x?"has-error":""),"data-entry-id":n,children:[Vk(AG,{id:n,label:o,value:w,onInput:e=>{let t=null;d(u)&&(t=u(e)||null),a(e,t),b(t)},onFocus:h,onBlur:f,rows:l,debounce:i,monospace:c,disabled:p,autoResize:m,tooltip:g,element:t},t),x&&Vk("div",{class:"bio-properties-panel-error",children:x}),Vk(wW,{forId:n,element:t,value:r})]})}function NG(e){return e&&!!e.value}function RG(e){return`bio-properties-panel-${e}`}function jG(e){const{debounce:t,disabled:n=!1,id:r,label:i,onInput:o,onFocus:s,onBlur:a,value:l="",tooltip:c}=e,[p,u]=X_(l||""),d=fW(r),h=ek((()=>t((e=>o(e.value.length?e.value:void 0)))),[o,t]);return Y_((()=>{l!==p&&u(l)}),[l]),Vk("div",{class:"bio-properties-panel-textfield",children:[Vk("label",{for:zG(r),class:"bio-properties-panel-label",children:Vk(iW,{value:c,forId:r,element:e.element,children:i})}),Vk("input",{ref:d,id:zG(r),type:"text",name:r,spellCheck:"false",autoComplete:"off",disabled:n,class:"bio-properties-panel-input",onInput:e=>{h(e.target),u(e.target.value)},onFocus:s,onBlur:a,value:p})]})}function IG(e){const{element:t,id:n,description:r,debounce:i,disabled:o,label:s,getValue:a,setValue:l,validate:c,onFocus:p,onBlur:u,tooltip:h}=e,f=cW(n),[m,g]=X_(null);let y=a(t);Y_((()=>{if(d(c)){const e=c(y)||null;g(e)}}),[y,c]);const v=f||m;return Vk("div",{class:Wk("bio-properties-panel-entry",v?"has-error":""),"data-entry-id":n,children:[Vk(jG,{debounce:i,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&&Vk("div",{class:"bio-properties-panel-error",children:v}),Vk(wW,{forId:n,element:t,value:r})]})}function LG(e){return e&&!!e.value}function zG(e){return`bio-properties-panel-${e}`}function BG(e){return function(t){return!1!==e?j(t,u(e)?e:300):t}}BG.$inject=["config.debounceInput"];var $G={debounceInput:["factory",BG]};class qG{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")}}qG.$inject=["eventBus"];var FG={feelPopup:["type",qG]};function VG(e,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}}))})),Object.freeze(e)}var HG,UG,WG,GG={};function QG(){HG=window.addEventListener?"addEventListener":"attachEvent",UG=window.removeEventListener?"removeEventListener":"detachEvent",WG="addEventListener"!==HG?"on":""}var XG,ZG=GG.bind=function(e,t,n,r){return HG||QG(),e[HG](WG+t,n,r||!1),n},YG=GG.unbind=function(e,t,n,r){return UG||QG(),e[UG](WG+t,n,r||!1),n},KG=VG({__proto__:null,bind:ZG,unbind:YG,default:GG},[GG]),JG=function(e,t){if("string"!=typeof e)throw new TypeError("String expected");t||(t=document);var n=/<([\w:]+)/.exec(e);if(!n)return t.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var r=n[1];if("body"==r){return(l=t.createElement("html")).innerHTML=e,l.removeChild(l.lastChild)}var i=Object.prototype.hasOwnProperty.call(tQ,r)?tQ[r]:tQ._default,o=i[0],s=i[1],a=i[2],l=t.createElement("div");l.innerHTML=s+e+a;for(;o--;)l=l.lastChild;if(l.firstChild==l.lastChild)return l.removeChild(l.firstChild);var c=t.createDocumentFragment();for(;l.firstChild;)c.appendChild(l.removeChild(l.firstChild));return c},eQ=!1;"undefined"!=typeof document&&((XG=document.createElement("div")).innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',eQ=!XG.getElementsByTagName("link").length,XG=void 0);var tQ={legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],_default:eQ?[1,"X<div>","</div>"]:[0,"",""]};tQ.td=tQ.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],tQ.option=tQ.optgroup=[1,'<select multiple="multiple">',"</select>"],tQ.thead=tQ.tbody=tQ.colgroup=tQ.caption=tQ.tfoot=[1,"<table>","</table>"],tQ.polyline=tQ.ellipse=tQ.polygon=tQ.circle=tQ.text=tQ.line=tQ.path=tQ.rect=tQ.g=[1,'<svg xmlns="http://www.w3.org/2000/svg" version="1.1">',"</svg>"];var nQ=JG;function rQ(e,t){return(t=t||document).querySelector(e)}var iQ={},oQ={};const sQ=Object.prototype.toString,aQ=Object.prototype.hasOwnProperty;function lQ(e){return void 0===e}function cQ(e){return void 0!==e}function pQ(e){return null==e}function uQ(e){return"[object Array]"===sQ.call(e)}function dQ(e){return"[object Object]"===sQ.call(e)}function hQ(e){const t=sQ.call(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object AsyncGeneratorFunction]"===t||"[object Proxy]"===t}function fQ(e){if(!uQ(e))throw new Error("must supply array")}function mQ(e,t){return aQ.call(e,t)}function gQ(e,t){const n=PQ(t);let r;return yQ(e,(function(e,t){if(n(e,t))return r=e,!1})),r}function yQ(e,t){let n,r;if(lQ(e))return;const i=uQ(e)?CQ:SQ;for(let o in e)if(mQ(e,o)&&(n=e[o],r=t(n,i(o)),!1===r))return n}function vQ(e,t,n){return yQ(e,(function(e,r){n=t(n,e,r)})),n}function bQ(e,t){return!!vQ(e,(function(e,n,r){return e&&t(n,r)}),!0)}function wQ(e,t){let n=[];return yQ(e,(function(e,r){n.push(t(e,r))})),n}function xQ(e){return e&&Object.keys(e)||[]}function _Q(e,t,n={}){return t=OQ(t),yQ(e,(function(e){let r=t(e)||"_",i=n[r];i||(i=n[r]=[]),i.push(e)})),n}function kQ(e,...t){e=OQ(e);let n={};return yQ(t,(t=>_Q(t,e,n))),wQ(n,(function(e,t){return e[0]}))}const EQ=kQ;function OQ(e){return hQ(e)?e:t=>t[e]}function PQ(e){return hQ(e)?e:t=>t===e}function SQ(e){return e}function CQ(e){return Number(e)}oQ.assign=function(e,...t){return Object.assign(e,...t)},oQ.bind=function(e,t){return e.bind(t)},oQ.debounce=function(e,t){let n,r,i,o;function s(n){let s=Date.now(),c=n?0:o+t-s;if(c>0)return a(c);e.apply(i,r),l()}function a(e){n=setTimeout(s,e)}function l(){n&&clearTimeout(n),n=o=r=i=void 0}function c(...e){o=Date.now(),r=e,i=this,n||a(t)}return c.flush=function(){n&&s(!0),l()},c.cancel=l,c},oQ.ensureArray=fQ,oQ.every=bQ,oQ.filter=function(e,t){const n=PQ(t);let r=[];return yQ(e,(function(e,t){n(e,t)&&r.push(e)})),r},oQ.find=gQ,oQ.findIndex=function(e,t){const n=PQ(t);let r=uQ(e)?-1:void 0;return yQ(e,(function(e,t){if(n(e,t))return r=t,!1})),r},oQ.flatten=function(e){return Array.prototype.concat.apply([],e)},oQ.forEach=yQ,oQ.get=function(e,t,n){let r=e;return yQ(t,(function(e){if(pQ(r))return r=void 0,!1;r=r[e]})),lQ(r)?n:r},oQ.groupBy=_Q,oQ.has=mQ,oQ.isArray=uQ,oQ.isDefined=cQ,oQ.isFunction=hQ,oQ.isNil=pQ,oQ.isNumber=function(e){return"[object Number]"===sQ.call(e)},oQ.isObject=dQ,oQ.isString=function(e){return"[object String]"===sQ.call(e)},oQ.isUndefined=lQ,oQ.keys=xQ,oQ.map=wQ,oQ.matchPattern=function(e){return function(t){return bQ(e,(function(e,n){return t[n]===e}))}},oQ.merge=function e(t,...n){return n.length?(yQ(n,(function(n){n&&dQ(n)&&yQ(n,(function(n,r){if("__proto__"===r)return;let i=t[r];dQ(n)?(dQ(i)||(i={}),t[r]=e(i,n)):t[r]=n}))})),t):t},oQ.omit=function(e,t){let n={};return yQ(Object(e),(function(e,r){-1===t.indexOf(r)&&(n[r]=e)})),n},oQ.pick=function(e,t){let n={},r=Object(e);return yQ(t,(function(t){t in r&&(n[t]=e[t])})),n},oQ.reduce=vQ,oQ.set=function(e,t,n){let r=e;return yQ(t,(function(e,i){if("number"!=typeof e&&"string"!=typeof e)throw new Error("illegal key type: "+typeof e+". Key should be of type number or string.");if("constructor"===e)throw new Error("illegal key: constructor");if("__proto__"===e)throw new Error("illegal key: __proto__");let o=t[i+1],s=r[e];cQ(o)&&pQ(s)&&(s=r[e]=isNaN(+o)?{}:[]),lQ(o)?lQ(n)?delete r[e]:r[e]=n:r=s})),e},oQ.size=function(e){return xQ(e).length},oQ.some=function(e,t){return!!gQ(e,t)},oQ.sortBy=function(e,t){t=OQ(t);let n=[];return yQ(e,(function(e,r){let i=t(e,r),o={d:i,v:e};for(var s=0;s<n.length;s++){let{d:e}=n[s];if(i<e)return void n.splice(s,0,o)}n.push(o)})),wQ(n,(e=>e.v))},oQ.throttle=function(e,t){let n=!1;return function(...r){n||(e(...r),n=!0,setTimeout((()=>{n=!1}),t))}},oQ.unionBy=EQ,oQ.uniqueBy=kQ,oQ.values=function(e){return wQ(e,(e=>e))},oQ.without=function(e,t){if(lQ(e))return[];fQ(e);const n=PQ(t);return e.filter((function(e,t){return!n(e,t)}))},Object.defineProperty(iQ,"__esModule",{value:!0});var TQ=oQ;function MQ(e){return(DQ(e,"zeebe:IoMapping")||[])[0]}function AQ(e){return function(e,t){var n=MQ(e);return n&&n.get(t)||[]}(e,"inputParameters")}function DQ(e,t,n){var r=function(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=TQ.filter(i,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(r[0]||{})[n]||[]:r}function NQ(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function RQ(e,t,n){n=n||0,TQ.isArray(e)||(e=[e]),TQ.forEach(e,(function(e,r){var i=t(e,r,n);TQ.isArray(i)&&i.length&&RQ(i,t,n+1)}))}function jQ(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function IQ(e,t,n){var r=[],i=[];return RQ(e,(function(e,o,s){jQ(r,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&jQ(i,a,t))return a})),r}function LQ(e,t){return IQ(e,!t,-1)}function zQ(e,t){var n=TQ.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 BQ(e,t,n){var r,i,o,s,a=(r=n,i=t,o=NQ(e),s=TQ.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return TQ.find(AQ(e),(function(e){return e.target===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}var $Q=[function(e){var t=e.elements,n=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=function(e){return(MQ(e)||{}).inputParameters}(e);TQ.forEach(t,(function(t){var r=BQ(e,t.target,e);zQ(n,r)}))})),n},function(e){var t=e.elements,n=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=e.loopCharacteristics,r=t&&function(e){const t=DQ(e,"zeebe:LoopCharacteristics")[0];return t&&t.inputElement}(t);if(r){var i=BQ(e,r,e);zQ(n,i)}})),n},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=function(e){return(MQ(e)||{}).outputParameters}(e);TQ.forEach(t,(function(t){var i=BQ(e,t.target,n);zQ(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=e.loopCharacteristics,i=t&&function(e){const t=DQ(e,"zeebe:LoopCharacteristics")[0];return t&&t.outputCollection}(t);if(i){var o=BQ(e,i,n);zQ(r,o)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return TQ.isArray(t)||(t=[t]),TQ.forEach(t,(function(e){var t=function(e){return(DQ(e,"zeebe:CalledDecision")||[])[0]}(e)||function(e){return(DQ(e,"zeebe:Script")||[])[0]}(e);if(t){var i=t.resultVariable;if(i){var o=BQ(e,i,n);zQ(r,o)}}})),r}];function qQ(e,t=[]){var n=[],r=LQ([e],!1);const i=[];return TQ.forEach([...$Q,...t],(function(t){i.push(t({elements:r,containerElement:e,processVariables:n}))})),Promise.all(i).then((()=>n))}async function FQ(e,t,n=[]){var r=await qQ(t,n),i=function(e,t){var n=LQ(t);return TQ.find(n,(function(t){return t.id===e}))}(e,t),o=TQ.filter(r,(function(e){return e.scope.id===i.id})),s=NQ(i);return function(e,t){return e.concat(t)}(o,TQ.filter(r,(function(e){return TQ.find(s,(function(t){return t.id===e.scope.id}))})))}function VQ(e){return e&&e.businessObject||e}function HQ(e,t){var n=VQ(e);return n&&"function"==typeof n.$instanceOf&&n.$instanceOf(t)}var UQ=iQ.getProcessVariables=qQ,WQ=iQ.getVariablesForElement=function(e,t=[]){return FQ(function(e){const t=VQ(e);if(HQ(e,"bpmn:Participant"))return t.processRef.id;return t.id}(e),function(e){const t=VQ(e);if(HQ(t,"bpmn:Participant"))return t.processRef;if(HQ(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!HQ(n,"bpmn:Process");)n=n.$parent;return n}(e),t)};iQ.getVariablesForScope=FQ;var GQ={};Object.defineProperty(GQ,"__esModule",{value:!0});var QQ=oQ;function XQ(e){var t=function(e){return ZQ(e,"camunda:FormData")[0]}(e);return t&&t.get("fields")||[]}function ZQ(e,t,n){var r=function(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=QQ.filter(i,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})))}return n}(e,t);return n?(r[0]||{})[n]||[]:r}function YQ(e,t){var n=function(e){return(ZQ(e,"camunda:InputOutput")||[])[0]}(e);return n&&n.get(t)||[]}function KQ(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}function JQ(e,t,n){n=n||0,QQ.isArray(e)||(e=[e]),QQ.forEach(e,(function(e,r){var i=t(e,r,n);QQ.isArray(i)&&i.length&&JQ(i,t,n+1)}))}function eX(e,t,n){var r=!n||-1===e.indexOf(t);return r&&e.push(t),r}function tX(e,t,n){var r=[],i=[];return JQ(e,(function(e,o,s){eX(r,e,t);var a=e.flowElements;if((-1===n||s<n)&&a&&eX(i,a,t))return a})),r}function nX(e,t){return tX(e,!t,-1)}function rX(e,t){var n=QQ.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 iX(e,t,n){var r,i,o,s,a=(r=n,i=t,o=KQ(e),s=QQ.find(o,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,"bpmn:SubProcess")&&function(e,t){return QQ.find(function(e){return YQ(e,"inputParameters")}(e),(function(e){return e.name===t}))}(e,i)})),s||r);return{name:t,origin:[e],scope:a}}function oX(e,t){var n=e.eventDefinitions;return n&&t?QQ.filter(n,(function(e){return function(e,t){return e&&"function"==typeof e.$instanceOf&&e.$instanceOf(t)}(e,t)})):n}var sX=[function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=function(e){return YQ(e,"outputParameters")}(e);QQ.forEach(t,(function(t){var i=iX(e,t.name,n);rX(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=function(e){return e.get("camunda:resultVariable")}(e);if(t){var i=iX(e,t,n);rX(r,i)}})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=XQ(e);QQ.forEach(t,(function(t){var i=iX(e,t.id,n);rX(r,i)}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables;return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=function(e){return ZQ(e,"camunda:Out")}(e);QQ.forEach(t,(function(t){if(!t.local){var i=iX(e,t.target,n);rX(r,i)}}))})),r},function(e){var t=e.elements,n=e.containerElement,r=e.processVariables,i=function(e,t){var i=iX(e,t,n);rX(r,i)};return QQ.isArray(t)||(t=[t]),QQ.forEach(t,(function(e){var t=function(e){return oX(e,"bpmn:ErrorEventDefinition")}(e);QQ.forEach(t,(function(t){var n=t.get("errorCodeVariable"),r=t.get("errorMessageVariable");n&&i(e,n),r&&i(e,r)}));var n=function(e){return oX(e,"bpmn:EscalationEventDefinition")}(e);QQ.forEach(n,(function(t){var n=t.get("escalationCodeVariable");n&&i(e,n)}))})),r}];function aX(e,t=[]){const n=[];var r=[],i=nX([e],!1);return QQ.forEach([...sX,...t],(function(t){n.push(t({elements:i,containerElement:e,processVariables:r}))})),Promise.all(n).then((()=>r))}GQ.getProcessVariables=aX,GQ.getVariablesForScope=async function(e,t,n=[]){var r=await aX(t,n),i=function(e,t){var n=nX(t);return QQ.find(n,(function(t){return t.id===e}))}(e,t),o=QQ.filter(r,(function(e){return e.scope.id===i.id})),s=KQ(i);return function(e,t){return e.concat(t)}(o,QQ.filter(r,(function(e){return QQ.find(s,(function(t){return t.id===e.scope.id}))})))};const lX=j_({selectedElement:null,injector:null,getService:()=>null});function cX(e,t){const{getService:n}=nk(lX);return n(e,t)}function pX(){return pX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pX.apply(this,arguments)}function uX(){return uX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uX.apply(this,arguments)}function dX(){return dX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},dX.apply(this,arguments)}function hX(){return hX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hX.apply(this,arguments)}function fX(){return fX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fX.apply(this,arguments)}function mX(){return mX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mX.apply(this,arguments)}function gX(){return gX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gX.apply(this,arguments)}var yX=({styles:e={},...t})=>qk("svg",gX({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),qk("path",{stroke:"#000",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"1.1,4.3",d:"M1.5 30.5L27 5"}),qk("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 vX(){return vX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vX.apply(this,arguments)}function bX(){return bX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bX.apply(this,arguments)}function wX(){return wX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wX.apply(this,arguments)}function xX(){return xX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xX.apply(this,arguments)}function _X(){return _X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_X.apply(this,arguments)}function kX(){return kX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kX.apply(this,arguments)}function EX(){return EX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EX.apply(this,arguments)}function OX(){return OX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},OX.apply(this,arguments)}function PX(){return PX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PX.apply(this,arguments)}function SX(){return SX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SX.apply(this,arguments)}function CX(){return CX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CX.apply(this,arguments)}function TX(){return TX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TX.apply(this,arguments)}function MX(){return MX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MX.apply(this,arguments)}function AX(){return AX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AX.apply(this,arguments)}function DX(){return DX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DX.apply(this,arguments)}function NX(){return NX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NX.apply(this,arguments)}function RX(){return RX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RX.apply(this,arguments)}function jX(){return jX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jX.apply(this,arguments)}function IX(){return IX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IX.apply(this,arguments)}function LX(){return LX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LX.apply(this,arguments)}function zX(){return zX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zX.apply(this,arguments)}function BX(){return BX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BX.apply(this,arguments)}function $X(){return $X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$X.apply(this,arguments)}function qX(){return qX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qX.apply(this,arguments)}var FX=({styles:e={},...t})=>qk("svg",qX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 VX(){return VX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VX.apply(this,arguments)}var HX=({styles:e={},...t})=>qk("svg",VX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 UX(){return UX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UX.apply(this,arguments)}var WX=({styles:e={},...t})=>qk("svg",UX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 GX(){return GX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GX.apply(this,arguments)}var QX=({styles:e={},...t})=>qk("svg",GX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 XX(){return XX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XX.apply(this,arguments)}var ZX=({styles:e={},...t})=>qk("svg",XX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 YX(){return YX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YX.apply(this,arguments)}var KX=({styles:e={},...t})=>qk("svg",YX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 JX(){return JX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JX.apply(this,arguments)}var eZ=({styles:e={},...t})=>qk("svg",JX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 tZ(){return tZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tZ.apply(this,arguments)}var nZ=({styles:e={},...t})=>qk("svg",tZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 rZ(){return rZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rZ.apply(this,arguments)}var iZ=({styles:e={},...t})=>qk("svg",rZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 oZ(){return oZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oZ.apply(this,arguments)}var sZ=({styles:e={},...t})=>qk("svg",oZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 aZ(){return aZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aZ.apply(this,arguments)}var lZ=({styles:e={},...t})=>qk("svg",aZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 cZ(){return cZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cZ.apply(this,arguments)}var pZ=({styles:e={},...t})=>qk("svg",cZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 uZ(){return uZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uZ.apply(this,arguments)}var dZ=({styles:e={},...t})=>qk("svg",uZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 hZ(){return hZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hZ.apply(this,arguments)}var fZ=({styles:e={},...t})=>qk("svg",hZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 mZ(){return mZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mZ.apply(this,arguments)}var gZ=({styles:e={},...t})=>qk("svg",mZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 yZ(){return yZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yZ.apply(this,arguments)}var vZ=({styles:e={},...t})=>qk("svg",yZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 bZ(){return bZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bZ.apply(this,arguments)}var wZ=({styles:e={},...t})=>qk("svg",bZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 xZ(){return xZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xZ.apply(this,arguments)}var _Z=({styles:e={},...t})=>qk("svg",xZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 kZ(){return kZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},kZ.apply(this,arguments)}var EZ=({styles:e={},...t})=>qk("svg",kZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 OZ(){return OZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},PZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},TZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},MZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},AZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},DZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},RZ.apply(this,arguments)}function jZ(){return jZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IZ.apply(this,arguments)}function LZ(){return LZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LZ.apply(this,arguments)}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$Z.apply(this,arguments)}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},WZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},GZ.apply(this,arguments)}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},XZ.apply(this,arguments)}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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ZZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YZ.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 r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KZ.apply(this,arguments)}function JZ(){return JZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},JZ.apply(this,arguments)}function eY(){return eY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eY.apply(this,arguments)}function tY(){return tY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tY.apply(this,arguments)}function nY(){return nY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nY.apply(this,arguments)}function rY(){return rY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rY.apply(this,arguments)}var iY=({styles:e={},...t})=>qk("svg",rY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 oY(){return oY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oY.apply(this,arguments)}var sY=({styles:e={},...t})=>qk("svg",oY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 aY(){return aY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aY.apply(this,arguments)}function lY(){return lY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lY.apply(this,arguments)}function cY(){return cY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cY.apply(this,arguments)}function pY(){return pY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pY.apply(this,arguments)}var uY={Association:({styles:e={},...t})=>qk("svg",pX({width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg"},t),qk("path",{stroke:"#000",strokeWidth:"2",fill:"none",strokeDasharray:"3.3,6",strokeLinecap:"square",d:"M1.5 30.5l29-29"})),BusinessRuleTask:({styles:e={},...t})=>qk("svg",uX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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"}),qk("path",{d:"M6.079 8.209v3.587H21.44V8.209z"})),CallActivity:({styles:e={},...t})=>qk("svg",dX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",hX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("g",{fillRule:"evenodd"},qk("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"}),qk("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})=>qk("svg",fX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",mX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",vX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:yX,DataOutput:({styles:e={},...t})=>qk("svg",wX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:yX,DataObjectReference:({styles:e={},...t})=>qk("svg",bX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",xX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",_X({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",kX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",EX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",OX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",PX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",SX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",CX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",TX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",MX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",AX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",DX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",NX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",RX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",jX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",BX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",IX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",LX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",zX({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",$X({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:FX,CompensateIntermediateCatchEvent:HX,ConditionalIntermediateCatchEvent:WX,ErrorIntermediateCatchEvent:QX,EscalationIntermediateCatchEvent:ZX,LinkIntermediateCatchEvent:KX,MessageIntermediateCatchEvent:eZ,MultipleIntermediateCatchEvent:nZ,ConditionalIntermediateCatchEventNonInterrupting:iZ,EscalationIntermediateCatchEventNonInterrupting:sZ,MessageIntermediateCatchEventNonInterrupting:lZ,MultipleIntermediateCatchEventNonInterrupting:pZ,ParallelIntermediateCatchEventNonInterrupting:dZ,SignalIntermediateCatchEventNonInterrupting:fZ,TimerIntermediateCatchEventNonInterrupting:gZ,ParallelMultipleIntermediateCatchEvent:vZ,SignalIntermediateCatchEvent:wZ,TimerIntermediateCatchEvent:_Z,IntermediateThrowEvent:EZ,CompensateIntermediateThrowEvent:({styles:e={},...t})=>qk("svg",OZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",PZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",SZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",CZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",TZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",MZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",AZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("path",{d:"M0 7v18.62h32V7H0zm1.655 17.056V8.684h28.62v15.372H1.656z"})),ManualTask:({styles:e={},...t})=>qk("svg",DZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",NZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",RZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("path",{d:"M0 5v22.069h32V5H0zm30.276 1.684v18.82H6.62V6.684h23.655zm-28.62 0h3.31v18.82h-3.31V6.684z"})),Process:({styles:e={},...t})=>qk("svg",jZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",IZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",LZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",zZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",BZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",$Z({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",qZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",FZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",VZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",HZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",UZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",WZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",GZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",QZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",XZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",ZZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",YZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",KZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:FX,CompensateBoundaryEvent:HX,ConditionalBoundaryEvent:WX,ErrorBoundaryEvent:QX,EscalationBoundaryEvent:ZX,LinkBoundaryEvent:KX,MessageBoundaryEvent:eZ,MultipleBoundaryEvent:nZ,BoundaryEvent:EZ,ConditionalBoundaryEventNonInterrupting:iZ,EscalationBoundaryEventNonInterrupting:sZ,MessageBoundaryEventNonInterrupting:lZ,MultipleBoundaryEventNonInterrupting:pZ,ParallelBoundaryEventNonInterrupting:dZ,SignalBoundaryEventNonInterrupting:fZ,TimerBoundaryEventNonInterrupting:gZ,ParallelMultipleBoundaryEvent:vZ,SignalBoundaryEvent:wZ,TimerBoundaryEvent:_Z,StartEvent:({styles:e={},...t})=>qk("svg",JZ({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",eY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",tY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",nY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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:iY,CollapsedAdHocSubProcess:iY,ExpandedSubProcess:sY,ExpandedAdHocSubProcess:sY,Task:({styles:e={},...t})=>qk("svg",aY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",lY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",cY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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})=>qk("svg",pY({xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},t),qk("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 dY(e){const{type:t}=e;let n=fY(t);const r=function(e){const t=ro(e),n=t.eventDefinitions;return n&&n[0]}(e);if(r)return n=`${function(e){const t=fY(e.$type);return t.replace("EventDefinition","")}(r)}${n}`,(to(e,"bpmn:StartEvent")&&!Eo(e)||to(e,"bpmn:BoundaryEvent")&&!function(e){const t=ro(e);return t&&!1!==t.cancelActivity}(e))&&(n=`${n}NonInterrupting`),n;if(to(e,"bpmn:SubProcess")&&!to(e,"bpmn:Transaction"))if(Oo(e))n=`Event${n}`;else{const t=_o(e)&&!function(e){const t=e&&(e.di||ro(e).di);return to(t,"bpmndi:BPMNPlane")}(e);n=`${t?"Expanded":"Collapsed"}${n}`}return function(e){const t=ro(e),n=ro(e.source);if(!to(e,"bpmn:SequenceFlow")||!n)return!1;return n.default&&n.default===t&&(to(n,"bpmn:Gateway")||to(n,"bpmn:Activity"))}(e)&&(n="DefaultFlow"),function(e){const t=ro(e),n=ro(e.source);if(!to(e,"bpmn:SequenceFlow")||!n)return!1;return t.conditionExpression&&to(n,"bpmn:Activity")}(e)&&(n="ConditionalFlow"),n}const hY=e=>(e||(e=e=>e),{getDocumentationRef:e=>{const t=mY();if(t)return function(e,t){const n=gY(e,t);return n&&n.documentationRef}(e,t)},getElementLabel:e=>to(e,"bpmn:Process")?ro(e).name:Ro(e),getElementIcon:e=>{const t=dY(e),n=cX("config.elementTemplateIconRenderer",!1),{iconProperty:r="zeebe:modelerTemplateIcon"}=n||{},i=ro(e).get(r);return i?()=>Vk("img",{class:"bio-properties-panel-header-template-icon",width:"32",height:"32",src:i}):uY[t]},getTypeLabel:t=>{const n=mY();if(n){const r=gY(t,n);if(r&&r.name)return e(r.name)}const r=dY(t);return e(r.replace(/(\B[A-Z])/g," $1").replace(/(\bNon Interrupting)/g,"($1)"))}});function fY(e){return e.split(":")[1]}function mY(){return cX("elementTemplates",!1)}function gY(e,t){return t.get(e)}function yY(){return yY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yY.apply(this,arguments)}var vY=({styles:e={},...t})=>qk("svg",yY({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"64",height:"64"},t),qk("defs",null,qk("rect",{id:"a",width:"57",height:"47",x:"3",y:"8",rx:"7"}),qk("mask",{id:"b",width:"57",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},qk("use",{xlinkHref:"#a"}))),qk("g",{fill:"none",fillRule:"evenodd"},qk("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"}),qk("path",{fill:"#D5D7DD",d:"M16 24h31v6H16zM21 33h21v6H21z"}),qk("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));function bY(){return bY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bY.apply(this,arguments)}var wY=({styles:e={},...t})=>qk("svg",bY({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"128",height:"64"},t),qk("defs",null,qk("path",{id:"a",d:"M9 9h110v47H9z"}),qk("mask",{id:"b",width:"110",height:"47",x:"0",y:"0",fill:"#fff",maskContentUnits:"userSpaceOnUse",maskUnits:"objectBoundingBox"},qk("use",{xlinkHref:"#a"}))),qk("g",{fill:"none",fillRule:"evenodd"},qk("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"}),qk("path",{fill:"#D5D7DD",d:"M17 47h16v6H17z"}),qk("path",{fill:"#818798",d:"M35 32h27v2H35z"}),qk("path",{fill:"#818798",d:"M60 30v6l6-3z"}),qk("path",{fill:"#D5D7DD",d:"M80 34h21v6H80z"}),qk("g",null,qk("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"}),qk("path",{fill:"#D5D7DD",d:"M75 25h31v6H75z"})),qk("use",{stroke:"#B9BCC6",strokeDasharray:"5 2",strokeWidth:"2",mask:"url(#b)",xlinkHref:"#a"})));const xY=e=>(e||(e=e=>e),{getEmpty:()=>({text:e("Select an element to edit its properties."),icon:vY}),getMultiple:()=>({text:e("Multiple elements are selected. Select a single element to edit its properties."),icon:wY})});function _Y(e){const{element:t,injector:n,getProviders:r,layoutConfig:i,descriptionConfig:o,tooltipConfig:s,feelPopupContainer:a}=e,l=n.get("canvas"),p=n.get("elementRegistry"),u=n.get("eventBus"),d=n.get("translate"),[h,f]=X_({selectedElement:t}),g=h.selectedElement,y=e=>{if(!e)return;let t=e;t&&"label"===t.type&&(t=t.labelTarget),f({...h,selectedElement:t}),u.fire("propertiesPanel.updated",{element:t})};Y_((()=>{const e=e=>{const{newSelection:t=[]}=e;if(t.length>1)return y(t);const n=t[0],r=l.getRootElement();(function(e){return e&&(e.isImplicit||"__implicitroot"===e.id)})(r)||y(n||r)};return u.on("selection.changed",e),()=>{u.off("selection.changed",e)}}),[]),Y_((()=>{const e=e=>{const t=function(e,t){return m(e,(e=>e===t))}(e.elements,g);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)}}),[g]),Y_((()=>{const e=e=>{const t=e.element;y(t)};return u.on("root.added",e),()=>{u.off("root.added",e)}}),[g]),Y_((()=>{const e=()=>{y(g)};return u.on("propertiesPanel.providersChanged",e),()=>{u.off("propertiesPanel.providersChanged",e)}}),[g]),Y_((()=>{const e=()=>{y(g)};return u.on("elementTemplates.changed",e),()=>{u.off("elementTemplates.changed",e)}}),[g]);const v={selectedElement:g,injector:n,getService:(e,t)=>n.get(e,t)},b=r(g),x=ek((()=>w(b,(function(e,t){if(c(g))return[];return t.getGroups(g)(e)}),[])),[b,g]),[_,k]=X_(i||{}),E=tk((e=>{u.fire("propertiesPanel.layoutChanged",{layout:e})}),[u]);Y_((()=>{const e=e=>{const{layout:t}=e;k(t)};return u.on("propertiesPanel.setLayout",e),()=>u.off("propertiesPanel.setLayout",e)}),[u,k]);return Vk(lX.Provider,{value:v,children:Vk(pG,{element:g,headerProvider:hY(d),placeholderProvider:xY(d),groups:x,layoutConfig:_,layoutChanged:E,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 kY{constructor(e,t,n){const{parent:r,layout:i,description:o,tooltip:s,feelPopupContainer:a}=e||{};this._eventBus=n,this._injector=t,this._layoutConfig=i,this._descriptionConfig=o,this._tooltipConfig=s,this._feelPopupContainer=a,this._container=nQ('<div style="height: 100%" class="bio-properties-panel-container"></div>');var l=t.get("commandStack",!1);l&&function(e,t,n){function r(e){e.preventDefault(),e.stopPropagation()}function i(e){return Sa(e)?(n.undo(),r(e)):Ca(e)?(n.redo(),r(e)):void 0}t.on("keyboard.bind",(function(){KG.bind(e,"keydown",i)})),t.on("keyboard.unbind",(function(){KG.unbind(e,"keydown",i)}))}(this._container,n,l),n.on("diagram.init",(()=>{r&&this.attachTo(r)})),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=rQ(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)||(R_(Vk(_Y,{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&&(R_(null,this._container),this._eventBus.fire("propertiesPanel.destroyed"))}}kY.$inject=["config.propertiesPanel","injector","eventBus"];let EY=class{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}};EY.$inject=["commandStack"];const OY={"properties-panel.multi-command-executor":EY};function PY(e,t){e.on("diagram.init",(function(){v(OY,(function(e,n){t.registerHandler(n,e)}))}))}PY.$inject=["eventBus","commandStack"];var SY={__depends__:[{__init__:[PY]},$G,FG],__init__:["propertiesPanel"],propertiesPanel:["type",kY]};function CY(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=hW(i);return Y_((()=>{if(t&&o&&i.length>o.length){const e=rQ(`[data-entry-id="${t}"]`),n=rQ(".bio-properties-panel-input",e);n&&n.select()}}),[i]),Vk(SG,{...e})}function TY(e){return AY(e,"bpmn:ErrorEventDefinition")}function MY(e){const t=TY(e);return t&&t.get("errorRef")}function AY(e,t){return m(ro(e).get("eventDefinitions")||[],(function(e){return to(e,t)}))}function DY(e){return to(e,"bpmn:ReceiveTask")?ro(e):AY(e,"bpmn:MessageEventDefinition")}function NY(e){const t=DY(e);return t&&t.get("messageRef")}function RY(e){return AY(e,"bpmn:LinkEventDefinition")}function jY(e){return AY(e,"bpmn:SignalEventDefinition")}function IY(e){const t=jY(e);return t&&t.get("signalRef")}function LY(e){return AY(e,"bpmn:EscalationEventDefinition")}function zY(e){const t=LY(e);return t&&t.get("escalationRef")}function BY(e){return AY(e,"bpmn:CompensateEventDefinition")}function $Y(e){const{element:t}=e;return function(e){return no(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"])&&!!BY(e)}(t)?[{id:"waitForCompletion",component:qY,isEdited:EG},{id:"activityRef",component:FY,isEdited:CG}]:[]}function qY(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=BY(t);return kG({element:t,id:"waitForCompletion",label:r("Wait for completion"),getValue:()=>i.get("waitForCompletion"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:i,properties:{waitForCompletion:e}})}})}function FY(e){const{element:t}=e,n=cX("commandStack"),r=cX("elementRegistry"),i=cX("translate"),o=BY(t);return CY({element:t,id:"activityRef",label:i("Activity reference"),getValue:()=>{const e=function(e){const t=BY(e);return t&&t.get("activityRef")}(t);return e&&e.get("id")},setValue:e=>{const i=e?ro(r.get(e)):void 0;n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{activityRef:i}})},getOptions:()=>{let e=[{value:"",label:i("<none>")}];const n=function(e){const t=ro(e);let n=t.$parent,r=UY(n);to(n,"bpmn:SubProcess")&&n.triggeredByEvent&&(n=n.$parent,n&&(r=[...r,...UY(n)]));return r}(t);var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((function(t){e.push({value:t.id,label:WY(t)})})),e}})}function VY(e,t){const{flowElements:n}=e;return n.filter((function(e){return to(e,t)}))}function HY(e,t){return to(e,"bpmn:CallActivity")||to(e,"bpmn:SubProcess")&&!e.triggeredByEvent&&!e.isForCompensation||function(e,t){const{id:n}=e;return!!m(t,(function(e){const{attachedToRef:t}=e,r=BY(e);return t&&r&&t.id===n}))}(e,t)}function UY(e){const t=function(e){return VY(e,"bpmn:Activity")}(e),n=function(e){return VY(e,"bpmn:BoundaryEvent")}(e);return t.filter((function(e){return HY(e,n)}))}function WY(e){const{id:t,name:n}=e;return`${n?n+" ":""}(id=${t})`}const GY="text/plain";function QY(e){const{element:t}=e,n=[{id:"documentation",component:XY,isEdited:NG}];return function(e){return to(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)&&n.push({id:"processDocumentation",component:ZY,isEdited:NG}),n}function XY(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=cX("debounceInput"),s=KY(ro(t)),a=JY(t,ro(t),n,r);return DG({element:t,id:"documentation",label:i("Element documentation"),getValue:s,setValue:a,debounce:o})}function ZY(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=cX("debounceInput"),s=ro(t).processRef,a=KY(s),l=JY(t,s,n,r);return DG({element:t,id:"processDocumentation",label:i("Process documentation"),getValue:a,setValue:l,debounce:o})}function YY(e){return e.find((function(e){return(e.textFormat||GY)===GY}))}function KY(e){return function(){const t=YY(e&&e.get("documentation"));return t&&t.text}}function JY(e,t,n,r){return function(i){let o=YY(t&&t.get("documentation"));return o?i?r.execute("element.updateModdleProperties",{element:e,moddleElement:o,properties:{text:i}}):r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:b(t.get("documentation"),o)}}):i?(o=n.create("bpmn:Documentation",{text:i}),r.execute("element.updateModdleProperties",{element:e,moddleElement:t,properties:{documentation:[...t.get("documentation"),o]}})):void 0}}function eK(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function tK(e){return new n([32,32,1]).nextPrefixed(e)}function nK(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function rK(e,t){return function(e,t){return(e||[]).filter((e=>to(e,t)))}(nK(e).get("rootElements"),t)}function iK(e,t,n){return rK(e,t).find((e=>e.id===n))}const oK="",sK="create-new";function aK(e){const{element:t}=e;if(!function(e){return no(e,["bpmn:StartEvent","bpmn:BoundaryEvent","bpmn:EndEvent"])&&!!TY(e)}(t))return[];let n=[{id:"errorRef",component:lK,isEdited:CG}];return MY(t)&&(n=[...n,{id:"errorName",component:cK,isEdited:LG},{id:"errorCode",component:pK,isEdited:LG}]),n}function lK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=TY(t);return CY({element:t,id:"errorRef",label:i("Global error reference"),autoFocusEntry:"errorName",getValue:()=>{const e=MY(t);return e?e.get("id"):oK},setValue:e=>{const i=nK(o),s=[];let a;return e===sK&&(a=eK("bpmn:Error",{name:tK("Error_")},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})),a=a||iK(o,"bpmn:Error",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{errorRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:oK,label:i("<none>")},{value:sK,label:i("Create new ...")}];const n=rK(ro(t),"bpmn:Error");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function cK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=MY(t);return IG({element:t,id:"errorName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function pK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=MY(t);return IG({element:t,id:"errorCode",label:r("Code"),getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:i})}const uK="create-new";function dK(e){const{element:t}=e;if(!function(e){return to(e,"bpmn:Event")&&!!LY(e)}(t))return[];let n=[{id:"escalationRef",component:hK,isEdited:CG}];return zY(t)&&(n=[...n,{id:"escalationName",component:fK,isEdited:LG},{id:"escalationCode",component:mK,isEdited:LG}]),n}function hK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=LY(t);return CY({element:t,id:"escalationRef",label:i("Global escalation reference"),autoFocusEntry:"escalationName",getValue:()=>{const e=zY(t);return e&&e.get("id")},setValue:e=>{const i=nK(o),s=[];let a;if(e===uK){const r=tK("Escalation_");a=eK("bpmn:Escalation",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||iK(o,"bpmn:Escalation",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{escalationRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:"",label:i("<none>")},{value:uK,label:i("Create new ...")}];const n=rK(ro(t),"bpmn:Escalation");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function fK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=zY(t);return IG({element:t,id:"escalationName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function mK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=zY(t);return IG({element:t,id:"escalationCode",label:r("Code"),getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:i})}function gK(e){const{element:t}=e;return to(t,"bpmn:Process")||function(e){return to(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"isExecutable",component:yK,isEdited:EG}]:[]}function yK(e){const{element:t}=e,n=cX("modeling"),r=cX("commandStack"),i=cX("translate");let o,s;if(s=e=>{n.updateProperties(t,{isExecutable:e})},o=e=>e.businessObject.isExecutable,to(t,"bpmn:Participant")){const e=t.businessObject.get("processRef");s=n=>{r.execute("element.updateModdleProperties",{element:t,moddleElement:e,properties:{isExecutable:n}})},o=()=>e.get("isExecutable")}return kG({element:t,id:"isExecutable",label:i("Executable"),getValue:o,setValue:s})}const vK=/\s/,bK=/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i,wK=/^[a-z_][\w-.]*$/i;function xK(e,t,n){const r=e.$model.ids.assigned(t);return t?r&&r!==e?n("ID must be unique."):function(e,t){if(n=e,vK.test(n))return t("ID must not contain spaces.");var n;if(!wK.test(e))return bK.test(e)?t("ID must not contain prefix."):t("ID must be a valid QName.")}(t,n):n("ID must not be empty.")}function _K(e){const{element:t}=e,n=cX("modeling"),r=cX("debounceInput"),i=cX("translate"),o=tk((e=>ro(e).id),[t]),s=tk((e=>xK(ro(t),e,i)),[t,i]);return IG({element:t,id:"id",label:i(to(t,"bpmn:Participant")?"Participant ID":"ID"),getValue:o,setValue:(e,r)=>{r||n.updateProperties(t,{id:e})},debounce:r,validate:s})}function kK(e){const{element:t}=e;return function(e){return no(e,["bpmn:IntermediateThrowEvent","bpmn:IntermediateCatchEvent"])&&!!RY(e)}(t)?[{id:"linkName",component:EK,isEdited:LG}]:[]}function EK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=RY(t);return IG({element:t,id:"linkName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:i})}const OK="",PK="create-new";function SK(e){const{element:t}=e;if(!function(e){return to(e,"bpmn:ReceiveTask")||no(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!DY(e)}(t))return[];let n=[{id:"messageRef",component:CK,isEdited:CG}];return NY(t)&&(n=[...n,{id:"messageName",component:TK,isEdited:LG}]),n}function CK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=DY(t);return CY({element:t,id:"messageRef",label:i("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=NY(t);return e?e.get("id"):OK},setValue:e=>{const i=nK(o),s=[];let a;if(e===PK){const r=tK("Message_");a=eK("bpmn:Message",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||iK(o,"bpmn:Message",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{messageRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:OK,label:i("<none>")},{value:PK,label:i("Create new ...")}];const n=rK(ro(t),"bpmn:Message");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function TK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=NY(t);return IG({element:t,id:"messageName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function MK(e){const{element:t}=e;if(!function(e){const t=jK(e);return!!t&&to(t,"bpmn:MultiInstanceLoopCharacteristics")}(t))return[];return[{id:"loopCardinality",component:AK,isEdited:LG},{id:"completionCondition",component:DK,isEdited:LG}]}function AK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("debounceInput"),i=cX("commandStack"),o=cX("translate");return IG({element:t,id:"loopCardinality",label:o("Loop cardinality"),getValue:()=>function(e){const t=function(e){return RK(e,"loopCardinality")}(e);return NK(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",IK(t,"loopCardinality",e,n)),debounce:r})}function DK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("debounceInput"),i=cX("commandStack"),o=cX("translate");return IG({element:t,id:"completionCondition",label:o("Completion condition"),getValue:()=>function(e){const t=function(e){return RK(e,"completionCondition")}(e);return NK(t)}(t),setValue:e=>i.execute("element.updateModdleProperties",IK(t,"completionCondition",e,n)),debounce:r})}function NK(e){return e&&e.get("body")}function RK(e,t){const n=jK(e);return n&&n.get(t)}function jK(e){return ro(e).loopCharacteristics}function IK(e,t,n,r){const i=jK(e),o={};if(!n)return o[t]=void 0,{element:e,moddleElement:i,properties:o};const s=i.get(t);return s?{element:e,moddleElement:s,properties:{body:n}}:(o[t]=function(e,t,n){return eK("bpmn:FormalExpression",{body:t},e,n)}(i,n,r),{element:e,moddleElement:i,properties:o})}function LK(e){const{element:t}=e;return no(t,["bpmn:Collaboration","bpmn:DataAssociation","bpmn:Association"])?[]:[{id:"name",component:zK,isEdited:NG}]}function zK(e){const{element:t}=e,n=cX("modeling"),r=cX("debounceInput"),i=cX("canvas"),o=cX("bpmnFactory"),s=cX("translate");let a={element:t,id:"name",label:s("Name"),debounce:r,setValue:e=>{n.updateProperties(t,{name:e})},getValue:e=>e.businessObject.name,autoResize:!0};return to(t,"bpmn:TextAnnotation")?a={...a,setValue:e=>{n.updateProperties(t,{text:e})},getValue:e=>e.businessObject.text}:to(t,"bpmn:Group")?a={...a,setValue:e=>{const r=ro(t);r.categoryValueRef||function(e,t,n){const r=function(e,t){const n=t.create("bpmn:CategoryValue"),r=t.create("bpmn:Category",{categoryValue:[n]});return tn(e.get("rootElements"),r),ro(r).$parent=e,ro(n).$parent=r,n}(ro(t).$parent,n);e.categoryValueRef=r}(r,i.getRootElement(),o),n.updateLabel(t,e)},getValue:e=>{const t=ro(e).categoryValueRef;return t&&t.value}}:to(t,"bpmn:Participant")&&(a.label=s("Participant Name")),DG(a)}function BK(e){const{element:t}=e;return function(e){return to(e,"bpmn:Participant")&&e.businessObject.get("processRef")}(t)?[{id:"processId",component:qK,isEdited:LG},{id:"processName",component:$K,isEdited:LG}]:[]}function $K(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=t.businessObject.get("processRef");return IG({element:t,id:"processName",label:r("Process name"),getValue:()=>o.get("name"),setValue:e=>{n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}})},debounce:i})}function qK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=t.businessObject.get("processRef"),s=tk((e=>xK(o,e,r)),[o,r]);return IG({element:t,id:"processId",label:r("Process ID"),getValue:()=>o.get("id"),setValue:(e,r)=>{r||n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{id:e}})},debounce:i,validate:s})}const FK="",VK="create-new";function HK(e){const{element:t}=e;if(!function(e){return to(e,"bpmn:Event")&&!!jY(e)}(t))return[];let n=[{id:"signalRef",component:UK,isEdited:CG}];return IY(t)&&(n=[...n,{id:"signalName",component:WK,isEdited:LG}]),n}function UK(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=jY(t);return CY({element:t,id:"signalRef",label:i("Global signal reference"),autoFocusEntry:"signalName",getValue:()=>{const e=IY(t);return e?e.get("id"):FK},setValue:e=>{const i=nK(o),s=[];let a;if(e===VK){const r=tK("Signal_");a=eK("bpmn:Signal",{id:r,name:r},i,n),e=a.get("id"),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:i,properties:{rootElements:[...i.get("rootElements"),a]}}})}return a=a||iK(o,"bpmn:Signal",e),s.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{signalRef:a}}}),r.execute("properties-panel.multi-command-executor",s)},getOptions:()=>{let e=[{value:FK,label:i("<none>")},{value:VK,label:i("Create new ...")}];const n=rK(ro(t),"bpmn:Signal");var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}function WK(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=IY(t);return IG({element:t,id:"signalName",label:r("Name"),getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function GK(e){return no(e,["bpmn:StartEvent","bpmn:IntermediateCatchEvent","bpmn:BoundaryEvent"])&&!!XK(e)}function QK(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 XK(e){return ZK(e,"bpmn:TimerEventDefinition")}function ZK(e,t){return m(ro(e).get("eventDefinitions")||[],(function(e){return to(e,t)}))}function YK(e){return ZK(e,"bpmn:SignalEventDefinition")}function KK(e){const t=YK(e);return t&&t.get("signalRef")}function JK(e){const{element:t,idPrefix:n}=e;let{timerEventDefinition:r}=e;if(!r){r=XK(ro(t))}const i=QK(r);if(!GK(t))return[];const o=[];return o.push({id:rJ(n,"timerEventDefinitionType"),component:eJ,isEdited:CG,timerEventDefinition:r,timerEventDefinitionType:i}),i&&o.push({id:rJ(n,"timerEventDefinitionValue"),component:tJ,isEdited:LG,timerEventDefinition:r,timerEventDefinitionType:i}),o}function eJ(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=cX("commandStack"),o=cX("bpmnFactory"),s=cX("translate");return SG({element:t,id:"timerEventDefinitionType",label:s("Type"),getValue:()=>r||"",setValue:e=>{if(e===r)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),i.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 tJ(e){const{element:t,timerEventDefinition:n,timerEventDefinitionType:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput"),a=n.get(r);return IG({element:t,id:"timerEventDefinitionValue",label:o("Value"),getValue:()=>a&&a.get("body"),setValue:e=>{i.execute("element.updateModdleProperties",{element:t,moddleElement:a,properties:{body:e}})},debounce:s,tooltip:nJ(r,o)})}function nJ(e,t){switch(e){case"timeDate":return Vk("div",{children:[Vk("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),Vk("li",{children:[Vk("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),Vk("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 Vk("div",{children:[Vk("p",{children:t("A cycle defined as ISO 8601 repeating intervals format.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),Vk("li",{children:[Vk("code",{children:"R/P1D"})," - ",t("every day, infinitely")]})]}),Vk("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 Vk("div",{children:[Vk("p",{children:t("A time duration defined as ISO 8601 durations format.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"PT15S"})," - ",t("15 seconds")]}),Vk("li",{children:[Vk("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),Vk("li",{children:[Vk("code",{children:"P14D"})," - ",t("14 days")]})]}),Vk("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 rJ(e,t){return e?e+t:t}function iJ(e,t){const n=t.get("translate"),r=[...LK({element:e}),{id:"id",component:_K,isEdited:LG},...BK({element:e}),...gK({element:e})];return{id:"general",label:n("General"),entries:r,component:yW}}function oJ(e,t){const n={label:t.get("translate")("Compensation"),id:"compensation",component:yW,entries:[...$Y({element:e})]};return n.entries.length?n:null}function sJ(e,t){const n=t.get("translate"),r=[...QY({element:e})];return{id:"documentation",label:n("Documentation"),entries:r,component:yW}}function aJ(e,t){const n={id:"error",label:t.get("translate")("Error"),component:yW,entries:[...aK({element:e})]};return n.entries.length?n:null}function lJ(e,t){const n={id:"message",label:t.get("translate")("Message"),component:yW,entries:[...SK({element:e})]};return n.entries.length?n:null}function cJ(e,t){const n={id:"signal",label:t.get("translate")("Signal"),component:yW,entries:[...HK({element:e})]};return n.entries.length?n:null}function pJ(e,t){const n={label:t.get("translate")("Link"),id:"link",component:yW,entries:[...kK({element:e})]};return n.entries.length?n:null}function uJ(e,t){const n={id:"escalation",label:t.get("translate")("Escalation"),component:yW,entries:[...dK({element:e})]};return n.entries.length?n:null}function dJ(e,t){const n={label:t.get("translate")("Timer"),id:"timer",component:yW,entries:[...JK({element:e})]};return n.entries.length?n:null}function hJ(e,t){const n={label:t.get("translate")("Multi-instance"),id:"multiInstance",component:yW,entries:[...MK({element:e})]};return n.entries.length?n:null}class fJ{constructor(e,t){e.registerProvider(this),this._injector=t}getGroups(e){return t=>(t=t.concat(function(e,t){return[iJ(e,t),sJ(e,t),oJ(e,t),aJ(e,t),pJ(e,t),lJ(e,t),hJ(e,t),cJ(e,t),uJ(e,t),dJ(e,t)].filter((e=>null!==e))}(e,this._injector)),t)}}fJ.$inject=["propertiesPanel","injector"];var mJ={__init__:["bpmnPropertiesProvider"],bpmnPropertiesProvider:["type",fJ]};function gJ(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>to(e,t))):r:[]}function yJ(e,t,n,r){c(n)||(n=[n]);const i=t.get("extensionElements"),o=i.get("values").filter((e=>!n.includes(e)));r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:o}})}const vJ={getVariablesForElement:e=>WQ(e)};const bJ=function(e){return t=>{const n=ek((()=>{const e=cX("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return Vk(e,{...t,tooltipContainer:n})}}(eG),wJ=function(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=X_([]),a=cX("eventBus"),l=function(e,t){const n=cX(e,!1);if(!n)return t;return n}("variableResolver",vJ);return Y_((()=>{const e=()=>{(async()=>{const e=await l.getVariablesForElement(i,r);s(e.map((e=>({...e,info:e.info||e.origin&&"Written in "+e.origin.map((e=>e.name||e.id)).join(", ")}))))})()};return a.on("commandStack.changed",e),e(),()=>{a.off("commandStack.changed",e)}}),[i]),Vk(e,{...t,variables:o})}}(bJ);function xJ(e){const{element:t}=e;return to(t,"bpmn:UserTask")?[{id:"assignmentDefinitionAssignee",component:_J,isEdited:rG},{id:"assignmentDefinitionCandidateGroups",component:kJ,isEdited:rG},{id:"assignmentDefinitionCandidateUsers",component:EJ,isEdited:rG}]:[]}function _J(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"assignmentDefinitionAssignee",label:i("Assignee"),feel:"optional",getValue:()=>(OJ(t)||{}).assignee,setValue:e=>{const i=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=OJ(t);a||(a=eK("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{assignee:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function kJ(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"assignmentDefinitionCandidateGroups",label:i("Candidate groups"),feel:"optional",getValue:()=>(OJ(t)||{}).candidateGroups,setValue:e=>{let i=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=OJ(t);a||(a=eK("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{candidateGroups:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function EJ(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"assignmentDefinitionCandidateUsers",label:i("Candidate users"),feel:"optional",getValue:()=>(OJ(t)||{}).candidateUsers,setValue:e=>{let i=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=OJ(t);a||(a=eK("zeebe:AssignmentDefinition",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{candidateUsers:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function OJ(e){return gJ(ro(e),"zeebe:AssignmentDefinition")[0]}function PJ(e){return!!to(e,"zeebe:ZeebeServiceTask")&&(to(e,"bpmn:EndEvent")||to(e,"bpmn:IntermediateThrowEvent")?!!DY(e):!(no(e,["bpmn:BusinessRuleTask","bpmn:ScriptTask"])&&!function(e){const t=ro(e);return gJ(t,"zeebe:TaskDefinition")[0]}(e)))}function SJ(e){return gJ(ro(e),"zeebe:TaskHeaders")[0]}const CJ="dmn",TJ="jobWorker",MJ="";function AJ(e){const{element:t}=e;return to(t,"bpmn:BusinessRuleTask")?[{id:"businessRuleImplementation",component:DJ,isEdited:()=>function(e){return NJ(e)}(t)}]:[]}function DJ(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate");return SG({element:t,id:n,label:o("Implementation"),getValue:()=>RJ(t)?CJ:NJ(t)?TJ:MJ,setValue:e=>{let n,o;e===CJ?(n=RJ(t),o="zeebe:CalledDecision"):e===TJ?(n=NJ(t),o="zeebe:TaskDefinition"):function(e,t){const n=ro(e),r=[NJ(e),SJ(e),RJ(e)].filter(Boolean);yJ(e,n,r,t)}(t,r),!n&&o&&(n=eK(o,{},null,i),function(e,t,n,r){const i=ro(e),o=[];let s,a=i.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));t.$parent=a,to(t,"zeebe:TaskDefinition")?s=b(a.get("values"),RJ(e)):to(t,"zeebe:CalledDecision")&&(s=b(a.get("values"),NJ(e)));o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...s,t]}}}),r.execute("properties-panel.multi-command-executor",o)}(t,n,i,r))},getOptions:()=>[{value:MJ,label:o("<none>")},{value:CJ,label:o("DMN decision")},{value:TJ,label:o("Job worker")}]})}function NJ(e){return gJ(ro(e),"zeebe:TaskDefinition")[0]}function RJ(e){return gJ(ro(e),"zeebe:CalledDecision")[0]}function jJ(e){const{element:t}=e;return to(t,"bpmn:BusinessRuleTask")&&zJ(t)?[{id:"decisionId",component:IJ,isEdited:rG},{id:"resultVariable",component:LJ,isEdited:LG}]:[]}function IJ(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("Decision ID"),feel:"optional",getValue:()=>(zJ(t)||{}).decisionId,setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=zJ(t);a||(a=eK("zeebe:CalledDecision",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{decisionId:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function LJ(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return IG({element:t,id:n,label:o("Result variable"),getValue:()=>(zJ(t)||{}).resultVariable,setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=zJ(t);a||(a=eK("zeebe:CalledDecision",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{resultVariable:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function zJ(e){return gJ(ro(e),"zeebe:CalledDecision")[0]}function BJ(e){const{element:t}=e;if(!to(t,"bpmn:SequenceFlow"))return[];const n=[];return function(e){return no(e,qJ)}(t.source)&&n.push({id:"conditionExpression",component:$J,isEdited:rG}),n}function $J(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"conditionExpression",label:i("Condition expression"),feel:"required",getValue:()=>function(e){const t=ro(e),n=t.conditionExpression;if(n)return n.get("body")}(t),setValue:e=>{const i=[],o=ro(t),s=t.source;s.businessObject.default===o&&i.push({cmd:"element.updateProperties",context:{element:s,properties:{default:void 0}}});const a=e&&""!=e?eK("bpmn:FormalExpression",{body:e},o,r):void 0;i.push({cmd:"element.updateProperties",context:{element:t,properties:{conditionExpression:a}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}const qJ=["bpmn:Activity","bpmn:ExclusiveGateway","bpmn:InclusiveGateway"];function FJ(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=MY(t);return wJ({element:t,id:"errorCode",label:r("Code"),feel:"optional",getValue:()=>o.get("errorCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{errorCode:e}}),debounce:i})}function VJ(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=zY(t);return wJ({element:t,id:"escalationCode",label:r("Code"),feel:"optional",getValue:()=>o.get("escalationCode"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{escalationCode:e}}),debounce:i})}const HJ="camunda-forms:bpmn:",UJ="UserTaskForm_",WJ={CAMUNDA_FORM_EMBEDDED:"camunda-form-embedded",CAMUNDA_FORM_LINKED:"camunda-form-linked",CUSTOM_FORM:"custom-form",EXTERNAL_REFERENCE:"external-reference"};function GJ(e){return gJ(ro(e),"zeebe:FormDefinition")[0]}function QJ(e,t){t=t||ZJ(e);const n=GJ(e);if(!n)return;const r=n.get("formKey");return gJ(t,"zeebe:UserTaskForm").find((e=>XJ(e.get("id"))===r))}function XJ(e){return`${HJ}${e}`}function ZJ(e){let t=ro(e);for(;t.$parent&&!to(t,"bpmn:Process");)t=t.$parent;return t}function YJ(e){const t=GJ(e);if(!t)return;const n=t.get("formId"),r=t.get("formKey"),i=t.get("externalReference");return a(n)?WJ.CAMUNDA_FORM_LINKED:a(i)?WJ.EXTERNAL_REFERENCE:a(r)?QJ(e)?WJ.CAMUNDA_FORM_EMBEDDED:WJ.CUSTOM_FORM:void 0}function KJ(e){return gJ(ro(e),"zeebe:UserTask").length>0}const JJ="none";function e0(e){const{element:t}=e;if(!to(t,"bpmn:UserTask"))return[];const n=[{id:"formType",component:t0,isEdited:e=>e.value!==JJ}],r=YJ(t);return r===WJ.CAMUNDA_FORM_EMBEDDED?n.push({id:"formConfiguration",component:n0,isEdited:NG}):r===WJ.CAMUNDA_FORM_LINKED?n.push({id:"formId",component:r0,isEdited:LG}):r===WJ.CUSTOM_FORM?n.push({id:"customFormKey",component:i0,isEdited:LG}):r===WJ.EXTERNAL_REFERENCE&&n.push({id:"externalReference",component:o0,isEdited:rG}),n}function t0(e){const{element:t}=e,n=cX("injector"),r=cX("translate");return SG({element:t,id:"formType",label:r("Type"),getValue:()=>YJ(t)||JJ,setValue:e=>{!function(e,t,n){n===WJ.CAMUNDA_FORM_EMBEDDED?d0(e,t,""):n===WJ.CAMUNDA_FORM_LINKED?c0(e,t,""):n===WJ.CUSTOM_FORM?p0(e,t,""):n===WJ.EXTERNAL_REFERENCE?u0(e,t,""):function(e,t){const n=GJ(t),r=e.get("modeling");if(n){const e=ro(t).get("extensionElements");r.updateModdleProperties(t,e,{values:b(e.get("values"),n)})}}(e,t)}(n,t,e)},getOptions:()=>function(e,t){if(KJ(t))return[{value:JJ,label:e("<none>")},{value:WJ.CAMUNDA_FORM_LINKED,label:e("Camunda Form")},{value:WJ.EXTERNAL_REFERENCE,label:e("External form reference")}];return[{value:JJ,label:e("<none>")},{value:WJ.CAMUNDA_FORM_LINKED,label:e("Camunda Form (linked)")},{value:WJ.CAMUNDA_FORM_EMBEDDED,label:e("Camunda Form (embedded)")},{value:WJ.CUSTOM_FORM,label:e("Custom form key")}]}(r,t)})}function n0(e){const{element:t}=e,n=cX("debounceInput"),r=cX("injector"),i=cX("translate");return DG({element:t,id:"formConfiguration",label:i("Form JSON configuration"),rows:4,getValue:()=>QJ(t).get("body"),setValue:e=>{d0(r,t,s(e)?"":e)},debounce:n})}function r0(e){const{element:t}=e,n=cX("debounceInput"),r=cX("injector"),i=cX("translate");return IG({element:t,id:"formId",label:i("Form ID"),getValue:()=>GJ(t).get("formId"),setValue:e=>{c0(r,t,s(e)?"":e)},debounce:n})}function i0(e){const{element:t}=e,n=cX("debounceInput"),r=cX("injector"),i=cX("translate");return IG({element:t,id:"customFormKey",label:i("Custom form key"),getValue:()=>GJ(t).get("formKey"),setValue:e=>{p0(r,t,s(e)?"":e)},debounce:n})}function o0(e){const{element:t}=e,n=cX("debounceInput"),r=cX("injector"),i=cX("translate");return wJ({element:t,id:"externalReference",label:i("External form reference"),feel:"optional",getValue:()=>GJ(t).get("externalReference"),setValue:e=>{u0(r,t,s(e)?"":e)},debounce:n})}function s0(e,t,n){const r=n||ro(t);let i=r.get("extensionElements");if(i)return{commands:[],extensionElements:i};return i=eK("bpmn:ExtensionElements",{values:[]},r,e.get("bpmnFactory")),{commands:[h0(t,r,{extensionElements:i})],extensionElements:i}}function a0(e,t){let n=GJ(t);if(n)return{commands:[],formDefinition:n};const{extensionElements:r,commands:i}=s0(e,t);return n=function(e,t,n){const r=e.get("bpmnFactory");return eK("zeebe:FormDefinition",t,n,r)}(e,{},r),{commands:[...i,h0(t,r,{values:[...r.get("values"),n]})],formDefinition:n}}function l0(e,t){let n=QJ(t);if(n)return{commands:[],formDefinition:GJ(t),userTaskForm:n};const r=ZJ(t),{extensionElements:i,commands:o}=s0(e,t,r),{formDefinition:s,commands:a}=a0(e,t),l=tK(UJ);return n=function(e,t,n){const r=e.get("bpmnFactory");return eK("zeebe:UserTaskForm",t,n,r)}(e,{id:l},i),{commands:[...o,...a,h0(t,i,{values:[...i.get("values"),n]}),h0(t,s,{formKey:XJ(l)})],formDefinition:s,userTaskForm:n}}function c0(e,t,n){let{commands:r,formDefinition:i}=a0(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,h0(t,i,{formId:n})])}function p0(e,t,n){let{commands:r,formDefinition:i}=a0(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,h0(t,i,{formKey:n})])}function u0(e,t,n){let{commands:r,formDefinition:i}=a0(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,h0(t,i,{externalReference:n})])}function d0(e,t,n){let{commands:r,userTaskForm:i}=l0(e,t);e.get("commandStack").execute("properties-panel.multi-command-executor",[...r,h0(t,i,{body:n})])}function h0(e,t,n){return{cmd:"element.updateModdleProperties",context:{element:e,moddleElement:t,properties:n}}}function f0(e){const{idPrefix:t,header:n}=e;return[{id:t+"-key",component:m0,header:n,idPrefix:t},{id:t+"-value",component:g0,header:n,idPrefix:t}]}function m0(e){const{idPrefix:t,element:n,header:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-key",label:o("Key"),getValue:e=>e.key,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{key:e}})},debounce:s})}function g0(e){const{idPrefix:t,element:n,header:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-value",label:o("Value"),getValue:e=>e.value,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{value:e}})},debounce:s})}function y0({element:e,injector:t}){if(!function(e){return to(e,"bpmn:UserTask")||PJ(e)}(e))return null;const n=function(e){const t=SJ(e);return t?t.get("values"):[]}(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-header-"+n;return{id:r,label:t.get("key")||"",entries:f0({idPrefix:r,element:e,header:t}),autoFocusEntry:r+"-key",remove:v0({commandStack:i,element:e,header:t})}}));return{items:o,add:b0({bpmnFactory:r,commandStack:i,element:e}),shouldSort:!1}}function v0({commandStack:e,element:t,header:n}){return function(r){r.stopPropagation();let i=[];const o=SJ(t);if(!o)return;const s=b(o.get("values"),n);if(i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{values:s}}}),!s.length){const e=ro(t).get("extensionElements");i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:e,properties:{values:b(e.get("values"),o)}}})}e.execute("properties-panel.multi-command-executor",i)}}function b0({bpmnFactory:e,commandStack:t,element:n}){return function(r){r.stopPropagation();let i=[];const o=ro(n);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:o,properties:{extensionElements:s}}}));let a=SJ(n);if(!a){a=eK("zeebe:TaskHeaders",{values:[]},s,e),i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=eK("zeebe:Header",{},a,e);i.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),l]}}}),t.execute("properties-panel.multi-command-executor",i)}}function w0(e){const t=function(e){const t=ro(e);return gJ(t,"zeebe:CalledElement")}(e);return t[0]}function x0(e){const{element:t}=e;return to(t,"bpmn:CallActivity")?[{id:"propagateAllParentVariables",component:_0,isEdited:qW}]:[]}function _0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=function(e){if(!to(e,"bpmn:CallActivity"))return;const t=ro(e),n=w0(t);return!n||!f(n,"propagateAllParentVariables")||n.get("propagateAllParentVariables")}(t);return $W({id:"propagateAllParentVariables",label:i("Propagate all parent process variables"),switcherLabel:i(o?"On":"Off"),tooltip:Vk("div",{children:[Vk("p",{children:i("If turned on, all variables from the parent process instance will be propagated to the child process instance.")}),Vk("p",{children:i("Otherwise, only variables defined via input mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=w0(o);a||(a=eK("zeebe:CalledElement",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{propagateAllParentVariables:e}}}),n.execute("properties-panel.multi-command-executor",i)}})}function k0(e){const{idPrefix:t,parameter:n}=e;return[{id:t+"-target",component:E0,idPrefix:t,parameter:n},{id:t+"-source",component:O0,idPrefix:t,parameter:n}]}function E0(e){const{idPrefix:t,element:n,parameter:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-target",label:o(to(r,"zeebe:Input")?"Local variable name":"Process variable name"),getValue:e=>e.target,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{target:e}})},debounce:s})}function O0(e){const{idPrefix:t,element:n,parameter:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return wJ({bpmnElement:n,element:r,id:t+"-source",label:o("Variable assignment value"),feel:"required",getValue:e=>e.source,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{source:e}})},debounce:s})}function P0(e,t){const n=S0(e);return n&&n.get(t)||[]}function S0(e){return(function(e,t,n){const r=gJ(e,t);return n?(r[0]||{})[n]||[]:r}(ro(e),"zeebe:IoMapping")||[])[0]}function C0(e){return P0.apply(this,[e,"outputParameters"])}function T0(e){return no(e,["bpmn:UserTask","bpmn:SubProcess","bpmn:CallActivity","bpmn:BusinessRuleTask","bpmn:ScriptTask"])||PJ(e)||function(e){if(!no(e,["bpmn:EndEvent","bpmn:IntermediateThrowEvent"]))return!1;return!!AY(e,"bpmn:SignalEventDefinition")}(e)}function M0(e){return(!to(e,"bpmn:EndEvent")||!TY(e)&&!function(e){return AY(e,"bpmn:TerminateEventDefinition")}(e))&&no(e,["zeebe:ZeebeServiceTask","bpmn:UserTask","bpmn:SubProcess","bpmn:ReceiveTask","bpmn:CallActivity","bpmn:Event","bpmn:BusinessRuleTask"])}function A0(e,t,n){return eK("zeebe:IoMapping",e,t,n)}function D0({element:e,injector:t}){if(!T0(e))return null;const n=function(e){return P0.apply(this,[e,"inputParameters"])}(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-input-"+n;return{id:r,label:t.get("target")||"",entries:k0({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:N0({commandStack:i,element:e,parameter:t})}}));return{items:o,add:R0({element:e,bpmnFactory:r,commandStack:i}),shouldSort:!1}}function N0({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();const i=[],o=S0(t);if(!o)return;const s=b(o.get("inputParameters"),n);i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{inputParameters:s}}});const a=ro(t).get("extensionElements"),l=b(a.get("values"),o);s.length||o.get("outputParameters").length||i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:l}}}),e.execute("properties-panel.multi-command-executor",i)}}function R0({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();const i=[],o=ro(e);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=S0(e);a||(a=A0({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}}));const l=eK("zeebe:Input",{target:tK("InputVariable_")},a,t);i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{inputParameters:[...a.get("inputParameters"),l]}}}),n.execute("properties-panel.multi-command-executor",i)}}function j0(e){const{element:t}=e,n=NY(t),r=[];return n&&r.push({id:"messageName",component:I0,isEdited:rG}),n&&function(e){if(to(e,"bpmn:ReceiveTask"))return!0;if(!to(e,"bpmn:StartEvent"))return!0;if(to(e,"bpmn:StartEvent")&&Oo(e.parent))return!0;return!1}(t)&&r.push({id:"messageSubscriptionCorrelationKey",component:L0,isEdited:rG}),r}function I0(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=NY(t);return wJ({element:t,id:"messageName",label:r("Name"),feel:"optional",getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function L0(e){const{element:t}=e,n=cX("bpmnFactory"),r=cX("commandStack"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"messageSubscriptionCorrelationKey",label:i("Subscription correlation key"),feel:"required",getValue:()=>function(e){const t=z0(e);return t?t.get("correlationKey"):""}(t),setValue:e=>{const i=[],o={correlationKey:e},s=NY(t);let a=s.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},s,n),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{extensionElements:a}}}));let l=z0(t);l?i.push({cmd:"element.updateModdleProperties",context:{element:t,properties:o,moddleElement:l}}):(l=eK("zeebe:Subscription",o,a,n),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{values:[...a.get("values"),l]}}})),r.execute("properties-panel.multi-command-executor",i)},debounce:o})}function z0(e){const t=function(e){const t=gJ(e,"zeebe:Subscription");return t}(NY(e));return t[0]}function B0(e){const{element:t}=e;return function(e){return!!U0(e)}(t)?[{id:"multiInstance-inputCollection",component:$0,isEdited:rG},{id:"multiInstance-inputElement",component:q0,isEdited:LG},{id:"multiInstance-outputCollection",component:F0,isEdited:LG},{id:"multiInstance-outputElement",component:V0,isEdited:rG},{id:"multiInstance-completionCondition",component:H0,isEdited:rG}]:[]}function $0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"multiInstance-inputCollection",label:i("Input collection"),feel:"required",getValue:()=>Q0(t,"inputCollection"),setValue:e=>X0(t,"inputCollection",e,n,r),debounce:o})}function q0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return IG({element:t,id:"multiInstance-inputElement",label:i("Input element"),getValue:()=>Q0(t,"inputElement"),setValue:e=>X0(t,"inputElement",e,n,r),debounce:o})}function F0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return IG({element:t,id:"multiInstance-outputCollection",label:i("Output collection"),getValue:()=>Q0(t,"outputCollection"),setValue:e=>X0(t,"outputCollection",e,n,r),debounce:o})}function V0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"multiInstance-outputElement",label:i("Output element"),feel:"required",getValue:()=>Q0(t,"outputElement"),setValue:e=>X0(t,"outputElement",e,n,r),debounce:o})}function H0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"multiInstance-completionCondition",label:i("Completion condition"),feel:"required",getValue:()=>{const e=function(e){return U0(e).get("completionCondition")}(t);return e&&e.get("body")},setValue:e=>{if(e&&""!==e){const i=eK("bpmn:FormalExpression",{body:e},U0(t),r);G0(t,n,i)}else G0(t,n,void 0)},debounce:o})}function U0(e){return ro(e).get("loopCharacteristics")}function W0(e){const t=gJ(e,"zeebe:LoopCharacteristics");return t&&t[0]}function G0(e,t,n=void 0){t.execute("element.updateModdleProperties",{element:e,moddleElement:U0(e),properties:{completionCondition:n}})}function Q0(e,t){const n=W0(U0(e));return n&&n.get(t)}function X0(e,t,n,r,i){const o=U0(e),s=[];let a=o.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},o,i),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:a}}}));let l=W0(o);l||(l=eK("zeebe:LoopCharacteristics",{},a,i),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...a.get("values"),l]}}})),s.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:l,properties:{[t]:n}}}),r.execute("properties-panel.multi-command-executor",s)}function Z0(e){const{element:t}=e;return to(t,"bpmn:CallActivity")?[{id:"propagateAllChildVariables",component:Y0,isEdited:qW}]:[]}function Y0(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=function(e){if(!to(e,"bpmn:CallActivity"))return;const t=ro(e),n=w0(t);return n&&f(n,"propagateAllChildVariables")?n.get("propagateAllChildVariables"):function(e){const t=C0(e);if(t)return!(t.length>0)}(e)}(t);return $W({id:"propagateAllChildVariables",label:i("Propagate all child process variables"),switcherLabel:i(o?"On":"Off"),tooltip:Vk("div",{children:[Vk("p",{children:i("If turned on, all variables from the child process instance will be propagated to the parent process instance.")}),Vk("p",{children:i("Otherwise, only variables defined via output mappings will be propagated.")})]}),getValue:()=>o,setValue:e=>{const i=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=w0(o);a||(a=eK("zeebe:CalledElement",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{propagateAllChildVariables:e}}}),n.execute("properties-panel.multi-command-executor",i)}})}function K0({element:e,injector:t}){if(!M0(e))return null;const n=C0(e)||[],r=t.get("bpmnFactory"),i=t.get("commandStack"),o=n.map(((t,n)=>{const r=e.id+"-output-"+n;return{id:r,label:t.get("target")||"",entries:k0({idPrefix:r,element:e,parameter:t}),autoFocusEntry:r+"-target",remove:J0({commandStack:i,element:e,parameter:t})}}));return{items:o,add:e1({element:e,bpmnFactory:r,commandStack:i}),shouldSort:!1}}function J0({commandStack:e,element:t,parameter:n}){return function(r){r.stopPropagation();let i=[];const o=S0(t);if(!o)return;const s=b(o.get("outputParameters"),n);if(i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{outputParameters:s}}}),!o.get("inputParameters").length&&!s.length){const e=ro(t).get("extensionElements"),n=b(e.get("values"),o);i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:e,properties:{values:n}}})}e.execute("properties-panel.multi-command-executor",i)}}function e1({element:e,bpmnFactory:t,commandStack:n}){return function(r){r.stopPropagation();let i=[];const o=ro(e);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{extensionElements:s}}}));let a=S0(e);if(!a){a=A0({inputParameters:[],outputParameters:[]},s,t),i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}})}const l=eK("zeebe:Output",{target:tK("OutputVariable_")},a,t);i.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{outputParameters:[...a.get("outputParameters"),l]}}}),n.execute("properties-panel.multi-command-executor",i)}}const t1="script",n1="jobWorker",r1="";function i1(e){const{element:t}=e;return to(t,"bpmn:ScriptTask")?[{id:"scriptImplementation",component:o1,isEdited:()=>function(e){return s1(e)||a1(e)}(t)}]:[]}function o1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate");return SG({element:t,id:n,label:o("Implementation"),getValue:()=>a1(t)?t1:s1(t)?n1:r1,setValue:e=>{let n,o;e===t1?(n=a1(t),o="zeebe:Script"):e===n1?(n=s1(t),o="zeebe:TaskDefinition"):function(e,t){const n=ro(e),r=s1(e),i=function(e){const t=ro(e);return gJ(t,"zeebe:TaskHeaders")}(e),o=a1(e);if(r){return void yJ(e,n,[r,i].filter(Boolean),t)}o&&yJ(e,n,o,t)}(t,r),!n&&o&&(n=eK(o,{},null,i),function(e,t,n,r){const i=ro(e),o=[];let s,a=i.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},i,n),o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:i,properties:{extensionElements:a}}}));if(t.$parent=a,to(t,"zeebe:TaskDefinition"))s=b(a.get("values"),a1(e));else if(to(t,"zeebe:Script")){const e=e=>no(e,["zeebe:TaskDefinition","zeebe:TaskHeaders"]);s=b(a.get("values"),e)}o.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:a,properties:{values:[...s,t]}}}),r.execute("properties-panel.multi-command-executor",o)}(t,n,i,r))},getOptions:()=>[{value:r1,label:o("<none>")},{value:t1,label:o("FEEL expression")},{value:n1,label:o("Job worker")}]})}function s1(e){return gJ(ro(e),"zeebe:TaskDefinition")[0]}function a1(e){return gJ(ro(e),"zeebe:Script")[0]}function l1(e){const{element:t}=e;return to(t,"bpmn:ScriptTask")&&u1(t)?[{id:"resultVariable",component:p1,isEdited:LG},{id:"scriptExpression",component:c1,isEdited:rG}]:[]}function c1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("FEEL expression"),feel:"required",getValue:()=>(u1(t)||{}).get("expression"),setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=u1(t);a||(a=eK("zeebe:Script",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{expression:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function p1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return IG({element:t,id:n,label:o("Result variable"),getValue:()=>(u1(t)||{}).resultVariable,setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=u1(t);a||(a=eK("zeebe:Script",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{resultVariable:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function u1(e){return gJ(ro(e),"zeebe:Script")[0]}function d1(e){const{element:t}=e;if(!function(e){return to(e,"bpmn:Event")&&!!YK(e)}(t))return[];let n=[];return KK(t)&&(n=[...n,{id:"signalName",component:h1,isEdited:rG}]),n}function h1(e){const{element:t}=e,n=cX("commandStack"),r=cX("translate"),i=cX("debounceInput"),o=KK(t);return wJ({element:t,id:"signalName",label:r("Name"),feel:"optional",getValue:()=>o.get("name"),setValue:e=>n.execute("element.updateModdleProperties",{element:t,moddleElement:o,properties:{name:e}}),debounce:i})}function f1(e){const{element:t}=e;return to(t,"bpmn:CallActivity")?[{id:"targetProcessId",component:m1,isEdited:rG}]:[]}function m1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("Process ID"),feel:"optional",getValue:()=>function(e){const t=w0(e);return t?t.get("processId"):""}(t),setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=w0(o);a||(a=eK("zeebe:CalledElement",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{processId:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function g1(e){const{element:t}=e;return PJ(t)?[{id:"taskDefinitionType",component:y1,isEdited:rG},{id:"taskDefinitionRetries",component:v1,isEdited:rG}]:[]}function y1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("Type"),feel:"optional",getValue:()=>(b1(t)||{}).type,setValue:e=>{const n=[],o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=b1(t);a||(a=eK("zeebe:TaskDefinition",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{type:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function v1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=cX("debounceInput");return wJ({element:t,id:n,label:o("Retries"),feel:"optional",getValue:()=>(b1(t)||{}).retries,setValue:e=>{let n=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=b1(t);a||(a=eK("zeebe:TaskDefinition",{},s,i),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{retries:e}}}),r.execute("properties-panel.multi-command-executor",n)},debounce:s})}function b1(e){return gJ(ro(e),"zeebe:TaskDefinition")[0]}function w1(e){const{element:t}=e;return to(t,"bpmn:UserTask")?[{id:"taskScheduleDueDate",component:x1,isEdited:rG},{id:"taskScheduleFollowUpDate",component:_1,isEdited:rG}]:[]}function x1(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"taskScheduleDueDate",label:i("Due date"),feel:"optional",getValue:()=>{const e=k1(t);if(e)return e.get("dueDate")},setValue:e=>{let i=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=k1(t);a||(a=eK("zeebe:TaskSchedule",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{dueDate:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function _1(e){const{element:t}=e,n=cX("commandStack"),r=cX("bpmnFactory"),i=cX("translate"),o=cX("debounceInput");return wJ({element:t,id:"taskScheduleFollowUpDate",label:i("Follow up date"),feel:"optional",getValue:()=>{const e=k1(t);if(e)return e.get("followUpDate")},setValue:e=>{let i=[];const o=ro(t);let s=o.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},o,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:o,properties:{extensionElements:s}}}));let a=k1(t);a||(a=eK("zeebe:TaskSchedule",{},s,r),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:s,properties:{values:[...s.get("values"),a]}}})),i.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{followUpDate:e}}}),n.execute("properties-panel.multi-command-executor",i)},debounce:o})}function k1(e){return gJ(ro(e),"zeebe:TaskSchedule")[0]}function E1(e,t){const n=ro(t);switch(e){case"timeDate":return no(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!to(t,"bpmn:StartEvent")||P1(n))&&O1(n))||!(!to(t,"bpmn:BoundaryEvent")||O1(n));case"timeDuration":return!!no(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!to(t,"bpmn:StartEvent")||!P1(n));default:return!1}}function O1(e){return to(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function P1(e){const t=e.$parent;return t&&to(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}function S1(e){const{element:t,injector:n}=e,r=n.get("translate"),i=QK(XK(ro(t)));if(!GK(t))return[];const o=function(e,t){const n=[];E1("timeDate",e)&&n.push({value:"timeDate",label:t("Date")});E1("timeDuration",e)&&n.push({value:"timeDuration",label:t("Duration")});E1("timeCycle",e)&&n.push({value:"timeCycle",label:t("Cycle")});return n}(t,r),s=[];return s.push({id:"timerEventDefinitionType",component:C1,isEdited:CG,options:o}),i&&s.push({id:"timerEventDefinitionValue",component:T1,isEdited:rG,timerEventDefinitionType:i||o[0].value}),s}function C1(e){const{element:t,options:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate"),s=XK(ro(t)),a=QK(s);return SG({element:t,id:"timerEventDefinitionType",label:o("Type"),getValue:()=>a||"",setValue:e=>{if(e===a)return;const n=M1(i,s),o={timeDuration:void 0,timeDate:void 0,timeCycle:void 0};""!==e&&(o[e]=n),r.execute("element.updateModdleProperties",{element:t,moddleElement:s,properties:o})},getOptions:e=>[{value:"",label:o("<none>")},...n]})}function T1(e){const{element:t,label:n,timerEventDefinitionType:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput"),a=cX("bpmnFactory"),l=XK(ro(t)),c=l.get(r);return wJ({element:t,id:"timerEventDefinitionValue",label:n||o("Value"),feel:"optional",getValue:()=>c&&c.get("body"),setValue:e=>{if(!c){const n=M1(a,l);return n.set("body",e),void i.execute("element.updateModdleProperties",{element:t,moddleElement:l,properties:{[r]:n}})}i.execute("element.updateModdleProperties",{element:t,moddleElement:c,properties:{body:e}})},debounce:s,tooltip:A1(r,o)})}function M1(e,t){const n=e.create("bpmn:FormalExpression",{body:void 0});return n.$parent=t,n}function A1(e,t){switch(e){case"timeDate":return Vk("div",{children:[Vk("p",{children:t("A specific point in time defined as ISO 8601 combined date and time representation.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"2019-10-01T12:00:00Z"})," - ",t("UTC time")]}),Vk("li",{children:[Vk("code",{children:"2019-10-02T08:09:40+02:00"})," - ",t("UTC plus 2 hours zone offset")]})]}),Vk("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-date",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]});case"timeCycle":return Vk("div",{children:[Vk("p",{children:t("A cycle defined as ISO 8601 repeating intervals format, or a cron expression.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"R5/PT10S"})," - ",t("every 10 seconds, up to 5 times")]}),Vk("li",{children:[Vk("code",{children:"R/P1D"})," - ",t("every day, infinitely")]}),Vk("li",{children:[Vk("code",{children:"0 0 9-17 * * MON-FRI"})," - ",t("every hour on the hour from 9-5 p.m. UTC Monday-Friday")]})]}),Vk("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-cycle",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]});case"timeDuration":return Vk("div",{children:[Vk("p",{children:t("A time duration defined as ISO 8601 durations format.")}),Vk("ul",{children:[Vk("li",{children:[Vk("code",{children:"PT15S"})," - ",t("15 seconds")]}),Vk("li",{children:[Vk("code",{children:"PT1H30M"})," - ",t("1 hour and 30 minutes")]}),Vk("li",{children:[Vk("code",{children:"P14D"})," - ",t("14 days")]})]}),Vk("a",{href:"https://docs.camunda.io/docs/reference/bpmn-processes/timer-events/timer-events#time-duration",target:"_blank",rel:"noopener",title:t("Timer documentation"),children:t("How to configure a timer")})]})}}const D1="zeebeUserTask",N1="jobWorker";function R1(e){const{element:t}=e;return to(t,"bpmn:UserTask")?[{id:"userTaskImplementation",component:j1,isEdited:()=>function(e){return I1(e)}(t)}]:[]}function j1(e){const{element:t,id:n}=e,r=cX("commandStack"),i=cX("bpmnFactory"),o=cX("translate");return SG({element:t,id:n,label:o("Type"),getValue:()=>I1(t)?D1:N1,setValue:e=>{e===D1?function(e,t,n){const r=ro(e),i=eK("zeebe:UserTask",{},r,t);!function(e,t,n,r,i){const o=[];let s=t.get("extensionElements");s||(s=eK("bpmn:ExtensionElements",{values:[]},t,r),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]}}}),i.execute("properties-panel.multi-command-executor",o)}(e,r,i,t,n)}(t,i,r):e===N1&&function(e,t){const n=I1(e);yJ(e,ro(e),n,t)}(t,r)},getOptions:()=>[{value:D1,label:o("Zeebe user task")},{value:N1,label:o("Job worker")}]})}function I1(e){return gJ(ro(e),"zeebe:UserTask")[0]}function L1(e){const{idPrefix:t,property:n}=e;return[{id:t+"-name",component:z1,idPrefix:t,property:n},{id:t+"-value",component:B1,idPrefix:t,property:n}]}function z1(e){const{idPrefix:t,element:n,property:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-name",label:o("Name"),getValue:()=>r.name,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{name:e}})},debounce:s})}function B1(e){const{idPrefix:t,element:n,property:r}=e,i=cX("commandStack"),o=cX("translate"),s=cX("debounceInput");return IG({element:r,id:t+"-value",label:o("Value"),getValue:()=>r.value,setValue:e=>{i.execute("element.updateModdleProperties",{element:n,moddleElement:r,properties:{value:e}})},debounce:s})}function $1({element:e,injector:t,namespace:n="camunda"}){let r=V1(e);if(!r)return;const i=function(e,t="camunda"){const n=V1(e),r=U1(n,t);return r&&r.get(H1(t))}(r,n)||[],o=t.get("bpmnFactory"),s=t.get("commandStack"),a=i.map(((t,r)=>{const i=e.id+"-extensionProperty-"+r;return{id:i,label:t.get("name")||"",entries:L1({idPrefix:i,element:e,property:t}),autoFocusEntry:i+"-name",remove:q1({commandStack:s,element:e,property:t,namespace:n})}}));return{items:a,add:F1({bpmnFactory:o,commandStack:s,element:e,namespace:n}),shouldSort:!1}}function q1({commandStack:e,element:t,property:n,namespace:r}){return function(i){i.stopPropagation();const o=[],s=V1(t),a=s.get("extensionElements"),l=U1(s,r);if(!l)return;const c=H1(r),p=b(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:b(a.get("values"),l)}}}),e.execute("properties-panel.multi-command-executor",o)}}function F1({bpmnFactory:e,commandStack:t,element:n,namespace:r}){return function(i){i.stopPropagation();let o=[];const s=V1(n);let a=s.get("extensionElements");a||(a=eK("bpmn:ExtensionElements",{values:[]},s,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:s,properties:{extensionElements:a}}}));const l=H1(r);let c=U1(s,r);if(!c){c=eK(`${r}:Properties`,{[l]:[]},a,e),o.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:a,properties:{values:[...a.get("values"),c]}}})}const p=eK(`${r}: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 V1(e){let t=ro(e);return to(e,"bpmn:Participant")?t.get("processRef"):t}function H1(e="camunda"){return"zeebe"===e?"properties":"values"}function U1(e,t="camunda"){return gJ(V1(e),`${t}:Properties`)[0]}const W1=[function(e,t){const n=t.get("translate"),r={id:"businessRuleImplementation",label:n("Implementation"),entries:[...AJ({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"calledDecision",label:n("Called decision"),entries:[...jJ({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"scriptImplementation",label:n("Implementation"),entries:[...i1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"script",label:n("Script"),entries:[...l1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"userTaskImplementation",label:n("Implementation"),entries:[...R1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"taskDefinition",label:n("Task definition"),entries:[...g1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"assignmentDefinition",label:n("Assignment"),entries:[...xJ({element:e}),...w1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"form",label:n("Form"),entries:[...e0({element:e,injector:t})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"condition",label:n("Condition"),entries:[...BJ({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"calledElement",label:n("Called element"),entries:[...f1({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"inputPropagation",label:n("Input propagation"),entries:[...x0({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"inputs",label:n("Inputs"),component:vG,...D0({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={id:"outputPropagation",label:n("Output propagation"),entries:[...Z0({element:e})],component:yW};return r.entries.length?r:null},function(e,t){const n=t.get("translate"),r={id:"outputs",label:n("Outputs"),component:vG,...K0({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={id:"headers",label:n("Headers"),component:vG,...y0({element:e,injector:t})};return r.items?r:null},function(e,t){const n=t.get("translate"),r={label:n("Extension properties"),id:"Zeebe__ExtensionProperties",component:vG,...$1({element:e,injector:t,namespace:"zeebe"})};if(r.items)return r;return null}];let G1=class{constructor(e,t){e.registerProvider(500,this),this._injector=t}getGroups(e){return t=>(function(e,t){const n=Q1(e,"error");if(!n)return;n.entries=X1(n.entries,function(e){const{element:t}=e,n=[];return MY(t)&&to(t,"bpmn:ThrowEvent")&&n.push({id:"errorCode",component:FJ,isEdited:rG}),n}({element:t}))}(t=t.concat(this._getGroups(e)),e),function(e,t){const n=Q1(e,"escalation");if(!n)return;n.entries=X1(n.entries,function(e){const{element:t}=e;if(!to(t,"bpmn:ThrowEvent"))return[];const n=[];return zY(t)&&n.push({id:"escalationCode",component:VJ,isEdited:rG}),n}({element:t}))}(t,e),function(e,t){const n=Q1(e,"message");if(!n)return;n.entries=X1(n.entries,j0({element:t}))}(t,e),function(e,t){const n=Q1(e,"signal");if(!n)return;n.entries=X1(n.entries,d1({element:t}))}(t,e),function(e,t,n){const r=Q1(e,"timer");if(!r)return;r.entries=[...S1({element:t,injector:n})]}(t,e,this._injector),function(e,t){const n=Q1(e,"multiInstance");if(!n)return;n.entries=[...B0({element:t})]}(t,e),t=function(e,t){const n=Q1(e,"message");(function(e){return to(e,"bpmn:EndEvent")&&!!DY(e)}(t)||function(e){return to(e,"bpmn:IntermediateThrowEvent")&&!!DY(e)}(t))&&(e=e.filter((e=>e!=n)));return e}(t,e),t)}_getGroups(e){const t=W1.map((t=>t(e,this._injector)));return t.filter((e=>null!==e))}};function Q1(e,t){return e.find((e=>e.id===t))}function X1(e,t){return[...e.filter((e=>!t.find((t=>t.id===e.id)))),...t]}G1.$inject=["propertiesPanel","injector"];var Z1={__init__:["zeebePropertiesProvider"],zeebePropertiesProvider:["type",G1]};const Y1={"group-assignmentDefinition":e=>{const t=cX("translate");return Vk("div",{children:[t("Define who the task is assigned to. One or all of the following attributes can be specified simultaneously. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/#assignments",target:"_blank",rel:"noopener",title:t("User task documentation"),children:t("Learn more.")})]})},"group-condition":e=>{const t=cX("translate");return Vk("div",{children:[t("Define a boolean condition expression that defines when this flow is taken. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/exclusive-gateways/#conditions",target:"_blank",rel:"noopener",title:t("Conditions documentation"),children:t("Learn how to define conditions.")})]})},"group-businessRuleImplementation":e=>{const t=cX("translate");return Vk("div",{children:[t("Evaluate a business rule, for example a DMN decision. To add a custom implementation, use a job worker. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Business rule task documentation"),children:t("Learn more.")})]})},"group-scriptImplementation":e=>{const t=cX("translate");return Vk("div",{children:[t("Implement a script task using an inline FEEL expression. To add a custom implementation, use a job worker. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-script-task",target:"_blank",rel:"noopener",title:t("Script task documentation"),children:t("Learn more.")})]})},"group-userTaskImplementation":e=>{const t=cX("translate");return Vk("div",{children:[t("Implement a user task managed by Zeebe. To add a custom implementation, use a job worker. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/user-tasks/#define-a-user-task",target:"_blank",rel:"noopener",title:t("User task documentation"),children:t("Learn more.")})]})},"group-form":e=>{const t=cX("translate");return KJ(e)?Vk("div",{children:[t("Link a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify an external reference. "),Vk("a",{href:"https://docs.camunda.io/docs/guides/utilizing-forms/#link-your-form-to-a-bpmn-diagram",target:"_blank",rel:"noopener",title:t("User task form documentation"),children:t("Learn more.")})]}):Vk("div",{children:[t("Link or embed a form created with the Camunda Forms editor. To associate a custom form, application, or URL to the user task, specify a form key. "),Vk("a",{href:"https://docs.camunda.io/docs/guides/utilizing-forms/#link-your-form-to-a-bpmn-diagram",target:"_blank",rel:"noopener",title:t("User task form documentation"),children:t("Learn more.")})]})},"group-calledDecision":e=>{const t=cX("translate");return Vk("div",{children:[t("Define the decision to evaluate and how to map back the evaluation result. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#defining-a-called-decision",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("Learn more.")})]})},"group-message":e=>{const t=cX("translate");return to(e,"bpmn:ReceiveTask")?Vk("div",{children:[t("Define the name of the message (e.g. "),Vk("code",{children:"Money collected"}),t(") and the "),Vk("code",{children:"correlationKey"}),t(" expression (e.g. "),Vk("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),t("Learn more how to "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("send ")}),t("and "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/receive-tasks",target:"_blank",rel:"noopener",title:t("Receive task documentation"),children:t("receive messages. ")})]}):Vk("div",{children:[t("Define the name of the message (e.g. "),Vk("code",{children:"Money collected"}),t(") and the "),Vk("code",{children:"correlationKey"}),t(" expression (e.g. "),Vk("code",{children:"= orderId"}),t(")"),t(" to subscribe to. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#messages",target:"_blank",rel:"noopener",title:t("Message event documentation"),children:t("Learn more.")})]})},"group-calledElement":e=>{const t=cX("translate");return Vk("div",{children:[t("Define the ID of the process to call (e.g. ")," ",Vk("code",{children:"shipping-process"}),t(" or "),Vk("code",{children:'= "shipping-" + tenantId'})," ",t("). "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/call-activities/",target:"_blank",rel:"noopener",title:t("Call activity documentation"),children:t("Learn more.")})]})},"group-taskDefinition":e=>{const t=cX("translate");return to(e,"bpmn:ServiceTask")?Vk("div",{children:[t("Specify which job workers handle the task work to execute a service (e.g. "),Vk("code",{children:"order-items"}),t("). "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/service-tasks",target:"_blank",rel:"noopener",title:t("Service task documentation"),children:t("Learn more.")})]}):to(e,"bpmn:BusinessRuleTask")?Vk("div",{children:[t("Specify which job workers handle the task work to evaluate business rules. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/business-rule-tasks/#job-worker-implementation",target:"_blank",rel:"noopener",title:t("Business rule task documentation"),children:t("Learn more.")})]}):to(e,"bpmn:ScriptTask")?Vk("div",{children:[t("Specify which job workers handle the task work to execute a script. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Script task documentation"),children:t("Learn more.")})]}):to(e,"bpmn:SendTask")?Vk("div",{children:[t("Specify which job workers handle the task work to send a message (e.g. "),Vk("code",{children:"kafka"}),t(" or "),Vk("code",{children:"mail"}),t("). "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/send-tasks/#defining-a-task",target:"_blank",rel:"noopener",title:t("Send task documentation"),children:t("Learn more.")})]}):to(e,"bpmn:ThrowEvent")?Vk("div",{children:[t("Specify which job workers handle the event work. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/message-events/#message-throw-events",target:"_blank",rel:"noopener",title:t("Message throw event documentation"),children:t("Learn more.")})]}):void 0},"group-multiInstance":e=>{const t=cX("translate");return Vk("div",{children:[t("Execute this task for each element of a given collection. "),Vk("br",{}),t("Define an input collection expression that defines the collection to iterate over (e.g. "),Vk("code",{children:"= items"}),t("). "),t("To collect the output define the output collection and the output element expressions. "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/multi-instance/#defining-the-collection-to-iterate-over",target:"_blank",rel:"noopener",title:t("Multi instance documentation"),children:t("Learn more.")})]})},"group-error":e=>{const t=cX("translate");return Vk("div",{children:[t("Define an error code (e.g. "),Vk("code",{children:"order-not-found"}),t("). "),Vk("a",{href:"https://docs.camunda.io/docs/components/modeler/bpmn/error-events/#defining-the-error",target:"_blank",rel:"noopener",title:t("Error event documentation"),children:t("Learn more.")})]})},"group-inputs":e=>{const t=cX("translate");return Vk("div",{children:[t("Create a new local variable in the scope of this task. "),Vk("a",{href:"https://docs.camunda.io/docs/components/concepts/variables/#input-mappings",target:"_blank",rel:"noopener",title:t("Input mappings documentation"),children:t("Learn more.")})]})},"group-outputs":e=>{const t=cX("translate");return Vk("div",{children:[t("Customize how result variables are merged into the global scope of the process instance. "),Vk("a",{href:"https://docs.camunda.io/docs/components/concepts/variables/#output-mappings",target:"_blank",rel:"noopener",title:t("Output mappings documentation"),children:t("Learn more.")})]})},taskDefinitionRetries:e=>{const t=cX("translate");return Vk("div",{children:Vk("p",{children:[t("The number of times the engine tries executing this activity if a worker signals a failure. The default is three.")," "," ",Vk("a",{href:"https://docs.camunda.io/docs/next/components/best-practices/development/dealing-with-problems-and-exceptions/#leveraging-retries",target:"_blank",rel:"noopener",children:t("Learn more.")})]})})}};function K1(e={}){sx.call(this,e)}function J1(e,t=void 0){const n=ro(e).get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>to(e,t))):r:[]}function e2(e,t,n,r){c(n)||(n=[n]);const i=t.get("extensionElements"),o=i.get("values").filter((e=>!n.includes(e)));r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:{values:o}})}e(K1,sx),K1.prototype.getModules=function(e={}){return[...sx.prototype.getModules.call(this,e),e.disableAdjustOrigin?Gx:Zx,e.disableGrid?{}:Fx]},K1.prototype._extensionModules=[zx,s_,SY,mJ],K1.prototype._modules=[].concat(sx.prototype._modules,K1.prototype._extensionModules);class t2 extends _s{constructor(e,t){super(t),this.preExecute("element.updateModdleProperties",5e3,(function(e){const{element:t,moddleElement:n,properties:r}=e;if(!to(t,"bpmn:BusinessRuleTask")||!to(n,"bpmn:ExtensionElements")||!r.values)return;const i=n2(t),o=r2(t);i&&!o&&r.values.find((e=>to(e,"zeebe:CalledDecision")))&&r.values.find((e=>to(e,"zeebe:TaskDefinition")))&&(r.values=b(r.values,i))}),!0),this.preExecute("element.updateModdleProperties",5e3,(function(e){const{element:t,moddleElement:n,properties:r}=e;if(!to(t,"bpmn:BusinessRuleTask")||!to(n,"bpmn:ExtensionElements")||!r.values)return;const i=n2(t),o=r2(t),s=function(e){const t=ro(e);return J1(t,"zeebe:TaskHeaders")[0]}(t);!i&&(o||s)&&r.values.find((e=>to(e,"zeebe:CalledDecision")))&&r.values.find((e=>to(e,"zeebe:TaskDefinition")||to(e,"zeebe:TaskHeaders")))&&(r.values=b(r.values,(e=>e===o||e===s)))}),!0)}}function n2(e){return J1(ro(e),"zeebe:CalledDecision")[0]}function r2(e){return J1(ro(e),"zeebe:TaskDefinition")[0]}t2.$inject=["commandStack","eventBus"];class i2 extends _s{constructor(e,t){super(e),this.postExecuted("shape.replace",(function(e){const{context:n}=e,{newShape:r}=n;if(!to(r,"bpmn:EndEvent")||!function(e){const t=ro(e),n=t.get("eventDefinitions")||[];return m(n,(function(e){return to(e,"bpmn:ErrorEventDefinition")}))}(r))return;const i=function(e){const t=ro(e).get("extensionElements");if(!t)return null;const n=t.get("values");if(!n)return null;return m(n,(e=>to(e,"zeebe:IoMapping")))}(r);if(!i)return;const o=ro(r).get("extensionElements"),s=b(o.get("values"),i);t.updateModdleProperties(r,o,{values:s})}))}}i2.$inject=["eventBus","modeling"];class o2 extends _s{constructor(e,t){super(e),this.postExecuted(["element.updateProperties","element.updateModdleProperties"],(e=>{const n=e.shape||e.newShape||e.element;if(n.labelTarget)return;if(!to(n,"bpmn:Event"))return;const r=function(e){const t=ro(e);return t.get("eventDefinitions").find((e=>to(e,"bpmn:MessageEventDefinition")))}(n);if(!r)return;const i=r.get("messageRef");if(!i)return;const o=function(e){return J1(e,"zeebe:Subscription")[0]}(i);o&&function(e){const t=e.$descriptor;return t.properties.every((t=>void 0===e.get(t.name)))}(o)&&e2(n,i,o,t)}),!0)}}function s2(e,t){const n=ro(t);switch(e){case"timeDate":return no(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent","bpmn:StartEvent"]);case"timeCycle":return!((!to(t,"bpmn:StartEvent")||l2(n))&&a2(n))||!(!to(t,"bpmn:BoundaryEvent")||a2(n));case"timeDuration":return!!no(t,["bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])||!(!to(t,"bpmn:StartEvent")||!l2(n));default:return!1}}function a2(e){return to(e,"bpmn:BoundaryEvent")?!1!==e.get("cancelActivity"):!1!==e.get("isInterrupting")}function l2(e){const t=e.$parent;return t&&to(t,"bpmn:SubProcess")&&t.get("triggeredByEvent")}o2.$inject=["eventBus","commandStack"];class c2 extends _s{constructor(e,t){super(e),this.postExecuted(["shape.move","shape.replace","element.updateProperties","element.updateModdleProperties"],(e=>{const n=e.shape||e.newShape||e.element;if(n.labelTarget)return;if(!to(n,"bpmn:Event"))return;const r=function(e){return ro(e).get("eventDefinitions").find((e=>to(e,"bpmn:TimerEventDefinition")))}(n);if(!r)return;const i={};["timeCycle","timeDate","timeDuration"].forEach((e=>{r.get(e)&&!s2(e,n)&&(i[e]=void 0)})),Object.keys(i).length&&t.updateModdleProperties(n,r,i)}),!0)}}c2.$inject=["eventBus","modeling"];const p2="*",u2=["timeCycle","timeDate","timeDuration"],d2=["zeebe:Input","zeebe:LoopCharacteristics","zeebe:TaskDefinition","zeebe:TaskHeaders","zeebe:Subscription"];class h2{constructor(e){e.on("moddleCopy.canCopyProperty",(e=>{const{parent:t,property:n,propertyName:r}=e;return this.canCopyProperty(n,t,r)}))}canCopyProperty(e,t,n){return!(p(e)&&!function(e,t){const n=e.$type&&e.$model.getTypeDescriptor(e.$type),r=n&&n.meta&&n.meta.allowedIn;if(!r||function(e){return-1!==e.indexOf(p2)}(r))return!0;return _(r,(function(e){return f2(t,e)}))}(e,t))&&(!!this.canHostServiceTaskLikeProperties(e,t)&&(!!this.canHostTimerExpression(e,t,n)&&void 0))}canHostServiceTaskLikeProperties(e,t){if(function(e){return d2.some((t=>to(e,t)))}(e)){const e=f2(t,"bpmn:IntermediateThrowEvent")||f2(t,"bpmn:EndEvent");if(e)return function(e){const t=e.get("eventDefinitions");return t.some((e=>to(e,"bpmn:MessageEventDefinition")))}(e)}return!0}canHostTimerExpression(e,t,n){return!to(t,"bpmn:TimerEventDefinition")||!u2.includes(n)||s2(n,t.$parent)}}function f2(e,t){return t?to(e,t)?e:e.$parent?f2(e.$parent,t):void 0:e.$parent}function m2(e,t,n,r){var i=r.create(e,t);return i.$parent=n,i}function g2(e){const t=function(e){const t=ro(e);return J1(t,"zeebe:CalledElement")}(e);return t[0]}h2.$inject=["eventBus"];class y2 extends _s{constructor(e,t,n){super(t),this.postExecuted("shape.create",5e3,(function(t){const{shape:r}=t;if(!to(r,"bpmn:CallActivity"))return;const i=ro(r);let o=g2(i);if(o)f(o,"propagateAllChildVariables")||n.updateModdleProperties(r,o,{propagateAllChildVariables:!1});else{let t=i.get("extensionElements");t||(t=m2("bpmn:ExtensionElements",{values:[]},i,e),n.updateProperties(r,{extensionElements:t})),o=m2("zeebe:CalledElement",{propagateAllChildVariables:!1},t,e),n.updateModdleProperties(r,t,{values:[...t.values||[],o]})}}),!0)}}y2.$inject=["bpmnFactory","eventBus","modeling"];class v2 extends _s{constructor(e,t,n){super(e),this.postExecuted("shape.delete",250,(function(e){const{collaborationRoot:r,shape:i}=e,o=t.getRootElement();if(to(i,"bpmn:Participant")&&r&&!r.businessObject.get("participants").length&&to(o,"bpmn:Process")){const e=i.businessObject.get("processRef");if(!e)return;n.updateProperties(o,{isExecutable:e.get("isExecutable")})}}),!0)}}v2.$inject=["eventBus","canvas","modeling"];const b2=new n([32,32,1]);const w2="camunda-forms:bpmn:";function x2(e){return J1(ro(e),"zeebe:FormDefinition")[0]}function _2(e,t={}){let{formKey:n,rootElement:r}=t;if(r=r||P2(e),!n){const t=x2(e);if(!t)return;n=t.get("formKey")}return J1(r,"zeebe:UserTaskForm").find((e=>k2(e.get("id"))===n))}function k2(e){return`${w2}${e}`}function E2(e){return e&&e.startsWith(w2)}function O2(){return function(e){return b2.nextPrefixed(e)}("UserTaskForm_")}function P2(e){let t=ro(e);for(;t.$parent&&!to(t,"bpmn:Process");)t=t.$parent;return t}class S2 extends _s{constructor(e,t,n){function r(e,t,r){const i=t.get("extensionElements"),o=b(i.get("values"),r);n.updateModdleProperties(e,i,{values:o}),o.length||n.updateModdleProperties(e,t,{extensionElements:void 0})}super(t),this._modeling=n,this.postExecute("shape.delete",(function(e){const{oldParent:t,shape:n}=e,i=P2(t),o=_2(n,{rootElement:i});to(n,"bpmn:UserTask")&&o&&r(n,i,o)}),!0),this.postExecute("shape.create",(function(t){const{shape:r}=t,i=x2(r);if(!to(r,"bpmn:UserTask")||!i)return;const o=_2(r),s=P2(r),a=ro(r).get("extensionElements");let l=s.get("extensionElements");l||(l=m2("bpmn:ExtensionElements",{values:[]},s,e),n.updateModdleProperties(r,s,{extensionElements:l}));let c=a.get("values").filter((e=>e!==i));const p=O2(),u=m2("zeebe:FormDefinition",{formKey:k2(p)},a,e);c=[...c,u],n.updateModdleProperties(r,a,{values:c});const d=m2("zeebe:UserTaskForm",{id:p,body:o?o.get("body"):""},l,e);n.updateModdleProperties(r,l,{values:[...l.get("values")||[],d]})}),!0),this.preExecute("element.updateModdleProperties",(function(e){const{moddleElement:t,properties:n}=e;to(t,"zeebe:FormDefinition")&&("formId"in n?(n.formKey=void 0,n.externalReference=void 0):"formKey"in n?(n.formId=void 0,n.externalReference=void 0):"externalReference"in n&&(n.formId=void 0,n.formKey=void 0))}),!0),this.postExecute("element.updateModdleProperties",(function(e){const{element:t,moddleElement:i,oldProperties:o}=e;if(to(i,"zeebe:FormDefinition")){const e=i.get("formKey");if(!e||!E2(e)){const e=_2(t,{formKey:o.formKey});e&&r(t,P2(t),e)}}else if(function(e,t){const{moddleElement:n,oldProperties:r,properties:i}=e;return to(n,"bpmn:ExtensionElements")&&"values"in r&&"values"in i&&r.values.find((e=>to(e,t)))&&!i.values.find((e=>to(e,t)))}(e,"zeebe:FormDefinition")){const e=_2(t,{formKey:o.values.find((e=>to(e,"zeebe:FormDefinition"))).get("formKey")});e&&r(t,P2(t),e),i.get("values").length||n.updateProperties(t,{extensionElements:void 0})}}),!0),this._registerZeebeUserTaskSupport()}_registerZeebeUserTaskSupport(){this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!to(e,"bpmn:UserTask")||!C2(e))return;const t=x2(e);if(!t)return;const n=t.get("formKey");s(n)||(E2(n)?this._modeling.updateModdleProperties(e,t,{formKey:void 0}):this._modeling.updateModdleProperties(e,t,{externalReference:n}))}),!0),this.postExecute("element.updateModdleProperties",(({element:e})=>{if(!to(e,"bpmn:UserTask")||C2(e))return;const t=x2(e);if(!t)return;const n=t.get("externalReference");s(n)||this._modeling.updateModdleProperties(e,t,{externalReference:void 0,formKey:n})}),!0)}}function C2(e){return J1(e,"zeebe:UserTask").length}S2.$inject=["bpmnFactory","eventBus","modeling"];class T2 extends _s{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!to(r,"zeebe:AssignmentDefinition"))return;const i=r;if(to(n,"bpmn:UserTask")&&s(i.get("zeebe:assignee"))&&s(i.get("zeebe:candidateGroups"))&&s(i.get("zeebe:candidateUsers"))){e2(n,ro(n),i,e)}}),!0)}}T2.$inject=["commandStack","eventBus"];class M2 extends _s{constructor(e,t){super(t),this.postExecuted("element.updateModdleProperties",5e3,(function(t){const{element:n,moddleElement:r}=t;if(!to(r,"zeebe:TaskSchedule"))return;const i=r;if(to(n,"bpmn:UserTask")&&s(i.get("zeebe:dueDate"))&&s(i.get("zeebe:followUpDate"))){e2(n,ro(n),i,e)}}),!0)}}M2.$inject=["commandStack","eventBus"];var A2={__init__:["cleanUpBusinessRuleTaskBehavior","cleanUpEndEventBehavior","cleanUpSubscriptionBehavior","cleanUpTimerExpressionBehavior","copyPasteBehavior","createZeebeCallActivityBehavior","deleteParticipantBehaviour","formsBehavior","removeAssignmentDefinitionBehavior","removeTaskScheduleBehavior"],cleanUpBusinessRuleTaskBehavior:["type",t2],cleanUpEndEventBehavior:["type",i2],cleanUpSubscriptionBehavior:["type",o2],cleanUpTimerExpressionBehavior:["type",c2],copyPasteBehavior:["type",h2],createZeebeCallActivityBehavior:["type",y2],deleteParticipantBehaviour:["type",v2],formsBehavior:["type",S2],removeAssignmentDefinitionBehavior:["type",T2],removeTaskScheduleBehavior:["type",M2]};let D2;const N2=new Uint8Array(16);function R2(){if(!D2&&(D2="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!D2))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return D2(N2)}const j2=[];for(let e=0;e<256;++e)j2.push((e+256).toString(16).slice(1));var I2={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function L2(e,t,n){if(I2.randomUUID&&!t&&!e)return I2.randomUUID();const r=(e=e||{}).random||(e.rng||R2)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return function(e,t=0){return j2[e[t+0]]+j2[e[t+1]]+j2[e[t+2]]+j2[e[t+3]]+"-"+j2[e[t+4]]+j2[e[t+5]]+"-"+j2[e[t+6]]+j2[e[t+7]]+"-"+j2[e[t+8]]+j2[e[t+9]]+"-"+j2[e[t+10]]+j2[e[t+11]]+j2[e[t+12]]+j2[e[t+13]]+j2[e[t+14]]+j2[e[t+15]]}(r)}var z2=function(e,t){for(var n=e.split("."),r=t.split("."),i=0;i<3;i++){var o=Number(n[i]),s=Number(r[i]);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},B2=kx(z2);function $2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var q2={exports:{}},F2={};Object.defineProperty(F2,"__esModule",{value:!0});const V2=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 r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))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((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var s=o[i];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n};V2.code='require("ajv/dist/runtime/equal").default',F2.default=V2,q2.exports=i3,q2.exports.default=i3;const H2={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=[]"}}}}}},U2={$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#}"'}}},W2=new RegExp("^(https|http)://.*","u"),G2=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),Q2={required:"missingProperty",dependencies:"property",dependentRequired:"property"},X2={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'}},{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"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},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"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","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/allOf/1/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."}}}},{$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#}"'}}}]},Z2={required:["property"],properties:{property:{const:{$data:"2/id"}}}},Y2={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"}}},K2=F2.default;function J2(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must 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 f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(d=!0,h=0);const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((g=m===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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must 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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(r=Q2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():Y2.errorMessage[r][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={instancePath:t,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/allMatch/"+r+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=Q2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():Y2.errorMessage[i][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={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return J2.errors=o,0===s}function e3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const f=s;let m=!0;const g=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&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=g===s;if(s=f,null!==o&&(f?o.length=f:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must 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.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.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={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",keyword:"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}m=a=e===s}if(!m){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const y=s;let v=!0;const b=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!K2(e.property,Z2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=b===s;if(s=y,null!==o&&(y?o.length=y:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[36]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};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}v=l=e===s}if(!v){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/id",schemaPath:"#/allOf/0/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=Q2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():Y2.errorMessage[i][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={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=Q2[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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():Y2.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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const w=s;let x=!0;const _=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){const e=s,t=s;if("Number"!==n.type){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 d=_===s;if(s=w,null!==o&&(w?o.length=w:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:X2.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}x=d=e===s}if(!x){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/properties/value/type",keyword:"type",params:{type:X2.allOf[0].items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/allOf/0/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/allOf/0/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/0/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(J2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?J2.errors:o.concat(J2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/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 i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():X2.allOf[0].items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(h=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var h;if((h=p===s)&&a?(a=!1,l=[l,1]):h&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/allOf/0/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const i=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&&"property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var f=l===s;if(s=i,null!==o&&(i?o.length=i: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&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[0].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}a=f=e===s}if(!a){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"camunda:executionListener"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var m=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),m){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.type){if("Hidden"!==n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[1].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid property type "+JSON.stringify(n&&n.type)+' for binding type "camunda:executionListener"; must be "Hidden"'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==n.binding){let e=n.binding;const i=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&&"script"!==e.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(g=c===s)&&(a=!0,l=0);const d=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.scriptFormat){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",keyword:"required",params:{missingProperty:"scriptFormat"},message:"must have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((g=d===s)&&a)a=!1,l=[l,1];else{g&&(a=!0,l=1);const n=s,i=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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i: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 g;if(u===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=p,null!==o&&(p?o.length=p:o=null);(g=n===s)&&a?(a=!1,l=[l,2]):g&&(a=!0,l=2)}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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={instancePath:t+"/"+r+"/binding/implementationType",schemaPath:"#/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}p=m=e===s}if(!p){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!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 y=T===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){let e=n.type;if("String"!==e&&"Hidden"!==e&&"Dropdown"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[2].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/2/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},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}}h=y=e===s}if(!h){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const M=s;let A=!0;const D=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 v=D===s;if(s=M,null!==o&&(M?o.length=M:o=null),v){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={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.allOf[3].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/3/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/3/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},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}}A=v=e===s}if(!A){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const i=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 b=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),b){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}a=b=n===s}if(!a){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"camunda:outputParameter"!==e.type){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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}p=w=n===s}if(!p){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=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&&"camunda:in"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var x=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),x){const n=s,i=s;let a=!1;const l=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}var _=l===s;if(a=a||_,!a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.target){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"target"},message:"must have required property 'target'"};null===o?o=[e]:o.push(e),s++}_=n===s;a=a||_}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires variables, target, or both"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}h=x=n===s}if(!h){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=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&&"camunda:out"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var k=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),k){const n=s,i=s;let a=!1,l=null;const c=s,p=s,u=s,d=s;let h=!1;const f=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=f===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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(S=c===s)&&(a=!0,l=0);const m=s,y=s,v=s,b=s;let w=!1;const x=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=x===s;if(w=w||O,!w){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++}O=t===s;w=w||O}if(w)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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((S=m===s)&&a)a=!1,l=[l,1];else{S&&(a=!0,l=1);const n=s,i=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 P=d===s;if(u=u||P,!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++}P=t===s;u=u||P}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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.sourceExpression){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((S=n===s)&&a)a=!1,l=[l,2];else{S&&(a=!0,l=2);const n=s,i=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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.sourceExpression){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((S=n===s)&&a)a=!1,l=[l,3];else{S&&(a=!0,l=3);const n=s,i=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 S;if(c===s){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.variables){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(S=n===s)&&a?(a=!1,l=[l,4]):S&&(a=!0,l=4)}}}if(a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}g=k=n===s}if(!g){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const v=s;let T=!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&&"camunda:errorEventDefinition"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var C=M===s;if(s=v,null!==o&&(v?o.length=v:o=null),C){const n=s,i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.errorRef){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",keyword:"required",params:{missingProperty:"errorRef"},message:"must have required property 'errorRef'"};null===o?o=[e]:o.push(e),s++}if(c===s&&(a=!0,l=0),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires errorRef"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}T=C=n===s}if(!T){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must 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={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.properties.binding.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/"+r+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.event&&"string"!=typeof e.event){const e={instancePath:t+"/"+r+"/binding/event",schemaPath:"#/allOf/1/items/properties/binding/properties/event/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.scriptFormat&&"string"!=typeof e.scriptFormat){const e={instancePath:t+"/"+r+"/binding/scriptFormat",schemaPath:"#/allOf/1/items/properties/binding/properties/scriptFormat/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={instancePath:t+"/"+r+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.target&&"string"!=typeof e.target){const e={instancePath:t+"/"+r+"/binding/target",schemaPath:"#/allOf/1/items/properties/binding/properties/target/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.expression&&"boolean"!=typeof e.expression){const e={instancePath:t+"/"+r+"/binding/expression",schemaPath:"#/allOf/1/items/properties/binding/properties/expression/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("all"!==n&&"local"!==n){const e={instancePath:t+"/"+r+"/binding/variables",schemaPath:"#/allOf/1/items/properties/binding/properties/variables/enum",keyword:"enum",params:{allowedValues:X2.allOf[1].items.properties.binding.properties.variables.enum},message:"must 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={instancePath:t+"/"+r+"/binding/sourceExpression",schemaPath:"#/allOf/1/items/properties/binding/properties/sourceExpression/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r&&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 i in e)if(e[i].length){const a={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():X2.allOf[1].items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t,schemaPath:"#/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return e3.errors=o,0===s}const t3={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'}},{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"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},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"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","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/allOf/1/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."}}}};function n3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const f=s;let m=!0;const g=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&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=g===s;if(s=f,null!==o&&(f?o.length=f:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must 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.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/items/allOf/0/then")||"/"!==n.schemaPath[20]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/then/errorMessage",keyword:"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}m=a=e===s}if(!m){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const y=s;let v=!0;const b=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!K2(e.property,Z2.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=b===s;if(s=y,null!==o&&(y?o.length=y:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[28]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};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}v=l=e===s}if(!v){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/id",schemaPath:"#/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=Q2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():Y2.errorMessage[i][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={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:Y2.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:Y2.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=Q2[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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():Y2.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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const w=s;let x=!0;const _=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){const e=s,t=s;if("Number"!==n.type){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 d=_===s;if(s=w,null!==o&&(w?o.length=w:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:t3.items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}x=d=e===s}if(!x){const e={instancePath:t+"/"+r,schemaPath:"#/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/items/properties/value/type",keyword:"type",params:{type:t3.items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(J2(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?J2.errors:o.concat(J2.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/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 i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():t3.items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(h=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var h;if((h=p===s)&&a?(a=!1,l=[l,1]):h&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return n3.errors=o,0===s}function r3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={instancePath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",keyword:"type",params:{type:"integer"},message:"must be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={instancePath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",keyword:"type",params:{type:H2.allOf[0].properties.deprecated.type},message:"must 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={instancePath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!W2.test(e)){const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must 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 r=0;r<e;r++){let e=n[r];if("string"==typeof e){if(!G2.test(e)){const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===t+"/appliesTo/"+r&&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 i in e)if(e[i].length){const a={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():H2.allOf[0].properties.appliesTo.items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must 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(!G2.test(e)){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():H2.allOf[0].properties.elementType.properties.value.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(r=Q2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():H2.allOf[0].properties.elementType.errorMessage[r][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={instancePath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={instancePath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",keyword:"type",params:{type:"boolean"},message:"must 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 r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"label"},message:"must have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/groups/"+r+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={instancePath:t+"/groups/"+r+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/type",keyword:"type",params:{type:"object"},message:"must 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(r)+'"'},label:function(){return'missing label for group "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/groups/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(i=Q2[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():H2.allOf[0].properties.groups.items.errorMessage[i][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={instancePath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!W2.test(n)){const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():H2.allOf[0].properties.documentationRef.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(r=Q2[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/allOf/0/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():H2.allOf[0].errorMessage[r][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&&(e3(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?e3.errors:o.concat(e3.errors),s=o.length)),void 0!==e.scopes){let n=e.scopes;if(Array.isArray(n)){const e=n.length;for(let r=0;r<e;r++){let e=n[r];const k=s;let E=!0;const O=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=O===s;if(s=k,null!==o&&(k?o.length=k:o=null),a){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.id){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"id"},message:"must 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.instancePath!==t+"/scopes/"+r&&(0!==e.instancePath.indexOf(t+"/scopes/"+r)||"/"!==e.instancePath[t+"/scopes/"+r.length])||0!==e.schemaPath.indexOf("#/properties/scopes/items/allOf/0/then")||"/"!==e.schemaPath[38]||(n.push(e),e.emUsed=!0);if(n.length){const i={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid scope "+JSON.stringify(e&&e.type)+", missing id"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}E=a=n===s}if(!E){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/required",keyword:"required",params:{missingProperty:"properties"},message:"must 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={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("camunda:Connector"!==n&&"bpmn:Error"!==n){const e={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/enum",keyword:"enum",params:{allowedValues:H2.properties.scopes.items.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/type")||"/"!==n.instancePath[t+"/scopes/"+r+5])||0!==n.schemaPath.indexOf("#/properties/scopes/items/properties/type")||"/"!==n.schemaPath[41]||(e.push(n),n.emUsed=!0);if(e.length){const i={instancePath:t+"/scopes/"+r+"/type",schemaPath:"#/properties/scopes/items/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:"invalid scope type "+JSON.stringify(n)+"; must be any of { camunda:Connector, bpmn:Error }"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.properties){let n=e.properties;if(n3(n,{instancePath:t+"/scopes/"+r+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?n3.errors:o.concat(n3.errors),s=o.length),Array.isArray(n)){const e=n.length;for(let i=0;i<e;i++){let e=n[i];const a=s;let k=!0;const E=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&&"property"!==t.type){const e={};null===o?o=[e]:o.push(e),s++}}var l=E===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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[0].then.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"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}}k=l=n===s}if(!k){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const O=s;let P=!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&&"camunda:executionListener"!==t.type){const e={};null===o?o=[e]:o.push(e),s++}}var c=S===s;if(s=O,null!==o&&(O?o.length=O: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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[1].then.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"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&&"script"!==n.implementationType){const e={};null===o?o=[e]:o.push(e),s++}if(h===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/0/not",keyword:"not",params:{},message:"must 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 f=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.scriptFormat){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/1/required",keyword:"required",params:{missingProperty:"scriptFormat"},message:"must have required property 'scriptFormat'"};null===o?o=[e]:o.push(e),s++}if((p=f===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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/0/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf/2/allOf/1/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/implementationType",schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/then/properties/binding/properties/implementationType/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[1].then.properties.binding.properties.implementationType.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}P=c=n===s}if(!P){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const C=s;let T=!0;const M=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=M===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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[2].then.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/then/properties/type/errorMessage",keyword:"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={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const A=s;let D=!0;const N=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=N===s;if(s=A,null!==o&&(A?o.length=A: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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.allOf[3].then.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/type",schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/then/properties/type/errorMessage",keyword:"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}}D=d=n===s}if(!D){const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"camunda:outputParameter"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var f=d===s;if(s=p,null!==o&&(p?o.length=p:o=null),f){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"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=f=e===s}if(!u){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const k=s;let E=!0;const O=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&&"camunda:in"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var m=O===s;if(s=k,null!==o&&(k?o.length=k:o=null),m){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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"target"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"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}E=m=e===s}if(!E){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const P=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&&"camunda:out"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var y=C===s;if(s=P,null!==o&&(P?o.length=P:o=null),y){const e=s,a=s;let l=!1,c=null;const p=s,u=s,d=s,h=s;let f=!1;const m=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=m===s;if(f=f||v,!f){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;f=f||v}if(f)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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/0/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}(x=p===s)&&(l=!0,c=0);const g=s,_=s,k=s,E=s;let O=!1;const P=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=P===s;if(O=O||b,!O){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;O=O||b}if(O)s=E,null!==o&&(E?o.length=E:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}if(k===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=_,null!==o&&(_?o.length=_:o=null);if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/1/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}if((x=g===s)&&l)l=!1,c=[c,1];else{x&&(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 w=h===s;if(d=d||w,!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++}w=e===s;d=d||w}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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/2/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}if((x=e===s)&&l)l=!1,c=[c,2];else{x&&(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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.sourceExpression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/3/required",keyword:"required",params:{missingProperty:"sourceExpression"},message:"must have required property 'sourceExpression'"};null===o?o=[e]:o.push(e),s++}}if((x=e===s)&&l)l=!1,c=[c,3];else{x&&(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 x;if(p===s){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/not",keyword:"not",params:{},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"variables"},message:"must have required property 'variables'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf/4/required",keyword:"required",params:{missingProperty:"source"},message:"must have required property 'source'"};null===o?o=[e]:o.push(e),s++}}(x=e===s)&&l?(l=!1,c=[c,4]):x&&(l=!0,c=4)}}}if(l)s=a,null!==o&&(a?o.length=a:o=null);else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/then/errorMessage",keyword:"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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const T=s;let M=!0;const A=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&&"camunda:errorEventDefinition"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var _=A===s;if(s=T,null!==o&&(T?o.length=T:o=null),_){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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf/0/required",keyword:"required",params:{missingProperty:"errorRef"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding"&&(0!==n.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding")||"/"!==n.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/then/errorMessage",keyword:"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}M=_=e===s}if(!M){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:U2.items.properties.binding.properties.type.enum},message:"must 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.instancePath!==t+"/scopes/"+r+"/properties/"+i+"/binding/type"&&(0!==e.instancePath.indexOf(t+"/scopes/"+r+"/properties/"+i+"/binding/type")||"/"!==e.instancePath[t+"/scopes/"+r+"/properties/"+i+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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/type",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/name",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.event&&"string"!=typeof n.event){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/event",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/event/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.scriptFormat&&"string"!=typeof n.scriptFormat){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/scriptFormat",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/scriptFormat/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.source&&"string"!=typeof n.source){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/source",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.target&&"string"!=typeof n.target){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/target",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/target/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.expression&&"boolean"!=typeof n.expression){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/expression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/expression/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("all"!==e&&"local"!==e){const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/variables",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/variables/enum",keyword:"enum",params:{allowedValues:U2.items.properties.binding.properties.variables.enum},message:"must 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={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding/sourceExpression",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/properties/sourceExpression/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i+"/binding",schemaPath:"#/definitions/properties/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/scopes/"+r+"/properties/"+i&&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={instancePath:t+"/scopes/"+r+"/properties/"+i,schemaPath:"#/definitions/properties/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:e[a]},message:a in n?n[a]():U2.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={instancePath:t+"/scopes/"+r+"/properties",schemaPath:"#/definitions/properties/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const n={required:{type:[],properties:[]}},i={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.instancePath===t+"/scopes/"+r&&e.keyword in n&&0===e.schemaPath.indexOf("#/properties/scopes/items")&&/^\/[^\/]*$/.test(e.schemaPath.slice(25))&&(a=Q2[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=i[e]&&i[e][a],c={instancePath:t+"/scopes/"+r,schemaPath:"#/properties/scopes/items/errorMessage",keyword:"errorMessage",params:{errors:l},message:n?n():H2.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={instancePath:t+"/scopes",schemaPath:"#/properties/scopes/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}return r3.errors=o,0===s}function i3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;r3(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?r3.errors:o.concat(r3.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)r3(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?r3.errors:o.concat(r3.errors),s=o.length)}else{const e={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return i3.errors=o,0===s}var o3=$2(q2.exports),s3={},a3={b:"\b",f:"\f",n:"\n",r:"\r",t:"\t",'"':'"',"/":"/","\\":"\\"},l3="a".charCodeAt();s3.parse=function(e,t,n){var r={},i=0,o=0,s=0,a=n&&n.bigint&&"undefined"!=typeof BigInt;return{data:l("",!0),pointers:r};function l(t,n){var r;c(),g(t,"value");var i=d();switch(i){case"t":u("rue"),r=!0;break;case"f":u("alse"),r=!1;break;case"n":u("ull"),r=null;break;case'"':r=p();break;case"[":r=function(e){c();var t=[],n=0;if("]"==d())return t;h();for(;;){var r=e+"/"+n;t.push(l(r)),c();var i=d();if("]"==i)break;","!=i&&w(),c(),n++}return t}(t);break;case"{":r=function(e){c();var t={};if("}"==d())return t;h();for(;;){var n=v();'"'!=d()&&w();var r=p(),i=e+"/"+w3(r);y(i,"key",n),g(i,"keyEnd"),c(),":"!=d()&&w(),c(),t[r]=l(i),c();var o=d();if("}"==o)break;","!=o&&w(),c()}return t}(t);break;default:h(),"-0123456789".indexOf(i)>=0?r=function(){var t="",n=!0;"-"==e[s]&&(t+=d());t+="0"==e[s]?d():m(),"."==e[s]&&(t+=d()+m(),n=!1);"e"!=e[s]&&"E"!=e[s]||(t+=d(),"+"!=e[s]&&"-"!=e[s]||(t+=d()),t+=m(),n=!1);var r=+t;return a&&n&&(r>Number.MAX_SAFE_INTEGER||r<Number.MIN_SAFE_INTEGER)?BigInt(t):r}():b()}return g(t,"valueEnd"),c(),n&&s<e.length&&b(),r}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,i++;break;default:break e}s++}}function p(){for(var e,t="";'"'!=(e=d());)"\\"==e?(e=d())in a3?t+=a3[e]:"u"==e?t+=f():w():t+=e;return t}function u(e){for(var t=0;t<e.length;t++)d()!==e[t]&&w()}function d(){x();var t=e[s];return s++,o++,t}function h(){s--,o--}function f(){for(var e=4,t=0;e--;){t<<=4;var n=d().toLowerCase();n>="a"&&n<="f"?t+=n.charCodeAt()-l3+10:n>="0"&&n<="9"?t+=+n:w()}return String.fromCharCode(t)}function m(){for(var t="";e[s]>="0"&&e[s]<="9";)t+=d();if(t.length)return t;x(),b()}function g(e,t){y(e,t,v())}function y(e,t,n){r[e]=r[e]||{},r[e][t]=n}function v(){return{line:i,column:o,pos:s}}function b(){throw new SyntaxError("Unexpected token "+e[s]+" in JSON at position "+s)}function w(){h(),b()}function x(){if(s>=e.length)throw new SyntaxError("Unexpected end of JSON input")}},s3.stringify=function(e,t,n){if(p3(e)){var r,i,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," "),r=a,i=a;break;case"string":s=s.slice(0,10),r=0,i=0;for(var l=0;l<s.length;l++){switch(s[l]){case" ":i++;break;case"\t":i+=4;break;case"\r":i=0;break;case"\n":i=0,o++;break;default:throw new Error("whitespace characters not allowed in JSON")}r++}break;default:s=void 0}var c="",p={},u=0,d=0,h=0,f=n&&n.es6&&"function"==typeof Map;return function e(t,n,r){switch(y(r,"value"),typeof t){case"number":case"bigint":case"boolean":m(""+t);break;case"string":m(y3(t));break;case"object":null===t?m("null"):"function"==typeof t.toJSON?m(y3(t.toJSON())):Array.isArray(t)?i():f?t.constructor.BYTES_PER_ELEMENT?i():t instanceof Map?a():t instanceof Set?a(!0):o():o()}function i(){if(t.length){m("[");for(var i=n+1,o=0;o<t.length;o++){o&&m(","),g(i);var s=p3(t[o])?t[o]:null;e(s,i,r+"/"+o)}g(n),m("]")}else m("[]")}function o(){var i=Object.keys(t);if(i.length){m("{");for(var o=n+1,a=0;a<i.length;a++){var l=i[a],c=t[l];if(p3(c)){a&&m(",");var p=r+"/"+w3(l);g(o),y(p,"key"),m(y3(l)),y(p,"keyEnd"),m(":"),s&&m(" "),e(c,o,p)}}g(n),m("}")}else m("{}")}function a(i){if(t.size){m("{");for(var o=n+1,a=!0,l=t.entries(),c=l.next();!c.done;){var p=c.value,u=p[0],d=!!i||p[1];if(p3(d)){a||m(","),a=!1;var h=r+"/"+w3(u);g(o),y(h,"key"),m(y3(u)),y(h,"keyEnd"),m(":"),s&&m(" "),e(d,o,h)}c=l.next()}g(n),m("}")}else m("{}")}y(r,"valueEnd")}(e,0,""),{json:c,pointers:p}}function m(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=i):d+=i,h+=r;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 c3=["number","bigint","boolean","string","object"];function p3(e){return c3.indexOf(typeof e)>=0}var u3=/"|\\/g,d3=/[\b]/g,h3=/\f/g,f3=/\n/g,m3=/\r/g,g3=/\t/g;function y3(e){return'"'+(e=e.replace(u3,"\\$&").replace(h3,"\\f").replace(d3,"\\b").replace(f3,"\\n").replace(m3,"\\r").replace(g3,"\\t"))+'"'}var v3=/~/g,b3=/\//g;function w3(e){return e.replace(v3,"~0").replace(b3,"~1")}function x3(e,t){const n=function(e){return s3.stringify(e,null,2).pointers}(e),r=t(e);let i=t.errors;return i&&i.length&&(v(i,_3),i=function(e){return y(e,(function(e){return"if"!==e.keyword}))}(i),v(i,(function(e){!function(e,t){const n=e.instancePath,r=t[n];e.dataPointer=r}(e,n)}))),{valid:r,object:e,errors:i}}function _3(e){const t=e.params;t&&t.errors&&(t.rawErrors=t.errors,delete t.errors)}var k3={exports:{}};k3.exports=I3,k3.exports.default=I3;const E3={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"]}}]}}}},{if:{properties:{properties:{contains:{properties:{binding:{properties:{type:{const:"zeebe:calledElement"}},required:["type"]}},required:["binding"]}}},required:["properties"]},then:{anyOf:[{required:["elementType"],properties:{elementType:{required:["value"],properties:{value:{const:"bpmn:CallActivity"}}}}},{required:["appliesTo"],properties:{appliesTo:{const:["bpmn:CallActivity"]}}}]}}]}],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}}}}}},O3=new RegExp("^(https|http)://.*","u"),P3=new RegExp("^[\\w\\d]+:[\\w\\d]+$","u"),S3=new RegExp("^(https?|data):.*","u"),C3={required:"missingProperty",dependencies:"property",dependentRequired:"property"},T3=F2.default,M3={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'}},{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"}}},conditionDependingOnId:{required:["property"],properties:{property:{const:{$data:"2/id"}}}}},allOf:[{$comment:"property#condition should not depend on property#id",if:{required:["id","condition"],properties:{condition:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/conditionDependingOnId"}}},then:{not:{required:["condition"]},errorMessage:"Invalid condition.property, must be different than property.id"}},{then:{errorMessage:"Invalid condition.property, must be different than property.id"}}],properties:{id:{type:"string",description:"Unique identifier of the property."},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"]}]}]}],oneOf:[{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},{properties:{allMatch:{$id:"#/allMatch",type:"array",items:{$ref:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition"},minItems:1}},required:["allMatch"]}]}}},{if:{properties:{type:{not:{const:"Number"}}},required:["type"]},then:{properties:{value:{type:["string","boolean"]}}}}],properties:{value:{$id:"#/properties/property/value",type:["string","number","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/allOf/1/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."}}}},{$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","Number"],errorMessage:'invalid property type ${0} for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }'}}}},{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","zeebe:calledElement"]}},required:["type"]}},required:["binding"]},then:{properties:{type:{enum:["String","Text","Hidden","Dropdown","Boolean","Number"],errorMessage:"invalid property type ${0} for binding type ${1/binding/type}; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }"}}}},{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","Number","Boolean"],errorMessage:'feel is only supported for "String", "Text", "Number" and "Boolean" 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"]}}},{if:{properties:{type:{enum:["String","Text"]}},required:["feel"]},then:{properties:{feel:{enum:["optional","required"]}}}},{if:{properties:{feel:{const:"required"}},required:["feel"]},then:{properties:{value:{type:"string"}}}}],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}},{if:{properties:{type:{const:"zeebe:calledElement"}},required:["type"]},then:{properties:{property:{const:"processId"}},required:["property"]}},{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","zeebe:calledElement"],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",description:"Indicates whether the property can be a feel expression",enum:["optional","required","static"]},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#}"'}}}}]},A3={required:["property"],properties:{property:{const:{$data:"2/id"}}}},D3={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 N3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(!e||"object"!=typeof e||Array.isArray(e)){const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must 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 f=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:D3.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(g=f===s)&&(d=!0,h=0);const m=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/oneOf/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:D3.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((g=m===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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:h},message:"must 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={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(r=C3[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():D3.errorMessage[r][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={instancePath:t,schemaPath:"#/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 i=s;let a=!1,l=null;const c=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/allMatch/"+r+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:D3.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/allMatch/"+r+"/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:D3.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/allMatch/"+r+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/allMatch/"+r+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must 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={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/allMatch/"+r+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/allMatch/"+r+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/allMatch/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=C3[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/allMatch/"+r,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():D3.errorMessage[i][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={instancePath:t+"/allMatch",schemaPath:"#/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return N3.errors=o,0===s}function R3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const f=s;let m=!0;const g=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&&"Dropdown"!==n.type){const e={};null===o?o=[e]:o.push(e),s++}var a=g===s;if(s=f,null!==o&&(f?o.length=f:o=null),a){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.choices){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/required",keyword:"required",params:{missingProperty:"choices"},message:"must 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.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.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={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/then/errorMessage",keyword:"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}m=a=e===s}if(!m){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const y=s;let v=!0;const b=s;if(n&&"object"==typeof n&&!Array.isArray(n))if(void 0===n.id||void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==n.condition){let e=n.condition;if(e&&"object"==typeof e&&!Array.isArray(e))if(void 0===e.property){const e={};null===o?o=[e]:o.push(e),s++}else if(void 0!==e.property&&!T3(e.property,A3.properties.property.const)){const e={};null===o?o=[e]:o.push(e),s++}}var l=b===s;if(s=y,null!==o&&(y?o.length=y:o=null),l){const e=s,i=s,a=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.condition){const e={};null===o?o=[e]:o.push(e),s++}if(a===s){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);if(s>0){const e=[];for(const n of o)"errorMessage"===n.keyword||n.emUsed||n.instancePath!==t+"/"+r&&(0!==n.instancePath.indexOf(t+"/"+r)||"/"!==n.instancePath[t+"/"+r.length])||0!==n.schemaPath.indexOf("#/allOf/0/items/allOf/1/allOf/0/then")||"/"!==n.schemaPath[36]||(e.push(n),n.emUsed=!0);if(e.length){const n={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:e},message:"Invalid condition.property, must be different than property.id"};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}v=l=e===s}if(!v){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/id",schemaPath:"#/allOf/0/items/allOf/1/properties/id/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}const i=s;let a=!1,l=null;const d=s,h=s;let f=!1,m=null;const g=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.equals){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:D3.oneOf[0].properties.equals.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}}(c=g===s)&&(f=!0,m=0);const y=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.oneOf){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/oneOf/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:D3.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}}if((c=y===s)&&f)f=!1,m=[m,1];else{c&&(f=!0,m=1);const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.isActive){const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}var c;(c=n===s)&&f?(f=!1,m=[m,2]):c&&(f=!0,m=2)}if(f)s=h,null!==o&&(h?o.length=h:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:m},message:"must 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={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{property:[]}},n={required:{}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r+"/condition"&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(i=C3[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r+"/condition",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():D3.errorMessage[i][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={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"allMatch"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/minItems",keyword:"minItems",params:{limit:1},message:"must 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 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/required",keyword:"required",params:{missingProperty:"equals"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/equals",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/0/properties/equals/type",keyword:"type",params:{type:D3.oneOf[0].properties.equals.type},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/required",keyword:"required",params:{missingProperty:"oneOf"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf/"+a,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/items/type",keyword:"type",params:{type:D3.oneOf[1].properties.oneOf.items.type},message:"must be string,number"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/oneOf",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/1/properties/oneOf/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/required",keyword:"required",params:{missingProperty:"isActive"},message:"must have required property 'isActive'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.isActive&&"boolean"!=typeof e.isActive){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/isActive",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf/2/properties/isActive/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must 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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"simple"!==e.type){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/type",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/type/const",keyword:"const",params:{allowedValue:"simple"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/condition/allMatch/"+i+"/property",schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/condition/allMatch/"+i&&n.keyword in e&&0===n.schemaPath.indexOf("#/definitions/properties/allOf/0/items/allOf/1/definitions/condition")&&/^\/[^\/]*$/.test(n.schemaPath.slice(68))&&(a=C3[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={instancePath:t+"/"+r+"/condition/allMatch/"+i,schemaPath:"#/definitions/properties/allOf/0/items/allOf/1/definitions/condition/errorMessage",keyword:"errorMessage",params:{errors:l},message:e?e():D3.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={instancePath:t+"/"+r+"/condition/allMatch",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf/1/properties/allMatch/type",keyword:"type",params:{type:"array"},message:"must 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=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/condition",schemaPath:"#/allOf/0/items/allOf/1/properties/condition/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}const w=s;let x=!0;const _=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){const e=s,t=s;if("Number"!==n.type){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 d=_===s;if(s=w,null!==o&&(w?o.length=w:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value){let e=n.value;if("string"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/allOf/2/then/properties/value/type",keyword:"type",params:{type:M3.allOf[0].items.allOf[2].then.properties.value.type},message:"must be string,boolean"};null===o?o=[e]:o.push(e),s++}}x=d=e===s}if(!x){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value){let e=n.value;if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/0/items/properties/value/type",keyword:"type",params:{type:M3.allOf[0].items.properties.value.type},message:"must be string,number,boolean"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.description&&"string"!=typeof n.description){const e={instancePath:t+"/"+r+"/description",schemaPath:"#/allOf/0/items/properties/description/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.label&&"string"!=typeof n.label){const e={instancePath:t+"/"+r+"/label",schemaPath:"#/allOf/0/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.type&&"string"!=typeof n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/0/items/properties/type/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.editable&&"boolean"!=typeof n.editable){const e={instancePath:t+"/"+r+"/editable",schemaPath:"#/allOf/0/items/properties/editable/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0===n.name){const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.name&&"string"!=typeof n.name){const e={instancePath:t+"/"+r+"/choices/"+a+"/name",schemaPath:"#/allOf/0/items/properties/choices/items/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/choices/"+a+"/value",schemaPath:"#/allOf/0/items/properties/choices/items/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}void 0!==n.condition&&(N3(n.condition,{instancePath:t+"/"+r+"/choices/"+a+"/condition",parentData:n,parentDataProperty:"condition",rootData:i})||(o=null===o?N3.errors:o.concat(N3.errors),s=o.length))}else{const e={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/type",keyword:"type",params:{type:"object"},message:"must 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.instancePath===t+"/"+r+"/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 i in e)if(e[i].length){const l={instancePath:t+"/"+r+"/choices/"+a,schemaPath:"#/allOf/0/items/properties/choices/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():M3.allOf[0].items.properties.choices.items.errorMessage[i]};null===o?o=[l]:o.push(l),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/"+r+"/choices",schemaPath:"#/allOf/0/items/properties/choices/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/0/items/properties/constraints/properties/notEmpty/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.minLength&&"number"!=typeof e.minLength){const e={instancePath:t+"/"+r+"/constraints/minLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/minLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.maxLength&&"number"!=typeof e.maxLength){const e={instancePath:t+"/"+r+"/constraints/maxLength",schemaPath:"#/allOf/0/items/properties/constraints/properties/maxLength/type",keyword:"type",params:{type:"number"},message:"must be number"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.pattern){let n=e.pattern;const i=s;let a=!1,l=null;const c=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/constraints/pattern/value",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.message&&"string"!=typeof n.message){const e={instancePath:t+"/"+r+"/constraints/pattern/message",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}(h=c===s)&&(a=!0,l=0);const p=s;if("string"!=typeof n){const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf/1/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}var h;if((h=p===s)&&a?(a=!1,l=[l,1]):h&&(a=!0,l=1),a)s=i,null!==o&&(i?o.length=i:o=null);else{const e={instancePath:t+"/"+r+"/constraints/pattern",schemaPath:"#/allOf/0/items/properties/constraints/properties/pattern/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/0/items/properties/constraints/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.group&&"string"!=typeof n.group){const e={instancePath:t+"/"+r+"/group",schemaPath:"#/allOf/0/items/properties/group/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/0/items/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}}else{const e={instancePath:t,schemaPath:"#/allOf/0/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++){let n=e[r];const i=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&&"property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var f=l===s;if(s=i,null!==o&&(i?o.length=i: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&&"Text"!==e&&"Hidden"!==e&&"Dropdown"!==e&&"Boolean"!==e&&"Number"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[0].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/0/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:n},message:"invalid property type "+JSON.stringify(e)+' for binding type "property"; must be any of { String, Text, Hidden, Dropdown, Boolean, Number }'};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}a=f=e===s}if(!a){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"zeebe:calledElement"!==t){const e={};null===o?o=[e]:o.push(e),s++}}}var m=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),m){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&&"Number"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[1].then.properties.type.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}if(s>0){const i=[];for(const e of o)"errorMessage"===e.keyword||e.emUsed||e.instancePath!==t+"/"+r+"/type"&&(0!==e.instancePath.indexOf(t+"/"+r+"/type")||"/"!==e.instancePath[t+"/"+r+5])||0!==e.schemaPath.indexOf("#/allOf/1/items/allOf/1/then/properties/type")||"/"!==e.schemaPath[44]||(i.push(e),e.emUsed=!0);if(i.length){const a={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/1/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:i},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, Boolean, Number }"};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=m=e===s}if(!p){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!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&&!0!==n.optional){const e={};null===o?o=[e]:o.push(e),s++}var g=T===s;if(s=d,null!==o&&(d?o.length=d:o=null),g){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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must 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={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[2].then.properties.binding.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/allOf/2/then/properties/binding/properties/type/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}}h=g=e===s}if(!h){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const M=s;let A=!0;const D=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&&!0!==n.optional){const e={};null===o?o=[e]:o.push(e),s++}var y=D===s;if(s=M,null!==o&&(M?o.length=M:o=null),y){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={instancePath:t+"/"+r+"/constraints",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/required",keyword:"required",params:{missingProperty:"notEmpty"},message:"must have required property 'notEmpty'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.notEmpty){if(!1!==e.notEmpty){const e={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/const",keyword:"const",params:{allowedValue:!1},message:"must 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.instancePath!==t+"/"+r+"/constraints/notEmpty"&&(0!==n.instancePath.indexOf(t+"/"+r+"/constraints/notEmpty")||"/"!==n.instancePath[t+"/"+r+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={instancePath:t+"/"+r+"/constraints/notEmpty",schemaPath:"#/allOf/1/items/allOf/3/then/properties/constraints/properties/notEmpty/errorMessage",keyword:"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}}}}A=y=e===s}if(!A){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const N=s;let R=!0;const j=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(null!==n.feel){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 v=j===s;if(s=N,null!==o&&(N?o.length=N:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.type){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/4/then/required",keyword:"required",params:{missingProperty:"type"},message:"must 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&&"Number"!==e&&"Boolean"!==e){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[4].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+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={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/4/then/properties/type/errorMessage",keyword:"errorMessage",params:{errors:e},message:'feel is only supported for "String", "Text", "Number" and "Boolean" 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}}}R=v=e===s}if(!R){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/4/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const I=s;let L=!0;const z=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(null!==n.language){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 b=z===s;if(s=I,null!==o&&(I?o.length=I:o=null),b){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.type){if("Text"!==n.type){const e={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[5].then.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/type")||"/"!==n.instancePath[t+"/"+r+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={instancePath:t+"/"+r+"/type",schemaPath:"#/allOf/1/items/allOf/5/then/properties/type/errorMessage",keyword:"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}}L=b=e===s}if(!L){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/5/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const B=s;let $=!0;const q=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.value){const e={};null===o?o=[e]:o.push(e),s++}var w=q===s;if(s=B,null!==o&&(B?o.length=B:o=null),w){const e=s,i=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={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/6/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);$=w=e===s}if(!$){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/6/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const F=s;let V=!0;const H=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 x=H===s;if(s=F,null!==o&&(F?o.length=F:o=null),x){const e=s,i=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={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/7/then/not",keyword:"not",params:{},message:"must NOT be valid"};null===o?o=[e]:o.push(e),s++}else s=i,null!==o&&(i?o.length=i:o=null);V=x=e===s}if(!V){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/7/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const U=s;let W=!0;const G=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.type){let e=n.type;if("String"!==e&&"Text"!==e){const e={};null===o?o=[e]:o.push(e),s++}}var _=G===s;if(s=U,null!==o&&(U?o.length=U:o=null),_){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.feel){let e=n.feel;if("optional"!==e&&"required"!==e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/allOf/8/then/properties/feel/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.allOf[8].then.properties.feel.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}W=_=e===s}if(!W){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/8/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const Q=s;let X=!0;const Z=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&&"required"!==n.feel){const e={};null===o?o=[e]:o.push(e),s++}var k=Z===s;if(s=Q,null!==o&&(Q?o.length=Q:o=null),k){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0!==n.value&&"string"!=typeof n.value){const e={instancePath:t+"/"+r+"/value",schemaPath:"#/allOf/1/items/allOf/9/then/properties/value/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}X=k=e===s}if(!X){const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/allOf/9/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/required",keyword:"required",params:{missingProperty:"binding"},message:"must have required property 'binding'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.binding){let e=n.binding;const i=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 E=l===s;if(s=i,null!==o&&(i?o.length=i:o=null),E){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.name){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/required",keyword:"required",params:{missingProperty:"name"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires name"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}a=E=n===s}if(!a){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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&&"zeebe:output"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var O=u===s;if(s=c,null!==o&&(c?o.length=c:o=null),O){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.source){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/required",keyword:"required",params:{missingProperty:"source"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires source"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}p=O=n===s}if(!p){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const d=s;let h=!0;const f=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&&"zeebe:taskHeader"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var P=f===s;if(s=d,null!==o&&(d?o.length=d:o=null),P){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)&&void 0===e.key){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/required",keyword:"required",params:{missingProperty:"key"},message:"must 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.instancePath!==t+"/"+r+"/binding"&&(0!==e.instancePath.indexOf(t+"/"+r+"/binding")||"/"!==e.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/then/errorMessage",keyword:"errorMessage",params:{errors:n},message:"property.binding "+JSON.stringify(e&&e.type)+" requires key"};null===o?o=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}h=P=n===s}if(!h){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const m=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&&"zeebe:taskDefinition"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var S=y===s;if(s=m,null!==o&&(m?o.length=m:o=null),S){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/required",keyword:"required",params:{missingProperty:"property"},message:"must 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={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/then/properties/property/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.properties.binding.allOf[3].then.properties.property.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}g=S=n===s}if(!g){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/3/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const v=s;let b=!0;const w=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&&"zeebe:calledElement"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}var C=w===s;if(s=v,null!==o&&(v?o.length=v:o=null),C){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.property){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/then/required",keyword:"required",params:{missingProperty:"property"},message:"must have required property 'property'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"processId"!==e.property){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/then/properties/property/const",keyword:"const",params:{allowedValue:"processId"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}b=C=n===s}if(!b){const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/allOf/5/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/required",keyword:"required",params:{missingProperty:"type"},message:"must 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={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/type",keyword:"type",params:{type:"string"},message:"must 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&&"zeebe:calledElement"!==n){const e={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.properties.binding.properties.type.enum},message:"must 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.instancePath!==t+"/"+r+"/binding/type"&&(0!==n.instancePath.indexOf(t+"/"+r+"/binding/type")||"/"!==n.instancePath[t+"/"+r+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 i={instancePath:t+"/"+r+"/binding/type",schemaPath:"#/allOf/1/items/properties/binding/properties/type/errorMessage",keyword:"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=[i]:o.push(i),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/"+r+"/binding/name",schemaPath:"#/allOf/1/items/properties/binding/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.source&&"string"!=typeof e.source){const e={instancePath:t+"/"+r+"/binding/source",schemaPath:"#/allOf/1/items/properties/binding/properties/source/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.key&&"string"!=typeof e.key){const e={instancePath:t+"/"+r+"/binding/key",schemaPath:"#/allOf/1/items/properties/binding/properties/key/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.property&&"string"!=typeof e.property){const e={instancePath:t+"/"+r+"/binding/property",schemaPath:"#/allOf/1/items/properties/binding/properties/property/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/binding",schemaPath:"#/allOf/1/items/properties/binding/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.optional&&"boolean"!=typeof n.optional){const e={instancePath:t+"/"+r+"/optional",schemaPath:"#/allOf/1/items/properties/optional/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/properties/feel/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if("optional"!==e&&"required"!==e&&"static"!==e){const e={instancePath:t+"/"+r+"/feel",schemaPath:"#/allOf/1/items/properties/feel/enum",keyword:"enum",params:{allowedValues:M3.allOf[1].items.properties.feel.enum},message:"must 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={instancePath:t+"/"+r+"/language",schemaPath:"#/allOf/1/items/properties/language/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/"+r+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/required",keyword:"required",params:{missingProperty:"type"},message:"must have required property 'type'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.type&&"uuid"!==e.type){const e={instancePath:t+"/"+r+"/generatedValue/type",schemaPath:"#/allOf/1/items/properties/generatedValue/properties/type/const",keyword:"const",params:{allowedValue:"uuid"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r+"/generatedValue",schemaPath:"#/allOf/1/items/properties/generatedValue/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==n.tooltip&&"string"!=typeof n.tooltip){const e={instancePath:t+"/"+r+"/tooltip",schemaPath:"#/allOf/1/items/properties/tooltip/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/type",keyword:"type",params:{type:"object"},message:"must 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(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/1/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(15))&&(i=C3[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/"+r,schemaPath:"#/allOf/1/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():M3.allOf[1].items.errorMessage[i][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={instancePath:t,schemaPath:"#/allOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}return R3.errors=o,0===s}function j3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.name){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"name"},message:"must have required property 'name'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.id){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.properties){const e={instancePath:t,schemaPath:"#/allOf/0/required",keyword:"required",params:{missingProperty:"properties"},message:"must have required property 'properties'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.name&&"string"!=typeof e.name){const e={instancePath:t+"/name",schemaPath:"#/allOf/0/properties/name/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/id",schemaPath:"#/allOf/0/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.description&&"string"!=typeof e.description){const e={instancePath:t+"/description",schemaPath:"#/allOf/0/properties/description/type",keyword:"type",params:{type:"string"},message:"must 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={instancePath:t+"/version",schemaPath:"#/allOf/0/properties/version/type",keyword:"type",params:{type:"integer"},message:"must be integer"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.isDefault&&"boolean"!=typeof e.isDefault){const e={instancePath:t+"/isDefault",schemaPath:"#/allOf/0/properties/isDefault/type",keyword:"type",params:{type:"boolean"},message:"must 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={instancePath:t+"/deprecated",schemaPath:"#/allOf/0/properties/deprecated/type",keyword:"type",params:{type:E3.allOf[0].properties.deprecated.type},message:"must 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={instancePath:t+"/deprecated/message",schemaPath:"#/allOf/0/properties/deprecated/properties/message/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.documentationRef){let e=n.documentationRef;if("string"==typeof e){if(!O3.test(e)){const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/deprecated/documentationRef",schemaPath:"#/allOf/0/properties/deprecated/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must 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 r=0;r<e;r++){let e=n[r];if("string"==typeof e){if(!P3.test(e)){const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===t+"/appliesTo/"+r&&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 i in e)if(e[i].length){const a={instancePath:t+"/appliesTo/"+r,schemaPath:"#/allOf/0/properties/appliesTo/items/errorMessage",keyword:"errorMessage",params:{errors:e[i]},message:i in n?n[i]():E3.allOf[0].properties.appliesTo.items.errorMessage[i]};null===o?o=[a]:o.push(a),s++}const i=[];for(const e of o)e.emUsed||i.push(e);o=i,s=i.length}}}else{const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/0/properties/appliesTo/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must 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(!P3.test(e)){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/pattern",keyword:"pattern",params:{pattern:"^[\\w\\d]+:[\\w\\d]+$"},message:'must match pattern "^[\\w\\d]+:[\\w\\d]+$"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/elementType/value",schemaPath:"#/allOf/0/properties/elementType/properties/value/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():E3.allOf[0].properties.elementType.properties.value.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{value:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/elementType"&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/elementType")&&/^\/[^\/]*$/.test(n.schemaPath.slice(32))&&(r=C3[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/elementType",schemaPath:"#/allOf/0/properties/elementType/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():E3.allOf[0].properties.elementType.errorMessage[r][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={instancePath:t+"/metadata",schemaPath:"#/allOf/0/properties/metadata/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.entriesVisible&&"boolean"!=typeof e.entriesVisible){const e={instancePath:t+"/entriesVisible",schemaPath:"#/allOf/0/properties/entriesVisible/type",keyword:"type",params:{type:"boolean"},message:"must 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 r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.id){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"id"},message:"must have required property 'id'"};null===o?o=[e]:o.push(e),s++}if(void 0===e.label){const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/required",keyword:"required",params:{missingProperty:"label"},message:"must have required property 'label'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.id&&"string"!=typeof e.id){const e={instancePath:t+"/groups/"+r+"/id",schemaPath:"#/allOf/0/properties/groups/items/properties/id/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.label&&"string"!=typeof e.label){const e={instancePath:t+"/groups/"+r+"/label",schemaPath:"#/allOf/0/properties/groups/items/properties/label/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/type",keyword:"type",params:{type:"object"},message:"must 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(r)+'"'},label:function(){return'missing label for group "'+JSON.stringify(r)+'"'}}};let i,a;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/groups/"+r&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0/properties/groups/items")&&/^\/[^\/]*$/.test(n.schemaPath.slice(33))&&(i=C3[n.keyword],a=e[n.keyword][n.params[i]],a&&(a.push(n),n.emUsed=!0));for(const i in e)for(const l in e[i])if(a=e[i][l],a.length){const e=n[i]&&n[i][l],c={instancePath:t+"/groups/"+r,schemaPath:"#/allOf/0/properties/groups/items/errorMessage",keyword:"errorMessage",params:{errors:a},message:e?e():E3.allOf[0].properties.groups.items.errorMessage[i][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={instancePath:t+"/groups",schemaPath:"#/allOf/0/properties/groups/type",keyword:"type",params:{type:"array"},message:"must be array"};null===o?o=[e]:o.push(e),s++}}if(void 0!==e.documentationRef){let n=e.documentationRef;if("string"==typeof n){if(!O3.test(n)){const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/pattern",keyword:"pattern",params:{pattern:"^(https|http)://.*"},message:'must match pattern "^(https|http)://.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/documentationRef",schemaPath:"#/allOf/0/properties/documentationRef/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():E3.allOf[0].properties.documentationRef.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}if(s>0){const e={required:{name:[],id:[],appliesTo:[],properties:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t&&n.keyword in e&&0===n.schemaPath.indexOf("#/allOf/0")&&/^\/[^\/]*$/.test(n.schemaPath.slice(9))&&(r=C3[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t,schemaPath:"#/allOf/0/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():E3.allOf[0].errorMessage[r][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 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&&"bpmn:Message#property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var p=r===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={instancePath:t,schemaPath:"#/allOf/1/allOf/0/then/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const r=s;let i=!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=r,null!==o&&(r?o.length=r:o=null),d){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/then/required",keyword:"required",params:{missingProperty:"eventDefinition"},message:"must have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}i=d=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must 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={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/0/then/properties/elementType/properties/value/enum",keyword:"enum",params:{allowedValues:E3.allOf[1].allOf[0].then.properties.elementType.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}l=u=n===s}if(!l){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const h=s;let f=!0;const m=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 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&&"bpmn:Message#zeebe:subscription#property"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var g=r===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=m===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={instancePath:t,schemaPath:"#/allOf/1/allOf/1/then/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.elementType){let n=e.elementType;const r=s;let i=!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=r,null!==o&&(r?o.length=r:o=null),v){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)&&void 0===n.eventDefinition){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/then/required",keyword:"required",params:{missingProperty:"eventDefinition"},message:"must have required property 'eventDefinition'"};null===o?o=[e]:o.push(e),s++}i=v=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/allOf/0/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must 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={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/1/then/properties/elementType/properties/value/enum",keyword:"enum",params:{allowedValues:E3.allOf[1].allOf[1].then.properties.elementType.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}}}f=y=n===s}if(!f){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}const b=s;let w=!0;const x=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 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&&"zeebe:calledElement"!==e.type){const e={};null===o?o=[e]:o.push(e),s++}}var _=r===s;if(_)break}if(_)s=e,null!==o&&(e?o.length=e:o=null);else{const e={};null===o?o=[e]:o.push(e),s++}}}var k=x===s;if(s=b,null!==o&&(b?o.length=b:o=null),k){const n=s,r=s;let i=!1;const a=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.elementType){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/required",keyword:"required",params:{missingProperty:"elementType"},message:"must have required property 'elementType'"};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={instancePath:t+"/elementType",schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/properties/elementType/required",keyword:"required",params:{missingProperty:"value"},message:"must have required property 'value'"};null===o?o=[e]:o.push(e),s++}if(void 0!==n.value&&"bpmn:CallActivity"!==n.value){const e={instancePath:t+"/elementType/value",schemaPath:"#/allOf/1/allOf/2/then/anyOf/0/properties/elementType/properties/value/const",keyword:"const",params:{allowedValue:"bpmn:CallActivity"},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}}}var E=a===s;if(i=i||E,!i){const n=s;if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0===e.appliesTo){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf/1/required",keyword:"required",params:{missingProperty:"appliesTo"},message:"must have required property 'appliesTo'"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.appliesTo&&!T3(e.appliesTo,E3.allOf[1].allOf[2].then.anyOf[1].properties.appliesTo.const)){const e={instancePath:t+"/appliesTo",schemaPath:"#/allOf/1/allOf/2/then/anyOf/1/properties/appliesTo/const",keyword:"const",params:{allowedValue:E3.allOf[1].allOf[2].then.anyOf[1].properties.appliesTo.const},message:"must be equal to constant"};null===o?o=[e]:o.push(e),s++}}E=n===s;i=i||E}if(i)s=r,null!==o&&(r?o.length=r:o=null);else{const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/then/anyOf",keyword:"anyOf",params:{},message:"must match a schema in anyOf"};null===o?o=[e]:o.push(e),s++}w=k=n===s}if(!w){const e={instancePath:t,schemaPath:"#/allOf/1/allOf/2/if",keyword:"if",params:{failingKeyword:"then"},message:'must match "then" schema'};null===o?o=[e]:o.push(e),s++}if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.properties&&(R3(e.properties,{instancePath:t+"/properties",parentData:e,parentDataProperty:"properties",rootData:i})||(o=null===o?R3.errors:o.concat(R3.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={instancePath:t+"/icon",schemaPath:"#/properties/icon/required",keyword:"required",params:{missingProperty:"contents"},message:"must 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(!S3.test(e)){const e={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/pattern",keyword:"pattern",params:{pattern:"^(https?|data):.*"},message:'must match pattern "^(https?|data):.*"'};null===o?o=[e]:o.push(e),s++}}else{const e={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/type",keyword:"type",params:{type:"string"},message:"must 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.instancePath===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 r in e)if(e[r].length){const i={instancePath:t+"/icon/contents",schemaPath:"#/properties/icon/properties/contents/errorMessage",keyword:"errorMessage",params:{errors:e[r]},message:r in n?n[r]():E3.properties.icon.properties.contents.errorMessage[r]};null===o?o=[i]:o.push(i),s++}const r=[];for(const e of o)e.emUsed||r.push(e);o=r,s=r.length}}}else{const e={instancePath:t+"/icon",schemaPath:"#/properties/icon/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}if(s>0){const e={required:{contents:[]}},n={required:{}};let r,i;for(const n of o)"errorMessage"!==n.keyword&&!n.emUsed&&n.instancePath===t+"/icon"&&n.keyword in e&&0===n.schemaPath.indexOf("#/properties/icon")&&/^\/[^\/]*$/.test(n.schemaPath.slice(17))&&(r=C3[n.keyword],i=e[n.keyword][n.params[r]],i&&(i.push(n),n.emUsed=!0));for(const r in e)for(const a in e[r])if(i=e[r][a],i.length){const e=n[r]&&n[r][a],l={instancePath:t+"/icon",schemaPath:"#/properties/icon/errorMessage",keyword:"errorMessage",params:{errors:i},message:e?e():E3.properties.icon.errorMessage[r][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={instancePath:t+"/elementType/eventDefinition",schemaPath:"#/properties/elementType/allOf/0/allOf/0/properties/eventDefinition/enum",keyword:"enum",params:{allowedValues:E3.properties.elementType.allOf[0].allOf[0].properties.eventDefinition.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}const r=s;let i=!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 O=a===s;if(s=r,null!==o&&(r?o.length=r:o=null),O){const e=s;if(n&&"object"==typeof n&&!Array.isArray(n)){if(void 0===n.value){const e={instancePath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/required",keyword:"required",params:{missingProperty:"value"},message:"must 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={instancePath:t+"/elementType/value",schemaPath:"#/properties/elementType/allOf/0/allOf/1/then/properties/value/enum",keyword:"enum",params:{allowedValues:E3.properties.elementType.allOf[0].allOf[1].then.properties.value.enum},message:"must be equal to one of the allowed values"};null===o?o=[e]:o.push(e),s++}}}i=O=e===s}if(!i){const e={instancePath:t+"/elementType",schemaPath:"#/properties/elementType/allOf/0/allOf/1/if",keyword:"if",params:{failingKeyword:"then"},message:'must 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 r=0;r<e;r++){let e=n[r];if(e&&"object"==typeof e&&!Array.isArray(e)){if(void 0!==e.tooltip&&"string"!=typeof e.tooltip){const e={instancePath:t+"/groups/"+r+"/tooltip",schemaPath:"#/properties/groups/items/properties/tooltip/type",keyword:"type",params:{type:"string"},message:"must be string"};null===o?o=[e]:o.push(e),s++}if(void 0!==e.openByDefault&&"boolean"!=typeof e.openByDefault){const e={instancePath:t+"/groups/"+r+"/openByDefault",schemaPath:"#/properties/groups/items/properties/openByDefault/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};null===o?o=[e]:o.push(e),s++}}}}}}else{const e={instancePath:t,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};null===o?o=[e]:o.push(e),s++}return j3.errors=o,0===s}function I3(e,{instancePath:t="",parentData:n,parentDataProperty:r,rootData:i=e}={}){let o=null,s=0;const a=s;let l=!1,c=null;const p=s;j3(e,{instancePath:t,parentData:n,parentDataProperty:r,rootData:i})||(o=null===o?j3.errors:o.concat(j3.errors),s=o.length),(d=p===s)&&(l=!0,c=0);const u=s;if(Array.isArray(e)){const n=e.length;for(let r=0;r<n;r++)j3(e[r],{instancePath:t+"/"+r,parentData:e,parentDataProperty:r,rootData:i})||(o=null===o?j3.errors:o.concat(j3.errors),s=o.length)}else{const e={instancePath:t,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must 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={instancePath:t,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:c},message:"must match exactly one schema in oneOf"};null===o?o=[e]:o.push(e),s++}return I3.errors=o,0===s}var L3,z3=$2(k3.exports);function B3(e,t){return(t=t||document).querySelector(e)}function $3(e){this.cache=e}"undefined"!=typeof document&&((L3=document.createElement("div")).innerHTML=' <link/><table></table><a href="/a">a</a><input type="checkbox"/>',L3.getElementsByTagName("link").length,L3=void 0),$3.prototype.resolveRule=function(e,t){return this.resolve("rule",e,t)},$3.prototype.resolveConfig=function(e,t){return this.resolve("config",e,t)},$3.prototype.resolve=function(e,t,n){const r=`${t}/${n}`,i=this.cache[`${e}:${r}`];if(!i)throw new Error(`unknown ${e} <${r}>`);return i};const q3="zeebe:modelerTemplate";function F3(e){const t=ro(e);if(t)return t.get(q3)}function V3(e){const t=ro(e);if(t)return t.get("zeebe:modelerTemplateVersion")}function H3(e,t){const n=ro(e);let r;if(r=to(n,"bpmn:ExtensionElements")?n:n.get("extensionElements"),r)return r.get("values").find((e=>to(e,t)))}function U3(e,t){return e.get("properties").find((e=>e.name===t.name))}function W3(e,t){return e.get("inputParameters").find((e=>e.target===t.name))}function G3(e,t){return e.get("outputParameters").find((e=>e.source===t.source))}function Q3(e,t){return e.get("values").find((e=>e.key===t.key))}function X3(e){if(to(e,"bpmn:Event")){const t=e.get("eventDefinitions");if(!t||!t.length)return;e=t[0]}if(e)return e.get("messageRef")}function Z3(e){if(void 0!==e.value)return e.value;if(e.generatedValue){const{type:t}=e.generatedValue;if("uuid"===t)return L2()}}const Y3="camunda:modelerTemplate";function K3(e){const t=ro(e);if(t)return t.get(Y3)}let J3=class{constructor(e,t,n,r){this._commandStack=e,this._eventBus=t,this._injector=r,this._modeling=n,this._templates={}}get(e,t){const n=this._templates;let r;return s(e)?null:h(e)?(s(t)&&(t="_"),n[e]&&n[e][t]?n[e][t]:null):(r=e,this.get(this._getTemplateId(r),this._getTemplateVersion(r)))}getDefault(e){return m(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 r=this._templates[t].latest.version;(s(r)||e.version>r)&&(this._templates[t].latest=e)}))}_getTemplateVerions(e,t={}){const{latest:n,deprecated:i}=t,o=this._templates,s=e=>{const{latest:t,...r}=e;return n?!i&&t.deprecated?[]:[t]:O(r)};if(l(e))return r(O(o).map(s));if(p(e)){const n=e;return y(this._getTemplateVerions(null,t),(function(e){return no(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 K3(e)}_getTemplateVersion(e){return function(e){const t=ro(e);if(t)return t.get("camunda:modelerTemplateVersion")}(e)}applyTemplate(e,t){let n="apply",r={element:e,newTemplate:t};const i=this.get(e);i&&!t&&(n="unlink",r={element:e}),t&&i&&t.id===i.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:i};return this._commandStack.execute("propertiesPanel.camunda.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,r),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)}};J3.$inject=["commandStack","eventBus","modeling","injector"];class e5 extends J3{constructor(e,t,n,r,i){super(t,n,r,i),this._templateElementFactory=e}_getTemplateId(e){return F3(e)}_getTemplateVersion(e){return V3(e)}createElement(e){if(!e)throw new Error("template is missing");return this._templateElementFactory.create(e)}applyTemplate(e,t){let n="apply",r={element:e,newTemplate:t};const i=this.get(e);i&&!t&&(n="unlink",r={element:e}),t&&i&&t.id===i.id&&(n="update");const o={element:e,newTemplate:t,oldTemplate:i};return this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",o),this._eventBus.fire(`elementTemplates.${n}`,r),o.element}}e5.$inject=["templateElementFactory","commandStack","eventBus","modeling","injector"];const t5="0.17.2",n5=["bpmn:Activity","bpmn:Event","bpmn:Gateway"];let r5=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,r=e.version||"_",i=e.$schema&&i5(e.$schema);if(i&&B2(t5,i)<0)return this._logError(`unsupported element template schema version <${i}>. Your installation only supports up to version <${t5}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][r])return"_"===r?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${r}> already used`,e);const o=this._validateElementType(e);if(o)return o;const s=x3(e,o3);const{errors:a,valid:l}=s;return l||(t=new Error("invalid template"),o5(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 r of n)if(!this._canMorph(r,t))return this._logError(`can not morph <${r}> 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=n5.find((t=>this._isType(e,t)));return!!n&&this._isType(t,n)}_logError(e,t){if(h(e)){if(t){const{id:n,name:r}=t;e=`template(id: <${n}>, name: <${r}>): ${e}`}e=new Error(e)}return this._errors.push(e),e}getErrors(){return this._errors}getValidTemplates(){return this._validTemplates}};function i5(e){const t=e.match(/\d+\.\d+\.\d+/g);return null===t?void 0:t[0]}function o5(e){return y(e,(e=>{const{instancePath:t,keyword:n}=e;return"errorMessage"===n||!("type"!==n||!t||t.startsWith("/scopes/"))}))}const s5="0.19.2";class a5 extends r5{constructor(e){super(e)}_validateTemplate(e){let t;const n=e.id,r=e.version||"_",i=e.$schema,o=i&&i5(i);if(!i)return this._logError("missing $schema attribute.",e);if(!this.isSchemaValid(i))return this._logError(`unsupported $schema attribute <${i}>.`,e);if(o&&B2(s5,o)<0)return this._logError(`unsupported element template schema version <${o}>. Your installation only supports up to version <${s5}>. Please update your installation`,e);if(this._templatesById[n]&&this._templatesById[n][r])return"_"===r?this._logError(`template id <${n}> already used`,e):this._logError(`template id <${n}> and version <${r}> already used`,e);const s=this._validateElementType(e);if(s)return s;const a=x3(e,z3);const{errors:l,valid:c}=a;return c||(t=new Error("invalid template"),o5(l).forEach((t=>{this._logError(t.message,e)}))),t}isSchemaValid(e){return e&&e.includes("@camunda/zeebe-element-templates-json-schema")}}let l5=class{constructor(e,t,n,r){this._loadTemplates=e,this._eventBus=t,this._elementTemplates=n,this._moddle=r,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,r=new r5(n).addAll(e),i=r.getErrors(),o=r.getValidTemplates();t.set(o),i.length&&this.templateErrors(i),this.templatesChanged()}templatesChanged(){this._eventBus.fire("elementTemplates.changed")}templateErrors(e){this._eventBus.fire("elementTemplates.errors",{errors:e})}};l5.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];class c5 extends l5{constructor(e,t,n,r){super(e,t,n,r),this._elementTemplates=n}setTemplates(e){const t=this._elementTemplates,n=this._moddle,r=new a5(n).addAll(e),i=r.getErrors(),o=r.getValidTemplates();t.set(o),i.length&&this.templateErrors(i),this.templatesChanged()}}function p5(e,t,n,r){const i=r.create(e,t);return n&&(i.$parent=n),i}function u5(e){let t=e;for(;t.$parent;)t=t.$parent;return t}function d5(e,t){return function(e,t){return(e||[]).filter((e=>to(e,t)))}(u5(e).get("rootElements"),t)}function h5(e,t,n){const{name:r}=e;return n.create("zeebe:Input",{source:t,target:r})}function f5(e,t,n){const{source:r}=e;return n.create("zeebe:Output",{source:r,target:t})}function m5(e,t,n){const{key:r}=e;return n.create("zeebe:Header",{key:r,value:t})}function g5(e={},t){return t.create("zeebe:TaskDefinition",e)}function y5(e,t="",n){const{name:r}=e;return n.create("zeebe:Property",{name:r,value:t})}function v5(e,t){const{optional:n}=t;return e||!n}function b5(e,t,n){const r=ro(e);let i=r.get("extensionElements");i||(i=p5("bpmn:ExtensionElements",{},r,n),r.set("extensionElements",i));let o=H3(i,t);return o||(o=n.create(t),o.$parent=i,i.get("values").push(o)),o}c5.$inject=["config.elementTemplates","eventBus","elementTemplates","moddle"];const w5="property",x5="zeebe:input",_5="zeebe:output",k5="zeebe:property",E5="zeebe:taskDefinition:type",O5="zeebe:taskDefinition",P5="zeebe:taskHeader",S5="bpmn:Message#property",C5="bpmn:Message#zeebe:subscription#property",T5="zeebe:calledElement",M5=[C5,x5,_5,k5,E5,O5,P5,T5],A5=[E5,O5],D5=[x5,_5],N5=[S5,C5],R5=[w5,S5];function j5(e){return e.type===E5?"type":e.property}function I5(e,t){const n=t.get("modeling"),r=t.get("canvas"),i=t.get("bpmnjs"),o=r.getRootElement(),s=i.getDefinitions(),a=s.get("rootElements"),l=a.filter((t=>t!==e));l.length!==a.length&&n.updateModdleProperties(o,s,{rootElements:l})}function L5(e){const t=ro(e);return to(t,"bpmn:Event")?t.get("eventDefinitions")[0]:t}let z5=class{constructor(e,t,n,r,i){this._bpmnFactory=e,this._bpmnReplace=t,this._modeling=r,this._commandStack=n,this._injector=i}preExecute(e){let t=e.newTemplate,n=e.oldTemplate,r=e.element;this._updateZeebeModelerTemplate(r,t),this._updateZeebeModelerTemplateIcon(r,t),t&&(r=e.element=this._updateElementType(r,n,t),this._updateProperties(r,n,t),this._updateZeebeTaskDefinition(r,n,t),this._updateZeebeInputOutputParameterProperties(r,n,t),this._updateZeebeTaskHeaderProperties(r,n,t),this._updateZeebePropertyProperties(r,n,t),this._updateMessage(r,n,t),this._updateCalledElement(r,n,t))}_getOrCreateExtensionElements(e,t=ro(e)){const n=this._bpmnFactory,r=this._modeling;let i=t.get("extensionElements");return i||(i=n.create("bpmn:ExtensionElements",{values:[]}),i.$parent=t,r.updateModdleProperties(e,t,{extensionElements:i})),i}_updateZeebeModelerTemplate(e,t){const n=this._modeling,r=t&&t.id,i=t&&t.version;F3(e)===r&&V3(e)===i||n.updateProperties(e,{"zeebe:modelerTemplate":r,"zeebe:modelerTemplateVersion":i})}_updateZeebeModelerTemplateIcon(e,t){const n=this._modeling,r=t&&t.icon,i=r&&r.contents;(function(e){const t=ro(e);if(t)return t.get("zeebe:modelerTemplateIcon")})(e)!==i&&n.updateProperties(e,{"zeebe:modelerTemplateIcon":i})}_updateProperties(e,t,n){const r=this._commandStack,i=ro(e),o=n.properties.filter((e=>"property"===e.binding.type)),s=t&&t.properties.filter((e=>"property"===e.binding.type&&!o.find((t=>t.binding.name===e.binding.name))))||[];if(s.length){const t=s.reduce(((e,t)=>(e[t.binding.name]=void 0,e)),{});r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:t})}o.length&&o.forEach((n=>{const o=$5(t,n),s=n.binding.name,a=Z3(n);let l={};q5(i,o,n)||(l[s]=a,r.execute("element.updateModdleProperties",{element:e,moddleElement:i,properties:l}))}))}_updateZeebeTaskDefinition(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return A5.includes(t)})),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:TaskDefinition");if(!o.length)return void i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}});o.forEach((n=>{const o=$5(t,n),l=Z3(n),c=j5(n.binding);if(a){if(!q5(a,o,n)){const t={[c]:l};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:t})}}else{a=g5({[c]:l},r),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}}));(t&&t.properties.filter((e=>{const t=e.binding.type;return A5.includes(t)&&!o.find((t=>t.binding.property===e.binding.property))}))||[]).forEach((t=>{const n={[t.binding.property]:void 0};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:n})}))}_updateZeebeInputOutputParameterProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>{const t=e.binding.type;return"zeebe:input"===t||"zeebe:output"===t})),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:IoMapping");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:IoMapping"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("zeebe:inputParameters")?a.get("zeebe:inputParameters").slice():[],c=a.get("zeebe:outputParameters")?a.get("zeebe:outputParameters").slice():[];let p;o.forEach((n=>{const o=$5(t,n),u=B5(s,n),d=Z3(n),h=n.binding,f=h.type;let m,g;u?((v5(d,n)||q5(u,o,n))&&(to(u,"zeebe:Input")?V5(l,u):V5(c,u)),q5(u,o,n)||(g=to(u,"zeebe:Input")?{source:d}:{target:d},i.execute("element.updateModdleProperties",{element:e,moddleElement:u,properties:g}))):v5(d,n)&&("zeebe:input"===f?(p="inputParameters",m=h5(h,d,r)):(p="outputParameters",m=f5(h,d,r)),m.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{[p]:[...a.get(p),m]}}))})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{inputParameters:b(a.get("inputParameters"),(e=>l.includes(e)))}}),c.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{outputParameters:b(a.get("outputParameters"),(e=>c.includes(e)))}})}_updateZeebeTaskHeaderProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>"zeebe:taskHeader"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:TaskHeaders");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:TaskHeaders"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("zeebe:values")?a.get("zeebe:values").slice():[];o.forEach((n=>{const o=$5(t,n),c=B5(s,n),p=Z3(n),u=n.binding;if(c){if(!q5(c,o,n)){const t={value:p};i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:t})}V5(l,c)}else if(p){const t=m5(u,p,r);t.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:[...a.get("values"),t]}})}})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{values:b(a.get("values"),(e=>l.includes(e)))}})}_updateZeebePropertyProperties(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>"zeebe:property"===e.binding.type)),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:Properties");if(!o.length){if(!a)return;i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}})}a||(a=r.create("zeebe:Properties"),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}}));const l=a.get("properties")?a.get("properties").slice():[];o.forEach((n=>{const o=$5(t,n),c=B5(s,n),p=Z3(n),u=n.binding;if(c)(v5(p,n)||q5(c,o,n))&&V5(l,c),q5(c,o,n)||i.execute("element.updateModdleProperties",{element:e,moddleElement:c,properties:{value:p}});else if(v5(p,n)){const t=y5(u,p,r);t.$parent=a,i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{properties:[...a.get("properties"),t]}})}})),l.length&&i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:{properties:b(a.get("properties"),(e=>l.includes(e)))}})}_updateMessage(e,t,n){this._updateMessageProperties(e,t,n),this._updateMessageZeebeSubscriptionProperties(e,t,n),this._updateZeebeModelerTemplateOnReferencedElement(e,t,n),n.properties.some((e=>N5.includes(e.binding.type)))||function(e,t){const n=t.get("modeling"),r=L5(e);if(!r)return;const i=X3(r);i&&(n.updateModdleProperties(e,r,{messageRef:void 0}),I5(i,t))}(e,this._injector)}_updateMessageProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===S5)),i=t&&t.properties.filter((e=>e.binding.type===S5&&!r.find((t=>t.binding.name===e.binding.name))))||[];let o=this._getMessage(e);o&&i.forEach((t=>{this._modeling.updateModdleProperties(e,o,{[t.binding.name]:void 0})})),r.length&&(o=this._getOrCreateMessage(e,n),r.forEach((n=>{const r=$5(t,n),i=n.binding.name,s=Z3(n),a=o;let l={};q5(a,r,n)||(l[i]=s,this._modeling.updateModdleProperties(e,a,l))})))}_updateMessageZeebeSubscriptionProperties(e,t,n){const r=n.properties.filter((e=>e.binding.type===C5)),i=t&&t.properties.filter((e=>e.binding.type===C5&&!r.find((t=>t.binding.name===e.binding.name))))||[];if(!r.length&&!i.length)return;const o=this._getOrCreateMessage(e,n),s=this._getOrCreateExtensionElements(e,o),a=this._getSubscription(e,o),l=r.reduce(((e,n)=>{const r=$5(t,n),i=n.binding.name,o=Z3(n);return q5(a,r,n)||(e[i]=o),e}),{});if(a)this._modeling.updateModdleProperties(e,a,l);else{const t=p5("zeebe:Subscription",l,o,this._bpmnFactory);this._modeling.updateModdleProperties(e,s,{values:[...s.get("values"),t]})}if(!t||!a)return;const c=i.reduce(((e,t)=>(e[t.binding.name]=void 0,e)),{});this._modeling.updateModdleProperties(e,a,c)}_updateZeebeModelerTemplateOnReferencedElement(e,t,n){const r=X3(ro(e));r&&F3(r)!==n.id&&this._modeling.updateModdleProperties(e,r,{"zeebe:modelerTemplate":n.id})}_getSubscription(e,t){const n=H3(this._getOrCreateExtensionElements(e,t),"zeebe:Subscription");if(n)return n}_getOrCreateMessage(e,t){return this._getMessage(e)||this._createMessage(e,t)}_createMessage(e,t){let n=ro(e);to(n,"bpmn:Event")&&(n=n.get("eventDefinitions")[0]);const r=this._bpmnFactory.create("bpmn:Message",{"zeebe:modelerTemplate":t.id});return r.$parent=u5(n),this._modeling.updateModdleProperties(e,n,{messageRef:r}),r}_getMessage(e){let t=ro(e);return to(t,"bpmn:Event")&&(t=t.get("eventDefinitions")[0]),t&&t.get("messageRef")}_updateCalledElement(e,t,n){const r=this._bpmnFactory,i=this._commandStack,o=n.properties.filter((e=>e.binding.type===T5)),s=this._getOrCreateExtensionElements(e);let a=H3(s,"zeebe:CalledElement");if(!o.length)return void i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:b(s.get("values"),a)}});o.forEach((n=>{const o=$5(t,n),l=Z3(n),c=n.binding.property;if(a){if(!q5(a,o,n)){const t={[c]:l};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:t})}}else{a=function(e={},t){return t.create("zeebe:CalledElement",e)}({[c]:l},r),a.$parent=s,i.execute("element.updateModdleProperties",{element:e,moddleElement:s,properties:{values:[...s.get("values"),a]}})}}));(t&&t.properties.filter((e=>e.binding.type===T5&&!o.find((t=>t.binding.property===e.binding.property))))||[]).forEach((t=>{const n={[t.binding.property]:void 0};i.execute("element.updateModdleProperties",{element:e,moddleElement:a,properties:n})}))}_updateElementType(e,t,n){const r=n.elementType;if(!r)return e;const i=t&&t.elementType||{value:e.type};if(i&&i.value===r.value&&i.eventDefinition===r.eventDefinition)return e;const o={type:r.value};r.eventDefinition&&(o.eventDefinitionType=r.eventDefinition);return this._bpmnReplace.replaceElement(e,o)}};function B5(e,t){const n=ro(e),r=t.binding,i=r.type;if(A5.includes(i))return H3(n,"zeebe:TaskDefinition");if("zeebe:input"===i||"zeebe:output"===i){const e=H3(n,"zeebe:IoMapping");if(!e)return;return"zeebe:input"===i?m(e.get("zeebe:inputParameters"),(function(e){return e.get("zeebe:target")===r.name})):m(e.get("zeebe:outputParameters"),(function(e){return e.get("zeebe:source")===r.source}))}if("zeebe:taskHeader"===i){const e=H3(n,"zeebe:TaskHeaders");if(!e)return;return m(e.get("zeebe:values"),(function(e){return e.get("zeebe:key")===r.key}))}if("zeebe:property"===i){const e=H3(n,"zeebe:Properties");if(!e)return;return e.get("properties").find((e=>e.get("name")===r.name))}}function $5(e,t){if(!e)return;const n=e.properties,r=t.binding,i=r.name,o=r.type;return"property"===o?m(n,(function(e){const t=e.binding,n=t.name;return"property"===t.type&&n===i})):A5.includes(o)?m(n,(function(e){return j5(e.binding)===j5(r)})):"zeebe:input"===o?m(n,(function(e){const t=e.binding,n=t.name;if("zeebe:input"===t.type)return n===i})):"zeebe:output"===o?m(n,(function(e){const t=e.binding;if("zeebe:output"===t.type)return t.source===r.source})):"zeebe:taskHeader"===o?m(n,(function(e){const t=e.binding;if("zeebe:taskHeader"===t.type)return t.key===r.key})):"zeebe:property"===o?n.find((e=>{const t=e.binding;if("zeebe:property"===t.type)return t.name===r.name})):o===S5?n.find((e=>{const t=e.binding;if(t.type===S5)return t.name===r.name})):o===C5?n.find((e=>{const t=e.binding;if(t.type===C5)return t.name===r.name})):void 0}function q5(e,t,n){if("Hidden"===n.type)return!1;if("Dropdown"===n.type){const t=F5(e,n);return n.choices&&n.choices.some((e=>e.value===t))}return t?function(e,t){const n=t.value;return F5(e,t)!==n}(e,t):!!F5(e,n)}function F5(e,t){const n=ro(e);if(!n)return;const r=t.binding,i=r.name,o=r.type;return"property"===o?n.get(i):A5.includes(o)?n.get(j5(r)):"zeebe:input"===o?n.get("zeebe:source"):"zeebe:output"===o?n.get("zeebe:target"):"zeebe:taskHeader"===o||"zeebe:property"===o?n.get("zeebe:value"):o===S5||o===C5?n.get(i):void 0}function V5(e,t){const n=e.indexOf(t);return s(n)||e.splice(n,1),e}z5.$inject=["bpmnFactory","bpmnReplace","commandStack","modeling","injector"];class H5{constructor(e,t,n,r,i,o,s){this._modeling=e,this._elementFactory=t,this._elementRegistry=n,this._canvas=r,this._bpmnFactory=i,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=ro(e),r=n.$type,i=this._getEventDefinitionType(n),o=this._createBlankBusinessObject(e);return t.replaceElement(e,{type:r,businessObject:o,eventDefinitionType:i},{createElementsBehavior:!1})}_removeRootTemplate(e){var t=this._modeling,n=this._elementFactory,r=this._elementRegistry,i=this._canvas;if(Ns(e)){const t=Ms(e),n=r.get(t);if(n&&n!==e)return i.setRootElement(i.findRoot(n)),this._removeTemplate(n)}const o=ro(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=ro(e),r=t.create(n.$type),i=Ro(e);return i?(to(e,"bpmn:Group")&&(r.categoryValueRef=t.create("bpmn:CategoryValue")),jo({businessObject:r},i),r):r}}H5.$inject=["modeling","elementFactory","elementRegistry","canvas","bpmnFactory","replace","commandStack"];class U5{constructor(e){this._commandStack=e}preExecute(e){const t=this._commandStack;v(e,(function(e){t.execute(e.cmd,e.context)}))}}U5.$inject=["commandStack"];let W5=class{constructor(e,t,n){e.registerHandler("element-templates.multi-command-executor",U5),e.registerHandler("propertiesPanel.zeebe.changeTemplate",z5),e.registerHandler("propertiesPanel.removeTemplate",H5),n.on(["commandStack.shape.create.postExecuted"],(function(n){const{context:{hints:r={},shape:i}}=n;!1!==r.createElementsBehavior&&G5(i,t,e)})),n.on(["commandStack.connection.create.postExecuted"],(function(n){const{context:{hints:r={},connection:i}}=n;!1!==r.createElementsBehavior&&G5(i,t,e)}))}};function G5(e,t,n){if(!t.get(e)&&t.getDefault(e)){const r="propertiesPanel.zeebe.changeTemplate",i={element:e,newTemplate:t.getDefault(e)};n.execute(r,i)}}W5.$inject=["commandStack","elementTemplates","eventBus"];var Q5={__init__:["elementTemplateCommands"],elementTemplateCommands:["type",W5]};class X5{static create(e,t){const{property:n}=t,{binding:r}=n,{name:i}=r,o=Z3(n);ro(e)[i]=o}}class Z5{static create(e,t){const{property:n,bpmnFactory:r}=t,i=Z3(n),o=j5(n.binding);b5(e,"zeebe:TaskDefinition",r).set(o,i)}}class Y5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=Z3(n),s=b5(e,"zeebe:IoMapping",r);if(!v5(o,n))return;const a=h5(i,o,r);a.$parent=s,s.get("inputParameters").push(a)}}class K5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=Z3(n),s=b5(e,"zeebe:IoMapping",r);if(!v5(o,n))return;const a=f5(i,o,r);a.$parent=s,s.get("outputParameters").push(a)}}class J5{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=Z3(n),s=b5(e,"zeebe:TaskHeaders",r),a=m5(i,o,r);a.$parent=s,s.get("values").push(a)}}class e4{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,o=Z3(n),s=b5(e,"zeebe:Properties",r);if(!v5(o,n))return;const a=y5(i,o,r);a.$parent=s,s.get("properties").push(a)}}class t4{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=Z3(r);let a=ro(e);to(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":F3(e)}),a.set("messageRef",l)),l.set(o,s)}}class n4{static create(e,t){const{bpmnFactory:n,property:r}=t,{binding:i}=r,{name:o}=i,s=Z3(r);let a=ro(e);to(a,"bpmn:Event")&&(a=a.get("eventDefinitions")[0]);let l=a.get("messageRef");l||(l=n.create("bpmn:Message",{"zeebe:modelerTemplate":F3(e)}),a.set("messageRef",l));const c=b5(l,"zeebe:Subscription",n);v5(s,r)&&c.set(o,s)}}class r4{static create(e,t){const{property:n,bpmnFactory:r}=t,{binding:i}=n,{property:o}=i,s=Z3(n),a=b5(e,"zeebe:CalledElement",r);!function(e){e.set("propagateAllChildVariables",!1),e.set("propagateAllParentVariables",!1)}(a),a.set(o,s)}}const i4=["Boolean","Integer","String"];function o4(e,t,n){const r=function(e,t,n){let r=ro(e);const i="",{binding:o}=t,{name:a,property:l,type:c}=o;if("property"===c){const e=r.get(a);return s(e)?i:e}if(A5.includes(c)){const e=H3(r,"zeebe:TaskDefinition");if(e){if(c===E5)return e.get("type");if(c===O5)return e.get(l)}return i}if(D5.includes(c)){const e=H3(r,"zeebe:IoMapping");if(!e)return i;if(c===x5){const t=W3(e,o);return t?t.get("source"):i}if(c===_5){const t=G3(e,o);return t?t.get("target"):i}}if(c===P5){const e=H3(r,"zeebe:TaskHeaders");if(!e)return i;const t=Q3(e,o);return t?t.get("value"):i}if(c===k5){const e=H3(r,"zeebe:Properties");if(e){const t=U3(e,o);if(t)return t.get("value")}return i}if(c===S5){const e=X3(r),t=e?e.get(a):void 0;return s(t)?i:t}if(c===C5){const e=X3(r);if(e){const t=H3(e,"zeebe:Subscription");if(!s(t?t.get(a):void 0))return t.get(a)}return i}if(c===T5){const e=H3(r,"zeebe:CalledElement");return e?e.get(l):i}throw c4(e,t)}(e,t),{type:i}=t;return"Boolean"===i?function(e){switch(e){case"true":return!0;case"false":return!1}return e}(r):r}const s4=null;function a4(e,t,n,r,i){let o=ro(n);const{binding:a}=r,{name:l,type:c}=a;let p,u;const d=[],h={element:n,property:r};if(N5.includes(c)){to(o,"bpmn:Event")&&(o=o.get("eventDefinitions")[0]);let t=X3(o);t||(t=e.create("bpmn:Message",{"zeebe:modelerTemplate":F3(n)}),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{messageRef:t}}})),o=t}if(M5.includes(c)&&(p=o.get("extensionElements"),p?d.push(s4):(p=p5("bpmn:ExtensionElements",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{extensionElements:p}}}))),R5.includes(c)){const e=o.$descriptor.propertiesByName[l];if(e){const{type:t}=e;if(!i4.includes(t))throw new Error(`cannot set property of type <${t}>`);"Boolean"===t?u=!!i:"Integer"===t?(u=parseInt(i,10),isNaN(u)&&(u=void 0)):u=i||""}else u=i||"";s(u)?d.push(s4):d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:o,properties:{[l]:u}}})}if(A5.includes(c)){const t=H3(p,"zeebe:TaskDefinition"),n={[j5(a)]:i||""};if(t)d.push({cmd:"element.updateModdleProperties",context:{...h,properties:n,moddleElement:t}});else{const t=g5(n,e);t.$parent=o;const r=p.get("values");d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...r,t]}}})}}if(D5.includes(c)){let t=H3(p,"zeebe:IoMapping");if(t||(t=p5("zeebe:IoMapping",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}})),c===x5){const n=W3(t,a),o=t.get("inputParameters").filter((e=>e!==n));if(v5(i,r)){const t=h5(a,i,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{inputParameters:[...o]}}})}if(c===_5){const n=G3(t,a),o=t.get("outputParameters").filter((e=>e!==n));if(v5(i,r)){const t=f5(a,i,e);o.push(t)}d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{outputParameters:[...o]}}})}}if(c===P5){let t=H3(p,"zeebe:TaskHeaders");t||(t=p5("zeebe:TaskHeaders",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const n=Q3(t,a),r=t.get("values").filter((e=>e!==n));if(i){const n=m5(a,i,e);d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:[...r,n]}}})}else d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:t,properties:{values:r}}})}if(c===k5){let t=H3(p,"zeebe:Properties");t||(t=p5("zeebe:Properties",null,o,e),d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:p,properties:{values:[...p.get("values"),t]}}}));const s=U3(t,a),l=t.get("properties").filter((e=>e!==s));if(v5(i,r)){const t=y5(a,i,e);l.push(t)}d.push({cmd:"element.updateModdleProperties",context:{element:n,moddleElement:t,properties:{properties:l}}})}if(c===C5){let t=H3(p,"zeebe:Subscription");const r={[l]:i||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:r,moddleElement:t}}):(t=p5("zeebe:Subscription",r,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(c===T5){let t=H3(n,"zeebe:CalledElement");const r={[a.property]:i||""};t?d.push({cmd:"element.updateModdleProperties",context:{element:n,properties:r,moddleElement:t}}):(t=p5("zeebe:CalledElement",r,p,e),d.push({cmd:"element.updateModdleProperties",context:{...h,moddleElement:p,properties:{values:[...p.get("values"),t]}}}))}if(!d.length)throw c4(n,r);{const e=d.filter((e=>e!==s4));e.length&&t.execute("element-templates.multi-command-executor",e)}}function l4(e,t,n=p4){const{constraints:r={},label:i}=t,{maxLength:o,minLength:s,notEmpty:a}=r;if(a&&function(e){if("string"==typeof e)return!e.trim().length;return void 0===e}(e))return`${i} ${n("must not be empty.")}`;if(o&&(e||"").length>o)return`${i} ${n("must have max length {maxLength}.",{maxLength:o})}`;if(s&&(e||"").length<s)return`${i} ${n("must have min length {minLength}.",{minLength:s})}`;let{pattern:l}=r;if(l){let t;if(h(l)||(t=l.message,l=l.value),!function(e,t){return new RegExp(t).test(e)}(e,l))return t?`${i} ${n(t)}`:`${i} ${n("must match pattern {pattern}.",{pattern:l})}`}}function c4(e,t){const n=ro(e).get("id"),{binding:r}=t,{type:i}=r;return new Error(`unknown binding <${i}> for element <${n}>, this should never happen`)}function p4(e,t){return t=t||{},e.replace(/{([^}]+)}/g,(function(e,n){return t[n]||"{"+n+"}"}))}function u4(e,t){const{properties:n}=t,r=n.filter((t=>function(e,t){const{binding:n}=t,{type:r}=n;if("bpmn:Message#zeebe:subscription#property"===r&&"correlationKey"===n.name&&to(e,"bpmn:StartEvent")&&!Oo(e.parent))return!1;return!0}(e,t)&&d4(e,n,t)));return{...t,properties:r}}function d4(e,t,n){const{condition:r}=n;if(!r)return!0;if(r.allMatch){return r.allMatch.every((n=>h4(e,t,n)))}return h4(e,t,r)}function h4(e,t,n){const{property:r,equals:i,oneOf:o,isActive:s}=n;if(void 0!==s){const n=t.find((e=>e.id===r));return n?s?d4(e,t,n):!d4(e,t,n):!s}const a=function(e,t,n){const r=t.find((e=>e.id===n));if(!r)return;return o4(e,r)}(e,t,r);return l=n,c="equals",Object.prototype.hasOwnProperty.call(l,c)?a===i:!!o&&o.includes(a);var l,c}class f4{constructor(e,t){this._bpmnFactory=e,this._elementFactory=t,this._providers={[w5]:X5,[E5]:Z5,[O5]:Z5,"zeebe:property":e4,[x5]:Y5,[_5]:K5,[P5]:J5,[S5]:t4,[C5]:n4,[T5]:r4}}create(e){const{properties:t}=e,n=this._createShape(e);return this._setModelerTemplate(n,e),function(e){const{icon:t}=e;return!(!t||!t.contents)}(e)&&this._setModelerTemplateIcon(n,e),this._applyProperties(n,t),n}_createShape(e){const{appliesTo:t,elementType:n={}}=e,r=this._elementFactory,i={type:n.value||t[0]};n.eventDefinition&&(i.eventDefinitionType=n.eventDefinition);return r.createShape(i)}_ensureExtensionElements(e){const t=this._bpmnFactory,n=ro(e);let r=n.get("extensionElements");return r||(r=t.create("bpmn:ExtensionElements",{values:[]}),r.$parent=n,n.set("extensionElements",r)),r}_setModelerTemplate(e,t){const{id:n,version:r}=t,i=ro(e);i.set("zeebe:modelerTemplate",n),i.set("zeebe:modelerTemplateVersion",r)}_setModelerTemplateIcon(e,t){const{icon:n}=t,{contents:r}=n;ro(e).set("zeebe:modelerTemplateIcon",r)}_applyProperties(e,t){const n=[];t.forEach((r=>this._applyProperty(e,r,t,n)))}_applyProperty(e,t,n,r){if(r.includes(t))return;const i=function(e,t){const{condition:n}=e;if(!n)return[];const r=function(e,t){return m(e,(function(e){return e.id===t}))}(t,n.property);if(r)return[r];return[]}(t,n);i.forEach((t=>this._applyProperty(e,t,n,r))),d4(e,n,t)&&this._bindProperty(t,e),r.push(t)}_bindProperty(e,t){const{binding:n}=e,{type:r}=n;this._providers[r].create(t,{property:e,bpmnFactory:this._bpmnFactory})}}f4.$inject=["bpmnFactory","elementFactory"];var m4={__init__:["templateElementFactory"],templateElementFactory:["type",f4]};class g4 extends _s{constructor(e,t,n,r,i){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=r,this._injector=i,this.preExecute(["element.updateProperties","element.updateModdleProperties","element.move"],this._saveConditionalState,!0,this),this.postExecute(["element.updateProperties","element.updateModdleProperties","propertiesPanel.zeebe.changeTemplate","element.move"],this._applyConditions,!0,this),this.preExecute(["propertiesPanel.zeebe.changeTemplate"],this._ensureConditional,!0,this)}_saveConditionalState(e){const{element:t}=e,n=this._elementTemplates.get(t);n&&(e.oldTemplateWithConditions=u4(t,n))}_applyConditions(e){const{element:t,newTemplate:n,oldTemplateWithConditions:r}=e,i=this._elementTemplates.get(t),o=r||n;if(!i||!o)return;const s=u4(t,i);if(!function(e,t){let n=t.properties;return n.some((t=>!e.properties.find((e=>y4(e,t)))))}(a=s,l=o)&&!function(e,t){const n=function(e,t){let n=t.properties;return n.filter((t=>!e.properties.find((e=>y4(e,t)))))}(t,e);return n.some((e=>!function(e,t){return e.properties.some((e=>b4(t.binding,e.binding)))}(t,e)))}(a,l))return;var a,l;const c={element:t,newTemplate:i,oldTemplate:o};this._commandStack.execute("propertiesPanel.zeebe.changeTemplate",c)}_ensureConditional(e){const{element:t,newTemplate:n}=e;n&&(e.newTemplate=u4(t,n))}}function y4(e,t){return b4(e.binding,t.binding)&&x4(e.condition,t.condition)}function v4(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function b4(e,t){return x4(e=w4(e),t=w4(t))}function w4(e){return e.type===E5?{...e,type:O5,property:"type"}:e}function x4(e,t){return JSON.stringify(e,v4)===JSON.stringify(t,v4)}g4.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory","injector"];let _4=class extends _s{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(t){var n=t.context,r=ro(n.oldShape),i=n.newShape,o=ro(i);if(!r.modelerTemplate)return;const s=o.modelerTemplate,a=o.modelerTemplateVersion,l=e.get(s,a);if(!l)return void e.unlinkTemplate(i);const{appliesTo:c,elementType:p}=l;if(p)return void(to(i,p.value)&&!function(e,t){if(!to(e,"bpmn:Event"))return!1;const{eventDefinition:n}=t,r=ro(e),i=r.get("eventDefinitions");if(!n)return 0!==i.length;return!to(i[0],n)}(i,p)||e.unlinkTemplate(i));const u=c.reduce(((e,t)=>e||to(o,t)),!1);u||e.unlinkTemplate(i)}))}};_4.$inject=["elementTemplates","injector"];class k4 extends _s{constructor(e,t,n,r){super(e),this._eventBus=e,this._elementTemplates=t,this._commandStack=n,this._bpmnFactory=r,this.postExecute(["element.updateProperties","element.updateModdleProperties"],this._updatePropertiesOrder,!0,this)}_updatePropertiesOrder(e){const{element:t}=e,n=this._elementTemplates.get(t),r=t.businessObject,i=[];if(!n)return;const o=u4(t,n).properties,s=H3(r,"zeebe:Properties");s&&this._updateZeebePropertiesOrder(s,o,i,e);const a=H3(r,"zeebe:IoMapping");a&&(this._updateInputOrder(a,o,i,e),this._updateOutputOrder(a,o,i,e));const l=H3(r,"zeebe:TaskHeaders");if(l&&this._updateTaskHeadersOrder(l,o,i,e),i.length){const e=i.filter((e=>null!==e));e.length&&this._commandStack.execute("element-templates.multi-command-executor",e)}else;}_updateZeebePropertiesOrder(e,t,n,r){const i=e.get("properties");if(i.length<1)return;let o=[...i];P4(o,((e,t)=>e.findIndex((e=>"zeebe:property"==e.binding.type&&e.binding.name===t.get("name")))),t),O4(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{properties:o}}})}_updateInputOrder(e,t,n,r){const i=e.get("inputParameters");if(i.length<1)return;let o=[...i];P4(o,((e,t)=>e.findIndex((e=>"zeebe:input"==e.binding.type&&e.binding.name===t.get("target")))),t),O4(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{inputParameters:o}}})}_updateOutputOrder(e,t,n,r){const i=e.get("outputParameters");if(i.length<1)return;let o=[...i];P4(o,((e,t)=>e.findIndex((e=>"zeebe:output"==e.binding.type&&e.binding.source===t.get("source")))),t),O4(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{outputParameters:o}}})}_updateTaskHeadersOrder(e,t,n,r){const i=e.get("zeebe:values");if(i.length<1)return;let o=[...i];P4(o,((e,t)=>e.findIndex((e=>"zeebe:taskHeader"==e.binding.type&&e.binding.key===t.get("key")))),t),O4(o,i)||n.push({cmd:"element.updateModdleProperties",context:{...r,moddleElement:e,properties:{values:o}}})}}function E4(e,t){if(p(t)){return Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{})}return t}function O4(e,t){return e.every(((e,n)=>function(e,t){return JSON.stringify(e,E4)===JSON.stringify(t,E4)}(e,t[n])))}function P4(e,t,n){return e.sort(((e,r)=>t(n,e)-t(n,r)))}k4.$inject=["eventBus","elementTemplates","commandStack","bpmnFactory"];class S4 extends _s{constructor(e,t,n,r,i,o){super(e),this._eventBus=e,this._elementTemplates=t,this._modeling=n,this._injector=r,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&&F3(t)&&(e.descriptor.referencedRootElement=i.copyElement(t,o.create(t.$type)))}))}_handlePropertiesUpdate(e){const{element:t,properties:n}=e;if(!C4(t))return;if(!(q3 in n)||h(n[q3]))return;const r=X3(ro(t));r&&F3(r)&&this._modeling.updateModdleProperties(t,r,{[q3]:null})}_handleReplacement(e){const{oldShape:t,newShape:n}=e,r=F3(t),i=F3(n);if(!C4(t)||!r)return;const o=X3(ro(t));o&&F3(o)&&(C4(n)&&i?this._addMessage(n,o):I5(o,this._injector))}_handleRemoval(e){const{shape:t}=e;if("label"===t.type)return;if(!C4(t))return;if(!F3(t))return;const n=X3(ro(t));n&&F3(n)&&I5(n,this._injector)}_addMessage(e,t){const n=L5(e);this._modeling.updateModdleProperties(e,n,{messageRef:t})}}function C4(e){return no(e,["bpmn:ReceiveTask","bpmn:SendTask","bpmn:Event"])}S4.$inject=["eventBus","elementTemplates","modeling","injector","moddleCopy","bpmnFactory"];class T4 extends _s{constructor(e,t,n,r,i){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(!o4(n,e))return;const t=Z3(e);a4(i,r,n,e,t)}))}),!0)}}T4.$inject=["eventBus","elementTemplates","modeling","commandStack","bpmnFactory"];class M4 extends _s{constructor(e,t,n){super(e),this._modeling=t,this._elementTemplates=n,this.postExecuted(["element.updateProperties","element.updateModdleProperties"],this._ensureNoPropagation,!0,this)}_ensureNoPropagation(e){const{element:t}=e;if(!this._elementTemplates.get(t))return;if(!to(t,"bpmn:CallActivity"))return;const n=H3(t,"zeebe:CalledElement");if(n)for(const e of["propagateAllChildVariables","propagateAllParentVariables"])!1!==n.get(e)&&this._modeling.updateModdleProperties(t,n,{[e]:!1})}}M4.$inject=["eventBus","modeling","elementTemplates"];var A4={__depends__:[Q5,{__init__:["elementTemplatesReplaceBehavior","elementTemplatesConditionalBehavior","elementTemplatesGeneratedValueBehavior","elementTemplatesReferencedElementBehavior","elementTemplatesUpdatePropertiesOrderBehavior","elementTemplatesCalledElementBehavior"],elementTemplatesReplaceBehavior:["type",_4],elementTemplatesConditionalBehavior:["type",g4],elementTemplatesGeneratedValueBehavior:["type",T4],elementTemplatesReferencedElementBehavior:["type",S4],elementTemplatesUpdatePropertiesOrderBehavior:["type",k4],elementTemplatesCalledElementBehavior:["type",M4]},m4],__init__:["elementTemplatesLoader"],elementTemplates:["type",e5],elementTemplatesLoader:["type",c5]};function D4(e){const t=e.metadata,n=e.version;if(t){if(!s(t.created))return N4(t.created);if(!s(t.updated))return N4(t.updated)}return s(n)?null:n}function N4(e){const t=new Date(e),n=t.getFullYear(),r=R4(String(t.getMonth()+1));return R4(String(t.getDate()))+"."+r+"."+n+" "+R4(String(t.getHours()))+":"+R4(String(t.getMinutes()))}function R4(e){return function(e,t,n){for(;e.length<t;)e=n+e;return e}(e,2,"0")}function j4(e={}){const{getTemplateId:t=K3}=e;return function(e){const{id:n,label:r,element:i,entries:o=[]}=e,[s,a]=dW(["groups",n,"open"],!1),l=!o.length;return Vk("div",{class:"bio-properties-panel-group bio-properties-panel-templates-group","data-group-id":"group-"+n,children:[Vk("div",{class:Wk("bio-properties-panel-group-header",{empty:l,open:s&&!l}),onClick:()=>!l&&a(!s),children:[Vk("div",{title:r,class:"bio-properties-panel-group-header-title",children:r}),Vk("div",{class:"bio-properties-panel-group-header-buttons",children:[Vk(L4,{element:i,getTemplateId:t}),!l&&Vk(I4,{open:s})]})]}),Vk("div",{class:Wk("bio-properties-panel-group-entries",{open:s&&!l}),children:o.map((e=>{const{component:t,id:n}=e;return h_(t,{...e,key:n,element:i})}))})]})}}function I4({open:e}){return Vk(fG,{title:"Toggle section",class:"bio-properties-panel-arrow",children:Vk(HU,{class:e?"bio-properties-panel-arrow-down":"bio-properties-panel-arrow-right"})})}function L4({element:e,getTemplateId:t}){const n=function(e,t,n){const r=n(t),i=e.get(t);if(!r)return{type:"NO_TEMPLATE"};if(!i)return{type:"UNKNOWN_TEMPLATE",templateId:r};if(i.deprecated)return{type:"DEPRECATED_TEMPLATE",template:i};const o=e.getLatest(r,{deprecated:!0})[0];if(o!==i)return{type:"OUTDATED_TEMPLATE",template:i,newerTemplate:o};return{type:"KNOWN_TEMPLATE",template:i}}(cX("elementTemplates"),e,t);return"NO_TEMPLATE"===n.type?Vk(z4,{element:e}):"KNOWN_TEMPLATE"===n.type?Vk(B4,{element:e}):"UNKNOWN_TEMPLATE"===n.type?Vk(q4,{element:e}):"DEPRECATED_TEMPLATE"===n.type?Vk(U4,{element:e,templateState:n}):"OUTDATED_TEMPLATE"===n.type?Vk(V4,{element:e,templateState:n}):void 0}function z4({element:e}){const t=cX("translate"),n=cX("eventBus");return Vk(fG,{title:"Select a template",class:"bio-properties-panel-select-template-button",onClick:()=>n.fire("elementTemplates.select",{element:e}),children:[Vk(UU,{}),Vk("span",{children:t("Select")})]})}function B4({element:e}){const t=cX("translate"),n=cX("elementTemplates"),r=[{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:Vk($4,{}),action:()=>n.removeTemplate(e)}];return Vk(dG,{menuItems:r,class:"bio-properties-panel-applied-template-button",children:Vk(fG,{children:[Vk("span",{children:t("Applied")}),Vk(HU,{class:"bio-properties-panel-arrow-down"})]})})}function $4(){return Vk("span",{class:"bio-properties-panel-remove-template",children:cX("translate")("Remove")})}function q4({element:e}){const t=cX("translate"),n=cX("elementTemplates"),r=[{entry:Vk(F4,{})},{separator:!0},{entry:t("Unlink"),action:()=>n.unlinkTemplate(e)},{entry:Vk($4,{}),action:()=>n.removeTemplate(e)}];return Vk(dG,{menuItems:r,class:"bio-properties-panel-template-not-found",children:Vk(fG,{children:[Vk("span",{children:t("Not found")}),Vk(HU,{class:"bio-properties-panel-arrow-down"})]})})}function F4(){return Vk("div",{class:"bio-properties-panel-template-not-found-text",children:cX("translate")("The template applied was not found. Therefore, its properties cannot be shown. Unlink to access the data.")})}function V4({element:e,templateState:t}){const{newerTemplate:n}=t,r=cX("translate"),i=cX("elementTemplates"),o=[{entry:Vk(H4,{newerTemplate:n})},{separator:!0},{entry:r("Update"),action:()=>i.applyTemplate(e,n)},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:Vk($4,{}),action:()=>i.removeTemplate(e)}];return Vk(dG,{menuItems:o,class:"bio-properties-panel-template-update-available",children:Vk(fG,{children:[Vk("span",{children:r("Update available")}),Vk(HU,{class:"bio-properties-panel-arrow-down"})]})})}function H4({newerTemplate:e}){return Vk("div",{class:"bio-properties-panel-template-update-available-text",children:cX("translate")("A new version of the template is available: {templateVersion}",{templateVersion:D4(e)})})}function U4({element:e,templateState:t}){const{template:n}=t,r=cX("translate"),i=cX("elementTemplates"),o=[{entry:Vk(W4,{template:n})},{separator:!0},{entry:r("Unlink"),action:()=>i.unlinkTemplate(e)},{entry:Vk($4,{}),action:()=>i.removeTemplate(e)}];return Vk(dG,{menuItems:o,class:"bio-properties-panel-deprecated-template-button",children:Vk(fG,{children:[Vk("span",{children:r("Deprecated")}),Vk(HU,{class:"bio-properties-panel-arrow-down"})]})})}function W4({template:e}){const t=cX("translate"),{message:n=t("This template is deprecated."),documentationRef:r}=e.deprecated;return Vk("div",{class:"bio-properties-panel-deprecated-template-text",children:[n,r&&Vk(m_,{children:[" ",Vk("a",{href:r,children:Vk(G4,{})})]})]})}function G4(){return Vk("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Vk("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 Q4({element:e,elementTemplates:t}){const n=t.get(e);return n?[{id:"template-name",component:X4,template:n},{id:"template-version",component:Z4,template:n},{id:"template-description",component:Y4,template:n}].filter((e=>!!e.component)):[]}function X4({id:e,template:t}){return Vk(K4,{id:e,label:cX("translate")("Name"),content:t.name})}function Z4({id:e,template:t}){const n=cX("translate"),r=D4(t);return r?Vk(K4,{id:e,label:n("Version"),content:r}):null}function Y4({id:e,template:t}){const n=cX("translate"),{description:r}=t;return r?Vk(K4,{id:e,label:n("Description"),content:t.description}):null}function K4({id:e,label:t,content:n}){return Vk("div",{"data-entry-id":e,class:"bio-properties-panel-entry bio-properties-panel-text-entry",children:[Vk("span",{class:"bio-properties-panel-label",children:t}),Vk("span",{class:"bio-properties-panel-text-entry__content",children:n})]})}var J4,e6={};function t6(e,t,n){if(3===e.nodeType){var r="textContent"in e?e.textContent:e.nodeValue||"";if(!1!==t6.options.trim){var i=0===t||t===n.length-1;if((!(r=r.match(/^[\s\n]+$/g)&&"all"!==t6.options.trim?" ":r.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===t6.options.trim||i?"":" "))||" "===r)&&n.length>1&&i)return null}return r}if(1!==e.nodeType)return null;var o=String(e.nodeName).toLowerCase();if("script"===o&&!t6.options.allowScripts)return null;var s,a,l=t6.h(o,function(e){var t=e&&e.length;if(!t)return null;for(var n={},r=0;r<t;r++){var i=e[r],o=i.name,s=i.value;"on"===o.substring(0,2)&&t6.options.allowEvents&&(s=new Function(s)),n[o]=s}return n}(e.attributes),(a=(s=e.childNodes)&&Array.prototype.map.call(s,t6).filter(r6))&&a.length?a:null);return t6.visitor&&t6.visitor(l),l}var n6,r6=function(e){return e},i6={};function o6(e){var t=(e.type||"").toLowerCase(),n=o6.map;n&&n.hasOwnProperty(t)?(e.type=n[t],e.props=Object.keys(e.props||{}).reduce((function(t,n){var r;return t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=e.props[n],t}),{})):e.type=t.replace(/[^a-z0-9-]/i,"")}var s6=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){n6=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,r=e.type,i=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 r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),d=s||this.reviver||this.constructor.prototype.reviver||n6||h_;this.setComponents(o);var h={allowScripts:l,allowEvents:c,trim:p};try{n=function(e,t,n,r,i){var o=function(e,t){var n,r,i,o,s="html"===t?"text/html":"application/xml";"html"===t?(o="body",i="<!DOCTYPE html>\n<html><body>"+e+"</body></html>"):(o="xml",i='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+e+"</xml>");try{n=(new DOMParser).parseFromString(i,s)}catch(e){r=e}if(n||"html"!==t||((n=J4||(J4=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(i),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||r||"Unknown error",a.removeChild(l)),a}}(e,t);if(o&&o.error)throw new Error(o.error);var s=o&&o.body||o;o6.map=r||i6;var a=s&&function(e,t,n,r){return t6.visitor=t,t6.h=n,t6.options=r||e6,t6(e)}(s,o6,n,i);return o6.map=null,a&&a.props&&a.props.children||null}(i,r,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 f=u.hasOwnProperty("className")?"className":"class",m=u[f];return m?m.splice?m.splice(0,0,"markup"):"string"==typeof m?u[f]+=" markup":"object"==typeof m&&(m.markup=!0):u[f]="markup",d("div",u,n||null)},t}(g_);const a6=3,l6=1,c6=["h1","h2","h3","h4","h5","span","em","a","p","div","ul","ol","li","hr","blockquote","img","pre","code","br","strong"],p6=["align","alt","class","href","id","name","rel","target","src"],u6=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,d6=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g,h6=document.createElement("form");function f6(e){const t=(new DOMParser).parseFromString(`<!DOCTYPE html>\n<html><body><div>${e}`,"text/html");t.normalize();const n=t.body.firstChild;return n?(m6(n),(new XMLSerializer).serializeToString(n)):""}function m6(e){if(e.nodeType===a6)return;if(e.nodeType!==l6)return e.remove();const t=e.tagName.toLowerCase();if(!c6.includes(t))return e.remove();const n=e.attributes;for(let r=n.length;r--;){const i=n[r],o=i.name,s=o.toLowerCase(),a=i.value.trim();e.removeAttribute(o);g6(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--;)m6(e.childNodes[t])}function g6(e,t,n){return!!p6.includes(t)&&(("id"!==t&&"name"!==t||!(n in document)&&!(n in h6))&&(("target"!==t||"_blank"===n)&&!("href"===t&&!u6.test(n.replace(d6,"")))))}function y6(e){const{tooltip:t}=e;return t&&Vk(s6,{markup:f6(t),trim:!1})}function v6(e,t,n,r){const i=tk(E6(e,t,n,r),[e,t,n,r]),o=tk(k6(n,r),[n,r]),[s,a]=X_(_6(r,o())),l=tk((e=>{!s&&"string"==typeof e&&e.startsWith("=")&&a(!0),!s||"string"==typeof e&&e.startsWith("=")||a(!1)}),[s]),c=tk(((e,t)=>{l(e),i(w6(e,r.type))}),[i,r,l]),p=tk((()=>s?o():x6(o(),r.type)),[o,r,s]);return b6(r)?[p,c]:[o,i]}const b6=e=>["optional","static"].includes(e.feel)&&["Boolean","Number"].includes(e.type),w6=(e,t)=>"string"==typeof e&&e.startsWith("=")?e:"Boolean"===t?"="+!!(e="false"!==e&&e):void 0===e?e:"="+e.toString(),x6=(e,t)=>void 0===e?e:("string"==typeof e&&e.startsWith("=")&&(e=e.slice(1)),"Number"===t?Number(e):"Boolean"===t?"false"!==e:e),_6=(e,t)=>!b6(e)||("Boolean"===e.type?!("=true"===t||"=false"===t):"Number"!==e.type||isNaN(x6(t,e.type)));function k6(e,t){return function(){return o4(e,t)}}function E6(e,t,n,r){return function(i){return a4(e,t,n,r,i)}}function O6(e,t){return n=>l4(n,t,e)}function P6(e){return["zeebe:property","zeebe:taskHeader"].includes(e.binding.type)}function S6(e){const{description:t}=e,n=cX("translate");return t&&Vk(s6,{markup:f6(n(t)),trim:!1})}function C6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,language:l,tooltip:c}=r,p=cX("bpmnFactory"),u=cX("commandStack"),d=cX("debounceInput"),h=cX("translate");return DG({debounce:d,element:t,id:n,label:s,feel:a,monospace:!!l,autoResize:!0,description:S6({description:i}),getValue:k6(t,r),setValue:E6(p,u,t,r),validate:O6(h,r),disabled:!1===o,tooltip:y6({tooltip:c})})}function T6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c=cX("bpmnFactory"),p=cX("commandStack"),u=cX("debounceInput"),d=cX("translate");return IG({debounce:u,element:t,getValue:k6(t,r),id:n,label:s,feel:a,description:S6({description:i}),setValue:E6(c,p,t,r),validate:O6(d,r),disabled:!1===o,tooltip:y6({tooltip:l})})}function M6(e){return t=>{const{bpmnElement:n,element:r}=t,i=(n||r).businessObject,[o,s]=X_([]),a=cX("eventBus"),l=(c={getVariablesForElement:WQ},cX("variableResolver",!1)||c);var c;return Y_((()=>{const e=()=>{(async()=>{const e=await l.getVariablesForElement(i);s(e.map((e=>({...e,info:e.info||e.origin&&"Written in "+e.origin.map((e=>e.name||e.id)).join(", ")}))))})()};return a.on("commandStack.changed",e),e(),()=>{a.off("commandStack.changed",e)}}),[i]),Vk(e,{...t,variables:o})}}function A6(e){return t=>{const n=ek((()=>{const e=cX("config");return e&&e.propertiesPanel&&e.propertiesPanel.feelTooltipContainer}),[]);return Vk(e,{...t,tooltipContainer:n})}}const D6=A6(eG),N6=A6((function(e){return Vk(eG,{class:"bio-properties-panel-feel-textarea",OptionalComponent:KW,...e})})),R6=M6(D6),j6=M6(N6);function I6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c=cX("bpmnFactory"),p=cX("commandStack"),u=cX("debounceInput"),d=cX("translate");return(P6(r)?D6:R6)({debounce:u,element:t,getValue:k6(t,r),id:n,label:s,feel:a,description:S6({description:i}),setValue:E6(c,p,t,r),validate:O6(d,r),disabled:!1===o,tooltip:y6({tooltip:l})})}function L6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c=cX("bpmnFactory"),p=cX("commandStack"),u=cX("debounceInput"),d=cX("translate");return(P6(r)?N6:j6)({debounce:u,element:t,getValue:k6(t,r),id:n,label:s,feel:a,description:S6({description:i}),setValue:E6(c,p,t,r),validate:O6(d,r),disabled:!1===o,tooltip:y6({tooltip:l})})}function z6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a}=r,l=cX("bpmnFactory"),c=cX("commandStack"),p=cX("translate");return SG({element:t,id:n,label:s,getOptions:()=>{const{choices:e,optional:t}=r;let n=[];return n=e.map((({name:e,value:t})=>({label:e,value:t}))),t&&(n=[{label:"",value:void 0},...n]),n},description:S6({description:i}),getValue:k6(t,r),setValue:E6(l,c,t,r),validate:O6(p,r),disabled:!1===o,tooltip:y6({tooltip:a})})}function B6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,tooltip:a,feel:l}=r,c=cX("bpmnFactory"),p=cX("commandStack"),u=cX("debounceInput"),d=cX("translate"),h="optional"===l?nG:kG,[f,m]=v6(c,p,t,r);return h({element:t,debounce:u,translate:d,getValue:f,id:n,label:s,description:S6({description:i}),setValue:m,disabled:!1===o,tooltip:y6({tooltip:a})})}function $6(e){const{element:t,id:n,property:r}=e,{description:i,editable:o,label:s,feel:a,tooltip:l}=r,c="optional"===a?tG:HW,p=cX("bpmnFactory"),d=cX("commandStack"),h=cX("debounceInput"),f=cX("translate"),[m,g]=v6(p,d,t,r),y=tk((e=>{if(b6(r)&&u(e)&&e.toString().includes("e"))return f("Scientific notation is disallowed in FEEL.");return O6(f,r)(e)}),[f,r]);return c({debounce:h,element:t,getValue:m,id:n,label:s,description:S6({description:i}),setValue:g,validate:y,disabled:!1===o,tooltip:y6({tooltip:l})})}function q6(e){const{element:t,elementTemplate:n,injector:r}=e,i=r.get("translate"),o=[],{id:s,properties:a,groups:l}=n,c=function(e){return P(e,"group")}(a),p=[];return v(c,((e,n)=>{const r=function(e,t){return m(e,(e=>e.id===t))}(l,n);if(!r)return p.push(...e);F6(o,{element:t,id:`ElementTemplates__CustomProperties-${n}`,label:i(r.label),openByDefault:r.openByDefault,properties:e,templateId:`${s}-${n}`,tooltip:y6({tooltip:r.tooltip})})})),p.length&&F6(o,{id:"ElementTemplates__CustomProperties",label:i("Custom properties"),element:t,properties:p,templateId:s}),o}function F6(e,t){const{element:n,id:r,label:i,openByDefault:o=!0,properties:s,templateId:a,tooltip:l}=t,c={id:r,label:i,component:yW,entries:[],shouldOpen:o,tooltip:l};s.forEach(((e,t)=>{const n=function(e,t,n){let{type:r,feel:i}=n;r||(r=function(e){const{binding:t}=e,{type:n}=t;if([w5,E5,O5,x5,_5,k5,P5].includes(n))return"String"}(n));if("required"===i)return{id:e,component:I6,isEdited:rG,property:n};if("Number"===r)return{id:e,component:$6,isEdited:UW,property:n};if("Boolean"===r)return{id:e,component:B6,isEdited:EG,property:n};if("Dropdown"===r)return{id:e,component:z6,isEdited:CG,property:n};if("String"===r)return i?{id:e,component:I6,isEdited:rG,property:n}:{id:e,component:T6,isEdited:LG,property:n};if("Text"===r)return i?{id:e,component:L6,isEdited:rG,property:n}:{id:e,component:C6,isEdited:NG,property:n}}(`custom-entry-${a}-${t}`,0,e);n&&c.entries.push(n)})),c.entries.length&&e.push(c)}function V6(e){return to(e,"bpmn:ReceiveTask")?ro(e):function(e,t){return m(ro(e).get("eventDefinitions")||[],(function(e){return to(e,t)}))}(e,"bpmn:MessageEventDefinition")}const H6="",U6="create-new";function W6(e){const{element:t}=e;return function(e){return to(e,"bpmn:ReceiveTask")||no(e,["bpmn:StartEvent","bpmn:EndEvent","bpmn:IntermediateThrowEvent","bpmn:BoundaryEvent","bpmn:IntermediateCatchEvent"])&&!!V6(e)}(t)?[{id:"messageRef",component:G6,isEdited:CG}]:[]}function G6(e){const{element:t}=e,r=cX("bpmnFactory"),i=cX("modeling"),o=cX("translate"),s=V6(t);return function(e){const{autoFocusEntry:t,element:n,getOptions:r}=e,i=r(n),o=hW(i);return Y_((()=>{if(t&&o&&i.length>o.length){const e=B3(`[data-entry-id="${t}"]`),n=B3(".bio-properties-panel-input",e);n&&n.select()}}),[i]),Vk(SG,{...e})}({element:t,id:"messageRef",label:o("Global message reference"),autoFocusEntry:"messageName",getValue:()=>{const e=function(e){const t=V6(e);return t&&t.get("messageRef")}(t);return e?e.get("id"):H6},setValue:e=>{const o=u5(s);let a;if(e===U6){const t=function(e){return new n([32,32,1]).nextPrefixed(e)}("Message_");a=p5("bpmn:Message",{id:t,name:t},o,r),e=a.get("id")}return a=function(e,t,n){return d5(e,t).find((e=>e.id===n))}(s,"bpmn:Message",e)||a,i.updateModdleProperties(t,s,{messageRef:a})},getOptions:()=>{let e=[{value:H6,label:o("<none>")},{value:U6,label:o("Create new ...")}];const n=function(e){return e.filter((e=>!e.get("zeebe:modelerTemplate")))}(d5(ro(t),"bpmn:Message"));var r;return(r=n,T(r,(e=>(e.name||"").toLowerCase()))).forEach((t=>{e.push({value:t.get("id"),label:t.get("name")})})),e}})}const Q6=["general","documentation","multiInstance"];let X6=class{constructor(e,t,n){t.registerProvider(300,this),this._elementTemplates=e,this._injector=n}getGroups(e){return t=>{const n=this._injector;if(function(e,t){const n=function(e,t){return e.find((e=>e.id===t))}(e,"message");if(!n)return;n.entries=(r=n.entries,i=W6({element:t}),r.map((e=>i.find((t=>t.id===e.id))||e)));var r,i}(t,e),!this._shouldShowTemplateProperties(e))return t;const r=n.get("translate");t=t.slice();const i={element:e,id:"ElementTemplates__Template",label:r("Template"),component:j4({getTemplateId:F3}),entries:Q4({element:e,elementTemplates:this._elementTemplates})};Z6(Q6,t,[i]);let o=this._elementTemplates.get(e);if(o){o=u4(e,o);Z6("ElementTemplates__Template",t,[].concat(q6({element:e,elementTemplate:o,injector:n})))}return F3(e)&&(t=function(e,t){if(!e.entriesVisible)return t.filter((e=>Q6.includes(e.id)||e.id.startsWith("ElementTemplates__")));return t}(o||{},t)),t}}_shouldShowTemplateProperties(e){return F3(e)||this._elementTemplates.getAll(e).length}};function Z6(e,t,n){let r=e;Array.isArray(e)||(r=[e]);const i=t.reduce(((e,t,n)=>r.includes(t.id)?n:e),-1);-1!==i?t.splice(i+1,0,...n):t.unshift(...n)}X6.$inject=["elementTemplates","propertiesPanel","injector"];var Y6={__depends__:[A4,{__depends__:[as],__init__:["elementTemplatesPropertiesProvider"],elementTemplatesPropertiesProvider:["type",X6]}]};function K6(){}function J6(e,t){this.model=e,this.properties=t}(class extends _s{constructor(e,t){super(t.get("eventBus")),this.postExecuted("shape.replace",(function(n){var r=n.context,i=ro(r.oldShape),o=r.newShape,s=ro(o);if(!i.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(to(o,u.value)||e.unlinkTemplate(o,t));const d=p.reduce(((e,t)=>e||to(s,t)),!1);d||e.unlinkTemplate(o,t)}))}}).$inject=["elementTemplates","injector"],K6.prototype.get=function(e){return this.$model.properties.get(this,e)},K6.prototype.set=function(e,t){this.$model.properties.set(this,e,t)},J6.prototype.createType=function(e){var t=this.model,n=this.properties,r=Object.create(K6.prototype);v(e.properties,(function(e){e.isMany||void 0===e.default||(r[e.name]=e.default)})),n.defineModel(r,t),n.defineDescriptor(r,e);var i=e.ns.name;function o(e){n.define(this,"$type",{value:i,enumerable:!0}),n.define(this,"$attrs",{value:{}}),n.define(this,"$parent",{writable:!0}),v(e,I((function(e,t){this.set(t,e)}),this))}return o.prototype=r,o.hasType=r.$instanceOf=this.model.hasType,n.defineModel(o,t),n.defineDescriptor(o,e),o};var e7={String:!0,Boolean:!0,Integer:!0,Real:!0,Element:!0},t7={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 n7(e,t){var n=t7[e];return n?n(t):t}function r7(e){return!!e7[e]}function i7(e){return!!t7[e]}function o7(e,t){var n,r,i=e.split(/:/);if(1===i.length)n=e,r=t;else{if(2!==i.length)throw new Error("expected <prefix:localName> or <localName>, got "+e);n=i[1],r=i[0]}return{name:e=(r?r+":":"")+n,prefix:r,localName:n}}function s7(e){this.ns=e,this.name=e.name,this.allTypes=[],this.allTypesByName={},this.properties=[],this.propertiesByName={}}function a7(e,t){this.packageMap={},this.typeMap={},this.packages=[],this.properties=t,v(e,I(this.registerPackage,this))}function l7(e,t,n){var r=t[n];if(r in e)throw new Error("package with "+n+" <"+r+"> already defined")}function c7(e){this.model=e}function p7(e,t,n){Object.defineProperty(e,t.name,{enumerable:!t.isReference,writable:!0,value:n,configurable:!0})}function u7(e){return e.replace(/^:/,"")}function d7(e,t={}){this.properties=new c7(this),this.factory=new J6(this,this.properties),this.registry=new a7(e,this.properties),this.typeCache={},this.config=t}s7.prototype.build=function(){return $(this,["ns","name","allTypes","allTypesByName","properties","propertiesByName","bodyProperty","idProperty"])},s7.prototype.addProperty=function(e,t,n){"boolean"==typeof t&&(n=t,t=void 0),this.addNamedProperty(e,!1!==n);var r=this.properties;void 0!==t?r.splice(t,0,e):r.push(e)},s7.prototype.replaceProperty=function(e,t,n){var r=e.ns,i=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=i.indexOf(e);if(-1===a)throw new Error("property <"+r.name+"> not found in property list");i.splice(a,1),this.addProperty(t,n?void 0:a,s),o[r.name]=o[r.localName]=t},s7.prototype.redefineProperty=function(e,t,n){var r=e.ns.prefix,i=t.split("#"),o=o7(i[0],r),s=o7(i[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},s7.prototype.addNamedProperty=function(e,t){var n=e.ns,r=this.propertiesByName;t&&(this.assertNotDefined(e,n.name),this.assertNotDefined(e,n.localName)),r[n.name]=r[n.localName]=e},s7.prototype.removeNamedProperty=function(e){var t=e.ns,n=this.propertiesByName;delete n[t.name],delete n[t.localName]},s7.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},s7.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},s7.prototype.assertNotTrait=function(e){if((e.extends||[]).length)throw new Error(`cannot create <${e.name}> extending <${e.extends}>`)},s7.prototype.assertNotDefined=function(e,t){var n=e.name,r=this.propertiesByName[n];if(r)throw new Error("property <"+n+"> already defined; override of <"+r.definedBy.ns.name+"#"+r.ns.name+"> by <"+e.definedBy.ns.name+"#"+e.ns.name+"> not allowed without redefines")},s7.prototype.hasProperty=function(e){return this.propertiesByName[e]},s7.prototype.addTrait=function(e,t){t&&this.assertNotTrait(e);var n=this.allTypesByName,r=this.allTypes,i=e.name;i in n||(v(e.properties,I((function(n){n=L({},n,{name:n.ns.localName,inherited:t}),Object.defineProperty(n,"definedBy",{value:e});var r=n.replaces,i=n.redefines;r||i?this.redefineProperty(n,r||i,r):(n.isBody&&this.setBodyProperty(n),n.isId&&this.setIdProperty(n),this.addProperty(n))}),this)),r.push(e),n[i]=e)},a7.prototype.getPackage=function(e){return this.packageMap[e]},a7.prototype.getPackages=function(){return this.packages},a7.prototype.registerPackage=function(e){e=L({},e);var t=this.packageMap;l7(t,e,"prefix"),l7(t,e,"uri"),v(e.types,I((function(t){this.registerType(t,e)}),this)),t[e.uri]=t[e.prefix]=e,this.packages.push(e)},a7.prototype.registerType=function(e,t){var n=o7((e=L({},e,{superClass:(e.superClass||[]).slice(),extends:(e.extends||[]).slice(),properties:(e.properties||[]).slice(),meta:L(e.meta||{})})).name,t.prefix),r=n.name,i={};v(e.properties,I((function(e){var t=o7(e.name,n.prefix),r=t.name;r7(e.type)||(e.type=o7(e.type,t.prefix).name),L(e,{ns:t,name:r}),i[r]=e}),this)),L(e,{ns:n,name:r,propertiesByName:i}),v(e.extends,I((function(e){var t=o7(e,n.prefix),i=this.typeMap[t.name];i.traits=i.traits||[],i.traits.push(r)}),this)),this.definePackage(e,t),this.typeMap[r]=e},a7.prototype.mapTypes=function(e,t,n){var r=r7(e.name)?{name:e.name}:this.typeMap[e.name],i=this;function o(n,r){var o=o7(n,r7(n)?"":e.prefix);i.mapTypes(o,t,r)}function s(e){return o(e,!0)}if(!r)throw new Error("unknown type <"+e.name+">");v(r.superClass,n?s:function(e){return o(e,!1)}),t(r,!n),v(r.traits,s)},a7.prototype.getEffectiveDescriptor=function(e){var t=o7(e),n=new s7(t);this.mapTypes(t,(function(e,t){n.addTrait(e,t)}));var r=n.build();return this.definePackage(r,r.allTypes[r.allTypes.length-1].$pkg),r},a7.prototype.definePackage=function(e,t){this.properties.define(e,"$pkg",{value:t})},c7.prototype.set=function(e,t,n){if(!h(t)||!t.length)throw new TypeError("property name must be a non-empty string");var r=this.getProperty(e,t),i=r&&r.name;void 0===n?r?delete e[i]:delete e.$attrs[u7(t)]:r?i in e?e[i]=n:p7(e,r,n):e.$attrs[u7(t)]=n},c7.prototype.get=function(e,t){var n=this.getProperty(e,t);if(!n)return e.$attrs[u7(t)];var r=n.name;return!e[r]&&n.isMany&&p7(e,n,[]),e[r]},c7.prototype.define=function(e,t,n){if(!n.writable){var r=n.value;delete(n=L({},n,{get:function(){return r}})).value}Object.defineProperty(e,t,n)},c7.prototype.defineDescriptor=function(e,t){this.define(e,"$descriptor",{value:t})},c7.prototype.defineModel=function(e,t){this.define(e,"$model",{value:t})},c7.prototype.getProperty=function(e,t){var n=this.model,r=n.getPropertyDescriptor(e,t);if(r)return r;if(t.includes(":"))return null;const i=n.config.strict;if(void 0!==i){const n=new TypeError(`unknown property <${t}> on <${e.$type}>`);if(i)throw n;"undefined"!=typeof console&&console.warn(n)}return null},d7.prototype.create=function(e,t){var n=this.getType(e);if(!n)throw new Error("unknown type <"+e+">");return new n(t)},d7.prototype.getType=function(e){var t=this.typeCache,n=h(e)?e:e.ns.name,r=t[n];return r||(e=this.registry.getEffectiveDescriptor(n),r=t[n]=this.factory.createType(e)),r},d7.prototype.createAny=function(e,t,n){var r=o7(e),i={$type:e,$instanceOf:function(e){return e===this.$type},get:function(e){return this[e]},set:function(e,t){z(this,[e],t)}},o={name:e,isGeneric:!0,ns:{prefix:r.prefix,localName:r.localName,uri:t}};return this.properties.defineDescriptor(i,o),this.properties.defineModel(i,this),this.properties.define(i,"get",{enumerable:!1,writable:!0}),this.properties.define(i,"set",{enumerable:!1,writable:!0}),this.properties.define(i,"$parent",{enumerable:!1,writable:!0}),this.properties.define(i,"$instanceOf",{enumerable:!1,writable:!0}),v(n,(function(e,t){p(e)&&void 0!==e.value?i[e.name]=e.value:i[t]=e})),i},d7.prototype.getPackage=function(e){return this.registry.getPackage(e)},d7.prototype.getPackages=function(){return this.registry.getPackages()},d7.prototype.getElementDescriptor=function(e){return e.$descriptor},d7.prototype.hasType=function(e,t){return void 0===t&&(t=e,e=this),t in e.$model.getElementDescriptor(e).allTypesByName},d7.prototype.getPropertyDescriptor=function(e,t){return this.getElementDescriptor(e).propertiesByName[t]},d7.prototype.getTypeDescriptor=function(e){return this.registry.typeMap[e]};var h7=String.fromCharCode,f7=Object.prototype.hasOwnProperty,m7=/&#(\d+);|&#x([0-9a-f]+);|&(\w+);/gi,g7={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'};function y7(e,t,n,r){return r?f7.call(g7,r)?g7[r]:"&"+r+";":h7(t||parseInt(n,16))}function v7(e){return e.length>3&&-1!==e.indexOf("&")?e.replace(m7,y7):e}Object.keys(g7).forEach((function(e){g7[e.toUpperCase()]=g7[e]}));var b7="non-whitespace outside of root node";function w7(e){return new Error(e)}function x7(e){return"missing namespace for prefix <"+e+">"}function _7(e){return{get:e,enumerable:!0}}function k7(e){var t,n={};for(t in e)n[t]=e[t];return n}function E7(e){return e+"$uri"}function O7(){return{line:0,column:0}}function P7(e){throw e}function S7(e){if(!this)return new S7(e);var t,n,r,i,o,s,a,l,c,p=e&&e.proxy,u=P7,d=O7,h=!1,f=!1,m=null,g=!1;function y(e){e instanceof Error||(e=w7(e)),m=e,u(e,d)}function v(e){o&&(e instanceof Error||(e=w7(e)),o(e,d))}this.on=function(e,c){if("function"!=typeof c)throw w7("required args <name, cb>");switch(e){case"openTag":n=c;break;case"text":t=c;break;case"closeTag":r=c;break;case"error":u=c;break;case"warn":o=c;break;case"cdata":i=c;break;case"attention":l=c;break;case"question":a=c;break;case"comment":s=c;break;default:throw w7("unsupported event: "+e)}return this},this.ns=function(e){if(void 0===e&&(e={}),"object"!=typeof e)throw w7("required args <nsMap={}>");var t,n={};for(t in e)n[t]=e[t];return f=!0,c=n,this},this.parse=function(e){if("string"!=typeof e)throw w7("required args <xml=string>");return m=null,function(e){var o,u,m,b,w,x,_,k,E,O,P,S=f?[]:null,C=f?function(e){var t,n,r={};for(t in e)r[n=e[t]]=n,r[E7(n)]=t;return r}(c):null,T=[],M=0,A=!1,D=!1,N=0,R=0,j="",I=0;function L(){if(null!==P)return P;var e,t,n,r,i,o,s,a,l,p,u,d=f&&C.xmlns,m=f&&h?[]:null,g=I,y=j,b=y.length,w={},x={};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 x)v("attribute <"+a+"> already defined");else if(x[a]=!0,f)if(h){if(null!==(i="xmlns"===a?"xmlns":120===a.charCodeAt(0)&&"xmlns:"===a.substr(0,6)?a.substr(6):null)){if(e=v7(o),t=E7(i),!(s=c[e])){if("xmlns"===i||t in C&&C[t]!==e)do{s="ns"+M++}while(void 0!==C[s]);else s=i;c[e]=s}C[i]!==s&&(r||(C=k7(C),r=!0),C[i]=s,"xmlns"===i&&(C[E7(s)]=e,d=s),C[t]=e),w[a]=o;continue}m.push(a,o)}else-1!==(p=a.indexOf(":"))?(n=C[a.substring(0,p)])?w[a=d===n?a.substr(p+1):n+a.substr(p)]=o:v(x7(a.substring(0,p))):w[a]=o;else w[a]=o}if(h)for(g=0,b=m.length;g<b;g++){if(a=m[g++],o=m[g],-1!==(p=a.indexOf(":"))){if(!(n=C[a.substring(0,p)])){v(x7(a.substring(0,p)));continue}a=d===n?a.substr(p+1):n+a.substr(p)}w[a]=o}return P=w}function z(){for(var t,n,r=/(\r\n|\r|\n)/g,i=0,o=0,s=0,a=R;N>=s&&(t=r.exec(e))&&!((a=t[0].length+t.index)>N);)i+=1,s=a;return-1==N?(o=a,n=e.substring(R)):0===R?n=e.substring(R,N):(o=N-s,n=-1==R?e.substring(N):e.substring(N,R+1)),{data:n,line:i,column:o}}d=z,p&&(O=Object.create({},{name:_7((function(){return k})),originalName:_7((function(){return E})),attrs:_7(L),ns:_7((function(){return C}))}));for(;-1!==R;){if(-1===(N=60===e.charCodeAt(R)?R:e.indexOf("<",R)))return T.length?y("unexpected end of file"):0===R?y("missing start tag"):void(R<e.length&&e.substring(R).trim()&&v(b7));if(R!==N)if(T.length){if(t&&(t(e.substring(R,N),v7,d),g))return}else if(e.substring(R,N).trim()&&(v(b7),g))return;if(33===(w=e.charCodeAt(N+1))){if(91===(b=e.charCodeAt(N+2))&&"CDATA["===e.substr(N+3,6)){if(-1===(R=e.indexOf("]]>",N)))return y("unclosed cdata");if(i&&(i(e.substring(N+9,R),d),g))return;R+=3;continue}if(45===b&&45===e.charCodeAt(N+3)){if(-1===(R=e.indexOf("--\x3e",N)))return y("unclosed comment");if(s&&(s(e.substring(N+4,R),v7,d),g))return;R+=3;continue}}if(63!==w){for(u=N+1;;u++){if(x=e.charCodeAt(u),isNaN(x))return R=-1,y("unclosed tag");if(34===x)u=-1!==(b=e.indexOf('"',u+1))?b:u;else if(39===x)u=-1!==(b=e.indexOf("'",u+1))?b:u;else if(62===x){R=u;break}}if(33!==w){if(P={},47===w){if(A=!1,D=!0,!T.length)return y("missing open tag");if(u=k=T.pop(),b=N+2+u.length,e.substring(N+2,b)!==u)return y("closing tag mismatch");for(;b<R;b++)if(!(32===(w=e.charCodeAt(b))||w>8&&w<14))return y("close tag")}else{if(47===e.charCodeAt(R-1)?(u=k=e.substring(N+1,R-1),A=!0,D=!0):(u=k=e.substring(N+1,R),A=!0,D=!1),!(w>96&&w<123||w>64&&w<91||95===w||58===w))return y("illegal first char nodeName");for(b=1,m=u.length;b<m;b++)if(!((w=u.charCodeAt(b))>96&&w<123||w>64&&w<91||w>47&&w<59||45===w||95===w||46==w)){if(32===w||w<14&&w>8){k=u.substring(0,b),P=null;break}return y("invalid nodeName")}D||T.push(k)}if(f){if(o=C,A&&(D||S.push(o),null===P&&(h=-1!==u.indexOf("xmlns",b))&&(I=b,j=u,L(),h=!1)),E=k,-1!==(w=k.indexOf(":"))){if(!(_=C[k.substring(0,w)]))return y("missing namespace on <"+E+">");k=k.substr(w+1)}else _=C.xmlns;_&&(k=_+":"+k)}if(A&&(I=b,j=u,n&&(p?n(O,v7,D,d):n(k,L,v7,D,d),g)))return;if(D){if(r&&(r(p?O:k,v7,A,d),g))return;f&&(C=A?o:S.pop())}R+=1}else{if(l&&(l(e.substring(N,R+1),v7,d),g))return;R+=1}}else{if(-1===(R=e.indexOf("?>",N)))return y("unclosed question");if(a&&(a(e.substring(N,R+2),d),g))return;R+=2}}}(e),d=O7,g=!1,m},this.stop=function(){g=!0}}function C7(e){return e.xml&&"lowerCase"===e.xml.tagAlias}var T7={xsi:"http://www.w3.org/2001/XMLSchema-instance",xml:"http://www.w3.org/XML/1998/namespace"},M7="property";function A7(e){return e.xml&&e.xml.serialize}function D7(e,t){return C7(t)?e.prefix+":"+((n=e.localName).charAt(0).toUpperCase()+n.slice(1)):e.name;var n}function N7(e){return new Error(e)}function R7(e){return e.$descriptor}function j7(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 N7("expected element");var t,n=this.elementsById,r=R7(e).idProperty;if(r&&(t=e.get(r.name))){if(!/^([a-z][\w-.]*:)?[a-z_][\w-.]*$/i.test(t))throw new Error("illegal ID <"+t+">");if(n[t])throw N7("duplicate ID <"+t+">");n[t]=e}},this.addWarning=function(e){this.warnings.push(e)}}function I7(){}function L7(){}function z7(){}function B7(e,t){this.property=e,this.context=t}function $7(e,t){this.element=t,this.propertyDesc=e}function q7(){}function F7(e,t,n){this.model=e,this.type=e.getType(t),this.context=n}function V7(e,t,n){F7.call(this,e,t,n)}function H7(e,t,n){this.model=e,this.context=n}function U7(e){e instanceof d7&&(e={model:e}),L(this,{lax:!1},e)}I7.prototype.handleEnd=function(){},I7.prototype.handleText=function(){},I7.prototype.handleNode=function(){},L7.prototype=Object.create(I7.prototype),L7.prototype.handleNode=function(){return this},z7.prototype=Object.create(I7.prototype),z7.prototype.handleText=function(e){this.body=(this.body||"")+e},B7.prototype=Object.create(z7.prototype),B7.prototype.handleNode=function(e){if(this.element)throw N7("expected no sub nodes");return this.element=this.createReference(e),this},B7.prototype.handleEnd=function(){this.element.id=this.body},B7.prototype.createReference=function(e){return{property:this.property.ns.name,id:""}},$7.prototype=Object.create(z7.prototype),$7.prototype.handleEnd=function(){var e=this.body||"",t=this.element,n=this.propertyDesc;e=n7(n.type,e),n.isMany?t.get(n.name).push(e):t.set(n.name,e)},q7.prototype=Object.create(z7.prototype),q7.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},F7.prototype=Object.create(q7.prototype),F7.prototype.addReference=function(e){this.context.addReference(e)},F7.prototype.handleText=function(e){if(!R7(this.element).bodyProperty)throw N7("unexpected body text <"+e+">");z7.prototype.handleText.call(this,e)},F7.prototype.handleEnd=function(){var e=this.body,t=this.element,n=R7(t).bodyProperty;n&&void 0!==e&&(e=n7(n.type,e),t.set(n.name,e))},F7.prototype.createElement=function(e){var t,n=e.attributes,r=this.type,i=R7(r),o=this.context,s=new r({}),a=this.model;return v(n,(function(e,n){var r=i.propertiesByName[n];r&&r.isReference?r.isMany?v(e.split(" "),(function(e){o.addReference({element:s,property:r.ns.name,id:e})})):o.addReference({element:s,property:r.ns.name,id:e}):(r?e=n7(r.type,e):"xmlns"===n?n=":"+n:(t=o7(n,i.ns.prefix),a.getPackage(t.prefix)&&o.addWarning({message:"unknown attribute <"+n+">",element:s,property:n,value:e})),s.set(n,e))})),s},F7.prototype.getPropertyForNode=function(e){var t=o7(e.name),n=this.type,r=this.model,i=R7(n),o=t.name,s=i.propertiesByName[o];if(s&&!s.isAttr){const t=function(e){const t=A7(e);return t!==M7&&(t||null)}(s);if(t){const n=e.attributes[t];if(n){const t=function(e,t,n){const r=o7(e,t.xmlns),i=o7(`${t[r.prefix]||r.prefix}:${r.localName}`);return function(e,t){var n=e.name,r=e.localName,i=t&&t.xml&&t.xml.typePrefix;return i&&0===r.indexOf(i)?e.prefix+":"+r.slice(i.length):n}(i,n.getPackage(i.prefix))}(n,e.ns,r);return L({},s,{effectiveType:R7(r.getType(t)).name})}}return s}var a=r.getPackage(t.prefix);if(a){const e=D7(t,a),n=r.getType(e);if(s=m(i.properties,(function(e){return!e.isVirtual&&!e.isReference&&!e.isAttribute&&n.hasType(e.type)})),s)return L({},s,{effectiveType:R7(n).name})}else if(s=m(i.properties,(function(e){return!e.isReference&&!e.isAttribute&&"Element"===e.type})),s)return s;throw N7("unrecognized element <"+t.name+">")},F7.prototype.toString=function(){return"ElementDescriptor["+R7(this.type).name+"]"},F7.prototype.valueHandler=function(e,t){return new $7(e,t)},F7.prototype.referenceHandler=function(e){return new B7(e,this.context)},F7.prototype.handler=function(e){return"Element"===e?new H7(this.model,e,this.context):new F7(this.model,e,this.context)},F7.prototype.handleChild=function(e){var t,n,r,i;if(t=this.getPropertyForNode(e),r=this.element,i7(n=t.effectiveType||t.type))return this.valueHandler(t,r);var o=(i=t.isReference?this.referenceHandler(t).handleNode(e):this.handler(n).handleNode(e)).element;return void 0!==o&&(t.isMany?r.get(t.name).push(o):r.set(t.name,o),t.isReference?(L(o,{element:r}),this.context.addReference(o)):o.$parent=r),i},V7.prototype=Object.create(F7.prototype),V7.prototype.createElement=function(e){var t=e.name,n=o7(t),r=this.model,i=this.type,o=r.getPackage(n.prefix),s=o&&D7(n,o)||t;if(!i.hasType(s))throw N7("unexpected element <"+e.originalName+">");return F7.prototype.createElement.call(this,e)},H7.prototype=Object.create(q7.prototype),H7.prototype.createElement=function(e){var t=e.name,n=o7(t).prefix,r=e.ns[n+"$uri"],i=e.attributes;return this.model.createAny(t,r,i)},H7.prototype.handleChild=function(e){var t=new H7(this.model,"Element",this.context).handleNode(e),n=this.element,r=t.element;return void 0!==r&&((n.$children=n.$children||[]).push(r),r.$parent=n),t},H7.prototype.handleEnd=function(){this.body&&(this.element.$body=this.body)},U7.prototype.fromXML=function(e,t,n){var r=t.rootHandler;t instanceof F7?(r=t,t={}):"string"==typeof t?(r=this.handler(t),t={}):"string"==typeof r&&(r=this.handler(r));var i=this.model,o=this.lax,s=new j7(L({},t,{rootHandler:r})),a=new S7({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 r=t(),i=r.line,o=r.column,a=r.data;"<"===a.charAt(0)&&-1!==a.indexOf(" ")&&(a=a.slice(0,a.indexOf(" "))+">");var l="unparsable content "+(a?a+" ":"")+"detected\n\tline: "+i+"\n\tcolumn: "+o+"\n\tnested error: "+e.message;if(n)return s.addWarning({message:l,error:e}),!0;throw N7(l)}function p(e,t){return c(e,t,!0)}r.context=s,l.push(r);var u=/^<\?xml /i,d=/ encoding="([^"]+)"/i,h=/^utf-8$/i;function f(e,t){try{l.peek().handleText(e)}catch(e){p(e,t)}}var m=i.getPackages().reduce((function(e,t){return e[t.uri]=t.prefix,e}),Object.entries(T7).reduce((function(e,[t,n]){return e[n]=t,e}),i.config&&i.config.nsMap||{}));return a.ns(m).on("openTag",(function(e,t,n,r){var i=e.attrs||{},s=Object.keys(i).reduce((function(e,n){var r=t(i[n]);return e[n]=r,e}),{});!function(e,t){var n=l.peek();try{l.push(n.handleNode(e))}catch(e){c(e,t,o)&&l.push(new L7)}}({name:e.name,originalName:e.originalName,attributes:s,ns:e.ns},r)})).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",f).on("text",(function(e,t,n){!function(e,t){e.trim()&&f(e,t)}(t(e),n)})).on("error",c).on("warn",p),new Promise((function(t,n){var i;try{a.parse(e),function(){var e,t,n=s.elementsById,r=s.references;for(e=0;t=r[e];e++){var i=t.element,o=n[t.id],a=R7(i).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=i.get(a.name),c=l.indexOf(t);-1===c&&(c=l.length),o?l[c]=o:l.splice(c,1)}else i.set(a.name,o)}}()}catch(e){i=e}var o=r.element;i||o||(i=N7("failed to parse document as <"+r.type.$descriptor.name+">"));var l=s.warnings,c=s.references,p=s.elementsById;return i?(i.warnings=l,n(i)):t({rootElement:o,elementsById:p,references:c,warnings:l})}))},U7.prototype.handler=function(e){return new V7(this.model,e)};var W7=/<|>|'|"|&|\n\r|\n/g,G7=/<|>|&/g;function Q7(e){this.prefixMap={},this.uriMap={},this.used={},this.wellknown=[],this.custom=[],this.parent=e,this.defaultPrefixMap=e&&e.defaultPrefixMap||{}}function X7(e,t){return C7(t)?function(e){return e.charAt(0).toLowerCase()+e.slice(1)}(e):e}function Z7(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function Y7(e){return h(e)?e:(e.prefix?e.prefix+":":"")+e.localName}Q7.prototype.mapDefaultPrefixes=function(e){this.defaultPrefixMap=e},Q7.prototype.defaultUriByPrefix=function(e){return this.defaultPrefixMap[e]},Q7.prototype.byUri=function(e){return this.uriMap[e]||this.parent&&this.parent.byUri(e)},Q7.prototype.add=function(e,t){this.uriMap[e.uri]=e,t?this.wellknown.push(e):this.custom.push(e),this.mapPrefix(e.prefix,e.uri)},Q7.prototype.uriByPrefix=function(e){return this.prefixMap[e||"xmlns"]||this.parent&&this.parent.uriByPrefix(e)},Q7.prototype.mapPrefix=function(e,t){this.prefixMap[e||"xmlns"]=t},Q7.prototype.getNSKey=function(e){return void 0!==e.prefix?e.uri+"|"+e.prefix:e.uri},Q7.prototype.logUsed=function(e){var t=e.uri,n=this.getNSKey(e);this.used[n]=this.byUri(t),this.parent&&this.parent.logUsed(e)},Q7.prototype.getUsed=function(e){return[].concat(this.wellknown,this.custom).filter((e=>{var t=this.getNSKey(e);return this.used[t]}))};var K7={"\n":"#10","\n\r":"#10",'"':"#34","'":"#39","<":"#60",">":"#62","&":"#38"},J7={"<":"lt",">":"gt","&":"amp"};function e8(e,t,n){return(e=h(e)?e:""+e).replace(t,(function(e){return"&"+n[e]+";"}))}function t8(e){this.tagName=e}function n8(){}function r8(e){this.tagName=e}function i8(e,t){this.body=[],this.attrs=[],this.parent=e,this.propertyDescriptor=t}function o8(e,t,n){i8.call(this,e,t),this.serialization=n}function s8(){this.value="",this.write=function(e){this.value+=e}}function a8(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 l8(e){return e=L({format:!1,preamble:!0},e||{}),{toXML:function(t,n){var r=n||new s8,i=new a8(r,e.format);e.preamble&&i.append('<?xml version="1.0" encoding="UTF-8"?>\n');var o=new i8,s=t.$model;if(o.getNamespaces().mapDefaultPrefixes(function(e){const t=e.config&&e.config.nsMap||{},n={};for(const e in T7)n[e]=T7[e];for(const e in t){n[t[e]]=e}for(const t of e.getPackages())n[t.prefix]=t.uri;return n}(s)),o.build(t).serializeTo(i),!n)return r.value}}}function c8(e,t){d7.call(this,e,t)}t8.prototype.build=function(e){return this.element=e,this},t8.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"+this.element.id+"</"+this.tagName+">").appendNewLine()},n8.prototype.serializeValue=n8.prototype.serializeTo=function(e){e.append(this.escape?e8(this.value,G7,J7):this.value)},n8.prototype.build=function(e,t){return this.value=t,"String"===e.type&&-1!==t.search(G7)&&(this.escape=!0),this},Z7(r8,n8),r8.prototype.serializeTo=function(e){e.appendIndent().append("<"+this.tagName+">"),this.serializeValue(e),e.append("</"+this.tagName+">").appendNewLine()},i8.prototype.build=function(e){this.element=e;var t,n,r=e.$descriptor,i=this.propertyDescriptor,o=r.isGeneric;return t=o?this.parseGenericNsAttributes(e):this.parseNsAttributes(e),this.ns=i?this.nsPropertyTagName(i):this.nsTagName(r),this.tagName=this.addTagName(this.ns),o?this.parseGenericContainments(e):(n=function(e){return y(e.$descriptor.properties,(function(t){var n=t.name;if(t.isVirtual)return!1;if(!f(e,n))return!1;var r=e[n];return r!==t.default&&null!==r&&(!t.isMany||r.length)}))}(e),this.parseAttributes(y(n,(function(e){return e.isAttr}))),this.parseContainments(function(e){return y(e,(function(e){return!e.isAttr}))}(n))),this.parseGenericAttributes(e,t),this},i8.prototype.nsTagName=function(e){return function(e,t){return t.isGeneric?L({localName:t.ns.localName},e):L({localName:X7(t.ns.localName,t.$pkg)},e)}(this.logNamespaceUsed(e.ns),e)},i8.prototype.nsPropertyTagName=function(e){return function(e,t){return L({localName:t.ns.localName},e)}(this.logNamespaceUsed(e.ns),e)},i8.prototype.isLocalNs=function(e){return e.uri===this.ns.uri},i8.prototype.nsAttributeName=function(e){var t;if(t=h(e)?o7(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)},i8.prototype.parseGenericNsAttributes=function(e){return Object.entries(e).filter((([t,n])=>!t.startsWith("$")&&this.parseNsAttribute(e,t,n))).map((([e,t])=>({name:e,value:t})))},i8.prototype.parseGenericContainments=function(e){var t=e.$body;t&&this.body.push((new n8).build({type:"String"},t));var n=e.$children;n&&v(n,(e=>{this.body.push(new i8(this).build(e))}))},i8.prototype.parseNsAttribute=function(e,t,n){var r,i=e.$model,o=o7(t);if("xmlns"===o.prefix&&(r={prefix:o.localName,uri:n}),o.prefix||"xmlns"!==o.localName||(r={uri:n}),!r)return{name:t,value:n};if(i&&i.getPackage(n))this.logNamespace(r,!0,!0);else{var s=this.logNamespaceUsed(r,!0);this.getNamespaces().logUsed(s)}},i8.prototype.parseNsAttributes=function(e){var t=this,n=e.$attrs,r=[];return v(n,(function(n,i){var o=t.parseNsAttribute(e,i,n);o&&r.push(o)})),r},i8.prototype.parseGenericAttributes=function(e,t){var n=this;v(t,(function(t){try{n.addAttribute(n.nsAttributeName(t.name),t.value)}catch(n){"undefined"!=typeof console&&console.warn(`missing namespace information for <${t.name}=${t.value}> on`,e,n)}}))},i8.prototype.parseContainments=function(e){var t=this,n=this.body,r=this.element;v(e,(function(e){var i=r.get(e.name),o=e.isReference;if(e.isMany||(i=[i]),e.isBody)n.push((new n8).build(e,i[0]));else if(i7(e.type))v(i,(function(r){n.push(new r8(t.addTagName(t.nsPropertyTagName(e))).build(e,r))}));else if(o)v(i,(function(r){n.push(new t8(t.addTagName(t.nsPropertyTagName(e))).build(r))}));else{var s=A7(e);v(i,(function(r){var i;i=s?s===M7?new i8(t,e):new o8(t,e,s):new i8(t),n.push(i.build(r))}))}}))},i8.prototype.getNamespaces=function(e){var t,n=this.namespaces,r=this.parent;return n||(t=r&&r.getNamespaces(),e||!t?this.namespaces=n=new Q7(t):n=t),n},i8.prototype.logNamespace=function(e,t,n){var r=this.getNamespaces(n),i=e.uri,o=e.prefix;return r.byUri(i)&&!n||r.add(e,t),r.mapPrefix(o,i),e},i8.prototype.logNamespaceUsed=function(e,t){var n,r,i,o=this.getNamespaces(t),s=e.prefix,a=e.uri;if(!s&&!a)return{localName:e.localName};if(i=o.defaultUriByPrefix(s),!(a=a||i||o.uriByPrefix(s)))throw new Error("no namespace uri given for prefix <"+s+">");if((e=o.byUri(a))||s||(e=this.logNamespace({uri:a},i===a,!0)),!e){for(n=s,r=1;o.uriByPrefix(n);)n=s+"_"+r++;e=this.logNamespace({prefix:n,uri:a},i===a)}return s&&o.mapPrefix(s,a),e},i8.prototype.parseAttributes=function(e){var t=this,n=this.element;v(e,(function(e){var r=n.get(e.name);if(e.isReference)if(e.isMany){var i=[];v(r,(function(e){i.push(e.id)})),r=i.join(" ")}else r=r.id;t.addAttribute(t.nsAttributeName(e),r)}))},i8.prototype.addTagName=function(e){var t=this.logNamespaceUsed(e);return this.getNamespaces().logUsed(t),Y7(e)},i8.prototype.addAttribute=function(e,t){var n=this.attrs;h(t)&&(t=e8(t,W7,K7));var r=g(n,(function(t){return t.name.localName===e.localName&&t.name.uri===e.uri&&t.name.prefix===e.prefix})),i={name:e,value:t};-1!==r?n.splice(r,1,i):n.push(i)},i8.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)),v(t,(function(t){e.append(" ").append(Y7(t.name)).append('="').append(t.value).append('"')}))},i8.prototype.serializeTo=function(e){var t=this.body[0],n=t&&t.constructor!==n8;e.appendIndent().append("<"+this.tagName),this.serializeAttributes(e),e.append(t?">":" />"),t&&(n&&e.appendNewLine().indent(),v(this.body,(function(t){t.serializeTo(e)})),n&&e.unindent().appendIndent(),e.append("</"+this.tagName+">")),e.appendNewLine()},Z7(o8,i8),o8.prototype.parseNsAttributes=function(e){var t=i8.prototype.parseNsAttributes.call(this,e).filter((e=>e.name!==this.serialization)),n=e.$descriptor;if(n.name===this.propertyDescriptor.type)return t;var r=this.typeNs=this.nsTagName(n);this.getNamespaces().logUsed(this.typeNs);var i=e.$model.getPackage(r.uri),o=i.xml&&i.xml.typePrefix||"";return this.addAttribute(this.nsAttributeName(this.serialization),(r.prefix?r.prefix+":":"")+o+n.ns.localName),t},o8.prototype.isLocalNs=function(e){return e.uri===(this.typeNs||this.ns).uri},c8.prototype=Object.create(d7.prototype),c8.prototype.fromXML=function(e,t,n){h(t)||(n=t,t="bpmn:Definitions");var r=new U7(L({model:this,lax:!0},n)),i=r.handler(t);return r.fromXML(e,i)},c8.prototype.toXML=function(e,t){var n=new l8(t);return new Promise((function(t,r){try{return t({xml:n.toXML(e)})}catch(e){return r(e)}}))};class p8{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 u8(e){return!!function(e){return m8(e,"outputParameters")}(e).length}function d8(e,t){return function(e){return m8(e,"inputParameters")}(e).find((function(e){return e.target===t||e.name===t}))}function h8(e,t=void 0){const n=e.get("extensionElements");if(!n)return[];const r=n.get("values");return r&&r.length?t?r.filter((e=>to(e,t))):r:[]}function f8(e){return g8(e,"zeebe:IoMapping")[0]||g8(e,"camunda:InputOutput")[0]}function m8(e,t){var n=f8(e);return n&&n.get(t)||[]}function g8(e,t){var n=[],r=e.get("extensionElements");if(void 0!==r){var i=r.get("values");void 0!==i&&(n=y(i,(function(e){return to(e,t)})))}return n}function y8(e,t,n){var r=v8(e);if(u8(e))return e;var i=r.find((function(e){return to(e,"bpmn:SubProcess")&&d8(e,n)}));return i||t}function v8(e){for(var t=[],n=e;n.$parent;)t.push(n.$parent),n=n.$parent;return t}class b8{constructor(e,t){this.providers=[],this._eventBus=e,this._bpmnjs=t,this.rawVariables=new p8(this._generateRawVariables.bind(this)),this.parsedVariables=new p8((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 r=e[n],i=[];r.forEach((e=>{const t=i.find((t=>t.name===e.name&&t.scope===e.scope));t?(w8("origin",t,e),w8("provider",t,e),x8(t,e)):i.push(e)})),k8(i),t[n]=i}return t}async _extractor(e){const{elements:t,containerElement:n,processVariables:r}=e,i=this,o=t.flatMap((e=>i.providers.map((async t=>{const i=await t.getVariables(e);i&&i.forEach((i=>{r.push({...E8(i),origin:[e],scope:i.scope||y8(e,n,i.name),provider:[t]})}))}))));await Promise.all(o)}registerProvider(e){this.providers.push(e),this.invalidateCache()}async getProcessVariables(e){const t=ro(e);return(await this.getVariables())[t.id]||[]}async getVariablesForElement(e){const t=ro(e),n=function(e){const t=ro(e);if(to(t,"bpmn:Participant"))return t.processRef;if(to(t,"bpmn:Process"))return t;let n=t;for(;n.$parent&&!to(n,"bpmn:Process");)n=n.$parent;return n}(t),r=await this.getProcessVariables(n);var i=r.filter((function(e){return e.scope.id===t.id})),o=v8(t);return[...i,...r.filter((function(e){return o.find((function(t){return t.id===e.scope.id}))}))]}}function w8(e,t,n){n[e]||(n[e]=[]),t[e]||(t[e]=[]);const r=n[e].filter((n=>!t[e].includes(n)));t[e].push(...r)}function x8(e,t,n=[]){n.includes(t)||n.includes(e)||(n.push(t),n.push(e),e.type=_8(e.type,t.type,"|"),e.info=_8(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 r=e.entries.find((e=>e.name===t.name));r?x8(r,t,n):e.entries.push(t)}))))}b8.$inject=["eventBus","bpmnjs"];const _8=(e,t,n)=>{if(e&&e!==t){const r=e.split(n);return r.includes(t)||r.push(t),r.join(n)}return t};function k8(e){e&&e.forEach((e=>{e.detail=e.type,k8(e.entries)}))}function E8(e){const t={...e};return t.entries&&(t.entries=t.entries.map(E8)),t}class O8 extends UM{constructor(e={entries:{}}){super(e),this.value.entries=this.value.entries||{};const t=this.value;for(const e in t.entries){t.entries[e]instanceof O8||(t.entries[e]=this.constructor.of(t.entries[e]))}}getKeys(){return Object.keys(this.value.entries)}get(e){const t=this.value.entries[e];return t&&t.atomic?t.atomicValue:t}set(e,t){return this.constructor.of({...this.value,entries:{...this.value.entries,[e]:t}})}static of(...e){const t=e=>this.isAtomic(e)?e instanceof this?e.value:{atomic:!0,atomicValue:e}:{...e};return new this(e.reduce(((e,n)=>{const{entries:r={},...i}=t(n);return{...e,...i,entries:{...e.entries,...r}}}),{}))}}function P8(e){const t=[];return e.forEach((e=>{e.origin.forEach((n=>{const r=function(e,t){const n=h8(t,"zeebe:IoMapping")[0];if(!n)return;let r;r=t===e.scope?n.inputParameters:n.outputParameters;if(!r)return;const i=r.find((t=>t.target===e.name));if(!i||!i.source)return;const o=i.source.substring(1),s=S8(o),a=C8(s);return{expression:o,unresolved:a}}(e,n);if(!r)return;const{expression:i,unresolved:o}=r;t.push({variable:e,expression:i,unresolved:o})}))})),function(e,t){const n=[];e.forEach((e=>{const{variable:t,unresolved:r}=e,i=n.findIndex((({unresolved:e})=>e.includes(t.name)));if(i>-1)return void n.splice(i,0,e);const o=n.findLastIndex((({variable:e})=>r.includes(e.name)));o>-1?n.splice(o+1,0,e):n.push(e)}));const r=t.filter((t=>!e.find((({variable:e})=>{})))),i={name:"OuterContext",entries:T8(r)},o=[];n.forEach((({variable:e,expression:t})=>{const n=S8(t,function(e,t){const n={entries:{}},r=t.origin.flatMap((e=>[e,...v8(e)]));for(const t in e.entries){const i=e.entries[t];r.find((e=>e.id===i.scope.id))&&(n.entries[t]=i)}return n}(i,e));let r=n.computedValue();r instanceof O8||(r=O8.of(r)),r.scope=e.scope,i.entries[e.name]=r,o.push({newVariable:M8({[e.name]:r})[0],oldVariable:e})}));return o.map((({newVariable:e,oldVariable:t})=>t?{...e,...t}:e))}(t,e)}function S8(e,t={}){const n=XM(t,O8);let r=null;const i=new pO({start:n.start,reduce(...e){const t=n.reduce(...e);return r=t,t}});return eA.configure({contextTracker:i}).parse(e),r}function C8(e){const t=[];return t.push(...e.children.flatMap(C8)),"VariableName"!==e.name||e.value||t.push(e.raw),t}function T8(e){if(!e)return;const t={};return e.forEach((e=>{t[e.name]={...e},t[e.name].entries=T8(e.entries)})),t}function M8(e){if(!e)return;const t=[];for(const n in e){let r=e[n];r instanceof O8&&(r=r.value),r?t.push({...A8(r),entries:M8(r.entries),name:n,scope:r.scope}):t.push({name:n})}return t}function A8(e){return{...e,type:D8(e),info:N8(e)}}function D8(e){return e?e.type?e.type:e.entries&&Object.keys(e.entries).length?"Context":e.atomicValue?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(typeof e.atomicValue):"":""}function N8(e){return e?e.info?e.info:e.atomicValue?""+e.atomicValue:"":""}class R8{constructor(e){this._variableResolver=e,this.register()}getVariables(e){}register(){this._variableResolver.registerProvider(this)}}R8.$inject=["variableResolver"];const j8={__init__:["variableResolver","connectorVariableProvider"],variableResolver:["type",class extends b8{constructor(e,t){super(e,t),this._baseExtractor=UQ,e.on("variableResolver.parseVariables",2e3,this._resolveIoMappings)}async getVariablesForElement(e,t){const n=await super.getVariablesForElement(e),r=ro(e);if(!t)return n;const i=f8(r);if(!i)return n;const o=[];if(to(t,"zeebe:Input")){const e=i.inputParameters,n=e.slice(e.indexOf(t)).map((e=>e.target));o.push(...n)}const s=i.outputParameters;if(to(t,"zeebe:Output")){const e=s.slice(s.indexOf(t)).map((e=>e.target));o.push(...e)}else if(s){const e=s.map((e=>e.target));o.push(...e)}return n.filter((e=>e.origin.length>1||e.origin[0]!==r||(!(!to(t,"zeebe:Output")||!e.provider.find((e=>e!==this._baseExtractor)))||!o.includes(e.name))))}_resolveIoMappings(e,t){const n=t.variables,r={};for(const e in n){const t=n[e],i=P8(t);r[e]=[...t,...i]}t.variables=r}}],connectorVariableProvider:["type",class extends R8{getVariables(e){const t=[],n=h8(e,"zeebe:TaskHeaders")[0];if(!n||!n.values)return;const r=n.values,i=r.find((e=>"resultVariable"===e.key)),o=r.find((e=>"resultExpression"===e.key));if(i&&i.value&&t.push({name:i.value}),o&&o.value){const e=M8(S8(o.value.substring(1)).computedValue());e&&e.length>0&&t.push(...e[0].entries)}return t}}]},I8="camundaModeler:exampleOutputJson";function L8(e){const t=z8(e,I8);if(t)return t.get("value")}function z8(e,t){const n=function(e,t){const n=ro(e);let r=[];const i=n.get("extensionElements");if(void 0!==i){const e=i.get("values");void 0!==e&&(r=e.filter((e=>to(e,t))))}return r}(e,"zeebe:Properties");if(0===n.length)return;return n[0].get("properties").find((e=>e.get("name")===t))}function B8(e={}){if("object"==typeof e&&null!==e)return Object.keys(e).map((t=>{let n=e[t];const r={name:t,info:JSON.stringify(n,null,2)};return Array.isArray(n)?(r.isList=!0,r.type="List",n.length>0&&(r.entries=B8(n[0])),r):(r.type=function(e){if(null===e)return"";const t=typeof e;if("object"===t)return"Context";return function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(t)}(n),r.entries=B8(n),r)}))}var $8={__init__:["exampleProvider"],exampleProvider:["type",class extends R8{getVariables(e){const t=L8(e);if(!t)return;const n=function(e){try{const t=JSON.parse(e);return B8(t)}catch(e){return[]}}(t);return n}}]};const q8=e=>{const{element:t}=e,n=cX("debounceInput"),r=cX("translate"),i=cX("commandStack"),o=cX("moddle"),s=cX("injector");return DG({element:t,label:r("Example output"),description:Zl`
|
|
178
178
|
<a href="https://docs.camunda.io/docs/components/modeler/data-handling/" target="_blank" rel="noopener" title=${r("Example Data documentation")}>
|
|
179
179
|
${r("About example data")}
|
|
180
180
|
</a>`,id:"exampleJson",getValue:()=>L8(t),setValue:e=>{const n=[],{commands:r,zeebeProperties:a}=F8(t,s);n.push(...r);const l=z8(t,I8);l?e?n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:l,properties:{value:e}}}):n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{properties:H8(a.get("properties"))}}}):n.push({cmd:"element.updateModdleProperties",context:{element:t,moddleElement:a,properties:{properties:[...a.get("properties"),V8(e,o)]}}}),i.execute("properties-panel.multi-command-executor",n)},debounce:n,validate:e=>{if(e)try{if(!p(JSON.parse(e)))return r("Example data must be a JSON object literal.")}catch(e){return e.message}},monospace:!0})},F8=(e,t)=>{const n=[],r=ro(e),i=t.get("bpmnFactory");let o=r.get("extensionElements");o||(o=i.create("bpmn:ExtensionElements",{values:[]}),o.$parent=r,n.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:r,properties:{extensionElements:o}}}));let s=o.get("values").find((e=>"zeebe:Properties"===e.$type));return s||(s=i.create("zeebe:Properties",{properties:[]}),s.$parent=o,n.push({cmd:"element.updateModdleProperties",context:{element:e,moddleElement:o,properties:{values:[...o.get("values"),s]}}})),{zeebeProperties:s,commands:n}};function V8(e,t){return t.create("zeebe:Property",{name:I8,value:e})}function H8(e){return e.filter((e=>e.get("name")!==I8))}class U8{constructor(e,t){this._injector=t,e.registerProvider(100,this)}getGroups(e){const t=this._injector.get("translate"),n=this._injector.get("elementTemplates",!1);let r=null;n&&(r=n.get(e));const i=!!r;return e=>{if(i)return e;const n={id:"additionalDataGroup",label:t("Example data"),entries:[{id:"exampleJson",component:q8,isEdited:NG}],component:yW};return e.push(n),e}}}U8.$inject=["propertiesPanel","injector"];var W8={__depends__:[$8,{__init__:["dataPropertiesProvider"],dataPropertiesProvider:["type",U8]}]},G8=1e6,Q8=1e6,X8="[big.js] ",Z8=X8+"Invalid ",Y8=Z8+"decimal places",K8=Z8+"rounding mode",J8=X8+"Division by zero",e9={},t9=void 0,n9=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function r9(e,t,n,r){var i=e.c;if(n===t9&&(n=e.constructor.RM),0!==n&&1!==n&&2!==n&&3!==n)throw Error(K8);if(t<1)r=3===n&&(r||!!i[0])||0===t&&(1===n&&i[0]>=5||2===n&&(i[0]>5||5===i[0]&&(r||i[1]!==t9))),i.length=1,r?(e.e=e.e-t+1,i[0]=1):i[0]=e.e=0;else if(t<i.length){if(r=1===n&&i[t]>=5||2===n&&(i[t]>5||5===i[t]&&(r||i[t+1]!==t9||1&i[t-1]))||3===n&&(r||!!i[0]),i.length=t,r)for(;++i[--t]>9;)if(i[t]=0,0===t){++e.e,i.unshift(1);break}for(t=i.length;!i[--t];)i.pop()}return e}function i9(e,t,n){var r=e.e,i=e.c.join(""),o=i.length;if(t)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)i="0"+i;i="0."+i}else if(r>0)if(++r>o)for(r-=o;r--;)i+="0";else r<o&&(i=i.slice(0,r)+"."+i.slice(r));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&n?"-"+i:i}e9.abs=function(){var e=new this.constructor(this);return e.s=1,e},e9.cmp=function(e){var t,n=this,r=n.c,i=(e=new n.constructor(e)).c,o=n.s,s=e.s,a=n.e,l=e.e;if(!r[0]||!i[0])return r[0]?o:i[0]?-s:0;if(o!=s)return o;if(t=o<0,a!=l)return a>l^t?1:-1;for(s=(a=r.length)<(l=i.length)?a:l,o=-1;++o<s;)if(r[o]!=i[o])return r[o]>i[o]^t?1:-1;return a==l?0:a>l^t?1:-1},e9.div=function(e){var t=this,n=t.constructor,r=t.c,i=(e=new n(e)).c,o=t.s==e.s?1:-1,s=n.DP;if(s!==~~s||s<0||s>G8)throw Error(Y8);if(!i[0])throw Error(J8);if(!r[0])return e.s=o,e.c=[e.e=0],e;var a,l,c,p,u,d=i.slice(),h=a=i.length,f=r.length,m=r.slice(0,a),g=m.length,y=e,v=y.c=[],b=0,w=s+(y.e=t.e-e.e)+1;for(y.s=o,o=w<0?0:w,d.unshift(0);g++<a;)m.push(0);do{for(c=0;c<10;c++){if(a!=(g=m.length))p=a>g?1:-1;else for(u=-1,p=0;++u<a;)if(i[u]!=m[u]){p=i[u]>m[u]?1:-1;break}if(!(p<0))break;for(l=g==a?i:d;g;){if(m[--g]<l[g]){for(u=g;u&&!m[--u];)m[u]=9;--m[u],m[g]+=10}m[g]-=l[g]}for(;!m[0];)m.shift()}v[b++]=p?c:++c,m[0]&&p?m[g]=r[h]||0:m=[r[h]]}while((h++<f||m[0]!==t9)&&o--);return v[0]||1==b||(v.shift(),y.e--,w--),b>w&&r9(y,w,n.RM,m[0]!==t9),y},e9.eq=function(e){return 0===this.cmp(e)},e9.gt=function(e){return this.cmp(e)>0},e9.gte=function(e){return this.cmp(e)>-1},e9.lt=function(e){return this.cmp(e)<0},e9.lte=function(e){return this.cmp(e)<1},e9.minus=e9.sub=function(e){var t,n,r,i,o=this,s=o.constructor,a=o.s,l=(e=new s(e)).s;if(a!=l)return e.s=-l,o.plus(e);var c=o.c.slice(),p=o.e,u=e.c,d=e.e;if(!c[0]||!u[0])return u[0]?e.s=-l:c[0]?e=new s(o):e.s=1,e;if(a=p-d){for((i=a<0)?(a=-a,r=c):(d=p,r=u),r.reverse(),l=a;l--;)r.push(0);r.reverse()}else for(n=((i=c.length<u.length)?c:u).length,a=l=0;l<n;l++)if(c[l]!=u[l]){i=c[l]<u[l];break}if(i&&(r=c,c=u,u=r,e.s=-e.s),(l=(n=u.length)-(t=c.length))>0)for(;l--;)c[t++]=0;for(l=t;n>a;){if(c[--n]<u[n]){for(t=n;t&&!c[--t];)c[t]=9;--c[t],c[n]+=10}c[n]-=u[n]}for(;0===c[--l];)c.pop();for(;0===c[0];)c.shift(),--d;return c[0]||(e.s=1,c=[d=0]),e.c=c,e.e=d,e},e9.mod=function(e){var t,n=this,r=n.constructor,i=n.s,o=(e=new r(e)).s;if(!e.c[0])throw Error(J8);return n.s=e.s=1,t=1==e.cmp(n),n.s=i,e.s=o,t?new r(n):(i=r.DP,o=r.RM,r.DP=r.RM=0,n=n.div(e),r.DP=i,r.RM=o,this.minus(n.times(e)))},e9.neg=function(){var e=new this.constructor(this);return e.s=-e.s,e},e9.plus=e9.add=function(e){var t,n,r,i=this,o=i.constructor;if(e=new o(e),i.s!=e.s)return e.s=-e.s,i.minus(e);var s=i.e,a=i.c,l=e.e,c=e.c;if(!a[0]||!c[0])return c[0]||(a[0]?e=new o(i):e.s=i.s),e;if(a=a.slice(),t=s-l){for(t>0?(l=s,r=c):(t=-t,r=a),r.reverse();t--;)r.push(0);r.reverse()}for(a.length-c.length<0&&(r=c,c=a,a=r),t=c.length,n=0;t;a[t]%=10)n=(a[--t]=a[t]+c[t]+n)/10|0;for(n&&(a.unshift(n),++l),t=a.length;0===a[--t];)a.pop();return e.c=a,e.e=l,e},e9.pow=function(e){var t=this,n=new t.constructor("1"),r=n,i=e<0;if(e!==~~e||e<-1e6||e>Q8)throw Error(Z8+"exponent");for(i&&(e=-e);1&e&&(r=r.times(t)),e>>=1;)t=t.times(t);return i?n.div(r):r},e9.prec=function(e,t){if(e!==~~e||e<1||e>G8)throw Error(Z8+"precision");return r9(new this.constructor(this),e,t)},e9.round=function(e,t){if(e===t9)e=0;else if(e!==~~e||e<-G8||e>G8)throw Error(Y8);return r9(new this.constructor(this),e+this.e+1,t)},e9.sqrt=function(){var e,t,n,r=this,i=r.constructor,o=r.s,s=r.e,a=new i("0.5");if(!r.c[0])return new i(r);if(o<0)throw Error(X8+"No square root");0===(o=Math.sqrt(r+""))||o===1/0?((t=r.c.join("")).length+s&1||(t+="0"),s=((s+1)/2|0)-(s<0||1&s),e=new i(((o=Math.sqrt(t))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+s)):e=new i(o+""),s=e.e+(i.DP+=4);do{n=e,e=a.times(n.plus(r.div(n)))}while(n.c.slice(0,s).join("")!==e.c.slice(0,s).join(""));return r9(e,(i.DP-=4)+e.e+1,i.RM)},e9.times=e9.mul=function(e){var t,n=this,r=n.constructor,i=n.c,o=(e=new r(e)).c,s=i.length,a=o.length,l=n.e,c=e.e;if(e.s=n.s==e.s?1:-1,!i[0]||!o[0])return e.c=[e.e=0],e;for(e.e=l+c,s<a&&(t=i,i=o,o=t,c=s,s=a,a=c),t=new Array(c=s+a);c--;)t[c]=0;for(l=a;l--;){for(a=0,c=s+l;c>l;)a=t[c]+o[l]*i[c-l-1]+a,t[c--]=a%10,a=a/10|0;t[c]=a}for(a?++e.e:t.shift(),l=t.length;!t[--l];)t.pop();return e.c=t,e},e9.toExponential=function(e,t){var n=this,r=n.c[0];if(e!==t9){if(e!==~~e||e<0||e>G8)throw Error(Y8);for(n=r9(new n.constructor(n),++e,t);n.c.length<e;)n.c.push(0)}return i9(n,!0,!!r)},e9.toFixed=function(e,t){var n=this,r=n.c[0];if(e!==t9){if(e!==~~e||e<0||e>G8)throw Error(Y8);for(e=e+(n=r9(new n.constructor(n),e+n.e+1,t)).e+1;n.c.length<e;)n.c.push(0)}return i9(n,!1,!!r)},e9[Symbol.for("nodejs.util.inspect.custom")]=e9.toJSON=e9.toString=function(){var e=this,t=e.constructor;return i9(e,e.e<=t.NE||e.e>=t.PE,!!e.c[0])},e9.toNumber=function(){var e=Number(i9(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(e.toString()))throw Error(X8+"Imprecise conversion");return e},e9.toPrecision=function(e,t){var n=this,r=n.constructor,i=n.c[0];if(e!==t9){if(e!==~~e||e<1||e>G8)throw Error(Z8+"precision");for(n=r9(new r(n),e,t);n.c.length<e;)n.c.push(0)}return i9(n,e<=n.e||n.e<=r.NE||n.e>=r.PE,!!i)},e9.valueOf=function(){var e=this,t=e.constructor;if(!0===t.strict)throw Error(X8+"valueOf disallowed");return i9(e,e.e<=t.NE||e.e>=t.PE,!0)};var o9=function e(){function t(n){var r=this;if(!(r instanceof t))return n===t9?e():new t(n);if(n instanceof t)r.s=n.s,r.e=n.e,r.c=n.c.slice();else{if("string"!=typeof n){if(!0===t.strict&&"bigint"!=typeof n)throw TypeError(Z8+"value");n=0===n&&1/n<0?"-0":String(n)}!function(e,t){var n,r,i;if(!n9.test(t))throw Error(Z8+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".",""));(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length);for(i=t.length,r=0;r<i&&"0"==t.charAt(r);)++r;if(r==i)e.c=[e.e=0];else{for(;i>0&&"0"==t.charAt(--i););for(e.e=n-r-1,e.c=[],n=0;r<=i;)e.c[n++]=+t.charAt(r++)}}(r,n)}r.constructor=t}return t.prototype=e9,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.strict=false,t.roundDown=0,t.roundHalfUp=1,t.roundHalfEven=2,t.roundUp=3,t}(),s9=0;function a9(e,t,n,r,i){var o,s,a={};for(s in t)"ref"==s?o=t[s]:a[s]=t[s];var l={type:e,props:a,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--s9,__source:i,__self:r};if("function"==typeof e&&(o=e.defaultProps))for(s in o)void 0===a[s]&&(a[s]=o[s]);return pl.vnode&&pl.vnode(l),l}var l9=function(){this.__data__=[],this.size=0};var c9=function(e,t){return e===t||e!=e&&t!=t},p9=c9;var u9=function(e,t){for(var n=e.length;n--;)if(p9(e[n][0],t))return n;return-1},d9=u9,h9=Array.prototype.splice;var f9=function(e){var t=this.__data__,n=d9(t,e);return!(n<0)&&(n==t.length-1?t.pop():h9.call(t,n,1),--this.size,!0)},m9=u9;var g9=function(e){var t=this.__data__,n=m9(t,e);return n<0?void 0:t[n][1]},y9=u9;var v9=u9;var b9=function(e,t){var n=this.__data__,r=v9(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},w9=l9,x9=f9,_9=g9,k9=function(e){return y9(this.__data__,e)>-1},E9=b9;function O9(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}O9.prototype.clear=w9,O9.prototype.delete=x9,O9.prototype.get=_9,O9.prototype.has=k9,O9.prototype.set=E9;var P9=O9,S9=P9;var C9=function(){this.__data__=new S9,this.size=0};var T9=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};var M9=function(e){return this.__data__.get(e)};var A9=function(e){return this.__data__.has(e)},D9="object"==typeof _x&&_x&&_x.Object===Object&&_x,N9=D9,R9="object"==typeof self&&self&&self.Object===Object&&self,j9=N9||R9||Function("return this")(),I9=j9.Symbol,L9=I9,z9=Object.prototype,B9=z9.hasOwnProperty,$9=z9.toString,q9=L9?L9.toStringTag:void 0;var F9=function(e){var t=B9.call(e,q9),n=e[q9];try{e[q9]=void 0;var r=!0}catch(e){}var i=$9.call(e);return r&&(t?e[q9]=n:delete e[q9]),i},V9=Object.prototype.toString;var H9=F9,U9=function(e){return V9.call(e)},W9=I9?I9.toStringTag:void 0;var G9=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":W9&&W9 in Object(e)?H9(e):U9(e)};var Q9=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},X9=G9,Z9=Q9;var Y9,K9=function(e){if(!Z9(e))return!1;var t=X9(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},J9=j9["__core-js_shared__"],eee=(Y9=/[^.]+$/.exec(J9&&J9.keys&&J9.keys.IE_PROTO||""))?"Symbol(src)_1."+Y9:"";var tee=function(e){return!!eee&&eee in e},nee=Function.prototype.toString;var ree=function(e){if(null!=e){try{return nee.call(e)}catch(e){}try{return e+""}catch(e){}}return""},iee=K9,oee=tee,see=Q9,aee=ree,lee=/^\[object .+?Constructor\]$/,cee=Function.prototype,pee=Object.prototype,uee=cee.toString,dee=pee.hasOwnProperty,hee=RegExp("^"+uee.call(dee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var fee=function(e){return!(!see(e)||oee(e))&&(iee(e)?hee:lee).test(aee(e))},mee=function(e,t){return null==e?void 0:e[t]};var gee=function(e,t){var n=mee(e,t);return fee(n)?n:void 0},yee=gee(j9,"Map"),vee=gee(Object,"create"),bee=vee;var wee=function(){this.__data__=bee?bee(null):{},this.size=0};var xee=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},_ee=vee,kee=Object.prototype.hasOwnProperty;var Eee=function(e){var t=this.__data__;if(_ee){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return kee.call(t,e)?t[e]:void 0},Oee=vee,Pee=Object.prototype.hasOwnProperty;var See=vee;var Cee=wee,Tee=xee,Mee=Eee,Aee=function(e){var t=this.__data__;return Oee?void 0!==t[e]:Pee.call(t,e)},Dee=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=See&&void 0===t?"__lodash_hash_undefined__":t,this};function Nee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Nee.prototype.clear=Cee,Nee.prototype.delete=Tee,Nee.prototype.get=Mee,Nee.prototype.has=Aee,Nee.prototype.set=Dee;var Ree=Nee,jee=P9,Iee=yee;var Lee=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},zee=Lee;var Bee=function(e,t){var n=e.__data__;return zee(t)?n["string"==typeof t?"string":"hash"]:n.map},$ee=Bee;var qee=Bee;var Fee=Bee;var Vee=Bee;var Hee=function(e,t){var n=Vee(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Uee=function(){this.size=0,this.__data__={hash:new Ree,map:new(Iee||jee),string:new Ree}},Wee=function(e){var t=$ee(this,e).delete(e);return this.size-=t?1:0,t},Gee=function(e){return qee(this,e).get(e)},Qee=function(e){return Fee(this,e).has(e)},Xee=Hee;function Zee(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zee.prototype.clear=Uee,Zee.prototype.delete=Wee,Zee.prototype.get=Gee,Zee.prototype.has=Qee,Zee.prototype.set=Xee;var Yee=Zee,Kee=P9,Jee=yee,ete=Yee;var tte=P9,nte=C9,rte=T9,ite=M9,ote=A9,ste=function(e,t){var n=this.__data__;if(n instanceof Kee){var r=n.__data__;if(!Jee||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ete(r)}return n.set(e,t),this.size=n.size,this};function ate(e){var t=this.__data__=new tte(e);this.size=t.size}ate.prototype.clear=nte,ate.prototype.delete=rte,ate.prototype.get=ite,ate.prototype.has=ote,ate.prototype.set=ste;var lte=ate;var cte=Yee,pte=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ute=function(e){return this.__data__.has(e)};function dte(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new cte;++t<n;)this.add(e[t])}dte.prototype.add=dte.prototype.push=pte,dte.prototype.has=ute;var hte=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var fte=dte,mte=hte,gte=function(e,t){return e.has(t)};var yte=function(e,t,n,r,i,o){var s=1&n,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var c=o.get(e),p=o.get(t);if(c&&p)return c==t&&p==e;var u=-1,d=!0,h=2&n?new fte:void 0;for(o.set(e,t),o.set(t,e);++u<a;){var f=e[u],m=t[u];if(r)var g=s?r(m,f,u,t,e,o):r(f,m,u,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(h){if(!mte(t,(function(e,t){if(!gte(h,t)&&(f===e||i(f,e,n,r,o)))return h.push(t)}))){d=!1;break}}else if(f!==m&&!i(f,m,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d};var vte=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};var bte=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},wte=j9.Uint8Array,xte=c9,_te=yte,kte=vte,Ete=bte,Ote=I9?I9.prototype:void 0,Pte=Ote?Ote.valueOf:void 0;var Ste=function(e,t,n,r,i,o,s){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new wte(e),new wte(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return xte(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=kte;case"[object Set]":var l=1&r;if(a||(a=Ete),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;r|=2,s.set(e,t);var p=_te(a(e),a(t),r,i,o,s);return s.delete(e),p;case"[object Symbol]":if(Pte)return Pte.call(e)==Pte.call(t)}return!1};var Cte=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Tte=Array.isArray,Mte=Cte,Ate=Tte;var Dte=function(e,t,n){var r=t(e);return Ate(e)?r:Mte(r,n(e))};var Nte=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o};var Rte=Nte,jte=function(){return[]},Ite=Object.prototype.propertyIsEnumerable,Lte=Object.getOwnPropertySymbols,zte=Lte?function(e){return null==e?[]:(e=Object(e),Rte(Lte(e),(function(t){return Ite.call(e,t)})))}:jte;var Bte=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};var $te=function(e){return null!=e&&"object"==typeof e},qte=G9,Fte=$te;var Vte=function(e){return Fte(e)&&"[object Arguments]"==qte(e)},Hte=$te,Ute=Object.prototype,Wte=Ute.hasOwnProperty,Gte=Ute.propertyIsEnumerable,Qte=Vte(function(){return arguments}())?Vte:function(e){return Hte(e)&&Wte.call(e,"callee")&&!Gte.call(e,"callee")},Xte=Qte,Zte={exports:{}};var Yte=function(){return!1};!function(e,t){var n=j9,r=Yte,i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,s=o&&o.exports===i?n.Buffer:void 0,a=(s?s.isBuffer:void 0)||r;e.exports=a}(Zte,Zte.exports);var Kte=Zte.exports,Jte=/^(?:0|[1-9]\d*)$/;var ene=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Jte.test(e))&&e>-1&&e%1==0&&e<t};var tne=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},nne=G9,rne=tne,ine=$te,one={};one["[object Float32Array]"]=one["[object Float64Array]"]=one["[object Int8Array]"]=one["[object Int16Array]"]=one["[object Int32Array]"]=one["[object Uint8Array]"]=one["[object Uint8ClampedArray]"]=one["[object Uint16Array]"]=one["[object Uint32Array]"]=!0,one["[object Arguments]"]=one["[object Array]"]=one["[object ArrayBuffer]"]=one["[object Boolean]"]=one["[object DataView]"]=one["[object Date]"]=one["[object Error]"]=one["[object Function]"]=one["[object Map]"]=one["[object Number]"]=one["[object Object]"]=one["[object RegExp]"]=one["[object Set]"]=one["[object String]"]=one["[object WeakMap]"]=!1;var sne=function(e){return ine(e)&&rne(e.length)&&!!one[nne(e)]};var ane=function(e){return function(t){return e(t)}},lne={exports:{}};!function(e,t){var n=D9,r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,o=i&&i.exports===r&&n.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s}(lne,lne.exports);var cne=lne.exports,pne=sne,une=ane,dne=cne&&cne.isTypedArray,hne=dne?une(dne):pne,fne=Bte,mne=Xte,gne=Tte,yne=Kte,vne=ene,bne=hne,wne=Object.prototype.hasOwnProperty;var xne=function(e,t){var n=gne(e),r=!n&&mne(e),i=!n&&!r&&yne(e),o=!n&&!r&&!i&&bne(e),s=n||r||i||o,a=s?fne(e.length,String):[],l=a.length;for(var c in e)!t&&!wne.call(e,c)||s&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||vne(c,l))||a.push(c);return a},_ne=Object.prototype;var kne=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||_ne)};var Ene=function(e,t){return function(n){return e(t(n))}},One=Ene(Object.keys,Object),Pne=kne,Sne=One,Cne=Object.prototype.hasOwnProperty;var Tne=K9,Mne=tne;var Ane=xne,Dne=function(e){if(!Pne(e))return Sne(e);var t=[];for(var n in Object(e))Cne.call(e,n)&&"constructor"!=n&&t.push(n);return t},Nne=function(e){return null!=e&&Mne(e.length)&&!Tne(e)};var Rne=Dte,jne=zte,Ine=function(e){return Nne(e)?Ane(e):Dne(e)};var Lne=function(e){return Rne(e,Ine,jne)},zne=Object.prototype.hasOwnProperty;var Bne=function(e,t,n,r,i,o){var s=1&n,a=Lne(e),l=a.length;if(l!=Lne(t).length&&!s)return!1;for(var c=l;c--;){var p=a[c];if(!(s?p in t:zne.call(t,p)))return!1}var u=o.get(e),d=o.get(t);if(u&&d)return u==t&&d==e;var h=!0;o.set(e,t),o.set(t,e);for(var f=s;++c<l;){var m=e[p=a[c]],g=t[p];if(r)var y=s?r(g,m,p,t,e,o):r(m,g,p,e,t,o);if(!(void 0===y?m===g||i(m,g,n,r,o):y)){h=!1;break}f||(f="constructor"==p)}if(h&&!f){var v=e.constructor,b=t.constructor;v==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(e),o.delete(t),h},$ne=gee(j9,"DataView"),qne=yee,Fne=gee(j9,"Promise"),Vne=gee(j9,"Set"),Hne=gee(j9,"WeakMap"),Une=G9,Wne=ree,Gne="[object Map]",Qne="[object Promise]",Xne="[object Set]",Zne="[object WeakMap]",Yne="[object DataView]",Kne=Wne($ne),Jne=Wne(qne),ere=Wne(Fne),tre=Wne(Vne),nre=Wne(Hne),rre=Une;($ne&&rre(new $ne(new ArrayBuffer(1)))!=Yne||qne&&rre(new qne)!=Gne||Fne&&rre(Fne.resolve())!=Qne||Vne&&rre(new Vne)!=Xne||Hne&&rre(new Hne)!=Zne)&&(rre=function(e){var t=Une(e),n="[object Object]"==t?e.constructor:void 0,r=n?Wne(n):"";if(r)switch(r){case Kne:return Yne;case Jne:return Gne;case ere:return Qne;case tre:return Xne;case nre:return Zne}return t});var ire=lte,ore=yte,sre=Ste,are=Bne,lre=rre,cre=Tte,pre=Kte,ure=hne,dre="[object Arguments]",hre="[object Array]",fre="[object Object]",mre=Object.prototype.hasOwnProperty;var gre=function(e,t,n,r,i,o){var s=cre(e),a=cre(t),l=s?hre:lre(e),c=a?hre:lre(t),p=(l=l==dre?fre:l)==fre,u=(c=c==dre?fre:c)==fre,d=l==c;if(d&&pre(e)){if(!pre(t))return!1;s=!0,p=!1}if(d&&!p)return o||(o=new ire),s||ure(e)?ore(e,t,n,r,i,o):sre(e,t,l,n,r,i,o);if(!(1&n)){var h=p&&mre.call(e,"__wrapped__"),f=u&&mre.call(t,"__wrapped__");if(h||f){var m=h?e.value():e,g=f?t.value():t;return o||(o=new ire),i(m,g,n,r,o)}}return!!d&&(o||(o=new ire),are(e,t,n,r,i,o))},yre=$te;var vre=function e(t,n,r,i,o){return t===n||(null==t||null==n||!yre(t)&&!yre(n)?t!=t&&n!=n:gre(t,n,r,i,e,o))},bre=vre;var wre=kx((function(e,t){return bre(e,t)})),xre=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],_re={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},kre={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},Ere=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},Ore=function(e){return!0===e?1:0};function Pre(e,t){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(r,i)}),t)}}var Sre=function(e){return e instanceof Array?e:[e]};function Cre(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function Tre(e,t,n){var r=window.document.createElement(e);return t=t||"",n=n||"",r.className=t,void 0!==n&&(r.textContent=n),r}function Mre(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Are(e,t){return t(e)?e:e.parentNode?Are(e.parentNode,t):void 0}function Dre(e,t){var n=Tre("div","numInputWrapper"),r=Tre("input","numInput "+e),i=Tre("span","arrowUp"),o=Tre("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?r.type="number":(r.type="text",r.pattern="\\d*"),void 0!==t)for(var s in t)r.setAttribute(s,t[s]);return n.appendChild(r),n.appendChild(i),n.appendChild(o),n}function Nre(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var Rre=function(){},jre=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},Ire={D:Rre,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*Ore(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var r=parseInt(t),i=new Date(e.getFullYear(),0,2+7*(r-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+n.firstDayOfWeek),i},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:Rre,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:Rre,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},Lre={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},zre={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[zre.w(e,t,n)]},F:function(e,t,n){return jre(zre.n(e,t,n)-1,!1,t)},G:function(e,t,n){return Ere(zre.h(e,t,n))},H:function(e){return Ere(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[Ore(e.getHours()>11)]},M:function(e,t){return jre(e.getMonth(),!0,t)},S:function(e){return Ere(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return Ere(e.getFullYear(),4)},d:function(e){return Ere(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return Ere(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return Ere(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},Bre=function(e){var t=e.config,n=void 0===t?_re:t,r=e.l10n,i=void 0===r?kre:r,o=e.isMobile,s=void 0!==o&&o;return function(e,t,r){var o=r||i;return void 0===n.formatDate||s?t.split("").map((function(t,r,i){return zre[t]&&"\\"!==i[r-1]?zre[t](e,o,n):"\\"!==t?t:""})).join(""):n.formatDate(e,t,o)}},$re=function(e){var t=e.config,n=void 0===t?_re:t,r=e.l10n,i=void 0===r?kre:r;return function(e,t,r,o){if(0===e||e){var s,a=o||i,l=e;if(e instanceof Date)s=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)s=new Date(e);else if("string"==typeof e){var c=t||(n||_re).dateFormat,p=String(e).trim();if("today"===p)s=new Date,r=!0;else if(n&&n.parseDate)s=n.parseDate(e,c);else if(/Z$/.test(p)||/GMT$/.test(p))s=new Date(e);else{for(var u=void 0,d=[],h=0,f=0,m="";h<c.length;h++){var g=c[h],y="\\"===g,v="\\"===c[h-1]||y;if(Lre[g]&&!v){m+=Lre[g];var b=new RegExp(m).exec(e);b&&(u=!0)&&d["Y"!==g?"push":"unshift"]({fn:Ire[g],val:b[++f]})}else y||(m+=".")}s=n&&n.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),d.forEach((function(e){var t=e.fn,n=e.val;return s=t(s,n,a)||s})),s=u?s:void 0}}if(s instanceof Date&&!isNaN(s.getTime()))return!0===r&&s.setHours(0,0,0,0),s;n.errorHandler(new Error("Invalid date provided: "+l))}}};function qre(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var Fre=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},Vre=function(e,t,n){return 3600*e+60*t+n},Hre=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]},Ure={DAY:864e5};function Wre(e){var t=e.defaultHour,n=e.defaultMinute,r=e.defaultSeconds;if(void 0!==e.minDate){var i=e.minDate.getHours(),o=e.minDate.getMinutes(),s=e.minDate.getSeconds();t<i&&(t=i),t===i&&n<o&&(n=o),t===i&&n===o&&r<s&&(r=e.minDate.getSeconds())}if(void 0!==e.maxDate){var a=e.maxDate.getHours(),l=e.maxDate.getMinutes();(t=Math.min(t,a))===a&&(n=Math.min(l,n)),t===a&&n===l&&(r=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:r}}"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var r=function(t){t&&Object.keys(t).forEach((function(n){return e[n]=t[n]}))},i=0,o=t;i<o.length;i++){r(o[i])}return e});var Gre=function(){return Gre=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Gre.apply(this,arguments)},Qre=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r},Xre=300;function Zre(e,t){var n={config:Gre(Gre({},_re),Kre.defaultConfig),l10n:kre};function r(){var e;return(null===(e=n.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function i(e){return e.bind(n)}function o(){var e=n.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==n.calendarContainer&&(n.calendarContainer.style.visibility="hidden",n.calendarContainer.style.display="block"),void 0!==n.daysContainer){var t=(n.days.offsetWidth+1)*e.showMonths;n.daysContainer.style.width=t+"px",n.calendarContainer.style.width=t+(void 0!==n.weekWrapper?n.weekWrapper.offsetWidth:0)+"px",n.calendarContainer.style.removeProperty("visibility"),n.calendarContainer.style.removeProperty("display")}}))}function s(e){if(0===n.selectedDates.length){var t=void 0===n.config.minDate||qre(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),r=Wre(n.config);t.setHours(r.hours,r.minutes,r.seconds,t.getMilliseconds()),n.selectedDates=[t],n.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,r=Nre(e),i=r;void 0!==n.amPM&&r===n.amPM&&(n.amPM.textContent=n.l10n.amPM[Ore(n.amPM.textContent===n.l10n.amPM[0])]);var o=parseFloat(i.getAttribute("min")),s=parseFloat(i.getAttribute("max")),a=parseFloat(i.getAttribute("step")),l=parseInt(i.value,10),c=e.delta||(t?38===e.which?1:-1:0),p=l+a*c;if(void 0!==i.value&&2===i.value.length){var u=i===n.hourElement,d=i===n.minuteElement;p<o?(p=s+p+Ore(!u)+(Ore(u)&&Ore(!n.amPM)),d&&m(void 0,-1,n.hourElement)):p>s&&(p=i===n.hourElement?p-s-Ore(!n.amPM):o,d&&m(void 0,1,n.hourElement)),n.amPM&&u&&(1===a?p+l===23:Math.abs(p-l)>a)&&(n.amPM.textContent=n.l10n.amPM[Ore(n.amPM.textContent===n.l10n.amPM[0])]),i.value=Ere(p)}}(e);var i=n._input.value;a(),J(),n._input.value!==i&&n._debouncedChange()}function a(){if(void 0!==n.hourElement&&void 0!==n.minuteElement){var e,t,r=(parseInt(n.hourElement.value.slice(-2),10)||0)%24,i=(parseInt(n.minuteElement.value,10)||0)%60,o=void 0!==n.secondElement?(parseInt(n.secondElement.value,10)||0)%60:0;void 0!==n.amPM&&(e=r,t=n.amPM.textContent,r=e%12+12*Ore(t===n.l10n.amPM[1]));var s=void 0!==n.config.minTime||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===qre(n.latestSelectedDateObj,n.config.minDate,!0),a=void 0!==n.config.maxTime||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===qre(n.latestSelectedDateObj,n.config.maxDate,!0);if(void 0!==n.config.maxTime&&void 0!==n.config.minTime&&n.config.minTime>n.config.maxTime){var l=Vre(n.config.minTime.getHours(),n.config.minTime.getMinutes(),n.config.minTime.getSeconds()),p=Vre(n.config.maxTime.getHours(),n.config.maxTime.getMinutes(),n.config.maxTime.getSeconds()),u=Vre(r,i,o);if(u>p&&u<l){var d=Hre(l);r=d[0],i=d[1],o=d[2]}}else{if(a){var h=void 0!==n.config.maxTime?n.config.maxTime:n.config.maxDate;(r=Math.min(r,h.getHours()))===h.getHours()&&(i=Math.min(i,h.getMinutes())),i===h.getMinutes()&&(o=Math.min(o,h.getSeconds()))}if(s){var f=void 0!==n.config.minTime?n.config.minTime:n.config.minDate;(r=Math.max(r,f.getHours()))===f.getHours()&&i<f.getMinutes()&&(i=f.getMinutes()),i===f.getMinutes()&&(o=Math.max(o,f.getSeconds()))}}c(r,i,o)}}function l(e){var t=e||n.latestSelectedDateObj;t&&t instanceof Date&&c(t.getHours(),t.getMinutes(),t.getSeconds())}function c(e,t,r){void 0!==n.latestSelectedDateObj&&n.latestSelectedDateObj.setHours(e%24,t,r||0,0),n.hourElement&&n.minuteElement&&!n.isMobile&&(n.hourElement.value=Ere(n.config.time_24hr?e:(12+e)%12+12*Ore(e%12==0)),n.minuteElement.value=Ere(t),void 0!==n.amPM&&(n.amPM.textContent=n.l10n.amPM[Ore(e>=12)]),void 0!==n.secondElement&&(n.secondElement.value=Ere(r)))}function p(e){var t=Nre(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&M(n)}function u(e,t,r,i){return t instanceof Array?t.forEach((function(t){return u(e,t,r,i)})):e instanceof Array?e.forEach((function(e){return u(e,t,r,i)})):(e.addEventListener(t,r,i),void n._handlers.push({remove:function(){return e.removeEventListener(t,r,i)}}))}function d(){Q("onChange")}function h(e,t){var r=void 0!==e?n.parseDate(e):n.latestSelectedDateObj||(n.config.minDate&&n.config.minDate>n.now?n.config.minDate:n.config.maxDate&&n.config.maxDate<n.now?n.config.maxDate:n.now),i=n.currentYear,o=n.currentMonth;try{void 0!==r&&(n.currentYear=r.getFullYear(),n.currentMonth=r.getMonth())}catch(e){e.message="Invalid date supplied: "+r,n.config.errorHandler(e)}t&&n.currentYear!==i&&(Q("onYearChange"),_()),!t||n.currentYear===i&&n.currentMonth===o||Q("onMonthChange"),n.redraw()}function f(e){var t=Nre(e);~t.className.indexOf("arrow")&&m(e,t.classList.contains("arrowUp")?1:-1)}function m(e,t,n){var r=e&&Nre(e),i=n||r&&r.parentNode&&r.parentNode.firstChild,o=X("increment");o.delta=t,i&&i.dispatchEvent(o)}function g(e,t,r,i){var o=A(t,!0),s=Tre("span",e,t.getDate().toString());return s.dateObj=t,s.$i=i,s.setAttribute("aria-label",n.formatDate(t,n.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===qre(t,n.now)&&(n.todayDateElem=s,s.classList.add("today"),s.setAttribute("aria-current","date")),o?(s.tabIndex=-1,Z(t)&&(s.classList.add("selected"),n.selectedDateElem=s,"range"===n.config.mode&&(Cre(s,"startRange",n.selectedDates[0]&&0===qre(t,n.selectedDates[0],!0)),Cre(s,"endRange",n.selectedDates[1]&&0===qre(t,n.selectedDates[1],!0)),"nextMonthDay"===e&&s.classList.add("inRange")))):s.classList.add("flatpickr-disabled"),"range"===n.config.mode&&function(e){return!("range"!==n.config.mode||n.selectedDates.length<2)&&(qre(e,n.selectedDates[0])>=0&&qre(e,n.selectedDates[1])<=0)}(t)&&!Z(t)&&s.classList.add("inRange"),n.weekNumbers&&1===n.config.showMonths&&"prevMonthDay"!==e&&i%7==6&&n.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+n.config.getWeek(t)+"</span>"),Q("onDayCreate",s),s}function y(e){e.focus(),"range"===n.config.mode&&j(e)}function v(e){for(var t=e>0?0:n.config.showMonths-1,r=e>0?n.config.showMonths:-1,i=t;i!=r;i+=e)for(var o=n.daysContainer.children[i],s=e>0?0:o.children.length-1,a=e>0?o.children.length:-1,l=s;l!=a;l+=e){var c=o.children[l];if(-1===c.className.indexOf("hidden")&&A(c.dateObj))return c}}function b(e,t){var i=r(),o=D(i||document.body),s=void 0!==e?e:o?i:void 0!==n.selectedDateElem&&D(n.selectedDateElem)?n.selectedDateElem:void 0!==n.todayDateElem&&D(n.todayDateElem)?n.todayDateElem:v(t>0?1:-1);void 0===s?n._input.focus():o?function(e,t){for(var r=-1===e.className.indexOf("Month")?e.dateObj.getMonth():n.currentMonth,i=t>0?n.config.showMonths:-1,o=t>0?1:-1,s=r-n.currentMonth;s!=i;s+=o)for(var a=n.daysContainer.children[s],l=r-n.currentMonth===s?e.$i+t:t<0?a.children.length-1:0,c=a.children.length,p=l;p>=0&&p<c&&p!=(t>0?c:-1);p+=o){var u=a.children[p];if(-1===u.className.indexOf("hidden")&&A(u.dateObj)&&Math.abs(e.$i-p)>=Math.abs(t))return y(u)}n.changeMonth(o),b(v(o),0)}(s,t):y(s)}function w(e,t){for(var r=(new Date(e,t,1).getDay()-n.l10n.firstDayOfWeek+7)%7,i=n.utils.getDaysInMonth((t-1+12)%12,e),o=n.utils.getDaysInMonth(t,e),s=window.document.createDocumentFragment(),a=n.config.showMonths>1,l=a?"prevMonthDay hidden":"prevMonthDay",c=a?"nextMonthDay hidden":"nextMonthDay",p=i+1-r,u=0;p<=i;p++,u++)s.appendChild(g("flatpickr-day "+l,new Date(e,t-1,p),0,u));for(p=1;p<=o;p++,u++)s.appendChild(g("flatpickr-day",new Date(e,t,p),0,u));for(var d=o+1;d<=42-r&&(1===n.config.showMonths||u%7!=0);d++,u++)s.appendChild(g("flatpickr-day "+c,new Date(e,t+1,d%o),0,u));var h=Tre("div","dayContainer");return h.appendChild(s),h}function x(){if(void 0!==n.daysContainer){Mre(n.daysContainer),n.weekNumbers&&Mre(n.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<n.config.showMonths;t++){var r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),e.appendChild(w(r.getFullYear(),r.getMonth()))}n.daysContainer.appendChild(e),n.days=n.daysContainer.firstChild,"range"===n.config.mode&&1===n.selectedDates.length&&j()}}function _(){if(!(n.config.showMonths>1||"dropdown"!==n.config.monthSelectorType)){var e=function(e){return!(void 0!==n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&e<n.config.minDate.getMonth())&&!(void 0!==n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()&&e>n.config.maxDate.getMonth())};n.monthsDropdownContainer.tabIndex=-1,n.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var r=Tre("option","flatpickr-monthDropdown-month");r.value=new Date(n.currentYear,t).getMonth().toString(),r.textContent=jre(t,n.config.shorthandCurrentMonth,n.l10n),r.tabIndex=-1,n.currentMonth===t&&(r.selected=!0),n.monthsDropdownContainer.appendChild(r)}}}function k(){var e,t=Tre("div","flatpickr-month"),r=window.document.createDocumentFragment();n.config.showMonths>1||"static"===n.config.monthSelectorType?e=Tre("span","cur-month"):(n.monthsDropdownContainer=Tre("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),u(n.monthsDropdownContainer,"change",(function(e){var t=Nre(e),r=parseInt(t.value,10);n.changeMonth(r-n.currentMonth),Q("onMonthChange")})),_(),e=n.monthsDropdownContainer);var i=Dre("cur-year",{tabindex:"-1"}),o=i.getElementsByTagName("input")[0];o.setAttribute("aria-label",n.l10n.yearAriaLabel),n.config.minDate&&o.setAttribute("min",n.config.minDate.getFullYear().toString()),n.config.maxDate&&(o.setAttribute("max",n.config.maxDate.getFullYear().toString()),o.disabled=!!n.config.minDate&&n.config.minDate.getFullYear()===n.config.maxDate.getFullYear());var s=Tre("div","flatpickr-current-month");return s.appendChild(e),s.appendChild(i),r.appendChild(s),t.appendChild(r),{container:t,yearElement:o,monthElement:e}}function E(){Mre(n.monthNav),n.monthNav.appendChild(n.prevMonthNav),n.config.showMonths&&(n.yearElements=[],n.monthElements=[]);for(var e=n.config.showMonths;e--;){var t=k();n.yearElements.push(t.yearElement),n.monthElements.push(t.monthElement),n.monthNav.appendChild(t.container)}n.monthNav.appendChild(n.nextMonthNav)}function O(){n.weekdayContainer?Mre(n.weekdayContainer):n.weekdayContainer=Tre("div","flatpickr-weekdays");for(var e=n.config.showMonths;e--;){var t=Tre("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(t)}return P(),n.weekdayContainer}function P(){if(n.weekdayContainer){var e=n.l10n.firstDayOfWeek,t=Qre(n.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=Qre(t.splice(e,t.length),t.splice(0,e)));for(var r=n.config.showMonths;r--;)n.weekdayContainer.children[r].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function S(e,t){void 0===t&&(t=!0);var r=t?e:e-n.currentMonth;r<0&&!0===n._hidePrevMonthArrow||r>0&&!0===n._hideNextMonthArrow||(n.currentMonth+=r,(n.currentMonth<0||n.currentMonth>11)&&(n.currentYear+=n.currentMonth>11?1:-1,n.currentMonth=(n.currentMonth+12)%12,Q("onYearChange"),_()),x(),Q("onMonthChange"),Y())}function C(e){return n.calendarContainer.contains(e)}function T(e){if(n.isOpen&&!n.config.inline){var t=Nre(e),r=C(t),i=!(t===n.input||t===n.altInput||n.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(n.input)||~e.path.indexOf(n.altInput)))&&!r&&!C(e.relatedTarget),o=!n.config.ignoredFocusElements.some((function(e){return e.contains(t)}));i&&o&&(n.config.allowInput&&n.setDate(n._input.value,!1,n.config.altInput?n.config.altFormat:n.config.dateFormat),void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement&&""!==n.input.value&&void 0!==n.input.value&&s(),n.close(),n.config&&"range"===n.config.mode&&1===n.selectedDates.length&&n.clear(!1))}}function M(e){if(!(!e||n.config.minDate&&e<n.config.minDate.getFullYear()||n.config.maxDate&&e>n.config.maxDate.getFullYear())){var t=e,r=n.currentYear!==t;n.currentYear=t||n.currentYear,n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth=Math.min(n.config.maxDate.getMonth(),n.currentMonth):n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&(n.currentMonth=Math.max(n.config.minDate.getMonth(),n.currentMonth)),r&&(n.redraw(),Q("onYearChange"),_())}}function A(e,t){var r;void 0===t&&(t=!0);var i=n.parseDate(e,void 0,t);if(n.config.minDate&&i&&qre(i,n.config.minDate,void 0!==t?t:!n.minDateHasTime)<0||n.config.maxDate&&i&&qre(i,n.config.maxDate,void 0!==t?t:!n.maxDateHasTime)>0)return!1;if(!n.config.enable&&0===n.config.disable.length)return!0;if(void 0===i)return!1;for(var o=!!n.config.enable,s=null!==(r=n.config.enable)&&void 0!==r?r:n.config.disable,a=0,l=void 0;a<s.length;a++){if("function"==typeof(l=s[a])&&l(i))return o;if(l instanceof Date&&void 0!==i&&l.getTime()===i.getTime())return o;if("string"==typeof l){var c=n.parseDate(l,void 0,!0);return c&&c.getTime()===i.getTime()?o:!o}if("object"==typeof l&&void 0!==i&&l.from&&l.to&&i.getTime()>=l.from.getTime()&&i.getTime()<=l.to.getTime())return o}return!o}function D(e){return void 0!==n.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&n.daysContainer.contains(e))}function N(e){var t=e.target===n._input,r=n._input.value.trimEnd()!==K();!t||!r||e.relatedTarget&&C(e.relatedTarget)||n.setDate(n._input.value,!0,e.target===n.altInput?n.config.altFormat:n.config.dateFormat)}function R(t){var i=Nre(t),o=n.config.wrap?e.contains(i):i===n._input,l=n.config.allowInput,c=n.isOpen&&(!l||!o),p=n.config.inline&&o&&!l;if(13===t.keyCode&&o){if(l)return n.setDate(n._input.value,!0,i===n.altInput?n.config.altFormat:n.config.dateFormat),n.close(),i.blur();n.open()}else if(C(i)||c||p){var u=!!n.timeContainer&&n.timeContainer.contains(i);switch(t.keyCode){case 13:u?(t.preventDefault(),s(),F()):V(t);break;case 27:t.preventDefault(),F();break;case 8:case 46:o&&!n.config.allowInput&&(t.preventDefault(),n.clear());break;case 37:case 39:if(u||o)n.hourElement&&n.hourElement.focus();else{t.preventDefault();var d=r();if(void 0!==n.daysContainer&&(!1===l||d&&D(d))){var h=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),S(h),b(v(1),0)):b(void 0,h)}}break;case 38:case 40:t.preventDefault();var f=40===t.keyCode?1:-1;n.daysContainer&&void 0!==i.$i||i===n.input||i===n.altInput?t.ctrlKey?(t.stopPropagation(),M(n.currentYear-f),b(v(1),0)):u||b(void 0,7*f):i===n.currentYearElement?M(n.currentYear-f):n.config.enableTime&&(!u&&n.hourElement&&n.hourElement.focus(),s(t),n._debouncedChange());break;case 9:if(u){var m=[n.hourElement,n.minuteElement,n.secondElement,n.amPM].concat(n.pluginElements).filter((function(e){return e})),g=m.indexOf(i);if(-1!==g){var y=m[g+(t.shiftKey?-1:1)];t.preventDefault(),(y||n._input).focus()}}else!n.config.noCalendar&&n.daysContainer&&n.daysContainer.contains(i)&&t.shiftKey&&(t.preventDefault(),n._input.focus())}}if(void 0!==n.amPM&&i===n.amPM)switch(t.key){case n.l10n.amPM[0].charAt(0):case n.l10n.amPM[0].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[0],a(),J();break;case n.l10n.amPM[1].charAt(0):case n.l10n.amPM[1].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[1],a(),J()}(o||C(i))&&Q("onKeyDown",t)}function j(e,t){if(void 0===t&&(t="flatpickr-day"),1===n.selectedDates.length&&(!e||e.classList.contains(t)&&!e.classList.contains("flatpickr-disabled"))){for(var r=e?e.dateObj.getTime():n.days.firstElementChild.dateObj.getTime(),i=n.parseDate(n.selectedDates[0],void 0,!0).getTime(),o=Math.min(r,n.selectedDates[0].getTime()),s=Math.max(r,n.selectedDates[0].getTime()),a=!1,l=0,c=0,p=o;p<s;p+=Ure.DAY)A(new Date(p),!0)||(a=a||p>o&&p<s,p<i&&(!l||p>l)?l=p:p>i&&(!c||p<c)&&(c=p));Array.from(n.rContainer.querySelectorAll("*:nth-child(-n+"+n.config.showMonths+") > ."+t)).forEach((function(t){var o=t.dateObj.getTime(),s=l>0&&o<l||c>0&&o>c;if(s)return t.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){t.classList.remove(e)}));a&&!s||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){t.classList.remove(e)})),void 0!==e&&(e.classList.add(r<=n.selectedDates[0].getTime()?"startRange":"endRange"),i<r&&o===i?t.classList.add("startRange"):i>r&&o===i&&t.classList.add("endRange"),o>=l&&(0===c||o<=c)&&Fre(o,i,r)&&t.classList.add("inRange")))}))}}function I(){!n.isOpen||n.config.static||n.config.inline||$()}function L(e){return function(t){var r=n.config["_"+e+"Date"]=n.parseDate(t,n.config.dateFormat),i=n.config["_"+("min"===e?"max":"min")+"Date"];void 0!==r&&(n["min"===e?"minDateHasTime":"maxDateHasTime"]=r.getHours()>0||r.getMinutes()>0||r.getSeconds()>0),n.selectedDates&&(n.selectedDates=n.selectedDates.filter((function(e){return A(e)})),n.selectedDates.length||"min"!==e||l(r),J()),n.daysContainer&&(q(),void 0!==r?n.currentYearElement[e]=r.getFullYear().toString():n.currentYearElement.removeAttribute(e),n.currentYearElement.disabled=!!i&&void 0!==r&&i.getFullYear()===r.getFullYear())}}function z(){return n.config.wrap?e.querySelector("[data-input]"):e}function B(){"object"!=typeof n.config.locale&&void 0===Kre.l10ns[n.config.locale]&&n.config.errorHandler(new Error("flatpickr: invalid locale "+n.config.locale)),n.l10n=Gre(Gre({},Kre.l10ns.default),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?Kre.l10ns[n.config.locale]:void 0),Lre.D="("+n.l10n.weekdays.shorthand.join("|")+")",Lre.l="("+n.l10n.weekdays.longhand.join("|")+")",Lre.M="("+n.l10n.months.shorthand.join("|")+")",Lre.F="("+n.l10n.months.longhand.join("|")+")",Lre.K="("+n.l10n.amPM[0]+"|"+n.l10n.amPM[1]+"|"+n.l10n.amPM[0].toLowerCase()+"|"+n.l10n.amPM[1].toLowerCase()+")",void 0===Gre(Gre({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr&&void 0===Kre.defaultConfig.time_24hr&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=Bre(n),n.parseDate=$re({config:n.config,l10n:n.l10n})}function $(e){if("function"!=typeof n.config.position){if(void 0!==n.calendarContainer){Q("onPreCalendarPosition");var t=e||n._positionElement,r=Array.prototype.reduce.call(n.calendarContainer.children,(function(e,t){return e+t.offsetHeight}),0),i=n.calendarContainer.offsetWidth,o=n.config.position.split(" "),s=o[0],a=o.length>1?o[1]:null,l=t.getBoundingClientRect(),c=window.innerHeight-l.bottom,p="above"===s||"below"!==s&&c<r&&l.top>r,u=window.pageYOffset+l.top+(p?-r-2:t.offsetHeight+2);if(Cre(n.calendarContainer,"arrowTop",!p),Cre(n.calendarContainer,"arrowBottom",p),!n.config.inline){var d=window.pageXOffset+l.left,h=!1,f=!1;"center"===a?(d-=(i-l.width)/2,h=!0):"right"===a&&(d-=i-l.width,f=!0),Cre(n.calendarContainer,"arrowLeft",!h&&!f),Cre(n.calendarContainer,"arrowCenter",h),Cre(n.calendarContainer,"arrowRight",f);var m=window.document.body.offsetWidth-(window.pageXOffset+l.right),g=d+i>window.document.body.offsetWidth,y=m+i>window.document.body.offsetWidth;if(Cre(n.calendarContainer,"rightMost",g),!n.config.static)if(n.calendarContainer.style.top=u+"px",g)if(y){var v=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules){try{n.cssRules}catch(e){continue}e=n;break}}return null!=e?e:(r=document.createElement("style"),document.head.appendChild(r),r.sheet);var r}();if(void 0===v)return;var b=window.document.body.offsetWidth,w=Math.max(0,b/2-i/2),x=v.cssRules.length,_="{left:"+l.left+"px;right:auto;}";Cre(n.calendarContainer,"rightMost",!1),Cre(n.calendarContainer,"centerMost",!0),v.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+_,x),n.calendarContainer.style.left=w+"px",n.calendarContainer.style.right="auto"}else n.calendarContainer.style.left="auto",n.calendarContainer.style.right=m+"px";else n.calendarContainer.style.left=d+"px",n.calendarContainer.style.right="auto"}}}else n.config.position(n,e)}function q(){n.config.noCalendar||n.isMobile||(_(),Y(),x())}function F(){n._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(n.close,0):n.close()}function V(e){e.preventDefault(),e.stopPropagation();var t=Are(Nre(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==t){var r=t,i=n.latestSelectedDateObj=new Date(r.dateObj.getTime()),o=(i.getMonth()<n.currentMonth||i.getMonth()>n.currentMonth+n.config.showMonths-1)&&"range"!==n.config.mode;if(n.selectedDateElem=r,"single"===n.config.mode)n.selectedDates=[i];else if("multiple"===n.config.mode){var s=Z(i);s?n.selectedDates.splice(parseInt(s),1):n.selectedDates.push(i)}else"range"===n.config.mode&&(2===n.selectedDates.length&&n.clear(!1,!1),n.latestSelectedDateObj=i,n.selectedDates.push(i),0!==qre(i,n.selectedDates[0],!0)&&n.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()})));if(a(),o){var l=n.currentYear!==i.getFullYear();n.currentYear=i.getFullYear(),n.currentMonth=i.getMonth(),l&&(Q("onYearChange"),_()),Q("onMonthChange")}if(Y(),x(),J(),o||"range"===n.config.mode||1!==n.config.showMonths?void 0!==n.selectedDateElem&&void 0===n.hourElement&&n.selectedDateElem&&n.selectedDateElem.focus():y(r),void 0!==n.hourElement&&void 0!==n.hourElement&&n.hourElement.focus(),n.config.closeOnSelect){var c="single"===n.config.mode&&!n.config.enableTime,p="range"===n.config.mode&&2===n.selectedDates.length&&!n.config.enableTime;(c||p)&&F()}d()}}n.parseDate=$re({config:n.config,l10n:n.l10n}),n._handlers=[],n.pluginElements=[],n.loadedPlugins=[],n._bind=u,n._setHoursFromDate=l,n._positionCalendar=$,n.changeMonth=S,n.changeYear=M,n.clear=function(e,t){void 0===e&&(e=!0);void 0===t&&(t=!0);n.input.value="",void 0!==n.altInput&&(n.altInput.value="");void 0!==n.mobileInput&&(n.mobileInput.value="");n.selectedDates=[],n.latestSelectedDateObj=void 0,!0===t&&(n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth());if(!0===n.config.enableTime){var r=Wre(n.config);c(r.hours,r.minutes,r.seconds)}n.redraw(),e&&Q("onChange")},n.close=function(){n.isOpen=!1,n.isMobile||(void 0!==n.calendarContainer&&n.calendarContainer.classList.remove("open"),void 0!==n._input&&n._input.classList.remove("active"));Q("onClose")},n.onMouseOver=j,n._createElement=Tre,n.createDay=g,n.destroy=function(){void 0!==n.config&&Q("onDestroy");for(var e=n._handlers.length;e--;)n._handlers[e].remove();if(n._handlers=[],n.mobileInput)n.mobileInput.parentNode&&n.mobileInput.parentNode.removeChild(n.mobileInput),n.mobileInput=void 0;else if(n.calendarContainer&&n.calendarContainer.parentNode)if(n.config.static&&n.calendarContainer.parentNode){var t=n.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else n.calendarContainer.parentNode.removeChild(n.calendarContainer);n.altInput&&(n.input.type="text",n.altInput.parentNode&&n.altInput.parentNode.removeChild(n.altInput),delete n.altInput);n.input&&(n.input.type=n.input._type,n.input.classList.remove("flatpickr-input"),n.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete n[e]}catch(e){}}))},n.isEnabled=A,n.jumpToDate=h,n.updateValue=J,n.open=function(e,t){void 0===t&&(t=n._positionElement);if(!0===n.isMobile){if(e){e.preventDefault();var r=Nre(e);r&&r.blur()}return void 0!==n.mobileInput&&(n.mobileInput.focus(),n.mobileInput.click()),void Q("onOpen")}if(n._input.disabled||n.config.inline)return;var i=n.isOpen;n.isOpen=!0,i||(n.calendarContainer.classList.add("open"),n._input.classList.add("active"),Q("onOpen"),$(t));!0===n.config.enableTime&&!0===n.config.noCalendar&&(!1!==n.config.allowInput||void 0!==e&&n.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return n.hourElement.select()}),50))},n.redraw=q,n.set=function(e,t){if(null!==e&&"object"==typeof e)for(var r in Object.assign(n.config,e),e)void 0!==H[r]&&H[r].forEach((function(e){return e()}));else n.config[e]=t,void 0!==H[e]?H[e].forEach((function(e){return e()})):xre.indexOf(e)>-1&&(n.config[e]=Sre(t));n.redraw(),J(!0)},n.setDate=function(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=n.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return n.clear(t);U(e,r),n.latestSelectedDateObj=n.selectedDates[n.selectedDates.length-1],n.redraw(),h(void 0,t),l(),0===n.selectedDates.length&&n.clear(!1);J(t),t&&Q("onChange")},n.toggle=function(e){if(!0===n.isOpen)return n.close();n.open(e)};var H={locale:[B,P],showMonths:[E,o,O],minDate:[h],maxDate:[h],positionElement:[G],clickOpens:[function(){!0===n.config.clickOpens?(u(n._input,"focus",n.open),u(n._input,"click",n.open)):(n._input.removeEventListener("focus",n.open),n._input.removeEventListener("click",n.open))}]};function U(e,t){var r=[];if(e instanceof Array)r=e.map((function(e){return n.parseDate(e,t)}));else if(e instanceof Date||"number"==typeof e)r=[n.parseDate(e,t)];else if("string"==typeof e)switch(n.config.mode){case"single":case"time":r=[n.parseDate(e,t)];break;case"multiple":r=e.split(n.config.conjunction).map((function(e){return n.parseDate(e,t)}));break;case"range":r=e.split(n.l10n.rangeSeparator).map((function(e){return n.parseDate(e,t)}))}else n.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));n.selectedDates=n.config.allowInvalidPreload?r:r.filter((function(e){return e instanceof Date&&A(e,!1)})),"range"===n.config.mode&&n.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()}))}function W(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?n.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:n.parseDate(e.from,void 0),to:n.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function G(){n._positionElement=n.config.positionElement||n._input}function Q(e,t){if(void 0!==n.config){var r=n.config[e];if(void 0!==r&&r.length>0)for(var i=0;r[i]&&i<r.length;i++)r[i](n.selectedDates,n.input.value,n,t);"onChange"===e&&(n.input.dispatchEvent(X("change")),n.input.dispatchEvent(X("input")))}}function X(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function Z(e){for(var t=0;t<n.selectedDates.length;t++){var r=n.selectedDates[t];if(r instanceof Date&&0===qre(r,e))return""+t}return!1}function Y(){n.config.noCalendar||n.isMobile||!n.monthNav||(n.yearElements.forEach((function(e,t){var r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),n.config.showMonths>1||"static"===n.config.monthSelectorType?n.monthElements[t].textContent=jre(r.getMonth(),n.config.shorthandCurrentMonth,n.l10n)+" ":n.monthsDropdownContainer.value=r.getMonth().toString(),e.value=r.getFullYear().toString()})),n._hidePrevMonthArrow=void 0!==n.config.minDate&&(n.currentYear===n.config.minDate.getFullYear()?n.currentMonth<=n.config.minDate.getMonth():n.currentYear<n.config.minDate.getFullYear()),n._hideNextMonthArrow=void 0!==n.config.maxDate&&(n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth+1>n.config.maxDate.getMonth():n.currentYear>n.config.maxDate.getFullYear()))}function K(e){var t=e||(n.config.altInput?n.config.altFormat:n.config.dateFormat);return n.selectedDates.map((function(e){return n.formatDate(e,t)})).filter((function(e,t,r){return"range"!==n.config.mode||n.config.enableTime||r.indexOf(e)===t})).join("range"!==n.config.mode?n.config.conjunction:n.l10n.rangeSeparator)}function J(e){void 0===e&&(e=!0),void 0!==n.mobileInput&&n.mobileFormatStr&&(n.mobileInput.value=void 0!==n.latestSelectedDateObj?n.formatDate(n.latestSelectedDateObj,n.mobileFormatStr):""),n.input.value=K(n.config.dateFormat),void 0!==n.altInput&&(n.altInput.value=K(n.config.altFormat)),!1!==e&&Q("onValueUpdate")}function ee(e){var t=Nre(e),r=n.prevMonthNav.contains(t),i=n.nextMonthNav.contains(t);r||i?S(r?-1:1):n.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?n.changeYear(n.currentYear+1):t.classList.contains("arrowDown")&&n.changeYear(n.currentYear-1)}return function(){n.element=n.input=e,n.isOpen=!1,function(){var r=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],o=Gre(Gre({},JSON.parse(JSON.stringify(e.dataset||{}))),t),s={};n.config.parseDate=o.parseDate,n.config.formatDate=o.formatDate,Object.defineProperty(n.config,"enable",{get:function(){return n.config._enable},set:function(e){n.config._enable=W(e)}}),Object.defineProperty(n.config,"disable",{get:function(){return n.config._disable},set:function(e){n.config._disable=W(e)}});var a="time"===o.mode;if(!o.dateFormat&&(o.enableTime||a)){var l=Kre.defaultConfig.dateFormat||_re.dateFormat;s.dateFormat=o.noCalendar||a?"H:i"+(o.enableSeconds?":S":""):l+" H:i"+(o.enableSeconds?":S":"")}if(o.altInput&&(o.enableTime||a)&&!o.altFormat){var c=Kre.defaultConfig.altFormat||_re.altFormat;s.altFormat=o.noCalendar||a?"h:i"+(o.enableSeconds?":S K":" K"):c+" h:i"+(o.enableSeconds?":S":"")+" K"}Object.defineProperty(n.config,"minDate",{get:function(){return n.config._minDate},set:L("min")}),Object.defineProperty(n.config,"maxDate",{get:function(){return n.config._maxDate},set:L("max")});var p=function(e){return function(t){n.config["min"===e?"_minTime":"_maxTime"]=n.parseDate(t,"H:i:S")}};Object.defineProperty(n.config,"minTime",{get:function(){return n.config._minTime},set:p("min")}),Object.defineProperty(n.config,"maxTime",{get:function(){return n.config._maxTime},set:p("max")}),"time"===o.mode&&(n.config.noCalendar=!0,n.config.enableTime=!0);Object.assign(n.config,s,o);for(var u=0;u<r.length;u++)n.config[r[u]]=!0===n.config[r[u]]||"true"===n.config[r[u]];xre.filter((function(e){return void 0!==n.config[e]})).forEach((function(e){n.config[e]=Sre(n.config[e]||[]).map(i)})),n.isMobile=!n.config.disableMobile&&!n.config.inline&&"single"===n.config.mode&&!n.config.disable.length&&!n.config.enable&&!n.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(u=0;u<n.config.plugins.length;u++){var d=n.config.plugins[u](n)||{};for(var h in d)xre.indexOf(h)>-1?n.config[h]=Sre(d[h]).map(i).concat(n.config[h]):void 0===o[h]&&(n.config[h]=d[h])}o.altInputClass||(n.config.altInputClass=z().className+" "+n.config.altInputClass);Q("onParseConfig")}(),B(),function(){if(n.input=z(),!n.input)return void n.config.errorHandler(new Error("Invalid input element specified"));n.input._type=n.input.type,n.input.type="text",n.input.classList.add("flatpickr-input"),n._input=n.input,n.config.altInput&&(n.altInput=Tre(n.input.nodeName,n.config.altInputClass),n._input=n.altInput,n.altInput.placeholder=n.input.placeholder,n.altInput.disabled=n.input.disabled,n.altInput.required=n.input.required,n.altInput.tabIndex=n.input.tabIndex,n.altInput.type="text",n.input.setAttribute("type","hidden"),!n.config.static&&n.input.parentNode&&n.input.parentNode.insertBefore(n.altInput,n.input.nextSibling));n.config.allowInput||n._input.setAttribute("readonly","readonly");G()}(),function(){n.selectedDates=[],n.now=n.parseDate(n.config.now)||new Date;var e=n.config.defaultDate||("INPUT"!==n.input.nodeName&&"TEXTAREA"!==n.input.nodeName||!n.input.placeholder||n.input.value!==n.input.placeholder?n.input.value:null);e&&U(e,n.config.dateFormat);n._initialDate=n.selectedDates.length>0?n.selectedDates[0]:n.config.minDate&&n.config.minDate.getTime()>n.now.getTime()?n.config.minDate:n.config.maxDate&&n.config.maxDate.getTime()<n.now.getTime()?n.config.maxDate:n.now,n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth(),n.selectedDates.length>0&&(n.latestSelectedDateObj=n.selectedDates[0]);void 0!==n.config.minTime&&(n.config.minTime=n.parseDate(n.config.minTime,"H:i"));void 0!==n.config.maxTime&&(n.config.maxTime=n.parseDate(n.config.maxTime,"H:i"));n.minDateHasTime=!!n.config.minDate&&(n.config.minDate.getHours()>0||n.config.minDate.getMinutes()>0||n.config.minDate.getSeconds()>0),n.maxDateHasTime=!!n.config.maxDate&&(n.config.maxDate.getHours()>0||n.config.maxDate.getMinutes()>0||n.config.maxDate.getSeconds()>0)}(),n.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=n.currentMonth),void 0===t&&(t=n.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:n.l10n.daysInMonth[e]}},n.isMobile||function(){var e=window.document.createDocumentFragment();if(n.calendarContainer=Tre("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=Tre("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=Tre("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=Tre("span","flatpickr-next-month"),n.nextMonthNav.innerHTML=n.config.nextArrow,E(),Object.defineProperty(n,"_hidePrevMonthArrow",{get:function(){return n.__hidePrevMonthArrow},set:function(e){n.__hidePrevMonthArrow!==e&&(Cre(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:function(){return n.__hideNextMonthArrow},set:function(e){n.__hideNextMonthArrow!==e&&(Cre(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],Y(),n.monthNav)),n.innerContainer=Tre("div","flatpickr-innerContainer"),n.config.weekNumbers){var t=function(){n.calendarContainer.classList.add("hasWeeks");var e=Tre("div","flatpickr-weekwrapper");e.appendChild(Tre("span","flatpickr-weekday",n.l10n.weekAbbreviation));var t=Tre("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),r=t.weekWrapper,i=t.weekNumbers;n.innerContainer.appendChild(r),n.weekNumbers=i,n.weekWrapper=r}n.rContainer=Tre("div","flatpickr-rContainer"),n.rContainer.appendChild(O()),n.daysContainer||(n.daysContainer=Tre("div","flatpickr-days"),n.daysContainer.tabIndex=-1),x(),n.rContainer.appendChild(n.daysContainer),n.innerContainer.appendChild(n.rContainer),e.appendChild(n.innerContainer)}n.config.enableTime&&e.appendChild(function(){n.calendarContainer.classList.add("hasTime"),n.config.noCalendar&&n.calendarContainer.classList.add("noCalendar");var e=Wre(n.config);n.timeContainer=Tre("div","flatpickr-time"),n.timeContainer.tabIndex=-1;var t=Tre("span","flatpickr-time-separator",":"),r=Dre("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=r.getElementsByTagName("input")[0];var i=Dre("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=i.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=Ere(n.latestSelectedDateObj?n.latestSelectedDateObj.getHours():n.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),n.minuteElement.value=Ere(n.latestSelectedDateObj?n.latestSelectedDateObj.getMinutes():e.minutes),n.hourElement.setAttribute("step",n.config.hourIncrement.toString()),n.minuteElement.setAttribute("step",n.config.minuteIncrement.toString()),n.hourElement.setAttribute("min",n.config.time_24hr?"0":"1"),n.hourElement.setAttribute("max",n.config.time_24hr?"23":"12"),n.hourElement.setAttribute("maxlength","2"),n.minuteElement.setAttribute("min","0"),n.minuteElement.setAttribute("max","59"),n.minuteElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(r),n.timeContainer.appendChild(t),n.timeContainer.appendChild(i),n.config.time_24hr&&n.timeContainer.classList.add("time24hr");if(n.config.enableSeconds){n.timeContainer.classList.add("hasSeconds");var o=Dre("flatpickr-second");n.secondElement=o.getElementsByTagName("input")[0],n.secondElement.value=Ere(n.latestSelectedDateObj?n.latestSelectedDateObj.getSeconds():e.seconds),n.secondElement.setAttribute("step",n.minuteElement.getAttribute("step")),n.secondElement.setAttribute("min","0"),n.secondElement.setAttribute("max","59"),n.secondElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(Tre("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(o)}n.config.time_24hr||(n.amPM=Tre("span","flatpickr-am-pm",n.l10n.amPM[Ore((n.latestSelectedDateObj?n.hourElement.value:n.config.defaultHour)>11)]),n.amPM.title=n.l10n.toggleTitle,n.amPM.tabIndex=-1,n.timeContainer.appendChild(n.amPM));return n.timeContainer}());Cre(n.calendarContainer,"rangeMode","range"===n.config.mode),Cre(n.calendarContainer,"animate",!0===n.config.animate),Cre(n.calendarContainer,"multiMonth",n.config.showMonths>1),n.calendarContainer.appendChild(e);var o=void 0!==n.config.appendTo&&void 0!==n.config.appendTo.nodeType;if((n.config.inline||n.config.static)&&(n.calendarContainer.classList.add(n.config.inline?"inline":"static"),n.config.inline&&(!o&&n.element.parentNode?n.element.parentNode.insertBefore(n.calendarContainer,n._input.nextSibling):void 0!==n.config.appendTo&&n.config.appendTo.appendChild(n.calendarContainer)),n.config.static)){var s=Tre("div","flatpickr-wrapper");n.element.parentNode&&n.element.parentNode.insertBefore(s,n.element),s.appendChild(n.element),n.altInput&&s.appendChild(n.altInput),s.appendChild(n.calendarContainer)}n.config.static||n.config.inline||(void 0!==n.config.appendTo?n.config.appendTo:window.document.body).appendChild(n.calendarContainer)}(),function(){n.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(n.element.querySelectorAll("[data-"+e+"]"),(function(t){return u(t,"click",n[e])}))}));if(n.isMobile)return void function(){var e=n.config.enableTime?n.config.noCalendar?"time":"datetime-local":"date";n.mobileInput=Tre("input",n.input.className+" flatpickr-mobile"),n.mobileInput.tabIndex=1,n.mobileInput.type=e,n.mobileInput.disabled=n.input.disabled,n.mobileInput.required=n.input.required,n.mobileInput.placeholder=n.input.placeholder,n.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",n.selectedDates.length>0&&(n.mobileInput.defaultValue=n.mobileInput.value=n.formatDate(n.selectedDates[0],n.mobileFormatStr));n.config.minDate&&(n.mobileInput.min=n.formatDate(n.config.minDate,"Y-m-d"));n.config.maxDate&&(n.mobileInput.max=n.formatDate(n.config.maxDate,"Y-m-d"));n.input.getAttribute("step")&&(n.mobileInput.step=String(n.input.getAttribute("step")));n.input.type="hidden",void 0!==n.altInput&&(n.altInput.type="hidden");try{n.input.parentNode&&n.input.parentNode.insertBefore(n.mobileInput,n.input.nextSibling)}catch(e){}u(n.mobileInput,"change",(function(e){n.setDate(Nre(e).value,!1,n.mobileFormatStr),Q("onChange"),Q("onClose")}))}();var e=Pre(I,50);n._debouncedChange=Pre(d,Xre),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&u(n.daysContainer,"mouseover",(function(e){"range"===n.config.mode&&j(Nre(e))}));u(n._input,"keydown",R),void 0!==n.calendarContainer&&u(n.calendarContainer,"keydown",R);n.config.inline||n.config.static||u(window,"resize",e);void 0!==window.ontouchstart?u(window.document,"touchstart",T):u(window.document,"mousedown",T);u(window.document,"focus",T,{capture:!0}),!0===n.config.clickOpens&&(u(n._input,"focus",n.open),u(n._input,"click",n.open));void 0!==n.daysContainer&&(u(n.monthNav,"click",ee),u(n.monthNav,["keyup","increment"],p),u(n.daysContainer,"click",V));if(void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement){var t=function(e){return Nre(e).select()};u(n.timeContainer,["increment"],s),u(n.timeContainer,"blur",s,{capture:!0}),u(n.timeContainer,"click",f),u([n.hourElement,n.minuteElement],["focus","click"],t),void 0!==n.secondElement&&u(n.secondElement,"focus",(function(){return n.secondElement&&n.secondElement.select()})),void 0!==n.amPM&&u(n.amPM,"click",(function(e){s(e)}))}n.config.allowInput&&u(n._input,"blur",N)}(),(n.selectedDates.length||n.config.noCalendar)&&(n.config.enableTime&&l(n.config.noCalendar?n.latestSelectedDateObj:void 0),J(!1)),o();var r=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!n.isMobile&&r&&$(),Q("onReady")}(),n}function Yre(e,t){for(var n=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),r=[],i=0;i<n.length;i++){var o=n[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=Zre(o,t||{}),r.push(o._flatpickr)}catch(e){console.error(e)}}return 1===r.length?r[0]:r}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return Yre(this,e)},HTMLElement.prototype.flatpickr=function(e){return Yre([this],e)});var Kre=function(e,t){return"string"==typeof e?Yre(window.document.querySelectorAll(e),t):e instanceof Node?Yre([e],t):Yre(e,t)};function Jre(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function eie(e){this.props=e}Kre.defaultConfig={},Kre.l10ns={en:Gre({},kre),default:Gre({},kre)},Kre.localize=function(e){Kre.l10ns.default=Gre(Gre({},Kre.l10ns.default),e)},Kre.setDefaults=function(e){Kre.defaultConfig=Gre(Gre({},Kre.defaultConfig),e)},Kre.parseDate=$re({}),Kre.formatDate=Bre({}),Kre.compareDates=qre,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return Yre(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=Kre),(eie.prototype=new El).isPureReactComponent=!0,eie.prototype.shouldComponentUpdate=function(e,t){return Jre(this.props,e)||Jre(this.state,t)};var tie=pl.__b;pl.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),tie&&tie(e)};var nie=pl.__e;pl.__e=function(e,t,n,r){if(e.then)for(var i,o=t;o=o.__;)if((i=o.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);nie(e,t,n,r)};var rie=pl.unmount;function iie(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return iie(e,t,n)}))),e}function oie(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return oie(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function sie(){this.__u=0,this.t=null,this.__b=null}function aie(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function lie(){this.u=null,this.o=null}pl.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),rie&&rie(e)},(sie.prototype=new El).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=aie(r.__v),o=!1,s=function(){o||(o=!0,n.__R=null,i?i(a):a())};n.__R=s;var a=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=oie(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},sie.prototype.componentWillUnmount=function(){this.t=[]},sie.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=iie(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&xl(kl,null,e.fallback);return i&&(i.__h=null),[xl(kl,null,t.__a?null:e.children),i]};var cie=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(lie.prototype=new El).__a=function(e){var t=this,n=aie(t.__v),r=t.o.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),cie(t,e,r)):i()};n?n(o):o()}},lie.prototype.render=function(e){this.u=null,this.o=new Map;var t=Al(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},lie.prototype.componentDidUpdate=lie.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){cie(e,n,t)}))};var pie="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,uie=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,die="undefined"!=typeof document,hie=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};El.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(El.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var fie=pl.event;function mie(){}function gie(){return this.cancelBubble}function yie(){return this.defaultPrevented}pl.event=function(e){return fie&&(e=fie(e)),e.persist=mie,e.isPropagationStopped=gie,e.isDefaultPrevented=yie,e.nativeEvent=e};var vie={configurable:!0,get:function(){return this.class}},bie=pl.vnode;pl.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var i=-1===t.indexOf("-");for(var o in r={},n){var s=n[o];die&&"children"===o&&"noscript"===t||"value"===o&&"defaultValue"in n&&null==s||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===s?s="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!hie(n.type)?o="oninput":/^onfocus$/i.test(o)?o="onfocusin":/^onblur$/i.test(o)?o="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(o)?o=o.toLowerCase():i&&uie.test(o)?o=o.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(o)&&(o=o.toLowerCase(),r[o]&&(o="oninputCapture")),r[o]=s)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=Al(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Al(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r,n.class!=n.className&&(vie.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",vie))}e.$$typeof=pie,bie&&bie(e)};var wie=pl.__r;pl.__r=function(e){wie&&wie(e),e.__c};var xie={exports:{}};
|