@kestra-io/ui-libs 0.0.291 → 0.0.292

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,5 +1,4 @@
1
1
  type __VLS_Props = {
2
- iconB64Svg: string;
3
2
  text: string;
4
3
  routePath: string;
5
4
  pluginClass: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ElementCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/misc/ElementCard.vue"],"names":[],"mappings":"AA2II,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB,CAAC;AAiFN,QAAA,IAAI,OAAO;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,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":"ElementCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/misc/ElementCard.vue"],"names":[],"mappings":"AA0II,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;CACjB,CAAC;AAiFN,QAAA,IAAI,OAAO;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,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,5 +1,5 @@
1
1
  type __VLS_Props = {
2
- iconB64Svg: string;
2
+ iconSrc?: string;
3
3
  text: string;
4
4
  routePath: string;
5
5
  totalCount: number;
@@ -15,6 +15,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
15
15
  }>, {
16
16
  description: string;
17
17
  href: string;
18
+ iconSrc: string;
18
19
  totalCount: number;
19
20
  isActive: boolean;
20
21
  blueprintsCount: number;
@@ -1 +1 @@
1
- {"version":3,"file":"SubgroupCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/misc/SubgroupCard.vue"],"names":[],"mappings":"AAqMI,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAC;AAsIN,QAAA,MAAM,YAAY;;;;;iBA1II,MAAM;;gBADR,MAAM;cAGP,OAAO;qBACA,MAAM;6EA2I9B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"SubgroupCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/misc/SubgroupCard.vue"],"names":[],"mappings":"AAsMI,KAAK,WAAW,GAAG;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAC;AA0IN,QAAA,MAAM,YAAY;;;;;iBA9II,MAAM;;aAJV,MAAM;gBAGJ,MAAM;cAGP,OAAO;qBACA,MAAM;6EA+I9B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PluginIndex.vue.d.ts","sourceRoot":"","sources":["../../../src/components/plugins/PluginIndex.vue"],"names":[],"mappings":"AAiOI,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;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAC/C,CAAC;AAqTN,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;AAQjD,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":"AAgOI,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;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CAC/C,CAAC;AAmTN,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;AAQjD,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"}
@@ -12,9 +12,9 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
12
12
  stroke-width: ${k.strokeWidth};
13
13
  stroke-dasharray: ${k.strokeDasharray};
14
14
  fill: none;
15
- `),{element:y,original:T}});try{const m=c.type==="jpeg"?await r(s,c):await a(s,c);return c.shouldDownload&&u&&i(u),m}finally{h.forEach(({element:m,original:y})=>y?m.setAttribute("style",y):m.removeAttribute("style")),s.classList.remove("is-exporting")}}function r(s,c={quality:.95}){return o.value=null,Rf(s,c).then(u=>(e.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function a(s,c={quality:.95}){return o.value=null,Pf(s,c).then(u=>(e.value=u,n.value="png",u)).catch(u=>{throw u.value=u,new Error(u)})}function i(s){const c=document.createElement("a");c.download=`${s}.${n.value}`,c.href=e.value,c.click()}return{capture:l,download:i,dataUrl:e,error:o}}const Ff={key:1,class:"exporting"},Uf=t.defineComponent({__name:"Topology",props:{id:{},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{},flowId:{default:void 0},namespace:{default:void 0},expandedSubflows:{default:()=>[]},icons:{default:()=>({})},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{default:void 0},subflowsExecutions:{default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1},getNodeDimensions:{type:Function,default:void 0}},emits:[b.EVENTS.EDIT,b.EVENTS.DELETE,b.EVENTS.RUN_TASK,b.EVENTS.OPEN_LINK,b.EVENTS.SHOW_LOGS,b.EVENTS.SHOW_DESCRIPTION,b.EVENTS.RUN_TASK,"on-add-flowable-error",b.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",b.EVENTS.SHOW_CONDITION],setup(e,{emit:n}){const o=e,l=t.ref(!1),r=t.ref(),{getNodes:a,onNodeDrag:i,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:d,vueFlowRef:h}=oe.useVueFlow(o.id),m=t.ref({}),y=t.ref([]),T=t.ref(new Set),k=t.ref([]),{capture:_}=Mf();t.provide(Gn,t.computed(()=>o.execution)),t.provide(Pl,t.computed(()=>o.subflowsExecutions));const f=n;t.onMounted(()=>{E()}),t.watch(()=>o.flowGraph,()=>{E()}),t.watch(()=>o.isHorizontal,()=>{E()});const E=()=>{b.cleanGraph(o.id),t.nextTick(()=>{f("loading",!0);const x=T.value;T.value=new Set,y.value=[],m.value={},x.forEach(H=>R(b.CLUSTER_PREFIX+H,!1,!1));const $=b.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,y.value,o.isHorizontal,m.value,T.value,k.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction,o.getNodeDimensions);$&&(d($),u(),f("loading",!1))})},S=x=>{l.value||b.linkedElements(o.id,x.uid).forEach($=>{$?.type==="task"&&($.style={...$.style,outline:"0.5px solid "+Ne("--bs-gray-900")},$.class="rounded-3")})},N=()=>{w()},w=()=>{a.value.filter(x=>x.type==="task"||x.type==="trigger").forEach(x=>{x.style={...x.style,opacity:"1",outline:"none"},x.class=""})};s(x=>{l.value=!0,w(),x.node.style={...x.node.style,zIndex:1976},r.value=x.node.position}),c(x=>{if(l.value=!1,x.intersections&&C(x.intersections,x.node)===null){const $=x.node,H=x.intersections.find(P=>P.type==="task");if(H)try{o.source&&f("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:b.Utils.afterLastDot($.id)??"",key2:b.Utils.afterLastDot(H.id)??""}),swappedTasks:[$.id,H.id]})}catch(P){f("message",{variant:"error",title:"cannot swap tasks",message:`${P.message}, ${P.messageOptions}`}),$.position=r.value}else $.position=r.value}else x.node.position=r.value;w(),x.node.style={...x.node.style,zIndex:5},r.value=null});const I=t.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter(x=>x.cluster.type.endsWith("SubflowGraphCluster")).map(x=>x.cluster.taskNode.uid+"."):[]);i(x=>{w(),a.value.filter($=>$.id!==x.node.id).forEach($=>{$.type==="trigger"||$.type==="task"&&($.id.startsWith(x.node.id+".")||x.node.id.startsWith($.id+"."))||I?.value?.some(H=>$.id.startsWith(H))?$.style={...$.style,opacity:"0.5"}:$.style={...$.style,opacity:"1"}}),x.intersections&&!C(x.intersections,x.node)&&x.intersections.filter($=>$.type==="task").length===1&&(x.intersections.forEach($=>{$.type==="task"&&($.style={...$.style,outline:"0.5px solid "+Ne("--bs-primary")},$.class="rounded-3")}),x.node.style={...x.node.style,outline:"0.5px solid "+Ne("--bs-primary")},x.node.class="rounded-3")});const C=(x,$)=>{const H=x.filter(P=>P.type==="task").map(P=>b.Utils.afterLastDot(P.id));if(H.length>1)return"toomuchtaskerror";try{if(H.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:b.Utils.afterLastDot(H[0])??"",key2:b.Utils.afterLastDot($.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return x.filter(P=>P.type==="trigger").length>0?"triggererror":null},R=(x,$,H=!1)=>{const P=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(x)),Ie=x.replace(b.CLUSTER_PREFIX,"");T.value.add(Ie),y.value=y.value.concat(P.nodes.filter(me=>me!==Ie||H)),y.value=y.value.concat([P.cluster.uid]),m.value={...m.value,[P.cluster.uid]:Ie,[P.start]:Ie,[P.end]:Ie};for(let me of P.nodes)o.flowGraph.clusters.map(He=>He.cluster.uid).includes(me)&&R(me,!1,!0);$&&E()},U=x=>{if(["io.kestra.core.tasks.flows.Flow","io.kestra.core.tasks.flows.Subflow","io.kestra.plugin.core.flow.Subflow","io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable","io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"].includes(x.type)&&!o.expandedSubflows.includes(x.id)){f("expand-subflow",[...o.expandedSubflows,x.id]);return}m.value={},y.value=[],k.value=[],T.value.delete(x.id),T.value.forEach(H=>R(H,!1,!1)),E()},Q=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=t.ref(!0),Z=t.ref(!1),Re=()=>Z.value=!Z.value;function Je(x){if(!h.value){console.warn("Flow not found");return}ge.value=!1,_(h.value,{type:x,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return(x,$)=>(t.openBlock(),t.createBlock(t.unref(oe.VueFlow),{id:e.id,"default-marker-color":t.unref(Ne)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":t.withCtx(H=>[t.createVNode(uu,t.mergeProps(H,{onCollapse:$[0]||($[0]=P=>R(P,!0))}),null,16)]),"node-dot":t.withCtx(H=>[t.createVNode(yu,t.normalizeProps(t.guardReactiveProps(H)),null,16)]),"node-task":t.withCtx(H=>[t.createVNode(pm,t.mergeProps(H,{icons:e.icons,"icon-component":e.iconComponent,"playground-enabled":e.playgroundEnabled,"playground-ready-to-start":e.playgroundReadyToStart,onEdit:$[1]||($[1]=P=>f(t.unref(b.EVENTS).EDIT,P)),onDelete:$[2]||($[2]=P=>f(t.unref(b.EVENTS).DELETE,P)),onRunTask:$[3]||($[3]=P=>f(t.unref(b.EVENTS).RUN_TASK,P)),onExpand:$[4]||($[4]=P=>U(P)),onOpenLink:$[5]||($[5]=P=>f(t.unref(b.EVENTS).OPEN_LINK,P)),onShowLogs:$[6]||($[6]=P=>f(t.unref(b.EVENTS).SHOW_LOGS,P)),onShowDescription:$[7]||($[7]=P=>f(t.unref(b.EVENTS).SHOW_DESCRIPTION,P)),onShowCondition:$[8]||($[8]=P=>f(t.unref(b.EVENTS).SHOW_CONDITION,P)),onMouseover:$[9]||($[9]=P=>S(P)),onMouseleave:$[10]||($[10]=P=>N()),onAddError:$[11]||($[11]=P=>f("on-add-flowable-error",P)),"enable-subflow-interaction":e.enableSubflowInteraction}),{details:t.withCtx(()=>[t.renderSlot(x.$slots,"taskDetails",t.normalizeProps(t.guardReactiveProps(H)),void 0,!0)]),_:2},1040,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":t.withCtx(H=>[t.createVNode(jn,t.mergeProps(H,{icons:e.icons,"icon-component":e.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":t.withCtx(H=>[t.createVNode(hm,t.mergeProps(H,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:$[12]||($[12]=P=>f(t.unref(b.EVENTS).DELETE,P)),onEdit:$[13]||($[13]=P=>f(t.unref(b.EVENTS).EDIT,P)),onShowDescription:$[14]||($[14]=P=>f(t.unref(b.EVENTS).SHOW_DESCRIPTION,P))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":t.withCtx(H=>[t.createVNode(Vm,t.mergeProps(H,{onExpand:$[15]||($[15]=P=>U(P))}),null,16)]),"edge-edge":t.withCtx(H=>[t.createVNode($u,t.mergeProps(H,{"yaml-source":e.source,onAddTask:$[16]||($[16]=P=>f(t.unref(b.EVENTS).ADD_TASK,P)),"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:t.withCtx(()=>[t.createVNode(t.unref(Qc),{"pattern-color":Q?t.unref(Ne)("--bs-grey-500"):t.unref(Ne)("--bs-grey-300")},null,8,["pattern-color"]),ge.value?(t.openBlock(),t.createBlock(t.unref(an.Controls),{key:0,"show-interactive":!1},{default:t.withCtx(()=>[e.toggleOrientationButton?(t.openBlock(),t.createBlock(t.unref(an.ControlButton),{key:0,onClick:$[17]||($[17]=H=>f("toggle-orientation",H))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.isHorizontal?Pm:Am)))]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(an.ControlButton),{onClick:Re},{default:t.withCtx(()=>[t.createVNode(Wm)]),_:1}),Z.value?(t.openBlock(),t.createElementBlock("ul",Ff,[t.createElementVNode("li",{onClick:$[18]||($[18]=H=>Je("jpeg")),class:"item"}," Export as .JPEG "),t.createElementVNode("li",{onClick:$[19]||($[19]=H=>Je("png")),class:"item"}," Export as .PNG ")])):t.createCommentVNode("",!0)]),_:1})):t.createCommentVNode("",!0)]),_:3},8,["id","default-marker-color"]))}}),Hf=A(Uf,[["__scopeId","data-v-6f358b88"]]),zf={class:"text"},Wf=t.defineComponent({__name:"Status",props:{status:{},title:{default:void 0},icon:{type:Boolean,default:!1},size:{default:"default"}},setup(e){const n=e,o=t.computed(()=>n.icon?ne.icon()[n.status?.toUpperCase()]:void 0),l=t.computed(()=>n.title??n.status),r=t.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(a,i)=>(t.openBlock(),t.createElementBlock("button",{type:"button",class:t.normalizeClass(r.value)},[e.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:"icon"})):t.createCommentVNode("",!0),t.createElementVNode("span",zf,t.toDisplayString(l.value),1)],2))}}),jf=A(Wf,[["__scopeId","data-v-ce6b0e30"]]),Gf={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Kf=["aria-hidden","aria-label"],Yf=["fill","width","height"],qf={d:"M10,17L15,12L10,7V17Z"},Xf={key:0};function Zf(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",qf,[o.title?(t.openBlock(),t.createElementBlock("title",Xf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Yf))],16,Kf)}const Jf=A(Gf,[["render",Zf]]),Qf={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ep=["aria-hidden","aria-label"],tp=["fill","width","height"],np={d:"M7,10L12,15L17,10H7Z"},op={key:0};function lp(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",np,[o.title?(t.openBlock(),t.createElementBlock("title",op,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,tp))],16,ep)}const rp=A(Qf,[["render",lp]]);function ql(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Xl(e){return typeof e=="function"?e():t.unref(e)}const ap=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ip=Object.prototype.toString,sp=e=>ip.call(e)==="[object Object]",cp=()=>{};function up(e){return Object.entries(e)}function dp(e){return t.getCurrentInstance()}function mp(e,n=!0,o){dp()?t.onMounted(e,o):n?e():t.nextTick(e)}function Ye(e){var n;const o=Xl(e);return(n=o?.$el)!=null?n:o}const qt=ap?window:void 0;function Zo(...e){let n,o,l,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([o,l,r]=e,n=qt):[n,o,l,r]=e,!n)return cp;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},s=(d,h,m,y)=>(d.addEventListener(h,m,y),()=>d.removeEventListener(h,m,y)),c=t.watch(()=>[Ye(n),Xl(r)],([d,h])=>{if(i(),!d)return;const m=sp(h)?{...h}:h;a.push(...o.flatMap(y=>l.map(T=>s(d,y,T,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return ql(u),u}function fp(){const e=t.ref(!1),n=t.getCurrentInstance();return n&&t.onMounted(()=>{e.value=!0},n),e}function pp(e){const n=fp();return t.computed(()=>(n.value,!!e()))}const Jo=["hash","host","hostname","href","pathname","port","protocol","search"];function Zl(e={}){const{window:n=qt}=e,o=Object.fromEntries(Jo.map(a=>[a,t.ref()]));for(const[a,i]of up(o))t.watch(i,s=>{!n?.location||n.location[a]===s||(n.location[a]=s)});const l=a=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const d of Jo)o[d].value=(i=n?.location)==null?void 0:i[d];return t.reactive({trigger:a,state:s,length:c,origin:u,...o})},r=t.ref(l("load"));return n&&(Zo(n,"popstate",()=>r.value=l("popstate"),{passive:!0}),Zo(n,"hashchange",()=>r.value=l("hashchange"),{passive:!0})),r}function gp(e,n,o={}){const{window:l=qt,...r}=o;let a;const i=pp(()=>l&&"ResizeObserver"in l),s=()=>{a&&(a.disconnect(),a=void 0)},c=t.computed(()=>Array.isArray(e)?e.map(h=>Ye(h)):[Ye(e)]),u=t.watch(c,h=>{if(s(),i.value&&l){a=new ResizeObserver(n);for(const m of h)m&&a.observe(m,r)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return ql(d),{isSupported:i,stop:d}}function Qo(e,n={width:0,height:0},o={}){const{window:l=qt,box:r="content-box"}=o,a=t.computed(()=>{var h,m;return(m=(h=Ye(e))==null?void 0:h.namespaceURI)==null?void 0:m.includes("svg")}),i=t.ref(n.width),s=t.ref(n.height),{stop:c}=gp(e,([h])=>{const m=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(l&&a.value){const y=Ye(e);if(y){const T=y.getBoundingClientRect();i.value=T.width,s.value=T.height}}else if(m){const y=Array.isArray(m)?m:[m];i.value=y.reduce((T,{inlineSize:k})=>T+k,0),s.value=y.reduce((T,{blockSize:k})=>T+k,0)}else i.value=h.contentRect.width,s.value=h.contentRect.height},o);mp(()=>{const h=Ye(e);h&&(i.value="offsetWidth"in h?h.offsetWidth:n.width,s.value="offsetHeight"in h?h.offsetHeight:n.height)});const u=t.watch(()=>Ye(e),h=>{i.value=h?n.width:0,s.value=h?n.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}const hp=["id","open"],Ep={class:"d-flex gap-2 align-items-center"},kp={key:0,class:"d-flex flex-grow-1"},yp=["id"],vp=t.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),r=Zl(),a=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),u.stopPropagation(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),!o.noUrlChange&&(l.value?history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value)},c=t.ref(!1);return t.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),t.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(t.openBlock(),t.createElementBlock("details",{id:e.href,open:c.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[t.createElementVNode("span",Ep,[e.arrow?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?Jf:rp),{key:0,class:"arrow"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(e.clickableText)+" ",1),t.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(t.openBlock(),t.createElementBlock("span",kp,[t.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):t.createCommentVNode("",!0)],2),u.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:e.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(u.$slots,"content",{},void 0,!0)])],8,yp)):t.createCommentVNode("",!0)],8,hp))}}),Et=A(vp,[["__scopeId","data-v-6b6ffd9a"]]),Cp={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Np=["aria-hidden","aria-label"],_p=["fill","width","height"],Sp={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},bp={key:0};function wp(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Sp,[o.title?(t.openBlock(),t.createElementBlock("title",bp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,_p))],16,Np)}const Zn=A(Cp,[["render",wp]]),Lp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Bp=["aria-hidden","aria-label"],Vp=["fill","width","height"],Tp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Ip={key:0};function $p(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Tp,[o.title?(t.openBlock(),t.createElementBlock("title",Ip,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Vp))],16,Bp)}const Jn=A(Lp,[["render",$p]]),Ap=["id","open"],Dp={key:0,class:"chevron"},Op=["id"],xp=t.defineComponent({__name:"CollapsibleV2",props:{href:{default:Math.random().toString(36).substring(2,5)},title:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),r=Zl(),a=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{if(u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),o.noUrlChange)return;const d=window.location.pathname+window.location.search+(l.value?"":i.value);try{window.history.pushState(null,"",d)}catch{try{l.value?window.history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value}catch{}}},c=t.ref(!1);return t.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),t.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(t.openBlock(),t.createElementBlock("details",{id:e.href,open:c.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[t.createElementVNode("span",null,[t.createTextVNode(t.toDisplayString(e.title)+" ",1),t.renderSlot(u.$slots,"additional",{},void 0,!0)]),t.renderSlot(u.$slots,"right",{},void 0,!0),e.arrow?(t.openBlock(),t.createElementBlock("span",Dp,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?Zn:Jn)))])):t.createCommentVNode("",!0)],2),u.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:e.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Op)):t.createCommentVNode("",!0)],8,Ap))}}),kt=A(xp,[["__scopeId","data-v-d0f1d871"]]),Pp=["href"],Rp={class:"top-row"},Mp={class:"icon-content"},Fp=["src","alt"],Up={class:"text-content"},Hp={key:0,class:"description"},zp={class:"footer"},Wp={class:"bottom-row"},jp={class:"left"},Gp={key:0},Kp={key:1},Yp=t.defineComponent({__name:"SubgroupCard",props:{iconB64Svg:{},text:{},routePath:{},totalCount:{default:0},description:{default:""},href:{default:void 0},isActive:{type:Boolean,default:!1},blueprintsCount:{default:0}},emits:["navigate"],setup(e,{emit:n}){const o=e,l=n,r=t.computed(()=>o.href===void 0?`${o.routePath}/${Ce(o.text)}`:o.href);return(a,i)=>(t.openBlock(),t.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=t.withModifiers(s=>l("navigate",r.value),["prevent"]))},[t.createElementVNode("div",{class:t.normalizeClass(["plugin",{"is-active":e.isActive}])},[t.createElementVNode("div",Rp,[t.createElementVNode("div",Mp,[t.createElementVNode("img",{src:e.iconB64Svg,alt:`${e.text} icon`},null,8,Fp)]),t.createElementVNode("div",Up,[t.createElementVNode("h6",null,t.toDisplayString(e.text),1),e.description?(t.openBlock(),t.createElementBlock("p",Hp,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",zp,[i[3]||(i[3]=t.createElementVNode("hr",null,null,-1)),t.createElementVNode("div",Wp,[t.createElementVNode("div",jp,[o.totalCount?(t.openBlock(),t.createElementBlock("p",Gp,[t.createTextVNode(t.toDisplayString(o.totalCount??0)+" ",1),i[1]||(i[1]=t.createElementVNode("span",null,"Tasks",-1))])):t.createCommentVNode("",!0),o.blueprintsCount?(t.openBlock(),t.createElementBlock("p",Kp,[t.createTextVNode(t.toDisplayString(o.blueprintsCount??0)+" ",1),i[2]||(i[2]=t.createElementVNode("span",null,"Blueprints",-1))])):t.createCommentVNode("",!0)]),t.createVNode(Zn)])])],2)],8,Pp))}}),Jl=A(Yp,[["__scopeId","data-v-7589a99f"]]),qp=["href"],Xp={class:"element-card"},Zp={class:"top-row"},Jp={class:"text-capitalize"},Qp={key:0},eg={class:"plugin-info"},tg={class:"plugin-class"},ng=t.defineComponent({__name:"ElementCard",props:{iconB64Svg:{},text:{},routePath:{},pluginClass:{},href:{},title:{}},emits:["navigate"],setup(e,{emit:n}){const o=e,l=n,r=t.computed(()=>o.href===void 0?`${o.routePath}/${Ce(o.text)}`:o.href);return(a,i)=>(t.openBlock(),t.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=t.withModifiers(s=>l("navigate",r.value),["prevent"]))},[t.createElementVNode("div",Xp,[t.createElementVNode("div",Zp,[t.createElementVNode("h6",Jp,t.toDisplayString(e.text),1),t.createVNode(Zn)]),e.title?(t.openBlock(),t.createElementBlock("div",Qp,[t.renderSlot(a.$slots,"markdown",{content:e.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",eg,[t.createElementVNode("code",tg,t.toDisplayString(e.pluginClass),1)])])],8,qp))}}),Ql=A(ng,[["__scopeId","data-v-ca0c5604"]]),og={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},lg=["aria-hidden","aria-label"],rg=["fill","width","height"],ag={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},ig={key:0};function sg(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ag,[o.title?(t.openBlock(),t.createElementBlock("title",ig,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,rg))],16,lg)}const cg=A(og,[["render",sg]]),ug={key:0,class:"language"},dg=["innerHTML"],mg=t.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(e){const n={ContentCopy:t.shallowRef(cg),Check:t.shallowRef(Rl)},o=e,l=t.ref(!1),r=t.ref(),a=t.shallowRef(n.ContentCopy.value),i=t.ref(),s=t.ref(),c=t.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,r.value&&t.nextTick(()=>{i.value&&s.value&&Pr.createPopper(i.value,s.value,{placement:"left"})})}function d(){clearTimeout(r.value),navigator.clipboard.writeText(o.code.trimEnd()),a.value=n.Check.value,r.value=setTimeout(()=>{a.value=n.ContentCopy.value,r.value=void 0},2e3)}return(h,m)=>(t.openBlock(),t.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:m[0]||(m[0]=y=>l.value=!1)},[e.language&&!l.value?(t.openBlock(),t.createElementBlock("div",ug,t.toDisplayString(e.language),1)):t.createCommentVNode("",!0),l.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_key:"copyButton",ref:i,class:"copy"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(a.value),{onClick:d}))],512),r.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...m[1]||(m[1]=[t.createTextVNode(" Copied! ",-1),t.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)])],512)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),t.createElementVNode("div",{innerHTML:c.value},null,8,dg)],32))}}),ot=A(mg,[["__scopeId","data-v-a899f6a1"]]);function Vt(e){if(e.type)return Array.isArray(e.type)?e.type:[e.type];if(e.$ref){const o=e.$ref.split("/");return["#"+o[o.length-1]]}}function er(e){const n=e.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function Qn(e){if(e.enum)return e.enum;if(e.items?.enum)return e.items.enum;if(e.additionalProperties?.enum)return e.additionalProperties.enum}function tr(e){return e.allOf&&(e=e.allOf.reduce((n,o)=>({...n,...o}),{...e}),delete e.allOf),e}function it(e){const n={},o=r=>{const a=Vt(r);if(a&&a.length>0)return a;if(r.anyOf)return r.anyOf.flatMap(Vt).filter(i=>i!==void 0).filter(b.Utils.distinctFilter)},l=o(e);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&e.items){const r=o(e.items);r&&e.items.anyOf&&(n.types=n.types.filter(a=>a!=="array").concat(r))}return e.additionalProperties?n.subType=Vt(e.additionalProperties)?.[0]:e.items&&(n.subType=Vt(e.items)?.[0]),n}function eo(e){return e?.$deprecated===!0||e?.$deprecated==="true"}function nr(e,n,o=new Set){if(!n)return[];const l=it(e),r=[];if(l.types.forEach(a=>{if(a.startsWith("#")){const i=a.slice(1);n[i]&&!o.has(i)&&!r.includes(i)&&r.push(i)}}),l.subType?.startsWith("#")){const a=l.subType.slice(1);n[a]&&!o.has(a)&&!r.includes(a)&&r.push(a)}return r.filter(a=>!eo(n[a])).map(a=>{const i=n[a],s=i?.properties?{...i.properties}:{},c=i?.$examples||s.$examples;return{key:a,title:i?.title??a.split("_")[0],description:i?.description,properties:s,$examples:c}})}function or(e){return e.$dynamic===!0?!0:e.$dynamic===!1?!1:e.anyOf?.some(n=>n.$dynamic===!0)??!1}const fg={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},pg=["aria-hidden","aria-label"],gg=["fill","width","height"],hg={d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},Eg={key:0};function kg(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon file-document-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",hg,[o.title?(t.openBlock(),t.createElementBlock("title",Eg,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,gg))],16,pg)}const yg=A(fg,[["render",kg]]),vg={class:"me-3"},Cg={class:"d-flex flex-column"},Ng=t.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(e){const n=e,o=t.computed(()=>{switch(n.type){case"success":return yg;case"info":return At;case"warning":return Kt;case"danger":return hn;default:return At}});return(l,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass("doc-alert alert alert-"+e.type),role:"alert"},[t.createElementVNode("div",vg,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),t.createElementVNode("div",Cg,[t.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),lr=A(Ng,[["__scopeId","data-v-f7fd8bc1"]]),_g={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sg=["aria-hidden","aria-label"],bg=["fill","width","height"],wg={d:"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},Lg={key:0};function Bg(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",wg,[o.title?(t.openBlock(),t.createElementBlock("title",Lg,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,bg))],16,Sg)}const rr=A(_g,[["render",Bg]]),Vg={class:"property-detail"},Tg={key:0},Ig=["href"],$g={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},Ag={class:"ref-type"},Dg={key:1,class:"type-box rounded fs-7 px-2 py-1"},Og={key:1},xg={class:"border rounded px-2 py-1"},Pg={key:2},Rg={class:"border rounded px-2 py-1"},Mg={key:3},Fg={class:"border rounded px-2 py-1"},Ug={key:4},Hg={class:"border rounded px-2 py-1"},zg={key:5},Wg={class:"border rounded px-2 py-1"},jg={key:6},Gg={class:"border rounded px-2 py-1"},Kg={key:7},Yg={class:"border rounded px-2 py-1"},qg={key:8},Xg={class:"border rounded px-2 py-1"},Zg={key:9},Jg={class:"border rounded px-2 py-1"},Qg={key:10},eh={class:"border rounded px-2 py-1"},th={key:11},nh={class:"border rounded px-2 py-1"},oh={key:12},lh={class:"border rounded px-2 py-1"},rh={key:13},ah={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},ih={key:14},sh={class:"property-description markdown"},ch={key:2},uh=t.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const n=e,o=t.ref(it(n.property).subType),l=t.ref(Qn(n.property)),r=b.sanitizeForMarkdown;return(a,i)=>(t.openBlock(),t.createElementBlock("div",Vg,[o.value?(t.openBlock(),t.createElementBlock("div",Tg,[i[1]||(i[1]=t.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,href:o.value,onClick:i[0]||(i[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("button",$g,[t.createElementVNode("span",Ag,t.toDisplayString(t.unref(er)(o.value)),1),t.createVNode(rr)])],8,Ig)):(t.openBlock(),t.createElementBlock("span",Dg,t.toDisplayString(o.value),1))])):t.createCommentVNode("",!0),e.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",Og,[i[2]||(i[2]=t.createElementVNode("span",null," Default ",-1)),t.createElementVNode("code",xg,t.toDisplayString(e.property.default),1)])):t.createCommentVNode("",!0),e.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",Pg,[i[3]||(i[3]=t.createElementVNode("span",null," Validation RegExp ",-1)),t.createElementVNode("code",Rg,t.toDisplayString(e.property.pattern),1)])):t.createCommentVNode("",!0),e.property.unit!==void 0&&e.property.unit.trim().length>0?(t.openBlock(),t.createElementBlock("div",Mg,[i[4]||(i[4]=t.createElementVNode("span",null," Unit ",-1)),t.createElementVNode("code",Fg,t.toDisplayString(e.property.unit),1)])):t.createCommentVNode("",!0),e.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",Ug,[i[5]||(i[5]=t.createElementVNode("span",null," Min length ",-1)),t.createElementVNode("code",Hg,t.toDisplayString(e.property.minLength),1)])):t.createCommentVNode("",!0),e.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",zg,[i[6]||(i[6]=t.createElementVNode("span",null," Max length ",-1)),t.createElementVNode("code",Wg,t.toDisplayString(e.property.maxLength),1)])):t.createCommentVNode("",!0),e.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",jg,[i[7]||(i[7]=t.createElementVNode("span",null," Min items ",-1)),t.createElementVNode("code",Gg,t.toDisplayString(e.property.minItems),1)])):t.createCommentVNode("",!0),e.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",Kg,[i[8]||(i[8]=t.createElementVNode("span",null," Max items ",-1)),t.createElementVNode("code",Yg,t.toDisplayString(e.property.maxItems),1)])):t.createCommentVNode("",!0),e.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",qg,[i[9]||(i[9]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Xg," >= "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",Zg,[i[10]||(i[10]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Jg," > "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",Qg,[i[11]||(i[11]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",eh," <= "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",th,[i[12]||(i[12]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",nh," < "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",oh,[i[13]||(i[13]=t.createElementVNode("span",null," Format ",-1)),t.createElementVNode("code",lh,t.toDisplayString(e.property.format),1)])):t.createCommentVNode("",!0),l.value!==void 0?(t.openBlock(),t.createElementBlock("div",rh,[i[14]||(i[14]=t.createElementVNode("span",null," Possible Values ",-1)),t.createElementVNode("div",ah,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(s,c)=>(t.openBlock(),t.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},t.toDisplayString(s),1))),128))])])):t.createCommentVNode("",!0),e.property.title!==void 0||e.property.description!==void 0?(t.openBlock(),t.createElementBlock("div",ih,[t.createElementVNode("div",sh,[e.property.title!==void 0?t.renderSlot(a.$slots,"markdown",{key:0,content:t.unref(r)(e.property.title)},void 0,!0):t.createCommentVNode("",!0),e.property.description!==void 0?t.renderSlot(a.$slots,"markdown",{key:1,content:t.unref(r)(e.property.description)},void 0,!0):t.createCommentVNode("",!0),e.property.$internalStorageURI?(t.openBlock(),t.createElementBlock("div",ch,[t.createVNode(lr,{type:"info"},{default:t.withCtx(()=>[t.renderSlot(a.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]))}}),dh=A(uh,[["__scopeId","data-v-e4c1ea43"]]),mh={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fh=["aria-hidden","aria-label"],ph=["fill","width","height"],gh={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},hh={key:0};function Eh(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",gh,[o.title?(t.openBlock(),t.createElementBlock("title",hh,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ph))],16,fh)}const ar=A(mh,[["render",Eh]]),kh={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yh=["aria-hidden","aria-label"],vh=["fill","width","height"],Ch={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},Nh={key:0};function _h(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon snowflake-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ch,[o.title?(t.openBlock(),t.createElementBlock("title",Nh,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,vh))],16,yh)}const ir=A(kh,[["render",_h]]),Sh={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},bh=["aria-hidden","aria-label"],wh=["fill","width","height"],Lh={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},Bh={key:0};function Vh(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Lh,[o.title?(t.openBlock(),t.createElementBlock("title",Bh,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,wh))],16,bh)}const sr=A(Sh,[["render",Vh]]),Th={key:0,class:"d-flex flex-column gap-3 mb-3 mt-2"},Ih={key:0,class:"markdown"},$h={key:1,class:"examples-container"},Ah={class:"border overflow-hidden"},Dh={class:"d-flex flex-grow-1 align-items-center justify-content-between"},Oh={class:"d-flex gap-2"},xh={class:"d-flex flex-wrap justify-content-end gap-2"},Ph=["href"],Rh={class:"ref-type"},Mh={key:1,class:"type-box rounded fs-7 px-2 py-1"},Fh=t.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},definitions:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]},noUrlChange:{type:Boolean,default:!1},description:{default:void 0},examples:{default:void 0}},emits:["expand"],setup(e,{emit:n}){const o=e,l=n,r=t.ref(!1);t.watch(r,s=>{s&&l("expand")});const a=s=>s.filter(c=>!c.startsWith("#")||!eo(o.definitions?.[c.slice(1)]));function i(s){s=s??{};const c=[],u=[];for(const m in s)typeof s[m]=="object"&&(s[m]=tr(s[m]),s[m].$required?c.push(m):u.push(m));const d=[...c.sort(),...u.sort()],h={};return d.forEach(m=>{(!s[m].$deprecated||o.forceInclude?.includes(m))&&(h[m]=s[m])}),h}return(s,c)=>(t.openBlock(),t.createBlock(Et,{class:"section-collapsible","clickable-text":e.sectionName,href:e.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":e.initiallyExpanded||r.value,"no-url-change":e.noUrlChange},t.createSlots({_:2},[Object.keys(e.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[e.description||e.examples&&e.examples.length>0?(t.openBlock(),t.createElementBlock("div",Th,[e.description?(t.openBlock(),t.createElementBlock("div",Ih,[t.renderSlot(s.$slots,"markdown",{content:e.description},void 0,!0)])):t.createCommentVNode("",!0),e.examples&&e.examples.length>0?(t.openBlock(),t.createElementBlock("div",$h,[c[3]||(c[3]=t.createElementVNode("h6",{class:"fw-bold mb-2"}," Examples ",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.examples,(u,d)=>(t.openBlock(),t.createElementBlock("div",{key:d,class:"mb-2"},[t.renderSlot(s.$slots,"example",{example:u},void 0,!0)]))),128))])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",Ah,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i(e.properties),(u,d)=>(t.openBlock(),t.createBlock(Et,{class:"property",key:d,arrow:!1,"clickable-text":d,href:e.href+"_"+d,onExpand:c[1]||(c[1]=h=>r.value=!0),"no-url-change":e.noUrlChange},{additionalButtonText:t.withCtx(()=>[u.$required?(t.openBlock(),t.createBlock(j,{key:0,class:"d-flex",title:"Required"},{default:t.withCtx(()=>[...c[4]||(c[4]=[t.createElementVNode("span",{class:"text-danger"}," *",-1)])]),_:1})):t.createCommentVNode("",!0)]),buttonRight:t.withCtx(({collapsed:h})=>[t.createElementVNode("span",Dh,[t.createElementVNode("span",Oh,[e.showDynamic&&!t.unref(or)(u)?(t.openBlock(),t.createBlock(j,{key:0,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(ir,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),u.$beta?(t.openBlock(),t.createBlock(j,{key:1,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(sr,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),u.$deprecated?(t.openBlock(),t.createBlock(j,{key:2,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Kt,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("span",xh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a(t.unref(it)(u).types),m=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:m},[m.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:m,onClick:c[0]||(c[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("span",Rh,t.toDisplayString(t.unref(er)(m)),1),t.createVNode(rr)],8,Ph)):(t.openBlock(),t.createElementBlock("span",Mh,t.toDisplayString(m),1))],64))),128)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(h?Jn:ar),{class:"arrow"}))])])]),content:t.withCtx(()=>[t.createVNode(dh,{property:u},{markdown:t.withCtx(({content:h})=>[t.renderSlot(s.$slots,"markdown",{content:h},void 0,!0)]),_:3},8,["property"])]),_:2},1032,["clickable-text","href","no-url-change"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded","no-url-change"]))}}),Tt=A(Fh,[["__scopeId","data-v-b4f5f7ad"]]),Uh={class:"d-flex flex-column gap-6"},Hh={class:"d-flex flex-column gap-3"},zh={key:0,class:"alert alert-info mb-2",role:"alert"},Wh={key:1,class:"plugin-title markdown"},jh={key:2,class:"markdown"},Gh={class:"d-flex flex-column gap-4"},Kh={class:"d-flex flex-column gap-3"},Yh={class:"markdown"},qh={key:0,class:"w-100 align-self-center"},Xh={class:"markdown"},Zh={class:"markdown"},Jh={class:"markdown"},Qh={class:"d-flex flex-column gap-7 ps-3"},e1={class:"markdown"},t1={class:"d-flex flex-column gap-2"},n1={key:0,class:"markdown"},o1=t.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(e){let n,o;const l=e,r=t.ref(!1),a=t.ref(new Set),i=t.ref(0),s=t.computed(()=>Object.entries(l.schema.definitions??{}).filter(([,k])=>!eo(k))),c=async()=>{const k=window.location.hash.slice(1);if(!k||!l.schema.definitions){a.value.clear();return}const _=k.replace(/-body$/,""),f=Object.keys(l.schema.definitions).find(E=>_===E||_.startsWith(E+"_"));if(f){r.value=!0,i.value+=1,a.value.clear(),a.value.add(f),await t.nextTick();let E=0;const S=30,N=()=>{const w=document.getElementById(_);w?w.scrollIntoView({behavior:"smooth",block:"start"}):E<S&&(E++,requestAnimationFrame(N))};requestAnimationFrame(N)}else a.value.clear()};t.watch([()=>l.schema,()=>l.pluginType],([k,_],[f,E])=>{(k!==f||_!==E)&&l.schema.definitions&&c()});const u=k=>k?.full?k.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
15
+ `),{element:y,original:T}});try{const m=c.type==="jpeg"?await r(s,c):await a(s,c);return c.shouldDownload&&u&&i(u),m}finally{h.forEach(({element:m,original:y})=>y?m.setAttribute("style",y):m.removeAttribute("style")),s.classList.remove("is-exporting")}}function r(s,c={quality:.95}){return o.value=null,Rf(s,c).then(u=>(e.value=u,n.value="jpeg",u)).catch(u=>{throw u.value=u,new Error(u)})}function a(s,c={quality:.95}){return o.value=null,Pf(s,c).then(u=>(e.value=u,n.value="png",u)).catch(u=>{throw u.value=u,new Error(u)})}function i(s){const c=document.createElement("a");c.download=`${s}.${n.value}`,c.href=e.value,c.click()}return{capture:l,download:i,dataUrl:e,error:o}}const Ff={key:1,class:"exporting"},Uf=t.defineComponent({__name:"Topology",props:{id:{},isHorizontal:{type:Boolean,default:!0},isReadOnly:{type:Boolean,default:!0},isAllowedEdit:{type:Boolean,default:!1},source:{},toggleOrientationButton:{type:Boolean,default:!1},flowGraph:{},flowId:{default:void 0},namespace:{default:void 0},expandedSubflows:{default:()=>[]},icons:{default:()=>({})},iconComponent:{default:void 0},enableSubflowInteraction:{type:Boolean,default:!0},execution:{default:void 0},subflowsExecutions:{default:()=>({})},playgroundEnabled:{type:Boolean,default:!1},playgroundReadyToStart:{type:Boolean,default:!1},getNodeDimensions:{type:Function,default:void 0}},emits:[b.EVENTS.EDIT,b.EVENTS.DELETE,b.EVENTS.RUN_TASK,b.EVENTS.OPEN_LINK,b.EVENTS.SHOW_LOGS,b.EVENTS.SHOW_DESCRIPTION,b.EVENTS.RUN_TASK,"on-add-flowable-error",b.EVENTS.ADD_TASK,"toggle-orientation","loading","swapped-task","message","expand-subflow",b.EVENTS.SHOW_CONDITION],setup(e,{emit:n}){const o=e,l=t.ref(!1),r=t.ref(),{getNodes:a,onNodeDrag:i,onNodeDragStart:s,onNodeDragStop:c,fitView:u,setElements:d,vueFlowRef:h}=oe.useVueFlow(o.id),m=t.ref({}),y=t.ref([]),T=t.ref(new Set),k=t.ref([]),{capture:_}=Mf();t.provide(Gn,t.computed(()=>o.execution)),t.provide(Pl,t.computed(()=>o.subflowsExecutions));const f=n;t.onMounted(()=>{E()}),t.watch(()=>o.flowGraph,()=>{E()}),t.watch(()=>o.isHorizontal,()=>{E()});const E=()=>{b.cleanGraph(o.id),t.nextTick(()=>{f("loading",!0);const x=T.value;T.value=new Set,y.value=[],m.value={},x.forEach(H=>R(b.CLUSTER_PREFIX+H,!1,!1));const $=b.generateGraph(o.id,o.flowId,o.namespace,o.flowGraph,o.source,y.value,o.isHorizontal,m.value,T.value,k.value,o.isReadOnly,o.isAllowedEdit,o.enableSubflowInteraction,o.getNodeDimensions);$&&(d($),u(),f("loading",!1))})},S=x=>{l.value||b.linkedElements(o.id,x.uid).forEach($=>{$?.type==="task"&&($.style={...$.style,outline:"0.5px solid "+Ne("--bs-gray-900")},$.class="rounded-3")})},N=()=>{w()},w=()=>{a.value.filter(x=>x.type==="task"||x.type==="trigger").forEach(x=>{x.style={...x.style,opacity:"1",outline:"none"},x.class=""})};s(x=>{l.value=!0,w(),x.node.style={...x.node.style,zIndex:1976},r.value=x.node.position}),c(x=>{if(l.value=!1,x.intersections&&C(x.intersections,x.node)===null){const $=x.node,H=x.intersections.find(P=>P.type==="task");if(H)try{o.source&&f("swapped-task",{newSource:W.swapBlocks({source:o.source,section:"tasks",key1:b.Utils.afterLastDot($.id)??"",key2:b.Utils.afterLastDot(H.id)??""}),swappedTasks:[$.id,H.id]})}catch(P){f("message",{variant:"error",title:"cannot swap tasks",message:`${P.message}, ${P.messageOptions}`}),$.position=r.value}else $.position=r.value}else x.node.position=r.value;w(),x.node.style={...x.node.style,zIndex:5},r.value=null});const I=t.computed(()=>o.flowGraph?.clusters?o.flowGraph.clusters.filter(x=>x.cluster.type.endsWith("SubflowGraphCluster")).map(x=>x.cluster.taskNode.uid+"."):[]);i(x=>{w(),a.value.filter($=>$.id!==x.node.id).forEach($=>{$.type==="trigger"||$.type==="task"&&($.id.startsWith(x.node.id+".")||x.node.id.startsWith($.id+"."))||I?.value?.some(H=>$.id.startsWith(H))?$.style={...$.style,opacity:"0.5"}:$.style={...$.style,opacity:"1"}}),x.intersections&&!C(x.intersections,x.node)&&x.intersections.filter($=>$.type==="task").length===1&&(x.intersections.forEach($=>{$.type==="task"&&($.style={...$.style,outline:"0.5px solid "+Ne("--bs-primary")},$.class="rounded-3")}),x.node.style={...x.node.style,outline:"0.5px solid "+Ne("--bs-primary")},x.node.class="rounded-3")});const C=(x,$)=>{const H=x.filter(P=>P.type==="task").map(P=>b.Utils.afterLastDot(P.id));if(H.length>1)return"toomuchtaskerror";try{if(H.length===1&&o.source&&W.isParentChildrenRelation({source:o.source,sections:["tasks","triggers"],key1:b.Utils.afterLastDot(H[0])??"",key2:b.Utils.afterLastDot($.id)??"",keyName:"id"}))return"parentchildrenerror"}catch{return"parentchildrenerror"}return x.filter(P=>P.type==="trigger").length>0?"triggererror":null},R=(x,$,H=!1)=>{const P=o.flowGraph.clusters.find(me=>me.cluster.uid.endsWith(x)),Ie=x.replace(b.CLUSTER_PREFIX,"");T.value.add(Ie),y.value=y.value.concat(P.nodes.filter(me=>me!==Ie||H)),y.value=y.value.concat([P.cluster.uid]),m.value={...m.value,[P.cluster.uid]:Ie,[P.start]:Ie,[P.end]:Ie};for(let me of P.nodes)o.flowGraph.clusters.map(He=>He.cluster.uid).includes(me)&&R(me,!1,!0);$&&E()},U=x=>{if(["io.kestra.core.tasks.flows.Flow","io.kestra.core.tasks.flows.Subflow","io.kestra.plugin.core.flow.Subflow","io.kestra.core.tasks.flows.ForEachItem$ForEachItemExecutable","io.kestra.plugin.core.flow.ForEachItem$ForEachItemExecutable"].includes(x.type)&&!o.expandedSubflows.includes(x.id)){f("expand-subflow",[...o.expandedSubflows,x.id]);return}m.value={},y.value=[],k.value=[],T.value.delete(x.id),T.value.forEach(H=>R(H,!1,!1)),E()},Q=document.getElementsByTagName("html")[0].className.indexOf("dark")>=0,ge=t.ref(!0),Z=t.ref(!1),Re=()=>Z.value=!Z.value;function Je(x){if(!h.value){console.warn("Flow not found");return}ge.value=!1,_(h.value,{type:x,shouldDownload:!0}).then(()=>ge.value=!0).finally(()=>Z.value=!1)}return(x,$)=>(t.openBlock(),t.createBlock(t.unref(oe.VueFlow),{id:e.id,"default-marker-color":t.unref(Ne)("--bs-cyan"),"fit-view-on-init":"","nodes-draggable":!1,"nodes-connectable":!1,"elevate-nodes-on-select":!1,"elevate-edges-on-select":!1},{"node-cluster":t.withCtx(H=>[t.createVNode(uu,t.mergeProps(H,{onCollapse:$[0]||($[0]=P=>R(P,!0))}),null,16)]),"node-dot":t.withCtx(H=>[t.createVNode(yu,t.normalizeProps(t.guardReactiveProps(H)),null,16)]),"node-task":t.withCtx(H=>[t.createVNode(pm,t.mergeProps(H,{icons:e.icons,"icon-component":e.iconComponent,"playground-enabled":e.playgroundEnabled,"playground-ready-to-start":e.playgroundReadyToStart,onEdit:$[1]||($[1]=P=>f(t.unref(b.EVENTS).EDIT,P)),onDelete:$[2]||($[2]=P=>f(t.unref(b.EVENTS).DELETE,P)),onRunTask:$[3]||($[3]=P=>f(t.unref(b.EVENTS).RUN_TASK,P)),onExpand:$[4]||($[4]=P=>U(P)),onOpenLink:$[5]||($[5]=P=>f(t.unref(b.EVENTS).OPEN_LINK,P)),onShowLogs:$[6]||($[6]=P=>f(t.unref(b.EVENTS).SHOW_LOGS,P)),onShowDescription:$[7]||($[7]=P=>f(t.unref(b.EVENTS).SHOW_DESCRIPTION,P)),onShowCondition:$[8]||($[8]=P=>f(t.unref(b.EVENTS).SHOW_CONDITION,P)),onMouseover:$[9]||($[9]=P=>S(P)),onMouseleave:$[10]||($[10]=P=>N()),onAddError:$[11]||($[11]=P=>f("on-add-flowable-error",P)),"enable-subflow-interaction":e.enableSubflowInteraction}),{details:t.withCtx(()=>[t.renderSlot(x.$slots,"taskDetails",t.normalizeProps(t.guardReactiveProps(H)),void 0,!0)]),_:2},1040,["icons","icon-component","playground-enabled","playground-ready-to-start","enable-subflow-interaction"])]),"node-custom":t.withCtx(H=>[t.createVNode(jn,t.mergeProps(H,{icons:e.icons,"icon-component":e.iconComponent}),null,16,["icons","icon-component"])]),"node-trigger":t.withCtx(H=>[t.createVNode(hm,t.mergeProps(H,{icons:e.icons,"icon-component":e.iconComponent,"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit,onDelete:$[12]||($[12]=P=>f(t.unref(b.EVENTS).DELETE,P)),onEdit:$[13]||($[13]=P=>f(t.unref(b.EVENTS).EDIT,P)),onShowDescription:$[14]||($[14]=P=>f(t.unref(b.EVENTS).SHOW_DESCRIPTION,P))}),null,16,["icons","icon-component","is-read-only","is-allowed-edit"])]),"node-collapsedcluster":t.withCtx(H=>[t.createVNode(Vm,t.mergeProps(H,{onExpand:$[15]||($[15]=P=>U(P))}),null,16)]),"edge-edge":t.withCtx(H=>[t.createVNode($u,t.mergeProps(H,{"yaml-source":e.source,onAddTask:$[16]||($[16]=P=>f(t.unref(b.EVENTS).ADD_TASK,P)),"is-read-only":e.isReadOnly,"is-allowed-edit":e.isAllowedEdit}),null,16,["yaml-source","is-read-only","is-allowed-edit"])]),default:t.withCtx(()=>[t.createVNode(t.unref(Qc),{"pattern-color":Q?t.unref(Ne)("--bs-grey-500"):t.unref(Ne)("--bs-grey-300")},null,8,["pattern-color"]),ge.value?(t.openBlock(),t.createBlock(t.unref(an.Controls),{key:0,"show-interactive":!1},{default:t.withCtx(()=>[e.toggleOrientationButton?(t.openBlock(),t.createBlock(t.unref(an.ControlButton),{key:0,onClick:$[17]||($[17]=H=>f("toggle-orientation",H))},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.isHorizontal?Pm:Am)))]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(an.ControlButton),{onClick:Re},{default:t.withCtx(()=>[t.createVNode(Wm)]),_:1}),Z.value?(t.openBlock(),t.createElementBlock("ul",Ff,[t.createElementVNode("li",{onClick:$[18]||($[18]=H=>Je("jpeg")),class:"item"}," Export as .JPEG "),t.createElementVNode("li",{onClick:$[19]||($[19]=H=>Je("png")),class:"item"}," Export as .PNG ")])):t.createCommentVNode("",!0)]),_:1})):t.createCommentVNode("",!0)]),_:3},8,["id","default-marker-color"]))}}),Hf=A(Uf,[["__scopeId","data-v-6f358b88"]]),zf={class:"text"},Wf=t.defineComponent({__name:"Status",props:{status:{},title:{default:void 0},icon:{type:Boolean,default:!1},size:{default:"default"}},setup(e){const n=e,o=t.computed(()=>n.icon?ne.icon()[n.status?.toUpperCase()]:void 0),l=t.computed(()=>n.title??n.status),r=t.computed(()=>["status-button",n.status?.toLowerCase()&&`status-button--${n.status.toLowerCase()}`,n.size!=="default"&&`status-button--${n.size}`].filter(Boolean));return(a,i)=>(t.openBlock(),t.createElementBlock("button",{type:"button",class:t.normalizeClass(r.value)},[e.icon?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{key:0,class:"icon"})):t.createCommentVNode("",!0),t.createElementVNode("span",zf,t.toDisplayString(l.value),1)],2))}}),jf=A(Wf,[["__scopeId","data-v-ce6b0e30"]]),Gf={name:"MenuRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Kf=["aria-hidden","aria-label"],Yf=["fill","width","height"],qf={d:"M10,17L15,12L10,7V17Z"},Xf={key:0};function Zf(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",qf,[o.title?(t.openBlock(),t.createElementBlock("title",Xf,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Yf))],16,Kf)}const Jf=A(Gf,[["render",Zf]]),Qf={name:"MenuDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},ep=["aria-hidden","aria-label"],tp=["fill","width","height"],np={d:"M7,10L12,15L17,10H7Z"},op={key:0};function lp(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon menu-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",np,[o.title?(t.openBlock(),t.createElementBlock("title",op,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,tp))],16,ep)}const rp=A(Qf,[["render",lp]]);function ql(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Xl(e){return typeof e=="function"?e():t.unref(e)}const ap=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ip=Object.prototype.toString,sp=e=>ip.call(e)==="[object Object]",cp=()=>{};function up(e){return Object.entries(e)}function dp(e){return t.getCurrentInstance()}function mp(e,n=!0,o){dp()?t.onMounted(e,o):n?e():t.nextTick(e)}function Ye(e){var n;const o=Xl(e);return(n=o?.$el)!=null?n:o}const qt=ap?window:void 0;function Zo(...e){let n,o,l,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([o,l,r]=e,n=qt):[n,o,l,r]=e,!n)return cp;Array.isArray(o)||(o=[o]),Array.isArray(l)||(l=[l]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},s=(d,h,m,y)=>(d.addEventListener(h,m,y),()=>d.removeEventListener(h,m,y)),c=t.watch(()=>[Ye(n),Xl(r)],([d,h])=>{if(i(),!d)return;const m=sp(h)?{...h}:h;a.push(...o.flatMap(y=>l.map(T=>s(d,y,T,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return ql(u),u}function fp(){const e=t.ref(!1),n=t.getCurrentInstance();return n&&t.onMounted(()=>{e.value=!0},n),e}function pp(e){const n=fp();return t.computed(()=>(n.value,!!e()))}const Jo=["hash","host","hostname","href","pathname","port","protocol","search"];function Zl(e={}){const{window:n=qt}=e,o=Object.fromEntries(Jo.map(a=>[a,t.ref()]));for(const[a,i]of up(o))t.watch(i,s=>{!n?.location||n.location[a]===s||(n.location[a]=s)});const l=a=>{var i;const{state:s,length:c}=n?.history||{},{origin:u}=n?.location||{};for(const d of Jo)o[d].value=(i=n?.location)==null?void 0:i[d];return t.reactive({trigger:a,state:s,length:c,origin:u,...o})},r=t.ref(l("load"));return n&&(Zo(n,"popstate",()=>r.value=l("popstate"),{passive:!0}),Zo(n,"hashchange",()=>r.value=l("hashchange"),{passive:!0})),r}function gp(e,n,o={}){const{window:l=qt,...r}=o;let a;const i=pp(()=>l&&"ResizeObserver"in l),s=()=>{a&&(a.disconnect(),a=void 0)},c=t.computed(()=>Array.isArray(e)?e.map(h=>Ye(h)):[Ye(e)]),u=t.watch(c,h=>{if(s(),i.value&&l){a=new ResizeObserver(n);for(const m of h)m&&a.observe(m,r)}},{immediate:!0,flush:"post"}),d=()=>{s(),u()};return ql(d),{isSupported:i,stop:d}}function Qo(e,n={width:0,height:0},o={}){const{window:l=qt,box:r="content-box"}=o,a=t.computed(()=>{var h,m;return(m=(h=Ye(e))==null?void 0:h.namespaceURI)==null?void 0:m.includes("svg")}),i=t.ref(n.width),s=t.ref(n.height),{stop:c}=gp(e,([h])=>{const m=r==="border-box"?h.borderBoxSize:r==="content-box"?h.contentBoxSize:h.devicePixelContentBoxSize;if(l&&a.value){const y=Ye(e);if(y){const T=y.getBoundingClientRect();i.value=T.width,s.value=T.height}}else if(m){const y=Array.isArray(m)?m:[m];i.value=y.reduce((T,{inlineSize:k})=>T+k,0),s.value=y.reduce((T,{blockSize:k})=>T+k,0)}else i.value=h.contentRect.width,s.value=h.contentRect.height},o);mp(()=>{const h=Ye(e);h&&(i.value="offsetWidth"in h?h.offsetWidth:n.width,s.value="offsetHeight"in h?h.offsetHeight:n.height)});const u=t.watch(()=>Ye(e),h=>{i.value=h?n.width:0,s.value=h?n.height:0});function d(){c(),u()}return{width:i,height:s,stop:d}}const hp=["id","open"],Ep={class:"d-flex gap-2 align-items-center"},kp={key:0,class:"d-flex flex-grow-1"},yp=["id"],vp=t.defineComponent({__name:"Collapsible",props:{href:{default:Math.random().toString(36).substring(2,5)},clickableText:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),r=Zl(),a=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{u.preventDefault(),u.stopPropagation(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),!o.noUrlChange&&(l.value?history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value)},c=t.ref(!1);return t.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),t.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(t.openBlock(),t.createElementBlock("details",{id:e.href,open:c.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[t.createElementVNode("span",Ep,[e.arrow?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?Jf:rp),{key:0,class:"arrow"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(e.clickableText)+" ",1),t.renderSlot(u.$slots,"additionalButtonText",{},void 0,!0)]),u.$slots.buttonRight?(t.openBlock(),t.createElementBlock("span",kp,[t.renderSlot(u.$slots,"buttonRight",{collapsed:l.value},void 0,!0)])):t.createCommentVNode("",!0)],2),u.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:e.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(u.$slots,"content",{},void 0,!0)])],8,yp)):t.createCommentVNode("",!0)],8,hp))}}),Et=A(vp,[["__scopeId","data-v-6b6ffd9a"]]),Cp={name:"ChevronRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Np=["aria-hidden","aria-label"],_p=["fill","width","height"],Sp={d:"M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z"},bp={key:0};function wp(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-right-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Sp,[o.title?(t.openBlock(),t.createElementBlock("title",bp,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,_p))],16,Np)}const Zn=A(Cp,[["render",wp]]),Lp={name:"ChevronDownIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Bp=["aria-hidden","aria-label"],Vp=["fill","width","height"],Tp={d:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},Ip={key:0};function $p(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-down-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Tp,[o.title?(t.openBlock(),t.createElementBlock("title",Ip,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,Vp))],16,Bp)}const Jn=A(Lp,[["render",$p]]),Ap=["id","open"],Dp={key:0,class:"chevron"},Op=["id"],xp=t.defineComponent({__name:"CollapsibleV2",props:{href:{default:Math.random().toString(36).substring(2,5)},title:{},arrow:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},noUrlChange:{type:Boolean,default:!1}},emits:["expand"],setup(e,{emit:n}){const o=e,l=t.ref(!0),r=Zl(),a=n,i=t.computed(()=>`#${o.href}-body`),s=u=>{if(u.preventDefault(),l.value=!l.value,c.value=!l.value,l.value||a("expand"),o.noUrlChange)return;const d=window.location.pathname+window.location.search+(l.value?"":i.value);try{window.history.pushState(null,"",d)}catch{try{l.value?window.history.replaceState(null,"",window.location.pathname+window.location.search):window.location.hash=i.value}catch{}}},c=t.ref(!1);return t.watch(()=>o.initiallyExpanded,u=>{u!==void 0&&(c.value=u,l.value=!u)},{immediate:!0}),t.watch(()=>r.value.hash,u=>{u===i.value&&l.value&&(c.value=!0,l.value=!1)},{immediate:!0}),(u,d)=>(t.openBlock(),t.createElementBlock("details",{id:e.href,open:c.value},[t.createElementVNode("summary",{class:t.normalizeClass(["d-flex align-items-center justify-content-between fw-bold gap-2 collapse-button",{collapsed:l.value}]),onClick:s},[t.createElementVNode("span",null,[t.createTextVNode(t.toDisplayString(e.title)+" ",1),t.renderSlot(u.$slots,"additional",{},void 0,!0)]),t.renderSlot(u.$slots,"right",{},void 0,!0),e.arrow?(t.openBlock(),t.createElementBlock("span",Dp,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value?Zn:Jn)))])):t.createCommentVNode("",!0)],2),u.$slots.content?(t.openBlock(),t.createElementBlock("div",{key:0,id:e.href+"-body"},[t.createElementVNode("div",null,[t.renderSlot(u.$slots,"content",{},void 0,!0)])],8,Op)):t.createCommentVNode("",!0)],8,Ap))}}),kt=A(xp,[["__scopeId","data-v-d0f1d871"]]),Pp=["href"],Rp={class:"top-row"},Mp={class:"icon-content"},Fp=["src","alt"],Up={class:"text-content"},Hp={key:0,class:"description"},zp={class:"footer"},Wp={class:"bottom-row"},jp={class:"left"},Gp={key:0},Kp={key:1},Yp=t.defineComponent({__name:"SubgroupCard",props:{iconSrc:{default:void 0},text:{},routePath:{},totalCount:{default:0},description:{default:""},href:{default:void 0},isActive:{type:Boolean,default:!1},blueprintsCount:{default:0}},emits:["navigate"],setup(e,{emit:n}){const o=e,l=n,r=t.computed(()=>o.href===void 0?`${o.routePath}/${Ce(o.text)}`:o.href);return(a,i)=>(t.openBlock(),t.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=t.withModifiers(s=>l("navigate",r.value),["prevent"]))},[t.createElementVNode("div",{class:t.normalizeClass(["plugin",{"is-active":e.isActive}])},[t.createElementVNode("div",Rp,[t.createElementVNode("div",Mp,[e.iconSrc?(t.openBlock(),t.createElementBlock("img",{key:0,src:e.iconSrc,alt:`${e.text} icon`},null,8,Fp)):t.createCommentVNode("",!0)]),t.createElementVNode("div",Up,[t.createElementVNode("h6",null,t.toDisplayString(e.text),1),e.description?(t.openBlock(),t.createElementBlock("p",Hp,t.toDisplayString(e.description),1)):t.createCommentVNode("",!0)])]),t.createElementVNode("div",zp,[i[3]||(i[3]=t.createElementVNode("hr",null,null,-1)),t.createElementVNode("div",Wp,[t.createElementVNode("div",jp,[o.totalCount?(t.openBlock(),t.createElementBlock("p",Gp,[t.createTextVNode(t.toDisplayString(o.totalCount??0)+" ",1),i[1]||(i[1]=t.createElementVNode("span",null,"Tasks",-1))])):t.createCommentVNode("",!0),o.blueprintsCount?(t.openBlock(),t.createElementBlock("p",Kp,[t.createTextVNode(t.toDisplayString(o.blueprintsCount??0)+" ",1),i[2]||(i[2]=t.createElementVNode("span",null,"Blueprints",-1))])):t.createCommentVNode("",!0)]),t.createVNode(Zn)])])],2)],8,Pp))}}),Jl=A(Yp,[["__scopeId","data-v-4c31d96c"]]),qp=["href"],Xp={class:"element-card"},Zp={class:"top-row"},Jp={class:"text-capitalize"},Qp={key:0},eg={class:"plugin-info"},tg={class:"plugin-class"},ng=t.defineComponent({__name:"ElementCard",props:{text:{},routePath:{},pluginClass:{},href:{},title:{}},emits:["navigate"],setup(e,{emit:n}){const o=e,l=n,r=t.computed(()=>o.href===void 0?`${o.routePath}/${Ce(o.text)}`:o.href);return(a,i)=>(t.openBlock(),t.createElementBlock("a",{href:r.value,onClick:i[0]||(i[0]=t.withModifiers(s=>l("navigate",r.value),["prevent"]))},[t.createElementVNode("div",Xp,[t.createElementVNode("div",Zp,[t.createElementVNode("h6",Jp,t.toDisplayString(e.text),1),t.createVNode(Zn)]),e.title?(t.openBlock(),t.createElementBlock("div",Qp,[t.renderSlot(a.$slots,"markdown",{content:e.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",eg,[t.createElementVNode("code",tg,t.toDisplayString(e.pluginClass),1)])])],8,qp))}}),Ql=A(ng,[["__scopeId","data-v-0c96172a"]]),og={name:"ContentCopyIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},lg=["aria-hidden","aria-label"],rg=["fill","width","height"],ag={d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"},ig={key:0};function sg(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon content-copy-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",ag,[o.title?(t.openBlock(),t.createElementBlock("title",ig,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,rg))],16,lg)}const cg=A(og,[["render",sg]]),ug={key:0,class:"language"},dg=["innerHTML"],mg=t.defineComponent({__name:"SchemaToCode",props:{highlighter:{},code:{default:""},language:{default:null},filename:{default:null},highlights:{default:()=>[]},meta:{default:null},theme:{default:"github-dark"}},setup(e){const n={ContentCopy:t.shallowRef(cg),Check:t.shallowRef(Rl)},o=e,l=t.ref(!1),r=t.ref(),a=t.shallowRef(n.ContentCopy.value),i=t.ref(),s=t.ref(),c=t.computed(()=>o.highlighter.codeToHtml(o.code,{lang:o.language,theme:o.theme}));function u(){l.value=!0,r.value&&t.nextTick(()=>{i.value&&s.value&&Pr.createPopper(i.value,s.value,{placement:"left"})})}function d(){clearTimeout(r.value),navigator.clipboard.writeText(o.code.trimEnd()),a.value=n.Check.value,r.value=setTimeout(()=>{a.value=n.ContentCopy.value,r.value=void 0},2e3)}return(h,m)=>(t.openBlock(),t.createElementBlock("div",{class:"code-block",onMouseover:u,onMouseleave:m[0]||(m[0]=y=>l.value=!1)},[e.language&&!l.value?(t.openBlock(),t.createElementBlock("div",ug,t.toDisplayString(e.language),1)):t.createCommentVNode("",!0),l.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_key:"copyButton",ref:i,class:"copy"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(a.value),{onClick:d}))],512),r.value?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"copyTooltip",ref:s,id:"copied-tooltip",role:"tooltip"},[...m[1]||(m[1]=[t.createTextVNode(" Copied! ",-1),t.createElementVNode("div",{id:"arrow","data-popper-arrow":""},null,-1)])],512)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),t.createElementVNode("div",{innerHTML:c.value},null,8,dg)],32))}}),ot=A(mg,[["__scopeId","data-v-a899f6a1"]]);function Vt(e){if(e.type)return Array.isArray(e.type)?e.type:[e.type];if(e.$ref){const o=e.$ref.split("/");return["#"+o[o.length-1]]}}function er(e){const n=e.split("_")[0];return n.substring(n.lastIndexOf(".")+1)}function Qn(e){if(e.enum)return e.enum;if(e.items?.enum)return e.items.enum;if(e.additionalProperties?.enum)return e.additionalProperties.enum}function tr(e){return e.allOf&&(e=e.allOf.reduce((n,o)=>({...n,...o}),{...e}),delete e.allOf),e}function it(e){const n={},o=r=>{const a=Vt(r);if(a&&a.length>0)return a;if(r.anyOf)return r.anyOf.flatMap(Vt).filter(i=>i!==void 0).filter(b.Utils.distinctFilter)},l=o(e);if(l?n.types=l:n.types=["object"],n.types.includes("array")&&e.items){const r=o(e.items);r&&e.items.anyOf&&(n.types=n.types.filter(a=>a!=="array").concat(r))}return e.additionalProperties?n.subType=Vt(e.additionalProperties)?.[0]:e.items&&(n.subType=Vt(e.items)?.[0]),n}function eo(e){return e?.$deprecated===!0||e?.$deprecated==="true"}function nr(e,n,o=new Set){if(!n)return[];const l=it(e),r=[];if(l.types.forEach(a=>{if(a.startsWith("#")){const i=a.slice(1);n[i]&&!o.has(i)&&!r.includes(i)&&r.push(i)}}),l.subType?.startsWith("#")){const a=l.subType.slice(1);n[a]&&!o.has(a)&&!r.includes(a)&&r.push(a)}return r.filter(a=>!eo(n[a])).map(a=>{const i=n[a],s=i?.properties?{...i.properties}:{},c=i?.$examples||s.$examples;return{key:a,title:i?.title??a.split("_")[0],description:i?.description,properties:s,$examples:c}})}function or(e){return e.$dynamic===!0?!0:e.$dynamic===!1?!1:e.anyOf?.some(n=>n.$dynamic===!0)??!1}const fg={name:"FileDocumentIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},pg=["aria-hidden","aria-label"],gg=["fill","width","height"],hg={d:"M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M15,18V16H6V18H15M18,14V12H6V14H18Z"},Eg={key:0};function kg(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon file-document-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",hg,[o.title?(t.openBlock(),t.createElementBlock("title",Eg,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,gg))],16,pg)}const yg=A(fg,[["render",kg]]),vg={class:"me-3"},Cg={class:"d-flex flex-column"},Ng=t.defineComponent({name:"Alert",__name:"Alert",props:{type:{}},setup(e){const n=e,o=t.computed(()=>{switch(n.type){case"success":return yg;case"info":return At;case"warning":return Kt;case"danger":return hn;default:return At}});return(l,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass("doc-alert alert alert-"+e.type),role:"alert"},[t.createElementVNode("div",vg,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(o.value),{class:"alert-icon"}))]),t.createElementVNode("div",Cg,[t.renderSlot(l.$slots,"default",{},void 0,!0)])],2))}}),lr=A(Ng,[["__scopeId","data-v-f7fd8bc1"]]),_g={name:"EyeOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},Sg=["aria-hidden","aria-label"],bg=["fill","width","height"],wg={d:"M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z"},Lg={key:0};function Bg(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon eye-outline-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",wg,[o.title?(t.openBlock(),t.createElementBlock("title",Lg,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,bg))],16,Sg)}const rr=A(_g,[["render",Bg]]),Vg={class:"property-detail"},Tg={key:0},Ig=["href"],$g={class:"d-flex fw-bold type-box rounded fs-7 px-2 py-1"},Ag={class:"ref-type"},Dg={key:1,class:"type-box rounded fs-7 px-2 py-1"},Og={key:1},xg={class:"border rounded px-2 py-1"},Pg={key:2},Rg={class:"border rounded px-2 py-1"},Mg={key:3},Fg={class:"border rounded px-2 py-1"},Ug={key:4},Hg={class:"border rounded px-2 py-1"},zg={key:5},Wg={class:"border rounded px-2 py-1"},jg={key:6},Gg={class:"border rounded px-2 py-1"},Kg={key:7},Yg={class:"border rounded px-2 py-1"},qg={key:8},Xg={class:"border rounded px-2 py-1"},Zg={key:9},Jg={class:"border rounded px-2 py-1"},Qg={key:10},eh={class:"border rounded px-2 py-1"},th={key:11},nh={class:"border rounded px-2 py-1"},oh={key:12},lh={class:"border rounded px-2 py-1"},rh={key:13},ah={class:"d-flex flex-wrap justify-content-end gap-7 p-0"},ih={key:14},sh={class:"property-description markdown"},ch={key:2},uh=t.defineComponent({__name:"PropertyDetail",props:{property:{}},setup(e){const n=e,o=t.ref(it(n.property).subType),l=t.ref(Qn(n.property)),r=b.sanitizeForMarkdown;return(a,i)=>(t.openBlock(),t.createElementBlock("div",Vg,[o.value?(t.openBlock(),t.createElementBlock("div",Tg,[i[1]||(i[1]=t.createElementVNode("span",null," SubType ",-1)),o.value.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,href:o.value,onClick:i[0]||(i[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("button",$g,[t.createElementVNode("span",Ag,t.toDisplayString(t.unref(er)(o.value)),1),t.createVNode(rr)])],8,Ig)):(t.openBlock(),t.createElementBlock("span",Dg,t.toDisplayString(o.value),1))])):t.createCommentVNode("",!0),e.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",Og,[i[2]||(i[2]=t.createElementVNode("span",null," Default ",-1)),t.createElementVNode("code",xg,t.toDisplayString(e.property.default),1)])):t.createCommentVNode("",!0),e.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",Pg,[i[3]||(i[3]=t.createElementVNode("span",null," Validation RegExp ",-1)),t.createElementVNode("code",Rg,t.toDisplayString(e.property.pattern),1)])):t.createCommentVNode("",!0),e.property.unit!==void 0&&e.property.unit.trim().length>0?(t.openBlock(),t.createElementBlock("div",Mg,[i[4]||(i[4]=t.createElementVNode("span",null," Unit ",-1)),t.createElementVNode("code",Fg,t.toDisplayString(e.property.unit),1)])):t.createCommentVNode("",!0),e.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",Ug,[i[5]||(i[5]=t.createElementVNode("span",null," Min length ",-1)),t.createElementVNode("code",Hg,t.toDisplayString(e.property.minLength),1)])):t.createCommentVNode("",!0),e.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",zg,[i[6]||(i[6]=t.createElementVNode("span",null," Max length ",-1)),t.createElementVNode("code",Wg,t.toDisplayString(e.property.maxLength),1)])):t.createCommentVNode("",!0),e.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",jg,[i[7]||(i[7]=t.createElementVNode("span",null," Min items ",-1)),t.createElementVNode("code",Gg,t.toDisplayString(e.property.minItems),1)])):t.createCommentVNode("",!0),e.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",Kg,[i[8]||(i[8]=t.createElementVNode("span",null," Max items ",-1)),t.createElementVNode("code",Yg,t.toDisplayString(e.property.maxItems),1)])):t.createCommentVNode("",!0),e.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",qg,[i[9]||(i[9]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Xg," >= "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",Zg,[i[10]||(i[10]=t.createElementVNode("span",null," Minimum ",-1)),t.createElementVNode("code",Jg," > "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",Qg,[i[11]||(i[11]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",eh," <= "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",th,[i[12]||(i[12]=t.createElementVNode("span",null," Maximum ",-1)),t.createElementVNode("code",nh," < "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",oh,[i[13]||(i[13]=t.createElementVNode("span",null," Format ",-1)),t.createElementVNode("code",lh,t.toDisplayString(e.property.format),1)])):t.createCommentVNode("",!0),l.value!==void 0?(t.openBlock(),t.createElementBlock("div",rh,[i[14]||(i[14]=t.createElementVNode("span",null," Possible Values ",-1)),t.createElementVNode("div",ah,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(s,c)=>(t.openBlock(),t.createElementBlock("code",{class:"border rounded px-2 py-1",key:c},t.toDisplayString(s),1))),128))])])):t.createCommentVNode("",!0),e.property.title!==void 0||e.property.description!==void 0?(t.openBlock(),t.createElementBlock("div",ih,[t.createElementVNode("div",sh,[e.property.title!==void 0?t.renderSlot(a.$slots,"markdown",{key:0,content:t.unref(r)(e.property.title)},void 0,!0):t.createCommentVNode("",!0),e.property.description!==void 0?t.renderSlot(a.$slots,"markdown",{key:1,content:t.unref(r)(e.property.description)},void 0,!0):t.createCommentVNode("",!0),e.property.$internalStorageURI?(t.openBlock(),t.createElementBlock("div",ch,[t.createVNode(lr,{type:"info"},{default:t.withCtx(()=>[t.renderSlot(a.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]))}}),dh=A(uh,[["__scopeId","data-v-e4c1ea43"]]),mh={name:"ChevronUpIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},fh=["aria-hidden","aria-label"],ph=["fill","width","height"],gh={d:"M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z"},hh={key:0};function Eh(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon chevron-up-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",gh,[o.title?(t.openBlock(),t.createElementBlock("title",hh,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,ph))],16,fh)}const ar=A(mh,[["render",Eh]]),kh={name:"SnowflakeIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},yh=["aria-hidden","aria-label"],vh=["fill","width","height"],Ch={d:"M20.79,13.95L18.46,14.57L16.46,13.44V10.56L18.46,9.43L20.79,10.05L21.31,8.12L19.54,7.65L20,5.88L18.07,5.36L17.45,7.69L15.45,8.82L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L15.5,15.17L17.5,16.3L18.12,18.63L20,18.12L19.53,16.35L21.3,15.88L20.79,13.95M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44V10.56Z"},Nh={key:0};function _h(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon snowflake-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Ch,[o.title?(t.openBlock(),t.createElementBlock("title",Nh,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,vh))],16,yh)}const ir=A(kh,[["render",_h]]),Sh={name:"AlphaBBoxIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}},bh=["aria-hidden","aria-label"],wh=["fill","width","height"],Lh={d:"M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3M15,10.5V9A2,2 0 0,0 13,7H9V17H13A2,2 0 0,0 15,15V13.5C15,12.7 14.3,12 13.5,12C14.3,12 15,11.3 15,10.5M13,15H11V13H13V15M13,11H11V9H13V11Z"},Bh={key:0};function Vh(e,n,o,l,r,a){return t.openBlock(),t.createElementBlock("span",t.mergeProps(e.$attrs,{"aria-hidden":o.title?null:"true","aria-label":o.title,class:"material-design-icon alpha-b-box-icon",role:"img",onClick:n[0]||(n[0]=i=>e.$emit("click",i))}),[(t.openBlock(),t.createElementBlock("svg",{fill:o.fillColor,class:"material-design-icon__svg",width:o.size,height:o.size,viewBox:"0 0 24 24"},[t.createElementVNode("path",Lh,[o.title?(t.openBlock(),t.createElementBlock("title",Bh,t.toDisplayString(o.title),1)):t.createCommentVNode("",!0)])],8,wh))],16,bh)}const sr=A(Sh,[["render",Vh]]),Th={key:0,class:"d-flex flex-column gap-3 mb-3 mt-2"},Ih={key:0,class:"markdown"},$h={key:1,class:"examples-container"},Ah={class:"border overflow-hidden"},Dh={class:"d-flex flex-grow-1 align-items-center justify-content-between"},Oh={class:"d-flex gap-2"},xh={class:"d-flex flex-wrap justify-content-end gap-2"},Ph=["href"],Rh={class:"ref-type"},Mh={key:1,class:"type-box rounded fs-7 px-2 py-1"},Fh=t.defineComponent({__name:"CollapsibleProperties",props:{href:{default:Math.random().toString(36).substring(2,5)},sectionName:{},properties:{default:void 0},definitions:{default:void 0},showDynamic:{type:Boolean,default:!0},initiallyExpanded:{type:Boolean,default:!1},forceInclude:{default:()=>[]},noUrlChange:{type:Boolean,default:!1},description:{default:void 0},examples:{default:void 0}},emits:["expand"],setup(e,{emit:n}){const o=e,l=n,r=t.ref(!1);t.watch(r,s=>{s&&l("expand")});const a=s=>s.filter(c=>!c.startsWith("#")||!eo(o.definitions?.[c.slice(1)]));function i(s){s=s??{};const c=[],u=[];for(const m in s)typeof s[m]=="object"&&(s[m]=tr(s[m]),s[m].$required?c.push(m):u.push(m));const d=[...c.sort(),...u.sort()],h={};return d.forEach(m=>{(!s[m].$deprecated||o.forceInclude?.includes(m))&&(h[m]=s[m])}),h}return(s,c)=>(t.openBlock(),t.createBlock(Et,{class:"section-collapsible","clickable-text":e.sectionName,href:e.href,onExpand:c[2]||(c[2]=u=>l("expand")),"initially-expanded":e.initiallyExpanded||r.value,"no-url-change":e.noUrlChange},t.createSlots({_:2},[Object.keys(e.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[e.description||e.examples&&e.examples.length>0?(t.openBlock(),t.createElementBlock("div",Th,[e.description?(t.openBlock(),t.createElementBlock("div",Ih,[t.renderSlot(s.$slots,"markdown",{content:e.description},void 0,!0)])):t.createCommentVNode("",!0),e.examples&&e.examples.length>0?(t.openBlock(),t.createElementBlock("div",$h,[c[3]||(c[3]=t.createElementVNode("h6",{class:"fw-bold mb-2"}," Examples ",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.examples,(u,d)=>(t.openBlock(),t.createElementBlock("div",{key:d,class:"mb-2"},[t.renderSlot(s.$slots,"example",{example:u},void 0,!0)]))),128))])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",Ah,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i(e.properties),(u,d)=>(t.openBlock(),t.createBlock(Et,{class:"property",key:d,arrow:!1,"clickable-text":d,href:e.href+"_"+d,onExpand:c[1]||(c[1]=h=>r.value=!0),"no-url-change":e.noUrlChange},{additionalButtonText:t.withCtx(()=>[u.$required?(t.openBlock(),t.createBlock(j,{key:0,class:"d-flex",title:"Required"},{default:t.withCtx(()=>[...c[4]||(c[4]=[t.createElementVNode("span",{class:"text-danger"}," *",-1)])]),_:1})):t.createCommentVNode("",!0)]),buttonRight:t.withCtx(({collapsed:h})=>[t.createElementVNode("span",Dh,[t.createElementVNode("span",Oh,[e.showDynamic&&!t.unref(or)(u)?(t.openBlock(),t.createBlock(j,{key:0,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(ir,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),u.$beta?(t.openBlock(),t.createBlock(j,{key:1,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(sr,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),u.$deprecated?(t.openBlock(),t.createBlock(j,{key:2,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Kt,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("span",xh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a(t.unref(it)(u).types),m=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:m},[m.startsWith("#")?(t.openBlock(),t.createElementBlock("a",{key:0,class:"d-flex fw-bold ref-type-box rounded fs-7 px-2 py-1",href:m,onClick:c[0]||(c[0]=t.withModifiers(()=>{},["stop"]))},[t.createElementVNode("span",Rh,t.toDisplayString(t.unref(er)(m)),1),t.createVNode(rr)],8,Ph)):(t.openBlock(),t.createElementBlock("span",Mh,t.toDisplayString(m),1))],64))),128)),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(h?Jn:ar),{class:"arrow"}))])])]),content:t.withCtx(()=>[t.createVNode(dh,{property:u},{markdown:t.withCtx(({content:h})=>[t.renderSlot(s.$slots,"markdown",{content:h},void 0,!0)]),_:3},8,["property"])]),_:2},1032,["clickable-text","href","no-url-change"]))),128))])]),key:"0"}:void 0]),1032,["clickable-text","href","initially-expanded","no-url-change"]))}}),Tt=A(Fh,[["__scopeId","data-v-b4f5f7ad"]]),Uh={class:"d-flex flex-column gap-6"},Hh={class:"d-flex flex-column gap-3"},zh={key:0,class:"alert alert-info mb-2",role:"alert"},Wh={key:1,class:"plugin-title markdown"},jh={key:2,class:"markdown"},Gh={class:"d-flex flex-column gap-4"},Kh={class:"d-flex flex-column gap-3"},Yh={class:"markdown"},qh={key:0,class:"w-100 align-self-center"},Xh={class:"markdown"},Zh={class:"markdown"},Jh={class:"markdown"},Qh={class:"d-flex flex-column gap-7 ps-3"},e1={class:"markdown"},t1={class:"d-flex flex-column gap-2"},n1={key:0,class:"markdown"},o1=t.defineComponent({__name:"SchemaToHtml",props:{schema:{},pluginType:{},darkMode:{type:Boolean,default:!0},propsInitiallyExpanded:{type:Boolean,default:!1},forceIncludeProperties:{default:()=>[]},noUrlChange:{type:Boolean,default:!1}},async setup(e){let n,o;const l=e,r=t.ref(!1),a=t.ref(new Set),i=t.ref(0),s=t.computed(()=>Object.entries(l.schema.definitions??{}).filter(([,k])=>!eo(k))),c=async()=>{const k=window.location.hash.slice(1);if(!k||!l.schema.definitions){a.value.clear();return}const _=k.replace(/-body$/,""),f=Object.keys(l.schema.definitions).find(E=>_===E||_.startsWith(E+"_"));if(f){r.value=!0,i.value+=1,a.value.clear(),a.value.add(f),await t.nextTick();let E=0;const S=30,N=()=>{const w=document.getElementById(_);w?w.scrollIntoView({behavior:"smooth",block:"start"}):E<S&&(E++,requestAnimationFrame(N))};requestAnimationFrame(N)}else a.value.clear()};t.watch([()=>l.schema,()=>l.pluginType],([k,_],[f,E])=>{(k!==f||_!==E)&&l.schema.definitions&&c()});const u=k=>k?.full?k.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
16
16
  type: ${l.pluginType}
17
17
  `.concat(k.code),d=t.ref(),h=t.computed(()=>l.schema.properties?.$examples),m=t.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(k=>[k.name,{...k,name:void 0}]))),{getHighlighterCore:y}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);d.value=([n,o]=t.withAsyncContext(()=>y()),n=await n,o(),n);const T="github-"+(l.darkMode?"dark":"light");return t.onMounted(()=>{c(),window.addEventListener("hashchange",c)}),t.onUnmounted(()=>{window.removeEventListener("hashchange",c)}),(k,_)=>(t.openBlock(),t.createElementBlock("div",Uh,[t.createElementVNode("div",Hh,[e.schema.properties?.$beta?(t.openBlock(),t.createElementBlock("div",zh,[..._[0]||(_[0]=[t.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)])])):t.createCommentVNode("",!0),e.schema.properties?.title?(t.openBlock(),t.createElementBlock("div",Wh,[t.renderSlot(k.$slots,"markdown",{content:e.schema.properties.title.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),e.schema.properties?.description?(t.openBlock(),t.createElementBlock("div",jh,[t.renderSlot(k.$slots,"markdown",{content:e.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(ot,{highlighter:d.value,language:"yaml",theme:T,code:`type: ${e.pluginType}`,key:e.pluginType},null,8,["highlighter","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column gap-3",key:e.pluginType},[h.value?(t.openBlock(),t.createBlock(Et,{key:0,class:"plugin-section","clickable-text":"Examples",href:"examples","no-url-change":e.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",Gh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.value,(f,E)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e.pluginType+"-"+E},[t.createElementVNode("div",Kh,[t.createElementVNode("div",Yh,[f.title?t.renderSlot(k.$slots,"markdown",{key:0,content:f.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),f.code?(t.openBlock(),t.createBlock(ot,{key:0,highlighter:d.value,language:f.lang??"yaml",theme:T,code:u(f)},null,8,["highlighter","language","code"])):t.createCommentVNode("",!0)]),E<h.value.length-1?(t.openBlock(),t.createElementBlock("hr",qh)):t.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.properties?(t.openBlock(),t.createBlock(Tt,{key:1,class:"plugin-section",properties:e.schema.properties.properties,definitions:e.schema.definitions,"section-name":"Properties",href:"properties","initially-expanded":e.propsInitiallyExpanded,"force-include":e.forceIncludeProperties,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:f})=>[t.createElementVNode("div",Xh,[t.renderSlot(k.$slots,"markdown",{content:f},void 0,!0)])]),_:3},8,["properties","definitions","initially-expanded","force-include","no-url-change"])):t.createCommentVNode("",!0),e.schema.outputs?.properties&&Object.keys(e.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(Tt,{key:2,class:"plugin-section",properties:e.schema.outputs.properties,definitions:e.schema.definitions,"section-name":"Outputs",href:"outputs","show-dynamic":!1,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:f})=>[t.createElementVNode("div",Zh,[t.renderSlot(k.$slots,"markdown",{content:f},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.$metrics?(t.openBlock(),t.createBlock(Tt,{key:3,class:"plugin-section",properties:m.value,definitions:e.schema.definitions,"section-name":"Metrics",href:"metrics","show-dynamic":!1,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:f})=>[t.createElementVNode("div",Jh,[t.renderSlot(k.$slots,"markdown",{content:f},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0),s.value.length>0?(t.openBlock(),t.createBlock(Et,{class:"plugin-section","clickable-text":"Definitions",href:"definitions","initially-expanded":r.value,key:`definitions-${e.pluginType}-${i.value}`,"no-url-change":e.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",Qh,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,([f,E])=>(t.openBlock(),t.createBlock(Tt,{properties:E.properties,definitions:e.schema.definitions,"section-name":E.title??f.split("_")[0],href:f,"show-dynamic":!1,"initially-expanded":a.value.has(f),key:e.pluginType+"-"+f,class:"plugin-section nested-button-py-2",onExpand:S=>{r.value=!0,a.value.add(f)},"no-url-change":e.noUrlChange,description:E.description,examples:E?.$examples},{markdown:t.withCtx(({content:S})=>[t.createElementVNode("div",e1,[t.renderSlot(k.$slots,"markdown",{content:S},void 0,!0)])]),example:t.withCtx(({example:S})=>[t.createElementVNode("div",t1,[S.title?(t.openBlock(),t.createElementBlock("div",n1,[t.renderSlot(k.$slots,"markdown",{content:`**${S.title}**`},void 0,!0)])):t.createCommentVNode("",!0),S.code?(t.openBlock(),t.createBlock(ot,{key:1,highlighter:d.value,language:S.lang??"yaml",theme:T,code:u(S)},null,8,["highlighter","language","code"])):t.createCommentVNode("",!0)])]),_:3},8,["properties","definitions","section-name","href","initially-expanded","onExpand","no-url-change","description","examples"]))),128))])]),_:3},8,["initially-expanded","no-url-change"])):t.createCommentVNode("",!0)]))]))}}),l1=A(o1,[["__scopeId","data-v-02295168"]]),r1={key:0},a1={class:"type-box rounded fs-7 px-2 py-1"},i1={key:1},s1={class:"border rounded px-2 py-1"},c1={key:2},u1={class:"border rounded px-2 py-1"},d1={key:3},m1={class:"border rounded px-2 py-1"},f1={key:4},p1={class:"border rounded px-2 py-1"},g1={key:5},h1={class:"border rounded px-2 py-1"},E1={key:6},k1={class:"border rounded px-2 py-1"},y1={key:7},v1={class:"border rounded px-2 py-1"},C1={key:8},N1={class:"border rounded px-2 py-1"},_1={key:9},S1={class:"border rounded px-2 py-1"},b1={key:10},w1={class:"border rounded px-2 py-1"},L1={key:11},B1={class:"border rounded px-2 py-1"},V1={key:12},T1={class:"border rounded px-2 py-1"},I1={key:13},$1={class:"values-wrapper d-flex flex-wrap justify-content-end gap-7 p-0"},A1=t.defineComponent({__name:"PropertyMeta",props:{property:{},subtype:{},enumValues:{}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[e.subtype&&!e.subtype.startsWith("#")?(t.openBlock(),t.createElementBlock("div",r1,[o[0]||(o[0]=t.createElementVNode("span",null,"SubType",-1)),t.createElementVNode("span",a1,t.toDisplayString(e.subtype),1)])):t.createCommentVNode("",!0),e.property.default!==void 0?(t.openBlock(),t.createElementBlock("div",i1,[o[1]||(o[1]=t.createElementVNode("span",null,"Default",-1)),t.createElementVNode("code",s1,t.toDisplayString(e.property.default),1)])):t.createCommentVNode("",!0),e.property.pattern!==void 0?(t.openBlock(),t.createElementBlock("div",c1,[o[2]||(o[2]=t.createElementVNode("span",null,"Validation RegExp",-1)),t.createElementVNode("code",u1,t.toDisplayString(e.property.pattern),1)])):t.createCommentVNode("",!0),e.property.unit!==void 0&&e.property.unit.trim().length>0?(t.openBlock(),t.createElementBlock("div",d1,[o[3]||(o[3]=t.createElementVNode("span",null,"Unit",-1)),t.createElementVNode("code",m1,t.toDisplayString(e.property.unit),1)])):t.createCommentVNode("",!0),e.property.minLength!==void 0?(t.openBlock(),t.createElementBlock("div",f1,[o[4]||(o[4]=t.createElementVNode("span",null,"Min length",-1)),t.createElementVNode("code",p1,t.toDisplayString(e.property.minLength),1)])):t.createCommentVNode("",!0),e.property.maxLength!==void 0?(t.openBlock(),t.createElementBlock("div",g1,[o[5]||(o[5]=t.createElementVNode("span",null,"Max length",-1)),t.createElementVNode("code",h1,t.toDisplayString(e.property.maxLength),1)])):t.createCommentVNode("",!0),e.property.minItems!==void 0?(t.openBlock(),t.createElementBlock("div",E1,[o[6]||(o[6]=t.createElementVNode("span",null,"Min items",-1)),t.createElementVNode("code",k1,t.toDisplayString(e.property.minItems),1)])):t.createCommentVNode("",!0),e.property.maxItems!==void 0?(t.openBlock(),t.createElementBlock("div",y1,[o[7]||(o[7]=t.createElementVNode("span",null,"Max items",-1)),t.createElementVNode("code",v1,t.toDisplayString(e.property.maxItems),1)])):t.createCommentVNode("",!0),e.property.minimum!==void 0?(t.openBlock(),t.createElementBlock("div",C1,[o[8]||(o[8]=t.createElementVNode("span",null,"Minimum",-1)),t.createElementVNode("code",N1,">= "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMinimum!==void 0?(t.openBlock(),t.createElementBlock("div",_1,[o[9]||(o[9]=t.createElementVNode("span",null,"Minimum",-1)),t.createElementVNode("code",S1,"> "+t.toDisplayString(e.property.minimum),1)])):t.createCommentVNode("",!0),e.property.maximum!==void 0?(t.openBlock(),t.createElementBlock("div",b1,[o[10]||(o[10]=t.createElementVNode("span",null,"Maximum",-1)),t.createElementVNode("code",w1,"<= "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.exclusiveMaximum!==void 0?(t.openBlock(),t.createElementBlock("div",L1,[o[11]||(o[11]=t.createElementVNode("span",null,"Maximum",-1)),t.createElementVNode("code",B1,"< "+t.toDisplayString(e.property.maximum),1)])):t.createCommentVNode("",!0),e.property.format!==void 0?(t.openBlock(),t.createElementBlock("div",V1,[o[12]||(o[12]=t.createElementVNode("span",null,"Format",-1)),t.createElementVNode("code",T1,t.toDisplayString(e.property.format),1)])):t.createCommentVNode("",!0),e.enumValues!==void 0?(t.openBlock(),t.createElementBlock("div",I1,[o[13]||(o[13]=t.createElementVNode("span",null,"Possible Values",-1)),t.createElementVNode("div",$1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.enumValues,(l,r)=>(t.openBlock(),t.createElementBlock("code",{class:"border rounded px-2 py-1",key:r},t.toDisplayString(l),1))),128))])])):t.createCommentVNode("",!0)],64))}}),cr=A(A1,[["__scopeId","data-v-2d5ac2ae"]]),D1={class:"d-flex flex-grow-1 align-items-center"},O1=t.defineComponent({__name:"PropertyBadges",props:{property:{},showDynamic:{type:Boolean,default:!0},sectionClass:{default:""}},setup(e){function n(o){return it(o).types.filter(r=>!r.startsWith("#"))}return(o,l)=>(t.openBlock(),t.createElementBlock("span",D1,[t.createElementVNode("span",{class:t.normalizeClass(["d-flex gap-2 flex-wrap align-items-center",e.sectionClass])},[e.property&&e.property.$required?(t.openBlock(),t.createBlock(j,{key:0,class:"d-flex align-items-center",title:"Required"},{default:t.withCtx(()=>[...l[0]||(l[0]=[t.createElementVNode("span",{class:"text-danger"},"*",-1)])]),_:1})):t.createCommentVNode("",!0),e.showDynamic&&e.property&&!t.unref(or)(e.property)?(t.openBlock(),t.createBlock(j,{key:1,class:"d-flex",title:"Non-dynamic"},{default:t.withCtx(()=>[t.createVNode(ir,{class:"text-info"})]),_:1})):t.createCommentVNode("",!0),e.property&&e.property.$beta?(t.openBlock(),t.createBlock(j,{key:2,class:"d-flex",title:"Beta"},{default:t.withCtx(()=>[t.createVNode(sr,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),e.property&&e.property.$deprecated?(t.openBlock(),t.createBlock(j,{key:3,class:"d-flex",title:"Deprecated"},{default:t.withCtx(()=>[t.createVNode(Kt,{class:"text-warning"})]),_:1})):t.createCommentVNode("",!0),e.property?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:4},t.renderList(n(e.property),r=>(t.openBlock(),t.createElementBlock("span",{key:r,class:"type-box rounded fs-7 px-2 py-1"},t.toDisplayString(r),1))),128)):t.createCommentVNode("",!0)],2)]))}}),ur=A(O1,[["__scopeId","data-v-f088032b"]]),x1={class:"def-content"},P1={key:0,class:"def-description"},R1={key:1,class:"def-examples"},M1={class:"d-flex flex-column gap-4"},F1={class:"d-flex flex-column"},U1={class:"markdown"},H1={key:0,class:"w-100 align-self-center"},z1={class:"d-flex align-items-center justify-content-between gap-2"},W1={key:0,class:"property-desc mt-2"},j1={key:1,class:"mt-3 nested-defs"},G1=t.defineComponent({__name:"DefinitionCollapsible",props:{definition:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(e){const n=e,o=t.inject("highlighter",t.ref(void 0)),l=t.inject("codeTheme",t.ref("github-dark")),r=b.sanitizeForMarkdown,a=u=>{const d=it(u).subType;return d&&!d.startsWith("#")?d:void 0},i=u=>Qn(u),s=u=>{const d=n.definitions,h=n.depth,m=n.maxDepth,y=n.visitedKeys;return!d||h>=m?[]:nr(u,d,y)},c=t.computed(()=>{const u=new Set(n.visitedKeys);return u.add(n.definition.key),u});return(u,d)=>{const h=t.resolveComponent("DefinitionCollapsible",!0);return t.openBlock(),t.createBlock(kt,{title:e.definition.title,href:`def-${e.definition.key}`,class:t.normalizeClass(["def-collapsible",`section-${e.section}`]),arrow:"","no-url-change":""},{content:t.withCtx(()=>[t.createElementVNode("div",x1,[e.definition.description?(t.openBlock(),t.createElementBlock("div",P1,[t.renderSlot(u.$slots,"markdown",{content:t.unref(r)(e.definition.description)},void 0,!0)])):t.createCommentVNode("",!0),e.definition.$examples&&e.definition.$examples.length?(t.openBlock(),t.createElementBlock("div",R1,[d[0]||(d[0]=t.createElementVNode("div",{class:"def-examples-header"}," Example ",-1)),t.createElementVNode("div",M1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.definition.$examples,(m,y)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`${e.definition.key}-example-${y}`},[t.createElementVNode("div",F1,[t.createElementVNode("div",U1,[m.title?t.renderSlot(u.$slots,"markdown",{key:0,content:m.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),m.code?(t.openBlock(),t.createBlock(ot,{key:0,highlighter:t.unref(o),language:m.lang??"yaml",theme:t.unref(l),code:m.code},null,8,["highlighter","language","theme","code"])):t.createCommentVNode("",!0)]),y<e.definition.$examples.length-1?(t.openBlock(),t.createElementBlock("hr",H1)):t.createCommentVNode("",!0)],64))),128))])])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.definition.properties,(m,y)=>(t.openBlock(),t.createElementBlock("div",{key:y,class:"def-property"},[t.createElementVNode("div",z1,[t.createElementVNode("span",null,t.toDisplayString(y),1),t.createVNode(ur,{property:m,"show-dynamic":!1,"section-class":"section-properties"},null,8,["property"])]),t.createVNode(cr,{property:m,subtype:a(m),"enum-values":i(m)},null,8,["property","subtype","enum-values"]),m.title!==void 0||m.description!==void 0?(t.openBlock(),t.createElementBlock("div",W1,[m.title?t.renderSlot(u.$slots,"markdown",{key:0,content:t.unref(r)(m.title)},void 0,!0):t.createCommentVNode("",!0),m.description?t.renderSlot(u.$slots,"markdown",{key:1,content:t.unref(r)(m.description)},void 0,!0):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),e.depth<e.maxDepth&&s(m).length?(t.openBlock(),t.createElementBlock("div",j1,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s(m),T=>(t.openBlock(),t.createBlock(h,{key:`${e.definition.key}-${T.key}`,definition:T,definitions:e.definitions,"visited-keys":c.value,depth:e.depth+1,"max-depth":e.maxDepth},{markdown:t.withCtx(({content:k})=>[t.renderSlot(u.$slots,"markdown",{content:k},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth"]))),128))])):t.createCommentVNode("",!0)]))),128))])]),_:3},8,["title","href","class"])}}}),K1=A(G1,[["__scopeId","data-v-d1feacdf"]]),Y1={class:"property-detail"},q1={key:0},X1={class:"property-description markdown"},Z1={key:2},J1={key:3,class:"mt-3"},Q1=t.defineComponent({__name:"PropertyDetailV2",props:{property:{},definitions:{default:void 0},visitedKeys:{default:()=>new Set},depth:{default:0},maxDepth:{default:3},section:{default:"properties"}},setup(e){const n=e,o=t.computed(()=>it(n.property).subType),l=t.computed(()=>Qn(n.property)),r=t.computed(()=>{const s=n.definitions,c=n.depth,u=n.maxDepth,d=n.property,h=n.visitedKeys;return!s||c>=u?[]:nr(d,s,h)}),a=t.computed(()=>{const s=new Set(n.visitedKeys);return r.value.forEach(c=>s.add(c.key)),s}),i=b.sanitizeForMarkdown;return(s,c)=>(t.openBlock(),t.createElementBlock("div",Y1,[t.createVNode(cr,{property:e.property,subtype:o.value,"enum-values":l.value},null,8,["property","subtype","enum-values"]),e.property.title!==void 0||e.property.description!==void 0||e.depth<e.maxDepth&&r.value.length>0?(t.openBlock(),t.createElementBlock("div",q1,[t.createElementVNode("div",X1,[e.property.title!==void 0?t.renderSlot(s.$slots,"markdown",{key:0,content:t.unref(i)(e.property.title)},void 0,!0):t.createCommentVNode("",!0),e.property.description!==void 0?t.renderSlot(s.$slots,"markdown",{key:1,content:t.unref(i)(e.property.description)},void 0,!0):t.createCommentVNode("",!0),e.property.$internalStorageURI?(t.openBlock(),t.createElementBlock("div",Z1,[t.createVNode(lr,{type:"info"},{default:t.withCtx(()=>[t.renderSlot(s.$slots,"markdown",{content:"Pebble expression referencing an Internal Storage URI e.g. `{{ outputs.mytask.uri }}`."},void 0,!0)]),_:3})])):t.createCommentVNode("",!0),e.depth<e.maxDepth&&r.value.length>0?(t.openBlock(),t.createElementBlock("div",J1,[c[0]||(c[0]=t.createElementVNode("div",{class:"definitions-header"}," Definitions ",-1)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,u=>(t.openBlock(),t.createBlock(K1,{key:`${u.key}-${e.depth}`,definition:u,definitions:e.definitions,"visited-keys":a.value,depth:e.depth+1,"max-depth":e.maxDepth,section:e.section},{markdown:t.withCtx(({content:d})=>[t.renderSlot(s.$slots,"markdown",{content:d},void 0,!0)]),_:3},8,["definition","definitions","visited-keys","depth","max-depth","section"]))),128))])):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]))}}),eE=A(Q1,[["__scopeId","data-v-32bc6580"]]),tE={class:"border overflow-hidden"},nE=t.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(e,{emit:n}){const o=e,l=n,r=t.computed(()=>{const s=o.sectionName.toLowerCase();return s==="properties"?"section-properties":s==="outputs"?"section-outputs":s==="metrics"?"section-metrics":""}),a=t.ref(!1);t.watch(a,s=>{s&&l("expand")});function i(s){s=s??{};const c=[],u=[];for(const m in s)typeof s[m]=="object"&&(s[m]=tr(s[m]),s[m].$required?c.push(m):u.push(m));const d=[...c.sort(),...u.sort()],h={};return d.forEach(m=>{(!s[m].$deprecated||o.forceInclude?.includes(m))&&(h[m]=s[m])}),h}return(s,c)=>(t.openBlock(),t.createBlock(kt,{class:"section-collapsible",title:e.sectionName,href:e.href,onExpand:c[1]||(c[1]=u=>l("expand")),"initially-expanded":e.initiallyExpanded||a.value,"no-url-change":e.noUrlChange},t.createSlots({_:2},[Object.keys(e.properties??{}).length>0?{name:"content",fn:t.withCtx(()=>[t.createElementVNode("div",tE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i(e.properties),(u,d)=>(t.openBlock(),t.createBlock(kt,{class:t.normalizeClass(["property",r.value]),key:d,title:d,href:e.href+"_"+d,onExpand:c[0]||(c[0]=h=>a.value=!0),"no-url-change":e.noUrlChange},{right:t.withCtx(()=>[t.createVNode(ur,{property:u,"show-dynamic":e.showDynamic},null,8,["property","show-dynamic"])]),content:t.withCtx(()=>[t.createVNode(eE,{property:u,definitions:e.definitions,section:e.sectionName.toLowerCase()},{markdown:t.withCtx(({content:h})=>[t.renderSlot(s.$slots,"markdown",{content:h},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"]))}}),pn=A(nE,[["__scopeId","data-v-e31e75cd"]]),oE={class:"d-flex flex-column gap-6"},lE={class:"d-flex flex-column"},rE={key:0,class:"alert alert-info mb-2",role:"alert"},aE={key:1,class:"markdown"},iE={class:"d-flex flex-column gap-4"},sE={class:"d-flex flex-column"},cE={class:"markdown"},uE={key:0,class:"w-100 align-self-center"},dE={class:"markdown"},mE={class:"markdown"},fE={class:"markdown"},pE=t.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(e){let n,o;const l=e,r=d=>d?.full?d.code:`id: ${l.pluginType.split(".").reverse()[0]?.toLowerCase()}
18
18
  type: ${l.pluginType}
19
- `.concat(d.code),a=t.ref(),i=t.computed(()=>"github-"+(l.darkMode?"dark":"light"));t.provide("highlighter",a),t.provide("codeTheme",i);const s=t.computed(()=>l.schema.properties?.$examples),c=t.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(d=>[d.name,{...d,name:void 0}]))),{getHighlighterCore:u}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);return a.value=([n,o]=t.withAsyncContext(()=>u()),n=await n,o(),n),(d,h)=>(t.openBlock(),t.createElementBlock("div",oE,[t.createElementVNode("div",lE,[e.schema.properties?.$beta?(t.openBlock(),t.createElementBlock("div",rE,[...h[0]||(h[0]=[t.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)])])):t.createCommentVNode("",!0),e.schema.properties?.description?(t.openBlock(),t.createElementBlock("div",aE,[t.renderSlot(d.$slots,"markdown",{content:e.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(ot,{highlighter:a.value,language:"yaml",theme:i.value,code:`type: ${e.pluginType}`,key:e.pluginType},null,8,["highlighter","theme","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column",key:e.pluginType},[s.value?(t.openBlock(),t.createBlock(kt,{key:0,class:"plugin-section",title:"Examples",href:"examples","no-url-change":e.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",iE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,(m,y)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e.pluginType+"-"+y},[t.createElementVNode("div",sE,[t.createElementVNode("div",cE,[m.title?t.renderSlot(d.$slots,"markdown",{key:0,content:m.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),m.code?(t.openBlock(),t.createBlock(ot,{key:0,highlighter:a.value,language:m.lang??"yaml",theme:i.value,code:r(m)},null,8,["highlighter","language","theme","code"])):t.createCommentVNode("",!0)]),y<s.value.length-1?(t.openBlock(),t.createElementBlock("hr",uE)):t.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.properties?(t.openBlock(),t.createBlock(pn,{key:1,class:"plugin-section",properties:e.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":e.propsInitiallyExpanded,"force-include":e.forceIncludeProperties,definitions:e.schema.definitions,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:m})=>[t.createElementVNode("div",dE,[t.renderSlot(d.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","definitions","no-url-change"])):t.createCommentVNode("",!0),e.schema.outputs?.properties&&Object.keys(e.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(pn,{key:2,class:"plugin-section",properties:e.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,definitions:e.schema.definitions,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:m})=>[t.createElementVNode("div",mE,[t.renderSlot(d.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.$metrics?(t.openBlock(),t.createBlock(pn,{key:3,class:"plugin-section",properties:c.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,definitions:e.schema.definitions,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:m})=>[t.createElementVNode("div",fE,[t.renderSlot(d.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0)]))]))}}),gE=A(pE,[["__scopeId","data-v-4b5f6b53"]]),hE={class:"d-flex flex-column gap-4"},EE={key:0,class:"pb-2"},kE={class:"row g-4 last"},yE=["id"],vE={class:"row g-4 last"},CE={key:2,class:"description"},NE={key:0,class:"gradient-overlay"},_E={key:0,class:"more-wrap text-center"},SE=t.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{},activeId:{},subgroupBlueprintCounts:{},metadataMap:{},schemas:{}},emits:["navigate"],setup(e,{emit:n}){const o=e,l=w=>o.metadataMap?.[w.subGroup??w.group],r=w=>l(w)?.description??w.description,a=w=>l(w)?.title??w.title??Ae(w),i=t.computed(()=>o.plugins.find(w=>o.subGroup===void 0?!0:Ce(Ae(w))===o.subGroup)),s=t.computed(()=>i.value?.longDescription??i.value?.description),c=t.computed(()=>o.plugins.filter(w=>w.name.toLowerCase()===o.pluginName.toLowerCase()&&w.subGroup!==void 0)),u=w=>{let I=w.split(".");return I?.[I.length-1]},d=w=>`${o.routePath}/${w.toLowerCase()}`;function h(w){const I=Ht(w);return Object.values(I).reduce((C,R)=>C+R.length,0)}const{elementsByType:m}=ol(i),y=t.ref(null),T=t.ref(null),k=t.ref(!1),{height:_}=Qo(y),{height:f}=Qo(T),E=t.computed(()=>f.value>_.value+2),S=()=>{k.value=!k.value},N=n;return(w,I)=>(t.openBlock(),t.createElementBlock("div",hE,[e.subGroup===void 0&&e.plugins.length>1?(t.openBlock(),t.createElementBlock("div",EE,[t.createElementVNode("div",kE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,C=>(t.openBlock(),t.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:t.unref(Ae)(C)},[t.createVNode(Jl,{id:t.unref(Ce)(t.unref(Ae)(C)),"icon-b64-svg":"data:image/svg+xml;base64,"+(e.icons[C.subGroup]??e.icons[C.group]),text:a(C),description:r(C),href:`${e.routePath}/${t.unref(Ce)(t.unref(Ae)(C))}`,"route-path":e.routePath,"plugin-group":C.group??C.name,"total-count":h(C),"blueprints-count":o.subgroupBlueprintCounts?.[`${t.unref(Ce)(C.group??C.name)}-${t.unref(Ce)(t.unref(Ae)(C))}`]??0,"is-active":e.activeId?.toLowerCase()===t.unref(Ce)(t.unref(Ae)(C)),class:"text-capitalize h-100",onNavigate:I[0]||(I[0]=R=>N("navigate",R))},null,8,["id","icon-b64-svg","text","description","href","route-path","plugin-group","total-count","blueprints-count","is-active"])]))),128))])])):i.value?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(t.unref(m),(C,R)=>(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column elements-section pb-3",key:R},[t.createElementVNode("h4",{id:`section-${t.unref(Ce)(R)}`,class:"text-capitalize"},t.toDisplayString(R),9,yE),t.createElementVNode("div",vE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C,U=>(t.openBlock(),t.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:U},[t.createVNode(Ql,{id:t.unref(Ce)(U),"icon-b64-svg":"data:image/svg+xml;base64,"+(e.icons[U]??e.icons[i.value.subGroup??i.value.group]??e.icons[i.value.group]),text:u(U),"plugin-class":U,href:d(U),"route-path":e.routePath,title:e.schemas?.[U]?.title,class:"h-100",onNavigate:I[1]||(I[1]=Q=>N("navigate",Q))},{markdown:t.withCtx(({content:Q})=>[t.renderSlot(w.$slots,"markdown",{content:Q},void 0,!0)]),_:3},8,["id","icon-b64-svg","text","plugin-class","href","route-path","title"])]))),128))])]))),128)):t.createCommentVNode("",!0),s.value!==void 0&&i.value?.longDescription?(t.openBlock(),t.createElementBlock("div",CE,[I[2]||(I[2]=t.createElementVNode("h4",{id:"how-to-use-this-plugin"}," How to use this plugin ",-1)),t.createElementVNode("div",{ref_key:"contentWrap",ref:y,class:t.normalizeClass(["markdown-container",{expanded:k.value}])},[t.createElementVNode("div",{ref_key:"contentInner",ref:T,class:"markdown-inner"},[t.renderSlot(w.$slots,"markdown",{content:s.value.replace(/ *:(?![ /])/g,": ")},void 0,!0)],512),E.value&&!k.value?(t.openBlock(),t.createElementBlock("div",NE)):t.createCommentVNode("",!0)],2),E.value||k.value?(t.openBlock(),t.createElementBlock("div",_E,[t.createElementVNode("button",{class:"more-btn",onClick:S},[t.createTextVNode(t.toDisplayString(k.value?"See less":"See more")+" ",1),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(k.value?ar:Jn)))])])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]))}}),bE=A(SE,[["__scopeId","data-v-c2ad49cf"]]),wE=/"(?:_|\\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*:/,LE=/"(?: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*:/,BE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function VE(e,n){if(e==="__proto__"||e==="constructor"&&n&&typeof n=="object"&&"prototype"in n){TE(e);return}return n}function TE(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function IE(e,n={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const o=e.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!BE.test(e)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(wE.test(e)||LE.test(e)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,VE)}return JSON.parse(e)}catch(l){if(n.strict)throw l;return e}}const $E=/\d/,AE=["-","_","/","."];function DE(e=""){if(!$E.test(e))return e!==e.toLowerCase()}function dr(e,n){const o=AE,l=[];if(!e||typeof e!="string")return l;let r="",a,i;for(const s of e){const c=o.includes(s);if(c===!0){l.push(r),r="",a=void 0;continue}const u=DE(s);if(i===!1){if(a===!1&&u===!0){l.push(r),r=s,a=u;continue}if(a===!0&&u===!1&&r.length>1){const d=r.at(-1);l.push(r.slice(0,Math.max(0,r.length-1))),r=d+s,a=u;continue}}r+=s,a=u,i=c}return l.push(r),l}function OE(e){return e?e[0].toUpperCase()+e.slice(1):""}function to(e,n){return e?(Array.isArray(e)?e:dr(e)).map(o=>OE(o)).join(""):""}function xE(e,n){return e?(Array.isArray(e)?e:dr(e)).map(o=>o.toLowerCase()).join("-"):""}class vt{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}vt.prototype.normal={};vt.prototype.property={};vt.prototype.space=void 0;function mr(e,n){const o={},l={};for(const r of e)Object.assign(o,r.property),Object.assign(l,r.normal);return new vt(o,l,n)}function Vn(e){return e.toLowerCase()}class ke{constructor(n,o){this.attribute=o,this.property=n}}ke.prototype.attribute="";ke.prototype.booleanish=!1;ke.prototype.boolean=!1;ke.prototype.commaOrSpaceSeparated=!1;ke.prototype.commaSeparated=!1;ke.prototype.defined=!1;ke.prototype.mustUseProperty=!1;ke.prototype.number=!1;ke.prototype.overloadedBoolean=!1;ke.prototype.property="";ke.prototype.spaceSeparated=!1;ke.prototype.space=void 0;let PE=0;const F=Ze(),se=Ze(),Tn=Ze(),V=Ze(),J=Ze(),lt=Ze(),ve=Ze();function Ze(){return 2**++PE}const In=Object.freeze(Object.defineProperty({__proto__:null,boolean:F,booleanish:se,commaOrSpaceSeparated:ve,commaSeparated:lt,number:V,overloadedBoolean:Tn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),gn=Object.keys(In);class no extends ke{constructor(n,o,l,r){let a=-1;if(super(n,o),el(this,"space",r),typeof l=="number")for(;++a<gn.length;){const i=gn[a];el(this,gn[a],(l&In[i])===In[i])}}}no.prototype.defined=!0;function el(e,n,o){o&&(e[n]=o)}function st(e){const n={},o={};for(const[l,r]of Object.entries(e.properties)){const a=new no(l,e.transform(e.attributes||{},l),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(a.mustUseProperty=!0),n[l]=a,o[Vn(l)]=l,o[Vn(a.attribute)]=l}return new vt(n,o,e.space)}const fr=st({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(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function pr(e,n){return n in e?e[n]:n}function gr(e,n){return pr(e,n.toLowerCase())}const RE=st({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lt,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:F,allowPaymentRequest:F,allowUserMedia:F,alt:null,as:null,async:F,autoCapitalize:null,autoComplete:J,autoFocus:F,autoPlay:F,blocking:J,capture:null,charSet:null,checked:F,cite:null,className:J,cols:V,colSpan:null,content:null,contentEditable:se,controls:F,controlsList:J,coords:V|lt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F,defer:F,dir:null,dirName:null,disabled:F,download:Tn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:F,formTarget:null,headers:J,height:V,hidden:Tn,high:V,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:F,inputMode:null,integrity:null,is:null,isMap:F,itemId:null,itemProp:J,itemRef:J,itemScope:F,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:F,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:F,muted:F,name:null,nonce:null,noModule:F,noValidate:F,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:F,optimum:V,pattern:null,ping:J,placeholder:null,playsInline:F,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:F,referrerPolicy:null,rel:J,required:F,reversed:F,rows:V,rowSpan:V,sandbox:J,scope:null,scoped:F,seamless:F,selected:F,shadowRootClonable:F,shadowRootDelegatesFocus:F,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:F,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:F,declare:F,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:F,noHref:F,noShade:F,noWrap:F,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:F,disableRemotePlayback:F,prefix:null,property:null,results:V,security:null,unselectable:null},space:"html",transform:gr}),ME=st({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:F,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:lt,g2:lt,glyphName:lt,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:pr}),hr=st({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Er=st({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:gr}),kr=st({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),FE=/[A-Z]/g,tl=/-[a-z]/g,UE=/^data[-\w.:]+$/i;function HE(e,n){const o=Vn(n);let l=n,r=ke;if(o in e.normal)return e.property[e.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&UE.test(n)){if(n.charAt(4)==="-"){const a=n.slice(5).replace(tl,WE);l="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=n.slice(4);if(!tl.test(a)){let i=a.replace(FE,zE);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=no}return new r(l,n)}function zE(e){return"-"+e.toLowerCase()}function WE(e){return e.charAt(1).toUpperCase()}const jE=mr([fr,RE,hr,Er,kr],"html");mr([fr,ME,hr,Er,kr],"svg");const GE=new Set(["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"]),KE=["p","h1","h2","h3","h4","h5","h6","li"];function Ft(e,n){return e.type===n||typeof e.type=="object"&&e.type.tag===n||e.tag===n}function oo(e){return Ft(e,"text")||Ft(e,Symbol.for("v-txt"))}function yr(e){return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof e.children?.default=="function"?e.children.default():[]}function Ut(e){if(!e)return"";if(Array.isArray(e))return e.map(Ut).join("");if(oo(e))return e.value||e.children||"";const n=yr(e);return Array.isArray(n)?n.map(Ut).filter(Boolean).join(""):""}function vr(e,n=[]){if(Array.isArray(e))return e.flatMap(l=>vr(l,n));let o=e;return n.some(l=>l==="*"||Ft(e,l))&&(o=yr(e)||e,!Array.isArray(o)&&KE.some(l=>Ft(e,l))&&(o=[o])),o}function Cr(e,n=[]){return e=Array.isArray(e)?e:[e],n.length?e.flatMap(o=>Cr(vr(o,[n[0]]),n.slice(1))).filter(o=>!(oo(o)&&Ut(o).trim()==="")):e}function Nr(e,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?Cr(e,n).reduce((o,l)=>(oo(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):e}function YE(e,n){return n.reduce((o,l)=>{const r=qE(e,l);return r!==void 0&&(o[l]=r),o},{})}function qE(e,n){return n.split(".").reduce((o,l)=>o&&o[l],e)}const $n="default",_r=/^@|^v-on:/,Sr=/^:|^v-bind:/,XE=/^v-model/,ZE=["select","textarea","input"],JE=new Set(["math","svg"]),br=new Set,QE=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(e=>[e,`prose-${e}`])),ek=["script","base"],tk=t.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(e){const o=t.getCurrentInstance()?.appContext?.app?.$nuxt,l=o?.$route||o?._route,{mdc:r}=o?.$config?.public||{},a=r?.components?.customElements||r?.components?.custom;a&&a.forEach(d=>br.add(d));const i=t.computed(()=>({...r?.components?.prose&&e.prose!==!1?QE:{},...r?.components?.map||{},...t.toRaw(e.data?.mdc?.components||{}),...e.components})),s=t.computed(()=>{const d=(e.body?.children||[]).map(h=>h.tag||h.type).filter(h=>!lo(h));return Array.from(new Set(d)).sort().join(".")}),c=t.reactive({...e.data});t.watch(()=>e.data,d=>{Object.assign(c,d)}),await mk(e.body,{tags:i.value});function u(d,h){const m=d.split(".").length-1;return d.split(".").reduce((y,T,k)=>k==m&&y?(y[T]=h,y[T]):typeof y=="object"?y[T]:void 0,c)}return{tags:i,contentKey:s,route:l,runtimeData:c,updateRuntimeData:u}},render(e){const{tags:n,tag:o,body:l,data:r,contentKey:a,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=e;if(!l)return null;const d={...r,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},h=o!==!1?An(o||d.component?.name||d.component||"div"):void 0;return h?t.h(h,{...d.component?.props,class:e.class,...this.$attrs,key:a},{default:m}):m?.();function m(){const y=wr(l,t.h,{documentMeta:d,parentScope:d,resolveComponent:An});return y?.default?s?Nr(y.default(),typeof s=="string"?s.split(" "):["*"]):y.default():null}}});function nk(e,n,o,l){const{documentMeta:r,parentScope:a,resolveComponent:i}=o;if(e.type==="text")return n(t.Text,e.value);if(e.type==="comment")return n(t.Comment,null,e.value);const s=e.tag,c=Br(e,r.tags);if(e.tag==="binding")return ok(e,n,r,a);const u=Lr(c)?m=>m:i;if(ek.includes(to(c).toLowerCase()))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Ut(e)+"</"+c+">");const d=u(c);typeof d=="object"&&(d.tag=s);const h=lk(e,r);return l&&(h.key=l),n(d,h,wr(e,n,{documentMeta:r,parentScope:{...a,...h},resolveComponent:u}))}function wr(e,n,o){const{documentMeta:l,parentScope:r,resolveComponent:a}=o,s=(e.children||[]).reduce((u,d)=>{if(!uk(d))return u[$n].children.push(d),u;const h=ck(d);return u[h]=u[h]||{props:{},children:[]},d.type==="element"&&(u[h].props=d.props,u[h].children.push(...d.children||[])),u},{[$n]:{props:{},children:[]}});return Object.entries(s).reduce((u,[d,{props:h,children:m}])=>(m.length&&(u[d]=(y={})=>{const T=YE(y,Object.keys(h||{}));let k=m.map((_,f)=>nk(_,n,{documentMeta:l,parentScope:{...r,...T},resolveComponent:a},String(_.props?.key||f)));return h?.unwrap&&(k=Nr(k,h.unwrap)),dk(k)}),u),{})}function ok(e,n,o,l={}){const r={...o.runtimeData,...l,$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=(e.props?.value.trim().split(a).filter(Boolean)).reduce((u,d)=>{if(u&&d in u)return typeof u[d]=="function"?u[d]():u[d]},r),c=e.props?.defaultValue;return n(t.Text,s??c??"")}function lk(e,n){const{tag:o="",props:l={}}=e;return Object.keys(l).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=l[a];if(XE.test(a))return rk(a,i,r,n,{native:ZE.includes(o)});if(a==="v-bind")return ak(a,i,r,n);if(_r.test(a))return ik(a,i,r,n);if(Sr.test(a))return sk(a,i,r,n);const{attribute:s}=HE(jE,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function rk(e,n,o,l,{native:r}){const a=e.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=r?"value":a,s=r?"onInput":`onUpdate:${a}`;return o[i]=Xt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,r?c.target?.value:c)},o}function ak(e,n,o,l){const r=Xt(n,l);return o=Object.assign(o,r),o}function ik(e,n,o,l){return e=e.replace(_r,""),o.on=o.on||{},o.on[e]=()=>Xt(n,l),o}function sk(e,n,o,l){return e=e.replace(Sr,""),o[e]=Xt(n,l),o}const An=e=>{if(typeof e=="string"){if(lo(e))return e;const n=t.resolveComponent(to(e),!1);return!e||n?.name==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?t.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return e};function Xt(e,n){const o=e.split(".").reduce((l,r)=>typeof l=="object"?l[r]:void 0,n);return typeof o>"u"?IE(e):o}function ck(e){let n="";for(const o of Object.keys(e.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||$n}function uk(e){return e.tag==="template"}function Lr(e){return JE.has(e)}function dk(e){const n=[];for(const o of e){const l=n[n.length-1];o.type===t.Text&&l?.type===t.Text?l.children=l.children+o.children:n.push(o)}return n}async function mk(e,n){if(!e)return;const o=Array.from(new Set(l(e,n)));await Promise.all(o.map(async r=>{if(r?.render||r?.ssrRender||r?.__ssrInlineRender)return;const a=An(r);a?.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function l(r,a){const i=r.tag;if(r.type==="text"||i==="binding"||r.type==="comment")return[];const s=Br(r,a.tags);if(Lr(s))return[];const c=[];r.type!=="root"&&!lo(s)&&c.push(s);for(const u of r.children||[])c.push(...l(u,a));return c}}function Br(e,n){const o=e.tag;return!o||typeof e.props?.__ignoreMap<"u"?o:n[o]||n[to(o)]||n[xE(e.tag)]||o}function lo(e){return(typeof e=="string"?br.has(e):!1)||GE.has(e)}const fk=t.defineComponent({__name:"MDCRenderer",setup(e){return(n,o)=>(t.openBlock(),t.createBlock(t.Suspense,null,{default:t.withCtx(()=>[t.createVNode(tk,t.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=b.CLUSTER_PREFIX;exports.EVENTS=b.EVENTS;exports.NODE_SIZES=b.NODE_SIZES;exports.SECTIONS=b.SECTIONS;exports.Utils=b.Utils;exports.VueFlowUtils=b.VueFlowUtils;exports.Collapsible=Et;exports.CollapsibleV2=kt;exports.DependenciesNode=Gc;exports.ElementCard=Ql;exports.LOG_LEVELS=ai;exports.MDCRenderer=fk;exports.PluginIndex=bE;exports.RotatingDotsIcon=ll;exports.STATES=z;exports.SchemaToHtml=l1;exports.SchemaToHtmlV2=gE;exports.State=ne;exports.Status=jf;exports.SubgroupCard=Jl;exports.TaskIcon=zn;exports.Topology=Hf;exports.YamlUtils=Fr;exports.buildPluginMappings=mi;exports.cssVariable=Ne;exports.extractPluginElements=Ht;exports.filterPluginsWithoutDeprecated=di;exports.getMDCParser=ii;exports.isEntryAPluginElementPredicate=Dn;exports.slugify=Ce;exports.subGroupName=Ae;exports.usePluginElementCounts=ol;
19
+ `.concat(d.code),a=t.ref(),i=t.computed(()=>"github-"+(l.darkMode?"dark":"light"));t.provide("highlighter",a),t.provide("codeTheme",i);const s=t.computed(()=>l.schema.properties?.$examples),c=t.computed(()=>Object.fromEntries(l.schema.properties?.$metrics?.map(d=>[d.name,{...d,name:void 0}]))),{getHighlighterCore:u}=([n,o]=t.withAsyncContext(()=>Promise.resolve().then(()=>require("./shikiToolset-BJ-YtZfq.cjs"))),n=await n,o(),n);return a.value=([n,o]=t.withAsyncContext(()=>u()),n=await n,o(),n),(d,h)=>(t.openBlock(),t.createElementBlock("div",oE,[t.createElementVNode("div",lE,[e.schema.properties?.$beta?(t.openBlock(),t.createElementBlock("div",rE,[...h[0]||(h[0]=[t.createElementVNode("p",null," This plugin is currently in beta. While it is considered safe for use, please be aware that its API could change in ways that are not compatible with earlier versions in future releases, or it might become unsupported. ",-1)])])):t.createCommentVNode("",!0),e.schema.properties?.description?(t.openBlock(),t.createElementBlock("div",aE,[t.renderSlot(d.$slots,"markdown",{content:e.schema.properties.description.replace(/ *:(?![ /])/g,": ")},void 0,!0)])):t.createCommentVNode("",!0),(t.openBlock(),t.createBlock(ot,{highlighter:a.value,language:"yaml",theme:i.value,code:`type: ${e.pluginType}`,key:e.pluginType},null,8,["highlighter","theme","code"]))]),(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column",key:e.pluginType},[s.value?(t.openBlock(),t.createBlock(kt,{key:0,class:"plugin-section",title:"Examples",href:"examples","no-url-change":e.noUrlChange},{content:t.withCtx(()=>[t.createElementVNode("div",iE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,(m,y)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:e.pluginType+"-"+y},[t.createElementVNode("div",sE,[t.createElementVNode("div",cE,[m.title?t.renderSlot(d.$slots,"markdown",{key:0,content:m.title.replace(/ *:(?![ /])/g,": ")},void 0,!0):t.createCommentVNode("",!0)]),m.code?(t.openBlock(),t.createBlock(ot,{key:0,highlighter:a.value,language:m.lang??"yaml",theme:i.value,code:r(m)},null,8,["highlighter","language","theme","code"])):t.createCommentVNode("",!0)]),y<s.value.length-1?(t.openBlock(),t.createElementBlock("hr",uE)):t.createCommentVNode("",!0)],64))),128))])]),_:3},8,["no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.properties?(t.openBlock(),t.createBlock(pn,{key:1,class:"plugin-section",properties:e.schema.properties.properties,"section-name":"Properties",href:"properties","initially-expanded":e.propsInitiallyExpanded,"force-include":e.forceIncludeProperties,definitions:e.schema.definitions,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:m})=>[t.createElementVNode("div",dE,[t.renderSlot(d.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","initially-expanded","force-include","definitions","no-url-change"])):t.createCommentVNode("",!0),e.schema.outputs?.properties&&Object.keys(e.schema.outputs.properties).length>0?(t.openBlock(),t.createBlock(pn,{key:2,class:"plugin-section",properties:e.schema.outputs.properties,"section-name":"Outputs",href:"outputs","show-dynamic":!1,definitions:e.schema.definitions,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:m})=>[t.createElementVNode("div",mE,[t.renderSlot(d.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0),e.schema.properties?.$metrics?(t.openBlock(),t.createBlock(pn,{key:3,class:"plugin-section",properties:c.value,"section-name":"Metrics",href:"metrics","show-dynamic":!1,definitions:e.schema.definitions,"no-url-change":e.noUrlChange},{markdown:t.withCtx(({content:m})=>[t.createElementVNode("div",fE,[t.renderSlot(d.$slots,"markdown",{content:m},void 0,!0)])]),_:3},8,["properties","definitions","no-url-change"])):t.createCommentVNode("",!0)]))]))}}),gE=A(pE,[["__scopeId","data-v-4b5f6b53"]]),hE={class:"d-flex flex-column gap-4"},EE={key:0,class:"pb-2"},kE={class:"row g-4 last"},yE=["id"],vE={class:"row g-4 last"},CE={key:2,class:"description"},NE={key:0,class:"gradient-overlay"},_E={key:0,class:"more-wrap text-center"},SE=t.defineComponent({__name:"PluginIndex",props:{plugins:{},pluginName:{},routePath:{},icons:{},subGroup:{},activeId:{},subgroupBlueprintCounts:{},metadataMap:{},schemas:{}},emits:["navigate"],setup(e,{emit:n}){const o=e,l=w=>o.metadataMap?.[w.subGroup??w.group],r=w=>l(w)?.description??w.description,a=w=>l(w)?.title??w.title??Ae(w),i=t.computed(()=>o.plugins.find(w=>o.subGroup===void 0?!0:Ce(Ae(w))===o.subGroup)),s=t.computed(()=>i.value?.longDescription??i.value?.description),c=t.computed(()=>o.plugins.filter(w=>w.name.toLowerCase()===o.pluginName.toLowerCase()&&w.subGroup!==void 0)),u=w=>{let I=w.split(".");return I?.[I.length-1]},d=w=>`${o.routePath}/${w.toLowerCase()}`;function h(w){const I=Ht(w);return Object.values(I).reduce((C,R)=>C+R.length,0)}const{elementsByType:m}=ol(i),y=t.ref(null),T=t.ref(null),k=t.ref(!1),{height:_}=Qo(y),{height:f}=Qo(T),E=t.computed(()=>f.value>_.value+2),S=()=>{k.value=!k.value},N=n;return(w,I)=>(t.openBlock(),t.createElementBlock("div",hE,[e.subGroup===void 0&&e.plugins.length>1?(t.openBlock(),t.createElementBlock("div",EE,[t.createElementVNode("div",kE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,C=>(t.openBlock(),t.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:t.unref(Ae)(C)},[t.createVNode(Jl,{id:t.unref(Ce)(t.unref(Ae)(C)),"icon-src":e.icons[C.subGroup]??e.icons[C.group],text:a(C),description:r(C),href:`${e.routePath}/${t.unref(Ce)(t.unref(Ae)(C))}`,"route-path":e.routePath,"plugin-group":C.group??C.name,"total-count":h(C),"blueprints-count":o.subgroupBlueprintCounts?.[`${t.unref(Ce)(C.group??C.name)}-${t.unref(Ce)(t.unref(Ae)(C))}`]??0,"is-active":e.activeId?.toLowerCase()===t.unref(Ce)(t.unref(Ae)(C)),class:"text-capitalize h-100",onNavigate:I[0]||(I[0]=R=>N("navigate",R))},null,8,["id","icon-src","text","description","href","route-path","plugin-group","total-count","blueprints-count","is-active"])]))),128))])])):i.value?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(t.unref(m),(C,R)=>(t.openBlock(),t.createElementBlock("div",{class:"d-flex flex-column elements-section pb-3",key:R},[t.createElementVNode("h4",{id:`section-${t.unref(Ce)(R)}`,class:"text-capitalize"},t.toDisplayString(R),9,yE),t.createElementVNode("div",vE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C,U=>(t.openBlock(),t.createElementBlock("div",{class:"col-md-4 col-lg-6 col-xl-6 col-xxl-4",key:U},[t.createVNode(Ql,{id:t.unref(Ce)(U),text:u(U),"plugin-class":U,href:d(U),"route-path":e.routePath,title:e.schemas?.[U]?.title,class:"h-100",onNavigate:I[1]||(I[1]=Q=>N("navigate",Q))},{markdown:t.withCtx(({content:Q})=>[t.renderSlot(w.$slots,"markdown",{content:Q},void 0,!0)]),_:3},8,["id","text","plugin-class","href","route-path","title"])]))),128))])]))),128)):t.createCommentVNode("",!0),s.value!==void 0&&i.value?.longDescription?(t.openBlock(),t.createElementBlock("div",CE,[I[2]||(I[2]=t.createElementVNode("h4",{id:"how-to-use-this-plugin"}," How to use this plugin ",-1)),t.createElementVNode("div",{ref_key:"contentWrap",ref:y,class:t.normalizeClass(["markdown-container",{expanded:k.value}])},[t.createElementVNode("div",{ref_key:"contentInner",ref:T,class:"markdown-inner"},[t.renderSlot(w.$slots,"markdown",{content:s.value.replace(/ *:(?![ /])/g,": ")},void 0,!0)],512),E.value&&!k.value?(t.openBlock(),t.createElementBlock("div",NE)):t.createCommentVNode("",!0)],2),E.value||k.value?(t.openBlock(),t.createElementBlock("div",_E,[t.createElementVNode("button",{class:"more-btn",onClick:S},[t.createTextVNode(t.toDisplayString(k.value?"See less":"See more")+" ",1),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(k.value?ar:Jn)))])])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]))}}),bE=A(SE,[["__scopeId","data-v-954f015b"]]),wE=/"(?:_|\\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*:/,LE=/"(?: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*:/,BE=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function VE(e,n){if(e==="__proto__"||e==="constructor"&&n&&typeof n=="object"&&"prototype"in n){TE(e);return}return n}function TE(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function IE(e,n={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const o=e.trim();if(o.length<=9)switch(o.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!BE.test(e)){if(n.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(wE.test(e)||LE.test(e)){if(n.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,VE)}return JSON.parse(e)}catch(l){if(n.strict)throw l;return e}}const $E=/\d/,AE=["-","_","/","."];function DE(e=""){if(!$E.test(e))return e!==e.toLowerCase()}function dr(e,n){const o=AE,l=[];if(!e||typeof e!="string")return l;let r="",a,i;for(const s of e){const c=o.includes(s);if(c===!0){l.push(r),r="",a=void 0;continue}const u=DE(s);if(i===!1){if(a===!1&&u===!0){l.push(r),r=s,a=u;continue}if(a===!0&&u===!1&&r.length>1){const d=r.at(-1);l.push(r.slice(0,Math.max(0,r.length-1))),r=d+s,a=u;continue}}r+=s,a=u,i=c}return l.push(r),l}function OE(e){return e?e[0].toUpperCase()+e.slice(1):""}function to(e,n){return e?(Array.isArray(e)?e:dr(e)).map(o=>OE(o)).join(""):""}function xE(e,n){return e?(Array.isArray(e)?e:dr(e)).map(o=>o.toLowerCase()).join("-"):""}class vt{constructor(n,o,l){this.normal=o,this.property=n,l&&(this.space=l)}}vt.prototype.normal={};vt.prototype.property={};vt.prototype.space=void 0;function mr(e,n){const o={},l={};for(const r of e)Object.assign(o,r.property),Object.assign(l,r.normal);return new vt(o,l,n)}function Vn(e){return e.toLowerCase()}class ke{constructor(n,o){this.attribute=o,this.property=n}}ke.prototype.attribute="";ke.prototype.booleanish=!1;ke.prototype.boolean=!1;ke.prototype.commaOrSpaceSeparated=!1;ke.prototype.commaSeparated=!1;ke.prototype.defined=!1;ke.prototype.mustUseProperty=!1;ke.prototype.number=!1;ke.prototype.overloadedBoolean=!1;ke.prototype.property="";ke.prototype.spaceSeparated=!1;ke.prototype.space=void 0;let PE=0;const F=Ze(),se=Ze(),Tn=Ze(),V=Ze(),J=Ze(),lt=Ze(),ve=Ze();function Ze(){return 2**++PE}const In=Object.freeze(Object.defineProperty({__proto__:null,boolean:F,booleanish:se,commaOrSpaceSeparated:ve,commaSeparated:lt,number:V,overloadedBoolean:Tn,spaceSeparated:J},Symbol.toStringTag,{value:"Module"})),gn=Object.keys(In);class no extends ke{constructor(n,o,l,r){let a=-1;if(super(n,o),el(this,"space",r),typeof l=="number")for(;++a<gn.length;){const i=gn[a];el(this,gn[a],(l&In[i])===In[i])}}}no.prototype.defined=!0;function el(e,n,o){o&&(e[n]=o)}function st(e){const n={},o={};for(const[l,r]of Object.entries(e.properties)){const a=new no(l,e.transform(e.attributes||{},l),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(l)&&(a.mustUseProperty=!0),n[l]=a,o[Vn(l)]=l,o[Vn(a.attribute)]=l}return new vt(n,o,e.space)}const fr=st({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(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function pr(e,n){return n in e?e[n]:n}function gr(e,n){return pr(e,n.toLowerCase())}const RE=st({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lt,acceptCharset:J,accessKey:J,action:null,allow:null,allowFullScreen:F,allowPaymentRequest:F,allowUserMedia:F,alt:null,as:null,async:F,autoCapitalize:null,autoComplete:J,autoFocus:F,autoPlay:F,blocking:J,capture:null,charSet:null,checked:F,cite:null,className:J,cols:V,colSpan:null,content:null,contentEditable:se,controls:F,controlsList:J,coords:V|lt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:F,defer:F,dir:null,dirName:null,disabled:F,download:Tn,draggable:se,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:F,formTarget:null,headers:J,height:V,hidden:Tn,high:V,href:null,hrefLang:null,htmlFor:J,httpEquiv:J,id:null,imageSizes:null,imageSrcSet:null,inert:F,inputMode:null,integrity:null,is:null,isMap:F,itemId:null,itemProp:J,itemRef:J,itemScope:F,itemType:J,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:F,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:F,muted:F,name:null,nonce:null,noModule:F,noValidate:F,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:F,optimum:V,pattern:null,ping:J,placeholder:null,playsInline:F,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:F,referrerPolicy:null,rel:J,required:F,reversed:F,rows:V,rowSpan:V,sandbox:J,scope:null,scoped:F,seamless:F,selected:F,shadowRootClonable:F,shadowRootDelegatesFocus:F,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:F,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:F,declare:F,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:F,noHref:F,noShade:F,noWrap:F,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:F,disableRemotePlayback:F,prefix:null,property:null,results:V,security:null,unselectable:null},space:"html",transform:gr}),ME=st({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:F,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:lt,g2:lt,glyphName:lt,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:pr}),hr=st({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Er=st({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:gr}),kr=st({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),FE=/[A-Z]/g,tl=/-[a-z]/g,UE=/^data[-\w.:]+$/i;function HE(e,n){const o=Vn(n);let l=n,r=ke;if(o in e.normal)return e.property[e.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&UE.test(n)){if(n.charAt(4)==="-"){const a=n.slice(5).replace(tl,WE);l="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=n.slice(4);if(!tl.test(a)){let i=a.replace(FE,zE);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=no}return new r(l,n)}function zE(e){return"-"+e.toLowerCase()}function WE(e){return e.charAt(1).toUpperCase()}const jE=mr([fr,RE,hr,Er,kr],"html");mr([fr,ME,hr,Er,kr],"svg");const GE=new Set(["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"]),KE=["p","h1","h2","h3","h4","h5","h6","li"];function Ft(e,n){return e.type===n||typeof e.type=="object"&&e.type.tag===n||e.tag===n}function oo(e){return Ft(e,"text")||Ft(e,Symbol.for("v-txt"))}function yr(e){return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof e.children?.default=="function"?e.children.default():[]}function Ut(e){if(!e)return"";if(Array.isArray(e))return e.map(Ut).join("");if(oo(e))return e.value||e.children||"";const n=yr(e);return Array.isArray(n)?n.map(Ut).filter(Boolean).join(""):""}function vr(e,n=[]){if(Array.isArray(e))return e.flatMap(l=>vr(l,n));let o=e;return n.some(l=>l==="*"||Ft(e,l))&&(o=yr(e)||e,!Array.isArray(o)&&KE.some(l=>Ft(e,l))&&(o=[o])),o}function Cr(e,n=[]){return e=Array.isArray(e)?e:[e],n.length?e.flatMap(o=>Cr(vr(o,[n[0]]),n.slice(1))).filter(o=>!(oo(o)&&Ut(o).trim()==="")):e}function Nr(e,n=[]){return typeof n=="string"&&(n=n.split(/[,\s]/).map(o=>o.trim()).filter(Boolean)),n.length?Cr(e,n).reduce((o,l)=>(oo(l)?typeof o[o.length-1]=="string"?o[o.length-1]+=l.children:o.push(l.children):o.push(l),o),[]):e}function YE(e,n){return n.reduce((o,l)=>{const r=qE(e,l);return r!==void 0&&(o[l]=r),o},{})}function qE(e,n){return n.split(".").reduce((o,l)=>o&&o[l],e)}const $n="default",_r=/^@|^v-on:/,Sr=/^:|^v-bind:/,XE=/^v-model/,ZE=["select","textarea","input"],JE=new Set(["math","svg"]),br=new Set,QE=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(e=>[e,`prose-${e}`])),ek=["script","base"],tk=t.defineComponent({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(e){const o=t.getCurrentInstance()?.appContext?.app?.$nuxt,l=o?.$route||o?._route,{mdc:r}=o?.$config?.public||{},a=r?.components?.customElements||r?.components?.custom;a&&a.forEach(d=>br.add(d));const i=t.computed(()=>({...r?.components?.prose&&e.prose!==!1?QE:{},...r?.components?.map||{},...t.toRaw(e.data?.mdc?.components||{}),...e.components})),s=t.computed(()=>{const d=(e.body?.children||[]).map(h=>h.tag||h.type).filter(h=>!lo(h));return Array.from(new Set(d)).sort().join(".")}),c=t.reactive({...e.data});t.watch(()=>e.data,d=>{Object.assign(c,d)}),await mk(e.body,{tags:i.value});function u(d,h){const m=d.split(".").length-1;return d.split(".").reduce((y,T,k)=>k==m&&y?(y[T]=h,y[T]):typeof y=="object"?y[T]:void 0,c)}return{tags:i,contentKey:s,route:l,runtimeData:c,updateRuntimeData:u}},render(e){const{tags:n,tag:o,body:l,data:r,contentKey:a,route:i,unwrap:s,runtimeData:c,updateRuntimeData:u}=e;if(!l)return null;const d={...r,tags:n,$route:i,runtimeData:c,updateRuntimeData:u},h=o!==!1?An(o||d.component?.name||d.component||"div"):void 0;return h?t.h(h,{...d.component?.props,class:e.class,...this.$attrs,key:a},{default:m}):m?.();function m(){const y=wr(l,t.h,{documentMeta:d,parentScope:d,resolveComponent:An});return y?.default?s?Nr(y.default(),typeof s=="string"?s.split(" "):["*"]):y.default():null}}});function nk(e,n,o,l){const{documentMeta:r,parentScope:a,resolveComponent:i}=o;if(e.type==="text")return n(t.Text,e.value);if(e.type==="comment")return n(t.Comment,null,e.value);const s=e.tag,c=Br(e,r.tags);if(e.tag==="binding")return ok(e,n,r,a);const u=Lr(c)?m=>m:i;if(ek.includes(to(c).toLowerCase()))return n("pre",{class:"mdc-renderer-dangerous-tag"},"<"+c+">"+Ut(e)+"</"+c+">");const d=u(c);typeof d=="object"&&(d.tag=s);const h=lk(e,r);return l&&(h.key=l),n(d,h,wr(e,n,{documentMeta:r,parentScope:{...a,...h},resolveComponent:u}))}function wr(e,n,o){const{documentMeta:l,parentScope:r,resolveComponent:a}=o,s=(e.children||[]).reduce((u,d)=>{if(!uk(d))return u[$n].children.push(d),u;const h=ck(d);return u[h]=u[h]||{props:{},children:[]},d.type==="element"&&(u[h].props=d.props,u[h].children.push(...d.children||[])),u},{[$n]:{props:{},children:[]}});return Object.entries(s).reduce((u,[d,{props:h,children:m}])=>(m.length&&(u[d]=(y={})=>{const T=YE(y,Object.keys(h||{}));let k=m.map((_,f)=>nk(_,n,{documentMeta:l,parentScope:{...r,...T},resolveComponent:a},String(_.props?.key||f)));return h?.unwrap&&(k=Nr(k,h.unwrap)),dk(k)}),u),{})}function ok(e,n,o,l={}){const r={...o.runtimeData,...l,$document:o,$doc:o},a=/\.|\[(\d+)\]/,s=(e.props?.value.trim().split(a).filter(Boolean)).reduce((u,d)=>{if(u&&d in u)return typeof u[d]=="function"?u[d]():u[d]},r),c=e.props?.defaultValue;return n(t.Text,s??c??"")}function lk(e,n){const{tag:o="",props:l={}}=e;return Object.keys(l).reduce(function(r,a){if(a==="__ignoreMap")return r;const i=l[a];if(XE.test(a))return rk(a,i,r,n,{native:ZE.includes(o)});if(a==="v-bind")return ak(a,i,r,n);if(_r.test(a))return ik(a,i,r,n);if(Sr.test(a))return sk(a,i,r,n);const{attribute:s}=HE(jE,a);return Array.isArray(i)&&i.every(c=>typeof c=="string")?(r[s]=i.join(" "),r):(r[s]=i,r)},{})}function rk(e,n,o,l,{native:r}){const a=e.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=r?"value":a,s=r?"onInput":`onUpdate:${a}`;return o[i]=Xt(n,l.runtimeData),o[s]=c=>{l.updateRuntimeData(n,r?c.target?.value:c)},o}function ak(e,n,o,l){const r=Xt(n,l);return o=Object.assign(o,r),o}function ik(e,n,o,l){return e=e.replace(_r,""),o.on=o.on||{},o.on[e]=()=>Xt(n,l),o}function sk(e,n,o,l){return e=e.replace(Sr,""),o[e]=Xt(n,l),o}const An=e=>{if(typeof e=="string"){if(lo(e))return e;const n=t.resolveComponent(to(e),!1);return!e||n?.name==="AsyncComponentWrapper"||typeof n=="string"?n:"setup"in n?t.defineAsyncComponent(()=>new Promise(o=>o(n))):n}return e};function Xt(e,n){const o=e.split(".").reduce((l,r)=>typeof l=="object"?l[r]:void 0,n);return typeof o>"u"?IE(e):o}function ck(e){let n="";for(const o of Object.keys(e.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){n=o.split(/[:#]/,2)[1];break}return n||$n}function uk(e){return e.tag==="template"}function Lr(e){return JE.has(e)}function dk(e){const n=[];for(const o of e){const l=n[n.length-1];o.type===t.Text&&l?.type===t.Text?l.children=l.children+o.children:n.push(o)}return n}async function mk(e,n){if(!e)return;const o=Array.from(new Set(l(e,n)));await Promise.all(o.map(async r=>{if(r?.render||r?.ssrRender||r?.__ssrInlineRender)return;const a=An(r);a?.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function l(r,a){const i=r.tag;if(r.type==="text"||i==="binding"||r.type==="comment")return[];const s=Br(r,a.tags);if(Lr(s))return[];const c=[];r.type!=="root"&&!lo(s)&&c.push(s);for(const u of r.children||[])c.push(...l(u,a));return c}}function Br(e,n){const o=e.tag;return!o||typeof e.props?.__ignoreMap<"u"?o:n[o]||n[to(o)]||n[xE(e.tag)]||o}function lo(e){return(typeof e=="string"?br.has(e):!1)||GE.has(e)}const fk=t.defineComponent({__name:"MDCRenderer",setup(e){return(n,o)=>(t.openBlock(),t.createBlock(t.Suspense,null,{default:t.withCtx(()=>[t.createVNode(tk,t.mergeProps(n.$attrs,{prose:!0}),null,16)]),_:1}))}});exports.CLUSTER_PREFIX=b.CLUSTER_PREFIX;exports.EVENTS=b.EVENTS;exports.NODE_SIZES=b.NODE_SIZES;exports.SECTIONS=b.SECTIONS;exports.Utils=b.Utils;exports.VueFlowUtils=b.VueFlowUtils;exports.Collapsible=Et;exports.CollapsibleV2=kt;exports.DependenciesNode=Gc;exports.ElementCard=Ql;exports.LOG_LEVELS=ai;exports.MDCRenderer=fk;exports.PluginIndex=bE;exports.RotatingDotsIcon=ll;exports.STATES=z;exports.SchemaToHtml=l1;exports.SchemaToHtmlV2=gE;exports.State=ne;exports.Status=jf;exports.SubgroupCard=Jl;exports.TaskIcon=zn;exports.Topology=Hf;exports.YamlUtils=Fr;exports.buildPluginMappings=mi;exports.cssVariable=Ne;exports.extractPluginElements=Ht;exports.filterPluginsWithoutDeprecated=di;exports.getMDCParser=ii;exports.isEntryAPluginElementPredicate=Dn;exports.slugify=Ce;exports.subGroupName=Ae;exports.usePluginElementCounts=ol;
20
20
  //# sourceMappingURL=kestra-index.cjs.js.map