@kestra-io/ui-libs 0.0.270 → 0.0.271

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 +1 @@
1
- {"version":3,"file":"PluginIndex.vue.d.ts","sourceRoot":"","sources":["../../../src/components/plugins/PluginIndex.vue"],"names":[],"mappings":"AA8NI,OAAO,KAAK,EAAC,MAAM,EAAE,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAShE,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,uBAAuB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAAA;CAC7C,CAAC;AAiVN,QAAA,IAAI,QAAQ;;CAAW,EAAE,QAAQ;;CAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC9C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOjD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"PluginIndex.vue.d.ts","sourceRoot":"","sources":["../../../src/components/plugins/PluginIndex.vue"],"names":[],"mappings":"AA8NI,OAAO,KAAK,EAAC,MAAM,EAAE,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAShE,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,uBAAuB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,CAAC,CAAA;CAC7C,CAAC;AAoVN,QAAA,IAAI,QAAQ;;CAAW,EAAE,QAAQ;;CAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC9C;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOjD,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type Ref } from "vue";
1
+ import { MaybeRef } from "vue";
2
2
  import { type Plugin } from "../utils/plugins";
3
3
  /**
4
4
  * Composable to compute plugin element counts and groupings.
@@ -6,7 +6,7 @@ import { type Plugin } from "../utils/plugins";
6
6
  * @param plugin - The plugin to analyze.
7
7
  * @returns Object with elementsByType (computed) and total (computed) counts.
8
8
  */
