@kestra-io/ui-libs 0.0.262 → 0.0.263

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.
@@ -1,28 +1,28 @@
1
- "use strict";var lr=Object.create;var jn=Object.defineProperty;var rr=Object.getOwnPropertyDescriptor;var ar=Object.getOwnPropertyNames;var ir=Object.getPrototypeOf,sr=Object.prototype.hasOwnProperty;var cr=(e,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of ar(n))!sr.call(e,a)&&a!==o&&jn(e,a,{get:()=>n[a],enumerable:!(l=rr(n,a))||l.enumerable});return e};var ur=(e,n,o)=>(o=e!=null?lr(ir(e)):{},cr(n||!e||!e.__esModule?jn(o,"default",{value:e,enumerable:!0}):o,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),S=require("./VueFlowUtils-CF-L3pYu.cjs"),z=require("./FlowYamlUtils-CB_0RSKT.cjs"),t=require("vue"),ne=require("@vue-flow/core"),Qt=require("@vue-flow/controls"),en=require("moment"),dr=require("@popperjs/core"),fr={lineWidth:0},Kn=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],mr={stringify:z.stringify,parse:z.parse,pairsToMap:z.pairsToMap,extractTask(e,n){for(const o of Kn){const l=z.extractBlock({source:e,section:o,key:n});if(l)return l}},_extractTask(e,n,o){function l(r){if(r){if(r instanceof Ge.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 Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(r instanceof Ge.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 Ge.Document(a):new Ge.Document(a)},replaceTaskInDocument(e,n,o,l="tasks",a="id"){return z.replaceBlockInDocument({source:e,section:l,keyName:a,key:n,newContent:o})},sort:z.sort,getAllCharts:z.getAllCharts,getChartAtPosition:z.getChartAtPosition,localizeElementAtIndex:z.localizeElementAtIndex,getTaskType:z.getTypeAtPosition,swapTasks(e,n,o){const l=Ge.parseDocument(e),a=this._extractTask(l,n),r=this._extractTask(l,o);return Ge.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(fr)},insertTask(e,n,o,l,a){return z.insertBlock({source:e,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:a})},insertSection(e,n,o){return z.insertBlock({source:n,section:e,newBlock:o})},insertErrorInFlowable:z.insertErrorInFlowable,deleteSection(e,n,o){return z.deleteBlock({source:e,section:n,key:o})},deleteTask(e,n,o){return(o===S.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((a,r)=>z.deleteBlock({source:a,section:r,key:n}),e)},getLastTask(e,n){return z.getLastBlock({source:e,section:"tasks",parentKey:n})},checkTaskAlreadyExist(e,n){return z.checkBlockAlreadyExists({source:e,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(e,n,o){return z.isParentChildrenRelation({source:e,sections:Kn,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:z.replaceIdAndNamespace,updateMetadata:z.updateMetadata,cleanMetadata:z.cleanMetadata,getMetadata:z.getMetadata,deleteMetadata:z.deleteMetadata,flowHaveTasks:z.flowHaveTasks,extractPluginDefault:z.extractPluginDefault,replacePluginDefaultsInDocument:z.replacePluginDefaultsInDocument,deletePluginDefaults:z.deletePluginDefaults,extractFieldFromMaps:z.extractFieldFromMaps,getVersionAtPosition:z.getVersionAtPosition},Ce=e=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(e)};var pr=S.requireMapValues();const kt=z.getDefaultExportFromCjs(pr),P=(e,n)=>{const o=e.__vccOpts||e;for(const[l,a]of n)o[l]=a;return o},gr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hr=["aria-hidden","aria-label"],Er=["fill","width","height"],_r={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"},yr={key:0};function kr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",_r,[o.title?(t.openBlock(),t.createElementBlock("title",yr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Er))],16,hr)}const Yn=P(gr,[["render",kr]]),Cr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vr=["aria-hidden","aria-label"],Nr=["fill","width","height"],Sr={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"},br={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:"true","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",Sr,[o.title?(t.openBlock(),t.createElementBlock("title",br,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Nr))],16,vr)}const Lr=P(Cr,[["render",wr]]),Tr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ar=["aria-hidden","aria-label"],Ir=["fill","width","height"],Vr={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"},Or={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:"true","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",Vr,[o.title?(t.openBlock(),t.createElementBlock("title",Or,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ir))],16,Ar)}const Dr=P(Tr,[["render",Br]]),Pr={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$r=["aria-hidden","aria-label"],Rr=["fill","width","height"],Mr={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"},xr={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:"true","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",Mr,[o.title?(t.openBlock(),t.createElementBlock("title",xr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Rr))],16,$r)}const an=P(Pr,[["render",Fr]]),Ur={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hr=["aria-hidden","aria-label"],zr=["fill","width","height"],Gr={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"},Wr={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:"true","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",Gr,[o.title?(t.openBlock(),t.createElementBlock("title",Wr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,zr))],16,Hr)}const Kr=P(Ur,[["render",jr]]),Yr={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qr=["aria-hidden","aria-label"],Xr=["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"},Jr={key:0};function Qr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Jr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xr))],16,qr)}const ea=P(Yr,[["render",Qr]]),ta={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},na=["aria-hidden","aria-label"],oa=["fill","width","height"],la={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"},ra={key:0};function aa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",la,[o.title?(t.openBlock(),t.createElementBlock("title",ra,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,oa))],16,na)}const At=P(ta,[["render",aa]]),ia={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},sa=["aria-hidden","aria-label"],ca=["fill","width","height"],ua={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"},da={key:0};function fa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ua,[o.title?(t.openBlock(),t.createElementBlock("title",da,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ca))],16,sa)}const ma=P(ia,[["render",fa]]),pa={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ga=["aria-hidden","aria-label"],ha=["fill","width","height"],Ea={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"},_a={key:0};function ya(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Ea,[o.title?(t.openBlock(),t.createElementBlock("title",_a,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ha))],16,ga)}const ka=P(pa,[["render",ya]]),Ca={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},va=["aria-hidden","aria-label"],Na=["fill","width","height"],Sa={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"},ba={key:0};function wa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Sa,[o.title?(t.openBlock(),t.createElementBlock("title",ba,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Na))],16,va)}const qn=P(Ca,[["render",wa]]),La={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ta=["aria-hidden","aria-label"],Aa=["fill","width","height"],Ia={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"},Va={key:0};function Oa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Ia,[o.title?(t.openBlock(),t.createElementBlock("title",Va,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Aa))],16,Ta)}const Xn=P(La,[["render",Oa]]),H=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:ma,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:ea,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:Lr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:Dr,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:an,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:Kr,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:At,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:an,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:Yn,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:Xn,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:Xn,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:ka,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:qn,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:qn,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:Yn,isRunning:!1,isKillable:!1,isFailed:!1}});class te{static get CREATED(){return H.CREATED.name}static get RESTARTED(){return H.RESTARTED.name}static get SUCCESS(){return H.SUCCESS.name}static get RUNNING(){return H.RUNNING.name}static get KILLING(){return H.KILLING.name}static get KILLED(){return H.KILLED.name}static get FAILED(){return H.FAILED.name}static get WARNING(){return H.WARNING.name}static get PAUSED(){return H.PAUSED.name}static get CANCELLED(){return H.CANCELLED.name}static get SKIPPED(){return H.SKIPPED.name}static get QUEUED(){return H.QUEUED.name}static get RETRYING(){return H.RETRYING.name}static get RETRIED(){return H.RETRIED.name}static get BREAKPOINT(){return H.BREAKPOINT.name}static isRunning(n){return H[n]&&H[n].isRunning}static isKillable(n){return H[n]&&H[n].isKillable}static isPaused(n){return H[n]&&H[n]===H.PAUSED}static isFailed(n){return H[n]&&H[n].isFailed}static isQueued(n){return H[n]&&H[n]===H.QUEUED}static allStates(){return kt(H,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(H)}static colorClass(){return kt(H,n=>n.colorClass)}static color(){return kt(H,n=>Ce("--bs-"+n.colorClass))}static getStateColor(n){return H[n].color}static icon(){return kt(H,n=>n.icon)}static getTerminatedStates(){return Object.values(H).filter(n=>!n.isRunning).map(n=>n.name)}}let Ct;async function Ba(){if(Ct)return Ct;const e=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return Ct=await(e.default??e)(),Ct}var Lt={exports:{}},Da=Lt.exports,Zn;function Pa(){return Zn||(Zn=1,(function(e,n){(function(o,l,a){e.exports=a(),e.exports.default=a()})("slugify",Da,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,f=r.normalize().split("").reduce(function(h,g){var y=s[g];return y===void 0&&(y=o[g]),y===void 0&&(y=g),y===c&&(y=" "),h+y.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(f=f.replace(/[^A-Za-z0-9\s]/g,"")),u&&(f=f.trim()),f=f.replace(/\s+/g,c),i.lower&&(f=f.toLowerCase()),f}return a.extend=function(r){Object.assign(o,r)},a})})(Lt)),Lt.exports}var $a=Pa();const Uo=z.getDefaultExportFromCjs($a);Uo.extend({"(":"-",")":""});function We(e){return Uo(e,{lower:!0,locale:"en"})}function Ho(e,n){return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(e)&&(n.length===0||n[0]?.cls!==void 0)}function et(e){const n=e.title.replace(/\.([a-zA-Z])/g,(o,l)=>` ${l.toUpperCase()}`);return n.charAt(0).toUpperCase()+n.slice(1)}const Ra={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ma=["aria-hidden","aria-label"],xa=["fill","width","height"],Fa={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"},Ua={key:0};function Ha(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Fa,[o.title?(t.openBlock(),t.createElementBlock("title",Ua,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,xa))],16,Ma)}const za=P(Ra,[["render",Ha]]),Ga=t.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(e){return(n,o)=>(t.openBlock(),t.createBlock(za,{class:"loading-dots-circle",alt:n.alt},null,8,["alt"]))}}),zo=P(Ga,[["__scopeId","data-v-a7ad4137"]]);/*!
1
+ "use strict";var lr=Object.create;var jn=Object.defineProperty;var rr=Object.getOwnPropertyDescriptor;var ar=Object.getOwnPropertyNames;var ir=Object.getPrototypeOf,sr=Object.prototype.hasOwnProperty;var cr=(e,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of ar(n))!sr.call(e,a)&&a!==o&&jn(e,a,{get:()=>n[a],enumerable:!(l=rr(n,a))||l.enumerable});return e};var ur=(e,n,o)=>(o=e!=null?lr(ir(e)):{},cr(n||!e||!e.__esModule?jn(o,"default",{value:e,enumerable:!0}):o,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),S=require("./VueFlowUtils-CF-L3pYu.cjs"),z=require("./FlowYamlUtils-CB_0RSKT.cjs"),t=require("vue"),ne=require("@vue-flow/core"),Qt=require("@vue-flow/controls"),en=require("moment"),dr=require("@popperjs/core"),fr={lineWidth:0},Kn=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],mr={stringify:z.stringify,parse:z.parse,pairsToMap:z.pairsToMap,extractTask(e,n){for(const o of Kn){const l=z.extractBlock({source:e,section:o,key:n});if(l)return l}},_extractTask(e,n,o){function l(r){if(r){if(r instanceof Ge.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 Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(r instanceof Ge.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 Ge.Document(a):new Ge.Document(a)},replaceTaskInDocument(e,n,o,l="tasks",a="id"){return z.replaceBlockInDocument({source:e,section:l,keyName:a,key:n,newContent:o})},sort:z.sort,getAllCharts:z.getAllCharts,getChartAtPosition:z.getChartAtPosition,localizeElementAtIndex:z.localizeElementAtIndex,getTaskType:z.getTypeAtPosition,swapTasks(e,n,o){const l=Ge.parseDocument(e),a=this._extractTask(l,n),r=this._extractTask(l,o);return Ge.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(fr)},insertTask(e,n,o,l,a){return z.insertBlock({source:e,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:a})},insertSection(e,n,o){return z.insertBlock({source:n,section:e,newBlock:o})},insertErrorInFlowable:z.insertErrorInFlowable,deleteSection(e,n,o){return z.deleteBlock({source:e,section:n,key:o})},deleteTask(e,n,o){return(o===S.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((a,r)=>z.deleteBlock({source:a,section:r,key:n}),e)},getLastTask(e,n){return z.getLastBlock({source:e,section:"tasks",parentKey:n})},checkTaskAlreadyExist(e,n){return z.checkBlockAlreadyExists({source:e,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(e,n,o){return z.isParentChildrenRelation({source:e,sections:Kn,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:z.replaceIdAndNamespace,updateMetadata:z.updateMetadata,cleanMetadata:z.cleanMetadata,getMetadata:z.getMetadata,deleteMetadata:z.deleteMetadata,flowHaveTasks:z.flowHaveTasks,extractPluginDefault:z.extractPluginDefault,replacePluginDefaultsInDocument:z.replacePluginDefaultsInDocument,deletePluginDefaults:z.deletePluginDefaults,extractFieldFromMaps:z.extractFieldFromMaps,getVersionAtPosition:z.getVersionAtPosition},Ce=e=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(e)};var pr=S.requireMapValues();const kt=z.getDefaultExportFromCjs(pr),D=(e,n)=>{const o=e.__vccOpts||e;for(const[l,a]of n)o[l]=a;return o},gr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},hr=["aria-hidden","aria-label"],Er=["fill","width","height"],_r={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"},yr={key:0};function kr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",_r,[o.title?(t.openBlock(),t.createElementBlock("title",yr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Er))],16,hr)}const Yn=D(gr,[["render",kr]]),Cr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},vr=["aria-hidden","aria-label"],Nr=["fill","width","height"],Sr={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"},br={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:"true","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",Sr,[o.title?(t.openBlock(),t.createElementBlock("title",br,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Nr))],16,vr)}const Lr=D(Cr,[["render",wr]]),Tr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ar=["aria-hidden","aria-label"],Ir=["fill","width","height"],Vr={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"},Br={key:0};function Or(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Vr,[o.title?(t.openBlock(),t.createElementBlock("title",Br,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ir))],16,Ar)}const Dr=D(Tr,[["render",Or]]),Pr={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},$r=["aria-hidden","aria-label"],Rr=["fill","width","height"],Mr={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"},xr={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:"true","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",Mr,[o.title?(t.openBlock(),t.createElementBlock("title",xr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Rr))],16,$r)}const an=D(Pr,[["render",Fr]]),Ur={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hr=["aria-hidden","aria-label"],zr=["fill","width","height"],Gr={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"},Wr={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:"true","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",Gr,[o.title?(t.openBlock(),t.createElementBlock("title",Wr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,zr))],16,Hr)}const Kr=D(Ur,[["render",jr]]),Yr={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},qr=["aria-hidden","aria-label"],Xr=["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"},Jr={key:0};function Qr(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Jr,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Xr))],16,qr)}const ea=D(Yr,[["render",Qr]]),ta={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},na=["aria-hidden","aria-label"],oa=["fill","width","height"],la={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"},ra={key:0};function aa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",la,[o.title?(t.openBlock(),t.createElementBlock("title",ra,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,oa))],16,na)}const At=D(ta,[["render",aa]]),ia={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},sa=["aria-hidden","aria-label"],ca=["fill","width","height"],ua={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"},da={key:0};function fa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ua,[o.title?(t.openBlock(),t.createElementBlock("title",da,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ca))],16,sa)}const ma=D(ia,[["render",fa]]),pa={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ga=["aria-hidden","aria-label"],ha=["fill","width","height"],Ea={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"},_a={key:0};function ya(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Ea,[o.title?(t.openBlock(),t.createElementBlock("title",_a,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ha))],16,ga)}const ka=D(pa,[["render",ya]]),Ca={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},va=["aria-hidden","aria-label"],Na=["fill","width","height"],Sa={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"},ba={key:0};function wa(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Sa,[o.title?(t.openBlock(),t.createElementBlock("title",ba,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Na))],16,va)}const qn=D(Ca,[["render",wa]]),La={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ta=["aria-hidden","aria-label"],Aa=["fill","width","height"],Ia={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"},Va={key:0};function Ba(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Ia,[o.title?(t.openBlock(),t.createElementBlock("title",Va,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Aa))],16,Ta)}const Xn=D(La,[["render",Ba]]),Oa=["ERROR","WARN","INFO","DEBUG","TRACE"],H=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:ma,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:ea,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:Lr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:Dr,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:an,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:Kr,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:At,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:an,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:Yn,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:Xn,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:Xn,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:ka,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:qn,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:qn,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:Yn,isRunning:!1,isKillable:!1,isFailed:!1}});class te{static get CREATED(){return H.CREATED.name}static get RESTARTED(){return H.RESTARTED.name}static get SUCCESS(){return H.SUCCESS.name}static get RUNNING(){return H.RUNNING.name}static get KILLING(){return H.KILLING.name}static get KILLED(){return H.KILLED.name}static get FAILED(){return H.FAILED.name}static get WARNING(){return H.WARNING.name}static get PAUSED(){return H.PAUSED.name}static get CANCELLED(){return H.CANCELLED.name}static get SKIPPED(){return H.SKIPPED.name}static get QUEUED(){return H.QUEUED.name}static get RETRYING(){return H.RETRYING.name}static get RETRIED(){return H.RETRIED.name}static get BREAKPOINT(){return H.BREAKPOINT.name}static isRunning(n){return H[n]&&H[n].isRunning}static isKillable(n){return H[n]&&H[n].isKillable}static isPaused(n){return H[n]&&H[n]===H.PAUSED}static isFailed(n){return H[n]&&H[n].isFailed}static isQueued(n){return H[n]&&H[n]===H.QUEUED}static allStates(){return kt(H,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(H)}static colorClass(){return kt(H,n=>n.colorClass)}static color(){return kt(H,n=>Ce("--bs-"+n.colorClass))}static getStateColor(n){return H[n].color}static icon(){return kt(H,n=>n.icon)}static getTerminatedStates(){return Object.values(H).filter(n=>!n.isRunning).map(n=>n.name)}}let Ct;async function Da(){if(Ct)return Ct;const e=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return Ct=await(e.default??e)(),Ct}var Lt={exports:{}},Pa=Lt.exports,Zn;function $a(){return Zn||(Zn=1,(function(e,n){(function(o,l,a){e.exports=a(),e.exports.default=a()})("slugify",Pa,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,f=r.normalize().split("").reduce(function(h,g){var y=s[g];return y===void 0&&(y=o[g]),y===void 0&&(y=g),y===c&&(y=" "),h+y.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(f=f.replace(/[^A-Za-z0-9\s]/g,"")),u&&(f=f.trim()),f=f.replace(/\s+/g,c),i.lower&&(f=f.toLowerCase()),f}return a.extend=function(r){Object.assign(o,r)},a})})(Lt)),Lt.exports}var Ra=$a();const Uo=z.getDefaultExportFromCjs(Ra);Uo.extend({"(":"-",")":""});function We(e){return Uo(e,{lower:!0,locale:"en"})}function Ho(e,n){return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(e)&&(n.length===0||n[0]?.cls!==void 0)}function et(e){const n=e.title.replace(/\.([a-zA-Z])/g,(o,l)=>` ${l.toUpperCase()}`);return n.charAt(0).toUpperCase()+n.slice(1)}const Ma={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},xa=["aria-hidden","aria-label"],Fa=["fill","width","height"],Ua={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"},Ha={key:0};function za(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Ua,[o.title?(t.openBlock(),t.createElementBlock("title",Ha,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Fa))],16,xa)}const Ga=D(Ma,[["render",za]]),Wa=t.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(e){return(n,o)=>(t.openBlock(),t.createBlock(Ga,{class:"loading-dots-circle",alt:n.alt},null,8,["alt"]))}}),zo=D(Wa,[["__scopeId","data-v-a7ad4137"]]);/*!
2
2
  * shared v11.1.12
3
3
  * (c) 2025 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */function Ae(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const Jn={};function Wa(e){Jn[e]||(Jn[e]=!0,Ae(e))}const De=typeof window<"u";let ve,Ke;if(process.env.NODE_ENV!=="production"){const e=De&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ve=n=>{e.mark(n)},Ke=(n,o,l)=>{e.measure(n,o,l),e.clearMarks(o),e.clearMarks(l)})}const ja=/\{([0-9a-zA-Z]+)\}/g;function Mt(e,...n){return n.length===1&&K(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(ja,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Pe=(e,n=!1)=>n?Symbol.for(e):Symbol(e),Ka=(e,n,o)=>Ya({l:e,k:n,s:o}),Ya=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=e=>typeof e=="number"&&isFinite(e),qa=e=>bn(e)==="[object Date]",It=e=>bn(e)==="[object RegExp]",xt=e=>j(e)&&Object.keys(e).length===0,ue=Object.assign,Xa=Object.create,X=(e=null)=>Xa(e);let Qn;const je=()=>Qn||(Qn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:X());function eo(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function to(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Za(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,a,r)=>`${a}="${to(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,a,r)=>`${a}='${to(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!=="production"&&Ae("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(l=>{e=e.replace(l,"$1javascript&#58;")}),e}const Ja=Object.prototype.hasOwnProperty;function Se(e,n){return Ja.call(e,n)}const ie=Array.isArray,ee=e=>typeof e=="function",B=e=>typeof e=="string",ae=e=>typeof e=="boolean",K=e=>e!==null&&typeof e=="object",Qa=e=>K(e)&&ee(e.then)&&ee(e.catch),Go=Object.prototype.toString,bn=e=>Go.call(e),j=e=>bn(e)==="[object Object]",ei=e=>e==null?"":ie(e)||j(e)&&e.toString===Go?JSON.stringify(e,null,2):String(e);function wn(e,n=""){return e.reduce((o,l,a)=>a===0?o+l:o+n+l,"")}const no=2;function ti(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-no;s<=i+no||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 f=n-(a-u)+1,h=Math.max(1,o>a?u-f:o-n);r.push(" | "+" ".repeat(f)+"^".repeat(h))}else if(s>i){if(o>a){const f=Math.max(Math.min(o-a,u),1);r.push(" | "+"^".repeat(f))}a+=u+1}}break}return r.join(`
6
- `)}function ni(){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 vt=e=>!K(e)||ie(e);function Tt(e,n){if(vt(e)||vt(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__"&&(K(l[r])&&!K(a[r])&&(a[r]=Array.isArray(l[r])?[]:X()),vt(a[r])||vt(l[r])?a[r]=l[r]:o.push({src:l[r],des:a[r]}))})}}/*!
5
+ */function Ae(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const Jn={};function ja(e){Jn[e]||(Jn[e]=!0,Ae(e))}const De=typeof window<"u";let ve,Ke;if(process.env.NODE_ENV!=="production"){const e=De&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ve=n=>{e.mark(n)},Ke=(n,o,l)=>{e.measure(n,o,l),e.clearMarks(o),e.clearMarks(l)})}const Ka=/\{([0-9a-zA-Z]+)\}/g;function Mt(e,...n){return n.length===1&&K(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(Ka,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Pe=(e,n=!1)=>n?Symbol.for(e):Symbol(e),Ya=(e,n,o)=>qa({l:e,k:n,s:o}),qa=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=e=>typeof e=="number"&&isFinite(e),Xa=e=>bn(e)==="[object Date]",It=e=>bn(e)==="[object RegExp]",xt=e=>j(e)&&Object.keys(e).length===0,ue=Object.assign,Za=Object.create,X=(e=null)=>Za(e);let Qn;const je=()=>Qn||(Qn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:X());function eo(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function to(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ja(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,a,r)=>`${a}="${to(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,a,r)=>`${a}='${to(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!=="production"&&Ae("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(l=>{e=e.replace(l,"$1javascript&#58;")}),e}const Qa=Object.prototype.hasOwnProperty;function Se(e,n){return Qa.call(e,n)}const ie=Array.isArray,ee=e=>typeof e=="function",O=e=>typeof e=="string",ae=e=>typeof e=="boolean",K=e=>e!==null&&typeof e=="object",ei=e=>K(e)&&ee(e.then)&&ee(e.catch),Go=Object.prototype.toString,bn=e=>Go.call(e),j=e=>bn(e)==="[object Object]",ti=e=>e==null?"":ie(e)||j(e)&&e.toString===Go?JSON.stringify(e,null,2):String(e);function wn(e,n=""){return e.reduce((o,l,a)=>a===0?o+l:o+n+l,"")}const no=2;function ni(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-no;s<=i+no||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 f=n-(a-u)+1,h=Math.max(1,o>a?u-f:o-n);r.push(" | "+" ".repeat(f)+"^".repeat(h))}else if(s>i){if(o>a){const f=Math.max(Math.min(o-a,u),1);r.push(" | "+"^".repeat(f))}a+=u+1}}break}return r.join(`
6
+ `)}function oi(){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 vt=e=>!K(e)||ie(e);function Tt(e,n){if(vt(e)||vt(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__"&&(K(l[r])&&!K(a[r])&&(a[r]=Array.isArray(l[r])?[]:X()),vt(a[r])||vt(l[r])?a[r]=l[r]:o.push({src:l[r],des:a[r]}))})}}/*!
7
7
  * message-compiler v11.1.12
8
8
  * (c) 2025 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function oi(e,n,o){return{line:e,column:n,offset:o}}function sn(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},li=17,ri={[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 lt(e,n,o={}){const{domain:l,messages:a,args:r}=o,i=process.env.NODE_ENV!=="production"?Mt((a||ri)[e]||"",...r||[]):e,s=new SyntaxError(String(i));return s.code=e,n&&(s.location=n),s.domain=l,s}function ai(e){throw e}const ii=/<\/?[\w\s="/.':;#-\/]+>/,si=e=>ii.test(e),we=" ",ci="\r",me=`
11
- `,ui="\u2028",di="\u2029";function fi(e){const n=e;let o=0,l=1,a=1,r=0;const i=w=>n[w]===ci&&n[w+1]===me,s=w=>n[w]===me,c=w=>n[w]===di,u=w=>n[w]===ui,f=w=>i(w)||s(w)||c(w)||u(w),h=()=>o,g=()=>l,y=()=>a,k=()=>r,v=w=>i(w)||c(w)||u(w)?me:n[w],E=()=>v(o),m=()=>v(o+r);function _(){return r=0,f(o)&&(l++,a=0),i(o)&&o++,o++,a++,n[o]}function L(){return i(o+r)&&r++,r++,n[o+r]}function N(){o=0,l=1,a=1,r=0}function V(w=0){r=w}function O(){const w=o+r;for(;w!==o;)_();r=0}return{index:h,line:g,column:y,peekOffset:k,charAt:v,currentChar:E,currentPeek:m,next:_,peek:L,reset:N,resetPeek:V,skipToPeek:O}}const Ve=void 0,mi=".",oo="'",pi="tokenizer";function gi(e,n={}){const o=n.location!==!1,l=fi(e),a=()=>l.index(),r=()=>oi(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:f}=n;function h(d,p,b,...D){const Q=u();if(p.column+=b,p.offset+=b,f){const le=o?sn(Q.startLoc,p):null,W=lt(d,le,{domain:pi,args:D});f(W)}}function g(d,p,b){d.endLoc=r(),d.currentType=p;const D={type:p};return o&&(D.loc=sn(d.startLoc,d.endLoc)),b!=null&&(D.value=b),D}const y=d=>g(d,13);function k(d,p){return d.currentChar()===p?(d.next(),p):(h(M.EXPECTED_TOKEN,r(),0,p),"")}function v(d){let p="";for(;d.currentPeek()===we||d.currentPeek()===me;)p+=d.currentPeek(),d.peek();return p}function E(d){const p=v(d);return d.skipToPeek(),p}function m(d){if(d===Ve)return!1;const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function _(d){if(d===Ve)return!1;const p=d.charCodeAt(0);return p>=48&&p<=57}function L(d,p){const{currentType:b}=p;if(b!==2)return!1;v(d);const D=m(d.currentPeek());return d.resetPeek(),D}function N(d,p){const{currentType:b}=p;if(b!==2)return!1;v(d);const D=d.currentPeek()==="-"?d.peek():d.currentPeek(),Q=_(D);return d.resetPeek(),Q}function V(d,p){const{currentType:b}=p;if(b!==2)return!1;v(d);const D=d.currentPeek()===oo;return d.resetPeek(),D}function O(d,p){const{currentType:b}=p;if(b!==7)return!1;v(d);const D=d.currentPeek()===".";return d.resetPeek(),D}function w(d,p){const{currentType:b}=p;if(b!==8)return!1;v(d);const D=m(d.currentPeek());return d.resetPeek(),D}function F(d,p){const{currentType:b}=p;if(!(b===7||b===11))return!1;v(d);const D=d.currentPeek()===":";return d.resetPeek(),D}function G(d,p){const{currentType:b}=p;if(b!==9)return!1;const D=()=>{const le=d.currentPeek();return le==="{"?m(d.peek()):le==="@"||le==="|"||le===":"||le==="."||le===we||!le?!1:le===me?(d.peek(),D()):ge(d,!1)},Q=D();return d.resetPeek(),Q}function oe(d){v(d);const p=d.currentPeek()==="|";return d.resetPeek(),p}function ge(d,p=!0){const b=(Q=!1,le="")=>{const W=d.currentPeek();return W==="{"||W==="@"||!W?Q:W==="|"?!(le===we||le===me):W===we?(d.peek(),b(!0,we)):W===me?(d.peek(),b(!0,me)):!0},D=b();return p&&d.resetPeek(),D}function Z(d,p){const b=d.currentChar();return b===Ve?Ve:p(b)?(d.next(),b):null}function $e(d){const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function Xe(d){return Z(d,$e)}function $(d){const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function I(d){return Z(d,$)}function U(d){const p=d.charCodeAt(0);return p>=48&&p<=57}function R(d){return Z(d,U)}function Ie(d){const p=d.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function fe(d){return Z(d,Ie)}function Fe(d){let p="",b="";for(;p=R(d);)b+=p;return b}function Gt(d){let p="";for(;;){const b=d.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b===we||b===me)if(ge(d))p+=b,d.next();else{if(oe(d))break;p+=b,d.next()}else p+=b,d.next()}return p}function Wt(d){E(d);let p="",b="";for(;p=I(d);)b+=p;const D=d.currentChar();if(D&&D!=="}"&&D!==Ve&&D!==we&&D!==me&&D!==" "){const Q=_t(d);return h(M.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,b+Q),b+Q}return d.currentChar()===Ve&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),b}function jt(d){E(d);let p="";return d.currentChar()==="-"?(d.next(),p+=`-${Fe(d)}`):p+=Fe(d),d.currentChar()===Ve&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),p}function Kt(d){return d!==oo&&d!==me}function Gn(d){E(d),k(d,"'");let p="",b="";for(;p=Z(d,Kt);)p==="\\"?b+=Yt(d):b+=p;const D=d.currentChar();return D===me||D===Ve?(h(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),D===me&&(d.next(),k(d,"'")),b):(k(d,"'"),b)}function Yt(d){const p=d.currentChar();switch(p){case"\\":case"'":return d.next(),`\\${p}`;case"u":return Et(d,p,4);case"U":return Et(d,p,6);default:return h(M.UNKNOWN_ESCAPE_SEQUENCE,r(),0,p),""}}function Et(d,p,b){k(d,p);let D="";for(let Q=0;Q<b;Q++){const le=fe(d);if(!le){h(M.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${p}${D}${d.currentChar()}`);break}D+=le}return`\\${p}${D}`}function qt(d){return d!=="{"&&d!=="}"&&d!==we&&d!==me}function _t(d){E(d);let p="",b="";for(;p=Z(d,qt);)b+=p;return b}function Xt(d){let p="",b="";for(;p=Xe(d);)b+=p;return b}function Zt(d){const p=b=>{const D=d.currentChar();return D==="{"||D==="@"||D==="|"||D==="("||D===")"||!D||D===we?b:(b+=D,d.next(),p(b))};return p("")}function at(d){E(d);const p=k(d,"|");return E(d),p}function it(d,p){let b=null;switch(d.currentChar()){case"{":return p.braceNest>=1&&h(M.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),d.next(),b=g(p,2,"{"),E(d),p.braceNest++,b;case"}":return p.braceNest>0&&p.currentType===2&&h(M.EMPTY_PLACEHOLDER,r(),0),d.next(),b=g(p,3,"}"),p.braceNest--,p.braceNest>0&&E(d),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),b;case"@":return p.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),b=Ue(d,p)||y(p),p.braceNest=0,b;default:{let Q=!0,le=!0,W=!0;if(oe(d))return p.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),b=g(p,1,at(d)),p.braceNest=0,p.inLinked=!1,b;if(p.braceNest>0&&(p.currentType===4||p.currentType===5||p.currentType===6))return h(M.UNTERMINATED_CLOSING_BRACE,r(),0),p.braceNest=0,st(d,p);if(Q=L(d,p))return b=g(p,4,Wt(d)),E(d),b;if(le=N(d,p))return b=g(p,5,jt(d)),E(d),b;if(W=V(d,p))return b=g(p,6,Gn(d)),E(d),b;if(!Q&&!le&&!W)return b=g(p,12,_t(d)),h(M.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,b.value),E(d),b;break}}return b}function Ue(d,p){const{currentType:b}=p;let D=null;const Q=d.currentChar();switch((b===7||b===8||b===11||b===9)&&(Q===me||Q===we)&&h(M.INVALID_LINKED_FORMAT,r(),0),Q){case"@":return d.next(),D=g(p,7,"@"),p.inLinked=!0,D;case".":return E(d),d.next(),g(p,8,".");case":":return E(d),d.next(),g(p,9,":");default:return oe(d)?(D=g(p,1,at(d)),p.braceNest=0,p.inLinked=!1,D):O(d,p)||F(d,p)?(E(d),Ue(d,p)):w(d,p)?(E(d),g(p,11,Xt(d))):G(d,p)?(E(d),Q==="{"?it(d,p)||D:g(p,10,Zt(d))):(b===7&&h(M.INVALID_LINKED_FORMAT,r(),0),p.braceNest=0,p.inLinked=!1,st(d,p))}}function st(d,p){let b={type:13};if(p.braceNest>0)return it(d,p)||y(p);if(p.inLinked)return Ue(d,p)||y(p);switch(d.currentChar()){case"{":return it(d,p)||y(p);case"}":return h(M.UNBALANCED_CLOSING_BRACE,r(),0),d.next(),g(p,3,"}");case"@":return Ue(d,p)||y(p);default:{if(oe(d))return b=g(p,1,at(d)),p.braceNest=0,p.inLinked=!1,b;if(ge(d))return g(p,0,Gt(d));break}}return b}function Jt(){const{currentType:d,offset:p,startLoc:b,endLoc:D}=c;return c.lastType=d,c.lastOffset=p,c.lastStartLoc=b,c.lastEndLoc=D,c.offset=a(),c.startLoc=r(),l.currentChar()===Ve?g(c,13):st(l,c)}return{nextToken:Jt,currentOffset:a,currentPosition:r,context:u}}const hi="parser",Ei=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function _i(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 yi(e={}){const n=e.location!==!1,{onError:o}=e;function l(m,_,L,N,...V){const O=m.currentPosition();if(O.offset+=N,O.column+=N,o){const w=n?sn(L,O):null,F=lt(_,w,{domain:hi,args:V});o(F)}}function a(m,_,L){const N={type:m};return n&&(N.start=_,N.end=_,N.loc={start:L,end:L}),N}function r(m,_,L,N){n&&(m.end=_,m.loc&&(m.loc.end=L))}function i(m,_){const L=m.context(),N=a(3,L.offset,L.startLoc);return N.value=_,r(N,m.currentOffset(),m.currentPosition()),N}function s(m,_){const L=m.context(),{lastOffset:N,lastStartLoc:V}=L,O=a(5,N,V);return O.index=parseInt(_,10),m.nextToken(),r(O,m.currentOffset(),m.currentPosition()),O}function c(m,_){const L=m.context(),{lastOffset:N,lastStartLoc:V}=L,O=a(4,N,V);return O.key=_,m.nextToken(),r(O,m.currentOffset(),m.currentPosition()),O}function u(m,_){const L=m.context(),{lastOffset:N,lastStartLoc:V}=L,O=a(9,N,V);return O.value=_.replace(Ei,_i),m.nextToken(),r(O,m.currentOffset(),m.currentPosition()),O}function f(m){const _=m.nextToken(),L=m.context(),{lastOffset:N,lastStartLoc:V}=L,O=a(8,N,V);return _.type!==11?(l(m,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.lastStartLoc,0),O.value="",r(O,N,V),{nextConsumeToken:_,node:O}):(_.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,Le(_)),O.value=_.value||"",r(O,m.currentOffset(),m.currentPosition()),{node:O})}function h(m,_){const L=m.context(),N=a(7,L.offset,L.startLoc);return N.value=_,r(N,m.currentOffset(),m.currentPosition()),N}function g(m){const _=m.context(),L=a(6,_.offset,_.startLoc);let N=m.nextToken();if(N.type===8){const V=f(m);L.modifier=V.node,N=V.nextConsumeToken||m.nextToken()}switch(N.type!==9&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),N=m.nextToken(),N.type===2&&(N=m.nextToken()),N.type){case 10:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=h(m,N.value||"");break;case 4:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=c(m,N.value||"");break;case 5:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=s(m,N.value||"");break;case 6:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=u(m,N.value||"");break;default:{l(m,M.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const V=m.context(),O=a(7,V.offset,V.startLoc);return O.value="",r(O,V.offset,V.startLoc),L.key=O,r(L,V.offset,V.startLoc),{nextConsumeToken:N,node:L}}}return r(L,m.currentOffset(),m.currentPosition()),{node:L}}function y(m){const _=m.context(),L=_.currentType===1?m.currentOffset():_.offset,N=_.currentType===1?_.endLoc:_.startLoc,V=a(2,L,N);V.items=[];let O=null;do{const G=O||m.nextToken();switch(O=null,G.type){case 0:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(i(m,G.value||""));break;case 5:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(s(m,G.value||""));break;case 4:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(c(m,G.value||""));break;case 6:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(u(m,G.value||""));break;case 7:{const oe=g(m);V.items.push(oe.node),O=oe.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const w=_.currentType===1?_.lastOffset:m.currentOffset(),F=_.currentType===1?_.lastEndLoc:m.currentPosition();return r(V,w,F),V}function k(m,_,L,N){const V=m.context();let O=N.items.length===0;const w=a(1,_,L);w.cases=[],w.cases.push(N);do{const F=y(m);O||(O=F.items.length===0),w.cases.push(F)}while(V.currentType!==13);return O&&l(m,M.MUST_HAVE_MESSAGES_IN_PLURAL,L,0),r(w,m.currentOffset(),m.currentPosition()),w}function v(m){const _=m.context(),{offset:L,startLoc:N}=_,V=y(m);return _.currentType===13?V:k(m,L,N,V)}function E(m){const _=gi(m,ue({},e)),L=_.context(),N=a(0,L.offset,L.startLoc);return n&&N.loc&&(N.loc.source=m),N.body=v(_),e.onCacheKey&&(N.cacheKey=e.onCacheKey(m)),L.currentType!==13&&l(_,M.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,m[L.offset]||""),r(N,_.currentOffset(),_.currentPosition()),N}return{parse:E}}function Le(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 ki(e,n={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function lo(e,n){for(let o=0;o<e.length;o++)Ln(e[o],n)}function Ln(e,n){switch(e.type){case 1:lo(e.cases,n),n.helper("plural");break;case 2:lo(e.items,n);break;case 6:{Ln(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 Ci(e,n={}){const o=ki(e);o.helper("normalize"),e.body&&Ln(e.body,o);const l=o.context();e.helpers=Array.from(l.helpers)}function vi(e){const n=e.body;return n.type===2?ro(n):n.cases.forEach(o=>ro(o)),e}function ro(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 Ni="minifier";function tt(e){switch(e.t=e.type,e.type){case 0:{const n=e;tt(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++)tt(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++)tt(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;tt(n.key),n.k=n.key,delete n.key,n.modifier&&(tt(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 lt(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Ni,args:[e.type]})}delete e.type}const Si="parser";function bi(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(v,E){i.code+=v}function u(v,E=!0){const m=E?l:"";c(a?m+" ".repeat(v):m)}function f(v=!0){const E=++i.indentLevel;v&&u(E)}function h(v=!0){const E=--i.indentLevel;v&&u(E)}function g(){u(i.indentLevel)}return{context:s,push:c,indent:f,deindent:h,newline:g,helper:v=>`_${v}`,needIndent:()=>i.needIndent}}function wi(e,n){const{helper:o}=e;e.push(`${o("linked")}(`),ot(e,n.key),n.modifier?(e.push(", "),ot(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Li(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&&(ot(e,n.items[r]),r!==a-1);r++)e.push(", ");e.deindent(l()),e.push("])")}function Ti(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&&(ot(e,n.cases[r]),r!==a-1);r++)e.push(", ");e.deindent(l()),e.push("])")}}function Ai(e,n){n.body?ot(e,n.body):e.push("null")}function ot(e,n){const{helper:o}=e;switch(n.type){case 0:Ai(e,n);break;case 1:Ti(e,n);break;case 2:Li(e,n);break;case 6:wi(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 lt(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Si,args:[n.type]})}}const Ii=(e,n={})=>{const o=B(n.mode)?n.mode:"normal",l=B(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=bi(e,{filename:l,breakLineCode:a,needIndent:r});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(r),i.length>0&&(s.push(`const { ${wn(i.map(f=>`${f}: _${f}`),", ")} } = ctx`),s.newline()),s.push("return "),ot(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=ue({},n),l=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,s=yi(o).parse(e);return l?(r&&vi(s),a&&tt(s),{ast:s,code:""}):(Ci(s,o),Ii(s,o))}/*!
10
+ */function li(e,n,o){return{line:e,column:n,offset:o}}function sn(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},ri=17,ai={[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 lt(e,n,o={}){const{domain:l,messages:a,args:r}=o,i=process.env.NODE_ENV!=="production"?Mt((a||ai)[e]||"",...r||[]):e,s=new SyntaxError(String(i));return s.code=e,n&&(s.location=n),s.domain=l,s}function ii(e){throw e}const si=/<\/?[\w\s="/.':;#-\/]+>/,ci=e=>si.test(e),we=" ",ui="\r",me=`
11
+ `,di="\u2028",fi="\u2029";function mi(e){const n=e;let o=0,l=1,a=1,r=0;const i=w=>n[w]===ui&&n[w+1]===me,s=w=>n[w]===me,c=w=>n[w]===fi,u=w=>n[w]===di,f=w=>i(w)||s(w)||c(w)||u(w),h=()=>o,g=()=>l,y=()=>a,k=()=>r,v=w=>i(w)||c(w)||u(w)?me:n[w],E=()=>v(o),m=()=>v(o+r);function _(){return r=0,f(o)&&(l++,a=0),i(o)&&o++,o++,a++,n[o]}function L(){return i(o+r)&&r++,r++,n[o+r]}function N(){o=0,l=1,a=1,r=0}function V(w=0){r=w}function B(){const w=o+r;for(;w!==o;)_();r=0}return{index:h,line:g,column:y,peekOffset:k,charAt:v,currentChar:E,currentPeek:m,next:_,peek:L,reset:N,resetPeek:V,skipToPeek:B}}const Ve=void 0,pi=".",oo="'",gi="tokenizer";function hi(e,n={}){const o=n.location!==!1,l=mi(e),a=()=>l.index(),r=()=>li(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:f}=n;function h(d,p,b,...P){const Q=u();if(p.column+=b,p.offset+=b,f){const le=o?sn(Q.startLoc,p):null,W=lt(d,le,{domain:gi,args:P});f(W)}}function g(d,p,b){d.endLoc=r(),d.currentType=p;const P={type:p};return o&&(P.loc=sn(d.startLoc,d.endLoc)),b!=null&&(P.value=b),P}const y=d=>g(d,13);function k(d,p){return d.currentChar()===p?(d.next(),p):(h(M.EXPECTED_TOKEN,r(),0,p),"")}function v(d){let p="";for(;d.currentPeek()===we||d.currentPeek()===me;)p+=d.currentPeek(),d.peek();return p}function E(d){const p=v(d);return d.skipToPeek(),p}function m(d){if(d===Ve)return!1;const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function _(d){if(d===Ve)return!1;const p=d.charCodeAt(0);return p>=48&&p<=57}function L(d,p){const{currentType:b}=p;if(b!==2)return!1;v(d);const P=m(d.currentPeek());return d.resetPeek(),P}function N(d,p){const{currentType:b}=p;if(b!==2)return!1;v(d);const P=d.currentPeek()==="-"?d.peek():d.currentPeek(),Q=_(P);return d.resetPeek(),Q}function V(d,p){const{currentType:b}=p;if(b!==2)return!1;v(d);const P=d.currentPeek()===oo;return d.resetPeek(),P}function B(d,p){const{currentType:b}=p;if(b!==7)return!1;v(d);const P=d.currentPeek()===".";return d.resetPeek(),P}function w(d,p){const{currentType:b}=p;if(b!==8)return!1;v(d);const P=m(d.currentPeek());return d.resetPeek(),P}function F(d,p){const{currentType:b}=p;if(!(b===7||b===11))return!1;v(d);const P=d.currentPeek()===":";return d.resetPeek(),P}function G(d,p){const{currentType:b}=p;if(b!==9)return!1;const P=()=>{const le=d.currentPeek();return le==="{"?m(d.peek()):le==="@"||le==="|"||le===":"||le==="."||le===we||!le?!1:le===me?(d.peek(),P()):ge(d,!1)},Q=P();return d.resetPeek(),Q}function oe(d){v(d);const p=d.currentPeek()==="|";return d.resetPeek(),p}function ge(d,p=!0){const b=(Q=!1,le="")=>{const W=d.currentPeek();return W==="{"||W==="@"||!W?Q:W==="|"?!(le===we||le===me):W===we?(d.peek(),b(!0,we)):W===me?(d.peek(),b(!0,me)):!0},P=b();return p&&d.resetPeek(),P}function Z(d,p){const b=d.currentChar();return b===Ve?Ve:p(b)?(d.next(),b):null}function $e(d){const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function Xe(d){return Z(d,$e)}function $(d){const p=d.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function I(d){return Z(d,$)}function U(d){const p=d.charCodeAt(0);return p>=48&&p<=57}function R(d){return Z(d,U)}function Ie(d){const p=d.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function fe(d){return Z(d,Ie)}function Fe(d){let p="",b="";for(;p=R(d);)b+=p;return b}function Gt(d){let p="";for(;;){const b=d.currentChar();if(b==="{"||b==="}"||b==="@"||b==="|"||!b)break;if(b===we||b===me)if(ge(d))p+=b,d.next();else{if(oe(d))break;p+=b,d.next()}else p+=b,d.next()}return p}function Wt(d){E(d);let p="",b="";for(;p=I(d);)b+=p;const P=d.currentChar();if(P&&P!=="}"&&P!==Ve&&P!==we&&P!==me&&P!==" "){const Q=_t(d);return h(M.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,b+Q),b+Q}return d.currentChar()===Ve&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),b}function jt(d){E(d);let p="";return d.currentChar()==="-"?(d.next(),p+=`-${Fe(d)}`):p+=Fe(d),d.currentChar()===Ve&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),p}function Kt(d){return d!==oo&&d!==me}function Gn(d){E(d),k(d,"'");let p="",b="";for(;p=Z(d,Kt);)p==="\\"?b+=Yt(d):b+=p;const P=d.currentChar();return P===me||P===Ve?(h(M.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),P===me&&(d.next(),k(d,"'")),b):(k(d,"'"),b)}function Yt(d){const p=d.currentChar();switch(p){case"\\":case"'":return d.next(),`\\${p}`;case"u":return Et(d,p,4);case"U":return Et(d,p,6);default:return h(M.UNKNOWN_ESCAPE_SEQUENCE,r(),0,p),""}}function Et(d,p,b){k(d,p);let P="";for(let Q=0;Q<b;Q++){const le=fe(d);if(!le){h(M.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${p}${P}${d.currentChar()}`);break}P+=le}return`\\${p}${P}`}function qt(d){return d!=="{"&&d!=="}"&&d!==we&&d!==me}function _t(d){E(d);let p="",b="";for(;p=Z(d,qt);)b+=p;return b}function Xt(d){let p="",b="";for(;p=Xe(d);)b+=p;return b}function Zt(d){const p=b=>{const P=d.currentChar();return P==="{"||P==="@"||P==="|"||P==="("||P===")"||!P||P===we?b:(b+=P,d.next(),p(b))};return p("")}function at(d){E(d);const p=k(d,"|");return E(d),p}function it(d,p){let b=null;switch(d.currentChar()){case"{":return p.braceNest>=1&&h(M.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),d.next(),b=g(p,2,"{"),E(d),p.braceNest++,b;case"}":return p.braceNest>0&&p.currentType===2&&h(M.EMPTY_PLACEHOLDER,r(),0),d.next(),b=g(p,3,"}"),p.braceNest--,p.braceNest>0&&E(d),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),b;case"@":return p.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),b=Ue(d,p)||y(p),p.braceNest=0,b;default:{let Q=!0,le=!0,W=!0;if(oe(d))return p.braceNest>0&&h(M.UNTERMINATED_CLOSING_BRACE,r(),0),b=g(p,1,at(d)),p.braceNest=0,p.inLinked=!1,b;if(p.braceNest>0&&(p.currentType===4||p.currentType===5||p.currentType===6))return h(M.UNTERMINATED_CLOSING_BRACE,r(),0),p.braceNest=0,st(d,p);if(Q=L(d,p))return b=g(p,4,Wt(d)),E(d),b;if(le=N(d,p))return b=g(p,5,jt(d)),E(d),b;if(W=V(d,p))return b=g(p,6,Gn(d)),E(d),b;if(!Q&&!le&&!W)return b=g(p,12,_t(d)),h(M.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,b.value),E(d),b;break}}return b}function Ue(d,p){const{currentType:b}=p;let P=null;const Q=d.currentChar();switch((b===7||b===8||b===11||b===9)&&(Q===me||Q===we)&&h(M.INVALID_LINKED_FORMAT,r(),0),Q){case"@":return d.next(),P=g(p,7,"@"),p.inLinked=!0,P;case".":return E(d),d.next(),g(p,8,".");case":":return E(d),d.next(),g(p,9,":");default:return oe(d)?(P=g(p,1,at(d)),p.braceNest=0,p.inLinked=!1,P):B(d,p)||F(d,p)?(E(d),Ue(d,p)):w(d,p)?(E(d),g(p,11,Xt(d))):G(d,p)?(E(d),Q==="{"?it(d,p)||P:g(p,10,Zt(d))):(b===7&&h(M.INVALID_LINKED_FORMAT,r(),0),p.braceNest=0,p.inLinked=!1,st(d,p))}}function st(d,p){let b={type:13};if(p.braceNest>0)return it(d,p)||y(p);if(p.inLinked)return Ue(d,p)||y(p);switch(d.currentChar()){case"{":return it(d,p)||y(p);case"}":return h(M.UNBALANCED_CLOSING_BRACE,r(),0),d.next(),g(p,3,"}");case"@":return Ue(d,p)||y(p);default:{if(oe(d))return b=g(p,1,at(d)),p.braceNest=0,p.inLinked=!1,b;if(ge(d))return g(p,0,Gt(d));break}}return b}function Jt(){const{currentType:d,offset:p,startLoc:b,endLoc:P}=c;return c.lastType=d,c.lastOffset=p,c.lastStartLoc=b,c.lastEndLoc=P,c.offset=a(),c.startLoc=r(),l.currentChar()===Ve?g(c,13):st(l,c)}return{nextToken:Jt,currentOffset:a,currentPosition:r,context:u}}const Ei="parser",_i=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function yi(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 ki(e={}){const n=e.location!==!1,{onError:o}=e;function l(m,_,L,N,...V){const B=m.currentPosition();if(B.offset+=N,B.column+=N,o){const w=n?sn(L,B):null,F=lt(_,w,{domain:Ei,args:V});o(F)}}function a(m,_,L){const N={type:m};return n&&(N.start=_,N.end=_,N.loc={start:L,end:L}),N}function r(m,_,L,N){n&&(m.end=_,m.loc&&(m.loc.end=L))}function i(m,_){const L=m.context(),N=a(3,L.offset,L.startLoc);return N.value=_,r(N,m.currentOffset(),m.currentPosition()),N}function s(m,_){const L=m.context(),{lastOffset:N,lastStartLoc:V}=L,B=a(5,N,V);return B.index=parseInt(_,10),m.nextToken(),r(B,m.currentOffset(),m.currentPosition()),B}function c(m,_){const L=m.context(),{lastOffset:N,lastStartLoc:V}=L,B=a(4,N,V);return B.key=_,m.nextToken(),r(B,m.currentOffset(),m.currentPosition()),B}function u(m,_){const L=m.context(),{lastOffset:N,lastStartLoc:V}=L,B=a(9,N,V);return B.value=_.replace(_i,yi),m.nextToken(),r(B,m.currentOffset(),m.currentPosition()),B}function f(m){const _=m.nextToken(),L=m.context(),{lastOffset:N,lastStartLoc:V}=L,B=a(8,N,V);return _.type!==11?(l(m,M.UNEXPECTED_EMPTY_LINKED_MODIFIER,L.lastStartLoc,0),B.value="",r(B,N,V),{nextConsumeToken:_,node:B}):(_.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,Le(_)),B.value=_.value||"",r(B,m.currentOffset(),m.currentPosition()),{node:B})}function h(m,_){const L=m.context(),N=a(7,L.offset,L.startLoc);return N.value=_,r(N,m.currentOffset(),m.currentPosition()),N}function g(m){const _=m.context(),L=a(6,_.offset,_.startLoc);let N=m.nextToken();if(N.type===8){const V=f(m);L.modifier=V.node,N=V.nextConsumeToken||m.nextToken()}switch(N.type!==9&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),N=m.nextToken(),N.type===2&&(N=m.nextToken()),N.type){case 10:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=h(m,N.value||"");break;case 4:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=c(m,N.value||"");break;case 5:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=s(m,N.value||"");break;case 6:N.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(N)),L.key=u(m,N.value||"");break;default:{l(m,M.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const V=m.context(),B=a(7,V.offset,V.startLoc);return B.value="",r(B,V.offset,V.startLoc),L.key=B,r(L,V.offset,V.startLoc),{nextConsumeToken:N,node:L}}}return r(L,m.currentOffset(),m.currentPosition()),{node:L}}function y(m){const _=m.context(),L=_.currentType===1?m.currentOffset():_.offset,N=_.currentType===1?_.endLoc:_.startLoc,V=a(2,L,N);V.items=[];let B=null;do{const G=B||m.nextToken();switch(B=null,G.type){case 0:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(i(m,G.value||""));break;case 5:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(s(m,G.value||""));break;case 4:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(c(m,G.value||""));break;case 6:G.value==null&&l(m,M.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Le(G)),V.items.push(u(m,G.value||""));break;case 7:{const oe=g(m);V.items.push(oe.node),B=oe.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const w=_.currentType===1?_.lastOffset:m.currentOffset(),F=_.currentType===1?_.lastEndLoc:m.currentPosition();return r(V,w,F),V}function k(m,_,L,N){const V=m.context();let B=N.items.length===0;const w=a(1,_,L);w.cases=[],w.cases.push(N);do{const F=y(m);B||(B=F.items.length===0),w.cases.push(F)}while(V.currentType!==13);return B&&l(m,M.MUST_HAVE_MESSAGES_IN_PLURAL,L,0),r(w,m.currentOffset(),m.currentPosition()),w}function v(m){const _=m.context(),{offset:L,startLoc:N}=_,V=y(m);return _.currentType===13?V:k(m,L,N,V)}function E(m){const _=hi(m,ue({},e)),L=_.context(),N=a(0,L.offset,L.startLoc);return n&&N.loc&&(N.loc.source=m),N.body=v(_),e.onCacheKey&&(N.cacheKey=e.onCacheKey(m)),L.currentType!==13&&l(_,M.UNEXPECTED_LEXICAL_ANALYSIS,L.lastStartLoc,0,m[L.offset]||""),r(N,_.currentOffset(),_.currentPosition()),N}return{parse:E}}function Le(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 Ci(e,n={}){const o={ast:e,helpers:new Set};return{context:()=>o,helper:r=>(o.helpers.add(r),r)}}function lo(e,n){for(let o=0;o<e.length;o++)Ln(e[o],n)}function Ln(e,n){switch(e.type){case 1:lo(e.cases,n),n.helper("plural");break;case 2:lo(e.items,n);break;case 6:{Ln(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 vi(e,n={}){const o=Ci(e);o.helper("normalize"),e.body&&Ln(e.body,o);const l=o.context();e.helpers=Array.from(l.helpers)}function Ni(e){const n=e.body;return n.type===2?ro(n):n.cases.forEach(o=>ro(o)),e}function ro(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 Si="minifier";function tt(e){switch(e.t=e.type,e.type){case 0:{const n=e;tt(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++)tt(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++)tt(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;tt(n.key),n.k=n.key,delete n.key,n.modifier&&(tt(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 lt(M.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Si,args:[e.type]})}delete e.type}const bi="parser";function wi(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(v,E){i.code+=v}function u(v,E=!0){const m=E?l:"";c(a?m+" ".repeat(v):m)}function f(v=!0){const E=++i.indentLevel;v&&u(E)}function h(v=!0){const E=--i.indentLevel;v&&u(E)}function g(){u(i.indentLevel)}return{context:s,push:c,indent:f,deindent:h,newline:g,helper:v=>`_${v}`,needIndent:()=>i.needIndent}}function Li(e,n){const{helper:o}=e;e.push(`${o("linked")}(`),ot(e,n.key),n.modifier?(e.push(", "),ot(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ti(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&&(ot(e,n.items[r]),r!==a-1);r++)e.push(", ");e.deindent(l()),e.push("])")}function Ai(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&&(ot(e,n.cases[r]),r!==a-1);r++)e.push(", ");e.deindent(l()),e.push("])")}}function Ii(e,n){n.body?ot(e,n.body):e.push("null")}function ot(e,n){const{helper:o}=e;switch(n.type){case 0:Ii(e,n);break;case 1:Ai(e,n);break;case 2:Ti(e,n);break;case 6:Li(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 lt(M.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:bi,args:[n.type]})}}const Vi=(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=wi(e,{filename:l,breakLineCode:a,needIndent:r});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(r),i.length>0&&(s.push(`const { ${wn(i.map(f=>`${f}: _${f}`),", ")} } = ctx`),s.newline()),s.push("return "),ot(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 Bi(e,n={}){const o=ue({},n),l=!!o.jit,a=!!o.minify,r=o.optimize==null?!0:o.optimize,s=ki(o).parse(e);return l?(r&&Ni(s),a&&tt(s),{ast:s,code:""}):(vi(s,o),Vi(s,o))}/*!
13
13
  * core-base v11.1.12
14
14
  * (c) 2025 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function Oi(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function be(e){return K(e)&&Tn(e)===0&&(Se(e,"b")||Se(e,"body"))}const Wo=["b","body"];function Bi(e){return Me(e,Wo)}const jo=["c","cases"];function Di(e){return Me(e,jo,[])}const Ko=["s","static"];function Pi(e){return Me(e,Ko)}const Yo=["i","items"];function $i(e){return Me(e,Yo,[])}const qo=["t","type"];function Tn(e){return Me(e,qo)}const Xo=["v","value"];function Nt(e,n){const o=Me(e,Xo);if(o!=null)return o;throw ut(n)}const Zo=["m","modifier"];function Ri(e){return Me(e,Zo)}const Jo=["k","key"];function Mi(e){const n=Me(e,Jo);if(n)return n;throw ut(6)}function Me(e,n,o){for(let l=0;l<n.length;l++){const a=n[l];if(Se(e,a)&&e[a]!=null)return e[a]}return o}const Qo=[...Wo,...jo,...Ko,...Yo,...Jo,...Zo,...Xo,...qo];function ut(e){return new Error(`unhandled node type: ${e}`)}function tn(e){return o=>xi(o,e)}function xi(e,n){const o=Bi(n);if(o==null)throw ut(0);if(Tn(o)===1){const r=Di(o);return e.plural(r.reduce((i,s)=>[...i,ao(e,s)],[]))}else return ao(e,o)}function ao(e,n){const o=Pi(n);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const l=$i(n).reduce((a,r)=>[...a,cn(e,r)],[]);return e.normalize(l)}}function cn(e,n){const o=Tn(n);switch(o){case 3:return Nt(n,o);case 9:return Nt(n,o);case 4:{const l=n;if(Se(l,"k")&&l.k)return e.interpolate(e.named(l.k));if(Se(l,"key")&&l.key)return e.interpolate(e.named(l.key));throw ut(o)}case 5:{const l=n;if(Se(l,"i")&&ce(l.i))return e.interpolate(e.list(l.i));if(Se(l,"index")&&ce(l.index))return e.interpolate(e.list(l.index));throw ut(o)}case 6:{const l=n,a=Ri(l),r=Mi(l);return e.linked(cn(e,r),a?cn(e,a):void 0,e.type)}case 7:return Nt(n,o);case 8:return Nt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Fi="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Ui(e,n){n&&si(e)&&Ae(Mt(Fi,{source:e}))}const Hi=e=>e;let St=X();function zi(e,n={}){let o=!1;const l=n.onError||ai;return n.onError=a=>{o=!0,l(a)},{...Vi(e,n),detectError:o}}function Gi(e,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&B(e)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Ui(e,o);const a=(n.onCacheKey||Hi)(e),r=St[a];if(r)return r;const{ast:i,detectError:s}=zi(e,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=tn(i);return s?c:St[a]=c}else{if(process.env.NODE_ENV!=="production"&&!be(e))return Ae(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>e);const o=e.cacheKey;if(o){const l=St[o];return l||(St[o]=tn(e))}else return tn(e)}}let dt=null;function Wi(e){dt=e}function ji(e,n,o){dt&&dt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:o})}const Ki=Yi("function:translate");function Yi(e){return n=>dt&&dt.emit(e,n)}const pe={INVALID_ARGUMENT:li,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},qi=24;function Oe(e){return lt(e,null,process.env.NODE_ENV!=="production"?{messages:Xi}:void 0)}const Xi={[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 An(e,n){return n.locale!=null?io(n.locale):io(e.locale)}let nn;function io(e){if(B(e))return e;if(ee(e)){if(e.resolvedOnce&&nn!=null)return nn;if(e.constructor.name==="Function"){const n=e();if(Qa(n))throw Oe(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return nn=n}else throw Oe(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Oe(pe.NOT_SUPPORT_LOCALE_TYPE)}function Zi(e,n,o){return[...new Set([o,...ie(n)?n:K(n)?Object.keys(n):B(n)?[n]:[o]])]}function el(e,n,o){const l=B(o)?o:Vt,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(l);if(!r){r=[];let i=[o];for(;ie(i);)i=so(r,i,n);const s=ie(n)||!j(n)?n:n.default?n.default:null;i=B(s)?[s]:s,ie(i)&&so(r,i,!1),a.__localeChainCache.set(l,r)}return r}function so(e,n,o){let l=!0;for(let a=0;a<n.length&&ae(l);a++){const r=n[a];B(r)&&(l=Ji(e,n[a],o))}return l}function Ji(e,n,o){let l;const a=n.split("-");do{const r=a.join("-");l=Qi(e,r,o),a.splice(-1,1)}while(a.length&&l===!0);return l}function Qi(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),(ie(o)||j(o))&&o[a]&&(l=o[a])}return l}const xe=[];xe[0]={w:[0],i:[3,0],"[":[4],o:[7]};xe[1]={w:[1],".":[2],"[":[4],o:[7]};xe[2]={w:[2],i:[3,0],0:[3,0]};xe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};xe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};xe[5]={"'":[4,0],o:8,l:[5,0]};xe[6]={'"':[4,0],o:8,l:[6,0]};const es=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ts(e){return es.test(e)}function ns(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 os(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 ls(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ts(n)?ns(n):"*"+n}function rs(e){const n=[];let o=-1,l=0,a=0,r,i,s,c,u,f,h;const g=[];g[0]=()=>{i===void 0?i=s:i+=s},g[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},g[2]=()=>{g[0](),a++},g[3]=()=>{if(a>0)a--,l=4,g[0]();else{if(a=0,i===void 0||(i=ls(i),i===!1))return!1;g[1]()}};function y(){const k=e[o+1];if(l===5&&k==="'"||l===6&&k==='"')return o++,s="\\"+k,g[0](),!0}for(;l!==null;)if(o++,r=e[o],!(r==="\\"&&y())){if(c=os(r),h=xe[l],u=h[c]||h.l||8,u===8||(l=u[0],u[1]!==void 0&&(f=g[u[1]],f&&(s=r,f()===!1))))return;if(l===7)return n}}const co=new Map;function as(e,n){return K(e)?e[n]:null}function is(e,n){if(!K(e))return null;let o=co.get(n);if(o||(o=rs(n),o&&co.set(n,o)),!o)return null;const l=o.length;let a=e,r=0;for(;r<l;){const i=o[r];if(Qo.includes(i)&&be(a))return null;const s=a[i];if(s===void 0||ee(a))return null;a=s,r++}return a}const he={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},ss=8,cs={[he.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[he.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[he.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[he.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[he.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 Ye(e,...n){return Mt(cs[e],...n)}const us="11.1.12",Ft=-1,Vt="en-US",Ot="",uo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ds(){return{upper:(e,n)=>n==="text"&&B(e)?e.toUpperCase():n==="vnode"&&K(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&B(e)?e.toLowerCase():n==="vnode"&&K(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&B(e)?uo(e):n==="vnode"&&K(e)&&"__v_isVNode"in e?uo(e.children):e}}let tl;function fs(e){tl=e}let nl;function ms(e){nl=e}let ol;function ps(e){ol=e}let ll=null;const gs=e=>{ll=e},hs=()=>ll;let rl=null;const fo=e=>{rl=e},Es=()=>rl;let mo=0;function _s(e={}){const n=ee(e.onWarn)?e.onWarn:Ae,o=B(e.version)?e.version:us,l=B(e.locale)||ee(e.locale)?e.locale:Vt,a=ee(l)?Vt:l,r=ie(e.fallbackLocale)||j(e.fallbackLocale)||B(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=j(e.messages)?e.messages:on(a),s=j(e.datetimeFormats)?e.datetimeFormats:on(a),c=j(e.numberFormats)?e.numberFormats:on(a),u=ue(X(),e.modifiers,ds()),f=e.pluralRules||X(),h=ee(e.missing)?e.missing:null,g=ae(e.missingWarn)||It(e.missingWarn)?e.missingWarn:!0,y=ae(e.fallbackWarn)||It(e.fallbackWarn)?e.fallbackWarn:!0,k=!!e.fallbackFormat,v=!!e.unresolving,E=ee(e.postTranslation)?e.postTranslation:null,m=j(e.processor)?e.processor:null,_=ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,L=!!e.escapeParameter,N=ee(e.messageCompiler)?e.messageCompiler:tl;process.env.NODE_ENV!=="production"&&ee(e.messageCompiler)&&Wa(Ye(he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const V=ee(e.messageResolver)?e.messageResolver:nl||as,O=ee(e.localeFallbacker)?e.localeFallbacker:ol||Zi,w=K(e.fallbackContext)?e.fallbackContext:void 0,F=e,G=K(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,oe=K(F.__numberFormatters)?F.__numberFormatters:new Map,ge=K(F.__meta)?F.__meta:{};mo++;const Z={version:o,cid:mo,locale:l,fallbackLocale:r,messages:i,modifiers:u,pluralRules:f,missing:h,missingWarn:g,fallbackWarn:y,fallbackFormat:k,unresolving:v,postTranslation:E,processor:m,warnHtmlMessage:_,escapeParameter:L,messageCompiler:N,messageResolver:V,localeFallbacker:O,fallbackContext:w,onWarn:n,__meta:ge};return Z.datetimeFormats=s,Z.numberFormats=c,Z.__datetimeFormatters=G,Z.__numberFormatters=oe,process.env.NODE_ENV!=="production"&&(Z.__v_emitter=F.__v_emitter!=null?F.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&ji(Z,o,ge),Z}const on=e=>({[e]:X()});function Ut(e,n){return e instanceof RegExp?e.test(n):e}function al(e,n){return e instanceof RegExp?e.test(n):e}function In(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 B(s)?s:n}else return process.env.NODE_ENV!=="production"&&al(l,n)&&i(Ye(he.NOT_FOUND_KEY,{key:n,locale:o})),n}function ct(e,n,o){const l=e;l.__localeChainCache=new Map,e.localeFallbacker(e,o,n)}function il(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function ys(e,n){const o=n.indexOf(e);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(il(e,n[l]))return!0;return!1}const po=typeof Intl<"u",sl={dateTimeFormat:po&&typeof Intl.DateTimeFormat<"u",numberFormat:po&&typeof Intl.NumberFormat<"u"};function go(e,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!sl.dateTimeFormat)return r(Ye(he.CANNOT_FORMAT_DATE)),Ot;const[c,u,f,h]=un(...n),g=ae(f.missingWarn)?f.missingWarn:e.missingWarn,y=ae(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,k=!!f.part,v=An(e,f),E=i(e,a,v);if(!B(c)||c==="")return new Intl.DateTimeFormat(v,h).format(u);let m={},_,L=null,N=v,V=null;const O="datetime format";for(let G=0;G<E.length;G++){if(_=V=E[G],process.env.NODE_ENV!=="production"&&v!==_&&Ut(y,c)&&r(Ye(he.FALLBACK_TO_DATE_FORMAT,{key:c,target:_})),process.env.NODE_ENV!=="production"&&v!==_){const oe=e.__v_emitter;oe&&oe.emit("fallback",{type:O,key:c,from:N,to:V,groupId:`${O}:${c}`})}if(m=o[_]||{},L=m[c],j(L))break;In(e,c,_,g,O),N=V}if(!j(L)||!B(_))return l?Ft:c;let w=`${_}__${c}`;xt(h)||(w=`${w}__${JSON.stringify(h)}`);let F=s.get(w);return F||(F=new Intl.DateTimeFormat(_,ue({},L,h)),s.set(w,F)),k?F.formatToParts(u):F.format(u)}const cl=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function un(...e){const[n,o,l,a]=e,r=X();let i=X(),s;if(B(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(qa(n)){if(isNaN(n.getTime()))throw Oe(pe.INVALID_DATE_ARGUMENT);s=n}else if(ce(n))s=n;else throw Oe(pe.INVALID_ARGUMENT);return B(o)?r.key=o:j(o)&&Object.keys(o).forEach(c=>{cl.includes(c)?i[c]=o[c]:r[c]=o[c]}),B(l)?r.locale=l:j(l)&&(i=l),j(a)&&(i=a),[r.key||"",s,r,i]}function ho(e,n,o){const l=e;for(const a in o){const r=`${n}__${a}`;l.__datetimeFormatters.has(r)&&l.__datetimeFormatters.delete(r)}}function Eo(e,...n){const{numberFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!sl.numberFormat)return r(Ye(he.CANNOT_FORMAT_NUMBER)),Ot;const[c,u,f,h]=dn(...n),g=ae(f.missingWarn)?f.missingWarn:e.missingWarn,y=ae(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,k=!!f.part,v=An(e,f),E=i(e,a,v);if(!B(c)||c==="")return new Intl.NumberFormat(v,h).format(u);let m={},_,L=null,N=v,V=null;const O="number format";for(let G=0;G<E.length;G++){if(_=V=E[G],process.env.NODE_ENV!=="production"&&v!==_&&Ut(y,c)&&r(Ye(he.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:_})),process.env.NODE_ENV!=="production"&&v!==_){const oe=e.__v_emitter;oe&&oe.emit("fallback",{type:O,key:c,from:N,to:V,groupId:`${O}:${c}`})}if(m=o[_]||{},L=m[c],j(L))break;In(e,c,_,g,O),N=V}if(!j(L)||!B(_))return l?Ft:c;let w=`${_}__${c}`;xt(h)||(w=`${w}__${JSON.stringify(h)}`);let F=s.get(w);return F||(F=new Intl.NumberFormat(_,ue({},L,h)),s.set(w,F)),k?F.formatToParts(u):F.format(u)}const ul=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function dn(...e){const[n,o,l,a]=e,r=X();let i=X();if(!ce(n))throw Oe(pe.INVALID_ARGUMENT);const s=n;return B(o)?r.key=o:j(o)&&Object.keys(o).forEach(c=>{ul.includes(c)?i[c]=o[c]:r[c]=o[c]}),B(l)?r.locale=l:j(l)&&(i=l),j(a)&&(i=a),[r.key||"",s,r,i]}function _o(e,n,o){const l=e;for(const a in o){const r=`${n}__${a}`;l.__numberFormatters.has(r)&&l.__numberFormatters.delete(r)}}const ks=e=>e,Cs=e=>"",vs="text",Ns=e=>e.length===0?"":wn(e),Ss=ei;function yo(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function bs(e){const n=ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ce(e.named.count)||ce(e.named.n))?ce(e.named.count)?e.named.count:ce(e.named.n)?e.named.n:n:n}function ws(e,n){n.count||(n.count=e),n.n||(n.n=e)}function Ls(e={}){const n=e.locale,o=bs(e),l=K(e.pluralRules)&&B(n)&&ee(e.pluralRules[n])?e.pluralRules[n]:yo,a=K(e.pluralRules)&&B(n)&&ee(e.pluralRules[n])?yo:void 0,r=m=>m[l(o,m.length,a)],i=e.list||[],s=m=>i[m],c=e.named||X();ce(e.pluralIndex)&&ws(o,c);const u=m=>c[m];function f(m,_){const L=ee(e.messages)?e.messages(m,!!_):K(e.messages)?e.messages[m]:!1;return L||(e.parent?e.parent.message(m):Cs)}const h=m=>e.modifiers?e.modifiers[m]:ks,g=j(e.processor)&&ee(e.processor.normalize)?e.processor.normalize:Ns,y=j(e.processor)&&ee(e.processor.interpolate)?e.processor.interpolate:Ss,k=j(e.processor)&&B(e.processor.type)?e.processor.type:vs,E={list:s,named:u,plural:r,linked:(m,..._)=>{const[L,N]=_;let V="text",O="";_.length===1?K(L)?(O=L.modifier||O,V=L.type||V):B(L)&&(O=L||O):_.length===2&&(B(L)&&(O=L||O),B(N)&&(V=N||V));const w=f(m,!0)(E),F=V==="vnode"&&ie(w)&&O?w[0]:w;return O?h(O)(F,V):F},message:f,type:k,interpolate:y,normalize:g,values:ue(X(),i,c)};return E}const ko=()=>"",Ne=e=>ee(e);function Co(e,...n){const{fallbackFormat:o,postTranslation:l,unresolving:a,messageCompiler:r,fallbackLocale:i,messages:s}=e,[c,u]=fn(...n),f=ae(u.missingWarn)?u.missingWarn:e.missingWarn,h=ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=ae(u.escapeParameter)?u.escapeParameter:e.escapeParameter,y=!!u.resolvedMessage,k=B(u.default)||ae(u.default)?ae(u.default)?r?c:()=>c:u.default:o?r?c:()=>c:null,v=o||k!=null&&(B(k)||ee(k)),E=An(e,u);g&&Ts(u);let[m,_,L]=y?[c,E,s[E]||X()]:dl(e,c,E,i,h,f),N=m,V=c;if(!y&&!(B(N)||be(N)||Ne(N))&&v&&(N=k,V=N),!y&&(!(B(N)||be(N)||Ne(N))||!B(_)))return a?Ft:c;if(process.env.NODE_ENV!=="production"&&B(N)&&e.messageCompiler==null)return Ae(`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 O=!1;const w=()=>{O=!0},F=Ne(N)?N:fl(e,c,_,N,V,w);if(O)return N;const G=Os(e,_,L,u),oe=Ls(G),ge=As(e,F,oe);let Z=l?l(ge,c):ge;if(g&&B(Z)&&(Z=Za(Z)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const $e={timestamp:Date.now(),key:B(c)?c:Ne(N)?N.key:"",locale:_||(Ne(N)?N.locale:""),format:B(N)?N:Ne(N)?N.source:"",message:Z};$e.meta=ue({},e.__meta,hs()||{}),Ki($e)}return Z}function Ts(e){ie(e.list)?e.list=e.list.map(n=>B(n)?eo(n):n):K(e.named)&&Object.keys(e.named).forEach(n=>{B(e.named[n])&&(e.named[n]=eo(e.named[n]))})}function dl(e,n,o,l,a,r){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=e,f=u(e,l,o);let h=X(),g,y=null,k=o,v=null;const E="translate";for(let m=0;m<f.length;m++){if(g=v=f[m],process.env.NODE_ENV!=="production"&&o!==g&&!il(o,g)&&Ut(a,n)&&s(Ye(he.FALLBACK_TO_TRANSLATE,{key:n,target:g})),process.env.NODE_ENV!=="production"&&o!==g){const V=e.__v_emitter;V&&V.emit("fallback",{type:E,key:n,from:k,to:v,groupId:`${E}:${n}`})}h=i[g]||X();let _=null,L,N;if(process.env.NODE_ENV!=="production"&&De&&(_=window.performance.now(),L="intlify-message-resolve-start",N="intlify-message-resolve-end",ve&&ve(L)),(y=c(h,n))===null&&(y=h[n]),process.env.NODE_ENV!=="production"&&De){const V=window.performance.now(),O=e.__v_emitter;O&&_&&y&&O.emit("message-resolve",{type:"message-resolve",key:n,message:y,time:V-_,groupId:`${E}:${n}`}),L&&N&&ve&&Ke&&(ve(N),Ke("intlify message resolve",L,N))}if(B(y)||be(y)||Ne(y))break;if(!ys(g,f)){const V=In(e,n,g,r,E);V!==n&&(y=V)}k=v}return[y,g,h]}function fl(e,n,o,l,a,r){const{messageCompiler:i,warnHtmlMessage:s}=e;if(Ne(l)){const g=l;return g.locale=g.locale||o,g.key=g.key||n,g}if(i==null){const g=(()=>l);return g.locale=o,g.key=n,g}let c=null,u,f;process.env.NODE_ENV!=="production"&&De&&(c=window.performance.now(),u="intlify-message-compilation-start",f="intlify-message-compilation-end",ve&&ve(u));const h=i(l,Is(e,o,a,l,s,r));if(process.env.NODE_ENV!=="production"&&De){const g=window.performance.now(),y=e.__v_emitter;y&&c&&y.emit("message-compilation",{type:"message-compilation",message:l,time:g-c,groupId:`translate:${n}`}),u&&f&&ve&&Ke&&(ve(f),Ke("intlify message compilation",u,f))}return h.locale=o,h.key=n,h.source=l,h}function As(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",ve&&ve(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&&ve&&Ke&&(ve(r),Ke("intlify message evaluation",a,r))}return i}function fn(...e){const[n,o,l]=e,a=X();if(!B(n)&&!ce(n)&&!Ne(n)&&!be(n))throw Oe(pe.INVALID_ARGUMENT);const r=ce(n)?String(n):(Ne(n),n);return ce(o)?a.plural=o:B(o)?a.default=o:j(o)&&!xt(o)?a.named=o:ie(o)&&(a.list=o),ce(l)?a.plural=l:B(l)?a.default=l:j(l)&&ue(a,l),[r,a]}function Is(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&&ti(s,i.location.start.offset,i.location.end.offset),f=e.__v_emitter;f&&s&&f.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=>Ka(n,o,i)}}function Vs(e){if(B(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Os(e,n,o,l){const{modifiers:a,pluralRules:r,messageResolver:i,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:f}=e,g={locale:n,modifiers:a,pluralRules:r,messages:(y,k)=>{let v=i(o,y);if(v==null&&(f||k)){const[,,E]=dl(f||e,y,n,s,c,u);v=i(E,y)}if(B(v)||be(v)){let E=!1;const _=fl(e,y,n,v,y,()=>{E=!0});return E?ko:_}else return Ne(v)?v:ko}};return e.processor&&(g.processor=e.processor),l.list&&(g.list=l.list),l.named&&(g.named=l.named),ce(l.plural)&&(g.pluralIndex=l.plural),g}Oi();/*!
16
+ */function Oi(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(je().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(je().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function be(e){return K(e)&&Tn(e)===0&&(Se(e,"b")||Se(e,"body"))}const Wo=["b","body"];function Di(e){return Me(e,Wo)}const jo=["c","cases"];function Pi(e){return Me(e,jo,[])}const Ko=["s","static"];function $i(e){return Me(e,Ko)}const Yo=["i","items"];function Ri(e){return Me(e,Yo,[])}const qo=["t","type"];function Tn(e){return Me(e,qo)}const Xo=["v","value"];function Nt(e,n){const o=Me(e,Xo);if(o!=null)return o;throw ut(n)}const Zo=["m","modifier"];function Mi(e){return Me(e,Zo)}const Jo=["k","key"];function xi(e){const n=Me(e,Jo);if(n)return n;throw ut(6)}function Me(e,n,o){for(let l=0;l<n.length;l++){const a=n[l];if(Se(e,a)&&e[a]!=null)return e[a]}return o}const Qo=[...Wo,...jo,...Ko,...Yo,...Jo,...Zo,...Xo,...qo];function ut(e){return new Error(`unhandled node type: ${e}`)}function tn(e){return o=>Fi(o,e)}function Fi(e,n){const o=Di(n);if(o==null)throw ut(0);if(Tn(o)===1){const r=Pi(o);return e.plural(r.reduce((i,s)=>[...i,ao(e,s)],[]))}else return ao(e,o)}function ao(e,n){const o=$i(n);if(o!=null)return e.type==="text"?o:e.normalize([o]);{const l=Ri(n).reduce((a,r)=>[...a,cn(e,r)],[]);return e.normalize(l)}}function cn(e,n){const o=Tn(n);switch(o){case 3:return Nt(n,o);case 9:return Nt(n,o);case 4:{const l=n;if(Se(l,"k")&&l.k)return e.interpolate(e.named(l.k));if(Se(l,"key")&&l.key)return e.interpolate(e.named(l.key));throw ut(o)}case 5:{const l=n;if(Se(l,"i")&&ce(l.i))return e.interpolate(e.list(l.i));if(Se(l,"index")&&ce(l.index))return e.interpolate(e.list(l.index));throw ut(o)}case 6:{const l=n,a=Mi(l),r=xi(l);return e.linked(cn(e,r),a?cn(e,a):void 0,e.type)}case 7:return Nt(n,o);case 8:return Nt(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const Ui="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Hi(e,n){n&&ci(e)&&Ae(Mt(Ui,{source:e}))}const zi=e=>e;let St=X();function Gi(e,n={}){let o=!1;const l=n.onError||ii;return n.onError=a=>{o=!0,l(a)},{...Bi(e,n),detectError:o}}function Wi(e,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&O(e)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Hi(e,o);const a=(n.onCacheKey||zi)(e),r=St[a];if(r)return r;const{ast:i,detectError:s}=Gi(e,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=tn(i);return s?c:St[a]=c}else{if(process.env.NODE_ENV!=="production"&&!be(e))return Ae(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>e);const o=e.cacheKey;if(o){const l=St[o];return l||(St[o]=tn(e))}else return tn(e)}}let dt=null;function ji(e){dt=e}function Ki(e,n,o){dt&&dt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:o})}const Yi=qi("function:translate");function qi(e){return n=>dt&&dt.emit(e,n)}const pe={INVALID_ARGUMENT:ri,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},Xi=24;function Be(e){return lt(e,null,process.env.NODE_ENV!=="production"?{messages:Zi}:void 0)}const Zi={[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 An(e,n){return n.locale!=null?io(n.locale):io(e.locale)}let nn;function io(e){if(O(e))return e;if(ee(e)){if(e.resolvedOnce&&nn!=null)return nn;if(e.constructor.name==="Function"){const n=e();if(ei(n))throw Be(pe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return nn=n}else throw Be(pe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Be(pe.NOT_SUPPORT_LOCALE_TYPE)}function Ji(e,n,o){return[...new Set([o,...ie(n)?n:K(n)?Object.keys(n):O(n)?[n]:[o]])]}function el(e,n,o){const l=O(o)?o:Vt,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(l);if(!r){r=[];let i=[o];for(;ie(i);)i=so(r,i,n);const s=ie(n)||!j(n)?n:n.default?n.default:null;i=O(s)?[s]:s,ie(i)&&so(r,i,!1),a.__localeChainCache.set(l,r)}return r}function so(e,n,o){let l=!0;for(let a=0;a<n.length&&ae(l);a++){const r=n[a];O(r)&&(l=Qi(e,n[a],o))}return l}function Qi(e,n,o){let l;const a=n.split("-");do{const r=a.join("-");l=es(e,r,o),a.splice(-1,1)}while(a.length&&l===!0);return l}function es(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),(ie(o)||j(o))&&o[a]&&(l=o[a])}return l}const xe=[];xe[0]={w:[0],i:[3,0],"[":[4],o:[7]};xe[1]={w:[1],".":[2],"[":[4],o:[7]};xe[2]={w:[2],i:[3,0],0:[3,0]};xe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};xe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};xe[5]={"'":[4,0],o:8,l:[5,0]};xe[6]={'"':[4,0],o:8,l:[6,0]};const ts=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ns(e){return ts.test(e)}function os(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 ls(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 rs(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ns(n)?os(n):"*"+n}function as(e){const n=[];let o=-1,l=0,a=0,r,i,s,c,u,f,h;const g=[];g[0]=()=>{i===void 0?i=s:i+=s},g[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},g[2]=()=>{g[0](),a++},g[3]=()=>{if(a>0)a--,l=4,g[0]();else{if(a=0,i===void 0||(i=rs(i),i===!1))return!1;g[1]()}};function y(){const k=e[o+1];if(l===5&&k==="'"||l===6&&k==='"')return o++,s="\\"+k,g[0](),!0}for(;l!==null;)if(o++,r=e[o],!(r==="\\"&&y())){if(c=ls(r),h=xe[l],u=h[c]||h.l||8,u===8||(l=u[0],u[1]!==void 0&&(f=g[u[1]],f&&(s=r,f()===!1))))return;if(l===7)return n}}const co=new Map;function is(e,n){return K(e)?e[n]:null}function ss(e,n){if(!K(e))return null;let o=co.get(n);if(o||(o=as(n),o&&co.set(n,o)),!o)return null;const l=o.length;let a=e,r=0;for(;r<l;){const i=o[r];if(Qo.includes(i)&&be(a))return null;const s=a[i];if(s===void 0||ee(a))return null;a=s,r++}return a}const he={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},cs=8,us={[he.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[he.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[he.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[he.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[he.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[he.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 Ye(e,...n){return Mt(us[e],...n)}const ds="11.1.12",Ft=-1,Vt="en-US",Bt="",uo=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function fs(){return{upper:(e,n)=>n==="text"&&O(e)?e.toUpperCase():n==="vnode"&&K(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&O(e)?e.toLowerCase():n==="vnode"&&K(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&O(e)?uo(e):n==="vnode"&&K(e)&&"__v_isVNode"in e?uo(e.children):e}}let tl;function ms(e){tl=e}let nl;function ps(e){nl=e}let ol;function gs(e){ol=e}let ll=null;const hs=e=>{ll=e},Es=()=>ll;let rl=null;const fo=e=>{rl=e},_s=()=>rl;let mo=0;function ys(e={}){const n=ee(e.onWarn)?e.onWarn:Ae,o=O(e.version)?e.version:ds,l=O(e.locale)||ee(e.locale)?e.locale:Vt,a=ee(l)?Vt:l,r=ie(e.fallbackLocale)||j(e.fallbackLocale)||O(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,i=j(e.messages)?e.messages:on(a),s=j(e.datetimeFormats)?e.datetimeFormats:on(a),c=j(e.numberFormats)?e.numberFormats:on(a),u=ue(X(),e.modifiers,fs()),f=e.pluralRules||X(),h=ee(e.missing)?e.missing:null,g=ae(e.missingWarn)||It(e.missingWarn)?e.missingWarn:!0,y=ae(e.fallbackWarn)||It(e.fallbackWarn)?e.fallbackWarn:!0,k=!!e.fallbackFormat,v=!!e.unresolving,E=ee(e.postTranslation)?e.postTranslation:null,m=j(e.processor)?e.processor:null,_=ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,L=!!e.escapeParameter,N=ee(e.messageCompiler)?e.messageCompiler:tl;process.env.NODE_ENV!=="production"&&ee(e.messageCompiler)&&ja(Ye(he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const V=ee(e.messageResolver)?e.messageResolver:nl||is,B=ee(e.localeFallbacker)?e.localeFallbacker:ol||Ji,w=K(e.fallbackContext)?e.fallbackContext:void 0,F=e,G=K(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,oe=K(F.__numberFormatters)?F.__numberFormatters:new Map,ge=K(F.__meta)?F.__meta:{};mo++;const Z={version:o,cid:mo,locale:l,fallbackLocale:r,messages:i,modifiers:u,pluralRules:f,missing:h,missingWarn:g,fallbackWarn:y,fallbackFormat:k,unresolving:v,postTranslation:E,processor:m,warnHtmlMessage:_,escapeParameter:L,messageCompiler:N,messageResolver:V,localeFallbacker:B,fallbackContext:w,onWarn:n,__meta:ge};return Z.datetimeFormats=s,Z.numberFormats=c,Z.__datetimeFormatters=G,Z.__numberFormatters=oe,process.env.NODE_ENV!=="production"&&(Z.__v_emitter=F.__v_emitter!=null?F.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Ki(Z,o,ge),Z}const on=e=>({[e]:X()});function Ut(e,n){return e instanceof RegExp?e.test(n):e}function al(e,n){return e instanceof RegExp?e.test(n):e}function In(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"&&al(l,n)&&i(Ye(he.NOT_FOUND_KEY,{key:n,locale:o})),n}function ct(e,n,o){const l=e;l.__localeChainCache=new Map,e.localeFallbacker(e,o,n)}function il(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function ks(e,n){const o=n.indexOf(e);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(il(e,n[l]))return!0;return!1}const po=typeof Intl<"u",sl={dateTimeFormat:po&&typeof Intl.DateTimeFormat<"u",numberFormat:po&&typeof Intl.NumberFormat<"u"};function go(e,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!sl.dateTimeFormat)return r(Ye(he.CANNOT_FORMAT_DATE)),Bt;const[c,u,f,h]=un(...n),g=ae(f.missingWarn)?f.missingWarn:e.missingWarn,y=ae(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,k=!!f.part,v=An(e,f),E=i(e,a,v);if(!O(c)||c==="")return new Intl.DateTimeFormat(v,h).format(u);let m={},_,L=null,N=v,V=null;const B="datetime format";for(let G=0;G<E.length;G++){if(_=V=E[G],process.env.NODE_ENV!=="production"&&v!==_&&Ut(y,c)&&r(Ye(he.FALLBACK_TO_DATE_FORMAT,{key:c,target:_})),process.env.NODE_ENV!=="production"&&v!==_){const oe=e.__v_emitter;oe&&oe.emit("fallback",{type:B,key:c,from:N,to:V,groupId:`${B}:${c}`})}if(m=o[_]||{},L=m[c],j(L))break;In(e,c,_,g,B),N=V}if(!j(L)||!O(_))return l?Ft:c;let w=`${_}__${c}`;xt(h)||(w=`${w}__${JSON.stringify(h)}`);let F=s.get(w);return F||(F=new Intl.DateTimeFormat(_,ue({},L,h)),s.set(w,F)),k?F.formatToParts(u):F.format(u)}const cl=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function un(...e){const[n,o,l,a]=e,r=X();let i=X(),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(Xa(n)){if(isNaN(n.getTime()))throw Be(pe.INVALID_DATE_ARGUMENT);s=n}else if(ce(n))s=n;else throw Be(pe.INVALID_ARGUMENT);return O(o)?r.key=o:j(o)&&Object.keys(o).forEach(c=>{cl.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 ho(e,n,o){const l=e;for(const a in o){const r=`${n}__${a}`;l.__datetimeFormatters.has(r)&&l.__datetimeFormatters.delete(r)}}function Eo(e,...n){const{numberFormats:o,unresolving:l,fallbackLocale:a,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!sl.numberFormat)return r(Ye(he.CANNOT_FORMAT_NUMBER)),Bt;const[c,u,f,h]=dn(...n),g=ae(f.missingWarn)?f.missingWarn:e.missingWarn,y=ae(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,k=!!f.part,v=An(e,f),E=i(e,a,v);if(!O(c)||c==="")return new Intl.NumberFormat(v,h).format(u);let m={},_,L=null,N=v,V=null;const B="number format";for(let G=0;G<E.length;G++){if(_=V=E[G],process.env.NODE_ENV!=="production"&&v!==_&&Ut(y,c)&&r(Ye(he.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:_})),process.env.NODE_ENV!=="production"&&v!==_){const oe=e.__v_emitter;oe&&oe.emit("fallback",{type:B,key:c,from:N,to:V,groupId:`${B}:${c}`})}if(m=o[_]||{},L=m[c],j(L))break;In(e,c,_,g,B),N=V}if(!j(L)||!O(_))return l?Ft:c;let w=`${_}__${c}`;xt(h)||(w=`${w}__${JSON.stringify(h)}`);let F=s.get(w);return F||(F=new Intl.NumberFormat(_,ue({},L,h)),s.set(w,F)),k?F.formatToParts(u):F.format(u)}const ul=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function dn(...e){const[n,o,l,a]=e,r=X();let i=X();if(!ce(n))throw Be(pe.INVALID_ARGUMENT);const s=n;return O(o)?r.key=o:j(o)&&Object.keys(o).forEach(c=>{ul.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 _o(e,n,o){const l=e;for(const a in o){const r=`${n}__${a}`;l.__numberFormatters.has(r)&&l.__numberFormatters.delete(r)}}const Cs=e=>e,vs=e=>"",Ns="text",Ss=e=>e.length===0?"":wn(e),bs=ti;function yo(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ws(e){const n=ce(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ce(e.named.count)||ce(e.named.n))?ce(e.named.count)?e.named.count:ce(e.named.n)?e.named.n:n:n}function Ls(e,n){n.count||(n.count=e),n.n||(n.n=e)}function Ts(e={}){const n=e.locale,o=ws(e),l=K(e.pluralRules)&&O(n)&&ee(e.pluralRules[n])?e.pluralRules[n]:yo,a=K(e.pluralRules)&&O(n)&&ee(e.pluralRules[n])?yo:void 0,r=m=>m[l(o,m.length,a)],i=e.list||[],s=m=>i[m],c=e.named||X();ce(e.pluralIndex)&&Ls(o,c);const u=m=>c[m];function f(m,_){const L=ee(e.messages)?e.messages(m,!!_):K(e.messages)?e.messages[m]:!1;return L||(e.parent?e.parent.message(m):vs)}const h=m=>e.modifiers?e.modifiers[m]:Cs,g=j(e.processor)&&ee(e.processor.normalize)?e.processor.normalize:Ss,y=j(e.processor)&&ee(e.processor.interpolate)?e.processor.interpolate:bs,k=j(e.processor)&&O(e.processor.type)?e.processor.type:Ns,E={list:s,named:u,plural:r,linked:(m,..._)=>{const[L,N]=_;let V="text",B="";_.length===1?K(L)?(B=L.modifier||B,V=L.type||V):O(L)&&(B=L||B):_.length===2&&(O(L)&&(B=L||B),O(N)&&(V=N||V));const w=f(m,!0)(E),F=V==="vnode"&&ie(w)&&B?w[0]:w;return B?h(B)(F,V):F},message:f,type:k,interpolate:y,normalize:g,values:ue(X(),i,c)};return E}const ko=()=>"",Ne=e=>ee(e);function Co(e,...n){const{fallbackFormat:o,postTranslation:l,unresolving:a,messageCompiler:r,fallbackLocale:i,messages:s}=e,[c,u]=fn(...n),f=ae(u.missingWarn)?u.missingWarn:e.missingWarn,h=ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,g=ae(u.escapeParameter)?u.escapeParameter:e.escapeParameter,y=!!u.resolvedMessage,k=O(u.default)||ae(u.default)?ae(u.default)?r?c:()=>c:u.default:o?r?c:()=>c:null,v=o||k!=null&&(O(k)||ee(k)),E=An(e,u);g&&As(u);let[m,_,L]=y?[c,E,s[E]||X()]:dl(e,c,E,i,h,f),N=m,V=c;if(!y&&!(O(N)||be(N)||Ne(N))&&v&&(N=k,V=N),!y&&(!(O(N)||be(N)||Ne(N))||!O(_)))return a?Ft:c;if(process.env.NODE_ENV!=="production"&&O(N)&&e.messageCompiler==null)return Ae(`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 B=!1;const w=()=>{B=!0},F=Ne(N)?N:fl(e,c,_,N,V,w);if(B)return N;const G=Os(e,_,L,u),oe=Ts(G),ge=Is(e,F,oe);let Z=l?l(ge,c):ge;if(g&&O(Z)&&(Z=Ja(Z)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const $e={timestamp:Date.now(),key:O(c)?c:Ne(N)?N.key:"",locale:_||(Ne(N)?N.locale:""),format:O(N)?N:Ne(N)?N.source:"",message:Z};$e.meta=ue({},e.__meta,Es()||{}),Yi($e)}return Z}function As(e){ie(e.list)?e.list=e.list.map(n=>O(n)?eo(n):n):K(e.named)&&Object.keys(e.named).forEach(n=>{O(e.named[n])&&(e.named[n]=eo(e.named[n]))})}function dl(e,n,o,l,a,r){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=e,f=u(e,l,o);let h=X(),g,y=null,k=o,v=null;const E="translate";for(let m=0;m<f.length;m++){if(g=v=f[m],process.env.NODE_ENV!=="production"&&o!==g&&!il(o,g)&&Ut(a,n)&&s(Ye(he.FALLBACK_TO_TRANSLATE,{key:n,target:g})),process.env.NODE_ENV!=="production"&&o!==g){const V=e.__v_emitter;V&&V.emit("fallback",{type:E,key:n,from:k,to:v,groupId:`${E}:${n}`})}h=i[g]||X();let _=null,L,N;if(process.env.NODE_ENV!=="production"&&De&&(_=window.performance.now(),L="intlify-message-resolve-start",N="intlify-message-resolve-end",ve&&ve(L)),(y=c(h,n))===null&&(y=h[n]),process.env.NODE_ENV!=="production"&&De){const V=window.performance.now(),B=e.__v_emitter;B&&_&&y&&B.emit("message-resolve",{type:"message-resolve",key:n,message:y,time:V-_,groupId:`${E}:${n}`}),L&&N&&ve&&Ke&&(ve(N),Ke("intlify message resolve",L,N))}if(O(y)||be(y)||Ne(y))break;if(!ks(g,f)){const V=In(e,n,g,r,E);V!==n&&(y=V)}k=v}return[y,g,h]}function fl(e,n,o,l,a,r){const{messageCompiler:i,warnHtmlMessage:s}=e;if(Ne(l)){const g=l;return g.locale=g.locale||o,g.key=g.key||n,g}if(i==null){const g=(()=>l);return g.locale=o,g.key=n,g}let c=null,u,f;process.env.NODE_ENV!=="production"&&De&&(c=window.performance.now(),u="intlify-message-compilation-start",f="intlify-message-compilation-end",ve&&ve(u));const h=i(l,Vs(e,o,a,l,s,r));if(process.env.NODE_ENV!=="production"&&De){const g=window.performance.now(),y=e.__v_emitter;y&&c&&y.emit("message-compilation",{type:"message-compilation",message:l,time:g-c,groupId:`translate:${n}`}),u&&f&&ve&&Ke&&(ve(f),Ke("intlify message compilation",u,f))}return h.locale=o,h.key=n,h.source=l,h}function Is(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",ve&&ve(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&&ve&&Ke&&(ve(r),Ke("intlify message evaluation",a,r))}return i}function fn(...e){const[n,o,l]=e,a=X();if(!O(n)&&!ce(n)&&!Ne(n)&&!be(n))throw Be(pe.INVALID_ARGUMENT);const r=ce(n)?String(n):(Ne(n),n);return ce(o)?a.plural=o:O(o)?a.default=o:j(o)&&!xt(o)?a.named=o:ie(o)&&(a.list=o),ce(l)?a.plural=l:O(l)?a.default=l:j(l)&&ue(a,l),[r,a]}function Vs(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=Bs(l),c=`Message compilation error: ${i.message}`,u=i.location&&s&&ni(s,i.location.start.offset,i.location.end.offset),f=e.__v_emitter;f&&s&&f.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=>Ya(n,o,i)}}function Bs(e){if(O(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Os(e,n,o,l){const{modifiers:a,pluralRules:r,messageResolver:i,fallbackLocale:s,fallbackWarn:c,missingWarn:u,fallbackContext:f}=e,g={locale:n,modifiers:a,pluralRules:r,messages:(y,k)=>{let v=i(o,y);if(v==null&&(f||k)){const[,,E]=dl(f||e,y,n,s,c,u);v=i(E,y)}if(O(v)||be(v)){let E=!1;const _=fl(e,y,n,v,y,()=>{E=!0});return E?ko:_}else return Ne(v)?v:ko}};return e.processor&&(g.processor=e.processor),l.list&&(g.list=l.list),l.named&&(g.named=l.named),ce(l.plural)&&(g.pluralIndex=l.plural),g}Oi();/*!
18
18
  * vue-i18n v11.1.12
19
19
  * (c) 2025 kazuya kawaguchi
20
20
  * Released under the MIT License.
21
- */const Bs="11.1.12";function Ds(){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 de={UNEXPECTED_RETURN_TYPE:qi,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 ft(e,...n){return lt(e,null,process.env.NODE_ENV!=="production"?{messages:Ps,args:n}:void 0)}const Ps={[de.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[de.INVALID_ARGUMENT]:"Invalid argument",[de.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[de.NOT_INSTALLED]:"Need to install with `app.use` function",[de.UNEXPECTED_ERROR]:"Unexpected error",[de.REQUIRED_VALUE]:"Required in value: {0}",[de.INVALID_VALUE]:"Invalid value",[de.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[de.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[de.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[de.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},mn=Pe("__translateVNode"),pn=Pe("__datetimeParts"),gn=Pe("__numberParts"),hn=Pe("__enableEmitter"),En=Pe("__disableEmitter"),$s=Pe("__setPluralRules"),ml=Pe("__injectWithOption"),_n=Pe("__dispose"),Te={FALLBACK_TO_ROOT:ss,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},Rs={[Te.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Te.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Te.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Te.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`,[Te.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Te.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function Bt(e,...n){return Mt(Rs[e],...n)}function mt(e){if(!K(e)||be(e))return e;for(const n in e)if(Se(e,n))if(!n.includes("."))K(e[n])&&mt(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]]=X()),!K(a[o[i]])){process.env.NODE_ENV!=="production"&&Ae(Bt(Te.IGNORE_OBJ_FLATTEN,{key:o[i]})),r=!0;break}a=a[o[i]]}if(r||(be(a)?Qo.includes(o[l])||delete e[n]:(a[o[l]]=e[n],delete e[n])),!be(a)){const i=a[o[l]];K(i)&&mt(i)}}return e}function pl(e,n){const{messages:o,__i18n:l,messageResolver:a,flatJson:r}=n,i=j(o)?o:ie(l)?X():{[e]:X()};if(ie(l)&&l.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(i[c]=i[c]||X(),Tt(u,i[c])):Tt(u,i)}else B(s)&&Tt(JSON.parse(s),i)}),a==null&&r)for(const s in i)Se(i,s)&&mt(i[s]);return i}function gl(e){return e.type}function Ms(e,n,o){let l=K(n.messages)?n.messages:X();"__i18nGlobal"in o&&(l=pl(e.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const a=Object.keys(l);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,l[r])});{if(K(n.datetimeFormats)){const r=Object.keys(n.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(K(n.numberFormats)){const r=Object.keys(n.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,n.numberFormats[i])})}}}function vo(e){return t.createVNode(t.Text,null,e,0)}const No="__INTLIFY_META__",So=()=>[],xs=()=>!1;let bo=0;function wo(e){return((n,o,l,a)=>e(o,l,t.getCurrentInstance()||void 0,a))}const Fs=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=gl(e)[No])?{[No]:n}:null};function Us(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:B(e.locale)?e.locale:Vt),c=r(n&&i?n.fallbackLocale.value:B(e.fallbackLocale)||ie(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=r(pl(s.value,e)),f=r(j(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),h=r(j(e.numberFormats)?e.numberFormats:{[s.value]:{}});let g=n?n.missingWarn:ae(e.missingWarn)||It(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:ae(e.fallbackWarn)||It(e.fallbackWarn)?e.fallbackWarn:!0,k=n?n.fallbackRoot:ae(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,E=ee(e.missing)?e.missing:null,m=ee(e.missing)?wo(e.missing):null,_=ee(e.postTranslation)?e.postTranslation:null,L=n?n.warnHtmlMessage:ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter;const V=n?n.modifiers:j(e.modifiers)?e.modifiers:{};let O=e.pluralRules||n&&n.pluralRules,w;w=(()=>{l&&fo(null);const C={version:Bs,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:V,pluralRules:O,missing:m===null?void 0:m,missingWarn:g,fallbackWarn:y,fallbackFormat:v,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:L,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=f.value,C.numberFormats=h.value,C.__datetimeFormatters=j(w)?w.__datetimeFormatters:void 0,C.__numberFormatters=j(w)?w.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(C.__v_emitter=j(w)?w.__v_emitter:void 0);const T=_s(C);return l&&fo(T),T})(),ct(w,s.value,c.value);function G(){return[s.value,c.value,u.value,f.value,h.value]}const oe=t.computed({get:()=>s.value,set:C=>{w.locale=C,s.value=C}}),ge=t.computed({get:()=>c.value,set:C=>{w.fallbackLocale=C,c.value=C,ct(w,s.value,C)}}),Z=t.computed(()=>u.value),$e=t.computed(()=>f.value),Xe=t.computed(()=>h.value);function $(){return ee(_)?_:null}function I(C){_=C,w.postTranslation=C}function U(){return E}function R(C){C!==null&&(m=wo(C)),E=C,w.missing=m}function Ie(C,T){return C!=="translate"||!T.resolvedMessage}const fe=(C,T,Y,re,He,yt)=>{G();let Ze;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(w.fallbackContext=n?Es():void 0),Ze=C(w)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(w.fallbackContext=void 0)}if(Y!=="translate exists"&&ce(Ze)&&Ze===Ft||Y==="translate exists"&&!Ze){const[ze,or]=T();if(process.env.NODE_ENV!=="production"&&n&&B(ze)&&Ie(Y,or)&&(k&&(Ut(y,ze)||al(g,ze))&&Ae(Bt(Te.FALLBACK_TO_ROOT,{key:ze,type:Y})),process.env.NODE_ENV!=="production")){const{__v_emitter:Wn}=w;Wn&&k&&Wn.emit("fallback",{type:Y,key:ze,to:"global",groupId:`${Y}:${ze}`})}return n&&k?re(n):He(ze)}else{if(yt(Ze))return Ze;throw ft(de.UNEXPECTED_RETURN_TYPE)}};function Fe(...C){return fe(T=>Reflect.apply(Co,null,[T,...C]),()=>fn(...C),"translate",T=>Reflect.apply(T.t,T,[...C]),T=>T,T=>B(T))}function Gt(...C){const[T,Y,re]=C;if(re&&!K(re))throw ft(de.INVALID_ARGUMENT);return Fe(T,Y,ue({resolvedMessage:!0},re||{}))}function Wt(...C){return fe(T=>Reflect.apply(go,null,[T,...C]),()=>un(...C),"datetime format",T=>Reflect.apply(T.d,T,[...C]),()=>Ot,T=>B(T)||ie(T))}function jt(...C){return fe(T=>Reflect.apply(Eo,null,[T,...C]),()=>dn(...C),"number format",T=>Reflect.apply(T.n,T,[...C]),()=>Ot,T=>B(T)||ie(T))}function Kt(C){return C.map(T=>B(T)||ce(T)||ae(T)?vo(String(T)):T)}const Yt={normalize:Kt,interpolate:C=>C,type:"vnode"};function Et(...C){return fe(T=>{let Y;const re=T;try{re.processor=Yt,Y=Reflect.apply(Co,null,[re,...C])}finally{re.processor=null}return Y},()=>fn(...C),"translate",T=>T[mn](...C),T=>[vo(T)],T=>ie(T))}function qt(...C){return fe(T=>Reflect.apply(Eo,null,[T,...C]),()=>dn(...C),"number format",T=>T[gn](...C),So,T=>B(T)||ie(T))}function _t(...C){return fe(T=>Reflect.apply(go,null,[T,...C]),()=>un(...C),"datetime format",T=>T[pn](...C),So,T=>B(T)||ie(T))}function Xt(C){O=C,w.pluralRules=O}function Zt(C,T){return fe(()=>{if(!C)return!1;const Y=B(T)?T:s.value,re=Ue(Y),He=w.messageResolver(re,C);return be(He)||Ne(He)||B(He)},()=>[C],"translate exists",Y=>Reflect.apply(Y.te,Y,[C,T]),xs,Y=>ae(Y))}function at(C){let T=null;const Y=el(w,c.value,s.value);for(let re=0;re<Y.length;re++){const He=u.value[Y[re]]||{},yt=w.messageResolver(He,C);if(yt!=null){T=yt;break}}return T}function it(C){const T=at(C);return T??(n?n.tm(C)||{}:{})}function Ue(C){return u.value[C]||{}}function st(C,T){if(a){const Y={[C]:T};for(const re in Y)Se(Y,re)&&mt(Y[re]);T=Y[C]}u.value[C]=T,w.messages=u.value}function Jt(C,T){u.value[C]=u.value[C]||{};const Y={[C]:T};if(a)for(const re in Y)Se(Y,re)&&mt(Y[re]);T=Y[C],Tt(T,u.value[C]),w.messages=u.value}function d(C){return f.value[C]||{}}function p(C,T){f.value[C]=T,w.datetimeFormats=f.value,ho(w,C,T)}function b(C,T){f.value[C]=ue(f.value[C]||{},T),w.datetimeFormats=f.value,ho(w,C,T)}function D(C){return h.value[C]||{}}function Q(C,T){h.value[C]=T,w.numberFormats=h.value,_o(w,C,T)}function le(C,T){h.value[C]=ue(h.value[C]||{},T),w.numberFormats=h.value,_o(w,C,T)}bo++,n&&De&&(t.watch(n.locale,C=>{i&&(s.value=C,w.locale=C,ct(w,s.value,c.value))}),t.watch(n.fallbackLocale,C=>{i&&(c.value=C,w.fallbackLocale=C,ct(w,s.value,c.value))}));const W={id:bo,locale:oe,fallbackLocale:ge,get inheritLocale(){return i},set inheritLocale(C){i=C,C&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,ct(w,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:Z,get modifiers(){return V},get pluralRules(){return O||{}},get isGlobal(){return l},get missingWarn(){return g},set missingWarn(C){g=C,w.missingWarn=g},get fallbackWarn(){return y},set fallbackWarn(C){y=C,w.fallbackWarn=y},get fallbackRoot(){return k},set fallbackRoot(C){k=C},get fallbackFormat(){return v},set fallbackFormat(C){v=C,w.fallbackFormat=v},get warnHtmlMessage(){return L},set warnHtmlMessage(C){L=C,w.warnHtmlMessage=C},get escapeParameter(){return N},set escapeParameter(C){N=C,w.escapeParameter=C},t:Fe,getLocaleMessage:Ue,setLocaleMessage:st,mergeLocaleMessage:Jt,getPostTranslationHandler:$,setPostTranslationHandler:I,getMissingHandler:U,setMissingHandler:R,[$s]:Xt};return W.datetimeFormats=$e,W.numberFormats=Xe,W.rt=Gt,W.te=Zt,W.tm=it,W.d=Wt,W.n=jt,W.getDateTimeFormat=d,W.setDateTimeFormat=p,W.mergeDateTimeFormat=b,W.getNumberFormat=D,W.setNumberFormat=Q,W.mergeNumberFormat=le,W[ml]=o,W[mn]=Et,W[pn]=_t,W[gn]=qt,process.env.NODE_ENV!=="production"&&(W[hn]=C=>{w.__v_emitter=C},W[En]=()=>{w.__v_emitter=void 0}),W}function Lo(e,n){}const Vn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Hs({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},X())}function hl(){return t.Fragment}ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ce(e)||!isNaN(e)}},Vn);function zs(e){return ie(e)&&!B(e[0])}function El(e,n,o,l){const{slots:a,attrs:r}=n;return()=>{const i={part:!0};let s=X();e.locale&&(i.locale=e.locale),B(e.format)?i.key=e.format:K(e.format)&&(B(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((g,y)=>o.includes(y)?ue(X(),g,{[y]:e.format[y]}):g,X()));const c=l(e.value,i,s);let u=[i.key];ie(c)?u=c.map((g,y)=>{const k=a[g.type],v=k?k({[g.type]:g.value,index:y,parts:c}):[g.value];return zs(v)&&(v[0].key=`${g.type}-${y}`),v}):B(c)&&(u=[c]);const f=ue(X(),r),h=B(e.tag)||K(e.tag)?e.tag:hl();return t.h(h,f,u)}}ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Vn);const Gs=Pe("global-vue-i18n");function gt(e={}){const n=t.getCurrentInstance();if(n==null)throw ft(de.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw ft(de.NOT_INSTALLED);const o=Ws(n),l=Ks(o),a=gl(n),r=js(e,a);if(r==="global")return Ms(l,e,a),l;if(r==="parent"){let c=Ys(o,n,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Ae(Bt(Te.NOT_FOUND_PARENT_SCOPE)),c=l),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=ue({},e);"__i18n"in a&&(c.__i18n=a.__i18n),l&&(c.__root=l),s=Us(c),i.__composerExtend&&(s[_n]=i.__composerExtend(s)),Xs(i,n,s),i.__setInstance(n,s)}else process.env.NODE_ENV!=="production"&&r==="local"&&Ae(Bt(Te.DUPLICATE_USE_I18N_CALLING));return s}function Ws(e){const n=t.inject(e.isCE?Gs:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw ft(e.isCE?de.NOT_INSTALLED_WITH_PROVIDE:de.UNEXPECTED_ERROR);return n}function js(e,n){return xt(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function Ks(e){return e.mode==="composition"?e.global:e.global.__composer}function Ys(e,n,o=!1){let l=null;const a=n.root;let r=qs(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[ml]&&(l=null))}if(l!=null||a===r)break;r=r.parent}return l}function qs(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function Xs(e,n,o){let l=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,l=ni();const a=o;a[hn]&&a[hn](l),l.on("*",Lo)}},n),t.onUnmounted(()=>{const a=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",Lo),a[En]&&a[En](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const r=a[_n];r&&(r(),delete a[_n])},n)}ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Vn);Ds();fs(Gi);ms(is);ps(el);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=je();e.__INTLIFY__=!0,Wi(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const q=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()=>{l.value?.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))}}),Zs=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 f=Ce(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(f=(n.theme==="dark"?Ce("--bs-gray-900"):Ce("--bs-black"))??f),n.variable&&(f=Ce(n.variable)??f),c=c.replace(/currentColor/g,f),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(q,{key:0,title:c.cls},{default:t.withCtx(()=>[t.createElementVNode("div",{class:"icon",style:t.normalizeStyle(a.value)},null,4)]),_:1},8,["title"]))],2))}}),On=P(Zs,[["__scopeId","data-v-23f8d853"]]),Js={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Qs=["aria-hidden","aria-label"],ec=["fill","width","height"],tc={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"},nc={key:0};function oc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",tc,[o.title?(t.openBlock(),t.createElementBlock("title",nc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ec))],16,Qs)}const _l=P(Js,[["render",oc]]),lc={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},rc=["aria-hidden","aria-label"],ac=["fill","width","height"],ic={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"},sc={key:0};function cc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ic,[o.title?(t.openBlock(),t.createElementBlock("title",sc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ac))],16,rc)}const uc=P(lc,[["render",cc]]),dc={class:"dependency-text d-flex flex-column flex-grow-1"},fc={class:"dependency-flow-text text-truncate"},mc={class:"dependency-namespace-text text-truncate"},pc={class:"text-white top-button-div"},gc=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:[S.EVENTS.EXPAND_DEPENDENCIES,S.EVENTS.OPEN_LINK,S.EVENTS.MOUSE_OVER,S.EVENTS.MOUSE_LEAVE],setup(e,{emit:n}){const o=n,{t:l}=gt(),a=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 Ds="11.1.12";function Ps(){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 de={UNEXPECTED_RETURN_TYPE:Xi,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 ft(e,...n){return lt(e,null,process.env.NODE_ENV!=="production"?{messages:$s,args:n}:void 0)}const $s={[de.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[de.INVALID_ARGUMENT]:"Invalid argument",[de.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[de.NOT_INSTALLED]:"Need to install with `app.use` function",[de.UNEXPECTED_ERROR]:"Unexpected error",[de.REQUIRED_VALUE]:"Required in value: {0}",[de.INVALID_VALUE]:"Invalid value",[de.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[de.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[de.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[de.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},mn=Pe("__translateVNode"),pn=Pe("__datetimeParts"),gn=Pe("__numberParts"),hn=Pe("__enableEmitter"),En=Pe("__disableEmitter"),Rs=Pe("__setPluralRules"),ml=Pe("__injectWithOption"),_n=Pe("__dispose"),Te={FALLBACK_TO_ROOT:cs,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_LEGACY_MODE:11,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:12,DUPLICATE_USE_I18N_CALLING:13},Ms={[Te.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Te.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Te.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Te.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`,[Te.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]:"'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",[Te.DUPLICATE_USE_I18N_CALLING]:"Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."};function Ot(e,...n){return Mt(Ms[e],...n)}function mt(e){if(!K(e)||be(e))return e;for(const n in e)if(Se(e,n))if(!n.includes("."))K(e[n])&&mt(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]]=X()),!K(a[o[i]])){process.env.NODE_ENV!=="production"&&Ae(Ot(Te.IGNORE_OBJ_FLATTEN,{key:o[i]})),r=!0;break}a=a[o[i]]}if(r||(be(a)?Qo.includes(o[l])||delete e[n]:(a[o[l]]=e[n],delete e[n])),!be(a)){const i=a[o[l]];K(i)&&mt(i)}}return e}function pl(e,n){const{messages:o,__i18n:l,messageResolver:a,flatJson:r}=n,i=j(o)?o:ie(l)?X():{[e]:X()};if(ie(l)&&l.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:c,resource:u}=s;c?(i[c]=i[c]||X(),Tt(u,i[c])):Tt(u,i)}else O(s)&&Tt(JSON.parse(s),i)}),a==null&&r)for(const s in i)Se(i,s)&&mt(i[s]);return i}function gl(e){return e.type}function xs(e,n,o){let l=K(n.messages)?n.messages:X();"__i18nGlobal"in o&&(l=pl(e.locale.value,{messages:l,__i18n:o.__i18nGlobal}));const a=Object.keys(l);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,l[r])});{if(K(n.datetimeFormats)){const r=Object.keys(n.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,n.datetimeFormats[i])})}if(K(n.numberFormats)){const r=Object.keys(n.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,n.numberFormats[i])})}}}function vo(e){return t.createVNode(t.Text,null,e,0)}const No="__INTLIFY_META__",So=()=>[],Fs=()=>!1;let bo=0;function wo(e){return((n,o,l,a)=>e(o,l,t.getCurrentInstance()||void 0,a))}const Us=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=gl(e)[No])?{[No]:n}:null};function Hs(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:Vt),c=r(n&&i?n.fallbackLocale.value:O(e.fallbackLocale)||ie(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),u=r(pl(s.value,e)),f=r(j(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),h=r(j(e.numberFormats)?e.numberFormats:{[s.value]:{}});let g=n?n.missingWarn:ae(e.missingWarn)||It(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:ae(e.fallbackWarn)||It(e.fallbackWarn)?e.fallbackWarn:!0,k=n?n.fallbackRoot:ae(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,E=ee(e.missing)?e.missing:null,m=ee(e.missing)?wo(e.missing):null,_=ee(e.postTranslation)?e.postTranslation:null,L=n?n.warnHtmlMessage:ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,N=!!e.escapeParameter;const V=n?n.modifiers:j(e.modifiers)?e.modifiers:{};let B=e.pluralRules||n&&n.pluralRules,w;w=(()=>{l&&fo(null);const C={version:Ds,locale:s.value,fallbackLocale:c.value,messages:u.value,modifiers:V,pluralRules:B,missing:m===null?void 0:m,missingWarn:g,fallbackWarn:y,fallbackFormat:v,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:L,escapeParameter:N,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=f.value,C.numberFormats=h.value,C.__datetimeFormatters=j(w)?w.__datetimeFormatters:void 0,C.__numberFormatters=j(w)?w.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(C.__v_emitter=j(w)?w.__v_emitter:void 0);const T=ys(C);return l&&fo(T),T})(),ct(w,s.value,c.value);function G(){return[s.value,c.value,u.value,f.value,h.value]}const oe=t.computed({get:()=>s.value,set:C=>{w.locale=C,s.value=C}}),ge=t.computed({get:()=>c.value,set:C=>{w.fallbackLocale=C,c.value=C,ct(w,s.value,C)}}),Z=t.computed(()=>u.value),$e=t.computed(()=>f.value),Xe=t.computed(()=>h.value);function $(){return ee(_)?_:null}function I(C){_=C,w.postTranslation=C}function U(){return E}function R(C){C!==null&&(m=wo(C)),E=C,w.missing=m}function Ie(C,T){return C!=="translate"||!T.resolvedMessage}const fe=(C,T,Y,re,He,yt)=>{G();let Ze;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(w.fallbackContext=n?_s():void 0),Ze=C(w)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(w.fallbackContext=void 0)}if(Y!=="translate exists"&&ce(Ze)&&Ze===Ft||Y==="translate exists"&&!Ze){const[ze,or]=T();if(process.env.NODE_ENV!=="production"&&n&&O(ze)&&Ie(Y,or)&&(k&&(Ut(y,ze)||al(g,ze))&&Ae(Ot(Te.FALLBACK_TO_ROOT,{key:ze,type:Y})),process.env.NODE_ENV!=="production")){const{__v_emitter:Wn}=w;Wn&&k&&Wn.emit("fallback",{type:Y,key:ze,to:"global",groupId:`${Y}:${ze}`})}return n&&k?re(n):He(ze)}else{if(yt(Ze))return Ze;throw ft(de.UNEXPECTED_RETURN_TYPE)}};function Fe(...C){return fe(T=>Reflect.apply(Co,null,[T,...C]),()=>fn(...C),"translate",T=>Reflect.apply(T.t,T,[...C]),T=>T,T=>O(T))}function Gt(...C){const[T,Y,re]=C;if(re&&!K(re))throw ft(de.INVALID_ARGUMENT);return Fe(T,Y,ue({resolvedMessage:!0},re||{}))}function Wt(...C){return fe(T=>Reflect.apply(go,null,[T,...C]),()=>un(...C),"datetime format",T=>Reflect.apply(T.d,T,[...C]),()=>Bt,T=>O(T)||ie(T))}function jt(...C){return fe(T=>Reflect.apply(Eo,null,[T,...C]),()=>dn(...C),"number format",T=>Reflect.apply(T.n,T,[...C]),()=>Bt,T=>O(T)||ie(T))}function Kt(C){return C.map(T=>O(T)||ce(T)||ae(T)?vo(String(T)):T)}const Yt={normalize:Kt,interpolate:C=>C,type:"vnode"};function Et(...C){return fe(T=>{let Y;const re=T;try{re.processor=Yt,Y=Reflect.apply(Co,null,[re,...C])}finally{re.processor=null}return Y},()=>fn(...C),"translate",T=>T[mn](...C),T=>[vo(T)],T=>ie(T))}function qt(...C){return fe(T=>Reflect.apply(Eo,null,[T,...C]),()=>dn(...C),"number format",T=>T[gn](...C),So,T=>O(T)||ie(T))}function _t(...C){return fe(T=>Reflect.apply(go,null,[T,...C]),()=>un(...C),"datetime format",T=>T[pn](...C),So,T=>O(T)||ie(T))}function Xt(C){B=C,w.pluralRules=B}function Zt(C,T){return fe(()=>{if(!C)return!1;const Y=O(T)?T:s.value,re=Ue(Y),He=w.messageResolver(re,C);return be(He)||Ne(He)||O(He)},()=>[C],"translate exists",Y=>Reflect.apply(Y.te,Y,[C,T]),Fs,Y=>ae(Y))}function at(C){let T=null;const Y=el(w,c.value,s.value);for(let re=0;re<Y.length;re++){const He=u.value[Y[re]]||{},yt=w.messageResolver(He,C);if(yt!=null){T=yt;break}}return T}function it(C){const T=at(C);return T??(n?n.tm(C)||{}:{})}function Ue(C){return u.value[C]||{}}function st(C,T){if(a){const Y={[C]:T};for(const re in Y)Se(Y,re)&&mt(Y[re]);T=Y[C]}u.value[C]=T,w.messages=u.value}function Jt(C,T){u.value[C]=u.value[C]||{};const Y={[C]:T};if(a)for(const re in Y)Se(Y,re)&&mt(Y[re]);T=Y[C],Tt(T,u.value[C]),w.messages=u.value}function d(C){return f.value[C]||{}}function p(C,T){f.value[C]=T,w.datetimeFormats=f.value,ho(w,C,T)}function b(C,T){f.value[C]=ue(f.value[C]||{},T),w.datetimeFormats=f.value,ho(w,C,T)}function P(C){return h.value[C]||{}}function Q(C,T){h.value[C]=T,w.numberFormats=h.value,_o(w,C,T)}function le(C,T){h.value[C]=ue(h.value[C]||{},T),w.numberFormats=h.value,_o(w,C,T)}bo++,n&&De&&(t.watch(n.locale,C=>{i&&(s.value=C,w.locale=C,ct(w,s.value,c.value))}),t.watch(n.fallbackLocale,C=>{i&&(c.value=C,w.fallbackLocale=C,ct(w,s.value,c.value))}));const W={id:bo,locale:oe,fallbackLocale:ge,get inheritLocale(){return i},set inheritLocale(C){i=C,C&&n&&(s.value=n.locale.value,c.value=n.fallbackLocale.value,ct(w,s.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:Z,get modifiers(){return V},get pluralRules(){return B||{}},get isGlobal(){return l},get missingWarn(){return g},set missingWarn(C){g=C,w.missingWarn=g},get fallbackWarn(){return y},set fallbackWarn(C){y=C,w.fallbackWarn=y},get fallbackRoot(){return k},set fallbackRoot(C){k=C},get fallbackFormat(){return v},set fallbackFormat(C){v=C,w.fallbackFormat=v},get warnHtmlMessage(){return L},set warnHtmlMessage(C){L=C,w.warnHtmlMessage=C},get escapeParameter(){return N},set escapeParameter(C){N=C,w.escapeParameter=C},t:Fe,getLocaleMessage:Ue,setLocaleMessage:st,mergeLocaleMessage:Jt,getPostTranslationHandler:$,setPostTranslationHandler:I,getMissingHandler:U,setMissingHandler:R,[Rs]:Xt};return W.datetimeFormats=$e,W.numberFormats=Xe,W.rt=Gt,W.te=Zt,W.tm=it,W.d=Wt,W.n=jt,W.getDateTimeFormat=d,W.setDateTimeFormat=p,W.mergeDateTimeFormat=b,W.getNumberFormat=P,W.setNumberFormat=Q,W.mergeNumberFormat=le,W[ml]=o,W[mn]=Et,W[pn]=_t,W[gn]=qt,process.env.NODE_ENV!=="production"&&(W[hn]=C=>{w.__v_emitter=C},W[En]=()=>{w.__v_emitter=void 0}),W}function Lo(e,n){}const Vn={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function zs({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},X())}function hl(){return t.Fragment}ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ce(e)||!isNaN(e)}},Vn);function Gs(e){return ie(e)&&!O(e[0])}function El(e,n,o,l){const{slots:a,attrs:r}=n;return()=>{const i={part:!0};let s=X();e.locale&&(i.locale=e.locale),O(e.format)?i.key=e.format:K(e.format)&&(O(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((g,y)=>o.includes(y)?ue(X(),g,{[y]:e.format[y]}):g,X()));const c=l(e.value,i,s);let u=[i.key];ie(c)?u=c.map((g,y)=>{const k=a[g.type],v=k?k({[g.type]:g.value,index:y,parts:c}):[g.value];return Gs(v)&&(v[0].key=`${g.type}-${y}`),v}):O(c)&&(u=[c]);const f=ue(X(),r),h=O(e.tag)||K(e.tag)?e.tag:hl();return t.h(h,f,u)}}ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Vn);const Ws=Pe("global-vue-i18n");function gt(e={}){const n=t.getCurrentInstance();if(n==null)throw ft(de.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw ft(de.NOT_INSTALLED);const o=js(n),l=Ys(o),a=gl(n),r=Ks(e,a);if(r==="global")return xs(l,e,a),l;if(r==="parent"){let c=qs(o,n,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Ae(Ot(Te.NOT_FOUND_PARENT_SCOPE)),c=l),c}const i=o;let s=i.__getInstance(n);if(s==null){const c=ue({},e);"__i18n"in a&&(c.__i18n=a.__i18n),l&&(c.__root=l),s=Hs(c),i.__composerExtend&&(s[_n]=i.__composerExtend(s)),Zs(i,n,s),i.__setInstance(n,s)}else process.env.NODE_ENV!=="production"&&r==="local"&&Ae(Ot(Te.DUPLICATE_USE_I18N_CALLING));return s}function js(e){const n=t.inject(e.isCE?Ws:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw ft(e.isCE?de.NOT_INSTALLED_WITH_PROVIDE:de.UNEXPECTED_ERROR);return n}function Ks(e,n){return xt(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function Ys(e){return e.mode==="composition"?e.global:e.global.__composer}function qs(e,n,o=!1){let l=null;const a=n.root;let r=Xs(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[ml]&&(l=null))}if(l!=null||a===r)break;r=r.parent}return l}function Xs(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function Zs(e,n,o){let l=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=o,l=oi();const a=o;a[hn]&&a[hn](l),l.on("*",Lo)}},n),t.onUnmounted(()=>{const a=o;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",Lo),a[En]&&a[En](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const r=a[_n];r&&(r(),delete a[_n])},n)}ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Vn);Ps();ms(Wi);ps(ss);gs(el);if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=je();e.__INTLIFY__=!0,ji(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const q=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()=>{l.value?.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))}}),Js=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 f=Ce(u?"--bs-gray-900":"--bs-black")??"#FFFFFF";return n.theme&&(f=(n.theme==="dark"?Ce("--bs-gray-900"):Ce("--bs-black"))??f),n.variable&&(f=Ce(n.variable)??f),c=c.replace(/currentColor/g,f),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(q,{key:0,title:c.cls},{default:t.withCtx(()=>[t.createElementVNode("div",{class:"icon",style:t.normalizeStyle(a.value)},null,4)]),_:1},8,["title"]))],2))}}),Bn=D(Js,[["__scopeId","data-v-23f8d853"]]),Qs={name:"OpenInNewIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ec=["aria-hidden","aria-label"],tc=["fill","width","height"],nc={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"},oc={key:0};function lc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",nc,[o.title?(t.openBlock(),t.createElementBlock("title",oc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,tc))],16,ec)}const _l=D(Qs,[["render",lc]]),rc={name:"ArrowExpandAllIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ac=["aria-hidden","aria-label"],ic=["fill","width","height"],sc={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"},cc={key:0};function uc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",sc,[o.title?(t.openBlock(),t.createElementBlock("title",cc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ic))],16,ac)}const dc=D(rc,[["render",uc]]),fc={class:"dependency-text d-flex flex-column flex-grow-1"},mc={class:"dependency-flow-text text-truncate"},pc={class:"dependency-namespace-text text-truncate"},gc={class:"text-white top-button-div"},hc=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:[S.EVENTS.EXPAND_DEPENDENCIES,S.EVENTS.OPEN_LINK,S.EVENTS.MOUSE_OVER,S.EVENTS.MOUSE_LEAVE],setup(e,{emit:n}){const o=n,{t:l}=gt(),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(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(On,{"custom-icon":{icon:a.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),t.createElementVNode("div",dc,[t.createElementVNode("div",fc,[t.createVNode(q,{title:e.data.flowId},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.flowId),1)]),_:1},8,["title"])]),t.createElementVNode("div",mc,[t.createVNode(q,{title:e.data.namespace},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.namespace),1)]),_:1},8,["title"])])]),t.createElementVNode("div",pc,[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(S.EVENTS).OPEN_LINK,e.data))},[t.createVNode(q,{title:t.unref(l)("open")},{default:t.withCtx(()=>[t.createVNode(_l,{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(S.EVENTS).EXPAND_DEPENDENCIES,e.data))},[t.createVNode(q,{title:t.unref(l)("expand")},{default:t.withCtx(()=>[t.createVNode(uc,{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))}}),hc=P(gc,[["__scopeId","data-v-2271d5b0"]]);var Be=(e=>(e.Lines="lines",e.Dots="dots",e))(Be||{});const yl=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]}`})},kl=function({radius:e,color:n}){return t.h("circle",{cx:e,cy:e,r:e,fill:n})};Be.Lines+"",Be.Dots+"";const Ec={[Be.Dots]:"#81818a",[Be.Lines]:"#eee"},_c=["id","x","y","width","height","patternTransform"],yc={key:2,height:"100",width:"100"},kc=["fill"],Cc=["x","y","fill"],vc={name:"Background",compatConfig:{MODE:3}},Nc=t.defineComponent({...vc,props:{id:{},variant:{default:()=>Be.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:0}},setup(e){const{id:n,viewport:o}=ne.useVueFlow(),l=t.computed(()=>{const i=o.value.zoom,[s,c]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],u=[s*i||1,c*i||1],f=e.size*i,[h,g]=Array.isArray(e.offset)?e.offset:[e.offset,e.offset],y=[h*i||1+u[0]/2,g*i||1+u[1]/2];return{scaledGap:u,offset:y,size:f}}),a=t.toRef(()=>`pattern-${n}${e.id?`-${e.id}`:""}`),r=t.toRef(()=>e.color||e.patternColor||Ec[e.variant||Be.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(Be).Lines?(t.openBlock(),t.createBlock(t.unref(yl),{key:0,size:i.lineWidth,color:r.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):i.variant===t.unref(Be).Dots?(t.openBlock(),t.createBlock(t.unref(kl),{key:1,color:r.value,radius:l.value.size/2},null,8,["color","radius"])):t.createCommentVNode("",!0),i.bgColor?(t.openBlock(),t.createElementBlock("svg",yc,[t.createElementVNode("rect",{width:"100%",height:"100%",fill:i.bgColor},null,8,kc)])):t.createCommentVNode("",!0)])],8,_c)]),t.createElementVNode("rect",{x:i.x,y:i.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,Cc),t.renderSlot(i.$slots,"default",{id:a.value})],4))}}),Sc={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},bc=["aria-hidden","aria-label"],wc=["fill","width","height"],Lc={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},Tc={key:0};function Ac(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Lc,[o.title?(t.openBlock(),t.createElementBlock("title",Tc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,wc))],16,bc)}const Ic=P(Sc,[["render",Ac]]),Vc={class:"top-button-div text-white d-flex"},Oc={inheritAttrs:!1,components:{Tooltip:q},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){const e=this.data.taskNode;if(e?.type?.endsWith("SubflowGraphTask")){const n=e.task.subflowId??e.task;return n.namespace+" "+n.flowId}return S.Utils.afterLastDot(this.id)}}},Bc=Object.assign(Oc,{__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:[S.EVENTS.COLLAPSE],setup(e,{emit:n}){const o=e,l=n,a=()=>{l(S.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(q,{title:r.$t("collapse")},{default:t.withCtx(()=>[t.createVNode(Ic,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)])],2))}}),Dc=P(Bc,[["__scopeId","data-v-0c251e77"]]),Pc={name:"CircleIcon",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:"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"},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:"true","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",Mc,[o.title?(t.openBlock(),t.createElementBlock("title",xc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Rc))],16,$c)}const Cl=P(Pc,[["render",Fc]]),Uc={name:"Dot",components:{Handle:ne.Handle,CircleIcon:Cl},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,[S.Utils.afterLastDot(this.data.node.type)]:!0}}}},Hc=Object.assign(Uc,{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(Cl,{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))}}),zc=P(Hc,[["__scopeId","data-v-666f472b"]]),Gc={name:"PlusIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wc=["aria-hidden","aria-label"],jc=["fill","width","height"],Kc={d:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},Yc={key:0};function qc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Kc,[o.title?(t.openBlock(),t.createElementBlock("title",Yc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,jc))],16,Wc)}const Xc=P(Gc,[["render",qc]]),Zc={class:"add-task-div rounded d-flex justify-content-center align-items-center"},Jc=t.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",Zc,[n.addTask?(t.openBlock(),t.createBlock(Xc,{key:0,alt:"add task icon"})):t.createCommentVNode("",!0)]))}}),Qc=P(Jc,[["__scopeId","data-v-536dd646"]]),eu=["id","d","marker-end"],tu=t.defineComponent({inheritAttrs:!1,__name:"EdgeNode",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}},setup(e){const n=e,o=t.computed(()=>n.data?{"vue-flow__edge-path":!0,["stroke-"+n.data.color]:n.data.color,"unused-path":n.data.unused}:{});let l=i=>i;try{const{t:i}=gt();l=i}catch{}const a=t.computed(()=>{const{haveAdd:i}=n.data??{};return`${l("add task")} ${i?.length===2?`${l(i[1])} ${i[0]}`:""}`.trim()}),r=t.computed(()=>ne.getSmoothStepPath(n));return(i,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[r.value?.length?(t.openBlock(),t.createElementBlock("path",{key:0,id:e.id,class:t.normalizeClass(o.value),style:t.normalizeStyle(e.data.haveDashArray?{strokeDasharray:"2"}:{}),d:r.value[0],"marker-end":e.markerEnd},null,14,eu)):t.createCommentVNode("",!0),r.value?.length?(t.openBlock(),t.createBlock(t.unref(ne.EdgeLabelRenderer),{key:1,style:{"z-index":"10"}},{default:t.withCtx(()=>[t.createElementVNode("div",{style:t.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${r.value[1]}px,${r.value[2]}px)`})},[t.createVNode(q,{title:a.value},{default:t.withCtx(()=>[e.data.haveAdd?(t.openBlock(),t.createBlock(Qc,{key:0,"add-task":!0,onClick:s[0]||(s[0]=c=>i.$emit(t.unref(S.EVENTS).ADD_TASK,e.data.haveAdd)),class:t.normalizeClass({"text-danger":e.data.color})},null,8,["class"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})):t.createCommentVNode("",!0)],64))}}),nu=P(tu,[["__scopeId","data-v-5e05a3ec"]]),ou=["innerHTML"],lu=t.defineComponent({__name:"Duration",props:{histories:{}},setup(e){const n=e;t.watch(()=>n.histories,(y,k)=>{k[0].date!==y[0].date&&s()});const o=t.ref(""),l=t.ref();t.onMounted(()=>{s()});const a=t.computed(()=>n.histories?.length&&new Date(n.histories[0].date.toString()).getTime()),r=t.computed(()=>n.histories[n.histories.length-1]),i=t.computed(()=>n.histories.filter(y=>y.date.isValid()&&y.date&&y.state));function s(){l.value||(l.value=setInterval(()=>{h(),n.histories&&!te.isRunning(r.value.state)&&c()},100))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){return f()-a.value}function f(){return!n.histories||te.isRunning(r.value.state)?+new Date:new Date(r.value.date.toString()).getTime()}function h(){o.value=i.value.length===0?"&nbsp;":S.humanDuration(u()/1e3)}function g(y){return"ks-duration-tt-square-"+y.toLowerCase()}return t.onBeforeUnmount(()=>{c()}),(y,k)=>(t.openBlock(),t.createBlock(q,{key:r.value.date.toString()},{content:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,(v,E)=>(t.openBlock(),t.createElementBlock("span",{key:"tt-"+E,class:"ks-duration-tt"},[t.createElementVNode("span",{class:t.normalizeClass(["ks-duration-tt-square",g(v.state)])},null,2),t.createElementVNode("strong",null,t.toDisplayString(v.state)+": ",1),t.createTextVNode(t.toDisplayString(S.dateFilter(v.date.toISOString(),"iso"))+" ",1),k[0]||(k[0]=t.createElementVNode("br",null,null,-1))]))),128))]),default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:o.value},null,8,ou)]),_:1}))}}),ru={class:"btn-group content rounded-1 content-children text-truncate"},au={key:0,class:"taskRunCount"},iu={key:1},su={key:2},cu=t.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{},state:{}},setup(e){const n=e,o=t.computed(()=>n.execution?.taskRunList?n.execution.taskRunList:[]),l=t.computed(()=>o.value.filter(r=>r.taskId===S.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=>en.duration(s.state.duration).asMilliseconds()/1e3,0));return[{date:en(r).subtract(i,"second"),state:"CREATED"},{date:en(r),state:n.state}]});return(r,i)=>(t.openBlock(),t.createElementBlock("div",ru,[l.value.length>0?(t.openBlock(),t.createElementBlock("span",au,t.toDisplayString(l.value.length)+" task runs",1)):t.createCommentVNode("",!0),l.value.length>0?(t.openBlock(),t.createElementBlock("span",iu," | ")):t.createCommentVNode("",!0),a.value?(t.openBlock(),t.createElementBlock("span",su,[t.createVNode(lu,{histories:a.value},null,8,["histories"])])):t.createCommentVNode("",!0)]))}}),uu=P(cu,[["__scopeId","data-v-96fa5d6e"]]),du={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fu=["aria-hidden","aria-label"],mu=["fill","width","height"],pu={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"},gu={key:0};function hu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",pu,[o.title?(t.openBlock(),t.createElementBlock("title",gu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,mu))],16,fu)}const Eu=P(du,[["render",hu]]),_u={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yu=["aria-hidden","aria-label"],ku=["fill","width","height"],Cu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},vu={key:0};function Nu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Cu,[o.title?(t.openBlock(),t.createElementBlock("title",vu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ku))],16,yu)}const Bn=P(_u,[["render",Nu]]),Su={class:"icon rounded"},bu={class:"node-content"},wu={class:"d-flex node-title"},Lu={class:"text-truncate task-title"},Tu={key:0,class:"d-flex"},Au={class:"text-white top-button-div"},Iu=t.defineComponent({name:"BasicNode",inheritAttrs:!1,__name:"BasicNode",props:{id:{},title:{},type:{},disabled:{type:Boolean},state:{},data:{},icons:{},iconComponent:{},class:{}},emits:[S.EVENTS.EXPAND,S.EVENTS.OPEN_LINK,S.EVENTS.SHOW_LOGS,S.EVENTS.MOUSE_OVER,S.EVENTS.MOUSE_LEAVE,S.EVENTS.ADD_ERROR,S.EVENTS.EDIT,S.EVENTS.DELETE,S.EVENTS.ADD_TASK,S.EVENTS.SHOW_DESCRIPTION],setup(e,{emit:n}){const o=n,l=e;function a(){o(S.EVENTS.MOUSE_OVER,l.data.node)}function r(){o(S.EVENTS.MOUSE_LEAVE)}const i=t.computed(()=>l.data?.expandable||!1),s=t.computed(()=>l.data.node?.plugin??l.data.node?.task??l.data.node?.trigger??null),c=t.computed(()=>s.value?.description??null),u=t.computed(()=>S.Utils.afterLastDot(l.id??"")),f=t.computed(()=>["default","danger"].includes(l.data.color)?"":l.data.color),h=t.computed(()=>[{"unused-path":l.data.unused,disabled:s.value?.disabled||l.data.parent?.taskNode?.task?.disabled},l.class]),g=t.computed(()=>{if(l.data.node.triggerDeclaration)return l.data.node.triggerDeclaration.type;if(s.value)return s.value?.type}),y=t.computed(()=>{if(s.value?.type?.endsWith("SubflowGraphTask")){const v=s.value.subflowId??s.value;return v.namespace+" "+v.flowId}return u.value}),k=t.computed(()=>l.title??u.value);return(v,E)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["node-wrapper rounded-3",{...h.value,"running-border-animation":v.state==="RUNNING"}]),style:t.normalizeStyle({borderColor:v.state?`var(--ks-border-${v.state.toLowerCase()})`:void 0}),onMouseover:a,onMouseleave:r},[t.createElementVNode("div",Su,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(v.iconComponent||On),{cls:g.value,class:t.normalizeClass([f.value,"rounded bg-white"]),theme:"light",icons:v.icons},null,8,["cls","class","icons"]))]),t.createElementVNode("div",bu,[t.createElementVNode("div",wu,[t.createElementVNode("div",Lu,[t.createVNode(q,{title:y.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(k.value),1)]),_:1},8,["title"])]),c.value?(t.openBlock(),t.createElementBlock("span",Tu,[t.createVNode(q,{title:v.$t("show description"),class:"d-flex align-items-center"},{default:t.withCtx(()=>[t.createVNode(Eu,{onClick:E[0]||(E[0]=m=>v.$emit(t.unref(S.EVENTS).SHOW_DESCRIPTION,{id:u.value,description:c.value})),class:"description-button ms-2"})]),_:1},8,["title"])])):t.createCommentVNode("",!0)]),t.renderSlot(v.$slots,"content",{},void 0,!0)]),t.createElementVNode("div",Au,[t.renderSlot(v.$slots,"badge-button-before",{},void 0,!0),v.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${v.data.color}`]]),onClick:E[1]||(E[1]=m=>v.$emit(t.unref(S.EVENTS).OPEN_LINK,{link:v.data.link}))},[t.createVNode(q,{title:v.$t("open")},{default:t.withCtx(()=>[t.createVNode(_l,{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-${v.data.color}`]]),onClick:E[2]||(E[2]=m=>v.$emit(t.unref(S.EVENTS).EXPAND))},[t.createVNode(q,{title:v.$t("expand")},{default:t.withCtx(()=>[t.createVNode(Bn,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(v.$slots,"badge-button-after",{},void 0,!0)])],38))}}),Dn=P(Iu,[["__scopeId","data-v-fafddf6d"]]),Pn=Symbol("execution-injection-key"),vl=Symbol("subflows-executions-injection-key"),Vu={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ou=["aria-hidden","aria-label"],Bu=["fill","width","height"],Du={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"},Pu={key:0};function $u(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Du,[o.title?(t.openBlock(),t.createElementBlock("title",Pu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Bu))],16,Ou)}const $n=P(Vu,[["render",$u]]),Ru={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mu=["aria-hidden","aria-label"],xu=["fill","width","height"],Fu={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},Uu={key:0};function Hu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Fu,[o.title?(t.openBlock(),t.createElementBlock("title",Uu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,xu))],16,Mu)}const Rn=P(Ru,[["render",Hu]]),zu={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Gu=["aria-hidden","aria-label"],Wu=["fill","width","height"],ju={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"},Ku={key:0};function Yu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ju,[o.title?(t.openBlock(),t.createElementBlock("title",Ku,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Wu))],16,Gu)}const qu=P(zu,[["render",Yu]]),Xu={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zu=["aria-hidden","aria-label"],Ju=["fill","width","height"],Qu={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},ed={key:0};function td(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Qu,[o.title?(t.openBlock(),t.createElementBlock("title",ed,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Ju))],16,Zu)}const nd=P(Xu,[["render",td]]),od={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ld=["aria-hidden","aria-label"],rd=["fill","width","height"],ad={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"},id={key:0};function sd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ad,[o.title?(t.openBlock(),t.createElementBlock("title",id,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,rd))],16,ld)}const cd=P(od,[["render",sd]]),ud={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},dd=["aria-hidden","aria-label"],fd=["fill","width","height"],md={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},pd={key:0};function gd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",md,[o.title?(t.openBlock(),t.createElementBlock("title",pd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,fd))],16,dd)}const hd=P(ud,[["render",gd]]),Ed={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},_d=["aria-hidden","aria-label"],yd=["fill","width","height"],kd={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},Cd={key:0};function vd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",kd,[o.title?(t.openBlock(),t.createElementBlock("title",Cd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,yd))],16,_d)}const Nl=P(Ed,[["render",vd]]),Nd={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sd=["aria-hidden","aria-label"],bd=["fill","width","height"],wd={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},Ld={key:0};function Td(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",wd,[o.title?(t.openBlock(),t.createElementBlock("title",Ld,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,bd))],16,Sd)}const Mn=P(Nd,[["render",Td]]),Ad={name:"SkipForwardIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Id=["aria-hidden","aria-label"],Vd=["fill","width","height"],Od={d:"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},Bd={key:0};function Dd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Od,[o.title?(t.openBlock(),t.createElementBlock("title",Bd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Vd))],16,Id)}const Pd=P(Ad,[["render",Dd]]),$d=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(Pn),r=t.inject(vl),i=t.computed(()=>o.data.color??"primary"),s=t.computed(()=>S.Utils.afterLastDot(o.id)),c=t.computed(()=>{const E=o.data.executionId;if(E)return E===a?.value?.id?a?.value:Object.values(r?.value||{}).find(m=>m.id===E)}),u=t.computed(()=>c.value&&c.value.taskRunList?c.value.taskRunList:[]),f=t.computed(()=>u.value.filter(E=>E.taskId===S.Utils.afterLastDot(o.data.node.uid))),h=t.computed(()=>{if(!f.value?.length)return null;if(f.value.length===1)return f.value[0].state.current;const E=f.value.map(L=>L.state.current),m=[te.FAILED,te.KILLED,te.WARNING,te.SKIPPED,te.KILLING,te.RUNNING,te.SUCCESS,te.RESTARTED,te.CREATED];return E.map(L=>[m.indexOf(L[1]),L]).sort().map(L=>L[1])[0]}),g=t.computed(()=>({"execution-no-taskrun":!!(c.value&&f.value&&f.value.length===0)})),y=t.computed(()=>({id:o.id,type:String(o.data.node.task.type)})),k=t.computed(()=>{if(o.data.node.type?.endsWith("SubflowGraphTask")&&o.enableSubflowInteraction){const E=o.data.node.task.subflowId??o.data.node.task;return{...o.data,link:{namespace:E.namespace,id:E.flowId,executionId:c.value?.taskRunList.filter(m=>m.id===o.data.node.taskRun.id&&m.outputs?.executionId)?.[0]?.outputs?.executionId}}}return o.data}),v=t.computed(()=>{if(h.value===te.RUNNING)return"task is running";if(h.value===te.SUCCESS)return"task was successful";if(h.value===te.WARNING)return"task sent a warning";if(h.value===te.SKIPPED)return"task was skipped";if(h.value===te.FAILED)return"task failed"});return(E,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.Handle),{type:"source",position:E.sourcePosition},null,8,["position"]),t.createVNode(Dn,{id:E.id,data:k.value,state:h.value,class:t.normalizeClass(g.value),icons:E.icons,"icon-component":E.iconComponent,onShowDescription:m[6]||(m[6]=_=>l(t.unref(S.EVENTS).SHOW_DESCRIPTION,_)),onExpand:m[7]||(m[7]=_=>l(t.unref(S.EVENTS).EXPAND,y.value)),onOpenLink:m[8]||(m[8]=_=>l(t.unref(S.EVENTS).OPEN_LINK,_)),onMouseover:m[9]||(m[9]=_=>l(t.unref(S.EVENTS).MOUSE_OVER,_)),onMouseleave:m[10]||(m[10]=_=>l(t.unref(S.EVENTS).MOUSE_LEAVE))},{content:t.withCtx(()=>[c.value?(t.openBlock(),t.createBlock(uu,{key:0,execution:c.value,task:E.data.node.task,color:i.value,uid:E.data.node.uid,state:h.value},null,8,["execution","task","color","uid","state"])):t.createCommentVNode("",!0),E.data.node.task?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[E.playgroundEnabled&&E.playgroundReadyToStart?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"playground-button",onClick:m[0]||(m[0]=_=>l(t.unref(S.EVENTS).RUN_TASK,{task:E.data.node.task}))},[t.createVNode(q,{style:{display:"flex"},title:E.$t("run task in playground")},{default:t.withCtx(()=>[t.createVNode(hd,{class:"button-play-icon",alt:E.$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-${h.value?.toLowerCase()})`,backgroundColor:`var(--ks-background-${h.value?.toLowerCase()})`})},[t.createVNode(q,{style:{display:"flex"},title:v.value?E.$t(v.value):void 0},{default:t.withCtx(()=>[h.value===t.unref(te).RUNNING?(t.openBlock(),t.createBlock(zo,{key:0,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).SUCCESS?(t.openBlock(),t.createBlock(Nl,{key:1,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).WARNING?(t.openBlock(),t.createBlock(Mn,{key:2,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).SKIPPED?(t.openBlock(),t.createBlock(Pd,{key:3,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).FAILED?(t.openBlock(),t.createBlock(At,{key:4,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4))],64)):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:m[1]||(m[1]=_=>l(t.unref(S.EVENTS).SHOW_CONDITION,{id:s.value,task:E.data.node.task,section:t.unref(S.SECTIONS).TASKS}))},[t.createVNode(q,{title:E.$t("show task condition")},{default:t.withCtx(()=>[t.createVNode(cd,{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:m[2]||(m[2]=_=>l(t.unref(S.EVENTS).SHOW_LOGS,{id:s.value,execution:c.value,taskRuns:f.value}))},[t.createVNode(q,{title:E.$t("show task logs")},{default:t.withCtx(()=>[t.createVNode(qu,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly&&E.data.isFlowable?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[3]||(m[3]=_=>l(t.unref(S.EVENTS).ADD_ERROR,{task:E.data.node.task}))},[t.createVNode(q,{title:E.$t("add error handler")},{default:t.withCtx(()=>[t.createVNode(nd,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:3,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[4]||(m[4]=_=>l(t.unref(S.EVENTS).EDIT,{task:E.data.node.task,section:t.unref(S.SECTIONS).TASKS}))},[t.createVNode(q,{title:E.$t("edit")},{default:t.withCtx(()=>[t.createVNode($n,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:4,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[5]||(m[5]=_=>l(t.unref(S.EVENTS).DELETE,{id:s.value,section:t.unref(S.SECTIONS).TASKS}))},[t.createVNode(q,{title:E.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Rn,{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:E.targetPosition},null,8,["position"])],64))}}),Rd=P($d,[["__scopeId","data-v-3bf9185b"]]),Md={name:"Task",inheritAttrs:!1,inject:{execution:{from:Pn}},computed:{SECTIONS(){return S.SECTIONS},EVENTS(){return S.EVENTS},color(){return this.data.color??"primary"},formattedData(){return{...this.data,unused:this.data.node?.triggerDeclaration?.disabled||this.data.node?.trigger?.disabled}},triggerId(){return S.Utils.afterLastDot(this.id)}},emits:[S.EVENTS.DELETE,S.EVENTS.EDIT,S.EVENTS.SHOW_DESCRIPTION],components:{Delete:Rn,Pencil:$n,Handle:ne.Handle,Tooltip:q},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)}}},xd=Object.assign(Md,{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(Dn,{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(S.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(t.unref(S.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(S.EVENTS).EDIT,{task:e.data.node.triggerDeclaration,section:t.unref(S.SECTIONS).TRIGGERS}))},[t.createVNode(q,{title:n.$t("edit")},{default:t.withCtx(()=>[t.createVNode($n,{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(S.EVENTS).DELETE,{id:n.triggerId,section:t.unref(S.SECTIONS).TRIGGERS}))},[t.createVNode(q,{title:n.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Rn,{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))}}),Fd={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ud=["aria-hidden","aria-label"],Hd=["fill","width","height"],zd={d:"M11 15H6L13 1V9H18L11 23V15Z"},Gd={key:0};function Wd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",zd,[o.title?(t.openBlock(),t.createElementBlock("title",Gd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Hd))],16,Ud)}const jd=P(Fd,[["render",Wd]]),Kd={class:"collapsed-cluster-node d-flex"},Yd={class:"node-text"},qd={class:"text-white top-button-div"},Xd={components:{Tooltip:q,Handle:ne.Handle,ArrowExpand:Bn,LightningBolt:jd},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 S.EVENTS},expandable(){return this.data?.expandable||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null}}},Zd=Object.assign(Xd,{__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",Kd,[t.createElementVNode("span",Yd,[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(S.Utils).afterLastDot(e.id)),1)]),t.createElementVNode("div",qd,[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(S.EVENTS).EXPAND,{id:e.id}))},[t.createVNode(q,{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))}}),Jd=P(Zd,[["__scopeId","data-v-89413b39"]]),Qd={name:"SplitCellsVerticalIcon",emits:["click"]},ef={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function tf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("svg",ef,[...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 nf=P(Qd,[["render",tf],["__scopeId","data-v-084c51e6"]]),of={name:"SplitCellsHorizontalIcon",emits:["click"]},lf={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function rf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("svg",lf,[...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 af=P(of,[["render",rf],["__scopeId","data-v-c77c1469"]]),sf={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},cf=["aria-hidden","aria-label"],uf=["fill","width","height"],df={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},ff={key:0};function mf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",df,[o.title?(t.openBlock(),t.createElementBlock("title",ff,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,uf))],16,cf)}const pf=P(sf,[["render",mf]]);function gf(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 hf=(()=>{let e=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${n()}${e}`)})();function Re(e){const n=[];for(let o=0,l=e.length;o<l;o++)n.push(e[o]);return n}let Je=null;function Sl(e={}){return Je||(e.includeStyleProperties?(Je=e.includeStyleProperties,Je):(Je=Re(window.getComputedStyle(document.documentElement)),Je))}function Dt(e,n){const l=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(n);return l?parseFloat(l.replace("px","")):0}function Ef(e){const n=Dt(e,"border-left-width"),o=Dt(e,"border-right-width");return e.clientWidth+n+o}function _f(e){const n=Dt(e,"border-top-width"),o=Dt(e,"border-bottom-width");return e.clientHeight+n+o}function bl(e,n={}){const o=n.width||Ef(e),l=n.height||_f(e);return{width:o,height:l}}function yf(){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 kf(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 Pt(e){return new Promise((n,o)=>{const l=new Image;l.onload=()=>{l.decode().then(()=>{requestAnimationFrame(()=>n(l))})},l.onerror=o,l.crossOrigin="anonymous",l.decoding="async",l.src=e})}async function Cf(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function vf(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),Cf(a)}const Ee=(e,n)=>{if(e instanceof n)return!0;const o=Object.getPrototypeOf(e);return o===null?!1:o.constructor.name===n.name||Ee(o,n)};function Nf(e){const n=e.getPropertyValue("content");return`${e.cssText} content: '${n.replace(/'|"/g,"")}';`}function Sf(e,n){return Sl(n).map(o=>{const l=e.getPropertyValue(o),a=e.getPropertyPriority(o);return`${o}: ${l}${a?" !important":""};`}).join(" ")}function bf(e,n,o,l){const a=`.${e}:${n}`,r=o.cssText?Nf(o):Sf(o,l);return document.createTextNode(`${a}{${r}}`)}function To(e,n,o,l){const a=window.getComputedStyle(e,o),r=a.getPropertyValue("content");if(r===""||r==="none")return;const i=hf();try{n.className=`${n.className} ${i}`}catch{return}const s=document.createElement("style");s.appendChild(bf(i,o,a,l)),n.appendChild(s)}function wf(e,n,o){To(e,n,":before",o),To(e,n,":after",o)}const Ao="application/font-woff",Io="image/jpeg",Lf={woff:Ao,woff2:Ao,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Io,jpeg:Io,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Tf(e){const n=/\.([^./]*?)$/g.exec(e);return n?n[1]:""}function xn(e){const n=Tf(e).toLowerCase();return Lf[n]||""}function Af(e){return e.split(/,/)[1]}function yn(e){return e.search(/^(data:)/)!==-1}function If(e,n){return`data:${n};base64,${e}`}async function wl(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 ln={};function Vf(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 Fn(e,n,o){const l=Vf(e,n,o.includeQueryParams);if(ln[l]!=null)return ln[l];o.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let a;try{const r=await wl(e,o.fetchRequestInit,({res:i,result:s})=>(n||(n=i.headers.get("Content-Type")||""),Af(s)));a=If(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 ln[l]=a,a}async function Of(e){const n=e.toDataURL();return n==="data:,"?e.cloneNode(!1):Pt(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?.drawImage(e,0,0,r.width,r.height);const s=r.toDataURL();return Pt(s)}const o=e.poster,l=xn(o),a=await Fn(o,l,n);return Pt(a)}async function Df(e,n){var o;try{if(!((o=e?.contentDocument)===null||o===void 0)&&o.body)return await Ht(e.contentDocument.body,n,!0)}catch{}return e.cloneNode(!1)}async function Pf(e,n){return Ee(e,HTMLCanvasElement)?Of(e):Ee(e,HTMLVideoElement)?Bf(e,n):Ee(e,HTMLIFrameElement)?Df(e,n):e.cloneNode(Ll(e))}const $f=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",Ll=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function Rf(e,n,o){var l,a;if(Ll(n))return n;let r=[];return $f(e)&&e.assignedNodes?r=Re(e.assignedNodes()):Ee(e,HTMLIFrameElement)&&(!((l=e.contentDocument)===null||l===void 0)&&l.body)?r=Re(e.contentDocument.body.childNodes):r=Re(((a=e.shadowRoot)!==null&&a!==void 0?a:e).childNodes),r.length===0||Ee(e,HTMLVideoElement)||await r.reduce((i,s)=>i.then(()=>Ht(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function Mf(e,n,o){const l=n.style;if(!l)return;const a=window.getComputedStyle(e);a.cssText?(l.cssText=a.cssText,l.transformOrigin=a.transformOrigin):Sl(o).forEach(r=>{let i=a.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),Ee(e,HTMLIFrameElement)&&r==="display"&&i==="inline"&&(i="block"),r==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),l.setProperty(r,i,a.getPropertyPriority(r))})}function xf(e,n){Ee(e,HTMLTextAreaElement)&&(n.innerHTML=e.value),Ee(e,HTMLInputElement)&&n.setAttribute("value",e.value)}function Ff(e,n){if(Ee(e,HTMLSelectElement)){const o=n,l=Array.from(o.children).find(a=>e.value===a.getAttribute("value"));l&&l.setAttribute("selected","")}}function Uf(e,n,o){return Ee(n,Element)&&(Mf(e,n,o),wf(e,n,o),xf(e,n),Ff(e,n)),n}async function Hf(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 Ht(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 Ht(e,n,o){return!o&&n.filter&&!n.filter(e)?null:Promise.resolve(e).then(l=>Pf(l,n)).then(l=>Rf(e,l,n)).then(l=>Uf(e,l,n)).then(l=>Hf(l,n))}const Tl=/url\((['"]?)([^'"]+?)\1\)/g,zf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Gf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function Wf(e){const n=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function jf(e){const n=[];return e.replace(Tl,(o,l,a)=>(n.push(a),o)),n.filter(o=>!yn(o))}async function Kf(e,n,o,l,a){try{const r=o?gf(n,o):n,i=xn(n);let s;return a||(s=await Fn(r,i,l)),e.replace(Wf(n),`$1${s}$3`)}catch{}return e}function Yf(e,{preferredFontFormat:n}){return n?e.replace(Gf,o=>{for(;;){const[l,,a]=zf.exec(o)||[];if(!a)return"";if(a===n)return`src: ${l};`}}):e}function Al(e){return e.search(Tl)!==-1}async function Il(e,n,o){if(!Al(e))return e;const l=Yf(e,o);return jf(l).reduce((r,i)=>r.then(s=>Kf(s,i,n,o)),Promise.resolve(l))}async function Qe(e,n,o){var l;const a=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(e);if(a){const r=await Il(a,null,o);return n.style.setProperty(e,r,n.style.getPropertyPriority(e)),!0}return!1}async function qf(e,n){await Qe("background",e,n)||await Qe("background-image",e,n),await Qe("mask",e,n)||await Qe("-webkit-mask",e,n)||await Qe("mask-image",e,n)||await Qe("-webkit-mask-image",e,n)}async function Xf(e,n){const o=Ee(e,HTMLImageElement);if(!(o&&!yn(e.src))&&!(Ee(e,SVGImageElement)&&!yn(e.href.baseVal)))return;const l=o?e.src:e.href.baseVal,a=await Fn(l,xn(l),n);await new Promise((r,i)=>{e.onload=r,e.onerror=n.onImageErrorHandler?(...c)=>{try{r(n.onImageErrorHandler(...c))}catch(u){i(u)}}: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=Re(e.childNodes).map(a=>Vl(a,n));await Promise.all(l).then(()=>e)}async function Vl(e,n){Ee(e,Element)&&(await qf(e,n),await Xf(e,n),await Zf(e,n))}function Jf(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 Vo={};async function Oo(e){let n=Vo[e];if(n!=null)return n;const l=await(await fetch(e)).text();return n={url:e,cssText:l},Vo[e]=n,n}async function Bo(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),wl(s,n.fetchRequestInit,({result:c})=>(o=o.replace(i,`url(${c})`),[i,c]))});return Promise.all(r).then(()=>o)}function Do(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 Qf(e,n){const o=[],l=[];return e.forEach(a=>{if("cssRules"in a)try{Re(a.cssRules||[]).forEach((r,i)=>{if(r.type===CSSRule.IMPORT_RULE){let s=i+1;const c=r.href,u=Oo(c).then(f=>Bo(f,n)).then(f=>Do(f).forEach(h=>{try{a.insertRule(h,h.startsWith("@import")?s+=1:a.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:h,error:g})}})).catch(f=>{console.error("Error loading remote css",f.toString())});l.push(u)}})}catch(r){const i=e.find(s=>s.href==null)||document.styleSheets[0];a.href!=null&&l.push(Oo(a.href).then(s=>Bo(s,n)).then(s=>Do(s).forEach(c=>{i.insertRule(c,i.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{Re(a.cssRules||[]).forEach(r=>{o.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${a.href}`,r)}}),o))}function em(e){return e.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Al(n.style.getPropertyValue("src")))}async function tm(e,n){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=Re(e.ownerDocument.styleSheets),l=await Qf(o,n);return em(l)}function Ol(e){return e.trim().replace(/["']/g,"")}function nm(e){const n=new Set;function o(l){(l.style.fontFamily||getComputedStyle(l).fontFamily).split(",").forEach(r=>{n.add(Ol(r))}),Array.from(l.children).forEach(r=>{r instanceof HTMLElement&&o(r)})}return o(e),n}async function om(e,n){const o=await tm(e,n),l=nm(e);return(await Promise.all(o.filter(r=>l.has(Ol(r.style.fontFamily))).map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Il(r.cssText,i,n)}))).join(`
25
- `)}async function lm(e,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await om(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 rm(e,n={}){const{width:o,height:l}=bl(e,n),a=await Ht(e,n,!0);return await lm(a,n),await Vl(a,n),Jf(a,n),await vf(a,o,l)}async function Bl(e,n={}){const{width:o,height:l}=bl(e,n),a=await rm(e,n),r=await Pt(a),i=document.createElement("canvas"),s=i.getContext("2d"),c=n.pixelRatio||yf(),u=n.canvasWidth||o,f=n.canvasHeight||l;return i.width=u*c,i.height=f*c,n.skipAutoScale||kf(i),i.style.width=`${u}`,i.style.height=`${f}`,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 am(e,n={}){return(await Bl(e,n)).toDataURL()}async function im(e,n={}){return(await Bl(e,n)).toDataURL("image/jpeg",n.quality||1)}function sm(){const e=t.ref(""),n=t.ref("png"),o=t.ref();async function l(s,c={}){const u=c.fileName??`flow-graph-${Date.now()}`,f=s.querySelectorAll(".vue-flow__edge-path"),h=Array.from(f).map(g=>{const y=g,k=y.getAttribute("style")||"";return y.setAttribute("style",`${k}; stroke: ${window.getComputedStyle(y).stroke}; stroke-width: ${window.getComputedStyle(y).strokeWidth}; stroke-dasharray: ${window.getComputedStyle(y).strokeDasharray}`),{element:y,original:k}});try{const g=c.type==="jpeg"?await a(s,c):await r(s,c);return c.shouldDownload&&u&&i(u),g}finally{h.forEach(({element:g,original:y})=>y?g.setAttribute("style",y):g.removeAttribute("style"))}}function a(s,c={quality:.95}){return o.value=null,im(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,am(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 cm={key:1,class:"exporting"},um=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:[S.EVENTS.EDIT,S.EVENTS.DELETE,S.EVENTS.RUN_TASK,S.EVENTS.OPEN_LINK,S.EVENTS.SHOW_LOGS,S.EVENTS.SHOW_DESCRIPTION,S.EVENTS.RUN_TASK,"on-add-flowable-error",S.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",S.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:f,vueFlowRef:h}=ne.useVueFlow(o.id),g=t.ref({}),y=t.ref([]),k=t.ref(new Set),v=t.ref([]),{capture:E}=sm();t.provide(Pn,t.computed(()=>o.execution)),t.provide(vl,t.computed(()=>o.subflowsExecutions));const m=n;t.onMounted(()=>{_()}),t.watch(()=>o.flowGraph,()=>{_()}),t.watch(()=>o.isHorizontal,()=>{_()});const _=()=>{S.cleanGraph(o.id),t.nextTick(()=>{m("loading",!0);const $=k.value;k.value=new Set,y.value=[],g.value={},$.forEach(U=>F(S.CLUSTER_PREFIX+U,!1,!1));const I=S.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,y.value,o.isHorizontal,g.value,k.value,v.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction);I&&(f(I),u(),m("loading",!1))})},L=$=>{l.value||S.linkedElements(o.id,$.uid).forEach(I=>{I?.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+Ce("--bs-gray-900")},I.class="rounded-3")})},N=()=>{V()},V=()=>{r.value.filter($=>$.type==="task"||$.type==="trigger").forEach($=>{$.style={...$.style,opacity:"1",outline:"none"},$.class=""})};s($=>{l.value=!0,V(),$.node.style={...$.node.style,zIndex:1976},a.value=$.node.position}),c($=>{if(l.value=!1,$.intersections&&w($.intersections,$.node)===null){const I=$.node,U=$.intersections.find(R=>R.type==="task");if(U)try{o.source&&m("swapped-task",{newSource:z.swapBlocks({source:o.source,section:"tasks",key1:S.Utils.afterLastDot(I.id)??"",key2:S.Utils.afterLastDot(U.id)??""}),swappedTasks:[I.id,U.id]})}catch(R){m("message",{variant:"error",title:"cannot swap tasks",message:`${R.message}, ${R.messageOptions}`}),I.position=a.value}else I.position=a.value}else $.node.position=a.value;V(),$.node.style={...$.node.style,zIndex:5},a.value=null});const O=t.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter($=>$.cluster.type.endsWith("SubflowGraphCluster")).map($=>$.cluster.taskNode.uid+"."):[]);i($=>{V(),r.value.filter(I=>I.id!==$.node.id).forEach(I=>{I.type==="trigger"||I.type==="task"&&(I.id.startsWith($.node.id+".")||$.node.id.startsWith(I.id+"."))||O?.value?.some(U=>I.id.startsWith(U))?I.style={...I.style,opacity:"0.5"}:I.style={...I.style,opacity:"1"}}),$.intersections&&!w($.intersections,$.node)&&$.intersections.filter(I=>I.type==="task").length===1&&($.intersections.forEach(I=>{I.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+Ce("--bs-primary")},I.class="rounded-3")}),$.node.style={...$.node.style,outline:"0.5px solid "+Ce("--bs-primary")},$.node.class="rounded-3")});const w=($,I)=>{const U=$.filter(R=>R.type==="task").map(R=>S.Utils.afterLastDot(R.id));if(U.length>1)return"toomuchtaskerror";try{if(U.length===1&&o.source&&z.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:S.Utils.afterLastDot(U[0])??"",key2:S.Utils.afterLastDot(I.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return $.filter(R=>R.type==="trigger").length>0?"triggererror":null},F=($,I,U=!1)=>{const R=o.flowGraph.clusters.find(fe=>fe.cluster.uid.endsWith($)),Ie=$.replace(S.CLUSTER_PREFIX,"");k.value.add(Ie),y.value=y.value.concat(R.nodes.filter(fe=>fe!==Ie||U)),y.value=y.value.concat([R.cluster.uid]),g.value={...g.value,[R.cluster.uid]:Ie,[R.start]:Ie,[R.end]:Ie};for(let fe of R.nodes)o.flowGraph.clusters.map(Fe=>Fe.cluster.uid).includes(fe)&&F(fe,!1,!0);I&&_()},G=$=>{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($.type)&&!o.expandedSubflows.includes($.id)){m("expand-subflow",[...o.expandedSubflows,$.id]);return}g.value={},y.value=[],v.value=[],k.value.delete($.id),k.value.forEach(U=>F(U,!1,!1)),_()},oe=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=t.ref(!0),Z=t.ref(!1),$e=()=>Z.value=!Z.value;function Xe($){if(!h.value){console.warn("Flow not found");return}ge.value=!1,E(h.value,{type:$,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return($,I)=>(t.openBlock(),t.createBlock(t.unref(ne.VueFlow),{id:e.id,"default-marker-color":t.unref(Ce)("--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(U=>[t.createVNode(Dc,t.mergeProps(U,{onCollapse:I[0]||(I[0]=R=>F(R,!0))}),null,16)]),"node-dot":t.withCtx(U=>[t.createVNode(zc,t.normalizeProps(t.guardReactiveProps(U)),null,16)]),"node-task":t.withCtx(U=>[t.createVNode(Rd,t.mergeProps(U,{icons:e.icons,"icon-component":e.iconComponent,"playground-enabled":e.playgroundEnabled,"playground-ready-to-start":e.playgroundReadyToStart,onEdit:I[1]||(I[1]=R=>m(t.unref(S.EVENTS).EDIT,R)),onDelete:I[2]||(I[2]=R=>m(t.unref(S.EVENTS).DELETE,R)),onRunTask:I[3]||(I[3]=R=>m(t.unref(S.EVENTS).RUN_TASK,R)),onExpand:I[4]||(I[4]=R=>G(R)),onOpenLink:I[5]||(I[5]=R=>m(t.unref(S.EVENTS).OPEN_LINK,R)),onShowLogs:I[6]||(I[6]=R=>m(t.unref(S.EVENTS).SHOW_LOGS,R)),onShowDescription:I[7]||(I[7]=R=>m(t.unref(S.EVENTS).SHOW_DESCRIPTION,R)),onShowCondition:I[8]||(I[8]=R=>m(t.unref(S.EVENTS).SHOW_CONDITION,R)),onMouseover:I[9]||(I[9]=R=>L(R)),onMouseleave:I[10]||(I[10]=R=>N()),onAddError:I[11]||(I[11]=R=>m("on-add-flowable-error",R)),"enable-subflow-interaction":e.enableSubflowInteraction}),null,16,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":t.withCtx(U=>[t.createVNode(Dn,t.mergeProps(U,{icons:e.icons,"icon-component":e.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":t.withCtx(U=>[t.createVNode(xd,t.mergeProps(U,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:I[12]||(I[12]=R=>m(t.unref(S.EVENTS).DELETE,R)),onEdit:I[13]||(I[13]=R=>m(t.unref(S.EVENTS).EDIT,R)),onShowDescription:I[14]||(I[14]=R=>m(t.unref(S.EVENTS).SHOW_DESCRIPTION,R))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":t.withCtx(U=>[t.createVNode(Jd,t.mergeProps(U,{onExpand:I[15]||(I[15]=R=>G(R))}),null,16)]),"edge-edge":t.withCtx(U=>[t.createVNode(nu,t.mergeProps(U,{"yaml-source":e.source,onAddTask:I[16]||(I[16]=R=>m(t.unref(S.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(Nc),{"pattern-color":oe?t.unref(Ce)("--bs-grey-500"):t.unref(Ce)("--bs-grey-300")},null,8,["pattern-color"]),ge.value?(t.openBlock(),t.createBlock(t.unref(Qt.Controls),{key:0,"show-interactive":!1},{default:t.withCtx(()=>[e.toggleOrientationButton?(t.openBlock(),t.createBlock(t.unref(Qt.ControlButton),{key:0,onClick:I[17]||(I[17]=U=>m("toggle-orientation",U))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.isHorizontal?af:nf)))]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(Qt.ControlButton),{onClick:$e},{default:t.withCtx(()=>[t.createVNode(pf)]),_:1}),Z.value?(t.openBlock(),t.createElementBlock("ul",cm,[t.createElementVNode("li",{onClick:I[18]||(I[18]=U=>Xe("jpeg")),class:"item"}," Export as .JPEG "),t.createElementVNode("li",{onClick:I[19]||(I[19]=U=>Xe("png")),class:"item"}," Export as .PNG ")])):t.createCommentVNode("",!0)]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),dm=P(um,[["__scopeId","data-v-ccfc7443"]]),fm={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},mm=["aria-hidden","aria-label"],pm=["fill","width","height"],gm={d:"M10,17L15,12L10,7V17Z"},hm={key:0};function Em(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",gm,[o.title?(t.openBlock(),t.createElementBlock("title",hm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,pm))],16,mm)}const _m=P(fm,[["render",Em]]),ym={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},km=["aria-hidden","aria-label"],Cm=["fill","width","height"],vm={d:"M7,10L12,15L17,10H7Z"},Nm={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:"true","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",vm,[o.title?(t.openBlock(),t.createElementBlock("title",Nm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Cm))],16,km)}const bm=P(ym,[["render",Sm]]);function wm(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Dl(e){return typeof e=="function"?e():t.unref(e)}const Lm=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Tm=Object.prototype.toString,Am=e=>Tm.call(e)==="[object Object]",Im=()=>{};function Vm(e){return Object.entries(e)}function Om(e){var n;const o=Dl(e);return(n=o?.$el)!=null?n:o}const Pl=Lm?window:void 0;function Po(...e){let n,o,l,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([o,l,a]=e,n=Pl):[n,o,l,a]=e,!n)return Im;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const r=[],i=()=>{r.forEach(f=>f()),r.length=0},s=(f,h,g,y)=>(f.addEventListener(h,g,y),()=>f.removeEventListener(h,g,y)),c=t.watch(()=>[Om(n),Dl(a)],([f,h])=>{if(i(),!f)return;const g=Am(h)?{...h}:h;r.push(...o.flatMap(y=>l.map(k=>s(f,y,k,g))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return wm(u),u}const $o=["hash","host","hostname","href","pathname","port","protocol","search"];function Bm(e={}){const{window:n=Pl}=e,o=Object.fromEntries($o.map(r=>[r,t.ref()]));for(const[r,i]of Vm(o))t.watch(i,s=>{!n?.location||n.location[r]===s||(n.location[r]=s)});const l=r=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const f of $o)o[f].value=(i=n?.location)==null?void 0:i[f];return t.reactive({trigger:r,state:s,length:c,origin:u,...o})},a=t.ref(l("load"));return n&&(Po(n,"popstate",()=>a.value=l("popstate"),{passive:!0}),Po(n,"hashchange",()=>a.value=l("hashchange"),{passive:!0})),a}const Dm=["id","open"],Pm={class:"d-flex gap-2 align-items-center"},$m={key:0,class:"d-flex flex-grow-1"},Rm=["id"],Mm=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},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),a=Bm(),r=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||r("expand"),!o.noUrlChange&&(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.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,f)=>(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",Pm,[u.arrow?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?_m:bm),{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",$m,[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,Rm)):t.createCommentVNode("",!0)],8,Dm))}}),pt=P(Mm,[["__scopeId","data-v-4b935a77"]]),xm={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Fm=["aria-hidden","aria-label"],Um=["fill","width","height"],Hm={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"},zm={key:0};function Gm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Hm,[o.title?(t.openBlock(),t.createElementBlock("title",zm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Um))],16,Fm)}const Wm=P(xm,[["render",Gm]]),jm={key:0,class:"language"},Km=["innerHTML"],Ym=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(Wm),Check:t.shallowRef(Nl)},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&&dr.createPopper(i.value,s.value,{placement:"left"})})}function f(){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(h,g)=>(t.openBlock(),t.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:g[0]||(g[0]=y=>l.value=!1)},[h.language&&!l.value?(t.openBlock(),t.createElementBlock("div",jm,t.toDisplayString(h.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:f}))],512),a.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! ",-1),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,Km)],32))}}),Ro=P(Ym,[["__scopeId","data-v-a899f6a1"]]);function bt(e){if(e.type)return Array.isArray(e.type)?e.type:[e.type];if(e.$ref)return["#"+e.$ref.slice(8)]}function $l(e){const n=e.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function qm(e){if(e.enum)return e.enum;if(e.items?.enum)return e.items.enum;if(e.additionalProperties?.enum)return e.additionalProperties.enum}function Xm(e){return e.allOf&&(e=e.allOf.reduce((n,o)=>({...n,...o}),{...e}),delete e.allOf),e}function Rl(e){const n={},o=a=>{const r=bt(a);if(r&&r.length>0)return r;if(a.anyOf)return a.anyOf.flatMap(bt).filter(i=>i!==void 0).filter(S.Utils.distinctFilter)},l=o(e);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&e.items){const a=o(e.items);a&&e.items.anyOf&&(n.types=n.types.filter(r=>r!=="array").concat(a))}return e.additionalProperties?n.subType=bt(e.additionalProperties)?.[0]:e.items&&(n.subType=bt(e.items)?.[0]),n}const Zm={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jm=["aria-hidden","aria-label"],Qm=["fill","width","height"],ep={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},tp={key:0};function np(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ep,[o.title?(t.openBlock(),t.createElementBlock("title",tp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Qm))],16,Jm)}const op=P(Zm,[["render",np]]),lp={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},rp=["aria-hidden","aria-label"],ap=["fill","width","height"],ip={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"},sp={key:0};function cp(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ip,[o.title?(t.openBlock(),t.createElementBlock("title",sp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ap))],16,rp)}const Ml=P(lp,[["render",cp]]),up={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},dp=["aria-hidden","aria-label"],fp=["fill","width","height"],mp={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"},pp={key:0};function gp(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",mp,[o.title?(t.openBlock(),t.createElementBlock("title",pp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,fp))],16,dp)}const hp=P(up,[["render",gp]]),Ep={class:"me-3"},_p={class:"d-flex flex-column"},yp=t.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(e){const n=e,o=t.computed(()=>{switch(n.type){case"success":return hp;case"info":return At;case"warning":return Mn;case"danger":return an;default:return At}});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",_p,[t.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),kp=P(yp,[["__scopeId","data-v-f7fd8bc1"]]),Cp={class:"property-detail"},vp={key:0},Np=["href"],Sp={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},bp={class:"ref-type"},wp={key:1,class:"type-box rounded fs-7 px-2 py-1"},Lp={key:1},Tp={class:"border rounded px-2 py-1"},Ap={key:2},Ip={class:"border rounded px-2 py-1"},Vp={key:3},Op={class:"border rounded px-2 py-1"},Bp={key:4},Dp={class:"border rounded px-2 py-1"},Pp={key:5},$p={class:"border rounded px-2 py-1"},Rp={key:6},Mp={class:"border rounded px-2 py-1"},xp={key:7},Fp={class:"border rounded px-2 py-1"},Up={key:8},Hp={class:"border rounded px-2 py-1"},zp={key:9},Gp={class:"border rounded px-2 py-1"},Wp={key:10},jp={class:"border rounded px-2 py-1"},Kp={key:11},Yp={class:"border rounded px-2 py-1"},qp={key:12},Xp={class:"border rounded px-2 py-1"},Zp={key:13},Jp={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},Qp={key:14},e1={class:"property-description markdown"},t1={key:2},n1=t.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const n=e,o=t.ref(Rl(n.property).subType),l=t.ref(qm(n.property)),a=r=>r.replace(/(```)(?:bash|yaml|js|console|json)(\n) *([\s\S]*?```)/g,"$1$2$3").replace(new RegExp("(?<!:):(?![: /])","g"),": ");return(r,i)=>(t.openBlock(),t.createElementBlock("div",Cp,[o.value?(t.openBlock(),t.createElementBlock("div",vp,[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",Sp,[t.createElementVNode("span",bp,t.toDisplayString(t.unref($l)(o.value)),1),t.createVNode(Ml)])],8,Np)):(t.openBlock(),t.createElementBlock("span",wp,t.toDisplayString(o.value),1))])):t.createCommentVNode("",!0),r.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",Lp,[i[2]||(i[2]=t.createElementVNode("span",null," Default ",-1)),t.createElementVNode("code",Tp,t.toDisplayString(r.property.default),1)])):t.createCommentVNode("",!0),r.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",Ap,[i[3]||(i[3]=t.createElementVNode("span",null," Validation RegExp ",-1)),t.createElementVNode("code",Ip,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",Vp,[i[4]||(i[4]=t.createElementVNode("span",null," Unit ",-1)),t.createElementVNode("code",Op,t.toDisplayString(r.property.unit),1)])):t.createCommentVNode("",!0),r.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",Bp,[i[5]||(i[5]=t.createElementVNode("span",null," Min length ",-1)),t.createElementVNode("code",Dp,t.toDisplayString(r.property.minLength),1)])):t.createCommentVNode("",!0),r.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",Pp,[i[6]||(i[6]=t.createElementVNode("span",null," Max length ",-1)),t.createElementVNode("code",$p,t.toDisplayString(r.property.maxLength),1)])):t.createCommentVNode("",!0),r.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",Rp,[i[7]||(i[7]=t.createElementVNode("span",null," Min items ",-1)),t.createElementVNode("code",Mp,t.toDisplayString(r.property.minItems),1)])):t.createCommentVNode("",!0),r.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",xp,[i[8]||(i[8]=t.createElementVNode("span",null," Max items ",-1)),t.createElementVNode("code",Fp,t.toDisplayString(r.property.maxItems),1)])):t.createCommentVNode("",!0),r.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",Up,[i[9]||(i[9]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Hp," >= "+t.toDisplayString(r.property.minimum),1)])):t.createCommentVNode("",!0),r.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",zp,[i[10]||(i[10]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Gp," > "+t.toDisplayString(r.property.minimum),1)])):t.createCommentVNode("",!0),r.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",Wp,[i[11]||(i[11]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",jp," <= "+t.toDisplayString(r.property.maximum),1)])):t.createCommentVNode("",!0),r.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",Kp,[i[12]||(i[12]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",Yp," < "+t.toDisplayString(r.property.maximum),1)])):t.createCommentVNode("",!0),r.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",qp,[i[13]||(i[13]=t.createElementVNode("span",null," Format ",-1)),t.createElementVNode("code",Xp,t.toDisplayString(r.property.format),1)])):t.createCommentVNode("",!0),l.value!==void 0?(t.openBlock(),t.createElementBlock("div",Zp,[i[14]||(i[14]=t.createElementVNode("span",null," Possible Values ",-1)),t.createElementVNode("div",Jp,[(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",Qp,[t.createElementVNode("div",e1,[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",t1,[t.createVNode(kp,{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)]))}}),o1=P(n1,[["__scopeId","data-v-721fbdf5"]]),l1={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},r1=["aria-hidden","aria-label"],a1=["fill","width","height"],i1={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},s1={key:0};function c1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",i1,[o.title?(t.openBlock(),t.createElementBlock("title",s1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,a1))],16,r1)}const u1=P(l1,[["render",c1]]),d1={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},f1=["aria-hidden","aria-label"],m1=["fill","width","height"],p1={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"},g1={key:0};function h1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",p1,[o.title?(t.openBlock(),t.createElementBlock("title",g1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,m1))],16,f1)}const E1=P(d1,[["render",h1]]),_1={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},y1=["aria-hidden","aria-label"],k1=["fill","width","height"],C1={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"},v1={key:0};function N1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",C1,[o.title?(t.openBlock(),t.createElementBlock("title",v1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,k1))],16,y1)}const S1=P(_1,[["render",N1]]),b1={class:"border overflow-hidden"},w1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},L1={class:"d-flex gap-2"},T1={class:"d-flex flex-wrap justify-content-end gap-2"},A1=["href"],I1={class:"ref-type"},V1={key:1,class:"type-box rounded fs-7 px-2 py-1"},O1=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:()=>[]},noUrlChange:{type:Boolean,default:!1}},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=>s.$dynamic===!0?!0:s.$dynamic===!1?!1:s.anyOf?.some(c=>c.$dynamic===!0)??!1;function i(s){const c=[],u=[];for(const g in s)typeof s[g]=="object"&&(s[g]=Xm(s[g]),s[g].$required?c.push(g):u.push(g));const f=[...c.sort(),...u.sort()],h={};return f.forEach(g=>{(!s[g].$deprecated||o.forceInclude?.includes(g))&&(h[g]=s[g])}),h}return(s,c)=>(t.openBlock(),t.createBlock(pt,{class:"section-collapsible","clickable-text":s.sectionName,href:s.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":s.initiallyExpanded||a.value,"no-url-change":s.noUrlChange},t.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[t.createElementVNode("div",b1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i(s.properties),(u,f)=>(t.openBlock(),t.createBlock(pt,{class:"property",key:f,arrow:!1,"clickable-text":f,href:s.href+"_"+f,onExpand:c[1]||(c[1]=h=>a.value=!0),"no-url-change":s.noUrlChange},{additionalButtonText:t.withCtx(()=>[u.$required?(t.openBlock(),t.createBlock(q,{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:h})=>[t.createElementVNode("span",w1,[t.createElementVNode("span",L1,[s.showDynamic&&!r(u)?(t.openBlock(),t.createBlock(q,{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(q,{key:1,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(S1,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),u.$deprecated?(t.openBlock(),t.createBlock(q,{key:2,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Mn,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("span",T1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(Rl)(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 ref-type-box rounded fs-7 px-2 py-1",href:g,onClick:c[0]||(c[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("span",I1,t.toDisplayString(t.unref($l)(g)),1),t.createVNode(Ml)],8,A1)):(t.openBlock(),t.createElementBlock("span",V1,t.toDisplayString(g),1))],64))),128)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(h?op:u1),{class:"arrow"}))])])]),content:t.withCtx(()=>[t.createVNode(o1,{property:u},{markdown:t.withCtx(({content:h})=>[t.renderSlot(s.$slots,"markdown",{content:h},void 0,!0)]),_:3},8,["property"])]),_:2},1032,["clickable-text","href","no-url-change"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded","no-url-change"]))}}),wt=P(O1,[["__scopeId","data-v-41e2cdcf"]]),B1={class:"d-flex flex-column gap-6"},D1={class:"d-flex flex-column gap-3"},P1={key:0,class:"alert alert-info mb-2",role:"alert"},$1={key:1,class:"plugin-title markdown"},R1={key:2,class:"markdown"},M1={class:"d-flex flex-column gap-4"},x1={class:"d-flex flex-column gap-3"},F1={class:"markdown"},U1={key:0,class:"w-100 align-self-center"},H1={class:"markdown"},z1={class:"markdown"},G1={class:"markdown"},W1={class:"d-flex flex-column gap-7 ps-3"},j1={class:"markdown"},K1=t.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(e){let n,o;const l=e,a=t.ref(!1),r=t.ref(new Set),i=t.ref(0),s=async()=>{const k=window.location.hash.slice(1);if(!k||!l.schema.definitions){r.value.clear();return}const v=k.includes("#")?k.split("#").pop()?.split(".").pop():k;if(v&&v in l.schema.definitions){a.value=!0,i.value+=1,r.value.clear(),r.value.add(v),await t.nextTick();let E=0;const m=30,_=()=>{const L=document.getElementById(v);L?L.scrollIntoView({behavior:"smooth",block:"start"}):E<m&&(E++,requestAnimationFrame(_))};requestAnimationFrame(_)}else r.value.clear()};t.watch([()=>l.schema,()=>l.pluginType],([k,v],[E,m])=>{(k!==E||v!==m)&&l.schema.definitions&&s()});const c=k=>k?.full?k.code:`id: "${l.pluginType.split(".").reverse()[0]?.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(Bn,{"custom-icon":{icon:a.value},class:"bg-pink rounded",theme:"light"},null,8,["custom-icon"]),t.createElementVNode("div",fc,[t.createElementVNode("div",mc,[t.createVNode(q,{title:e.data.flowId},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.flowId),1)]),_:1},8,["title"])]),t.createElementVNode("div",pc,[t.createVNode(q,{title:e.data.namespace},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.data.namespace),1)]),_:1},8,["title"])])]),t.createElementVNode("div",gc,[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(S.EVENTS).OPEN_LINK,e.data))},[t.createVNode(q,{title:t.unref(l)("open")},{default:t.withCtx(()=>[t.createVNode(_l,{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(S.EVENTS).EXPAND_DEPENDENCIES,e.data))},[t.createVNode(q,{title:t.unref(l)("expand")},{default:t.withCtx(()=>[t.createVNode(dc,{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))}}),Ec=D(hc,[["__scopeId","data-v-2271d5b0"]]);var Oe=(e=>(e.Lines="lines",e.Dots="dots",e))(Oe||{});const yl=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]}`})},kl=function({radius:e,color:n}){return t.h("circle",{cx:e,cy:e,r:e,fill:n})};Oe.Lines+"",Oe.Dots+"";const _c={[Oe.Dots]:"#81818a",[Oe.Lines]:"#eee"},yc=["id","x","y","width","height","patternTransform"],kc={key:2,height:"100",width:"100"},Cc=["fill"],vc=["x","y","fill"],Nc={name:"Background",compatConfig:{MODE:3}},Sc=t.defineComponent({...Nc,props:{id:{},variant:{default:()=>Oe.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:0}},setup(e){const{id:n,viewport:o}=ne.useVueFlow(),l=t.computed(()=>{const i=o.value.zoom,[s,c]=Array.isArray(e.gap)?e.gap:[e.gap,e.gap],u=[s*i||1,c*i||1],f=e.size*i,[h,g]=Array.isArray(e.offset)?e.offset:[e.offset,e.offset],y=[h*i||1+u[0]/2,g*i||1+u[1]/2];return{scaledGap:u,offset:y,size:f}}),a=t.toRef(()=>`pattern-${n}${e.id?`-${e.id}`:""}`),r=t.toRef(()=>e.color||e.patternColor||_c[e.variant||Oe.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(Oe).Lines?(t.openBlock(),t.createBlock(t.unref(yl),{key:0,size:i.lineWidth,color:r.value,dimensions:l.value.scaledGap},null,8,["size","color","dimensions"])):i.variant===t.unref(Oe).Dots?(t.openBlock(),t.createBlock(t.unref(kl),{key:1,color:r.value,radius:l.value.size/2},null,8,["color","radius"])):t.createCommentVNode("",!0),i.bgColor?(t.openBlock(),t.createElementBlock("svg",kc,[t.createElementVNode("rect",{width:"100%",height:"100%",fill:i.bgColor},null,8,Cc)])):t.createCommentVNode("",!0)])],8,yc)]),t.createElementVNode("rect",{x:i.x,y:i.y,width:"100%",height:"100%",fill:`url(#${a.value})`},null,8,vc),t.renderSlot(i.$slots,"default",{id:a.value})],4))}}),bc={name:"ArrowCollapseIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},wc=["aria-hidden","aria-label"],Lc=["fill","width","height"],Tc={d:"M19.5,3.09L15,7.59V4H13V11H20V9H16.41L20.91,4.5L19.5,3.09M4,13V15H7.59L3.09,19.5L4.5,20.91L9,16.41V20H11V13H4Z"},Ac={key:0};function Ic(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Tc,[o.title?(t.openBlock(),t.createElementBlock("title",Ac,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Lc))],16,wc)}const Vc=D(bc,[["render",Ic]]),Bc={class:"top-button-div text-white d-flex"},Oc={inheritAttrs:!1,components:{Tooltip:q},data(){return{tooltips:[]}},computed:{classes(){return{"unused-path":this.data.unused}},clusterName(){const e=this.data.taskNode;if(e?.type?.endsWith("SubflowGraphTask")){const n=e.task.subflowId??e.task;return n.namespace+" "+n.flowId}return S.Utils.afterLastDot(this.id)}}},Dc=Object.assign(Oc,{__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:[S.EVENTS.COLLAPSE],setup(e,{emit:n}){const o=e,l=n,a=()=>{l(S.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",Bc,[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(q,{title:r.$t("collapse")},{default:t.withCtx(()=>[t.createVNode(Vc,{class:"button-icon",alt:"Collapse task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0)])],2))}}),Pc=D(Dc,[["__scopeId","data-v-0c251e77"]]),$c={name:"CircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Rc=["aria-hidden","aria-label"],Mc=["fill","width","height"],xc={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"},Fc={key:0};function Uc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",xc,[o.title?(t.openBlock(),t.createElementBlock("title",Fc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Mc))],16,Rc)}const Cl=D($c,[["render",Uc]]),Hc={name:"Dot",components:{Handle:ne.Handle,CircleIcon:Cl},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,[S.Utils.afterLastDot(this.data.node.type)]:!0}}}},zc=Object.assign(Hc,{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(Cl,{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))}}),Gc=D(zc,[["__scopeId","data-v-666f472b"]]),Wc={name:"PlusIcon",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:"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z"},qc={key:0};function Xc(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Yc,[o.title?(t.openBlock(),t.createElementBlock("title",qc,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Kc))],16,jc)}const Zc=D(Wc,[["render",Xc]]),Jc={class:"add-task-div rounded d-flex justify-content-center align-items-center"},Qc=t.defineComponent({name:"AddTaskButton",__name:"AddTaskButton",props:{addTask:{type:Boolean}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("div",Jc,[n.addTask?(t.openBlock(),t.createBlock(Zc,{key:0,alt:"add task icon"})):t.createCommentVNode("",!0)]))}}),eu=D(Qc,[["__scopeId","data-v-536dd646"]]),tu=["id","d","marker-end"],nu=t.defineComponent({inheritAttrs:!1,__name:"EdgeNode",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}},setup(e){const n=e,o=t.computed(()=>n.data?{"vue-flow__edge-path":!0,["stroke-"+n.data.color]:n.data.color,"unused-path":n.data.unused}:{});let l=i=>i;try{const{t:i}=gt();l=i}catch{}const a=t.computed(()=>{const{haveAdd:i}=n.data??{};return`${l("add task")} ${i?.length===2?`${l(i[1])} ${i[0]}`:""}`.trim()}),r=t.computed(()=>ne.getSmoothStepPath(n));return(i,s)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[r.value?.length?(t.openBlock(),t.createElementBlock("path",{key:0,id:e.id,class:t.normalizeClass(o.value),style:t.normalizeStyle(e.data.haveDashArray?{strokeDasharray:"2"}:{}),d:r.value[0],"marker-end":e.markerEnd},null,14,tu)):t.createCommentVNode("",!0),r.value?.length?(t.openBlock(),t.createBlock(t.unref(ne.EdgeLabelRenderer),{key:1,style:{"z-index":"10"}},{default:t.withCtx(()=>[t.createElementVNode("div",{style:t.normalizeStyle({pointerEvents:"all",position:"absolute",transform:`translate(-50%, -50%) translate(${r.value[1]}px,${r.value[2]}px)`})},[t.createVNode(q,{title:a.value},{default:t.withCtx(()=>[e.data.haveAdd?(t.openBlock(),t.createBlock(eu,{key:0,"add-task":!0,onClick:s[0]||(s[0]=c=>i.$emit(t.unref(S.EVENTS).ADD_TASK,e.data.haveAdd)),class:t.normalizeClass({"text-danger":e.data.color})},null,8,["class"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4)]),_:1})):t.createCommentVNode("",!0)],64))}}),ou=D(nu,[["__scopeId","data-v-5e05a3ec"]]),lu=["innerHTML"],ru=t.defineComponent({__name:"Duration",props:{histories:{}},setup(e){const n=e;t.watch(()=>n.histories,(y,k)=>{k[0].date!==y[0].date&&s()});const o=t.ref(""),l=t.ref();t.onMounted(()=>{s()});const a=t.computed(()=>n.histories?.length&&new Date(n.histories[0].date.toString()).getTime()),r=t.computed(()=>n.histories[n.histories.length-1]),i=t.computed(()=>n.histories.filter(y=>y.date.isValid()&&y.date&&y.state));function s(){l.value||(l.value=setInterval(()=>{h(),n.histories&&!te.isRunning(r.value.state)&&c()},100))}function c(){l.value&&(clearInterval(l.value),l.value=void 0)}function u(){return f()-a.value}function f(){return!n.histories||te.isRunning(r.value.state)?+new Date:new Date(r.value.date.toString()).getTime()}function h(){o.value=i.value.length===0?"&nbsp;":S.humanDuration(u()/1e3)}function g(y){return"ks-duration-tt-square-"+y.toLowerCase()}return t.onBeforeUnmount(()=>{c()}),(y,k)=>(t.openBlock(),t.createBlock(q,{key:r.value.date.toString()},{content:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,(v,E)=>(t.openBlock(),t.createElementBlock("span",{key:"tt-"+E,class:"ks-duration-tt"},[t.createElementVNode("span",{class:t.normalizeClass(["ks-duration-tt-square",g(v.state)])},null,2),t.createElementVNode("strong",null,t.toDisplayString(v.state)+": ",1),t.createTextVNode(t.toDisplayString(S.dateFilter(v.date.toISOString(),"iso"))+" ",1),k[0]||(k[0]=t.createElementVNode("br",null,null,-1))]))),128))]),default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:o.value},null,8,lu)]),_:1}))}}),au={class:"btn-group content rounded-1 content-children text-truncate"},iu={key:0,class:"taskRunCount"},su={key:1},cu={key:2},uu=t.defineComponent({name:"ExecutionInformations",__name:"ExecutionInformations",props:{color:{},uid:{},execution:{},task:{},state:{}},setup(e){const n=e,o=t.computed(()=>n.execution?.taskRunList?n.execution.taskRunList:[]),l=t.computed(()=>o.value.filter(r=>r.taskId===S.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=>en.duration(s.state.duration).asMilliseconds()/1e3,0));return[{date:en(r).subtract(i,"second"),state:"CREATED"},{date:en(r),state:n.state}]});return(r,i)=>(t.openBlock(),t.createElementBlock("div",au,[l.value.length>0?(t.openBlock(),t.createElementBlock("span",iu,t.toDisplayString(l.value.length)+" task runs",1)):t.createCommentVNode("",!0),l.value.length>0?(t.openBlock(),t.createElementBlock("span",su," | ")):t.createCommentVNode("",!0),a.value?(t.openBlock(),t.createElementBlock("span",cu,[t.createVNode(ru,{histories:a.value},null,8,["histories"])])):t.createCommentVNode("",!0)]))}}),du=D(uu,[["__scopeId","data-v-96fa5d6e"]]),fu={name:"InformationOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},mu=["aria-hidden","aria-label"],pu=["fill","width","height"],gu={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"},hu={key:0};function Eu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",gu,[o.title?(t.openBlock(),t.createElementBlock("title",hu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,pu))],16,mu)}const _u=D(fu,[["render",Eu]]),yu={name:"ArrowExpandIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ku=["aria-hidden","aria-label"],Cu=["fill","width","height"],vu={d:"M10,21V19H6.41L10.91,14.5L9.5,13.09L5,17.59V14H3V21H10M14.5,10.91L19,6.41V10H21V3H14V5H17.59L13.09,9.5L14.5,10.91Z"},Nu={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:"true","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",vu,[o.title?(t.openBlock(),t.createElementBlock("title",Nu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Cu))],16,ku)}const On=D(yu,[["render",Su]]),bu={class:"icon rounded"},wu={class:"node-content"},Lu={class:"d-flex node-title"},Tu={class:"text-truncate task-title"},Au={key:0,class:"d-flex"},Iu={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:[S.EVENTS.EXPAND,S.EVENTS.OPEN_LINK,S.EVENTS.SHOW_LOGS,S.EVENTS.MOUSE_OVER,S.EVENTS.MOUSE_LEAVE,S.EVENTS.ADD_ERROR,S.EVENTS.EDIT,S.EVENTS.DELETE,S.EVENTS.ADD_TASK,S.EVENTS.SHOW_DESCRIPTION],setup(e,{emit:n}){const o=n,l=e;function a(){o(S.EVENTS.MOUSE_OVER,l.data.node)}function r(){o(S.EVENTS.MOUSE_LEAVE)}const i=t.computed(()=>l.data?.expandable||!1),s=t.computed(()=>l.data.node?.plugin??l.data.node?.task??l.data.node?.trigger??null),c=t.computed(()=>s.value?.description??null),u=t.computed(()=>S.Utils.afterLastDot(l.id??"")),f=t.computed(()=>["default","danger"].includes(l.data.color)?"":l.data.color),h=t.computed(()=>[{"unused-path":l.data.unused,disabled:s.value?.disabled||l.data.parent?.taskNode?.task?.disabled},l.class]),g=t.computed(()=>{if(l.data.node.triggerDeclaration)return l.data.node.triggerDeclaration.type;if(s.value)return s.value?.type}),y=t.computed(()=>{if(s.value?.type?.endsWith("SubflowGraphTask")){const v=s.value.subflowId??s.value;return v.namespace+" "+v.flowId}return u.value}),k=t.computed(()=>l.title??u.value);return(v,E)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["node-wrapper rounded-3",{...h.value,"running-border-animation":v.state==="RUNNING"}]),style:t.normalizeStyle({borderColor:v.state?`var(--ks-border-${v.state.toLowerCase()})`:void 0}),onMouseover:a,onMouseleave:r},[t.createElementVNode("div",bu,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(v.iconComponent||Bn),{cls:g.value,class:t.normalizeClass([f.value,"rounded bg-white"]),theme:"light",icons:v.icons},null,8,["cls","class","icons"]))]),t.createElementVNode("div",wu,[t.createElementVNode("div",Lu,[t.createElementVNode("div",Tu,[t.createVNode(q,{title:y.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(k.value),1)]),_:1},8,["title"])]),c.value?(t.openBlock(),t.createElementBlock("span",Au,[t.createVNode(q,{title:v.$t("show description"),class:"d-flex align-items-center"},{default:t.withCtx(()=>[t.createVNode(_u,{onClick:E[0]||(E[0]=m=>v.$emit(t.unref(S.EVENTS).SHOW_DESCRIPTION,{id:u.value,description:c.value})),class:"description-button ms-2"})]),_:1},8,["title"])])):t.createCommentVNode("",!0)]),t.renderSlot(v.$slots,"content",{},void 0,!0)]),t.createElementVNode("div",Iu,[t.renderSlot(v.$slots,"badge-button-before",{},void 0,!0),v.data.link?(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass(["circle-button",[`bg-${v.data.color}`]]),onClick:E[1]||(E[1]=m=>v.$emit(t.unref(S.EVENTS).OPEN_LINK,{link:v.data.link}))},[t.createVNode(q,{title:v.$t("open")},{default:t.withCtx(()=>[t.createVNode(_l,{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-${v.data.color}`]]),onClick:E[2]||(E[2]=m=>v.$emit(t.unref(S.EVENTS).EXPAND))},[t.createVNode(q,{title:v.$t("expand")},{default:t.withCtx(()=>[t.createVNode(On,{class:"button-icon",alt:"Expand task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),t.renderSlot(v.$slots,"badge-button-after",{},void 0,!0)])],38))}}),Dn=D(Vu,[["__scopeId","data-v-fafddf6d"]]),Pn=Symbol("execution-injection-key"),vl=Symbol("subflows-executions-injection-key"),Bu={name:"PencilIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ou=["aria-hidden","aria-label"],Du=["fill","width","height"],Pu={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"},$u={key:0};function Ru(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Pu,[o.title?(t.openBlock(),t.createElementBlock("title",$u,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Du))],16,Ou)}const $n=D(Bu,[["render",Ru]]),Mu={name:"DeleteIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},xu=["aria-hidden","aria-label"],Fu=["fill","width","height"],Uu={d:"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z"},Hu={key:0};function zu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Uu,[o.title?(t.openBlock(),t.createElementBlock("title",Hu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Fu))],16,xu)}const Rn=D(Mu,[["render",zu]]),Gu={name:"TextBoxSearchIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wu=["aria-hidden","aria-label"],ju=["fill","width","height"],Ku={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"},Yu={key:0};function qu(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Ku,[o.title?(t.openBlock(),t.createElementBlock("title",Yu,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ju))],16,Wu)}const Xu=D(Gu,[["render",qu]]),Zu={name:"AlertOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ju=["aria-hidden","aria-label"],Qu=["fill","width","height"],ed={d:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16"},td={key:0};function nd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ed,[o.title?(t.openBlock(),t.createElementBlock("title",td,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Qu))],16,Ju)}const od=D(Zu,[["render",nd]]),ld={name:"SendLockIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},rd=["aria-hidden","aria-label"],ad=["fill","width","height"],id={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"},sd={key:0};function cd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",id,[o.title?(t.openBlock(),t.createElementBlock("title",sd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ad))],16,rd)}const ud=D(ld,[["render",cd]]),dd={name:"PlayIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fd=["aria-hidden","aria-label"],md=["fill","width","height"],pd={d:"M8,5.14V19.14L19,12.14L8,5.14Z"},gd={key:0};function hd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",pd,[o.title?(t.openBlock(),t.createElementBlock("title",gd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,md))],16,fd)}const Ed=D(dd,[["render",hd]]),_d={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yd=["aria-hidden","aria-label"],kd=["fill","width","height"],Cd={d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},vd={key:0};function Nd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Cd,[o.title?(t.openBlock(),t.createElementBlock("title",vd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,kd))],16,yd)}const Nl=D(_d,[["render",Nd]]),Sd={name:"AlertIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},bd=["aria-hidden","aria-label"],wd=["fill","width","height"],Ld={d:"M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z"},Td={key:0};function Ad(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Ld,[o.title?(t.openBlock(),t.createElementBlock("title",Td,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,wd))],16,bd)}const Mn=D(Sd,[["render",Ad]]),Id={name:"SkipForwardIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Vd=["aria-hidden","aria-label"],Bd=["fill","width","height"],Od={d:"M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12"},Dd={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:"true","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",Od,[o.title?(t.openBlock(),t.createElementBlock("title",Dd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Bd))],16,Vd)}const $d=D(Id,[["render",Pd]]),Rd=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(Pn),r=t.inject(vl),i=t.computed(()=>o.data.color??"primary"),s=t.computed(()=>S.Utils.afterLastDot(o.id)),c=t.computed(()=>{const E=o.data.executionId;if(E)return E===a?.value?.id?a?.value:Object.values(r?.value||{}).find(m=>m.id===E)}),u=t.computed(()=>c.value&&c.value.taskRunList?c.value.taskRunList:[]),f=t.computed(()=>u.value.filter(E=>E.taskId===S.Utils.afterLastDot(o.data.node.uid))),h=t.computed(()=>{if(!f.value?.length)return null;if(f.value.length===1)return f.value[0].state.current;const E=f.value.map(L=>L.state.current),m=[te.FAILED,te.KILLED,te.WARNING,te.SKIPPED,te.KILLING,te.RUNNING,te.SUCCESS,te.RESTARTED,te.CREATED];return E.map(L=>[m.indexOf(L[1]),L]).sort().map(L=>L[1])[0]}),g=t.computed(()=>({"execution-no-taskrun":!!(c.value&&f.value&&f.value.length===0)})),y=t.computed(()=>({id:o.id,type:String(o.data.node.task.type)})),k=t.computed(()=>{if(o.data.node.type?.endsWith("SubflowGraphTask")&&o.enableSubflowInteraction){const E=o.data.node.task.subflowId??o.data.node.task;return{...o.data,link:{namespace:E.namespace,id:E.flowId,executionId:c.value?.taskRunList.filter(m=>m.id===o.data.node.taskRun.id&&m.outputs?.executionId)?.[0]?.outputs?.executionId}}}return o.data}),v=t.computed(()=>{if(h.value===te.RUNNING)return"task is running";if(h.value===te.SUCCESS)return"task was successful";if(h.value===te.WARNING)return"task sent a warning";if(h.value===te.SKIPPED)return"task was skipped";if(h.value===te.FAILED)return"task failed"});return(E,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.unref(ne.Handle),{type:"source",position:E.sourcePosition},null,8,["position"]),t.createVNode(Dn,{id:E.id,data:k.value,state:h.value,class:t.normalizeClass(g.value),icons:E.icons,"icon-component":E.iconComponent,onShowDescription:m[6]||(m[6]=_=>l(t.unref(S.EVENTS).SHOW_DESCRIPTION,_)),onExpand:m[7]||(m[7]=_=>l(t.unref(S.EVENTS).EXPAND,y.value)),onOpenLink:m[8]||(m[8]=_=>l(t.unref(S.EVENTS).OPEN_LINK,_)),onMouseover:m[9]||(m[9]=_=>l(t.unref(S.EVENTS).MOUSE_OVER,_)),onMouseleave:m[10]||(m[10]=_=>l(t.unref(S.EVENTS).MOUSE_LEAVE))},{content:t.withCtx(()=>[c.value?(t.openBlock(),t.createBlock(du,{key:0,execution:c.value,task:E.data.node.task,color:i.value,uid:E.data.node.uid,state:h.value},null,8,["execution","task","color","uid","state"])):t.createCommentVNode("",!0),E.data.node.task?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[E.playgroundEnabled&&E.playgroundReadyToStart?(t.openBlock(),t.createElementBlock("button",{key:0,type:"button",class:"playground-button",onClick:m[0]||(m[0]=_=>l(t.unref(S.EVENTS).RUN_TASK,{task:E.data.node.task}))},[t.createVNode(q,{style:{display:"flex"},title:E.$t("run task in playground")},{default:t.withCtx(()=>[t.createVNode(Ed,{class:"button-play-icon",alt:E.$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-${h.value?.toLowerCase()})`,backgroundColor:`var(--ks-background-${h.value?.toLowerCase()})`})},[t.createVNode(q,{style:{display:"flex"},title:v.value?E.$t(v.value):void 0},{default:t.withCtx(()=>[h.value===t.unref(te).RUNNING?(t.openBlock(),t.createBlock(zo,{key:0,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).SUCCESS?(t.openBlock(),t.createBlock(Nl,{key:1,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).WARNING?(t.openBlock(),t.createBlock(Mn,{key:2,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).SKIPPED?(t.openBlock(),t.createBlock($d,{key:3,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):h.value===t.unref(te).FAILED?(t.openBlock(),t.createBlock(At,{key:4,alt:v.value?E.$t(v.value):void 0},null,8,["alt"])):t.createCommentVNode("",!0)]),_:1},8,["title"])],4))],64)):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:m[1]||(m[1]=_=>l(t.unref(S.EVENTS).SHOW_CONDITION,{id:s.value,task:E.data.node.task,section:t.unref(S.SECTIONS).TASKS}))},[t.createVNode(q,{title:E.$t("show task condition")},{default:t.withCtx(()=>[t.createVNode(ud,{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:m[2]||(m[2]=_=>l(t.unref(S.EVENTS).SHOW_LOGS,{id:s.value,execution:c.value,taskRuns:f.value}))},[t.createVNode(q,{title:E.$t("show task logs")},{default:t.withCtx(()=>[t.createVNode(Xu,{class:"button-icon",alt:"Show logs"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly&&E.data.isFlowable?(t.openBlock(),t.createElementBlock("span",{key:2,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[3]||(m[3]=_=>l(t.unref(S.EVENTS).ADD_ERROR,{task:E.data.node.task}))},[t.createVNode(q,{title:E.$t("add error handler")},{default:t.withCtx(()=>[t.createVNode(od,{class:"button-icon",alt:"Add error handler"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:3,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[4]||(m[4]=_=>l(t.unref(S.EVENTS).EDIT,{task:E.data.node.task,section:t.unref(S.SECTIONS).TASKS}))},[t.createVNode(q,{title:E.$t("edit")},{default:t.withCtx(()=>[t.createVNode($n,{class:"button-icon",alt:"Edit task"})]),_:1},8,["title"])],2)):t.createCommentVNode("",!0),!c.value&&!E.data.isReadOnly?(t.openBlock(),t.createElementBlock("span",{key:4,class:t.normalizeClass(["circle-button",[`bg-${i.value}`]]),onClick:m[5]||(m[5]=_=>l(t.unref(S.EVENTS).DELETE,{id:s.value,section:t.unref(S.SECTIONS).TASKS}))},[t.createVNode(q,{title:E.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Rn,{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:E.targetPosition},null,8,["position"])],64))}}),Md=D(Rd,[["__scopeId","data-v-3bf9185b"]]),xd={name:"Task",inheritAttrs:!1,inject:{execution:{from:Pn}},computed:{SECTIONS(){return S.SECTIONS},EVENTS(){return S.EVENTS},color(){return this.data.color??"primary"},formattedData(){return{...this.data,unused:this.data.node?.triggerDeclaration?.disabled||this.data.node?.trigger?.disabled}},triggerId(){return S.Utils.afterLastDot(this.id)}},emits:[S.EVENTS.DELETE,S.EVENTS.EDIT,S.EVENTS.SHOW_DESCRIPTION],components:{Delete:Rn,Pencil:$n,Handle:ne.Handle,Tooltip:q},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)}}},Fd=Object.assign(xd,{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(Dn,{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(S.EVENTS).SHOW_DESCRIPTION,l)),onExpand:o[3]||(o[3]=l=>n.forwardEvent(t.unref(S.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(S.EVENTS).EDIT,{task:e.data.node.triggerDeclaration,section:t.unref(S.SECTIONS).TRIGGERS}))},[t.createVNode(q,{title:n.$t("edit")},{default:t.withCtx(()=>[t.createVNode($n,{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(S.EVENTS).DELETE,{id:n.triggerId,section:t.unref(S.SECTIONS).TRIGGERS}))},[t.createVNode(q,{title:n.$t("delete")},{default:t.withCtx(()=>[t.createVNode(Rn,{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))}}),Ud={name:"LightningBoltIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Hd=["aria-hidden","aria-label"],zd=["fill","width","height"],Gd={d:"M11 15H6L13 1V9H18L11 23V15Z"},Wd={key:0};function jd(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Gd,[o.title?(t.openBlock(),t.createElementBlock("title",Wd,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,zd))],16,Hd)}const Kd=D(Ud,[["render",jd]]),Yd={class:"collapsed-cluster-node d-flex"},qd={class:"node-text"},Xd={class:"text-white top-button-div"},Zd={components:{Tooltip:q,Handle:ne.Handle,ArrowExpand:On,LightningBolt:Kd},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 S.EVENTS},expandable(){return this.data?.expandable||!1},description(){const e=this.data.node.task??this.data.node.trigger??null;return e?e.description??null:null}}},Jd=Object.assign(Zd,{__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",Yd,[t.createElementVNode("span",qd,[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(S.Utils).afterLastDot(e.id)),1)]),t.createElementVNode("div",Xd,[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(S.EVENTS).EXPAND,{id:e.id}))},[t.createVNode(q,{title:n.$t("expand")},{default:t.withCtx(()=>[t.createVNode(On,{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))}}),Qd=D(Jd,[["__scopeId","data-v-89413b39"]]),ef={name:"SplitCellsVerticalIcon",emits:["click"]},tf={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function nf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("svg",tf,[...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 of=D(ef,[["render",nf],["__scopeId","data-v-084c51e6"]]),lf={name:"SplitCellsHorizontalIcon",emits:["click"]},rf={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function af(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("svg",rf,[...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 sf=D(lf,[["render",af],["__scopeId","data-v-c77c1469"]]),cf={name:"DownloadIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},uf=["aria-hidden","aria-label"],df=["fill","width","height"],ff={d:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},mf={key:0};function pf(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ff,[o.title?(t.openBlock(),t.createElementBlock("title",mf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,df))],16,uf)}const gf=D(cf,[["render",pf]]);function hf(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 Ef=(()=>{let e=0;const n=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${n()}${e}`)})();function Re(e){const n=[];for(let o=0,l=e.length;o<l;o++)n.push(e[o]);return n}let Je=null;function Sl(e={}){return Je||(e.includeStyleProperties?(Je=e.includeStyleProperties,Je):(Je=Re(window.getComputedStyle(document.documentElement)),Je))}function Dt(e,n){const l=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(n);return l?parseFloat(l.replace("px","")):0}function _f(e){const n=Dt(e,"border-left-width"),o=Dt(e,"border-right-width");return e.clientWidth+n+o}function yf(e){const n=Dt(e,"border-top-width"),o=Dt(e,"border-bottom-width");return e.clientHeight+n+o}function bl(e,n={}){const o=n.width||_f(e),l=n.height||yf(e);return{width:o,height:l}}function kf(){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 Cf(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 Pt(e){return new Promise((n,o)=>{const l=new Image;l.onload=()=>{l.decode().then(()=>{requestAnimationFrame(()=>n(l))})},l.onerror=o,l.crossOrigin="anonymous",l.decoding="async",l.src=e})}async function vf(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(n=>`data:image/svg+xml;charset=utf-8,${n}`)}async function Nf(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),vf(a)}const Ee=(e,n)=>{if(e instanceof n)return!0;const o=Object.getPrototypeOf(e);return o===null?!1:o.constructor.name===n.name||Ee(o,n)};function Sf(e){const n=e.getPropertyValue("content");return`${e.cssText} content: '${n.replace(/'|"/g,"")}';`}function bf(e,n){return Sl(n).map(o=>{const l=e.getPropertyValue(o),a=e.getPropertyPriority(o);return`${o}: ${l}${a?" !important":""};`}).join(" ")}function wf(e,n,o,l){const a=`.${e}:${n}`,r=o.cssText?Sf(o):bf(o,l);return document.createTextNode(`${a}{${r}}`)}function To(e,n,o,l){const a=window.getComputedStyle(e,o),r=a.getPropertyValue("content");if(r===""||r==="none")return;const i=Ef();try{n.className=`${n.className} ${i}`}catch{return}const s=document.createElement("style");s.appendChild(wf(i,o,a,l)),n.appendChild(s)}function Lf(e,n,o){To(e,n,":before",o),To(e,n,":after",o)}const Ao="application/font-woff",Io="image/jpeg",Tf={woff:Ao,woff2:Ao,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Io,jpeg:Io,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Af(e){const n=/\.([^./]*?)$/g.exec(e);return n?n[1]:""}function xn(e){const n=Af(e).toLowerCase();return Tf[n]||""}function If(e){return e.split(/,/)[1]}function yn(e){return e.search(/^(data:)/)!==-1}function Vf(e,n){return`data:${n};base64,${e}`}async function wl(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 ln={};function Bf(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 Fn(e,n,o){const l=Bf(e,n,o.includeQueryParams);if(ln[l]!=null)return ln[l];o.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let a;try{const r=await wl(e,o.fetchRequestInit,({res:i,result:s})=>(n||(n=i.headers.get("Content-Type")||""),If(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 ln[l]=a,a}async function Of(e){const n=e.toDataURL();return n==="data:,"?e.cloneNode(!1):Pt(n)}async function Df(e,n){if(e.currentSrc){const r=document.createElement("canvas"),i=r.getContext("2d");r.width=e.clientWidth,r.height=e.clientHeight,i?.drawImage(e,0,0,r.width,r.height);const s=r.toDataURL();return Pt(s)}const o=e.poster,l=xn(o),a=await Fn(o,l,n);return Pt(a)}async function Pf(e,n){var o;try{if(!((o=e?.contentDocument)===null||o===void 0)&&o.body)return await Ht(e.contentDocument.body,n,!0)}catch{}return e.cloneNode(!1)}async function $f(e,n){return Ee(e,HTMLCanvasElement)?Of(e):Ee(e,HTMLVideoElement)?Df(e,n):Ee(e,HTMLIFrameElement)?Pf(e,n):e.cloneNode(Ll(e))}const Rf=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",Ll=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function Mf(e,n,o){var l,a;if(Ll(n))return n;let r=[];return Rf(e)&&e.assignedNodes?r=Re(e.assignedNodes()):Ee(e,HTMLIFrameElement)&&(!((l=e.contentDocument)===null||l===void 0)&&l.body)?r=Re(e.contentDocument.body.childNodes):r=Re(((a=e.shadowRoot)!==null&&a!==void 0?a:e).childNodes),r.length===0||Ee(e,HTMLVideoElement)||await r.reduce((i,s)=>i.then(()=>Ht(s,o)).then(c=>{c&&n.appendChild(c)}),Promise.resolve()),n}function xf(e,n,o){const l=n.style;if(!l)return;const a=window.getComputedStyle(e);a.cssText?(l.cssText=a.cssText,l.transformOrigin=a.transformOrigin):Sl(o).forEach(r=>{let i=a.getPropertyValue(r);r==="font-size"&&i.endsWith("px")&&(i=`${Math.floor(parseFloat(i.substring(0,i.length-2)))-.1}px`),Ee(e,HTMLIFrameElement)&&r==="display"&&i==="inline"&&(i="block"),r==="d"&&n.getAttribute("d")&&(i=`path(${n.getAttribute("d")})`),l.setProperty(r,i,a.getPropertyPriority(r))})}function Ff(e,n){Ee(e,HTMLTextAreaElement)&&(n.innerHTML=e.value),Ee(e,HTMLInputElement)&&n.setAttribute("value",e.value)}function Uf(e,n){if(Ee(e,HTMLSelectElement)){const o=n,l=Array.from(o.children).find(a=>e.value===a.getAttribute("value"));l&&l.setAttribute("selected","")}}function Hf(e,n,o){return Ee(n,Element)&&(xf(e,n,o),Lf(e,n,o),Ff(e,n),Uf(e,n)),n}async function zf(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 Ht(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 Ht(e,n,o){return!o&&n.filter&&!n.filter(e)?null:Promise.resolve(e).then(l=>$f(l,n)).then(l=>Mf(e,l,n)).then(l=>Hf(e,l,n)).then(l=>zf(l,n))}const Tl=/url\((['"]?)([^'"]+?)\1\)/g,Gf=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,Wf=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function jf(e){const n=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${n})(['"]?\\))`,"g")}function Kf(e){const n=[];return e.replace(Tl,(o,l,a)=>(n.push(a),o)),n.filter(o=>!yn(o))}async function Yf(e,n,o,l,a){try{const r=o?hf(n,o):n,i=xn(n);let s;return a||(s=await Fn(r,i,l)),e.replace(jf(n),`$1${s}$3`)}catch{}return e}function qf(e,{preferredFontFormat:n}){return n?e.replace(Wf,o=>{for(;;){const[l,,a]=Gf.exec(o)||[];if(!a)return"";if(a===n)return`src: ${l};`}}):e}function Al(e){return e.search(Tl)!==-1}async function Il(e,n,o){if(!Al(e))return e;const l=qf(e,o);return Kf(l).reduce((r,i)=>r.then(s=>Yf(s,i,n,o)),Promise.resolve(l))}async function Qe(e,n,o){var l;const a=(l=n.style)===null||l===void 0?void 0:l.getPropertyValue(e);if(a){const r=await Il(a,null,o);return n.style.setProperty(e,r,n.style.getPropertyPriority(e)),!0}return!1}async function Xf(e,n){await Qe("background",e,n)||await Qe("background-image",e,n),await Qe("mask",e,n)||await Qe("-webkit-mask",e,n)||await Qe("mask-image",e,n)||await Qe("-webkit-mask-image",e,n)}async function Zf(e,n){const o=Ee(e,HTMLImageElement);if(!(o&&!yn(e.src))&&!(Ee(e,SVGImageElement)&&!yn(e.href.baseVal)))return;const l=o?e.src:e.href.baseVal,a=await Fn(l,xn(l),n);await new Promise((r,i)=>{e.onload=r,e.onerror=n.onImageErrorHandler?(...c)=>{try{r(n.onImageErrorHandler(...c))}catch(u){i(u)}}: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 Jf(e,n){const l=Re(e.childNodes).map(a=>Vl(a,n));await Promise.all(l).then(()=>e)}async function Vl(e,n){Ee(e,Element)&&(await Xf(e,n),await Zf(e,n),await Jf(e,n))}function Qf(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 Vo={};async function Bo(e){let n=Vo[e];if(n!=null)return n;const l=await(await fetch(e)).text();return n={url:e,cssText:l},Vo[e]=n,n}async function Oo(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),wl(s,n.fetchRequestInit,({result:c})=>(o=o.replace(i,`url(${c})`),[i,c]))});return Promise.all(r).then(()=>o)}function Do(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 em(e,n){const o=[],l=[];return e.forEach(a=>{if("cssRules"in a)try{Re(a.cssRules||[]).forEach((r,i)=>{if(r.type===CSSRule.IMPORT_RULE){let s=i+1;const c=r.href,u=Bo(c).then(f=>Oo(f,n)).then(f=>Do(f).forEach(h=>{try{a.insertRule(h,h.startsWith("@import")?s+=1:a.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:h,error:g})}})).catch(f=>{console.error("Error loading remote css",f.toString())});l.push(u)}})}catch(r){const i=e.find(s=>s.href==null)||document.styleSheets[0];a.href!=null&&l.push(Bo(a.href).then(s=>Oo(s,n)).then(s=>Do(s).forEach(c=>{i.insertRule(c,i.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{Re(a.cssRules||[]).forEach(r=>{o.push(r)})}catch(r){console.error(`Error while reading CSS rules from ${a.href}`,r)}}),o))}function tm(e){return e.filter(n=>n.type===CSSRule.FONT_FACE_RULE).filter(n=>Al(n.style.getPropertyValue("src")))}async function nm(e,n){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const o=Re(e.ownerDocument.styleSheets),l=await em(o,n);return tm(l)}function Bl(e){return e.trim().replace(/["']/g,"")}function om(e){const n=new Set;function o(l){(l.style.fontFamily||getComputedStyle(l).fontFamily).split(",").forEach(r=>{n.add(Bl(r))}),Array.from(l.children).forEach(r=>{r instanceof HTMLElement&&o(r)})}return o(e),n}async function lm(e,n){const o=await nm(e,n),l=om(e);return(await Promise.all(o.filter(r=>l.has(Bl(r.style.fontFamily))).map(r=>{const i=r.parentStyleSheet?r.parentStyleSheet.href:null;return Il(r.cssText,i,n)}))).join(`
25
+ `)}async function rm(e,n){const o=n.fontEmbedCSS!=null?n.fontEmbedCSS:n.skipFonts?null:await lm(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 am(e,n={}){const{width:o,height:l}=bl(e,n),a=await Ht(e,n,!0);return await rm(a,n),await Vl(a,n),Qf(a,n),await Nf(a,o,l)}async function Ol(e,n={}){const{width:o,height:l}=bl(e,n),a=await am(e,n),r=await Pt(a),i=document.createElement("canvas"),s=i.getContext("2d"),c=n.pixelRatio||kf(),u=n.canvasWidth||o,f=n.canvasHeight||l;return i.width=u*c,i.height=f*c,n.skipAutoScale||Cf(i),i.style.width=`${u}`,i.style.height=`${f}`,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 im(e,n={}){return(await Ol(e,n)).toDataURL()}async function sm(e,n={}){return(await Ol(e,n)).toDataURL("image/jpeg",n.quality||1)}function cm(){const e=t.ref(""),n=t.ref("png"),o=t.ref();async function l(s,c={}){const u=c.fileName??`flow-graph-${Date.now()}`,f=s.querySelectorAll(".vue-flow__edge-path"),h=Array.from(f).map(g=>{const y=g,k=y.getAttribute("style")||"";return y.setAttribute("style",`${k}; stroke: ${window.getComputedStyle(y).stroke}; stroke-width: ${window.getComputedStyle(y).strokeWidth}; stroke-dasharray: ${window.getComputedStyle(y).strokeDasharray}`),{element:y,original:k}});try{const g=c.type==="jpeg"?await a(s,c):await r(s,c);return c.shouldDownload&&u&&i(u),g}finally{h.forEach(({element:g,original:y})=>y?g.setAttribute("style",y):g.removeAttribute("style"))}}function a(s,c={quality:.95}){return o.value=null,sm(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,im(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 um={key:1,class:"exporting"},dm=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:[S.EVENTS.EDIT,S.EVENTS.DELETE,S.EVENTS.RUN_TASK,S.EVENTS.OPEN_LINK,S.EVENTS.SHOW_LOGS,S.EVENTS.SHOW_DESCRIPTION,S.EVENTS.RUN_TASK,"on-add-flowable-error",S.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",S.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:f,vueFlowRef:h}=ne.useVueFlow(o.id),g=t.ref({}),y=t.ref([]),k=t.ref(new Set),v=t.ref([]),{capture:E}=cm();t.provide(Pn,t.computed(()=>o.execution)),t.provide(vl,t.computed(()=>o.subflowsExecutions));const m=n;t.onMounted(()=>{_()}),t.watch(()=>o.flowGraph,()=>{_()}),t.watch(()=>o.isHorizontal,()=>{_()});const _=()=>{S.cleanGraph(o.id),t.nextTick(()=>{m("loading",!0);const $=k.value;k.value=new Set,y.value=[],g.value={},$.forEach(U=>F(S.CLUSTER_PREFIX+U,!1,!1));const I=S.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,y.value,o.isHorizontal,g.value,k.value,v.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction);I&&(f(I),u(),m("loading",!1))})},L=$=>{l.value||S.linkedElements(o.id,$.uid).forEach(I=>{I?.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+Ce("--bs-gray-900")},I.class="rounded-3")})},N=()=>{V()},V=()=>{r.value.filter($=>$.type==="task"||$.type==="trigger").forEach($=>{$.style={...$.style,opacity:"1",outline:"none"},$.class=""})};s($=>{l.value=!0,V(),$.node.style={...$.node.style,zIndex:1976},a.value=$.node.position}),c($=>{if(l.value=!1,$.intersections&&w($.intersections,$.node)===null){const I=$.node,U=$.intersections.find(R=>R.type==="task");if(U)try{o.source&&m("swapped-task",{newSource:z.swapBlocks({source:o.source,section:"tasks",key1:S.Utils.afterLastDot(I.id)??"",key2:S.Utils.afterLastDot(U.id)??""}),swappedTasks:[I.id,U.id]})}catch(R){m("message",{variant:"error",title:"cannot swap tasks",message:`${R.message}, ${R.messageOptions}`}),I.position=a.value}else I.position=a.value}else $.node.position=a.value;V(),$.node.style={...$.node.style,zIndex:5},a.value=null});const B=t.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter($=>$.cluster.type.endsWith("SubflowGraphCluster")).map($=>$.cluster.taskNode.uid+"."):[]);i($=>{V(),r.value.filter(I=>I.id!==$.node.id).forEach(I=>{I.type==="trigger"||I.type==="task"&&(I.id.startsWith($.node.id+".")||$.node.id.startsWith(I.id+"."))||B?.value?.some(U=>I.id.startsWith(U))?I.style={...I.style,opacity:"0.5"}:I.style={...I.style,opacity:"1"}}),$.intersections&&!w($.intersections,$.node)&&$.intersections.filter(I=>I.type==="task").length===1&&($.intersections.forEach(I=>{I.type==="task"&&(I.style={...I.style,outline:"0.5px solid "+Ce("--bs-primary")},I.class="rounded-3")}),$.node.style={...$.node.style,outline:"0.5px solid "+Ce("--bs-primary")},$.node.class="rounded-3")});const w=($,I)=>{const U=$.filter(R=>R.type==="task").map(R=>S.Utils.afterLastDot(R.id));if(U.length>1)return"toomuchtaskerror";try{if(U.length===1&&o.source&&z.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:S.Utils.afterLastDot(U[0])??"",key2:S.Utils.afterLastDot(I.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return $.filter(R=>R.type==="trigger").length>0?"triggererror":null},F=($,I,U=!1)=>{const R=o.flowGraph.clusters.find(fe=>fe.cluster.uid.endsWith($)),Ie=$.replace(S.CLUSTER_PREFIX,"");k.value.add(Ie),y.value=y.value.concat(R.nodes.filter(fe=>fe!==Ie||U)),y.value=y.value.concat([R.cluster.uid]),g.value={...g.value,[R.cluster.uid]:Ie,[R.start]:Ie,[R.end]:Ie};for(let fe of R.nodes)o.flowGraph.clusters.map(Fe=>Fe.cluster.uid).includes(fe)&&F(fe,!1,!0);I&&_()},G=$=>{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($.type)&&!o.expandedSubflows.includes($.id)){m("expand-subflow",[...o.expandedSubflows,$.id]);return}g.value={},y.value=[],v.value=[],k.value.delete($.id),k.value.forEach(U=>F(U,!1,!1)),_()},oe=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=t.ref(!0),Z=t.ref(!1),$e=()=>Z.value=!Z.value;function Xe($){if(!h.value){console.warn("Flow not found");return}ge.value=!1,E(h.value,{type:$,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return($,I)=>(t.openBlock(),t.createBlock(t.unref(ne.VueFlow),{id:e.id,"default-marker-color":t.unref(Ce)("--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(U=>[t.createVNode(Pc,t.mergeProps(U,{onCollapse:I[0]||(I[0]=R=>F(R,!0))}),null,16)]),"node-dot":t.withCtx(U=>[t.createVNode(Gc,t.normalizeProps(t.guardReactiveProps(U)),null,16)]),"node-task":t.withCtx(U=>[t.createVNode(Md,t.mergeProps(U,{icons:e.icons,"icon-component":e.iconComponent,"playground-enabled":e.playgroundEnabled,"playground-ready-to-start":e.playgroundReadyToStart,onEdit:I[1]||(I[1]=R=>m(t.unref(S.EVENTS).EDIT,R)),onDelete:I[2]||(I[2]=R=>m(t.unref(S.EVENTS).DELETE,R)),onRunTask:I[3]||(I[3]=R=>m(t.unref(S.EVENTS).RUN_TASK,R)),onExpand:I[4]||(I[4]=R=>G(R)),onOpenLink:I[5]||(I[5]=R=>m(t.unref(S.EVENTS).OPEN_LINK,R)),onShowLogs:I[6]||(I[6]=R=>m(t.unref(S.EVENTS).SHOW_LOGS,R)),onShowDescription:I[7]||(I[7]=R=>m(t.unref(S.EVENTS).SHOW_DESCRIPTION,R)),onShowCondition:I[8]||(I[8]=R=>m(t.unref(S.EVENTS).SHOW_CONDITION,R)),onMouseover:I[9]||(I[9]=R=>L(R)),onMouseleave:I[10]||(I[10]=R=>N()),onAddError:I[11]||(I[11]=R=>m("on-add-flowable-error",R)),"enable-subflow-interaction":e.enableSubflowInteraction}),null,16,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":t.withCtx(U=>[t.createVNode(Dn,t.mergeProps(U,{icons:e.icons,"icon-component":e.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":t.withCtx(U=>[t.createVNode(Fd,t.mergeProps(U,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:I[12]||(I[12]=R=>m(t.unref(S.EVENTS).DELETE,R)),onEdit:I[13]||(I[13]=R=>m(t.unref(S.EVENTS).EDIT,R)),onShowDescription:I[14]||(I[14]=R=>m(t.unref(S.EVENTS).SHOW_DESCRIPTION,R))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":t.withCtx(U=>[t.createVNode(Qd,t.mergeProps(U,{onExpand:I[15]||(I[15]=R=>G(R))}),null,16)]),"edge-edge":t.withCtx(U=>[t.createVNode(ou,t.mergeProps(U,{"yaml-source":e.source,onAddTask:I[16]||(I[16]=R=>m(t.unref(S.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(Sc),{"pattern-color":oe?t.unref(Ce)("--bs-grey-500"):t.unref(Ce)("--bs-grey-300")},null,8,["pattern-color"]),ge.value?(t.openBlock(),t.createBlock(t.unref(Qt.Controls),{key:0,"show-interactive":!1},{default:t.withCtx(()=>[e.toggleOrientationButton?(t.openBlock(),t.createBlock(t.unref(Qt.ControlButton),{key:0,onClick:I[17]||(I[17]=U=>m("toggle-orientation",U))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.isHorizontal?sf:of)))]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(Qt.ControlButton),{onClick:$e},{default:t.withCtx(()=>[t.createVNode(gf)]),_:1}),Z.value?(t.openBlock(),t.createElementBlock("ul",um,[t.createElementVNode("li",{onClick:I[18]||(I[18]=U=>Xe("jpeg")),class:"item"}," Export as .JPEG "),t.createElementVNode("li",{onClick:I[19]||(I[19]=U=>Xe("png")),class:"item"}," Export as .PNG ")])):t.createCommentVNode("",!0)]),_:1})):t.createCommentVNode("",!0)]),_:1},8,["id","default-marker-color"]))}}),fm=D(dm,[["__scopeId","data-v-ccfc7443"]]),mm={class:"text"},pm=t.defineComponent({__name:"Status",props:{status:{},title:{default:void 0},icon:{type:Boolean,default:!1},size:{default:"default"}},setup(e){const n=e,o=t.computed(()=>n.icon?te.icon()[n.status?.toUpperCase()]:void 0),l=t.computed(()=>n.title??n.status),a=t.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(r,i)=>(t.openBlock(),t.createElementBlock("button",{"data-test-id":"status",type:"button",class:t.normalizeClass(a.value)},[r.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:"icon"})):t.createCommentVNode("",!0),t.createElementVNode("span",mm,t.toDisplayString(l.value),1)],2))}}),gm=D(pm,[["__scopeId","data-v-ec9791b3"]]),hm={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Em=["aria-hidden","aria-label"],_m=["fill","width","height"],ym={d:"M10,17L15,12L10,7V17Z"},km={key:0};function Cm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ym,[o.title?(t.openBlock(),t.createElementBlock("title",km,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,_m))],16,Em)}const vm=D(hm,[["render",Cm]]),Nm={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sm=["aria-hidden","aria-label"],bm=["fill","width","height"],wm={d:"M7,10L12,15L17,10H7Z"},Lm={key:0};function Tm(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",wm,[o.title?(t.openBlock(),t.createElementBlock("title",Lm,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,bm))],16,Sm)}const Am=D(Nm,[["render",Tm]]);function Im(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Dl(e){return typeof e=="function"?e():t.unref(e)}const Vm=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Bm=Object.prototype.toString,Om=e=>Bm.call(e)==="[object Object]",Dm=()=>{};function Pm(e){return Object.entries(e)}function $m(e){var n;const o=Dl(e);return(n=o?.$el)!=null?n:o}const Pl=Vm?window:void 0;function Po(...e){let n,o,l,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([o,l,a]=e,n=Pl):[n,o,l,a]=e,!n)return Dm;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const r=[],i=()=>{r.forEach(f=>f()),r.length=0},s=(f,h,g,y)=>(f.addEventListener(h,g,y),()=>f.removeEventListener(h,g,y)),c=t.watch(()=>[$m(n),Dl(a)],([f,h])=>{if(i(),!f)return;const g=Om(h)?{...h}:h;r.push(...o.flatMap(y=>l.map(k=>s(f,y,k,g))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Im(u),u}const $o=["hash","host","hostname","href","pathname","port","protocol","search"];function Rm(e={}){const{window:n=Pl}=e,o=Object.fromEntries($o.map(r=>[r,t.ref()]));for(const[r,i]of Pm(o))t.watch(i,s=>{!n?.location||n.location[r]===s||(n.location[r]=s)});const l=r=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const f of $o)o[f].value=(i=n?.location)==null?void 0:i[f];return t.reactive({trigger:r,state:s,length:c,origin:u,...o})},a=t.ref(l("load"));return n&&(Po(n,"popstate",()=>a.value=l("popstate"),{passive:!0}),Po(n,"hashchange",()=>a.value=l("hashchange"),{passive:!0})),a}const Mm=["id","open"],xm={class:"d-flex gap-2 align-items-center"},Fm={key:0,class:"d-flex flex-grow-1"},Um=["id"],Hm=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},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),a=Rm(),r=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||r("expand"),!o.noUrlChange&&(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.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,f)=>(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",xm,[u.arrow?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?vm: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",Fm,[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,Um)):t.createCommentVNode("",!0)],8,Mm))}}),pt=D(Hm,[["__scopeId","data-v-4b935a77"]]),zm={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Gm=["aria-hidden","aria-label"],Wm=["fill","width","height"],jm={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"},Km={key:0};function Ym(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",jm,[o.title?(t.openBlock(),t.createElementBlock("title",Km,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Wm))],16,Gm)}const qm=D(zm,[["render",Ym]]),Xm={key:0,class:"language"},Zm=["innerHTML"],Jm=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(qm),Check:t.shallowRef(Nl)},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&&dr.createPopper(i.value,s.value,{placement:"left"})})}function f(){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(h,g)=>(t.openBlock(),t.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:g[0]||(g[0]=y=>l.value=!1)},[h.language&&!l.value?(t.openBlock(),t.createElementBlock("div",Xm,t.toDisplayString(h.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:f}))],512),a.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! ",-1),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,Zm)],32))}}),Ro=D(Jm,[["__scopeId","data-v-a899f6a1"]]);function bt(e){if(e.type)return Array.isArray(e.type)?e.type:[e.type];if(e.$ref)return["#"+e.$ref.slice(8)]}function $l(e){const n=e.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function Qm(e){if(e.enum)return e.enum;if(e.items?.enum)return e.items.enum;if(e.additionalProperties?.enum)return e.additionalProperties.enum}function ep(e){return e.allOf&&(e=e.allOf.reduce((n,o)=>({...n,...o}),{...e}),delete e.allOf),e}function Rl(e){const n={},o=a=>{const r=bt(a);if(r&&r.length>0)return r;if(a.anyOf)return a.anyOf.flatMap(bt).filter(i=>i!==void 0).filter(S.Utils.distinctFilter)},l=o(e);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&e.items){const a=o(e.items);a&&e.items.anyOf&&(n.types=n.types.filter(r=>r!=="array").concat(a))}return e.additionalProperties?n.subType=bt(e.additionalProperties)?.[0]:e.items&&(n.subType=bt(e.items)?.[0]),n}const tp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},np=["aria-hidden","aria-label"],op=["fill","width","height"],lp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},rp={key:0};function ap(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",lp,[o.title?(t.openBlock(),t.createElementBlock("title",rp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,op))],16,np)}const ip=D(tp,[["render",ap]]),sp={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},cp=["aria-hidden","aria-label"],up=["fill","width","height"],dp={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"},fp={key:0};function mp(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",dp,[o.title?(t.openBlock(),t.createElementBlock("title",fp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,up))],16,cp)}const Ml=D(sp,[["render",mp]]),pp={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},gp=["aria-hidden","aria-label"],hp=["fill","width","height"],Ep={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"},_p={key:0};function yp(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",Ep,[o.title?(t.openBlock(),t.createElementBlock("title",_p,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,hp))],16,gp)}const kp=D(pp,[["render",yp]]),Cp={class:"me-3"},vp={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 kp;case"info":return At;case"warning":return Mn;case"danger":return an;default:return At}});return(l,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass("doc-alert alert alert-"+l.type),role:"alert"},[t.createElementVNode("div",Cp,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),t.createElementVNode("div",vp,[t.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),Sp=D(Np,[["__scopeId","data-v-f7fd8bc1"]]),bp={class:"property-detail"},wp={key:0},Lp=["href"],Tp={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},Ap={class:"ref-type"},Ip={key:1,class:"type-box rounded fs-7 px-2 py-1"},Vp={key:1},Bp={class:"border rounded px-2 py-1"},Op={key:2},Dp={class:"border rounded px-2 py-1"},Pp={key:3},$p={class:"border rounded px-2 py-1"},Rp={key:4},Mp={class:"border rounded px-2 py-1"},xp={key:5},Fp={class:"border rounded px-2 py-1"},Up={key:6},Hp={class:"border rounded px-2 py-1"},zp={key:7},Gp={class:"border rounded px-2 py-1"},Wp={key:8},jp={class:"border rounded px-2 py-1"},Kp={key:9},Yp={class:"border rounded px-2 py-1"},qp={key:10},Xp={class:"border rounded px-2 py-1"},Zp={key:11},Jp={class:"border rounded px-2 py-1"},Qp={key:12},e1={class:"border rounded px-2 py-1"},t1={key:13},n1={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},o1={key:14},l1={class:"property-description markdown"},r1={key:2},a1=t.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const n=e,o=t.ref(Rl(n.property).subType),l=t.ref(Qm(n.property)),a=r=>r.replace(/(```)(?:bash|yaml|js|console|json)(\n) *([\s\S]*?```)/g,"$1$2$3").replace(new RegExp("(?<!:):(?![: /])","g"),": ");return(r,i)=>(t.openBlock(),t.createElementBlock("div",bp,[o.value?(t.openBlock(),t.createElementBlock("div",wp,[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",Tp,[t.createElementVNode("span",Ap,t.toDisplayString(t.unref($l)(o.value)),1),t.createVNode(Ml)])],8,Lp)):(t.openBlock(),t.createElementBlock("span",Ip,t.toDisplayString(o.value),1))])):t.createCommentVNode("",!0),r.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",Vp,[i[2]||(i[2]=t.createElementVNode("span",null," Default ",-1)),t.createElementVNode("code",Bp,t.toDisplayString(r.property.default),1)])):t.createCommentVNode("",!0),r.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",Op,[i[3]||(i[3]=t.createElementVNode("span",null," Validation RegExp ",-1)),t.createElementVNode("code",Dp,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",$p,t.toDisplayString(r.property.unit),1)])):t.createCommentVNode("",!0),r.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",Rp,[i[5]||(i[5]=t.createElementVNode("span",null," Min length ",-1)),t.createElementVNode("code",Mp,t.toDisplayString(r.property.minLength),1)])):t.createCommentVNode("",!0),r.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",xp,[i[6]||(i[6]=t.createElementVNode("span",null," Max length ",-1)),t.createElementVNode("code",Fp,t.toDisplayString(r.property.maxLength),1)])):t.createCommentVNode("",!0),r.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",Up,[i[7]||(i[7]=t.createElementVNode("span",null," Min items ",-1)),t.createElementVNode("code",Hp,t.toDisplayString(r.property.minItems),1)])):t.createCommentVNode("",!0),r.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",zp,[i[8]||(i[8]=t.createElementVNode("span",null," Max items ",-1)),t.createElementVNode("code",Gp,t.toDisplayString(r.property.maxItems),1)])):t.createCommentVNode("",!0),r.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",Wp,[i[9]||(i[9]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",jp," >= "+t.toDisplayString(r.property.minimum),1)])):t.createCommentVNode("",!0),r.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",Kp,[i[10]||(i[10]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Yp," > "+t.toDisplayString(r.property.minimum),1)])):t.createCommentVNode("",!0),r.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",qp,[i[11]||(i[11]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",Xp," <= "+t.toDisplayString(r.property.maximum),1)])):t.createCommentVNode("",!0),r.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",Zp,[i[12]||(i[12]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",Jp," < "+t.toDisplayString(r.property.maximum),1)])):t.createCommentVNode("",!0),r.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",Qp,[i[13]||(i[13]=t.createElementVNode("span",null," Format ",-1)),t.createElementVNode("code",e1,t.toDisplayString(r.property.format),1)])):t.createCommentVNode("",!0),l.value!==void 0?(t.openBlock(),t.createElementBlock("div",t1,[i[14]||(i[14]=t.createElementVNode("span",null," Possible Values ",-1)),t.createElementVNode("div",n1,[(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",o1,[t.createElementVNode("div",l1,[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",r1,[t.createVNode(Sp,{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)]))}}),i1=D(a1,[["__scopeId","data-v-721fbdf5"]]),s1={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},c1=["aria-hidden","aria-label"],u1=["fill","width","height"],d1={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},f1={key:0};function m1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",d1,[o.title?(t.openBlock(),t.createElementBlock("title",f1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,u1))],16,c1)}const p1=D(s1,[["render",m1]]),g1={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},h1=["aria-hidden","aria-label"],E1=["fill","width","height"],_1={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"},y1={key:0};function k1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",_1,[o.title?(t.openBlock(),t.createElementBlock("title",y1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,E1))],16,h1)}const C1=D(g1,[["render",k1]]),v1={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},N1=["aria-hidden","aria-label"],S1=["fill","width","height"],b1={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"},w1={key:0};function L1(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",b1,[o.title?(t.openBlock(),t.createElementBlock("title",w1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,S1))],16,N1)}const T1=D(v1,[["render",L1]]),A1={class:"border overflow-hidden"},I1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},V1={class:"d-flex gap-2"},B1={class:"d-flex flex-wrap justify-content-end gap-2"},O1=["href"],D1={class:"ref-type"},P1={key:1,class:"type-box rounded fs-7 px-2 py-1"},$1=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:()=>[]},noUrlChange:{type:Boolean,default:!1}},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=>s.$dynamic===!0?!0:s.$dynamic===!1?!1:s.anyOf?.some(c=>c.$dynamic===!0)??!1;function i(s){const c=[],u=[];for(const g in s)typeof s[g]=="object"&&(s[g]=ep(s[g]),s[g].$required?c.push(g):u.push(g));const f=[...c.sort(),...u.sort()],h={};return f.forEach(g=>{(!s[g].$deprecated||o.forceInclude?.includes(g))&&(h[g]=s[g])}),h}return(s,c)=>(t.openBlock(),t.createBlock(pt,{class:"section-collapsible","clickable-text":s.sectionName,href:s.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":s.initiallyExpanded||a.value,"no-url-change":s.noUrlChange},t.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[t.createElementVNode("div",A1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i(s.properties),(u,f)=>(t.openBlock(),t.createBlock(pt,{class:"property",key:f,arrow:!1,"clickable-text":f,href:s.href+"_"+f,onExpand:c[1]||(c[1]=h=>a.value=!0),"no-url-change":s.noUrlChange},{additionalButtonText:t.withCtx(()=>[u.$required?(t.openBlock(),t.createBlock(q,{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:h})=>[t.createElementVNode("span",I1,[t.createElementVNode("span",V1,[s.showDynamic&&!r(u)?(t.openBlock(),t.createBlock(q,{key:0,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(C1,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),u.$beta?(t.openBlock(),t.createBlock(q,{key:1,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(T1,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),u.$deprecated?(t.openBlock(),t.createBlock(q,{key:2,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Mn,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("span",B1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(Rl)(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 ref-type-box rounded fs-7 px-2 py-1",href:g,onClick:c[0]||(c[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("span",D1,t.toDisplayString(t.unref($l)(g)),1),t.createVNode(Ml)],8,O1)):(t.openBlock(),t.createElementBlock("span",P1,t.toDisplayString(g),1))],64))),128)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(h?ip:p1),{class:"arrow"}))])])]),content:t.withCtx(()=>[t.createVNode(i1,{property:u},{markdown:t.withCtx(({content:h})=>[t.renderSlot(s.$slots,"markdown",{content:h},void 0,!0)]),_:3},8,["property"])]),_:2},1032,["clickable-text","href","no-url-change"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded","no-url-change"]))}}),wt=D($1,[["__scopeId","data-v-41e2cdcf"]]),R1={class:"d-flex flex-column gap-6"},M1={class:"d-flex flex-column gap-3"},x1={key:0,class:"alert alert-info mb-2",role:"alert"},F1={key:1,class:"plugin-title markdown"},U1={key:2,class:"markdown"},H1={class:"d-flex flex-column gap-4"},z1={class:"d-flex flex-column gap-3"},G1={class:"markdown"},W1={key:0,class:"w-100 align-self-center"},j1={class:"markdown"},K1={class:"markdown"},Y1={class:"markdown"},q1={class:"d-flex flex-column gap-7 ps-3"},X1={class:"markdown"},Z1=t.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(e){let n,o;const l=e,a=t.ref(!1),r=t.ref(new Set),i=t.ref(0),s=async()=>{const k=window.location.hash.slice(1);if(!k||!l.schema.definitions){r.value.clear();return}const v=k.includes("#")?k.split("#").pop()?.split(".").pop():k;if(v&&v in l.schema.definitions){a.value=!0,i.value+=1,r.value.clear(),r.value.add(v),await t.nextTick();let E=0;const m=30,_=()=>{const L=document.getElementById(v);L?L.scrollIntoView({behavior:"smooth",block:"start"}):E<m&&(E++,requestAnimationFrame(_))};requestAnimationFrame(_)}else r.value.clear()};t.watch([()=>l.schema,()=>l.pluginType],([k,v],[E,m])=>{(k!==E||v!==m)&&l.schema.definitions&&s()});const c=k=>k?.full?k.code:`id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
26
26
  type: "${l.pluginType}"
27
- `.concat(k.code),u=t.ref(),f=t.computed(()=>l.schema.properties?.$examples),h=t.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(k=>[k.name,{...k,name:void 0}]))),{getHighlighterCore:g}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);u.value=([n,o]=t.withAsyncContext(()=>g()),n=await n,o(),n);const y="github-"+(l.darkMode?"dark":"light");return t.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),t.onUnmounted(()=>{window.removeEventListener("hashchange",s)}),(k,v)=>(t.openBlock(),t.createElementBlock("div",B1,[t.createElementVNode("div",D1,[k.schema.properties?.$beta?(t.openBlock(),t.createElementBlock("div",P1,[...v[0]||(v[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),k.schema.properties?.title?(t.openBlock(),t.createElementBlock("div",$1,[t.renderSlot(k.$slots,"markdown",{content:k.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),k.schema.properties?.description?(t.openBlock(),t.createElementBlock("div",R1,[t.renderSlot(k.$slots,"markdown",{content:k.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(Ro,{highlighter:u.value,language:"yaml",theme:y,code:`type: "${k.pluginType}"`,key:k.pluginType},null,8,["highlighter","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column gap-3",key:k.pluginType},[f.value?(t.openBlock(),t.createBlock(pt,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":k.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",M1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.value,(E,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:k.pluginType+"-"+m},[t.createElementVNode("div",x1,[t.createElementVNode("div",F1,[E.title?t.renderSlot(k.$slots,"markdown",{key:0,content:E.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),E.code?(t.openBlock(),t.createBlock(Ro,{key:0,highlighter:u.value,language:E.lang??"yaml",theme:y,code:c(E)},null,8,["highlighter","language","code"])):t.createCommentVNode("",!0)]),m<f.value.length-1?(t.openBlock(),t.createElementBlock("hr",U1)):t.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):t.createCommentVNode("",!0),k.schema.properties?.properties?(t.openBlock(),t.createBlock(wt,{key:1,class:"plugin-section",properties:k.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":k.propsInitiallyExpanded,"force-include":k.forceIncludeProperties,"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:E})=>[t.createElementVNode("div",H1,[t.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","no-url-change"])):t.createCommentVNode("",!0),k.schema.outputs?.properties&&Object.keys(k.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(wt,{key:2,class:"plugin-section",properties:k.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:E})=>[t.createElementVNode("div",z1,[t.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):t.createCommentVNode("",!0),k.schema.properties?.$metrics?(t.openBlock(),t.createBlock(wt,{key:3,class:"plugin-section",properties:h.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:E})=>[t.createElementVNode("div",G1,[t.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):t.createCommentVNode("",!0),k.schema.definitions&&Object.keys(k.schema.definitions).length>0?(t.openBlock(),t.createBlock(pt,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":a.value,key:`definitions-${k.pluginType}-${i.value}`,"no-url-change":k.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",W1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.entries(k.schema.definitions),([E,m])=>(t.openBlock(),t.createBlock(wt,{properties:m.properties,"section-name":m.title??E.split("_")[0],href:E,"show-dynamic":!1,"initially-expanded":r.value.has(E),key:k.pluginType+"-"+E,class:"plugin-section nested-button-py-2",onExpand:_=>{a.value=!0,r.value.add(E)},"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:_})=>[t.createElementVNode("div",j1,[t.renderSlot(k.$slots,"markdown",{content:_},void 0,!0)])]),_:3},8,["properties","section-name","href","initially-expanded","onExpand","no-url-change"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):t.createCommentVNode("",!0)]))]))}}),Y1=P(K1,[["__scopeId","data-v-e94db40a"]]),q1={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},X1=["aria-hidden","aria-label"],Z1=["fill","width","height"],J1={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},Q1={key:0};function eg(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",J1,[o.title?(t.openBlock(),t.createElementBlock("title",Q1,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Z1))],16,X1)}const tg=P(q1,[["render",eg]]),ng=["href"],og=["src","alt"],lg=t.defineComponent({__name:"RowLink",props:{iconB64Svg:{},text:{},routePath:{},href:{}},setup(e){const n=e,o=t.computed(()=>n.href===void 0?`${n.routePath}/${We(n.text)}`:n.href);return(l,a)=>(t.openBlock(),t.createElementBlock("a",{href:o.value,class:"row-link d-flex flex-grow-1 align-items-center gap-7 rounded"},[t.createElementVNode("img",{src:l.iconB64Svg,alt:`${l.text} icon`},null,8,og),t.createTextVNode(t.toDisplayString(l.text)+" ",1),t.createVNode(tg,{class:"ms-auto"})],8,ng))}}),Mo=P(lg,[["__scopeId","data-v-a361531e"]]),rg={class:"d-flex flex-column gap-4"},ag={key:1,class:"d-flex flex-column"},ig=["id"],sg={class:"d-flex flex-column"},cg=t.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{}},emits:["goTo"],setup(e){const n=e,o=t.computed(()=>n.plugins.find(f=>n.subGroup===void 0?!0:We(et(f))===n.subGroup)),l=t.computed(()=>o.value?.longDescription??o.value?.description),a=t.computed(()=>n.plugins.filter(f=>f.name.toLowerCase()===n.pluginName.toLowerCase()&&f.subGroup!==void 0)),r=f=>{let h=f.split(".");return h?.[h.length-1]},i=f=>`${n.routePath}/${We(f)}`,s=f=>`${n.routePath}/${f}`;function c(f){return Object.fromEntries(Object.entries(f).filter(([h,g])=>Ho(h,g)).map(([h,g])=>[h.replace(/[A-Z]/g,y=>` ${y}`),g.filter(({deprecated:y})=>!y).map(({cls:y})=>y)]))}const u=t.computed(()=>c(o.value));return(f,h)=>(t.openBlock(),t.createElementBlock("div",rg,[l.value!==void 0?t.renderSlot(f.$slots,"markdown",{key:0,content:l.value.replace(/ *:(?![ /])/g,": ")}):t.createCommentVNode("",!0),f.subGroup===void 0&&f.plugins.length>1?(t.openBlock(),t.createElementBlock("div",ag,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value,g=>(t.openBlock(),t.createBlock(Mo,{id:`group-${t.unref(We)(t.unref(et)(g))}`,"icon-b64-svg":"data:image/svg+xml;base64,"+(f.icons[g.subGroup]??f.icons[g.group]),text:t.unref(et)(g),href:i(t.unref(et)(g)),key:t.unref(et)(g),"route-path":f.routePath,class:"text-capitalize",onClick:y=>f.$emit("goTo",{subGroup:g})},null,8,["id","icon-b64-svg","text","href","route-path","onClick"]))),128))])):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(u.value,(g,y)=>(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column elements-section",key:y},[t.createElementVNode("h4",{id:`section-${t.unref(We)(y)}`,class:"text-capitalize"},t.toDisplayString(y),9,ig),t.createElementVNode("div",sg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g,k=>(t.openBlock(),t.createBlock(Mo,{id:t.unref(We)(k),"icon-b64-svg":"data:image/svg+xml;base64,"+(f.icons[k]??f.icons[o.value.subGroup??o.value.group]??f.icons[o.value.group]),text:r(k),href:s(k),key:k,"route-path":f.routePath,class:"text-capitalize",onClick:v=>f.$emit("goTo",{element:k})},null,8,["id","icon-b64-svg","text","href","route-path","onClick"]))),128))])]))),128))]))}}),ug=/"(?:_|\\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*:/,dg=/"(?: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*:/,fg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function mg(e,n){if(e==="__proto__"||e==="constructor"&&n&&typeof n=="object"&&"prototype"in n){pg(e);return}return n}function pg(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function gg(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(!fg.test(e)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ug.test(e)||dg.test(e)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,mg)}return JSON.parse(e)}catch(l){if(n.strict)throw l;return e}}const hg=/\d/,Eg=["-","_","/","."];function _g(e=""){if(!hg.test(e))return e!==e.toLowerCase()}function xl(e,n){const o=Eg,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=_g(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 f=a.at(-1);l.push(a.slice(0,Math.max(0,a.length-1))),a=f+s,r=u;continue}}a+=s,r=u,i=c}return l.push(a),l}function yg(e){return e?e[0].toUpperCase()+e.slice(1):""}function Fl(e,n){return e?(Array.isArray(e)?e:xl(e)).map(o=>yg(o)).join(""):""}function kg(e,n){return e?(Array.isArray(e)?e:xl(e)).map(o=>o.toLowerCase()).join("-"):""}class ht{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}ht.prototype.normal={};ht.prototype.property={};ht.prototype.space=void 0;function Ul(e,n){const o={},l={};for(const a of e)Object.assign(o,a.property),Object.assign(l,a.normal);return new ht(o,l,n)}function kn(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 Cg=0;const x=qe(),se=qe(),Cn=qe(),A=qe(),J=qe(),nt=qe(),ke=qe();function qe(){return 2**++Cg}const vn=Object.freeze(Object.defineProperty({__proto__:null,boolean:x,booleanish:se,commaOrSpaceSeparated:ke,commaSeparated:nt,number:A,overloadedBoolean:Cn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),rn=Object.keys(vn);class Un extends _e{constructor(n,o,l,a){let r=-1;if(super(n,o),xo(this,"space",a),typeof l=="number")for(;++r<rn.length;){const i=rn[r];xo(this,rn[r],(l&vn[i])===vn[i])}}}Un.prototype.defined=!0;function xo(e,n,o){o&&(e[n]=o)}function rt(e){const n={},o={};for(const[l,a]of Object.entries(e.properties)){const r=new Un(l,e.transform(e.attributes||{},l),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,o[kn(l)]=l,o[kn(r.attribute)]=l}return new ht(n,o,e.space)}const Hl=rt({properties:{ariaActiveDescendant:null,ariaAtomic:se,ariaAutoComplete:null,ariaBusy:se,ariaChecked:se,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:se,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:se,ariaFlowTo:J,ariaGrabbed:se,ariaHasPopup:null,ariaHidden:se,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:A,ariaLive:null,ariaModal:se,ariaMultiLine:se,ariaMultiSelectable:se,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:se,ariaReadOnly:se,ariaRelevant:null,ariaRequired:se,ariaRoleDescription:J,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:se,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function zl(e,n){return n in e?e[n]:n}function Gl(e,n){return zl(e,n.toLowerCase())}const vg=rt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nt,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:x,allowPaymentRequest:x,allowUserMedia:x,alt:null,as:null,async:x,autoCapitalize:null,autoComplete:J,autoFocus:x,autoPlay:x,blocking:J,capture:null,charSet:null,checked:x,cite:null,className:J,cols:A,colSpan:null,content:null,contentEditable:se,controls:x,controlsList:J,coords:A|nt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:x,defer:x,dir:null,dirName:null,disabled:x,download:Cn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:x,formTarget:null,headers:J,height:A,hidden:Cn,high:A,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:x,inputMode:null,integrity:null,is:null,isMap:x,itemId:null,itemProp:J,itemRef:J,itemScope:x,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:x,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,multiple:x,muted:x,name:null,nonce:null,noModule:x,noValidate:x,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:x,optimum:A,pattern:null,ping:J,placeholder:null,playsInline:x,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:x,referrerPolicy:null,rel:J,required:x,reversed:x,rows:A,rowSpan:A,sandbox:J,scope:null,scoped:x,seamless:x,selected:x,shadowRootClonable:x,shadowRootDelegatesFocus:x,shadowRootMode:null,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:se,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:x,useMap:null,value:se,width:A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:x,declare:x,event:null,face:null,frame:null,frameBorder:null,hSpace:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:x,noHref:x,noShade:x,noWrap:x,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:se,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:x,disableRemotePlayback:x,prefix:null,property:null,results:A,security:null,unselectable:null},space:"html",transform:Gl}),Ng=rt({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:ke,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:J,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:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:x,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,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:nt,g2:nt,glyphName:nt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:ke,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,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:A,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:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ke,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ke,rev:ke,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ke,requiredFeatures:ke,requiredFonts:ke,requiredFormats:ke,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:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:ke,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ke,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ke,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:zl}),Wl=rt({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()}}),jl=rt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Gl}),Kl=rt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),Sg=/[A-Z]/g,Fo=/-[a-z]/g,bg=/^data[-\w.:]+$/i;function wg(e,n){const o=kn(n);let l=n,a=_e;if(o in e.normal)return e.property[e.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&bg.test(n)){if(n.charAt(4)==="-"){const r=n.slice(5).replace(Fo,Tg);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=n.slice(4);if(!Fo.test(r)){let i=r.replace(Sg,Lg);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}a=Un}return new a(l,n)}function Lg(e){return"-"+e.toLowerCase()}function Tg(e){return e.charAt(1).toUpperCase()}const Ag=Ul([Hl,vg,Wl,jl,Kl],"html");Ul([Hl,Ng,Wl,jl,Kl],"svg");const Hn=["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"],Ig=["p","h1","h2","h3","h4","h5","h6","li"];function $t(e,n){return e.type===n||typeof e.type=="object"&&e.type.tag===n||e.tag===n}function zn(e){return $t(e,"text")||$t(e,Symbol.for("v-txt"))}function Yl(e){return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof e.children?.default=="function"?e.children.default():[]}function Rt(e){if(!e)return"";if(Array.isArray(e))return e.map(Rt).join("");if(zn(e))return e.value||e.children||"";const n=Yl(e);return Array.isArray(n)?n.map(Rt).filter(Boolean).join(""):""}function ql(e,n=[]){if(Array.isArray(e))return e.flatMap(l=>ql(l,n));let o=e;return n.some(l=>l==="*"||$t(e,l))&&(o=Yl(e)||e,!Array.isArray(o)&&Ig.some(l=>$t(e,l))&&(o=[o])),o}function Xl(e,n=[]){return e=Array.isArray(e)?e:[e],n.length?e.flatMap(o=>Xl(ql(o,[n[0]]),n.slice(1))).filter(o=>!(zn(o)&&Rt(o).trim()==="")):e}function Zl(e,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?Xl(e,n).reduce((o,l)=>(zn(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):e}function Vg(e,n){return n.reduce((o,l)=>{const a=Og(e,l);return a!==void 0&&(o[l]=a),o},{})}function Og(e,n){return n.split(".").reduce((o,l)=>o&&o[l],e)}const Nn="default",Jl=/^@|^v-on:/,Ql=/^:|^v-bind:/,Bg=/^v-model/,Dg=["select","textarea","input"],Pg=["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}`])),Rg=["script","base"],Mg=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){const o=t.getCurrentInstance()?.appContext?.app?.$nuxt,l=o?.$route||o?._route,{mdc:a}=o?.$config?.public||{},r=t.computed(()=>({...a?.components?.prose&&e.prose!==!1?$g:{},...a?.components?.map||{},...t.toRaw(e.data?.mdc?.components||{}),...e.components})),i=t.computed(()=>{const u=(e.body?.children||[]).map(f=>f.tag||f.type).filter(f=>!Hn.includes(f));return Array.from(new Set(u)).sort().join(".")}),s=t.reactive({...e.data});t.watch(()=>e.data,u=>{Object.assign(s,u)}),await qg(e.body,{tags:r.value});function c(u,f){const h=u.split(".").length-1;return u.split(".").reduce((g,y,k)=>k==h&&g?(g[y]=f,g[y]):typeof g=="object"?g[y]:void 0,s)}return{tags:r,contentKey:i,route:l,runtimeData:s,updateRuntimeData:c}},render(e){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 f={...a,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},h=o!==!1?Sn(o||f.component?.name||f.component||"div"):void 0;return h?t.h(h,{...f.component?.props,class:e.class,...this.$attrs,key:r},{default:g}):g?.();function g(){const y=er(l,t.h,{documentMeta:f,parentScope:f,resolveComponent:Sn});return y?.default?s?Zl(y.default(),typeof s=="string"?s.split(" "):["*"]):y.default():null}}});function xg(e,n,o,l){const{documentMeta:a,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 s=e.tag,c=nr(e,a.tags);if(e.tag==="binding")return Fg(e,n,a,r);const u=tr(c)?g=>g:i;if(Rg.includes(c))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Rt(e)+"</"+c+">");const f=u(c);typeof f=="object"&&(f.tag=s);const h=Ug(e,a);return l&&(h.key=l),n(f,h,er(e,n,{documentMeta:a,parentScope:{...r,...h},resolveComponent:u}))}function er(e,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o,s=(e.children||[]).reduce((u,f)=>{if(!Kg(f))return u[Nn].children.push(f),u;const h=jg(f);return u[h]=u[h]||{props:{},children:[]},f.type==="element"&&(u[h].props=f.props,u[h].children.push(...f.children||[])),u},{[Nn]:{props:{},children:[]}});return Object.entries(s).reduce((u,[f,{props:h,children:g}])=>(g.length&&(u[f]=(y={})=>{const k=Vg(y,Object.keys(h||{}));let v=g.map((E,m)=>xg(E,n,{documentMeta:l,parentScope:{...a,...k},resolveComponent:r},String(E.props?.key||m)));return h?.unwrap&&(v=Zl(v,h.unwrap)),Yg(v)}),u),{})}function Fg(e,n,o,l={}){const a={...o.runtimeData,...l,$document:o,$doc:o},r=/\.|\[(\d+)\]/,s=(e.props?.value.trim().split(r).filter(Boolean)).reduce((u,f)=>{if(u&&f in u)return typeof u[f]=="function"?u[f]():u[f]},a),c=e.props?.defaultValue;return n(t.Text,s??c??"")}function Ug(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(Bg.test(r))return Hg(r,i,a,n,{native:Dg.includes(o)});if(r==="v-bind")return zg(r,i,a,n);if(Jl.test(r))return Gg(r,i,a,n);if(Ql.test(r))return Wg(r,i,a,n);const{attribute:s}=wg(Ag,r);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(a[s]=i.join(" "),a):(a[s]=i,a)},{})}function Hg(e,n,o,l,{native:a}){const r=e.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=a?"value":r,s=a?"onInput":`onUpdate:${r}`;return o[i]=zt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,a?c.target?.value:c)},o}function zg(e,n,o,l){const a=zt(n,l);return o=Object.assign(o,a),o}function Gg(e,n,o,l){return e=e.replace(Jl,""),o.on=o.on||{},o.on[e]=()=>zt(n,l),o}function Wg(e,n,o,l){return e=e.replace(Ql,""),o[e]=zt(n,l),o}const Sn=e=>{if(typeof e=="string"){if(Hn.includes(e))return e;const n=t.resolveComponent(Fl(e),!1);return!e||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,a)=>typeof l=="object"?l[a]:void 0,n);return typeof o>"u"?gg(e):o}function jg(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||Nn}function Kg(e){return e.tag==="template"}function tr(e){return Pg.includes(e)}function Yg(e){const n=[];for(const o of e){const l=n[n.length-1];o.type===t.Text&&l?.type===t.Text?l.children=l.children+o.children:n.push(o)}return n}async function qg(e,n){if(!e)return;const o=Array.from(new Set(l(e,n)));await Promise.all(o.map(async a=>{if(a?.render||a?.ssrRender||a?.__ssrInlineRender)return;const r=Sn(a);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=nr(a,r.tags);if(tr(s))return[];const c=[];a.type!=="root"&&!Hn.includes(s)&&c.push(s);for(const u of a.children||[])c.push(...l(u,r));return c}}function nr(e,n){const o=e.tag;return!o||typeof e.props?.__ignoreMap<"u"?o:n[o]||n[Fl(o)]||n[kg(e.tag)]||o}const Xg=t.defineComponent({__name:"MDCRenderer",setup(e){return(n,o)=>(t.openBlock(),t.createBlock(t.Suspense,null,{default:t.withCtx(()=>[t.createVNode(Mg,t.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=S.CLUSTER_PREFIX;exports.EVENTS=S.EVENTS;exports.NODE_SIZES=S.NODE_SIZES;exports.SECTIONS=S.SECTIONS;exports.Utils=S.Utils;exports.VueFlowUtils=S.VueFlowUtils;exports.editorViewTypes=S.editorViewTypes;exports.executeFlowBehaviours=S.executeFlowBehaviours;exports.logDisplayTypes=S.logDisplayTypes;exports.stateDisplayValues=S.stateDisplayValues;exports.stateGlobalChartTypes=S.stateGlobalChartTypes;exports.storageKeys=S.storageKeys;exports.Collapsible=pt;exports.DependenciesNode=hc;exports.MDCRenderer=Xg;exports.PluginIndex=cg;exports.RotatingDotsIcon=zo;exports.STATES=H;exports.SchemaToHtml=Y1;exports.State=te;exports.TaskIcon=On;exports.Topology=dm;exports.YamlUtils=mr;exports.cssVariable=Ce;exports.getMDCParser=Ba;exports.isEntryAPluginElementPredicate=Ho;exports.slugify=We;exports.subGroupName=et;
27
+ `.concat(k.code),u=t.ref(),f=t.computed(()=>l.schema.properties?.$examples),h=t.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(k=>[k.name,{...k,name:void 0}]))),{getHighlighterCore:g}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);u.value=([n,o]=t.withAsyncContext(()=>g()),n=await n,o(),n);const y="github-"+(l.darkMode?"dark":"light");return t.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),t.onUnmounted(()=>{window.removeEventListener("hashchange",s)}),(k,v)=>(t.openBlock(),t.createElementBlock("div",R1,[t.createElementVNode("div",M1,[k.schema.properties?.$beta?(t.openBlock(),t.createElementBlock("div",x1,[...v[0]||(v[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),k.schema.properties?.title?(t.openBlock(),t.createElementBlock("div",F1,[t.renderSlot(k.$slots,"markdown",{content:k.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),k.schema.properties?.description?(t.openBlock(),t.createElementBlock("div",U1,[t.renderSlot(k.$slots,"markdown",{content:k.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(Ro,{highlighter:u.value,language:"yaml",theme:y,code:`type: "${k.pluginType}"`,key:k.pluginType},null,8,["highlighter","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column gap-3",key:k.pluginType},[f.value?(t.openBlock(),t.createBlock(pt,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":k.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",H1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(f.value,(E,m)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:k.pluginType+"-"+m},[t.createElementVNode("div",z1,[t.createElementVNode("div",G1,[E.title?t.renderSlot(k.$slots,"markdown",{key:0,content:E.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),E.code?(t.openBlock(),t.createBlock(Ro,{key:0,highlighter:u.value,language:E.lang??"yaml",theme:y,code:c(E)},null,8,["highlighter","language","code"])):t.createCommentVNode("",!0)]),m<f.value.length-1?(t.openBlock(),t.createElementBlock("hr",W1)):t.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):t.createCommentVNode("",!0),k.schema.properties?.properties?(t.openBlock(),t.createBlock(wt,{key:1,class:"plugin-section",properties:k.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":k.propsInitiallyExpanded,"force-include":k.forceIncludeProperties,"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:E})=>[t.createElementVNode("div",j1,[t.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","no-url-change"])):t.createCommentVNode("",!0),k.schema.outputs?.properties&&Object.keys(k.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(wt,{key:2,class:"plugin-section",properties:k.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:E})=>[t.createElementVNode("div",K1,[t.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):t.createCommentVNode("",!0),k.schema.properties?.$metrics?(t.openBlock(),t.createBlock(wt,{key:3,class:"plugin-section",properties:h.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:E})=>[t.createElementVNode("div",Y1,[t.renderSlot(k.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):t.createCommentVNode("",!0),k.schema.definitions&&Object.keys(k.schema.definitions).length>0?(t.openBlock(),t.createBlock(pt,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":a.value,key:`definitions-${k.pluginType}-${i.value}`,"no-url-change":k.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",q1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.entries(k.schema.definitions),([E,m])=>(t.openBlock(),t.createBlock(wt,{properties:m.properties,"section-name":m.title??E.split("_")[0],href:E,"show-dynamic":!1,"initially-expanded":r.value.has(E),key:k.pluginType+"-"+E,class:"plugin-section nested-button-py-2",onExpand:_=>{a.value=!0,r.value.add(E)},"no-url-change":k.noUrlChange},{markdown:t.withCtx(({content:_})=>[t.createElementVNode("div",X1,[t.renderSlot(k.$slots,"markdown",{content:_},void 0,!0)])]),_:3},8,["properties","section-name","href","initially-expanded","onExpand","no-url-change"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):t.createCommentVNode("",!0)]))]))}}),J1=D(Z1,[["__scopeId","data-v-e94db40a"]]),Q1={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},eg=["aria-hidden","aria-label"],tg=["fill","width","height"],ng={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},og={key:0};function lg(e,n,o,l,a,r){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","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",ng,[o.title?(t.openBlock(),t.createElementBlock("title",og,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,tg))],16,eg)}const rg=D(Q1,[["render",lg]]),ag=["href"],ig=["src","alt"],sg=t.defineComponent({__name:"RowLink",props:{iconB64Svg:{},text:{},routePath:{},href:{}},setup(e){const n=e,o=t.computed(()=>n.href===void 0?`${n.routePath}/${We(n.text)}`:n.href);return(l,a)=>(t.openBlock(),t.createElementBlock("a",{href:o.value,class:"row-link d-flex flex-grow-1 align-items-center gap-7 rounded"},[t.createElementVNode("img",{src:l.iconB64Svg,alt:`${l.text} icon`},null,8,ig),t.createTextVNode(t.toDisplayString(l.text)+" ",1),t.createVNode(rg,{class:"ms-auto"})],8,ag))}}),Mo=D(sg,[["__scopeId","data-v-a361531e"]]),cg={class:"d-flex flex-column gap-4"},ug={key:1,class:"d-flex flex-column"},dg=["id"],fg={class:"d-flex flex-column"},mg=t.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{}},emits:["goTo"],setup(e){const n=e,o=t.computed(()=>n.plugins.find(f=>n.subGroup===void 0?!0:We(et(f))===n.subGroup)),l=t.computed(()=>o.value?.longDescription??o.value?.description),a=t.computed(()=>n.plugins.filter(f=>f.name.toLowerCase()===n.pluginName.toLowerCase()&&f.subGroup!==void 0)),r=f=>{let h=f.split(".");return h?.[h.length-1]},i=f=>`${n.routePath}/${We(f)}`,s=f=>`${n.routePath}/${f}`;function c(f){return Object.fromEntries(Object.entries(f).filter(([h,g])=>Ho(h,g)).map(([h,g])=>[h.replace(/[A-Z]/g,y=>` ${y}`),g.filter(({deprecated:y})=>!y).map(({cls:y})=>y)]))}const u=t.computed(()=>c(o.value));return(f,h)=>(t.openBlock(),t.createElementBlock("div",cg,[l.value!==void 0?t.renderSlot(f.$slots,"markdown",{key:0,content:l.value.replace(/ *:(?![ /])/g,": ")}):t.createCommentVNode("",!0),f.subGroup===void 0&&f.plugins.length>1?(t.openBlock(),t.createElementBlock("div",ug,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value,g=>(t.openBlock(),t.createBlock(Mo,{id:`group-${t.unref(We)(t.unref(et)(g))}`,"icon-b64-svg":"data:image/svg+xml;base64,"+(f.icons[g.subGroup]??f.icons[g.group]),text:t.unref(et)(g),href:i(t.unref(et)(g)),key:t.unref(et)(g),"route-path":f.routePath,class:"text-capitalize",onClick:y=>f.$emit("goTo",{subGroup:g})},null,8,["id","icon-b64-svg","text","href","route-path","onClick"]))),128))])):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(u.value,(g,y)=>(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column elements-section",key:y},[t.createElementVNode("h4",{id:`section-${t.unref(We)(y)}`,class:"text-capitalize"},t.toDisplayString(y),9,dg),t.createElementVNode("div",fg,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g,k=>(t.openBlock(),t.createBlock(Mo,{id:t.unref(We)(k),"icon-b64-svg":"data:image/svg+xml;base64,"+(f.icons[k]??f.icons[o.value.subGroup??o.value.group]??f.icons[o.value.group]),text:r(k),href:s(k),key:k,"route-path":f.routePath,class:"text-capitalize",onClick:v=>f.$emit("goTo",{element:k})},null,8,["id","icon-b64-svg","text","href","route-path","onClick"]))),128))])]))),128))]))}}),pg=/"(?:_|\\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*:/,gg=/"(?: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*:/,hg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Eg(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 yg(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(!hg.test(e)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(pg.test(e)||gg.test(e)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Eg)}return JSON.parse(e)}catch(l){if(n.strict)throw l;return e}}const kg=/\d/,Cg=["-","_","/","."];function vg(e=""){if(!kg.test(e))return e!==e.toLowerCase()}function xl(e,n){const o=Cg,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=vg(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 f=a.at(-1);l.push(a.slice(0,Math.max(0,a.length-1))),a=f+s,r=u;continue}}a+=s,r=u,i=c}return l.push(a),l}function Ng(e){return e?e[0].toUpperCase()+e.slice(1):""}function Fl(e,n){return e?(Array.isArray(e)?e:xl(e)).map(o=>Ng(o)).join(""):""}function Sg(e,n){return e?(Array.isArray(e)?e:xl(e)).map(o=>o.toLowerCase()).join("-"):""}class ht{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}ht.prototype.normal={};ht.prototype.property={};ht.prototype.space=void 0;function Ul(e,n){const o={},l={};for(const a of e)Object.assign(o,a.property),Object.assign(l,a.normal);return new ht(o,l,n)}function kn(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 bg=0;const x=qe(),se=qe(),Cn=qe(),A=qe(),J=qe(),nt=qe(),ke=qe();function qe(){return 2**++bg}const vn=Object.freeze(Object.defineProperty({__proto__:null,boolean:x,booleanish:se,commaOrSpaceSeparated:ke,commaSeparated:nt,number:A,overloadedBoolean:Cn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),rn=Object.keys(vn);class Un extends _e{constructor(n,o,l,a){let r=-1;if(super(n,o),xo(this,"space",a),typeof l=="number")for(;++r<rn.length;){const i=rn[r];xo(this,rn[r],(l&vn[i])===vn[i])}}}Un.prototype.defined=!0;function xo(e,n,o){o&&(e[n]=o)}function rt(e){const n={},o={};for(const[l,a]of Object.entries(e.properties)){const r=new Un(l,e.transform(e.attributes||{},l),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,o[kn(l)]=l,o[kn(r.attribute)]=l}return new ht(n,o,e.space)}const Hl=rt({properties:{ariaActiveDescendant:null,ariaAtomic:se,ariaAutoComplete:null,ariaBusy:se,ariaChecked:se,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:se,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:se,ariaFlowTo:J,ariaGrabbed:se,ariaHasPopup:null,ariaHidden:se,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:A,ariaLive:null,ariaModal:se,ariaMultiLine:se,ariaMultiSelectable:se,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:se,ariaReadOnly:se,ariaRelevant:null,ariaRequired:se,ariaRoleDescription:J,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:se,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function zl(e,n){return n in e?e[n]:n}function Gl(e,n){return zl(e,n.toLowerCase())}const wg=rt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nt,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:x,allowPaymentRequest:x,allowUserMedia:x,alt:null,as:null,async:x,autoCapitalize:null,autoComplete:J,autoFocus:x,autoPlay:x,blocking:J,capture:null,charSet:null,checked:x,cite:null,className:J,cols:A,colSpan:null,content:null,contentEditable:se,controls:x,controlsList:J,coords:A|nt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:x,defer:x,dir:null,dirName:null,disabled:x,download:Cn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:x,formTarget:null,headers:J,height:A,hidden:Cn,high:A,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:x,inputMode:null,integrity:null,is:null,isMap:x,itemId:null,itemProp:J,itemRef:J,itemScope:x,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:x,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,multiple:x,muted:x,name:null,nonce:null,noModule:x,noValidate:x,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:x,optimum:A,pattern:null,ping:J,placeholder:null,playsInline:x,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:x,referrerPolicy:null,rel:J,required:x,reversed:x,rows:A,rowSpan:A,sandbox:J,scope:null,scoped:x,seamless:x,selected:x,shadowRootClonable:x,shadowRootDelegatesFocus:x,shadowRootMode:null,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:se,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:x,useMap:null,value:se,width:A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:x,declare:x,event:null,face:null,frame:null,frameBorder:null,hSpace:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:x,noHref:x,noShade:x,noWrap:x,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:se,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:x,disableRemotePlayback:x,prefix:null,property:null,results:A,security:null,unselectable:null},space:"html",transform:Gl}),Lg=rt({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:ke,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:J,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:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:x,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,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:nt,g2:nt,glyphName:nt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:ke,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,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:A,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:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ke,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ke,rev:ke,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ke,requiredFeatures:ke,requiredFonts:ke,requiredFormats:ke,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:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:ke,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ke,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ke,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:zl}),Wl=rt({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()}}),jl=rt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Gl}),Kl=rt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),Tg=/[A-Z]/g,Fo=/-[a-z]/g,Ag=/^data[-\w.:]+$/i;function Ig(e,n){const o=kn(n);let l=n,a=_e;if(o in e.normal)return e.property[e.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&Ag.test(n)){if(n.charAt(4)==="-"){const r=n.slice(5).replace(Fo,Bg);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=n.slice(4);if(!Fo.test(r)){let i=r.replace(Tg,Vg);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}a=Un}return new a(l,n)}function Vg(e){return"-"+e.toLowerCase()}function Bg(e){return e.charAt(1).toUpperCase()}const Og=Ul([Hl,wg,Wl,jl,Kl],"html");Ul([Hl,Lg,Wl,jl,Kl],"svg");const Hn=["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"],Dg=["p","h1","h2","h3","h4","h5","h6","li"];function $t(e,n){return e.type===n||typeof e.type=="object"&&e.type.tag===n||e.tag===n}function zn(e){return $t(e,"text")||$t(e,Symbol.for("v-txt"))}function Yl(e){return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof e.children?.default=="function"?e.children.default():[]}function Rt(e){if(!e)return"";if(Array.isArray(e))return e.map(Rt).join("");if(zn(e))return e.value||e.children||"";const n=Yl(e);return Array.isArray(n)?n.map(Rt).filter(Boolean).join(""):""}function ql(e,n=[]){if(Array.isArray(e))return e.flatMap(l=>ql(l,n));let o=e;return n.some(l=>l==="*"||$t(e,l))&&(o=Yl(e)||e,!Array.isArray(o)&&Dg.some(l=>$t(e,l))&&(o=[o])),o}function Xl(e,n=[]){return e=Array.isArray(e)?e:[e],n.length?e.flatMap(o=>Xl(ql(o,[n[0]]),n.slice(1))).filter(o=>!(zn(o)&&Rt(o).trim()==="")):e}function Zl(e,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?Xl(e,n).reduce((o,l)=>(zn(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):e}function Pg(e,n){return n.reduce((o,l)=>{const a=$g(e,l);return a!==void 0&&(o[l]=a),o},{})}function $g(e,n){return n.split(".").reduce((o,l)=>o&&o[l],e)}const Nn="default",Jl=/^@|^v-on:/,Ql=/^:|^v-bind:/,Rg=/^v-model/,Mg=["select","textarea","input"],xg=["math","svg"],Fg=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}`])),Ug=["script","base"],Hg=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){const o=t.getCurrentInstance()?.appContext?.app?.$nuxt,l=o?.$route||o?._route,{mdc:a}=o?.$config?.public||{},r=t.computed(()=>({...a?.components?.prose&&e.prose!==!1?Fg:{},...a?.components?.map||{},...t.toRaw(e.data?.mdc?.components||{}),...e.components})),i=t.computed(()=>{const u=(e.body?.children||[]).map(f=>f.tag||f.type).filter(f=>!Hn.includes(f));return Array.from(new Set(u)).sort().join(".")}),s=t.reactive({...e.data});t.watch(()=>e.data,u=>{Object.assign(s,u)}),await Qg(e.body,{tags:r.value});function c(u,f){const h=u.split(".").length-1;return u.split(".").reduce((g,y,k)=>k==h&&g?(g[y]=f,g[y]):typeof g=="object"?g[y]:void 0,s)}return{tags:r,contentKey:i,route:l,runtimeData:s,updateRuntimeData:c}},render(e){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 f={...a,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},h=o!==!1?Sn(o||f.component?.name||f.component||"div"):void 0;return h?t.h(h,{...f.component?.props,class:e.class,...this.$attrs,key:r},{default:g}):g?.();function g(){const y=er(l,t.h,{documentMeta:f,parentScope:f,resolveComponent:Sn});return y?.default?s?Zl(y.default(),typeof s=="string"?s.split(" "):["*"]):y.default():null}}});function zg(e,n,o,l){const{documentMeta:a,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 s=e.tag,c=nr(e,a.tags);if(e.tag==="binding")return Gg(e,n,a,r);const u=tr(c)?g=>g:i;if(Ug.includes(c))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Rt(e)+"</"+c+">");const f=u(c);typeof f=="object"&&(f.tag=s);const h=Wg(e,a);return l&&(h.key=l),n(f,h,er(e,n,{documentMeta:a,parentScope:{...r,...h},resolveComponent:u}))}function er(e,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o,s=(e.children||[]).reduce((u,f)=>{if(!Zg(f))return u[Nn].children.push(f),u;const h=Xg(f);return u[h]=u[h]||{props:{},children:[]},f.type==="element"&&(u[h].props=f.props,u[h].children.push(...f.children||[])),u},{[Nn]:{props:{},children:[]}});return Object.entries(s).reduce((u,[f,{props:h,children:g}])=>(g.length&&(u[f]=(y={})=>{const k=Pg(y,Object.keys(h||{}));let v=g.map((E,m)=>zg(E,n,{documentMeta:l,parentScope:{...a,...k},resolveComponent:r},String(E.props?.key||m)));return h?.unwrap&&(v=Zl(v,h.unwrap)),Jg(v)}),u),{})}function Gg(e,n,o,l={}){const a={...o.runtimeData,...l,$document:o,$doc:o},r=/\.|\[(\d+)\]/,s=(e.props?.value.trim().split(r).filter(Boolean)).reduce((u,f)=>{if(u&&f in u)return typeof u[f]=="function"?u[f]():u[f]},a),c=e.props?.defaultValue;return n(t.Text,s??c??"")}function Wg(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(Rg.test(r))return jg(r,i,a,n,{native:Mg.includes(o)});if(r==="v-bind")return Kg(r,i,a,n);if(Jl.test(r))return Yg(r,i,a,n);if(Ql.test(r))return qg(r,i,a,n);const{attribute:s}=Ig(Og,r);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(a[s]=i.join(" "),a):(a[s]=i,a)},{})}function jg(e,n,o,l,{native:a}){const r=e.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=a?"value":r,s=a?"onInput":`onUpdate:${r}`;return o[i]=zt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,a?c.target?.value:c)},o}function Kg(e,n,o,l){const a=zt(n,l);return o=Object.assign(o,a),o}function Yg(e,n,o,l){return e=e.replace(Jl,""),o.on=o.on||{},o.on[e]=()=>zt(n,l),o}function qg(e,n,o,l){return e=e.replace(Ql,""),o[e]=zt(n,l),o}const Sn=e=>{if(typeof e=="string"){if(Hn.includes(e))return e;const n=t.resolveComponent(Fl(e),!1);return!e||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,a)=>typeof l=="object"?l[a]:void 0,n);return typeof o>"u"?yg(e):o}function Xg(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||Nn}function Zg(e){return e.tag==="template"}function tr(e){return xg.includes(e)}function Jg(e){const n=[];for(const o of e){const l=n[n.length-1];o.type===t.Text&&l?.type===t.Text?l.children=l.children+o.children:n.push(o)}return n}async function Qg(e,n){if(!e)return;const o=Array.from(new Set(l(e,n)));await Promise.all(o.map(async a=>{if(a?.render||a?.ssrRender||a?.__ssrInlineRender)return;const r=Sn(a);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=nr(a,r.tags);if(tr(s))return[];const c=[];a.type!=="root"&&!Hn.includes(s)&&c.push(s);for(const u of a.children||[])c.push(...l(u,r));return c}}function nr(e,n){const o=e.tag;return!o||typeof e.props?.__ignoreMap<"u"?o:n[o]||n[Fl(o)]||n[Sg(e.tag)]||o}const eh=t.defineComponent({__name:"MDCRenderer",setup(e){return(n,o)=>(t.openBlock(),t.createBlock(t.Suspense,null,{default:t.withCtx(()=>[t.createVNode(Hg,t.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=S.CLUSTER_PREFIX;exports.EVENTS=S.EVENTS;exports.NODE_SIZES=S.NODE_SIZES;exports.SECTIONS=S.SECTIONS;exports.Utils=S.Utils;exports.VueFlowUtils=S.VueFlowUtils;exports.editorViewTypes=S.editorViewTypes;exports.executeFlowBehaviours=S.executeFlowBehaviours;exports.logDisplayTypes=S.logDisplayTypes;exports.stateDisplayValues=S.stateDisplayValues;exports.stateGlobalChartTypes=S.stateGlobalChartTypes;exports.storageKeys=S.storageKeys;exports.Collapsible=pt;exports.DependenciesNode=Ec;exports.LOG_LEVELS=Oa;exports.MDCRenderer=eh;exports.PluginIndex=mg;exports.RotatingDotsIcon=zo;exports.STATES=H;exports.SchemaToHtml=J1;exports.State=te;exports.Status=gm;exports.TaskIcon=Bn;exports.Topology=fm;exports.YamlUtils=mr;exports.cssVariable=Ce;exports.getMDCParser=Da;exports.isEntryAPluginElementPredicate=Ho;exports.slugify=We;exports.subGroupName=et;
28
28
  //# sourceMappingURL=kestra-index.cjs.js.map