@kestra-io/ui-libs 0.0.228 → 0.0.230

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.
Files changed (47) hide show
  1. package/dist/VueFlowUtils-BhTB7zMW.cjs +2 -0
  2. package/dist/VueFlowUtils-BhTB7zMW.cjs.map +1 -0
  3. package/dist/{VueFlowUtils-8xjnZl4e.js → VueFlowUtils-BmNdCDFy.js} +461 -452
  4. package/dist/VueFlowUtils-BmNdCDFy.js.map +1 -0
  5. package/dist/assets/icons/RotatingDots.vue.d.ts +6 -0
  6. package/dist/assets/icons/RotatingDots.vue.d.ts.map +1 -0
  7. package/dist/components/misc/ExecutionInformations.vue.d.ts +1 -0
  8. package/dist/components/misc/ExecutionInformations.vue.d.ts.map +1 -1
  9. package/dist/components/nodes/BasicNode.vue.d.ts +44 -113
  10. package/dist/components/nodes/BasicNode.vue.d.ts.map +1 -1
  11. package/dist/components/nodes/EdgeNode.vue.d.ts +5 -7
  12. package/dist/components/nodes/EdgeNode.vue.d.ts.map +1 -1
  13. package/dist/components/nodes/TaskNode.vue.d.ts +48 -240
  14. package/dist/components/nodes/TaskNode.vue.d.ts.map +1 -1
  15. package/dist/components/plugins/PluginIndex.vue.d.ts +2 -8
  16. package/dist/components/plugins/PluginIndex.vue.d.ts.map +1 -1
  17. package/dist/components/topology/Topology.vue.d.ts +13 -4
  18. package/dist/components/topology/Topology.vue.d.ts.map +1 -1
  19. package/dist/components/topology/injectionKeys.d.ts +0 -1
  20. package/dist/components/topology/injectionKeys.d.ts.map +1 -1
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/kestra-index.cjs.js +14 -14
  24. package/dist/kestra-index.cjs.js.map +1 -1
  25. package/dist/kestra-index.es.js +3636 -3679
  26. package/dist/kestra-index.es.js.map +1 -1
  27. package/dist/kestra-vueflowutils.cjs.js +1 -1
  28. package/dist/kestra-vueflowutils.es.js +6 -6
  29. package/dist/ui-libs.css +1 -1
  30. package/dist/utils/Utils.d.ts +14 -7
  31. package/dist/utils/Utils.d.ts.map +1 -1
  32. package/dist/utils/state.d.ts +1 -0
  33. package/dist/utils/state.d.ts.map +1 -1
  34. package/package.json +1 -1
  35. package/src/assets/icons/RotatingDots.vue +25 -0
  36. package/src/components/misc/Duration.vue +2 -2
  37. package/src/components/misc/ExecutionInformations.vue +6 -36
  38. package/src/components/nodes/BasicNode.vue +127 -152
  39. package/src/components/nodes/TaskNode.vue +265 -189
  40. package/src/components/topology/Topology.vue +8 -3
  41. package/src/components/topology/injectionKeys.ts +1 -2
  42. package/src/index.ts +1 -0
  43. package/src/utils/Utils.ts +48 -34
  44. package/src/utils/state.ts +4 -0
  45. package/dist/VueFlowUtils-8xjnZl4e.js.map +0 -1
  46. package/dist/VueFlowUtils-dC12uRkV.cjs +0 -2
  47. package/dist/VueFlowUtils-dC12uRkV.cjs.map +0 -1
@@ -1,30 +1,30 @@
1
- "use strict";var er=Object.create;var Gn=Object.defineProperty;var tr=Object.getOwnPropertyDescriptor;var nr=Object.getOwnPropertyNames;var or=Object.getPrototypeOf,lr=Object.prototype.hasOwnProperty;var rr=(e,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of nr(n))!lr.call(e,r)&&r!==o&&Gn(e,r,{get:()=>n[r],enumerable:!(l=tr(n,r))||l.enumerable});return e};var ir=(e,n,o)=>(o=e!=null?er(or(e)):{},rr(n||!e||!e.__esModule?Gn(o,"default",{value:e,enumerable:!0}):o,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const We=require("yaml"),y=require("./VueFlowUtils-dC12uRkV.cjs"),W=require("./FlowYamlUtils-DvtepVr2.cjs"),t=require("vue"),re=require("@vue-flow/core"),en=require("@vue-flow/controls"),tn=require("moment"),ar=require("@popperjs/core"),Ln=require("vue-router"),sr={lineWidth:0},Wn=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],cr={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(e,n){for(const o of Wn){const l=W.extractBlock({source:e,section:o,key:n});if(l)return l}},_extractTask(e,n,o){function l(i){if(i){if(i instanceof We.YAMLMap&&i.get("type")!==void 0&&n===i.get("id"))return o?o(i):i;if(i.items)for(const[a,s]of i.items.entries()){let c;if(s instanceof We.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(i instanceof We.YAMLMap?i.set(s.key.value,c):i.items[a]=c),!o&&c))return c}}}const r=l(e.contents);if(r!==void 0)return o?new We.Document(r):new We.Document(r)},replaceTaskInDocument(e,n,o,l="tasks",r="id"){return W.replaceBlockInDocument({source:e,section:l,keyName:r,key:n,newContent:o})},sort:W.sort,getAllCharts:W.getAllCharts,getChartAtPosition:W.getChartAtPosition,localizeElementAtIndex:W.localizeElementAtIndex,getTaskType:W.getTypeAtPosition,swapTasks(e,n,o){const l=We.parseDocument(e),r=this._extractTask(l,n),i=this._extractTask(l,o);return We.visit(l,{Pair(a,s){if(s.key.value==="dependsOn"&&s.value.items.map(c=>c.value).includes(o))throw{message:"dependency task",messageOptions:{taskId:o}}}}),this._extractTask(l,n,()=>i),this._extractTask(l,o,()=>r),l.toString(sr)},insertTask(e,n,o,l,r){return W.insertBlock({source:e,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:r})},insertSection(e,n,o){return W.insertBlock({source:n,section:e,newBlock:o})},insertErrorInFlowable:W.insertErrorInFlowable,deleteSection(e,n,o){return W.deleteBlock({source:e,section:n,key:o})},deleteTask(e,n,o){return(o===y.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((r,i)=>W.deleteBlock({source:r,section:i,key:n}),e)},getLastTask(e,n){return W.getLastBlock({source:e,section:"tasks",parentKey:n})},checkTaskAlreadyExist(e,n){return W.checkBlockAlreadyExists({source:e,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(e,n,o){return W.isParentChildrenRelation({source:e,sections:Wn,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:W.replaceIdAndNamespace,updateMetadata:W.updateMetadata,cleanMetadata:W.cleanMetadata,getMetadata:W.getMetadata,deleteMetadata:W.deleteMetadata,flowHaveTasks:W.flowHaveTasks,extractPluginDefault:W.extractPluginDefault,replacePluginDefaultsInDocument:W.replacePluginDefaultsInDocument,deletePluginDefaults:W.deletePluginDefaults,extractFieldFromMaps:W.extractFieldFromMaps,getVersionAtPosition:W.getVersionAtPosition},Ne=e=>{const n=document.querySelector(":root"),o=n?getComputedStyle(n):null;return o==null?void 0:o.getPropertyValue(e)};var ur=y.requireMapValues();const gt=W.getDefaultExportFromCjs(ur),B=(e,n)=>{const o=e.__vccOpts||e;for(const[l,r]of n)o[l]=r;return o},dr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fr=["aria-hidden","aria-label"],mr=["fill","width","height"],pr={d:"M15,16H13V8H15M11,16H9V8H11M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},gr={key:0};function hr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon pause-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",pr,[o.title?(t.openBlock(),t.createElementBlock("title",gr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,mr))],16,fr)}const jn=B(dr,[["render",hr]]),Er={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},kr=["aria-hidden","aria-label"],_r=["fill","width","height"],yr={d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"},Cr={key:0};function Nr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon check-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",yr,[o.title?(t.openBlock(),t.createElementBlock("title",Cr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,_r))],16,kr)}const vr=B(Er,[["render",Nr]]),Sr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},br=["aria-hidden","aria-label"],Lr=["fill","width","height"],Tr={d:"M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},wr={key:0};function Ar(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon play-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Tr,[o.title?(t.openBlock(),t.createElementBlock("title",wr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Lr))],16,br)}const Ir=B(Sr,[["render",Ar]]),Vr={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Or=["aria-hidden","aria-label"],Dr=["fill","width","height"],Br={d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},Pr={key:0};function Rr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon close-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Br,[o.title?(t.openBlock(),t.createElementBlock("title",Pr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Dr))],16,Or)}const sn=B(Vr,[["render",Rr]]),$r={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mr=["aria-hidden","aria-label"],xr=["fill","width","height"],Fr={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9"},Ur={key:0};function Hr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon stop-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Fr,[o.title?(t.openBlock(),t.createElementBlock("title",Ur,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,xr))],16,Mr)}const zr=B($r,[["render",Hr]]),Gr={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wr=["aria-hidden","aria-label"],jr=["fill","width","height"],Kr={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,8H10V16H8M16,8V16L11,12"},Yr={key:0};function qr(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon skip-previous-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Kr,[o.title?(t.openBlock(),t.createElementBlock("title",Yr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,jr))],16,Wr)}const Xr=B(Gr,[["render",qr]]),Zr={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jr=["aria-hidden","aria-label"],Qr=["fill","width","height"],ei={d:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},ti={key:0};function ni(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alert-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ei,[o.title?(t.openBlock(),t.createElementBlock("title",ti,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Qr))],16,Jr)}const cn=B(Zr,[["render",ni]]),oi={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},li=["aria-hidden","aria-label"],ri=["fill","width","height"],ii={d:"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z"},ai={key:0};function si(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon dots-vertical-circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ii,[o.title?(t.openBlock(),t.createElementBlock("title",ai,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ri))],16,li)}const ci=B(oi,[["render",si]]),ui={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},di=["aria-hidden","aria-label"],fi=["fill","width","height"],mi={d:"M22 12C22 6.46 17.54 2 12 2C10.83 2 9.7 2.19 8.62 2.56L9.32 4.5C10.17 4.16 11.06 3.97 12 3.97C16.41 3.97 20.03 7.59 20.03 12C20.03 16.41 16.41 20.03 12 20.03C7.59 20.03 3.97 16.41 3.97 12C3.97 11.06 4.16 10.12 4.5 9.28L2.56 8.62C2.19 9.7 2 10.83 2 12C2 17.54 6.46 22 12 22C17.54 22 22 17.54 22 12M5.47 7C4.68 7 3.97 6.32 3.97 5.47C3.97 4.68 4.68 3.97 5.47 3.97C6.32 3.97 7 4.68 7 5.47C7 6.32 6.32 7 5.47 7M9 9H11V15H9M13 9H15V15H13"},pi={key:0};function gi(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon motion-pause-outline-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",mi,[o.title?(t.openBlock(),t.createElementBlock("title",pi,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,fi))],16,di)}const hi=B(ui,[["render",gi]]),Ei={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ki=["aria-hidden","aria-label"],_i=["fill","width","height"],yi={d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},Ci={key:0};function Ni(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon refresh-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",yi,[o.title?(t.openBlock(),t.createElementBlock("title",Ci,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,_i))],16,ki)}const Kn=B(Ei,[["render",Ni]]),vi={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Si=["aria-hidden","aria-label"],bi=["fill","width","height"],Li={d:"M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z"},Ti={key:0};function wi(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon cancel-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Li,[o.title?(t.openBlock(),t.createElementBlock("title",Ti,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,bi))],16,Si)}const Yn=B(vi,[["render",wi]]),G=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:ci,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Xr,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:vr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:Ir,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:sn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:zr,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:cn,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:sn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:jn,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:Yn,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:Yn,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:hi,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:Kn,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:Kn,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:jn,isRunning:!1,isKillable:!1,isFailed:!1}});class ae{static get CREATED(){return G.CREATED.name}static get RESTARTED(){return G.RESTARTED.name}static get SUCCESS(){return G.SUCCESS.name}static get RUNNING(){return G.RUNNING.name}static get KILLING(){return G.KILLING.name}static get KILLED(){return G.KILLED.name}static get FAILED(){return G.FAILED.name}static get WARNING(){return G.WARNING.name}static get PAUSED(){return G.PAUSED.name}static get CANCELLED(){return G.CANCELLED.name}static get QUEUED(){return G.QUEUED.name}static get RETRYING(){return G.RETRYING.name}static get RETRIED(){return G.RETRIED.name}static get BREAKPOINT(){return G.BREAKPOINT.name}static isRunning(n){return G[n]&&G[n].isRunning}static isKillable(n){return G[n]&&G[n].isKillable}static isPaused(n){return G[n]&&G[n]===G.PAUSED}static isFailed(n){return G[n]&&G[n].isFailed}static isQueued(n){return G[n]&&G[n]===G.QUEUED}static allStates(){return gt(G,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(G)}static colorClass(){return gt(G,n=>n.colorClass)}static color(){return gt(G,n=>Ne("--bs-"+n.colorClass))}static getStateColor(n){return G[n].color}static icon(){return gt(G,n=>n.icon)}static getTerminatedStates(){return Object.values(G).filter(n=>!n.isRunning).map(n=>n.name)}}let ht;async function Ai(){if(ht)return ht;const e=await Promise.resolve().then(()=>require("./useMarkdownParser-CPHSSwzs.cjs")).then(o=>o.useMarkdownParser);return ht=await(e.default??e)(),ht}var vt={exports:{}},Ii=vt.exports,qn;function Vi(){return qn||(qn=1,function(e,n){(function(o,l,r){e.exports=r(),e.exports.default=r()})("slugify",Ii,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function r(i,a){if(typeof i!="string")throw new Error("slugify: string argument expected");a=typeof a=="string"?{replacement:a}:a||{};var s=l[a.locale]||{},c=a.replacement===void 0?"-":a.replacement,u=a.trim===void 0?!0:a.trim,h=i.normalize().split("").reduce(function(E,g){var C=s[g];return C===void 0&&(C=o[g]),C===void 0&&(C=g),C===c&&(C=" "),E+C.replace(a.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return a.strict&&(h=h.replace(/[^A-Za-z0-9\s]/g,"")),u&&(h=h.trim()),h=h.replace(/\s+/g,c),a.lower&&(h=h.toLowerCase()),h}return r.extend=function(i){Object.assign(o,i)},r})}(vt)),vt.exports}var Oi=Vi();const Ro=W.getDefaultExportFromCjs(Oi);Ro.extend({"(":"-",")":""});function je(e){return Ro(e,{lower:!0,locale:"en"})}function $o(e,n){var o;return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(e)&&(n.length===0||((o=n[0])==null?void 0:o.cls)!==void 0)}function Je(e){const n=e.title.replaceAll(/\.([a-zA-Z])/g,(o,l)=>` ${l.toUpperCase()}`);return n.charAt(0).toUpperCase()+n.slice(1)}/*!
1
+ "use strict";var Xl=Object.create;var Gn=Object.defineProperty;var Zl=Object.getOwnPropertyDescriptor;var Jl=Object.getOwnPropertyNames;var Ql=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty;var tr=(e,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of Jl(n))!er.call(e,a)&&a!==o&&Gn(e,a,{get:()=>n[a],enumerable:!(l=Zl(n,a))||l.enumerable});return e};var nr=(e,n,o)=>(o=e!=null?Xl(Ql(e)):{},tr(n||!e||!e.__esModule?Gn(o,"default",{value:e,enumerable:!0}):o,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const We=require("yaml"),N=require("./VueFlowUtils-BhTB7zMW.cjs"),W=require("./FlowYamlUtils-DvtepVr2.cjs"),t=require("vue"),ne=require("@vue-flow/core"),Zt=require("@vue-flow/controls"),Jt=require("moment"),or=require("@popperjs/core"),vn=require("vue-router"),lr={lineWidth:0},Wn=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],rr={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(e,n){for(const o of Wn){const l=W.extractBlock({source:e,section:o,key:n});if(l)return l}},_extractTask(e,n,o){function l(r){if(r){if(r instanceof We.YAMLMap&&r.get("type")!==void 0&&n===r.get("id"))return o?o(r):r;if(r.items)for(const[i,s]of r.items.entries()){let c;if(s instanceof We.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(r instanceof We.YAMLMap?r.set(s.key.value,c):r.items[i]=c),!o&&c))return c}}}const a=l(e.contents);if(a!==void 0)return o?new We.Document(a):new We.Document(a)},replaceTaskInDocument(e,n,o,l="tasks",a="id"){return W.replaceBlockInDocument({source:e,section:l,keyName:a,key:n,newContent:o})},sort:W.sort,getAllCharts:W.getAllCharts,getChartAtPosition:W.getChartAtPosition,localizeElementAtIndex:W.localizeElementAtIndex,getTaskType:W.getTypeAtPosition,swapTasks(e,n,o){const l=We.parseDocument(e),a=this._extractTask(l,n),r=this._extractTask(l,o);return We.visit(l,{Pair(i,s){if(s.key.value==="dependsOn"&&s.value.items.map(c=>c.value).includes(o))throw{message:"dependency task",messageOptions:{taskId:o}}}}),this._extractTask(l,n,()=>r),this._extractTask(l,o,()=>a),l.toString(lr)},insertTask(e,n,o,l,a){return W.insertBlock({source:e,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:a})},insertSection(e,n,o){return W.insertBlock({source:n,section:e,newBlock:o})},insertErrorInFlowable:W.insertErrorInFlowable,deleteSection(e,n,o){return W.deleteBlock({source:e,section:n,key:o})},deleteTask(e,n,o){return(o===N.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((a,r)=>W.deleteBlock({source:a,section:r,key:n}),e)},getLastTask(e,n){return W.getLastBlock({source:e,section:"tasks",parentKey:n})},checkTaskAlreadyExist(e,n){return W.checkBlockAlreadyExists({source:e,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(e,n,o){return W.isParentChildrenRelation({source:e,sections:Wn,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:W.replaceIdAndNamespace,updateMetadata:W.updateMetadata,cleanMetadata:W.cleanMetadata,getMetadata:W.getMetadata,deleteMetadata:W.deleteMetadata,flowHaveTasks:W.flowHaveTasks,extractPluginDefault:W.extractPluginDefault,replacePluginDefaultsInDocument:W.replacePluginDefaultsInDocument,deletePluginDefaults:W.deletePluginDefaults,extractFieldFromMaps:W.extractFieldFromMaps,getVersionAtPosition:W.getVersionAtPosition},ve=e=>{const n=document.querySelector(":root"),o=n?getComputedStyle(n):null;return o==null?void 0:o.getPropertyValue(e)};var ar=N.requireMapValues();const gt=W.getDefaultExportFromCjs(ar),D=(e,n)=>{const o=e.__vccOpts||e;for(const[l,a]of n)o[l]=a;return o},ir={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},sr=["aria-hidden","aria-label"],cr=["fill","width","height"],ur={d:"M15,16H13V8H15M11,16H9V8H11M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},dr={key:0};function fr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon pause-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ur,[o.title?(t.openBlock(),t.createElementBlock("title",dr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,cr))],16,sr)}const Kn=D(ir,[["render",fr]]),mr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},pr=["aria-hidden","aria-label"],gr=["fill","width","height"],hr={d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z"},Er={key:0};function _r(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon check-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",hr,[o.title?(t.openBlock(),t.createElementBlock("title",Er,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,gr))],16,pr)}const kr=D(mr,[["render",_r]]),yr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cr=["aria-hidden","aria-label"],vr=["fill","width","height"],Nr={d:"M10,16.5V7.5L16,12M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Sr={key:0};function br(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon play-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Nr,[o.title?(t.openBlock(),t.createElementBlock("title",Sr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,vr))],16,Cr)}const Lr=D(yr,[["render",br]]),wr={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Tr=["aria-hidden","aria-label"],Ar=["fill","width","height"],Ir={d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},Vr={key:0};function Br(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon close-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ir,[o.title?(t.openBlock(),t.createElementBlock("title",Vr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ar))],16,Tr)}const ln=D(wr,[["render",Br]]),Or={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Dr=["aria-hidden","aria-label"],Pr=["fill","width","height"],$r={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M9,9H15V15H9"},Rr={key:0};function Mr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon stop-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",$r,[o.title?(t.openBlock(),t.createElementBlock("title",Rr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Pr))],16,Dr)}const xr=D(Or,[["render",Mr]]),Fr={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ur=["aria-hidden","aria-label"],Hr=["fill","width","height"],zr={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,8H10V16H8M16,8V16L11,12"},Gr={key:0};function Wr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon skip-previous-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",zr,[o.title?(t.openBlock(),t.createElementBlock("title",Gr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Hr))],16,Ur)}const Kr=D(Fr,[["render",Wr]]),jr={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Yr=["aria-hidden","aria-label"],qr=["fill","width","height"],Xr={d:"M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Zr={key:0};function Jr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alert-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Xr,[o.title?(t.openBlock(),t.createElementBlock("title",Zr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,qr))],16,Yr)}const bt=D(jr,[["render",Jr]]),Qr={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ea=["aria-hidden","aria-label"],ta=["fill","width","height"],na={d:"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z"},oa={key:0};function la(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon dots-vertical-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",na,[o.title?(t.openBlock(),t.createElementBlock("title",oa,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ta))],16,ea)}const ra=D(Qr,[["render",la]]),aa={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ia=["aria-hidden","aria-label"],sa=["fill","width","height"],ca={d:"M22 12C22 6.46 17.54 2 12 2C10.83 2 9.7 2.19 8.62 2.56L9.32 4.5C10.17 4.16 11.06 3.97 12 3.97C16.41 3.97 20.03 7.59 20.03 12C20.03 16.41 16.41 20.03 12 20.03C7.59 20.03 3.97 16.41 3.97 12C3.97 11.06 4.16 10.12 4.5 9.28L2.56 8.62C2.19 9.7 2 10.83 2 12C2 17.54 6.46 22 12 22C17.54 22 22 17.54 22 12M5.47 7C4.68 7 3.97 6.32 3.97 5.47C3.97 4.68 4.68 3.97 5.47 3.97C6.32 3.97 7 4.68 7 5.47C7 6.32 6.32 7 5.47 7M9 9H11V15H9M13 9H15V15H13"},ua={key:0};function da(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon motion-pause-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ca,[o.title?(t.openBlock(),t.createElementBlock("title",ua,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,sa))],16,ia)}const fa=D(aa,[["render",da]]),ma={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},pa=["aria-hidden","aria-label"],ga=["fill","width","height"],ha={d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"},Ea={key:0};function _a(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon refresh-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ha,[o.title?(t.openBlock(),t.createElementBlock("title",Ea,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ga))],16,pa)}const jn=D(ma,[["render",_a]]),ka={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ya=["aria-hidden","aria-label"],Ca=["fill","width","height"],va={d:"M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z"},Na={key:0};function Sa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon cancel-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",va,[o.title?(t.openBlock(),t.createElementBlock("title",Na,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ca))],16,ya)}const Yn=D(ka,[["render",Sa]]),G=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:ra,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Kr,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:kr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:Lr,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:ln,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:xr,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:bt,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:ln,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:Kn,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:Yn,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:Yn,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:fa,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:jn,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:jn,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:Kn,isRunning:!1,isKillable:!1,isFailed:!1}});class te{static get CREATED(){return G.CREATED.name}static get RESTARTED(){return G.RESTARTED.name}static get SUCCESS(){return G.SUCCESS.name}static get RUNNING(){return G.RUNNING.name}static get KILLING(){return G.KILLING.name}static get KILLED(){return G.KILLED.name}static get FAILED(){return G.FAILED.name}static get WARNING(){return G.WARNING.name}static get PAUSED(){return G.PAUSED.name}static get CANCELLED(){return G.CANCELLED.name}static get SKIPPED(){return G.SKIPPED.name}static get QUEUED(){return G.QUEUED.name}static get RETRYING(){return G.RETRYING.name}static get RETRIED(){return G.RETRIED.name}static get BREAKPOINT(){return G.BREAKPOINT.name}static isRunning(n){return G[n]&&G[n].isRunning}static isKillable(n){return G[n]&&G[n].isKillable}static isPaused(n){return G[n]&&G[n]===G.PAUSED}static isFailed(n){return G[n]&&G[n].isFailed}static isQueued(n){return G[n]&&G[n]===G.QUEUED}static allStates(){return gt(G,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(G)}static colorClass(){return gt(G,n=>n.colorClass)}static color(){return gt(G,n=>ve("--bs-"+n.colorClass))}static getStateColor(n){return G[n].color}static icon(){return gt(G,n=>n.icon)}static getTerminatedStates(){return Object.values(G).filter(n=>!n.isRunning).map(n=>n.name)}}let ht;async function ba(){if(ht)return ht;const e=await Promise.resolve().then(()=>require("./useMarkdownParser-CPHSSwzs.cjs")).then(o=>o.useMarkdownParser);return ht=await(e.default??e)(),ht}var Nt={exports:{}},La=Nt.exports,qn;function wa(){return qn||(qn=1,function(e,n){(function(o,l,a){e.exports=a(),e.exports.default=a()})("slugify",La,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function a(r,i){if(typeof r!="string")throw new Error("slugify: string argument expected");i=typeof i=="string"?{replacement:i}:i||{};var s=l[i.locale]||{},c=i.replacement===void 0?"-":i.replacement,u=i.trim===void 0?!0:i.trim,E=r.normalize().split("").reduce(function(g,h){var _=s[h];return _===void 0&&(_=o[h]),_===void 0&&(_=h),_===c&&(_=" "),g+_.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(E=E.replace(/[^A-Za-z0-9\s]/g,"")),u&&(E=E.trim()),E=E.replace(/\s+/g,c),i.lower&&(E=E.toLowerCase()),E}return a.extend=function(r){Object.assign(o,r)},a})}(Nt)),Nt.exports}var Ta=wa();const $o=W.getDefaultExportFromCjs(Ta);$o.extend({"(":"-",")":""});function Ke(e){return $o(e,{lower:!0,locale:"en"})}function Ro(e,n){var o;return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(e)&&(n.length===0||((o=n[0])==null?void 0:o.cls)!==void 0)}function Je(e){const n=e.title.replaceAll(/\.([a-zA-Z])/g,(o,l)=>` ${l.toUpperCase()}`);return n.charAt(0).toUpperCase()+n.slice(1)}const Aa={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ia=["aria-hidden","aria-label"],Va=["fill","width","height"],Ba={d:"M12 19C13.1 19 14 19.9 14 21S13.1 23 12 23 10 22.1 10 21 10.9 19 12 19M12 1C13.1 1 14 1.9 14 3S13.1 5 12 5 10 4.1 10 3 10.9 1 12 1M6 16C7.1 16 8 16.9 8 18S7.1 20 6 20 4 19.1 4 18 4.9 16 6 16M3 10C4.1 10 5 10.9 5 12S4.1 14 3 14 1 13.1 1 12 1.9 10 3 10M6 4C7.1 4 8 4.9 8 6S7.1 8 6 8 4 7.1 4 6 4.9 4 6 4M18 16C19.1 16 20 16.9 20 18S19.1 20 18 20 16 19.1 16 18 16.9 16 18 16M21 10C22.1 10 23 10.9 23 12S22.1 14 21 14 19 13.1 19 12 19.9 10 21 10M18 4C19.1 4 20 4.9 20 6S19.1 8 18 8 16 7.1 16 6 16.9 4 18 4Z"},Oa={key:0};function Da(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon dots-circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ba,[o.title?(t.openBlock(),t.createElementBlock("title",Oa,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Va))],16,Ia)}const Pa=D(Aa,[["render",Da]]),$a=t.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(e){return(n,o)=>(t.openBlock(),t.createBlock(Pa,{class:"loading-dots-circle",alt:n.alt},null,8,["alt"]))}}),Mo=D($a,[["__scopeId","data-v-a7ad4137"]]);/*!
2
2
  * shared v11.1.3
3
3
  * (c) 2025 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */const Be=typeof window<"u";let ve,Ye;if(process.env.NODE_ENV!=="production"){const e=Be&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ve=n=>{e.mark(n)},Ye=(n,o,l)=>{e.measure(n,o,l),e.clearMarks(o),e.clearMarks(l)})}const Di=/\{([0-9a-zA-Z]+)\}/g;function Dt(e,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(Di,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Pe=(e,n=!1)=>n?Symbol.for(e):Symbol(e),Bi=(e,n,o)=>Pi({l:e,k:n,s:o}),Pi=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ue=e=>typeof e=="number"&&isFinite(e),Ri=e=>Tn(e)==="[object Date]",bt=e=>Tn(e)==="[object RegExp]",Bt=e=>K(e)&&Object.keys(e).length===0,de=Object.assign,$i=Object.create,Z=(e=null)=>$i(e);let Xn;const Ke=()=>Xn||(Xn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Z());function Zn(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Mi=Object.prototype.hasOwnProperty;function be(e,n){return Mi.call(e,n)}const se=Array.isArray,ee=e=>typeof e=="function",D=e=>typeof e=="string",le=e=>typeof e=="boolean",Y=e=>e!==null&&typeof e=="object",xi=e=>Y(e)&&ee(e.then)&&ee(e.catch),Mo=Object.prototype.toString,Tn=e=>Mo.call(e),K=e=>Tn(e)==="[object Object]",Fi=e=>e==null?"":se(e)||K(e)&&e.toString===Mo?JSON.stringify(e,null,2):String(e);function wn(e,n=""){return e.reduce((o,l,r)=>r===0?o+l:o+n+l,"")}const Jn=2;function Ui(e,n=0,o=e.length){const l=e.split(/\r?\n/);let r=0;const i=[];for(let a=0;a<l.length;a++)if(r+=l[a].length+1,r>=n){for(let s=a-Jn;s<=a+Jn||o>r;s++){if(s<0||s>=l.length)continue;const c=s+1;i.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===a){const h=n-(r-u)+1,E=Math.max(1,o>r?u-h:o-n);i.push(" | "+" ".repeat(h)+"^".repeat(E))}else if(s>a){if(o>r){const h=Math.max(Math.min(o-r,u),1);i.push(" | "+"^".repeat(h))}r+=u+1}}break}return i.join(`
6
- `)}function Me(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const Qn={};function Hi(e){Qn[e]||(Qn[e]=!0,Me(e))}function zi(){const e=new Map;return{events:e,on(o,l){const r=e.get(o);r&&r.push(l)||e.set(o,[l])},off(o,l){const r=e.get(o);r&&r.splice(r.indexOf(l)>>>0,1)},emit(o,l){(e.get(o)||[]).slice().map(r=>r(l)),(e.get("*")||[]).slice().map(r=>r(o,l))}}}const Et=e=>!Y(e)||se(e);function St(e,n){if(Et(e)||Et(n))throw new Error("Invalid value");const o=[{src:e,des:n}];for(;o.length;){const{src:l,des:r}=o.pop();Object.keys(l).forEach(i=>{i!=="__proto__"&&(Y(l[i])&&!Y(r[i])&&(r[i]=Array.isArray(l[i])?[]:Z()),Et(r[i])||Et(l[i])?r[i]=l[i]:o.push({src:l[i],des:r[i]}))})}}/*!
5
+ */const De=typeof window<"u";let Ne,Ye;if(process.env.NODE_ENV!=="production"){const e=De&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(Ne=n=>{e.mark(n)},Ye=(n,o,l)=>{e.measure(n,o,l),e.clearMarks(o),e.clearMarks(l)})}const Ra=/\{([0-9a-zA-Z]+)\}/g;function Dt(e,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(Ra,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Pe=(e,n=!1)=>n?Symbol.for(e):Symbol(e),Ma=(e,n,o)=>xa({l:e,k:n,s:o}),xa=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ue=e=>typeof e=="number"&&isFinite(e),Fa=e=>Nn(e)==="[object Date]",Lt=e=>Nn(e)==="[object RegExp]",Pt=e=>j(e)&&Object.keys(e).length===0,de=Object.assign,Ua=Object.create,Z=(e=null)=>Ua(e);let Xn;const je=()=>Xn||(Xn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Z());function Zn(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Ha=Object.prototype.hasOwnProperty;function be(e,n){return Ha.call(e,n)}const se=Array.isArray,ee=e=>typeof e=="function",O=e=>typeof e=="string",ae=e=>typeof e=="boolean",Y=e=>e!==null&&typeof e=="object",za=e=>Y(e)&&ee(e.then)&&ee(e.catch),xo=Object.prototype.toString,Nn=e=>xo.call(e),j=e=>Nn(e)==="[object Object]",Ga=e=>e==null?"":se(e)||j(e)&&e.toString===xo?JSON.stringify(e,null,2):String(e);function Sn(e,n=""){return e.reduce((o,l,a)=>a===0?o+l:o+n+l,"")}const Jn=2;function Wa(e,n=0,o=e.length){const l=e.split(/\r?\n/);let a=0;const r=[];for(let i=0;i<l.length;i++)if(a+=l[i].length+1,a>=n){for(let s=i-Jn;s<=i+Jn||o>a;s++){if(s<0||s>=l.length)continue;const c=s+1;r.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===i){const E=n-(a-u)+1,g=Math.max(1,o>a?u-E:o-n);r.push(" | "+" ".repeat(E)+"^".repeat(g))}else if(s>i){if(o>a){const E=Math.max(Math.min(o-a,u),1);r.push(" | "+"^".repeat(E))}a+=u+1}}break}return r.join(`
6
+ `)}function Me(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const Qn={};function Ka(e){Qn[e]||(Qn[e]=!0,Me(e))}function ja(){const e=new Map;return{events:e,on(o,l){const a=e.get(o);a&&a.push(l)||e.set(o,[l])},off(o,l){const a=e.get(o);a&&a.splice(a.indexOf(l)>>>0,1)},emit(o,l){(e.get(o)||[]).slice().map(a=>a(l)),(e.get("*")||[]).slice().map(a=>a(o,l))}}}const Et=e=>!Y(e)||se(e);function St(e,n){if(Et(e)||Et(n))throw new Error("Invalid value");const o=[{src:e,des:n}];for(;o.length;){const{src:l,des:a}=o.pop();Object.keys(l).forEach(r=>{r!=="__proto__"&&(Y(l[r])&&!Y(a[r])&&(a[r]=Array.isArray(l[r])?[]:Z()),Et(a[r])||Et(l[r])?a[r]=l[r]:o.push({src:l[r],des:a[r]}))})}}/*!
7
7
  * message-compiler v11.1.3
8
8
  * (c) 2025 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function Gi(e,n,o){return{line:e,column:n,offset:o}}function un(e,n,o){return{start:e,end:n}}const M={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},Wi=17,ji={[M.EXPECTED_TOKEN]:"Expected token: '{0}'",[M.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[M.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[M.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[M.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[M.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[M.EMPTY_PLACEHOLDER]:"Empty placeholder",[M.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[M.INVALID_LINKED_FORMAT]:"Invalid linked format",[M.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[M.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[M.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[M.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[M.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[M.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function nt(e,n,o={}){const{domain:l,messages:r,args:i}=o,a=process.env.NODE_ENV!=="production"?Dt((r||ji)[e]||"",...i||[]):e,s=new SyntaxError(String(a));return s.code=e,n&&(s.location=n),s.domain=l,s}function Ki(e){throw e}const Yi=/<\/?[\w\s="/.':;#-\/]+>/,qi=e=>Yi.test(e),Ve=" ",Xi="\r",ge=`
11
- `,Zi="\u2028",Ji="\u2029";function Qi(e){const n=e;let o=0,l=1,r=1,i=0;const a=N=>n[N]===Xi&&n[N+1]===ge,s=N=>n[N]===ge,c=N=>n[N]===Ji,u=N=>n[N]===Zi,h=N=>a(N)||s(N)||c(N)||u(N),E=()=>o,g=()=>l,C=()=>r,V=()=>i,L=N=>a(N)||c(N)||u(N)?ge:n[N],O=()=>L(o),p=()=>L(o+i);function k(){return i=0,h(o)&&(l++,r=0),a(o)&&o++,o++,r++,n[o]}function S(){return a(o+i)&&i++,i++,n[o+i]}function m(){o=0,l=1,r=1,i=0}function b(N=0){i=N}function I(){const N=o+i;for(;N!==o;)k();i=0}return{index:E,line:g,column:C,peekOffset:V,charAt:L,currentChar:O,currentPeek:p,next:k,peek:S,reset:m,resetPeek:b,skipToPeek:I}}const Re=void 0,ea=".",eo="'",ta="tokenizer";function na(e,n={}){const o=n.location!==!1,l=Qi(e),r=()=>l.index(),i=()=>Gi(l.line(),l.column(),l.index()),a=i(),s=r(),c={currentType:13,offset:s,startLoc:a,endLoc:a,lastType:13,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:h}=n;function E(d,f,v,...$){const te=u();if(f.column+=v,f.offset+=v,h){const ne=o?un(te.startLoc,f):null,j=nt(d,ne,{domain:ta,args:$});h(j)}}function g(d,f,v){d.endLoc=i(),d.currentType=f;const $={type:f};return o&&($.loc=un(d.startLoc,d.endLoc)),v!=null&&($.value=v),$}const C=d=>g(d,13);function V(d,f){return d.currentChar()===f?(d.next(),f):(E(M.EXPECTED_TOKEN,i(),0,f),"")}function L(d){let f="";for(;d.currentPeek()===Ve||d.currentPeek()===ge;)f+=d.currentPeek(),d.peek();return f}function O(d){const f=L(d);return d.skipToPeek(),f}function p(d){if(d===Re)return!1;const f=d.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function k(d){if(d===Re)return!1;const f=d.charCodeAt(0);return f>=48&&f<=57}function S(d,f){const{currentType:v}=f;if(v!==2)return!1;L(d);const $=p(d.currentPeek());return d.resetPeek(),$}function m(d,f){const{currentType:v}=f;if(v!==2)return!1;L(d);const $=d.currentPeek()==="-"?d.peek():d.currentPeek(),te=k($);return d.resetPeek(),te}function b(d,f){const{currentType:v}=f;if(v!==2)return!1;L(d);const $=d.currentPeek()===eo;return d.resetPeek(),$}function I(d,f){const{currentType:v}=f;if(v!==7)return!1;L(d);const $=d.currentPeek()===".";return d.resetPeek(),$}function N(d,f){const{currentType:v}=f;if(v!==8)return!1;L(d);const $=p(d.currentPeek());return d.resetPeek(),$}function x(d,f){const{currentType:v}=f;if(!(v===7||v===11))return!1;L(d);const $=d.currentPeek()===":";return d.resetPeek(),$}function H(d,f){const{currentType:v}=f;if(v!==9)return!1;const $=()=>{const ne=d.currentPeek();return ne==="{"?p(d.peek()):ne==="@"||ne==="|"||ne===":"||ne==="."||ne===Ve||!ne?!1:ne===ge?(d.peek(),$()):ce(d,!1)},te=$();return d.resetPeek(),te}function J(d){L(d);const f=d.currentPeek()==="|";return d.resetPeek(),f}function ce(d,f=!0){const v=(te=!1,ne="")=>{const j=d.currentPeek();return j==="{"||j==="@"||!j?te:j==="|"?!(ne===Ve||ne===ge):j===Ve?(d.peek(),v(!0,Ve)):j===ge?(d.peek(),v(!0,ge)):!0},$=v();return f&&d.resetPeek(),$}function F(d,f){const v=d.currentChar();return v===Re?Re:f(v)?(d.next(),v):null}function he(d){const f=d.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36}function Ae(d){return F(d,he)}function P(d){const f=d.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36||f===45}function A(d){return F(d,P)}function z(d){const f=d.charCodeAt(0);return f>=48&&f<=57}function R(d){return F(d,z)}function Ie(d){const f=d.charCodeAt(0);return f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102}function me(d){return F(d,Ie)}function Ue(d){let f="",v="";for(;f=R(d);)v+=f;return v}function Gt(d){let f="";for(;;){const v=d.currentChar();if(v==="{"||v==="}"||v==="@"||v==="|"||!v)break;if(v===Ve||v===ge)if(ce(d))f+=v,d.next();else{if(J(d))break;f+=v,d.next()}else f+=v,d.next()}return f}function Wt(d){O(d);let f="",v="";for(;f=A(d);)v+=f;return d.currentChar()===Re&&E(M.UNTERMINATED_CLOSING_BRACE,i(),0),v}function jt(d){O(d);let f="";return d.currentChar()==="-"?(d.next(),f+=`-${Ue(d)}`):f+=Ue(d),d.currentChar()===Re&&E(M.UNTERMINATED_CLOSING_BRACE,i(),0),f}function Kt(d){return d!==eo&&d!==ge}function Hn(d){O(d),V(d,"'");let f="",v="";for(;f=F(d,Kt);)f==="\\"?v+=Yt(d):v+=f;const $=d.currentChar();return $===ge||$===Re?(E(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),$===ge&&(d.next(),V(d,"'")),v):(V(d,"'"),v)}function Yt(d){const f=d.currentChar();switch(f){case"\\":case"'":return d.next(),`\\${f}`;case"u":return mt(d,f,4);case"U":return mt(d,f,6);default:return E(M.UNKNOWN_ESCAPE_SEQUENCE,i(),0,f),""}}function mt(d,f,v){V(d,f);let $="";for(let te=0;te<v;te++){const ne=me(d);if(!ne){E(M.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${f}${$}${d.currentChar()}`);break}$+=ne}return`\\${f}${$}`}function qt(d){return d!=="{"&&d!=="}"&&d!==Ve&&d!==ge}function Xt(d){O(d);let f="",v="";for(;f=F(d,qt);)v+=f;return v}function Zt(d){let f="",v="";for(;f=Ae(d);)v+=f;return v}function Jt(d){const f=v=>{const $=d.currentChar();return $==="{"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Ve?v:(v+=$,d.next(),f(v))};return f("")}function lt(d){O(d);const f=V(d,"|");return O(d),f}function rt(d,f){let v=null;switch(d.currentChar()){case"{":return f.braceNest>=1&&E(M.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),d.next(),v=g(f,2,"{"),O(d),f.braceNest++,v;case"}":return f.braceNest>0&&f.currentType===2&&E(M.EMPTY_PLACEHOLDER,i(),0),d.next(),v=g(f,3,"}"),f.braceNest--,f.braceNest>0&&O(d),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),v;case"@":return f.braceNest>0&&E(M.UNTERMINATED_CLOSING_BRACE,i(),0),v=He(d,f)||C(f),f.braceNest=0,v;default:{let te=!0,ne=!0,j=!0;if(J(d))return f.braceNest>0&&E(M.UNTERMINATED_CLOSING_BRACE,i(),0),v=g(f,1,lt(d)),f.braceNest=0,f.inLinked=!1,v;if(f.braceNest>0&&(f.currentType===4||f.currentType===5||f.currentType===6))return E(M.UNTERMINATED_CLOSING_BRACE,i(),0),f.braceNest=0,it(d,f);if(te=S(d,f))return v=g(f,4,Wt(d)),O(d),v;if(ne=m(d,f))return v=g(f,5,jt(d)),O(d),v;if(j=b(d,f))return v=g(f,6,Hn(d)),O(d),v;if(!te&&!ne&&!j)return v=g(f,12,Xt(d)),E(M.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,v.value),O(d),v;break}}return v}function He(d,f){const{currentType:v}=f;let $=null;const te=d.currentChar();switch((v===7||v===8||v===11||v===9)&&(te===ge||te===Ve)&&E(M.INVALID_LINKED_FORMAT,i(),0),te){case"@":return d.next(),$=g(f,7,"@"),f.inLinked=!0,$;case".":return O(d),d.next(),g(f,8,".");case":":return O(d),d.next(),g(f,9,":");default:return J(d)?($=g(f,1,lt(d)),f.braceNest=0,f.inLinked=!1,$):I(d,f)||x(d,f)?(O(d),He(d,f)):N(d,f)?(O(d),g(f,11,Zt(d))):H(d,f)?(O(d),te==="{"?rt(d,f)||$:g(f,10,Jt(d))):(v===7&&E(M.INVALID_LINKED_FORMAT,i(),0),f.braceNest=0,f.inLinked=!1,it(d,f))}}function it(d,f){let v={type:13};if(f.braceNest>0)return rt(d,f)||C(f);if(f.inLinked)return He(d,f)||C(f);switch(d.currentChar()){case"{":return rt(d,f)||C(f);case"}":return E(M.UNBALANCED_CLOSING_BRACE,i(),0),d.next(),g(f,3,"}");case"@":return He(d,f)||C(f);default:{if(J(d))return v=g(f,1,lt(d)),f.braceNest=0,f.inLinked=!1,v;if(ce(d))return g(f,0,Gt(d));break}}return v}function Qt(){const{currentType:d,offset:f,startLoc:v,endLoc:$}=c;return c.lastType=d,c.lastOffset=f,c.lastStartLoc=v,c.lastEndLoc=$,c.offset=r(),c.startLoc=i(),l.currentChar()===Re?g(c,13):it(l,c)}return{nextToken:Qt,currentOffset:r,currentPosition:i,context:u}}const oa="parser",la=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ra(e,n,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const l=parseInt(n||o,16);return l<=55295||l>=57344?String.fromCodePoint(l):"�"}}}function ia(e={}){const n=e.location!==!1,{onError:o}=e;function l(p,k,S,m,...b){const I=p.currentPosition();if(I.offset+=m,I.column+=m,o){const N=n?un(S,I):null,x=nt(k,N,{domain:oa,args:b});o(x)}}function r(p,k,S){const m={type:p};return n&&(m.start=k,m.end=k,m.loc={start:S,end:S}),m}function i(p,k,S,m){n&&(p.end=k,p.loc&&(p.loc.end=S))}function a(p,k){const S=p.context(),m=r(3,S.offset,S.startLoc);return m.value=k,i(m,p.currentOffset(),p.currentPosition()),m}function s(p,k){const S=p.context(),{lastOffset:m,lastStartLoc:b}=S,I=r(5,m,b);return I.index=parseInt(k,10),p.nextToken(),i(I,p.currentOffset(),p.currentPosition()),I}function c(p,k){const S=p.context(),{lastOffset:m,lastStartLoc:b}=S,I=r(4,m,b);return I.key=k,p.nextToken(),i(I,p.currentOffset(),p.currentPosition()),I}function u(p,k){const S=p.context(),{lastOffset:m,lastStartLoc:b}=S,I=r(9,m,b);return I.value=k.replace(la,ra),p.nextToken(),i(I,p.currentOffset(),p.currentPosition()),I}function h(p){const k=p.nextToken(),S=p.context(),{lastOffset:m,lastStartLoc:b}=S,I=r(8,m,b);return k.type!==11?(l(p,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),I.value="",i(I,m,b),{nextConsumeToken:k,node:I}):(k.value==null&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Te(k)),I.value=k.value||"",i(I,p.currentOffset(),p.currentPosition()),{node:I})}function E(p,k){const S=p.context(),m=r(7,S.offset,S.startLoc);return m.value=k,i(m,p.currentOffset(),p.currentPosition()),m}function g(p){const k=p.context(),S=r(6,k.offset,k.startLoc);let m=p.nextToken();if(m.type===8){const b=h(p);S.modifier=b.node,m=b.nextConsumeToken||p.nextToken()}switch(m.type!==9&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(m)),m=p.nextToken(),m.type===2&&(m=p.nextToken()),m.type){case 10:m.value==null&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(m)),S.key=E(p,m.value||"");break;case 4:m.value==null&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(m)),S.key=c(p,m.value||"");break;case 5:m.value==null&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(m)),S.key=s(p,m.value||"");break;case 6:m.value==null&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(m)),S.key=u(p,m.value||"");break;default:{l(p,M.UNEXPECTED_EMPTY_LINKED_KEY,k.lastStartLoc,0);const b=p.context(),I=r(7,b.offset,b.startLoc);return I.value="",i(I,b.offset,b.startLoc),S.key=I,i(S,b.offset,b.startLoc),{nextConsumeToken:m,node:S}}}return i(S,p.currentOffset(),p.currentPosition()),{node:S}}function C(p){const k=p.context(),S=k.currentType===1?p.currentOffset():k.offset,m=k.currentType===1?k.endLoc:k.startLoc,b=r(2,S,m);b.items=[];let I=null;do{const H=I||p.nextToken();switch(I=null,H.type){case 0:H.value==null&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(H)),b.items.push(a(p,H.value||""));break;case 5:H.value==null&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(H)),b.items.push(s(p,H.value||""));break;case 4:H.value==null&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(H)),b.items.push(c(p,H.value||""));break;case 6:H.value==null&&l(p,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Te(H)),b.items.push(u(p,H.value||""));break;case 7:{const J=g(p);b.items.push(J.node),I=J.nextConsumeToken||null;break}}}while(k.currentType!==13&&k.currentType!==1);const N=k.currentType===1?k.lastOffset:p.currentOffset(),x=k.currentType===1?k.lastEndLoc:p.currentPosition();return i(b,N,x),b}function V(p,k,S,m){const b=p.context();let I=m.items.length===0;const N=r(1,k,S);N.cases=[],N.cases.push(m);do{const x=C(p);I||(I=x.items.length===0),N.cases.push(x)}while(b.currentType!==13);return I&&l(p,M.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),i(N,p.currentOffset(),p.currentPosition()),N}function L(p){const k=p.context(),{offset:S,startLoc:m}=k,b=C(p);return k.currentType===13?b:V(p,S,m,b)}function O(p){const k=na(p,de({},e)),S=k.context(),m=r(0,S.offset,S.startLoc);return n&&m.loc&&(m.loc.source=p),m.body=L(k),e.onCacheKey&&(m.cacheKey=e.onCacheKey(p)),S.currentType!==13&&l(k,M.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,p[S.offset]||""),i(m,k.currentOffset(),k.currentPosition()),m}return{parse:O}}function Te(e){if(e.type===13)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function aa(e,n={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:i=>(o.helpers.add(i),i)}}function to(e,n){for(let o=0;o<e.length;o++)An(e[o],n)}function An(e,n){switch(e.type){case 1:to(e.cases,n),n.helper("plural");break;case 2:to(e.items,n);break;case 6:{An(e.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function sa(e,n={}){const o=aa(e);o.helper("normalize"),e.body&&An(e.body,o);const l=o.context();e.helpers=Array.from(l.helpers)}function ca(e){const n=e.body;return n.type===2?no(n):n.cases.forEach(o=>no(o)),e}function no(e){if(e.items.length===1){const n=e.items[0];(n.type===3||n.type===9)&&(e.static=n.value,delete n.value)}else{const n=[];for(let o=0;o<e.items.length;o++){const l=e.items[o];if(!(l.type===3||l.type===9)||l.value==null)break;n.push(l.value)}if(n.length===e.items.length){e.static=wn(n);for(let o=0;o<e.items.length;o++){const l=e.items[o];(l.type===3||l.type===9)&&delete l.value}}}}const ua="minifier";function Qe(e){switch(e.t=e.type,e.type){case 0:{const n=e;Qe(n.body),n.b=n.body,delete n.body;break}case 1:{const n=e,o=n.cases;for(let l=0;l<o.length;l++)Qe(o[l]);n.c=o,delete n.cases;break}case 2:{const n=e,o=n.items;for(let l=0;l<o.length;l++)Qe(o[l]);n.i=o,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=e;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=e;Qe(n.key),n.k=n.key,delete n.key,n.modifier&&(Qe(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=e;n.i=n.index,delete n.index;break}case 4:{const n=e;n.k=n.key,delete n.key;break}default:if(process.env.NODE_ENV!=="production")throw nt(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:ua,args:[e.type]})}delete e.type}const da="parser";function fa(e,n){const{filename:o,breakLineCode:l,needIndent:r}=n,i=n.location!==!1,a={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:r,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const s=()=>a;function c(L,O){a.code+=L}function u(L,O=!0){const p=O?l:"";c(r?p+" ".repeat(L):p)}function h(L=!0){const O=++a.indentLevel;L&&u(O)}function E(L=!0){const O=--a.indentLevel;L&&u(O)}function g(){u(a.indentLevel)}return{context:s,push:c,indent:h,deindent:E,newline:g,helper:L=>`_${L}`,needIndent:()=>a.needIndent}}function ma(e,n){const{helper:o}=e;e.push(`${o("linked")}(`),tt(e,n.key),n.modifier?(e.push(", "),tt(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function pa(e,n){const{helper:o,needIndent:l}=e;e.push(`${o("normalize")}([`),e.indent(l());const r=n.items.length;for(let i=0;i<r&&(tt(e,n.items[i]),i!==r-1);i++)e.push(", ");e.deindent(l()),e.push("])")}function ga(e,n){const{helper:o,needIndent:l}=e;if(n.cases.length>1){e.push(`${o("plural")}([`),e.indent(l());const r=n.cases.length;for(let i=0;i<r&&(tt(e,n.cases[i]),i!==r-1);i++)e.push(", ");e.deindent(l()),e.push("])")}}function ha(e,n){n.body?tt(e,n.body):e.push("null")}function tt(e,n){const{helper:o}=e;switch(n.type){case 0:ha(e,n);break;case 1:ga(e,n);break;case 2:pa(e,n);break;case 6:ma(e,n);break;case 8:e.push(JSON.stringify(n.value),n);break;case 7:e.push(JSON.stringify(n.value),n);break;case 5:e.push(`${o("interpolate")}(${o("list")}(${n.index}))`,n);break;case 4:e.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:e.push(JSON.stringify(n.value),n);break;case 3:e.push(JSON.stringify(n.value),n);break;default:if(process.env.NODE_ENV!=="production")throw nt(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:da,args:[n.type]})}}const Ea=(e,n={})=>{const o=D(n.mode)?n.mode:"normal",l=D(n.filename)?n.filename:"message.intl";n.sourceMap;const r=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
12
- `,i=n.needIndent?n.needIndent:o!=="arrow",a=e.helpers||[],s=fa(e,{filename:l,breakLineCode:r,needIndent:i});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(i),a.length>0&&(s.push(`const { ${wn(a.map(h=>`${h}: _${h}`),", ")} } = ctx`),s.newline()),s.push("return "),tt(s,e),s.deindent(i),s.push("}"),delete e.helpers;const{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function ka(e,n={}){const o=de({},n),l=!!o.jit,r=!!o.minify,i=o.optimize==null?!0:o.optimize,s=ia(o).parse(e);return l?(i&&ca(s),r&&Qe(s),{ast:s,code:""}):(sa(s,o),Ea(s,o))}/*!
10
+ */function Ya(e,n,o){return{line:e,column:n,offset:o}}function rn(e,n,o){return{start:e,end:n}}const M={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},qa=17,Xa={[M.EXPECTED_TOKEN]:"Expected token: '{0}'",[M.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[M.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[M.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[M.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[M.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[M.EMPTY_PLACEHOLDER]:"Empty placeholder",[M.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[M.INVALID_LINKED_FORMAT]:"Invalid linked format",[M.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[M.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[M.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[M.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[M.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[M.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function nt(e,n,o={}){const{domain:l,messages:a,args:r}=o,i=process.env.NODE_ENV!=="production"?Dt((a||Xa)[e]||"",...r||[]):e,s=new SyntaxError(String(i));return s.code=e,n&&(s.location=n),s.domain=l,s}function Za(e){throw e}const Ja=/<\/?[\w\s="/.':;#-\/]+>/,Qa=e=>Ja.test(e),Ve=" ",ei="\r",ge=`
11
+ `,ti="\u2028",ni="\u2029";function oi(e){const n=e;let o=0,l=1,a=1,r=0;const i=v=>n[v]===ei&&n[v+1]===ge,s=v=>n[v]===ge,c=v=>n[v]===ni,u=v=>n[v]===ti,E=v=>i(v)||s(v)||c(v)||u(v),g=()=>o,h=()=>l,_=()=>a,A=()=>r,S=v=>i(v)||c(v)||u(v)?ge:n[v],C=()=>S(o),f=()=>S(o+r);function k(){return r=0,E(o)&&(l++,a=0),i(o)&&o++,o++,a++,n[o]}function b(){return i(o+r)&&r++,r++,n[o+r]}function p(){o=0,l=1,a=1,r=0}function w(v=0){r=v}function V(){const v=o+r;for(;v!==o;)k();r=0}return{index:g,line:h,column:_,peekOffset:A,charAt:S,currentChar:C,currentPeek:f,next:k,peek:b,reset:p,resetPeek:w,skipToPeek:V}}const $e=void 0,li=".",eo="'",ri="tokenizer";function ai(e,n={}){const o=n.location!==!1,l=oi(e),a=()=>l.index(),r=()=>Ya(l.line(),l.column(),l.index()),i=r(),s=a(),c={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>c,{onError:E}=n;function g(d,m,L,...R){const oe=u();if(m.column+=L,m.offset+=L,E){const le=o?rn(oe.startLoc,m):null,K=nt(d,le,{domain:ri,args:R});E(K)}}function h(d,m,L){d.endLoc=r(),d.currentType=m;const R={type:m};return o&&(R.loc=rn(d.startLoc,d.endLoc)),L!=null&&(R.value=L),R}const _=d=>h(d,13);function A(d,m){return d.currentChar()===m?(d.next(),m):(g(M.EXPECTED_TOKEN,r(),0,m),"")}function S(d){let m="";for(;d.currentPeek()===Ve||d.currentPeek()===ge;)m+=d.currentPeek(),d.peek();return m}function C(d){const m=S(d);return d.skipToPeek(),m}function f(d){if(d===$e)return!1;const m=d.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function k(d){if(d===$e)return!1;const m=d.charCodeAt(0);return m>=48&&m<=57}function b(d,m){const{currentType:L}=m;if(L!==2)return!1;S(d);const R=f(d.currentPeek());return d.resetPeek(),R}function p(d,m){const{currentType:L}=m;if(L!==2)return!1;S(d);const R=d.currentPeek()==="-"?d.peek():d.currentPeek(),oe=k(R);return d.resetPeek(),oe}function w(d,m){const{currentType:L}=m;if(L!==2)return!1;S(d);const R=d.currentPeek()===eo;return d.resetPeek(),R}function V(d,m){const{currentType:L}=m;if(L!==7)return!1;S(d);const R=d.currentPeek()===".";return d.resetPeek(),R}function v(d,m){const{currentType:L}=m;if(L!==8)return!1;S(d);const R=f(d.currentPeek());return d.resetPeek(),R}function x(d,m){const{currentType:L}=m;if(!(L===7||L===11))return!1;S(d);const R=d.currentPeek()===":";return d.resetPeek(),R}function H(d,m){const{currentType:L}=m;if(L!==9)return!1;const R=()=>{const le=d.currentPeek();return le==="{"?f(d.peek()):le==="@"||le==="|"||le===":"||le==="."||le===Ve||!le?!1:le===ge?(d.peek(),R()):ce(d,!1)},oe=R();return d.resetPeek(),oe}function J(d){S(d);const m=d.currentPeek()==="|";return d.resetPeek(),m}function ce(d,m=!0){const L=(oe=!1,le="")=>{const K=d.currentPeek();return K==="{"||K==="@"||!K?oe:K==="|"?!(le===Ve||le===ge):K===Ve?(d.peek(),L(!0,Ve)):K===ge?(d.peek(),L(!0,ge)):!0},R=L();return m&&d.resetPeek(),R}function F(d,m){const L=d.currentChar();return L===$e?$e:m(L)?(d.next(),L):null}function he(d){const m=d.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36}function Ae(d){return F(d,he)}function P(d){const m=d.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36||m===45}function B(d){return F(d,P)}function z(d){const m=d.charCodeAt(0);return m>=48&&m<=57}function $(d){return F(d,z)}function Ie(d){const m=d.charCodeAt(0);return m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102}function me(d){return F(d,Ie)}function Ue(d){let m="",L="";for(;m=$(d);)L+=m;return L}function Ut(d){let m="";for(;;){const L=d.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===Ve||L===ge)if(ce(d))m+=L,d.next();else{if(J(d))break;m+=L,d.next()}else m+=L,d.next()}return m}function Ht(d){C(d);let m="",L="";for(;m=B(d);)L+=m;return d.currentChar()===$e&&g(M.UNTERMINATED_CLOSING_BRACE,r(),0),L}function zt(d){C(d);let m="";return d.currentChar()==="-"?(d.next(),m+=`-${Ue(d)}`):m+=Ue(d),d.currentChar()===$e&&g(M.UNTERMINATED_CLOSING_BRACE,r(),0),m}function Gt(d){return d!==eo&&d!==ge}function Hn(d){C(d),A(d,"'");let m="",L="";for(;m=F(d,Gt);)m==="\\"?L+=Wt(d):L+=m;const R=d.currentChar();return R===ge||R===$e?(g(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),R===ge&&(d.next(),A(d,"'")),L):(A(d,"'"),L)}function Wt(d){const m=d.currentChar();switch(m){case"\\":case"'":return d.next(),`\\${m}`;case"u":return mt(d,m,4);case"U":return mt(d,m,6);default:return g(M.UNKNOWN_ESCAPE_SEQUENCE,r(),0,m),""}}function mt(d,m,L){A(d,m);let R="";for(let oe=0;oe<L;oe++){const le=me(d);if(!le){g(M.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${m}${R}${d.currentChar()}`);break}R+=le}return`\\${m}${R}`}function Kt(d){return d!=="{"&&d!=="}"&&d!==Ve&&d!==ge}function jt(d){C(d);let m="",L="";for(;m=F(d,Kt);)L+=m;return L}function Yt(d){let m="",L="";for(;m=Ae(d);)L+=m;return L}function qt(d){const m=L=>{const R=d.currentChar();return R==="{"||R==="@"||R==="|"||R==="("||R===")"||!R||R===Ve?L:(L+=R,d.next(),m(L))};return m("")}function lt(d){C(d);const m=A(d,"|");return C(d),m}function rt(d,m){let L=null;switch(d.currentChar()){case"{":return m.braceNest>=1&&g(M.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),d.next(),L=h(m,2,"{"),C(d),m.braceNest++,L;case"}":return m.braceNest>0&&m.currentType===2&&g(M.EMPTY_PLACEHOLDER,r(),0),d.next(),L=h(m,3,"}"),m.braceNest--,m.braceNest>0&&C(d),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),L;case"@":return m.braceNest>0&&g(M.UNTERMINATED_CLOSING_BRACE,r(),0),L=He(d,m)||_(m),m.braceNest=0,L;default:{let oe=!0,le=!0,K=!0;if(J(d))return m.braceNest>0&&g(M.UNTERMINATED_CLOSING_BRACE,r(),0),L=h(m,1,lt(d)),m.braceNest=0,m.inLinked=!1,L;if(m.braceNest>0&&(m.currentType===4||m.currentType===5||m.currentType===6))return g(M.UNTERMINATED_CLOSING_BRACE,r(),0),m.braceNest=0,at(d,m);if(oe=b(d,m))return L=h(m,4,Ht(d)),C(d),L;if(le=p(d,m))return L=h(m,5,zt(d)),C(d),L;if(K=w(d,m))return L=h(m,6,Hn(d)),C(d),L;if(!oe&&!le&&!K)return L=h(m,12,jt(d)),g(M.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,L.value),C(d),L;break}}return L}function He(d,m){const{currentType:L}=m;let R=null;const oe=d.currentChar();switch((L===7||L===8||L===11||L===9)&&(oe===ge||oe===Ve)&&g(M.INVALID_LINKED_FORMAT,r(),0),oe){case"@":return d.next(),R=h(m,7,"@"),m.inLinked=!0,R;case".":return C(d),d.next(),h(m,8,".");case":":return C(d),d.next(),h(m,9,":");default:return J(d)?(R=h(m,1,lt(d)),m.braceNest=0,m.inLinked=!1,R):V(d,m)||x(d,m)?(C(d),He(d,m)):v(d,m)?(C(d),h(m,11,Yt(d))):H(d,m)?(C(d),oe==="{"?rt(d,m)||R:h(m,10,qt(d))):(L===7&&g(M.INVALID_LINKED_FORMAT,r(),0),m.braceNest=0,m.inLinked=!1,at(d,m))}}function at(d,m){let L={type:13};if(m.braceNest>0)return rt(d,m)||_(m);if(m.inLinked)return He(d,m)||_(m);switch(d.currentChar()){case"{":return rt(d,m)||_(m);case"}":return g(M.UNBALANCED_CLOSING_BRACE,r(),0),d.next(),h(m,3,"}");case"@":return He(d,m)||_(m);default:{if(J(d))return L=h(m,1,lt(d)),m.braceNest=0,m.inLinked=!1,L;if(ce(d))return h(m,0,Ut(d));break}}return L}function Xt(){const{currentType:d,offset:m,startLoc:L,endLoc:R}=c;return c.lastType=d,c.lastOffset=m,c.lastStartLoc=L,c.lastEndLoc=R,c.offset=a(),c.startLoc=r(),l.currentChar()===$e?h(c,13):at(l,c)}return{nextToken:Xt,currentOffset:a,currentPosition:r,context:u}}const ii="parser",si=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function ci(e,n,o){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const l=parseInt(n||o,16);return l<=55295||l>=57344?String.fromCodePoint(l):"�"}}}function ui(e={}){const n=e.location!==!1,{onError:o}=e;function l(f,k,b,p,...w){const V=f.currentPosition();if(V.offset+=p,V.column+=p,o){const v=n?rn(b,V):null,x=nt(k,v,{domain:ii,args:w});o(x)}}function a(f,k,b){const p={type:f};return n&&(p.start=k,p.end=k,p.loc={start:b,end:b}),p}function r(f,k,b,p){n&&(f.end=k,f.loc&&(f.loc.end=b))}function i(f,k){const b=f.context(),p=a(3,b.offset,b.startLoc);return p.value=k,r(p,f.currentOffset(),f.currentPosition()),p}function s(f,k){const b=f.context(),{lastOffset:p,lastStartLoc:w}=b,V=a(5,p,w);return V.index=parseInt(k,10),f.nextToken(),r(V,f.currentOffset(),f.currentPosition()),V}function c(f,k){const b=f.context(),{lastOffset:p,lastStartLoc:w}=b,V=a(4,p,w);return V.key=k,f.nextToken(),r(V,f.currentOffset(),f.currentPosition()),V}function u(f,k){const b=f.context(),{lastOffset:p,lastStartLoc:w}=b,V=a(9,p,w);return V.value=k.replace(si,ci),f.nextToken(),r(V,f.currentOffset(),f.currentPosition()),V}function E(f){const k=f.nextToken(),b=f.context(),{lastOffset:p,lastStartLoc:w}=b,V=a(8,p,w);return k.type!==11?(l(f,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),V.value="",r(V,p,w),{nextConsumeToken:k,node:V}):(k.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,we(k)),V.value=k.value||"",r(V,f.currentOffset(),f.currentPosition()),{node:V})}function g(f,k){const b=f.context(),p=a(7,b.offset,b.startLoc);return p.value=k,r(p,f.currentOffset(),f.currentPosition()),p}function h(f){const k=f.context(),b=a(6,k.offset,k.startLoc);let p=f.nextToken();if(p.type===8){const w=E(f);b.modifier=w.node,p=w.nextConsumeToken||f.nextToken()}switch(p.type!==9&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,we(p)),p=f.nextToken(),p.type===2&&(p=f.nextToken()),p.type){case 10:p.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,we(p)),b.key=g(f,p.value||"");break;case 4:p.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,we(p)),b.key=c(f,p.value||"");break;case 5:p.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,we(p)),b.key=s(f,p.value||"");break;case 6:p.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,we(p)),b.key=u(f,p.value||"");break;default:{l(f,M.UNEXPECTED_EMPTY_LINKED_KEY,k.lastStartLoc,0);const w=f.context(),V=a(7,w.offset,w.startLoc);return V.value="",r(V,w.offset,w.startLoc),b.key=V,r(b,w.offset,w.startLoc),{nextConsumeToken:p,node:b}}}return r(b,f.currentOffset(),f.currentPosition()),{node:b}}function _(f){const k=f.context(),b=k.currentType===1?f.currentOffset():k.offset,p=k.currentType===1?k.endLoc:k.startLoc,w=a(2,b,p);w.items=[];let V=null;do{const H=V||f.nextToken();switch(V=null,H.type){case 0:H.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,we(H)),w.items.push(i(f,H.value||""));break;case 5:H.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,we(H)),w.items.push(s(f,H.value||""));break;case 4:H.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,we(H)),w.items.push(c(f,H.value||""));break;case 6:H.value==null&&l(f,M.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,we(H)),w.items.push(u(f,H.value||""));break;case 7:{const J=h(f);w.items.push(J.node),V=J.nextConsumeToken||null;break}}}while(k.currentType!==13&&k.currentType!==1);const v=k.currentType===1?k.lastOffset:f.currentOffset(),x=k.currentType===1?k.lastEndLoc:f.currentPosition();return r(w,v,x),w}function A(f,k,b,p){const w=f.context();let V=p.items.length===0;const v=a(1,k,b);v.cases=[],v.cases.push(p);do{const x=_(f);V||(V=x.items.length===0),v.cases.push(x)}while(w.currentType!==13);return V&&l(f,M.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),r(v,f.currentOffset(),f.currentPosition()),v}function S(f){const k=f.context(),{offset:b,startLoc:p}=k,w=_(f);return k.currentType===13?w:A(f,b,p,w)}function C(f){const k=ai(f,de({},e)),b=k.context(),p=a(0,b.offset,b.startLoc);return n&&p.loc&&(p.loc.source=f),p.body=S(k),e.onCacheKey&&(p.cacheKey=e.onCacheKey(f)),b.currentType!==13&&l(k,M.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,f[b.offset]||""),r(p,k.currentOffset(),k.currentPosition()),p}return{parse:C}}function we(e){if(e.type===13)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function di(e,n={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function to(e,n){for(let o=0;o<e.length;o++)bn(e[o],n)}function bn(e,n){switch(e.type){case 1:to(e.cases,n),n.helper("plural");break;case 2:to(e.items,n);break;case 6:{bn(e.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function fi(e,n={}){const o=di(e);o.helper("normalize"),e.body&&bn(e.body,o);const l=o.context();e.helpers=Array.from(l.helpers)}function mi(e){const n=e.body;return n.type===2?no(n):n.cases.forEach(o=>no(o)),e}function no(e){if(e.items.length===1){const n=e.items[0];(n.type===3||n.type===9)&&(e.static=n.value,delete n.value)}else{const n=[];for(let o=0;o<e.items.length;o++){const l=e.items[o];if(!(l.type===3||l.type===9)||l.value==null)break;n.push(l.value)}if(n.length===e.items.length){e.static=Sn(n);for(let o=0;o<e.items.length;o++){const l=e.items[o];(l.type===3||l.type===9)&&delete l.value}}}}const pi="minifier";function Qe(e){switch(e.t=e.type,e.type){case 0:{const n=e;Qe(n.body),n.b=n.body,delete n.body;break}case 1:{const n=e,o=n.cases;for(let l=0;l<o.length;l++)Qe(o[l]);n.c=o,delete n.cases;break}case 2:{const n=e,o=n.items;for(let l=0;l<o.length;l++)Qe(o[l]);n.i=o,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=e;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=e;Qe(n.key),n.k=n.key,delete n.key,n.modifier&&(Qe(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=e;n.i=n.index,delete n.index;break}case 4:{const n=e;n.k=n.key,delete n.key;break}default:if(process.env.NODE_ENV!=="production")throw nt(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:pi,args:[e.type]})}delete e.type}const gi="parser";function hi(e,n){const{filename:o,breakLineCode:l,needIndent:a}=n,r=n.location!==!1,i={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:a,indentLevel:0};r&&e.loc&&(i.source=e.loc.source);const s=()=>i;function c(S,C){i.code+=S}function u(S,C=!0){const f=C?l:"";c(a?f+" ".repeat(S):f)}function E(S=!0){const C=++i.indentLevel;S&&u(C)}function g(S=!0){const C=--i.indentLevel;S&&u(C)}function h(){u(i.indentLevel)}return{context:s,push:c,indent:E,deindent:g,newline:h,helper:S=>`_${S}`,needIndent:()=>i.needIndent}}function Ei(e,n){const{helper:o}=e;e.push(`${o("linked")}(`),tt(e,n.key),n.modifier?(e.push(", "),tt(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function _i(e,n){const{helper:o,needIndent:l}=e;e.push(`${o("normalize")}([`),e.indent(l());const a=n.items.length;for(let r=0;r<a&&(tt(e,n.items[r]),r!==a-1);r++)e.push(", ");e.deindent(l()),e.push("])")}function ki(e,n){const{helper:o,needIndent:l}=e;if(n.cases.length>1){e.push(`${o("plural")}([`),e.indent(l());const a=n.cases.length;for(let r=0;r<a&&(tt(e,n.cases[r]),r!==a-1);r++)e.push(", ");e.deindent(l()),e.push("])")}}function yi(e,n){n.body?tt(e,n.body):e.push("null")}function tt(e,n){const{helper:o}=e;switch(n.type){case 0:yi(e,n);break;case 1:ki(e,n);break;case 2:_i(e,n);break;case 6:Ei(e,n);break;case 8:e.push(JSON.stringify(n.value),n);break;case 7:e.push(JSON.stringify(n.value),n);break;case 5:e.push(`${o("interpolate")}(${o("list")}(${n.index}))`,n);break;case 4:e.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:e.push(JSON.stringify(n.value),n);break;case 3:e.push(JSON.stringify(n.value),n);break;default:if(process.env.NODE_ENV!=="production")throw nt(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:gi,args:[n.type]})}}const Ci=(e,n={})=>{const o=O(n.mode)?n.mode:"normal",l=O(n.filename)?n.filename:"message.intl";n.sourceMap;const a=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
12
+ `,r=n.needIndent?n.needIndent:o!=="arrow",i=e.helpers||[],s=hi(e,{filename:l,breakLineCode:a,needIndent:r});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(r),i.length>0&&(s.push(`const { ${Sn(i.map(E=>`${E}: _${E}`),", ")} } = ctx`),s.newline()),s.push("return "),tt(s,e),s.deindent(r),s.push("}"),delete e.helpers;const{code:c,map:u}=s.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function vi(e,n={}){const o=de({},n),l=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,s=ui(o).parse(e);return l?(r&&mi(s),a&&Qe(s),{ast:s,code:""}):(fi(s,o),Ci(s,o))}/*!
13
13
  * core-base v11.1.3
14
14
  * (c) 2025 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function _a(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ke().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ke().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Le(e){return Y(e)&&In(e)===0&&(be(e,"b")||be(e,"body"))}const xo=["b","body"];function ya(e){return xe(e,xo)}const Fo=["c","cases"];function Ca(e){return xe(e,Fo,[])}const Uo=["s","static"];function Na(e){return xe(e,Uo)}const Ho=["i","items"];function va(e){return xe(e,Ho,[])}const zo=["t","type"];function In(e){return xe(e,zo)}const Go=["v","value"];function kt(e,n){const o=xe(e,Go);if(o!=null)return o;throw st(n)}const Wo=["m","modifier"];function Sa(e){return xe(e,Wo)}const jo=["k","key"];function ba(e){const n=xe(e,jo);if(n)return n;throw st(6)}function xe(e,n,o){for(let l=0;l<n.length;l++){const r=n[l];if(be(e,r)&&e[r]!=null)return e[r]}return o}const Ko=[...xo,...Fo,...Uo,...Ho,...jo,...Wo,...Go,...zo];function st(e){return new Error(`unhandled node type: ${e}`)}function nn(e){return o=>La(o,e)}function La(e,n){const o=ya(n);if(o==null)throw st(0);if(In(o)===1){const i=Ca(o);return e.plural(i.reduce((a,s)=>[...a,oo(e,s)],[]))}else return oo(e,o)}function oo(e,n){const o=Na(n);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const l=va(n).reduce((r,i)=>[...r,dn(e,i)],[]);return e.normalize(l)}}function dn(e,n){const o=In(n);switch(o){case 3:return kt(n,o);case 9:return kt(n,o);case 4:{const l=n;if(be(l,"k")&&l.k)return e.interpolate(e.named(l.k));if(be(l,"key")&&l.key)return e.interpolate(e.named(l.key));throw st(o)}case 5:{const l=n;if(be(l,"i")&&ue(l.i))return e.interpolate(e.list(l.i));if(be(l,"index")&&ue(l.index))return e.interpolate(e.list(l.index));throw st(o)}case 6:{const l=n,r=Sa(l),i=ba(l);return e.linked(dn(e,i),r?dn(e,r):void 0,e.type)}case 7:return kt(n,o);case 8:return kt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Ta="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function wa(e,n){n&&qi(e)&&Me(Dt(Ta,{source:e}))}const Aa=e=>e;let _t=Z();function Ia(e,n={}){let o=!1;const l=n.onError||Ki;return n.onError=r=>{o=!0,l(r)},{...ka(e,n),detectError:o}}function Va(e,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&D(e)){const o=le(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&wa(e,o);const r=(n.onCacheKey||Aa)(e),i=_t[r];if(i)return i;const{ast:a,detectError:s}=Ia(e,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=nn(a);return s?c:_t[r]=c}else{if(process.env.NODE_ENV!=="production"&&!Le(e))return Me(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),()=>e;const o=e.cacheKey;if(o){const l=_t[o];return l||(_t[o]=nn(e))}else return nn(e)}}let ct=null;function Oa(e){ct=e}function Da(e,n,o){ct&&ct.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:o})}const Ba=Pa("function:translate");function Pa(e){return n=>ct&&ct.emit(e,n)}const pe={INVALID_ARGUMENT:Wi,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Ra=24;function Oe(e){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:$a}:void 0)}const $a={[pe.INVALID_ARGUMENT]:"Invalid arguments",[pe.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[pe.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[pe.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[pe.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Vn(e,n){return n.locale!=null?lo(n.locale):lo(e.locale)}let on;function lo(e){if(D(e))return e;if(ee(e)){if(e.resolvedOnce&&on!=null)return on;if(e.constructor.name==="Function"){const n=e();if(xi(n))throw Oe(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return on=n}else throw Oe(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Oe(pe.NOT_SUPPORT_LOCALE_TYPE)}function Ma(e,n,o){return[...new Set([o,...se(n)?n:Y(n)?Object.keys(n):D(n)?[n]:[o]])]}function Yo(e,n,o){const l=D(o)?o:Lt,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(l);if(!i){i=[];let a=[o];for(;se(a);)a=ro(i,a,n);const s=se(n)||!K(n)?n:n.default?n.default:null;a=D(s)?[s]:s,se(a)&&ro(i,a,!1),r.__localeChainCache.set(l,i)}return i}function ro(e,n,o){let l=!0;for(let r=0;r<n.length&&le(l);r++){const i=n[r];D(i)&&(l=xa(e,n[r],o))}return l}function xa(e,n,o){let l;const r=n.split("-");do{const i=r.join("-");l=Fa(e,i,o),r.splice(-1,1)}while(r.length&&l===!0);return l}function Fa(e,n,o){let l=!1;if(!e.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const r=n.replace(/!/g,"");e.push(r),(se(o)||K(o))&&o[r]&&(l=o[r])}return l}const Fe=[];Fe[0]={w:[0],i:[3,0],"[":[4],o:[7]};Fe[1]={w:[1],".":[2],"[":[4],o:[7]};Fe[2]={w:[2],i:[3,0],0:[3,0]};Fe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Fe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Fe[5]={"'":[4,0],o:8,l:[5,0]};Fe[6]={'"':[4,0],o:8,l:[6,0]};const Ua=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ha(e){return Ua.test(e)}function za(e){const n=e.charCodeAt(0),o=e.charCodeAt(e.length-1);return n===o&&(n===34||n===39)?e.slice(1,-1):e}function Ga(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Wa(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ha(n)?za(n):"*"+n}function ja(e){const n=[];let o=-1,l=0,r=0,i,a,s,c,u,h,E;const g=[];g[0]=()=>{a===void 0?a=s:a+=s},g[1]=()=>{a!==void 0&&(n.push(a),a=void 0)},g[2]=()=>{g[0](),r++},g[3]=()=>{if(r>0)r--,l=4,g[0]();else{if(r=0,a===void 0||(a=Wa(a),a===!1))return!1;g[1]()}};function C(){const V=e[o+1];if(l===5&&V==="'"||l===6&&V==='"')return o++,s="\\"+V,g[0](),!0}for(;l!==null;)if(o++,i=e[o],!(i==="\\"&&C())){if(c=Ga(i),E=Fe[l],u=E[c]||E.l||8,u===8||(l=u[0],u[1]!==void 0&&(h=g[u[1]],h&&(s=i,h()===!1))))return;if(l===7)return n}}const io=new Map;function Ka(e,n){return Y(e)?e[n]:null}function Ya(e,n){if(!Y(e))return null;let o=io.get(n);if(o||(o=ja(n),o&&io.set(n,o)),!o)return null;const l=o.length;let r=e,i=0;for(;i<l;){const a=o[i];if(Ko.includes(a)&&Le(r))return null;const s=r[a];if(s===void 0||ee(r))return null;r=s,i++}return r}const Ee={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},qa=8,Xa={[Ee.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ee.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ee.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ee.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function qe(e,...n){return Dt(Xa[e],...n)}const Za="11.1.3",Pt=-1,Lt="en-US",Tt="",ao=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Ja(){return{upper:(e,n)=>n==="text"&&D(e)?e.toUpperCase():n==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&D(e)?e.toLowerCase():n==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&D(e)?ao(e):n==="vnode"&&Y(e)&&"__v_isVNode"in e?ao(e.children):e}}let qo;function Qa(e){qo=e}let Xo;function es(e){Xo=e}let Zo;function ts(e){Zo=e}let Jo=null;const ns=e=>{Jo=e},os=()=>Jo;let Qo=null;const so=e=>{Qo=e},ls=()=>Qo;let co=0;function rs(e={}){const n=ee(e.onWarn)?e.onWarn:Me,o=D(e.version)?e.version:Za,l=D(e.locale)||ee(e.locale)?e.locale:Lt,r=ee(l)?Lt:l,i=se(e.fallbackLocale)||K(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=K(e.messages)?e.messages:ln(r),s=K(e.datetimeFormats)?e.datetimeFormats:ln(r),c=K(e.numberFormats)?e.numberFormats:ln(r),u=de(Z(),e.modifiers,Ja()),h=e.pluralRules||Z(),E=ee(e.missing)?e.missing:null,g=le(e.missingWarn)||bt(e.missingWarn)?e.missingWarn:!0,C=le(e.fallbackWarn)||bt(e.fallbackWarn)?e.fallbackWarn:!0,V=!!e.fallbackFormat,L=!!e.unresolving,O=ee(e.postTranslation)?e.postTranslation:null,p=K(e.processor)?e.processor:null,k=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,m=ee(e.messageCompiler)?e.messageCompiler:qo;process.env.NODE_ENV!=="production"&&ee(e.messageCompiler)&&Hi(qe(Ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const b=ee(e.messageResolver)?e.messageResolver:Xo||Ka,I=ee(e.localeFallbacker)?e.localeFallbacker:Zo||Ma,N=Y(e.fallbackContext)?e.fallbackContext:void 0,x=e,H=Y(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,J=Y(x.__numberFormatters)?x.__numberFormatters:new Map,ce=Y(x.__meta)?x.__meta:{};co++;const F={version:o,cid:co,locale:l,fallbackLocale:i,messages:a,modifiers:u,pluralRules:h,missing:E,missingWarn:g,fallbackWarn:C,fallbackFormat:V,unresolving:L,postTranslation:O,processor:p,warnHtmlMessage:k,escapeParameter:S,messageCompiler:m,messageResolver:b,localeFallbacker:I,fallbackContext:N,onWarn:n,__meta:ce};return F.datetimeFormats=s,F.numberFormats=c,F.__datetimeFormatters=H,F.__numberFormatters=J,process.env.NODE_ENV!=="production"&&(F.__v_emitter=x.__v_emitter!=null?x.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Da(F,o,ce),F}const ln=e=>({[e]:Z()});function Rt(e,n){return e instanceof RegExp?e.test(n):e}function el(e,n){return e instanceof RegExp?e.test(n):e}function On(e,n,o,l,r){const{missing:i,onWarn:a}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:r,groupId:`${r}:${n}`})}if(i!==null){const s=i(e,o,n,r);return D(s)?s:n}else return process.env.NODE_ENV!=="production"&&el(l,n)&&a(qe(Ee.NOT_FOUND_KEY,{key:n,locale:o})),n}function at(e,n,o){const l=e;l.__localeChainCache=new Map,e.localeFallbacker(e,o,n)}function tl(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function is(e,n){const o=n.indexOf(e);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(tl(e,n[l]))return!0;return!1}const uo=typeof Intl<"u",nl={dateTimeFormat:uo&&typeof Intl.DateTimeFormat<"u",numberFormat:uo&&typeof Intl.NumberFormat<"u"};function fo(e,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!nl.dateTimeFormat)return i(qe(Ee.CANNOT_FORMAT_DATE)),Tt;const[c,u,h,E]=fn(...n),g=le(h.missingWarn)?h.missingWarn:e.missingWarn,C=le(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,V=!!h.part,L=Vn(e,h),O=a(e,r,L);if(!D(c)||c==="")return new Intl.DateTimeFormat(L,E).format(u);let p={},k,S=null,m=L,b=null;const I="datetime format";for(let H=0;H<O.length;H++){if(k=b=O[H],process.env.NODE_ENV!=="production"&&L!==k&&Rt(C,c)&&i(qe(Ee.FALLBACK_TO_DATE_FORMAT,{key:c,target:k})),process.env.NODE_ENV!=="production"&&L!==k){const J=e.__v_emitter;J&&J.emit("fallback",{type:I,key:c,from:m,to:b,groupId:`${I}:${c}`})}if(p=o[k]||{},S=p[c],K(S))break;On(e,c,k,g,I),m=b}if(!K(S)||!D(k))return l?Pt:c;let N=`${k}__${c}`;Bt(E)||(N=`${N}__${JSON.stringify(E)}`);let x=s.get(N);return x||(x=new Intl.DateTimeFormat(k,de({},S,E)),s.set(N,x)),V?x.formatToParts(u):x.format(u)}const ol=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function fn(...e){const[n,o,l,r]=e,i=Z();let a=Z(),s;if(D(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Oe(pe.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();s=new Date(u);try{s.toISOString()}catch{throw Oe(pe.INVALID_ISO_DATE_ARGUMENT)}}else if(Ri(n)){if(isNaN(n.getTime()))throw Oe(pe.INVALID_DATE_ARGUMENT);s=n}else if(ue(n))s=n;else throw Oe(pe.INVALID_ARGUMENT);return D(o)?i.key=o:K(o)&&Object.keys(o).forEach(c=>{ol.includes(c)?a[c]=o[c]:i[c]=o[c]}),D(l)?i.locale=l:K(l)&&(a=l),K(r)&&(a=r),[i.key||"",s,i,a]}function mo(e,n,o){const l=e;for(const r in o){const i=`${n}__${r}`;l.__datetimeFormatters.has(i)&&l.__datetimeFormatters.delete(i)}}function po(e,...n){const{numberFormats:o,unresolving:l,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!nl.numberFormat)return i(qe(Ee.CANNOT_FORMAT_NUMBER)),Tt;const[c,u,h,E]=mn(...n),g=le(h.missingWarn)?h.missingWarn:e.missingWarn,C=le(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,V=!!h.part,L=Vn(e,h),O=a(e,r,L);if(!D(c)||c==="")return new Intl.NumberFormat(L,E).format(u);let p={},k,S=null,m=L,b=null;const I="number format";for(let H=0;H<O.length;H++){if(k=b=O[H],process.env.NODE_ENV!=="production"&&L!==k&&Rt(C,c)&&i(qe(Ee.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:k})),process.env.NODE_ENV!=="production"&&L!==k){const J=e.__v_emitter;J&&J.emit("fallback",{type:I,key:c,from:m,to:b,groupId:`${I}:${c}`})}if(p=o[k]||{},S=p[c],K(S))break;On(e,c,k,g,I),m=b}if(!K(S)||!D(k))return l?Pt:c;let N=`${k}__${c}`;Bt(E)||(N=`${N}__${JSON.stringify(E)}`);let x=s.get(N);return x||(x=new Intl.NumberFormat(k,de({},S,E)),s.set(N,x)),V?x.formatToParts(u):x.format(u)}const ll=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function mn(...e){const[n,o,l,r]=e,i=Z();let a=Z();if(!ue(n))throw Oe(pe.INVALID_ARGUMENT);const s=n;return D(o)?i.key=o:K(o)&&Object.keys(o).forEach(c=>{ll.includes(c)?a[c]=o[c]:i[c]=o[c]}),D(l)?i.locale=l:K(l)&&(a=l),K(r)&&(a=r),[i.key||"",s,i,a]}function go(e,n,o){const l=e;for(const r in o){const i=`${n}__${r}`;l.__numberFormatters.has(i)&&l.__numberFormatters.delete(i)}}const as=e=>e,ss=e=>"",cs="text",us=e=>e.length===0?"":wn(e),ds=Fi;function ho(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function fs(e){const n=ue(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ue(e.named.count)||ue(e.named.n))?ue(e.named.count)?e.named.count:ue(e.named.n)?e.named.n:n:n}function ms(e,n){n.count||(n.count=e),n.n||(n.n=e)}function ps(e={}){const n=e.locale,o=fs(e),l=Y(e.pluralRules)&&D(n)&&ee(e.pluralRules[n])?e.pluralRules[n]:ho,r=Y(e.pluralRules)&&D(n)&&ee(e.pluralRules[n])?ho:void 0,i=p=>p[l(o,p.length,r)],a=e.list||[],s=p=>a[p],c=e.named||Z();ue(e.pluralIndex)&&ms(o,c);const u=p=>c[p];function h(p,k){const S=ee(e.messages)?e.messages(p,!!k):Y(e.messages)?e.messages[p]:!1;return S||(e.parent?e.parent.message(p):ss)}const E=p=>e.modifiers?e.modifiers[p]:as,g=K(e.processor)&&ee(e.processor.normalize)?e.processor.normalize:us,C=K(e.processor)&&ee(e.processor.interpolate)?e.processor.interpolate:ds,V=K(e.processor)&&D(e.processor.type)?e.processor.type:cs,O={list:s,named:u,plural:i,linked:(p,...k)=>{const[S,m]=k;let b="text",I="";k.length===1?Y(S)?(I=S.modifier||I,b=S.type||b):D(S)&&(I=S||I):k.length===2&&(D(S)&&(I=S||I),D(m)&&(b=m||b));const N=h(p,!0)(O),x=b==="vnode"&&se(N)&&I?N[0]:N;return I?E(I)(x,b):x},message:h,type:V,interpolate:C,normalize:g,values:de(Z(),a,c)};return O}const Eo=()=>"",Se=e=>ee(e);function ko(e,...n){const{fallbackFormat:o,postTranslation:l,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[c,u]=pn(...n),h=le(u.missingWarn)?u.missingWarn:e.missingWarn,E=le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=le(u.escapeParameter)?u.escapeParameter:e.escapeParameter,C=!!u.resolvedMessage,V=D(u.default)||le(u.default)?le(u.default)?i?c:()=>c:u.default:o?i?c:()=>c:null,L=o||V!=null&&(D(V)||ee(V)),O=Vn(e,u);g&&gs(u);let[p,k,S]=C?[c,O,s[O]||Z()]:rl(e,c,O,a,E,h),m=p,b=c;if(!C&&!(D(m)||Le(m)||Se(m))&&L&&(m=V,b=m),!C&&(!(D(m)||Le(m)||Se(m))||!D(k)))return r?Pt:c;if(process.env.NODE_ENV!=="production"&&D(m)&&e.messageCompiler==null)return Me(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let I=!1;const N=()=>{I=!0},x=Se(m)?m:il(e,c,k,m,b,N);if(I)return m;const H=_s(e,k,S,u),J=ps(H),ce=hs(e,x,J),F=l?l(ce,c):ce;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const he={timestamp:Date.now(),key:D(c)?c:Se(m)?m.key:"",locale:k||(Se(m)?m.locale:""),format:D(m)?m:Se(m)?m.source:"",message:F};he.meta=de({},e.__meta,os()||{}),Ba(he)}return F}function gs(e){se(e.list)?e.list=e.list.map(n=>D(n)?Zn(n):n):Y(e.named)&&Object.keys(e.named).forEach(n=>{D(e.named[n])&&(e.named[n]=Zn(e.named[n]))})}function rl(e,n,o,l,r,i){const{messages:a,onWarn:s,messageResolver:c,localeFallbacker:u}=e,h=u(e,l,o);let E=Z(),g,C=null,V=o,L=null;const O="translate";for(let p=0;p<h.length;p++){if(g=L=h[p],process.env.NODE_ENV!=="production"&&o!==g&&!tl(o,g)&&Rt(r,n)&&s(qe(Ee.FALLBACK_TO_TRANSLATE,{key:n,target:g})),process.env.NODE_ENV!=="production"&&o!==g){const b=e.__v_emitter;b&&b.emit("fallback",{type:O,key:n,from:V,to:L,groupId:`${O}:${n}`})}E=a[g]||Z();let k=null,S,m;if(process.env.NODE_ENV!=="production"&&Be&&(k=window.performance.now(),S="intlify-message-resolve-start",m="intlify-message-resolve-end",ve&&ve(S)),(C=c(E,n))===null&&(C=E[n]),process.env.NODE_ENV!=="production"&&Be){const b=window.performance.now(),I=e.__v_emitter;I&&k&&C&&I.emit("message-resolve",{type:"message-resolve",key:n,message:C,time:b-k,groupId:`${O}:${n}`}),S&&m&&ve&&Ye&&(ve(m),Ye("intlify message resolve",S,m))}if(D(C)||Le(C)||Se(C))break;if(!is(g,h)){const b=On(e,n,g,i,O);b!==n&&(C=b)}V=L}return[C,g,E]}function il(e,n,o,l,r,i){const{messageCompiler:a,warnHtmlMessage:s}=e;if(Se(l)){const g=l;return g.locale=g.locale||o,g.key=g.key||n,g}if(a==null){const g=()=>l;return g.locale=o,g.key=n,g}let c=null,u,h;process.env.NODE_ENV!=="production"&&Be&&(c=window.performance.now(),u="intlify-message-compilation-start",h="intlify-message-compilation-end",ve&&ve(u));const E=a(l,Es(e,o,r,l,s,i));if(process.env.NODE_ENV!=="production"&&Be){const g=window.performance.now(),C=e.__v_emitter;C&&c&&C.emit("message-compilation",{type:"message-compilation",message:l,time:g-c,groupId:`translate:${n}`}),u&&h&&ve&&Ye&&(ve(h),Ye("intlify message compilation",u,h))}return E.locale=o,E.key=n,E.source=l,E}function hs(e,n,o){let l=null,r,i;process.env.NODE_ENV!=="production"&&Be&&(l=window.performance.now(),r="intlify-message-evaluation-start",i="intlify-message-evaluation-end",ve&&ve(r));const a=n(o);if(process.env.NODE_ENV!=="production"&&Be){const s=window.performance.now(),c=e.__v_emitter;c&&l&&c.emit("message-evaluation",{type:"message-evaluation",value:a,time:s-l,groupId:`translate:${n.key}`}),r&&i&&ve&&Ye&&(ve(i),Ye("intlify message evaluation",r,i))}return a}function pn(...e){const[n,o,l]=e,r=Z();if(!D(n)&&!ue(n)&&!Se(n)&&!Le(n))throw Oe(pe.INVALID_ARGUMENT);const i=ue(n)?String(n):(Se(n),n);return ue(o)?r.plural=o:D(o)?r.default=o:K(o)&&!Bt(o)?r.named=o:se(o)&&(r.list=o),ue(l)?r.plural=l:D(l)?r.default=l:K(l)&&de(r,l),[i,r]}function Es(e,n,o,l,r,i){return{locale:n,key:o,warnHtmlMessage:r,onError:a=>{if(i&&i(a),process.env.NODE_ENV!=="production"){const s=ks(l),c=`Message compilation error: ${a.message}`,u=a.location&&s&&Ui(s,a.location.start.offset,a.location.end.offset),h=e.__v_emitter;h&&s&&h.emit("compile-error",{message:s,error:a.message,start:a.location&&a.location.start.offset,end:a.location&&a.location.end.offset,groupId:`translate:${o}`}),console.error(u?`${c}
17
- ${u}`:c)}else throw a},onCacheKey:a=>Bi(n,o,a)}}function ks(e){if(D(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function _s(e,n,o,l){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:h}=e,g={locale:n,modifiers:r,pluralRules:i,messages:(C,V)=>{let L=a(o,C);if(L==null&&(h||V)){const[,,O]=rl(h||e,C,n,s,c,u);L=a(O,C)}if(D(L)||Le(L)){let O=!1;const k=il(e,C,n,L,C,()=>{O=!0});return O?Eo:k}else return Se(L)?L:Eo}};return e.processor&&(g.processor=e.processor),l.list&&(g.list=l.list),l.named&&(g.named=l.named),ue(l.plural)&&(g.pluralIndex=l.plural),g}_a();/*!
16
+ */function Ni(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Le(e){return Y(e)&&Ln(e)===0&&(be(e,"b")||be(e,"body"))}const Fo=["b","body"];function Si(e){return xe(e,Fo)}const Uo=["c","cases"];function bi(e){return xe(e,Uo,[])}const Ho=["s","static"];function Li(e){return xe(e,Ho)}const zo=["i","items"];function wi(e){return xe(e,zo,[])}const Go=["t","type"];function Ln(e){return xe(e,Go)}const Wo=["v","value"];function _t(e,n){const o=xe(e,Wo);if(o!=null)return o;throw st(n)}const Ko=["m","modifier"];function Ti(e){return xe(e,Ko)}const jo=["k","key"];function Ai(e){const n=xe(e,jo);if(n)return n;throw st(6)}function xe(e,n,o){for(let l=0;l<n.length;l++){const a=n[l];if(be(e,a)&&e[a]!=null)return e[a]}return o}const Yo=[...Fo,...Uo,...Ho,...zo,...jo,...Ko,...Wo,...Go];function st(e){return new Error(`unhandled node type: ${e}`)}function Qt(e){return o=>Ii(o,e)}function Ii(e,n){const o=Si(n);if(o==null)throw st(0);if(Ln(o)===1){const r=bi(o);return e.plural(r.reduce((i,s)=>[...i,oo(e,s)],[]))}else return oo(e,o)}function oo(e,n){const o=Li(n);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const l=wi(n).reduce((a,r)=>[...a,an(e,r)],[]);return e.normalize(l)}}function an(e,n){const o=Ln(n);switch(o){case 3:return _t(n,o);case 9:return _t(n,o);case 4:{const l=n;if(be(l,"k")&&l.k)return e.interpolate(e.named(l.k));if(be(l,"key")&&l.key)return e.interpolate(e.named(l.key));throw st(o)}case 5:{const l=n;if(be(l,"i")&&ue(l.i))return e.interpolate(e.list(l.i));if(be(l,"index")&&ue(l.index))return e.interpolate(e.list(l.index));throw st(o)}case 6:{const l=n,a=Ti(l),r=Ai(l);return e.linked(an(e,r),a?an(e,a):void 0,e.type)}case 7:return _t(n,o);case 8:return _t(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Vi="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Bi(e,n){n&&Qa(e)&&Me(Dt(Vi,{source:e}))}const Oi=e=>e;let kt=Z();function Di(e,n={}){let o=!1;const l=n.onError||Za;return n.onError=a=>{o=!0,l(a)},{...vi(e,n),detectError:o}}function Pi(e,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&O(e)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Bi(e,o);const a=(n.onCacheKey||Oi)(e),r=kt[a];if(r)return r;const{ast:i,detectError:s}=Di(e,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=Qt(i);return s?c:kt[a]=c}else{if(process.env.NODE_ENV!=="production"&&!Le(e))return Me(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),()=>e;const o=e.cacheKey;if(o){const l=kt[o];return l||(kt[o]=Qt(e))}else return Qt(e)}}let ct=null;function $i(e){ct=e}function Ri(e,n,o){ct&&ct.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:o})}const Mi=xi("function:translate");function xi(e){return n=>ct&&ct.emit(e,n)}const pe={INVALID_ARGUMENT:qa,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Fi=24;function Be(e){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:Ui}:void 0)}const Ui={[pe.INVALID_ARGUMENT]:"Invalid arguments",[pe.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[pe.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[pe.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[pe.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function wn(e,n){return n.locale!=null?lo(n.locale):lo(e.locale)}let en;function lo(e){if(O(e))return e;if(ee(e)){if(e.resolvedOnce&&en!=null)return en;if(e.constructor.name==="Function"){const n=e();if(za(n))throw Be(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return en=n}else throw Be(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Be(pe.NOT_SUPPORT_LOCALE_TYPE)}function Hi(e,n,o){return[...new Set([o,...se(n)?n:Y(n)?Object.keys(n):O(n)?[n]:[o]])]}function qo(e,n,o){const l=O(o)?o:wt,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(l);if(!r){r=[];let i=[o];for(;se(i);)i=ro(r,i,n);const s=se(n)||!j(n)?n:n.default?n.default:null;i=O(s)?[s]:s,se(i)&&ro(r,i,!1),a.__localeChainCache.set(l,r)}return r}function ro(e,n,o){let l=!0;for(let a=0;a<n.length&&ae(l);a++){const r=n[a];O(r)&&(l=zi(e,n[a],o))}return l}function zi(e,n,o){let l;const a=n.split("-");do{const r=a.join("-");l=Gi(e,r,o),a.splice(-1,1)}while(a.length&&l===!0);return l}function Gi(e,n,o){let l=!1;if(!e.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const a=n.replace(/!/g,"");e.push(a),(se(o)||j(o))&&o[a]&&(l=o[a])}return l}const Fe=[];Fe[0]={w:[0],i:[3,0],"[":[4],o:[7]};Fe[1]={w:[1],".":[2],"[":[4],o:[7]};Fe[2]={w:[2],i:[3,0],0:[3,0]};Fe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Fe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Fe[5]={"'":[4,0],o:8,l:[5,0]};Fe[6]={'"':[4,0],o:8,l:[6,0]};const Wi=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ki(e){return Wi.test(e)}function ji(e){const n=e.charCodeAt(0),o=e.charCodeAt(e.length-1);return n===o&&(n===34||n===39)?e.slice(1,-1):e}function Yi(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function qi(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ki(n)?ji(n):"*"+n}function Xi(e){const n=[];let o=-1,l=0,a=0,r,i,s,c,u,E,g;const h=[];h[0]=()=>{i===void 0?i=s:i+=s},h[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},h[2]=()=>{h[0](),a++},h[3]=()=>{if(a>0)a--,l=4,h[0]();else{if(a=0,i===void 0||(i=qi(i),i===!1))return!1;h[1]()}};function _(){const A=e[o+1];if(l===5&&A==="'"||l===6&&A==='"')return o++,s="\\"+A,h[0](),!0}for(;l!==null;)if(o++,r=e[o],!(r==="\\"&&_())){if(c=Yi(r),g=Fe[l],u=g[c]||g.l||8,u===8||(l=u[0],u[1]!==void 0&&(E=h[u[1]],E&&(s=r,E()===!1))))return;if(l===7)return n}}const ao=new Map;function Zi(e,n){return Y(e)?e[n]:null}function Ji(e,n){if(!Y(e))return null;let o=ao.get(n);if(o||(o=Xi(n),o&&ao.set(n,o)),!o)return null;const l=o.length;let a=e,r=0;for(;r<l;){const i=o[r];if(Yo.includes(i)&&Le(a))return null;const s=a[i];if(s===void 0||ee(a))return null;a=s,r++}return a}const Ee={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},Qi=8,es={[Ee.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[Ee.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[Ee.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[Ee.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[Ee.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[Ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function qe(e,...n){return Dt(es[e],...n)}const ts="11.1.3",$t=-1,wt="en-US",Tt="",io=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ns(){return{upper:(e,n)=>n==="text"&&O(e)?e.toUpperCase():n==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&O(e)?e.toLowerCase():n==="vnode"&&Y(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&O(e)?io(e):n==="vnode"&&Y(e)&&"__v_isVNode"in e?io(e.children):e}}let Xo;function os(e){Xo=e}let Zo;function ls(e){Zo=e}let Jo;function rs(e){Jo=e}let Qo=null;const as=e=>{Qo=e},is=()=>Qo;let el=null;const so=e=>{el=e},ss=()=>el;let co=0;function cs(e={}){const n=ee(e.onWarn)?e.onWarn:Me,o=O(e.version)?e.version:ts,l=O(e.locale)||ee(e.locale)?e.locale:wt,a=ee(l)?wt:l,r=se(e.fallbackLocale)||j(e.fallbackLocale)||O(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=j(e.messages)?e.messages:tn(a),s=j(e.datetimeFormats)?e.datetimeFormats:tn(a),c=j(e.numberFormats)?e.numberFormats:tn(a),u=de(Z(),e.modifiers,ns()),E=e.pluralRules||Z(),g=ee(e.missing)?e.missing:null,h=ae(e.missingWarn)||Lt(e.missingWarn)?e.missingWarn:!0,_=ae(e.fallbackWarn)||Lt(e.fallbackWarn)?e.fallbackWarn:!0,A=!!e.fallbackFormat,S=!!e.unresolving,C=ee(e.postTranslation)?e.postTranslation:null,f=j(e.processor)?e.processor:null,k=ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,p=ee(e.messageCompiler)?e.messageCompiler:Xo;process.env.NODE_ENV!=="production"&&ee(e.messageCompiler)&&Ka(qe(Ee.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const w=ee(e.messageResolver)?e.messageResolver:Zo||Zi,V=ee(e.localeFallbacker)?e.localeFallbacker:Jo||Hi,v=Y(e.fallbackContext)?e.fallbackContext:void 0,x=e,H=Y(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,J=Y(x.__numberFormatters)?x.__numberFormatters:new Map,ce=Y(x.__meta)?x.__meta:{};co++;const F={version:o,cid:co,locale:l,fallbackLocale:r,messages:i,modifiers:u,pluralRules:E,missing:g,missingWarn:h,fallbackWarn:_,fallbackFormat:A,unresolving:S,postTranslation:C,processor:f,warnHtmlMessage:k,escapeParameter:b,messageCompiler:p,messageResolver:w,localeFallbacker:V,fallbackContext:v,onWarn:n,__meta:ce};return F.datetimeFormats=s,F.numberFormats=c,F.__datetimeFormatters=H,F.__numberFormatters=J,process.env.NODE_ENV!=="production"&&(F.__v_emitter=x.__v_emitter!=null?x.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ri(F,o,ce),F}const tn=e=>({[e]:Z()});function Rt(e,n){return e instanceof RegExp?e.test(n):e}function tl(e,n){return e instanceof RegExp?e.test(n):e}function Tn(e,n,o,l,a){const{missing:r,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:a,groupId:`${a}:${n}`})}if(r!==null){const s=r(e,o,n,a);return O(s)?s:n}else return process.env.NODE_ENV!=="production"&&tl(l,n)&&i(qe(Ee.NOT_FOUND_KEY,{key:n,locale:o})),n}function it(e,n,o){const l=e;l.__localeChainCache=new Map,e.localeFallbacker(e,o,n)}function nl(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function us(e,n){const o=n.indexOf(e);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(nl(e,n[l]))return!0;return!1}const uo=typeof Intl<"u",ol={dateTimeFormat:uo&&typeof Intl.DateTimeFormat<"u",numberFormat:uo&&typeof Intl.NumberFormat<"u"};function fo(e,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!ol.dateTimeFormat)return r(qe(Ee.CANNOT_FORMAT_DATE)),Tt;const[c,u,E,g]=sn(...n),h=ae(E.missingWarn)?E.missingWarn:e.missingWarn,_=ae(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn,A=!!E.part,S=wn(e,E),C=i(e,a,S);if(!O(c)||c==="")return new Intl.DateTimeFormat(S,g).format(u);let f={},k,b=null,p=S,w=null;const V="datetime format";for(let H=0;H<C.length;H++){if(k=w=C[H],process.env.NODE_ENV!=="production"&&S!==k&&Rt(_,c)&&r(qe(Ee.FALLBACK_TO_DATE_FORMAT,{key:c,target:k})),process.env.NODE_ENV!=="production"&&S!==k){const J=e.__v_emitter;J&&J.emit("fallback",{type:V,key:c,from:p,to:w,groupId:`${V}:${c}`})}if(f=o[k]||{},b=f[c],j(b))break;Tn(e,c,k,h,V),p=w}if(!j(b)||!O(k))return l?$t:c;let v=`${k}__${c}`;Pt(g)||(v=`${v}__${JSON.stringify(g)}`);let x=s.get(v);return x||(x=new Intl.DateTimeFormat(k,de({},b,g)),s.set(v,x)),A?x.formatToParts(u):x.format(u)}const ll=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function sn(...e){const[n,o,l,a]=e,r=Z();let i=Z(),s;if(O(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Be(pe.INVALID_ISO_DATE_ARGUMENT);const u=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();s=new Date(u);try{s.toISOString()}catch{throw Be(pe.INVALID_ISO_DATE_ARGUMENT)}}else if(Fa(n)){if(isNaN(n.getTime()))throw Be(pe.INVALID_DATE_ARGUMENT);s=n}else if(ue(n))s=n;else throw Be(pe.INVALID_ARGUMENT);return O(o)?r.key=o:j(o)&&Object.keys(o).forEach(c=>{ll.includes(c)?i[c]=o[c]:r[c]=o[c]}),O(l)?r.locale=l:j(l)&&(i=l),j(a)&&(i=a),[r.key||"",s,r,i]}function mo(e,n,o){const l=e;for(const a in o){const r=`${n}__${a}`;l.__datetimeFormatters.has(r)&&l.__datetimeFormatters.delete(r)}}function po(e,...n){const{numberFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!ol.numberFormat)return r(qe(Ee.CANNOT_FORMAT_NUMBER)),Tt;const[c,u,E,g]=cn(...n),h=ae(E.missingWarn)?E.missingWarn:e.missingWarn,_=ae(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn,A=!!E.part,S=wn(e,E),C=i(e,a,S);if(!O(c)||c==="")return new Intl.NumberFormat(S,g).format(u);let f={},k,b=null,p=S,w=null;const V="number format";for(let H=0;H<C.length;H++){if(k=w=C[H],process.env.NODE_ENV!=="production"&&S!==k&&Rt(_,c)&&r(qe(Ee.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:k})),process.env.NODE_ENV!=="production"&&S!==k){const J=e.__v_emitter;J&&J.emit("fallback",{type:V,key:c,from:p,to:w,groupId:`${V}:${c}`})}if(f=o[k]||{},b=f[c],j(b))break;Tn(e,c,k,h,V),p=w}if(!j(b)||!O(k))return l?$t:c;let v=`${k}__${c}`;Pt(g)||(v=`${v}__${JSON.stringify(g)}`);let x=s.get(v);return x||(x=new Intl.NumberFormat(k,de({},b,g)),s.set(v,x)),A?x.formatToParts(u):x.format(u)}const rl=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function cn(...e){const[n,o,l,a]=e,r=Z();let i=Z();if(!ue(n))throw Be(pe.INVALID_ARGUMENT);const s=n;return O(o)?r.key=o:j(o)&&Object.keys(o).forEach(c=>{rl.includes(c)?i[c]=o[c]:r[c]=o[c]}),O(l)?r.locale=l:j(l)&&(i=l),j(a)&&(i=a),[r.key||"",s,r,i]}function go(e,n,o){const l=e;for(const a in o){const r=`${n}__${a}`;l.__numberFormatters.has(r)&&l.__numberFormatters.delete(r)}}const ds=e=>e,fs=e=>"",ms="text",ps=e=>e.length===0?"":Sn(e),gs=Ga;function ho(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function hs(e){const n=ue(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ue(e.named.count)||ue(e.named.n))?ue(e.named.count)?e.named.count:ue(e.named.n)?e.named.n:n:n}function Es(e,n){n.count||(n.count=e),n.n||(n.n=e)}function _s(e={}){const n=e.locale,o=hs(e),l=Y(e.pluralRules)&&O(n)&&ee(e.pluralRules[n])?e.pluralRules[n]:ho,a=Y(e.pluralRules)&&O(n)&&ee(e.pluralRules[n])?ho:void 0,r=f=>f[l(o,f.length,a)],i=e.list||[],s=f=>i[f],c=e.named||Z();ue(e.pluralIndex)&&Es(o,c);const u=f=>c[f];function E(f,k){const b=ee(e.messages)?e.messages(f,!!k):Y(e.messages)?e.messages[f]:!1;return b||(e.parent?e.parent.message(f):fs)}const g=f=>e.modifiers?e.modifiers[f]:ds,h=j(e.processor)&&ee(e.processor.normalize)?e.processor.normalize:ps,_=j(e.processor)&&ee(e.processor.interpolate)?e.processor.interpolate:gs,A=j(e.processor)&&O(e.processor.type)?e.processor.type:ms,C={list:s,named:u,plural:r,linked:(f,...k)=>{const[b,p]=k;let w="text",V="";k.length===1?Y(b)?(V=b.modifier||V,w=b.type||w):O(b)&&(V=b||V):k.length===2&&(O(b)&&(V=b||V),O(p)&&(w=p||w));const v=E(f,!0)(C),x=w==="vnode"&&se(v)&&V?v[0]:v;return V?g(V)(x,w):x},message:E,type:A,interpolate:_,normalize:h,values:de(Z(),i,c)};return C}const Eo=()=>"",Se=e=>ee(e);function _o(e,...n){const{fallbackFormat:o,postTranslation:l,unresolving:a,messageCompiler:r,fallbackLocale:i,messages:s}=e,[c,u]=un(...n),E=ae(u.missingWarn)?u.missingWarn:e.missingWarn,g=ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,h=ae(u.escapeParameter)?u.escapeParameter:e.escapeParameter,_=!!u.resolvedMessage,A=O(u.default)||ae(u.default)?ae(u.default)?r?c:()=>c:u.default:o?r?c:()=>c:null,S=o||A!=null&&(O(A)||ee(A)),C=wn(e,u);h&&ks(u);let[f,k,b]=_?[c,C,s[C]||Z()]:al(e,c,C,i,g,E),p=f,w=c;if(!_&&!(O(p)||Le(p)||Se(p))&&S&&(p=A,w=p),!_&&(!(O(p)||Le(p)||Se(p))||!O(k)))return a?$t:c;if(process.env.NODE_ENV!=="production"&&O(p)&&e.messageCompiler==null)return Me(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let V=!1;const v=()=>{V=!0},x=Se(p)?p:il(e,c,k,p,w,v);if(V)return p;const H=Ns(e,k,b,u),J=_s(H),ce=ys(e,x,J),F=l?l(ce,c):ce;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const he={timestamp:Date.now(),key:O(c)?c:Se(p)?p.key:"",locale:k||(Se(p)?p.locale:""),format:O(p)?p:Se(p)?p.source:"",message:F};he.meta=de({},e.__meta,is()||{}),Mi(he)}return F}function ks(e){se(e.list)?e.list=e.list.map(n=>O(n)?Zn(n):n):Y(e.named)&&Object.keys(e.named).forEach(n=>{O(e.named[n])&&(e.named[n]=Zn(e.named[n]))})}function al(e,n,o,l,a,r){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=e,E=u(e,l,o);let g=Z(),h,_=null,A=o,S=null;const C="translate";for(let f=0;f<E.length;f++){if(h=S=E[f],process.env.NODE_ENV!=="production"&&o!==h&&!nl(o,h)&&Rt(a,n)&&s(qe(Ee.FALLBACK_TO_TRANSLATE,{key:n,target:h})),process.env.NODE_ENV!=="production"&&o!==h){const w=e.__v_emitter;w&&w.emit("fallback",{type:C,key:n,from:A,to:S,groupId:`${C}:${n}`})}g=i[h]||Z();let k=null,b,p;if(process.env.NODE_ENV!=="production"&&De&&(k=window.performance.now(),b="intlify-message-resolve-start",p="intlify-message-resolve-end",Ne&&Ne(b)),(_=c(g,n))===null&&(_=g[n]),process.env.NODE_ENV!=="production"&&De){const w=window.performance.now(),V=e.__v_emitter;V&&k&&_&&V.emit("message-resolve",{type:"message-resolve",key:n,message:_,time:w-k,groupId:`${C}:${n}`}),b&&p&&Ne&&Ye&&(Ne(p),Ye("intlify message resolve",b,p))}if(O(_)||Le(_)||Se(_))break;if(!us(h,E)){const w=Tn(e,n,h,r,C);w!==n&&(_=w)}A=S}return[_,h,g]}function il(e,n,o,l,a,r){const{messageCompiler:i,warnHtmlMessage:s}=e;if(Se(l)){const h=l;return h.locale=h.locale||o,h.key=h.key||n,h}if(i==null){const h=()=>l;return h.locale=o,h.key=n,h}let c=null,u,E;process.env.NODE_ENV!=="production"&&De&&(c=window.performance.now(),u="intlify-message-compilation-start",E="intlify-message-compilation-end",Ne&&Ne(u));const g=i(l,Cs(e,o,a,l,s,r));if(process.env.NODE_ENV!=="production"&&De){const h=window.performance.now(),_=e.__v_emitter;_&&c&&_.emit("message-compilation",{type:"message-compilation",message:l,time:h-c,groupId:`translate:${n}`}),u&&E&&Ne&&Ye&&(Ne(E),Ye("intlify message compilation",u,E))}return g.locale=o,g.key=n,g.source=l,g}function ys(e,n,o){let l=null,a,r;process.env.NODE_ENV!=="production"&&De&&(l=window.performance.now(),a="intlify-message-evaluation-start",r="intlify-message-evaluation-end",Ne&&Ne(a));const i=n(o);if(process.env.NODE_ENV!=="production"&&De){const s=window.performance.now(),c=e.__v_emitter;c&&l&&c.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-l,groupId:`translate:${n.key}`}),a&&r&&Ne&&Ye&&(Ne(r),Ye("intlify message evaluation",a,r))}return i}function un(...e){const[n,o,l]=e,a=Z();if(!O(n)&&!ue(n)&&!Se(n)&&!Le(n))throw Be(pe.INVALID_ARGUMENT);const r=ue(n)?String(n):(Se(n),n);return ue(o)?a.plural=o:O(o)?a.default=o:j(o)&&!Pt(o)?a.named=o:se(o)&&(a.list=o),ue(l)?a.plural=l:O(l)?a.default=l:j(l)&&de(a,l),[r,a]}function Cs(e,n,o,l,a,r){return{locale:n,key:o,warnHtmlMessage:a,onError:i=>{if(r&&r(i),process.env.NODE_ENV!=="production"){const s=vs(l),c=`Message compilation error: ${i.message}`,u=i.location&&s&&Wa(s,i.location.start.offset,i.location.end.offset),E=e.__v_emitter;E&&s&&E.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${o}`}),console.error(u?`${c}
17
+ ${u}`:c)}else throw i},onCacheKey:i=>Ma(n,o,i)}}function vs(e){if(O(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Ns(e,n,o,l){const{modifiers:a,pluralRules:r,messageResolver:i,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:E}=e,h={locale:n,modifiers:a,pluralRules:r,messages:(_,A)=>{let S=i(o,_);if(S==null&&(E||A)){const[,,C]=al(E||e,_,n,s,c,u);S=i(C,_)}if(O(S)||Le(S)){let C=!1;const k=il(e,_,n,S,_,()=>{C=!0});return C?Eo:k}else return Se(S)?S:Eo}};return e.processor&&(h.processor=e.processor),l.list&&(h.list=l.list),l.named&&(h.named=l.named),ue(l.plural)&&(h.pluralIndex=l.plural),h}Ni();/*!
18
18
  * vue-i18n v11.1.3
19
19
  * (c) 2025 kazuya kawaguchi
20
20
  * Released under the MIT License.
21
- */const ys="11.1.3";function Cs(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ke().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ke().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ke().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ke().__INTLIFY_PROD_DEVTOOLS__=!1)}const fe={UNEXPECTED_RETURN_TYPE:Ra,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function ut(e,...n){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:Ns,args:n}:void 0)}const Ns={[fe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[fe.INVALID_ARGUMENT]:"Invalid argument",[fe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[fe.NOT_INSTALLED]:"Need to install with `app.use` function",[fe.UNEXPECTED_ERROR]:"Unexpected error",[fe.REQUIRED_VALUE]:"Required in value: {0}",[fe.INVALID_VALUE]:"Invalid value",[fe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[fe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[fe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[fe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},gn=Pe("__translateVNode"),hn=Pe("__datetimeParts"),En=Pe("__numberParts"),kn=Pe("__enableEmitter"),_n=Pe("__disableEmitter"),vs=Pe("__setPluralRules"),al=Pe("__injectWithOption"),yn=Pe("__dispose"),$e={FALLBACK_TO_ROOT:qa,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12},Ss={[$e.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[$e.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[$e.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[$e.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
22
- About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[$e.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."};function Dn(e,...n){return Dt(Ss[e],...n)}function dt(e){if(!Y(e)||Le(e))return e;for(const n in e)if(be(e,n))if(!n.includes("."))Y(e[n])&&dt(e[n]);else{const o=n.split("."),l=o.length-1;let r=e,i=!1;for(let a=0;a<l;a++){if(o[a]==="__proto__")throw new Error(`unsafe key: ${o[a]}`);if(o[a]in r||(r[o[a]]=Z()),!Y(r[o[a]])){process.env.NODE_ENV!=="production"&&Me(Dn($e.IGNORE_OBJ_FLATTEN,{key:o[a]})),i=!0;break}r=r[o[a]]}if(i||(Le(r)?Ko.includes(o[l])||delete e[n]:(r[o[l]]=e[n],delete e[n])),!Le(r)){const a=r[o[l]];Y(a)&&dt(a)}}return e}function sl(e,n){const{messages:o,__i18n:l,messageResolver:r,flatJson:i}=n,a=K(o)?o:se(l)?Z():{[e]:Z()};if(se(l)&&l.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(a[c]=a[c]||Z(),St(u,a[c])):St(u,a)}else D(s)&&St(JSON.parse(s),a)}),r==null&&i)for(const s in a)be(a,s)&&dt(a[s]);return a}function cl(e){return e.type}function bs(e,n,o){let l=Y(n.messages)?n.messages:Z();"__i18nGlobal"in o&&(l=sl(e.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const r=Object.keys(l);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,l[i])});{if(Y(n.datetimeFormats)){const i=Object.keys(n.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,n.datetimeFormats[a])})}if(Y(n.numberFormats)){const i=Object.keys(n.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,n.numberFormats[a])})}}}function _o(e){return t.createVNode(t.Text,null,e,0)}const yo="__INTLIFY_META__",Co=()=>[],Ls=()=>!1;let No=0;function vo(e){return(n,o,l,r)=>e(o,l,t.getCurrentInstance()||void 0,r)}const Ts=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=cl(e)[yo])?{[yo]:n}:null};function ws(e={}){const{__root:n,__injectWithOption:o}=e,l=n===void 0,r=e.flatJson,i=Be?t.ref:t.shallowRef;let a=le(e.inheritLocale)?e.inheritLocale:!0;const s=i(n&&a?n.locale.value:D(e.locale)?e.locale:Lt),c=i(n&&a?n.fallbackLocale.value:D(e.fallbackLocale)||se(e.fallbackLocale)||K(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=i(sl(s.value,e)),h=i(K(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),E=i(K(e.numberFormats)?e.numberFormats:{[s.value]:{}});let g=n?n.missingWarn:le(e.missingWarn)||bt(e.missingWarn)?e.missingWarn:!0,C=n?n.fallbackWarn:le(e.fallbackWarn)||bt(e.fallbackWarn)?e.fallbackWarn:!0,V=n?n.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,L=!!e.fallbackFormat,O=ee(e.missing)?e.missing:null,p=ee(e.missing)?vo(e.missing):null,k=ee(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter;const b=n?n.modifiers:K(e.modifiers)?e.modifiers:{};let I=e.pluralRules||n&&n.pluralRules,N;N=(()=>{l&&so(null);const _={version:ys,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:b,pluralRules:I,missing:p===null?void 0:p,missingWarn:g,fallbackWarn:C,fallbackFormat:L,unresolving:!0,postTranslation:k===null?void 0:k,warnHtmlMessage:S,escapeParameter:m,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};_.datetimeFormats=h.value,_.numberFormats=E.value,_.__datetimeFormatters=K(N)?N.__datetimeFormatters:void 0,_.__numberFormatters=K(N)?N.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(_.__v_emitter=K(N)?N.__v_emitter:void 0);const w=rs(_);return l&&so(w),w})(),at(N,s.value,c.value);function H(){return[s.value,c.value,u.value,h.value,E.value]}const J=t.computed({get:()=>s.value,set:_=>{N.locale=_,s.value=_}}),ce=t.computed({get:()=>c.value,set:_=>{N.fallbackLocale=_,c.value=_,at(N,s.value,_)}}),F=t.computed(()=>u.value),he=t.computed(()=>h.value),Ae=t.computed(()=>E.value);function P(){return ee(k)?k:null}function A(_){k=_,N.postTranslation=_}function z(){return O}function R(_){_!==null&&(p=vo(_)),O=_,N.missing=p}function Ie(_,w){return _!=="translate"||!w.resolvedMessage}const me=(_,w,q,oe,ze,pt)=>{H();let Ze;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(N.fallbackContext=n?ls():void 0),Ze=_(N)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(N.fallbackContext=void 0)}if(q!=="translate exists"&&ue(Ze)&&Ze===Pt||q==="translate exists"&&!Ze){const[Ge,Ql]=w();if(process.env.NODE_ENV!=="production"&&n&&D(Ge)&&Ie(q,Ql)&&(V&&(Rt(C,Ge)||el(g,Ge))&&Me(Dn($e.FALLBACK_TO_ROOT,{key:Ge,type:q})),process.env.NODE_ENV!=="production")){const{__v_emitter:zn}=N;zn&&V&&zn.emit("fallback",{type:q,key:Ge,to:"global",groupId:`${q}:${Ge}`})}return n&&V?oe(n):ze(Ge)}else{if(pt(Ze))return Ze;throw ut(fe.UNEXPECTED_RETURN_TYPE)}};function Ue(..._){return me(w=>Reflect.apply(ko,null,[w,..._]),()=>pn(..._),"translate",w=>Reflect.apply(w.t,w,[..._]),w=>w,w=>D(w))}function Gt(..._){const[w,q,oe]=_;if(oe&&!Y(oe))throw ut(fe.INVALID_ARGUMENT);return Ue(w,q,de({resolvedMessage:!0},oe||{}))}function Wt(..._){return me(w=>Reflect.apply(fo,null,[w,..._]),()=>fn(..._),"datetime format",w=>Reflect.apply(w.d,w,[..._]),()=>Tt,w=>D(w))}function jt(..._){return me(w=>Reflect.apply(po,null,[w,..._]),()=>mn(..._),"number format",w=>Reflect.apply(w.n,w,[..._]),()=>Tt,w=>D(w))}function Kt(_){return _.map(w=>D(w)||ue(w)||le(w)?_o(String(w)):w)}const Yt={normalize:Kt,interpolate:_=>_,type:"vnode"};function mt(..._){return me(w=>{let q;const oe=w;try{oe.processor=Yt,q=Reflect.apply(ko,null,[oe,..._])}finally{oe.processor=null}return q},()=>pn(..._),"translate",w=>w[gn](..._),w=>[_o(w)],w=>se(w))}function qt(..._){return me(w=>Reflect.apply(po,null,[w,..._]),()=>mn(..._),"number format",w=>w[En](..._),Co,w=>D(w)||se(w))}function Xt(..._){return me(w=>Reflect.apply(fo,null,[w,..._]),()=>fn(..._),"datetime format",w=>w[hn](..._),Co,w=>D(w)||se(w))}function Zt(_){I=_,N.pluralRules=I}function Jt(_,w){return me(()=>{if(!_)return!1;const q=D(w)?w:s.value,oe=He(q),ze=N.messageResolver(oe,_);return Le(ze)||Se(ze)||D(ze)},()=>[_],"translate exists",q=>Reflect.apply(q.te,q,[_,w]),Ls,q=>le(q))}function lt(_){let w=null;const q=Yo(N,c.value,s.value);for(let oe=0;oe<q.length;oe++){const ze=u.value[q[oe]]||{},pt=N.messageResolver(ze,_);if(pt!=null){w=pt;break}}return w}function rt(_){const w=lt(_);return w??(n?n.tm(_)||{}:{})}function He(_){return u.value[_]||{}}function it(_,w){if(r){const q={[_]:w};for(const oe in q)be(q,oe)&&dt(q[oe]);w=q[_]}u.value[_]=w,N.messages=u.value}function Qt(_,w){u.value[_]=u.value[_]||{};const q={[_]:w};if(r)for(const oe in q)be(q,oe)&&dt(q[oe]);w=q[_],St(w,u.value[_]),N.messages=u.value}function d(_){return h.value[_]||{}}function f(_,w){h.value[_]=w,N.datetimeFormats=h.value,mo(N,_,w)}function v(_,w){h.value[_]=de(h.value[_]||{},w),N.datetimeFormats=h.value,mo(N,_,w)}function $(_){return E.value[_]||{}}function te(_,w){E.value[_]=w,N.numberFormats=E.value,go(N,_,w)}function ne(_,w){E.value[_]=de(E.value[_]||{},w),N.numberFormats=E.value,go(N,_,w)}No++,n&&Be&&(t.watch(n.locale,_=>{a&&(s.value=_,N.locale=_,at(N,s.value,c.value))}),t.watch(n.fallbackLocale,_=>{a&&(c.value=_,N.fallbackLocale=_,at(N,s.value,c.value))}));const j={id:No,locale:J,fallbackLocale:ce,get inheritLocale(){return a},set inheritLocale(_){a=_,_&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,at(N,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:F,get modifiers(){return b},get pluralRules(){return I||{}},get isGlobal(){return l},get missingWarn(){return g},set missingWarn(_){g=_,N.missingWarn=g},get fallbackWarn(){return C},set fallbackWarn(_){C=_,N.fallbackWarn=C},get fallbackRoot(){return V},set fallbackRoot(_){V=_},get fallbackFormat(){return L},set fallbackFormat(_){L=_,N.fallbackFormat=L},get warnHtmlMessage(){return S},set warnHtmlMessage(_){S=_,N.warnHtmlMessage=_},get escapeParameter(){return m},set escapeParameter(_){m=_,N.escapeParameter=_},t:Ue,getLocaleMessage:He,setLocaleMessage:it,mergeLocaleMessage:Qt,getPostTranslationHandler:P,setPostTranslationHandler:A,getMissingHandler:z,setMissingHandler:R,[vs]:Zt};return j.datetimeFormats=he,j.numberFormats=Ae,j.rt=Gt,j.te=Jt,j.tm=rt,j.d=Wt,j.n=jt,j.getDateTimeFormat=d,j.setDateTimeFormat=f,j.mergeDateTimeFormat=v,j.getNumberFormat=$,j.setNumberFormat=te,j.mergeNumberFormat=ne,j[al]=o,j[gn]=mt,j[hn]=Xt,j[En]=qt,process.env.NODE_ENV!=="production"&&(j[kn]=_=>{N.__v_emitter=_},j[_n]=()=>{N.__v_emitter=void 0}),j}function So(e,n){}const Bn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function As({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((l,r)=>[...l,...r.type===t.Fragment?r.children:[r]],[]):n.reduce((o,l)=>{const r=e[l];return r&&(o[l]=r()),o},Z())}function ul(){return t.Fragment}de({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ue(e)||!isNaN(e)}},Bn);function Is(e){return se(e)&&!D(e[0])}function dl(e,n,o,l){const{slots:r,attrs:i}=n;return()=>{const a={part:!0};let s=Z();e.locale&&(a.locale=e.locale),D(e.format)?a.key=e.format:Y(e.format)&&(D(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((g,C)=>o.includes(C)?de(Z(),g,{[C]:e.format[C]}):g,Z()));const c=l(e.value,a,s);let u=[a.key];se(c)?u=c.map((g,C)=>{const V=r[g.type],L=V?V({[g.type]:g.value,index:C,parts:c}):[g.value];return Is(L)&&(L[0].key=`${g.type}-${C}`),L}):D(c)&&(u=[c]);const h=de(Z(),i),E=D(e.tag)||Y(e.tag)?e.tag:ul();return t.h(E,h,u)}}de({value:{type:Number,required:!0},format:{type:[String,Object]}},Bn);const Vs=Pe("global-vue-i18n");function $t(e={}){const n=t.getCurrentInstance();if(n==null)throw ut(fe.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw ut(fe.NOT_INSTALLED);const o=Os(n),l=Bs(o),r=cl(n),i=Ds(e,r);if(i==="global")return bs(l,e,r),l;if(i==="parent"){let c=Ps(o,n,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Me(Dn($e.NOT_FOUND_PARENT_SCOPE)),c=l),c}const a=o;let s=a.__getInstance(n);if(s==null){const c=de({},e);"__i18n"in r&&(c.__i18n=r.__i18n),l&&(c.__root=l),s=ws(c),a.__composerExtend&&(s[yn]=a.__composerExtend(s)),$s(a,n,s),a.__setInstance(n,s)}return s}function Os(e){const n=t.inject(e.isCE?Vs:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw ut(e.isCE?fe.NOT_INSTALLED_WITH_PROVIDE:fe.UNEXPECTED_ERROR);return n}function Ds(e,n){return Bt(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function Bs(e){return e.mode==="composition"?e.global:e.global.__composer}function Ps(e,n,o=!1){let l=null;const r=n.root;let i=Rs(n,o);for(;i!=null;){const a=e;if(e.mode==="composition")l=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(i);s!=null&&(l=s.__composer,o&&l&&!l[al]&&(l=null))}if(l!=null||r===i)break;i=i.parent}return l}function Rs(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function $s(e,n,o){let l=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,l=zi();const r=o;r[kn]&&r[kn](l),l.on("*",So)}},n),t.onUnmounted(()=>{const r=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",So),r[_n]&&r[_n](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const i=r[yn];i&&(i(),delete r[yn])},n)}de({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bn);Cs();Qa(Va);es(Ya);ts(Yo);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Ke();e.__INTLIFY__=!0,Oa(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const X=t.defineComponent({__name:"Tooltip",props:{title:{default:void 0},placement:{default:"top"}},setup(e){let n;typeof document<"u"&&(n=import("bootstrap"));const o=e,l=t.ref(),r=t.ref(),i=t.ref();return t.onMounted(async()=>{t.nextTick(async()=>{const a=await n;typeof document<"u"&&r.value&&i.value&&(l.value=new a.Tooltip(r.value,{trigger:"hover",html:!0,placement:o.placement,title:i.value.innerHTML,customClass:"tooltip-custom"}))})}),t.onBeforeUnmount(async()=>{var a;(a=l.value)==null||a.dispose()}),(a,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("span",t.mergeProps({ref_key:"$tooltip",ref:r},a.$attrs),[t.renderSlot(a.$slots,"default")],16),t.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:i},[t.renderSlot(a.$slots,"content",{},()=>[t.createTextVNode(t.toDisplayString(a.title),1)])],512)],64))}}),Ms=t.defineComponent({name:"TaskIcon",__name:"TaskIcon",props:{customIcon:{},cls:{},theme:{},icons:{},onlyIcon:{type:Boolean},variable:{}},setup(e){const n=e,o=t.computed(()=>`data:image/svg+xml;base64,${i.value}`),l=t.computed(()=>({flowable:a.value?a.value.flowable:!1})),r=t.computed(()=>({backgroundImage:`url(${o.value})`})),i=t.computed(()=>{let c=a.value&&a.value.icon?window.atob(a.value.icon):void 0;c||(c='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="0.75em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 384 512"><path d="M288 32H0v448h384V128l-96-96zm64 416H32V64h224l96 96v288z" fill="currentColor"/></svg>');const u=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0;let h=Ne(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(h=(n.theme==="dark"?Ne("--bs-gray-900"):Ne("--bs-black"))??h),n.variable&&(h=Ne(n.variable)??h),c=c.replace(/currentColor/g,h),window.btoa(c)}),a=t.computed(()=>n.cls?(n.icons||{})[s(n.cls)]:n.customIcon);function s(c){return c.includes("$")?c.substring(0,c.indexOf("$")):c}return(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([l.value,"wrapper"])},[c.onlyIcon?(t.openBlock(),t.createElementBlock("div",{key:1,class:"icon",style:t.normalizeStyle(r.value)},null,4)):(t.openBlock(),t.createBlock(X,{key:0,title:c.cls},{default:t.withCtx(()=>[t.createElementVNode("div",{class:"icon",style:t.normalizeStyle(r.value)},null,4)]),_:1},8,["title"]))],2))}}),Pn=B(Ms,[["__scopeId","data-v-23f8d853"]]),xs={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Fs=["aria-hidden","aria-label"],Us=["fill","width","height"],Hs={d:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"},zs={key:0};function Gs(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon open-in-new-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Hs,[o.title?(t.openBlock(),t.createElementBlock("title",zs,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Us))],16,Fs)}const Rn=B(xs,[["render",Gs]]),Ws={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},js=["aria-hidden","aria-label"],Ks=["fill","width","height"],Ys={d:"M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z"},qs={key:0};function Xs(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon arrow-expand-all-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ys,[o.title?(t.openBlock(),t.createElementBlock("title",qs,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ks))],16,js)}const Zs=B(Ws,[["render",Xs]]),Js={class:"dependency-text d-flex flex-column flex-grow-1"},Qs={class:"dependency-flow-text text-truncate"},ec={class:"dependency-namespace-text text-truncate"},tc={class:"text-white top-button-div"},nc=t.defineComponent({name:"Dependencies",inheritAttrs:!1,__name:"DependenciesNode",props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0}},emits:[y.EVENTS.EXPAND_DEPENDENCIES,y.EVENTS.OPEN_LINK,y.EVENTS.MOUSE_OVER,y.EVENTS.MOUSE_LEAVE],setup(e,{emit:n}){const o=n,{t:l}=$t(),r=t.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
21
+ */const Ss="11.1.3";function bs(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(je().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(je().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1)}const fe={UNEXPECTED_RETURN_TYPE:Fi,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function ut(e,...n){return nt(e,null,process.env.NODE_ENV!=="production"?{messages:Ls,args:n}:void 0)}const Ls={[fe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[fe.INVALID_ARGUMENT]:"Invalid argument",[fe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[fe.NOT_INSTALLED]:"Need to install with `app.use` function",[fe.UNEXPECTED_ERROR]:"Unexpected error",[fe.REQUIRED_VALUE]:"Required in value: {0}",[fe.INVALID_VALUE]:"Invalid value",[fe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[fe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[fe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[fe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},dn=Pe("__translateVNode"),fn=Pe("__datetimeParts"),mn=Pe("__numberParts"),pn=Pe("__enableEmitter"),gn=Pe("__disableEmitter"),ws=Pe("__setPluralRules"),sl=Pe("__injectWithOption"),hn=Pe("__dispose"),Re={FALLBACK_TO_ROOT:Qi,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12},Ts={[Re.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Re.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Re.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Re.DEPRECATE_LEGACY_MODE]:`Legacy API mode has been deprecated in v11. Use Composition API mode instead.
22
+ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,[Re.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."};function An(e,...n){return Dt(Ts[e],...n)}function dt(e){if(!Y(e)||Le(e))return e;for(const n in e)if(be(e,n))if(!n.includes("."))Y(e[n])&&dt(e[n]);else{const o=n.split("."),l=o.length-1;let a=e,r=!1;for(let i=0;i<l;i++){if(o[i]==="__proto__")throw new Error(`unsafe key: ${o[i]}`);if(o[i]in a||(a[o[i]]=Z()),!Y(a[o[i]])){process.env.NODE_ENV!=="production"&&Me(An(Re.IGNORE_OBJ_FLATTEN,{key:o[i]})),r=!0;break}a=a[o[i]]}if(r||(Le(a)?Yo.includes(o[l])||delete e[n]:(a[o[l]]=e[n],delete e[n])),!Le(a)){const i=a[o[l]];Y(i)&&dt(i)}}return e}function cl(e,n){const{messages:o,__i18n:l,messageResolver:a,flatJson:r}=n,i=j(o)?o:se(l)?Z():{[e]:Z()};if(se(l)&&l.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(i[c]=i[c]||Z(),St(u,i[c])):St(u,i)}else O(s)&&St(JSON.parse(s),i)}),a==null&&r)for(const s in i)be(i,s)&&dt(i[s]);return i}function ul(e){return e.type}function As(e,n,o){let l=Y(n.messages)?n.messages:Z();"__i18nGlobal"in o&&(l=cl(e.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const a=Object.keys(l);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,l[r])});{if(Y(n.datetimeFormats)){const r=Object.keys(n.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(Y(n.numberFormats)){const r=Object.keys(n.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,n.numberFormats[i])})}}}function ko(e){return t.createVNode(t.Text,null,e,0)}const yo="__INTLIFY_META__",Co=()=>[],Is=()=>!1;let vo=0;function No(e){return(n,o,l,a)=>e(o,l,t.getCurrentInstance()||void 0,a)}const Vs=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=ul(e)[yo])?{[yo]:n}:null};function Bs(e={}){const{__root:n,__injectWithOption:o}=e,l=n===void 0,a=e.flatJson,r=De?t.ref:t.shallowRef;let i=ae(e.inheritLocale)?e.inheritLocale:!0;const s=r(n&&i?n.locale.value:O(e.locale)?e.locale:wt),c=r(n&&i?n.fallbackLocale.value:O(e.fallbackLocale)||se(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=r(cl(s.value,e)),E=r(j(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),g=r(j(e.numberFormats)?e.numberFormats:{[s.value]:{}});let h=n?n.missingWarn:ae(e.missingWarn)||Lt(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:ae(e.fallbackWarn)||Lt(e.fallbackWarn)?e.fallbackWarn:!0,A=n?n.fallbackRoot:ae(e.fallbackRoot)?e.fallbackRoot:!0,S=!!e.fallbackFormat,C=ee(e.missing)?e.missing:null,f=ee(e.missing)?No(e.missing):null,k=ee(e.postTranslation)?e.postTranslation:null,b=n?n.warnHtmlMessage:ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,p=!!e.escapeParameter;const w=n?n.modifiers:j(e.modifiers)?e.modifiers:{};let V=e.pluralRules||n&&n.pluralRules,v;v=(()=>{l&&so(null);const y={version:Ss,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:w,pluralRules:V,missing:f===null?void 0:f,missingWarn:h,fallbackWarn:_,fallbackFormat:S,unresolving:!0,postTranslation:k===null?void 0:k,warnHtmlMessage:b,escapeParameter:p,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};y.datetimeFormats=E.value,y.numberFormats=g.value,y.__datetimeFormatters=j(v)?v.__datetimeFormatters:void 0,y.__numberFormatters=j(v)?v.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(y.__v_emitter=j(v)?v.__v_emitter:void 0);const I=cs(y);return l&&so(I),I})(),it(v,s.value,c.value);function H(){return[s.value,c.value,u.value,E.value,g.value]}const J=t.computed({get:()=>s.value,set:y=>{v.locale=y,s.value=y}}),ce=t.computed({get:()=>c.value,set:y=>{v.fallbackLocale=y,c.value=y,it(v,s.value,y)}}),F=t.computed(()=>u.value),he=t.computed(()=>E.value),Ae=t.computed(()=>g.value);function P(){return ee(k)?k:null}function B(y){k=y,v.postTranslation=y}function z(){return C}function $(y){y!==null&&(f=No(y)),C=y,v.missing=f}function Ie(y,I){return y!=="translate"||!I.resolvedMessage}const me=(y,I,q,re,ze,pt)=>{H();let Ze;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(v.fallbackContext=n?ss():void 0),Ze=y(v)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(v.fallbackContext=void 0)}if(q!=="translate exists"&&ue(Ze)&&Ze===$t||q==="translate exists"&&!Ze){const[Ge,ql]=I();if(process.env.NODE_ENV!=="production"&&n&&O(Ge)&&Ie(q,ql)&&(A&&(Rt(_,Ge)||tl(h,Ge))&&Me(An(Re.FALLBACK_TO_ROOT,{key:Ge,type:q})),process.env.NODE_ENV!=="production")){const{__v_emitter:zn}=v;zn&&A&&zn.emit("fallback",{type:q,key:Ge,to:"global",groupId:`${q}:${Ge}`})}return n&&A?re(n):ze(Ge)}else{if(pt(Ze))return Ze;throw ut(fe.UNEXPECTED_RETURN_TYPE)}};function Ue(...y){return me(I=>Reflect.apply(_o,null,[I,...y]),()=>un(...y),"translate",I=>Reflect.apply(I.t,I,[...y]),I=>I,I=>O(I))}function Ut(...y){const[I,q,re]=y;if(re&&!Y(re))throw ut(fe.INVALID_ARGUMENT);return Ue(I,q,de({resolvedMessage:!0},re||{}))}function Ht(...y){return me(I=>Reflect.apply(fo,null,[I,...y]),()=>sn(...y),"datetime format",I=>Reflect.apply(I.d,I,[...y]),()=>Tt,I=>O(I))}function zt(...y){return me(I=>Reflect.apply(po,null,[I,...y]),()=>cn(...y),"number format",I=>Reflect.apply(I.n,I,[...y]),()=>Tt,I=>O(I))}function Gt(y){return y.map(I=>O(I)||ue(I)||ae(I)?ko(String(I)):I)}const Wt={normalize:Gt,interpolate:y=>y,type:"vnode"};function mt(...y){return me(I=>{let q;const re=I;try{re.processor=Wt,q=Reflect.apply(_o,null,[re,...y])}finally{re.processor=null}return q},()=>un(...y),"translate",I=>I[dn](...y),I=>[ko(I)],I=>se(I))}function Kt(...y){return me(I=>Reflect.apply(po,null,[I,...y]),()=>cn(...y),"number format",I=>I[mn](...y),Co,I=>O(I)||se(I))}function jt(...y){return me(I=>Reflect.apply(fo,null,[I,...y]),()=>sn(...y),"datetime format",I=>I[fn](...y),Co,I=>O(I)||se(I))}function Yt(y){V=y,v.pluralRules=V}function qt(y,I){return me(()=>{if(!y)return!1;const q=O(I)?I:s.value,re=He(q),ze=v.messageResolver(re,y);return Le(ze)||Se(ze)||O(ze)},()=>[y],"translate exists",q=>Reflect.apply(q.te,q,[y,I]),Is,q=>ae(q))}function lt(y){let I=null;const q=qo(v,c.value,s.value);for(let re=0;re<q.length;re++){const ze=u.value[q[re]]||{},pt=v.messageResolver(ze,y);if(pt!=null){I=pt;break}}return I}function rt(y){const I=lt(y);return I??(n?n.tm(y)||{}:{})}function He(y){return u.value[y]||{}}function at(y,I){if(a){const q={[y]:I};for(const re in q)be(q,re)&&dt(q[re]);I=q[y]}u.value[y]=I,v.messages=u.value}function Xt(y,I){u.value[y]=u.value[y]||{};const q={[y]:I};if(a)for(const re in q)be(q,re)&&dt(q[re]);I=q[y],St(I,u.value[y]),v.messages=u.value}function d(y){return E.value[y]||{}}function m(y,I){E.value[y]=I,v.datetimeFormats=E.value,mo(v,y,I)}function L(y,I){E.value[y]=de(E.value[y]||{},I),v.datetimeFormats=E.value,mo(v,y,I)}function R(y){return g.value[y]||{}}function oe(y,I){g.value[y]=I,v.numberFormats=g.value,go(v,y,I)}function le(y,I){g.value[y]=de(g.value[y]||{},I),v.numberFormats=g.value,go(v,y,I)}vo++,n&&De&&(t.watch(n.locale,y=>{i&&(s.value=y,v.locale=y,it(v,s.value,c.value))}),t.watch(n.fallbackLocale,y=>{i&&(c.value=y,v.fallbackLocale=y,it(v,s.value,c.value))}));const K={id:vo,locale:J,fallbackLocale:ce,get inheritLocale(){return i},set inheritLocale(y){i=y,y&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,it(v,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:F,get modifiers(){return w},get pluralRules(){return V||{}},get isGlobal(){return l},get missingWarn(){return h},set missingWarn(y){h=y,v.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(y){_=y,v.fallbackWarn=_},get fallbackRoot(){return A},set fallbackRoot(y){A=y},get fallbackFormat(){return S},set fallbackFormat(y){S=y,v.fallbackFormat=S},get warnHtmlMessage(){return b},set warnHtmlMessage(y){b=y,v.warnHtmlMessage=y},get escapeParameter(){return p},set escapeParameter(y){p=y,v.escapeParameter=y},t:Ue,getLocaleMessage:He,setLocaleMessage:at,mergeLocaleMessage:Xt,getPostTranslationHandler:P,setPostTranslationHandler:B,getMissingHandler:z,setMissingHandler:$,[ws]:Yt};return K.datetimeFormats=he,K.numberFormats=Ae,K.rt=Ut,K.te=qt,K.tm=rt,K.d=Ht,K.n=zt,K.getDateTimeFormat=d,K.setDateTimeFormat=m,K.mergeDateTimeFormat=L,K.getNumberFormat=R,K.setNumberFormat=oe,K.mergeNumberFormat=le,K[sl]=o,K[dn]=mt,K[fn]=jt,K[mn]=Kt,process.env.NODE_ENV!=="production"&&(K[pn]=y=>{v.__v_emitter=y},K[gn]=()=>{v.__v_emitter=void 0}),K}function So(e,n){}const In={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Os({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((l,a)=>[...l,...a.type===t.Fragment?a.children:[a]],[]):n.reduce((o,l)=>{const a=e[l];return a&&(o[l]=a()),o},Z())}function dl(){return t.Fragment}de({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ue(e)||!isNaN(e)}},In);function Ds(e){return se(e)&&!O(e[0])}function fl(e,n,o,l){const{slots:a,attrs:r}=n;return()=>{const i={part:!0};let s=Z();e.locale&&(i.locale=e.locale),O(e.format)?i.key=e.format:Y(e.format)&&(O(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((h,_)=>o.includes(_)?de(Z(),h,{[_]:e.format[_]}):h,Z()));const c=l(e.value,i,s);let u=[i.key];se(c)?u=c.map((h,_)=>{const A=a[h.type],S=A?A({[h.type]:h.value,index:_,parts:c}):[h.value];return Ds(S)&&(S[0].key=`${h.type}-${_}`),S}):O(c)&&(u=[c]);const E=de(Z(),r),g=O(e.tag)||Y(e.tag)?e.tag:dl();return t.h(g,E,u)}}de({value:{type:Number,required:!0},format:{type:[String,Object]}},In);const Ps=Pe("global-vue-i18n");function Mt(e={}){const n=t.getCurrentInstance();if(n==null)throw ut(fe.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw ut(fe.NOT_INSTALLED);const o=$s(n),l=Ms(o),a=ul(n),r=Rs(e,a);if(r==="global")return As(l,e,a),l;if(r==="parent"){let c=xs(o,n,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Me(An(Re.NOT_FOUND_PARENT_SCOPE)),c=l),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=de({},e);"__i18n"in a&&(c.__i18n=a.__i18n),l&&(c.__root=l),s=Bs(c),i.__composerExtend&&(s[hn]=i.__composerExtend(s)),Us(i,n,s),i.__setInstance(n,s)}return s}function $s(e){const n=t.inject(e.isCE?Ps:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw ut(e.isCE?fe.NOT_INSTALLED_WITH_PROVIDE:fe.UNEXPECTED_ERROR);return n}function Rs(e,n){return Pt(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function Ms(e){return e.mode==="composition"?e.global:e.global.__composer}function xs(e,n,o=!1){let l=null;const a=n.root;let r=Fs(n,o);for(;r!=null;){const i=e;if(e.mode==="composition")l=i.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(r);s!=null&&(l=s.__composer,o&&l&&!l[sl]&&(l=null))}if(l!=null||a===r)break;r=r.parent}return l}function Fs(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function Us(e,n,o){let l=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,l=ja();const a=o;a[pn]&&a[pn](l),l.on("*",So)}},n),t.onUnmounted(()=>{const a=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",So),a[gn]&&a[gn](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const r=a[hn];r&&(r(),delete a[hn])},n)}de({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},In);bs();os(Pi);ls(Ji);rs(qo);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=je();e.__INTLIFY__=!0,$i(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const X=t.defineComponent({__name:"Tooltip",props:{title:{default:void 0},placement:{default:"top"}},setup(e){let n;typeof document<"u"&&(n=import("bootstrap"));const o=e,l=t.ref(),a=t.ref(),r=t.ref();return t.onMounted(async()=>{t.nextTick(async()=>{const i=await n;typeof document<"u"&&a.value&&r.value&&(l.value=new i.Tooltip(a.value,{trigger:"hover",html:!0,placement:o.placement,title:r.value.innerHTML,customClass:"tooltip-custom"}))})}),t.onBeforeUnmount(async()=>{var i;(i=l.value)==null||i.dispose()}),(i,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("span",t.mergeProps({ref_key:"$tooltip",ref:a},i.$attrs),[t.renderSlot(i.$slots,"default")],16),t.createElementVNode("span",{class:"d-none",ref_key:"$tooltipContent",ref:r},[t.renderSlot(i.$slots,"content",{},()=>[t.createTextVNode(t.toDisplayString(i.title),1)])],512)],64))}}),Hs=t.defineComponent({name:"TaskIcon",__name:"TaskIcon",props:{customIcon:{},cls:{},theme:{},icons:{},onlyIcon:{type:Boolean},variable:{}},setup(e){const n=e,o=t.computed(()=>`data:image/svg+xml;base64,${r.value}`),l=t.computed(()=>({flowable:i.value?i.value.flowable:!1})),a=t.computed(()=>({backgroundImage:`url(${o.value})`})),r=t.computed(()=>{let c=i.value&&i.value.icon?window.atob(i.value.icon):void 0;c||(c='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="0.75em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 384 512"><path d="M288 32H0v448h384V128l-96-96zm64 416H32V64h224l96 96v288z" fill="currentColor"/></svg>');const u=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0;let E=ve(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(E=(n.theme==="dark"?ve("--bs-gray-900"):ve("--bs-black"))??E),n.variable&&(E=ve(n.variable)??E),c=c.replace(/currentColor/g,E),window.btoa(c)}),i=t.computed(()=>n.cls?(n.icons||{})[s(n.cls)]:n.customIcon);function s(c){return c.includes("$")?c.substring(0,c.indexOf("$")):c}return(c,u)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([l.value,"wrapper"])},[c.onlyIcon?(t.openBlock(),t.createElementBlock("div",{key:1,class:"icon",style:t.normalizeStyle(a.value)},null,4)):(t.openBlock(),t.createBlock(X,{key:0,title:c.cls},{default:t.withCtx(()=>[t.createElementVNode("div",{class:"icon",style:t.normalizeStyle(a.value)},null,4)]),_:1},8,["title"]))],2))}}),Vn=D(Hs,[["__scopeId","data-v-23f8d853"]]),zs={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Gs=["aria-hidden","aria-label"],Ws=["fill","width","height"],Ks={d:"M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"},js={key:0};function Ys(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon open-in-new-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ks,[o.title?(t.openBlock(),t.createElementBlock("title",js,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ws))],16,Gs)}const ml=D(zs,[["render",Ys]]),qs={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xs=["aria-hidden","aria-label"],Zs=["fill","width","height"],Js={d:"M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z"},Qs={key:0};function ec(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon arrow-expand-all-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Js,[o.title?(t.openBlock(),t.createElementBlock("title",Qs,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Zs))],16,Xs)}const tc=D(qs,[["render",ec]]),nc={class:"dependency-text d-flex flex-column flex-grow-1"},oc={class:"dependency-flow-text text-truncate"},lc={class:"dependency-namespace-text text-truncate"},rc={class:"text-white top-button-div"},ac=t.defineComponent({name:"Dependencies",inheritAttrs:!1,__name:"DependenciesNode",props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0}},emits:[N.EVENTS.EXPAND_DEPENDENCIES,N.EVENTS.OPEN_LINK,N.EVENTS.MOUSE_OVER,N.EVENTS.MOUSE_LEAVE],setup(e,{emit:n}){const o=n,{t:l}=Mt(),a=t.computed(()=>window.btoa(`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none">
23
23
  <path fill-rule="evenodd" clip-rule="evenodd" d="M4.34546 9.63757C4.74074 10.5277 5.31782 11.3221 6.03835 11.9681L7.03434 10.8209C6.4739 10.3185 6.02504 9.70059 5.71758 9.00824C5.41012 8.3159 5.25111 7.56496 5.25111 6.80532C5.25111 6.04568 5.41012 5.29475 5.71758 4.6024C6.02504 3.91006 6.4739 3.29216 7.03434 2.78977L6.03835 1.64258C5.31782 2.28851 4.74074 3.08293 4.34546 3.97307C3.95019 4.86321 3.74575 5.82867 3.74575 6.80532C3.74575 7.78197 3.95019 8.74744 4.34546 9.63757ZM16.955 4.38931C17.4802 3.97411 18.1261 3.74777 18.7913 3.74576C19.5894 3.74576 20.3547 4.06807 20.919 4.64177C21.4833 5.21548 21.8004 5.9936 21.8004 6.80494C21.8004 7.61628 21.4833 8.3944 20.919 8.96811C20.3547 9.54181 19.5894 9.86412 18.7913 9.86412C18.2559 9.86126 17.7312 9.71144 17.2725 9.43048L12.3325 14.4529L11.2688 13.3715L16.2088 8.34906C16.0668 8.10583 15.9592 7.84348 15.8891 7.56973H11.2688V6.04014H15.8891C16.055 5.38511 16.4298 4.80451 16.955 4.38931ZM17.9555 8.07674C18.2029 8.24482 18.4938 8.33453 18.7913 8.33453C19.1902 8.33412 19.5727 8.17284 19.8548 7.88607C20.1368 7.59931 20.2955 7.21049 20.2959 6.80494C20.2959 6.50241 20.2076 6.20668 20.0423 5.95514C19.877 5.70361 19.642 5.50756 19.3671 5.39178C19.0922 5.27601 18.7897 5.24572 18.4978 5.30474C18.206 5.36376 17.9379 5.50944 17.7275 5.72336C17.5171 5.93727 17.3738 6.20982 17.3157 6.50653C17.2577 6.80324 17.2875 7.11079 17.4014 7.39029C17.5152 7.66978 17.7081 7.90867 17.9555 8.07674ZM3.74621 15.2177V16.7473H7.19606L2.2417 21.7842L3.30539 22.8656L8.25975 17.8287V21.336H9.76427V15.2177H3.74621ZM15.7823 18.2769H12.7733V19.8064H15.7823V22.1008H21.8004V15.9825H15.7823V18.2769ZM17.2868 20.5712V17.5121H20.2959V20.5712H17.2868ZM8.02885 9.67292C7.62863 9.31407 7.30809 8.87275 7.08853 8.37827C6.86897 7.88378 6.75542 7.34747 6.75542 6.80494C6.75542 6.26241 6.86897 5.72609 7.08853 5.23161C7.30809 4.73713 7.62863 4.29581 8.02885 3.93696L9.02484 5.08415C8.78458 5.29946 8.59215 5.5643 8.46034 5.86106C8.32853 6.15782 8.26035 6.47971 8.26035 6.80532C8.26035 7.13094 8.32853 7.45282 8.46034 7.74958C8.59215 8.04634 8.78458 8.31118 9.02484 8.52649L8.02885 9.67292Z" fill="white"/>
24
- </svg>`));return(i,a)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(re.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",{class:t.normalizeClass([[`border-${e.data.color}`],"dependency-node-wrapper rounded-3 border"])},[t.createVNode(Pn,{"custom-icon":{icon:r.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),t.createElementVNode("div",Js,[t.createElementVNode("div",Qs,[t.createVNode(X,{title:e.data.flowId},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.flowId),1)]),_:1},8,["title"])]),t.createElementVNode("div",ec,[t.createVNode(X,{title:e.data.namespace},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.namespace),1)]),_:1},8,["title"])])]),t.createElementVNode("div",tc,[t.renderSlot(i.$slots,"badge-button-before",{},void 0,!0),e.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:a[0]||(a[0]=s=>i.$emit(t.unref(y.EVENTS).OPEN_LINK,e.data))},[t.createVNode(X,{title:t.unref(l)("open")},{default:t.withCtx(()=>[t.createVNode(Rn,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),e.data.expandEnabled?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:a[1]||(a[1]=s=>o(t.unref(y.EVENTS).EXPAND_DEPENDENCIES,e.data))},[t.createVNode(X,{title:t.unref(l)("expand")},{default:t.withCtx(()=>[t.createVNode(Zs,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(i.$slots,"badge-button-after",{},void 0,!0)])],2),t.createVNode(t.unref(re.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),oc=B(nc,[["__scopeId","data-v-2271d5b0"]]);var we=(e=>(e.Lines="lines",e.Dots="dots",e))(we||{});const fl=function({dimensions:e,size:n,color:o}){return t.h("path",{stroke:o,"stroke-width":n,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})},ml=function({radius:e,color:n}){return t.h("circle",{cx:e,cy:e,r:e,fill:n})};we.Lines+"",we.Dots+"";const lc={[we.Dots]:"#81818a",[we.Lines]:"#eee"},rc=["id","x","y","width","height","patternTransform"],ic={key:2,height:"100",width:"100"},ac=["fill"],sc=["x","y","fill"],cc={name:"Background",compatConfig:{MODE:3}},uc=t.defineComponent({...cc,props:{id:{},variant:{default:()=>we.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:2}},setup(e){const{id:n,viewport:o}=re.useVueFlow(),l=t.computed(()=>{const[a,s]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],c=[a*o.value.zoom||1,s*o.value.zoom||1],u=e.size*o.value.zoom,h=e.variant===we.Dots?[u/e.offset,u/e.offset]:[c[0]/e.offset,c[1]/e.offset];return{scaledGap:c,offset:h,size:u}}),r=t.toRef(()=>`pattern-${n}${e.id?`-${e.id}`:""}`),i=t.toRef(()=>e.color||e.patternColor||lc[e.variant||we.Dots]);return(a,s)=>(t.openBlock(),t.createElementBlock("svg",{class:"vue-flow__background vue-flow__container",style:t.normalizeStyle({height:`${a.height>100?100:a.height}%`,width:`${a.width>100?100:a.width}%`})},[t.renderSlot(a.$slots,"pattern-container",{id:r.value},()=>[t.createElementVNode("pattern",{id:r.value,x:t.unref(o).x%l.value.scaledGap[0],y:t.unref(o).y%l.value.scaledGap[1],width:l.value.scaledGap[0],height:l.value.scaledGap[1],patternTransform:`translate(-${l.value.offset[0]},-${l.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[t.renderSlot(a.$slots,"pattern",{},()=>[a.variant===t.unref(we).Lines?(t.openBlock(),t.createBlock(t.unref(fl),{key:0,size:a.lineWidth,color:i.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):a.variant===t.unref(we).Dots?(t.openBlock(),t.createBlock(t.unref(ml),{key:1,color:i.value,radius:l.value.size/a.offset},null,8,["color","radius"])):t.createCommentVNode("",!0),a.bgColor?(t.openBlock(),t.createElementBlock("svg",ic,[t.createElementVNode("rect",{width:"100%",height:"100%",fill:a.bgColor},null,8,ac)])):t.createCommentVNode("",!0)])],8,rc)]),t.createElementVNode("rect",{x:a.x,y:a.y,width:"100%",height:"100%",fill:`url(#${r.value})`},null,8,sc),t.renderSlot(a.$slots,"default",{id:r.value})],4))}}),dc={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fc=["aria-hidden","aria-label"],mc=["fill","width","height"],pc={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},gc={key:0};function hc(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon arrow-collapse-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",pc,[o.title?(t.openBlock(),t.createElementBlock("title",gc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,mc))],16,fc)}const Ec=B(dc,[["render",hc]]),kc={class:"top-button-div text-white d-flex"},_c={inheritAttrs:!1,components:{Tooltip:X},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){var n;const e=this.data.taskNode;if((n=e==null?void 0:e.type)!=null&&n.endsWith("SubflowGraphTask")){const o=e.task.subflowId??e.task;return o.namespace+" "+o.flowId}return y.Utils.afterLastDot(this.id)}}},yc=Object.assign(_c,{__name:"ClusterNode",props:{data:{type:Object,default:void 0},sourcePosition:{type:re.Position,default:void 0},targetPosition:{type:re.Position,default:void 0},id:{type:String,default:void 0}},emits:[y.EVENTS.COLLAPSE],setup(e,{emit:n}){const o=e,l=n,r=()=>{l(y.EVENTS.COLLAPSE,o.id)};return(i,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(i.classes)},[t.createElementVNode("span",{class:t.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${e.data.color}`]])},t.toDisplayString(i.clusterName),3),t.createElementVNode("div",kc,[e.data.collapsable?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:a[0]||(a[0]=s=>r())},[t.createVNode(X,{title:i.$t("collapse")},{default:t.withCtx(()=>[t.createVNode(Ec,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)])],2))}}),Cc=B(yc,[["__scopeId","data-v-0c251e77"]]),Nc={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vc=["aria-hidden","aria-label"],Sc=["fill","width","height"],bc={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Lc={key:0};function Tc(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon circle-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",bc,[o.title?(t.openBlock(),t.createElementBlock("title",Lc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Sc))],16,vc)}const pl=B(Nc,[["render",Tc]]),wc={name:"Dot",components:{Handle:re.Handle,CircleIcon:pl},inheritAttrs:!1,props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},label:{type:String,default:void 0}},computed:{classes(){return{"unused-path":this.data.unused,[y.Utils.afterLastDot(this.data.node.type)]:!0}}}},Ac=Object.assign(wc,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(n.classes)},[t.createVNode(t.unref(re.Handle),{type:"source",class:"custom-handle",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",{class:t.normalizeClass(["dot",n.classes])},[t.createVNode(pl,{class:t.normalizeClass([{"text-danger":e.data.node.branchType==="ERROR"},"circle"]),alt:"circle"},null,8,["class"])],2),t.createVNode(t.unref(re.Handle),{type:"target",class:"custom-handle",position:e.targetPosition},null,8,["position"])],2))}}),Ic=B(Ac,[["__scopeId","data-v-666f472b"]]),Vc={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Oc=["aria-hidden","aria-label"],Dc=["fill","width","height"],Bc={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},Pc={key:0};function Rc(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon plus-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Bc,[o.title?(t.openBlock(),t.createElementBlock("title",Pc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Dc))],16,Oc)}const $c=B(Vc,[["render",Rc]]),Mc={class:"add-task-div rounded d-flex justify-content-center align-items-center"},xc=t.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",Mc,[n.addTask?(t.openBlock(),t.createBlock($c,{key:0,alt:"add task icon"})):t.createCommentVNode("",!0)]))}}),Fc=B(xc,[["__scopeId","data-v-4afc4738"]]),Uc={data(){return{tooltips:[]}},props:{id:{type:String,default:void 0},data:{type:Object,default:void 0},sourceX:{type:Number,default:void 0},sourceY:{type:Number,default:void 0},targetX:{type:Number,default:void 0},targetY:{type:Number,default:void 0},markerEnd:{type:String,default:void 0},sourcePosition:{type:String,default:void 0},targetPosition:{type:String,default:void 0}},components:{AddTaskButton:Fc,EdgeLabelRenderer:re.EdgeLabelRenderer,Tooltip:X},computed:{Utils(){return y.Utils},EVENTS(){return y.EVENTS},classes(){return{"vue-flow__edge-path":!0,["stroke-"+this.data.color]:this.data.color,"unused-path":this.data.unused}},title(){const{haveAdd:e}=this.data;return`${this.$t("add task")} ${(e==null?void 0:e.length)===2?`${this.$t(e[1])} ${e[0]}`:""}`.trim()}},setup(e){return{path:t.computed(()=>re.getSmoothStepPath(e))}},inheritAttrs:!1},Hc=["id","d","marker-end"];function zc(e,n,o,l,r,i){const a=t.resolveComponent("AddTaskButton"),s=t.resolveComponent("tooltip"),c=t.resolveComponent("EdgeLabelRenderer");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("path",{id:o.id,class:t.normalizeClass(i.classes),style:t.normalizeStyle(o.data.haveDashArray?{strokeDasharray:"2"}:{}),d:l.path[0],"marker-end":o.markerEnd},null,14,Hc),t.createVNode(c,{style:{"z-index":"10"}},{default:t.withCtx(()=>[t.createElementVNode("div",{style:t.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${l.path[1]}px,${l.path[2]}px)`})},[t.createVNode(s,{title:i.title},{default:t.withCtx(()=>[o.data.haveAdd?(t.openBlock(),t.createBlock(a,{key:0,"add-task":!0,onClick:n[0]||(n[0]=u=>e.$emit(i.EVENTS.ADD_TASK,o.data.haveAdd)),class:t.normalizeClass({"text-danger":o.data.color})},null,8,["class"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})],64)}const Gc=B(Uc,[["render",zc],["__scopeId","data-v-a3e1d999"]]),Wc={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},jc=["aria-hidden","aria-label"],Kc=["fill","width","height"],Yc={d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"},qc={key:0};function Xc(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon information-outline-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Yc,[o.title?(t.openBlock(),t.createElementBlock("title",qc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Kc))],16,jc)}const gl=B(Wc,[["render",Xc]]),Zc={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jc=["aria-hidden","aria-label"],Qc=["fill","width","height"],eu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},tu={key:0};function nu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon arrow-expand-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",eu,[o.title?(t.openBlock(),t.createElementBlock("title",tu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Qc))],16,Jc)}const Mt=B(Zc,[["render",nu]]),xt=Symbol("execution-injection-key"),hl=Symbol("subflows-executions-injection-key"),El=Symbol("playground-enabled-injection-key"),ou={class:"icon rounded"},lu={class:"node-content"},ru={class:"d-flex node-title"},iu={class:"text-truncate task-title"},au={key:0,class:"d-flex"},su={class:"text-white top-button-div"},cu={components:{ArrowExpand:Mt,InformationOutline:gl,OpenInNew:Rn,Tooltip:X},emits:[y.EVENTS.EXPAND,y.EVENTS.OPEN_LINK,y.EVENTS.SHOW_LOGS,y.EVENTS.MOUSE_OVER,y.EVENTS.MOUSE_LEAVE,y.EVENTS.ADD_ERROR,y.EVENTS.EDIT,y.EVENTS.DELETE,y.EVENTS.ADD_TASK,y.EVENTS.SHOW_DESCRIPTION],inheritAttrs:!1,props:{id:{type:String,default:void 0},title:{type:String,default:void 0},type:{type:String,default:void 0},disabled:{type:Boolean,default:void 0},state:{type:String,default:void 0},data:{type:Object,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{mouseover(){this.$emit(y.EVENTS.MOUSE_OVER,this.data.node)},mouseleave(){this.$emit(y.EVENTS.MOUSE_LEAVE)}},data(){return{filter:void 0,isOpen:!1}},inject:{execution:{from:xt}},computed:{Utils(){return y.Utils},borderColor(){const e=this.data.color?this.data.color==="default"?null:this.data.color:null;return e||(this.expandable?"blue":null)},EVENTS(){return y.EVENTS},expandable(){var e;return((e=this.data)==null?void 0:e.expandable)||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null},trimmedId(){return y.Utils.afterLastDot(this.id)},taskIconBg(){return["default","danger"].includes(this.data.color)?"":this.data.color},stateColor(){switch(this.state){case"RUNNING":return"primary";case"SUCCESS":return"success";case"WARNING":return"warning";case"FAILED":return"danger";default:return null}},classes(){var e,n,o,l;return{"unused-path":this.data.unused,[`border-${this.borderColor}`]:this.borderColor,disabled:((e=this.data.node.task)==null?void 0:e.disabled)||((l=(o=(n=this.data.parent)==null?void 0:n.taskNode)==null?void 0:o.task)==null?void 0:l.disabled),[this.$attrs.class]:!0}},cls(){var e;if(this.data.node.triggerDeclaration)return this.data.node.triggerDeclaration.type;if((e=this.data.node)!=null&&e.task)return this.data.node.task.type},hoverTooltip(){var e;if((e=this.data.node.type)!=null&&e.endsWith("SubflowGraphTask")){const n=this.data.node.task.subflowId??this.data.node.task;return n.namespace+" "+n.flowId}return this.trimmedId}}},uu=Object.assign(cu,{__name:"BasicNode",setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([n.classes,"node-wrapper rounded-3 border"]),onMouseover:o[3]||(o[3]=(...l)=>n.mouseover&&n.mouseover(...l)),onMouseleave:o[4]||(o[4]=(...l)=>n.mouseleave&&n.mouseleave(...l))},[e.state?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["status-div",[`bg-${n.stateColor}`]])},null,2)):t.createCommentVNode("",!0),t.createElementVNode("div",ou,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.iconComponent||Pn),{cls:n.cls,class:t.normalizeClass([n.taskIconBg,"rounded bg-white"]),theme:"light",icons:e.icons},null,8,["cls","class","icons"]))]),t.createElementVNode("div",lu,[t.createElementVNode("div",ru,[t.createElementVNode("div",iu,[t.createVNode(X,{title:n.hoverTooltip},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.title??n.trimmedId),1)]),_:1},8,["title"])]),n.description?(t.openBlock(),t.createElementBlock("span",au,[t.createVNode(X,{title:n.$t("show description"),class:"d-flex align-items-center"},{default:t.withCtx(()=>[t.createVNode(gl,{onClick:o[0]||(o[0]=l=>n.$emit(t.unref(y.EVENTS).SHOW_DESCRIPTION,{id:n.trimmedId,description:n.description})),class:"description-button ms-2"})]),_:1},8,["title"])])):t.createCommentVNode("",!0)]),t.renderSlot(n.$slots,"content",{},void 0,!0)]),t.createElementVNode("div",su,[t.renderSlot(n.$slots,"badge-button-before",{},void 0,!0),e.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:o[1]||(o[1]=l=>n.$emit(t.unref(y.EVENTS).OPEN_LINK,{link:e.data.link}))},[t.createVNode(X,{title:n.$t("open")},{default:t.withCtx(()=>[t.createVNode(Rn,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),n.expandable?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:o[2]||(o[2]=l=>n.$emit(t.unref(y.EVENTS).EXPAND))},[t.createVNode(X,{title:n.$t("expand")},{default:t.withCtx(()=>[t.createVNode(Mt,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(n.$slots,"badge-button-after",{},void 0,!0)])],34))}}),kl=B(uu,[["__scopeId","data-v-ee0adf33"]]),du=["innerHTML"],fu=t.defineComponent({__name:"Duration",props:{histories:{}},setup(e){const n=e;t.watch(()=>n.histories,(C,V)=>{V[0].date!==C[0].date&&s()});const o=t.ref(""),l=t.ref();t.onMounted(()=>{s()});const r=t.computed(()=>{var C;return((C=n.histories)==null?void 0:C.length)&&new Date(n.histories[0].date.toString()).getTime()}),i=t.computed(()=>n.histories[n.histories.length-1]),a=t.computed(()=>n.histories.filter(C=>C.date.isValid()&&C.date&&C.state));function s(){l.value||(l.value=setInterval(()=>{E(),n.histories&&!ae.isRunning(i.value.state)&&c()},100))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){return h()-r.value}function h(){return!n.histories||ae.isRunning(i.value.state)?+new Date:new Date(i.value.date.toString()).getTime()}function E(){o.value=a.value.length===0?"&nbsp;":y.Utils.humanDuration(u()/1e3)}function g(C){return"ks-duration-tt-square-"+C.toLowerCase()}return t.onBeforeUnmount(()=>{c()}),(C,V)=>(t.openBlock(),t.createBlock(X,{key:i.value.date.toString()},{content:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value,(L,O)=>(t.openBlock(),t.createElementBlock("span",{key:"tt-"+O,class:"ks-duration-tt"},[t.createElementVNode("span",{class:t.normalizeClass(["ks-duration-tt-square",g(L.state)])},null,2),t.createElementVNode("strong",null,t.toDisplayString(L.state)+": ",1),t.createTextVNode(t.toDisplayString(t.unref(y.Utils).dateFilter(L.date.toString(),"iso"))+" ",1),V[0]||(V[0]=t.createElementVNode("br",null,null,-1))]))),128))]),default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:o.value},null,8,du)]),_:1}))}}),mu={class:"btn-group content rounded-1 content-children text-truncate"},pu={key:0,class:"taskRunCount"},gu={key:1},hu={key:2},Eu=t.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{}},setup(e){const n=e,o=t.computed(()=>{var a;return(a=n.execution)!=null&&a.taskRunList?n.execution.taskRunList:[]}),l=t.computed(()=>o.value.filter(a=>a.taskId===y.Utils.afterLastDot(n.uid??""))),r=t.computed(()=>{if(!l.value)return null;if(l.value.length===1)return l.value[0].state.current;const a=l.value.map(u=>u.state.current),s=[ae.FAILED,ae.KILLED,ae.WARNING,ae.KILLING,ae.RUNNING,ae.SUCCESS,ae.RESTARTED,ae.CREATED];return a.map(u=>{const h=s.indexOf(u[1]);return s[h]=void 0,[h,u]}).sort().map(u=>u[1])[0]}),i=t.computed(()=>{if(!l.value)return;const a=Math.max(...l.value.filter(c=>c.state.histories&&c.state.histories.length>0).map(c=>new Date(c.state.histories[c.state.histories.length-1].date).getTime())),s=Math.max(...l.value.map(c=>tn.duration(c.state.duration).asMilliseconds()/1e3,0));return[{date:tn(a).subtract(s,"second"),state:"CREATED"},{date:tn(a),state:r.value}]});return(a,s)=>(t.openBlock(),t.createElementBlock("div",mu,[l.value.length>0?(t.openBlock(),t.createElementBlock("span",pu,t.toDisplayString(l.value.length)+" task runs",1)):t.createCommentVNode("",!0),l.value.length>0?(t.openBlock(),t.createElementBlock("span",gu," | ")):t.createCommentVNode("",!0),i.value?(t.openBlock(),t.createElementBlock("span",hu,[t.createVNode(fu,{histories:i.value},null,8,["histories"])])):t.createCommentVNode("",!0)]))}}),_l=B(Eu,[["__scopeId","data-v-a204e986"]]),ku={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_u=["aria-hidden","aria-label"],yu=["fill","width","height"],Cu={d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},Nu={key:0};function vu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Cu,[o.title?(t.openBlock(),t.createElementBlock("title",Nu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,yu))],16,_u)}const Ft=B(ku,[["render",vu]]),Su={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},bu=["aria-hidden","aria-label"],Lu=["fill","width","height"],Tu={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},wu={key:0};function Au(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon delete-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Tu,[o.title?(t.openBlock(),t.createElementBlock("title",wu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Lu))],16,bu)}const Ut=B(Su,[["render",Au]]),Iu={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Vu=["aria-hidden","aria-label"],Ou=["fill","width","height"],Du={d:"M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M7,15V17H9C9.14,18.55 9.8,19.94 10.81,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19A2,2 0 0,1 21,5V13.03C19.85,11.21 17.82,10 15.5,10C14.23,10 13.04,10.37 12.04,11H7V13H10C9.64,13.6 9.34,14.28 9.17,15H7M17,9V7H7V9H17Z"},Bu={key:0};function Pu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon text-box-search-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Du,[o.title?(t.openBlock(),t.createElementBlock("title",Bu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ou))],16,Vu)}const yl=B(Iu,[["render",Pu]]),Ru={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$u=["aria-hidden","aria-label"],Mu=["fill","width","height"],xu={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},Fu={key:0};function Uu(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alert-outline-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",xu,[o.title?(t.openBlock(),t.createElementBlock("title",Fu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Mu))],16,$u)}const Cl=B(Ru,[["render",Uu]]),Hu={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zu=["aria-hidden","aria-label"],Gu=["fill","width","height"],Wu={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},ju={key:0};function Ku(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon play-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Wu,[o.title?(t.openBlock(),t.createElementBlock("title",ju,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Gu))],16,zu)}const Yu=B(Hu,[["render",Ku]]),qu={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xu=["aria-hidden","aria-label"],Zu=["fill","width","height"],Ju={d:"M23,18V17.5A2.5,2.5 0 0,0 20.5,15A2.5,2.5 0 0,0 18,17.5V18A1,1 0 0,0 17,19V23A1,1 0 0,0 18,24H23A1,1 0 0,0 24,23V19A1,1 0 0,0 23,18M22,18H19V17.5A1.5,1.5 0 0,1 20.5,16A1.5,1.5 0 0,1 22,17.5V18M23,12L2,21V14L17,12L2,10V3L23,12Z"},Qu={key:0};function ed(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon send-lock-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ju,[o.title?(t.openBlock(),t.createElementBlock("title",Qu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Zu))],16,Xu)}const Nl=B(qu,[["render",ed]]),td={name:"Task",components:{Pencil:Ft,Delete:Ut,ExecutionInformations:_l,Handle:re.Handle,TextBoxSearch:yl,AlertOutline:Cl,Tooltip:X,SendLock:Nl},inheritAttrs:!1,inject:{execution:{from:xt},subflowsExecutions:{from:hl},playgroundEnabled:{from:El}},computed:{SECTIONS(){return y.SECTIONS},EVENTS(){return y.EVENTS},color(){return this.data.color??"primary"},taskId(){return y.Utils.afterLastDot(this.id)},taskRunList(){return this.taskExecution&&this.taskExecution.taskRunList?this.taskExecution.taskRunList:[]},taskExecution(){var n,o;const e=this.data.executionId;if(e)return e===((n=this.execution)==null?void 0:n.id)?this.execution:(o=Object.values(this.subflowsExecutions).filter(l=>l.id===this.data.executionId))==null?void 0:o[0]},taskRuns(){return this.taskRunList.filter(e=>e.taskId===y.Utils.afterLastDot(this.data.node.uid))},state(){if(!this.taskRuns)return null;if(this.taskRuns.length===1)return this.taskRuns[0].state.current;const e=this.taskRuns.map(l=>l.state.current),n=[ae.FAILED,ae.KILLED,ae.WARNING,ae.KILLING,ae.RUNNING,ae.SUCCESS,ae.RESTARTED,ae.CREATED];return e.map(l=>{const r=n.indexOf(l[1]);return n[r]=void 0,[r,l]}).sort().map(l=>l[1])[0]},classes(){return{"execution-no-taskrun":this.taskExecution&&this.taskRuns&&this.taskRuns.length===0}},expandData(){return{id:this.id,type:this.data.node.task.type}},dataWithLink(){var e,n,o,l,r;if((e=this.data.node.type)!=null&&e.endsWith("SubflowGraphTask")&&this.enableSubflowInteraction){const i=this.data.node.task.subflowId??this.data.node.task;return{...this.data,link:{namespace:i.namespace,id:i.flowId,executionId:(r=(l=(o=(n=this.taskExecution)==null?void 0:n.taskRunList.filter(a=>{var s;return a.taskId===this.data.node.task.id&&((s=a.outputs)==null?void 0:s.executionId)}))==null?void 0:o[0])==null?void 0:l.outputs)==null?void 0:r.executionId}}}return this.data}},emits:[y.EVENTS.EXPAND,y.EVENTS.OPEN_LINK,y.EVENTS.SHOW_LOGS,y.EVENTS.MOUSE_OVER,y.EVENTS.MOUSE_LEAVE,y.EVENTS.ADD_ERROR,y.EVENTS.EDIT,y.EVENTS.DELETE,y.EVENTS.ADD_TASK,y.EVENTS.SHOW_CONDITION],props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0},enableSubflowInteraction:{type:Boolean,default:!0}},methods:{forwardEvent(e,n){this.$emit(e,n)}}},nd=Object.assign(td,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(re.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createVNode(kl,{id:e.id,data:n.dataWithLink,state:n.state,class:t.normalizeClass(n.classes),icons:e.icons,"icon-component":e.iconComponent,onShowDescription:o[6]||(o[6]=l=>n.forwardEvent(t.unref(y.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[7]||(o[7]=l=>n.forwardEvent(t.unref(y.EVENTS).EXPAND,n.expandData)),onOpenLink:o[8]||(o[8]=l=>n.forwardEvent(t.unref(y.EVENTS).OPEN_LINK,l)),onMouseover:o[9]||(o[9]=l=>n.forwardEvent(t.unref(y.EVENTS).MOUSE_OVER,l)),onMouseleave:o[10]||(o[10]=l=>n.forwardEvent(t.unref(y.EVENTS).MOUSE_LEAVE))},{content:t.withCtx(()=>[n.taskExecution?(t.openBlock(),t.createBlock(_l,{key:0,execution:n.taskExecution,task:e.data.node.task,color:n.color,uid:e.data.node.uid},null,8,["execution","task","color","uid"])):t.createCommentVNode("",!0),n.playgroundEnabled&&e.data.node.task?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"playground-button",onClick:o[0]||(o[0]=l=>n.$emit(t.unref(y.EVENTS).RUN_TASK,{task:e.data.node.task}))},[t.createVNode(X,{style:{display:"flex"},title:n.$t("run task in playground")},{default:t.withCtx(()=>[t.createVNode(Yu,{class:"button-play-icon",alt:"Play task"})]),_:1},8,["title"])])):t.createCommentVNode("",!0)]),"badge-button-before":t.withCtx(()=>[e.data.node.task&&e.data.node.task.runIf?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",["bg-warning"]]),onClick:o[1]||(o[1]=l=>n.$emit(t.unref(y.EVENTS).SHOW_CONDITION,{id:n.taskId,task:e.data.node.task,section:t.unref(y.SECTIONS).TASKS}))},[t.createVNode(X,{title:n.$t("show task condition")},{default:t.withCtx(()=>[t.createVNode(Nl,{class:"button-icon",alt:"Show condition"})]),_:1},8,["title"])])):t.createCommentVNode("",!0),n.taskExecution?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[2]||(o[2]=l=>n.$emit(t.unref(y.EVENTS).SHOW_LOGS,{id:n.taskId,execution:n.taskExecution,taskRuns:n.taskRuns}))},[t.createVNode(X,{title:n.$t("show task logs")},{default:t.withCtx(()=>[t.createVNode(yl,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!n.taskExecution&&!e.data.isReadOnly&&e.data.isFlowable?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[3]||(o[3]=l=>n.$emit(t.unref(y.EVENTS).ADD_ERROR,{task:e.data.node.task}))},[t.createVNode(X,{title:n.$t("add error handler")},{default:t.withCtx(()=>[t.createVNode(Cl,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!n.taskExecution&&!e.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:3,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[4]||(o[4]=l=>n.$emit(t.unref(y.EVENTS).EDIT,{task:e.data.node.task,section:t.unref(y.SECTIONS).TASKS}))},[t.createVNode(X,{title:n.$t("edit")},{default:t.withCtx(()=>[t.createVNode(Ft,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!n.taskExecution&&!e.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:4,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[5]||(o[5]=l=>n.$emit(t.unref(y.EVENTS).DELETE,{id:n.taskId,section:t.unref(y.SECTIONS).TASKS}))},[t.createVNode(X,{title:n.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Ut,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)]),_:1},8,["id","data","state","class","icons","icon-component"]),t.createVNode(t.unref(re.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),od=B(nd,[["__scopeId","data-v-8b3dd8bd"]]),ld={name:"Task",inheritAttrs:!1,inject:{execution:{from:xt}},computed:{SECTIONS(){return y.SECTIONS},EVENTS(){return y.EVENTS},color(){return this.data.color??"primary"},formattedData(){var e,n,o,l;return{...this.data,unused:((n=(e=this.data.node)==null?void 0:e.triggerDeclaration)==null?void 0:n.disabled)||((l=(o=this.data.node)==null?void 0:o.trigger)==null?void 0:l.disabled)}},triggerId(){return y.Utils.afterLastDot(this.id)}},emits:[y.EVENTS.DELETE,y.EVENTS.EDIT,y.EVENTS.SHOW_DESCRIPTION],components:{Delete:Ut,Pencil:Ft,Handle:re.Handle,Tooltip:X},props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{forwardEvent(e,n){this.$emit(e,n)}}},rd=Object.assign(ld,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(re.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createVNode(kl,{id:e.id,data:n.formattedData,color:n.color,icons:e.icons,"icon-component":e.iconComponent,onShowDescription:o[2]||(o[2]=l=>n.forwardEvent(t.unref(y.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(t.unref(y.EVENTS).EXPAND,{id:e.id}))},t.createSlots({_:2},[e.data.isReadOnly?void 0:{name:"badge-button-before",fn:t.withCtx(()=>[n.execution?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(t.unref(y.EVENTS).EDIT,{task:e.data.node.triggerDeclaration,section:t.unref(y.SECTIONS).TRIGGERS}))},[t.createVNode(X,{title:n.$t("edit")},{default:t.withCtx(()=>[t.createVNode(Ft,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)),n.execution?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[1]||(o[1]=l=>n.$emit(t.unref(y.EVENTS).DELETE,{id:n.triggerId,section:t.unref(y.SECTIONS).TRIGGERS}))},[t.createVNode(X,{title:n.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Ut,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2))]),key:"0"}]),1032,["id","data","color","icons","icon-component"]),t.createVNode(t.unref(re.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),id={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ad=["aria-hidden","aria-label"],sd=["fill","width","height"],cd={d:"M11 15H6L13 1V9H18L11 23V15Z"},ud={key:0};function dd(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon lightning-bolt-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",cd,[o.title?(t.openBlock(),t.createElementBlock("title",ud,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,sd))],16,ad)}const fd=B(id,[["render",dd]]),md={class:"collapsed-cluster-node d-flex"},pd={class:"node-text"},gd={class:"text-white top-button-div"},hd={components:{Tooltip:X,Handle:re.Handle,ArrowExpand:Mt,LightningBolt:fd},inheritAttrs:!1,props:{id:{type:String,default:void 0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},data:{type:Object,required:!0}},data(){return{filter:void 0,isOpen:!1}},computed:{EVENTS(){return y.EVENTS},expandable(){var e;return((e=this.data)==null?void 0:e.expandable)||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null}}},Ed=Object.assign(hd,{__name:"CollapsedClusterNode",setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(re.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",md,[t.createElementVNode("span",pd,[e.data.iconComponent?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.data.iconComponent),{key:0,class:t.normalizeClass(`text-${e.data.color} me-2`)},null,8,["class"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(t.unref(y.Utils).afterLastDot(e.id)),1)]),t.createElementVNode("div",gd,[t.renderSlot(n.$slots,"badge-button-before",{},void 0,!0),n.expandable?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(t.unref(y.EVENTS).EXPAND,{id:e.id}))},[t.createVNode(X,{title:n.$t("expand")},{default:t.withCtx(()=>[t.createVNode(Mt,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(n.$slots,"badge-button-after",{},void 0,!0)])]),t.createVNode(t.unref(re.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),kd=B(Ed,[["__scopeId","data-v-89413b39"]]),_d={name:"SplitCellsVerticalIcon",emits:["click"]},yd={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Cd(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("svg",yd,n[0]||(n[0]=[t.createElementVNode("g",{"clip-path":"url(#clip0_1111_7266)"},[t.createElementVNode("path",{d:"M1.97852 2.63349C1.97852 2.26366 2.27832 1.96387 2.64814 1.96387L13.3621 1.96387C13.7319 1.96387 14.0317 2.26366 14.0317 2.63349L14.0317 13.3475C14.0317 13.7173 13.7319 14.0171 13.3621 14.0171L2.64814 14.0171C2.27832 14.0171 1.97852 13.7173 1.97852 13.3475L1.97852 2.63349ZM3.31776 8.6601L3.31776 12.6778L12.6925 12.6778L12.6925 8.6601L10.014 8.6601L10.014 7.32085L12.6925 7.32085L12.6925 3.30311L3.31776 3.30311L3.31776 7.32086L5.99626 7.32085L5.99626 8.6601L3.31776 8.6601ZM5.99626 5.98161L8.00513 3.97274L10.014 5.98161L8.67475 5.98161L8.67475 9.99935L10.014 9.99935L8.00513 12.0082L5.99626 9.99935L7.3355 9.99935L7.3355 5.98161L5.99626 5.98161Z",fill:"currentColor"})],-1),t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_1111_7266"},[t.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor",transform:"translate(0 16) rotate(-90)"})])],-1)]))}const Nd=B(_d,[["render",Cd],["__scopeId","data-v-084c51e6"]]),vd={name:"SplitCellsHorizontalIcon",emits:["click"]},Sd={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function bd(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("svg",Sd,n[0]||(n[0]=[t.createElementVNode("g",{"clip-path":"url(#clip0_796_3996)"},[t.createElementVNode("path",{d:"M13.367 1.979C13.7368 1.979 14.0366 2.27881 14.0366 2.64863V13.3626C14.0366 13.7324 13.7368 14.0322 13.367 14.0322H2.65302C2.2832 14.0322 1.9834 13.7324 1.9834 13.3626V2.64863C1.9834 2.27881 2.2832 1.979 2.65302 1.979H13.367ZM7.34039 3.31825H3.32265V12.693H7.34039V10.0145H8.67963V12.693H12.6974V3.31825H8.67963V5.99675H7.34039V3.31825ZM10.0189 5.99675L12.0278 8.00562L10.0189 10.0145V8.67524H6.00114V10.0145L3.99227 8.00562L6.00114 5.99675V7.33599H10.0189V5.99675Z",fill:"currentColor"})],-1),t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_796_3996"},[t.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor"})])],-1)]))}const Ld=B(vd,[["render",bd],["__scopeId","data-v-c77c1469"]]),Td={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},wd=["aria-hidden","aria-label"],Ad=["fill","width","height"],Id={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},Vd={key:0};function Od(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon download-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Id,[o.title?(t.openBlock(),t.createElementBlock("title",Vd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ad))],16,wd)}const Dd=B(Td,[["render",Od]]);function Bd(e,n){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const o=document.implementation.createHTMLDocument(),l=o.createElement("base"),r=o.createElement("a");return o.head.appendChild(l),o.body.appendChild(r),n&&(l.href=n),r.href=e,r.href}const Pd=(()=>{let e=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${n()}${e}`)})();function De(e){const n=[];for(let o=0,l=e.length;o<l;o++)n.push(e[o]);return n}function wt(e,n){const l=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(n);return l?parseFloat(l.replace("px","")):0}function Rd(e){const n=wt(e,"border-left-width"),o=wt(e,"border-right-width");return e.clientWidth+n+o}function $d(e){const n=wt(e,"border-top-width"),o=wt(e,"border-bottom-width");return e.clientHeight+n+o}function vl(e,n={}){const o=n.width||Rd(e),l=n.height||$d(e);return{width:o,height:l}}function Md(){let e,n;try{n=process}catch{}const o=n&&n.env?n.env.devicePixelRatio:null;return o&&(e=parseInt(o,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const ye=16384;function xd(e){(e.width>ye||e.height>ye)&&(e.width>ye&&e.height>ye?e.width>e.height?(e.height*=ye/e.width,e.width=ye):(e.width*=ye/e.height,e.height=ye):e.width>ye?(e.height*=ye/e.width,e.width=ye):(e.width*=ye/e.height,e.height=ye))}function At(e){return new Promise((n,o)=>{const l=new Image;l.decode=()=>n(l),l.onload=()=>n(l),l.onerror=o,l.crossOrigin="anonymous",l.decoding="async",l.src=e})}async function Fd(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function Ud(e,n,o){const l="http://www.w3.org/2000/svg",r=document.createElementNS(l,"svg"),i=document.createElementNS(l,"foreignObject");return r.setAttribute("width",`${n}`),r.setAttribute("height",`${o}`),r.setAttribute("viewBox",`0 0 ${n} ${o}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),r.appendChild(i),i.appendChild(e),Fd(r)}const ke=(e,n)=>{if(e instanceof n)return!0;const o=Object.getPrototypeOf(e);return o===null?!1:o.constructor.name===n.name||ke(o,n)};function Hd(e){const n=e.getPropertyValue("content");return`${e.cssText} content: '${n.replace(/'|"/g,"")}';`}function zd(e){return De(e).map(n=>{const o=e.getPropertyValue(n),l=e.getPropertyPriority(n);return`${n}: ${o}${l?" !important":""};`}).join(" ")}function Gd(e,n,o){const l=`.${e}:${n}`,r=o.cssText?Hd(o):zd(o);return document.createTextNode(`${l}{${r}}`)}function bo(e,n,o){const l=window.getComputedStyle(e,o),r=l.getPropertyValue("content");if(r===""||r==="none")return;const i=Pd();try{n.className=`${n.className} ${i}`}catch{return}const a=document.createElement("style");a.appendChild(Gd(i,o,l)),n.appendChild(a)}function Wd(e,n){bo(e,n,":before"),bo(e,n,":after")}const Lo="application/font-woff",To="image/jpeg",jd={woff:Lo,woff2:Lo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:To,jpeg:To,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Kd(e){const n=/\.([^./]*?)$/g.exec(e);return n?n[1]:""}function $n(e){const n=Kd(e).toLowerCase();return jd[n]||""}function Yd(e){return e.split(/,/)[1]}function Cn(e){return e.search(/^(data:)/)!==-1}function qd(e,n){return`data:${n};base64,${e}`}async function Sl(e,n,o){const l=await fetch(e,n);if(l.status===404)throw new Error(`Resource "${l.url}" not found`);const r=await l.blob();return new Promise((i,a)=>{const s=new FileReader;s.onerror=a,s.onloadend=()=>{try{i(o({res:l,result:s.result}))}catch(c){a(c)}},s.readAsDataURL(r)})}const rn={};function Xd(e,n,o){let l=e.replace(/\?.*/,"");return o&&(l=e),/ttf|otf|eot|woff2?/i.test(l)&&(l=l.replace(/.*\//,"")),n?`[${n}]${l}`:l}async function Mn(e,n,o){const l=Xd(e,n,o.includeQueryParams);if(rn[l]!=null)return rn[l];o.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let r;try{const i=await Sl(e,o.fetchRequestInit,({res:a,result:s})=>(n||(n=a.headers.get("Content-Type")||""),Yd(s)));r=qd(i,n)}catch(i){r=o.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;i&&(a=typeof i=="string"?i:i.message),a&&console.warn(a)}return rn[l]=r,r}async function Zd(e){const n=e.toDataURL();return n==="data:,"?e.cloneNode(!1):At(n)}async function Jd(e,n){if(e.currentSrc){const i=document.createElement("canvas"),a=i.getContext("2d");i.width=e.clientWidth,i.height=e.clientHeight,a==null||a.drawImage(e,0,0,i.width,i.height);const s=i.toDataURL();return At(s)}const o=e.poster,l=$n(o),r=await Mn(o,l,n);return At(r)}async function Qd(e){var n;try{if(!((n=e==null?void 0:e.contentDocument)===null||n===void 0)&&n.body)return await Ht(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function ef(e,n){return ke(e,HTMLCanvasElement)?Zd(e):ke(e,HTMLVideoElement)?Jd(e,n):ke(e,HTMLIFrameElement)?Qd(e):e.cloneNode(!1)}const tf=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function nf(e,n,o){var l,r;let i=[];return tf(e)&&e.assignedNodes?i=De(e.assignedNodes()):ke(e,HTMLIFrameElement)&&(!((l=e.contentDocument)===null||l===void 0)&&l.body)?i=De(e.contentDocument.body.childNodes):i=De(((r=e.shadowRoot)!==null&&r!==void 0?r:e).childNodes),i.length===0||ke(e,HTMLVideoElement)||await i.reduce((a,s)=>a.then(()=>Ht(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function of(e,n){const o=n.style;if(!o)return;const l=window.getComputedStyle(e);l.cssText?(o.cssText=l.cssText,o.transformOrigin=l.transformOrigin):De(l).forEach(r=>{let i=l.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),ke(e,HTMLIFrameElement)&&r==="display"&&i==="inline"&&(i="block"),r==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),o.setProperty(r,i,l.getPropertyPriority(r))})}function lf(e,n){ke(e,HTMLTextAreaElement)&&(n.innerHTML=e.value),ke(e,HTMLInputElement)&&n.setAttribute("value",e.value)}function rf(e,n){if(ke(e,HTMLSelectElement)){const o=n,l=Array.from(o.children).find(r=>e.value===r.getAttribute("value"));l&&l.setAttribute("selected","")}}function af(e,n){return ke(n,Element)&&(of(e,n),Wd(e,n),lf(e,n),rf(e,n)),n}async function sf(e,n){const o=e.querySelectorAll?e.querySelectorAll("use"):[];if(o.length===0)return e;const l={};for(let i=0;i<o.length;i++){const s=o[i].getAttribute("xlink:href");if(s){const c=e.querySelector(s),u=document.querySelector(s);!c&&u&&!l[s]&&(l[s]=await Ht(u,n,!0))}}const r=Object.values(l);if(r.length){const i="http://www.w3.org/1999/xhtml",a=document.createElementNS(i,"svg");a.setAttribute("xmlns",i),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const s=document.createElementNS(i,"defs");a.appendChild(s);for(let c=0;c<r.length;c++)s.appendChild(r[c]);e.appendChild(a)}return e}async function Ht(e,n,o){return!o&&n.filter&&!n.filter(e)?null:Promise.resolve(e).then(l=>ef(l,n)).then(l=>nf(e,l,n)).then(l=>af(e,l)).then(l=>sf(l,n))}const bl=/url\((['"]?)([^'"]+?)\1\)/g,cf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,uf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function df(e){const n=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function ff(e){const n=[];return e.replace(bl,(o,l,r)=>(n.push(r),o)),n.filter(o=>!Cn(o))}async function mf(e,n,o,l,r){try{const i=o?Bd(n,o):n,a=$n(n);let s;return r||(s=await Mn(i,a,l)),e.replace(df(n),`$1${s}$3`)}catch{}return e}function pf(e,{preferredFontFormat:n}){return n?e.replace(uf,o=>{for(;;){const[l,,r]=cf.exec(o)||[];if(!r)return"";if(r===n)return`src: ${l};`}}):e}function Ll(e){return e.search(bl)!==-1}async function Tl(e,n,o){if(!Ll(e))return e;const l=pf(e,o);return ff(l).reduce((i,a)=>i.then(s=>mf(s,a,n,o)),Promise.resolve(l))}async function yt(e,n,o){var l;const r=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(e);if(r){const i=await Tl(r,null,o);return n.style.setProperty(e,i,n.style.getPropertyPriority(e)),!0}return!1}async function gf(e,n){await yt("background",e,n)||await yt("background-image",e,n),await yt("mask",e,n)||await yt("mask-image",e,n)}async function hf(e,n){const o=ke(e,HTMLImageElement);if(!(o&&!Cn(e.src))&&!(ke(e,SVGImageElement)&&!Cn(e.href.baseVal)))return;const l=o?e.src:e.href.baseVal,r=await Mn(l,$n(l),n);await new Promise((i,a)=>{e.onload=i,e.onerror=a;const s=e;s.decode&&(s.decode=i),s.loading==="lazy"&&(s.loading="eager"),o?(e.srcset="",e.src=r):e.href.baseVal=r})}async function Ef(e,n){const l=De(e.childNodes).map(r=>wl(r,n));await Promise.all(l).then(()=>e)}async function wl(e,n){ke(e,Element)&&(await gf(e,n),await hf(e,n),await Ef(e,n))}function kf(e,n){const{style:o}=e;n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.width&&(o.width=`${n.width}px`),n.height&&(o.height=`${n.height}px`);const l=n.style;return l!=null&&Object.keys(l).forEach(r=>{o[r]=l[r]}),e}const wo={};async function Ao(e){let n=wo[e];if(n!=null)return n;const l=await(await fetch(e)).text();return n={url:e,cssText:l},wo[e]=n,n}async function Io(e,n){let o=e.cssText;const l=/url\(["']?([^"')]+)["']?\)/g,i=(o.match(/url\([^)]+\)/g)||[]).map(async a=>{let s=a.replace(l,"$1");return s.startsWith("https://")||(s=new URL(s,e.url).href),Sl(s,n.fetchRequestInit,({result:c})=>(o=o.replace(a,`url(${c})`),[a,c]))});return Promise.all(i).then(()=>o)}function Vo(e){if(e==null)return[];const n=[],o=/(\/\*[\s\S]*?\*\/)/gi;let l=e.replace(o,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=r.exec(l);if(c===null)break;n.push(c[0])}l=l.replace(r,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(a,"gi");for(;;){let c=i.exec(l);if(c===null){if(c=s.exec(l),c===null)break;i.lastIndex=s.lastIndex}else s.lastIndex=i.lastIndex;n.push(c[0])}return n}async function _f(e,n){const o=[],l=[];return e.forEach(r=>{if("cssRules"in r)try{De(r.cssRules||[]).forEach((i,a)=>{if(i.type===CSSRule.IMPORT_RULE){let s=a+1;const c=i.href,u=Ao(c).then(h=>Io(h,n)).then(h=>Vo(h).forEach(E=>{try{r.insertRule(E,E.startsWith("@import")?s+=1:r.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:E,error:g})}})).catch(h=>{console.error("Error loading remote css",h.toString())});l.push(u)}})}catch(i){const a=e.find(s=>s.href==null)||document.styleSheets[0];r.href!=null&&l.push(Ao(r.href).then(s=>Io(s,n)).then(s=>Vo(s).forEach(c=>{a.insertRule(c,r.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",i)}}),Promise.all(l).then(()=>(e.forEach(r=>{if("cssRules"in r)try{De(r.cssRules||[]).forEach(i=>{o.push(i)})}catch(i){console.error(`Error while reading CSS rules from ${r.href}`,i)}}),o))}function yf(e){return e.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Ll(n.style.getPropertyValue("src")))}async function Cf(e,n){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=De(e.ownerDocument.styleSheets),l=await _f(o,n);return yf(l)}async function Nf(e,n){const o=await Cf(e,n);return(await Promise.all(o.map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Tl(r.cssText,i,n)}))).join(`
25
- `)}async function vf(e,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await Nf(e,n);if(o){const l=document.createElement("style"),r=document.createTextNode(o);l.appendChild(r),e.firstChild?e.insertBefore(l,e.firstChild):e.appendChild(l)}}async function Sf(e,n={}){const{width:o,height:l}=vl(e,n),r=await Ht(e,n,!0);return await vf(r,n),await wl(r,n),kf(r,n),await Ud(r,o,l)}async function Al(e,n={}){const{width:o,height:l}=vl(e,n),r=await Sf(e,n),i=await At(r),a=document.createElement("canvas"),s=a.getContext("2d"),c=n.pixelRatio||Md(),u=n.canvasWidth||o,h=n.canvasHeight||l;return a.width=u*c,a.height=h*c,n.skipAutoScale||xd(a),a.style.width=`${u}`,a.style.height=`${h}`,n.backgroundColor&&(s.fillStyle=n.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(i,0,0,a.width,a.height),a}async function bf(e,n={}){return(await Al(e,n)).toDataURL()}async function Lf(e,n={}){return(await Al(e,n)).toDataURL("image/jpeg",n.quality||1)}function Tf(){const e=t.ref(""),n=t.ref("png"),o=t.ref();async function l(s,c={}){let u;const h=c.fileName??`vue-flow-screenshot-${Date.now()}`;switch(c.type){case"jpeg":u=await r(s,c);break;case"png":u=await i(s,c);break;default:u=await i(s,c);break}return c.shouldDownload&&h!==""&&a(h),u}function r(s,c={quality:.95}){return o.value=null,Lf(s,c).then(u=>(e.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function i(s,c={quality:.95}){return o.value=null,bf(s,c).then(u=>(e.value=u,n.value="png",u)).catch(u=>{throw u.value=u,new Error(u)})}function a(s){const c=document.createElement("a");c.download=`${s}.${n.value}`,c.href=e.value,c.click()}return{capture:l,download:a,dataUrl:e,error:o}}const wf={key:1,class:"exporting"},Af=t.defineComponent({__name:"Topology",props:{id:{type:String,required:!0},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{type:String,default:void 0,required:!0},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{type:Object,required:!0},flowId:{type:String,default:void 0},namespace:{type:String,default:void 0},expandedSubflows:{type:Array,default:()=>[]},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{type:Object,default:void 0},subflowsExecutions:{type:Object,default:()=>({})},playgroundEnabled:{type:Boolean,default:!1}},emits:[y.EVENTS.EDIT,y.EVENTS.DELETE,y.EVENTS.RUN_TASK,y.EVENTS.OPEN_LINK,y.EVENTS.SHOW_LOGS,y.EVENTS.SHOW_DESCRIPTION,y.EVENTS.RUN_TASK,"on-add-flowable-error",y.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",y.EVENTS.SHOW_CONDITION],setup(e,{emit:n}){const o=e,l=t.ref(!1),r=t.ref(),{getNodes:i,onNodeDrag:a,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:h,vueFlowRef:E}=re.useVueFlow(o.id),g=t.ref({}),C=t.ref([]),V=t.ref(new Set),L=t.ref([]),{capture:O}=Tf();t.provide(xt,t.computed(()=>o.execution)),t.provide(hl,t.computed(()=>o.subflowsExecutions)),t.provide(El,t.computed(()=>o.playgroundEnabled));const p=n;t.onMounted(()=>{k()}),t.watch(()=>o.flowGraph,()=>{k()}),t.watch(()=>o.isHorizontal,()=>{k()});const k=()=>{y.cleanGraph(o.id),t.nextTick(()=>{p("loading",!0);const P=V.value;V.value=new Set,C.value=[],g.value={},P.forEach(z=>x(y.CLUSTER_PREFIX+z,!1,!1));const A=y.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,C.value,o.isHorizontal,g.value,V.value,L.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction);A&&(h(A),u(),p("loading",!1))})},S=P=>{l.value||y.linkedElements(o.id,P.uid).forEach(A=>{(A==null?void 0:A.type)==="task"&&(A.style={...A.style,outline:"0.5px solid "+Ne("--bs-gray-900")},A.class="rounded-3")})},m=()=>{b()},b=()=>{i.value.filter(P=>P.type==="task"||P.type==="trigger").forEach(P=>{P.style={...P.style,opacity:"1",outline:"none"},P.class=""})};s(P=>{l.value=!0,b(),P.node.style={...P.node.style,zIndex:1976},r.value=P.node.position}),c(P=>{if(l.value=!1,P.intersections&&N(P.intersections,P.node)===null){const A=P.node,z=P.intersections.find(R=>R.type==="task");if(z)try{o.source&&p("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:y.Utils.afterLastDot(A.id)??"",key2:y.Utils.afterLastDot(z.id)??""}),swappedTasks:[A.id,z.id]})}catch(R){p("message",{variant:"error",title:"cannot swap tasks",message:`${R.message}, ${R.messageOptions}`}),A.position=r.value}else A.position=r.value}else P.node.position=r.value;b(),P.node.style={...P.node.style,zIndex:5},r.value=null});const I=t.computed(()=>{var P;return(P=o.flowGraph)!=null&&P.clusters?o.flowGraph.clusters.filter(A=>A.cluster.type.endsWith("SubflowGraphCluster")).map(A=>A.cluster.taskNode.uid+"."):[]});a(P=>{b(),i.value.filter(A=>A.id!==P.node.id).forEach(A=>{var z;A.type==="trigger"||A.type==="task"&&(A.id.startsWith(P.node.id+".")||P.node.id.startsWith(A.id+"."))||(z=I==null?void 0:I.value)!=null&&z.some(R=>A.id.startsWith(R))?A.style={...A.style,opacity:"0.5"}:A.style={...A.style,opacity:"1"}}),P.intersections&&!N(P.intersections,P.node)&&P.intersections.filter(A=>A.type==="task").length===1&&(P.intersections.forEach(A=>{A.type==="task"&&(A.style={...A.style,outline:"0.5px solid "+Ne("--bs-primary")},A.class="rounded-3")}),P.node.style={...P.node.style,outline:"0.5px solid "+Ne("--bs-primary")},P.node.class="rounded-3")});const N=(P,A)=>{const z=P.filter(R=>R.type==="task").map(R=>y.Utils.afterLastDot(R.id));if(z.length>1)return"toomuchtaskerror";try{if(z.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:y.Utils.afterLastDot(z[0])??"",key2:y.Utils.afterLastDot(A.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return P.filter(R=>R.type==="trigger").length>0?"triggererror":null},x=(P,A,z=!1)=>{const R=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(P)),Ie=P.replace(y.CLUSTER_PREFIX,"");V.value.add(Ie),C.value=C.value.concat(R.nodes.filter(me=>me!==Ie||z)),C.value=C.value.concat([R.cluster.uid]),g.value={...g.value,[R.cluster.uid]:Ie,[R.start]:Ie,[R.end]:Ie};for(let me of R.nodes)o.flowGraph.clusters.map(Ue=>Ue.cluster.uid).includes(me)&&x(me,!1,!0);A&&k()},H=P=>{if(["io.kestra.core.tasks.flows.Flow","io.kestra.core.tasks.flows.Subflow","io.kestra.plugin.core.flow.Subflow","io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable","io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"].includes(P.type)&&!o.expandedSubflows.includes(P.id)){p("expand-subflow",[...o.expandedSubflows,P.id]);return}g.value={},C.value=[],L.value=[],V.value.delete(P.id),V.value.forEach(z=>x(z,!1,!1)),k()},J=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ce=t.ref(!0),F=t.ref(!1),he=()=>F.value=!F.value;function Ae(P){if(!E.value){console.warn("Flow not found");return}ce.value=!1,O(E.value,{type:P,shouldDownload:!0}).then(()=>ce.value=!0).finally(()=>F.value=!1)}return(P,A)=>(t.openBlock(),t.createBlock(t.unref(re.VueFlow),{id:e.id,"default-marker-color":t.unref(Ne)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":t.withCtx(z=>[t.createVNode(Cc,t.mergeProps(z,{onCollapse:A[0]||(A[0]=R=>x(R,!0))}),null,16)]),"node-dot":t.withCtx(z=>[t.createVNode(Ic,t.normalizeProps(t.guardReactiveProps(z)),null,16)]),"node-task":t.withCtx(z=>[t.createVNode(od,t.mergeProps(z,{icons:e.icons,"icon-component":e.iconComponent,onEdit:A[1]||(A[1]=R=>p(t.unref(y.EVENTS).EDIT,R)),onDelete:A[2]||(A[2]=R=>p(t.unref(y.EVENTS).DELETE,R)),onRunTask:A[3]||(A[3]=R=>p(t.unref(y.EVENTS).RUN_TASK,R)),onExpand:A[4]||(A[4]=R=>H(R)),onOpenLink:A[5]||(A[5]=R=>p(t.unref(y.EVENTS).OPEN_LINK,R)),onShowLogs:A[6]||(A[6]=R=>p(t.unref(y.EVENTS).SHOW_LOGS,R)),onShowDescription:A[7]||(A[7]=R=>p(t.unref(y.EVENTS).SHOW_DESCRIPTION,R)),onShowCondition:A[8]||(A[8]=R=>p(t.unref(y.EVENTS).SHOW_CONDITION,R)),onMouseover:A[9]||(A[9]=R=>S(R)),onMouseleave:A[10]||(A[10]=R=>m()),onAddError:A[11]||(A[11]=R=>p("on-add-flowable-error",R)),"enable-subflow-interaction":e.enableSubflowInteraction}),null,16,["icons","icon-component","enable-subflow-interaction"])]),"node-trigger":t.withCtx(z=>[t.createVNode(rd,t.mergeProps(z,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:A[12]||(A[12]=R=>p(t.unref(y.EVENTS).DELETE,R)),onEdit:A[13]||(A[13]=R=>p(t.unref(y.EVENTS).EDIT,R)),onShowDescription:A[14]||(A[14]=R=>p(t.unref(y.EVENTS).SHOW_DESCRIPTION,R))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":t.withCtx(z=>[t.createVNode(kd,t.mergeProps(z,{onExpand:A[15]||(A[15]=R=>H(R))}),null,16)]),"edge-edge":t.withCtx(z=>[t.createVNode(Gc,t.mergeProps(z,{"yaml-source":e.source,onAddTask:A[16]||(A[16]=R=>p(t.unref(y.EVENTS).ADD_TASK,R)),"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:t.withCtx(()=>[t.createVNode(t.unref(uc),{"pattern-color":J?t.unref(Ne)("--bs-grey-500"):t.unref(Ne)("--bs-grey-300")},null,8,["pattern-color"]),ce.value?(t.openBlock(),t.createBlock(t.unref(en.Controls),{key:0,"show-interactive":!1},{default:t.withCtx(()=>[e.toggleOrientationButton?(t.openBlock(),t.createBlock(t.unref(en.ControlButton),{key:0,onClick:A[17]||(A[17]=z=>p("toggle-orientation",z))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.isHorizontal?Ld:Nd)))]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(en.ControlButton),{onClick:he},{default:t.withCtx(()=>[t.createVNode(Dd)]),_:1}),F.value?(t.openBlock(),t.createElementBlock("ul",wf,[t.createElementVNode("li",{onClick:A[18]||(A[18]=z=>Ae("jpeg")),class:"item"}," Export as .JPEG "),t.createElementVNode("li",{onClick:A[19]||(A[19]=z=>Ae("png")),class:"item"}," Export as .PNG ")])):t.createCommentVNode("",!0)]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),If=B(Af,[["__scopeId","data-v-e2e42379"]]),Vf={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Of=["aria-hidden","aria-label"],Df=["fill","width","height"],Bf={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},Pf={key:0};function Rf(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Bf,[o.title?(t.openBlock(),t.createElementBlock("title",Pf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Df))],16,Of)}const $f=B(Vf,[["render",Rf]]),Mf={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},xf=["aria-hidden","aria-label"],Ff=["fill","width","height"],Uf={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},Hf={key:0};function zf(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Uf,[o.title?(t.openBlock(),t.createElementBlock("title",Hf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ff))],16,xf)}const Gf=B(Mf,[["render",zf]]),Wf={key:0,class:"language"},jf=["innerHTML"],Kf=t.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(e){const n={ContentCopy:t.shallowRef(Gf),Check:t.shallowRef($f)},o=e,l=t.ref(!1),r=t.ref(),i=t.shallowRef(n.ContentCopy.value),a=t.ref(),s=t.ref(),c=t.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,r.value&&t.nextTick(()=>{a.value&&s.value&&ar.createPopper(a.value,s.value,{placement:"left"})})}function h(){clearTimeout(r.value),navigator.clipboard.writeText(o.code.trimEnd()),i.value=n.Check.value,r.value=setTimeout(()=>{i.value=n.ContentCopy.value,r.value=void 0},2e3)}return(E,g)=>(t.openBlock(),t.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:g[0]||(g[0]=C=>l.value=!1)},[E.language&&!l.value?(t.openBlock(),t.createElementBlock("div",Wf,t.toDisplayString(E.language),1)):t.createCommentVNode("",!0),l.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_key:"copyButton",ref:a,class:"copy"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(i.value),{onClick:h}))],512),r.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},g[1]||(g[1]=[t.createTextVNode(" Copied! "),t.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)]),512)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),t.createElementVNode("div",{innerHTML:c.value},null,8,jf)],32))}}),Oo=B(Kf,[["__scopeId","data-v-a899f6a1"]]),Yf={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qf=["aria-hidden","aria-label"],Xf=["fill","width","height"],Zf={d:"M10,17L15,12L10,7V17Z"},Jf={key:0};function Qf(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon menu-right-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Zf,[o.title?(t.openBlock(),t.createElementBlock("title",Jf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xf))],16,qf)}const em=B(Yf,[["render",Qf]]),tm={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},nm=["aria-hidden","aria-label"],om=["fill","width","height"],lm={d:"M7,10L12,15L17,10H7Z"},rm={key:0};function im(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon menu-down-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",lm,[o.title?(t.openBlock(),t.createElementBlock("title",rm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,om))],16,nm)}const am=B(tm,[["render",im]]),sm=["id","open"],cm={class:"d-flex gap-2 align-items-center"},um={key:0,class:"d-flex flex-grow-1"},dm=["id"],fm=t.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),r=Ln.useRoute(),i=n,a=t.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||i("expand"),window.location.hash=l.value?"":a.value},c=t.ref(!1);return t.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),t.watch(()=>r.hash,u=>{u===a.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,h)=>(t.openBlock(),t.createElementBlock("details",{id:u.href,open:c.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[t.createElementVNode("span",cm,[u.arrow?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?em:am),{key:0,class:"arrow"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(u.clickableText)+" ",1),t.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(t.openBlock(),t.createElementBlock("span",um,[t.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):t.createCommentVNode("",!0)],2),u.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:u.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(u.$slots,"content",{},void 0,!0)])],8,dm)):t.createCommentVNode("",!0)],8,sm))}}),It=B(fm,[["__scopeId","data-v-5411e3ca"]]);function Ct(e){if(e.type)return e.type;if(e.$ref)return"#"+e.$ref.slice(8)}function Il(e){const n=e.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function mm(e){var n,o;if(e.enum)return e.enum;if((n=e.items)!=null&&n.enum)return e.items.enum;if((o=e.additionalProperties)!=null&&o.enum)return e.additionalProperties.enum}function pm(e){return e.allOf&&(e=e.allOf.reduce((n,o)=>({...n,...o}),{...e}),delete e.allOf),e}function Vl(e){const n={},o=Ct(e);return o?n.types=[o]:e.anyOf?n.types=e.anyOf.map(Ct).filter(l=>l!==void 0).filter(y.Utils.distinctFilter):n.types=["object"],e.additionalProperties?n.subType=Ct(e.additionalProperties):e.items&&(n.subType=Ct(e.items)),n}const gm={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hm=["aria-hidden","aria-label"],Em=["fill","width","height"],km={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},_m={key:0};function ym(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",km,[o.title?(t.openBlock(),t.createElementBlock("title",_m,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Em))],16,hm)}const Cm=B(gm,[["render",ym]]),Nm={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vm=["aria-hidden","aria-label"],Sm=["fill","width","height"],bm={d:"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},Lm={key:0};function Tm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",bm,[o.title?(t.openBlock(),t.createElementBlock("title",Lm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Sm))],16,vm)}const Ol=B(Nm,[["render",Tm]]),wm={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Am=["aria-hidden","aria-label"],Im=["fill","width","height"],Vm={d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},Om={key:0};function Dm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon file-document-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Vm,[o.title?(t.openBlock(),t.createElementBlock("title",Om,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Im))],16,Am)}const Bm=B(wm,[["render",Dm]]),Pm={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Rm=["aria-hidden","aria-label"],$m=["fill","width","height"],Mm={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},xm={key:0};function Fm(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alert-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Mm,[o.title?(t.openBlock(),t.createElementBlock("title",xm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,$m))],16,Rm)}const Dl=B(Pm,[["render",Fm]]),Um={class:"me-3"},Hm={class:"d-flex flex-column"},zm=t.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(e){const n=e,o=t.computed(()=>{switch(n.type){case"success":return Bm;case"info":return cn;case"warning":return Dl;case"danger":return sn;default:return cn}});return(l,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass("doc-alert alert alert-"+l.type),role:"alert"},[t.createElementVNode("div",Um,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),t.createElementVNode("div",Hm,[t.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),Gm=B(zm,[["__scopeId","data-v-f7fd8bc1"]]),Wm={class:"property-detail"},jm={key:0},Km=["href"],Ym={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},qm={class:"ref-type"},Xm={key:1,class:"type-box rounded fs-7 px-2 py-1"},Zm={key:1},Jm={class:"border rounded px-2 py-1"},Qm={key:2},ep={class:"border rounded px-2 py-1"},tp={key:3},np={class:"border rounded px-2 py-1"},op={key:4},lp={class:"border rounded px-2 py-1"},rp={key:5},ip={class:"border rounded px-2 py-1"},ap={key:6},sp={class:"border rounded px-2 py-1"},cp={key:7},up={class:"border rounded px-2 py-1"},dp={key:8},fp={class:"border rounded px-2 py-1"},mp={key:9},pp={class:"border rounded px-2 py-1"},gp={key:10},hp={class:"border rounded px-2 py-1"},Ep={key:11},kp={class:"border rounded px-2 py-1"},_p={key:12},yp={class:"border rounded px-2 py-1"},Cp={key:13},Np={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},vp={key:14},Sp={class:"property-description markdown"},bp={key:2},Lp=t.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const n=e,o=t.ref(Vl(n.property).subType),l=t.ref(mm(n.property)),r=i=>i.replaceAll(/(```)(?:bash|yaml|js|console|json)(\n) *([\s\S]*?```)/g,"$1$2$3").replaceAll(new RegExp("(?<!:):(?![: /])","g"),": ");return(i,a)=>(t.openBlock(),t.createElementBlock("div",Wm,[o.value?(t.openBlock(),t.createElementBlock("div",jm,[a[1]||(a[1]=t.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,href:o.value,onClick:a[0]||(a[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("button",Ym,[t.createElementVNode("span",qm,t.toDisplayString(t.unref(Il)(o.value)),1),t.createVNode(Ol)])],8,Km)):(t.openBlock(),t.createElementBlock("span",Xm,t.toDisplayString(o.value),1))])):t.createCommentVNode("",!0),i.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",Zm,[a[2]||(a[2]=t.createElementVNode("span",null," Default ",-1)),t.createElementVNode("code",Jm,t.toDisplayString(i.property.default),1)])):t.createCommentVNode("",!0),i.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",Qm,[a[3]||(a[3]=t.createElementVNode("span",null," Validation RegExp ",-1)),t.createElementVNode("code",ep,t.toDisplayString(i.property.pattern),1)])):t.createCommentVNode("",!0),i.property.unit!==void 0&&i.property.unit.trim().length>0?(t.openBlock(),t.createElementBlock("div",tp,[a[4]||(a[4]=t.createElementVNode("span",null," Unit ",-1)),t.createElementVNode("code",np,t.toDisplayString(i.property.unit),1)])):t.createCommentVNode("",!0),i.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",op,[a[5]||(a[5]=t.createElementVNode("span",null," Min length ",-1)),t.createElementVNode("code",lp,t.toDisplayString(i.property.minLength),1)])):t.createCommentVNode("",!0),i.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",rp,[a[6]||(a[6]=t.createElementVNode("span",null," Max length ",-1)),t.createElementVNode("code",ip,t.toDisplayString(i.property.maxLength),1)])):t.createCommentVNode("",!0),i.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",ap,[a[7]||(a[7]=t.createElementVNode("span",null," Min items ",-1)),t.createElementVNode("code",sp,t.toDisplayString(i.property.minItems),1)])):t.createCommentVNode("",!0),i.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",cp,[a[8]||(a[8]=t.createElementVNode("span",null," Max items ",-1)),t.createElementVNode("code",up,t.toDisplayString(i.property.maxItems),1)])):t.createCommentVNode("",!0),i.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",dp,[a[9]||(a[9]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",fp," >= "+t.toDisplayString(i.property.minimum),1)])):t.createCommentVNode("",!0),i.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",mp,[a[10]||(a[10]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",pp," > "+t.toDisplayString(i.property.minimum),1)])):t.createCommentVNode("",!0),i.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",gp,[a[11]||(a[11]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",hp," <= "+t.toDisplayString(i.property.maximum),1)])):t.createCommentVNode("",!0),i.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",Ep,[a[12]||(a[12]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",kp," < "+t.toDisplayString(i.property.maximum),1)])):t.createCommentVNode("",!0),i.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",_p,[a[13]||(a[13]=t.createElementVNode("span",null," Format ",-1)),t.createElementVNode("code",yp,t.toDisplayString(i.property.format),1)])):t.createCommentVNode("",!0),l.value!==void 0?(t.openBlock(),t.createElementBlock("div",Cp,[a[14]||(a[14]=t.createElementVNode("span",null," Possible Values ",-1)),t.createElementVNode("div",Np,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(s,c)=>(t.openBlock(),t.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},t.toDisplayString(s),1))),128))])])):t.createCommentVNode("",!0),i.property.title!==void 0||i.property.description!==void 0?(t.openBlock(),t.createElementBlock("div",vp,[t.createElementVNode("div",Sp,[i.property.title!==void 0?t.renderSlot(i.$slots,"markdown",{key:0,content:r(i.property.title)},void 0,!0):t.createCommentVNode("",!0),i.property.description!==void 0?t.renderSlot(i.$slots,"markdown",{key:1,content:r(i.property.description)},void 0,!0):t.createCommentVNode("",!0),i.property.$internalStorageURI?(t.openBlock(),t.createElementBlock("div",bp,[t.createVNode(Gm,{type:"info"},{default:t.withCtx(()=>[t.renderSlot(i.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]))}}),Tp=B(Lp,[["__scopeId","data-v-79715a4e"]]),wp={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ap=["aria-hidden","aria-label"],Ip=["fill","width","height"],Vp={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},Op={key:0};function Dp(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Vp,[o.title?(t.openBlock(),t.createElementBlock("title",Op,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ip))],16,Ap)}const Bp=B(wp,[["render",Dp]]),Pp={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Rp=["aria-hidden","aria-label"],$p=["fill","width","height"],Mp={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},xp={key:0};function Fp(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon snowflake-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Mp,[o.title?(t.openBlock(),t.createElementBlock("title",xp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,$p))],16,Rp)}const Up=B(Pp,[["render",Fp]]),Hp={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zp=["aria-hidden","aria-label"],Gp=["fill","width","height"],Wp={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},jp={key:0};function Kp(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Wp,[o.title?(t.openBlock(),t.createElementBlock("title",jp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Gp))],16,zp)}const Yp=B(Hp,[["render",Kp]]),qp={class:"border overflow-hidden"},Xp={class:"d-flex flex-grow-1 align-items-center justify-content-between"},Zp={class:"d-flex gap-2"},Jp={class:"d-flex flex-wrap gap-2"},Qp=["href"],eg={class:"ref-type"},tg={key:1,class:"type-box rounded fs-7 px-2 py-1"},ng=t.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]}},emits:["expand"],setup(e,{emit:n}){const o=e,l=n,r=t.ref(!1);t.watch(r,s=>{s&&l("expand")});const i=s=>{var c;return s.$dynamic===!0?!0:s.$dynamic===!1?!1:((c=s.anyOf)==null?void 0:c.some(u=>u.$dynamic===!0))??!1};function a(s){const c=[],u=[];for(const g in s)typeof s[g]=="object"&&(s[g]=pm(s[g]),s[g].$required?c.push(g):u.push(g));const h=[...c.sort(),...u.sort()],E={};return h.forEach(g=>{var C;(!s[g].$deprecated||(C=o.forceInclude)!=null&&C.includes(g))&&(E[g]=s[g])}),E}return(s,c)=>(t.openBlock(),t.createBlock(It,{class:"section-collapsible","clickable-text":s.sectionName,href:s.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":s.initiallyExpanded||r.value},t.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[t.createElementVNode("div",qp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a(s.properties),(u,h)=>(t.openBlock(),t.createBlock(It,{class:"property",key:h,arrow:!1,"clickable-text":h,href:s.href+"_"+h,onExpand:c[1]||(c[1]=E=>r.value=!0)},{additionalButtonText:t.withCtx(()=>[u.$required?(t.openBlock(),t.createBlock(X,{key:0,class:"d-flex",title:"Required"},{default:t.withCtx(()=>c[3]||(c[3]=[t.createElementVNode("span",{class:"text-danger"}," *",-1)])),_:1})):t.createCommentVNode("",!0)]),buttonRight:t.withCtx(({collapsed:E})=>[t.createElementVNode("span",Xp,[t.createElementVNode("span",Zp,[s.showDynamic&&!i(u)?(t.openBlock(),t.createBlock(X,{key:0,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(Up,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),u.$beta?(t.openBlock(),t.createBlock(X,{key:1,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(Yp,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),u.$deprecated?(t.openBlock(),t.createBlock(X,{key:2,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Dl,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("span",Jp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(Vl)(u).types,g=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:g},[g.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1",href:g,onClick:c[0]||(c[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("span",eg,t.toDisplayString(t.unref(Il)(g)),1),t.createVNode(Ol)],8,Qp)):(t.openBlock(),t.createElementBlock("span",tg,t.toDisplayString(g),1))],64))),128)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(E?Cm:Bp),{class:"arrow"}))])])]),content:t.withCtx(()=>[t.createVNode(Tp,{property:u},{markdown:t.withCtx(({content:E})=>[t.renderSlot(s.$slots,"markdown",{content:E},void 0,!0)]),_:2},1032,["property"])]),_:2},1032,["clickable-text","href"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded"]))}}),Nt=B(ng,[["__scopeId","data-v-0d36ff40"]]),og={class:"d-flex flex-column gap-6"},lg={key:0,class:"alert alert-info",role:"alert"},rg={key:1,class:"plugin-title markdown"},ig={key:2,class:"markdown"},ag={class:"d-flex flex-column gap-4"},sg={class:"d-flex flex-column gap-3"},cg={class:"markdown"},ug={key:0,class:"w-100 align-self-center"},dg={class:"markdown"},fg={class:"markdown"},mg={class:"markdown"},pg={class:"d-flex flex-column gap-7 ps-3"},gg={class:"markdown"},hg=t.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]}},async setup(e){let n,o;const l=e,r=t.ref(!1),i=t.ref(new Set),a=t.ref(0),s=async()=>{var I;const m=window.location.hash.slice(1);if(!m||!l.schema.definitions){i.value.clear();return}const b=m.includes("#")?(I=m.split("#").pop())==null?void 0:I.split(".").pop():m;if(b&&b in l.schema.definitions){r.value=!0,a.value+=1,i.value.clear(),i.value.add(b),await t.nextTick();let N=0;const x=30,H=()=>{const J=document.getElementById(b);J?J.scrollIntoView({behavior:"smooth",block:"start"}):N<x&&(N++,requestAnimationFrame(H))};requestAnimationFrame(H)}else i.value.clear()};t.watch([()=>l.schema,()=>l.pluginType],([m,b],[I,N])=>{(m!==I||b!==N)&&l.schema.definitions&&s()},{immediate:!0});const c=m=>{var b;return m!=null&&m.full?m.code:`id: "${(b=l.pluginType.split(".").reverse()[0])==null?void 0:b.toLowerCase()}"
24
+ </svg>`));return(r,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",{class:t.normalizeClass([[`border-${e.data.color}`],"dependency-node-wrapper rounded-3 border"])},[t.createVNode(Vn,{"custom-icon":{icon:a.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),t.createElementVNode("div",nc,[t.createElementVNode("div",oc,[t.createVNode(X,{title:e.data.flowId},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.flowId),1)]),_:1},8,["title"])]),t.createElementVNode("div",lc,[t.createVNode(X,{title:e.data.namespace},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.namespace),1)]),_:1},8,["title"])])]),t.createElementVNode("div",rc,[t.renderSlot(r.$slots,"badge-button-before",{},void 0,!0),e.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:i[0]||(i[0]=s=>r.$emit(t.unref(N.EVENTS).OPEN_LINK,e.data))},[t.createVNode(X,{title:t.unref(l)("open")},{default:t.withCtx(()=>[t.createVNode(ml,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),e.data.expandEnabled?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:i[1]||(i[1]=s=>o(t.unref(N.EVENTS).EXPAND_DEPENDENCIES,e.data))},[t.createVNode(X,{title:t.unref(l)("expand")},{default:t.withCtx(()=>[t.createVNode(tc,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(r.$slots,"badge-button-after",{},void 0,!0)])],2),t.createVNode(t.unref(ne.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),ic=D(ac,[["__scopeId","data-v-2271d5b0"]]);var Te=(e=>(e.Lines="lines",e.Dots="dots",e))(Te||{});const pl=function({dimensions:e,size:n,color:o}){return t.h("path",{stroke:o,"stroke-width":n,d:`M${e[0]/2} 0 V${e[1]} M0 ${e[1]/2} H${e[0]}`})},gl=function({radius:e,color:n}){return t.h("circle",{cx:e,cy:e,r:e,fill:n})};Te.Lines+"",Te.Dots+"";const sc={[Te.Dots]:"#81818a",[Te.Lines]:"#eee"},cc=["id","x","y","width","height","patternTransform"],uc={key:2,height:"100",width:"100"},dc=["fill"],fc=["x","y","fill"],mc={name:"Background",compatConfig:{MODE:3}},pc=t.defineComponent({...mc,props:{id:{},variant:{default:()=>Te.Dots},gap:{default:20},size:{default:1},lineWidth:{default:1},patternColor:{},color:{},bgColor:{},height:{default:100},width:{default:100},x:{default:0},y:{default:0},offset:{default:2}},setup(e){const{id:n,viewport:o}=ne.useVueFlow(),l=t.computed(()=>{const[i,s]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],c=[i*o.value.zoom||1,s*o.value.zoom||1],u=e.size*o.value.zoom,E=e.variant===Te.Dots?[u/e.offset,u/e.offset]:[c[0]/e.offset,c[1]/e.offset];return{scaledGap:c,offset:E,size:u}}),a=t.toRef(()=>`pattern-${n}${e.id?`-${e.id}`:""}`),r=t.toRef(()=>e.color||e.patternColor||sc[e.variant||Te.Dots]);return(i,s)=>(t.openBlock(),t.createElementBlock("svg",{class:"vue-flow__background vue-flow__container",style:t.normalizeStyle({height:`${i.height>100?100:i.height}%`,width:`${i.width>100?100:i.width}%`})},[t.renderSlot(i.$slots,"pattern-container",{id:a.value},()=>[t.createElementVNode("pattern",{id:a.value,x:t.unref(o).x%l.value.scaledGap[0],y:t.unref(o).y%l.value.scaledGap[1],width:l.value.scaledGap[0],height:l.value.scaledGap[1],patternTransform:`translate(-${l.value.offset[0]},-${l.value.offset[1]})`,patternUnits:"userSpaceOnUse"},[t.renderSlot(i.$slots,"pattern",{},()=>[i.variant===t.unref(Te).Lines?(t.openBlock(),t.createBlock(t.unref(pl),{key:0,size:i.lineWidth,color:r.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):i.variant===t.unref(Te).Dots?(t.openBlock(),t.createBlock(t.unref(gl),{key:1,color:r.value,radius:l.value.size/i.offset},null,8,["color","radius"])):t.createCommentVNode("",!0),i.bgColor?(t.openBlock(),t.createElementBlock("svg",uc,[t.createElementVNode("rect",{width:"100%",height:"100%",fill:i.bgColor},null,8,dc)])):t.createCommentVNode("",!0)])],8,cc)]),t.createElementVNode("rect",{x:i.x,y:i.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,fc),t.renderSlot(i.$slots,"default",{id:a.value})],4))}}),gc={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hc=["aria-hidden","aria-label"],Ec=["fill","width","height"],_c={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},kc={key:0};function yc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon arrow-collapse-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",_c,[o.title?(t.openBlock(),t.createElementBlock("title",kc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ec))],16,hc)}const Cc=D(gc,[["render",yc]]),vc={class:"top-button-div text-white d-flex"},Nc={inheritAttrs:!1,components:{Tooltip:X},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){var n;const e=this.data.taskNode;if((n=e==null?void 0:e.type)!=null&&n.endsWith("SubflowGraphTask")){const o=e.task.subflowId??e.task;return o.namespace+" "+o.flowId}return N.Utils.afterLastDot(this.id)}}},Sc=Object.assign(Nc,{__name:"ClusterNode",props:{data:{type:Object,default:void 0},sourcePosition:{type:ne.Position,default:void 0},targetPosition:{type:ne.Position,default:void 0},id:{type:String,default:void 0}},emits:[N.EVENTS.COLLAPSE],setup(e,{emit:n}){const o=e,l=n,a=()=>{l(N.EVENTS.COLLAPSE,o.id)};return(r,i)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(r.classes)},[t.createElementVNode("span",{class:t.normalizeClass(["badge rounded-pill text-truncate text-color position-reliative",[`bg-${e.data.color}`]])},t.toDisplayString(r.clusterName),3),t.createElementVNode("div",vc,[e.data.collapsable?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:i[0]||(i[0]=s=>a())},[t.createVNode(X,{title:r.$t("collapse")},{default:t.withCtx(()=>[t.createVNode(Cc,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)])],2))}}),bc=D(Sc,[["__scopeId","data-v-0c251e77"]]),Lc={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},wc=["aria-hidden","aria-label"],Tc=["fill","width","height"],Ac={d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},Ic={key:0};function Vc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon circle-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ac,[o.title?(t.openBlock(),t.createElementBlock("title",Ic,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Tc))],16,wc)}const hl=D(Lc,[["render",Vc]]),Bc={name:"Dot",components:{Handle:ne.Handle,CircleIcon:hl},inheritAttrs:!1,props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},label:{type:String,default:void 0}},computed:{classes(){return{"unused-path":this.data.unused,[N.Utils.afterLastDot(this.data.node.type)]:!0}}}},Oc=Object.assign(Bc,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(n.classes)},[t.createVNode(t.unref(ne.Handle),{type:"source",class:"custom-handle",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",{class:t.normalizeClass(["dot",n.classes])},[t.createVNode(hl,{class:t.normalizeClass([{"text-danger":e.data.node.branchType==="ERROR"},"circle"]),alt:"circle"},null,8,["class"])],2),t.createVNode(t.unref(ne.Handle),{type:"target",class:"custom-handle",position:e.targetPosition},null,8,["position"])],2))}}),Dc=D(Oc,[["__scopeId","data-v-666f472b"]]),Pc={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$c=["aria-hidden","aria-label"],Rc=["fill","width","height"],Mc={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},xc={key:0};function Fc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon plus-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Mc,[o.title?(t.openBlock(),t.createElementBlock("title",xc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Rc))],16,$c)}const Uc=D(Pc,[["render",Fc]]),Hc={class:"add-task-div rounded d-flex justify-content-center align-items-center"},zc=t.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",Hc,[n.addTask?(t.openBlock(),t.createBlock(Uc,{key:0,alt:"add task icon"})):t.createCommentVNode("",!0)]))}}),Gc=D(zc,[["__scopeId","data-v-4afc4738"]]),Wc={data(){return{tooltips:[]}},props:{id:{type:String,default:void 0},data:{type:Object,default:void 0},sourceX:{type:Number,default:void 0},sourceY:{type:Number,default:void 0},targetX:{type:Number,default:void 0},targetY:{type:Number,default:void 0},markerEnd:{type:String,default:void 0},sourcePosition:{type:String,default:void 0},targetPosition:{type:String,default:void 0}},components:{AddTaskButton:Gc,EdgeLabelRenderer:ne.EdgeLabelRenderer,Tooltip:X},computed:{Utils(){return N.Utils},EVENTS(){return N.EVENTS},classes(){return{"vue-flow__edge-path":!0,["stroke-"+this.data.color]:this.data.color,"unused-path":this.data.unused}},title(){const{haveAdd:e}=this.data;return`${this.$t("add task")} ${(e==null?void 0:e.length)===2?`${this.$t(e[1])} ${e[0]}`:""}`.trim()}},setup(e){return{path:t.computed(()=>ne.getSmoothStepPath(e))}},inheritAttrs:!1},Kc=["id","d","marker-end"];function jc(e,n,o,l,a,r){const i=t.resolveComponent("AddTaskButton"),s=t.resolveComponent("tooltip"),c=t.resolveComponent("EdgeLabelRenderer");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("path",{id:o.id,class:t.normalizeClass(r.classes),style:t.normalizeStyle(o.data.haveDashArray?{strokeDasharray:"2"}:{}),d:l.path[0],"marker-end":o.markerEnd},null,14,Kc),t.createVNode(c,{style:{"z-index":"10"}},{default:t.withCtx(()=>[t.createElementVNode("div",{style:t.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${l.path[1]}px,${l.path[2]}px)`})},[t.createVNode(s,{title:r.title},{default:t.withCtx(()=>[o.data.haveAdd?(t.openBlock(),t.createBlock(i,{key:0,"add-task":!0,onClick:n[0]||(n[0]=u=>e.$emit(r.EVENTS.ADD_TASK,o.data.haveAdd)),class:t.normalizeClass({"text-danger":o.data.color})},null,8,["class"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})],64)}const Yc=D(Wc,[["render",jc],["__scopeId","data-v-a3e1d999"]]),qc=["innerHTML"],Xc=t.defineComponent({__name:"Duration",props:{histories:{}},setup(e){const n=e;t.watch(()=>n.histories,(_,A)=>{A[0].date!==_[0].date&&s()});const o=t.ref(""),l=t.ref();t.onMounted(()=>{s()});const a=t.computed(()=>{var _;return((_=n.histories)==null?void 0:_.length)&&new Date(n.histories[0].date.toString()).getTime()}),r=t.computed(()=>n.histories[n.histories.length-1]),i=t.computed(()=>n.histories.filter(_=>_.date.isValid()&&_.date&&_.state));function s(){l.value||(l.value=setInterval(()=>{g(),n.histories&&!te.isRunning(r.value.state)&&c()},100))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){return E()-a.value}function E(){return!n.histories||te.isRunning(r.value.state)?+new Date:new Date(r.value.date.toString()).getTime()}function g(){o.value=i.value.length===0?"&nbsp;":N.humanDuration(u()/1e3)}function h(_){return"ks-duration-tt-square-"+_.toLowerCase()}return t.onBeforeUnmount(()=>{c()}),(_,A)=>(t.openBlock(),t.createBlock(X,{key:r.value.date.toString()},{content:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,(S,C)=>(t.openBlock(),t.createElementBlock("span",{key:"tt-"+C,class:"ks-duration-tt"},[t.createElementVNode("span",{class:t.normalizeClass(["ks-duration-tt-square",h(S.state)])},null,2),t.createElementVNode("strong",null,t.toDisplayString(S.state)+": ",1),t.createTextVNode(t.toDisplayString(N.dateFilter(S.date.toISOString(),"iso"))+" ",1),A[0]||(A[0]=t.createElementVNode("br",null,null,-1))]))),128))]),default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:o.value},null,8,qc)]),_:1}))}}),Zc={class:"btn-group content rounded-1 content-children text-truncate"},Jc={key:0,class:"taskRunCount"},Qc={key:1},eu={key:2},tu=t.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{},state:{}},setup(e){const n=e,o=t.computed(()=>{var r;return(r=n.execution)!=null&&r.taskRunList?n.execution.taskRunList:[]}),l=t.computed(()=>o.value.filter(r=>r.taskId===N.afterLastDot(n.uid??""))),a=t.computed(()=>{if(!l.value)return;const r=Math.max(...l.value.filter(s=>s.state.histories&&s.state.histories.length>0).map(s=>new Date(s.state.histories[s.state.histories.length-1].date).getTime())),i=Math.max(...l.value.map(s=>Jt.duration(s.state.duration).asMilliseconds()/1e3,0));return[{date:Jt(r).subtract(i,"second"),state:"CREATED"},{date:Jt(r),state:n.state}]});return(r,i)=>(t.openBlock(),t.createElementBlock("div",Zc,[l.value.length>0?(t.openBlock(),t.createElementBlock("span",Jc,t.toDisplayString(l.value.length)+" task runs",1)):t.createCommentVNode("",!0),l.value.length>0?(t.openBlock(),t.createElementBlock("span",Qc," | ")):t.createCommentVNode("",!0),a.value?(t.openBlock(),t.createElementBlock("span",eu,[t.createVNode(Xc,{histories:a.value},null,8,["histories"])])):t.createCommentVNode("",!0)]))}}),nu=D(tu,[["__scopeId","data-v-2b139cc5"]]),ou={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},lu=["aria-hidden","aria-label"],ru=["fill","width","height"],au={d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z"},iu={key:0};function su(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon information-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",au,[o.title?(t.openBlock(),t.createElementBlock("title",iu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ru))],16,lu)}const cu=D(ou,[["render",su]]),uu={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},du=["aria-hidden","aria-label"],fu=["fill","width","height"],mu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},pu={key:0};function gu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon arrow-expand-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",mu,[o.title?(t.openBlock(),t.createElementBlock("title",pu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,fu))],16,du)}const Bn=D(uu,[["render",gu]]),hu={class:"icon rounded"},Eu={class:"node-content"},_u={class:"d-flex node-title"},ku={class:"text-truncate task-title"},yu={key:0,class:"d-flex"},Cu={class:"text-white top-button-div"},vu=t.defineComponent({name:"BasicNode",inheritAttrs:!1,__name:"BasicNode",props:{id:{},title:{},type:{},disabled:{type:Boolean},state:{},data:{},icons:{},iconComponent:{},class:{}},emits:[N.EVENTS.EXPAND,N.EVENTS.OPEN_LINK,N.EVENTS.SHOW_LOGS,N.EVENTS.MOUSE_OVER,N.EVENTS.MOUSE_LEAVE,N.EVENTS.ADD_ERROR,N.EVENTS.EDIT,N.EVENTS.DELETE,N.EVENTS.ADD_TASK,N.EVENTS.SHOW_DESCRIPTION],setup(e,{emit:n}){const o=n,l=e;function a(){o(N.EVENTS.MOUSE_OVER,l.data.node)}function r(){o(N.EVENTS.MOUSE_LEAVE)}const i=t.computed(()=>{var _;return((_=l.data)==null?void 0:_.expandable)||!1}),s=t.computed(()=>{const _=l.data.node.task??l.data.node.trigger??null;return _?_.description??null:null}),c=t.computed(()=>N.Utils.afterLastDot(l.id??"")),u=t.computed(()=>["default","danger"].includes(l.data.color)?"":l.data.color),E=t.computed(()=>{var _,A,S,C;return[{"unused-path":l.data.unused,disabled:((_=l.data.node.task)==null?void 0:_.disabled)||((C=(S=(A=l.data.parent)==null?void 0:A.taskNode)==null?void 0:S.task)==null?void 0:C.disabled)},l.class]}),g=t.computed(()=>{var _;if(l.data.node.triggerDeclaration)return l.data.node.triggerDeclaration.type;if((_=l.data.node)!=null&&_.task)return l.data.node.task.type}),h=t.computed(()=>{var _;if((_=l.data.node.type)!=null&&_.endsWith("SubflowGraphTask")){const A=l.data.node.task.subflowId??l.data.node.task;return A.namespace+" "+A.flowId}return c.value});return(_,A)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["node-wrapper rounded-3",{...E.value,"running-border-animation":_.state==="RUNNING"}]),style:t.normalizeStyle({borderColor:_.state?`var(--ks-border-${_.state.toLowerCase()})`:void 0}),onMouseover:a,onMouseleave:r},[t.createElementVNode("div",hu,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(_.iconComponent||Vn),{cls:g.value,class:t.normalizeClass([u.value,"rounded bg-white"]),theme:"light",icons:_.icons},null,8,["cls","class","icons"]))]),t.createElementVNode("div",Eu,[t.createElementVNode("div",_u,[t.createElementVNode("div",ku,[t.createVNode(X,{title:h.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(_.title??c.value),1)]),_:1},8,["title"])]),s.value?(t.openBlock(),t.createElementBlock("span",yu,[t.createVNode(X,{title:_.$t("show description"),class:"d-flex align-items-center"},{default:t.withCtx(()=>[t.createVNode(cu,{onClick:A[0]||(A[0]=S=>_.$emit(t.unref(N.EVENTS).SHOW_DESCRIPTION,{id:c.value,description:s.value})),class:"description-button ms-2"})]),_:1},8,["title"])])):t.createCommentVNode("",!0)]),t.renderSlot(_.$slots,"content",{},void 0,!0)]),t.createElementVNode("div",Cu,[t.renderSlot(_.$slots,"badge-button-before",{},void 0,!0),_.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${_.data.color}`]]),onClick:A[1]||(A[1]=S=>_.$emit(t.unref(N.EVENTS).OPEN_LINK,{link:_.data.link}))},[t.createVNode(X,{title:_.$t("open")},{default:t.withCtx(()=>[t.createVNode(ml,{class:"button-icon",alt:"Open in new tab"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),i.value?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${_.data.color}`]]),onClick:A[2]||(A[2]=S=>_.$emit(t.unref(N.EVENTS).EXPAND))},[t.createVNode(X,{title:_.$t("expand")},{default:t.withCtx(()=>[t.createVNode(Bn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(_.$slots,"badge-button-after",{},void 0,!0)])],38))}}),El=D(vu,[["__scopeId","data-v-394f20a4"]]),On=Symbol("execution-injection-key"),_l=Symbol("subflows-executions-injection-key"),Nu={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Su=["aria-hidden","aria-label"],bu=["fill","width","height"],Lu={d:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},wu={key:0};function Tu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon pencil-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Lu,[o.title?(t.openBlock(),t.createElementBlock("title",wu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,bu))],16,Su)}const Dn=D(Nu,[["render",Tu]]),Au={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Iu=["aria-hidden","aria-label"],Vu=["fill","width","height"],Bu={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},Ou={key:0};function Du(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon delete-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Bu,[o.title?(t.openBlock(),t.createElementBlock("title",Ou,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Vu))],16,Iu)}const Pn=D(Au,[["render",Du]]),Pu={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$u=["aria-hidden","aria-label"],Ru=["fill","width","height"],Mu={d:"M15.5,12C18,12 20,14 20,16.5C20,17.38 19.75,18.21 19.31,18.9L22.39,22L21,23.39L17.88,20.32C17.19,20.75 16.37,21 15.5,21C13,21 11,19 11,16.5C11,14 13,12 15.5,12M15.5,14A2.5,2.5 0 0,0 13,16.5A2.5,2.5 0 0,0 15.5,19A2.5,2.5 0 0,0 18,16.5A2.5,2.5 0 0,0 15.5,14M7,15V17H9C9.14,18.55 9.8,19.94 10.81,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19A2,2 0 0,1 21,5V13.03C19.85,11.21 17.82,10 15.5,10C14.23,10 13.04,10.37 12.04,11H7V13H10C9.64,13.6 9.34,14.28 9.17,15H7M17,9V7H7V9H17Z"},xu={key:0};function Fu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon text-box-search-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Mu,[o.title?(t.openBlock(),t.createElementBlock("title",xu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ru))],16,$u)}const Uu=D(Pu,[["render",Fu]]),Hu={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},zu=["aria-hidden","aria-label"],Gu=["fill","width","height"],Wu={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},Ku={key:0};function ju(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alert-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Wu,[o.title?(t.openBlock(),t.createElementBlock("title",Ku,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Gu))],16,zu)}const Yu=D(Hu,[["render",ju]]),qu={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xu=["aria-hidden","aria-label"],Zu=["fill","width","height"],Ju={d:"M23,18V17.5A2.5,2.5 0 0,0 20.5,15A2.5,2.5 0 0,0 18,17.5V18A1,1 0 0,0 17,19V23A1,1 0 0,0 18,24H23A1,1 0 0,0 24,23V19A1,1 0 0,0 23,18M22,18H19V17.5A1.5,1.5 0 0,1 20.5,16A1.5,1.5 0 0,1 22,17.5V18M23,12L2,21V14L17,12L2,10V3L23,12Z"},Qu={key:0};function ed(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon send-lock-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ju,[o.title?(t.openBlock(),t.createElementBlock("title",Qu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Zu))],16,Xu)}const td=D(qu,[["render",ed]]),nd={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},od=["aria-hidden","aria-label"],ld=["fill","width","height"],rd={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},ad={key:0};function id(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon play-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",rd,[o.title?(t.openBlock(),t.createElementBlock("title",ad,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ld))],16,od)}const sd=D(nd,[["render",id]]),cd={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ud=["aria-hidden","aria-label"],dd=["fill","width","height"],fd={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},md={key:0};function pd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon check-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",fd,[o.title?(t.openBlock(),t.createElementBlock("title",md,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,dd))],16,ud)}const kl=D(cd,[["render",pd]]),gd={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hd=["aria-hidden","aria-label"],Ed=["fill","width","height"],_d={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},kd={key:0};function yd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alert-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",_d,[o.title?(t.openBlock(),t.createElementBlock("title",kd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ed))],16,hd)}const $n=D(gd,[["render",yd]]),Cd={name:"SkipForwardIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vd=["aria-hidden","aria-label"],Nd=["fill","width","height"],Sd={d:"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},bd={key:0};function Ld(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon skip-forward-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Sd,[o.title?(t.openBlock(),t.createElementBlock("title",bd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Nd))],16,vd)}const wd=D(Cd,[["render",Ld]]),Td=t.defineComponent({name:"TaskNode",inheritAttrs:!1,__name:"TaskNode",props:{data:{},sourcePosition:{default:ne.Position.Right},targetPosition:{default:ne.Position.Left},id:{},icons:{default:void 0},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},playgroundEnabled:{type:Boolean},playgroundReadyToStart:{type:Boolean}},setup(e,{emit:n}){const o=e,l=n,a=t.inject(On),r=t.inject(_l),i=t.computed(()=>o.data.color??"primary"),s=t.computed(()=>N.Utils.afterLastDot(o.id)),c=t.computed(()=>{var f;const C=o.data.executionId;if(C)return C===((f=a==null?void 0:a.value)==null?void 0:f.id)?a==null?void 0:a.value:Object.values((r==null?void 0:r.value)||{}).find(k=>k.id===C)}),u=t.computed(()=>c.value&&c.value.taskRunList?c.value.taskRunList:[]),E=t.computed(()=>u.value.filter(C=>C.taskId===N.Utils.afterLastDot(o.data.node.uid))),g=t.computed(()=>{var b;if(!((b=E.value)!=null&&b.length))return null;if(E.value.length===1)return E.value[0].state.current;const C=E.value.map(p=>p.state.current),f=[te.FAILED,te.KILLED,te.WARNING,te.SKIPPED,te.KILLING,te.RUNNING,te.SUCCESS,te.RESTARTED,te.CREATED];return C.map(p=>[f.indexOf(p[1]),p]).sort().map(p=>p[1])[0]}),h=t.computed(()=>({"execution-no-taskrun":!!(c.value&&E.value&&E.value.length===0)})),_=t.computed(()=>({id:o.id,type:String(o.data.node.task.type)})),A=t.computed(()=>{var C,f,k,b,p;if((C=o.data.node.type)!=null&&C.endsWith("SubflowGraphTask")&&o.enableSubflowInteraction){const w=o.data.node.task.subflowId??o.data.node.task;return{...o.data,link:{namespace:w.namespace,id:w.flowId,executionId:(p=(b=(k=(f=c.value)==null?void 0:f.taskRunList.filter(V=>{var v;return V.taskId===o.data.node.task.id&&((v=V.outputs)==null?void 0:v.executionId)}))==null?void 0:k[0])==null?void 0:b.outputs)==null?void 0:p.executionId}}}return o.data}),S=t.computed(()=>g.value===te.RUNNING?"task is running":g.value===te.SUCCESS?"task was successful":g.value===te.WARNING?"task sent a warning":g.value===te.SKIPPED?"task was skipped":g.value===te.FAILED?"task failed":"");return(C,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.Handle),{type:"source",position:C.sourcePosition},null,8,["position"]),t.createVNode(El,{id:C.id,data:A.value,state:g.value,class:t.normalizeClass(h.value),icons:C.icons,"icon-component":C.iconComponent,onShowDescription:f[6]||(f[6]=k=>l(t.unref(N.EVENTS).SHOW_DESCRIPTION,k)),onExpand:f[7]||(f[7]=k=>l(t.unref(N.EVENTS).EXPAND,_.value)),onOpenLink:f[8]||(f[8]=k=>l(t.unref(N.EVENTS).OPEN_LINK,k)),onMouseover:f[9]||(f[9]=k=>l(t.unref(N.EVENTS).MOUSE_OVER,k)),onMouseleave:f[10]||(f[10]=k=>l(t.unref(N.EVENTS).MOUSE_LEAVE))},{content:t.withCtx(()=>{var k,b;return[c.value?(t.openBlock(),t.createBlock(nu,{key:0,execution:c.value,task:C.data.node.task,color:i.value,uid:C.data.node.uid,state:g.value},null,8,["execution","task","color","uid","state"])):t.createCommentVNode("",!0),C.data.node.task?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[C.playgroundEnabled&&C.playgroundReadyToStart?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"playground-button",onClick:f[0]||(f[0]=p=>l(t.unref(N.EVENTS).RUN_TASK,{task:C.data.node.task}))},[t.createVNode(X,{style:{display:"flex"},title:C.$t("run task in playground")},{default:t.withCtx(()=>[t.createVNode(sd,{class:"button-play-icon",alt:C.$t("run task in playground")},null,8,["alt"])]),_:1},8,["title"])])):(t.openBlock(),t.createElementBlock("div",{key:1,class:"playground-button",style:t.normalizeStyle({color:`var(--ks-content-${(k=g.value)==null?void 0:k.toLowerCase()})`,backgroundColor:`var(--ks-background-${(b=g.value)==null?void 0:b.toLowerCase()})`})},[t.createVNode(X,{style:{display:"flex"},title:C.$t(S.value)},{default:t.withCtx(()=>[g.value===t.unref(te).RUNNING?(t.openBlock(),t.createBlock(Mo,{key:0,alt:C.$t(S.value)},null,8,["alt"])):g.value===t.unref(te).SUCCESS?(t.openBlock(),t.createBlock(kl,{key:1,alt:C.$t(S.value)},null,8,["alt"])):g.value===t.unref(te).WARNING?(t.openBlock(),t.createBlock($n,{key:2,alt:C.$t(S.value)},null,8,["alt"])):g.value===t.unref(te).SKIPPED?(t.openBlock(),t.createBlock(wd,{key:3,alt:C.$t(S.value)},null,8,["alt"])):g.value===t.unref(te).FAILED?(t.openBlock(),t.createBlock(bt,{key:4,alt:C.$t(S.value)},null,8,["alt"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4))],64)):t.createCommentVNode("",!0)]}),"badge-button-before":t.withCtx(()=>[C.data.node.task&&C.data.node.task.runIf?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",["bg-warning"]]),onClick:f[1]||(f[1]=k=>l(t.unref(N.EVENTS).SHOW_CONDITION,{id:s.value,task:C.data.node.task,section:t.unref(N.SECTIONS).TASKS}))},[t.createVNode(X,{title:C.$t("show task condition")},{default:t.withCtx(()=>[t.createVNode(td,{class:"button-icon",alt:"Show condition"})]),_:1},8,["title"])])):t.createCommentVNode("",!0),c.value?(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[2]||(f[2]=k=>l(t.unref(N.EVENTS).SHOW_LOGS,{id:s.value,execution:c.value,taskRuns:E.value}))},[t.createVNode(X,{title:C.$t("show task logs")},{default:t.withCtx(()=>[t.createVNode(Uu,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!C.data.isReadOnly&&C.data.isFlowable?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[3]||(f[3]=k=>l(t.unref(N.EVENTS).ADD_ERROR,{task:C.data.node.task}))},[t.createVNode(X,{title:C.$t("add error handler")},{default:t.withCtx(()=>[t.createVNode(Yu,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!C.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:3,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[4]||(f[4]=k=>l(t.unref(N.EVENTS).EDIT,{task:C.data.node.task,section:t.unref(N.SECTIONS).TASKS}))},[t.createVNode(X,{title:C.$t("edit")},{default:t.withCtx(()=>[t.createVNode(Dn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!C.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:4,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:f[5]||(f[5]=k=>l(t.unref(N.EVENTS).DELETE,{id:s.value,section:t.unref(N.SECTIONS).TASKS}))},[t.createVNode(X,{title:C.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Pn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)]),_:1},8,["id","data","state","class","icons","icon-component"]),t.createVNode(t.unref(ne.Handle),{type:"target",position:C.targetPosition},null,8,["position"])],64))}}),Ad=D(Td,[["__scopeId","data-v-2e8ae97f"]]),Id={name:"Task",inheritAttrs:!1,inject:{execution:{from:On}},computed:{SECTIONS(){return N.SECTIONS},EVENTS(){return N.EVENTS},color(){return this.data.color??"primary"},formattedData(){var e,n,o,l;return{...this.data,unused:((n=(e=this.data.node)==null?void 0:e.triggerDeclaration)==null?void 0:n.disabled)||((l=(o=this.data.node)==null?void 0:o.trigger)==null?void 0:l.disabled)}},triggerId(){return N.Utils.afterLastDot(this.id)}},emits:[N.EVENTS.DELETE,N.EVENTS.EDIT,N.EVENTS.SHOW_DESCRIPTION],components:{Delete:Pn,Pencil:Dn,Handle:ne.Handle,Tooltip:X},props:{data:{type:Object,required:!0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},id:{type:String,required:!0},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0}},methods:{forwardEvent(e,n){this.$emit(e,n)}}},Vd=Object.assign(Id,{setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createVNode(El,{id:e.id,data:n.formattedData,color:n.color,icons:e.icons,"icon-component":e.iconComponent,onShowDescription:o[2]||(o[2]=l=>n.forwardEvent(t.unref(N.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(t.unref(N.EVENTS).EXPAND,{id:e.id}))},t.createSlots({_:2},[e.data.isReadOnly?void 0:{name:"badge-button-before",fn:t.withCtx(()=>[n.execution?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(t.unref(N.EVENTS).EDIT,{task:e.data.node.triggerDeclaration,section:t.unref(N.SECTIONS).TRIGGERS}))},[t.createVNode(X,{title:n.$t("edit")},{default:t.withCtx(()=>[t.createVNode(Dn,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)),n.execution?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(["circle-button",[`bg-${n.color}`]]),onClick:o[1]||(o[1]=l=>n.$emit(t.unref(N.EVENTS).DELETE,{id:n.triggerId,section:t.unref(N.SECTIONS).TRIGGERS}))},[t.createVNode(X,{title:n.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Pn,{class:"button-icon",alt:"Delete task"})]),_:1},8,["title"])],2))]),key:"0"}]),1032,["id","data","color","icons","icon-component"]),t.createVNode(t.unref(ne.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),Bd={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Od=["aria-hidden","aria-label"],Dd=["fill","width","height"],Pd={d:"M11 15H6L13 1V9H18L11 23V15Z"},$d={key:0};function Rd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon lightning-bolt-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Pd,[o.title?(t.openBlock(),t.createElementBlock("title",$d,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Dd))],16,Od)}const Md=D(Bd,[["render",Rd]]),xd={class:"collapsed-cluster-node d-flex"},Fd={class:"node-text"},Ud={class:"text-white top-button-div"},Hd={components:{Tooltip:X,Handle:ne.Handle,ArrowExpand:Bn,LightningBolt:Md},inheritAttrs:!1,props:{id:{type:String,default:void 0},sourcePosition:{type:String,required:!0},targetPosition:{type:String,required:!0},data:{type:Object,required:!0}},data(){return{filter:void 0,isOpen:!1}},computed:{EVENTS(){return N.EVENTS},expandable(){var e;return((e=this.data)==null?void 0:e.expandable)||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null}}},zd=Object.assign(Hd,{__name:"CollapsedClusterNode",setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.Handle),{type:"source",position:e.sourcePosition},null,8,["position"]),t.createElementVNode("div",xd,[t.createElementVNode("span",Fd,[e.data.iconComponent?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.data.iconComponent),{key:0,class:t.normalizeClass(`text-${e.data.color} me-2`)},null,8,["class"])):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(t.unref(N.Utils).afterLastDot(e.id)),1)]),t.createElementVNode("div",Ud,[t.renderSlot(n.$slots,"badge-button-before",{},void 0,!0),n.expandable?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${e.data.color}`]]),onClick:o[0]||(o[0]=l=>n.$emit(t.unref(N.EVENTS).EXPAND,{id:e.id}))},[t.createVNode(X,{title:n.$t("expand")},{default:t.withCtx(()=>[t.createVNode(Bn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(n.$slots,"badge-button-after",{},void 0,!0)])]),t.createVNode(t.unref(ne.Handle),{type:"target",position:e.targetPosition},null,8,["position"])],64))}}),Gd=D(zd,[["__scopeId","data-v-89413b39"]]),Wd={name:"SplitCellsVerticalIcon",emits:["click"]},Kd={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function jd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("svg",Kd,n[0]||(n[0]=[t.createElementVNode("g",{"clip-path":"url(#clip0_1111_7266)"},[t.createElementVNode("path",{d:"M1.97852 2.63349C1.97852 2.26366 2.27832 1.96387 2.64814 1.96387L13.3621 1.96387C13.7319 1.96387 14.0317 2.26366 14.0317 2.63349L14.0317 13.3475C14.0317 13.7173 13.7319 14.0171 13.3621 14.0171L2.64814 14.0171C2.27832 14.0171 1.97852 13.7173 1.97852 13.3475L1.97852 2.63349ZM3.31776 8.6601L3.31776 12.6778L12.6925 12.6778L12.6925 8.6601L10.014 8.6601L10.014 7.32085L12.6925 7.32085L12.6925 3.30311L3.31776 3.30311L3.31776 7.32086L5.99626 7.32085L5.99626 8.6601L3.31776 8.6601ZM5.99626 5.98161L8.00513 3.97274L10.014 5.98161L8.67475 5.98161L8.67475 9.99935L10.014 9.99935L8.00513 12.0082L5.99626 9.99935L7.3355 9.99935L7.3355 5.98161L5.99626 5.98161Z",fill:"currentColor"})],-1),t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_1111_7266"},[t.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor",transform:"translate(0 16) rotate(-90)"})])],-1)]))}const Yd=D(Wd,[["render",jd],["__scopeId","data-v-084c51e6"]]),qd={name:"SplitCellsHorizontalIcon",emits:["click"]},Xd={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function Zd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("svg",Xd,n[0]||(n[0]=[t.createElementVNode("g",{"clip-path":"url(#clip0_796_3996)"},[t.createElementVNode("path",{d:"M13.367 1.979C13.7368 1.979 14.0366 2.27881 14.0366 2.64863V13.3626C14.0366 13.7324 13.7368 14.0322 13.367 14.0322H2.65302C2.2832 14.0322 1.9834 13.7324 1.9834 13.3626V2.64863C1.9834 2.27881 2.2832 1.979 2.65302 1.979H13.367ZM7.34039 3.31825H3.32265V12.693H7.34039V10.0145H8.67963V12.693H12.6974V3.31825H8.67963V5.99675H7.34039V3.31825ZM10.0189 5.99675L12.0278 8.00562L10.0189 10.0145V8.67524H6.00114V10.0145L3.99227 8.00562L6.00114 5.99675V7.33599H10.0189V5.99675Z",fill:"currentColor"})],-1),t.createElementVNode("defs",null,[t.createElementVNode("clipPath",{id:"clip0_796_3996"},[t.createElementVNode("rect",{width:"16",height:"16",fill:"currentColor"})])],-1)]))}const Jd=D(qd,[["render",Zd],["__scopeId","data-v-c77c1469"]]),Qd={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ef=["aria-hidden","aria-label"],tf=["fill","width","height"],nf={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},of={key:0};function lf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon download-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",nf,[o.title?(t.openBlock(),t.createElementBlock("title",of,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,tf))],16,ef)}const rf=D(Qd,[["render",lf]]);function af(e,n){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const o=document.implementation.createHTMLDocument(),l=o.createElement("base"),a=o.createElement("a");return o.head.appendChild(l),o.body.appendChild(a),n&&(l.href=n),a.href=e,a.href}const sf=(()=>{let e=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${n()}${e}`)})();function Oe(e){const n=[];for(let o=0,l=e.length;o<l;o++)n.push(e[o]);return n}function At(e,n){const l=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(n);return l?parseFloat(l.replace("px","")):0}function cf(e){const n=At(e,"border-left-width"),o=At(e,"border-right-width");return e.clientWidth+n+o}function uf(e){const n=At(e,"border-top-width"),o=At(e,"border-bottom-width");return e.clientHeight+n+o}function yl(e,n={}){const o=n.width||cf(e),l=n.height||uf(e);return{width:o,height:l}}function df(){let e,n;try{n=process}catch{}const o=n&&n.env?n.env.devicePixelRatio:null;return o&&(e=parseInt(o,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const ye=16384;function ff(e){(e.width>ye||e.height>ye)&&(e.width>ye&&e.height>ye?e.width>e.height?(e.height*=ye/e.width,e.width=ye):(e.width*=ye/e.height,e.height=ye):e.width>ye?(e.height*=ye/e.width,e.width=ye):(e.width*=ye/e.height,e.height=ye))}function It(e){return new Promise((n,o)=>{const l=new Image;l.decode=()=>n(l),l.onload=()=>n(l),l.onerror=o,l.crossOrigin="anonymous",l.decoding="async",l.src=e})}async function mf(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function pf(e,n,o){const l="http://www.w3.org/2000/svg",a=document.createElementNS(l,"svg"),r=document.createElementNS(l,"foreignObject");return a.setAttribute("width",`${n}`),a.setAttribute("height",`${o}`),a.setAttribute("viewBox",`0 0 ${n} ${o}`),r.setAttribute("width","100%"),r.setAttribute("height","100%"),r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("externalResourcesRequired","true"),a.appendChild(r),r.appendChild(e),mf(a)}const _e=(e,n)=>{if(e instanceof n)return!0;const o=Object.getPrototypeOf(e);return o===null?!1:o.constructor.name===n.name||_e(o,n)};function gf(e){const n=e.getPropertyValue("content");return`${e.cssText} content: '${n.replace(/'|"/g,"")}';`}function hf(e){return Oe(e).map(n=>{const o=e.getPropertyValue(n),l=e.getPropertyPriority(n);return`${n}: ${o}${l?" !important":""};`}).join(" ")}function Ef(e,n,o){const l=`.${e}:${n}`,a=o.cssText?gf(o):hf(o);return document.createTextNode(`${l}{${a}}`)}function bo(e,n,o){const l=window.getComputedStyle(e,o),a=l.getPropertyValue("content");if(a===""||a==="none")return;const r=sf();try{n.className=`${n.className} ${r}`}catch{return}const i=document.createElement("style");i.appendChild(Ef(r,o,l)),n.appendChild(i)}function _f(e,n){bo(e,n,":before"),bo(e,n,":after")}const Lo="application/font-woff",wo="image/jpeg",kf={woff:Lo,woff2:Lo,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:wo,jpeg:wo,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function yf(e){const n=/\.([^./]*?)$/g.exec(e);return n?n[1]:""}function Rn(e){const n=yf(e).toLowerCase();return kf[n]||""}function Cf(e){return e.split(/,/)[1]}function En(e){return e.search(/^(data:)/)!==-1}function vf(e,n){return`data:${n};base64,${e}`}async function Cl(e,n,o){const l=await fetch(e,n);if(l.status===404)throw new Error(`Resource "${l.url}" not found`);const a=await l.blob();return new Promise((r,i)=>{const s=new FileReader;s.onerror=i,s.onloadend=()=>{try{r(o({res:l,result:s.result}))}catch(c){i(c)}},s.readAsDataURL(a)})}const nn={};function Nf(e,n,o){let l=e.replace(/\?.*/,"");return o&&(l=e),/ttf|otf|eot|woff2?/i.test(l)&&(l=l.replace(/.*\//,"")),n?`[${n}]${l}`:l}async function Mn(e,n,o){const l=Nf(e,n,o.includeQueryParams);if(nn[l]!=null)return nn[l];o.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let a;try{const r=await Cl(e,o.fetchRequestInit,({res:i,result:s})=>(n||(n=i.headers.get("Content-Type")||""),Cf(s)));a=vf(r,n)}catch(r){a=o.imagePlaceholder||"";let i=`Failed to fetch resource: ${e}`;r&&(i=typeof r=="string"?r:r.message),i&&console.warn(i)}return nn[l]=a,a}async function Sf(e){const n=e.toDataURL();return n==="data:,"?e.cloneNode(!1):It(n)}async function bf(e,n){if(e.currentSrc){const r=document.createElement("canvas"),i=r.getContext("2d");r.width=e.clientWidth,r.height=e.clientHeight,i==null||i.drawImage(e,0,0,r.width,r.height);const s=r.toDataURL();return It(s)}const o=e.poster,l=Rn(o),a=await Mn(o,l,n);return It(a)}async function Lf(e){var n;try{if(!((n=e==null?void 0:e.contentDocument)===null||n===void 0)&&n.body)return await xt(e.contentDocument.body,{},!0)}catch{}return e.cloneNode(!1)}async function wf(e,n){return _e(e,HTMLCanvasElement)?Sf(e):_e(e,HTMLVideoElement)?bf(e,n):_e(e,HTMLIFrameElement)?Lf(e):e.cloneNode(!1)}const Tf=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT";async function Af(e,n,o){var l,a;let r=[];return Tf(e)&&e.assignedNodes?r=Oe(e.assignedNodes()):_e(e,HTMLIFrameElement)&&(!((l=e.contentDocument)===null||l===void 0)&&l.body)?r=Oe(e.contentDocument.body.childNodes):r=Oe(((a=e.shadowRoot)!==null&&a!==void 0?a:e).childNodes),r.length===0||_e(e,HTMLVideoElement)||await r.reduce((i,s)=>i.then(()=>xt(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function If(e,n){const o=n.style;if(!o)return;const l=window.getComputedStyle(e);l.cssText?(o.cssText=l.cssText,o.transformOrigin=l.transformOrigin):Oe(l).forEach(a=>{let r=l.getPropertyValue(a);a==="font-size"&&r.endsWith("px")&&(r=`${Math.floor(parseFloat(r.substring(0,r.length-2)))-.1}px`),_e(e,HTMLIFrameElement)&&a==="display"&&r==="inline"&&(r="block"),a==="d"&&n.getAttribute("d")&&(r=`path(${n.getAttribute("d")})`),o.setProperty(a,r,l.getPropertyPriority(a))})}function Vf(e,n){_e(e,HTMLTextAreaElement)&&(n.innerHTML=e.value),_e(e,HTMLInputElement)&&n.setAttribute("value",e.value)}function Bf(e,n){if(_e(e,HTMLSelectElement)){const o=n,l=Array.from(o.children).find(a=>e.value===a.getAttribute("value"));l&&l.setAttribute("selected","")}}function Of(e,n){return _e(n,Element)&&(If(e,n),_f(e,n),Vf(e,n),Bf(e,n)),n}async function Df(e,n){const o=e.querySelectorAll?e.querySelectorAll("use"):[];if(o.length===0)return e;const l={};for(let r=0;r<o.length;r++){const s=o[r].getAttribute("xlink:href");if(s){const c=e.querySelector(s),u=document.querySelector(s);!c&&u&&!l[s]&&(l[s]=await xt(u,n,!0))}}const a=Object.values(l);if(a.length){const r="http://www.w3.org/1999/xhtml",i=document.createElementNS(r,"svg");i.setAttribute("xmlns",r),i.style.position="absolute",i.style.width="0",i.style.height="0",i.style.overflow="hidden",i.style.display="none";const s=document.createElementNS(r,"defs");i.appendChild(s);for(let c=0;c<a.length;c++)s.appendChild(a[c]);e.appendChild(i)}return e}async function xt(e,n,o){return!o&&n.filter&&!n.filter(e)?null:Promise.resolve(e).then(l=>wf(l,n)).then(l=>Af(e,l,n)).then(l=>Of(e,l)).then(l=>Df(l,n))}const vl=/url\((['"]?)([^'"]+?)\1\)/g,Pf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,$f=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Rf(e){const n=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function Mf(e){const n=[];return e.replace(vl,(o,l,a)=>(n.push(a),o)),n.filter(o=>!En(o))}async function xf(e,n,o,l,a){try{const r=o?af(n,o):n,i=Rn(n);let s;return a||(s=await Mn(r,i,l)),e.replace(Rf(n),`$1${s}$3`)}catch{}return e}function Ff(e,{preferredFontFormat:n}){return n?e.replace($f,o=>{for(;;){const[l,,a]=Pf.exec(o)||[];if(!a)return"";if(a===n)return`src: ${l};`}}):e}function Nl(e){return e.search(vl)!==-1}async function Sl(e,n,o){if(!Nl(e))return e;const l=Ff(e,o);return Mf(l).reduce((r,i)=>r.then(s=>xf(s,i,n,o)),Promise.resolve(l))}async function yt(e,n,o){var l;const a=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(e);if(a){const r=await Sl(a,null,o);return n.style.setProperty(e,r,n.style.getPropertyPriority(e)),!0}return!1}async function Uf(e,n){await yt("background",e,n)||await yt("background-image",e,n),await yt("mask",e,n)||await yt("mask-image",e,n)}async function Hf(e,n){const o=_e(e,HTMLImageElement);if(!(o&&!En(e.src))&&!(_e(e,SVGImageElement)&&!En(e.href.baseVal)))return;const l=o?e.src:e.href.baseVal,a=await Mn(l,Rn(l),n);await new Promise((r,i)=>{e.onload=r,e.onerror=i;const s=e;s.decode&&(s.decode=r),s.loading==="lazy"&&(s.loading="eager"),o?(e.srcset="",e.src=a):e.href.baseVal=a})}async function zf(e,n){const l=Oe(e.childNodes).map(a=>bl(a,n));await Promise.all(l).then(()=>e)}async function bl(e,n){_e(e,Element)&&(await Uf(e,n),await Hf(e,n),await zf(e,n))}function Gf(e,n){const{style:o}=e;n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.width&&(o.width=`${n.width}px`),n.height&&(o.height=`${n.height}px`);const l=n.style;return l!=null&&Object.keys(l).forEach(a=>{o[a]=l[a]}),e}const To={};async function Ao(e){let n=To[e];if(n!=null)return n;const l=await(await fetch(e)).text();return n={url:e,cssText:l},To[e]=n,n}async function Io(e,n){let o=e.cssText;const l=/url\(["']?([^"')]+)["']?\)/g,r=(o.match(/url\([^)]+\)/g)||[]).map(async i=>{let s=i.replace(l,"$1");return s.startsWith("https://")||(s=new URL(s,e.url).href),Cl(s,n.fetchRequestInit,({result:c})=>(o=o.replace(i,`url(${c})`),[i,c]))});return Promise.all(r).then(()=>o)}function Vo(e){if(e==null)return[];const n=[],o=/(\/\*[\s\S]*?\*\/)/gi;let l=e.replace(o,"");const a=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const c=a.exec(l);if(c===null)break;n.push(c[0])}l=l.replace(a,"");const r=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",s=new RegExp(i,"gi");for(;;){let c=r.exec(l);if(c===null){if(c=s.exec(l),c===null)break;r.lastIndex=s.lastIndex}else s.lastIndex=r.lastIndex;n.push(c[0])}return n}async function Wf(e,n){const o=[],l=[];return e.forEach(a=>{if("cssRules"in a)try{Oe(a.cssRules||[]).forEach((r,i)=>{if(r.type===CSSRule.IMPORT_RULE){let s=i+1;const c=r.href,u=Ao(c).then(E=>Io(E,n)).then(E=>Vo(E).forEach(g=>{try{a.insertRule(g,g.startsWith("@import")?s+=1:a.cssRules.length)}catch(h){console.error("Error inserting rule from remote css",{rule:g,error:h})}})).catch(E=>{console.error("Error loading remote css",E.toString())});l.push(u)}})}catch(r){const i=e.find(s=>s.href==null)||document.styleSheets[0];a.href!=null&&l.push(Ao(a.href).then(s=>Io(s,n)).then(s=>Vo(s).forEach(c=>{i.insertRule(c,a.cssRules.length)})).catch(s=>{console.error("Error loading remote stylesheet",s)})),console.error("Error inlining remote css file",r)}}),Promise.all(l).then(()=>(e.forEach(a=>{if("cssRules"in a)try{Oe(a.cssRules||[]).forEach(r=>{o.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${a.href}`,r)}}),o))}function Kf(e){return e.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Nl(n.style.getPropertyValue("src")))}async function jf(e,n){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=Oe(e.ownerDocument.styleSheets),l=await Wf(o,n);return Kf(l)}async function Yf(e,n){const o=await jf(e,n);return(await Promise.all(o.map(a=>{const r=a.parentStyleSheet?a.parentStyleSheet.href:null;return Sl(a.cssText,r,n)}))).join(`
25
+ `)}async function qf(e,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await Yf(e,n);if(o){const l=document.createElement("style"),a=document.createTextNode(o);l.appendChild(a),e.firstChild?e.insertBefore(l,e.firstChild):e.appendChild(l)}}async function Xf(e,n={}){const{width:o,height:l}=yl(e,n),a=await xt(e,n,!0);return await qf(a,n),await bl(a,n),Gf(a,n),await pf(a,o,l)}async function Ll(e,n={}){const{width:o,height:l}=yl(e,n),a=await Xf(e,n),r=await It(a),i=document.createElement("canvas"),s=i.getContext("2d"),c=n.pixelRatio||df(),u=n.canvasWidth||o,E=n.canvasHeight||l;return i.width=u*c,i.height=E*c,n.skipAutoScale||ff(i),i.style.width=`${u}`,i.style.height=`${E}`,n.backgroundColor&&(s.fillStyle=n.backgroundColor,s.fillRect(0,0,i.width,i.height)),s.drawImage(r,0,0,i.width,i.height),i}async function Zf(e,n={}){return(await Ll(e,n)).toDataURL()}async function Jf(e,n={}){return(await Ll(e,n)).toDataURL("image/jpeg",n.quality||1)}function Qf(){const e=t.ref(""),n=t.ref("png"),o=t.ref();async function l(s,c={}){let u;const E=c.fileName??`vue-flow-screenshot-${Date.now()}`;switch(c.type){case"jpeg":u=await a(s,c);break;case"png":u=await r(s,c);break;default:u=await r(s,c);break}return c.shouldDownload&&E!==""&&i(E),u}function a(s,c={quality:.95}){return o.value=null,Jf(s,c).then(u=>(e.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function r(s,c={quality:.95}){return o.value=null,Zf(s,c).then(u=>(e.value=u,n.value="png",u)).catch(u=>{throw u.value=u,new Error(u)})}function i(s){const c=document.createElement("a");c.download=`${s}.${n.value}`,c.href=e.value,c.click()}return{capture:l,download:i,dataUrl:e,error:o}}const em={key:1,class:"exporting"},tm=t.defineComponent({__name:"Topology",props:{id:{type:String,required:!0},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{type:String,default:void 0,required:!0},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{type:Object,required:!0},flowId:{type:String,default:void 0},namespace:{type:String,default:void 0},expandedSubflows:{type:Array,default:()=>[]},icons:{type:Object,default:void 0},iconComponent:{type:Object,default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{type:Object,default:void 0},subflowsExecutions:{type:Object,default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1}},emits:[N.EVENTS.EDIT,N.EVENTS.DELETE,N.EVENTS.RUN_TASK,N.EVENTS.OPEN_LINK,N.EVENTS.SHOW_LOGS,N.EVENTS.SHOW_DESCRIPTION,N.EVENTS.RUN_TASK,"on-add-flowable-error",N.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",N.EVENTS.SHOW_CONDITION],setup(e,{emit:n}){const o=e,l=t.ref(!1),a=t.ref(),{getNodes:r,onNodeDrag:i,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:E,vueFlowRef:g}=ne.useVueFlow(o.id),h=t.ref({}),_=t.ref([]),A=t.ref(new Set),S=t.ref([]),{capture:C}=Qf();t.provide(On,t.computed(()=>o.execution)),t.provide(_l,t.computed(()=>o.subflowsExecutions));const f=n;t.onMounted(()=>{k()}),t.watch(()=>o.flowGraph,()=>{k()}),t.watch(()=>o.isHorizontal,()=>{k()});const k=()=>{N.cleanGraph(o.id),t.nextTick(()=>{f("loading",!0);const P=A.value;A.value=new Set,_.value=[],h.value={},P.forEach(z=>x(N.CLUSTER_PREFIX+z,!1,!1));const B=N.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,_.value,o.isHorizontal,h.value,A.value,S.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction);B&&(E(B),u(),f("loading",!1))})},b=P=>{l.value||N.linkedElements(o.id,P.uid).forEach(B=>{(B==null?void 0:B.type)==="task"&&(B.style={...B.style,outline:"0.5px solid "+ve("--bs-gray-900")},B.class="rounded-3")})},p=()=>{w()},w=()=>{r.value.filter(P=>P.type==="task"||P.type==="trigger").forEach(P=>{P.style={...P.style,opacity:"1",outline:"none"},P.class=""})};s(P=>{l.value=!0,w(),P.node.style={...P.node.style,zIndex:1976},a.value=P.node.position}),c(P=>{if(l.value=!1,P.intersections&&v(P.intersections,P.node)===null){const B=P.node,z=P.intersections.find($=>$.type==="task");if(z)try{o.source&&f("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:N.Utils.afterLastDot(B.id)??"",key2:N.Utils.afterLastDot(z.id)??""}),swappedTasks:[B.id,z.id]})}catch($){f("message",{variant:"error",title:"cannot swap tasks",message:`${$.message}, ${$.messageOptions}`}),B.position=a.value}else B.position=a.value}else P.node.position=a.value;w(),P.node.style={...P.node.style,zIndex:5},a.value=null});const V=t.computed(()=>{var P;return(P=o.flowGraph)!=null&&P.clusters?o.flowGraph.clusters.filter(B=>B.cluster.type.endsWith("SubflowGraphCluster")).map(B=>B.cluster.taskNode.uid+"."):[]});i(P=>{w(),r.value.filter(B=>B.id!==P.node.id).forEach(B=>{var z;B.type==="trigger"||B.type==="task"&&(B.id.startsWith(P.node.id+".")||P.node.id.startsWith(B.id+"."))||(z=V==null?void 0:V.value)!=null&&z.some($=>B.id.startsWith($))?B.style={...B.style,opacity:"0.5"}:B.style={...B.style,opacity:"1"}}),P.intersections&&!v(P.intersections,P.node)&&P.intersections.filter(B=>B.type==="task").length===1&&(P.intersections.forEach(B=>{B.type==="task"&&(B.style={...B.style,outline:"0.5px solid "+ve("--bs-primary")},B.class="rounded-3")}),P.node.style={...P.node.style,outline:"0.5px solid "+ve("--bs-primary")},P.node.class="rounded-3")});const v=(P,B)=>{const z=P.filter($=>$.type==="task").map($=>N.Utils.afterLastDot($.id));if(z.length>1)return"toomuchtaskerror";try{if(z.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:N.Utils.afterLastDot(z[0])??"",key2:N.Utils.afterLastDot(B.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return P.filter($=>$.type==="trigger").length>0?"triggererror":null},x=(P,B,z=!1)=>{const $=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(P)),Ie=P.replace(N.CLUSTER_PREFIX,"");A.value.add(Ie),_.value=_.value.concat($.nodes.filter(me=>me!==Ie||z)),_.value=_.value.concat([$.cluster.uid]),h.value={...h.value,[$.cluster.uid]:Ie,[$.start]:Ie,[$.end]:Ie};for(let me of $.nodes)o.flowGraph.clusters.map(Ue=>Ue.cluster.uid).includes(me)&&x(me,!1,!0);B&&k()},H=P=>{if(["io.kestra.core.tasks.flows.Flow","io.kestra.core.tasks.flows.Subflow","io.kestra.plugin.core.flow.Subflow","io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable","io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"].includes(P.type)&&!o.expandedSubflows.includes(P.id)){f("expand-subflow",[...o.expandedSubflows,P.id]);return}h.value={},_.value=[],S.value=[],A.value.delete(P.id),A.value.forEach(z=>x(z,!1,!1)),k()},J=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ce=t.ref(!0),F=t.ref(!1),he=()=>F.value=!F.value;function Ae(P){if(!g.value){console.warn("Flow not found");return}ce.value=!1,C(g.value,{type:P,shouldDownload:!0}).then(()=>ce.value=!0).finally(()=>F.value=!1)}return(P,B)=>(t.openBlock(),t.createBlock(t.unref(ne.VueFlow),{id:e.id,"default-marker-color":t.unref(ve)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":t.withCtx(z=>[t.createVNode(bc,t.mergeProps(z,{onCollapse:B[0]||(B[0]=$=>x($,!0))}),null,16)]),"node-dot":t.withCtx(z=>[t.createVNode(Dc,t.normalizeProps(t.guardReactiveProps(z)),null,16)]),"node-task":t.withCtx(z=>[t.createVNode(Ad,t.mergeProps(z,{icons:e.icons,"icon-component":e.iconComponent,"playground-enabled":e.playgroundEnabled,"playground-ready-to-start":e.playgroundReadyToStart,onEdit:B[1]||(B[1]=$=>f(t.unref(N.EVENTS).EDIT,$)),onDelete:B[2]||(B[2]=$=>f(t.unref(N.EVENTS).DELETE,$)),onRunTask:B[3]||(B[3]=$=>f(t.unref(N.EVENTS).RUN_TASK,$)),onExpand:B[4]||(B[4]=$=>H($)),onOpenLink:B[5]||(B[5]=$=>f(t.unref(N.EVENTS).OPEN_LINK,$)),onShowLogs:B[6]||(B[6]=$=>f(t.unref(N.EVENTS).SHOW_LOGS,$)),onShowDescription:B[7]||(B[7]=$=>f(t.unref(N.EVENTS).SHOW_DESCRIPTION,$)),onShowCondition:B[8]||(B[8]=$=>f(t.unref(N.EVENTS).SHOW_CONDITION,$)),onMouseover:B[9]||(B[9]=$=>b($)),onMouseleave:B[10]||(B[10]=$=>p()),onAddError:B[11]||(B[11]=$=>f("on-add-flowable-error",$)),"enable-subflow-interaction":e.enableSubflowInteraction}),null,16,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-trigger":t.withCtx(z=>[t.createVNode(Vd,t.mergeProps(z,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:B[12]||(B[12]=$=>f(t.unref(N.EVENTS).DELETE,$)),onEdit:B[13]||(B[13]=$=>f(t.unref(N.EVENTS).EDIT,$)),onShowDescription:B[14]||(B[14]=$=>f(t.unref(N.EVENTS).SHOW_DESCRIPTION,$))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":t.withCtx(z=>[t.createVNode(Gd,t.mergeProps(z,{onExpand:B[15]||(B[15]=$=>H($))}),null,16)]),"edge-edge":t.withCtx(z=>[t.createVNode(Yc,t.mergeProps(z,{"yaml-source":e.source,onAddTask:B[16]||(B[16]=$=>f(t.unref(N.EVENTS).ADD_TASK,$)),"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:t.withCtx(()=>[t.createVNode(t.unref(pc),{"pattern-color":J?t.unref(ve)("--bs-grey-500"):t.unref(ve)("--bs-grey-300")},null,8,["pattern-color"]),ce.value?(t.openBlock(),t.createBlock(t.unref(Zt.Controls),{key:0,"show-interactive":!1},{default:t.withCtx(()=>[e.toggleOrientationButton?(t.openBlock(),t.createBlock(t.unref(Zt.ControlButton),{key:0,onClick:B[17]||(B[17]=z=>f("toggle-orientation",z))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.isHorizontal?Jd:Yd)))]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(Zt.ControlButton),{onClick:he},{default:t.withCtx(()=>[t.createVNode(rf)]),_:1}),F.value?(t.openBlock(),t.createElementBlock("ul",em,[t.createElementVNode("li",{onClick:B[18]||(B[18]=z=>Ae("jpeg")),class:"item"}," Export as .JPEG "),t.createElementVNode("li",{onClick:B[19]||(B[19]=z=>Ae("png")),class:"item"}," Export as .PNG ")])):t.createCommentVNode("",!0)]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),nm=D(tm,[["__scopeId","data-v-52da5473"]]),om={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},lm=["aria-hidden","aria-label"],rm=["fill","width","height"],am={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},im={key:0};function sm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",am,[o.title?(t.openBlock(),t.createElementBlock("title",im,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,rm))],16,lm)}const cm=D(om,[["render",sm]]),um={key:0,class:"language"},dm=["innerHTML"],fm=t.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(e){const n={ContentCopy:t.shallowRef(cm),Check:t.shallowRef(kl)},o=e,l=t.ref(!1),a=t.ref(),r=t.shallowRef(n.ContentCopy.value),i=t.ref(),s=t.ref(),c=t.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,a.value&&t.nextTick(()=>{i.value&&s.value&&or.createPopper(i.value,s.value,{placement:"left"})})}function E(){clearTimeout(a.value),navigator.clipboard.writeText(o.code.trimEnd()),r.value=n.Check.value,a.value=setTimeout(()=>{r.value=n.ContentCopy.value,a.value=void 0},2e3)}return(g,h)=>(t.openBlock(),t.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:h[0]||(h[0]=_=>l.value=!1)},[g.language&&!l.value?(t.openBlock(),t.createElementBlock("div",um,t.toDisplayString(g.language),1)):t.createCommentVNode("",!0),l.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_key:"copyButton",ref:i,class:"copy"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(r.value),{onClick:E}))],512),a.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},h[1]||(h[1]=[t.createTextVNode(" Copied! "),t.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)]),512)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),t.createElementVNode("div",{innerHTML:c.value},null,8,dm)],32))}}),Bo=D(fm,[["__scopeId","data-v-a899f6a1"]]),mm={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},pm=["aria-hidden","aria-label"],gm=["fill","width","height"],hm={d:"M10,17L15,12L10,7V17Z"},Em={key:0};function _m(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon menu-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",hm,[o.title?(t.openBlock(),t.createElementBlock("title",Em,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,gm))],16,pm)}const km=D(mm,[["render",_m]]),ym={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Cm=["aria-hidden","aria-label"],vm=["fill","width","height"],Nm={d:"M7,10L12,15L17,10H7Z"},Sm={key:0};function bm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon menu-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Nm,[o.title?(t.openBlock(),t.createElementBlock("title",Sm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,vm))],16,Cm)}const Lm=D(ym,[["render",bm]]),wm=["id","open"],Tm={class:"d-flex gap-2 align-items-center"},Am={key:0,class:"d-flex flex-grow-1"},Im=["id"],Vm=t.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),a=vn.useRoute(),r=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||r("expand"),window.location.hash=l.value?"":i.value},c=t.ref(!1);return t.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),t.watch(()=>a.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,E)=>(t.openBlock(),t.createElementBlock("details",{id:u.href,open:c.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[t.createElementVNode("span",Tm,[u.arrow?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?km:Lm),{key:0,class:"arrow"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(u.clickableText)+" ",1),t.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(t.openBlock(),t.createElementBlock("span",Am,[t.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):t.createCommentVNode("",!0)],2),u.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:u.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Im)):t.createCommentVNode("",!0)],8,wm))}}),Vt=D(Vm,[["__scopeId","data-v-5411e3ca"]]);function Ct(e){if(e.type)return e.type;if(e.$ref)return"#"+e.$ref.slice(8)}function wl(e){const n=e.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function Bm(e){var n,o;if(e.enum)return e.enum;if((n=e.items)!=null&&n.enum)return e.items.enum;if((o=e.additionalProperties)!=null&&o.enum)return e.additionalProperties.enum}function Om(e){return e.allOf&&(e=e.allOf.reduce((n,o)=>({...n,...o}),{...e}),delete e.allOf),e}function Tl(e){const n={},o=Ct(e);return o?n.types=[o]:e.anyOf?n.types=e.anyOf.map(Ct).filter(l=>l!==void 0).filter(N.Utils.distinctFilter):n.types=["object"],e.additionalProperties?n.subType=Ct(e.additionalProperties):e.items&&(n.subType=Ct(e.items)),n}const Dm={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Pm=["aria-hidden","aria-label"],$m=["fill","width","height"],Rm={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Mm={key:0};function xm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Rm,[o.title?(t.openBlock(),t.createElementBlock("title",Mm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,$m))],16,Pm)}const Fm=D(Dm,[["render",xm]]),Um={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hm=["aria-hidden","aria-label"],zm=["fill","width","height"],Gm={d:"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},Wm={key:0};function Km(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Gm,[o.title?(t.openBlock(),t.createElementBlock("title",Wm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,zm))],16,Hm)}const Al=D(Um,[["render",Km]]),jm={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ym=["aria-hidden","aria-label"],qm=["fill","width","height"],Xm={d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},Zm={key:0};function Jm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon file-document-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Xm,[o.title?(t.openBlock(),t.createElementBlock("title",Zm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,qm))],16,Ym)}const Qm=D(jm,[["render",Jm]]),ep={class:"me-3"},tp={class:"d-flex flex-column"},np=t.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(e){const n=e,o=t.computed(()=>{switch(n.type){case"success":return Qm;case"info":return bt;case"warning":return $n;case"danger":return ln;default:return bt}});return(l,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass("doc-alert alert alert-"+l.type),role:"alert"},[t.createElementVNode("div",ep,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),t.createElementVNode("div",tp,[t.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),op=D(np,[["__scopeId","data-v-f7fd8bc1"]]),lp={class:"property-detail"},rp={key:0},ap=["href"],ip={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},sp={class:"ref-type"},cp={key:1,class:"type-box rounded fs-7 px-2 py-1"},up={key:1},dp={class:"border rounded px-2 py-1"},fp={key:2},mp={class:"border rounded px-2 py-1"},pp={key:3},gp={class:"border rounded px-2 py-1"},hp={key:4},Ep={class:"border rounded px-2 py-1"},_p={key:5},kp={class:"border rounded px-2 py-1"},yp={key:6},Cp={class:"border rounded px-2 py-1"},vp={key:7},Np={class:"border rounded px-2 py-1"},Sp={key:8},bp={class:"border rounded px-2 py-1"},Lp={key:9},wp={class:"border rounded px-2 py-1"},Tp={key:10},Ap={class:"border rounded px-2 py-1"},Ip={key:11},Vp={class:"border rounded px-2 py-1"},Bp={key:12},Op={class:"border rounded px-2 py-1"},Dp={key:13},Pp={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},$p={key:14},Rp={class:"property-description markdown"},Mp={key:2},xp=t.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const n=e,o=t.ref(Tl(n.property).subType),l=t.ref(Bm(n.property)),a=r=>r.replaceAll(/(```)(?:bash|yaml|js|console|json)(\n) *([\s\S]*?```)/g,"$1$2$3").replaceAll(new RegExp("(?<!:):(?![: /])","g"),": ");return(r,i)=>(t.openBlock(),t.createElementBlock("div",lp,[o.value?(t.openBlock(),t.createElementBlock("div",rp,[i[1]||(i[1]=t.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,href:o.value,onClick:i[0]||(i[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("button",ip,[t.createElementVNode("span",sp,t.toDisplayString(t.unref(wl)(o.value)),1),t.createVNode(Al)])],8,ap)):(t.openBlock(),t.createElementBlock("span",cp,t.toDisplayString(o.value),1))])):t.createCommentVNode("",!0),r.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",up,[i[2]||(i[2]=t.createElementVNode("span",null," Default ",-1)),t.createElementVNode("code",dp,t.toDisplayString(r.property.default),1)])):t.createCommentVNode("",!0),r.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",fp,[i[3]||(i[3]=t.createElementVNode("span",null," Validation RegExp ",-1)),t.createElementVNode("code",mp,t.toDisplayString(r.property.pattern),1)])):t.createCommentVNode("",!0),r.property.unit!==void 0&&r.property.unit.trim().length>0?(t.openBlock(),t.createElementBlock("div",pp,[i[4]||(i[4]=t.createElementVNode("span",null," Unit ",-1)),t.createElementVNode("code",gp,t.toDisplayString(r.property.unit),1)])):t.createCommentVNode("",!0),r.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",hp,[i[5]||(i[5]=t.createElementVNode("span",null," Min length ",-1)),t.createElementVNode("code",Ep,t.toDisplayString(r.property.minLength),1)])):t.createCommentVNode("",!0),r.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",_p,[i[6]||(i[6]=t.createElementVNode("span",null," Max length ",-1)),t.createElementVNode("code",kp,t.toDisplayString(r.property.maxLength),1)])):t.createCommentVNode("",!0),r.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",yp,[i[7]||(i[7]=t.createElementVNode("span",null," Min items ",-1)),t.createElementVNode("code",Cp,t.toDisplayString(r.property.minItems),1)])):t.createCommentVNode("",!0),r.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",vp,[i[8]||(i[8]=t.createElementVNode("span",null," Max items ",-1)),t.createElementVNode("code",Np,t.toDisplayString(r.property.maxItems),1)])):t.createCommentVNode("",!0),r.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",Sp,[i[9]||(i[9]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",bp," >= "+t.toDisplayString(r.property.minimum),1)])):t.createCommentVNode("",!0),r.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",Lp,[i[10]||(i[10]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",wp," > "+t.toDisplayString(r.property.minimum),1)])):t.createCommentVNode("",!0),r.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",Tp,[i[11]||(i[11]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",Ap," <= "+t.toDisplayString(r.property.maximum),1)])):t.createCommentVNode("",!0),r.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",Ip,[i[12]||(i[12]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",Vp," < "+t.toDisplayString(r.property.maximum),1)])):t.createCommentVNode("",!0),r.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",Bp,[i[13]||(i[13]=t.createElementVNode("span",null," Format ",-1)),t.createElementVNode("code",Op,t.toDisplayString(r.property.format),1)])):t.createCommentVNode("",!0),l.value!==void 0?(t.openBlock(),t.createElementBlock("div",Dp,[i[14]||(i[14]=t.createElementVNode("span",null," Possible Values ",-1)),t.createElementVNode("div",Pp,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(s,c)=>(t.openBlock(),t.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},t.toDisplayString(s),1))),128))])])):t.createCommentVNode("",!0),r.property.title!==void 0||r.property.description!==void 0?(t.openBlock(),t.createElementBlock("div",$p,[t.createElementVNode("div",Rp,[r.property.title!==void 0?t.renderSlot(r.$slots,"markdown",{key:0,content:a(r.property.title)},void 0,!0):t.createCommentVNode("",!0),r.property.description!==void 0?t.renderSlot(r.$slots,"markdown",{key:1,content:a(r.property.description)},void 0,!0):t.createCommentVNode("",!0),r.property.$internalStorageURI?(t.openBlock(),t.createElementBlock("div",Mp,[t.createVNode(op,{type:"info"},{default:t.withCtx(()=>[t.renderSlot(r.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]))}}),Fp=D(xp,[["__scopeId","data-v-79715a4e"]]),Up={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hp=["aria-hidden","aria-label"],zp=["fill","width","height"],Gp={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},Wp={key:0};function Kp(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Gp,[o.title?(t.openBlock(),t.createElementBlock("title",Wp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,zp))],16,Hp)}const jp=D(Up,[["render",Kp]]),Yp={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qp=["aria-hidden","aria-label"],Xp=["fill","width","height"],Zp={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},Jp={key:0};function Qp(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon snowflake-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Zp,[o.title?(t.openBlock(),t.createElementBlock("title",Jp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xp))],16,qp)}const e1=D(Yp,[["render",Qp]]),t1={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},n1=["aria-hidden","aria-label"],o1=["fill","width","height"],l1={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},r1={key:0};function a1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",l1,[o.title?(t.openBlock(),t.createElementBlock("title",r1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,o1))],16,n1)}const i1=D(t1,[["render",a1]]),s1={class:"border overflow-hidden"},c1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},u1={class:"d-flex gap-2"},d1={class:"d-flex flex-wrap gap-2"},f1=["href"],m1={class:"ref-type"},p1={key:1,class:"type-box rounded fs-7 px-2 py-1"},g1=t.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]}},emits:["expand"],setup(e,{emit:n}){const o=e,l=n,a=t.ref(!1);t.watch(a,s=>{s&&l("expand")});const r=s=>{var c;return s.$dynamic===!0?!0:s.$dynamic===!1?!1:((c=s.anyOf)==null?void 0:c.some(u=>u.$dynamic===!0))??!1};function i(s){const c=[],u=[];for(const h in s)typeof s[h]=="object"&&(s[h]=Om(s[h]),s[h].$required?c.push(h):u.push(h));const E=[...c.sort(),...u.sort()],g={};return E.forEach(h=>{var _;(!s[h].$deprecated||(_=o.forceInclude)!=null&&_.includes(h))&&(g[h]=s[h])}),g}return(s,c)=>(t.openBlock(),t.createBlock(Vt,{class:"section-collapsible","clickable-text":s.sectionName,href:s.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":s.initiallyExpanded||a.value},t.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[t.createElementVNode("div",s1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i(s.properties),(u,E)=>(t.openBlock(),t.createBlock(Vt,{class:"property",key:E,arrow:!1,"clickable-text":E,href:s.href+"_"+E,onExpand:c[1]||(c[1]=g=>a.value=!0)},{additionalButtonText:t.withCtx(()=>[u.$required?(t.openBlock(),t.createBlock(X,{key:0,class:"d-flex",title:"Required"},{default:t.withCtx(()=>c[3]||(c[3]=[t.createElementVNode("span",{class:"text-danger"}," *",-1)])),_:1})):t.createCommentVNode("",!0)]),buttonRight:t.withCtx(({collapsed:g})=>[t.createElementVNode("span",c1,[t.createElementVNode("span",u1,[s.showDynamic&&!r(u)?(t.openBlock(),t.createBlock(X,{key:0,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(e1,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),u.$beta?(t.openBlock(),t.createBlock(X,{key:1,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(i1,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),u.$deprecated?(t.openBlock(),t.createBlock(X,{key:2,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode($n,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("span",d1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(Tl)(u).types,h=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:h},[h.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1",href:h,onClick:c[0]||(c[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("span",m1,t.toDisplayString(t.unref(wl)(h)),1),t.createVNode(Al)],8,f1)):(t.openBlock(),t.createElementBlock("span",p1,t.toDisplayString(h),1))],64))),128)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(g?Fm:jp),{class:"arrow"}))])])]),content:t.withCtx(()=>[t.createVNode(Fp,{property:u},{markdown:t.withCtx(({content:g})=>[t.renderSlot(s.$slots,"markdown",{content:g},void 0,!0)]),_:2},1032,["property"])]),_:2},1032,["clickable-text","href"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded"]))}}),vt=D(g1,[["__scopeId","data-v-0d36ff40"]]),h1={class:"d-flex flex-column gap-6"},E1={key:0,class:"alert alert-info",role:"alert"},_1={key:1,class:"plugin-title markdown"},k1={key:2,class:"markdown"},y1={class:"d-flex flex-column gap-4"},C1={class:"d-flex flex-column gap-3"},v1={class:"markdown"},N1={key:0,class:"w-100 align-self-center"},S1={class:"markdown"},b1={class:"markdown"},L1={class:"markdown"},w1={class:"d-flex flex-column gap-7 ps-3"},T1={class:"markdown"},A1=t.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]}},async setup(e){let n,o;const l=e,a=t.ref(!1),r=t.ref(new Set),i=t.ref(0),s=async()=>{var V;const p=window.location.hash.slice(1);if(!p||!l.schema.definitions){r.value.clear();return}const w=p.includes("#")?(V=p.split("#").pop())==null?void 0:V.split(".").pop():p;if(w&&w in l.schema.definitions){a.value=!0,i.value+=1,r.value.clear(),r.value.add(w),await t.nextTick();let v=0;const x=30,H=()=>{const J=document.getElementById(w);J?J.scrollIntoView({behavior:"smooth",block:"start"}):v<x&&(v++,requestAnimationFrame(H))};requestAnimationFrame(H)}else r.value.clear()};t.watch([()=>l.schema,()=>l.pluginType],([p,w],[V,v])=>{(p!==V||w!==v)&&l.schema.definitions&&s()},{immediate:!0});const c=p=>{var w;return p!=null&&p.full?p.code:`id: "${(w=l.pluginType.split(".").reverse()[0])==null?void 0:w.toLowerCase()}"
26
26
  type: "${l.pluginType}"
27
- `.concat(m.code)},u=t.ref(null),h=t.computed(()=>{var m;return(m=l.schema.properties)==null?void 0:m.$examples}),E=t.computed(()=>{var m,b;return Object.fromEntries((b=(m=l.schema.properties)==null?void 0:m.$metrics)==null?void 0:b.map(I=>[I.name,{...I,name:void 0}]))}),{githubLight:g,githubDark:C,yaml:V,python:L,javascript:O,createJavaScriptRegexEngine:p,createHighlighterCore:k}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BiVCa5d0.cjs"))),n=await n,o(),n);u.value=([n,o]=t.withAsyncContext(()=>k({themes:[l.darkMode?C:g],langs:[V,L,O],engine:p()})),n=await n,o(),n);const S="github-"+(l.darkMode?"dark":"light");return t.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),t.onUnmounted(()=>{var m;window.removeEventListener("hashchange",s),(m=u.value)==null||m.dispose()}),(m,b)=>{var I,N,x,H,J,ce;return t.openBlock(),t.createElementBlock("div",og,[t.createElementVNode("div",null,[(I=m.schema.properties)!=null&&I.$beta?(t.openBlock(),t.createElementBlock("div",lg,b[0]||(b[0]=[t.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)]))):t.createCommentVNode("",!0),(N=m.schema.properties)!=null&&N.title?(t.openBlock(),t.createElementBlock("div",rg,[t.renderSlot(m.$slots,"markdown",{content:m.schema.properties.title.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(x=m.schema.properties)!=null&&x.description?(t.openBlock(),t.createElementBlock("div",ig,[t.renderSlot(m.$slots,"markdown",{content:m.schema.properties.description.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(Oo,{highlighter:u.value,language:"yaml",theme:S,code:`type: "${m.pluginType}"`,key:m.pluginType},null,8,["highlighter","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column gap-3",key:m.pluginType},[h.value?(t.openBlock(),t.createBlock(It,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples"},{content:t.withCtx(()=>[t.createElementVNode("div",ag,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.value,(F,he)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:m.pluginType+"-"+he},[t.createElementVNode("div",sg,[t.createElementVNode("div",cg,[F.title?t.renderSlot(m.$slots,"markdown",{key:0,content:F.title.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),F.code?(t.openBlock(),t.createBlock(Oo,{key:0,highlighter:u.value,language:F.lang??"yaml",theme:S,code:c(F)},null,8,["highlighter","language","code"])):t.createCommentVNode("",!0)]),he<h.value.length-1?(t.openBlock(),t.createElementBlock("hr",ug)):t.createCommentVNode("",!0)],64))),128))])]),_:3})):t.createCommentVNode("",!0),(H=m.schema.properties)!=null&&H.properties?(t.openBlock(),t.createBlock(Nt,{key:1,class:"plugin-section",properties:m.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":m.propsInitiallyExpanded,"force-include":m.forceIncludeProperties},{markdown:t.withCtx(({content:F})=>[t.createElementVNode("div",dg,[t.renderSlot(m.$slots,"markdown",{content:F},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include"])):t.createCommentVNode("",!0),(J=m.schema.outputs)!=null&&J.properties&&Object.keys(m.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(Nt,{key:2,class:"plugin-section",properties:m.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1},{markdown:t.withCtx(({content:F})=>[t.createElementVNode("div",fg,[t.renderSlot(m.$slots,"markdown",{content:F},void 0,!0)])]),_:3},8,["properties"])):t.createCommentVNode("",!0),(ce=m.schema.properties)!=null&&ce.$metrics?(t.openBlock(),t.createBlock(Nt,{key:3,class:"plugin-section",properties:E.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1},{markdown:t.withCtx(({content:F})=>[t.createElementVNode("div",mg,[t.renderSlot(m.$slots,"markdown",{content:F},void 0,!0)])]),_:3},8,["properties"])):t.createCommentVNode("",!0),m.schema.definitions&&Object.keys(m.schema.definitions).length>0?(t.openBlock(),t.createBlock(It,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":r.value,key:`definitions-${m.pluginType}-${a.value}`},{content:t.withCtx(()=>[t.createElementVNode("div",pg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.entries(m.schema.definitions),([F,he])=>(t.openBlock(),t.createBlock(Nt,{properties:he.properties,"section-name":he.title??F.split("_")[0],href:F,"show-dynamic":!1,"initially-expanded":i.value.has(F),key:m.pluginType+"-"+F,class:"plugin-section nested-button-py-2",onExpand:Ae=>{r.value=!0,i.value.add(F)}},{markdown:t.withCtx(({content:Ae})=>[t.createElementVNode("div",gg,[t.renderSlot(m.$slots,"markdown",{content:Ae},void 0,!0)])]),_:2},1032,["properties","section-name","href","initially-expanded","onExpand"]))),128))])]),_:3},8,["initially-expanded"])):t.createCommentVNode("",!0)]))])}}}),Eg=B(hg,[["__scopeId","data-v-5953ec4c"]]),kg={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_g=["aria-hidden","aria-label"],yg=["fill","width","height"],Cg={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},Ng={key:0};function vg(e,n,o,l,r,i){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:n[0]||(n[0]=a=>e.$emit("click",a))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Cg,[o.title?(t.openBlock(),t.createElementBlock("title",Ng,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,yg))],16,_g)}const Sg=B(kg,[["render",vg]]),bg=["href"],Lg=["src","alt"],Tg=t.defineComponent({__name:"RowLink",props:{iconB64Svg:{},text:{},href:{}},setup(e){const n=e,{path:o}=Ln.useRoute(),l=t.computed(()=>n.href===void 0?`${o}/${je(n.text)}`:n.href);return(r,i)=>(t.openBlock(),t.createElementBlock("a",{href:l.value,class:"row-link d-flex flex-grow-1 align-items-center gap-7 rounded"},[t.createElementVNode("img",{src:r.iconB64Svg,alt:`${r.text} icon`},null,8,Lg),t.createTextVNode(t.toDisplayString(r.text)+" ",1),t.createVNode(Sg,{class:"ms-auto"})],8,bg))}}),Do=B(Tg,[["__scopeId","data-v-b787c0f3"]]),wg={class:"d-flex flex-column gap-4"},Ag={key:1,class:"d-flex flex-column"},Ig=["id"],Vg={class:"d-flex flex-column"},Og=t.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},subGroup:{},icons:{}},emits:["goTo"],setup(e){const n=e,o=t.computed(()=>n.plugins.find(E=>n.subGroup===void 0?!0:je(Je(E))===n.subGroup)),l=t.computed(()=>{var E,g;return((E=o.value)==null?void 0:E.longDescription)??((g=o.value)==null?void 0:g.description)}),r=t.computed(()=>n.plugins.filter(E=>E.name.toLowerCase()===n.pluginName.toLowerCase()&&E.subGroup!==void 0)),i=E=>{let g=E.split(".");return g==null?void 0:g[g.length-1]},{path:a}=Ln.useRoute(),s=E=>`${a}/${je(E)}`,c=E=>`${a}/${E}`;function u(E){return Object.fromEntries(Object.entries(E).filter(([g,C])=>$o(g,C)).map(([g,C])=>[g.replaceAll(/[A-Z]/g,V=>` ${V}`),C.filter(({deprecated:V})=>!V).map(({cls:V})=>V)]))}const h=t.computed(()=>u(o.value));return(E,g)=>(t.openBlock(),t.createElementBlock("div",wg,[l.value!==void 0?t.renderSlot(E.$slots,"markdown",{key:0,content:l.value.replaceAll(/ *:(?![ /])/g,": ")}):t.createCommentVNode("",!0),E.subGroup===void 0&&E.plugins.length>1?(t.openBlock(),t.createElementBlock("div",Ag,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,C=>(t.openBlock(),t.createBlock(Do,{id:`group-${t.unref(je)(t.unref(Je)(C))}`,"icon-b64-svg":"data:image/svg+xml;base64,"+(E.icons[C.subGroup]??E.icons[C.group]),text:t.unref(Je)(C),href:s(t.unref(Je)(C)),key:t.unref(Je)(C),class:"text-capitalize",onClick:V=>E.$emit("goTo",{subGroup:C})},null,8,["id","icon-b64-svg","text","href","onClick"]))),128))])):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(h.value,(C,V)=>(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column elements-section",key:V},[t.createElementVNode("h4",{id:`section-${t.unref(je)(V)}`,class:"text-capitalize"},t.toDisplayString(V),9,Ig),t.createElementVNode("div",Vg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C,L=>(t.openBlock(),t.createBlock(Do,{id:t.unref(je)(L),"icon-b64-svg":"data:image/svg+xml;base64,"+(E.icons[L]??E.icons[o.value.subGroup??o.value.group]??E.icons[o.value.group]),text:i(L),href:c(L),key:L,class:"text-capitalize",onClick:O=>E.$emit("goTo",{element:L})},null,8,["id","icon-b64-svg","text","href","onClick"]))),128))])]))),128))]))}}),Dg=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Bg=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Pg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Rg(e,n){if(e==="__proto__"||e==="constructor"&&n&&typeof n=="object"&&"prototype"in n){$g(e);return}return n}function $g(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Mg(e,n={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const o=e.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Pg.test(e)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Dg.test(e)||Bg.test(e)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Rg)}return JSON.parse(e)}catch(l){if(n.strict)throw l;return e}}const xg=/\d/,Fg=["-","_","/","."];function Ug(e=""){if(!xg.test(e))return e!==e.toLowerCase()}function Bl(e,n){const o=Fg,l=[];if(!e||typeof e!="string")return l;let r="",i,a;for(const s of e){const c=o.includes(s);if(c===!0){l.push(r),r="",i=void 0;continue}const u=Ug(s);if(a===!1){if(i===!1&&u===!0){l.push(r),r=s,i=u;continue}if(i===!0&&u===!1&&r.length>1){const h=r.at(-1);l.push(r.slice(0,Math.max(0,r.length-1))),r=h+s,i=u;continue}}r+=s,i=u,a=c}return l.push(r),l}function Hg(e){return e?e[0].toUpperCase()+e.slice(1):""}function Pl(e,n){return e?(Array.isArray(e)?e:Bl(e)).map(o=>Hg(o)).join(""):""}function zg(e,n){return e?(Array.isArray(e)?e:Bl(e)).map(o=>o.toLowerCase()).join("-"):""}class ft{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}ft.prototype.normal={};ft.prototype.property={};ft.prototype.space=void 0;function Rl(e,n){const o={},l={};for(const r of e)Object.assign(o,r.property),Object.assign(l,r.normal);return new ft(o,l,n)}function Nn(e){return e.toLowerCase()}class _e{constructor(n,o){this.attribute=o,this.property=n}}_e.prototype.attribute="";_e.prototype.booleanish=!1;_e.prototype.boolean=!1;_e.prototype.commaOrSpaceSeparated=!1;_e.prototype.commaSeparated=!1;_e.prototype.defined=!1;_e.prototype.mustUseProperty=!1;_e.prototype.number=!1;_e.prototype.overloadedBoolean=!1;_e.prototype.property="";_e.prototype.spaceSeparated=!1;_e.prototype.space=void 0;let Gg=0;const U=Xe(),ie=Xe(),$l=Xe(),T=Xe(),Q=Xe(),et=Xe(),Ce=Xe();function Xe(){return 2**++Gg}const vn=Object.freeze(Object.defineProperty({__proto__:null,boolean:U,booleanish:ie,commaOrSpaceSeparated:Ce,commaSeparated:et,number:T,overloadedBoolean:$l,spaceSeparated:Q},Symbol.toStringTag,{value:"Module"})),an=Object.keys(vn);class xn extends _e{constructor(n,o,l,r){let i=-1;if(super(n,o),Bo(this,"space",r),typeof l=="number")for(;++i<an.length;){const a=an[i];Bo(this,an[i],(l&vn[a])===vn[a])}}}xn.prototype.defined=!0;function Bo(e,n,o){o&&(e[n]=o)}function ot(e){const n={},o={};for(const[l,r]of Object.entries(e.properties)){const i=new xn(l,e.transform(e.attributes||{},l),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(i.mustUseProperty=!0),n[l]=i,o[Nn(l)]=l,o[Nn(i.attribute)]=l}return new ft(n,o,e.space)}const Ml=ot({properties:{ariaActiveDescendant:null,ariaAtomic:ie,ariaAutoComplete:null,ariaBusy:ie,ariaChecked:ie,ariaColCount:T,ariaColIndex:T,ariaColSpan:T,ariaControls:Q,ariaCurrent:null,ariaDescribedBy:Q,ariaDetails:null,ariaDisabled:ie,ariaDropEffect:Q,ariaErrorMessage:null,ariaExpanded:ie,ariaFlowTo:Q,ariaGrabbed:ie,ariaHasPopup:null,ariaHidden:ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Q,ariaLevel:T,ariaLive:null,ariaModal:ie,ariaMultiLine:ie,ariaMultiSelectable:ie,ariaOrientation:null,ariaOwns:Q,ariaPlaceholder:null,ariaPosInSet:T,ariaPressed:ie,ariaReadOnly:ie,ariaRelevant:null,ariaRequired:ie,ariaRoleDescription:Q,ariaRowCount:T,ariaRowIndex:T,ariaRowSpan:T,ariaSelected:ie,ariaSetSize:T,ariaSort:null,ariaValueMax:T,ariaValueMin:T,ariaValueNow:T,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function xl(e,n){return n in e?e[n]:n}function Fl(e,n){return xl(e,n.toLowerCase())}const Wg=ot({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:et,acceptCharset:Q,accessKey:Q,action:null,allow:null,allowFullScreen:U,allowPaymentRequest:U,allowUserMedia:U,alt:null,as:null,async:U,autoCapitalize:null,autoComplete:Q,autoFocus:U,autoPlay:U,blocking:Q,capture:null,charSet:null,checked:U,cite:null,className:Q,cols:T,colSpan:null,content:null,contentEditable:ie,controls:U,controlsList:Q,coords:T|et,crossOrigin:null,data:null,dateTime:null,decoding:null,default:U,defer:U,dir:null,dirName:null,disabled:U,download:$l,draggable:ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:U,formTarget:null,headers:Q,height:T,hidden:U,high:T,href:null,hrefLang:null,htmlFor:Q,httpEquiv:Q,id:null,imageSizes:null,imageSrcSet:null,inert:U,inputMode:null,integrity:null,is:null,isMap:U,itemId:null,itemProp:Q,itemRef:Q,itemScope:U,itemType:Q,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:U,low:T,manifest:null,max:null,maxLength:T,media:null,method:null,min:null,minLength:T,multiple:U,muted:U,name:null,nonce:null,noModule:U,noValidate:U,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:U,optimum:T,pattern:null,ping:Q,placeholder:null,playsInline:U,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:U,referrerPolicy:null,rel:Q,required:U,reversed:U,rows:T,rowSpan:T,sandbox:Q,scope:null,scoped:U,seamless:U,selected:U,shadowRootClonable:U,shadowRootDelegatesFocus:U,shadowRootMode:null,shape:null,size:T,sizes:null,slot:null,span:T,spellCheck:ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:T,step:null,style:null,tabIndex:T,target:null,title:null,translate:null,type:null,typeMustMatch:U,useMap:null,value:ie,width:T,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Q,axis:null,background:null,bgColor:null,border:T,borderColor:null,bottomMargin:T,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:U,declare:U,event:null,face:null,frame:null,frameBorder:null,hSpace:T,leftMargin:T,link:null,longDesc:null,lowSrc:null,marginHeight:T,marginWidth:T,noResize:U,noHref:U,noShade:U,noWrap:U,object:null,profile:null,prompt:null,rev:null,rightMargin:T,rules:null,scheme:null,scrolling:ie,standby:null,summary:null,text:null,topMargin:T,valueType:null,version:null,vAlign:null,vLink:null,vSpace:T,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:U,disableRemotePlayback:U,prefix:null,property:null,results:T,security:null,unselectable:null},space:"html",transform:Fl}),jg=ot({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ce,accentHeight:T,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:T,amplitude:T,arabicForm:null,ascent:T,attributeName:null,attributeType:null,azimuth:T,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:T,by:null,calcMode:null,capHeight:T,className:Q,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:T,diffuseConstant:T,direction:null,display:null,dur:null,divisor:T,dominantBaseline:null,download:U,dx:null,dy:null,edgeMode:null,editable:null,elevation:T,enableBackground:null,end:null,event:null,exponent:T,externalResourcesRequired:null,fill:null,fillOpacity:T,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:et,g2:et,glyphName:et,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:T,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:T,horizOriginX:T,horizOriginY:T,id:null,ideographic:T,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:T,k:T,k1:T,k2:T,k3:T,k4:T,kernelMatrix:Ce,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:T,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:T,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:T,overlineThickness:T,paintOrder:null,panose1:null,path:null,pathLength:T,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Q,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:T,pointsAtY:T,pointsAtZ:T,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ce,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ce,rev:Ce,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ce,requiredFeatures:Ce,requiredFonts:Ce,requiredFormats:Ce,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:T,specularExponent:T,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:T,strikethroughThickness:T,string:null,stroke:null,strokeDashArray:Ce,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:T,strokeOpacity:T,strokeWidth:null,style:null,surfaceScale:T,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ce,tabIndex:T,tableValues:null,target:null,targetX:T,targetY:T,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ce,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:T,underlineThickness:T,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:T,values:null,vAlphabetic:T,vMathematical:T,vectorEffect:null,vHanging:T,vIdeographic:T,version:null,vertAdvY:T,vertOriginX:T,vertOriginY:T,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:T,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:xl}),Ul=ot({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Hl=ot({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Fl}),zl=ot({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),Kg=/[A-Z]/g,Po=/-[a-z]/g,Yg=/^data[-\w.:]+$/i;function qg(e,n){const o=Nn(n);let l=n,r=_e;if(o in e.normal)return e.property[e.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&Yg.test(n)){if(n.charAt(4)==="-"){const i=n.slice(5).replace(Po,Zg);l="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=n.slice(4);if(!Po.test(i)){let a=i.replace(Kg,Xg);a.charAt(0)!=="-"&&(a="-"+a),n="data"+a}}r=xn}return new r(l,n)}function Xg(e){return"-"+e.toLowerCase()}function Zg(e){return e.charAt(1).toUpperCase()}const Jg=Rl([Ml,Wg,Ul,Hl,zl],"html");Rl([Ml,jg,Ul,Hl,zl],"svg");const Fn=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],Qg=["p","h1","h2","h3","h4","h5","h6","li"];function Vt(e,n){return e.type===n||typeof e.type=="object"&&e.type.tag===n||e.tag===n}function Un(e){return Vt(e,"text")||Vt(e,Symbol.for("v-txt"))}function Gl(e){var n;return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof((n=e.children)==null?void 0:n.default)=="function"?e.children.default():[]}function Ot(e){if(!e)return"";if(Array.isArray(e))return e.map(Ot).join("");if(Un(e))return e.value||e.children||"";const n=Gl(e);return Array.isArray(n)?n.map(Ot).filter(Boolean).join(""):""}function Wl(e,n=[]){if(Array.isArray(e))return e.flatMap(l=>Wl(l,n));let o=e;return n.some(l=>l==="*"||Vt(e,l))&&(o=Gl(e)||e,!Array.isArray(o)&&Qg.some(l=>Vt(e,l))&&(o=[o])),o}function jl(e,n=[]){return e=Array.isArray(e)?e:[e],n.length?e.flatMap(o=>jl(Wl(o,[n[0]]),n.slice(1))).filter(o=>!(Un(o)&&Ot(o).trim()==="")):e}function Kl(e,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?jl(e,n).reduce((o,l)=>(Un(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):e}function e1(e,n){return n.reduce((o,l)=>{const r=t1(e,l);return r!==void 0&&(o[l]=r),o},{})}function t1(e,n){return n.split(".").reduce((o,l)=>o&&o[l],e)}const Sn="default",Yl=/^@|^v-on:/,ql=/^:|^v-bind:/,n1=/^v-model/,o1=["select","textarea","input"],l1=["math","svg"],r1=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(e=>[e,`prose-${e}`])),i1=t.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(e){var u,h,E,g,C,V,L;const n=(h=(u=t.getCurrentInstance())==null?void 0:u.appContext)==null?void 0:h.app,o=n==null?void 0:n.$nuxt,l=(o==null?void 0:o.$route)||(o==null?void 0:o._route),{mdc:r}=((E=o==null?void 0:o.$config)==null?void 0:E.public)||{},i={...(g=r==null?void 0:r.components)!=null&&g.prose&&e.prose!==!1?r1:{},...((C=r==null?void 0:r.components)==null?void 0:C.map)||{},...t.toRaw(((L=(V=e.data)==null?void 0:V.mdc)==null?void 0:L.components)||{}),...e.components},a=t.computed(()=>{var p;const O=(((p=e.body)==null?void 0:p.children)||[]).map(k=>k.tag||k.type).filter(k=>!Fn.includes(k));return Array.from(new Set(O)).sort().join(".")}),s=t.reactive({...e.data});t.watch(()=>e.data,O=>{Object.assign(s,O)}),await E1(e.body,{tags:i});function c(O,p){const k=O.split(".").length-1;return O.split(".").reduce((S,m,b)=>b==k&&S?(S[m]=p,S[m]):typeof S=="object"?S[m]:void 0,s)}return{tags:i,contentKey:a,route:l,runtimeData:s,updateRuntimeData:c}},render(e){var C,V;const{tags:n,tag:o,body:l,data:r,contentKey:i,route:a,unwrap:s,runtimeData:c,updateRuntimeData:u}=e;if(!l)return null;const h={...r,tags:n,$route:a,runtimeData:c,updateRuntimeData:u},E=o!==!1?bn(o||((C=h.component)==null?void 0:C.name)||h.component||"div"):void 0;return E?t.h(E,{...(V=h.component)==null?void 0:V.props,class:e.class,...this.$attrs,key:i},{default:g}):g==null?void 0:g();function g(){const L=Xl(l,t.h,{documentMeta:h,parentScope:h,resolveComponent:bn});return L!=null&&L.default?s?Kl(L.default(),typeof s=="string"?s.split(" "):["*"]):L.default():null}}});function a1(e,n,o){const{documentMeta:l,parentScope:r,resolveComponent:i}=o;if(e.type==="text")return n(t.Text,e.value);if(e.type==="comment")return n(t.Comment,null,e.value);const a=e.tag,s=Jl(e,l.tags);if(e.tag==="binding")return s1(e,n,l,r);const c=Zl(s)?E=>E:i;if(s==="script")return n("pre",{class:"script-to-pre"},`<script>
27
+ `.concat(p.code)},u=t.ref(null),E=t.computed(()=>{var p;return(p=l.schema.properties)==null?void 0:p.$examples}),g=t.computed(()=>{var p,w;return Object.fromEntries((w=(p=l.schema.properties)==null?void 0:p.$metrics)==null?void 0:w.map(V=>[V.name,{...V,name:void 0}]))}),{githubLight:h,githubDark:_,yaml:A,python:S,javascript:C,createJavaScriptRegexEngine:f,createHighlighterCore:k}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BiVCa5d0.cjs"))),n=await n,o(),n);u.value=([n,o]=t.withAsyncContext(()=>k({themes:[l.darkMode?_:h],langs:[A,S,C],engine:f()})),n=await n,o(),n);const b="github-"+(l.darkMode?"dark":"light");return t.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),t.onUnmounted(()=>{var p;window.removeEventListener("hashchange",s),(p=u.value)==null||p.dispose()}),(p,w)=>{var V,v,x,H,J,ce;return t.openBlock(),t.createElementBlock("div",h1,[t.createElementVNode("div",null,[(V=p.schema.properties)!=null&&V.$beta?(t.openBlock(),t.createElementBlock("div",E1,w[0]||(w[0]=[t.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)]))):t.createCommentVNode("",!0),(v=p.schema.properties)!=null&&v.title?(t.openBlock(),t.createElementBlock("div",_1,[t.renderSlot(p.$slots,"markdown",{content:p.schema.properties.title.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(x=p.schema.properties)!=null&&x.description?(t.openBlock(),t.createElementBlock("div",k1,[t.renderSlot(p.$slots,"markdown",{content:p.schema.properties.description.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(Bo,{highlighter:u.value,language:"yaml",theme:b,code:`type: "${p.pluginType}"`,key:p.pluginType},null,8,["highlighter","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column gap-3",key:p.pluginType},[E.value?(t.openBlock(),t.createBlock(Vt,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples"},{content:t.withCtx(()=>[t.createElementVNode("div",y1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(E.value,(F,he)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p.pluginType+"-"+he},[t.createElementVNode("div",C1,[t.createElementVNode("div",v1,[F.title?t.renderSlot(p.$slots,"markdown",{key:0,content:F.title.replaceAll(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),F.code?(t.openBlock(),t.createBlock(Bo,{key:0,highlighter:u.value,language:F.lang??"yaml",theme:b,code:c(F)},null,8,["highlighter","language","code"])):t.createCommentVNode("",!0)]),he<E.value.length-1?(t.openBlock(),t.createElementBlock("hr",N1)):t.createCommentVNode("",!0)],64))),128))])]),_:3})):t.createCommentVNode("",!0),(H=p.schema.properties)!=null&&H.properties?(t.openBlock(),t.createBlock(vt,{key:1,class:"plugin-section",properties:p.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":p.propsInitiallyExpanded,"force-include":p.forceIncludeProperties},{markdown:t.withCtx(({content:F})=>[t.createElementVNode("div",S1,[t.renderSlot(p.$slots,"markdown",{content:F},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include"])):t.createCommentVNode("",!0),(J=p.schema.outputs)!=null&&J.properties&&Object.keys(p.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(vt,{key:2,class:"plugin-section",properties:p.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1},{markdown:t.withCtx(({content:F})=>[t.createElementVNode("div",b1,[t.renderSlot(p.$slots,"markdown",{content:F},void 0,!0)])]),_:3},8,["properties"])):t.createCommentVNode("",!0),(ce=p.schema.properties)!=null&&ce.$metrics?(t.openBlock(),t.createBlock(vt,{key:3,class:"plugin-section",properties:g.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1},{markdown:t.withCtx(({content:F})=>[t.createElementVNode("div",L1,[t.renderSlot(p.$slots,"markdown",{content:F},void 0,!0)])]),_:3},8,["properties"])):t.createCommentVNode("",!0),p.schema.definitions&&Object.keys(p.schema.definitions).length>0?(t.openBlock(),t.createBlock(Vt,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":a.value,key:`definitions-${p.pluginType}-${i.value}`},{content:t.withCtx(()=>[t.createElementVNode("div",w1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.entries(p.schema.definitions),([F,he])=>(t.openBlock(),t.createBlock(vt,{properties:he.properties,"section-name":he.title??F.split("_")[0],href:F,"show-dynamic":!1,"initially-expanded":r.value.has(F),key:p.pluginType+"-"+F,class:"plugin-section nested-button-py-2",onExpand:Ae=>{a.value=!0,r.value.add(F)}},{markdown:t.withCtx(({content:Ae})=>[t.createElementVNode("div",T1,[t.renderSlot(p.$slots,"markdown",{content:Ae},void 0,!0)])]),_:2},1032,["properties","section-name","href","initially-expanded","onExpand"]))),128))])]),_:3},8,["initially-expanded"])):t.createCommentVNode("",!0)]))])}}}),I1=D(A1,[["__scopeId","data-v-5953ec4c"]]),V1={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},B1=["aria-hidden","aria-label"],O1=["fill","width","height"],D1={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},P1={key:0};function $1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:!0,"aria-label":o.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",D1,[o.title?(t.openBlock(),t.createElementBlock("title",P1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,O1))],16,B1)}const R1=D(V1,[["render",$1]]),M1=["href"],x1=["src","alt"],F1=t.defineComponent({__name:"RowLink",props:{iconB64Svg:{},text:{},href:{}},setup(e){const n=e,{path:o}=vn.useRoute(),l=t.computed(()=>n.href===void 0?`${o}/${Ke(n.text)}`:n.href);return(a,r)=>(t.openBlock(),t.createElementBlock("a",{href:l.value,class:"row-link d-flex flex-grow-1 align-items-center gap-7 rounded"},[t.createElementVNode("img",{src:a.iconB64Svg,alt:`${a.text} icon`},null,8,x1),t.createTextVNode(t.toDisplayString(a.text)+" ",1),t.createVNode(R1,{class:"ms-auto"})],8,M1))}}),Oo=D(F1,[["__scopeId","data-v-b787c0f3"]]),U1={class:"d-flex flex-column gap-4"},H1={key:1,class:"d-flex flex-column"},z1=["id"],G1={class:"d-flex flex-column"},W1=t.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},subGroup:{},icons:{}},emits:["goTo"],setup(e){const n=e,o=t.computed(()=>n.plugins.find(g=>n.subGroup===void 0?!0:Ke(Je(g))===n.subGroup)),l=t.computed(()=>{var g,h;return((g=o.value)==null?void 0:g.longDescription)??((h=o.value)==null?void 0:h.description)}),a=t.computed(()=>n.plugins.filter(g=>g.name.toLowerCase()===n.pluginName.toLowerCase()&&g.subGroup!==void 0)),r=g=>{let h=g.split(".");return h==null?void 0:h[h.length-1]},{path:i}=vn.useRoute(),s=g=>`${i}/${Ke(g)}`,c=g=>`${i}/${g}`;function u(g){return Object.fromEntries(Object.entries(g).filter(([h,_])=>Ro(h,_)).map(([h,_])=>[h.replaceAll(/[A-Z]/g,A=>` ${A}`),_.filter(({deprecated:A})=>!A).map(({cls:A})=>A)]))}const E=t.computed(()=>u(o.value));return(g,h)=>(t.openBlock(),t.createElementBlock("div",U1,[l.value!==void 0?t.renderSlot(g.$slots,"markdown",{key:0,content:l.value.replaceAll(/ *:(?![ /])/g,": ")}):t.createCommentVNode("",!0),g.subGroup===void 0&&g.plugins.length>1?(t.openBlock(),t.createElementBlock("div",H1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value,_=>(t.openBlock(),t.createBlock(Oo,{id:`group-${t.unref(Ke)(t.unref(Je)(_))}`,"icon-b64-svg":"data:image/svg+xml;base64,"+(g.icons[_.subGroup]??g.icons[_.group]),text:t.unref(Je)(_),href:s(t.unref(Je)(_)),key:t.unref(Je)(_),class:"text-capitalize",onClick:A=>g.$emit("goTo",{subGroup:_})},null,8,["id","icon-b64-svg","text","href","onClick"]))),128))])):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(E.value,(_,A)=>(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column elements-section",key:A},[t.createElementVNode("h4",{id:`section-${t.unref(Ke)(A)}`,class:"text-capitalize"},t.toDisplayString(A),9,z1),t.createElementVNode("div",G1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_,S=>(t.openBlock(),t.createBlock(Oo,{id:t.unref(Ke)(S),"icon-b64-svg":"data:image/svg+xml;base64,"+(g.icons[S]??g.icons[o.value.subGroup??o.value.group]??g.icons[o.value.group]),text:r(S),href:c(S),key:S,class:"text-capitalize",onClick:C=>g.$emit("goTo",{element:S})},null,8,["id","icon-b64-svg","text","href","onClick"]))),128))])]))),128))]))}}),K1=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,j1=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Y1=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function q1(e,n){if(e==="__proto__"||e==="constructor"&&n&&typeof n=="object"&&"prototype"in n){X1(e);return}return n}function X1(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Z1(e,n={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const o=e.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Y1.test(e)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(K1.test(e)||j1.test(e)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,q1)}return JSON.parse(e)}catch(l){if(n.strict)throw l;return e}}const J1=/\d/,Q1=["-","_","/","."];function eg(e=""){if(!J1.test(e))return e!==e.toLowerCase()}function Il(e,n){const o=Q1,l=[];if(!e||typeof e!="string")return l;let a="",r,i;for(const s of e){const c=o.includes(s);if(c===!0){l.push(a),a="",r=void 0;continue}const u=eg(s);if(i===!1){if(r===!1&&u===!0){l.push(a),a=s,r=u;continue}if(r===!0&&u===!1&&a.length>1){const E=a.at(-1);l.push(a.slice(0,Math.max(0,a.length-1))),a=E+s,r=u;continue}}a+=s,r=u,i=c}return l.push(a),l}function tg(e){return e?e[0].toUpperCase()+e.slice(1):""}function Vl(e,n){return e?(Array.isArray(e)?e:Il(e)).map(o=>tg(o)).join(""):""}function ng(e,n){return e?(Array.isArray(e)?e:Il(e)).map(o=>o.toLowerCase()).join("-"):""}class ft{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}ft.prototype.normal={};ft.prototype.property={};ft.prototype.space=void 0;function Bl(e,n){const o={},l={};for(const a of e)Object.assign(o,a.property),Object.assign(l,a.normal);return new ft(o,l,n)}function _n(e){return e.toLowerCase()}class ke{constructor(n,o){this.attribute=o,this.property=n}}ke.prototype.attribute="";ke.prototype.booleanish=!1;ke.prototype.boolean=!1;ke.prototype.commaOrSpaceSeparated=!1;ke.prototype.commaSeparated=!1;ke.prototype.defined=!1;ke.prototype.mustUseProperty=!1;ke.prototype.number=!1;ke.prototype.overloadedBoolean=!1;ke.prototype.property="";ke.prototype.spaceSeparated=!1;ke.prototype.space=void 0;let og=0;const U=Xe(),ie=Xe(),Ol=Xe(),T=Xe(),Q=Xe(),et=Xe(),Ce=Xe();function Xe(){return 2**++og}const kn=Object.freeze(Object.defineProperty({__proto__:null,boolean:U,booleanish:ie,commaOrSpaceSeparated:Ce,commaSeparated:et,number:T,overloadedBoolean:Ol,spaceSeparated:Q},Symbol.toStringTag,{value:"Module"})),on=Object.keys(kn);class xn extends ke{constructor(n,o,l,a){let r=-1;if(super(n,o),Do(this,"space",a),typeof l=="number")for(;++r<on.length;){const i=on[r];Do(this,on[r],(l&kn[i])===kn[i])}}}xn.prototype.defined=!0;function Do(e,n,o){o&&(e[n]=o)}function ot(e){const n={},o={};for(const[l,a]of Object.entries(e.properties)){const r=new xn(l,e.transform(e.attributes||{},l),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,o[_n(l)]=l,o[_n(r.attribute)]=l}return new ft(n,o,e.space)}const Dl=ot({properties:{ariaActiveDescendant:null,ariaAtomic:ie,ariaAutoComplete:null,ariaBusy:ie,ariaChecked:ie,ariaColCount:T,ariaColIndex:T,ariaColSpan:T,ariaControls:Q,ariaCurrent:null,ariaDescribedBy:Q,ariaDetails:null,ariaDisabled:ie,ariaDropEffect:Q,ariaErrorMessage:null,ariaExpanded:ie,ariaFlowTo:Q,ariaGrabbed:ie,ariaHasPopup:null,ariaHidden:ie,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Q,ariaLevel:T,ariaLive:null,ariaModal:ie,ariaMultiLine:ie,ariaMultiSelectable:ie,ariaOrientation:null,ariaOwns:Q,ariaPlaceholder:null,ariaPosInSet:T,ariaPressed:ie,ariaReadOnly:ie,ariaRelevant:null,ariaRequired:ie,ariaRoleDescription:Q,ariaRowCount:T,ariaRowIndex:T,ariaRowSpan:T,ariaSelected:ie,ariaSetSize:T,ariaSort:null,ariaValueMax:T,ariaValueMin:T,ariaValueNow:T,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function Pl(e,n){return n in e?e[n]:n}function $l(e,n){return Pl(e,n.toLowerCase())}const lg=ot({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:et,acceptCharset:Q,accessKey:Q,action:null,allow:null,allowFullScreen:U,allowPaymentRequest:U,allowUserMedia:U,alt:null,as:null,async:U,autoCapitalize:null,autoComplete:Q,autoFocus:U,autoPlay:U,blocking:Q,capture:null,charSet:null,checked:U,cite:null,className:Q,cols:T,colSpan:null,content:null,contentEditable:ie,controls:U,controlsList:Q,coords:T|et,crossOrigin:null,data:null,dateTime:null,decoding:null,default:U,defer:U,dir:null,dirName:null,disabled:U,download:Ol,draggable:ie,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:U,formTarget:null,headers:Q,height:T,hidden:U,high:T,href:null,hrefLang:null,htmlFor:Q,httpEquiv:Q,id:null,imageSizes:null,imageSrcSet:null,inert:U,inputMode:null,integrity:null,is:null,isMap:U,itemId:null,itemProp:Q,itemRef:Q,itemScope:U,itemType:Q,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:U,low:T,manifest:null,max:null,maxLength:T,media:null,method:null,min:null,minLength:T,multiple:U,muted:U,name:null,nonce:null,noModule:U,noValidate:U,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:U,optimum:T,pattern:null,ping:Q,placeholder:null,playsInline:U,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:U,referrerPolicy:null,rel:Q,required:U,reversed:U,rows:T,rowSpan:T,sandbox:Q,scope:null,scoped:U,seamless:U,selected:U,shadowRootClonable:U,shadowRootDelegatesFocus:U,shadowRootMode:null,shape:null,size:T,sizes:null,slot:null,span:T,spellCheck:ie,src:null,srcDoc:null,srcLang:null,srcSet:null,start:T,step:null,style:null,tabIndex:T,target:null,title:null,translate:null,type:null,typeMustMatch:U,useMap:null,value:ie,width:T,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Q,axis:null,background:null,bgColor:null,border:T,borderColor:null,bottomMargin:T,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:U,declare:U,event:null,face:null,frame:null,frameBorder:null,hSpace:T,leftMargin:T,link:null,longDesc:null,lowSrc:null,marginHeight:T,marginWidth:T,noResize:U,noHref:U,noShade:U,noWrap:U,object:null,profile:null,prompt:null,rev:null,rightMargin:T,rules:null,scheme:null,scrolling:ie,standby:null,summary:null,text:null,topMargin:T,valueType:null,version:null,vAlign:null,vLink:null,vSpace:T,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:U,disableRemotePlayback:U,prefix:null,property:null,results:T,security:null,unselectable:null},space:"html",transform:$l}),rg=ot({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ce,accentHeight:T,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:T,amplitude:T,arabicForm:null,ascent:T,attributeName:null,attributeType:null,azimuth:T,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:T,by:null,calcMode:null,capHeight:T,className:Q,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:T,diffuseConstant:T,direction:null,display:null,dur:null,divisor:T,dominantBaseline:null,download:U,dx:null,dy:null,edgeMode:null,editable:null,elevation:T,enableBackground:null,end:null,event:null,exponent:T,externalResourcesRequired:null,fill:null,fillOpacity:T,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:et,g2:et,glyphName:et,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:T,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:T,horizOriginX:T,horizOriginY:T,id:null,ideographic:T,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:T,k:T,k1:T,k2:T,k3:T,k4:T,kernelMatrix:Ce,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:T,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:T,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:T,overlineThickness:T,paintOrder:null,panose1:null,path:null,pathLength:T,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Q,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:T,pointsAtY:T,pointsAtZ:T,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ce,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ce,rev:Ce,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ce,requiredFeatures:Ce,requiredFonts:Ce,requiredFormats:Ce,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:T,specularExponent:T,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:T,strikethroughThickness:T,string:null,stroke:null,strokeDashArray:Ce,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:T,strokeOpacity:T,strokeWidth:null,style:null,surfaceScale:T,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ce,tabIndex:T,tableValues:null,target:null,targetX:T,targetY:T,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ce,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:T,underlineThickness:T,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:T,values:null,vAlphabetic:T,vMathematical:T,vectorEffect:null,vHanging:T,vIdeographic:T,version:null,vertAdvY:T,vertOriginX:T,vertOriginY:T,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:T,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Pl}),Rl=ot({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Ml=ot({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$l}),xl=ot({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),ag=/[A-Z]/g,Po=/-[a-z]/g,ig=/^data[-\w.:]+$/i;function sg(e,n){const o=_n(n);let l=n,a=ke;if(o in e.normal)return e.property[e.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&ig.test(n)){if(n.charAt(4)==="-"){const r=n.slice(5).replace(Po,ug);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=n.slice(4);if(!Po.test(r)){let i=r.replace(ag,cg);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}a=xn}return new a(l,n)}function cg(e){return"-"+e.toLowerCase()}function ug(e){return e.charAt(1).toUpperCase()}const dg=Bl([Dl,lg,Rl,Ml,xl],"html");Bl([Dl,rg,Rl,Ml,xl],"svg");const Fn=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],fg=["p","h1","h2","h3","h4","h5","h6","li"];function Bt(e,n){return e.type===n||typeof e.type=="object"&&e.type.tag===n||e.tag===n}function Un(e){return Bt(e,"text")||Bt(e,Symbol.for("v-txt"))}function Fl(e){var n;return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof((n=e.children)==null?void 0:n.default)=="function"?e.children.default():[]}function Ot(e){if(!e)return"";if(Array.isArray(e))return e.map(Ot).join("");if(Un(e))return e.value||e.children||"";const n=Fl(e);return Array.isArray(n)?n.map(Ot).filter(Boolean).join(""):""}function Ul(e,n=[]){if(Array.isArray(e))return e.flatMap(l=>Ul(l,n));let o=e;return n.some(l=>l==="*"||Bt(e,l))&&(o=Fl(e)||e,!Array.isArray(o)&&fg.some(l=>Bt(e,l))&&(o=[o])),o}function Hl(e,n=[]){return e=Array.isArray(e)?e:[e],n.length?e.flatMap(o=>Hl(Ul(o,[n[0]]),n.slice(1))).filter(o=>!(Un(o)&&Ot(o).trim()==="")):e}function zl(e,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?Hl(e,n).reduce((o,l)=>(Un(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):e}function mg(e,n){return n.reduce((o,l)=>{const a=pg(e,l);return a!==void 0&&(o[l]=a),o},{})}function pg(e,n){return n.split(".").reduce((o,l)=>o&&o[l],e)}const yn="default",Gl=/^@|^v-on:/,Wl=/^:|^v-bind:/,gg=/^v-model/,hg=["select","textarea","input"],Eg=["math","svg"],_g=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(e=>[e,`prose-${e}`])),kg=t.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(e){var u,E,g,h,_,A,S;const n=(E=(u=t.getCurrentInstance())==null?void 0:u.appContext)==null?void 0:E.app,o=n==null?void 0:n.$nuxt,l=(o==null?void 0:o.$route)||(o==null?void 0:o._route),{mdc:a}=((g=o==null?void 0:o.$config)==null?void 0:g.public)||{},r={...(h=a==null?void 0:a.components)!=null&&h.prose&&e.prose!==!1?_g:{},...((_=a==null?void 0:a.components)==null?void 0:_.map)||{},...t.toRaw(((S=(A=e.data)==null?void 0:A.mdc)==null?void 0:S.components)||{}),...e.components},i=t.computed(()=>{var f;const C=(((f=e.body)==null?void 0:f.children)||[]).map(k=>k.tag||k.type).filter(k=>!Fn.includes(k));return Array.from(new Set(C)).sort().join(".")}),s=t.reactive({...e.data});t.watch(()=>e.data,C=>{Object.assign(s,C)}),await Ig(e.body,{tags:r});function c(C,f){const k=C.split(".").length-1;return C.split(".").reduce((b,p,w)=>w==k&&b?(b[p]=f,b[p]):typeof b=="object"?b[p]:void 0,s)}return{tags:r,contentKey:i,route:l,runtimeData:s,updateRuntimeData:c}},render(e){var _,A;const{tags:n,tag:o,body:l,data:a,contentKey:r,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=e;if(!l)return null;const E={...a,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},g=o!==!1?Cn(o||((_=E.component)==null?void 0:_.name)||E.component||"div"):void 0;return g?t.h(g,{...(A=E.component)==null?void 0:A.props,class:e.class,...this.$attrs,key:r},{default:h}):h==null?void 0:h();function h(){const S=Kl(l,t.h,{documentMeta:E,parentScope:E,resolveComponent:Cn});return S!=null&&S.default?s?zl(S.default(),typeof s=="string"?s.split(" "):["*"]):S.default():null}}});function yg(e,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o;if(e.type==="text")return n(t.Text,e.value);if(e.type==="comment")return n(t.Comment,null,e.value);const i=e.tag,s=Yl(e,l.tags);if(e.tag==="binding")return Cg(e,n,l,a);const c=jl(s)?g=>g:r;if(s==="script")return n("pre",{class:"script-to-pre"},`<script>
28
28
  `+Ot(e)+`
29
- <\/script>`);const u=c(s);typeof u=="object"&&(u.tag=a);const h=c1(e,l);return n(u,h,Xl(e,n,{documentMeta:l,parentScope:{...r,...h},resolveComponent:c}))}function Xl(e,n,o){const{documentMeta:l,parentScope:r,resolveComponent:i}=o,s=(e.children||[]).reduce((u,h)=>{if(!g1(h))return u[Sn].children.push(h),u;const E=p1(h);return u[E]=u[E]||{props:{},children:[]},h.type==="element"&&(u[E].props=h.props,u[E].children.push(...h.children||[])),u},{[Sn]:{props:{},children:[]}});return Object.entries(s).reduce((u,[h,{props:E,children:g}])=>(g.length&&(u[h]=(C={})=>{const V=e1(C,Object.keys(E||{}));let L=g.map(O=>a1(O,n,{documentMeta:l,parentScope:{...r,...V},resolveComponent:i}));return E!=null&&E.unwrap&&(L=Kl(L,E.unwrap)),h1(L)}),u),{})}function s1(e,n,o,l={}){var u,h;const r={...o.runtimeData,...l,$document:o,$doc:o},i=/\.|\[(\d+)\]/,s=((u=e.props)==null?void 0:u.value.trim().split(i).filter(Boolean)).reduce((E,g)=>{if(E&&g in E)return typeof E[g]=="function"?E[g]():E[g]},r),c=(h=e.props)==null?void 0:h.defaultValue;return n(t.Text,s??c??"")}function c1(e,n){const{tag:o="",props:l={}}=e;return Object.keys(l).reduce(function(r,i){if(i==="__ignoreMap")return r;const a=l[i];if(n1.test(i))return u1(i,a,r,n,{native:o1.includes(o)});if(i==="v-bind")return d1(i,a,r,n);if(Yl.test(i))return f1(i,a,r,n);if(ql.test(i))return m1(i,a,r,n);const{attribute:s}=qg(Jg,i);return Array.isArray(a)&&a.every(c=>typeof c=="string")?(r[s]=a.join(" "),r):(r[s]=a,r)},{})}function u1(e,n,o,l,{native:r}){var c;const i=((c=e.match(/^v-model:([^=]+)/))==null?void 0:c[1])||"modelValue",a=r?"value":i,s=r?"onInput":`onUpdate:${i}`;return o[a]=zt(n,l.runtimeData),o[s]=u=>{var h;l.updateRuntimeData(n,r?(h=u.target)==null?void 0:h.value:u)},o}function d1(e,n,o,l){const r=zt(n,l);return o=Object.assign(o,r),o}function f1(e,n,o,l){return e=e.replace(Yl,""),o.on=o.on||{},o.on[e]=()=>zt(n,l),o}function m1(e,n,o,l){return e=e.replace(ql,""),o[e]=zt(n,l),o}const bn=e=>{if(typeof e=="string"){if(Fn.includes(e))return e;const n=t.resolveComponent(Pl(e),!1);return!e||(n==null?void 0:n.name)==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?t.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return e};function zt(e,n){const o=e.split(".").reduce((l,r)=>typeof l=="object"?l[r]:void 0,n);return typeof o>"u"?Mg(e):o}function p1(e){let n="";for(const o of Object.keys(e.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||Sn}function g1(e){return e.tag==="template"}function Zl(e){return l1.includes(e)}function h1(e){const n=[];for(const o of e){const l=n[n.length-1];o.type===t.Text&&(l==null?void 0:l.type)===t.Text?l.children=l.children+o.children:n.push(o)}return n}async function E1(e,n){if(!e)return;const o=Array.from(new Set(l(e,n)));await Promise.all(o.map(async r=>{if(r!=null&&r.render||r!=null&&r.ssrRender||r!=null&&r.__ssrInlineRender)return;const i=bn(r);i!=null&&i.__asyncLoader&&!i.__asyncResolved&&await i.__asyncLoader()}));function l(r,i){const a=r.tag;if(r.type==="text"||a==="binding"||r.type==="comment")return[];const s=Jl(r,i.tags);if(Zl(s))return[];const c=[];r.type!=="root"&&!Fn.includes(s)&&c.push(s);for(const u of r.children||[])c.push(...l(u,i));return c}}function Jl(e,n){var l;const o=e.tag;return!o||typeof((l=e.props)==null?void 0:l.__ignoreMap)<"u"?o:n[o]||n[Pl(o)]||n[zg(e.tag)]||o}const k1=t.defineComponent({__name:"MDCRenderer",setup(e){return(n,o)=>(t.openBlock(),t.createBlock(t.Suspense,null,{default:t.withCtx(()=>[t.createVNode(i1,t.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=y.CLUSTER_PREFIX;exports.EVENTS=y.EVENTS;exports.NODE_SIZES=y.NODE_SIZES;exports.SECTIONS=y.SECTIONS;exports.Utils=y.Utils;exports.VueFlowUtils=y.VueFlowUtils;exports.editorViewTypes=y.editorViewTypes;exports.executeFlowBehaviours=y.executeFlowBehaviours;exports.logDisplayTypes=y.logDisplayTypes;exports.stateDisplayValues=y.stateDisplayValues;exports.stateGlobalChartTypes=y.stateGlobalChartTypes;exports.storageKeys=y.storageKeys;exports.DependenciesNode=oc;exports.MDCRenderer=k1;exports.PluginIndex=Og;exports.STATES=G;exports.SchemaToHtml=Eg;exports.State=ae;exports.TaskIcon=Pn;exports.Topology=If;exports.YamlUtils=cr;exports.cssVariable=Ne;exports.getMDCParser=Ai;exports.isEntryAPluginElementPredicate=$o;exports.slugify=je;exports.subGroupName=Je;
29
+ <\/script>`);const u=c(s);typeof u=="object"&&(u.tag=i);const E=vg(e,l);return n(u,E,Kl(e,n,{documentMeta:l,parentScope:{...a,...E},resolveComponent:c}))}function Kl(e,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o,s=(e.children||[]).reduce((u,E)=>{if(!Tg(E))return u[yn].children.push(E),u;const g=wg(E);return u[g]=u[g]||{props:{},children:[]},E.type==="element"&&(u[g].props=E.props,u[g].children.push(...E.children||[])),u},{[yn]:{props:{},children:[]}});return Object.entries(s).reduce((u,[E,{props:g,children:h}])=>(h.length&&(u[E]=(_={})=>{const A=mg(_,Object.keys(g||{}));let S=h.map(C=>yg(C,n,{documentMeta:l,parentScope:{...a,...A},resolveComponent:r}));return g!=null&&g.unwrap&&(S=zl(S,g.unwrap)),Ag(S)}),u),{})}function Cg(e,n,o,l={}){var u,E;const a={...o.runtimeData,...l,$document:o,$doc:o},r=/\.|\[(\d+)\]/,s=((u=e.props)==null?void 0:u.value.trim().split(r).filter(Boolean)).reduce((g,h)=>{if(g&&h in g)return typeof g[h]=="function"?g[h]():g[h]},a),c=(E=e.props)==null?void 0:E.defaultValue;return n(t.Text,s??c??"")}function vg(e,n){const{tag:o="",props:l={}}=e;return Object.keys(l).reduce(function(a,r){if(r==="__ignoreMap")return a;const i=l[r];if(gg.test(r))return Ng(r,i,a,n,{native:hg.includes(o)});if(r==="v-bind")return Sg(r,i,a,n);if(Gl.test(r))return bg(r,i,a,n);if(Wl.test(r))return Lg(r,i,a,n);const{attribute:s}=sg(dg,r);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(a[s]=i.join(" "),a):(a[s]=i,a)},{})}function Ng(e,n,o,l,{native:a}){var c;const r=((c=e.match(/^v-model:([^=]+)/))==null?void 0:c[1])||"modelValue",i=a?"value":r,s=a?"onInput":`onUpdate:${r}`;return o[i]=Ft(n,l.runtimeData),o[s]=u=>{var E;l.updateRuntimeData(n,a?(E=u.target)==null?void 0:E.value:u)},o}function Sg(e,n,o,l){const a=Ft(n,l);return o=Object.assign(o,a),o}function bg(e,n,o,l){return e=e.replace(Gl,""),o.on=o.on||{},o.on[e]=()=>Ft(n,l),o}function Lg(e,n,o,l){return e=e.replace(Wl,""),o[e]=Ft(n,l),o}const Cn=e=>{if(typeof e=="string"){if(Fn.includes(e))return e;const n=t.resolveComponent(Vl(e),!1);return!e||(n==null?void 0:n.name)==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?t.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return e};function Ft(e,n){const o=e.split(".").reduce((l,a)=>typeof l=="object"?l[a]:void 0,n);return typeof o>"u"?Z1(e):o}function wg(e){let n="";for(const o of Object.keys(e.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||yn}function Tg(e){return e.tag==="template"}function jl(e){return Eg.includes(e)}function Ag(e){const n=[];for(const o of e){const l=n[n.length-1];o.type===t.Text&&(l==null?void 0:l.type)===t.Text?l.children=l.children+o.children:n.push(o)}return n}async function Ig(e,n){if(!e)return;const o=Array.from(new Set(l(e,n)));await Promise.all(o.map(async a=>{if(a!=null&&a.render||a!=null&&a.ssrRender||a!=null&&a.__ssrInlineRender)return;const r=Cn(a);r!=null&&r.__asyncLoader&&!r.__asyncResolved&&await r.__asyncLoader()}));function l(a,r){const i=a.tag;if(a.type==="text"||i==="binding"||a.type==="comment")return[];const s=Yl(a,r.tags);if(jl(s))return[];const c=[];a.type!=="root"&&!Fn.includes(s)&&c.push(s);for(const u of a.children||[])c.push(...l(u,r));return c}}function Yl(e,n){var l;const o=e.tag;return!o||typeof((l=e.props)==null?void 0:l.__ignoreMap)<"u"?o:n[o]||n[Vl(o)]||n[ng(e.tag)]||o}const Vg=t.defineComponent({__name:"MDCRenderer",setup(e){return(n,o)=>(t.openBlock(),t.createBlock(t.Suspense,null,{default:t.withCtx(()=>[t.createVNode(kg,t.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=N.CLUSTER_PREFIX;exports.EVENTS=N.EVENTS;exports.NODE_SIZES=N.NODE_SIZES;exports.SECTIONS=N.SECTIONS;exports.Utils=N.Utils;exports.VueFlowUtils=N.VueFlowUtils;exports.editorViewTypes=N.editorViewTypes;exports.executeFlowBehaviours=N.executeFlowBehaviours;exports.logDisplayTypes=N.logDisplayTypes;exports.stateDisplayValues=N.stateDisplayValues;exports.stateGlobalChartTypes=N.stateGlobalChartTypes;exports.storageKeys=N.storageKeys;exports.DependenciesNode=ic;exports.MDCRenderer=Vg;exports.PluginIndex=W1;exports.RotatingDotsIcon=Mo;exports.STATES=G;exports.SchemaToHtml=I1;exports.State=te;exports.TaskIcon=Vn;exports.Topology=nm;exports.YamlUtils=rr;exports.cssVariable=ve;exports.getMDCParser=ba;exports.isEntryAPluginElementPredicate=Ro;exports.slugify=Ke;exports.subGroupName=Je;
30
30
  //# sourceMappingURL=kestra-index.cjs.js.map