@prefabs.tech/vue3-layout 0.12.0 → 0.14.0

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.
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./index-CEa1XNRp.js";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { a as t, b as r, c as i, d as p, e as u, f as l, g as y, N as d, h as L, i as b, j as n, k as S, p as c, u as f } from "./index-F-mM76Og.js";
1
+ import { a as t, b as r, c as i, d as p, e as u, f as l, g as y, N as d, h as L, i as b, j as n, k as S, p as c, u as f } from "./index-CEa1XNRp.js";
2
2
  import "@prefabs.tech/vue3-i18n";
3
3
  import "vue";
4
4
  export {
@@ -1 +1 @@
1
- (function(m,_){typeof exports=="object"&&typeof module<"u"?_(exports,require("@prefabs.tech/vue3-i18n"),require("vue"),require("@prefabs.tech/vue3-config"),require("@vueuse/core"),require("@prefabs.tech/vue3-ui"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","@prefabs.tech/vue3-i18n","vue","@prefabs.tech/vue3-config","@vueuse/core","@prefabs.tech/vue3-ui","vue-router"],_):(m=typeof globalThis<"u"?globalThis:m||self,_((m["@prefabs"]=m["@prefabs"]||{},m["@prefabs"]["tech/vue3-layout"]={}),m.PrefabsTechVue3I18n,m.Vue,m.PrefabsTechVue3Config,m.VueuseCore,m.PrefabsTechVue3UI,m.VueRouter))})(this,function(m,_,t,z,je,Pe,x){"use strict";const Oe={class:"copyright"},Fe=["href"],Re={name:"Copyright"},ne=t.defineComponent({...Re,props:{holder:{required:!0,type:String},showDisclaimer:Boolean,url:{required:!0,type:String}},setup(e){const n=e,r=Te(),{t:s}=_.useI18n({messages:r}),o=t.computed(()=>n.showDisclaimer?s("copyright.disclaimer"):null),i=new Date().getFullYear();return(l,c)=>(t.openBlock(),t.createElementBlock("div",Oe,[t.createTextVNode(" © "+t.toDisplayString(t.unref(i))+" ",1),t.createElementVNode("a",{href:e.url,target:"_blank"},t.toDisplayString(e.holder),9,Fe),t.createTextVNode("  "+t.toDisplayString(o.value),1)]))}}),De={class:"version"},ze={name:"AppFooter"},A=t.defineComponent({...ze,setup(e){const n=z.useConfig();return(r,s)=>(t.openBlock(),t.createElementBlock("footer",null,[t.renderSlot(r.$slots,"copyright",{},()=>[t.unref(n)?.copyright?(t.openBlock(),t.createBlock(ne,{key:0,holder:t.unref(n).copyright.holder,url:t.unref(n).copyright.url},null,8,["holder","url"])):t.createCommentVNode("",!0)]),t.renderSlot(r.$slots,"social"),t.renderSlot(r.$slots,"version",{},()=>[t.createElementVNode("div",De,t.toDisplayString(t.unref(n).appVersion),1)])]))}}),oe=/^[a-z0-9]+(-[a-z0-9]+)*$/,T=(e,n,r,s="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;s=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),a=o.pop(),d={provider:o.length>0?o[0]:s,prefix:a,name:c};return n&&!j(d)?null:d}const i=o[0],l=i.split("-");if(l.length>1){const c={provider:s,prefix:l.shift(),name:l.join("-")};return n&&!j(c)?null:c}if(r&&s===""){const c={provider:s,prefix:"",name:i};return n&&!j(c,r)?null:c}return null},j=(e,n)=>e?!!((n&&e.prefix===""||e.prefix)&&e.name):!1,re=Object.freeze({left:0,top:0,width:16,height:16}),P=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),O=Object.freeze({...re,...P}),q=Object.freeze({...O,body:"",hidden:!1});function qe(e,n){const r={};!e.hFlip!=!n.hFlip&&(r.hFlip=!0),!e.vFlip!=!n.vFlip&&(r.vFlip=!0);const s=((e.rotate||0)+(n.rotate||0))%4;return s&&(r.rotate=s),r}function se(e,n){const r=qe(e,n);for(const s in q)s in P?s in e&&!(s in r)&&(r[s]=P[s]):s in n?r[s]=n[s]:s in e&&(r[s]=e[s]);return r}function He(e,n){const r=e.icons,s=e.aliases||Object.create(null),o=Object.create(null);function i(l){if(r[l])return o[l]=[];if(!(l in o)){o[l]=null;const c=s[l]&&s[l].parent,a=c&&i(c);a&&(o[l]=[c].concat(a))}return o[l]}return Object.keys(r).concat(Object.keys(s)).forEach(i),o}function Ue(e,n,r){const s=e.icons,o=e.aliases||Object.create(null);let i={};function l(c){i=se(s[c]||o[c],i)}return l(n),r.forEach(l),se(e,i)}function ie(e,n){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{n(o,null),r.push(o)});const s=He(e);for(const o in s){const i=s[o];i&&(n(o,Ue(e,o,i)),r.push(o))}return r}const Qe={provider:"",aliases:{},not_found:{},...re};function H(e,n){for(const r in n)if(r in e&&typeof e[r]!=typeof n[r])return!1;return!0}function le(e){if(typeof e!="object"||e===null)return null;const n=e;if(typeof n.prefix!="string"||!e.icons||typeof e.icons!="object"||!H(e,Qe))return null;const r=n.icons;for(const o in r){const i=r[o];if(!o||typeof i.body!="string"||!H(i,q))return null}const s=n.aliases||Object.create(null);for(const o in s){const i=s[o],l=i.parent;if(!o||typeof l!="string"||!r[l]&&!s[l]||!H(i,q))return null}return n}const ce=Object.create(null);function Ge(e,n){return{provider:e,prefix:n,icons:Object.create(null),missing:new Set}}function N(e,n){const r=ce[e]||(ce[e]=Object.create(null));return r[n]||(r[n]=Ge(e,n))}function ae(e,n){return le(n)?ie(n,(r,s)=>{s?e.icons[r]=s:e.missing.add(r)}):[]}function We(e,n,r){try{if(typeof r.body=="string")return e.icons[n]={...r},!0}catch{}return!1}let E=!1;function de(e){return typeof e=="boolean"&&(E=e),E}function Ze(e){const n=typeof e=="string"?T(e,!0,E):e;if(n){const r=N(n.provider,n.prefix),s=n.name;return r.icons[s]||(r.missing.has(s)?null:void 0)}}function Ke(e,n){const r=T(e,!0,E);if(!r)return!1;const s=N(r.provider,r.prefix);return n?We(s,r.name,n):(s.missing.add(r.name),!0)}function Ye(e,n){if(typeof e!="object")return!1;if(typeof n!="string"&&(n=e.provider||""),E&&!n&&!e.prefix){let o=!1;return le(e)&&(e.prefix="",ie(e,(i,l)=>{Ke(i,l)&&(o=!0)})),o}const r=e.prefix;if(!j({prefix:r,name:"a"}))return!1;const s=N(n,r);return!!ae(s,e)}const fe=Object.freeze({width:null,height:null}),ue=Object.freeze({...fe,...P}),Je=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Xe=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function he(e,n,r){if(n===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*n*r)/r;if(typeof e!="string")return e;const s=e.split(Je);if(s===null||!s.length)return e;const o=[];let i=s.shift(),l=Xe.test(i);for(;;){if(l){const c=parseFloat(i);isNaN(c)?o.push(i):o.push(Math.ceil(c*n*r)/r)}else o.push(i);if(i=s.shift(),i===void 0)return o.join("");l=!l}}function ve(e,n="defs"){let r="";const s=e.indexOf("<"+n);for(;s>=0;){const o=e.indexOf(">",s),i=e.indexOf("</"+n);if(o===-1||i===-1)break;const l=e.indexOf(">",i);if(l===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,s).trim()+e.slice(l+1)}return{defs:r,content:e}}function et(e,n){return e?"<defs>"+e+"</defs>"+n:n}function tt(e,n,r){const s=ve(e);return et(s.defs,n+s.content+r)}const nt=e=>e==="unset"||e==="undefined"||e==="none";function ot(e,n){const r={...O,...e},s={...ue,...n},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,s].forEach(k=>{const u=[],L=k.hFlip,$=k.vFlip;let C=k.rotate;L?$?C+=2:(u.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),u.push("scale(-1 1)"),o.top=o.left=0):$&&(u.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),u.push("scale(1 -1)"),o.top=o.left=0);let b;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:b=o.height/2+o.top,u.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:u.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:b=o.width/2+o.left,u.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}C%2===1&&(o.left!==o.top&&(b=o.left,o.left=o.top,o.top=b),o.width!==o.height&&(b=o.width,o.width=o.height,o.height=b)),u.length&&(i=tt(i,'<g transform="'+u.join(" ")+'">',"</g>"))});const l=s.width,c=s.height,a=o.width,d=o.height;let f,h;l===null?(h=c===null?"1em":c==="auto"?d:c,f=he(h,a/d)):(f=l==="auto"?a:l,h=c===null?he(f,d/a):c==="auto"?d:c);const p={},y=(k,u)=>{nt(u)||(p[k]=u.toString())};y("width",f),y("height",h);const S=[o.left,o.top,a,d];return p.viewBox=S.join(" "),{attributes:p,viewBox:S,body:i}}const rt=/\sid="(\S+)"/g,st="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let it=0;function lt(e,n=st){const r=[];let s;for(;s=rt.exec(e);)r.push(s[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const l=typeof n=="function"?n(i):n+(it++).toString(),c=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+l+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const U=Object.create(null);function ct(e,n){U[e]=n}function Q(e){return U[e]||U[""]}function G(e){let n;if(typeof e.resources=="string")n=[e.resources];else if(n=e.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const W=Object.create(null),I=["https://api.simplesvg.com","https://api.unisvg.com"],F=[];for(;I.length>0;)I.length===1||Math.random()>.5?F.push(I.shift()):F.push(I.pop());W[""]=G({resources:["https://api.iconify.design"].concat(F)});function at(e,n){const r=G(n);return r===null?!1:(W[e]=r,!0)}function Z(e){return W[e]}let pe=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function dt(e,n){const r=Z(e);if(!r)return 0;let s;if(!r.maxURL)s=0;else{let o=0;r.resources.forEach(l=>{o=Math.max(o,l.length)});const i=n+".json?icons=";s=r.maxURL-o-r.path.length-i.length}return s}function ft(e){return e===404}const ut=(e,n,r)=>{const s=[],o=dt(e,n),i="icons";let l={type:i,provider:e,prefix:n,icons:[]},c=0;return r.forEach((a,d)=>{c+=a.length+1,c>=o&&d>0&&(s.push(l),l={type:i,provider:e,prefix:n,icons:[]},c=a.length),l.icons.push(a)}),s.push(l),s};function ht(e){if(typeof e=="string"){const n=Z(e);if(n)return n.path}return"/"}const pt={prepare:ut,send:(e,n,r)=>{if(!pe){r("abort",424);return}let s=ht(n.provider);switch(n.type){case"icons":{const i=n.prefix,c=n.icons.join(","),a=new URLSearchParams({icons:c});s+=i+".json?"+a.toString();break}case"custom":{const i=n.uri;s+=i.slice(0,1)==="/"?i.slice(1):i;break}default:r("abort",400);return}let o=503;pe(e+s).then(i=>{const l=i.status;if(l!==200){setTimeout(()=>{r(ft(l)?"abort":"next",l)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?r("abort",i):r("next",o)});return}setTimeout(()=>{r("success",i)})}).catch(()=>{r("next",o)})}};function mt(e){const n={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let s={provider:"",prefix:"",name:""};return e.forEach(o=>{if(s.name===o.name&&s.prefix===o.prefix&&s.provider===o.provider)return;s=o;const i=o.provider,l=o.prefix,c=o.name,a=r[i]||(r[i]=Object.create(null)),d=a[l]||(a[l]=N(i,l));let f;c in d.icons?f=n.loaded:l===""||d.missing.has(c)?f=n.missing:f=n.pending;const h={provider:i,prefix:l,name:c};f.push(h)}),n}function me(e,n){e.forEach(r=>{const s=r.loaderCallbacks;s&&(r.loaderCallbacks=s.filter(o=>o.id!==n))})}function gt(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const n=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!n.length)return;let r=!1;const s=e.provider,o=e.prefix;n.forEach(i=>{const l=i.icons,c=l.pending.length;l.pending=l.pending.filter(a=>{if(a.prefix!==o)return!0;const d=a.name;if(e.icons[d])l.loaded.push({provider:s,prefix:o,name:d});else if(e.missing.has(d))l.missing.push({provider:s,prefix:o,name:d});else return r=!0,!0;return!1}),l.pending.length!==c&&(r||me([e],i.id),i.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),i.abort))})}))}let yt=0;function kt(e,n,r){const s=yt++,o=me.bind(null,r,s);if(!n.pending.length)return o;const i={id:s,icons:n,callback:e,abort:o};return r.forEach(l=>{(l.loaderCallbacks||(l.loaderCallbacks=[])).push(i)}),o}function bt(e,n=!0,r=!1){const s=[];return e.forEach(o=>{const i=typeof o=="string"?T(o,n,r):o;i&&s.push(i)}),s}var wt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function St(e,n,r,s){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let l;if(e.random){let g=e.resources.slice(0);for(l=[];g.length>1;){const w=Math.floor(Math.random()*g.length);l.push(g[w]),g=g.slice(0,w).concat(g.slice(w+1))}l=l.concat(g)}else l=e.resources.slice(i).concat(e.resources.slice(0,i));const c=Date.now();let a="pending",d=0,f,h=null,p=[],y=[];typeof s=="function"&&y.push(s);function S(){h&&(clearTimeout(h),h=null)}function k(){a==="pending"&&(a="aborted"),S(),p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function u(g,w){w&&(y=[]),typeof g=="function"&&y.push(g)}function L(){return{startTime:c,payload:n,status:a,queriesSent:d,queriesPending:p.length,subscribe:u,abort:k}}function $(){a="failed",y.forEach(g=>{g(void 0,f)})}function C(){p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function b(g,w,V){const D=w!=="success";switch(p=p.filter(B=>B!==g),a){case"pending":break;case"failed":if(D||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){f=V,$();return}if(D){f=V,p.length||(l.length?te():$());return}if(S(),C(),!e.random){const B=e.resources.indexOf(g.resource);B!==-1&&B!==e.index&&(e.index=B)}a="completed",y.forEach(B=>{B(V)})}function te(){if(a!=="pending")return;S();const g=l.shift();if(g===void 0){if(p.length){h=setTimeout(()=>{S(),a==="pending"&&(C(),$())},e.timeout);return}$();return}const w={status:"pending",resource:g,callback:(V,D)=>{b(w,V,D)}};p.push(w),d++,h=setTimeout(te,e.rotate),r(g,n,w.callback)}return setTimeout(te),L}function ge(e){const n={...wt,...e};let r=[];function s(){r=r.filter(c=>c().status==="pending")}function o(c,a,d){const f=St(n,c,a,(h,p)=>{s(),d&&d(h,p)});return r.push(f),f}function i(c){return r.find(a=>c(a))||null}return{query:o,find:i,setIndex:c=>{n.index=c},getIndex:()=>n.index,cleanup:s}}function ye(){}const K=Object.create(null);function Ct(e){if(!K[e]){const n=Z(e);if(!n)return;const r=ge(n),s={config:n,redundancy:r};K[e]=s}return K[e]}function _t(e,n,r){let s,o;if(typeof e=="string"){const i=Q(e);if(!i)return r(void 0,424),ye;o=i.send;const l=Ct(e);l&&(s=l.redundancy)}else{const i=G(e);if(i){s=ge(i);const l=e.resources?e.resources[0]:"",c=Q(l);c&&(o=c.send)}}return!s||!o?(r(void 0,424),ye):s.query(n,o,r)().abort}function ke(){}function $t(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,gt(e)}))}function Bt(e){const n=[],r=[];return e.forEach(s=>{(s.match(oe)?n:r).push(s)}),{valid:n,invalid:r}}function M(e,n,r){function s(){const o=e.pendingIcons;n.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(r&&typeof r=="object")try{if(!ae(e,r).length){s();return}}catch(o){console.error(o)}s(),$t(e)}function be(e,n){e instanceof Promise?e.then(r=>{n(r)}).catch(()=>{n(null)}):n(e)}function Nt(e,n){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(n).sort():e.iconsToLoad=n,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:s}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){be(e.loadIcons(o,s,r),f=>{M(e,o,f)});return}if(i){o.forEach(f=>{const h=i(f,s,r);be(h,p=>{const y=p?{prefix:s,icons:{[f]:p}}:null;M(e,[f],y)})});return}const{valid:l,invalid:c}=Bt(o);if(c.length&&M(e,c,null),!l.length)return;const a=s.match(oe)?Q(r):null;if(!a){M(e,l,null);return}a.prepare(r,s,l).forEach(f=>{_t(r,f,h=>{M(e,f.icons,h)})})}))}const Lt=(e,n)=>{const r=bt(e,!0,de()),s=mt(r);if(!s.pending.length){let a=!0;return n&&setTimeout(()=>{a&&n(s.loaded,s.missing,s.pending,ke)}),()=>{a=!1}}const o=Object.create(null),i=[];let l,c;return s.pending.forEach(a=>{const{provider:d,prefix:f}=a;if(f===c&&d===l)return;l=d,c=f,i.push(N(d,f));const h=o[d]||(o[d]=Object.create(null));h[f]||(h[f]=[])}),s.pending.forEach(a=>{const{provider:d,prefix:f,name:h}=a,p=N(d,f),y=p.pendingIcons||(p.pendingIcons=new Set);y.has(h)||(y.add(h),o[d][f].push(h))}),i.forEach(a=>{const d=o[a.provider][a.prefix];d.length&&Nt(a,d)}),n?kt(n,s,i):ke};function xt(e,n){const r={...e};for(const s in n){const o=n[s],i=typeof o;s in fe?(o===null||o&&(i==="string"||i==="number"))&&(r[s]=o):i===typeof r[s]&&(r[s]=s==="rotate"?o%4:o)}return r}const Et=/[\s,]+/;function It(e,n){n.split(Et).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Mt(e,n=0){const r=e.replace(/^-?[0-9.]*/,"");function s(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:s(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-r.length));return isNaN(i)?0:(i=i/o,i%1===0?s(i):0)}}return n}function Vt(e,n){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in n)r+=" "+s+'="'+n[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function At(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Tt(e){return"data:image/svg+xml,"+At(e)}function jt(e){return'url("'+Tt(e)+'")'}const we={...ue,inline:!1},Pt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Ot={display:"inline-block"},Y={backgroundColor:"currentColor"},Se={backgroundColor:"transparent"},Ce={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},_e={webkitMask:Y,mask:Y,background:Se};for(const e in _e){const n=_e[e];for(const r in Ce)n[e+r]=Ce[r]}const R={};["horizontal","vertical"].forEach(e=>{const n=e.slice(0,1)+"Flip";R[e+"-flip"]=n,R[e.slice(0,1)+"-flip"]=n,R[e+"Flip"]=n});function $e(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Be=(e,n)=>{const r=xt(we,n),s={...Pt},o=n.mode||"svg",i={},l=n.style,c=typeof l=="object"&&!(l instanceof Array)?l:{};for(let k in n){const u=n[k];if(u!==void 0)switch(k){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":r[k]=u===!0||u==="true"||u===1;break;case"flip":typeof u=="string"&&It(r,u);break;case"color":i.color=u;break;case"rotate":typeof u=="string"?r[k]=Mt(u):typeof u=="number"&&(r[k]=u);break;case"ariaHidden":case"aria-hidden":u!==!0&&u!=="true"&&delete s["aria-hidden"];break;default:{const L=R[k];L?(u===!0||u==="true"||u===1)&&(r[L]=!0):we[k]===void 0&&(s[k]=u)}}}const a=ot(e,r),d=a.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){s.style={...i,...c},Object.assign(s,d);let k=0,u=n.id;return typeof u=="string"&&(u=u.replace(/-/g,"_")),s.innerHTML=lt(a.body,u?()=>u+"ID"+k++:"iconifyVue"),t.h("svg",s)}const{body:f,width:h,height:p}=e,y=o==="mask"||(o==="bg"?!1:f.indexOf("currentColor")!==-1),S=Vt(f,{...d,width:h+"",height:p+""});return s.style={...i,"--svg":jt(S),width:$e(d.width),height:$e(d.height),...Ot,...y?Y:Se,...c},t.h("span",s)};if(de(!0),ct("",pt),typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const n=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!Ye(s))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const n=e.IconifyProviders;if(typeof n=="object"&&n!==null)for(let r in n){const s="IconifyProviders["+r+"] is invalid.";try{const o=n[r];if(typeof o!="object"||!o||o.resources===void 0)continue;at(r,o)||console.error(s)}catch{console.error(s)}}}}const Ft={...O,body:""},Ne=t.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,n,r){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let s;if(typeof e!="string"||(s=T(e,!1,!0))===null)return this.abortLoading(),null;let o=Ze(s);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:Lt([s],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,n&&n(e)),r){o=Object.assign({},o);const l=r(o.body,s.name,s.prefix,s.provider);typeof l=="string"&&(o.body=l)}const i=["iconify"];return s.prefix!==""&&i.push("iconify--"+s.prefix),s.provider!==""&&i.push("iconify--"+s.provider),{data:o,classes:i}}},render(){this.counter;const e=this.$attrs,n=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!n)return Be(Ft,e);let r=e;return n.classes&&(r={...e,class:(typeof e.class=="string"?e.class+" ":"")+n.classes.join(" ")}),Be({...O,...n.data},r)}}),Rt={class:"logo"},Dt=["alt","src"],zt={key:1,class:"logo-default"},qt={name:"Logo"},J=t.defineComponent({...qt,props:{alt:{default:void 0,type:String},route:{default:void 0,type:String},src:{default:void 0,type:String}},setup(e){const n=e,{appName:r,appTitle:s,layout:o}=z.useConfig(),i=t.computed(()=>{if(r)return r.replace("@","").replace("/"," ")}),l=n.alt||o?.logoAlt||i.value||s||"My App",c=n.src||o?.logo,a=n.route||o?.logoRoute||"home";return(d,f)=>{const h=t.resolveComponent("router-link");return t.openBlock(),t.createElementBlock("div",Rt,[t.renderSlot(d.$slots,"default",{},()=>[t.createVNode(h,{to:{name:t.unref(a)}},{default:t.withCtx(()=>[t.unref(c)?(t.openBlock(),t.createElementBlock("img",{key:0,alt:t.unref(l),src:t.unref(c)},null,8,Dt)):(t.openBlock(),t.createElementBlock("span",zt,[t.createElementVNode("span",null,t.toDisplayString(t.unref(l)[0]),1),t.createElementVNode("span",null,t.toDisplayString(t.unref(l)),1)]))]),_:1},8,["to"])])])}}}),Ht={name:"MainMenu"},Le=t.defineComponent({...Ht,props:{routes:{required:!0,type:Array}},emits:["close"],setup(e){const n=e,r=x.useRoute(),s=x.useRouter(),o=t.computed(()=>{let c=n.routes?.find(a=>a.route===r?.name)?.route;return c||(c=i.value),c}),i=t.computed(()=>{const c=r?.matched;if(c?.length>1){const a=c[c.length-2];return l(a?.path)}return""}),l=c=>{const a=s.getRoutes().find(d=>d.path===c);return String(a?.name)};return(c,a)=>(t.openBlock(),t.createBlock(t.unref(Pe.ResponsiveMenu),{ref:"mainMenu","active-route":o.value??"home",routes:e.routes,onChangeRoute:a[0]||(a[0]=d=>c.$emit("close"))},null,8,["active-route","routes"]))}}),Ut=["data-expanded"],Qt={name:"AppHeader"},X=t.defineComponent({...Qt,props:{noLocaleSwitcher:Boolean,noLogo:Boolean,noMainMenu:Boolean},setup(e,{expose:n}){const{layout:r}=z.useConfig(),s=t.ref(null),o=t.ref(!1),i=r&&r?.homeRoute?r.homeRoute:void 0,l=()=>{o.value=!1},c=()=>{o.value=!o.value};return je.onClickOutside(s,a=>{o.value=!1}),n({expanded:o}),(a,d)=>(t.openBlock(),t.createElementBlock("header",{ref_key:"dzangolabVueAppHeader",ref:s},[t.renderSlot(a.$slots,"logo",{class:"logo"},()=>[e.noLogo?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(J,{key:0,route:t.unref(i)},null,8,["route"]))]),t.createElementVNode("nav",{"data-expanded":o.value},[t.renderSlot(a.$slots,"menu",{},()=>[t.unref(r)?.mainMenu&&!e.noMainMenu?(t.openBlock(),t.createBlock(Le,{key:0,class:"main-menu",routes:t.unref(r)?.mainMenu,onClose:l},null,8,["routes"])):t.createCommentVNode("",!0)]),t.renderSlot(a.$slots,"userMenu"),t.renderSlot(a.$slots,"addon"),t.renderSlot(a.$slots,"locales",{},()=>[e.noLocaleSwitcher?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(_.LocaleSwitcher),{key:0,class:"locales"}))])],8,Ut),t.createElementVNode("div",{class:"toggle",onClick:c},[t.renderSlot(a.$slots,"toggle",{},()=>[o.value?(t.openBlock(),t.createBlock(t.unref(Ne),{key:0,icon:"fa6-solid:bars-staggered",height:"1.5rem"})):(t.openBlock(),t.createBlock(t.unref(Ne),{key:1,icon:"fa6-solid:bars",height:"1.5rem"}))])])],512))}}),Gt="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke-width='0'%3e%3c/g%3e%3cg%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3c/g%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.7071%204.29289C16.0976%204.68342%2016.0976%205.31658%2015.7071%205.70711L9.41421%2012L15.7071%2018.2929C16.0976%2018.6834%2016.0976%2019.3166%2015.7071%2019.7071C15.3166%2020.0976%2014.6834%2020.0976%2014.2929%2019.7071L7.29289%2012.7071C7.10536%2012.5196%207%2012.2652%207%2012C7%2011.7348%207.10536%2011.4804%207.29289%2011.2929L14.2929%204.29289C14.6834%203.90237%2015.3166%203.90237%2015.7071%204.29289Z'%20fill='%23ffffff'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",xe="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke-width='0'%3e%3c/g%3e%3cg%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3c/g%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.29289%204.29289C8.68342%203.90237%209.31658%203.90237%209.70711%204.29289L16.7071%2011.2929C17.0976%2011.6834%2017.0976%2012.3166%2016.7071%2012.7071L9.70711%2019.7071C9.31658%2020.0976%208.68342%2020.0976%208.29289%2019.7071C7.90237%2019.3166%207.90237%2018.6834%208.29289%2018.2929L14.5858%2012L8.29289%205.70711C7.90237%205.31658%207.90237%204.68342%208.29289%204.29289Z'%20fill='%23ffffff'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Wt={class:"nav-menu-item"},Zt={key:1},Kt={key:2,class:"item-name"},Yt={key:3,class:"toggle-menu"},Jt={key:0,class:"sub-menu-item"},Xt={name:"NavMenuItem",components:{NavMenuItem:()=>Promise.resolve().then(()=>vt)}},Ee=t.defineComponent({...Xt,props:{item:{required:!0,type:Object},sidebarActive:{default:!0,required:!0,type:Boolean}},setup(e){const n=e,r=x.useRoute(),s=x.useRouter(),o=t.ref(!1),i=t.computed(()=>{const f=r?.matched;if(f?.length>1){const h=f[f.length-2];return a(h?.path)}return""}),l=t.computed(()=>{let f=r.name===n.item?.routeName;return f||(n.item?.routeName?f=!!i.value&&i.value===n.item?.routeName:!n.item?.routeName&&!n.item?.children?.length&&r.name===i.value&&(f=!0)),f}),c=t.computed(()=>!n.sidebarActive&&n.item.shortName),a=f=>{const h=s.getRoutes().find(p=>p.path===f);return String(h?.name)},d=()=>{n.item.routeName?s.push({name:n.item.routeName}):!n.item.routeName&&!n.item.children?.length?s.push({name:i.value}):o.value=!o.value};return n.item.children?.length&&(o.value=!!n.item.children.find(f=>r.name===f?.routeName)),(f,h)=>{const p=t.resolveComponent("NavMenuItem",!0);return t.openBlock(),t.createElementBlock("div",Wt,[t.createElementVNode("a",{class:t.normalizeClass([{active:l.value},"link"]),"aria-label":"open menu",onClick:d},[e.item.icon?(t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(["icon",e.item.icon,{"icon-only":!c.value&&!e.sidebarActive}])},null,2)):t.createCommentVNode("",!0),c.value?(t.openBlock(),t.createElementBlock("span",Zt,t.toDisplayString(e.item.shortName),1)):t.createCommentVNode("",!0),e.sidebarActive?(t.openBlock(),t.createElementBlock("span",Kt,t.toDisplayString(e.item.name),1)):t.createCommentVNode("",!0),e.item.children&&e.item.children.length?(t.openBlock(),t.createElementBlock("span",Yt,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass({"up-chevron":o.value}),viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h[0]||(h[0]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.29289 8.29289C4.68342 7.90237 5.31658 7.90237 5.70711 8.29289L12 14.5858L18.2929 8.29289C18.6834 7.90237 19.3166 7.90237 19.7071 8.29289C20.0976 8.68342 20.0976 9.31658 19.7071 9.70711L12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L4.29289 9.70711C3.90237 9.31658 3.90237 8.68342 4.29289 8.29289Z",fill:"currentColor"},null,-1)]),2))])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx(()=>[e.item.children&&e.item.children.length&&o.value?(t.openBlock(),t.createElementBlock("div",Jt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(y,S)=>(t.openBlock(),t.createBlock(p,{key:y.name+"-"+S,item:y,"sidebar-active":e.sidebarActive},null,8,["item","sidebar-active"]))),128))])):t.createCommentVNode("",!0)]),_:1})])}}}),vt=Object.freeze(Object.defineProperty({__proto__:null,default:Ee},Symbol.toStringTag,{value:"Module"})),en={class:"nav-menu"},tn={key:0,class:"menu"},nn={name:"NavMenu"},on=t.defineComponent({...nn,props:{menu:{required:!0,type:Array},sidebarActive:{default:!0,required:!0,type:Boolean}},setup(e){const n=e,r=t.computed(()=>n.menu?.map(s=>{if(s.hide)return null;const o=s.children?.filter(i=>!i.hide)||[];return s.children?.length&&!o.length?null:{...s,children:o.length?o:void 0}}).filter(Boolean));return(s,o)=>(t.openBlock(),t.createElementBlock("nav",en,[r.value?.length>0?(t.openBlock(),t.createElementBlock("div",tn,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(i,l)=>(t.openBlock(),t.createBlock(Ee,{key:i.name+"-"+l,item:i,"sidebar-active":e.sidebarActive},null,8,["item","sidebar-active"]))),128))])):t.createCommentVNode("",!0)]))}}),rn={key:0,class:"sidebar"},sn={key:0,class:"header"},ln={class:"logo"},cn={class:"title"},an={key:0,alt:"minimize sidebar",src:Gt},dn={key:1,class:"extend",alt:"extend sidebar",src:xe},fn={class:"sidebar-menu-wrapper"},un={class:"nav"},hn={key:1,class:"footer"},pn={key:0,alt:"show sidebar",src:xe},mn={name:"Sidebar"},v=t.defineComponent({...mn,props:{menu:{required:!0,type:Array},noHeader:{default:!1,type:Boolean}},setup(e,{expose:n}){const r=e,s=t.computed(()=>i.value?!1:!r.menu?.filter(c=>!!c.shortName)?.length),o=t.useSlots(),i=t.ref(!0),l=()=>{window.innerWidth>=1025?i.value=!0:r.noHeader||(i.value=!1)};return t.onUnmounted(()=>{window.removeEventListener("resize",l)}),window.addEventListener("resize",l),l(),n({sidebarActive:i}),(c,a)=>s.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:"no-sidebar",onClick:a[1]||(a[1]=d=>i.value=!0)},[i.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("img",pn))])):(t.openBlock(),t.createElementBlock("div",rn,[e.noHeader?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",sn,[t.createElementVNode("div",ln,[t.createVNode(J)]),t.createElementVNode("div",cn,[t.renderSlot(c.$slots,"title")]),t.createElementVNode("div",{class:"toggle",onClick:a[0]||(a[0]=d=>i.value=!i.value)},[t.createVNode(t.Transition,{name:"sidebar-toggle"},{default:t.withCtx(()=>[i.value?(t.openBlock(),t.createElementBlock("img",an)):(t.openBlock(),t.createElementBlock("img",dn))]),_:1})])])),t.createElementVNode("div",fn,[t.renderSlot(c.$slots,"default"),t.createElementVNode("ul",un,[t.renderSlot(c.$slots,"links",{},()=>[t.createVNode(on,{menu:e.menu,"sidebar-active":i.value},null,8,["menu","sidebar-active"])]),t.renderSlot(c.$slots,"afterNavLinks")]),t.renderSlot(c.$slots,"afterSidebarMenu")]),t.unref(o).footer?(t.openBlock(),t.createElementBlock("div",hn,[t.renderSlot(c.$slots,"footer")])):t.createCommentVNode("",!0)]))}}),gn={class:"content"},yn={name:"StickyCollapsibleFooter"},kn=t.defineComponent({...yn,props:{fixed:{default:!0,type:Boolean}},setup(e){return(n,r)=>(t.openBlock(),t.createElementBlock("footer",{class:t.normalizeClass(`sticky-collapsible ${e.fixed?"fixed":""}`)},[t.createElementVNode("div",gn,[t.renderSlot(n.$slots,"default")])],2))}}),bn=t.defineAsyncComponent({loader:()=>Promise.resolve().then(()=>Ln),timeout:3e3}),wn={name:"Layout"},Ie=t.defineComponent({...wn,props:{defaultLayout:{default:bn,type:Object}},setup(e){const n=e,r=x.useRoute(),s=t.useSlots(),o=Object.keys(s);let i=t.shallowRef(n.defaultLayout);const l=t.computed(()=>t.markRaw(i.value));return t.watch(()=>r.meta,async c=>{if(c?.layout)try{i.value=c.layout}catch{i.value=n.defaultLayout}else i.value=n.defaultLayout}),(c,a)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value),null,t.createSlots({default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:2},[t.renderList(t.unref(o),d=>({name:d,fn:t.withCtx(()=>[t.renderSlot(c.$slots,d)])}))]),1024))}}),Sn={class:"layout basic"},Cn={name:"BasicLayout"},_n=t.defineComponent({...Cn,props:{noLocaleSwitcher:Boolean},setup(e){return(n,r)=>(t.openBlock(),t.createElementBlock("div",Sn,[t.renderSlot(n.$slots,"header",{},()=>[t.createVNode(X,{"no-locale-switcher":e.noLocaleSwitcher},{logo:t.withCtx(()=>[t.renderSlot(n.$slots,"logo")]),addon:t.withCtx(()=>[t.renderSlot(n.$slots,"addon")]),menu:t.withCtx(()=>[t.renderSlot(n.$slots,"menu")]),userMenu:t.withCtx(()=>[t.renderSlot(n.$slots,"userMenu")]),locales:t.withCtx(()=>[t.renderSlot(n.$slots,"locales")]),_:3},8,["no-locale-switcher"])]),t.createElementVNode("main",null,[t.renderSlot(n.$slots,"default")]),t.renderSlot(n.$slots,"footer",{},()=>[t.createVNode(A,null,{copyright:t.withCtx(()=>[t.renderSlot(n.$slots,"copyright")]),social:t.withCtx(()=>[t.renderSlot(n.$slots,"social")]),version:t.withCtx(()=>[t.renderSlot(n.$slots,"version")]),_:3})])]))}}),$n={name:"NullLayout"},Bn=(e,n)=>{const r=e.__vccOpts||e;for(const[s,o]of n)r[s]=o;return r};function Nn(e,n,r,s,o,i){return t.renderSlot(e.$slots,"default")}const Me=Bn($n,[["render",Nn]]),Ln=Object.freeze(Object.defineProperty({__proto__:null,default:Me},Symbol.toStringTag,{value:"Module"})),Ve="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke-width='0'%3e%3c/g%3e%3cg%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3c/g%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%207C12.2652%207%2012.5196%207.10536%2012.7071%207.29289L19.7071%2014.2929C20.0976%2014.6834%2020.0976%2015.3166%2019.7071%2015.7071C19.3166%2016.0976%2018.6834%2016.0976%2018.2929%2015.7071L12%209.41421L5.70711%2015.7071C5.31658%2016.0976%204.68342%2016.0976%204.29289%2015.7071C3.90237%2015.3166%203.90237%2014.6834%204.29289%2014.2929L11.2929%207.29289C11.4804%207.10536%2011.7348%207%2012%207Z'%20fill='%23ffffff'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",xn={class:"layout sidebar-header-layout"},En=t.defineComponent({__name:"SidebarHeaderLayout",props:{menu:{required:!0,type:Array},noLocaleSwitcher:Boolean,noSidebarHeader:{default:!1,type:Boolean},userMenuLocation:{default:"sidebar",type:String,validator:e=>["header","sidebar"].includes(e)}},setup(e){const n=t.ref(),r=t.ref(),s=t.ref(!1);t.watch(()=>n.value?.expanded,i=>{i&&(r.value.sidebarActive=!0)}),t.watch(()=>r.value?.sidebarActive,i=>{i||(n.value.expanded=!1)});const o=()=>{window.innerWidth>=576?s.value=!1:s.value=!0};return t.onUnmounted(()=>{window.removeEventListener("resize",o)}),window.addEventListener("resize",o),o(),(i,l)=>(t.openBlock(),t.createElementBlock("div",xn,[t.renderSlot(i.$slots,"header",{},()=>[t.createVNode(X,{ref_key:"appHeader",ref:n,"no-locale-switcher":e.noLocaleSwitcher,"no-logo":"","no-main-menu":""},t.createSlots({locales:t.withCtx(()=>[t.renderSlot(i.$slots,"locales")]),_:2},[e.userMenuLocation==="header"?{name:"userMenu",fn:t.withCtx(()=>[t.renderSlot(i.$slots,"userMenu")]),key:"0"}:void 0]),1032,["no-locale-switcher"])]),t.createVNode(v,{ref_key:"sidebar",ref:r,menu:e.menu,"no-header":e.noSidebarHeader,class:"layout-sidebar"},{afterNavLinks:t.withCtx(()=>[t.renderSlot(i.$slots,"afterNavLinks")]),afterSidebarMenu:t.withCtx(()=>[t.renderSlot(i.$slots,"afterSidebarMenu"),e.userMenuLocation==="sidebar"?t.renderSlot(i.$slots,"userMenu",{key:0}):t.createCommentVNode("",!0),s.value?t.renderSlot(i.$slots,"locales",{key:1},()=>[e.noLocaleSwitcher?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(_.LocaleSwitcher),{key:0,class:"locales"},{icon:t.withCtx(()=>l[0]||(l[0]=[t.createElementVNode("img",{src:Ve,alt:"toggle icon"},null,-1)])),_:1}))]):t.createCommentVNode("",!0)]),footer:t.withCtx(()=>[t.renderSlot(i.$slots,"footer",{},()=>[t.createVNode(A)])]),_:3},8,["menu","no-header"]),t.createElementVNode("main",null,[t.renderSlot(i.$slots,"default")])]))}}),In={class:"layout sidebar-only"},Mn=t.defineComponent({__name:"SidebarOnlyLayout",props:{menu:{required:!0,type:Array},noLocaleSwitcher:Boolean,noHeader:{default:!1,type:Boolean}},setup(e){return(n,r)=>(t.openBlock(),t.createElementBlock("div",In,[t.createVNode(v,{menu:e.menu,"no-header":e.noHeader,class:"layout-sidebar"},{afterNavLinks:t.withCtx(()=>[t.renderSlot(n.$slots,"afterNavLinks")]),afterSidebarMenu:t.withCtx(()=>[t.renderSlot(n.$slots,"afterSidebarMenu"),t.renderSlot(n.$slots,"userMenu"),t.renderSlot(n.$slots,"locales",{},()=>[e.noLocaleSwitcher?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(_.LocaleSwitcher),{key:0,class:"locales"},{icon:t.withCtx(()=>r[0]||(r[0]=[t.createElementVNode("img",{src:Ve,alt:"toggle icon"},null,-1)])),_:1}))])]),footer:t.withCtx(()=>[t.createVNode(A)]),_:3},8,["menu","no-header"]),t.createElementVNode("main",null,[t.renderSlot(n.$slots,"default")])]))}}),ee={en:{copyright:{disclaimer:"All rights reserved."}},fr:{copyright:{disclaimer:"Tous droits réservés."}}},Ae=Symbol.for("dzangolab.vue-layout.translations"),Te=()=>t.inject(Ae,ee),Vn={install:(e,n)=>{e.component("Layout",Ie);const r=n?.translations?_.prependMessages(ee,n.translations):ee;e.provide(Ae,r)}};m.AppFooter=A,m.AppHeader=X,m.BasicLayout=_n,m.Copyright=ne,m.Layout=Ie,m.Logo=J,m.MainMenu=Le,m.NullLayout=Me,m.Sidebar=v,m.SidebarHeaderLayout=En,m.SidebarOnlyLayout=Mn,m.StickyCollapsibleFooter=kn,m.default=Vn,m.useTranslations=Te,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(m,B){typeof exports=="object"&&typeof module<"u"?B(exports,require("@prefabs.tech/vue3-i18n"),require("vue"),require("@prefabs.tech/vue3-config"),require("@vueuse/core"),require("@prefabs.tech/vue3-ui"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","@prefabs.tech/vue3-i18n","vue","@prefabs.tech/vue3-config","@vueuse/core","@prefabs.tech/vue3-ui","vue-router"],B):(m=typeof globalThis<"u"?globalThis:m||self,B((m["@prefabs"]=m["@prefabs"]||{},m["@prefabs"]["tech/vue3-layout"]={}),m.PrefabsTechVue3I18n,m.Vue,m.PrefabsTechVue3Config,m.VueuseCore,m.PrefabsTechVue3UI,m.VueRouter))})(this,function(m,B,t,_,Ae,je,E){"use strict";const Pe={class:"copyright"},Fe=["href"],Oe={name:"Copyright"},ne=t.defineComponent({...Oe,props:{holder:{required:!0,type:String},showDisclaimer:Boolean,url:{required:!0,type:String}},setup(e){const n=e,o=Te(),{t:s}=B.useI18n({messages:o}),r=t.computed(()=>n.showDisclaimer?s("copyright.disclaimer"):null),i=new Date().getFullYear();return(l,c)=>(t.openBlock(),t.createElementBlock("div",Pe,[t.createTextVNode(" © "+t.toDisplayString(t.unref(i))+" ",1),t.createElementVNode("a",{href:e.url,target:"_blank"},t.toDisplayString(e.holder),9,Fe),t.createTextVNode("  "+t.toDisplayString(r.value),1)]))}}),Re={class:"version"},ze={name:"AppFooter"},A=t.defineComponent({...ze,setup(e){const n=_.useConfig();return(o,s)=>(t.openBlock(),t.createElementBlock("footer",null,[t.renderSlot(o.$slots,"copyright",{},()=>[t.unref(n)?.copyright?(t.openBlock(),t.createBlock(ne,{key:0,holder:t.unref(n).copyright.holder,url:t.unref(n).copyright.url},null,8,["holder","url"])):t.createCommentVNode("",!0)]),t.renderSlot(o.$slots,"social"),t.renderSlot(o.$slots,"version",{},()=>[t.createElementVNode("div",Re,t.toDisplayString(t.unref(n).appVersion),1)])]))}}),oe=/^[a-z0-9]+(-[a-z0-9]+)*$/,j=(e,n,o,s="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;s=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const c=r.pop(),a=r.pop(),f={provider:r.length>0?r[0]:s,prefix:a,name:c};return n&&!P(f)?null:f}const i=r[0],l=i.split("-");if(l.length>1){const c={provider:s,prefix:l.shift(),name:l.join("-")};return n&&!P(c)?null:c}if(o&&s===""){const c={provider:s,prefix:"",name:i};return n&&!P(c,o)?null:c}return null},P=(e,n)=>e?!!((n&&e.prefix===""||e.prefix)&&e.name):!1,re=Object.freeze({left:0,top:0,width:16,height:16}),F=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),O=Object.freeze({...re,...F}),q=Object.freeze({...O,body:"",hidden:!1});function De(e,n){const o={};!e.hFlip!=!n.hFlip&&(o.hFlip=!0),!e.vFlip!=!n.vFlip&&(o.vFlip=!0);const s=((e.rotate||0)+(n.rotate||0))%4;return s&&(o.rotate=s),o}function se(e,n){const o=De(e,n);for(const s in q)s in F?s in e&&!(s in o)&&(o[s]=F[s]):s in n?o[s]=n[s]:s in e&&(o[s]=e[s]);return o}function qe(e,n){const o=e.icons,s=e.aliases||Object.create(null),r=Object.create(null);function i(l){if(o[l])return r[l]=[];if(!(l in r)){r[l]=null;const c=s[l]&&s[l].parent,a=c&&i(c);a&&(r[l]=[c].concat(a))}return r[l]}return Object.keys(o).concat(Object.keys(s)).forEach(i),r}function He(e,n,o){const s=e.icons,r=e.aliases||Object.create(null);let i={};function l(c){i=se(s[c]||r[c],i)}return l(n),o.forEach(l),se(e,i)}function ie(e,n){const o=[];if(typeof e!="object"||typeof e.icons!="object")return o;e.not_found instanceof Array&&e.not_found.forEach(r=>{n(r,null),o.push(r)});const s=qe(e);for(const r in s){const i=s[r];i&&(n(r,He(e,r,i)),o.push(r))}return o}const Ue={provider:"",aliases:{},not_found:{},...re};function H(e,n){for(const o in n)if(o in e&&typeof e[o]!=typeof n[o])return!1;return!0}function le(e){if(typeof e!="object"||e===null)return null;const n=e;if(typeof n.prefix!="string"||!e.icons||typeof e.icons!="object"||!H(e,Ue))return null;const o=n.icons;for(const r in o){const i=o[r];if(!r||typeof i.body!="string"||!H(i,q))return null}const s=n.aliases||Object.create(null);for(const r in s){const i=s[r],l=i.parent;if(!r||typeof l!="string"||!o[l]&&!s[l]||!H(i,q))return null}return n}const ce=Object.create(null);function Qe(e,n){return{provider:e,prefix:n,icons:Object.create(null),missing:new Set}}function N(e,n){const o=ce[e]||(ce[e]=Object.create(null));return o[n]||(o[n]=Qe(e,n))}function ae(e,n){return le(n)?ie(n,(o,s)=>{s?e.icons[o]=s:e.missing.add(o)}):[]}function We(e,n,o){try{if(typeof o.body=="string")return e.icons[n]={...o},!0}catch{}return!1}let I=!1;function de(e){return typeof e=="boolean"&&(I=e),I}function Ge(e){const n=typeof e=="string"?j(e,!0,I):e;if(n){const o=N(n.provider,n.prefix),s=n.name;return o.icons[s]||(o.missing.has(s)?null:void 0)}}function Ze(e,n){const o=j(e,!0,I);if(!o)return!1;const s=N(o.provider,o.prefix);return n?We(s,o.name,n):(s.missing.add(o.name),!0)}function Ke(e,n){if(typeof e!="object")return!1;if(typeof n!="string"&&(n=e.provider||""),I&&!n&&!e.prefix){let r=!1;return le(e)&&(e.prefix="",ie(e,(i,l)=>{Ze(i,l)&&(r=!0)})),r}const o=e.prefix;if(!P({prefix:o,name:"a"}))return!1;const s=N(n,o);return!!ae(s,e)}const fe=Object.freeze({width:null,height:null}),ue=Object.freeze({...fe,...F}),Ye=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Je=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function he(e,n,o){if(n===1)return e;if(o=o||100,typeof e=="number")return Math.ceil(e*n*o)/o;if(typeof e!="string")return e;const s=e.split(Ye);if(s===null||!s.length)return e;const r=[];let i=s.shift(),l=Je.test(i);for(;;){if(l){const c=parseFloat(i);isNaN(c)?r.push(i):r.push(Math.ceil(c*n*o)/o)}else r.push(i);if(i=s.shift(),i===void 0)return r.join("");l=!l}}function Xe(e,n="defs"){let o="";const s=e.indexOf("<"+n);for(;s>=0;){const r=e.indexOf(">",s),i=e.indexOf("</"+n);if(r===-1||i===-1)break;const l=e.indexOf(">",i);if(l===-1)break;o+=e.slice(r+1,i).trim(),e=e.slice(0,s).trim()+e.slice(l+1)}return{defs:o,content:e}}function ve(e,n){return e?"<defs>"+e+"</defs>"+n:n}function et(e,n,o){const s=Xe(e);return ve(s.defs,n+s.content+o)}const tt=e=>e==="unset"||e==="undefined"||e==="none";function nt(e,n){const o={...O,...e},s={...ue,...n},r={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,s].forEach(k=>{const h=[],x=k.hFlip,$=k.vFlip;let C=k.rotate;x?$?C+=2:(h.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),h.push("scale(-1 1)"),r.top=r.left=0):$&&(h.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),h.push("scale(1 -1)"),r.top=r.left=0);let b;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:b=r.height/2+r.top,h.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:h.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:b=r.width/2+r.left,h.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}C%2===1&&(r.left!==r.top&&(b=r.left,r.left=r.top,r.top=b),r.width!==r.height&&(b=r.width,r.width=r.height,r.height=b)),h.length&&(i=et(i,'<g transform="'+h.join(" ")+'">',"</g>"))});const l=s.width,c=s.height,a=r.width,f=r.height;let d,u;l===null?(u=c===null?"1em":c==="auto"?f:c,d=he(u,a/f)):(d=l==="auto"?a:l,u=c===null?he(d,f/a):c==="auto"?f:c);const p={},y=(k,h)=>{tt(h)||(p[k]=h.toString())};y("width",d),y("height",u);const S=[r.left,r.top,a,f];return p.viewBox=S.join(" "),{attributes:p,viewBox:S,body:i}}const ot=/\sid="(\S+)"/g,rt="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let st=0;function it(e,n=rt){const o=[];let s;for(;s=ot.exec(e);)o.push(s[1]);if(!o.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return o.forEach(i=>{const l=typeof n=="function"?n(i):n+(st++).toString(),c=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+l+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const U=Object.create(null);function lt(e,n){U[e]=n}function Q(e){return U[e]||U[""]}function W(e){let n;if(typeof e.resources=="string")n=[e.resources];else if(n=e.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const G=Object.create(null),M=["https://api.simplesvg.com","https://api.unisvg.com"],R=[];for(;M.length>0;)M.length===1||Math.random()>.5?R.push(M.shift()):R.push(M.pop());G[""]=W({resources:["https://api.iconify.design"].concat(R)});function ct(e,n){const o=W(n);return o===null?!1:(G[e]=o,!0)}function Z(e){return G[e]}let pe=(()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}})();function at(e,n){const o=Z(e);if(!o)return 0;let s;if(!o.maxURL)s=0;else{let r=0;o.resources.forEach(l=>{r=Math.max(r,l.length)});const i=n+".json?icons=";s=o.maxURL-r-o.path.length-i.length}return s}function dt(e){return e===404}const ft=(e,n,o)=>{const s=[],r=at(e,n),i="icons";let l={type:i,provider:e,prefix:n,icons:[]},c=0;return o.forEach((a,f)=>{c+=a.length+1,c>=r&&f>0&&(s.push(l),l={type:i,provider:e,prefix:n,icons:[]},c=a.length),l.icons.push(a)}),s.push(l),s};function ut(e){if(typeof e=="string"){const n=Z(e);if(n)return n.path}return"/"}const ht={prepare:ft,send:(e,n,o)=>{if(!pe){o("abort",424);return}let s=ut(n.provider);switch(n.type){case"icons":{const i=n.prefix,c=n.icons.join(","),a=new URLSearchParams({icons:c});s+=i+".json?"+a.toString();break}case"custom":{const i=n.uri;s+=i.slice(0,1)==="/"?i.slice(1):i;break}default:o("abort",400);return}let r=503;pe(e+s).then(i=>{const l=i.status;if(l!==200){setTimeout(()=>{o(dt(l)?"abort":"next",l)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?o("abort",i):o("next",r)});return}setTimeout(()=>{o("success",i)})}).catch(()=>{o("next",r)})}};function pt(e){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let s={provider:"",prefix:"",name:""};return e.forEach(r=>{if(s.name===r.name&&s.prefix===r.prefix&&s.provider===r.provider)return;s=r;const i=r.provider,l=r.prefix,c=r.name,a=o[i]||(o[i]=Object.create(null)),f=a[l]||(a[l]=N(i,l));let d;c in f.icons?d=n.loaded:l===""||f.missing.has(c)?d=n.missing:d=n.pending;const u={provider:i,prefix:l,name:c};d.push(u)}),n}function me(e,n){e.forEach(o=>{const s=o.loaderCallbacks;s&&(o.loaderCallbacks=s.filter(r=>r.id!==n))})}function mt(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const n=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const s=e.provider,r=e.prefix;n.forEach(i=>{const l=i.icons,c=l.pending.length;l.pending=l.pending.filter(a=>{if(a.prefix!==r)return!0;const f=a.name;if(e.icons[f])l.loaded.push({provider:s,prefix:r,name:f});else if(e.missing.has(f))l.missing.push({provider:s,prefix:r,name:f});else return o=!0,!0;return!1}),l.pending.length!==c&&(o||me([e],i.id),i.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),i.abort))})}))}let gt=0;function yt(e,n,o){const s=gt++,r=me.bind(null,o,s);if(!n.pending.length)return r;const i={id:s,icons:n,callback:e,abort:r};return o.forEach(l=>{(l.loaderCallbacks||(l.loaderCallbacks=[])).push(i)}),r}function kt(e,n=!0,o=!1){const s=[];return e.forEach(r=>{const i=typeof r=="string"?j(r,n,o):r;i&&s.push(i)}),s}var bt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function wt(e,n,o,s){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let l;if(e.random){let g=e.resources.slice(0);for(l=[];g.length>1;){const w=Math.floor(Math.random()*g.length);l.push(g[w]),g=g.slice(0,w).concat(g.slice(w+1))}l=l.concat(g)}else l=e.resources.slice(i).concat(e.resources.slice(0,i));const c=Date.now();let a="pending",f=0,d,u=null,p=[],y=[];typeof s=="function"&&y.push(s);function S(){u&&(clearTimeout(u),u=null)}function k(){a==="pending"&&(a="aborted"),S(),p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function h(g,w){w&&(y=[]),typeof g=="function"&&y.push(g)}function x(){return{startTime:c,payload:n,status:a,queriesSent:f,queriesPending:p.length,subscribe:h,abort:k}}function $(){a="failed",y.forEach(g=>{g(void 0,d)})}function C(){p.forEach(g=>{g.status==="pending"&&(g.status="aborted")}),p=[]}function b(g,w,T){const D=w!=="success";switch(p=p.filter(L=>L!==g),a){case"pending":break;case"failed":if(D||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){d=T,$();return}if(D){d=T,p.length||(l.length?te():$());return}if(S(),C(),!e.random){const L=e.resources.indexOf(g.resource);L!==-1&&L!==e.index&&(e.index=L)}a="completed",y.forEach(L=>{L(T)})}function te(){if(a!=="pending")return;S();const g=l.shift();if(g===void 0){if(p.length){u=setTimeout(()=>{S(),a==="pending"&&(C(),$())},e.timeout);return}$();return}const w={status:"pending",resource:g,callback:(T,D)=>{b(w,T,D)}};p.push(w),f++,u=setTimeout(te,e.rotate),o(g,n,w.callback)}return setTimeout(te),x}function ge(e){const n={...bt,...e};let o=[];function s(){o=o.filter(c=>c().status==="pending")}function r(c,a,f){const d=wt(n,c,a,(u,p)=>{s(),f&&f(u,p)});return o.push(d),d}function i(c){return o.find(a=>c(a))||null}return{query:r,find:i,setIndex:c=>{n.index=c},getIndex:()=>n.index,cleanup:s}}function ye(){}const K=Object.create(null);function St(e){if(!K[e]){const n=Z(e);if(!n)return;const o=ge(n),s={config:n,redundancy:o};K[e]=s}return K[e]}function Ct(e,n,o){let s,r;if(typeof e=="string"){const i=Q(e);if(!i)return o(void 0,424),ye;r=i.send;const l=St(e);l&&(s=l.redundancy)}else{const i=W(e);if(i){s=ge(i);const l=e.resources?e.resources[0]:"",c=Q(l);c&&(r=c.send)}}return!s||!r?(o(void 0,424),ye):s.query(n,r,o)().abort}function ke(){}function Bt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,mt(e)}))}function $t(e){const n=[],o=[];return e.forEach(s=>{(s.match(oe)?n:o).push(s)}),{valid:n,invalid:o}}function V(e,n,o){function s(){const r=e.pendingIcons;n.forEach(i=>{r&&r.delete(i),e.icons[i]||e.missing.add(i)})}if(o&&typeof o=="object")try{if(!ae(e,o).length){s();return}}catch(r){console.error(r)}s(),Bt(e)}function be(e,n){e instanceof Promise?e.then(o=>{n(o)}).catch(()=>{n(null)}):n(e)}function Lt(e,n){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(n).sort():e.iconsToLoad=n,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:o,prefix:s}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;const i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){be(e.loadIcons(r,s,o),d=>{V(e,r,d)});return}if(i){r.forEach(d=>{const u=i(d,s,o);be(u,p=>{const y=p?{prefix:s,icons:{[d]:p}}:null;V(e,[d],y)})});return}const{valid:l,invalid:c}=$t(r);if(c.length&&V(e,c,null),!l.length)return;const a=s.match(oe)?Q(o):null;if(!a){V(e,l,null);return}a.prepare(o,s,l).forEach(d=>{Ct(o,d,u=>{V(e,d.icons,u)})})}))}const Nt=(e,n)=>{const o=kt(e,!0,de()),s=pt(o);if(!s.pending.length){let a=!0;return n&&setTimeout(()=>{a&&n(s.loaded,s.missing,s.pending,ke)}),()=>{a=!1}}const r=Object.create(null),i=[];let l,c;return s.pending.forEach(a=>{const{provider:f,prefix:d}=a;if(d===c&&f===l)return;l=f,c=d,i.push(N(f,d));const u=r[f]||(r[f]=Object.create(null));u[d]||(u[d]=[])}),s.pending.forEach(a=>{const{provider:f,prefix:d,name:u}=a,p=N(f,d),y=p.pendingIcons||(p.pendingIcons=new Set);y.has(u)||(y.add(u),r[f][d].push(u))}),i.forEach(a=>{const f=r[a.provider][a.prefix];f.length&&Lt(a,f)}),n?yt(n,s,i):ke};function xt(e,n){const o={...e};for(const s in n){const r=n[s],i=typeof r;s in fe?(r===null||r&&(i==="string"||i==="number"))&&(o[s]=r):i===typeof o[s]&&(o[s]=s==="rotate"?r%4:r)}return o}const _t=/[\s,]+/;function Et(e,n){n.split(_t).forEach(o=>{switch(o.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function It(e,n=0){const o=e.replace(/^-?[0-9.]*/,"");function s(r){for(;r<0;)r+=4;return r%4}if(o===""){const r=parseInt(e);return isNaN(r)?0:s(r)}else if(o!==e){let r=0;switch(o){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-o.length));return isNaN(i)?0:(i=i/r,i%1===0?s(i):0)}}return n}function Mt(e,n){let o=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in n)o+=" "+s+'="'+n[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}function Vt(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Tt(e){return"data:image/svg+xml,"+Vt(e)}function At(e){return'url("'+Tt(e)+'")'}const we={...ue,inline:!1},jt={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Pt={display:"inline-block"},Y={backgroundColor:"currentColor"},Se={backgroundColor:"transparent"},Ce={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Be={webkitMask:Y,mask:Y,background:Se};for(const e in Be){const n=Be[e];for(const o in Ce)n[e+o]=Ce[o]}const z={};["horizontal","vertical"].forEach(e=>{const n=e.slice(0,1)+"Flip";z[e+"-flip"]=n,z[e.slice(0,1)+"-flip"]=n,z[e+"Flip"]=n});function $e(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Le=(e,n)=>{const o=xt(we,n),s={...jt},r=n.mode||"svg",i={},l=n.style,c=typeof l=="object"&&!(l instanceof Array)?l:{};for(let k in n){const h=n[k];if(h!==void 0)switch(k){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":o[k]=h===!0||h==="true"||h===1;break;case"flip":typeof h=="string"&&Et(o,h);break;case"color":i.color=h;break;case"rotate":typeof h=="string"?o[k]=It(h):typeof h=="number"&&(o[k]=h);break;case"ariaHidden":case"aria-hidden":h!==!0&&h!=="true"&&delete s["aria-hidden"];break;default:{const x=z[k];x?(h===!0||h==="true"||h===1)&&(o[x]=!0):we[k]===void 0&&(s[k]=h)}}}const a=nt(e,o),f=a.attributes;if(o.inline&&(i.verticalAlign="-0.125em"),r==="svg"){s.style={...i,...c},Object.assign(s,f);let k=0,h=n.id;return typeof h=="string"&&(h=h.replace(/-/g,"_")),s.innerHTML=it(a.body,h?()=>h+"ID"+k++:"iconifyVue"),t.h("svg",s)}const{body:d,width:u,height:p}=e,y=r==="mask"||(r==="bg"?!1:d.indexOf("currentColor")!==-1),S=Mt(d,{...f,width:u+"",height:p+""});return s.style={...i,"--svg":At(S),width:$e(f.width),height:$e(f.height),...Pt,...y?Y:Se,...c},t.h("span",s)};if(de(!0),lt("",ht),typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const n=e.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!Ke(s))&&console.error(o)}catch{console.error(o)}})}if(e.IconifyProviders!==void 0){const n=e.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const s="IconifyProviders["+o+"] is invalid.";try{const r=n[o];if(typeof r!="object"||!r||r.resources===void 0)continue;ct(o,r)||console.error(s)}catch{console.error(s)}}}}const Ft={...O,body:""},Ne=t.defineComponent({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,n,o){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let s;if(typeof e!="string"||(s=j(e,!1,!0))===null)return this.abortLoading(),null;let r=Ge(s);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:Nt([s],()=>{this.counter++})})),null;if(this.abortLoading(),this._name!==e&&(this._name=e,n&&n(e)),o){r=Object.assign({},r);const l=o(r.body,s.name,s.prefix,s.provider);typeof l=="string"&&(r.body=l)}const i=["iconify"];return s.prefix!==""&&i.push("iconify--"+s.prefix),s.provider!==""&&i.push("iconify--"+s.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,n=this.iconMounted||e.ssr?this.getIcon(e.icon,e.onLoad,e.customise):null;if(!n)return Le(Ft,e);let o=e;return n.classes&&(o={...e,class:(typeof e.class=="string"?e.class+" ":"")+n.classes.join(" ")}),Le({...O,...n.data},o)}}),Ot={class:"logo"},Rt=["alt","src"],zt={key:1,class:"logo-default"},Dt={name:"Logo"},J=t.defineComponent({...Dt,props:{alt:{default:void 0,type:String},route:{default:void 0,type:String},src:{default:void 0,type:String}},setup(e){const n=e,{appName:o,appTitle:s,layout:r}=_.useConfig(),i=t.computed(()=>{if(o)return o.replace("@","").replace("/"," ")}),l=n.alt||r?.logoAlt||i.value||s||"My App",c=n.src||r?.logo,a=n.route||r?.logoRoute||"home";return(f,d)=>{const u=t.resolveComponent("router-link");return t.openBlock(),t.createElementBlock("div",Ot,[t.renderSlot(f.$slots,"default",{},()=>[t.createVNode(u,{to:{name:t.unref(a)}},{default:t.withCtx(()=>[t.unref(c)?(t.openBlock(),t.createElementBlock("img",{key:0,alt:t.unref(l),src:t.unref(c)},null,8,Rt)):(t.openBlock(),t.createElementBlock("span",zt,[t.createElementVNode("span",null,t.toDisplayString(t.unref(l)[0]),1),t.createElementVNode("span",null,t.toDisplayString(t.unref(l)),1)]))]),_:1},8,["to"])])])}}}),qt={name:"MainMenu"},xe=t.defineComponent({...qt,props:{routes:{required:!0,type:Array}},emits:["close"],setup(e){const n=e,o=E.useRoute(),s=E.useRouter(),r=t.computed(()=>{let c=n.routes?.find(a=>a.route===o?.name)?.route;return c||(c=i.value),c}),i=t.computed(()=>{const c=o?.matched;if(c?.length>1){const a=c[c.length-2];return l(a?.path)}return""}),l=c=>{const a=s.getRoutes().find(f=>f.path===c);return String(a?.name)};return(c,a)=>(t.openBlock(),t.createBlock(t.unref(je.ResponsiveMenu),{ref:"mainMenu","active-route":r.value??"home",routes:e.routes,onChangeRoute:a[0]||(a[0]=f=>c.$emit("close"))},null,8,["active-route","routes"]))}}),Ht={name:"AppHeader"},X=t.defineComponent({...Ht,props:{noLocaleSwitcher:Boolean,noLogo:Boolean,noMainMenu:Boolean,noToggle:Boolean},setup(e,{expose:n}){const{layout:o}=_.useConfig(),{width:s}=Ae.useWindowSize(),r=t.ref(null),i=t.ref(!0),l=o&&o?.homeRoute?o.homeRoute:void 0,c=o?.localeSwitcher?.showBadges,a=t.computed(()=>s.value>576),f=()=>{i.value=!1},d=()=>{window.innerWidth>=576?i.value=!0:i.value=!1},u=()=>{i.value=!i.value};return t.onUnmounted(()=>{window.removeEventListener("resize",d)}),window.addEventListener("resize",d),d(),n({expanded:i}),(p,y)=>(t.openBlock(),t.createElementBlock("header",{ref_key:"dzangolabVueAppHeader",ref:r},[!e.noToggle||!a.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"toggle",onClick:u},[t.renderSlot(p.$slots,"toggle",{},()=>[i.value&&!a.value?(t.openBlock(),t.createBlock(t.unref(Ne),{key:0,icon:"prime:times",height:"2rem"})):(t.openBlock(),t.createBlock(t.unref(Ne),{key:1,icon:"prime:bars",height:"2rem"}))])])):t.createCommentVNode("",!0),t.renderSlot(p.$slots,"logo",{class:"logo"},()=>[e.noLogo?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(J,{key:0,route:t.unref(l)},null,8,["route"]))]),t.createElementVNode("nav",null,[t.renderSlot(p.$slots,"menu",{},()=>[t.unref(o)?.mainMenu&&!e.noMainMenu?(t.openBlock(),t.createBlock(xe,{key:0,class:"main-menu",routes:t.unref(o)?.mainMenu,onClose:f},null,8,["routes"])):t.createCommentVNode("",!0)]),t.renderSlot(p.$slots,"userMenu"),t.renderSlot(p.$slots,"addon"),t.renderSlot(p.$slots,"locales",{},()=>[e.noLocaleSwitcher?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(B.LocaleSwitcher),{key:0,"show-badges":t.unref(c),class:"locales"},null,8,["show-badges"]))])])],512))}}),Ut="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke-width='0'%3e%3c/g%3e%3cg%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3c/g%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.7071%204.29289C16.0976%204.68342%2016.0976%205.31658%2015.7071%205.70711L9.41421%2012L15.7071%2018.2929C16.0976%2018.6834%2016.0976%2019.3166%2015.7071%2019.7071C15.3166%2020.0976%2014.6834%2020.0976%2014.2929%2019.7071L7.29289%2012.7071C7.10536%2012.5196%207%2012.2652%207%2012C7%2011.7348%207.10536%2011.4804%207.29289%2011.2929L14.2929%204.29289C14.6834%203.90237%2015.3166%203.90237%2015.7071%204.29289Z'%20fill='%23ffffff'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",_e="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke-width='0'%3e%3c/g%3e%3cg%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3c/g%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.29289%204.29289C8.68342%203.90237%209.31658%203.90237%209.70711%204.29289L16.7071%2011.2929C17.0976%2011.6834%2017.0976%2012.3166%2016.7071%2012.7071L9.70711%2019.7071C9.31658%2020.0976%208.68342%2020.0976%208.29289%2019.7071C7.90237%2019.3166%207.90237%2018.6834%208.29289%2018.2929L14.5858%2012L8.29289%205.70711C7.90237%205.31658%207.90237%204.68342%208.29289%204.29289Z'%20fill='%23ffffff'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",Qt={class:"nav-menu-item"},Wt={key:1,class:"item-name"},Gt={key:2,class:"item-name"},Zt={key:3,class:"toggle-menu"},Kt={key:0,class:"sub-menu-item"},Yt={name:"NavMenuItem",components:{NavMenuItem:()=>Promise.resolve().then(()=>Jt)}},Ee=t.defineComponent({...Yt,props:{item:{required:!0,type:Object},sidebarActive:{default:!0,required:!0,type:Boolean}},setup(e){const n=e,o=E.useRoute(),s=E.useRouter(),r=t.ref(!1),i=t.computed(()=>{const d=o?.matched;if(d?.length>1){const u=d[d.length-2];return a(u?.path)}return""}),l=t.computed(()=>{let d=o.name===n.item?.routeName;return d||(n.item?.routeName?d=!!i.value&&i.value===n.item?.routeName:!n.item?.routeName&&!n.item?.children?.length&&o.name===i.value&&(d=!0)),d}),c=t.computed(()=>!n.sidebarActive&&n.item.shortName),a=d=>{const u=s.getRoutes().find(p=>p.path===d);return String(u?.name)},f=()=>{n.item.routeName?s.push({name:n.item.routeName}):!n.item.routeName&&!n.item.children?.length?s.push({name:i.value}):r.value=!r.value};return n.item.children?.length&&(r.value=!!n.item.children.find(d=>o.name===d?.routeName)),(d,u)=>{const p=t.resolveComponent("NavMenuItem",!0);return t.openBlock(),t.createElementBlock("div",Qt,[t.createElementVNode("a",{class:t.normalizeClass([{active:l.value},"link"]),"aria-label":"open menu",onClick:f},[e.item.icon?(t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(["icon",e.item.icon,{"icon-only":!c.value&&!e.sidebarActive}])},null,2)):t.createCommentVNode("",!0),c.value?(t.openBlock(),t.createElementBlock("span",Wt,t.toDisplayString(e.item.shortName),1)):t.createCommentVNode("",!0),e.sidebarActive?(t.openBlock(),t.createElementBlock("span",Gt,t.toDisplayString(e.item.name),1)):t.createCommentVNode("",!0),e.item.children&&e.item.children.length?(t.openBlock(),t.createElementBlock("span",Zt,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass({"up-chevron":r.value}),viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u[0]||(u[0]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.29289 8.29289C4.68342 7.90237 5.31658 7.90237 5.70711 8.29289L12 14.5858L18.2929 8.29289C18.6834 7.90237 19.3166 7.90237 19.7071 8.29289C20.0976 8.68342 20.0976 9.31658 19.7071 9.70711L12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L4.29289 9.70711C3.90237 9.31658 3.90237 8.68342 4.29289 8.29289Z",fill:"currentColor"},null,-1)]),2))])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx(()=>[e.item.children&&e.item.children.length&&r.value?(t.openBlock(),t.createElementBlock("div",Kt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(y,S)=>(t.openBlock(),t.createBlock(p,{key:y.name+"-"+S,item:y,"sidebar-active":e.sidebarActive},null,8,["item","sidebar-active"]))),128))])):t.createCommentVNode("",!0)]),_:1})])}}}),Jt=Object.freeze(Object.defineProperty({__proto__:null,default:Ee},Symbol.toStringTag,{value:"Module"})),Xt={class:"nav-menu"},vt={key:0,class:"menu"},en={name:"NavMenu"},tn=t.defineComponent({...en,props:{menu:{required:!0,type:Array},sidebarActive:{default:!0,required:!0,type:Boolean}},setup(e){const n=e,o=t.computed(()=>n.menu?.map(s=>{if(s.hide)return null;const r=s.children?.filter(i=>!i.hide)||[];return s.children?.length&&!r.length?null:{...s,children:r.length?r:void 0}}).filter(Boolean));return(s,r)=>(t.openBlock(),t.createElementBlock("nav",Xt,[o.value?.length>0?(t.openBlock(),t.createElementBlock("div",vt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.value,(i,l)=>(t.openBlock(),t.createBlock(Ee,{key:i.name+"-"+l,item:i,"sidebar-active":e.sidebarActive},null,8,["item","sidebar-active"]))),128))])):t.createCommentVNode("",!0)]))}}),nn={key:0,class:"header"},on={class:"logo"},rn={class:"title"},sn={key:0,alt:"minimize sidebar",src:Ut},ln={key:1,class:"extend",alt:"extend sidebar",src:_e},cn={class:"sidebar-menu-wrapper"},an={class:"nav"},dn={key:1,class:"footer"},fn={key:0,alt:"show sidebar",src:_e},un={name:"Sidebar"},v=t.defineComponent({...un,props:{collapsible:{default:!0,type:Boolean},menu:{required:!0,type:Array},noHeader:{default:!1,type:Boolean}},setup(e,{expose:n}){const o=e,s=t.computed(()=>i.value?!1:!o.menu?.filter(l=>!!l.shortName)?.length),r=t.useSlots(),i=t.ref(!0);return n({sidebarActive:i}),(l,c)=>!s.value||!e.collapsible?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["sidebar",{collapsible:e.collapsible}])},[e.noHeader?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",nn,[t.createElementVNode("div",on,[t.createVNode(J)]),t.createElementVNode("div",rn,[t.renderSlot(l.$slots,"title")]),t.renderSlot(l.$slots,"toggleIcons",{},()=>[t.createElementVNode("div",{class:"toggle",onClick:c[0]||(c[0]=a=>i.value=!i.value&&e.collapsible)},[t.createVNode(t.Transition,{name:"sidebar-toggle"},{default:t.withCtx(()=>[i.value?(t.openBlock(),t.createElementBlock("img",sn)):(t.openBlock(),t.createElementBlock("img",ln))]),_:1})])])])),t.createElementVNode("div",cn,[t.renderSlot(l.$slots,"default"),t.createElementVNode("ul",an,[t.renderSlot(l.$slots,"links",{},()=>[t.createVNode(tn,{menu:e.menu,"sidebar-active":i.value},null,8,["menu","sidebar-active"])]),t.renderSlot(l.$slots,"afterNavLinks")]),t.renderSlot(l.$slots,"afterSidebarMenu")]),t.unref(r).footer?(t.openBlock(),t.createElementBlock("div",dn,[t.renderSlot(l.$slots,"footer")])):t.createCommentVNode("",!0)],2)):(t.openBlock(),t.createElementBlock("div",{key:1,class:"no-sidebar",onClick:c[1]||(c[1]=a=>i.value=!0)},[i.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("img",fn))]))}}),hn={class:"content"},pn={name:"StickyCollapsibleFooter"},mn=t.defineComponent({...pn,props:{fixed:{default:!0,type:Boolean}},setup(e){return(n,o)=>(t.openBlock(),t.createElementBlock("footer",{class:t.normalizeClass(`sticky-collapsible ${e.fixed?"fixed":""}`)},[t.createElementVNode("div",hn,[t.renderSlot(n.$slots,"default")])],2))}}),gn=t.defineAsyncComponent({loader:()=>Promise.resolve().then(()=>$n),timeout:3e3}),yn={name:"Layout"},Ie=t.defineComponent({...yn,props:{defaultLayout:{default:gn,type:Object}},setup(e){const n=e,o=E.useRoute(),s=t.useSlots(),r=Object.keys(s);let i=t.shallowRef(n.defaultLayout);const l=t.computed(()=>t.markRaw(i.value));return t.watch(()=>o.meta,async c=>{if(c?.layout)try{i.value=c.layout}catch{i.value=n.defaultLayout}else i.value=n.defaultLayout}),(c,a)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(l.value),null,t.createSlots({default:t.withCtx(()=>[t.renderSlot(c.$slots,"default")]),_:2},[t.renderList(t.unref(r),f=>({name:f,fn:t.withCtx(()=>[t.renderSlot(c.$slots,f)])}))]),1024))}}),kn=["aria-expanded"],bn={name:"BasicLayout"},wn=t.defineComponent({...bn,props:{noLocaleSwitcher:Boolean},setup(e){const n=t.ref();return(o,s)=>(t.openBlock(),t.createElementBlock("div",{"aria-expanded":n.value?.expanded,class:"layout basic"},[t.renderSlot(o.$slots,"header",{},()=>[t.createVNode(X,{ref_key:"appHeader",ref:n,"no-locale-switcher":e.noLocaleSwitcher,"no-toggle":""},{logo:t.withCtx(()=>[t.renderSlot(o.$slots,"logo")]),addon:t.withCtx(()=>[t.renderSlot(o.$slots,"addon")]),menu:t.withCtx(()=>[t.renderSlot(o.$slots,"menu")]),userMenu:t.withCtx(()=>[t.renderSlot(o.$slots,"userMenu")]),locales:t.withCtx(()=>[t.renderSlot(o.$slots,"locales")]),_:3},8,["no-locale-switcher"])]),t.createElementVNode("main",null,[t.renderSlot(o.$slots,"default")]),t.renderSlot(o.$slots,"footer",{},()=>[t.createVNode(A,null,{copyright:t.withCtx(()=>[t.renderSlot(o.$slots,"copyright")]),social:t.withCtx(()=>[t.renderSlot(o.$slots,"social")]),version:t.withCtx(()=>[t.renderSlot(o.$slots,"version")]),_:3})])],8,kn))}}),Sn={name:"NullLayout"},Cn=(e,n)=>{const o=e.__vccOpts||e;for(const[s,r]of n)o[s]=r;return o};function Bn(e,n,o,s,r,i){return t.renderSlot(e.$slots,"default")}const Me=Cn(Sn,[["render",Bn]]),$n=Object.freeze(Object.defineProperty({__proto__:null,default:Me},Symbol.toStringTag,{value:"Module"})),Ln=["aria-expanded"],Nn=t.defineComponent({__name:"SidebarHeaderLayout",props:{collapsible:{default:!0,type:Boolean},menu:{required:!0,type:Array},noLocaleSwitcher:Boolean,noSidebar:{default:!1,type:Boolean},noSidebarHeader:{default:!1,type:Boolean},userMenuLocation:{default:"sidebar",type:String,validator:e=>["header","sidebar"].includes(e)}},setup(e){const{layout:n}=_.useConfig(),o=n?.localeSwitcher?.showBadges,s=t.ref(),r=t.ref(),i=t.ref(!1);t.watch(()=>s.value?.expanded,c=>{c&&r.value&&(r.value.sidebarActive=!0)}),t.watch(()=>r.value?.sidebarActive,c=>{!c&&r.value&&(s.value.expanded=!1)});const l=()=>{window.innerWidth>=576?i.value=!1:i.value=!0};return t.onUnmounted(()=>{window.removeEventListener("resize",l)}),window.addEventListener("resize",l),l(),(c,a)=>(t.openBlock(),t.createElementBlock("div",{"aria-expanded":s.value?.expanded,class:t.normalizeClass(["layout sidebar-header-layout",{collapsible:e.collapsible}])},[t.renderSlot(c.$slots,"header",{},()=>[t.createVNode(X,{ref_key:"appHeader",ref:s,"no-locale-switcher":e.noLocaleSwitcher,"no-toggle":!e.collapsible||e.noSidebar,"no-main-menu":""},t.createSlots({locales:t.withCtx(()=>[t.renderSlot(c.$slots,"locales")]),_:2},[e.userMenuLocation==="header"?{name:"userMenu",fn:t.withCtx(()=>[t.renderSlot(c.$slots,"userMenu")]),key:"0"}:void 0]),1032,["no-locale-switcher","no-toggle"])]),e.noSidebar?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(v,{key:0,ref_key:"sidebar",ref:r,collapsible:e.collapsible,menu:e.menu,"no-header":e.noSidebarHeader,class:"layout-sidebar"},{afterNavLinks:t.withCtx(()=>[t.renderSlot(c.$slots,"afterNavLinks")]),afterSidebarMenu:t.withCtx(()=>[t.renderSlot(c.$slots,"afterSidebarMenu"),e.userMenuLocation==="sidebar"?t.renderSlot(c.$slots,"userMenu",{key:0}):t.createCommentVNode("",!0),i.value?t.renderSlot(c.$slots,"locales",{key:1},()=>[e.noLocaleSwitcher?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(B.LocaleSwitcher),{key:0,"show-badges":t.unref(o),class:"locales"},null,8,["show-badges"]))]):t.createCommentVNode("",!0)]),footer:t.withCtx(()=>[t.renderSlot(c.$slots,"footer",{},()=>[t.createVNode(A)])]),_:3},8,["collapsible","menu","no-header"])),t.createElementVNode("main",null,[t.renderSlot(c.$slots,"default")])],10,Ln))}}),xn="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20stroke-width='0'%3e%3c/g%3e%3cg%20stroke-linecap='round'%20stroke-linejoin='round'%3e%3c/g%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12%207C12.2652%207%2012.5196%207.10536%2012.7071%207.29289L19.7071%2014.2929C20.0976%2014.6834%2020.0976%2015.3166%2019.7071%2015.7071C19.3166%2016.0976%2018.6834%2016.0976%2018.2929%2015.7071L12%209.41421L5.70711%2015.7071C5.31658%2016.0976%204.68342%2016.0976%204.29289%2015.7071C3.90237%2015.3166%203.90237%2014.6834%204.29289%2014.2929L11.2929%207.29289C11.4804%207.10536%2011.7348%207%2012%207Z'%20fill='%23ffffff'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",_n={class:"layout sidebar-only"},En=t.defineComponent({__name:"SidebarOnlyLayout",props:{menu:{required:!0,type:Array},noLocaleSwitcher:Boolean,noHeader:{default:!1,type:Boolean}},setup(e){const{layout:n}=_.useConfig(),o=n?.localeSwitcher?.showBadges;return(s,r)=>(t.openBlock(),t.createElementBlock("div",_n,[t.createVNode(v,{menu:e.menu,"no-header":e.noHeader,class:"layout-sidebar"},{afterNavLinks:t.withCtx(()=>[t.renderSlot(s.$slots,"afterNavLinks")]),afterSidebarMenu:t.withCtx(()=>[t.renderSlot(s.$slots,"afterSidebarMenu"),t.renderSlot(s.$slots,"userMenu"),t.renderSlot(s.$slots,"locales",{},()=>[e.noLocaleSwitcher?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(B.LocaleSwitcher),{key:0,"show-badges":t.unref(o),class:"locales"},{icon:t.withCtx(()=>r[0]||(r[0]=[t.createElementVNode("img",{src:xn,alt:"toggle icon"},null,-1)])),_:1},8,["show-badges"]))])]),footer:t.withCtx(()=>[t.createVNode(A)]),_:3},8,["menu","no-header"]),t.createElementVNode("main",null,[t.renderSlot(s.$slots,"default")])]))}}),ee={en:{copyright:{disclaimer:"All rights reserved."}},fr:{copyright:{disclaimer:"Tous droits réservés."}}},Ve=Symbol.for("dzangolab.vue-layout.translations"),Te=()=>t.inject(Ve,ee),In={install:(e,n)=>{e.component("Layout",Ie);const o=n?.translations?B.prependMessages(ee,n.translations):ee;e.provide(Ve,o)}};m.AppFooter=A,m.AppHeader=X,m.BasicLayout=wn,m.Copyright=ne,m.Layout=Ie,m.Logo=J,m.MainMenu=xe,m.NullLayout=Me,m.Sidebar=v,m.SidebarHeaderLayout=Nn,m.SidebarOnlyLayout=En,m.StickyCollapsibleFooter=mn,m.default=In,m.useTranslations=Te,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});