@kestra-io/ui-libs 0.0.302 → 0.0.303

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,4 +1,4 @@
1
- "use strict";var $r=Object.create;var so=Object.defineProperty;var Dr=Object.getOwnPropertyDescriptor;var Or=Object.getOwnPropertyNames;var xr=Object.getPrototypeOf,Pr=Object.prototype.hasOwnProperty;var Rr=(t,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of Or(n))!Pr.call(t,r)&&r!==o&&so(t,r,{get:()=>n[r],enumerable:!(l=Dr(n,r))||l.enumerable});return t};var Mr=(t,n,o)=>(o=t!=null?$r(xr(t)):{},Rr(n||!t||!t.__esModule?so(o,"default",{value:t,enumerable:!0}):o,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ke=require("yaml"),b=require("./VueFlowUtils-Cck2rgf6.cjs"),W=require("./FlowYamlUtils-CAwjZu0s.cjs"),e=require("vue"),oe=require("@vue-flow/core"),Et=require("@vue-flow/controls"),cn=require("moment"),Fr=require("@popperjs/core");function Ur(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,l.get?l:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const un=Ur(e),Hr={lineWidth:0},co=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],zr={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(t,n){for(const o of co){const l=W.extractBlock({source:t,section:o,key:n});if(l)return l}},_extractTask(t,n,o){function l(a){if(a){if(a instanceof Ke.YAMLMap&&a.get("type")!==void 0&&n===a.get("id"))return o?o(a):a;if(a.items)for(const[i,s]of a.items.entries()){let c;if(s instanceof Ke.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(a instanceof Ke.YAMLMap?a.set(s.key.value,c):a.items[i]=c),!o&&c))return c}}}const r=l(t.contents);if(r!==void 0)return o?new Ke.Document(r):new Ke.Document(r)},replaceTaskInDocument(t,n,o,l="tasks",r="id"){return W.replaceBlockInDocument({source:t,section:l,keyName:r,key:n,newContent:o})},sort:W.sort,getAllCharts:W.getAllCharts,getChartAtPosition:W.getChartAtPosition,localizeElementAtIndex:W.localizeElementAtIndex,getTaskType:W.getTypeAtPosition,swapTasks(t,n,o){const l=Ke.parseDocument(t),r=this._extractTask(l,n),a=this._extractTask(l,o);return Ke.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,()=>a),this._extractTask(l,o,()=>r),l.toString(Hr)},insertTask(t,n,o,l,r){return W.insertBlock({source:t,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:r})},insertSection(t,n,o){return W.insertBlock({source:n,section:t,newBlock:o})},insertErrorInFlowable:W.insertErrorInFlowable,deleteSection(t,n,o){return W.deleteBlock({source:t,section:n,key:o})},deleteTask(t,n,o){return(o===b.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((r,a)=>W.deleteBlock({source:r,section:a,key:n}),t)},getLastTask(t,n){return W.getLastBlock({source:t,section:"tasks",parentKey:n})},checkTaskAlreadyExist(t,n){return W.checkBlockAlreadyExists({source:t,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(t,n,o){return W.isParentChildrenRelation({source:t,sections:co,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:W.replaceIdAndNamespace,updateMetadata:W.updateMetadata,cleanMetadata:W.cleanMetadata,getMetadata:W.getMetadata,deleteMetadata:W.deleteMetadata,flowHaveTasks:W.flowHaveTasks,extractPluginDefault:W.extractPluginDefault,replacePluginDefaultsInDocument:W.replacePluginDefaultsInDocument,deletePluginDefaults:W.deletePluginDefaults,extractFieldFromMaps:W.extractFieldFromMaps,getVersionAtPosition:W.getVersionAtPosition},Ie=t=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(t)};var Wr=b.requireMapValues();const Vt=W.getDefaultExportFromCjs(Wr),D=(t,n)=>{const o=t.__vccOpts||t;for(const[l,r]of n)o[l]=r;return o},jr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Gr=["aria-hidden","aria-label"],Kr=["fill","width","height"],Yr={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"},qr={key:0};function Xr(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Yr,[o.title?(e.openBlock(),e.createElementBlock("title",qr,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Kr))],16,Gr)}const uo=D(jr,[["render",Xr]]),Zr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jr=["aria-hidden","aria-label"],Qr=["fill","width","height"],ea={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"},ta={key:0};function na(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ea,[o.title?(e.openBlock(),e.createElementBlock("title",ta,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Qr))],16,Jr)}const oa=D(Zr,[["render",na]]),la={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ra=["aria-hidden","aria-label"],aa=["fill","width","height"],ia={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"},sa={key:0};function ca(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ia,[o.title?(e.openBlock(),e.createElementBlock("title",sa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,aa))],16,ra)}const ua=D(la,[["render",ca]]),da={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ma=["aria-hidden","aria-label"],fa=["fill","width","height"],pa={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"},ga={key:0};function ha(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",pa,[o.title?(e.openBlock(),e.createElementBlock("title",ga,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,fa))],16,ma)}const kn=D(da,[["render",ha]]),Ea={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ka=["aria-hidden","aria-label"],ya=["fill","width","height"],va={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"},Ca={key:0};function Na(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",va,[o.title?(e.openBlock(),e.createElementBlock("title",Ca,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ya))],16,ka)}const _a=D(Ea,[["render",Na]]),Sa={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ba=["aria-hidden","aria-label"],wa=["fill","width","height"],La={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"},Ta={key:0};function Ba(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",La,[o.title?(e.openBlock(),e.createElementBlock("title",Ta,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,wa))],16,ba)}const Va=D(Sa,[["render",Ba]]),Ia={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Aa=["aria-hidden","aria-label"],$a=["fill","width","height"],Da={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"},Oa={key:0};function xa(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Da,[o.title?(e.openBlock(),e.createElementBlock("title",Oa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,$a))],16,Aa)}const Mt=D(Ia,[["render",xa]]),Pa={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ra=["aria-hidden","aria-label"],Ma=["fill","width","height"],Fa={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"},Ua={key:0};function Ha(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Fa,[o.title?(e.openBlock(),e.createElementBlock("title",Ua,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ma))],16,Ra)}const za=D(Pa,[["render",Ha]]),Wa={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ja=["aria-hidden","aria-label"],Ga=["fill","width","height"],Ka={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"},Ya={key:0};function qa(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Ka,[o.title?(e.openBlock(),e.createElementBlock("title",Ya,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ga))],16,ja)}const Xa=D(Wa,[["render",qa]]),Za={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ja=["aria-hidden","aria-label"],Qa=["fill","width","height"],ei={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"},ti={key:0};function ni(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ei,[o.title?(e.openBlock(),e.createElementBlock("title",ti,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Qa))],16,Ja)}const mo=D(Za,[["render",ni]]),oi={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},li=["aria-hidden","aria-label"],ri=["fill","width","height"],ai={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"},ii={key:0};function si(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ai,[o.title?(e.openBlock(),e.createElementBlock("title",ii,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ri))],16,li)}const fo=D(oi,[["render",si]]),ci=["ERROR","WARN","INFO","DEBUG","TRACE"],z=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:za,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Va,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:oa,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:ua,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:kn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:_a,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:Mt,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:kn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:uo,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:fo,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:fo,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Xa,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:mo,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:mo,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:uo,isRunning:!1,isKillable:!1,isFailed:!1}});class ne{static get CREATED(){return z.CREATED.name}static get RESTARTED(){return z.RESTARTED.name}static get SUCCESS(){return z.SUCCESS.name}static get RUNNING(){return z.RUNNING.name}static get KILLING(){return z.KILLING.name}static get KILLED(){return z.KILLED.name}static get FAILED(){return z.FAILED.name}static get WARNING(){return z.WARNING.name}static get PAUSED(){return z.PAUSED.name}static get CANCELLED(){return z.CANCELLED.name}static get SKIPPED(){return z.SKIPPED.name}static get QUEUED(){return z.QUEUED.name}static get RETRYING(){return z.RETRYING.name}static get RETRIED(){return z.RETRIED.name}static get BREAKPOINT(){return z.BREAKPOINT.name}static isRunning(n){return z[n]&&z[n].isRunning}static isKillable(n){return z[n]&&z[n].isKillable}static isPaused(n){return z[n]&&z[n]===z.PAUSED}static isFailed(n){return z[n]&&z[n].isFailed}static isQueued(n){return z[n]&&z[n]===z.QUEUED}static allStates(){return Vt(z,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(z)}static colorClass(){return Vt(z,n=>n.colorClass)}static color(){return Vt(z,n=>Ie("--bs-"+n.colorClass))}static getStateColor(n){return z[n].color}static icon(){return Vt(z,n=>n.icon)}static getTerminatedStates(){return Object.values(z).filter(n=>!n.isRunning).map(n=>n.name)}}let It;async function ui(){if(It)return It;const t=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return It=await(t.default??t)(),It}var Pt={exports:{}},di=Pt.exports,po;function mi(){return po||(po=1,(function(t,n){(function(o,l,r){t.exports=r(),t.exports.default=r()})("slugify",di,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function r(a,i){if(typeof a!="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,m=a.normalize().split("").reduce(function(g,d){var v=s[d];return v===void 0&&(v=o[d]),v===void 0&&(v=d),v===c&&(v=" "),g+v.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(m=m.replace(/[^A-Za-z0-9\s]/g,"")),u&&(m=m.trim()),m=m.replace(/\s+/g,c),i.lower&&(m=m.toLowerCase()),m}return r.extend=function(a){Object.assign(o,a)},r})})(Pt)),Pt.exports}var fi=mi();const ll=W.getDefaultExportFromCjs(fi);ll.extend({"(":"-",")":""});function Ne(t){return ll(t,{lower:!0,locale:"en"})}function xn(t,n){return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(t)&&(n.length===0||n[0]?.cls!==void 0)}function De(t){const o=(t.title??"").replace(/\.([a-zA-Z])/g,(l,r)=>` ${r.toUpperCase()}`);return o.charAt(0).toUpperCase()+o.slice(1)}function Yt(t){return Object.fromEntries(Object.entries(t).filter(([n,o])=>xn(n,o)).map(([n,o])=>[n.replace(/[A-Z]/g,l=>` ${l}`),o.filter(({deprecated:l})=>!l).map(({cls:l})=>l)]))}function pi(t){return t.flatMap(n=>{const o=Object.entries(n).filter(([l,r])=>xn(l,r)).map(([l,r])=>[l,r.filter(a=>!a.deprecated)]).filter(([,l])=>l.length>0);return o.length>0?[{...n,...Object.fromEntries(o)}]:[]})}function gi(t){const n={clsToSubgroup:{},clsToPlugin:{},shortNameToCls:{}};for(const o of t??[]){const l=Yt(o),r=o.group??o.name??"",a=Ne(r),i=o.subGroup?Ne(De(o)):void 0;Object.values(l).forEach(s=>{s.forEach(c=>{i&&(n.clsToSubgroup[c]=i),n.clsToPlugin[c]={slug:a,raw:r};const u=(c.split(".").pop()??c).toLowerCase();n.shortNameToCls[u]=n.shortNameToCls[u]??[],n.shortNameToCls[u].includes(c)||n.shortNameToCls[u].push(c)})})}return n}function rl(t){const n=e.computed(()=>{const l=e.isRef(t)?t.value:t;return l?Yt(l):{}}),o=e.computed(()=>Object.values(n.value).reduce((l,r)=>l+r.length,0));return{elementsByType:n,total:o}}const hi={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ei=["aria-hidden","aria-label"],ki=["fill","width","height"],yi={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"},vi={key:0};function Ci(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",yi,[o.title?(e.openBlock(),e.createElementBlock("title",vi,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ki))],16,Ei)}const Ni=D(hi,[["render",Ci]]),_i=e.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(Ni,{class:"loading-dots-circle",alt:t.alt},null,8,["alt"]))}}),al=D(_i,[["__scopeId","data-v-a7ad4137"]]);function Ae(t,n){typeof console<"u"&&(console.warn("[intlify] "+t),n&&console.warn(n.stack))}const go={};function Si(t){go[t]||(go[t]=!0,Ae(t))}const Pe=typeof window<"u";let _e,Xe;if(process.env.NODE_ENV!=="production"){const t=Pe&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(_e=n=>{t.mark(n)},Xe=(n,o,l)=>{t.measure(n,o,l),t.clearMarks(o),t.clearMarks(l)})}const bi=/\{([0-9a-zA-Z]+)\}/g;function qt(t,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),t.replace(bi,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Re=(t,n=!1)=>n?Symbol.for(t):Symbol(t),wi=(t,n,o)=>Li({l:t,k:n,s:o}),Li=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=t=>typeof t=="number"&&isFinite(t),Ti=t=>Pn(t)==="[object Date]",Ft=t=>Pn(t)==="[object RegExp]",Xt=t=>K(t)&&Object.keys(t).length===0,ue=Object.assign,Bi=Object.create,Z=(t=null)=>Bi(t);let ho;const Ye=()=>ho||(ho=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Z());function Eo(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function ko(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Vi(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,r,a)=>`${r}="${ko(a)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,r,a)=>`${r}='${ko(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(process.env.NODE_ENV!=="production"&&Ae("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),t=t.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=>{t=t.replace(l,"$1javascript&#58;")}),t}const Ii=Object.prototype.hasOwnProperty;function we(t,n){return Ii.call(t,n)}const ie=Array.isArray,te=t=>typeof t=="function",O=t=>typeof t=="string",ae=t=>typeof t=="boolean",Y=t=>t!==null&&typeof t=="object",Ai=t=>Y(t)&&te(t.then)&&te(t.catch),il=Object.prototype.toString,Pn=t=>il.call(t),K=t=>Pn(t)==="[object Object]",$i=t=>t==null?"":ie(t)||K(t)&&t.toString===il?JSON.stringify(t,null,2):String(t);function Rn(t,n=""){return t.reduce((o,l,r)=>r===0?o+l:o+n+l,"")}const yo=2;function Di(t,n=0,o=t.length){const l=t.split(/\r?\n/);let r=0;const a=[];for(let i=0;i<l.length;i++)if(r+=l[i].length+1,r>=n){for(let s=i-yo;s<=i+yo||o>r;s++){if(s<0||s>=l.length)continue;const c=s+1;a.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===i){const m=n-(r-u)+1,g=Math.max(1,o>r?u-m:o-n);a.push(" | "+" ".repeat(m)+"^".repeat(g))}else if(s>i){if(o>r){const m=Math.max(Math.min(o-r,u),1);a.push(" | "+"^".repeat(m))}r+=u+1}}break}return a.join(`
1
+ "use strict";var $r=Object.create;var so=Object.defineProperty;var Dr=Object.getOwnPropertyDescriptor;var Or=Object.getOwnPropertyNames;var xr=Object.getPrototypeOf,Pr=Object.prototype.hasOwnProperty;var Rr=(t,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of Or(n))!Pr.call(t,r)&&r!==o&&so(t,r,{get:()=>n[r],enumerable:!(l=Dr(n,r))||l.enumerable});return t};var Mr=(t,n,o)=>(o=t!=null?$r(xr(t)):{},Rr(n||!t||!t.__esModule?so(o,"default",{value:t,enumerable:!0}):o,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ke=require("yaml"),b=require("./VueFlowUtils-DLT6rnmv.cjs"),W=require("./FlowYamlUtils-T2zqbq1I.cjs"),e=require("vue"),oe=require("@vue-flow/core"),Et=require("@vue-flow/controls"),cn=require("moment"),Fr=require("@popperjs/core");function Ur(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(n,o,l.get?l:{enumerable:!0,get:()=>t[o]})}}return n.default=t,Object.freeze(n)}const un=Ur(e),Hr={lineWidth:0},co=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],zr={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(t,n){for(const o of co){const l=W.extractBlock({source:t,section:o,key:n});if(l)return l}},_extractTask(t,n,o){function l(a){if(a){if(a instanceof Ke.YAMLMap&&a.get("type")!==void 0&&n===a.get("id"))return o?o(a):a;if(a.items)for(const[i,s]of a.items.entries()){let c;if(s instanceof Ke.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(a instanceof Ke.YAMLMap?a.set(s.key.value,c):a.items[i]=c),!o&&c))return c}}}const r=l(t.contents);if(r!==void 0)return o?new Ke.Document(r):new Ke.Document(r)},replaceTaskInDocument(t,n,o,l="tasks",r="id"){return W.replaceBlockInDocument({source:t,section:l,keyName:r,key:n,newContent:o})},sort:W.sort,getAllCharts:W.getAllCharts,getChartAtPosition:W.getChartAtPosition,localizeElementAtIndex:W.localizeElementAtIndex,getTaskType:W.getTypeAtPosition,swapTasks(t,n,o){const l=Ke.parseDocument(t),r=this._extractTask(l,n),a=this._extractTask(l,o);return Ke.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,()=>a),this._extractTask(l,o,()=>r),l.toString(Hr)},insertTask(t,n,o,l,r){return W.insertBlock({source:t,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:r})},insertSection(t,n,o){return W.insertBlock({source:n,section:t,newBlock:o})},insertErrorInFlowable:W.insertErrorInFlowable,deleteSection(t,n,o){return W.deleteBlock({source:t,section:n,key:o})},deleteTask(t,n,o){return(o===b.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((r,a)=>W.deleteBlock({source:r,section:a,key:n}),t)},getLastTask(t,n){return W.getLastBlock({source:t,section:"tasks",parentKey:n})},checkTaskAlreadyExist(t,n){return W.checkBlockAlreadyExists({source:t,section:"tasks",newContent:n,keyName:"id"})},isParentChildrenRelation(t,n,o){return W.isParentChildrenRelation({source:t,sections:co,key1:n,key2:o,keyName:"id"})},replaceIdAndNamespace:W.replaceIdAndNamespace,updateMetadata:W.updateMetadata,cleanMetadata:W.cleanMetadata,getMetadata:W.getMetadata,deleteMetadata:W.deleteMetadata,flowHaveTasks:W.flowHaveTasks,extractPluginDefault:W.extractPluginDefault,replacePluginDefaultsInDocument:W.replacePluginDefaultsInDocument,deletePluginDefaults:W.deletePluginDefaults,extractFieldFromMaps:W.extractFieldFromMaps,getVersionAtPosition:W.getVersionAtPosition},Ie=t=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(t)};var Wr=b.requireMapValues();const Vt=W.getDefaultExportFromCjs(Wr),D=(t,n)=>{const o=t.__vccOpts||t;for(const[l,r]of n)o[l]=r;return o},jr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Gr=["aria-hidden","aria-label"],Kr=["fill","width","height"],Yr={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"},qr={key:0};function Xr(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Yr,[o.title?(e.openBlock(),e.createElementBlock("title",qr,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Kr))],16,Gr)}const uo=D(jr,[["render",Xr]]),Zr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Jr=["aria-hidden","aria-label"],Qr=["fill","width","height"],ea={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"},ta={key:0};function na(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ea,[o.title?(e.openBlock(),e.createElementBlock("title",ta,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Qr))],16,Jr)}const oa=D(Zr,[["render",na]]),la={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ra=["aria-hidden","aria-label"],aa=["fill","width","height"],ia={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"},sa={key:0};function ca(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ia,[o.title?(e.openBlock(),e.createElementBlock("title",sa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,aa))],16,ra)}const ua=D(la,[["render",ca]]),da={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ma=["aria-hidden","aria-label"],fa=["fill","width","height"],pa={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"},ga={key:0};function ha(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",pa,[o.title?(e.openBlock(),e.createElementBlock("title",ga,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,fa))],16,ma)}const kn=D(da,[["render",ha]]),Ea={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ka=["aria-hidden","aria-label"],ya=["fill","width","height"],va={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"},Ca={key:0};function Na(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",va,[o.title?(e.openBlock(),e.createElementBlock("title",Ca,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ya))],16,ka)}const _a=D(Ea,[["render",Na]]),Sa={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ba=["aria-hidden","aria-label"],wa=["fill","width","height"],La={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"},Ta={key:0};function Ba(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",La,[o.title?(e.openBlock(),e.createElementBlock("title",Ta,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,wa))],16,ba)}const Va=D(Sa,[["render",Ba]]),Ia={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Aa=["aria-hidden","aria-label"],$a=["fill","width","height"],Da={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"},Oa={key:0};function xa(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Da,[o.title?(e.openBlock(),e.createElementBlock("title",Oa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,$a))],16,Aa)}const Mt=D(Ia,[["render",xa]]),Pa={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ra=["aria-hidden","aria-label"],Ma=["fill","width","height"],Fa={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"},Ua={key:0};function Ha(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Fa,[o.title?(e.openBlock(),e.createElementBlock("title",Ua,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ma))],16,Ra)}const za=D(Pa,[["render",Ha]]),Wa={name:"MotionPauseOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ja=["aria-hidden","aria-label"],Ga=["fill","width","height"],Ka={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"},Ya={key:0};function qa(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Ka,[o.title?(e.openBlock(),e.createElementBlock("title",Ya,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ga))],16,ja)}const Xa=D(Wa,[["render",qa]]),Za={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ja=["aria-hidden","aria-label"],Qa=["fill","width","height"],ei={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"},ti={key:0};function ni(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ei,[o.title?(e.openBlock(),e.createElementBlock("title",ti,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Qa))],16,Ja)}const mo=D(Za,[["render",ni]]),oi={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},li=["aria-hidden","aria-label"],ri=["fill","width","height"],ai={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"},ii={key:0};function si(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",ai,[o.title?(e.openBlock(),e.createElementBlock("title",ii,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ri))],16,li)}const fo=D(oi,[["render",si]]),ci=["ERROR","WARN","INFO","DEBUG","TRACE"],z=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:za,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Va,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:oa,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:ua,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:kn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:_a,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:Mt,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:kn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:uo,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:fo,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:fo,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Xa,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:mo,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:mo,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:uo,isRunning:!1,isKillable:!1,isFailed:!1}});class ne{static get CREATED(){return z.CREATED.name}static get RESTARTED(){return z.RESTARTED.name}static get SUCCESS(){return z.SUCCESS.name}static get RUNNING(){return z.RUNNING.name}static get KILLING(){return z.KILLING.name}static get KILLED(){return z.KILLED.name}static get FAILED(){return z.FAILED.name}static get WARNING(){return z.WARNING.name}static get PAUSED(){return z.PAUSED.name}static get CANCELLED(){return z.CANCELLED.name}static get SKIPPED(){return z.SKIPPED.name}static get QUEUED(){return z.QUEUED.name}static get RETRYING(){return z.RETRYING.name}static get RETRIED(){return z.RETRIED.name}static get BREAKPOINT(){return z.BREAKPOINT.name}static isRunning(n){return z[n]&&z[n].isRunning}static isKillable(n){return z[n]&&z[n].isKillable}static isPaused(n){return z[n]&&z[n]===z.PAUSED}static isFailed(n){return z[n]&&z[n].isFailed}static isQueued(n){return z[n]&&z[n]===z.QUEUED}static allStates(){return Vt(z,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(z)}static colorClass(){return Vt(z,n=>n.colorClass)}static color(){return Vt(z,n=>Ie("--bs-"+n.colorClass))}static getStateColor(n){return z[n].color}static icon(){return Vt(z,n=>n.icon)}static getTerminatedStates(){return Object.values(z).filter(n=>!n.isRunning).map(n=>n.name)}}let It;async function ui(){if(It)return It;const t=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return It=await(t.default??t)(),It}var Pt={exports:{}},di=Pt.exports,po;function mi(){return po||(po=1,(function(t,n){(function(o,l,r){t.exports=r(),t.exports.default=r()})("slugify",di,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function r(a,i){if(typeof a!="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,m=a.normalize().split("").reduce(function(g,d){var v=s[d];return v===void 0&&(v=o[d]),v===void 0&&(v=d),v===c&&(v=" "),g+v.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(m=m.replace(/[^A-Za-z0-9\s]/g,"")),u&&(m=m.trim()),m=m.replace(/\s+/g,c),i.lower&&(m=m.toLowerCase()),m}return r.extend=function(a){Object.assign(o,a)},r})})(Pt)),Pt.exports}var fi=mi();const ll=W.getDefaultExportFromCjs(fi);ll.extend({"(":"-",")":""});function Ne(t){return ll(t,{lower:!0,locale:"en"})}function xn(t,n){return Array.isArray(n)&&!["categories","controllers","storages","aliases","guides"].includes(t)&&(n.length===0||n[0]?.cls!==void 0)}function De(t){const o=(t.title??"").replace(/\.([a-zA-Z])/g,(l,r)=>` ${r.toUpperCase()}`);return o.charAt(0).toUpperCase()+o.slice(1)}function Yt(t){return Object.fromEntries(Object.entries(t).filter(([n,o])=>xn(n,o)).map(([n,o])=>[n.replace(/[A-Z]/g,l=>` ${l}`),o.filter(({deprecated:l})=>!l).map(({cls:l})=>l)]))}function pi(t){return t.flatMap(n=>{const o=Object.entries(n).filter(([l,r])=>xn(l,r)).map(([l,r])=>[l,r.filter(a=>!a.deprecated)]).filter(([,l])=>l.length>0);return o.length>0?[{...n,...Object.fromEntries(o)}]:[]})}function gi(t){const n={clsToSubgroup:{},clsToPlugin:{},shortNameToCls:{}};for(const o of t??[]){const l=Yt(o),r=o.group??o.name??"",a=Ne(r),i=o.subGroup?Ne(De(o)):void 0;Object.values(l).forEach(s=>{s.forEach(c=>{i&&(n.clsToSubgroup[c]=i),n.clsToPlugin[c]={slug:a,raw:r};const u=(c.split(".").pop()??c).toLowerCase();n.shortNameToCls[u]=n.shortNameToCls[u]??[],n.shortNameToCls[u].includes(c)||n.shortNameToCls[u].push(c)})})}return n}function rl(t){const n=e.computed(()=>{const l=e.isRef(t)?t.value:t;return l?Yt(l):{}}),o=e.computed(()=>Object.values(n.value).reduce((l,r)=>l+r.length,0));return{elementsByType:n,total:o}}const hi={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ei=["aria-hidden","aria-label"],ki=["fill","width","height"],yi={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"},vi={key:0};function Ci(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",yi,[o.title?(e.openBlock(),e.createElementBlock("title",vi,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ki))],16,Ei)}const Ni=D(hi,[["render",Ci]]),_i=e.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(Ni,{class:"loading-dots-circle",alt:t.alt},null,8,["alt"]))}}),al=D(_i,[["__scopeId","data-v-a7ad4137"]]);function Ae(t,n){typeof console<"u"&&(console.warn("[intlify] "+t),n&&console.warn(n.stack))}const go={};function Si(t){go[t]||(go[t]=!0,Ae(t))}const Pe=typeof window<"u";let _e,Xe;if(process.env.NODE_ENV!=="production"){const t=Pe&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(_e=n=>{t.mark(n)},Xe=(n,o,l)=>{t.measure(n,o,l),t.clearMarks(o),t.clearMarks(l)})}const bi=/\{([0-9a-zA-Z]+)\}/g;function qt(t,...n){return n.length===1&&Y(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),t.replace(bi,(o,l)=>n.hasOwnProperty(l)?n[l]:"")}const Re=(t,n=!1)=>n?Symbol.for(t):Symbol(t),wi=(t,n,o)=>Li({l:t,k:n,s:o}),Li=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ce=t=>typeof t=="number"&&isFinite(t),Ti=t=>Pn(t)==="[object Date]",Ft=t=>Pn(t)==="[object RegExp]",Xt=t=>K(t)&&Object.keys(t).length===0,ue=Object.assign,Bi=Object.create,Z=(t=null)=>Bi(t);let ho;const Ye=()=>ho||(ho=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Z());function Eo(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function ko(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Vi(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,r,a)=>`${r}="${ko(a)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,r,a)=>`${r}='${ko(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(process.env.NODE_ENV!=="production"&&Ae("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),t=t.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=>{t=t.replace(l,"$1javascript&#58;")}),t}const Ii=Object.prototype.hasOwnProperty;function we(t,n){return Ii.call(t,n)}const ie=Array.isArray,te=t=>typeof t=="function",O=t=>typeof t=="string",ae=t=>typeof t=="boolean",Y=t=>t!==null&&typeof t=="object",Ai=t=>Y(t)&&te(t.then)&&te(t.catch),il=Object.prototype.toString,Pn=t=>il.call(t),K=t=>Pn(t)==="[object Object]",$i=t=>t==null?"":ie(t)||K(t)&&t.toString===il?JSON.stringify(t,null,2):String(t);function Rn(t,n=""){return t.reduce((o,l,r)=>r===0?o+l:o+n+l,"")}const yo=2;function Di(t,n=0,o=t.length){const l=t.split(/\r?\n/);let r=0;const a=[];for(let i=0;i<l.length;i++)if(r+=l[i].length+1,r>=n){for(let s=i-yo;s<=i+yo||o>r;s++){if(s<0||s>=l.length)continue;const c=s+1;a.push(`${c}${" ".repeat(3-String(c).length)}| ${l[s]}`);const u=l[s].length;if(s===i){const m=n-(r-u)+1,g=Math.max(1,o>r?u-m:o-n);a.push(" | "+" ".repeat(m)+"^".repeat(g))}else if(s>i){if(o>r){const m=Math.max(Math.min(o-r,u),1);a.push(" | "+"^".repeat(m))}r+=u+1}}break}return a.join(`
2
2
  `)}function Oi(){const t=new Map;return{events:t,on(o,l){const r=t.get(o);r&&r.push(l)||t.set(o,[l])},off(o,l){const r=t.get(o);r&&r.splice(r.indexOf(l)>>>0,1)},emit(o,l){(t.get(o)||[]).slice().map(r=>r(l)),(t.get("*")||[]).slice().map(r=>r(o,l))}}}const At=t=>!Y(t)||ie(t);function Rt(t,n){if(At(t)||At(n))throw new Error("Invalid value");const o=[{src:t,des:n}];for(;o.length;){const{src:l,des:r}=o.pop();Object.keys(l).forEach(a=>{a!=="__proto__"&&(Y(l[a])&&!Y(r[a])&&(r[a]=Array.isArray(l[a])?[]:Z()),At(r[a])||At(l[a])?r[a]=l[a]:o.push({src:l[a],des:r[a]}))})}}function xi(t,n,o){return{line:t,column:n,offset:o}}function yn(t,n,o){return{start:t,end:n}}const R={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},Pi=17,Ri={[R.EXPECTED_TOKEN]:"Expected token: '{0}'",[R.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[R.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[R.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[R.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[R.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[R.EMPTY_PLACEHOLDER]:"Empty placeholder",[R.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[R.INVALID_LINKED_FORMAT]:"Invalid linked format",[R.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[R.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[R.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[R.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[R.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[R.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function st(t,n,o={}){const{domain:l,messages:r,args:a}=o,i=process.env.NODE_ENV!=="production"?qt((r||Ri)[t]||"",...a||[]):t,s=new SyntaxError(String(i));return s.code=t,n&&(s.location=n),s.domain=l,s}function Mi(t){throw t}const Fi=/<\/?[\w\s="/.':;#-\/]+>/,Ui=t=>Fi.test(t),Te=" ",Hi="\r",me=`
3
3
  `,zi="\u2028",Wi="\u2029";function ji(t){const n=t;let o=0,l=1,r=1,a=0;const i=N=>n[N]===Hi&&n[N+1]===me,s=N=>n[N]===me,c=N=>n[N]===Wi,u=N=>n[N]===zi,m=N=>i(N)||s(N)||c(N)||u(N),g=()=>o,d=()=>l,v=()=>r,A=()=>a,k=N=>i(N)||c(N)||u(N)?me:n[N],T=()=>k(o),h=()=>k(o+a);function C(){return a=0,m(o)&&(l++,r=0),i(o)&&o++,o++,r++,n[o]}function y(){return i(o+a)&&a++,a++,n[o+a]}function E(){o=0,l=1,r=1,a=0}function S(N=0){a=N}function I(){const N=o+a;for(;N!==o;)C();a=0}return{index:g,line:d,column:v,peekOffset:A,charAt:k,currentChar:T,currentPeek:h,next:C,peek:y,reset:E,resetPeek:S,skipToPeek:I}}const $e=void 0,Gi=".",vo="'",Ki="tokenizer";function Yi(t,n={}){const o=n.location!==!1,l=ji(t),r=()=>l.index(),a=()=>xi(l.line(),l.column(),l.index()),i=a(),s=r(),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:m}=n;function g(f,p,L,...P){const ee=u();if(p.column+=L,p.offset+=L,m){const le=o?yn(ee.startLoc,p):null,G=st(f,le,{domain:Ki,args:P});m(G)}}function d(f,p,L){f.endLoc=a(),f.currentType=p;const P={type:p};return o&&(P.loc=yn(f.startLoc,f.endLoc)),L!=null&&(P.value=L),P}const v=f=>d(f,13);function A(f,p){return f.currentChar()===p?(f.next(),p):(g(R.EXPECTED_TOKEN,a(),0,p),"")}function k(f){let p="";for(;f.currentPeek()===Te||f.currentPeek()===me;)p+=f.currentPeek(),f.peek();return p}function T(f){const p=k(f);return f.skipToPeek(),p}function h(f){if(f===$e)return!1;const p=f.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function C(f){if(f===$e)return!1;const p=f.charCodeAt(0);return p>=48&&p<=57}function y(f,p){const{currentType:L}=p;if(L!==2)return!1;k(f);const P=h(f.currentPeek());return f.resetPeek(),P}function E(f,p){const{currentType:L}=p;if(L!==2)return!1;k(f);const P=f.currentPeek()==="-"?f.peek():f.currentPeek(),ee=C(P);return f.resetPeek(),ee}function S(f,p){const{currentType:L}=p;if(L!==2)return!1;k(f);const P=f.currentPeek()===vo;return f.resetPeek(),P}function I(f,p){const{currentType:L}=p;if(L!==7)return!1;k(f);const P=f.currentPeek()===".";return f.resetPeek(),P}function N(f,p){const{currentType:L}=p;if(L!==8)return!1;k(f);const P=h(f.currentPeek());return f.resetPeek(),P}function M(f,p){const{currentType:L}=p;if(!(L===7||L===11))return!1;k(f);const P=f.currentPeek()===":";return f.resetPeek(),P}function H(f,p){const{currentType:L}=p;if(L!==9)return!1;const P=()=>{const le=f.currentPeek();return le==="{"?h(f.peek()):le==="@"||le==="|"||le===":"||le==="."||le===Te||!le?!1:le===me?(f.peek(),P()):ye(f,!1)},ee=P();return f.resetPeek(),ee}function X(f){k(f);const p=f.currentPeek()==="|";return f.resetPeek(),p}function ye(f,p=!0){const L=(ee=!1,le="")=>{const G=f.currentPeek();return G==="{"||G==="@"||!G?ee:G==="|"?!(le===Te||le===me):G===Te?(f.peek(),L(!0,Te)):G===me?(f.peek(),L(!0,me)):!0},P=L();return p&&f.resetPeek(),P}function Q(f,p){const L=f.currentChar();return L===$e?$e:p(L)?(f.next(),L):null}function be(f){const p=f.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36}function Qe(f){return Q(f,be)}function dt(f){const p=f.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p>=48&&p<=57||p===95||p===36||p===45}function ze(f){return Q(f,dt)}function Me(f){const p=f.charCodeAt(0);return p>=48&&p<=57}function mt(f){return Q(f,Me)}function et(f){const p=f.charCodeAt(0);return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function $(f){return Q(f,et)}function w(f){let p="",L="";for(;p=mt(f);)L+=p;return L}function F(f){let p="";for(;;){const L=f.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L===Te||L===me)if(ye(f))p+=L,f.next();else{if(X(f))break;p+=L,f.next()}else p+=L,f.next()}return p}function x(f){T(f);let p="",L="";for(;p=ze(f);)L+=p;const P=f.currentChar();if(P&&P!=="}"&&P!==$e&&P!==Te&&P!==me&&P!==" "){const ee=Tt(f);return g(R.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,L+ee),L+ee}return f.currentChar()===$e&&g(R.UNTERMINATED_CLOSING_BRACE,a(),0),L}function ge(f){T(f);let p="";return f.currentChar()==="-"?(f.next(),p+=`-${w(f)}`):p+=w(f),f.currentChar()===$e&&g(R.UNTERMINATED_CLOSING_BRACE,a(),0),p}function pe(f){return f!==vo&&f!==me}function ft(f){T(f),A(f,"'");let p="",L="";for(;p=Q(f,pe);)p==="\\"?L+=on(f):L+=p;const P=f.currentChar();return P===me||P===$e?(g(R.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),P===me&&(f.next(),A(f,"'")),L):(A(f,"'"),L)}function on(f){const p=f.currentChar();switch(p){case"\\":case"'":return f.next(),`\\${p}`;case"u":return Lt(f,p,4);case"U":return Lt(f,p,6);default:return g(R.UNKNOWN_ESCAPE_SEQUENCE,a(),0,p),""}}function Lt(f,p,L){A(f,p);let P="";for(let ee=0;ee<L;ee++){const le=$(f);if(!le){g(R.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${p}${P}${f.currentChar()}`);break}P+=le}return`\\${p}${P}`}function ln(f){return f!=="{"&&f!=="}"&&f!==Te&&f!==me}function Tt(f){T(f);let p="",L="";for(;p=Q(f,ln);)L+=p;return L}function rn(f){let p="",L="";for(;p=Qe(f);)L+=p;return L}function an(f){const p=L=>{const P=f.currentChar();return P==="{"||P==="@"||P==="|"||P==="("||P===")"||!P||P===Te?L:(L+=P,f.next(),p(L))};return p("")}function pt(f){T(f);const p=A(f,"|");return T(f),p}function gt(f,p){let L=null;switch(f.currentChar()){case"{":return p.braceNest>=1&&g(R.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),f.next(),L=d(p,2,"{"),T(f),p.braceNest++,L;case"}":return p.braceNest>0&&p.currentType===2&&g(R.EMPTY_PLACEHOLDER,a(),0),f.next(),L=d(p,3,"}"),p.braceNest--,p.braceNest>0&&T(f),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),L;case"@":return p.braceNest>0&&g(R.UNTERMINATED_CLOSING_BRACE,a(),0),L=We(f,p)||v(p),p.braceNest=0,L;default:{let ee=!0,le=!0,G=!0;if(X(f))return p.braceNest>0&&g(R.UNTERMINATED_CLOSING_BRACE,a(),0),L=d(p,1,pt(f)),p.braceNest=0,p.inLinked=!1,L;if(p.braceNest>0&&(p.currentType===4||p.currentType===5||p.currentType===6))return g(R.UNTERMINATED_CLOSING_BRACE,a(),0),p.braceNest=0,ht(f,p);if(ee=y(f,p))return L=d(p,4,x(f)),T(f),L;if(le=E(f,p))return L=d(p,5,ge(f)),T(f),L;if(G=S(f,p))return L=d(p,6,ft(f)),T(f),L;if(!ee&&!le&&!G)return L=d(p,12,Tt(f)),g(R.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,L.value),T(f),L;break}}return L}function We(f,p){const{currentType:L}=p;let P=null;const ee=f.currentChar();switch((L===7||L===8||L===11||L===9)&&(ee===me||ee===Te)&&g(R.INVALID_LINKED_FORMAT,a(),0),ee){case"@":return f.next(),P=d(p,7,"@"),p.inLinked=!0,P;case".":return T(f),f.next(),d(p,8,".");case":":return T(f),f.next(),d(p,9,":");default:return X(f)?(P=d(p,1,pt(f)),p.braceNest=0,p.inLinked=!1,P):I(f,p)||M(f,p)?(T(f),We(f,p)):N(f,p)?(T(f),d(p,11,rn(f))):H(f,p)?(T(f),ee==="{"?gt(f,p)||P:d(p,10,an(f))):(L===7&&g(R.INVALID_LINKED_FORMAT,a(),0),p.braceNest=0,p.inLinked=!1,ht(f,p))}}function ht(f,p){let L={type:13};if(p.braceNest>0)return gt(f,p)||v(p);if(p.inLinked)return We(f,p)||v(p);switch(f.currentChar()){case"{":return gt(f,p)||v(p);case"}":return g(R.UNBALANCED_CLOSING_BRACE,a(),0),f.next(),d(p,3,"}");case"@":return We(f,p)||v(p);default:{if(X(f))return L=d(p,1,pt(f)),p.braceNest=0,p.inLinked=!1,L;if(ye(f))return d(p,0,F(f));break}}return L}function sn(){const{currentType:f,offset:p,startLoc:L,endLoc:P}=c;return c.lastType=f,c.lastOffset=p,c.lastStartLoc=L,c.lastEndLoc=P,c.offset=r(),c.startLoc=a(),l.currentChar()===$e?d(c,13):ht(l,c)}return{nextToken:sn,currentOffset:r,currentPosition:a,context:u}}const qi="parser",Xi=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Zi(t,n,o){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const l=parseInt(n||o,16);return l<=55295||l>=57344?String.fromCodePoint(l):"�"}}}function Ji(t={}){const n=t.location!==!1,{onError:o}=t;function l(h,C,y,E,...S){const I=h.currentPosition();if(I.offset+=E,I.column+=E,o){const N=n?yn(y,I):null,M=st(C,N,{domain:qi,args:S});o(M)}}function r(h,C,y){const E={type:h};return n&&(E.start=C,E.end=C,E.loc={start:y,end:y}),E}function a(h,C,y,E){n&&(h.end=C,h.loc&&(h.loc.end=y))}function i(h,C){const y=h.context(),E=r(3,y.offset,y.startLoc);return E.value=C,a(E,h.currentOffset(),h.currentPosition()),E}function s(h,C){const y=h.context(),{lastOffset:E,lastStartLoc:S}=y,I=r(5,E,S);return I.index=parseInt(C,10),h.nextToken(),a(I,h.currentOffset(),h.currentPosition()),I}function c(h,C){const y=h.context(),{lastOffset:E,lastStartLoc:S}=y,I=r(4,E,S);return I.key=C,h.nextToken(),a(I,h.currentOffset(),h.currentPosition()),I}function u(h,C){const y=h.context(),{lastOffset:E,lastStartLoc:S}=y,I=r(9,E,S);return I.value=C.replace(Xi,Zi),h.nextToken(),a(I,h.currentOffset(),h.currentPosition()),I}function m(h){const C=h.nextToken(),y=h.context(),{lastOffset:E,lastStartLoc:S}=y,I=r(8,E,S);return C.type!==11?(l(h,R.UNEXPECTED_EMPTY_LINKED_MODIFIER,y.lastStartLoc,0),I.value="",a(I,E,S),{nextConsumeToken:C,node:I}):(C.value==null&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Be(C)),I.value=C.value||"",a(I,h.currentOffset(),h.currentPosition()),{node:I})}function g(h,C){const y=h.context(),E=r(7,y.offset,y.startLoc);return E.value=C,a(E,h.currentOffset(),h.currentPosition()),E}function d(h){const C=h.context(),y=r(6,C.offset,C.startLoc);let E=h.nextToken();if(E.type===8){const S=m(h);y.modifier=S.node,E=S.nextConsumeToken||h.nextToken()}switch(E.type!==9&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Be(E)),E=h.nextToken(),E.type===2&&(E=h.nextToken()),E.type){case 10:E.value==null&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Be(E)),y.key=g(h,E.value||"");break;case 4:E.value==null&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Be(E)),y.key=c(h,E.value||"");break;case 5:E.value==null&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Be(E)),y.key=s(h,E.value||"");break;case 6:E.value==null&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Be(E)),y.key=u(h,E.value||"");break;default:{l(h,R.UNEXPECTED_EMPTY_LINKED_KEY,C.lastStartLoc,0);const S=h.context(),I=r(7,S.offset,S.startLoc);return I.value="",a(I,S.offset,S.startLoc),y.key=I,a(y,S.offset,S.startLoc),{nextConsumeToken:E,node:y}}}return a(y,h.currentOffset(),h.currentPosition()),{node:y}}function v(h){const C=h.context(),y=C.currentType===1?h.currentOffset():C.offset,E=C.currentType===1?C.endLoc:C.startLoc,S=r(2,y,E);S.items=[];let I=null;do{const H=I||h.nextToken();switch(I=null,H.type){case 0:H.value==null&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Be(H)),S.items.push(i(h,H.value||""));break;case 5:H.value==null&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Be(H)),S.items.push(s(h,H.value||""));break;case 4:H.value==null&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Be(H)),S.items.push(c(h,H.value||""));break;case 6:H.value==null&&l(h,R.UNEXPECTED_LEXICAL_ANALYSIS,C.lastStartLoc,0,Be(H)),S.items.push(u(h,H.value||""));break;case 7:{const X=d(h);S.items.push(X.node),I=X.nextConsumeToken||null;break}}}while(C.currentType!==13&&C.currentType!==1);const N=C.currentType===1?C.lastOffset:h.currentOffset(),M=C.currentType===1?C.lastEndLoc:h.currentPosition();return a(S,N,M),S}function A(h,C,y,E){const S=h.context();let I=E.items.length===0;const N=r(1,C,y);N.cases=[],N.cases.push(E);do{const M=v(h);I||(I=M.items.length===0),N.cases.push(M)}while(S.currentType!==13);return I&&l(h,R.MUST_HAVE_MESSAGES_IN_PLURAL,y,0),a(N,h.currentOffset(),h.currentPosition()),N}function k(h){const C=h.context(),{offset:y,startLoc:E}=C,S=v(h);return C.currentType===13?S:A(h,y,E,S)}function T(h){const C=Yi(h,ue({},t)),y=C.context(),E=r(0,y.offset,y.startLoc);return n&&E.loc&&(E.loc.source=h),E.body=k(C),t.onCacheKey&&(E.cacheKey=t.onCacheKey(h)),y.currentType!==13&&l(C,R.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,h[y.offset]||""),a(E,C.currentOffset(),C.currentPosition()),E}return{parse:T}}function Be(t){if(t.type===13)return"EOF";const n=(t.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function Qi(t,n={}){const o={ast:t,helpers:new Set};return{context:()=>o,helper:a=>(o.helpers.add(a),a)}}function Co(t,n){for(let o=0;o<t.length;o++)Mn(t[o],n)}function Mn(t,n){switch(t.type){case 1:Co(t.cases,n),n.helper("plural");break;case 2:Co(t.items,n);break;case 6:{Mn(t.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 es(t,n={}){const o=Qi(t);o.helper("normalize"),t.body&&Mn(t.body,o);const l=o.context();t.helpers=Array.from(l.helpers)}function ts(t){const n=t.body;return n.type===2?No(n):n.cases.forEach(o=>No(o)),t}function No(t){if(t.items.length===1){const n=t.items[0];(n.type===3||n.type===9)&&(t.static=n.value,delete n.value)}else{const n=[];for(let o=0;o<t.items.length;o++){const l=t.items[o];if(!(l.type===3||l.type===9)||l.value==null)break;n.push(l.value)}if(n.length===t.items.length){t.static=Rn(n);for(let o=0;o<t.items.length;o++){const l=t.items[o];(l.type===3||l.type===9)&&delete l.value}}}}const ns="minifier";function lt(t){switch(t.t=t.type,t.type){case 0:{const n=t;lt(n.body),n.b=n.body,delete n.body;break}case 1:{const n=t,o=n.cases;for(let l=0;l<o.length;l++)lt(o[l]);n.c=o,delete n.cases;break}case 2:{const n=t,o=n.items;for(let l=0;l<o.length;l++)lt(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=t;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=t;lt(n.key),n.k=n.key,delete n.key,n.modifier&&(lt(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=t;n.i=n.index,delete n.index;break}case 4:{const n=t;n.k=n.key,delete n.key;break}default:if(process.env.NODE_ENV!=="production")throw st(R.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:ns,args:[t.type]})}delete t.type}const os="parser";function ls(t,n){const{filename:o,breakLineCode:l,needIndent:r}=n,a=n.location!==!1,i={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:r,indentLevel:0};a&&t.loc&&(i.source=t.loc.source);const s=()=>i;function c(k,T){i.code+=k}function u(k,T=!0){const h=T?l:"";c(r?h+" ".repeat(k):h)}function m(k=!0){const T=++i.indentLevel;k&&u(T)}function g(k=!0){const T=--i.indentLevel;k&&u(T)}function d(){u(i.indentLevel)}return{context:s,push:c,indent:m,deindent:g,newline:d,helper:k=>`_${k}`,needIndent:()=>i.needIndent}}function rs(t,n){const{helper:o}=t;t.push(`${o("linked")}(`),it(t,n.key),n.modifier?(t.push(", "),it(t,n.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function as(t,n){const{helper:o,needIndent:l}=t;t.push(`${o("normalize")}([`),t.indent(l());const r=n.items.length;for(let a=0;a<r&&(it(t,n.items[a]),a!==r-1);a++)t.push(", ");t.deindent(l()),t.push("])")}function is(t,n){const{helper:o,needIndent:l}=t;if(n.cases.length>1){t.push(`${o("plural")}([`),t.indent(l());const r=n.cases.length;for(let a=0;a<r&&(it(t,n.cases[a]),a!==r-1);a++)t.push(", ");t.deindent(l()),t.push("])")}}function ss(t,n){n.body?it(t,n.body):t.push("null")}function it(t,n){const{helper:o}=t;switch(n.type){case 0:ss(t,n);break;case 1:is(t,n);break;case 2:as(t,n);break;case 6:rs(t,n);break;case 8:t.push(JSON.stringify(n.value),n);break;case 7:t.push(JSON.stringify(n.value),n);break;case 5:t.push(`${o("interpolate")}(${o("list")}(${n.index}))`,n);break;case 4:t.push(`${o("interpolate")}(${o("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:t.push(JSON.stringify(n.value),n);break;case 3:t.push(JSON.stringify(n.value),n);break;default:if(process.env.NODE_ENV!=="production")throw st(R.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:os,args:[n.type]})}}const cs=(t,n={})=>{const o=O(n.mode)?n.mode:"normal",l=O(n.filename)?n.filename:"message.intl";n.sourceMap;const r=n.breakLineCode!=null?n.breakLineCode:o==="arrow"?";":`
4
4
  `,a=n.needIndent?n.needIndent:o!=="arrow",i=t.helpers||[],s=ls(t,{filename:l,breakLineCode:r,needIndent:a});s.push(o==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),i.length>0&&(s.push(`const { ${Rn(i.map(m=>`${m}: _${m}`),", ")} } = ctx`),s.newline()),s.push("return "),it(s,t),s.deindent(a),s.push("}"),delete t.helpers;const{code:c,map:u}=s.context();return{ast:t,code:c,map:u?u.toJSON():void 0}};function us(t,n={}){const o=ue({},n),l=!!o.jit,r=!!o.minify,a=o.optimize==null?!0:o.optimize,s=Ji(o).parse(t);return l?(a&&ts(s),r&&lt(s),{ast:s,code:""}):(es(s,o),cs(s,o))}function ds(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ye().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ye().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Le(t){return Y(t)&&Fn(t)===0&&(we(t,"b")||we(t,"body"))}const sl=["b","body"];function ms(t){return Ue(t,sl)}const cl=["c","cases"];function fs(t){return Ue(t,cl,[])}const ul=["s","static"];function ps(t){return Ue(t,ul)}const dl=["i","items"];function gs(t){return Ue(t,dl,[])}const ml=["t","type"];function Fn(t){return Ue(t,ml)}const fl=["v","value"];function $t(t,n){const o=Ue(t,fl);if(o!=null)return o;throw yt(n)}const pl=["m","modifier"];function hs(t){return Ue(t,pl)}const gl=["k","key"];function Es(t){const n=Ue(t,gl);if(n)return n;throw yt(6)}function Ue(t,n,o){for(let l=0;l<n.length;l++){const r=n[l];if(we(t,r)&&t[r]!=null)return t[r]}return o}const hl=[...sl,...cl,...ul,...dl,...gl,...pl,...fl,...ml];function yt(t){return new Error(`unhandled node type: ${t}`)}function dn(t){return o=>ks(o,t)}function ks(t,n){const o=ms(n);if(o==null)throw yt(0);if(Fn(o)===1){const a=fs(o);return t.plural(a.reduce((i,s)=>[...i,_o(t,s)],[]))}else return _o(t,o)}function _o(t,n){const o=ps(n);if(o!=null)return t.type==="text"?o:t.normalize([o]);{const l=gs(n).reduce((r,a)=>[...r,vn(t,a)],[]);return t.normalize(l)}}function vn(t,n){const o=Fn(n);switch(o){case 3:return $t(n,o);case 9:return $t(n,o);case 4:{const l=n;if(we(l,"k")&&l.k)return t.interpolate(t.named(l.k));if(we(l,"key")&&l.key)return t.interpolate(t.named(l.key));throw yt(o)}case 5:{const l=n;if(we(l,"i")&&ce(l.i))return t.interpolate(t.list(l.i));if(we(l,"index")&&ce(l.index))return t.interpolate(t.list(l.index));throw yt(o)}case 6:{const l=n,r=hs(l),a=Es(l);return t.linked(vn(t,a),r?vn(t,r):void 0,t.type)}case 7:return $t(n,o);case 8:return $t(n,o);default:throw new Error(`unhandled node on format message part: ${o}`)}}const ys="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function vs(t,n){n&&Ui(t)&&Ae(qt(ys,{source:t}))}const Cs=t=>t;let Dt=Z();function Ns(t,n={}){let o=!1;const l=n.onError||Mi;return n.onError=r=>{o=!0,l(r)},{...us(t,n),detectError:o}}function _s(t,n){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&O(t)){const o=ae(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&vs(t,o);const r=(n.onCacheKey||Cs)(t),a=Dt[r];if(a)return a;const{ast:i,detectError:s}=Ns(t,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=dn(i);return s?c:Dt[r]=c}else{if(process.env.NODE_ENV!=="production"&&!Le(t))return Ae(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>t);const o=t.cacheKey;if(o){const l=Dt[o];return l||(Dt[o]=dn(t))}else return dn(t)}}let vt=null;function Ss(t){vt=t}function bs(t,n,o){vt&&vt.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:n,meta:o})}const ws=Ls("function:translate");function Ls(t){return n=>vt&&vt.emit(t,n)}const fe={INVALID_ARGUMENT:Pi,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},Ts=24;function Oe(t){return st(t,null,process.env.NODE_ENV!=="production"?{messages:Bs}:void 0)}const Bs={[fe.INVALID_ARGUMENT]:"Invalid arguments",[fe.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[fe.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[fe.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[fe.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[fe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[fe.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Un(t,n){return n.locale!=null?So(n.locale):So(t.locale)}let mn;function So(t){if(O(t))return t;if(te(t)){if(t.resolvedOnce&&mn!=null)return mn;if(t.constructor.name==="Function"){const n=t();if(Ai(n))throw Oe(fe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return mn=n}else throw Oe(fe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Oe(fe.NOT_SUPPORT_LOCALE_TYPE)}function Vs(t,n,o){return[...new Set([o,...ie(n)?n:Y(n)?Object.keys(n):O(n)?[n]:[o]])]}function El(t,n,o){const l=O(o)?o:Ut,r=t;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(l);if(!a){a=[];let i=[o];for(;ie(i);)i=bo(a,i,n);const s=ie(n)||!K(n)?n:n.default?n.default:null;i=O(s)?[s]:s,ie(i)&&bo(a,i,!1),r.__localeChainCache.set(l,a)}return a}function bo(t,n,o){let l=!0;for(let r=0;r<n.length&&ae(l);r++){const a=n[r];O(a)&&(l=Is(t,n[r],o))}return l}function Is(t,n,o){let l;const r=n.split("-");do{const a=r.join("-");l=As(t,a,o),r.splice(-1,1)}while(r.length&&l===!0);return l}function As(t,n,o){let l=!1;if(!t.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const r=n.replace(/!/g,"");t.push(r),(ie(o)||K(o))&&o[r]&&(l=o[r])}return l}const He=[];He[0]={w:[0],i:[3,0],"[":[4],o:[7]};He[1]={w:[1],".":[2],"[":[4],o:[7]};He[2]={w:[2],i:[3,0],0:[3,0]};He[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};He[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};He[5]={"'":[4,0],o:8,l:[5,0]};He[6]={'"':[4,0],o:8,l:[6,0]};const $s=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ds(t){return $s.test(t)}function Os(t){const n=t.charCodeAt(0),o=t.charCodeAt(t.length-1);return n===o&&(n===34||n===39)?t.slice(1,-1):t}function xs(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;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 Ps(t){const n=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:Ds(n)?Os(n):"*"+n}function Rs(t){const n=[];let o=-1,l=0,r=0,a,i,s,c,u,m,g;const d=[];d[0]=()=>{i===void 0?i=s:i+=s},d[1]=()=>{i!==void 0&&(n.push(i),i=void 0)},d[2]=()=>{d[0](),r++},d[3]=()=>{if(r>0)r--,l=4,d[0]();else{if(r=0,i===void 0||(i=Ps(i),i===!1))return!1;d[1]()}};function v(){const A=t[o+1];if(l===5&&A==="'"||l===6&&A==='"')return o++,s="\\"+A,d[0](),!0}for(;l!==null;)if(o++,a=t[o],!(a==="\\"&&v())){if(c=xs(a),g=He[l],u=g[c]||g.l||8,u===8||(l=u[0],u[1]!==void 0&&(m=d[u[1]],m&&(s=a,m()===!1))))return;if(l===7)return n}}const wo=new Map;function Ms(t,n){return Y(t)?t[n]:null}function Fs(t,n){if(!Y(t))return null;let o=wo.get(n);if(o||(o=Rs(n),o&&wo.set(n,o)),!o)return null;const l=o.length;let r=t,a=0;for(;a<l;){const i=o[a];if(hl.includes(i)&&Le(r))return null;const s=r[i];if(s===void 0||te(r))return null;r=s,a++}return r}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},Us=8,Hs={[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 Ze(t,...n){return qt(Hs[t],...n)}const zs="11.2.8",Zt=-1,Ut="en-US",Ht="",Lo=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Ws(){return{upper:(t,n)=>n==="text"&&O(t)?t.toUpperCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,n)=>n==="text"&&O(t)?t.toLowerCase():n==="vnode"&&Y(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,n)=>n==="text"&&O(t)?Lo(t):n==="vnode"&&Y(t)&&"__v_isVNode"in t?Lo(t.children):t}}let kl;function js(t){kl=t}let yl;function Gs(t){yl=t}let vl;function Ks(t){vl=t}let Cl=null;const Ys=t=>{Cl=t},qs=()=>Cl;let Nl=null;const To=t=>{Nl=t},Xs=()=>Nl;let Bo=0;function Zs(t={}){const n=te(t.onWarn)?t.onWarn:Ae,o=O(t.version)?t.version:zs,l=O(t.locale)||te(t.locale)?t.locale:Ut,r=te(l)?Ut:l,a=ie(t.fallbackLocale)||K(t.fallbackLocale)||O(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:r,i=K(t.messages)?t.messages:fn(r),s=K(t.datetimeFormats)?t.datetimeFormats:fn(r),c=K(t.numberFormats)?t.numberFormats:fn(r),u=ue(Z(),t.modifiers,Ws()),m=t.pluralRules||Z(),g=te(t.missing)?t.missing:null,d=ae(t.missingWarn)||Ft(t.missingWarn)?t.missingWarn:!0,v=ae(t.fallbackWarn)||Ft(t.fallbackWarn)?t.fallbackWarn:!0,A=!!t.fallbackFormat,k=!!t.unresolving,T=te(t.postTranslation)?t.postTranslation:null,h=K(t.processor)?t.processor:null,C=ae(t.warnHtmlMessage)?t.warnHtmlMessage:!0,y=!!t.escapeParameter,E=te(t.messageCompiler)?t.messageCompiler:kl;process.env.NODE_ENV!=="production"&&te(t.messageCompiler)&&Si(Ze(he.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const S=te(t.messageResolver)?t.messageResolver:yl||Ms,I=te(t.localeFallbacker)?t.localeFallbacker:vl||Vs,N=Y(t.fallbackContext)?t.fallbackContext:void 0,M=t,H=Y(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,X=Y(M.__numberFormatters)?M.__numberFormatters:new Map,ye=Y(M.__meta)?M.__meta:{};Bo++;const Q={version:o,cid:Bo,locale:l,fallbackLocale:a,messages:i,modifiers:u,pluralRules:m,missing:g,missingWarn:d,fallbackWarn:v,fallbackFormat:A,unresolving:k,postTranslation:T,processor:h,warnHtmlMessage:C,escapeParameter:y,messageCompiler:E,messageResolver:S,localeFallbacker:I,fallbackContext:N,onWarn:n,__meta:ye};return Q.datetimeFormats=s,Q.numberFormats=c,Q.__datetimeFormatters=H,Q.__numberFormatters=X,process.env.NODE_ENV!=="production"&&(Q.__v_emitter=M.__v_emitter!=null?M.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&bs(Q,o,ye),Q}const fn=t=>({[t]:Z()});function Jt(t,n){return t instanceof RegExp?t.test(n):t}function _l(t,n){return t instanceof RegExp?t.test(n):t}function Hn(t,n,o,l,r){const{missing:a,onWarn:i}=t;if(process.env.NODE_ENV!=="production"){const s=t.__v_emitter;s&&s.emit("missing",{locale:o,key:n,type:r,groupId:`${r}:${n}`})}if(a!==null){const s=a(t,o,n,r);return O(s)?s:n}else return process.env.NODE_ENV!=="production"&&_l(l,n)&&i(Ze(he.NOT_FOUND_KEY,{key:n,locale:o})),n}function kt(t,n,o){const l=t;l.__localeChainCache=new Map,t.localeFallbacker(t,o,n)}function Sl(t,n){return t===n?!1:t.split("-")[0]===n.split("-")[0]}function Js(t,n){const o=n.indexOf(t);if(o===-1)return!1;for(let l=o+1;l<n.length;l++)if(Sl(t,n[l]))return!0;return!1}const Vo=typeof Intl<"u",bl={dateTimeFormat:Vo&&typeof Intl.DateTimeFormat<"u",numberFormat:Vo&&typeof Intl.NumberFormat<"u"};function Io(t,...n){const{datetimeFormats:o,unresolving:l,fallbackLocale:r,onWarn:a,localeFallbacker:i}=t,{__datetimeFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!bl.dateTimeFormat)return a(Ze(he.CANNOT_FORMAT_DATE)),Ht;const[c,u,m,g]=Cn(...n),d=ae(m.missingWarn)?m.missingWarn:t.missingWarn,v=ae(m.fallbackWarn)?m.fallbackWarn:t.fallbackWarn,A=!!m.part,k=Un(t,m),T=i(t,r,k);if(!O(c)||c==="")return new Intl.DateTimeFormat(k,g).format(u);let h={},C,y=null,E=k,S=null;const I="datetime format";for(let H=0;H<T.length;H++){if(C=S=T[H],process.env.NODE_ENV!=="production"&&k!==C&&Jt(v,c)&&a(Ze(he.FALLBACK_TO_DATE_FORMAT,{key:c,target:C})),process.env.NODE_ENV!=="production"&&k!==C){const X=t.__v_emitter;X&&X.emit("fallback",{type:I,key:c,from:E,to:S,groupId:`${I}:${c}`})}if(h=o[C]||{},y=h[c],K(y))break;Hn(t,c,C,d,I),E=S}if(!K(y)||!O(C))return l?Zt:c;let N=`${C}__${c}`;Xt(g)||(N=`${N}__${JSON.stringify(g)}`);let M=s.get(N);return M||(M=new Intl.DateTimeFormat(C,ue({},y,g)),s.set(N,M)),A?M.formatToParts(u):M.format(u)}const wl=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Cn(...t){const[n,o,l,r]=t,a=Z();let i=Z(),s;if(O(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw Oe(fe.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(fe.INVALID_ISO_DATE_ARGUMENT)}}else if(Ti(n)){if(isNaN(n.getTime()))throw Oe(fe.INVALID_DATE_ARGUMENT);s=n}else if(ce(n))s=n;else throw Oe(fe.INVALID_ARGUMENT);return O(o)?a.key=o:K(o)&&Object.keys(o).forEach(c=>{wl.includes(c)?i[c]=o[c]:a[c]=o[c]}),O(l)?a.locale=l:K(l)&&(i=l),K(r)&&(i=r),[a.key||"",s,a,i]}function Ao(t,n,o){const l=t;for(const r in o){const a=`${n}__${r}`;l.__datetimeFormatters.has(a)&&l.__datetimeFormatters.delete(a)}}function $o(t,...n){const{numberFormats:o,unresolving:l,fallbackLocale:r,onWarn:a,localeFallbacker:i}=t,{__numberFormatters:s}=t;if(process.env.NODE_ENV!=="production"&&!bl.numberFormat)return a(Ze(he.CANNOT_FORMAT_NUMBER)),Ht;const[c,u,m,g]=Nn(...n),d=ae(m.missingWarn)?m.missingWarn:t.missingWarn,v=ae(m.fallbackWarn)?m.fallbackWarn:t.fallbackWarn,A=!!m.part,k=Un(t,m),T=i(t,r,k);if(!O(c)||c==="")return new Intl.NumberFormat(k,g).format(u);let h={},C,y=null,E=k,S=null;const I="number format";for(let H=0;H<T.length;H++){if(C=S=T[H],process.env.NODE_ENV!=="production"&&k!==C&&Jt(v,c)&&a(Ze(he.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:C})),process.env.NODE_ENV!=="production"&&k!==C){const X=t.__v_emitter;X&&X.emit("fallback",{type:I,key:c,from:E,to:S,groupId:`${I}:${c}`})}if(h=o[C]||{},y=h[c],K(y))break;Hn(t,c,C,d,I),E=S}if(!K(y)||!O(C))return l?Zt:c;let N=`${C}__${c}`;Xt(g)||(N=`${N}__${JSON.stringify(g)}`);let M=s.get(N);return M||(M=new Intl.NumberFormat(C,ue({},y,g)),s.set(N,M)),A?M.formatToParts(u):M.format(u)}const Ll=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Nn(...t){const[n,o,l,r]=t,a=Z();let i=Z();if(!ce(n))throw Oe(fe.INVALID_ARGUMENT);const s=n;return O(o)?a.key=o:K(o)&&Object.keys(o).forEach(c=>{Ll.includes(c)?i[c]=o[c]:a[c]=o[c]}),O(l)?a.locale=l:K(l)&&(i=l),K(r)&&(i=r),[a.key||"",s,a,i]}function Do(t,n,o){const l=t;for(const r in o){const a=`${n}__${r}`;l.__numberFormatters.has(a)&&l.__numberFormatters.delete(a)}}const Qs=t=>t,ec=t=>"",tc="text",nc=t=>t.length===0?"":Rn(t),oc=$i;function Oo(t,n){return t=Math.abs(t),n===2?t?t>1?1:0:1:t?Math.min(t,2):0}function lc(t){const n=ce(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(ce(t.named.count)||ce(t.named.n))?ce(t.named.count)?t.named.count:ce(t.named.n)?t.named.n:n:n}function rc(t,n){n.count||(n.count=t),n.n||(n.n=t)}function ac(t={}){const n=t.locale,o=lc(t),l=Y(t.pluralRules)&&O(n)&&te(t.pluralRules[n])?t.pluralRules[n]:Oo,r=Y(t.pluralRules)&&O(n)&&te(t.pluralRules[n])?Oo:void 0,a=h=>h[l(o,h.length,r)],i=t.list||[],s=h=>i[h],c=t.named||Z();ce(t.pluralIndex)&&rc(o,c);const u=h=>c[h];function m(h,C){const y=te(t.messages)?t.messages(h,!!C):Y(t.messages)?t.messages[h]:!1;return y||(t.parent?t.parent.message(h):ec)}const g=h=>t.modifiers?t.modifiers[h]:Qs,d=K(t.processor)&&te(t.processor.normalize)?t.processor.normalize:nc,v=K(t.processor)&&te(t.processor.interpolate)?t.processor.interpolate:oc,A=K(t.processor)&&O(t.processor.type)?t.processor.type:tc,T={list:s,named:u,plural:a,linked:(h,...C)=>{const[y,E]=C;let S="text",I="";C.length===1?Y(y)?(I=y.modifier||I,S=y.type||S):O(y)&&(I=y||I):C.length===2&&(O(y)&&(I=y||I),O(E)&&(S=E||S));const N=m(h,!0)(T),M=S==="vnode"&&ie(N)&&I?N[0]:N;return I?g(I)(M,S):M},message:m,type:A,interpolate:v,normalize:d,values:ue(Z(),i,c)};return T}const xo=()=>"",Se=t=>te(t);function Po(t,...n){const{fallbackFormat:o,postTranslation:l,unresolving:r,messageCompiler:a,fallbackLocale:i,messages:s}=t,[c,u]=_n(...n),m=ae(u.missingWarn)?u.missingWarn:t.missingWarn,g=ae(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,d=ae(u.escapeParameter)?u.escapeParameter:t.escapeParameter,v=!!u.resolvedMessage,A=O(u.default)||ae(u.default)?ae(u.default)?a?c:()=>c:u.default:o?a?c:()=>c:null,k=o||A!=null&&(O(A)||te(A)),T=Un(t,u);d&&ic(u);let[h,C,y]=v?[c,T,s[T]||Z()]:Tl(t,c,T,i,g,m),E=h,S=c;if(!v&&!(O(E)||Le(E)||Se(E))&&k&&(E=A,S=E),!v&&(!(O(E)||Le(E)||Se(E))||!O(C)))return r?Zt:c;if(process.env.NODE_ENV!=="production"&&O(E)&&t.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 I=!1;const N=()=>{I=!0},M=Se(E)?E:Bl(t,c,C,E,S,N);if(I)return E;const H=dc(t,C,y,u),X=ac(H),ye=sc(t,M,X);let Q=l?l(ye,c):ye;if(d&&O(Q)&&(Q=Vi(Q)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const be={timestamp:Date.now(),key:O(c)?c:Se(E)?E.key:"",locale:C||(Se(E)?E.locale:""),format:O(E)?E:Se(E)?E.source:"",message:Q};be.meta=ue({},t.__meta,qs()||{}),ws(be)}return Q}function ic(t){ie(t.list)?t.list=t.list.map(n=>O(n)?Eo(n):n):Y(t.named)&&Object.keys(t.named).forEach(n=>{O(t.named[n])&&(t.named[n]=Eo(t.named[n]))})}function Tl(t,n,o,l,r,a){const{messages:i,onWarn:s,messageResolver:c,localeFallbacker:u}=t,m=u(t,l,o);let g=Z(),d,v=null,A=o,k=null;const T="translate";for(let h=0;h<m.length;h++){if(d=k=m[h],process.env.NODE_ENV!=="production"&&o!==d&&!Sl(o,d)&&Jt(r,n)&&s(Ze(he.FALLBACK_TO_TRANSLATE,{key:n,target:d})),process.env.NODE_ENV!=="production"&&o!==d){const S=t.__v_emitter;S&&S.emit("fallback",{type:T,key:n,from:A,to:k,groupId:`${T}:${n}`})}g=i[d]||Z();let C=null,y,E;if(process.env.NODE_ENV!=="production"&&Pe&&(C=window.performance.now(),y="intlify-message-resolve-start",E="intlify-message-resolve-end",_e&&_e(y)),(v=c(g,n))===null&&(v=g[n]),process.env.NODE_ENV!=="production"&&Pe){const S=window.performance.now(),I=t.__v_emitter;I&&C&&v&&I.emit("message-resolve",{type:"message-resolve",key:n,message:v,time:S-C,groupId:`${T}:${n}`}),y&&E&&_e&&Xe&&(_e(E),Xe("intlify message resolve",y,E))}if(O(v)||Le(v)||Se(v))break;if(!Js(d,m)){const S=Hn(t,n,d,a,T);S!==n&&(v=S)}A=k}return[v,d,g]}function Bl(t,n,o,l,r,a){const{messageCompiler:i,warnHtmlMessage:s}=t;if(Se(l)){const d=l;return d.locale=d.locale||o,d.key=d.key||n,d}if(i==null){const d=(()=>l);return d.locale=o,d.key=n,d}let c=null,u,m;process.env.NODE_ENV!=="production"&&Pe&&(c=window.performance.now(),u="intlify-message-compilation-start",m="intlify-message-compilation-end",_e&&_e(u));const g=i(l,cc(t,o,r,l,s,a));if(process.env.NODE_ENV!=="production"&&Pe){const d=window.performance.now(),v=t.__v_emitter;v&&c&&v.emit("message-compilation",{type:"message-compilation",message:l,time:d-c,groupId:`translate:${n}`}),u&&m&&_e&&Xe&&(_e(m),Xe("intlify message compilation",u,m))}return g.locale=o,g.key=n,g.source=l,g}function sc(t,n,o){let l=null,r,a;process.env.NODE_ENV!=="production"&&Pe&&(l=window.performance.now(),r="intlify-message-evaluation-start",a="intlify-message-evaluation-end",_e&&_e(r));const i=n(o);if(process.env.NODE_ENV!=="production"&&Pe){const s=window.performance.now(),c=t.__v_emitter;c&&l&&c.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-l,groupId:`translate:${n.key}`}),r&&a&&_e&&Xe&&(_e(a),Xe("intlify message evaluation",r,a))}return i}function _n(...t){const[n,o,l]=t,r=Z();if(!O(n)&&!ce(n)&&!Se(n)&&!Le(n))throw Oe(fe.INVALID_ARGUMENT);const a=ce(n)?String(n):(Se(n),n);return ce(o)?r.plural=o:O(o)?r.default=o:K(o)&&!Xt(o)?r.named=o:ie(o)&&(r.list=o),ce(l)?r.plural=l:O(l)?r.default=l:K(l)&&ue(r,l),[a,r]}function cc(t,n,o,l,r,a){return{locale:n,key:o,warnHtmlMessage:r,onError:i=>{if(a&&a(i),process.env.NODE_ENV!=="production"){const s=uc(l),c=`Message compilation error: ${i.message}`,u=i.location&&s&&Di(s,i.location.start.offset,i.location.end.offset),m=t.__v_emitter;m&&s&&m.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}
@@ -12,7 +12,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
12
12
  stroke-width: ${k.strokeWidth};
13
13
  stroke-dasharray: ${k.strokeDasharray};
14
14
  fill: none;
15
- `),{element:v,original:A}});try{const d=c.type==="jpeg"?await r(s,c):await a(s,c);return c.shouldDownload&&u&&i(u),d}finally{g.forEach(({element:d,original:v})=>v?d.setAttribute("style",v):d.removeAttribute("style")),s.classList.remove("is-exporting")}}function r(s,c={quality:.95}){return o.value=null,Xf(s,c).then(u=>(t.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function a(s,c={quality:.95}){return o.value=null,qf(s,c).then(u=>(t.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=t.value,c.click()}return{capture:l,download:i,dataUrl:t,error:o}}const Jf={viewBox:"0 0 32 32",style:{width:"12px",height:"12px"}},Qf={key:1,class:"exporting"},Jo="topology-node-hovered",gn="topology-node-drop-target",ep=e.defineComponent({__name:"Topology",props:{id:{},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{},flowId:{default:void 0},namespace:{default:void 0},expandedSubflows:{default:()=>[]},icons:{default:()=>({})},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{default:void 0},subflowsExecutions:{default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1},getNodeDimensions:{type:Function,default:void 0},customActions:{default:()=>({})},showDetails:{default:()=>({})},animated:{type:Boolean,default:!0}},emits:[b.EVENTS.EDIT,b.EVENTS.DELETE,b.EVENTS.RUN_TASK,b.EVENTS.OPEN_LINK,b.EVENTS.SHOW_LOGS,b.EVENTS.SHOW_DESCRIPTION,b.EVENTS.RUN_TASK,"on-add-flowable-error",b.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",b.EVENTS.SHOW_CONDITION,b.EVENTS.SHOW_CUSTOM_ACTION,b.EVENTS.SHOW_DETAILS],setup(t,{emit:n}){const o=t,l=e.ref(!1),r=e.ref(!1),a=e.computed(()=>($,w,F)=>{const x=F($),ge=o.getNodeDimensions?o.getNodeDimensions($,w,F):{width:w($),height:x};if(!r.value&&b.isTaskNode($))return{...ge,height:x};if(r.value&&b.isTaskNode($)){const pe=$?.task?.type;if(!!(pe&&o.customActions?.[pe]||pe&&o.showDetails?.[pe]))return{...ge,height:Math.max(ge.height,b.NODE_SIZES.TASK_EXPANDED_FALLBACK_HEIGHT)}}return ge}),i=e.ref(),{getNodes:s,onNodeDrag:c,onNodeDragStart:u,onNodeDragStop:m,fitView:g,setElements:d,vueFlowRef:v}=oe.useVueFlow(o.id),A=e.ref({}),k=e.ref([]),T=e.ref(new Set),h=e.ref([]),{capture:C}=Zf();e.provide(Yn,e.computed(()=>o.execution)),e.provide(Ml,e.computed(()=>o.subflowsExecutions)),e.provide(Fl,r);const y=n;e.onMounted(()=>{E()}),e.watch(()=>o.flowGraph,()=>{E()}),e.watch(()=>o.isHorizontal,()=>{E()}),e.watch(r,()=>{E()});const E=()=>{b.cleanGraph(o.id),e.nextTick(()=>{y("loading",!0);const $=T.value;T.value=new Set,k.value=[],A.value={},$.forEach(F=>be(b.CLUSTER_PREFIX+F,!1,!1));const w=b.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,k.value,o.isHorizontal,A.value,T.value,h.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction,a.value,o.animated);w&&(d(w),g(),y("loading",!1))})},S=$=>{l.value||b.linkedElements(o.id,$.uid).forEach(w=>{w?.type==="task"&&(w.style={...w.style,opacity:"1",outline:"none"},X(w,Jo,!0))})},I=()=>{N()},N=()=>{s.value.filter($=>$.type==="task"||$.type==="trigger").forEach($=>{$.style={...$.style,opacity:"1",outline:"none"},ye($)})};u($=>{l.value=!0,N(),$.node.style={...$.node.style,zIndex:1976},i.value=$.node.position}),m($=>{if(l.value=!1,$.intersections&&Q($.intersections,$.node)===null){const w=$.node,F=$.intersections.find(x=>x.type==="task");if(F)try{o.source&&y("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:b.Utils.afterLastDot(w.id)??"",key2:b.Utils.afterLastDot(F.id)??""}),swappedTasks:[w.id,F.id]})}catch(x){y("message",{variant:"error",title:"cannot swap tasks",message:`${x.message}, ${x.messageOptions}`}),w.position=i.value}else w.position=i.value}else $.node.position=i.value;N(),$.node.style={...$.node.style,zIndex:5},i.value=null});const M=e.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter($=>$.cluster.type.endsWith("SubflowGraphCluster")).map($=>$.cluster.taskNode.uid+"."):[]);c($=>{N(),s.value.filter(w=>w.id!==$.node.id).forEach(w=>{w.type==="trigger"||w.type==="task"&&(w.id.startsWith($.node.id+".")||$.node.id.startsWith(w.id+"."))||M?.value?.some(F=>w.id.startsWith(F))?w.style={...w.style,opacity:"0.5"}:w.style={...w.style,opacity:"1"}}),$.intersections&&!Q($.intersections,$.node)&&$.intersections.filter(w=>w.type==="task").length===1&&($.intersections.forEach(w=>{w.type==="task"&&(w.style={...w.style,outline:"none"},X(w,gn,!0))}),$.node.style={...$.node.style,outline:"none"},X($.node,gn,!0))});const H=$=>typeof $=="string"?$.split(/\s+/).filter(Boolean):Array.isArray($)?$.flatMap(w=>H(w)):$&&typeof $=="object"?Object.entries($).filter(([,w])=>!!w).map(([w])=>w):[],X=($,w,F)=>{const x=new Set(H($.class));F?x.add(w):x.delete(w),$.class=Array.from(x).join(" ")},ye=$=>{X($,Jo,!1),X($,gn,!1)},Q=($,w)=>{const F=$.filter(x=>x.type==="task").map(x=>b.Utils.afterLastDot(x.id));if(F.length>1)return"toomuchtaskerror";try{if(F.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:b.Utils.afterLastDot(F[0])??"",key2:b.Utils.afterLastDot(w.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return $.filter(x=>x.type==="trigger").length>0?"triggererror":null},be=($,w,F=!1)=>{const x=o.flowGraph.clusters.find(pe=>pe.cluster.uid.endsWith($)),ge=$.replace(b.CLUSTER_PREFIX,"");T.value.add(ge),k.value=k.value.concat(x.nodes.filter(pe=>pe!==ge||F)),k.value=k.value.concat([x.cluster.uid]),A.value={...A.value,[x.cluster.uid]:ge,[x.start]:ge,[x.end]:ge};for(let pe of x.nodes)o.flowGraph.clusters.map(ft=>ft.cluster.uid).includes(pe)&&be(pe,!1,!0);w&&E()},Qe=$=>{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)){y("expand-subflow",[...o.expandedSubflows,$.id]);return}A.value={},k.value=[],h.value=[],T.value.delete($.id),T.value.forEach(F=>be(F,!1,!1)),E()},dt=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ze=e.ref(!0),Me=e.ref(!1),mt=()=>Me.value=!Me.value;function et($){if(!v.value){console.warn("Flow not found");return}ze.value=!1,C(v.value,{type:$,shouldDownload:!0}).then(()=>ze.value=!0).finally(()=>Me.value=!1)}return($,w)=>(e.openBlock(),e.createBlock(e.unref(oe.VueFlow),{id:t.id,"default-marker-color":e.unref(Ie)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":e.withCtx(F=>[e.createVNode(fu,e.mergeProps(F,{onCollapse:w[0]||(w[0]=x=>be(x,!0))}),null,16)]),"node-dot":e.withCtx(F=>[e.createVNode(Nu,e.normalizeProps(e.guardReactiveProps(F)),null,16)]),"node-task":e.withCtx(F=>[e.createVNode(ym,e.mergeProps(F,{icons:t.icons,"icon-component":t.iconComponent,"playground-enabled":t.playgroundEnabled,"playground-ready-to-start":t.playgroundReadyToStart,"custom-actions":t.customActions,"show-details":t.showDetails,onEdit:w[1]||(w[1]=x=>y(e.unref(b.EVENTS).EDIT,x)),onDelete:w[2]||(w[2]=x=>y(e.unref(b.EVENTS).DELETE,x)),onRunTask:w[3]||(w[3]=x=>y(e.unref(b.EVENTS).RUN_TASK,x)),onExpand:w[4]||(w[4]=x=>Qe(x)),onOpenLink:w[5]||(w[5]=x=>y(e.unref(b.EVENTS).OPEN_LINK,x)),onShowLogs:w[6]||(w[6]=x=>y(e.unref(b.EVENTS).SHOW_LOGS,x)),onShowDescription:w[7]||(w[7]=x=>y(e.unref(b.EVENTS).SHOW_DESCRIPTION,x)),onShowCondition:w[8]||(w[8]=x=>y(e.unref(b.EVENTS).SHOW_CONDITION,x)),onShowCustomAction:w[9]||(w[9]=x=>y(e.unref(b.EVENTS).SHOW_CUSTOM_ACTION,x)),onShowDetails:w[10]||(w[10]=x=>y(e.unref(b.EVENTS).SHOW_DETAILS,x)),onMouseover:w[11]||(w[11]=x=>S(x)),onMouseleave:w[12]||(w[12]=x=>I()),onAddError:w[13]||(w[13]=x=>y("on-add-flowable-error",x)),"enable-subflow-interaction":t.enableSubflowInteraction}),{details:e.withCtx(()=>[e.renderSlot($.$slots,"taskDetails",e.normalizeProps(e.guardReactiveProps(F)),void 0,!0)]),_:2},1040,["icons","icon-component","playground-enabled","playground-ready-to-start","custom-actions","show-details","enable-subflow-interaction"])]),"node-custom":e.withCtx(F=>[e.createVNode(Kn,e.mergeProps(F,{icons:t.icons,"icon-component":t.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":e.withCtx(F=>[e.createVNode(Cm,e.mergeProps(F,{icons:t.icons,"icon-component":t.iconComponent,"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit,onDelete:w[14]||(w[14]=x=>y(e.unref(b.EVENTS).DELETE,x)),onEdit:w[15]||(w[15]=x=>y(e.unref(b.EVENTS).EDIT,x)),onShowDescription:w[16]||(w[16]=x=>y(e.unref(b.EVENTS).SHOW_DESCRIPTION,x))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":e.withCtx(F=>[e.createVNode(Dm,e.mergeProps(F,{onExpand:w[17]||(w[17]=x=>Qe(x))}),null,16)]),"edge-edge":e.withCtx(F=>[e.createVNode(Ou,e.mergeProps(F,{"yaml-source":t.source,onAddTask:w[18]||(w[18]=x=>y(e.unref(b.EVENTS).ADD_TASK,x)),"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:e.withCtx(()=>[e.createVNode(e.unref(nu),{"pattern-color":dt?e.unref(Ie)("--bs-grey-500"):e.unref(Ie)("--bs-grey-300")},null,8,["pattern-color"]),ze.value?(e.openBlock(),e.createBlock(e.unref(Et.Controls),{key:0,"show-interactive":!1,"show-fit-view":!1},{default:e.withCtx(()=>[e.createVNode(e.unref(Et.ControlButton),{onClick:w[19]||(w[19]=F=>r.value=!r.value),class:e.normalizeClass({active:r.value})},{default:e.withCtx(()=>[e.createVNode(nf)]),_:1},8,["class"]),e.createVNode(e.unref(Et.ControlButton),{onClick:w[20]||(w[20]=F=>e.unref(g)())},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",Jf,[...w[24]||(w[24]=[e.createElementVNode("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z",fill:"currentColor"},null,-1)])]))]),_:1}),t.toggleOrientationButton?(e.openBlock(),e.createBlock(e.unref(Et.ControlButton),{key:0,onClick:w[21]||(w[21]=F=>y("toggle-orientation",F))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.isHorizontal?Hm:Rm)))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(Et.ControlButton),{onClick:mt},{default:e.withCtx(()=>[e.createVNode(qm)]),_:1}),Me.value?(e.openBlock(),e.createElementBlock("ul",Qf,[e.createElementVNode("li",{onClick:w[22]||(w[22]=F=>et("jpeg")),class:"item"}," Export as .JPEG "),e.createElementVNode("li",{onClick:w[23]||(w[23]=F=>et("png")),class:"item"}," Export as .PNG ")])):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0)]),_:3},8,["id","default-marker-color"]))}}),tp=D(ep,[["__scopeId","data-v-63950099"]]),np={class:"text"},op=e.defineComponent({__name:"Status",props:{status:{},title:{default:void 0},icon:{type:Boolean,default:!1},size:{default:"default"}},setup(t){const n=t,o=e.computed(()=>n.icon?ne.icon()[n.status?.toUpperCase()]:void 0),l=e.computed(()=>n.title??n.status),r=e.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(a,i)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:e.normalizeClass(r.value)},[t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{key:0,class:"icon"})):e.createCommentVNode("",!0),e.createElementVNode("span",np,e.toDisplayString(l.value),1)],2))}}),lp=D(op,[["__scopeId","data-v-ce6b0e30"]]),rp={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ap=["aria-hidden","aria-label"],ip=["fill","width","height"],sp={d:"M10,17L15,12L10,7V17Z"},cp={key:0};function up(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",sp,[o.title?(e.openBlock(),e.createElementBlock("title",cp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ip))],16,ap)}const dp=D(rp,[["render",up]]),mp={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fp=["aria-hidden","aria-label"],pp=["fill","width","height"],gp={d:"M7,10L12,15L17,10H7Z"},hp={key:0};function Ep(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",gp,[o.title?(e.openBlock(),e.createElementBlock("title",hp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,pp))],16,fp)}const kp=D(mp,[["render",Ep]]);function Jl(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Ql(t){return typeof t=="function"?t():e.unref(t)}const yp=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const vp=Object.prototype.toString,Cp=t=>vp.call(t)==="[object Object]",Np=()=>{};function _p(t){return Object.entries(t)}function Sp(t){return e.getCurrentInstance()}function bp(t,n=!0,o){Sp()?e.onMounted(t,o):n?t():e.nextTick(t)}function qe(t){var n;const o=Ql(t);return(n=o?.$el)!=null?n:o}const tn=yp?window:void 0;function Qo(...t){let n,o,l,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,l,r]=t,n=tn):[n,o,l,r]=t,!n)return Np;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(m=>m()),a.length=0},s=(m,g,d,v)=>(m.addEventListener(g,d,v),()=>m.removeEventListener(g,d,v)),c=e.watch(()=>[qe(n),Ql(r)],([m,g])=>{if(i(),!m)return;const d=Cp(g)?{...g}:g;a.push(...o.flatMap(v=>l.map(A=>s(m,v,A,d))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Jl(u),u}function wp(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function Lp(t){const n=wp();return e.computed(()=>(n.value,!!t()))}const el=["hash","host","hostname","href","pathname","port","protocol","search"];function er(t={}){const{window:n=tn}=t,o=Object.fromEntries(el.map(a=>[a,e.ref()]));for(const[a,i]of _p(o))e.watch(i,s=>{!n?.location||n.location[a]===s||(n.location[a]=s)});const l=a=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const m of el)o[m].value=(i=n?.location)==null?void 0:i[m];return e.reactive({trigger:a,state:s,length:c,origin:u,...o})},r=e.ref(l("load"));return n&&(Qo(n,"popstate",()=>r.value=l("popstate"),{passive:!0}),Qo(n,"hashchange",()=>r.value=l("hashchange"),{passive:!0})),r}function Tp(t,n,o={}){const{window:l=tn,...r}=o;let a;const i=Lp(()=>l&&"ResizeObserver"in l),s=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>Array.isArray(t)?t.map(g=>qe(g)):[qe(t)]),u=e.watch(c,g=>{if(s(),i.value&&l){a=new ResizeObserver(n);for(const d of g)d&&a.observe(d,r)}},{immediate:!0,flush:"post"}),m=()=>{s(),u()};return Jl(m),{isSupported:i,stop:m}}function tl(t,n={width:0,height:0},o={}){const{window:l=tn,box:r="content-box"}=o,a=e.computed(()=>{var g,d;return(d=(g=qe(t))==null?void 0:g.namespaceURI)==null?void 0:d.includes("svg")}),i=e.ref(n.width),s=e.ref(n.height),{stop:c}=Tp(t,([g])=>{const d=r==="border-box"?g.borderBoxSize:r==="content-box"?g.contentBoxSize:g.devicePixelContentBoxSize;if(l&&a.value){const v=qe(t);if(v){const A=v.getBoundingClientRect();i.value=A.width,s.value=A.height}}else if(d){const v=Array.isArray(d)?d:[d];i.value=v.reduce((A,{inlineSize:k})=>A+k,0),s.value=v.reduce((A,{blockSize:k})=>A+k,0)}else i.value=g.contentRect.width,s.value=g.contentRect.height},o);bp(()=>{const g=qe(t);g&&(i.value="offsetWidth"in g?g.offsetWidth:n.width,s.value="offsetHeight"in g?g.offsetHeight:n.height)});const u=e.watch(()=>qe(t),g=>{i.value=g?n.width:0,s.value=g?n.height:0});function m(){c(),u()}return{width:i,height:s,stop:m}}const Bp=["id","open"],Vp={class:"d-flex gap-2 align-items-center"},Ip={key:0,class:"d-flex flex-grow-1"},Ap=["id"],$p=e.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(t,{emit:n}){const o=t,l=e.ref(!0),r=er(),a=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),u.stopPropagation(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),!o.noUrlChange&&(l.value?history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value)},c=e.ref(!1);return e.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),e.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,m)=>(e.openBlock(),e.createElementBlock("details",{id:t.href,open:c.value},[e.createElementVNode("summary",{class:e.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[e.createElementVNode("span",Vp,[t.arrow?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?dp:kp),{key:0,class:"arrow"})):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.clickableText)+" ",1),e.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(e.openBlock(),e.createElementBlock("span",Ip,[e.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:t.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Ap)):e.createCommentVNode("",!0)],8,Bp))}}),_t=D($p,[["__scopeId","data-v-6b6ffd9a"]]),Dp={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Op=["aria-hidden","aria-label"],xp=["fill","width","height"],Pp={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},Rp={key:0};function Mp(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Pp,[o.title?(e.openBlock(),e.createElementBlock("title",Rp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xp))],16,Op)}const Qn=D(Dp,[["render",Mp]]),Fp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Up=["aria-hidden","aria-label"],Hp=["fill","width","height"],zp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Wp={key:0};function jp(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",zp,[o.title?(e.openBlock(),e.createElementBlock("title",Wp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Hp))],16,Up)}const eo=D(Fp,[["render",jp]]),Gp=["id","open"],Kp={key:0,class:"chevron"},Yp=["id"],qp=e.defineComponent({__name:"CollapsibleV2",props:{href:{default:Math.random().toString(36).substring(2,5)},title:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(t,{emit:n}){const o=t,l=e.ref(!0),r=er(),a=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{if(u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),o.noUrlChange)return;const m=window.location.pathname+window.location.search+(l.value?"":i.value);try{window.history.pushState(null,"",m)}catch{try{l.value?window.history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value}catch{}}},c=e.ref(!1);return e.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),e.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,m)=>(e.openBlock(),e.createElementBlock("details",{id:t.href,open:c.value},[e.createElementVNode("summary",{class:e.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(t.title)+" ",1),e.renderSlot(u.$slots,"additional",{},void 0,!0)]),e.renderSlot(u.$slots,"right",{},void 0,!0),t.arrow?(e.openBlock(),e.createElementBlock("span",Kp,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?Qn:eo)))])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:t.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Yp)):e.createCommentVNode("",!0)],8,Gp))}}),St=D(qp,[["__scopeId","data-v-23ac75a7"]]),Xp=["href"],Zp={class:"top-row"},Jp={class:"icon-content"},Qp=["src","alt"],eg={class:"text-content"},tg={key:0,class:"description"},ng={class:"footer"},og={class:"bottom-row"},lg={class:"left"},rg={key:0},ag={key:1},ig=e.defineComponent({__name:"SubgroupCard",props:{iconSrc:{default:void 0},text:{},routePath:{},totalCount:{default:0},description:{default:""},href:{default:void 0},isActive:{type:Boolean,default:!1},blueprintsCount:{default:0}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=n,r=e.computed(()=>o.href===void 0?`${o.routePath}/${Ne(o.text)}`:o.href);return(a,i)=>(e.openBlock(),e.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",r.value),["prevent"]))},[e.createElementVNode("div",{class:e.normalizeClass(["plugin",{"is-active":t.isActive}])},[e.createElementVNode("div",Zp,[e.createElementVNode("div",Jp,[t.iconSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.iconSrc,alt:`${t.text} icon`},null,8,Qp)):e.createCommentVNode("",!0)]),e.createElementVNode("div",eg,[e.createElementVNode("h6",null,e.toDisplayString(t.text),1),t.description?(e.openBlock(),e.createElementBlock("p",tg,e.toDisplayString(t.description),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ng,[i[3]||(i[3]=e.createElementVNode("hr",null,null,-1)),e.createElementVNode("div",og,[e.createElementVNode("div",lg,[o.totalCount?(e.openBlock(),e.createElementBlock("p",rg,[e.createTextVNode(e.toDisplayString(o.totalCount??0)+" ",1),i[1]||(i[1]=e.createElementVNode("span",null,"Tasks",-1))])):e.createCommentVNode("",!0),o.blueprintsCount?(e.openBlock(),e.createElementBlock("p",ag,[e.createTextVNode(e.toDisplayString(o.blueprintsCount??0)+" ",1),i[2]||(i[2]=e.createElementVNode("span",null,"Blueprints",-1))])):e.createCommentVNode("",!0)]),e.createVNode(Qn)])])],2)],8,Xp))}}),tr=D(ig,[["__scopeId","data-v-4c31d96c"]]),sg=["href"],cg={class:"element-card"},ug={class:"top-row"},dg={class:"text-capitalize"},mg={key:0},fg={class:"plugin-info"},pg={class:"plugin-class"},gg=e.defineComponent({__name:"ElementCard",props:{text:{},routePath:{},pluginClass:{},href:{},title:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=n,r=e.computed(()=>o.href===void 0?`${o.routePath}/${Ne(o.text)}`:o.href);return(a,i)=>(e.openBlock(),e.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",r.value),["prevent"]))},[e.createElementVNode("div",cg,[e.createElementVNode("div",ug,[e.createElementVNode("h6",dg,e.toDisplayString(t.text),1),e.createVNode(Qn)]),t.title?(e.openBlock(),e.createElementBlock("div",mg,[e.renderSlot(a.$slots,"markdown",{content:t.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",fg,[e.createElementVNode("code",pg,e.toDisplayString(t.pluginClass),1)])])],8,sg))}}),nr=D(gg,[["__scopeId","data-v-ec3e36ad"]]),hg={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Eg=["aria-hidden","aria-label"],kg=["fill","width","height"],yg={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"},vg={key:0};function Cg(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",yg,[o.title?(e.openBlock(),e.createElementBlock("title",vg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,kg))],16,Eg)}const Ng=D(hg,[["render",Cg]]),_g={key:0,class:"language"},Sg=["innerHTML"],bg=e.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(t){const n={ContentCopy:e.shallowRef(Ng),Check:e.shallowRef(Ul)},o=t,l=e.ref(!1),r=e.ref(),a=e.shallowRef(n.ContentCopy.value),i=e.ref(),s=e.ref(),c=e.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,r.value&&e.nextTick(()=>{i.value&&s.value&&Fr.createPopper(i.value,s.value,{placement:"left"})})}function m(){clearTimeout(r.value),navigator.clipboard.writeText(o.code.trimEnd()),a.value=n.Check.value,r.value=setTimeout(()=>{a.value=n.ContentCopy.value,r.value=void 0},2e3)}return(g,d)=>(e.openBlock(),e.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:d[0]||(d[0]=v=>l.value=!1)},[t.language&&!l.value?(e.openBlock(),e.createElementBlock("div",_g,e.toDisplayString(t.language),1)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("button",{ref_key:"copyButton",ref:i,class:"copy"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value),{onClick:m}))],512),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...d[1]||(d[1]=[e.createTextVNode(" Copied! ",-1),e.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)])],512)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:c.value},null,8,Sg)],32))}}),rt=D(bg,[["__scopeId","data-v-a899f6a1"]]);function Ot(t){if(t.type)return Array.isArray(t.type)?t.type:[t.type];if(t.$ref){const o=t.$ref.split("/");return["#"+o[o.length-1]]}}function or(t){const n=t.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function to(t){if(t.enum)return t.enum;if(t.items?.enum)return t.items.enum;if(t.additionalProperties?.enum)return t.additionalProperties.enum}function lr(t){return t.allOf&&(t=t.allOf.reduce((n,o)=>({...n,...o}),{...t}),delete t.allOf),t}function ct(t){const n={},o=r=>{const a=Ot(r);if(a&&a.length>0)return a;if(r.anyOf)return r.anyOf.flatMap(Ot).filter(i=>i!==void 0).filter(b.Utils.distinctFilter)},l=o(t);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&t.items){const r=o(t.items);r&&t.items.anyOf&&(n.types=n.types.filter(a=>a!=="array").concat(r))}return t.additionalProperties?n.subType=Ot(t.additionalProperties)?.[0]:t.items&&(n.subType=Ot(t.items)?.[0]),n}function no(t){return t?.$deprecated===!0||t?.$deprecated==="true"}function rr(t,n,o=new Set){if(!n)return[];const l=ct(t),r=[];if(l.types.forEach(a=>{if(a.startsWith("#")){const i=a.slice(1);n[i]&&!o.has(i)&&!r.includes(i)&&r.push(i)}}),l.subType?.startsWith("#")){const a=l.subType.slice(1);n[a]&&!o.has(a)&&!r.includes(a)&&r.push(a)}return r.filter(a=>!no(n[a])).map(a=>{const i=n[a],s=i?.properties?{...i.properties}:{},c=i?.$examples||s.$examples;return{key:a,title:i?.title??a.split("_")[0],description:i?.description,properties:s,$examples:c}})}function ar(t){return t.$dynamic===!0?!0:t.$dynamic===!1?!1:t.anyOf?.some(n=>n.$dynamic===!0)??!1}const wg={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Lg=["aria-hidden","aria-label"],Tg=["fill","width","height"],Bg={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"},Vg={key:0};function Ig(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Bg,[o.title?(e.openBlock(),e.createElementBlock("title",Vg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Tg))],16,Lg)}const Ag=D(wg,[["render",Ig]]),$g={class:"me-3"},Dg={class:"d-flex flex-column"},Og=e.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(t){const n=t,o=e.computed(()=>{switch(n.type){case"success":return Ag;case"info":return Mt;case"warning":return Qt;case"danger":return kn;default:return Mt}});return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass("doc-alert alert alert-"+t.type),role:"alert"},[e.createElementVNode("div",$g,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),e.createElementVNode("div",Dg,[e.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),ir=D(Og,[["__scopeId","data-v-f7fd8bc1"]]),xg={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Pg=["aria-hidden","aria-label"],Rg=["fill","width","height"],Mg={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"},Fg={key:0};function Ug(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Mg,[o.title?(e.openBlock(),e.createElementBlock("title",Fg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Rg))],16,Pg)}const sr=D(xg,[["render",Ug]]),Hg={class:"property-detail"},zg={key:0},Wg=["href"],jg={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},Gg={class:"ref-type"},Kg={key:1,class:"type-box rounded fs-7 px-2 py-1"},Yg={key:1},qg={class:"border rounded px-2 py-1"},Xg={key:2},Zg={class:"border rounded px-2 py-1"},Jg={key:3},Qg={class:"border rounded px-2 py-1"},e1={key:4},t1={class:"border rounded px-2 py-1"},n1={key:5},o1={class:"border rounded px-2 py-1"},l1={key:6},r1={class:"border rounded px-2 py-1"},a1={key:7},i1={class:"border rounded px-2 py-1"},s1={key:8},c1={class:"border rounded px-2 py-1"},u1={key:9},d1={class:"border rounded px-2 py-1"},m1={key:10},f1={class:"border rounded px-2 py-1"},p1={key:11},g1={class:"border rounded px-2 py-1"},h1={key:12},E1={class:"border rounded px-2 py-1"},k1={key:13},y1={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},v1={key:14},C1={class:"property-description markdown"},N1={key:2},_1=e.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(t){const n=t,o=e.ref(ct(n.property).subType),l=e.ref(to(n.property)),r=b.sanitizeForMarkdown;return(a,i)=>(e.openBlock(),e.createElementBlock("div",Hg,[o.value?(e.openBlock(),e.createElementBlock("div",zg,[i[1]||(i[1]=e.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.value,onClick:i[0]||(i[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("button",jg,[e.createElementVNode("span",Gg,e.toDisplayString(e.unref(or)(o.value)),1),e.createVNode(sr)])],8,Wg)):(e.openBlock(),e.createElementBlock("span",Kg,e.toDisplayString(o.value),1))])):e.createCommentVNode("",!0),t.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",Yg,[i[2]||(i[2]=e.createElementVNode("span",null," Default ",-1)),e.createElementVNode("code",qg,e.toDisplayString(t.property.default),1)])):e.createCommentVNode("",!0),t.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Xg,[i[3]||(i[3]=e.createElementVNode("span",null," Validation RegExp ",-1)),e.createElementVNode("code",Zg,e.toDisplayString(t.property.pattern),1)])):e.createCommentVNode("",!0),t.property.unit!==void 0&&t.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",Jg,[i[4]||(i[4]=e.createElementVNode("span",null," Unit ",-1)),e.createElementVNode("code",Qg,e.toDisplayString(t.property.unit),1)])):e.createCommentVNode("",!0),t.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",e1,[i[5]||(i[5]=e.createElementVNode("span",null," Min length ",-1)),e.createElementVNode("code",t1,e.toDisplayString(t.property.minLength),1)])):e.createCommentVNode("",!0),t.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",n1,[i[6]||(i[6]=e.createElementVNode("span",null," Max length ",-1)),e.createElementVNode("code",o1,e.toDisplayString(t.property.maxLength),1)])):e.createCommentVNode("",!0),t.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",l1,[i[7]||(i[7]=e.createElementVNode("span",null," Min items ",-1)),e.createElementVNode("code",r1,e.toDisplayString(t.property.minItems),1)])):e.createCommentVNode("",!0),t.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",a1,[i[8]||(i[8]=e.createElementVNode("span",null," Max items ",-1)),e.createElementVNode("code",i1,e.toDisplayString(t.property.maxItems),1)])):e.createCommentVNode("",!0),t.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",s1,[i[9]||(i[9]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",c1," >= "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",u1,[i[10]||(i[10]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",d1," > "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",m1,[i[11]||(i[11]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",f1," <= "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",p1,[i[12]||(i[12]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",g1," < "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",h1,[i[13]||(i[13]=e.createElementVNode("span",null," Format ",-1)),e.createElementVNode("code",E1,e.toDisplayString(t.property.format),1)])):e.createCommentVNode("",!0),l.value!==void 0?(e.openBlock(),e.createElementBlock("div",k1,[i[14]||(i[14]=e.createElementVNode("span",null," Possible Values ",-1)),e.createElementVNode("div",y1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(s,c)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},e.toDisplayString(s),1))),128))])])):e.createCommentVNode("",!0),t.property.title!==void 0||t.property.description!==void 0?(e.openBlock(),e.createElementBlock("div",v1,[e.createElementVNode("div",C1,[t.property.title!==void 0?e.renderSlot(a.$slots,"markdown",{key:0,content:e.unref(r)(t.property.title)},void 0,!0):e.createCommentVNode("",!0),t.property.description!==void 0?e.renderSlot(a.$slots,"markdown",{key:1,content:e.unref(r)(t.property.description)},void 0,!0):e.createCommentVNode("",!0),t.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",N1,[e.createVNode(ir,{type:"info"},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),S1=D(_1,[["__scopeId","data-v-e4c1ea43"]]),b1={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},w1=["aria-hidden","aria-label"],L1=["fill","width","height"],T1={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},B1={key:0};function V1(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",T1,[o.title?(e.openBlock(),e.createElementBlock("title",B1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,L1))],16,w1)}const cr=D(b1,[["render",V1]]),I1={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},A1=["aria-hidden","aria-label"],$1=["fill","width","height"],D1={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"},O1={key:0};function x1(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",D1,[o.title?(e.openBlock(),e.createElementBlock("title",O1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,$1))],16,A1)}const ur=D(I1,[["render",x1]]),P1={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},R1=["aria-hidden","aria-label"],M1=["fill","width","height"],F1={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"},U1={key:0};function H1(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",F1,[o.title?(e.openBlock(),e.createElementBlock("title",U1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,M1))],16,R1)}const dr=D(P1,[["render",H1]]),z1={key:0,class:"d-flex flex-column gap-3 mb-3 mt-2"},W1={key:0,class:"markdown"},j1={key:1,class:"examples-container"},G1={class:"border overflow-hidden"},K1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},Y1={class:"d-flex gap-2"},q1={class:"d-flex flex-wrap justify-content-end gap-2"},X1=["href"],Z1={class:"ref-type"},J1={key:1,class:"type-box rounded fs-7 px-2 py-1"},Q1=e.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},definitions:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]},noUrlChange:{type:Boolean,default:!1},description:{default:void 0},examples:{default:void 0}},emits:["expand"],setup(t,{emit:n}){const o=t,l=n,r=e.ref(!1);e.watch(r,s=>{s&&l("expand")});const a=s=>s.filter(c=>!c.startsWith("#")||!no(o.definitions?.[c.slice(1)]));function i(s){s=s??{};const c=[],u=[];for(const d in s)typeof s[d]=="object"&&(s[d]=lr(s[d]),s[d].$required?c.push(d):u.push(d));const m=[...c.sort(),...u.sort()],g={};return m.forEach(d=>{(!s[d].$deprecated||o.forceInclude?.includes(d))&&(g[d]=s[d])}),g}return(s,c)=>(e.openBlock(),e.createBlock(_t,{class:"section-collapsible","clickable-text":t.sectionName,href:t.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":t.initiallyExpanded||r.value,"no-url-change":t.noUrlChange},e.createSlots({_:2},[Object.keys(t.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[t.description||t.examples&&t.examples.length>0?(e.openBlock(),e.createElementBlock("div",z1,[t.description?(e.openBlock(),e.createElementBlock("div",W1,[e.renderSlot(s.$slots,"markdown",{content:t.description},void 0,!0)])):e.createCommentVNode("",!0),t.examples&&t.examples.length>0?(e.openBlock(),e.createElementBlock("div",j1,[c[3]||(c[3]=e.createElementVNode("h6",{class:"fw-bold mb-2"}," Examples ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.examples,(u,m)=>(e.openBlock(),e.createElementBlock("div",{key:m,class:"mb-2"},[e.renderSlot(s.$slots,"example",{example:u},void 0,!0)]))),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",G1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(t.properties),(u,m)=>(e.openBlock(),e.createBlock(_t,{class:"property",key:m,arrow:!1,"clickable-text":m,href:t.href+"_"+m,onExpand:c[1]||(c[1]=g=>r.value=!0),"no-url-change":t.noUrlChange},{additionalButtonText:e.withCtx(()=>[u.$required?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Required"},{default:e.withCtx(()=>[...c[4]||(c[4]=[e.createElementVNode("span",{class:"text-danger"}," *",-1)])]),_:1})):e.createCommentVNode("",!0)]),buttonRight:e.withCtx(({collapsed:g})=>[e.createElementVNode("span",K1,[e.createElementVNode("span",Y1,[t.showDynamic&&!e.unref(ar)(u)?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(ur,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),u.$beta?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(dr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),u.$deprecated?(e.openBlock(),e.createBlock(j,{key:2,class:"d-flex",title:"Deprecated"},{default:e.withCtx(()=>[e.createVNode(Qt,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("span",q1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a(e.unref(ct)(u).types),d=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d},[d.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:d,onClick:c[0]||(c[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("span",Z1,e.toDisplayString(e.unref(or)(d)),1),e.createVNode(sr)],8,X1)):(e.openBlock(),e.createElementBlock("span",J1,e.toDisplayString(d),1))],64))),128)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(g?eo:cr),{class:"arrow"}))])])]),content:e.withCtx(()=>[e.createVNode(S1,{property:u},{markdown:e.withCtx(({content:g})=>[e.renderSlot(s.$slots,"markdown",{content:g},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"]))}}),xt=D(Q1,[["__scopeId","data-v-b4f5f7ad"]]),eh={class:"d-flex flex-column gap-6"},th={class:"d-flex flex-column gap-3"},nh={key:0,class:"alert alert-info mb-2",role:"alert"},oh={key:1,class:"plugin-title markdown"},lh={key:2,class:"markdown"},rh={class:"d-flex flex-column gap-4"},ah={class:"d-flex flex-column gap-3"},ih={class:"markdown"},sh={key:0,class:"w-100 align-self-center"},ch={class:"markdown"},uh={class:"markdown"},dh={class:"markdown"},mh={class:"d-flex flex-column gap-7 ps-3"},fh={class:"markdown"},ph={class:"d-flex flex-column gap-2"},gh={key:0,class:"markdown"},hh=e.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(t){let n,o;const l=t,r=e.ref(!1),a=e.ref(new Set),i=e.ref(0),s=e.computed(()=>Object.entries(l.schema.definitions??{}).filter(([,k])=>!no(k))),c=async()=>{const k=window.location.hash.slice(1);if(!k||!l.schema.definitions){a.value.clear();return}const T=k.replace(/-body$/,""),h=Object.keys(l.schema.definitions).find(C=>T===C||T.startsWith(C+"_"));if(h){r.value=!0,i.value+=1,a.value.clear(),a.value.add(h),await e.nextTick();let C=0;const y=30,E=()=>{const S=document.getElementById(T);S?S.scrollIntoView({behavior:"smooth",block:"start"}):C<y&&(C++,requestAnimationFrame(E))};requestAnimationFrame(E)}else a.value.clear()};e.watch([()=>l.schema,()=>l.pluginType],([k,T],[h,C])=>{(k!==h||T!==C)&&l.schema.definitions&&c()});const u=k=>k?.full?k.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
15
+ `),{element:v,original:A}});try{const d=c.type==="jpeg"?await r(s,c):await a(s,c);return c.shouldDownload&&u&&i(u),d}finally{g.forEach(({element:d,original:v})=>v?d.setAttribute("style",v):d.removeAttribute("style")),s.classList.remove("is-exporting")}}function r(s,c={quality:.95}){return o.value=null,Xf(s,c).then(u=>(t.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function a(s,c={quality:.95}){return o.value=null,qf(s,c).then(u=>(t.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=t.value,c.click()}return{capture:l,download:i,dataUrl:t,error:o}}const Jf={viewBox:"0 0 32 32",style:{width:"12px",height:"12px"}},Qf={key:1,class:"exporting"},Jo="topology-node-hovered",gn="topology-node-drop-target",ep=e.defineComponent({__name:"Topology",props:{id:{},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{},flowId:{default:void 0},namespace:{default:void 0},expandedSubflows:{default:()=>[]},icons:{default:()=>({})},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{default:void 0},subflowsExecutions:{default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1},getNodeDimensions:{type:Function,default:void 0},customActions:{default:()=>({})},showDetails:{default:()=>({})},animated:{type:Boolean,default:!0}},emits:[b.EVENTS.EDIT,b.EVENTS.DELETE,b.EVENTS.RUN_TASK,b.EVENTS.OPEN_LINK,b.EVENTS.SHOW_LOGS,b.EVENTS.SHOW_DESCRIPTION,b.EVENTS.RUN_TASK,"on-add-flowable-error",b.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",b.EVENTS.SHOW_CONDITION,b.EVENTS.SHOW_CUSTOM_ACTION,b.EVENTS.SHOW_DETAILS],setup(t,{emit:n}){const o=t,l=e.ref(!1),r=e.ref(!1),a=e.computed(()=>($,w,F)=>{const x=F($),ge=o.getNodeDimensions?o.getNodeDimensions($,w,F):{width:w($),height:x};if(!r.value&&b.isTaskNode($))return{...ge,height:x};if(r.value&&b.isTaskNode($)){const pe=$?.task?.type;if(!!(pe&&o.customActions?.[pe]||pe&&o.showDetails?.[pe]))return{...ge,height:Math.max(ge.height,b.NODE_SIZES.TASK_EXPANDED_FALLBACK_HEIGHT)}}return ge}),i=e.ref(),{getNodes:s,onNodeDrag:c,onNodeDragStart:u,onNodeDragStop:m,fitView:g,setElements:d,vueFlowRef:v}=oe.useVueFlow(o.id),A=e.ref({}),k=e.ref([]),T=e.ref(new Set),h=e.ref([]),{capture:C}=Zf();e.provide(Yn,e.computed(()=>o.execution)),e.provide(Ml,e.computed(()=>o.subflowsExecutions)),e.provide(Fl,r);const y=n;e.onMounted(()=>{E()}),e.watch(()=>o.flowGraph,()=>{E()}),e.watch(()=>o.isHorizontal,()=>{E()}),e.watch(r,()=>{E()});const E=()=>{b.cleanGraph(o.id),e.nextTick(()=>{y("loading",!0);const $=T.value;T.value=new Set,k.value=[],A.value={},$.forEach(F=>be(b.CLUSTER_PREFIX+F,!1,!1));const w=b.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,k.value,o.isHorizontal,A.value,T.value,h.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction,a.value,o.animated);w&&(d(w),g(),y("loading",!1))})},S=$=>{l.value||b.linkedElements(o.id,$.uid).forEach(w=>{w?.type==="task"&&(w.style={...w.style,opacity:"1",outline:"none"},X(w,Jo,!0))})},I=()=>{N()},N=()=>{s.value.filter($=>$.type==="task"||$.type==="trigger").forEach($=>{$.style={...$.style,opacity:"1",outline:"none"},ye($)})};u($=>{l.value=!0,N(),$.node.style={...$.node.style,zIndex:1976},i.value=$.node.position}),m($=>{if(l.value=!1,$.intersections&&Q($.intersections,$.node)===null){const w=$.node,F=$.intersections.find(x=>x.type==="task");if(F)try{o.source&&y("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:b.Utils.afterLastDot(w.id)??"",key2:b.Utils.afterLastDot(F.id)??""}),swappedTasks:[w.id,F.id]})}catch(x){y("message",{variant:"error",title:"cannot swap tasks",message:`${x.message}, ${x.messageOptions}`}),w.position=i.value}else w.position=i.value}else $.node.position=i.value;N(),$.node.style={...$.node.style,zIndex:5},i.value=null});const M=e.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter($=>$.cluster.type.endsWith("SubflowGraphCluster")).map($=>$.cluster.taskNode.uid+"."):[]);c($=>{N(),s.value.filter(w=>w.id!==$.node.id).forEach(w=>{w.type==="trigger"||w.type==="task"&&(w.id.startsWith($.node.id+".")||$.node.id.startsWith(w.id+"."))||M?.value?.some(F=>w.id.startsWith(F))?w.style={...w.style,opacity:"0.5"}:w.style={...w.style,opacity:"1"}}),$.intersections&&!Q($.intersections,$.node)&&$.intersections.filter(w=>w.type==="task").length===1&&($.intersections.forEach(w=>{w.type==="task"&&(w.style={...w.style,outline:"none"},X(w,gn,!0))}),$.node.style={...$.node.style,outline:"none"},X($.node,gn,!0))});const H=$=>typeof $=="string"?$.split(/\s+/).filter(Boolean):Array.isArray($)?$.flatMap(w=>H(w)):$&&typeof $=="object"?Object.entries($).filter(([,w])=>!!w).map(([w])=>w):[],X=($,w,F)=>{const x=new Set(H($.class));F?x.add(w):x.delete(w),$.class=Array.from(x).join(" ")},ye=$=>{X($,Jo,!1),X($,gn,!1)},Q=($,w)=>{const F=$.filter(x=>x.type==="task").map(x=>b.Utils.afterLastDot(x.id));if(F.length>1)return"toomuchtaskerror";try{if(F.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:b.Utils.afterLastDot(F[0])??"",key2:b.Utils.afterLastDot(w.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return $.filter(x=>x.type==="trigger").length>0?"triggererror":null},be=($,w,F=!1)=>{const x=o.flowGraph.clusters.find(pe=>pe.cluster.uid.endsWith($)),ge=$.replace(b.CLUSTER_PREFIX,"");T.value.add(ge),k.value=k.value.concat(x.nodes.filter(pe=>pe!==ge||F)),k.value=k.value.concat([x.cluster.uid]),A.value={...A.value,[x.cluster.uid]:ge,[x.start]:ge,[x.end]:ge};for(let pe of x.nodes)o.flowGraph.clusters.map(ft=>ft.cluster.uid).includes(pe)&&be(pe,!1,!0);w&&E()},Qe=$=>{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)){y("expand-subflow",[...o.expandedSubflows,$.id]);return}A.value={},k.value=[],h.value=[],T.value.delete($.id),T.value.forEach(F=>be(F,!1,!1)),E()},dt=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ze=e.ref(!0),Me=e.ref(!1),mt=()=>Me.value=!Me.value;function et($){if(!v.value){console.warn("Flow not found");return}ze.value=!1,C(v.value,{type:$,shouldDownload:!0}).then(()=>ze.value=!0).finally(()=>Me.value=!1)}return($,w)=>(e.openBlock(),e.createBlock(e.unref(oe.VueFlow),{id:t.id,"default-marker-color":e.unref(Ie)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":e.withCtx(F=>[e.createVNode(fu,e.mergeProps(F,{onCollapse:w[0]||(w[0]=x=>be(x,!0))}),null,16)]),"node-dot":e.withCtx(F=>[e.createVNode(Nu,e.normalizeProps(e.guardReactiveProps(F)),null,16)]),"node-task":e.withCtx(F=>[e.createVNode(ym,e.mergeProps(F,{icons:t.icons,"icon-component":t.iconComponent,"playground-enabled":t.playgroundEnabled,"playground-ready-to-start":t.playgroundReadyToStart,"custom-actions":t.customActions,"show-details":t.showDetails,onEdit:w[1]||(w[1]=x=>y(e.unref(b.EVENTS).EDIT,x)),onDelete:w[2]||(w[2]=x=>y(e.unref(b.EVENTS).DELETE,x)),onRunTask:w[3]||(w[3]=x=>y(e.unref(b.EVENTS).RUN_TASK,x)),onExpand:w[4]||(w[4]=x=>Qe(x)),onOpenLink:w[5]||(w[5]=x=>y(e.unref(b.EVENTS).OPEN_LINK,x)),onShowLogs:w[6]||(w[6]=x=>y(e.unref(b.EVENTS).SHOW_LOGS,x)),onShowDescription:w[7]||(w[7]=x=>y(e.unref(b.EVENTS).SHOW_DESCRIPTION,x)),onShowCondition:w[8]||(w[8]=x=>y(e.unref(b.EVENTS).SHOW_CONDITION,x)),onShowCustomAction:w[9]||(w[9]=x=>y(e.unref(b.EVENTS).SHOW_CUSTOM_ACTION,x)),onShowDetails:w[10]||(w[10]=x=>y(e.unref(b.EVENTS).SHOW_DETAILS,x)),onMouseover:w[11]||(w[11]=x=>S(x)),onMouseleave:w[12]||(w[12]=x=>I()),onAddError:w[13]||(w[13]=x=>y("on-add-flowable-error",x)),"enable-subflow-interaction":t.enableSubflowInteraction}),{details:e.withCtx(()=>[e.renderSlot($.$slots,"taskDetails",e.normalizeProps(e.guardReactiveProps(F)),void 0,!0)]),_:2},1040,["icons","icon-component","playground-enabled","playground-ready-to-start","custom-actions","show-details","enable-subflow-interaction"])]),"node-custom":e.withCtx(F=>[e.createVNode(Kn,e.mergeProps(F,{icons:t.icons,"icon-component":t.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":e.withCtx(F=>[e.createVNode(Cm,e.mergeProps(F,{icons:t.icons,"icon-component":t.iconComponent,"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit,onDelete:w[14]||(w[14]=x=>y(e.unref(b.EVENTS).DELETE,x)),onEdit:w[15]||(w[15]=x=>y(e.unref(b.EVENTS).EDIT,x)),onShowDescription:w[16]||(w[16]=x=>y(e.unref(b.EVENTS).SHOW_DESCRIPTION,x))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":e.withCtx(F=>[e.createVNode(Dm,e.mergeProps(F,{onExpand:w[17]||(w[17]=x=>Qe(x))}),null,16)]),"edge-edge":e.withCtx(F=>[e.createVNode(Ou,e.mergeProps(F,{"yaml-source":t.source,onAddTask:w[18]||(w[18]=x=>y(e.unref(b.EVENTS).ADD_TASK,x)),"is-read-only":t.isReadOnly,"is-allowed-edit":t.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:e.withCtx(()=>[e.createVNode(e.unref(nu),{"pattern-color":dt?e.unref(Ie)("--bs-grey-500"):e.unref(Ie)("--bs-grey-300")},null,8,["pattern-color"]),ze.value?(e.openBlock(),e.createBlock(e.unref(Et.Controls),{key:0,"show-interactive":!1,"show-fit-view":!1},{default:e.withCtx(()=>[e.createVNode(e.unref(Et.ControlButton),{onClick:w[19]||(w[19]=F=>r.value=!r.value),class:e.normalizeClass({active:r.value})},{default:e.withCtx(()=>[e.createVNode(nf)]),_:1},8,["class"]),e.createVNode(e.unref(Et.ControlButton),{onClick:w[20]||(w[20]=F=>e.unref(g)())},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock("svg",Jf,[...w[24]||(w[24]=[e.createElementVNode("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z",fill:"currentColor"},null,-1)])]))]),_:1}),t.toggleOrientationButton?(e.openBlock(),e.createBlock(e.unref(Et.ControlButton),{key:0,onClick:w[21]||(w[21]=F=>y("toggle-orientation",F))},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.isHorizontal?Hm:Rm)))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(Et.ControlButton),{onClick:mt},{default:e.withCtx(()=>[e.createVNode(qm)]),_:1}),Me.value?(e.openBlock(),e.createElementBlock("ul",Qf,[e.createElementVNode("li",{onClick:w[22]||(w[22]=F=>et("jpeg")),class:"item"}," Export as .JPEG "),e.createElementVNode("li",{onClick:w[23]||(w[23]=F=>et("png")),class:"item"}," Export as .PNG ")])):e.createCommentVNode("",!0)]),_:1})):e.createCommentVNode("",!0)]),_:3},8,["id","default-marker-color"]))}}),tp=D(ep,[["__scopeId","data-v-c45a89b3"]]),np={class:"text"},op=e.defineComponent({__name:"Status",props:{status:{},title:{default:void 0},icon:{type:Boolean,default:!1},size:{default:"default"}},setup(t){const n=t,o=e.computed(()=>n.icon?ne.icon()[n.status?.toUpperCase()]:void 0),l=e.computed(()=>n.title??n.status),r=e.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(a,i)=>(e.openBlock(),e.createElementBlock("button",{type:"button",class:e.normalizeClass(r.value)},[t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{key:0,class:"icon"})):e.createCommentVNode("",!0),e.createElementVNode("span",np,e.toDisplayString(l.value),1)],2))}}),lp=D(op,[["__scopeId","data-v-ce6b0e30"]]),rp={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ap=["aria-hidden","aria-label"],ip=["fill","width","height"],sp={d:"M10,17L15,12L10,7V17Z"},cp={key:0};function up(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",sp,[o.title?(e.openBlock(),e.createElementBlock("title",cp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ip))],16,ap)}const dp=D(rp,[["render",up]]),mp={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fp=["aria-hidden","aria-label"],pp=["fill","width","height"],gp={d:"M7,10L12,15L17,10H7Z"},hp={key:0};function Ep(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",gp,[o.title?(e.openBlock(),e.createElementBlock("title",hp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,pp))],16,fp)}const kp=D(mp,[["render",Ep]]);function Jl(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function Ql(t){return typeof t=="function"?t():e.unref(t)}const yp=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const vp=Object.prototype.toString,Cp=t=>vp.call(t)==="[object Object]",Np=()=>{};function _p(t){return Object.entries(t)}function Sp(t){return e.getCurrentInstance()}function bp(t,n=!0,o){Sp()?e.onMounted(t,o):n?t():e.nextTick(t)}function qe(t){var n;const o=Ql(t);return(n=o?.$el)!=null?n:o}const tn=yp?window:void 0;function Qo(...t){let n,o,l,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,l,r]=t,n=tn):[n,o,l,r]=t,!n)return Np;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(m=>m()),a.length=0},s=(m,g,d,v)=>(m.addEventListener(g,d,v),()=>m.removeEventListener(g,d,v)),c=e.watch(()=>[qe(n),Ql(r)],([m,g])=>{if(i(),!m)return;const d=Cp(g)?{...g}:g;a.push(...o.flatMap(v=>l.map(A=>s(m,v,A,d))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Jl(u),u}function wp(){const t=e.ref(!1),n=e.getCurrentInstance();return n&&e.onMounted(()=>{t.value=!0},n),t}function Lp(t){const n=wp();return e.computed(()=>(n.value,!!t()))}const el=["hash","host","hostname","href","pathname","port","protocol","search"];function er(t={}){const{window:n=tn}=t,o=Object.fromEntries(el.map(a=>[a,e.ref()]));for(const[a,i]of _p(o))e.watch(i,s=>{!n?.location||n.location[a]===s||(n.location[a]=s)});const l=a=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const m of el)o[m].value=(i=n?.location)==null?void 0:i[m];return e.reactive({trigger:a,state:s,length:c,origin:u,...o})},r=e.ref(l("load"));return n&&(Qo(n,"popstate",()=>r.value=l("popstate"),{passive:!0}),Qo(n,"hashchange",()=>r.value=l("hashchange"),{passive:!0})),r}function Tp(t,n,o={}){const{window:l=tn,...r}=o;let a;const i=Lp(()=>l&&"ResizeObserver"in l),s=()=>{a&&(a.disconnect(),a=void 0)},c=e.computed(()=>Array.isArray(t)?t.map(g=>qe(g)):[qe(t)]),u=e.watch(c,g=>{if(s(),i.value&&l){a=new ResizeObserver(n);for(const d of g)d&&a.observe(d,r)}},{immediate:!0,flush:"post"}),m=()=>{s(),u()};return Jl(m),{isSupported:i,stop:m}}function tl(t,n={width:0,height:0},o={}){const{window:l=tn,box:r="content-box"}=o,a=e.computed(()=>{var g,d;return(d=(g=qe(t))==null?void 0:g.namespaceURI)==null?void 0:d.includes("svg")}),i=e.ref(n.width),s=e.ref(n.height),{stop:c}=Tp(t,([g])=>{const d=r==="border-box"?g.borderBoxSize:r==="content-box"?g.contentBoxSize:g.devicePixelContentBoxSize;if(l&&a.value){const v=qe(t);if(v){const A=v.getBoundingClientRect();i.value=A.width,s.value=A.height}}else if(d){const v=Array.isArray(d)?d:[d];i.value=v.reduce((A,{inlineSize:k})=>A+k,0),s.value=v.reduce((A,{blockSize:k})=>A+k,0)}else i.value=g.contentRect.width,s.value=g.contentRect.height},o);bp(()=>{const g=qe(t);g&&(i.value="offsetWidth"in g?g.offsetWidth:n.width,s.value="offsetHeight"in g?g.offsetHeight:n.height)});const u=e.watch(()=>qe(t),g=>{i.value=g?n.width:0,s.value=g?n.height:0});function m(){c(),u()}return{width:i,height:s,stop:m}}const Bp=["id","open"],Vp={class:"d-flex gap-2 align-items-center"},Ip={key:0,class:"d-flex flex-grow-1"},Ap=["id"],$p=e.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(t,{emit:n}){const o=t,l=e.ref(!0),r=er(),a=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),u.stopPropagation(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),!o.noUrlChange&&(l.value?history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value)},c=e.ref(!1);return e.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),e.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,m)=>(e.openBlock(),e.createElementBlock("details",{id:t.href,open:c.value},[e.createElementVNode("summary",{class:e.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[e.createElementVNode("span",Vp,[t.arrow?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?dp:kp),{key:0,class:"arrow"})):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.clickableText)+" ",1),e.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(e.openBlock(),e.createElementBlock("span",Ip,[e.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:t.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Ap)):e.createCommentVNode("",!0)],8,Bp))}}),_t=D($p,[["__scopeId","data-v-6b6ffd9a"]]),Dp={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Op=["aria-hidden","aria-label"],xp=["fill","width","height"],Pp={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},Rp={key:0};function Mp(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Pp,[o.title?(e.openBlock(),e.createElementBlock("title",Rp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xp))],16,Op)}const Qn=D(Dp,[["render",Mp]]),Fp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Up=["aria-hidden","aria-label"],Hp=["fill","width","height"],zp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Wp={key:0};function jp(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",zp,[o.title?(e.openBlock(),e.createElementBlock("title",Wp,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Hp))],16,Up)}const eo=D(Fp,[["render",jp]]),Gp=["id","open"],Kp={key:0,class:"chevron"},Yp=["id"],qp=e.defineComponent({__name:"CollapsibleV2",props:{href:{default:Math.random().toString(36).substring(2,5)},title:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(t,{emit:n}){const o=t,l=e.ref(!0),r=er(),a=n,i=e.computed(()=>`#${o.href}-body`),s=u=>{if(u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),o.noUrlChange)return;const m=window.location.pathname+window.location.search+(l.value?"":i.value);try{window.history.pushState(null,"",m)}catch{try{l.value?window.history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value}catch{}}},c=e.ref(!1);return e.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),e.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,m)=>(e.openBlock(),e.createElementBlock("details",{id:t.href,open:c.value},[e.createElementVNode("summary",{class:e.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(t.title)+" ",1),e.renderSlot(u.$slots,"additional",{},void 0,!0)]),e.renderSlot(u.$slots,"right",{},void 0,!0),t.arrow?(e.openBlock(),e.createElementBlock("span",Kp,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.value?Qn:eo)))])):e.createCommentVNode("",!0)],2),u.$slots.content?(e.openBlock(),e.createElementBlock("div",{key:0,id:t.href+"-body"},[e.createElementVNode("div",null,[e.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Yp)):e.createCommentVNode("",!0)],8,Gp))}}),St=D(qp,[["__scopeId","data-v-23ac75a7"]]),Xp=["href"],Zp={class:"top-row"},Jp={class:"icon-content"},Qp=["src","alt"],eg={class:"text-content"},tg={key:0,class:"description"},ng={class:"footer"},og={class:"bottom-row"},lg={class:"left"},rg={key:0},ag={key:1},ig=e.defineComponent({__name:"SubgroupCard",props:{iconSrc:{default:void 0},text:{},routePath:{},totalCount:{default:0},description:{default:""},href:{default:void 0},isActive:{type:Boolean,default:!1},blueprintsCount:{default:0}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=n,r=e.computed(()=>o.href===void 0?`${o.routePath}/${Ne(o.text)}`:o.href);return(a,i)=>(e.openBlock(),e.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",r.value),["prevent"]))},[e.createElementVNode("div",{class:e.normalizeClass(["plugin",{"is-active":t.isActive}])},[e.createElementVNode("div",Zp,[e.createElementVNode("div",Jp,[t.iconSrc?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.iconSrc,alt:`${t.text} icon`},null,8,Qp)):e.createCommentVNode("",!0)]),e.createElementVNode("div",eg,[e.createElementVNode("h6",null,e.toDisplayString(t.text),1),t.description?(e.openBlock(),e.createElementBlock("p",tg,e.toDisplayString(t.description),1)):e.createCommentVNode("",!0)])]),e.createElementVNode("div",ng,[i[3]||(i[3]=e.createElementVNode("hr",null,null,-1)),e.createElementVNode("div",og,[e.createElementVNode("div",lg,[o.totalCount?(e.openBlock(),e.createElementBlock("p",rg,[e.createTextVNode(e.toDisplayString(o.totalCount??0)+" ",1),i[1]||(i[1]=e.createElementVNode("span",null,"Tasks",-1))])):e.createCommentVNode("",!0),o.blueprintsCount?(e.openBlock(),e.createElementBlock("p",ag,[e.createTextVNode(e.toDisplayString(o.blueprintsCount??0)+" ",1),i[2]||(i[2]=e.createElementVNode("span",null,"Blueprints",-1))])):e.createCommentVNode("",!0)]),e.createVNode(Qn)])])],2)],8,Xp))}}),tr=D(ig,[["__scopeId","data-v-4c31d96c"]]),sg=["href"],cg={class:"element-card"},ug={class:"top-row"},dg={class:"text-capitalize"},mg={key:0},fg={class:"plugin-info"},pg={class:"plugin-class"},gg=e.defineComponent({__name:"ElementCard",props:{text:{},routePath:{},pluginClass:{},href:{},title:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=n,r=e.computed(()=>o.href===void 0?`${o.routePath}/${Ne(o.text)}`:o.href);return(a,i)=>(e.openBlock(),e.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=e.withModifiers(s=>l("navigate",r.value),["prevent"]))},[e.createElementVNode("div",cg,[e.createElementVNode("div",ug,[e.createElementVNode("h6",dg,e.toDisplayString(t.text),1),e.createVNode(Qn)]),t.title?(e.openBlock(),e.createElementBlock("div",mg,[e.renderSlot(a.$slots,"markdown",{content:t.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",fg,[e.createElementVNode("code",pg,e.toDisplayString(t.pluginClass),1)])])],8,sg))}}),nr=D(gg,[["__scopeId","data-v-ec3e36ad"]]),hg={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Eg=["aria-hidden","aria-label"],kg=["fill","width","height"],yg={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"},vg={key:0};function Cg(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",yg,[o.title?(e.openBlock(),e.createElementBlock("title",vg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,kg))],16,Eg)}const Ng=D(hg,[["render",Cg]]),_g={key:0,class:"language"},Sg=["innerHTML"],bg=e.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(t){const n={ContentCopy:e.shallowRef(Ng),Check:e.shallowRef(Ul)},o=t,l=e.ref(!1),r=e.ref(),a=e.shallowRef(n.ContentCopy.value),i=e.ref(),s=e.ref(),c=e.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,r.value&&e.nextTick(()=>{i.value&&s.value&&Fr.createPopper(i.value,s.value,{placement:"left"})})}function m(){clearTimeout(r.value),navigator.clipboard.writeText(o.code.trimEnd()),a.value=n.Check.value,r.value=setTimeout(()=>{a.value=n.ContentCopy.value,r.value=void 0},2e3)}return(g,d)=>(e.openBlock(),e.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:d[0]||(d[0]=v=>l.value=!1)},[t.language&&!l.value?(e.openBlock(),e.createElementBlock("div",_g,e.toDisplayString(t.language),1)):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("button",{ref_key:"copyButton",ref:i,class:"copy"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.value),{onClick:m}))],512),r.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...d[1]||(d[1]=[e.createTextVNode(" Copied! ",-1),e.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)])],512)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:c.value},null,8,Sg)],32))}}),rt=D(bg,[["__scopeId","data-v-a899f6a1"]]);function Ot(t){if(t.type)return Array.isArray(t.type)?t.type:[t.type];if(t.$ref){const o=t.$ref.split("/");return["#"+o[o.length-1]]}}function or(t){const n=t.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function to(t){if(t.enum)return t.enum;if(t.items?.enum)return t.items.enum;if(t.additionalProperties?.enum)return t.additionalProperties.enum}function lr(t){return t.allOf&&(t=t.allOf.reduce((n,o)=>({...n,...o}),{...t}),delete t.allOf),t}function ct(t){const n={},o=r=>{const a=Ot(r);if(a&&a.length>0)return a;if(r.anyOf)return r.anyOf.flatMap(Ot).filter(i=>i!==void 0).filter(b.Utils.distinctFilter)},l=o(t);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&t.items){const r=o(t.items);r&&t.items.anyOf&&(n.types=n.types.filter(a=>a!=="array").concat(r))}return t.additionalProperties?n.subType=Ot(t.additionalProperties)?.[0]:t.items&&(n.subType=Ot(t.items)?.[0]),n}function no(t){return t?.$deprecated===!0||t?.$deprecated==="true"}function rr(t,n,o=new Set){if(!n)return[];const l=ct(t),r=[];if(l.types.forEach(a=>{if(a.startsWith("#")){const i=a.slice(1);n[i]&&!o.has(i)&&!r.includes(i)&&r.push(i)}}),l.subType?.startsWith("#")){const a=l.subType.slice(1);n[a]&&!o.has(a)&&!r.includes(a)&&r.push(a)}return r.filter(a=>!no(n[a])).map(a=>{const i=n[a],s=i?.properties?{...i.properties}:{},c=i?.$examples||s.$examples;return{key:a,title:i?.title??a.split("_")[0],description:i?.description,properties:s,$examples:c}})}function ar(t){return t.$dynamic===!0?!0:t.$dynamic===!1?!1:t.anyOf?.some(n=>n.$dynamic===!0)??!1}const wg={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Lg=["aria-hidden","aria-label"],Tg=["fill","width","height"],Bg={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"},Vg={key:0};function Ig(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Bg,[o.title?(e.openBlock(),e.createElementBlock("title",Vg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Tg))],16,Lg)}const Ag=D(wg,[["render",Ig]]),$g={class:"me-3"},Dg={class:"d-flex flex-column"},Og=e.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(t){const n=t,o=e.computed(()=>{switch(n.type){case"success":return Ag;case"info":return Mt;case"warning":return Qt;case"danger":return kn;default:return Mt}});return(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass("doc-alert alert alert-"+t.type),role:"alert"},[e.createElementVNode("div",$g,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),e.createElementVNode("div",Dg,[e.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),ir=D(Og,[["__scopeId","data-v-f7fd8bc1"]]),xg={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Pg=["aria-hidden","aria-label"],Rg=["fill","width","height"],Mg={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"},Fg={key:0};function Ug(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",Mg,[o.title?(e.openBlock(),e.createElementBlock("title",Fg,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Rg))],16,Pg)}const sr=D(xg,[["render",Ug]]),Hg={class:"property-detail"},zg={key:0},Wg=["href"],jg={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},Gg={class:"ref-type"},Kg={key:1,class:"type-box rounded fs-7 px-2 py-1"},Yg={key:1},qg={class:"border rounded px-2 py-1"},Xg={key:2},Zg={class:"border rounded px-2 py-1"},Jg={key:3},Qg={class:"border rounded px-2 py-1"},e1={key:4},t1={class:"border rounded px-2 py-1"},n1={key:5},o1={class:"border rounded px-2 py-1"},l1={key:6},r1={class:"border rounded px-2 py-1"},a1={key:7},i1={class:"border rounded px-2 py-1"},s1={key:8},c1={class:"border rounded px-2 py-1"},u1={key:9},d1={class:"border rounded px-2 py-1"},m1={key:10},f1={class:"border rounded px-2 py-1"},p1={key:11},g1={class:"border rounded px-2 py-1"},h1={key:12},E1={class:"border rounded px-2 py-1"},k1={key:13},y1={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},v1={key:14},C1={class:"property-description markdown"},N1={key:2},_1=e.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(t){const n=t,o=e.ref(ct(n.property).subType),l=e.ref(to(n.property)),r=b.sanitizeForMarkdown;return(a,i)=>(e.openBlock(),e.createElementBlock("div",Hg,[o.value?(e.openBlock(),e.createElementBlock("div",zg,[i[1]||(i[1]=e.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.value,onClick:i[0]||(i[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("button",jg,[e.createElementVNode("span",Gg,e.toDisplayString(e.unref(or)(o.value)),1),e.createVNode(sr)])],8,Wg)):(e.openBlock(),e.createElementBlock("span",Kg,e.toDisplayString(o.value),1))])):e.createCommentVNode("",!0),t.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",Yg,[i[2]||(i[2]=e.createElementVNode("span",null," Default ",-1)),e.createElementVNode("code",qg,e.toDisplayString(t.property.default),1)])):e.createCommentVNode("",!0),t.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Xg,[i[3]||(i[3]=e.createElementVNode("span",null," Validation RegExp ",-1)),e.createElementVNode("code",Zg,e.toDisplayString(t.property.pattern),1)])):e.createCommentVNode("",!0),t.property.unit!==void 0&&t.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",Jg,[i[4]||(i[4]=e.createElementVNode("span",null," Unit ",-1)),e.createElementVNode("code",Qg,e.toDisplayString(t.property.unit),1)])):e.createCommentVNode("",!0),t.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",e1,[i[5]||(i[5]=e.createElementVNode("span",null," Min length ",-1)),e.createElementVNode("code",t1,e.toDisplayString(t.property.minLength),1)])):e.createCommentVNode("",!0),t.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",n1,[i[6]||(i[6]=e.createElementVNode("span",null," Max length ",-1)),e.createElementVNode("code",o1,e.toDisplayString(t.property.maxLength),1)])):e.createCommentVNode("",!0),t.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",l1,[i[7]||(i[7]=e.createElementVNode("span",null," Min items ",-1)),e.createElementVNode("code",r1,e.toDisplayString(t.property.minItems),1)])):e.createCommentVNode("",!0),t.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",a1,[i[8]||(i[8]=e.createElementVNode("span",null," Max items ",-1)),e.createElementVNode("code",i1,e.toDisplayString(t.property.maxItems),1)])):e.createCommentVNode("",!0),t.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",s1,[i[9]||(i[9]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",c1," >= "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",u1,[i[10]||(i[10]=e.createElementVNode("span",null," Minimum ",-1)),e.createElementVNode("code",d1," > "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",m1,[i[11]||(i[11]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",f1," <= "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",p1,[i[12]||(i[12]=e.createElementVNode("span",null," Maximum ",-1)),e.createElementVNode("code",g1," < "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",h1,[i[13]||(i[13]=e.createElementVNode("span",null," Format ",-1)),e.createElementVNode("code",E1,e.toDisplayString(t.property.format),1)])):e.createCommentVNode("",!0),l.value!==void 0?(e.openBlock(),e.createElementBlock("div",k1,[i[14]||(i[14]=e.createElementVNode("span",null," Possible Values ",-1)),e.createElementVNode("div",y1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,(s,c)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},e.toDisplayString(s),1))),128))])])):e.createCommentVNode("",!0),t.property.title!==void 0||t.property.description!==void 0?(e.openBlock(),e.createElementBlock("div",v1,[e.createElementVNode("div",C1,[t.property.title!==void 0?e.renderSlot(a.$slots,"markdown",{key:0,content:e.unref(r)(t.property.title)},void 0,!0):e.createCommentVNode("",!0),t.property.description!==void 0?e.renderSlot(a.$slots,"markdown",{key:1,content:e.unref(r)(t.property.description)},void 0,!0):e.createCommentVNode("",!0),t.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",N1,[e.createVNode(ir,{type:"info"},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),S1=D(_1,[["__scopeId","data-v-e4c1ea43"]]),b1={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},w1=["aria-hidden","aria-label"],L1=["fill","width","height"],T1={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},B1={key:0};function V1(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",T1,[o.title?(e.openBlock(),e.createElementBlock("title",B1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,L1))],16,w1)}const cr=D(b1,[["render",V1]]),I1={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},A1=["aria-hidden","aria-label"],$1=["fill","width","height"],D1={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"},O1={key:0};function x1(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",D1,[o.title?(e.openBlock(),e.createElementBlock("title",O1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,$1))],16,A1)}const ur=D(I1,[["render",x1]]),P1={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},R1=["aria-hidden","aria-label"],M1=["fill","width","height"],F1={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"},U1={key:0};function H1(t,n,o,l,r,a){return e.openBlock(),e.createElementBlock("span",e.mergeProps(t.$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=>t.$emit("click",i))}),[(e.openBlock(),e.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[e.createElementVNode("path",F1,[o.title?(e.openBlock(),e.createElementBlock("title",U1,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,M1))],16,R1)}const dr=D(P1,[["render",H1]]),z1={key:0,class:"d-flex flex-column gap-3 mb-3 mt-2"},W1={key:0,class:"markdown"},j1={key:1,class:"examples-container"},G1={class:"border overflow-hidden"},K1={class:"d-flex flex-grow-1 align-items-center justify-content-between"},Y1={class:"d-flex gap-2"},q1={class:"d-flex flex-wrap justify-content-end gap-2"},X1=["href"],Z1={class:"ref-type"},J1={key:1,class:"type-box rounded fs-7 px-2 py-1"},Q1=e.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},definitions:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]},noUrlChange:{type:Boolean,default:!1},description:{default:void 0},examples:{default:void 0}},emits:["expand"],setup(t,{emit:n}){const o=t,l=n,r=e.ref(!1);e.watch(r,s=>{s&&l("expand")});const a=s=>s.filter(c=>!c.startsWith("#")||!no(o.definitions?.[c.slice(1)]));function i(s){s=s??{};const c=[],u=[];for(const d in s)typeof s[d]=="object"&&(s[d]=lr(s[d]),s[d].$required?c.push(d):u.push(d));const m=[...c.sort(),...u.sort()],g={};return m.forEach(d=>{(!s[d].$deprecated||o.forceInclude?.includes(d))&&(g[d]=s[d])}),g}return(s,c)=>(e.openBlock(),e.createBlock(_t,{class:"section-collapsible","clickable-text":t.sectionName,href:t.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":t.initiallyExpanded||r.value,"no-url-change":t.noUrlChange},e.createSlots({_:2},[Object.keys(t.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[t.description||t.examples&&t.examples.length>0?(e.openBlock(),e.createElementBlock("div",z1,[t.description?(e.openBlock(),e.createElementBlock("div",W1,[e.renderSlot(s.$slots,"markdown",{content:t.description},void 0,!0)])):e.createCommentVNode("",!0),t.examples&&t.examples.length>0?(e.openBlock(),e.createElementBlock("div",j1,[c[3]||(c[3]=e.createElementVNode("h6",{class:"fw-bold mb-2"}," Examples ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.examples,(u,m)=>(e.openBlock(),e.createElementBlock("div",{key:m,class:"mb-2"},[e.renderSlot(s.$slots,"example",{example:u},void 0,!0)]))),128))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",G1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(t.properties),(u,m)=>(e.openBlock(),e.createBlock(_t,{class:"property",key:m,arrow:!1,"clickable-text":m,href:t.href+"_"+m,onExpand:c[1]||(c[1]=g=>r.value=!0),"no-url-change":t.noUrlChange},{additionalButtonText:e.withCtx(()=>[u.$required?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Required"},{default:e.withCtx(()=>[...c[4]||(c[4]=[e.createElementVNode("span",{class:"text-danger"}," *",-1)])]),_:1})):e.createCommentVNode("",!0)]),buttonRight:e.withCtx(({collapsed:g})=>[e.createElementVNode("span",K1,[e.createElementVNode("span",Y1,[t.showDynamic&&!e.unref(ar)(u)?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(ur,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),u.$beta?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(dr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),u.$deprecated?(e.openBlock(),e.createBlock(j,{key:2,class:"d-flex",title:"Deprecated"},{default:e.withCtx(()=>[e.createVNode(Qt,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("span",q1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a(e.unref(ct)(u).types),d=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d},[d.startsWith("#")?(e.openBlock(),e.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:d,onClick:c[0]||(c[0]=e.withModifiers(()=>{},["stop"]))},[e.createElementVNode("span",Z1,e.toDisplayString(e.unref(or)(d)),1),e.createVNode(sr)],8,X1)):(e.openBlock(),e.createElementBlock("span",J1,e.toDisplayString(d),1))],64))),128)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(g?eo:cr),{class:"arrow"}))])])]),content:e.withCtx(()=>[e.createVNode(S1,{property:u},{markdown:e.withCtx(({content:g})=>[e.renderSlot(s.$slots,"markdown",{content:g},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"]))}}),xt=D(Q1,[["__scopeId","data-v-b4f5f7ad"]]),eh={class:"d-flex flex-column gap-6"},th={class:"d-flex flex-column gap-3"},nh={key:0,class:"alert alert-info mb-2",role:"alert"},oh={key:1,class:"plugin-title markdown"},lh={key:2,class:"markdown"},rh={class:"d-flex flex-column gap-4"},ah={class:"d-flex flex-column gap-3"},ih={class:"markdown"},sh={key:0,class:"w-100 align-self-center"},ch={class:"markdown"},uh={class:"markdown"},dh={class:"markdown"},mh={class:"d-flex flex-column gap-7 ps-3"},fh={class:"markdown"},ph={class:"d-flex flex-column gap-2"},gh={key:0,class:"markdown"},hh=e.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(t){let n,o;const l=t,r=e.ref(!1),a=e.ref(new Set),i=e.ref(0),s=e.computed(()=>Object.entries(l.schema.definitions??{}).filter(([,k])=>!no(k))),c=async()=>{const k=window.location.hash.slice(1);if(!k||!l.schema.definitions){a.value.clear();return}const T=k.replace(/-body$/,""),h=Object.keys(l.schema.definitions).find(C=>T===C||T.startsWith(C+"_"));if(h){r.value=!0,i.value+=1,a.value.clear(),a.value.add(h),await e.nextTick();let C=0;const y=30,E=()=>{const S=document.getElementById(T);S?S.scrollIntoView({behavior:"smooth",block:"start"}):C<y&&(C++,requestAnimationFrame(E))};requestAnimationFrame(E)}else a.value.clear()};e.watch([()=>l.schema,()=>l.pluginType],([k,T],[h,C])=>{(k!==h||T!==C)&&l.schema.definitions&&c()});const u=k=>k?.full?k.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
16
16
  type: ${l.pluginType}
17
17
  `.concat(k.code),m=e.ref(),g=e.computed(()=>l.schema.properties?.$examples),d=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(k=>[k.name,{...k,name:void 0}]))),{getHighlighterCore:v}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BEGfHQp3.cjs"))),n=await n,o(),n);m.value=([n,o]=e.withAsyncContext(()=>v()),n=await n,o(),n);const A="github-"+(l.darkMode?"dark":"light");return e.onMounted(()=>{c(),window.addEventListener("hashchange",c)}),e.onUnmounted(()=>{window.removeEventListener("hashchange",c)}),(k,T)=>(e.openBlock(),e.createElementBlock("div",eh,[e.createElementVNode("div",th,[t.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",nh,[...T[0]||(T[0]=[e.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)])])):e.createCommentVNode("",!0),t.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",oh,[e.renderSlot(k.$slots,"markdown",{content:t.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),t.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",lh,[e.renderSlot(k.$slots,"markdown",{content:t.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(rt,{highlighter:m.value,language:"yaml",theme:A,code:`type: ${t.pluginType}`,key:t.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column gap-3",key:t.pluginType},[g.value?(e.openBlock(),e.createBlock(_t,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":t.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",rh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(h,C)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:t.pluginType+"-"+C},[e.createElementVNode("div",ah,[e.createElementVNode("div",ih,[h.title?e.renderSlot(k.$slots,"markdown",{key:0,content:h.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),h.code?(e.openBlock(),e.createBlock(rt,{key:0,highlighter:m.value,language:h.lang??"yaml",theme:A,code:u(h)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),C<g.value.length-1?(e.openBlock(),e.createElementBlock("hr",sh)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),t.schema.properties?.properties?(e.openBlock(),e.createBlock(xt,{key:1,class:"plugin-section",properties:t.schema.properties.properties,definitions:t.schema.definitions,"section-name":"Properties",href:"properties","initially-expanded":t.propsInitiallyExpanded,"force-include":t.forceIncludeProperties,"no-url-change":t.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",ch,[e.renderSlot(k.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","initially-expanded","force-include","no-url-change"])):e.createCommentVNode("",!0),t.schema.outputs?.properties&&Object.keys(t.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(xt,{key:2,class:"plugin-section",properties:t.schema.outputs.properties,definitions:t.schema.definitions,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":t.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",uh,[e.renderSlot(k.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),t.schema.properties?.$metrics?(e.openBlock(),e.createBlock(xt,{key:3,class:"plugin-section",properties:d.value,definitions:t.schema.definitions,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":t.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",dh,[e.renderSlot(k.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),s.value.length>0?(e.openBlock(),e.createBlock(_t,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":r.value,key:`definitions-${t.pluginType}-${i.value}`,"no-url-change":t.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",mh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,([h,C])=>(e.openBlock(),e.createBlock(xt,{properties:C.properties,definitions:t.schema.definitions,"section-name":C.title??h.split("_")[0],href:h,"show-dynamic":!1,"initially-expanded":a.value.has(h),key:t.pluginType+"-"+h,class:"plugin-section nested-button-py-2",onExpand:y=>{r.value=!0,a.value.add(h)},"no-url-change":t.noUrlChange,description:C.description,examples:C?.$examples},{markdown:e.withCtx(({content:y})=>[e.createElementVNode("div",fh,[e.renderSlot(k.$slots,"markdown",{content:y},void 0,!0)])]),example:e.withCtx(({example:y})=>[e.createElementVNode("div",ph,[y.title?(e.openBlock(),e.createElementBlock("div",gh,[e.renderSlot(k.$slots,"markdown",{content:`**${y.title}**`},void 0,!0)])):e.createCommentVNode("",!0),y.code?(e.openBlock(),e.createBlock(rt,{key:1,highlighter:m.value,language:y.lang??"yaml",theme:A,code:u(y)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)])]),_:3},8,["properties","definitions","section-name","href","initially-expanded","onExpand","no-url-change","description","examples"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),Eh=D(hh,[["__scopeId","data-v-02295168"]]),kh={key:0},yh={class:"type-box rounded fs-7 px-2 py-1"},vh={key:1},Ch={class:"border rounded px-2 py-1"},Nh={key:2},_h={class:"border rounded px-2 py-1"},Sh={key:3},bh={class:"border rounded px-2 py-1"},wh={key:4},Lh={class:"border rounded px-2 py-1"},Th={key:5},Bh={class:"border rounded px-2 py-1"},Vh={key:6},Ih={class:"border rounded px-2 py-1"},Ah={key:7},$h={class:"border rounded px-2 py-1"},Dh={key:8},Oh={class:"border rounded px-2 py-1"},xh={key:9},Ph={class:"border rounded px-2 py-1"},Rh={key:10},Mh={class:"border rounded px-2 py-1"},Fh={key:11},Uh={class:"border rounded px-2 py-1"},Hh={key:12},zh={class:"border rounded px-2 py-1"},Wh={key:13},jh={class:"values-wrapper d-flex flex-wrap justify-content-end gap-7 p-0"},Gh=e.defineComponent({__name:"PropertyMeta",props:{property:{},subtype:{},enumValues:{}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.subtype&&!t.subtype.startsWith("#")?(e.openBlock(),e.createElementBlock("div",kh,[o[0]||(o[0]=e.createElementVNode("span",null,"SubType",-1)),e.createElementVNode("span",yh,e.toDisplayString(t.subtype),1)])):e.createCommentVNode("",!0),t.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",vh,[o[1]||(o[1]=e.createElementVNode("span",null,"Default",-1)),e.createElementVNode("code",Ch,e.toDisplayString(t.property.default),1)])):e.createCommentVNode("",!0),t.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Nh,[o[2]||(o[2]=e.createElementVNode("span",null,"Validation RegExp",-1)),e.createElementVNode("code",_h,e.toDisplayString(t.property.pattern),1)])):e.createCommentVNode("",!0),t.property.unit!==void 0&&t.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",Sh,[o[3]||(o[3]=e.createElementVNode("span",null,"Unit",-1)),e.createElementVNode("code",bh,e.toDisplayString(t.property.unit),1)])):e.createCommentVNode("",!0),t.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",wh,[o[4]||(o[4]=e.createElementVNode("span",null,"Min length",-1)),e.createElementVNode("code",Lh,e.toDisplayString(t.property.minLength),1)])):e.createCommentVNode("",!0),t.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",Th,[o[5]||(o[5]=e.createElementVNode("span",null,"Max length",-1)),e.createElementVNode("code",Bh,e.toDisplayString(t.property.maxLength),1)])):e.createCommentVNode("",!0),t.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",Vh,[o[6]||(o[6]=e.createElementVNode("span",null,"Min items",-1)),e.createElementVNode("code",Ih,e.toDisplayString(t.property.minItems),1)])):e.createCommentVNode("",!0),t.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",Ah,[o[7]||(o[7]=e.createElementVNode("span",null,"Max items",-1)),e.createElementVNode("code",$h,e.toDisplayString(t.property.maxItems),1)])):e.createCommentVNode("",!0),t.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",Dh,[o[8]||(o[8]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",Oh,">= "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",xh,[o[9]||(o[9]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",Ph,"> "+e.toDisplayString(t.property.minimum),1)])):e.createCommentVNode("",!0),t.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",Rh,[o[10]||(o[10]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",Mh,"<= "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",Fh,[o[11]||(o[11]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",Uh,"< "+e.toDisplayString(t.property.maximum),1)])):e.createCommentVNode("",!0),t.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",Hh,[o[12]||(o[12]=e.createElementVNode("span",null,"Format",-1)),e.createElementVNode("code",zh,e.toDisplayString(t.property.format),1)])):e.createCommentVNode("",!0),t.enumValues!==void 0?(e.openBlock(),e.createElementBlock("div",Wh,[o[13]||(o[13]=e.createElementVNode("span",null,"Possible Values",-1)),e.createElementVNode("div",jh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.enumValues,(l,r)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:r},e.toDisplayString(l),1))),128))])])):e.createCommentVNode("",!0)],64))}}),mr=D(Gh,[["__scopeId","data-v-ce25a1e1"]]),Kh={class:"d-flex flex-grow-1 align-items-center justify-content-between"},Yh={key:0,class:"d-flex gap-2 flex-wrap align-items-center"},qh=e.defineComponent({__name:"PropertyBadges",props:{property:{},showDynamic:{type:Boolean,default:!0},sectionClass:{default:""}},setup(t){function n(o){return ct(o).types.filter(r=>!r.startsWith("#"))}return(o,l)=>(e.openBlock(),e.createElementBlock("span",Kh,[e.createElementVNode("span",{class:e.normalizeClass(["d-flex gap-2 flex-wrap align-items-center",t.sectionClass])},[t.property&&t.property.$required?(e.openBlock(),e.createBlock(j,{key:0,class:"d-flex align-items-center",title:"Required"},{default:e.withCtx(()=>[...l[0]||(l[0]=[e.createElementVNode("span",{class:"text-danger"},"*",-1)])]),_:1})):e.createCommentVNode("",!0),t.showDynamic&&t.property&&!e.unref(ar)(t.property)?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(ur,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),t.property&&t.property.$beta?(e.openBlock(),e.createBlock(j,{key:2,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(dr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),t.property&&t.property.$deprecated?(e.openBlock(),e.createBlock(j,{key:3,class:"d-flex",title:"Deprecated"},{default:e.withCtx(()=>[e.createVNode(Qt,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0)],2),t.property?(e.openBlock(),e.createElementBlock("span",Yh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n(t.property),r=>(e.openBlock(),e.createElementBlock("span",{key:r,class:"type-box rounded fs-7 px-2 py-1"},e.toDisplayString(r),1))),128))])):e.createCommentVNode("",!0)]))}}),fr=D(qh,[["__scopeId","data-v-1fcc5d4c"]]),Xh={class:"def-content"},Zh={key:0,class:"def-description"},Jh={key:1,class:"def-examples"},Qh={class:"d-flex flex-column gap-4"},eE={class:"d-flex flex-column"},tE={class:"markdown"},nE={key:0,class:"w-100 align-self-center"},oE={class:"d-flex align-items-center justify-content-between gap-2"},lE={class:"prop-key"},rE={key:0,class:"property-desc mt-2"},aE={key:1,class:"mt-3 nested-defs"},iE=e.defineComponent({__name:"DefinitionCollapsible",props:{definition:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(t){const n=t,o=e.inject("highlighter",e.ref(void 0)),l=e.inject("codeTheme",e.ref("github-dark")),r=b.sanitizeForMarkdown,a=u=>{const m=ct(u).subType;return m&&!m.startsWith("#")?m:void 0},i=u=>to(u),s=u=>{const m=n.definitions,g=n.depth,d=n.maxDepth,v=n.visitedKeys;return!m||g>=d?[]:rr(u,m,v)},c=e.computed(()=>{const u=new Set(n.visitedKeys);return u.add(n.definition.key),u});return(u,m)=>{const g=e.resolveComponent("DefinitionCollapsible",!0);return e.openBlock(),e.createBlock(St,{title:t.definition.title,href:`def-${t.definition.key}`,class:e.normalizeClass(["def-collapsible",`section-${t.section}`]),arrow:"","no-url-change":""},{content:e.withCtx(()=>[e.createElementVNode("div",Xh,[t.definition.description?(e.openBlock(),e.createElementBlock("div",Zh,[e.renderSlot(u.$slots,"markdown",{content:e.unref(r)(t.definition.description)},void 0,!0)])):e.createCommentVNode("",!0),t.definition.$examples&&t.definition.$examples.length?(e.openBlock(),e.createElementBlock("div",Jh,[m[0]||(m[0]=e.createElementVNode("div",{class:"def-examples-header"}," Example ",-1)),e.createElementVNode("div",Qh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.definition.$examples,(d,v)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:`${t.definition.key}-example-${v}`},[e.createElementVNode("div",eE,[e.createElementVNode("div",tE,[d.title?e.renderSlot(u.$slots,"markdown",{key:0,content:d.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),d.code?(e.openBlock(),e.createBlock(rt,{key:0,highlighter:e.unref(o),language:d.lang??"yaml",theme:e.unref(l),code:d.code},null,8,["highlighter","language","theme","code"])):e.createCommentVNode("",!0)]),v<t.definition.$examples.length-1?(e.openBlock(),e.createElementBlock("hr",nE)):e.createCommentVNode("",!0)],64))),128))])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.definition.properties,(d,v)=>(e.openBlock(),e.createElementBlock("div",{key:v,class:"def-property"},[e.createElementVNode("div",oE,[e.createElementVNode("span",lE,e.toDisplayString(v),1),e.createVNode(fr,{property:d,"show-dynamic":!1,"section-class":"section-properties"},null,8,["property"])]),e.createVNode(mr,{property:d,subtype:a(d),"enum-values":i(d)},null,8,["property","subtype","enum-values"]),d.title!==void 0||d.description!==void 0?(e.openBlock(),e.createElementBlock("div",rE,[d.title?e.renderSlot(u.$slots,"markdown",{key:0,content:e.unref(r)(d.title)},void 0,!0):e.createCommentVNode("",!0),d.description?e.renderSlot(u.$slots,"markdown",{key:1,content:e.unref(r)(d.description)},void 0,!0):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.depth<t.maxDepth&&s(d).length?(e.openBlock(),e.createElementBlock("div",aE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s(d),A=>(e.openBlock(),e.createBlock(g,{key:`${t.definition.key}-${A.key}`,definition:A,definitions:t.definitions,"visited-keys":c.value,depth:t.depth+1,"max-depth":t.maxDepth},{markdown:e.withCtx(({content:k})=>[e.renderSlot(u.$slots,"markdown",{content:k},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth"]))),128))])):e.createCommentVNode("",!0)]))),128))])]),_:3},8,["title","href","class"])}}}),sE=D(iE,[["__scopeId","data-v-96ed960d"]]),cE={class:"property-detail"},uE={key:0},dE={class:"property-description markdown"},mE={key:2},fE={key:3,class:"mt-3"},pE=e.defineComponent({__name:"PropertyDetailV2",props:{property:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(t){const n=t,o=e.computed(()=>ct(n.property).subType),l=e.computed(()=>to(n.property)),r=e.computed(()=>{const s=n.definitions,c=n.depth,u=n.maxDepth,m=n.property,g=n.visitedKeys;return!s||c>=u?[]:rr(m,s,g)}),a=e.computed(()=>{const s=new Set(n.visitedKeys);return r.value.forEach(c=>s.add(c.key)),s}),i=b.sanitizeForMarkdown;return(s,c)=>(e.openBlock(),e.createElementBlock("div",cE,[e.createVNode(mr,{property:t.property,subtype:o.value,"enum-values":l.value},null,8,["property","subtype","enum-values"]),t.property.title!==void 0||t.property.description!==void 0||t.depth<t.maxDepth&&r.value.length>0?(e.openBlock(),e.createElementBlock("div",uE,[e.createElementVNode("div",dE,[t.property.title!==void 0?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(i)(t.property.title)},void 0,!0):e.createCommentVNode("",!0),t.property.description!==void 0?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(i)(t.property.description)},void 0,!0):e.createCommentVNode("",!0),t.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",mE,[e.createVNode(ir,{type:"info"},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):e.createCommentVNode("",!0),t.depth<t.maxDepth&&r.value.length>0?(e.openBlock(),e.createElementBlock("div",fE,[c[0]||(c[0]=e.createElementVNode("div",{class:"definitions-header"}," Definitions ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,u=>(e.openBlock(),e.createBlock(sE,{key:`${u.key}-${t.depth}`,definition:u,definitions:t.definitions,"visited-keys":a.value,depth:t.depth+1,"max-depth":t.maxDepth,section:t.section},{markdown:e.withCtx(({content:m})=>[e.renderSlot(s.$slots,"markdown",{content:m},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth","section"]))),128))])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),gE=D(pE,[["__scopeId","data-v-32bc6580"]]),hE={class:"border overflow-hidden"},EE=e.defineComponent({__name:"CollapsiblePropertiesV2",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},definitions:{default:void 0}},emits:["expand"],setup(t,{emit:n}){const o=t,l=n,r=e.computed(()=>{const s=o.sectionName.toLowerCase();return s==="properties"?"section-properties":s==="outputs"?"section-outputs":s==="metrics"?"section-metrics":""}),a=e.ref(!1);e.watch(a,s=>{s&&l("expand")});function i(s){s=s??{};const c=[],u=[];for(const d in s)typeof s[d]=="object"&&(s[d]=lr(s[d]),s[d].$required?c.push(d):u.push(d));const m=[...c.sort(),...u.sort()],g={};return m.forEach(d=>{(!s[d].$deprecated||o.forceInclude?.includes(d))&&(g[d]=s[d])}),g}return(s,c)=>(e.openBlock(),e.createBlock(St,{class:"section-collapsible",title:t.sectionName,href:t.href,onExpand:c[1]||(c[1]=u=>l("expand")),"initially-expanded":t.initiallyExpanded||a.value,"no-url-change":t.noUrlChange},e.createSlots({_:2},[Object.keys(t.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[e.createElementVNode("div",hE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(t.properties),(u,m)=>(e.openBlock(),e.createBlock(St,{class:e.normalizeClass(["property",r.value]),key:m,title:m,href:t.href+"_"+m,onExpand:c[0]||(c[0]=g=>a.value=!0),"no-url-change":t.noUrlChange},{right:e.withCtx(()=>[e.createVNode(fr,{property:u,"show-dynamic":t.showDynamic},null,8,["property","show-dynamic"])]),content:e.withCtx(()=>[e.createVNode(gE,{property:u,definitions:t.definitions,section:t.sectionName.toLowerCase()},{markdown:e.withCtx(({content:g})=>[e.renderSlot(s.$slots,"markdown",{content:g},void 0,!0)]),_:3},8,["property","definitions","section"])]),_:2},1032,["title","href","no-url-change","class"]))),128))])]),key:"0"}:void 0]),1032,["title","href","initially-expanded","no-url-change"]))}}),hn=D(EE,[["__scopeId","data-v-99775171"]]),kE={class:"d-flex flex-column gap-6"},yE={class:"d-flex flex-column"},vE={key:0,class:"alert alert-info mb-2",role:"alert"},CE={key:1,class:"markdown"},NE={class:"d-flex flex-column gap-4"},_E={class:"d-flex flex-column"},SE={class:"markdown"},bE={key:0,class:"w-100 align-self-center"},wE={class:"markdown"},LE={class:"markdown"},TE={class:"markdown"},BE=e.defineComponent({__name:"SchemaToHtmlV2",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(t){let n,o;const l=t,r=v=>v?.full?v.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
18
18
  type: ${l.pluginType}