9
- export declare function usePluginElementCounts(plugin: Plugin | Ref<Plugin>): {
9
+ export declare function usePluginElementCounts(plugin: MaybeRef<Plugin | undefined>): {
10
10
  readonly elementsByType: import("vue").ComputedRef<Record<string, string[]>>;
11
11
  readonly total: import("vue").ComputedRef<number>;
12
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"usePluginElementCounts.d.ts","sourceRoot":"","sources":["../../src/composables/usePluginElementCounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,GAAG,EAAC,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAwB,KAAK,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAEpE;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;;;EAMlE"}
1
+ {"version":3,"file":"usePluginElementCounts.d.ts","sourceRoot":"","sources":["../../src/composables/usePluginElementCounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,QAAQ,EAAQ,MAAM,KAAK,CAAC;AAC9C,OAAO,EAAwB,KAAK,MAAM,EAAC,MAAM,kBAAkB,CAAC;AAEpE;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC;;;EAS1E"}
@@ -1,4 +1,4 @@
1
- "use strict";var wr=Object.create;var oo=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Tr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,Vr=Object.prototype.hasOwnProperty;var Ir=(t,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of Tr(n))!Vr.call(t,a)&&a!==o&&oo(t,a,{get:()=>n[a],enumerable:!(l=Lr(n,a))||l.enumerable});return t};var Ar=(t,n,o)=>(o=t!=null?wr(Br(t)):{},Ir(n||!t||!t.__esModule?oo(o,"default",{value:t,enumerable:!0}):o,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),w=require("./VueFlowUtils-DjetWQIy.cjs"),W=require("./FlowYamlUtils-CB_0RSKT.cjs"),e=require("vue"),oe=require("@vue-flow/core"),an=require("@vue-flow/controls"),sn=require("moment"),Dr=require("@popperjs/core"),$r={lineWidth:0},lo=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],Or={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(t,n){for(const o of lo){const l=W.extractBlock({source:t,section:o,key:n});if(l)return l}},_extractTask(t,n,o){function l(r){if(r){if(r instanceof Ge.YAMLMap&&r.get("type")!==void 0&&n===r.get("id"))return o?o(r):r;if(r.items)for(const[i,s]of r.items.entries()){let c;if(s instanceof Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(r instanceof Ge.YAMLMap?r.set(s.key.value,c):r.items[i]=c),!o&&c))return c}}}const a=l(t.contents);if(a!==void 0)return o?new Ge.Document(a):new Ge.Document(a)},replaceTaskInDocument(t,n,o,l="tasks",a="id"){return W.replaceBlockInDocument({source:t,section:l,keyName:a,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=Ge.parseDocument(t),a=this._extractTask(l,n),r=this._extractTask(l,o);return Ge.visit(l,{Pair(i,s){if(s.key.value==="dependsOn"&&s.value.items.map(c=>c.value).includes(o))throw{message:"dependency task",messageOptions:{taskId:o}}}}),this._extractTask(l,n,()=>r),this._extractTask(l,o,()=>a),l.toString($r)},insertTask(t,n,o,l,a){return W.insertBlock({source:t,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:a})},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===w.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((a,r)=>W.deleteBlock({source:a,section:r,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:lo,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},Ce=t=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(t)};var Pr=w.requireMapValues();const Nt=W.getDefaultExportFromCjs(Pr),D=(t,n)=>{const o=t.__vccOpts||t;for(const[l,a]of n)o[l]=a;return o},Rr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mr=["aria-hidden","aria-label"],xr=["fill","width","height"],Fr={d:"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"},Ur={key:0};function Hr(t,n,o,l,a,r){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",Fr,[o.title?(e.openBlock(),e.createElementBlock("title",Ur,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xr))],16,Mr)}const ro=D(Rr,[["render",Hr]]),zr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wr=["aria-hidden","aria-label"],jr=["fill","width","height"],Gr={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"},Kr={key:0};function Yr(t,n,o,l,a,r){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",Gr,[o.title?(e.openBlock(),e.createElementBlock("title",Kr,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,jr))],16,Wr)}const qr=D(zr,[["render",Yr]]),Xr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zr=["aria-hidden","aria-label"],Jr=["fill","width","height"],Qr={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"},ea={key:0};function ta(t,n,o,l,a,r){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",Qr,[o.title?(e.openBlock(),e.createElementBlock("title",ea,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Jr))],16,Zr)}const na=D(Xr,[["render",ta]]),oa={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},la=["aria-hidden","aria-label"],ra=["fill","width","height"],aa={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"},ia={key:0};function sa(t,n,o,l,a,r){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",aa,[o.title?(e.openBlock(),e.createElementBlock("title",ia,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ra))],16,la)}const gn=D(oa,[["render",sa]]),ca={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ua=["aria-hidden","aria-label"],da=["fill","width","height"],ma={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"},fa={key:0};function pa(t,n,o,l,a,r){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",ma,[o.title?(e.openBlock(),e.createElementBlock("title",fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,da))],16,ua)}const ga=D(ca,[["render",pa]]),ha={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ea=["aria-hidden","aria-label"],ya=["fill","width","height"],ka={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"},_a={key:0};function va(t,n,o,l,a,r){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",ka,[o.title?(e.openBlock(),e.createElementBlock("title",_a,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ya))],16,Ea)}const Ca=D(ha,[["render",va]]),Na={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sa=["aria-hidden","aria-label"],ba=["fill","width","height"],wa={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"},La={key:0};function Ta(t,n,o,l,a,r){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",wa,[o.title?(e.openBlock(),e.createElementBlock("title",La,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ba))],16,Sa)}const At=D(Na,[["render",Ta]]),Ba={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Va=["aria-hidden","aria-label"],Ia=["fill","width","height"],Aa={d:"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z"},Da={key:0};function $a(t,n,o,l,a,r){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",Aa,[o.title?(e.openBlock(),e.createElementBlock("title",Da,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ia))],16,Va)}const Oa=D(Ba,[["render",$a]]),Pa={name:"MotionPauseOutlineIcon",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"],xa={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"},Fa={key:0};function Ua(t,n,o,l,a,r){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",xa,[o.title?(e.openBlock(),e.createElementBlock("title",Fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ma))],16,Ra)}const Ha=D(Pa,[["render",Ua]]),za={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wa=["aria-hidden","aria-label"],ja=["fill","width","height"],Ga={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"},Ka={key:0};function Ya(t,n,o,l,a,r){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",Ga,[o.title?(e.openBlock(),e.createElementBlock("title",Ka,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ja))],16,Wa)}const ao=D(za,[["render",Ya]]),qa={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xa=["aria-hidden","aria-label"],Za=["fill","width","height"],Ja={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"},Qa={key:0};function ei(t,n,o,l,a,r){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",Ja,[o.title?(e.openBlock(),e.createElementBlock("title",Qa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Za))],16,Xa)}const io=D(qa,[["render",ei]]),ti=["ERROR","WARN","INFO","DEBUG","TRACE"],z=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:Oa,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Ca,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:qr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:na,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:gn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:ga,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:At,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:gn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:ro,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Ha,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:ro,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 Nt(z,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(z)}static colorClass(){return Nt(z,n=>n.colorClass)}static color(){return Nt(z,n=>Ce("--bs-"+n.colorClass))}static getStateColor(n){return z[n].color}static icon(){return Nt(z,n=>n.icon)}static getTerminatedStates(){return Object.values(z).filter(n=>!n.isRunning).map(n=>n.name)}}let St;async function ni(){if(St)return St;const t=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return St=await(t.default??t)(),St}var Vt={exports:{}},oi=Vt.exports,so;function li(){return so||(so=1,(function(t,n){(function(o,l,a){t.exports=a(),t.exports.default=a()})("slugify",oi,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function a(r,i){if(typeof r!="string")throw new Error("slugify: string argument expected");i=typeof i=="string"?{replacement:i}:i||{};var s=l[i.locale]||{},c=i.replacement===void 0?"-":i.replacement,u=i.trim===void 0?!0:i.trim,d=r.normalize().split("").reduce(function(p,h){var _=s[h];return _===void 0&&(_=o[h]),_===void 0&&(_=h),_===c&&(_=" "),p+_.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(d=d.replace(/[^A-Za-z0-9\s]/g,"")),u&&(d=d.trim()),d=d.replace(/\s+/g,c),i.lower&&(d=d.toLowerCase()),d}return a.extend=function(r){Object.assign(o,r)},a})})(Vt)),Vt.exports}var ri=li();const Jo=W.getDefaultExportFromCjs(ri);Jo.extend({"(":"-",")":""});function he(t){return Jo(t,{lower:!0,locale:"en"})}function Dn(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,a)=>` ${a.toUpperCase()}`);return o.charAt(0).toUpperCase()+o.slice(1)}function Ht(t){return Object.fromEntries(Object.entries(t).filter(([n,o])=>Dn(n,o)).map(([n,o])=>[n.replace(/[A-Z]/g,l=>` ${l}`),o.filter(({deprecated:l})=>!l).map(({cls:l})=>l)]))}function ai(t){return t.flatMap(n=>{const o=Object.entries(n).filter(([l,a])=>Dn(l,a)).map(([l,a])=>[l,a.filter(r=>!r.deprecated)]).filter(([,l])=>l.length>0);return o.length>0?[{...n,...Object.fromEntries(o)}]:[]})}function ii(t){const n={clsToSubgroup:{},clsToPlugin:{},shortNameToCls:{}};for(const o of t??[]){const l=Ht(o),a=o.group??o.name??"",r=he(a),i=o.subGroup?he(De(o)):void 0;Object.values(l).forEach(s=>{s.forEach(c=>{i&&(n.clsToSubgroup[c]=i),n.clsToPlugin[c]={slug:r,raw:a};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 Qo(t){const n=e.computed(()=>Ht(e.unref(t))),o=e.computed(()=>Object.values(n.value).reduce((l,a)=>l+a.length,0));return{elementsByType:n,total:o}}const si={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ci=["aria-hidden","aria-label"],ui=["fill","width","height"],di={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"},mi={key:0};function fi(t,n,o,l,a,r){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",di,[o.title?(e.openBlock(),e.createElementBlock("title",mi,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ui))],16,ci)}const pi=D(si,[["render",fi]]),gi=e.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(pi,{class:"loading-dots-circle",alt:n.alt},null,8,["alt"]))}}),el=D(gi,[["__scopeId","data-v-a7ad4137"]]);/*!
1
+ "use strict";var wr=Object.create;var oo=Object.defineProperty;var Lr=Object.getOwnPropertyDescriptor;var Tr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,Vr=Object.prototype.hasOwnProperty;var Ir=(t,n,o,l)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of Tr(n))!Vr.call(t,a)&&a!==o&&oo(t,a,{get:()=>n[a],enumerable:!(l=Lr(n,a))||l.enumerable});return t};var Ar=(t,n,o)=>(o=t!=null?wr(Br(t)):{},Ir(n||!t||!t.__esModule?oo(o,"default",{value:t,enumerable:!0}):o,t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ge=require("yaml"),w=require("./VueFlowUtils-DjetWQIy.cjs"),W=require("./FlowYamlUtils-CB_0RSKT.cjs"),e=require("vue"),oe=require("@vue-flow/core"),an=require("@vue-flow/controls"),sn=require("moment"),Dr=require("@popperjs/core"),$r={lineWidth:0},lo=["tasks","triggers","errors","finally","afterExecution","pluginDefaults"],Or={stringify:W.stringify,parse:W.parse,pairsToMap:W.pairsToMap,extractTask(t,n){for(const o of lo){const l=W.extractBlock({source:t,section:o,key:n});if(l)return l}},_extractTask(t,n,o){function l(r){if(r){if(r instanceof Ge.YAMLMap&&r.get("type")!==void 0&&n===r.get("id"))return o?o(r):r;if(r.items)for(const[i,s]of r.items.entries()){let c;if(s instanceof Ge.YAMLMap?c=l(s):c=l(s.value),c&&(o&&(r instanceof Ge.YAMLMap?r.set(s.key.value,c):r.items[i]=c),!o&&c))return c}}}const a=l(t.contents);if(a!==void 0)return o?new Ge.Document(a):new Ge.Document(a)},replaceTaskInDocument(t,n,o,l="tasks",a="id"){return W.replaceBlockInDocument({source:t,section:l,keyName:a,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=Ge.parseDocument(t),a=this._extractTask(l,n),r=this._extractTask(l,o);return Ge.visit(l,{Pair(i,s){if(s.key.value==="dependsOn"&&s.value.items.map(c=>c.value).includes(o))throw{message:"dependency task",messageOptions:{taskId:o}}}}),this._extractTask(l,n,()=>r),this._extractTask(l,o,()=>a),l.toString($r)},insertTask(t,n,o,l,a){return W.insertBlock({source:t,section:"tasks",newBlock:o,refKey:n,position:l,parentKey:a})},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===w.SECTIONS.TASKS?["tasks","errors"]:["triggers"]).reduce((a,r)=>W.deleteBlock({source:a,section:r,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:lo,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},Ce=t=>{const n=document.querySelector(":root");return(n?getComputedStyle(n):null)?.getPropertyValue(t)};var Pr=w.requireMapValues();const Nt=W.getDefaultExportFromCjs(Pr),D=(t,n)=>{const o=t.__vccOpts||t;for(const[l,a]of n)o[l]=a;return o},Rr={name:"PauseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Mr=["aria-hidden","aria-label"],xr=["fill","width","height"],Fr={d:"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"},Ur={key:0};function Hr(t,n,o,l,a,r){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",Fr,[o.title?(e.openBlock(),e.createElementBlock("title",Ur,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,xr))],16,Mr)}const ro=D(Rr,[["render",Hr]]),zr={name:"CheckCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wr=["aria-hidden","aria-label"],jr=["fill","width","height"],Gr={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"},Kr={key:0};function Yr(t,n,o,l,a,r){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",Gr,[o.title?(e.openBlock(),e.createElementBlock("title",Kr,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,jr))],16,Wr)}const qr=D(zr,[["render",Yr]]),Xr={name:"PlayCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Zr=["aria-hidden","aria-label"],Jr=["fill","width","height"],Qr={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"},ea={key:0};function ta(t,n,o,l,a,r){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",Qr,[o.title?(e.openBlock(),e.createElementBlock("title",ea,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Jr))],16,Zr)}const na=D(Xr,[["render",ta]]),oa={name:"CloseCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},la=["aria-hidden","aria-label"],ra=["fill","width","height"],aa={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"},ia={key:0};function sa(t,n,o,l,a,r){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",aa,[o.title?(e.openBlock(),e.createElementBlock("title",ia,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ra))],16,la)}const gn=D(oa,[["render",sa]]),ca={name:"StopCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ua=["aria-hidden","aria-label"],da=["fill","width","height"],ma={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"},fa={key:0};function pa(t,n,o,l,a,r){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",ma,[o.title?(e.openBlock(),e.createElementBlock("title",fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,da))],16,ua)}const ga=D(ca,[["render",pa]]),ha={name:"SkipPreviousCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Ea=["aria-hidden","aria-label"],ya=["fill","width","height"],ka={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"},_a={key:0};function va(t,n,o,l,a,r){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",ka,[o.title?(e.openBlock(),e.createElementBlock("title",_a,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ya))],16,Ea)}const Ca=D(ha,[["render",va]]),Na={name:"AlertCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sa=["aria-hidden","aria-label"],ba=["fill","width","height"],wa={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"},La={key:0};function Ta(t,n,o,l,a,r){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",wa,[o.title?(e.openBlock(),e.createElementBlock("title",La,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ba))],16,Sa)}const At=D(Na,[["render",Ta]]),Ba={name:"DotsVerticalCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Va=["aria-hidden","aria-label"],Ia=["fill","width","height"],Aa={d:"M2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12M10.5,12A1.5,1.5 0 0,0 12,13.5A1.5,1.5 0 0,0 13.5,12A1.5,1.5 0 0,0 12,10.5A1.5,1.5 0 0,0 10.5,12M10.5,17.5A1.5,1.5 0 0,0 12,19A1.5,1.5 0 0,0 13.5,17.5A1.5,1.5 0 0,0 12,16A1.5,1.5 0 0,0 10.5,17.5M10.5,6.5A1.5,1.5 0 0,0 12,8A1.5,1.5 0 0,0 13.5,6.5A1.5,1.5 0 0,0 12,5A1.5,1.5 0 0,0 10.5,6.5Z"},Da={key:0};function $a(t,n,o,l,a,r){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",Aa,[o.title?(e.openBlock(),e.createElementBlock("title",Da,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ia))],16,Va)}const Oa=D(Ba,[["render",$a]]),Pa={name:"MotionPauseOutlineIcon",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"],xa={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"},Fa={key:0};function Ua(t,n,o,l,a,r){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",xa,[o.title?(e.openBlock(),e.createElementBlock("title",Fa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Ma))],16,Ra)}const Ha=D(Pa,[["render",Ua]]),za={name:"RefreshIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Wa=["aria-hidden","aria-label"],ja=["fill","width","height"],Ga={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"},Ka={key:0};function Ya(t,n,o,l,a,r){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",Ga,[o.title?(e.openBlock(),e.createElementBlock("title",Ka,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ja))],16,Wa)}const ao=D(za,[["render",Ya]]),qa={name:"CancelIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Xa=["aria-hidden","aria-label"],Za=["fill","width","height"],Ja={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"},Qa={key:0};function ei(t,n,o,l,a,r){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",Ja,[o.title?(e.openBlock(),e.createElementBlock("title",Qa,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,Za))],16,Xa)}const io=D(qa,[["render",ei]]),ti=["ERROR","WARN","INFO","DEBUG","TRACE"],z=Object.freeze({CREATED:{name:"CREATED",color:"#1761FD",colorClass:"cyan",icon:Oa,isRunning:!0,isKillable:!0,isFailed:!1},RESTARTED:{name:"RESTARTED",color:"#1761FD",colorClass:"cyan",icon:Ca,isRunning:!1,isKillable:!0,isFailed:!1},SUCCESS:{name:"SUCCESS",color:"#029E73",colorClass:"green",icon:qr,isRunning:!1,isKillable:!1,isFailed:!1},RUNNING:{name:"RUNNING",color:"#8405FF",colorClass:"purple",icon:na,isRunning:!0,isKillable:!0,isFailed:!1},KILLING:{name:"KILLING",color:"#FCE07C",colorClass:"yellow",icon:gn,isRunning:!0,isKillable:!0,isFailed:!0},KILLED:{name:"KILLED",color:"#FCE07C",colorClass:"yellow",icon:ga,isRunning:!1,isKillable:!1,isFailed:!0},WARNING:{name:"WARNING",color:"#DD5F00",colorClass:"orange",icon:At,isRunning:!1,isKillable:!1,isFailed:!0},FAILED:{name:"FAILED",color:"#AB0009",colorClass:"red",icon:gn,isRunning:!1,isKillable:!1,isFailed:!0},PAUSED:{name:"PAUSED",color:"#918BA9",colorClass:"indigo",icon:ro,isRunning:!0,isKillable:!0,isFailed:!1},CANCELLED:{name:"CANCELLED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},SKIPPED:{name:"SKIPPED",color:"#918BA9",colorClass:"gray",icon:io,isRunning:!1,isKillable:!1,isFailed:!0},QUEUED:{name:"QUEUED",color:"#918BA9",colorClass:"gray",icon:Ha,isRunning:!1,isKillable:!1,isFailed:!1},RETRYING:{name:"RETRYING",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!0,isFailed:!1},RETRIED:{name:"RETRIED",color:"#918BA9",colorClass:"gray",icon:ao,isRunning:!1,isKillable:!1,isFailed:!1},BREAKPOINT:{name:"BREAKPOINT",color:"#918BA9",colorClass:"gray",icon:ro,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 Nt(z,n=>({key:n.name,icon:n.icon,color:""}))}static arrayAllStates(){return Object.values(z)}static colorClass(){return Nt(z,n=>n.colorClass)}static color(){return Nt(z,n=>Ce("--bs-"+n.colorClass))}static getStateColor(n){return z[n].color}static icon(){return Nt(z,n=>n.icon)}static getTerminatedStates(){return Object.values(z).filter(n=>!n.isRunning).map(n=>n.name)}}let St;async function ni(){if(St)return St;const t=await Promise.resolve().then(()=>require("./useMarkdownParser-cPr4eWCu.cjs"));return St=await(t.default??t)(),St}var Vt={exports:{}},oi=Vt.exports,so;function li(){return so||(so=1,(function(t,n){(function(o,l,a){t.exports=a(),t.exports.default=a()})("slugify",oi,function(){var o=JSON.parse(`{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E'","Ը":"Y'","Թ":"T'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C'","Կ":"K","Հ":"H","Ձ":"D'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P'","Ք":"Q'","Օ":"O''","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"'","’":"'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}`),l=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function a(r,i){if(typeof r!="string")throw new Error("slugify: string argument expected");i=typeof i=="string"?{replacement:i}:i||{};var s=l[i.locale]||{},c=i.replacement===void 0?"-":i.replacement,u=i.trim===void 0?!0:i.trim,d=r.normalize().split("").reduce(function(p,h){var _=s[h];return _===void 0&&(_=o[h]),_===void 0&&(_=h),_===c&&(_=" "),p+_.replace(i.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return i.strict&&(d=d.replace(/[^A-Za-z0-9\s]/g,"")),u&&(d=d.trim()),d=d.replace(/\s+/g,c),i.lower&&(d=d.toLowerCase()),d}return a.extend=function(r){Object.assign(o,r)},a})})(Vt)),Vt.exports}var ri=li();const Jo=W.getDefaultExportFromCjs(ri);Jo.extend({"(":"-",")":""});function he(t){return Jo(t,{lower:!0,locale:"en"})}function Dn(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,a)=>` ${a.toUpperCase()}`);return o.charAt(0).toUpperCase()+o.slice(1)}function Ht(t){return Object.fromEntries(Object.entries(t).filter(([n,o])=>Dn(n,o)).map(([n,o])=>[n.replace(/[A-Z]/g,l=>` ${l}`),o.filter(({deprecated:l})=>!l).map(({cls:l})=>l)]))}function ai(t){return t.flatMap(n=>{const o=Object.entries(n).filter(([l,a])=>Dn(l,a)).map(([l,a])=>[l,a.filter(r=>!r.deprecated)]).filter(([,l])=>l.length>0);return o.length>0?[{...n,...Object.fromEntries(o)}]:[]})}function ii(t){const n={clsToSubgroup:{},clsToPlugin:{},shortNameToCls:{}};for(const o of t??[]){const l=Ht(o),a=o.group??o.name??"",r=he(a),i=o.subGroup?he(De(o)):void 0;Object.values(l).forEach(s=>{s.forEach(c=>{i&&(n.clsToSubgroup[c]=i),n.clsToPlugin[c]={slug:r,raw:a};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 Qo(t){const n=e.computed(()=>{const l=e.isRef(t)?t.value:t;return l?Ht(l):{}}),o=e.computed(()=>Object.values(n.value).reduce((l,a)=>l+a.length,0));return{elementsByType:n,total:o}}const si={name:"DotsCircleIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ci=["aria-hidden","aria-label"],ui=["fill","width","height"],di={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"},mi={key:0};function fi(t,n,o,l,a,r){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",di,[o.title?(e.openBlock(),e.createElementBlock("title",mi,e.toDisplayString(o.title),1)):e.createCommentVNode("",!0)])],8,ui))],16,ci)}const pi=D(si,[["render",fi]]),gi=e.defineComponent({__name:"RotatingDots",props:{alt:{}},setup(t){return(n,o)=>(e.openBlock(),e.createBlock(pi,{class:"loading-dots-circle",alt:n.alt},null,8,["alt"]))}}),el=D(gi,[["__scopeId","data-v-a7ad4137"]]);/*!
2
2
  * shared v11.1.12
3
3
  * (c) 2025 kazuya kawaguchi
4
4
  * Released under the MIT License.
@@ -32,5 +32,5 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
32
32
  type: "${l.pluginType}"
33
33
  `.concat(v.code),u=e.ref(),d=e.computed(()=>l.schema.properties?.$examples),p=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(v=>[v.name,{...v,name:void 0}]))),{getHighlighterCore:h}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);u.value=([n,o]=e.withAsyncContext(()=>h()),n=await n,o(),n);const _="github-"+(l.darkMode?"dark":"light");return e.onMounted(()=>{s(),window.addEventListener("hashchange",s)}),e.onUnmounted(()=>{window.removeEventListener("hashchange",s)}),(v,k)=>(e.openBlock(),e.createElementBlock("div",I1,[e.createElementVNode("div",A1,[v.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",D1,[...k[0]||(k[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),v.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",$1,[e.renderSlot(v.$slots,"markdown",{content:v.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),v.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",O1,[e.renderSlot(v.$slots,"markdown",{content:v.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(xt,{highlighter:u.value,language:"yaml",theme:_,code:`type: "${v.pluginType}"`,key:v.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column gap-3",key:v.pluginType},[d.value?(e.openBlock(),e.createBlock(ht,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":v.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",P1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(E,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:v.pluginType+"-"+f},[e.createElementVNode("div",R1,[e.createElementVNode("div",M1,[E.title?e.renderSlot(v.$slots,"markdown",{key:0,content:E.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),E.code?(e.openBlock(),e.createBlock(xt,{key:0,highlighter:u.value,language:E.lang??"yaml",theme:_,code:c(E)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),f<d.value.length-1?(e.openBlock(),e.createElementBlock("hr",x1)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),v.schema.properties?.properties?(e.openBlock(),e.createBlock(Bt,{key:1,class:"plugin-section",properties:v.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":v.propsInitiallyExpanded,"force-include":v.forceIncludeProperties,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",F1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","no-url-change"])):e.createCommentVNode("",!0),v.schema.outputs?.properties&&Object.keys(v.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(Bt,{key:2,class:"plugin-section",properties:v.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",U1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):e.createCommentVNode("",!0),v.schema.properties?.$metrics?(e.openBlock(),e.createBlock(Bt,{key:3,class:"plugin-section",properties:p.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:E})=>[e.createElementVNode("div",H1,[e.renderSlot(v.$slots,"markdown",{content:E},void 0,!0)])]),_:3},8,["properties","no-url-change"])):e.createCommentVNode("",!0),v.schema.definitions&&Object.keys(v.schema.definitions).length>0?(e.openBlock(),e.createBlock(ht,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":a.value,key:`definitions-${v.pluginType}-${i.value}`,"no-url-change":v.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",z1,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.entries(v.schema.definitions),([E,f])=>(e.openBlock(),e.createBlock(Bt,{properties:f.properties,"section-name":f.title??E.split("_")[0],href:E,"show-dynamic":!1,"initially-expanded":r.value.has(E),key:v.pluginType+"-"+E,class:"plugin-section nested-button-py-2",onExpand:y=>{a.value=!0,r.value.add(E)},"no-url-change":v.noUrlChange},{markdown:e.withCtx(({content:y})=>[e.createElementVNode("div",W1,[e.renderSlot(v.$slots,"markdown",{content:y},void 0,!0)])]),_:3},8,["properties","section-name","href","initially-expanded","onExpand","no-url-change"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),G1=D(j1,[["__scopeId","data-v-af023a1d"]]),K1={key:0},Y1={class:"type-box rounded fs-7 px-2 py-1"},q1={key:1},X1={class:"border rounded px-2 py-1"},Z1={key:2},J1={class:"border rounded px-2 py-1"},Q1={key:3},eh={class:"border rounded px-2 py-1"},th={key:4},nh={class:"border rounded px-2 py-1"},oh={key:5},lh={class:"border rounded px-2 py-1"},rh={key:6},ah={class:"border rounded px-2 py-1"},ih={key:7},sh={class:"border rounded px-2 py-1"},ch={key:8},uh={class:"border rounded px-2 py-1"},dh={key:9},mh={class:"border rounded px-2 py-1"},fh={key:10},ph={class:"border rounded px-2 py-1"},gh={key:11},hh={class:"border rounded px-2 py-1"},Eh={key:12},yh={class:"border rounded px-2 py-1"},kh={key:13},_h={class:"values-wrapper d-flex flex-wrap justify-content-end gap-7 p-0"},vh=e.defineComponent({__name:"PropertyMeta",props:{property:{},subtype:{},enumValues:{}},setup(t){return(n,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[n.subtype&&!n.subtype.startsWith("#")?(e.openBlock(),e.createElementBlock("div",K1,[o[0]||(o[0]=e.createElementVNode("span",null,"SubType",-1)),e.createElementVNode("span",Y1,e.toDisplayString(n.subtype),1)])):e.createCommentVNode("",!0),n.property.default!==void 0?(e.openBlock(),e.createElementBlock("div",q1,[o[1]||(o[1]=e.createElementVNode("span",null,"Default",-1)),e.createElementVNode("code",X1,e.toDisplayString(n.property.default),1)])):e.createCommentVNode("",!0),n.property.pattern!==void 0?(e.openBlock(),e.createElementBlock("div",Z1,[o[2]||(o[2]=e.createElementVNode("span",null,"Validation RegExp",-1)),e.createElementVNode("code",J1,e.toDisplayString(n.property.pattern),1)])):e.createCommentVNode("",!0),n.property.unit!==void 0&&n.property.unit.trim().length>0?(e.openBlock(),e.createElementBlock("div",Q1,[o[3]||(o[3]=e.createElementVNode("span",null,"Unit",-1)),e.createElementVNode("code",eh,e.toDisplayString(n.property.unit),1)])):e.createCommentVNode("",!0),n.property.minLength!==void 0?(e.openBlock(),e.createElementBlock("div",th,[o[4]||(o[4]=e.createElementVNode("span",null,"Min length",-1)),e.createElementVNode("code",nh,e.toDisplayString(n.property.minLength),1)])):e.createCommentVNode("",!0),n.property.maxLength!==void 0?(e.openBlock(),e.createElementBlock("div",oh,[o[5]||(o[5]=e.createElementVNode("span",null,"Max length",-1)),e.createElementVNode("code",lh,e.toDisplayString(n.property.maxLength),1)])):e.createCommentVNode("",!0),n.property.minItems!==void 0?(e.openBlock(),e.createElementBlock("div",rh,[o[6]||(o[6]=e.createElementVNode("span",null,"Min items",-1)),e.createElementVNode("code",ah,e.toDisplayString(n.property.minItems),1)])):e.createCommentVNode("",!0),n.property.maxItems!==void 0?(e.openBlock(),e.createElementBlock("div",ih,[o[7]||(o[7]=e.createElementVNode("span",null,"Max items",-1)),e.createElementVNode("code",sh,e.toDisplayString(n.property.maxItems),1)])):e.createCommentVNode("",!0),n.property.minimum!==void 0?(e.openBlock(),e.createElementBlock("div",ch,[o[8]||(o[8]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",uh,">= "+e.toDisplayString(n.property.minimum),1)])):e.createCommentVNode("",!0),n.property.exclusiveMinimum!==void 0?(e.openBlock(),e.createElementBlock("div",dh,[o[9]||(o[9]=e.createElementVNode("span",null,"Minimum",-1)),e.createElementVNode("code",mh,"> "+e.toDisplayString(n.property.minimum),1)])):e.createCommentVNode("",!0),n.property.maximum!==void 0?(e.openBlock(),e.createElementBlock("div",fh,[o[10]||(o[10]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",ph,"<= "+e.toDisplayString(n.property.maximum),1)])):e.createCommentVNode("",!0),n.property.exclusiveMaximum!==void 0?(e.openBlock(),e.createElementBlock("div",gh,[o[11]||(o[11]=e.createElementVNode("span",null,"Maximum",-1)),e.createElementVNode("code",hh,"< "+e.toDisplayString(n.property.maximum),1)])):e.createCommentVNode("",!0),n.property.format!==void 0?(e.openBlock(),e.createElementBlock("div",Eh,[o[12]||(o[12]=e.createElementVNode("span",null,"Format",-1)),e.createElementVNode("code",yh,e.toDisplayString(n.property.format),1)])):e.createCommentVNode("",!0),n.enumValues!==void 0?(e.openBlock(),e.createElementBlock("div",kh,[o[13]||(o[13]=e.createElementVNode("span",null,"Possible Values",-1)),e.createElementVNode("div",_h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.enumValues,(l,a)=>(e.openBlock(),e.createElementBlock("code",{class:"border rounded px-2 py-1",key:a},e.toDisplayString(l),1))),128))])])):e.createCommentVNode("",!0)],64))}}),rr=D(vh,[["__scopeId","data-v-2d5ac2ae"]]),Ch={class:"d-flex flex-grow-1 align-items-center"},Nh=e.defineComponent({__name:"PropertyBadges",props:{property:{},showDynamic:{type:Boolean,default:!0},sectionClass:{default:""}},setup(t){function n(o){return at(o).types.filter(a=>!a.startsWith("#"))}return(o,l)=>(e.openBlock(),e.createElementBlock("span",Ch,[e.createElementVNode("span",{class:e.normalizeClass(["d-flex gap-2 flex-wrap align-items-center",o.sectionClass])},[o.property&&o.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),o.showDynamic&&o.property&&!e.unref(Ql)(o.property)?(e.openBlock(),e.createBlock(j,{key:1,class:"d-flex",title:"Non-dynamic"},{default:e.withCtx(()=>[e.createVNode(or,{class:"text-info"})]),_:1})):e.createCommentVNode("",!0),o.property&&o.property.$beta?(e.openBlock(),e.createBlock(j,{key:2,class:"d-flex",title:"Beta"},{default:e.withCtx(()=>[e.createVNode(lr,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),o.property&&o.property.$deprecated?(e.openBlock(),e.createBlock(j,{key:3,class:"d-flex",title:"Deprecated"},{default:e.withCtx(()=>[e.createVNode(Kt,{class:"text-warning"})]),_:1})):e.createCommentVNode("",!0),o.property?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:4},e.renderList(n(o.property),a=>(e.openBlock(),e.createElementBlock("span",{key:a,class:"type-box rounded fs-7 px-2 py-1"},e.toDisplayString(a),1))),128)):e.createCommentVNode("",!0)],2)]))}}),ar=D(Nh,[["__scopeId","data-v-f088032b"]]),Sh={class:"def-content"},bh={class:"d-flex align-items-center justify-content-between gap-2"},wh={key:0,class:"property-desc mt-2"},Lh={key:1,class:"mt-3 nested-defs"},Th=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=w.sanitizeForMarkdown,l=s=>{const c=at(s).subType;return c&&!c.startsWith("#")?c:void 0},a=s=>Zn(s),r=s=>{const c=n.definitions,u=n.depth,d=n.maxDepth,p=n.visitedKeys;return!c||u>=d?[]:Jl(s,c,p)},i=e.computed(()=>{const s=new Set(n.visitedKeys);return s.add(n.definition.key),s});return(s,c)=>{const u=e.resolveComponent("DefinitionCollapsible",!0);return e.openBlock(),e.createBlock(Et,{title:s.definition.title,href:`def-${s.definition.key}`,class:e.normalizeClass(["def-collapsible",`section-${s.section}`]),arrow:"","no-url-change":""},{content:e.withCtx(()=>[e.createElementVNode("div",Sh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.definition.properties,(d,p)=>(e.openBlock(),e.createElementBlock("div",{key:p,class:"def-property"},[e.createElementVNode("div",bh,[e.createElementVNode("span",null,e.toDisplayString(p),1),e.createVNode(ar,{property:d,"show-dynamic":!1,"section-class":"section-properties"},null,8,["property"])]),e.createVNode(rr,{property:d,subtype:l(d),"enum-values":a(d)},null,8,["property","subtype","enum-values"]),d.title!==void 0||d.description!==void 0?(e.openBlock(),e.createElementBlock("div",wh,[d.title?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(o)(d.title)},void 0,!0):e.createCommentVNode("",!0),d.description?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(o)(d.description)},void 0,!0):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),s.depth<s.maxDepth&&r(d).length?(e.openBlock(),e.createElementBlock("div",Lh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r(d),h=>(e.openBlock(),e.createBlock(u,{key:`${s.definition.key}-${h.key}`,definition:h,definitions:s.definitions,"visited-keys":i.value,depth:s.depth+1,"max-depth":s.maxDepth},{markdown:e.withCtx(({content:_})=>[e.renderSlot(s.$slots,"markdown",{content:_},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth"]))),128))])):e.createCommentVNode("",!0)]))),128))])]),_:3},8,["title","href","class"])}}}),Bh=D(Th,[["__scopeId","data-v-982b6946"]]),Vh={class:"property-detail"},Ih={key:0},Ah={class:"property-description markdown"},Dh={key:2},$h={key:3,class:"mt-3"},Oh=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(()=>at(n.property).subType),l=e.computed(()=>Zn(n.property)),a=e.computed(()=>{const s=n.definitions,c=n.depth,u=n.maxDepth,d=n.property,p=n.visitedKeys;return!s||c>=u?[]:Jl(d,s,p)}),r=e.computed(()=>{const s=new Set(n.visitedKeys);return a.value.forEach(c=>s.add(c.key)),s}),i=w.sanitizeForMarkdown;return(s,c)=>(e.openBlock(),e.createElementBlock("div",Vh,[e.createVNode(rr,{property:s.property,subtype:o.value,"enum-values":l.value},null,8,["property","subtype","enum-values"]),s.property.title!==void 0||s.property.description!==void 0||s.depth<s.maxDepth&&a.value.length>0?(e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("div",Ah,[s.property.title!==void 0?e.renderSlot(s.$slots,"markdown",{key:0,content:e.unref(i)(s.property.title)},void 0,!0):e.createCommentVNode("",!0),s.property.description!==void 0?e.renderSlot(s.$slots,"markdown",{key:1,content:e.unref(i)(s.property.description)},void 0,!0):e.createCommentVNode("",!0),s.property.$internalStorageURI?(e.openBlock(),e.createElementBlock("div",Dh,[e.createVNode(er,{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),s.depth<s.maxDepth&&a.value.length>0?(e.openBlock(),e.createElementBlock("div",$h,[c[0]||(c[0]=e.createElementVNode("div",{class:"definitions-header"}," Definitions ",-1)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,u=>(e.openBlock(),e.createBlock(Bh,{key:`${u.key}-${s.depth}`,definition:u,definitions:s.definitions,"visited-keys":r.value,depth:s.depth+1,"max-depth":s.maxDepth,section:s.section},{markdown:e.withCtx(({content:d})=>[e.renderSlot(s.$slots,"markdown",{content:d},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth","section"]))),128))])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}}),Ph=D(Oh,[["__scopeId","data-v-023aa8d8"]]),Rh={class:"border overflow-hidden"},Mh=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,a=e.computed(()=>{const s=o.sectionName.toLowerCase();return s==="properties"?"section-properties":s==="outputs"?"section-outputs":s==="metrics"?"section-metrics":""}),r=e.ref(!1);e.watch(r,s=>{s&&l("expand")});function i(s){const c=[],u=[];for(const h in s)typeof s[h]=="object"&&(s[h]=Zl(s[h]),s[h].$required?c.push(h):u.push(h));const d=[...c.sort(),...u.sort()],p={};return d.forEach(h=>{(!s[h].$deprecated||o.forceInclude?.includes(h))&&(p[h]=s[h])}),p}return(s,c)=>(e.openBlock(),e.createBlock(Et,{class:"section-collapsible",title:s.sectionName,href:s.href,onExpand:c[1]||(c[1]=u=>l("expand")),"initially-expanded":s.initiallyExpanded||r.value,"no-url-change":s.noUrlChange},e.createSlots({_:2},[Object.keys(s.properties??{}).length>0?{name:"content",fn:e.withCtx(()=>[e.createElementVNode("div",Rh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i(s.properties),(u,d)=>(e.openBlock(),e.createBlock(Et,{class:e.normalizeClass(["property",a.value]),key:d,title:d,href:s.href+"_"+d,onExpand:c[0]||(c[0]=p=>r.value=!0),"no-url-change":s.noUrlChange},{right:e.withCtx(()=>[e.createVNode(ar,{property:u,"show-dynamic":s.showDynamic},null,8,["property","show-dynamic"])]),content:e.withCtx(()=>[e.createVNode(Ph,{property:u,definitions:s.definitions,section:s.sectionName.toLowerCase()},{markdown:e.withCtx(({content:p})=>[e.renderSlot(s.$slots,"markdown",{content:p},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"]))}}),fn=D(Mh,[["__scopeId","data-v-09967fee"]]),xh={class:"d-flex flex-column gap-6"},Fh={class:"d-flex flex-column"},Uh={key:0,class:"alert alert-info mb-2",role:"alert"},Hh={key:1,class:"plugin-title markdown"},zh={key:2,class:"markdown"},Wh={class:"d-flex flex-column gap-4"},jh={class:"d-flex flex-column"},Gh={class:"markdown"},Kh={key:0,class:"w-100 align-self-center"},Yh={class:"markdown"},qh={class:"markdown"},Xh={class:"markdown"},Zh=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,a=d=>d?.full?d.code:`id: "${l.pluginType.split(".").reverse()[0]?.toLowerCase()}"
34
34
  type: "${l.pluginType}"
35
- `.concat(d.code),r=e.ref(),i=e.computed(()=>l.schema.properties?.$examples),s=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(d=>[d.name,{...d,name:void 0}]))),{getHighlighterCore:c}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);r.value=([n,o]=e.withAsyncContext(()=>c()),n=await n,o(),n);const u="github-"+(l.darkMode?"dark":"light");return(d,p)=>(e.openBlock(),e.createElementBlock("div",xh,[e.createElementVNode("div",Fh,[d.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",Uh,[...p[0]||(p[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),d.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",Hh,[e.renderSlot(d.$slots,"markdown",{content:d.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),d.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",zh,[e.renderSlot(d.$slots,"markdown",{content:d.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(xt,{highlighter:r.value,language:"yaml",theme:u,code:`type: "${d.pluginType}"`,key:d.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column",key:d.pluginType},[i.value?(e.openBlock(),e.createBlock(Et,{key:0,class:"plugin-section",title:"Examples",href:"examples","no-url-change":d.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",Wh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(h,_)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.pluginType+"-"+_},[e.createElementVNode("div",jh,[e.createElementVNode("div",Gh,[h.title?e.renderSlot(d.$slots,"markdown",{key:0,content:h.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),h.code?(e.openBlock(),e.createBlock(xt,{key:0,highlighter:r.value,language:h.lang??"yaml",theme:u,code:a(h)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),_<i.value.length-1?(e.openBlock(),e.createElementBlock("hr",Kh)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.properties?(e.openBlock(),e.createBlock(fn,{key:1,class:"plugin-section",properties:d.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":d.propsInitiallyExpanded,"force-include":d.forceIncludeProperties,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Yh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.outputs?.properties&&Object.keys(d.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(fn,{key:2,class:"plugin-section",properties:d.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",qh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.$metrics?(e.openBlock(),e.createBlock(fn,{key:3,class:"plugin-section",properties:s.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Xh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),Jh=D(Zh,[["__scopeId","data-v-e72c2f7b"]]),Qh={class:"d-flex flex-column gap-4"},eE={key:0,class:"pb-2"},tE={class:"row g-4 last"},nE=["id"],oE={class:"row g-4 last"},lE={key:2,class:"description"},rE={key:0,class:"gradient-overlay"},aE={key:0,class:"more-wrap text-center"},iE=e.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{},activeId:{},subgroupBlueprintCounts:{},metadataMap:{},schemas:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=b=>o.metadataMap?.[b.subGroup??b.group],a=b=>l(b)?.description??b.description,r=b=>l(b)?.title??b.title??De(b),i=e.computed(()=>o.plugins.find(b=>o.subGroup===void 0?!0:he(De(b))===o.subGroup)),s=e.computed(()=>i.value?.longDescription??i.value?.description),c=e.computed(()=>o.plugins.filter(b=>b.name.toLowerCase()===o.pluginName.toLowerCase()&&b.subGroup!==void 0)),u=b=>{let I=b.split(".");return I?.[I.length-1]},d=b=>`${o.routePath}/${b}`;function p(b){const I=Ht(b);return Object.values(I).reduce((N,M)=>N+M.length,0)}const{elementsByType:h}=Qo(i),_=e.ref(null),v=e.ref(null),k=e.ref(!1),{height:E}=qo(_),{height:f}=qo(v),y=e.computed(()=>f.value>E.value+2),T=()=>{k.value=!k.value},S=n;return(b,I)=>(e.openBlock(),e.createElementBlock("div",Qh,[b.subGroup===void 0&&b.plugins.length>1?(e.openBlock(),e.createElementBlock("div",eE,[e.createElementVNode("div",tE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,N=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:e.unref(De)(N)},[e.createVNode(Yl,{id:e.unref(he)(e.unref(De)(N)),"icon-b64-svg":"data:image/svg+xml;base64,"+(b.icons[N.subGroup]??b.icons[N.group]),text:r(N),description:a(N),href:`${b.routePath}/${e.unref(he)(e.unref(De)(N))}`,"route-path":b.routePath,"plugin-group":N.group??N.name,"total-count":p(N),"blueprints-count":o.subgroupBlueprintCounts?.[`${e.unref(he)(N.group??N.name)}-${e.unref(he)(e.unref(De)(N))}`]??0,"is-active":b.activeId===e.unref(he)(e.unref(De)(N)),class:"text-capitalize h-100",onNavigate:I[0]||(I[0]=M=>S("navigate",M))},null,8,["id","icon-b64-svg","text","description","href","route-path","plugin-group","total-count","blueprints-count","is-active"])]))),128))])])):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(h),(N,M)=>(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column elements-section pb-3",key:M},[e.createElementVNode("h4",{id:`section-${e.unref(he)(M)}`,class:"text-capitalize"},e.toDisplayString(M),9,nE),e.createElementVNode("div",oE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N,F=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:F},[e.createVNode(ql,{id:e.unref(he)(F),"icon-b64-svg":"data:image/svg+xml;base64,"+(b.icons[F]??b.icons[i.value.subGroup??i.value.group]??b.icons[i.value.group]),text:u(F),"plugin-class":F,href:d(F),"route-path":b.routePath,"is-active":b.activeId===e.unref(he)(F),title:b.schemas?.[F]?.title,class:"h-100",onNavigate:I[1]||(I[1]=Q=>S("navigate",Q))},{markdown:e.withCtx(({content:Q})=>[e.renderSlot(b.$slots,"markdown",{content:Q},void 0,!0)]),_:3},8,["id","icon-b64-svg","text","plugin-class","href","route-path","is-active","title"])]))),128))])]))),128)),s.value!==void 0&&i.value.longDescription?(e.openBlock(),e.createElementBlock("div",lE,[I[2]||(I[2]=e.createElementVNode("h4",{id:"how-to-use-this-plugin"}," How to use this plugin ",-1)),e.createElementVNode("div",{ref_key:"contentWrap",ref:_,class:e.normalizeClass(["markdown-container",{expanded:k.value}])},[e.createElementVNode("div",{ref_key:"contentInner",ref:v,class:"markdown-inner"},[e.renderSlot(b.$slots,"markdown",{content:s.value.replace(/ *:(?![ /])/g,": ")},void 0,!0)],512),y.value&&!k.value?(e.openBlock(),e.createElementBlock("div",rE)):e.createCommentVNode("",!0)],2),y.value||k.value?(e.openBlock(),e.createElementBlock("div",aE,[e.createElementVNode("button",{class:"more-btn",onClick:T},[e.createTextVNode(e.toDisplayString(k.value?"See less":"See more")+" ",1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value?nr:Xn)))])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}}),sE=D(iE,[["__scopeId","data-v-039bad81"]]),cE=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,uE=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,dE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function mE(t,n){if(t==="__proto__"||t==="constructor"&&n&&typeof n=="object"&&"prototype"in n){fE(t);return}return n}function fE(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function pE(t,n={}){if(typeof t!="string")return t;if(t[0]==='"'&&t[t.length-1]==='"'&&t.indexOf("\\")===-1)return t.slice(1,-1);const o=t.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!dE.test(t)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(cE.test(t)||uE.test(t)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,mE)}return JSON.parse(t)}catch(l){if(n.strict)throw l;return t}}const gE=/\d/,hE=["-","_","/","."];function EE(t=""){if(!gE.test(t))return t!==t.toLowerCase()}function ir(t,n){const o=hE,l=[];if(!t||typeof t!="string")return l;let a="",r,i;for(const s of t){const c=o.includes(s);if(c===!0){l.push(a),a="",r=void 0;continue}const u=EE(s);if(i===!1){if(r===!1&&u===!0){l.push(a),a=s,r=u;continue}if(r===!0&&u===!1&&a.length>1){const d=a.at(-1);l.push(a.slice(0,Math.max(0,a.length-1))),a=d+s,r=u;continue}}a+=s,r=u,i=c}return l.push(a),l}function yE(t){return t?t[0].toUpperCase()+t.slice(1):""}function sr(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>yE(o)).join(""):""}function kE(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>o.toLowerCase()).join("-"):""}class kt{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}kt.prototype.normal={};kt.prototype.property={};kt.prototype.space=void 0;function cr(t,n){const o={},l={};for(const a of t)Object.assign(o,a.property),Object.assign(l,a.normal);return new kt(o,l,n)}function Tn(t){return t.toLowerCase()}class ke{constructor(n,o){this.attribute=o,this.property=n}}ke.prototype.attribute="";ke.prototype.booleanish=!1;ke.prototype.boolean=!1;ke.prototype.commaOrSpaceSeparated=!1;ke.prototype.commaSeparated=!1;ke.prototype.defined=!1;ke.prototype.mustUseProperty=!1;ke.prototype.number=!1;ke.prototype.overloadedBoolean=!1;ke.prototype.property="";ke.prototype.spaceSeparated=!1;ke.prototype.space=void 0;let _E=0;const U=Ze(),se=Ze(),Bn=Ze(),V=Ze(),J=Ze(),ot=Ze(),ve=Ze();function Ze(){return 2**++_E}const Vn=Object.freeze(Object.defineProperty({__proto__:null,boolean:U,booleanish:se,commaOrSpaceSeparated:ve,commaSeparated:ot,number:V,overloadedBoolean:Bn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),pn=Object.keys(Vn);class Jn extends ke{constructor(n,o,l,a){let r=-1;if(super(n,o),Xo(this,"space",a),typeof l=="number")for(;++r<pn.length;){const i=pn[r];Xo(this,pn[r],(l&Vn[i])===Vn[i])}}}Jn.prototype.defined=!0;function Xo(t,n,o){o&&(t[n]=o)}function it(t){const n={},o={};for(const[l,a]of Object.entries(t.properties)){const r=new Jn(l,t.transform(t.attributes||{},l),a,t.space);t.mustUseProperty&&t.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,o[Tn(l)]=l,o[Tn(r.attribute)]=l}return new kt(n,o,t.space)}const ur=it({properties:{ariaActiveDescendant:null,ariaAtomic:se,ariaAutoComplete:null,ariaBusy:se,ariaChecked:se,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:se,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:se,ariaFlowTo:J,ariaGrabbed:se,ariaHasPopup:null,ariaHidden:se,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:V,ariaLive:null,ariaModal:se,ariaMultiLine:se,ariaMultiSelectable:se,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:se,ariaReadOnly:se,ariaRelevant:null,ariaRequired:se,ariaRoleDescription:J,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:se,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null},transform(t,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function dr(t,n){return n in t?t[n]:n}function mr(t,n){return dr(t,n.toLowerCase())}const vE=it({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ot,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:U,allowPaymentRequest:U,allowUserMedia:U,alt:null,as:null,async:U,autoCapitalize:null,autoComplete:J,autoFocus:U,autoPlay:U,blocking:J,capture:null,charSet:null,checked:U,cite:null,className:J,cols:V,colSpan:null,content:null,contentEditable:se,controls:U,controlsList:J,coords:V|ot,crossOrigin:null,data:null,dateTime:null,decoding:null,default:U,defer:U,dir:null,dirName:null,disabled:U,download:Bn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:U,formTarget:null,headers:J,height:V,hidden:Bn,high:V,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:U,inputMode:null,integrity:null,is:null,isMap:U,itemId:null,itemProp:J,itemRef:J,itemScope:U,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:U,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:U,muted:U,name:null,nonce:null,noModule:U,noValidate:U,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:U,optimum:V,pattern:null,ping:J,placeholder:null,playsInline:U,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:U,referrerPolicy:null,rel:J,required:U,reversed:U,rows:V,rowSpan:V,sandbox:J,scope:null,scoped:U,seamless:U,selected:U,shadowRootClonable:U,shadowRootDelegatesFocus:U,shadowRootMode:null,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:se,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:U,useMap:null,value:se,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:U,declare:U,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:U,noHref:U,noShade:U,noWrap:U,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:se,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:U,disableRemotePlayback:U,prefix:null,property:null,results:V,security:null,unselectable:null},space:"html",transform:mr}),CE=it({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ve,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:J,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:U,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ot,g2:ot,glyphName:ot,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:ve,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ve,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ve,rev:ve,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ve,requiredFeatures:ve,requiredFonts:ve,requiredFormats:ve,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:ve,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ve,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ve,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:dr}),fr=it({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,n){return"xlink:"+n.slice(5).toLowerCase()}}),pr=it({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:mr}),gr=it({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,n){return"xml:"+n.slice(3).toLowerCase()}}),NE=/[A-Z]/g,Zo=/-[a-z]/g,SE=/^data[-\w.:]+$/i;function bE(t,n){const o=Tn(n);let l=n,a=ke;if(o in t.normal)return t.property[t.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&SE.test(n)){if(n.charAt(4)==="-"){const r=n.slice(5).replace(Zo,LE);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=n.slice(4);if(!Zo.test(r)){let i=r.replace(NE,wE);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}a=Jn}return new a(l,n)}function wE(t){return"-"+t.toLowerCase()}function LE(t){return t.charAt(1).toUpperCase()}const TE=cr([ur,vE,fr,pr,gr],"html");cr([ur,CE,fr,pr,gr],"svg");const Qn=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],BE=["p","h1","h2","h3","h4","h5","h6","li"];function Ft(t,n){return t.type===n||typeof t.type=="object"&&t.type.tag===n||t.tag===n}function eo(t){return Ft(t,"text")||Ft(t,Symbol.for("v-txt"))}function hr(t){return Array.isArray(t.children)||typeof t.children=="string"?t.children:typeof t.children?.default=="function"?t.children.default():[]}function Ut(t){if(!t)return"";if(Array.isArray(t))return t.map(Ut).join("");if(eo(t))return t.value||t.children||"";const n=hr(t);return Array.isArray(n)?n.map(Ut).filter(Boolean).join(""):""}function Er(t,n=[]){if(Array.isArray(t))return t.flatMap(l=>Er(l,n));let o=t;return n.some(l=>l==="*"||Ft(t,l))&&(o=hr(t)||t,!Array.isArray(o)&&BE.some(l=>Ft(t,l))&&(o=[o])),o}function yr(t,n=[]){return t=Array.isArray(t)?t:[t],n.length?t.flatMap(o=>yr(Er(o,[n[0]]),n.slice(1))).filter(o=>!(eo(o)&&Ut(o).trim()==="")):t}function kr(t,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?yr(t,n).reduce((o,l)=>(eo(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):t}function VE(t,n){return n.reduce((o,l)=>{const a=IE(t,l);return a!==void 0&&(o[l]=a),o},{})}function IE(t,n){return n.split(".").reduce((o,l)=>o&&o[l],t)}const In="default",_r=/^@|^v-on:/,vr=/^:|^v-bind:/,AE=/^v-model/,DE=["select","textarea","input"],$E=["math","svg"],OE=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(t=>[t,`prose-${t}`])),PE=["script","base"],RE=e.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(t){const o=e.getCurrentInstance()?.appContext?.app?.$nuxt,l=o?.$route||o?._route,{mdc:a}=o?.$config?.public||{},r=e.computed(()=>({...a?.components?.prose&&t.prose!==!1?OE:{},...a?.components?.map||{},...e.toRaw(t.data?.mdc?.components||{}),...t.components})),i=e.computed(()=>{const u=(t.body?.children||[]).map(d=>d.tag||d.type).filter(d=>!Qn.includes(d));return Array.from(new Set(u)).sort().join(".")}),s=e.reactive({...t.data});e.watch(()=>t.data,u=>{Object.assign(s,u)}),await YE(t.body,{tags:r.value});function c(u,d){const p=u.split(".").length-1;return u.split(".").reduce((h,_,v)=>v==p&&h?(h[_]=d,h[_]):typeof h=="object"?h[_]:void 0,s)}return{tags:r,contentKey:i,route:l,runtimeData:s,updateRuntimeData:c}},render(t){const{tags:n,tag:o,body:l,data:a,contentKey:r,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=t;if(!l)return null;const d={...a,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},p=o!==!1?An(o||d.component?.name||d.component||"div"):void 0;return p?e.h(p,{...d.component?.props,class:t.class,...this.$attrs,key:r},{default:h}):h?.();function h(){const _=Cr(l,e.h,{documentMeta:d,parentScope:d,resolveComponent:An});return _?.default?s?kr(_.default(),typeof s=="string"?s.split(" "):["*"]):_.default():null}}});function ME(t,n,o,l){const{documentMeta:a,parentScope:r,resolveComponent:i}=o;if(t.type==="text")return n(e.Text,t.value);if(t.type==="comment")return n(e.Comment,null,t.value);const s=t.tag,c=Sr(t,a.tags);if(t.tag==="binding")return xE(t,n,a,r);const u=Nr(c)?h=>h:i;if(PE.includes(c))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Ut(t)+"</"+c+">");const d=u(c);typeof d=="object"&&(d.tag=s);const p=FE(t,a);return l&&(p.key=l),n(d,p,Cr(t,n,{documentMeta:a,parentScope:{...r,...p},resolveComponent:u}))}function Cr(t,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o,s=(t.children||[]).reduce((u,d)=>{if(!GE(d))return u[In].children.push(d),u;const p=jE(d);return u[p]=u[p]||{props:{},children:[]},d.type==="element"&&(u[p].props=d.props,u[p].children.push(...d.children||[])),u},{[In]:{props:{},children:[]}});return Object.entries(s).reduce((u,[d,{props:p,children:h}])=>(h.length&&(u[d]=(_={})=>{const v=VE(_,Object.keys(p||{}));let k=h.map((E,f)=>ME(E,n,{documentMeta:l,parentScope:{...a,...v},resolveComponent:r},String(E.props?.key||f)));return p?.unwrap&&(k=kr(k,p.unwrap)),KE(k)}),u),{})}function xE(t,n,o,l={}){const a={...o.runtimeData,...l,$document:o,$doc:o},r=/\.|\[(\d+)\]/,s=(t.props?.value.trim().split(r).filter(Boolean)).reduce((u,d)=>{if(u&&d in u)return typeof u[d]=="function"?u[d]():u[d]},a),c=t.props?.defaultValue;return n(e.Text,s??c??"")}function FE(t,n){const{tag:o="",props:l={}}=t;return Object.keys(l).reduce(function(a,r){if(r==="__ignoreMap")return a;const i=l[r];if(AE.test(r))return UE(r,i,a,n,{native:DE.includes(o)});if(r==="v-bind")return HE(r,i,a,n);if(_r.test(r))return zE(r,i,a,n);if(vr.test(r))return WE(r,i,a,n);const{attribute:s}=bE(TE,r);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(a[s]=i.join(" "),a):(a[s]=i,a)},{})}function UE(t,n,o,l,{native:a}){const r=t.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=a?"value":r,s=a?"onInput":`onUpdate:${r}`;return o[i]=Xt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,a?c.target?.value:c)},o}function HE(t,n,o,l){const a=Xt(n,l);return o=Object.assign(o,a),o}function zE(t,n,o,l){return t=t.replace(_r,""),o.on=o.on||{},o.on[t]=()=>Xt(n,l),o}function WE(t,n,o,l){return t=t.replace(vr,""),o[t]=Xt(n,l),o}const An=t=>{if(typeof t=="string"){if(Qn.includes(t))return t;const n=e.resolveComponent(sr(t),!1);return!t||n?.name==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?e.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return t};function Xt(t,n){const o=t.split(".").reduce((l,a)=>typeof l=="object"?l[a]:void 0,n);return typeof o>"u"?pE(t):o}function jE(t){let n="";for(const o of Object.keys(t.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||In}function GE(t){return t.tag==="template"}function Nr(t){return $E.includes(t)}function KE(t){const n=[];for(const o of t){const l=n[n.length-1];o.type===e.Text&&l?.type===e.Text?l.children=l.children+o.children:n.push(o)}return n}async function YE(t,n){if(!t)return;const o=Array.from(new Set(l(t,n)));await Promise.all(o.map(async a=>{if(a?.render||a?.ssrRender||a?.__ssrInlineRender)return;const r=An(a);r?.__asyncLoader&&!r.__asyncResolved&&await r.__asyncLoader()}));function l(a,r){const i=a.tag;if(a.type==="text"||i==="binding"||a.type==="comment")return[];const s=Sr(a,r.tags);if(Nr(s))return[];const c=[];a.type!=="root"&&!Qn.includes(s)&&c.push(s);for(const u of a.children||[])c.push(...l(u,r));return c}}function Sr(t,n){const o=t.tag;return!o||typeof t.props?.__ignoreMap<"u"?o:n[o]||n[sr(o)]||n[kE(t.tag)]||o}const qE=e.defineComponent({__name:"MDCRenderer",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(RE,e.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=w.CLUSTER_PREFIX;exports.EVENTS=w.EVENTS;exports.NODE_SIZES=w.NODE_SIZES;exports.SECTIONS=w.SECTIONS;exports.Utils=w.Utils;exports.VueFlowUtils=w.VueFlowUtils;exports.Collapsible=ht;exports.CollapsibleV2=Et;exports.DependenciesNode=Uc;exports.ElementCard=ql;exports.LOG_LEVELS=ti;exports.MDCRenderer=qE;exports.PluginIndex=sE;exports.RotatingDotsIcon=el;exports.STATES=z;exports.SchemaToHtml=G1;exports.SchemaToHtmlV2=Jh;exports.State=ne;exports.Status=xf;exports.SubgroupCard=Yl;exports.TaskIcon=Un;exports.Topology=Pf;exports.YamlUtils=Or;exports.buildPluginMappings=ii;exports.cssVariable=Ce;exports.extractPluginElements=Ht;exports.filterPluginsWithoutDeprecated=ai;exports.getMDCParser=ni;exports.isEntryAPluginElementPredicate=Dn;exports.slugify=he;exports.subGroupName=De;exports.usePluginElementCounts=Qo;
35
+ `.concat(d.code),r=e.ref(),i=e.computed(()=>l.schema.properties?.$examples),s=e.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(d=>[d.name,{...d,name:void 0}]))),{getHighlighterCore:c}=([n,o]=e.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);r.value=([n,o]=e.withAsyncContext(()=>c()),n=await n,o(),n);const u="github-"+(l.darkMode?"dark":"light");return(d,p)=>(e.openBlock(),e.createElementBlock("div",xh,[e.createElementVNode("div",Fh,[d.schema.properties?.$beta?(e.openBlock(),e.createElementBlock("div",Uh,[...p[0]||(p[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),d.schema.properties?.title?(e.openBlock(),e.createElementBlock("div",Hh,[e.renderSlot(d.$slots,"markdown",{content:d.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),d.schema.properties?.description?(e.openBlock(),e.createElementBlock("div",zh,[e.renderSlot(d.$slots,"markdown",{content:d.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):e.createCommentVNode("",!0),(e.openBlock(),e.createBlock(xt,{highlighter:r.value,language:"yaml",theme:u,code:`type: "${d.pluginType}"`,key:d.pluginType},null,8,["highlighter","code"]))]),(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column",key:d.pluginType},[i.value?(e.openBlock(),e.createBlock(Et,{key:0,class:"plugin-section",title:"Examples",href:"examples","no-url-change":d.noUrlChange},{content:e.withCtx(()=>[e.createElementVNode("div",Wh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(h,_)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d.pluginType+"-"+_},[e.createElementVNode("div",jh,[e.createElementVNode("div",Gh,[h.title?e.renderSlot(d.$slots,"markdown",{key:0,content:h.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):e.createCommentVNode("",!0)]),h.code?(e.openBlock(),e.createBlock(xt,{key:0,highlighter:r.value,language:h.lang??"yaml",theme:u,code:a(h)},null,8,["highlighter","language","code"])):e.createCommentVNode("",!0)]),_<i.value.length-1?(e.openBlock(),e.createElementBlock("hr",Kh)):e.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.properties?(e.openBlock(),e.createBlock(fn,{key:1,class:"plugin-section",properties:d.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":d.propsInitiallyExpanded,"force-include":d.forceIncludeProperties,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Yh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.outputs?.properties&&Object.keys(d.schema.outputs.properties).length>0?(e.openBlock(),e.createBlock(fn,{key:2,class:"plugin-section",properties:d.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",qh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0),d.schema.properties?.$metrics?(e.openBlock(),e.createBlock(fn,{key:3,class:"plugin-section",properties:s.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,definitions:d.schema.definitions,"no-url-change":d.noUrlChange},{markdown:e.withCtx(({content:h})=>[e.createElementVNode("div",Xh,[e.renderSlot(d.$slots,"markdown",{content:h},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):e.createCommentVNode("",!0)]))]))}}),Jh=D(Zh,[["__scopeId","data-v-e72c2f7b"]]),Qh={class:"d-flex flex-column gap-4"},eE={key:0,class:"pb-2"},tE={class:"row g-4 last"},nE=["id"],oE={class:"row g-4 last"},lE={key:2,class:"description"},rE={key:0,class:"gradient-overlay"},aE={key:0,class:"more-wrap text-center"},iE=e.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{},activeId:{},subgroupBlueprintCounts:{},metadataMap:{},schemas:{}},emits:["navigate"],setup(t,{emit:n}){const o=t,l=b=>o.metadataMap?.[b.subGroup??b.group],a=b=>l(b)?.description??b.description,r=b=>l(b)?.title??b.title??De(b),i=e.computed(()=>o.plugins.find(b=>o.subGroup===void 0?!0:he(De(b))===o.subGroup)),s=e.computed(()=>i.value?.longDescription??i.value?.description),c=e.computed(()=>o.plugins.filter(b=>b.name.toLowerCase()===o.pluginName.toLowerCase()&&b.subGroup!==void 0)),u=b=>{let I=b.split(".");return I?.[I.length-1]},d=b=>`${o.routePath}/${b}`;function p(b){const I=Ht(b);return Object.values(I).reduce((N,M)=>N+M.length,0)}const{elementsByType:h}=Qo(i),_=e.ref(null),v=e.ref(null),k=e.ref(!1),{height:E}=qo(_),{height:f}=qo(v),y=e.computed(()=>f.value>E.value+2),T=()=>{k.value=!k.value},S=n;return(b,I)=>(e.openBlock(),e.createElementBlock("div",Qh,[b.subGroup===void 0&&b.plugins.length>1?(e.openBlock(),e.createElementBlock("div",eE,[e.createElementVNode("div",tE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,N=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:e.unref(De)(N)},[e.createVNode(Yl,{id:e.unref(he)(e.unref(De)(N)),"icon-b64-svg":"data:image/svg+xml;base64,"+(b.icons[N.subGroup]??b.icons[N.group]),text:r(N),description:a(N),href:`${b.routePath}/${e.unref(he)(e.unref(De)(N))}`,"route-path":b.routePath,"plugin-group":N.group??N.name,"total-count":p(N),"blueprints-count":o.subgroupBlueprintCounts?.[`${e.unref(he)(N.group??N.name)}-${e.unref(he)(e.unref(De)(N))}`]??0,"is-active":b.activeId===e.unref(he)(e.unref(De)(N)),class:"text-capitalize h-100",onNavigate:I[0]||(I[0]=M=>S("navigate",M))},null,8,["id","icon-b64-svg","text","description","href","route-path","plugin-group","total-count","blueprints-count","is-active"])]))),128))])])):i.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(e.unref(h),(N,M)=>(e.openBlock(),e.createElementBlock("div",{class:"d-flex flex-column elements-section pb-3",key:M},[e.createElementVNode("h4",{id:`section-${e.unref(he)(M)}`,class:"text-capitalize"},e.toDisplayString(M),9,nE),e.createElementVNode("div",oE,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N,F=>(e.openBlock(),e.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:F},[e.createVNode(ql,{id:e.unref(he)(F),"icon-b64-svg":"data:image/svg+xml;base64,"+(b.icons[F]??b.icons[i.value.subGroup??i.value.group]??b.icons[i.value.group]),text:u(F),"plugin-class":F,href:d(F),"route-path":b.routePath,"is-active":b.activeId===e.unref(he)(F),title:b.schemas?.[F]?.title,class:"h-100",onNavigate:I[1]||(I[1]=Q=>S("navigate",Q))},{markdown:e.withCtx(({content:Q})=>[e.renderSlot(b.$slots,"markdown",{content:Q},void 0,!0)]),_:3},8,["id","icon-b64-svg","text","plugin-class","href","route-path","is-active","title"])]))),128))])]))),128)):e.createCommentVNode("",!0),s.value!==void 0&&i.value?.longDescription?(e.openBlock(),e.createElementBlock("div",lE,[I[2]||(I[2]=e.createElementVNode("h4",{id:"how-to-use-this-plugin"}," How to use this plugin ",-1)),e.createElementVNode("div",{ref_key:"contentWrap",ref:_,class:e.normalizeClass(["markdown-container",{expanded:k.value}])},[e.createElementVNode("div",{ref_key:"contentInner",ref:v,class:"markdown-inner"},[e.renderSlot(b.$slots,"markdown",{content:s.value.replace(/ *:(?![ /])/g,": ")},void 0,!0)],512),y.value&&!k.value?(e.openBlock(),e.createElementBlock("div",rE)):e.createCommentVNode("",!0)],2),y.value||k.value?(e.openBlock(),e.createElementBlock("div",aE,[e.createElementVNode("button",{class:"more-btn",onClick:T},[e.createTextVNode(e.toDisplayString(k.value?"See less":"See more")+" ",1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value?nr:Xn)))])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}}),sE=D(iE,[["__scopeId","data-v-cac71265"]]),cE=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,uE=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,dE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function mE(t,n){if(t==="__proto__"||t==="constructor"&&n&&typeof n=="object"&&"prototype"in n){fE(t);return}return n}function fE(t){console.warn(`[destr] Dropping "${t}" key to prevent prototype pollution.`)}function pE(t,n={}){if(typeof t!="string")return t;if(t[0]==='"'&&t[t.length-1]==='"'&&t.indexOf("\\")===-1)return t.slice(1,-1);const o=t.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!dE.test(t)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return t}try{if(cE.test(t)||uE.test(t)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(t,mE)}return JSON.parse(t)}catch(l){if(n.strict)throw l;return t}}const gE=/\d/,hE=["-","_","/","."];function EE(t=""){if(!gE.test(t))return t!==t.toLowerCase()}function ir(t,n){const o=hE,l=[];if(!t||typeof t!="string")return l;let a="",r,i;for(const s of t){const c=o.includes(s);if(c===!0){l.push(a),a="",r=void 0;continue}const u=EE(s);if(i===!1){if(r===!1&&u===!0){l.push(a),a=s,r=u;continue}if(r===!0&&u===!1&&a.length>1){const d=a.at(-1);l.push(a.slice(0,Math.max(0,a.length-1))),a=d+s,r=u;continue}}a+=s,r=u,i=c}return l.push(a),l}function yE(t){return t?t[0].toUpperCase()+t.slice(1):""}function sr(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>yE(o)).join(""):""}function kE(t,n){return t?(Array.isArray(t)?t:ir(t)).map(o=>o.toLowerCase()).join("-"):""}class kt{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}kt.prototype.normal={};kt.prototype.property={};kt.prototype.space=void 0;function cr(t,n){const o={},l={};for(const a of t)Object.assign(o,a.property),Object.assign(l,a.normal);return new kt(o,l,n)}function Tn(t){return t.toLowerCase()}class ke{constructor(n,o){this.attribute=o,this.property=n}}ke.prototype.attribute="";ke.prototype.booleanish=!1;ke.prototype.boolean=!1;ke.prototype.commaOrSpaceSeparated=!1;ke.prototype.commaSeparated=!1;ke.prototype.defined=!1;ke.prototype.mustUseProperty=!1;ke.prototype.number=!1;ke.prototype.overloadedBoolean=!1;ke.prototype.property="";ke.prototype.spaceSeparated=!1;ke.prototype.space=void 0;let _E=0;const U=Ze(),se=Ze(),Bn=Ze(),V=Ze(),J=Ze(),ot=Ze(),ve=Ze();function Ze(){return 2**++_E}const Vn=Object.freeze(Object.defineProperty({__proto__:null,boolean:U,booleanish:se,commaOrSpaceSeparated:ve,commaSeparated:ot,number:V,overloadedBoolean:Bn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),pn=Object.keys(Vn);class Jn extends ke{constructor(n,o,l,a){let r=-1;if(super(n,o),Xo(this,"space",a),typeof l=="number")for(;++r<pn.length;){const i=pn[r];Xo(this,pn[r],(l&Vn[i])===Vn[i])}}}Jn.prototype.defined=!0;function Xo(t,n,o){o&&(t[n]=o)}function it(t){const n={},o={};for(const[l,a]of Object.entries(t.properties)){const r=new Jn(l,t.transform(t.attributes||{},l),a,t.space);t.mustUseProperty&&t.mustUseProperty.includes(l)&&(r.mustUseProperty=!0),n[l]=r,o[Tn(l)]=l,o[Tn(r.attribute)]=l}return new kt(n,o,t.space)}const ur=it({properties:{ariaActiveDescendant:null,ariaAtomic:se,ariaAutoComplete:null,ariaBusy:se,ariaChecked:se,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:J,ariaCurrent:null,ariaDescribedBy:J,ariaDetails:null,ariaDisabled:se,ariaDropEffect:J,ariaErrorMessage:null,ariaExpanded:se,ariaFlowTo:J,ariaGrabbed:se,ariaHasPopup:null,ariaHidden:se,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:J,ariaLevel:V,ariaLive:null,ariaModal:se,ariaMultiLine:se,ariaMultiSelectable:se,ariaOrientation:null,ariaOwns:J,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:se,ariaReadOnly:se,ariaRelevant:null,ariaRequired:se,ariaRoleDescription:J,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:se,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null},transform(t,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function dr(t,n){return n in t?t[n]:n}function mr(t,n){return dr(t,n.toLowerCase())}const vE=it({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ot,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:U,allowPaymentRequest:U,allowUserMedia:U,alt:null,as:null,async:U,autoCapitalize:null,autoComplete:J,autoFocus:U,autoPlay:U,blocking:J,capture:null,charSet:null,checked:U,cite:null,className:J,cols:V,colSpan:null,content:null,contentEditable:se,controls:U,controlsList:J,coords:V|ot,crossOrigin:null,data:null,dateTime:null,decoding:null,default:U,defer:U,dir:null,dirName:null,disabled:U,download:Bn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:U,formTarget:null,headers:J,height:V,hidden:Bn,high:V,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:U,inputMode:null,integrity:null,is:null,isMap:U,itemId:null,itemProp:J,itemRef:J,itemScope:U,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:U,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:U,muted:U,name:null,nonce:null,noModule:U,noValidate:U,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:U,optimum:V,pattern:null,ping:J,placeholder:null,playsInline:U,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:U,referrerPolicy:null,rel:J,required:U,reversed:U,rows:V,rowSpan:V,sandbox:J,scope:null,scoped:U,seamless:U,selected:U,shadowRootClonable:U,shadowRootDelegatesFocus:U,shadowRootMode:null,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:se,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:U,useMap:null,value:se,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:J,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:U,declare:U,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:U,noHref:U,noShade:U,noWrap:U,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:se,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:U,disableRemotePlayback:U,prefix:null,property:null,results:V,security:null,unselectable:null},space:"html",transform:mr}),CE=it({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ve,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:J,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:U,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ot,g2:ot,glyphName:ot,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:ve,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:J,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ve,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ve,rev:ve,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ve,requiredFeatures:ve,requiredFonts:ve,requiredFormats:ve,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:ve,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ve,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ve,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:dr}),fr=it({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,n){return"xlink:"+n.slice(5).toLowerCase()}}),pr=it({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:mr}),gr=it({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,n){return"xml:"+n.slice(3).toLowerCase()}}),NE=/[A-Z]/g,Zo=/-[a-z]/g,SE=/^data[-\w.:]+$/i;function bE(t,n){const o=Tn(n);let l=n,a=ke;if(o in t.normal)return t.property[t.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&SE.test(n)){if(n.charAt(4)==="-"){const r=n.slice(5).replace(Zo,LE);l="data"+r.charAt(0).toUpperCase()+r.slice(1)}else{const r=n.slice(4);if(!Zo.test(r)){let i=r.replace(NE,wE);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}a=Jn}return new a(l,n)}function wE(t){return"-"+t.toLowerCase()}function LE(t){return t.charAt(1).toUpperCase()}const TE=cr([ur,vE,fr,pr,gr],"html");cr([ur,CE,fr,pr,gr],"svg");const Qn=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],BE=["p","h1","h2","h3","h4","h5","h6","li"];function Ft(t,n){return t.type===n||typeof t.type=="object"&&t.type.tag===n||t.tag===n}function eo(t){return Ft(t,"text")||Ft(t,Symbol.for("v-txt"))}function hr(t){return Array.isArray(t.children)||typeof t.children=="string"?t.children:typeof t.children?.default=="function"?t.children.default():[]}function Ut(t){if(!t)return"";if(Array.isArray(t))return t.map(Ut).join("");if(eo(t))return t.value||t.children||"";const n=hr(t);return Array.isArray(n)?n.map(Ut).filter(Boolean).join(""):""}function Er(t,n=[]){if(Array.isArray(t))return t.flatMap(l=>Er(l,n));let o=t;return n.some(l=>l==="*"||Ft(t,l))&&(o=hr(t)||t,!Array.isArray(o)&&BE.some(l=>Ft(t,l))&&(o=[o])),o}function yr(t,n=[]){return t=Array.isArray(t)?t:[t],n.length?t.flatMap(o=>yr(Er(o,[n[0]]),n.slice(1))).filter(o=>!(eo(o)&&Ut(o).trim()==="")):t}function kr(t,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?yr(t,n).reduce((o,l)=>(eo(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):t}function VE(t,n){return n.reduce((o,l)=>{const a=IE(t,l);return a!==void 0&&(o[l]=a),o},{})}function IE(t,n){return n.split(".").reduce((o,l)=>o&&o[l],t)}const In="default",_r=/^@|^v-on:/,vr=/^:|^v-bind:/,AE=/^v-model/,DE=["select","textarea","input"],$E=["math","svg"],OE=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(t=>[t,`prose-${t}`])),PE=["script","base"],RE=e.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(t){const o=e.getCurrentInstance()?.appContext?.app?.$nuxt,l=o?.$route||o?._route,{mdc:a}=o?.$config?.public||{},r=e.computed(()=>({...a?.components?.prose&&t.prose!==!1?OE:{},...a?.components?.map||{},...e.toRaw(t.data?.mdc?.components||{}),...t.components})),i=e.computed(()=>{const u=(t.body?.children||[]).map(d=>d.tag||d.type).filter(d=>!Qn.includes(d));return Array.from(new Set(u)).sort().join(".")}),s=e.reactive({...t.data});e.watch(()=>t.data,u=>{Object.assign(s,u)}),await YE(t.body,{tags:r.value});function c(u,d){const p=u.split(".").length-1;return u.split(".").reduce((h,_,v)=>v==p&&h?(h[_]=d,h[_]):typeof h=="object"?h[_]:void 0,s)}return{tags:r,contentKey:i,route:l,runtimeData:s,updateRuntimeData:c}},render(t){const{tags:n,tag:o,body:l,data:a,contentKey:r,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=t;if(!l)return null;const d={...a,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},p=o!==!1?An(o||d.component?.name||d.component||"div"):void 0;return p?e.h(p,{...d.component?.props,class:t.class,...this.$attrs,key:r},{default:h}):h?.();function h(){const _=Cr(l,e.h,{documentMeta:d,parentScope:d,resolveComponent:An});return _?.default?s?kr(_.default(),typeof s=="string"?s.split(" "):["*"]):_.default():null}}});function ME(t,n,o,l){const{documentMeta:a,parentScope:r,resolveComponent:i}=o;if(t.type==="text")return n(e.Text,t.value);if(t.type==="comment")return n(e.Comment,null,t.value);const s=t.tag,c=Sr(t,a.tags);if(t.tag==="binding")return xE(t,n,a,r);const u=Nr(c)?h=>h:i;if(PE.includes(c))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Ut(t)+"</"+c+">");const d=u(c);typeof d=="object"&&(d.tag=s);const p=FE(t,a);return l&&(p.key=l),n(d,p,Cr(t,n,{documentMeta:a,parentScope:{...r,...p},resolveComponent:u}))}function Cr(t,n,o){const{documentMeta:l,parentScope:a,resolveComponent:r}=o,s=(t.children||[]).reduce((u,d)=>{if(!GE(d))return u[In].children.push(d),u;const p=jE(d);return u[p]=u[p]||{props:{},children:[]},d.type==="element"&&(u[p].props=d.props,u[p].children.push(...d.children||[])),u},{[In]:{props:{},children:[]}});return Object.entries(s).reduce((u,[d,{props:p,children:h}])=>(h.length&&(u[d]=(_={})=>{const v=VE(_,Object.keys(p||{}));let k=h.map((E,f)=>ME(E,n,{documentMeta:l,parentScope:{...a,...v},resolveComponent:r},String(E.props?.key||f)));return p?.unwrap&&(k=kr(k,p.unwrap)),KE(k)}),u),{})}function xE(t,n,o,l={}){const a={...o.runtimeData,...l,$document:o,$doc:o},r=/\.|\[(\d+)\]/,s=(t.props?.value.trim().split(r).filter(Boolean)).reduce((u,d)=>{if(u&&d in u)return typeof u[d]=="function"?u[d]():u[d]},a),c=t.props?.defaultValue;return n(e.Text,s??c??"")}function FE(t,n){const{tag:o="",props:l={}}=t;return Object.keys(l).reduce(function(a,r){if(r==="__ignoreMap")return a;const i=l[r];if(AE.test(r))return UE(r,i,a,n,{native:DE.includes(o)});if(r==="v-bind")return HE(r,i,a,n);if(_r.test(r))return zE(r,i,a,n);if(vr.test(r))return WE(r,i,a,n);const{attribute:s}=bE(TE,r);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(a[s]=i.join(" "),a):(a[s]=i,a)},{})}function UE(t,n,o,l,{native:a}){const r=t.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=a?"value":r,s=a?"onInput":`onUpdate:${r}`;return o[i]=Xt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,a?c.target?.value:c)},o}function HE(t,n,o,l){const a=Xt(n,l);return o=Object.assign(o,a),o}function zE(t,n,o,l){return t=t.replace(_r,""),o.on=o.on||{},o.on[t]=()=>Xt(n,l),o}function WE(t,n,o,l){return t=t.replace(vr,""),o[t]=Xt(n,l),o}const An=t=>{if(typeof t=="string"){if(Qn.includes(t))return t;const n=e.resolveComponent(sr(t),!1);return!t||n?.name==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?e.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return t};function Xt(t,n){const o=t.split(".").reduce((l,a)=>typeof l=="object"?l[a]:void 0,n);return typeof o>"u"?pE(t):o}function jE(t){let n="";for(const o of Object.keys(t.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||In}function GE(t){return t.tag==="template"}function Nr(t){return $E.includes(t)}function KE(t){const n=[];for(const o of t){const l=n[n.length-1];o.type===e.Text&&l?.type===e.Text?l.children=l.children+o.children:n.push(o)}return n}async function YE(t,n){if(!t)return;const o=Array.from(new Set(l(t,n)));await Promise.all(o.map(async a=>{if(a?.render||a?.ssrRender||a?.__ssrInlineRender)return;const r=An(a);r?.__asyncLoader&&!r.__asyncResolved&&await r.__asyncLoader()}));function l(a,r){const i=a.tag;if(a.type==="text"||i==="binding"||a.type==="comment")return[];const s=Sr(a,r.tags);if(Nr(s))return[];const c=[];a.type!=="root"&&!Qn.includes(s)&&c.push(s);for(const u of a.children||[])c.push(...l(u,r));return c}}function Sr(t,n){const o=t.tag;return!o||typeof t.props?.__ignoreMap<"u"?o:n[o]||n[sr(o)]||n[kE(t.tag)]||o}const qE=e.defineComponent({__name:"MDCRenderer",setup(t){return(n,o)=>(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(RE,e.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=w.CLUSTER_PREFIX;exports.EVENTS=w.EVENTS;exports.NODE_SIZES=w.NODE_SIZES;exports.SECTIONS=w.SECTIONS;exports.Utils=w.Utils;exports.VueFlowUtils=w.VueFlowUtils;exports.Collapsible=ht;exports.CollapsibleV2=Et;exports.DependenciesNode=Uc;exports.ElementCard=ql;exports.LOG_LEVELS=ti;exports.MDCRenderer=qE;exports.PluginIndex=sE;exports.RotatingDotsIcon=el;exports.STATES=z;exports.SchemaToHtml=G1;exports.SchemaToHtmlV2=Jh;exports.State=ne;exports.Status=xf;exports.SubgroupCard=Yl;exports.TaskIcon=Un;exports.Topology=Pf;exports.YamlUtils=Or;exports.buildPluginMappings=ii;exports.cssVariable=Ce;exports.extractPluginElements=Ht;exports.filterPluginsWithoutDeprecated=ai;exports.getMDCParser=ni;exports.isEntryAPluginElementPredicate=Dn;exports.slugify=he;exports.subGroupName=De;exports.usePluginElementCounts=Qo;
36
36
  //# sourceMappingURL=kestra-index.cjs.js.map