comand-component-library 3.3.19 → 3.3.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- (function(B,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(B=typeof globalThis<"u"?globalThis:B||self,e(B["comand-component-library"]={},B.Vue))})(this,function(B,e){"use strict";(function(){const o="on",n="out",t="body",s="stop",l="click",a="apply",r="target",c="prototype",i="Propagation",d="setAttribute",m="relatedTarget",h="addEventListener",u=Symbol(n),f=Object,y=document,p=typeof TouchEvent<"u"?TouchEvent:void 0,k=HTMLElement,C=k[c],V=Event[c],O=[l,"dbl"+l,"mousedown","mouseup","touchstart","touchend","pointerdown","pointerup"],g=new Set(O),N=new Set(O.map(_=>o+_+n)),b=(_,x)=>!!x&&_ instanceof x,E=(_,x)=>_.contains(x),D=(_,x)=>{for(let M of _)x(M)},F=_=>{b(_,k)&&(_[u]?q(_):D(g,x=>{let M=o+x+n,A=_.getAttribute(M);A&&!T(_)[M]&&_[d](M,A)}),D(_.childNodes,F))},T=_=>_[u]=_[u]||{},q=_=>{T(_),R.includes(_)||(R.push(_),ee=!0)},P=(_,x)=>E(x,_)?1:E(_,x)?-1:0,J=_=>{ee&&(R.sort(P),ee=!1);let x=_[r];b(_,p)?(_=new p(_.type+n,_))[m]=x:_=new _.constructor(_.type+n,f.assign({},_,{[m]:x})),_[s]=[],D(R,M=>{E(M,x)||_[s].some(A=>E(A,M))||M.dispatchEvent(_)})},U=_=>function(){let x=this,M=x.type;_[a](x),N.has(o+M)&&x[s].push(x[r])},G=(_,x,M)=>_[x]=M(_[x]);function w(_){let x=this[u][o+_.type];x&&x[a](this,[_])}let R=[],ee=!1,ce=y.createElement(t);D(g,_=>{y[h](_,J,{passive:!0,capture:!0});let x=o+_+n;f.defineProperty(C,x,{get(){return this[u][x]},set(M){this[h](_+n,w),this[u][x]=typeof M=="object"?M.handleEvent:M}})}),G(C,h,_=>function(...x){N.has(o+x[0])&&q(this),_[a](this,x)}),G(C,d,_=>function(x,M){N.has(x)?(_[a](ce,[o+l,M]),this[x]=ce[o+l]):_[a](this,[x,M])}),G(V,s+i,U),G(V,s+"Immediate"+i,U),new MutationObserver(_=>{D(_,x=>{D(x.addedNodes,F),D(x.removedNodes,M=>{b(M,k)&&(R=R.filter(A=>!E(M,A)))})})}).observe(y.documentElement,{childList:!0,subtree:!0}),F(y[t])})();const te=/^[a-z0-9]+(-[a-z0-9]+)*$/,de=(o,n,t,s="")=>{const l=o.split(":");if(o.slice(0,1)==="@"){if(l.length<2||l.length>3)return null;s=l.shift().slice(1)}if(l.length>3||!l.length)return null;if(l.length>1){const c=l.pop(),i=l.pop(),d={provider:l.length>0?l[0]:s,prefix:i,name:c};return n&&!me(d)?null:d}const a=l[0],r=a.split("-");if(r.length>1){const c={provider:s,prefix:r.shift(),name:r.join("-")};return n&&!me(c)?null:c}if(t&&s===""){const c={provider:s,prefix:"",name:a};return n&&!me(c,t)?null:c}return null},me=(o,n)=>o?!!((o.provider===""||o.provider.match(te))&&(n&&o.prefix===""||o.prefix.match(te))&&o.name.match(te)):!1,gt=Object.freeze({left:0,top:0,width:16,height:16}),he=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),fe=Object.freeze({...gt,...he}),Ve=Object.freeze({...fe,body:"",hidden:!1});function Ko(o,n){const t={};!o.hFlip!=!n.hFlip&&(t.hFlip=!0),!o.vFlip!=!n.vFlip&&(t.vFlip=!0);const s=((o.rotate||0)+(n.rotate||0))%4;return s&&(t.rotate=s),t}function yt(o,n){const t=Ko(o,n);for(const s in Ve)s in he?s in o&&!(s in t)&&(t[s]=he[s]):s in n?t[s]=n[s]:s in o&&(t[s]=o[s]);return t}function Xo(o,n){const t=o.icons,s=o.aliases||{},l=Object.create(null);function a(r){if(t[r])return l[r]=[];if(!(r in l)){l[r]=null;const c=s[r]&&s[r].parent,i=c&&a(c);i&&(l[r]=[c].concat(i))}return l[r]}return(n||Object.keys(t).concat(Object.keys(s))).forEach(a),l}function Yo(o,n,t){const s=o.icons,l=o.aliases||{};let a={};function r(c){a=yt(s[c]||l[c],a)}return r(n),t.forEach(r),yt(o,a)}function kt(o,n){const t=[];if(typeof o!="object"||typeof o.icons!="object")return t;o.not_found instanceof Array&&o.not_found.forEach(l=>{n(l,null),t.push(l)});const s=Xo(o);for(const l in s){const a=s[l];a&&(n(l,Yo(o,l,a)),t.push(l))}return t}const Qo={provider:"",aliases:{},not_found:{},...gt};function xe(o,n){for(const t in n)if(t in o&&typeof o[t]!=typeof n[t])return!1;return!0}function Ct(o){if(typeof o!="object"||o===null)return null;const n=o;if(typeof n.prefix!="string"||!o.icons||typeof o.icons!="object"||!xe(o,Qo))return null;const t=n.icons;for(const l in t){const a=t[l];if(!l.match(te)||typeof a.body!="string"||!xe(a,Ve))return null}const s=n.aliases||{};for(const l in s){const a=s[l],r=a.parent;if(!l.match(te)||typeof r!="string"||!t[r]&&!s[r]||!xe(a,Ve))return null}return n}const _t=Object.create(null);function Zo(o,n){return{provider:o,prefix:n,icons:Object.create(null),missing:new Set}}function X(o,n){const t=_t[o]||(_t[o]=Object.create(null));return t[n]||(t[n]=Zo(o,n))}function Ee(o,n){return Ct(n)?kt(n,(t,s)=>{s?o.icons[t]=s:o.missing.add(t)}):[]}function $o(o,n,t){try{if(typeof t.body=="string")return o.icons[n]={...t},!0}catch{}return!1}let oe=!1;function Bt(o){return typeof o=="boolean"&&(oe=o),oe}function vo(o){const n=typeof o=="string"?de(o,!0,oe):o;if(n){const t=X(n.provider,n.prefix),s=n.name;return t.icons[s]||(t.missing.has(s)?null:void 0)}}function en(o,n){const t=de(o,!0,oe);if(!t)return!1;const s=X(t.provider,t.prefix);return $o(s,t.name,n)}function bt(o,n){if(typeof o!="object")return!1;if(typeof n!="string"&&(n=o.provider||""),oe&&!n&&!o.prefix){let l=!1;return Ct(o)&&(o.prefix="",kt(o,(a,r)=>{r&&en(a,r)&&(l=!0)})),l}const t=o.prefix;if(!me({provider:n,prefix:t,name:"a"}))return!1;const s=X(n,t);return!!Ee(s,o)}const wt=Object.freeze({width:null,height:null}),St=Object.freeze({...wt,...he}),tn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,on=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Vt(o,n,t){if(n===1)return o;if(t=t||100,typeof o=="number")return Math.ceil(o*n*t)/t;if(typeof o!="string")return o;const s=o.split(tn);if(s===null||!s.length)return o;const l=[];let a=s.shift(),r=on.test(a);for(;;){if(r){const c=parseFloat(a);isNaN(c)?l.push(a):l.push(Math.ceil(c*n*t)/t)}else l.push(a);if(a=s.shift(),a===void 0)return l.join("");r=!r}}function nn(o,n){const t={...fe,...o},s={...St,...n},l={left:t.left,top:t.top,width:t.width,height:t.height};let a=t.body;[t,s].forEach(f=>{const y=[],p=f.hFlip,k=f.vFlip;let C=f.rotate;p?k?C+=2:(y.push("translate("+(l.width+l.left).toString()+" "+(0-l.top).toString()+")"),y.push("scale(-1 1)"),l.top=l.left=0):k&&(y.push("translate("+(0-l.left).toString()+" "+(l.height+l.top).toString()+")"),y.push("scale(1 -1)"),l.top=l.left=0);let V;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:V=l.height/2+l.top,y.unshift("rotate(90 "+V.toString()+" "+V.toString()+")");break;case 2:y.unshift("rotate(180 "+(l.width/2+l.left).toString()+" "+(l.height/2+l.top).toString()+")");break;case 3:V=l.width/2+l.left,y.unshift("rotate(-90 "+V.toString()+" "+V.toString()+")");break}C%2===1&&(l.left!==l.top&&(V=l.left,l.left=l.top,l.top=V),l.width!==l.height&&(V=l.width,l.width=l.height,l.height=V)),y.length&&(a='<g transform="'+y.join(" ")+'">'+a+"</g>")});const r=s.width,c=s.height,i=l.width,d=l.height;let m,h;return r===null?(h=c===null?"1em":c==="auto"?d:c,m=Vt(h,i/d)):(m=r==="auto"?i:r,h=c===null?Vt(m,d/i):c==="auto"?d:c),{attributes:{width:m.toString(),height:h.toString(),viewBox:l.left.toString()+" "+l.top.toString()+" "+i.toString()+" "+d.toString()},body:a}}const ln=/\sid="(\S+)"/g,an="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let sn=0;function rn(o,n=an){const t=[];let s;for(;s=ln.exec(o);)t.push(s[1]);return t.length&&t.forEach(l=>{const a=typeof n=="function"?n(l):n+(sn++).toString(),r=l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");o=o.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+a+"$3")}),o}const Ne=Object.create(null);function cn(o,n){Ne[o]=n}function Te(o){return Ne[o]||Ne[""]}function De(o){let n;if(typeof o.resources=="string")n=[o.resources];else if(n=o.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:o.path||"/",maxURL:o.maxURL||500,rotate:o.rotate||750,timeout:o.timeout||5e3,random:o.random===!0,index:o.index||0,dataAfterTimeout:o.dataAfterTimeout!==!1}}const Ie=Object.create(null),ne=["https://api.simplesvg.com","https://api.unisvg.com"],ue=[];for(;ne.length>0;)ne.length===1||Math.random()>.5?ue.push(ne.shift()):ue.push(ne.pop());Ie[""]=De({resources:["https://api.iconify.design"].concat(ue)});function dn(o,n){const t=De(n);return t===null?!1:(Ie[o]=t,!0)}function Oe(o){return Ie[o]}let xt=(()=>{let o;try{if(o=fetch,typeof o=="function")return o}catch{}})();function mn(o,n){const t=Oe(o);if(!t)return 0;let s;if(!t.maxURL)s=0;else{let l=0;t.resources.forEach(r=>{l=Math.max(l,r.length)});const a=n+".json?icons=";s=t.maxURL-l-t.path.length-a.length}return s}function hn(o){return o===404}const fn=(o,n,t)=>{const s=[],l=mn(o,n),a="icons";let r={type:a,provider:o,prefix:n,icons:[]},c=0;return t.forEach((i,d)=>{c+=i.length+1,c>=l&&d>0&&(s.push(r),r={type:a,provider:o,prefix:n,icons:[]},c=i.length),r.icons.push(i)}),s.push(r),s};function un(o){if(typeof o=="string"){const n=Oe(o);if(n)return n.path}return"/"}const pn={prepare:fn,send:(o,n,t)=>{if(!xt){t("abort",424);return}let s=un(n.provider);switch(n.type){case"icons":{const a=n.prefix,c=n.icons.join(","),i=new URLSearchParams({icons:c});s+=a+".json?"+i.toString();break}case"custom":{const a=n.uri;s+=a.slice(0,1)==="/"?a.slice(1):a;break}default:t("abort",400);return}let l=503;xt(o+s).then(a=>{const r=a.status;if(r!==200){setTimeout(()=>{t(hn(r)?"abort":"next",r)});return}return l=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{t("next",l)});return}setTimeout(()=>{t("success",a)})}).catch(()=>{t("next",l)})}};function gn(o){const n={loaded:[],missing:[],pending:[]},t=Object.create(null);o.sort((l,a)=>l.provider!==a.provider?l.provider.localeCompare(a.provider):l.prefix!==a.prefix?l.prefix.localeCompare(a.prefix):l.name.localeCompare(a.name));let s={provider:"",prefix:"",name:""};return o.forEach(l=>{if(s.name===l.name&&s.prefix===l.prefix&&s.provider===l.provider)return;s=l;const a=l.provider,r=l.prefix,c=l.name,i=t[a]||(t[a]=Object.create(null)),d=i[r]||(i[r]=X(a,r));let m;c in d.icons?m=n.loaded:r===""||d.missing.has(c)?m=n.missing:m=n.pending;const h={provider:a,prefix:r,name:c};m.push(h)}),n}function Et(o,n){o.forEach(t=>{const s=t.loaderCallbacks;s&&(t.loaderCallbacks=s.filter(l=>l.id!==n))})}function yn(o){o.pendingCallbacksFlag||(o.pendingCallbacksFlag=!0,setTimeout(()=>{o.pendingCallbacksFlag=!1;const n=o.loaderCallbacks?o.loaderCallbacks.slice(0):[];if(!n.length)return;let t=!1;const s=o.provider,l=o.prefix;n.forEach(a=>{const r=a.icons,c=r.pending.length;r.pending=r.pending.filter(i=>{if(i.prefix!==l)return!0;const d=i.name;if(o.icons[d])r.loaded.push({provider:s,prefix:l,name:d});else if(o.missing.has(d))r.missing.push({provider:s,prefix:l,name:d});else return t=!0,!0;return!1}),r.pending.length!==c&&(t||Et([o],a.id),a.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),a.abort))})}))}let kn=0;function Cn(o,n,t){const s=kn++,l=Et.bind(null,t,s);if(!n.pending.length)return l;const a={id:s,icons:n,callback:o,abort:l};return t.forEach(r=>{(r.loaderCallbacks||(r.loaderCallbacks=[])).push(a)}),l}function _n(o,n=!0,t=!1){const s=[];return o.forEach(l=>{const a=typeof l=="string"?de(l,n,t):l;a&&s.push(a)}),s}var Bn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function bn(o,n,t,s){const l=o.resources.length,a=o.random?Math.floor(Math.random()*l):o.index;let r;if(o.random){let b=o.resources.slice(0);for(r=[];b.length>1;){const E=Math.floor(Math.random()*b.length);r.push(b[E]),b=b.slice(0,E).concat(b.slice(E+1))}r=r.concat(b)}else r=o.resources.slice(a).concat(o.resources.slice(0,a));const c=Date.now();let i="pending",d=0,m,h=null,u=[],f=[];typeof s=="function"&&f.push(s);function y(){h&&(clearTimeout(h),h=null)}function p(){i==="pending"&&(i="aborted"),y(),u.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),u=[]}function k(b,E){E&&(f=[]),typeof b=="function"&&f.push(b)}function C(){return{startTime:c,payload:n,status:i,queriesSent:d,queriesPending:u.length,subscribe:k,abort:p}}function V(){i="failed",f.forEach(b=>{b(void 0,m)})}function O(){u.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),u=[]}function g(b,E,D){const F=E!=="success";switch(u=u.filter(T=>T!==b),i){case"pending":break;case"failed":if(F||!o.dataAfterTimeout)return;break;default:return}if(E==="abort"){m=D,V();return}if(F){m=D,u.length||(r.length?N():V());return}if(y(),O(),!o.random){const T=o.resources.indexOf(b.resource);T!==-1&&T!==o.index&&(o.index=T)}i="completed",f.forEach(T=>{T(D)})}function N(){if(i!=="pending")return;y();const b=r.shift();if(b===void 0){if(u.length){h=setTimeout(()=>{y(),i==="pending"&&(O(),V())},o.timeout);return}V();return}const E={status:"pending",resource:b,callback:(D,F)=>{g(E,D,F)}};u.push(E),d++,h=setTimeout(N,o.rotate),t(b,n,E.callback)}return setTimeout(N),C}function Nt(o){const n={...Bn,...o};let t=[];function s(){t=t.filter(c=>c().status==="pending")}function l(c,i,d){const m=bn(n,c,i,(h,u)=>{s(),d&&d(h,u)});return t.push(m),m}function a(c){return t.find(i=>c(i))||null}return{query:l,find:a,setIndex:c=>{n.index=c},getIndex:()=>n.index,cleanup:s}}function Tt(){}const Me=Object.create(null);function wn(o){if(!Me[o]){const n=Oe(o);if(!n)return;const t=Nt(n),s={config:n,redundancy:t};Me[o]=s}return Me[o]}function Sn(o,n,t){let s,l;if(typeof o=="string"){const a=Te(o);if(!a)return t(void 0,424),Tt;l=a.send;const r=wn(o);r&&(s=r.redundancy)}else{const a=De(o);if(a){s=Nt(a);const r=o.resources?o.resources[0]:"",c=Te(r);c&&(l=c.send)}}return!s||!l?(t(void 0,424),Tt):s.query(n,l,t)().abort}const Dt="iconify2",le="iconify",It=le+"-count",Ot=le+"-version",Mt=36e5,Vn=168;function Fe(o,n){try{return o.getItem(n)}catch{}}function Le(o,n,t){try{return o.setItem(n,t),!0}catch{}}function Ft(o,n){try{o.removeItem(n)}catch{}}function qe(o,n){return Le(o,It,n.toString())}function Pe(o){return parseInt(Fe(o,It))||0}const pe={local:!0,session:!0},Lt={local:new Set,session:new Set};let Ae=!1;function xn(o){Ae=o}let ge=typeof window>"u"?{}:window;function qt(o){const n=o+"Storage";try{if(ge&&ge[n]&&typeof ge[n].length=="number")return ge[n]}catch{}pe[o]=!1}function Pt(o,n){const t=qt(o);if(!t)return;const s=Fe(t,Ot);if(s!==Dt){if(s){const c=Pe(t);for(let i=0;i<c;i++)Ft(t,le+i.toString())}Le(t,Ot,Dt),qe(t,0);return}const l=Math.floor(Date.now()/Mt)-Vn,a=c=>{const i=le+c.toString(),d=Fe(t,i);if(typeof d=="string"){try{const m=JSON.parse(d);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>l&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&n(m,c))return!0}catch{}Ft(t,i)}};let r=Pe(t);for(let c=r-1;c>=0;c--)a(c)||(c===r-1?(r--,qe(t,r)):Lt[o].add(c))}function At(){if(!Ae){xn(!0);for(const o in pe)Pt(o,n=>{const t=n.data,s=n.provider,l=t.prefix,a=X(s,l);if(!Ee(a,t).length)return!1;const r=t.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,r):r,!0})}}function En(o,n){const t=o.lastModifiedCached;if(t&&t>=n)return t===n;if(o.lastModifiedCached=n,t)for(const s in pe)Pt(s,l=>{const a=l.data;return l.provider!==o.provider||a.prefix!==o.prefix||a.lastModified===n});return!0}function Nn(o,n){Ae||At();function t(s){let l;if(!pe[s]||!(l=qt(s)))return;const a=Lt[s];let r;if(a.size)a.delete(r=Array.from(a).shift());else if(r=Pe(l),!qe(l,r+1))return;const c={cached:Math.floor(Date.now()/Mt),provider:o.provider,data:n};return Le(l,le+r.toString(),JSON.stringify(c))}n.lastModified&&!En(o,n.lastModified)||!Object.keys(n.icons).length||(n.not_found&&(n=Object.assign({},n),delete n.not_found),t("local")||t("session"))}function Ht(){}function Tn(o){o.iconsLoaderFlag||(o.iconsLoaderFlag=!0,setTimeout(()=>{o.iconsLoaderFlag=!1,yn(o)}))}function Dn(o,n){o.iconsToLoad?o.iconsToLoad=o.iconsToLoad.concat(n).sort():o.iconsToLoad=n,o.iconsQueueFlag||(o.iconsQueueFlag=!0,setTimeout(()=>{o.iconsQueueFlag=!1;const{provider:t,prefix:s}=o,l=o.iconsToLoad;delete o.iconsToLoad;let a;if(!l||!(a=Te(t)))return;a.prepare(t,s,l).forEach(c=>{Sn(t,c,(i,d)=>{if(typeof i!="object"){if(d!==404)return;c.icons.forEach(m=>{o.missing.add(m)})}else try{const m=Ee(o,i);if(!m.length)return;const h=o.pendingIcons;h&&m.forEach(u=>{h.delete(u)}),Nn(o,i)}catch(m){console.error(m)}Tn(o)})})}))}const In=(o,n)=>{const t=_n(o,!0,Bt()),s=gn(t);if(!s.pending.length){let i=!0;return n&&setTimeout(()=>{i&&n(s.loaded,s.missing,s.pending,Ht)}),()=>{i=!1}}const l=Object.create(null),a=[];let r,c;return s.pending.forEach(i=>{const{provider:d,prefix:m}=i;if(m===c&&d===r)return;r=d,c=m,a.push(X(d,m));const h=l[d]||(l[d]=Object.create(null));h[m]||(h[m]=[])}),s.pending.forEach(i=>{const{provider:d,prefix:m,name:h}=i,u=X(d,m),f=u.pendingIcons||(u.pendingIcons=new Set);f.has(h)||(f.add(h),l[d][m].push(h))}),a.forEach(i=>{const{provider:d,prefix:m}=i;l[d][m].length&&Dn(i,l[d][m])}),n?Cn(n,s,a):Ht};function On(o,n){const t={...o};for(const s in n){const l=n[s],a=typeof l;s in wt?(l===null||l&&(a==="string"||a==="number"))&&(t[s]=l):a===typeof t[s]&&(t[s]=s==="rotate"?l%4:l)}return t}const Mn=/[\s,]+/;function Fn(o,n){n.split(Mn).forEach(t=>{switch(t.trim()){case"horizontal":o.hFlip=!0;break;case"vertical":o.vFlip=!0;break}})}function Ln(o,n=0){const t=o.replace(/^-?[0-9.]*/,"");function s(l){for(;l<0;)l+=4;return l%4}if(t===""){const l=parseInt(o);return isNaN(l)?0:s(l)}else if(t!==o){let l=0;switch(t){case"%":l=25;break;case"deg":l=90}if(l){let a=parseFloat(o.slice(0,o.length-t.length));return isNaN(a)?0:(a=a/l,a%1===0?s(a):0)}}return n}function qn(o,n){let t=o.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in n)t+=" "+s+'="'+n[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+t+">"+o+"</svg>"}function Pn(o){return o.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function An(o){return'url("data:image/svg+xml,'+Pn(o)+'")'}const zt={...St,inline:!1},Hn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},zn={display:"inline-block"},He={backgroundColor:"currentColor"},Rt={backgroundColor:"transparent"},jt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ut={webkitMask:He,mask:He,background:Rt};for(const o in Ut){const n=Ut[o];for(const t in jt)n[o+t]=jt[t]}const ye={};["horizontal","vertical"].forEach(o=>{const n=o.slice(0,1)+"Flip";ye[o+"-flip"]=n,ye[o.slice(0,1)+"-flip"]=n,ye[o+"Flip"]=n});function Wt(o){return o+(o.match(/^[-0-9.]+$/)?"px":"")}const Gt=(o,n)=>{const t=On(zt,n),s={...Hn},l=n.mode||"svg",a={},r=n.style,c=typeof r=="object"&&!(r instanceof Array)?r:{};for(let p in n){const k=n[p];if(k!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":t[p]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&Fn(t,k);break;case"color":a.color=k;break;case"rotate":typeof k=="string"?t[p]=Ln(k):typeof k=="number"&&(t[p]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete s["aria-hidden"];break;default:{const C=ye[p];C?(k===!0||k==="true"||k===1)&&(t[C]=!0):zt[p]===void 0&&(s[p]=k)}}}const i=nn(o,t),d=i.attributes;if(t.inline&&(a.verticalAlign="-0.125em"),l==="svg"){s.style={...a,...c},Object.assign(s,d);let p=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),s.innerHTML=rn(i.body,k?()=>k+"ID"+p++:"iconifyVue"),e.h("svg",s)}const{body:m,width:h,height:u}=o,f=l==="mask"||(l==="bg"?!1:m.indexOf("currentColor")!==-1),y=qn(m,{...d,width:h+"",height:u+""});return s.style={...a,"--svg":An(y),width:Wt(d.width),height:Wt(d.height),...zn,...f?He:Rt,...c},e.h("span",s)};if(Bt(!0),cn("",pn),typeof document<"u"&&typeof window<"u"){At();const o=window;if(o.IconifyPreload!==void 0){const n=o.IconifyPreload,t="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"||!bt(s))&&console.error(t)}catch{console.error(t)}})}if(o.IconifyProviders!==void 0){const n=o.IconifyProviders;if(typeof n=="object"&&n!==null)for(let t in n){const s="IconifyProviders["+t+"] is invalid.";try{const l=n[t];if(typeof l!="object"||!l||l.resources===void 0)continue;dn(t,l)||console.error(s)}catch{console.error(s)}}}}const Rn={...fe,body:""},jn=e.defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(o,n){if(typeof o=="object"&&o!==null&&typeof o.body=="string")return this._name="",this.abortLoading(),{data:o};let t;if(typeof o!="string"||(t=de(o,!1,!0))===null)return this.abortLoading(),null;const s=vo(t);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==o)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:o,abort:In([t],()=>{this.counter++})})),null;this.abortLoading(),this._name!==o&&(this._name=o,n&&n(o));const l=["iconify"];return t.prefix!==""&&l.push("iconify--"+t.prefix),t.provider!==""&&l.push("iconify--"+t.provider),{data:s,classes:l}}},render(){this.counter;const o=this.$attrs,n=this.iconMounted?this.getIcon(o.icon,o.onLoad):null;if(!n)return Gt(Rn,o);let t=o;return n.classes&&(t={...o,class:(typeof o.class=="string"?o.class+" ":"")+n.classes.join(" ")}),Gt({...fe,...n.data},t)}}),yu="",S=(o,n)=>{const t=o.__vccOpts||o;for(const[s,l]of n)t[s]=l;return t},Un={name:"CmdIcon",components:{Icon:jn},props:{type:{type:String,default:"auto"},iconClass:{type:String,required:!0},tooltip:{type:String,required:!1}},computed:{isIconify(){return this.type==="iconify"?!0:this.type==="auto"?this.iconClass.includes(":"):!1}}},Wn=["title"];function Gn(o,n,t,s,l,a){const r=e.resolveComponent("Icon");return a.isIconify?(e.openBlock(),e.createBlock(r,{key:0,icon:t.iconClass,title:t.tooltip,class:e.normalizeClass(o.$attrs.class)},null,8,["icon","title","class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass([t.iconClass,o.$attrs.class]),title:t.tooltip},null,10,Wn))}const I=S(Un,[["render",Gn]]),ku="",Jn={name:"CmdHeadline",props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],required:!0},preHeadlineText:{type:String,required:!1},headlineIcon:{type:Object,required:!1},textAlign:{type:String,default:"left"}},computed:{getHeadlineTag(){return this.headlineLevel?"h"+this.headlineLevel:"h3"},getTextAlign(){return this.textAlign?"text-"+this.textAlign:""}}},Kn={key:1},Xn={class:"pre-headline-text"};function Yn(o,n,t,s,l,a){var c,i,d;const r=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":t.preHeadlineText,"has-icon":(c=t.headlineIcon)==null?void 0:c.iconClass},a.getTextAlign])},[t.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(i=t.headlineIcon)==null?void 0:i.iconClass,type:(d=t.headlineIcon)==null?void 0:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),t.preHeadlineText?(e.openBlock(),e.createElementBlock("div",Kn,[e.createElementVNode("span",Xn,e.toDisplayString(t.preHeadlineText),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.getHeadlineTag),null,{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.headlineText),1)])]),_:3}))])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.getHeadlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.headlineText),1)])]),_:3}))],2)}const L=S(Jn,[["render",Yn]]),j={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(o,...n){if(!o)return"";let t=this.i18n;if(typeof this.i18n=="function"&&(t=this.i18n.call(this,o,n),typeof t!="object"))return t;let s=t[o]||this.getDefaultMessageProperty(o)||o;return typeof s=="function"?s.call(this,n||[]):(Array.isArray(n)&&n.length&&n.forEach((l,a)=>s=s.replace("{"+a+"}",l)),s)},getDefaultMessageProperty(o){var t;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[o])return this.defaultMessageProperties[o];const n=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return n&&((t=this[n])==null?void 0:t[o])?this[n][o]:null}}},Qn={data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps\u2122 (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}},Cu="",Zn={name:"CmdAddressData",mixins:[j,Qn],props:{showIconsOnly:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!0},showLabels:{type:Boolean,default:!0},addressData:{type:Object,required:!0},linkGoogleMaps:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1}},computed:{locateAddress(){return"https://www.google.com/maps/place/"+this.addressData.address.streetNo+", "+this.addressData.address.zip+" "+this.addressData.address.city},websiteUrlText(){var o;return(o=this.addressData.website)==null?void 0:o.text.replace("https://","")}}},$n={class:"cmd-address-data vcard"},vn={class:"adr"},el={key:0},tl={key:0},ol={key:1},nl={key:1,class:"org"},ll={class:"address"},al={key:1},sl={key:0},il=["href","title"],rl={class:"street-address"},cl=e.createElementVNode("br",null,null,-1),dl={key:1,class:"postal-code"},ml={class:"locality"},hl=e.createElementVNode("br",null,null,-1),fl=e.createElementVNode("br",null,null,-1),ul={key:4,class:"country-name"},pl={class:"street-address"},gl=e.createElementVNode("br",null,null,-1),yl={key:1,class:"postal-code"},kl={class:"locality"},Cl=e.createElementVNode("br",null,null,-1),_l=e.createElementVNode("br",null,null,-1),Bl={key:4,class:"country-name"},bl={key:3},wl={key:1},Sl={key:4},Vl=["href"],xl={key:5},El={key:1},Nl={key:6},Tl=["href"],Dl={key:7},Il={key:1},Ol={key:8,class:"fax"},Ml={key:9},Fl={key:1},Ll={key:10,class:"email"},ql=["href"],Pl={key:11},Al={key:1},Hl={key:12},zl=["href","title"],Rl={key:13},jl={key:1},Ul={key:14},Wl={key:1,class:"flex-container"},Gl={key:0},Jl={class:"org"},Kl=["href","title"],Xl={class:"street-address"},Yl=e.createElementVNode("br",null,null,-1),Ql={class:"postal-code"},Zl={class:"locality"},$l=e.createElementVNode("br",null,null,-1),vl=e.createElementVNode("br",null,null,-1),ea={key:3,class:"country-name"},ta={class:"street-address"},oa=e.createElementVNode("br",null,null,-1),na={class:"postal-code"},la={class:"locality"},aa=e.createElementVNode("br",null,null,-1),sa=e.createElementVNode("br",null,null,-1),ia={key:3,class:"country-name"},ra={key:1},ca=["href","title"],da={key:2},ma={class:"fax"},ha=["title"],fa=["href"],ua=["title"],pa=["href"],ga={key:5},ya={key:2},ka={key:0},Ca={class:"org"},_a={key:1},Ba=["href","title"],ba={class:"street-address"},wa=e.createElementVNode("br",null,null,-1),Sa={class:"postal-code"},Va={class:"locality"},xa=e.createElementVNode("br",null,null,-1),Ea=e.createElementVNode("br",null,null,-1),Na={key:3,class:"country-name"},Ta={class:"street-address"},Da=e.createElementVNode("br",null,null,-1),Ia={class:"postal-code"},Oa={class:"locality"},Ma=e.createElementVNode("br",null,null,-1),Fa=e.createElementVNode("br",null,null,-1),La={key:3,class:"country-name"},qa=e.createElementVNode("template",null,null,-1);function Pa(o,n,t,s,l,a){var d,m,h,u,f,y,p,k,C,V,O,g,N,b,E,D,F,T,q,P;const r=L,c=I,i=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock("div",$n,[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",vn,[t.showLabels?(e.openBlock(),e.createElementBlock("dl",el,[(d=t.addressData.company)!=null&&d.text?(e.openBlock(),e.createElementBlock("dt",tl,[t.addressData.company.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.company.iconClass,type:t.addressData.company.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.company")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",ol,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.company")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(m=t.addressData.company)!=null&&m.text?(e.openBlock(),e.createElementBlock("dd",nl,e.toDisplayString(t.addressData.company.text),1)):e.createCommentVNode("",!0),t.addressData.address&&t.addressData.address!==void 0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("dt",ll,[t.addressData.address.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.address.iconClass,type:t.addressData.address.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.address")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",al,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.address")),1)):e.createCommentVNode("",!0)]),t.addressData.address?(e.openBlock(),e.createElementBlock("dd",sl,[t.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:a.locateAddress,target:"google-maps",title:o.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",rl,e.toDisplayString(t.addressData.address.streetNo),1),cl],64)):e.createCommentVNode("",!0),t.addressData.address.zip?(e.openBlock(),e.createElementBlock("span",dl,e.toDisplayString(t.addressData.address.zip),1)):e.createCommentVNode("",!0),t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",ml,e.toDisplayString(t.addressData.address.city),1),hl],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),fl],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",ul,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],8,il)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",pl,e.toDisplayString(t.addressData.address.streetNo),1),gl],64)):e.createCommentVNode("",!0),t.addressData.address.zip?(e.openBlock(),e.createElementBlock("span",yl,e.toDisplayString(t.addressData.address.zip)+"\xA0",1)):e.createCommentVNode("",!0),t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",kl,e.toDisplayString(t.addressData.address.city),1),Cl],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),_l],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",Bl,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],64))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),(h=t.addressData.telephone)!=null&&h.text?(e.openBlock(),e.createElementBlock("dt",bl,[t.addressData.telephone.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.telephone.iconClass,type:t.addressData.telephone.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.telephone")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",wl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.telephone")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(u=t.addressData.telephone)!=null&&u.text?(e.openBlock(),e.createElementBlock("dd",Sl,[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"tel:"+t.addressData.telephone,title:"Call number",class:"tel"},[e.createTextVNode(e.toDisplayString(t.addressData.telephone.text),1)],8,Vl)),[[i,t.addressData.telephone.text]])])):e.createCommentVNode("",!0),(f=t.addressData.mobilephone)!=null&&f.text?(e.openBlock(),e.createElementBlock("dt",xl,[t.addressData.mobilephone.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.mobilephone.iconClass,type:t.addressData.mobilephone.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.mobile_phone")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",El,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.mobile_phone")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(y=t.addressData.mobilephone)!=null&&y.text?(e.openBlock(),e.createElementBlock("dd",Nl,[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"tel:"+t.addressData.mobilephone,title:"Call number",class:"tel"},[e.createTextVNode(e.toDisplayString(t.addressData.mobilephone.text),1)],8,Tl)),[[i,t.addressData.mobilephone.text]])])):e.createCommentVNode("",!0),(p=t.addressData.fax)!=null&&p.text?(e.openBlock(),e.createElementBlock("dt",Dl,[t.addressData.fax.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.fax.iconClass,type:t.addressData.fax.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.fax")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Il,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.fax")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(k=t.addressData.fax)!=null&&k.text?(e.openBlock(),e.createElementBlock("dd",Ol,e.toDisplayString(t.addressData.fax.text),1)):e.createCommentVNode("",!0),(C=t.addressData.email)!=null&&C.text?(e.openBlock(),e.createElementBlock("dt",Ml,[t.addressData.email.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.email.iconClass,type:t.addressData.email.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.email")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Fl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.email")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(V=t.addressData.email)!=null&&V.text?(e.openBlock(),e.createElementBlock("dd",Ll,[e.createElementVNode("a",{href:"mailto:"+((O=t.addressData.email)==null?void 0:O.text),class:"email"},e.toDisplayString(t.addressData.email.text),9,ql)])):e.createCommentVNode("",!0),(g=t.addressData.website)!=null&&g.text?(e.openBlock(),e.createElementBlock("dt",Pl,[t.addressData.website.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.website.iconClass,type:t.addressData.website.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Al,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.website")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(N=t.addressData.website)!=null&&N.text?(e.openBlock(),e.createElementBlock("dd",Hl,[e.createElementVNode("a",{href:t.addressData.website.text,target:"_blank",title:o.getMessage("cmdaddressdata.title.visit_website")},e.toDisplayString(a.websiteUrlText),9,zl)])):e.createCommentVNode("",!0),(b=t.addressData.custom)!=null&&b.text?(e.openBlock(),e.createElementBlock("dt",Rl,[t.addressData.custom.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.custom.iconClass,type:t.addressData.custom.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",jl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.custom")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(E=t.addressData.custom)!=null&&E.text?(e.openBlock(),e.createElementBlock("dd",Ul,e.toDisplayString(t.addressData.custom.text),1)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("ul",Wl,[t.addressData.company?(e.openBlock(),e.createElementBlock("li",Gl,[e.createElementVNode("span",Jl,e.toDisplayString(t.addressData.company.text),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",null,[t.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:a.locateAddress,target:"google-maps",title:o.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Xl,e.toDisplayString(t.addressData.address.streetNo),1),Yl],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ql,e.toDisplayString(t.addressData.address.zip)+"\xA0",1),e.createElementVNode("span",Zl,e.toDisplayString(t.addressData.address.city),1),$l],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),vl],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",ea,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],8,Kl)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",ta,e.toDisplayString(t.addressData.address.streetNo),1),oa],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",na,e.toDisplayString(t.addressData.address.zip)+"\xA0",1),e.createElementVNode("span",la,e.toDisplayString(t.addressData.address.city),1),aa],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),sa],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",ia,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],64))]),(D=t.addressData.telephone)!=null&&D.text?(e.openBlock(),e.createElementBlock("li",ra,[e.createElementVNode("a",{href:"tel:"+t.addressData.telephone.text,title:o.getMessage("cmdaddressdata.title.call_number"),class:"tel"},e.toDisplayString(t.addressData.telephone.text),9,ca)])):e.createCommentVNode("",!0),(F=t.addressData.fax)!=null&&F.text?(e.openBlock(),e.createElementBlock("li",da,[e.createElementVNode("span",ma,e.toDisplayString(t.addressData.fax.text),1)])):e.createCommentVNode("",!0),(T=t.addressData.email)!=null&&T.text?(e.openBlock(),e.createElementBlock("li",{key:3,title:o.getMessage("cmdaddressdata.title.send_email")},[e.createElementVNode("a",{href:"mailto:"+t.addressData.email.text,class:"email"},e.toDisplayString(t.addressData.email.text),9,fa)],8,ha)):e.createCommentVNode("",!0),(q=t.addressData.website)!=null&&q.text?(e.openBlock(),e.createElementBlock("li",{key:4,title:o.getMessage("cmdaddressdata.title.visit_website")},[e.createElementVNode("a",{href:t.addressData.website.text,target:"_blank"},e.toDisplayString(a.websiteUrlText),9,pa)],8,ua)):e.createCommentVNode("",!0),(P=t.addressData.custom)!=null&&P.text?(e.openBlock(),e.createElementBlock("li",ga,e.toDisplayString(t.addressData.custom.text),1)):e.createCommentVNode("",!0)])),t.showIconsOnly?(e.openBlock(),e.createElementBlock("ul",ya,[t.addressData.company||t.addressData.address?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.addressData.company?(e.openBlock(),e.createElementBlock("li",ka,[e.createElementVNode("span",Ca,e.toDisplayString(t.addressData.company.text),1)])):e.createCommentVNode("",!0),t.addressData.address?(e.openBlock(),e.createElementBlock("li",_a,[t.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:a.locateAddress,target:"google-maps",title:o.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",ba,e.toDisplayString(t.addressData.address.streetNo),1),wa],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Sa,e.toDisplayString(t.addressData.address.zip)+"\xA0",1),e.createElementVNode("span",Va,e.toDisplayString(t.addressData.address.city),1),xa],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),Ea],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",Na,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],8,Ba)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Ta,e.toDisplayString(t.addressData.address.streetNo),1),Da],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ia,e.toDisplayString(t.addressData.address.zip)+"\xA0",1),e.createElementVNode("span",Oa,e.toDisplayString(t.addressData.address.city),1),Ma],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),Fa],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",La,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],64))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),qa])):e.createCommentVNode("",!0)])])}const Aa=S(Zn,[["render",Pa]]),_u="",Ha={name:"CmdBackToTopButton",data(){return{windowInnerHeight:window.innerHeight,windowScrollY:window.scrollY,bodyScrollHeight:document.body.scrollHeight}},props:{iconBackToTop:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Back to top",iconType:"auto"}}}},created(){window.addEventListener("resize",this.onViewportChange),window.addEventListener("scroll",this.onViewportChange)},unmounted(){window.removeEventListener("resize",this.onViewportChange),window.removeEventListener("scroll",this.onViewportChange)},computed:{show(){return this.windowScrollY>0&&this.windowInnerHeight<this.bodyScrollHeight}},methods:{onViewportChange(){this.windowInnerHeight=window.innerHeight,this.windowScrollY=window.scrollY,this.bodyScrollHeight=document.body.scrollHeight},onBackToTop(){window.scrollTo({top:0,left:0,behavior:"smooth"})}}},za=["title"];function Ra(o,n,t,s,l,a){const r=I;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[a.show?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cmd-back-to-top-button",href:"#",title:t.iconBackToTop.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...c)=>a.onBackToTop&&a.onBackToTop(...c),["prevent"]))},[e.createVNode(r,{iconClass:t.iconBackToTop.iconClass,type:t.iconBackToTop.iconType},null,8,["iconClass","type"])],8,za)):e.createCommentVNode("",!0)]),_:1})}const ja=S(Ha,[["render",Ra]]),Bu="",Ua={name:"CmdBankAccountData",props:{accountData:{type:Array,required:!0},allowCopyByClick:{type:Boolean,default:!0},additionalInformation:{type:String,required:!1},iconCopy:{type:Object,default(){return{iconClass:"icon-file-copy",tooltip:"Copy data to clipboard!",iconType:"auto"}}},cmdHeadline:{type:Object,required:!1}},methods:{copyToClipboard(o){const n=o.replace(/\s/g,"");navigator.clipboard.writeText(n),alert(n+" was copied to clipboard")}}},Wa={class:"cmd-bank-account-data"},Ga={key:0},Ja=["onClick","title"],Ka={key:1};function Xa(o,n,t,s,l,a){const r=L,c=I;return e.openBlock(),e.createElementBlock("div",Wa,[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.accountData,(i,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d},[e.createElementVNode("dt",null,e.toDisplayString(i.text),1),t.allowCopyByClick&&i.allowCopy?(e.openBlock(),e.createElementBlock("dd",Ga,[e.createElementVNode("span",null,e.toDisplayString(i.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>a.copyToClipboard(i.value),["prevent"]),title:t.iconCopy.tooltip},[e.createVNode(c,{iconClass:t.iconCopy.iconClass,type:t.iconCopy.iconType},null,8,["iconClass","type"])],8,Ja)])):(e.openBlock(),e.createElementBlock("dd",{key:d},e.toDisplayString(i.value),1))],64))),128))]),t.additionalInformation?(e.openBlock(),e.createElementBlock("p",Ka,e.toDisplayString(t.additionalInformation),1)):e.createCommentVNode("",!0)])}const Ya=S(Ua,[["render",Xa]]);function Y(o){return o.path?o.path:((o.route==null||typeof o.route!="object"||!o.route.path&&!o.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",o.route),o.route)}const bu="",Qa={data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth}},name:"CmdImage",props:{image:{type:Object,required:!0},figcaption:{type:Object,required:!1}},created(){window.addEventListener("resize",this.updateWindowWidth);const o=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(o.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(o.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{getTextAlign(){var o;return(o=this.figcaption)!=null&&o.textAlign?"text-"+this.figcaption.textAlign:""},imageSource(){const o=this.image.src;if(typeof o=="string")return o;const n=this.currentWindowWidth;return o.small&&n<=this.smallMaxWidth?o.small:o.medium&&n<=this.mediumMaxWidth?o.medium:o.large}},methods:{updateWindowWidth(){this.currentWindowWidth=window.innerWidth}}},Za={key:0},$a=["src","alt","title"],va={key:1};function es(o,n,t,s,l,a){var r,c,i,d,m,h;return e.openBlock(),e.createElementBlock("figure",{class:e.normalizeClass(["cmd-image",a.getTextAlign])},[((r=t.figcaption)==null?void 0:r.show)&&((c=t.figcaption)==null?void 0:c.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",Za,e.toDisplayString((i=t.figcaption)==null?void 0:i.text),1)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:a.imageSource,alt:t.image.alt,title:t.image.tooltip},null,8,$a),((d=t.figcaption)==null?void 0:d.show)&&((m=t.figcaption)==null?void 0:m.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",va,e.toDisplayString((h=t.figcaption)==null?void 0:h.text),1)):e.createCommentVNode("",!0)],2)}const K=S(Qa,[["render",es]]),wu="",ts={name:"CmdSlideButton",props:{slideButtonType:{type:String,default:"next"},slideButtons:{type:Object,default:function(){return{prev:{iconClass:"icon-single-arrow-left",tooltip:"Previous"},next:{iconClass:"icon-single-arrow-right",tooltip:"Next"},up:{iconClass:"icon-single-arrow-up",tooltip:"Previous"},down:{iconClass:"icon-single-arrow-down",tooltip:"Next"}}}}},computed:{getDirection(){return this.slideButtons[this.slideButtonType]?this.slideButtons[this.slideButtonType]:(console.warn("Property 'slideButtonType' does not match slideButtons-key"),{})}}},os=["title"];function ns(o,n,t,s,l,a){const r=I;return e.openBlock(),e.createElementBlock("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),class:e.normalizeClass(["cmd-slide-button","button",t.slideButtonType]),title:a.getDirection.tooltip},[e.createVNode(r,{iconClass:a.getDirection.iconClass||"next"},null,8,["iconClass"])],10,os)}const ae=S(ts,[["render",ns]]),ls={data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image"}}}},Su="",as={name:"CmdThumbnailScroller",components:{CmdImage:K,CmdSlideButton:ae},mixins:[j,ls],data(){return{thumbnails:[]}},props:{fullWidth:{type:Boolean,default:!1},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},imgIndex:{type:Number,required:!1},figcaption:{type:Object,default(){return{show:!0,position:"below-image"}}},cmdSlideButtons:{type:Object,default(){return{next:{next:{type:"next",iconClass:"icon-single-arrow-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-single-arrow-left",tooltip:"Previous"}}}}}},methods:{showNextItem(){const o=this.thumbnails.shift();o&&this.thumbnails.push(o)},showPrevItem(){const o=this.thumbnails.pop();o&&this.thumbnails.unshift(o)},showFancyBox(o){this.allowOpenFancyBox&&ke({fancyBoxGallery:this.thumbnails,defaultGalleryIndex:o}),this.$emit("click",this.thumbnails[o].id)}},watch:{thumbnailScrollerItems:{handler(){this.thumbnails=this.thumbnailScrollerItems.map(o=>{const n={image:{...o.image},figcaption:{...o.figcaption}};return n.image.src=n.image.srcImageSmall,n})},immediate:!0}}},ss=["onClick","title"];function is(o,n,t,s,l,a){const r=ae,c=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":!t.allowOpenFancyBox,"full-width":t.fullWidth}])},[e.createVNode(r,{onClick:e.withModifiers(a.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.thumbnails,(i,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:t.imgIndex===d})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>a.showFancyBox(d),["prevent"]),title:o.getMessage("cmdthumbnailscroller.tooltip.open_large_image")},[e.createVNode(c,{image:i.image,figcaption:i.figcaption},null,8,["image","figcaption"])],8,ss)],2))),128))]),_:1}),e.createVNode(r,{onClick:e.withModifiers(a.showNextItem,["prevent"]),slideButtons:t.cmdSlideButtons.next},null,8,["onClick","slideButtons"])],2)}const Jt=S(as,[["render",is]]);function Kt(){let o=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const t=(o+Math.random()*16)%16|0;return o=Math.floor(o/16),(n==="x"?t:t&3|8).toString(16)})}function Xt(){return"cmd-"+Kt()}const se={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Xt()}},methods:{buildHtmlId(...o){return o.map(n=>n.replace(/\s/g,"")).join("")}}},Vu="",ke=o=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Yt,{...o,show:!0}).mount(n)},Yt=e.defineComponent({name:"CmdFancyBox",mixins:[se],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{ariaLabelText:{type:String,required:!0},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!0},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.allowEscapeKey&&(this.$_FancyBox_escapeKeyHandler=o=>(o.key==="Escape"||o.key==="Esc")&&this.close(),document.querySelector("body").addEventListener("keyup",this.$_FancyBox_escapeKeyHandler)),this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},beforeUnmount(){this.allowEscapeKey&&document.querySelector("body").removeEventListener("keyup",this.$_FancyBox_escapeKeyHandler)},computed:{largeGalleryImage(){const o={...this.fancyBoxGallery[this.index].image};return o.src=o.srcImageLarge,o},largeSingleImage(){var n;const o={...((n=this.cmdImage)==null?void 0:n.image)||{}};return o.src=this.fancyBoxImageUrl,o}},methods:{showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(o=>o.cloneNode(!0)),this.$nextTick(()=>{this.$el.querySelector(".content").append(...this.fancyBoxElements)}))},async loadContent(o){(await rs(o)).startsWith("image/")?this.fancyBoxImageUrl=o:fetch(o).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(o){for(let n=0;n<this.fancyBoxGallery.length;n++)if(this.fancyBoxGallery[n].id===o){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.$options.el?(this.$destroy(),this.$el.remove()):(this.showFancyBox=!1,this.$emit("update:show",!1)),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(o){this.showFancyBox=o},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function rs(o){const n=await fetch(o,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const cs=Yt,ds=["aria-label"],ms={class:"flex-container"},hs={key:1,class:"button-wrapper no-flex"},fs=["title"],us=["title"],ps=["title"],gs={key:0,class:"content"},ys=["innerHTML"],ks={key:2,class:"content"},Cs={key:3,class:"content"},_s={key:4,class:"content"},Bs={key:0,class:"flex-container no-flex"},bs=["title"],ws={key:1},Ss=["title"],Vs={key:1};function xs(o,n,t,s,l,a){var h,u,f,y,p,k,C,V,O,g,N,b,E,D,F,T,q,P,J,U,G,w,R,ee,ce,_,x,M;const r=L,c=I,i=K,d=ae,m=Jt;return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("dialog",{ref:"dialog",class:e.normalizeClass(["cmd-fancybox",{"show-overlay":o.showOverlay,image:o.fancyBoxImageUrl||o.fancyBoxGallery,"image-gallery":o.fancyBoxGallery}]),"aria-label":o.ariaLabelText},[e.createElementVNode("header",ms,[(h=o.cmdHeadline)!=null&&h.show?(e.openBlock(),e.createBlock(r,{key:0,headlineText:(u=o.cmdHeadline)==null?void 0:u.headlineText,headlineLevel:(f=o.cmdHeadline)==null?void 0:f.headlineLevel,id:o.htmlId},null,8,["headlineText","headlineLevel","id"])):e.createCommentVNode("",!0),((y=o.fancyboxOptions.printButtons)==null?void 0:y.color)||((p=o.fancyboxOptions.printButtons)==null?void 0:p.grayscale)||o.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",hs,[o.showPrintButtons&&((k=o.fancyboxOptions.printButtons)==null?void 0:k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(C=o.fancyboxOptions.printButtons.color)==null?void 0:C.tooltip,onClick:n[0]||(n[0]=e.withModifiers(A=>o.printInGrayscale=!1,["prevent"]))},[e.createVNode(c,{iconClass:(V=o.fancyboxOptions.printButtons.color)==null?void 0:V.iconClass,type:(O=o.fancyboxOptions.printButtons.color)==null?void 0:O.iconType},null,8,["iconClass","type"])],8,fs)):e.createCommentVNode("",!0),o.showPrintButtons&&((g=o.fancyboxOptions.printButtons)==null?void 0:g.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(N=o.fancyboxOptions.printButtons.grayscale)==null?void 0:N.tooltip,onClick:n[1]||(n[1]=e.withModifiers(A=>o.printInGrayscale=!0,["prevent"]))},[e.createVNode(c,{iconClass:(b=o.fancyboxOptions.printButtons.grayscale)==null?void 0:b.iconClass,type:(E=o.fancyboxOptions.printButtons.grayscale)==null?void 0:E.iconType},null,8,["iconClass","type"])],8,us)):e.createCommentVNode("",!0),o.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"button primary",id:"close-dialog",title:o.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:n[2]||(n[2]=e.withModifiers((...A)=>o.close&&o.close(...A),["prevent"]))},[e.createVNode(c,{iconClass:o.fancyboxOptions.closeIcon.iconClass,type:o.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,ps)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:o.printInGrayscale}])},[o.fancyBoxImageUrl?(e.openBlock(),e.createElementBlock("div",gs,[e.createVNode(i,{image:o.largeSingleImage,figcaption:(D=o.cmdImage)==null?void 0:D.figcaption},null,8,["image","figcaption"])])):o.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:o.fancyBoxContent},null,8,ys)):o.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",ks)):o.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",Cs,[e.createVNode(d,{onClick:e.withModifiers(o.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(i,{image:o.largeGalleryImage,figcaption:o.fancyBoxGallery[o.index].figcaption},null,8,["image","figcaption"]),e.createVNode(d,{onClick:e.withModifiers(o.showNextItem,["prevent"])},null,8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",_s,[e.renderSlot(o.$slots,"default")]))],2),o.showSubmitButtons&&o.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",Bs,[(F=o.fancyboxOptions.submitButtons)!=null&&F.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...A)=>o.cancel&&o.cancel(...A)),title:(T=o.fancyboxOptions.submitButtons.cancel)==null?void 0:T.tooltip},[(q=o.fancyboxOptions.submitButtons.cancel)!=null&&q.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(P=o.fancyboxOptions.submitButtons.cancel)==null?void 0:P.iconClass,type:(J=o.fancyboxOptions.submitButtons.cancel)==null?void 0:J.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(U=o.fancyboxOptions.submitButtons.cancel)!=null&&U.buttonText?(e.openBlock(),e.createElementBlock("span",ws,e.toDisplayString((G=o.fancyboxOptions.submitButtons.cancel)==null?void 0:G.buttonText),1)):e.createCommentVNode("",!0)],8,bs)):e.createCommentVNode("",!0),(w=o.fancyboxOptions.submitButtons)!=null&&w.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...A)=>o.confirm&&o.confirm(...A)),title:(R=o.fancyboxOptions.submitButtons.cancel)==null?void 0:R.tooltip},[(ee=o.fancyboxOptions.submitButtons.confirm)!=null&&ee.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(ce=o.fancyboxOptions.submitButtons.confirm)==null?void 0:ce.iconClass,type:(_=o.fancyboxOptions.submitButtons.confirm)==null?void 0:_.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(x=o.fancyboxOptions.submitButtons.confirm)!=null&&x.buttonText?(e.openBlock(),e.createElementBlock("span",Vs,e.toDisplayString((M=o.fancyboxOptions.submitButtons.confirm)==null?void 0:M.buttonText),1)):e.createCommentVNode("",!0)],8,Ss)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...o.fancyBoxGallery],allowOpenFancyBox:!1,onClick:o.showItem,imgIndex:o.index},null,8,["thumbnailScrollerItems","onClick","imgIndex"])):e.createCommentVNode("",!0)],10,ds)])}const Es=S(cs,[["render",xs]]),xu="",Ns={name:"CmdListOfLinks",props:{sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},align:{type:String,default:"left"},cmdHeadline:{type:Object,required:!1},links:{type:Array,required:!1},orientation:{type:String,default:"vertical"},useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1}},methods:{getRoute(o){return Y(o)},executeLink(o,n){o.fancybox&&(n.preventDefault(),ke({url:o.path}))}}},Ts=["href","target","onClick","title"],Ds={key:1},Is={key:1};function Os(o,n,t,s,l,a){const r=L,c=I,i=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-list-of-links",{box:t.styleAsBox,horizontal:t.orientation==="horizontal","section-anchors":t.sectionAnchors}])},[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container",{"no-gap":!t.useGap},"align-"+t.align])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.links,(d,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:t.sectionAnchors&&t.activeSection===m})},[d.type==="href"||d.type===void 0?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.path,target:d.target,onClick:h=>a.executeLink(d,h),title:d.tooltip&&d.tooltip!==void 0?d.tooltip:void 0},[d.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",Ds,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)],8,Ts)):d.type==="router"?(e.openBlock(),e.createBlock(i,{key:1,to:a.getRoute(d),title:d.tooltip},{default:e.withCtx(()=>[d.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",Is,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0)],2))),128))],2)],2)}const Qt=S(Ns,[["render",Os]]),Ms={data(){return{defaultMessageProperties:{"cmdbox.productbox.new":"New","cmdbox.productbox.article_no":"Article No:","cmdbox.contentbox.collapse_text":"Collapse text","cmdbox.contentbox.expand_text":"Expand text"}}}},Fs={props:{globalCurrency:{type:Object,default(){return{symbol:"\u20AC",name:"Euro"}}}}},Eu="",ze={name:"CmdBox",mixins:[j,Ms,Fs],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.collapsingBoxesOpen:!0,active:!0,showCutOffText:!1,isRowView:!1}},props:{collapsingBoxesOpen:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},fadeLastLine:{type:Boolean,default:!0},useTransition:{type:Boolean,default:!0},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business"},useSlots:{type:Array,required:!1},image:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-single-arrow-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(o){this.$emit("click",o)}},watch:{collapsingBoxesOpen(){this.collapsible&&(this.open=this.collapsingBoxesOpen)},rowView:{handler(){this.isRowView=this.rowView},immediate:!0}}},Zt=()=>{e.useCssVars(o=>({"143db101":o.cutoffTextLines}))},$t=ze.setup;ze.setup=$t?(o,n)=>(Zt(),$t(o,n)):Zt;const Ls=ze,qs=["title"],Ps={key:1,class:"box-header"},As={key:2,class:"box-body","aria-expanded":"true",role:"article"},Hs=["src","alt"],zs={key:2},Rs={key:3,class:"box-footer"},js={class:"box-header flex-container vertical"},Us={key:0},Ws=["src","alt"],Gs={key:1},Js={key:2,class:"ribbon-new"},Ks={key:3,class:"ribbon-discount"},Xs={class:"box-body"},Ys={key:0},Qs={key:1,class:"price"},Zs=["title"],$s={key:2},vs=e.createElementVNode("br",null,null,-1),ei={class:"box-header flex-container vertical"},ti={key:0},oi=["src","alt"],ni={key:0},li={key:1},ai=["title"],si={key:0},ii={class:"box-body"},ri={key:0},ci={key:1},di={key:2},mi={key:3,class:"description"},hi={class:"tags"},fi={key:0,class:"box-footer"};function ui(o,n,t,s,l,a){var d,m,h,u,f,y,p;const r=L,c=I,i=Qt;return t.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-box box content",{open:l.open,collapsible:t.collapsible,"stretch-vertically":t.stretchVertically&&!t.collapsible,"stretch-horizontally":t.stretchHorizontally,"row-view":l.isRowView}])},[t.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"box-header",title:l.open?t.iconOpen.tooltip:t.iconClosed.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...k)=>a.toggleContentVisibility&&a.toggleContentVisibility(...k),["prevent"]))},[(d=t.useSlots)!=null&&d.includes("header")?e.renderSlot(o.$slots,"header",{key:0}):(m=t.cmdHeadline)!=null&&m.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:1},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:l.open?t.iconOpen.iconClass:t.iconClosed.iconClass,type:l.open?t.iconOpen.iconType:t.iconClosed.iconType},null,8,["iconClass","type"])],8,qs)):(e.openBlock(),e.createElementBlock("div",Ps,[(h=t.useSlots)!=null&&h.includes("header")?e.renderSlot(o.$slots,"header",{key:0}):(u=t.cmdHeadline)!=null&&u.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:1},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0)])),l.open?(e.openBlock(),e.createElementBlock("div",As,[(f=t.useSlots)!=null&&f.includes("body")?e.renderSlot(o.$slots,"body",{key:0},()=>[e.createVNode(e.TransitionGroup,{name:a.toggleTransition},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass({"cutoff-text":t.cutoffTextLines>0,"fade-last-line":t.fadeLastLine&&!l.showCutOffText,"show-text":l.showCutOffText})},e.toDisplayString(t.textBody),3),t.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...k)=>a.toggleCutOffText&&a.toggleCutOffText(...k),["prevent"]))},e.toDisplayString(l.showCutOffText?o.getMessage("cmdbox.contentbox.collapse_text"):o.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])]):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.image?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.image.src,alt:t.image.altText},null,8,Hs)):e.createCommentVNode("",!0),(y=t.cmdHeadline)!=null&&y.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:1},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.textBody?(e.openBlock(),e.createElementBlock("p",zs,e.toDisplayString(t.textBody),1)):e.createCommentVNode("",!0)],64))])):e.createCommentVNode("",!0),(p=t.useSlots)!=null&&p.includes("footer")?(e.openBlock(),e.createElementBlock("div",Rs,[e.renderSlot(o.$slots,"footer")])):e.createCommentVNode("",!0)],2)):t.boxType==="product"&&t.product?(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["cmd-box box product",{"stretch-vertically":t.stretchVertically,"stretch-horizontally":t.stretchHorizontally,"row-view":l.isRowView}]),href:"#",onClick:n[2]||(n[2]=e.withModifiers(k=>a.clickOnProduct(t.product),["prevent"]))},[e.createElementVNode("div",js,[t.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Us,[e.createElementVNode("img",{src:t.product.image.src,alt:t.product.image.alt},null,8,Ws),e.createElementVNode("figcaption",null,e.toDisplayString(t.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Gs,e.toDisplayString(t.product.name),1)),t.product.new?(e.openBlock(),e.createElementBlock("div",Js,[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),t.product.discount?(e.openBlock(),e.createElementBlock("div",Ks,[e.createElementVNode("span",null,e.toDisplayString(t.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Xs,[t.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Ys,e.toDisplayString(o.getMessage("cmdbox.productbox.article_no"))+" "+e.toDisplayString(t.product.articleNumber),1)):e.createCommentVNode("",!0),t.product.price?(e.openBlock(),e.createElementBlock("p",Qs,[e.createElementVNode("span",null,e.toDisplayString(t.product.price),1),e.createElementVNode("span",{title:o.globalCurrency.name},e.toDisplayString(o.globalCurrency.symbol),9,Zs)])):e.createCommentVNode("",!0),t.product.description?(e.openBlock(),e.createElementBlock("p",$s,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0)])],2)):t.boxType==="user"&&t.user?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["cmd-box box user",t.profileType,{"stretch-vertically":t.stretchVertically,"stretch-horizontally":t.stretchHorizontally,"row-view":l.isRowView},"row-view"])},[e.createTextVNode(" isRowView "+e.toDisplayString(l.isRowView),1),vs,e.createTextVNode(" rowView "+e.toDisplayString(t.rowView)+" ",1),e.createElementVNode("div",ei,[t.user.image?(e.openBlock(),e.createElementBlock("figure",ti,[e.createElementVNode("img",{src:t.user.image.src,alt:t.user.image.alt},null,8,oi),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(t.user.name)+" ",1),t.user.age?(e.openBlock(),e.createElementBlock("span",ni,", "+e.toDisplayString(t.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",li,[e.createElementVNode("span",{class:e.normalizeClass(t.defaultProfileIconClass),title:t.user.name},null,10,ai),l.isRowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",si,e.toDisplayString(t.user.name),1))]))]),e.createElementVNode("div",ii,[l.isRowView?(e.openBlock(),e.createElementBlock("p",ri,e.toDisplayString(t.user.name),1)):e.createCommentVNode("",!0),t.user.profession?(e.openBlock(),e.createElementBlock("p",ci,e.toDisplayString(t.user.profession),1)):e.createCommentVNode("",!0),t.user.position?(e.openBlock(),e.createElementBlock("p",di,e.toDisplayString(t.user.position),1)):e.createCommentVNode("",!0),t.user.description?(e.openBlock(),e.createElementBlock("p",mi,e.toDisplayString(t.user.description),1)):e.createCommentVNode("",!0)]),e.createElementVNode("ul",hi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.user.tags,(k,C)=>(e.openBlock(),e.createElementBlock("li",{key:C},e.toDisplayString(k),1))),128))]),t.user.links?(e.openBlock(),e.createElementBlock("div",fi,[e.createVNode(i,{links:t.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const vt=S(Ls,[["render",ui]]),Nu="",Re={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:0}},props:{useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},allowTogglingCollapsingBoxes:{type:Boolean,default:!1},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{boxesPerRowResponsive(o,n){return this.allowUserToToggleView&&this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?o===0?this.boxesPerRow:Math.min(this.boxesPerRow,n):this.boxesPerRow.length>o?this.boxesPerRow[o]:n},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(o,n){this.currentOpenBox=n?o:0}},watch:{useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},eo=()=>{e.useCssVars(o=>({"768e1d12":o.boxesPerRowLarge,"5d1c687e":o.boxesPerRowMedium,"76f5f6de":o.boxesPerRowSmall}))},to=Re.setup;Re.setup=to?(o,n)=>(eo(),to(o,n)):eo;const pi=Re,gi={class:"cmd-box-wrapper"},yi={class:"flex-container no-flex headline-wrapper"},ki={key:1,class:"options-wrapper"},Ci=["title"],_i=["title"];function Bi(o,n,t,s,l,a){const r=L,c=I;return e.openBlock(),e.createElementBlock("div",gi,[e.createElementVNode("div",yi,[t.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.allowUserToToggleOrientation||t.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",ki,[t.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...i)=>a.toggleCollapsingBoxes&&a.toggleCollapsingBoxes(...i),["prevent"])),title:l.collapsingBoxesOpen?t.collapseBoxesIcon.tooltip:t.expandBoxesIcon.tooltip},[e.createVNode(c,{iconClass:l.collapsingBoxesOpen?t.expandBoxesIcon.iconClass:t.collapseBoxesIcon.iconClass,type:l.rowView?t.iconGridView.iconType:t.iconRowView.iconType},null,8,["iconClass","type"])],8,Ci)):e.createCommentVNode("",!0),t.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[1]||(n[1]=e.withModifiers(i=>l.rowView=!l.rowView,["prevent"])),title:l.rowView?t.iconRowView.tooltip:t.iconGridView.tooltip},[e.createVNode(c,{iconClass:l.rowView?t.iconGridView.iconClass:t.iconRowView.iconClass,type:l.rowView?t.iconGridView.iconType:t.iconRowView.iconType},null,8,["iconClass","type"])],8,_i)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass([t.useFlexbox?"flex-container":"grid-container-create-columns",{"row-view":l.rowView,"stretch-boxes-vertically":t.stretchBoxesVertically}])},[e.renderSlot(o.$slots,"default",{collapsingBoxesOpen:l.collapsingBoxesOpen,boxToggled:a.boxToggled,currentOpenBox:l.currentOpenBox,rowView:l.rowView})],2)])}const bi=S(pi,[["render",Bi]]),Tu="",wi={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(o){return Y(o)}}},Si={class:"cmd-breadcrumbs"},Vi={key:0},xi=["href"],Ei={key:1},Ni={key:1},Ti={key:2},Di={key:1},Ii={key:3};function Oi(o,n,t,s,l,a){const r=I,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",Si,[t.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",Vi,e.toDisplayString(t.breadcrumbLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.breadcrumbLinks||[],(i,d)=>(e.openBlock(),e.createElementBlock("li",{key:d},[i.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:i.path},[i.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.text?(e.openBlock(),e.createElementBlock("span",Ei,e.toDisplayString(i.text),1)):e.createCommentVNode("",!0)],8,xi)):i.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(i)},{default:e.withCtx(()=>[i.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.text?(e.openBlock(),e.createElementBlock("span",Ni,e.toDisplayString(i.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",Ti,[i.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.text?(e.openBlock(),e.createElementBlock("span",Di,e.toDisplayString(i.text),1)):e.createCommentVNode("",!0)])),d<t.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Ii,e.toDisplayString(t.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const Mi=S(wi,[["render",Oi]]),Du="",Fi={name:"CmdCompanyLogo",data(){return{prefersColorScheme:""}},props:{link:{type:Object,required:!1},pathDefaultLogo:{type:String,required:!0},pathDarkmodeLogo:{type:String,required:!1},altText:{type:String,required:!0}},computed:{pathCurrentLogo(){return this.prefersColorScheme==="light"||!this.pathDarkmodeLogo?this.pathDefaultLogo:this.pathDarkmodeLogo},image(){return{src:this.pathCurrentLogo,alt:this.altText}}},created(){this.toggleColorScheme(),window.matchMedia("(prefers-color-scheme: light)").addEventListener("change",this.onColorSchemeChange);const o=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(o,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onColorSchemeChange(o){this.prefersColorScheme=o.matches?"light":"dark"},observeDom(o){for(let n=0;n<o.length;n++)if(o[n].type==="attributes"){this.toggleColorScheme();break}},getRoute(o){return Y(o)},toggleColorScheme(){document.querySelector("html").classList.contains("light-mode")?this.prefersColorScheme="light":document.querySelector("html").classList.contains("dark-mode")?this.prefersColorScheme="dark":matchMedia("(prefers-color-scheme: light)").matches?this.prefersColorScheme="light":this.prefersColorScheme="dark"}}},Li={class:"cmd-company-logo"},qi=["href","title"];function Pi(o,n,t,s,l,a){var i,d,m,h,u,f;const r=K,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Li,[((i=t.link)==null?void 0:i.type)==="router"?(e.openBlock(),e.createBlock(c,{key:0,to:(d=t.link)==null?void 0:d.path,title:(m=t.link)==null?void 0:m.tooltip},{default:e.withCtx(()=>[e.createVNode(r,{image:a.image},null,8,["image"])]),_:1},8,["to","title"])):((h=t.link)==null?void 0:h.type)==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:(u=t.link)==null?void 0:u.path,title:(f=t.link)==null?void 0:f.tooltip},[e.createVNode(r,{image:a.image},null,8,["image"])],8,qi)):(e.openBlock(),e.createBlock(r,{key:2,image:a.image},null,8,["image"]))])}const oo=S(Fi,[["render",Pi]]),Iu="",Ai={name:"CmdTooltip",data(){return{tooltipVisibility:!1,pointerX:0,pointerY:0}},props:{cmdHeadline:{type:Object,default(){}},tooltipText:{type:String,required:!1},relatedId:{type:String,required:!1},status:{type:String,required:!1},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this tooltip!"}}},toggleVisibilityByClick:{type:Boolean,default:!1}},mounted(){if(this.relatedId){const o=document.getElementById(this.relatedId);o&&(o.addEventListener("mouseenter",this.showTooltip),document.addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?o.addEventListener("click",this.toggleTooltipVisibility):o.addEventListener("mouseleave",this.hideTooltip))}},methods:{toggleTooltipVisibility(o){this.getPointerPosition(o),this.tooltipVisibility=!this.tooltipVisibility},showTooltip(o){this.toggleVisibilityByClick||(this.tooltipVisibility=!0),this.getPointerPosition(o)},hideTooltipOnEsc(o){this.allowEscapeKey&&(o.key==="Escape"||o.key==="Esc")&&this.hideTooltip()},hideTooltip(){this.tooltipVisibility=!1},getPointerPosition(o){this.pointerX=o.clientX,this.pointerY=o.clientY}},unmounted(){if(this.relatedId){const o=document.getElementById(this.npm);o&&(o.removeEventListener("mouseenter",this.showTooltip),document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?o.removeEventListener("click",this.toggleTooltipVisibility):o.removeEventListener("mouseleave",this.showTooltip))}},watch:{tooltipVisibility(){this.tooltipVisibility&&this.$nextTick(()=>{this.$refs.tooltip.style.left=this.pointerX/10+"rem",this.$refs.tooltip.style.top=(this.pointerY+25)/10+"rem"})}}},Hi={key:0,class:"headline-wrapper"},zi=["title"];function Ri(o,n,t,s,l,a){const r=L,c=I;return l.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",t.status]),ref:"tooltip"},[t.cmdHeadline||t.iconClose.show?(e.openBlock(),e.createElementBlock("div",Hi,[t.cmdHeadline?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.cmdHeadline.iconClass,preHeadline:t.cmdHeadline.preHeadline,headlineLevel:t.cmdHeadline.headlineLevel,headlineText:t.cmdHeadline.headlineText},null,8,["iconClass","preHeadline","headlineLevel","headlineText"])):e.createCommentVNode("",!0),t.iconClose.show&&t.toggleVisibilityByClick?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...i)=>a.hideTooltip&&a.hideTooltip(...i),["prevent"])),title:t.iconClose.tooltip},[e.createVNode(c,{iconClass:t.iconClose.iconClass,type:t.iconClose.iconType},null,8,["iconClass","type"])],8,zi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const no=S(Ai,[["render",Ri]]),ji={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},Ou="",Ui={name:"CmdListOfRequirements",mixins:[j,ji],props:{inputModelValue:{type:[String,Boolean,Array,Number],default:""},inputAttributes:{type:Object,required:!0},labelText:{type:String,required:!1},inputRequirements:{type:Array,required:!0},helplink:{type:Object,required:!1},iconSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"success"}}},iconError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"error"}}},showHeadline:{type:Boolean,default:!0},cmdHeadline:{type:Object,default(){return{headlineLevel:6}}}},computed:{headlineRequirements(){return this.inputRequirements.length>1?this.getMessage("cmdlistofrequirements.headline.requirements_for_input"):this.getMessage("cmdlistofrequirements.headline.requirement_for_input")}}},Wi={class:"cmd-list-of-requirements"},Gi=e.createElementVNode("br",null,null,-1),Ji=e.createElementVNode("hr",null,null,-1),Ki=["href","target"],Xi={key:1};function Yi(o,n,t,s,l,a){var i,d,m;const r=L,c=I;return e.openBlock(),e.createElementBlock("div",Wi,[t.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-level":t.cmdHeadline.headlineLevel},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.headlineRequirements),1),t.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Gi,e.createElementVNode("em",null,e.toDisplayString(t.labelText),1)],64)):e.createCommentVNode("",!0)]),_:1},8,["headline-level"])):e.createCommentVNode("",!0),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inputRequirements,(h,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u},[e.createElementVNode("dt",{"aria-live":"assertive",class:e.normalizeClass(h.valid(t.inputModelValue,t.inputAttributes)?"success":"error")},e.toDisplayString(h.message)+":",3),e.createElementVNode("dd",{class:e.normalizeClass(h.valid(t.inputModelValue,t.inputAttributes)?"success":"error")},[e.createVNode(c,{"aria-live":"assertive",iconClass:h.valid(t.inputModelValue,t.inputAttributes)?t.iconSuccess.iconClass:t.iconError.iconClass,type:h.valid(t.inputModelValue,t.inputAttributes)?t.iconSuccess.iconType:t.iconError.iconType,title:h.valid(t.inputModelValue,t.inputAttributes)?t.iconSuccess.tooltip:t.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),t.helplink&&t.helplink.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Ji,t.helplink.url?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.helplink.url,target:t.helplink.target,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"]))},[(i=t.helplink.icon)!=null&&i.iconClass?(e.openBlock(),e.createBlock(c,{key:0,class:e.normalizeClass((d=t.helplink.icon)==null?void 0:d.iconClass),title:(m=t.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),t.helplink.text?(e.openBlock(),e.createElementBlock("span",Xi,e.toDisplayString(t.helplink.text),1)):e.createCommentVNode("",!0)],8,Ki)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const Qi=S(Ui,[["render",Yi]]),Zi={name:"CmdTooltipForInputElements",props:{relatedId:{type:String,default:""},validationStatus:{type:String,default:""},cmdListOfRequirements:{type:Object,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function $i(o,n,t,s,l,a){const r=Qi,c=no;return e.openBlock(),e.createBlock(c,{ref:"tooltip",class:e.normalizeClass(["box",t.validationStatus]),relatedId:t.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[t.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(r,{key:0,showHeadline:t.cmdListOfRequirements.showHeadline,inputRequirements:t.cmdListOfRequirements.inputRequirements,helplink:t.cmdListOfRequirements.helplink,inputModelValue:t.cmdListOfRequirements.inputModelValue,inputAttributes:t.cmdListOfRequirements.inputAttributes,validationTooltip:t.cmdListOfRequirements.validationTooltip,labelText:t.cmdListOfRequirements.labelText},null,8,["showHeadline","inputRequirements","helplink","inputModelValue","inputAttributes","validationTooltip","labelText"])):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const je=S(Zi,[["render",$i]]),vi={data(){return{defaultMessageProperties:{"cmdformelement.headline.requirements_for_input":"Requirements for input","cmdformelement.validationTooltip.an_error_occurred":"An error occurred!","cmdformelement.validationTooltip.information_is_filled_correctly":"This information is filled correctly!","cmdformelement.validationTooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdformelement.validationTooltip.open_field_requirements":"Open field requirements!","cmdformelement.validationTooltip.is_valid_email":"Is valid e-mail-address"}}}},Ue={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[j,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},getStatusIconType(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconType:this.validationStatus==="error"?this.iconHasStateError.iconType:this.validationStatus==="warning"?this.iconHasStateWarning.iconType:this.validationStatus==="success"?this.iconHasStateSuccess.iconType:this.iconHasStateInfo.iconType:this.helplink.icon.iconType},inputRequirements(){const o=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const n=Object.hasOwn(this,"required")?this.required:this.$attrs.required;o.push({message:this.getRequirementMessage(),valid(t,s){return!s.required&&!n||t!=null&&String(t).length>0}})}return this.$attrs.minlength&&o.push({message:this.getMessage("cmdfieldvalidation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(n,t){return n.length>=t.minlength}}),[...o,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(o){["password","number","url","email"].includes(this.$attrs.type)&&o.getModifierState("CapsLock")?(this.capsLockActivated=!0,this.validationStatus="warning"):this.capsLockActivated&&this.validationStatus==="warning"&&(this.capsLockActivated=!1,this.validationStatus="")},additionalStandardRequirements(){return[]},getRequirementMessage(){return this.getMessage("cmdfieldvalidation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}},We={};function er(o="defaultSequence"){const n=We[o]||0;return We[o]=n+1,We[o]}const Ge={data(){return{tooltip:!1,tooltipId:"tooltip-"+er()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},Fu="",tr=["color","date","datetime-local","file","number","range"],or={inheritAttrs:!1,name:"CmdFormElement",mixins:[j,vi,Ue,se,Ge],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(o){return o==="input"||o==="select"||o==="textarea"||o==="button"},required:!0},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!1},toggleSwitch:{type:Boolean,default:!1},onLabel:{type:String,required:!1},offLabel:{type:String,required:!1},colored:{type:Boolean,required:!1},inputValue:{type:[String,Number],required:!1},replaceInputType:{type:Boolean,default:!1},inputClass:{type:String,required:!1},datalist:{type:Object,required:!1},selectOptions:{type:Array,required:!1},nativeButton:{type:Object,default(){return{text:"",icon:{show:!0,iconClass:"",position:"left",tooltip:""}}}},tooltipText:{type:String,required:!1},fieldIconClass:{type:String,required:!1},displayLabelInline:{type:Boolean,required:!1},status:{type:String,required:!1},showCharactersTextarea:{type:Boolean,default:!0},textCharacters:{type:String,default:"Characters"},showSearchButton:{type:Boolean,default:!0},iconDelete:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Delete term"}}},iconSearch:{type:Object,default(){return{show:!0,iconClass:"icon-search",tooltip:"Search"}}},iconHasStateError:{type:Object,default(){return{show:!0,iconClass:"icon-error-circle",tooltip:"Error"}}},iconHasStateWarning:{type:Object,default(){return{show:!0,iconClass:"icon-warning-circle",tooltip:"Warning"}}},iconHasStateSuccess:{type:Object,default(){return{show:!0,iconClass:"icon-check-circle",tooltip:"Success"}}},iconHasStateInfo:{type:Object,default(){return{show:!0,iconClass:"icon-info-circle",tooltip:"Info"}}},useIconsForToggleSwitch:{type:Boolean,default:!1},toggleSwitchCheckedIconClass:{type:String,default:"icon-check-circle"},toggleSwitchUncheckedIconClass:{type:String,default:"icon-cancel-circle"},iconPasswordVisible:{type:Object,default(){return{show:!0,iconClass:"icon-visible",tooltip:"Show password"}}},iconPasswordInvisible:{type:Object,default(){return{show:!0,iconClass:"icon-not-visible"}}}},computed:{elementAttributes(){const o=["name","required","readonly","disabled","autofocus"],n={input:[...o,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...o,"multiple"],textarea:[...o,"placeholder"]},t={};return n[this.element]&&Object.entries(this.$attrs).filter(([s])=>n[this.element].includes(s)).forEach(([s,l])=>t[s]=l),t},buttonAttrs(){var n,t;const o={...this.$attrs};return(n=this.nativeButton.icon)!=null&&n.tooltip&&(o.title=(t=this.nativeButton.icon)==null?void 0:t.tooltip),o},tooltipHeadline(){return{text:this.labelText,level:"5"}},isChecked(){return typeof this.modelValue=="boolean"?this.modelValue:typeof this.modelValue=="string"?this.modelValue===this.inputValue:typeof this.modelValue=="number"?this.modelValue===this.inputValue:this.modelValue!==void 0?this.modelValue.includes(this.inputValue):!1},charactersTextarea(){return this.textCharacters+" "+this.modelValue.length+"/"+this.getMaxLength()},validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validationTooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},autocomplete(){return this.$attrs.type!=="file"?this.datalist?"off":"on":null},toggleSwitchIconClass(){return this.toggleSwitch&&this.useIconsForToggleSwitch&&this.toggleSwitchUncheckedIconClass&&this.toggleSwitchCheckedIconClass?this.isChecked?this.toggleSwitchCheckedIconClass:this.toggleSwitchUncheckedIconClass:null}},methods:{additionalStandardRequirements(){const o=[];return this.$attrs.type==="email"&&o.push({message:this.getMessage("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),o},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:tr.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(o){var t;((t=o.target.closest("form"))==null?void 0:t.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof o.target.checkValidity=="function"&&!o.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(l=>!l.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(o){this.validateInput(o),this.closeTooltipOnBlur()},onInput(o){this.validateInput(o),this.$emit("update:modelValue",o.target.value)},onChange(o){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",o.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",o.target.value);else if(this.modelValue!==void 0){let n=[...this.modelValue];o.target.checked?n.push(o.target.value):n=n.filter(t=>t!==o.target.value),this.$emit("update:modelValue",n)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const o=this.$refs.input,n=o.value;o.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),o.setAttribute("type","text"),o.setAttribute("value",n)},hidePassword(){this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass,this.iconPasswordVisible.iconClass),this.$refs.input.setAttribute("type","password")},executeSearch(){this.$emit("search",this.value)},closeTooltipOnBlur(){this.$refs.tooltip&&this.$refs.tooltip.hideTooltip()}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},nr=["for","title"],lr={key:0,class:"label-text"},ar={key:2},sr=["title","aria-errormessage","id"],ir={key:1,class:"flex-container"},rr=["id","autocomplete","list","value","maxlength"],cr=["title"],dr=["id"],mr=["value"],hr=["checked","value","id","disabled","aria-invalid"],fr={key:2},ur={class:"switch-label-wrapper"},pr=["checked","value","id","disabled","aria-invalid"],gr={class:"label-text"},yr={class:"label-text"},kr={key:0,class:"label-text"},Cr={key:0},_r=["id"],Br=["value","selected"],br=["id","value","maxlength"],wr={key:6},Sr={key:7,class:"search-field-wrapper flex-container no-gap"},Vr=["id","maxlength","value"],xr=["title"],Er=["title"],Nr={key:1};function Tr(o,n,t,s,l,a){var i,d,m,h,u,f,y,p,k,C,V,O,g,N,b,E,D,F,T,q,P,J,U,G;const r=je,c=I;return t.element==="input"||t.element==="select"||t.element==="textarea"?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["cmd-form-element",o.validationStatus,o.$attrs.class,{disabled:o.$attrs.disabled,inline:t.displayLabelInline,checked:a.isChecked,"toggle-switch":t.toggleSwitch,colored:t.colored,on:t.colored&&a.isChecked,off:t.colored&&!a.isChecked,"has-state":o.validationStatus}]),for:o.htmlId,title:o.$attrs.title,ref:"label"},[(t.labelText||o.$slots.labeltext)&&o.$attrs.type!=="checkbox"&&o.$attrs.type!=="radio"?e.withDirectives((e.openBlock(),e.createElementBlock("span",lr,[e.createElementVNode("span",null,[t.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.labelText),1)],64)):e.renderSlot(o.$slots,"labeltext",{key:1}),o.$attrs.required?(e.openBlock(),e.createElementBlock("sup",ar,"*")):e.createCommentVNode("",!0)]),o.useCustomTooltip&&(o.validationStatus===""||o.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{key:0,ref:"tooltip",validationStatus:o.validationStatus,validationMessage:o.getValidationMessage,relatedId:o.tooltipId,cmdListOfRequirements:o.listOfRequirements,role:o.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),o.$attrs.required||o.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:a.validationTooltip,"aria-errormessage":o.tooltipId,"aria-live":"assertive",id:o.tooltipId},[e.createVNode(c,{iconClass:o.getStatusIconClass},null,8,["iconClass"])],8,sr)):e.createCommentVNode("",!0)],512)),[[e.vShow,t.showLabel]]):e.createCommentVNode("",!0),o.$attrs.type!=="checkbox"&&o.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",ir,[t.fieldIconClass?(e.openBlock(),e.createBlock(c,{key:0,class:"place-inside",iconClass:t.fieldIconClass},null,8,["iconClass"])):e.createCommentVNode("",!0),t.element==="input"&&o.$attrs.type!=="search"?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},a.elementAttributes,{id:o.htmlId,class:t.inputClass,onFocus:n[1]||(n[1]=w=>o.tooltip=!0),onBlur:n[2]||(n[2]=(...w)=>a.onBlur&&a.onBlur(...w)),onInput:n[3]||(n[3]=(...w)=>a.onInput&&a.onInput(...w)),onMouseover:n[4]||(n[4]=(...w)=>a.datalistFocus&&a.datalistFocus(...w)),onKeyup:n[5]||(n[5]=(...w)=>o.checkForCapsLock&&o.checkForCapsLock(...w)),onChange:n[6]||(n[6]=w=>o.$emit("change",w)),autocomplete:a.autocomplete,list:t.datalist?t.datalist.id:null,value:t.modelValue,maxlength:a.getMaxLength(),ref:"input"}),null,16,rr)):e.createCommentVNode("",!0),o.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((...w)=>a.showPassword&&a.showPassword(...w),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((...w)=>a.hidePassword&&a.hidePassword(...w),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((...w)=>a.hidePassword&&a.hidePassword(...w),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:t.iconPasswordVisible.tooltip},[e.createVNode(c,{iconClass:t.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,cr)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.datalist&&t.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:2,id:t.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.datalist.options,(w,R)=>(e.openBlock(),e.createElementBlock("option",{key:R,value:w},null,8,mr))),128))],8,dr)):t.element==="input"&&(o.$attrs.type==="checkbox"||o.$attrs.type==="radio")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t.onLabel&&t.offLabel?t.onLabel&&t.offLabel?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",ur,[e.createElementVNode("input",e.mergeProps(a.elementAttributes,{onChange:n[13]||(n[13]=(...w)=>a.onChange&&a.onChange(...w)),onBlur:n[14]||(n[14]=(...w)=>a.onBlur&&a.onBlur(...w)),checked:a.isChecked,value:t.inputValue,class:{inputClass:t.inputClass,validationStatus:o.validationStatus},id:o.htmlId,disabled:o.$attrs.disabled,"aria-invalid":o.validationStatus==="error"}),null,16,pr),e.createElementVNode("span",gr,e.toDisplayString(t.onLabel),1),e.createElementVNode("span",yr,e.toDisplayString(t.offLabel),1)]),t.labelText?(e.openBlock(),e.createElementBlock("span",kr,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(t.labelText),1),o.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Cr,"*")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],64)):e.renderSlot(o.$slots,"default",{key:2}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(a.elementAttributes,{onChange:n[11]||(n[11]=(...w)=>a.onChange&&a.onChange(...w)),onBlur:n[12]||(n[12]=(...w)=>a.onBlur&&a.onBlur(...w)),checked:a.isChecked,value:t.inputValue,class:[t.inputClass,o.validationStatus,a.toggleSwitchIconClass,{"replace-input-type":t.replaceInputType,"toggle-switch":t.toggleSwitch}],id:o.htmlId,disabled:o.$attrs.disabled,"aria-invalid":o.validationStatus==="error"}),null,16,hr),t.labelText||o.$slots.labeltext?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!t.showLabel}])},[e.createElementVNode("span",null,[t.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.labelText),1)],64)):e.renderSlot(o.$slots,"labeltext",{key:1}),o.$attrs.required?(e.openBlock(),e.createElementBlock("sup",fr,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0),t.element==="select"?(e.openBlock(),e.createElementBlock("select",e.mergeProps({key:4},a.elementAttributes,{id:o.htmlId,onBlur:n[15]||(n[15]=(...w)=>a.onBlur&&a.onBlur(...w)),onChange:n[16]||(n[16]=w=>o.$emit("update:modelValue",w.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectOptions,(w,R)=>(e.openBlock(),e.createElementBlock("option",{key:R,value:w.value,selected:w.value===t.modelValue},e.toDisplayString(w.text),9,Br))),128))],16,_r)):e.createCommentVNode("",!0),t.element==="textarea"?(e.openBlock(),e.createElementBlock("textarea",e.mergeProps({key:5},a.elementAttributes,{id:o.htmlId,value:t.modelValue,maxlength:a.getMaxLength(),onInput:n[17]||(n[17]=(...w)=>a.onInput&&a.onInput(...w)),onFocus:n[18]||(n[18]=w=>o.tooltip=!0),onBlur:n[19]||(n[19]=(...w)=>a.onBlur&&a.onBlur(...w))}),`\r
2
- `,16,br)):e.createCommentVNode("",!0),t.element==="textarea"&&t.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",wr,e.toDisplayString(a.charactersTextarea),1)):t.element==="input"&&o.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",Sr,[e.createElementVNode("input",e.mergeProps(a.elementAttributes,{id:o.htmlId,onInput:n[20]||(n[20]=(...w)=>a.onInput&&a.onInput(...w)),maxlength:a.getMaxLength(),value:t.modelValue}),null,16,Vr),t.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:o.$attrs.disabled}]),title:t.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((...w)=>a.executeSearch&&a.executeSearch(...w),["prevent"]))},[e.createVNode(c,{iconClass:t.iconSearch.iconClass},null,8,["iconClass"])],10,xr)):e.createCommentVNode("",!0),(i=t.iconDelete)!=null&&i.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(w=>o.$emit("update:modelValue",""),["prevent"])),title:(d=t.iconDelete)==null?void 0:d.tooltip},[e.createVNode(c,{iconClass:(m=t.iconDelete)==null?void 0:m.iconClass,type:(h=t.iconDelete)==null?void 0:h.iconType},null,8,["iconClass","type"])],8,Er)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,nr)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},a.buttonAttrs),[((f=(u=t.nativeButton)==null?void 0:u.icon)==null?void 0:f.show)&&(((p=(y=t.nativeButton)==null?void 0:y.icon)==null?void 0:p.position)==="before"||!((C=(k=t.nativeButton)==null?void 0:k.icon)!=null&&C.position))?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(O=(V=t.nativeButton)==null?void 0:V.icon)==null?void 0:O.iconClass,type:(N=(g=t.nativeButton)==null?void 0:g.icon)==null?void 0:N.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((b=t.nativeButton)==null?void 0:b.icon)&&((E=t.nativeButton)==null?void 0:E.text)?(e.openBlock(),e.createElementBlock("span",Nr,e.toDisplayString(t.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(t.nativeButton.text),1)],64)),((F=(D=t.nativeButton)==null?void 0:D.icon)==null?void 0:F.show)&&((q=(T=t.nativeButton)==null?void 0:T.icon)==null?void 0:q.position)==="after"?(e.openBlock(),e.createBlock(c,{key:3,iconClass:(J=(P=t.nativeButton)==null?void 0:P.icon)==null?void 0:J.iconClass,type:(G=(U=t.nativeButton)==null?void 0:U.icon)==null?void 0:G.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const Q=S(or,[["render",Tr]]),Dr={data(){return{defaultMessageProperties:{"cmdcookiedisclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cmdcookiedisclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!"}}}},Lu="",Ir={name:"CmdCookieDisclaimer",mixins:[j,Dr],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{modelValue:{type:Array,required:!1},cmdHeadlineCookieDisclaimer:{type:Object,default(){return{show:!0,headlineText:"Cookie disclaimer",headlineLevel:2}}},cmdBoxRequiredCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Required cookies",headlineLevel:3}}},cmdBoxOptionalCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Optional cookies",headlineLevel:3}}},cookieOptions:{type:Object,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var t,s;const o=this.modelValue?[...this.modelValue]:[],n=((s=(t=this.cookieOptions)==null?void 0:t.required)==null?void 0:s.cookies)||[];for(let l=0;l<n.length;l++)o.includes(n[l].value)||o.push(n[l].value);return o},set(o){this.$emit("update:modelValue",o)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var s,l,a,r;const o=[],n=(l=(s=this.cookieOptions)==null?void 0:s.required)==null?void 0:l.cookies;if(n)for(let c=0;c<n.length;c++)o.push(n[c].value);const t=(r=(a=this.cookieOptions)==null?void 0:a.optional)==null?void 0:r.cookies;if(t)for(let c=0;c<t.length;c++)o.push(t[c].value);this.$emit("close-cookie-disclaimer",o)},openDataPrivacy(o){o.target.target||(o.preventDefault(),fetch(o.target.href).then(n=>n.text()).then(n=>{this.dataPrivacyContent=n}))}}},Or={class:"cmd-cookie-disclaimer flex-container vertical"},Mr={key:0,class:"flex-container vertical"},Fr={key:0},Lr={key:1},qr=["href","target"],Pr=["innerHTML"],Ar=e.createElementVNode("hr",null,null,-1),Hr={key:1,class:"flex-container vertical"},zr={key:0},Rr={key:1},jr=["href","target"],Ur=["innerHTML"],Wr={class:"button-wrapper align-center"};function Gr(o,n,t,s,l,a){const r=L,c=Q,i=vt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var d,m,h;return[e.createElementVNode("div",Or,[((d=t.cmdHeadlineCookieDisclaimer)==null?void 0:d.show)&&((m=t.cmdHeadlineCookieDisclaimer)==null?void 0:m.headlineText)&&((h=t.cmdHeadlineCookieDisclaimer)==null?void 0:h.headlineLevel)?(e.openBlock(),e.createBlock(r,{key:0,headlineText:t.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:t.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"cookie-options",{},()=>{var u,f,y,p,k,C,V,O;return[(u=t.cookieOptions)!=null&&u.required?(e.openBlock(),e.createElementBlock("div",Mr,[(f=t.cmdBoxRequiredCookies)!=null&&f.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-text":(y=t.cmdBoxRequiredCookies)==null?void 0:y.headlineText,"headline-level":(p=t.cmdBoxRequiredCookies)==null?void 0:p.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.cookieOptions.required.cookies||[],(g,N)=>{var b;return e.openBlock(),e.createBlock(i,{useSlots:["header","body"],collapsible:(b=t.cmdBoxRequiredCookies)==null?void 0:b.collapsible,key:N},{header:e.withCtx(()=>[e.createVNode(c,{element:"input",type:"checkbox",modelValue:a.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=E=>a.acceptedCookies=E),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:o.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",Fr,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Lr,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...E)=>a.openDataPrivacy&&a.openDataPrivacy(...E)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,qr)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Pr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),Ar,(k=t.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",Hr,[(C=t.cmdBoxOptionalCookies)!=null&&C.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-text":(V=t.cmdBoxOptionalCookies)==null?void 0:V.headlineText,"headline-level":(O=t.cmdBoxOptionalCookies)==null?void 0:O.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.cookieOptions.optional.cookies||[],(g,N)=>{var b;return e.openBlock(),e.createBlock(i,{useSlots:["header","body"],collapsible:(b=t.cmdBoxOptionalCookies)==null?void 0:b.collapsible,key:N},{header:e.withCtx(()=>[e.createVNode(c,{element:"input",type:"checkbox",modelValue:a.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=E=>a.acceptedCookies=E),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:o.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",zr,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Rr,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...E)=>a.openDataPrivacy&&a.openDataPrivacy(...E)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,jr)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Ur)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(o.$slots,"privacy-text"),e.createElementVNode("div",Wr,[t.buttonLabelAcceptCurrentSettings?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",onClick:n[4]||(n[4]=(...u)=>a.acceptCurrentCookies&&a.acceptCurrentCookies(...u))},[e.createElementVNode("span",null,e.toDisplayString(t.buttonLabelAcceptCurrentSettings),1)])):e.createCommentVNode("",!0),t.buttonLabelAcceptAllCookies?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:n[5]||(n[5]=(...u)=>a.acceptAllCookies&&a.acceptAllCookies(...u))},[e.createElementVNode("span",null,e.toDisplayString(t.buttonLabelAcceptAllCookies),1)])):e.createCommentVNode("",!0)])])]}),_:3})}const Jr=S(Ir,[["render",Gr]]),qu="",Kr={name:"CmdCopyrightWrapper"},Xr={class:"cmd-copyright-information",role:"contentinfo"},Yr=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function Qr(o,n,t,s,l,a){return e.openBlock(),e.createElementBlock("div",Xr,Yr)}const Zr=S(Kr,[["render",Qr]]),$r={data(){return{defaultMessageProperties:{"cmdfakeselect.headline.requirements_for_input":"Requirements for input","cmdfakeselect.linktext.deselect_all_options":"Deselect all options","cmdfakeselect.linktext.select_all_options":"Select all options","cmdfakeselect.headline.":"An option is selected"}}}},Au="",vr={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[j,$r,Ue,se,Ge],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:{}}},props:{type:{type:String,default:"default"},optionLinkType:{type:String,default:"href"},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1},iconDropdown:{type:Object,default(){return{iconClass:"icon-single-arrow-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select\u2026"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},optionName(){var o,n;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const t=this.selectData.find(s=>s.value===this.modelValue);if(t)return t.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(o=this.selectData.find(t=>String(t.value)===String(this.modelValue[0])))==null?void 0:o.text;if(this.modelValue.length>1)return this.modelValue.length+" options selected"}else if((n=this.selectData)!=null&&n.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const o=this.selectData.find(n=>n.value===this.modelValue);return{iconClass:o==null?void 0:o.iconClass,tooltip:o==null?void 0:o.tooltip}}return null},optionCountry(){var o,n;return this.type==="country"?this.modelValue||((n=(o=this.selectData)==null?void 0:o[0])==null?void 0:n.value):null},optionColor(){var o,n;return this.type==="color"?this.modelValue||((n=(o=this.selectData)==null?void 0:o[0])==null?void 0:n.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?"Deselect all options":"Select all options"}},mounted(){const o=setInterval(()=>{this.$refs.fakeselect&&(clearInterval(o),this.limitWidth())},100)},methods:{toggleAllOptions(){this.validationStatus="success";const o=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let n=0;n<this.selectData.length;n++)o.push(String(this.selectData[n].value));this.$emit("update:modelValue",o)},limitWidth(){if(this.$refs.fakeselect){const o=this.$refs.fakeselect.offsetWidth;this.limitWidthStyle={width:o/100*90+"px"}}},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(o){return this.modelValue.some(n=>n===o||n===String(o))},selectOption(o){this.validationStatus="success",this.$attrs.required!==void 0&&(o||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",o)},optionSelect(o){this.validationStatus="success";let n=[...this.modelValue];o.target.checked?n.push(o.target.value):n=n.filter(t=>t!==o.target.value&&String(t)!==o.target.value),this.$attrs.required!==void 0&&!n.length&&(this.validationStatus="error"),this.$emit("update:modelValue",n)},closeOptions(){this.showOptions=!1},pathFlag(o){return this.pathFlags+"/flag-"+o+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return"An option is selected"}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var o;this.type==="default"&&((o=this.selectData)==null?void 0:o.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},ec=["title","aria-labelledby","aria-required"],tc={key:0,class:"label-text"},oc=["id"],nc={key:0},lc=["title","aria-errormessage","id"],ac=["aria-expanded"],sc=["title"],ic=["src","alt"],rc={key:0,role:"listbox"},cc=["aria-selected"],dc=["onClick","title"],mc={key:1},hc=["aria-expanded"],fc=["for"],uc=["value","checked","id"],pc=["onClick"],gc=["src","alt"],yc=["onClick"],kc={key:0,class:"select-all-options"};function Cc(o,n,t,s,l,a){var d,m,h,u;const r=je,c=I,i=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([l.validationStatus,"cmd-fake-select label",{color:t.type==="color","has-state":l.validationStatus&&l.validationStatus!=="none",disabled:o.$attrs.disabled}]),title:o.$attrs.title,role:"listbox","aria-labelledby":o.htmlId,"aria-required":o.$attrs.required!==void 0,ref:"fakeselect"},[t.showLabel?(e.openBlock(),e.createElementBlock("span",tc,[e.createElementVNode("span",{id:o.htmlId},[e.createTextVNode(e.toDisplayString(t.labelText),1),o.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",nc,"*")):e.createCommentVNode("",!0)],8,oc),o.useCustomTooltip&&(l.validationStatus===""||l.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{key:0,ref:"tooltip",validationStatus:l.validationStatus,validationMessage:o.getValidationMessage,relatedId:o.tooltipId,cmdListOfRequirements:o.listOfRequirements,role:l.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),o.$attrs.required||o.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:o.useCustomTooltip?"":o.getValidationMessage,"aria-errormessage":o.tooltipId,"aria-live":"assertive",id:o.tooltipId},[e.createVNode(c,{iconClass:o.getStatusIconClass},null,8,["iconClass"])],8,lc)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:l.showOptions}),onClickout:n[5]||(n[5]=(...f)=>a.closeOptions&&a.closeOptions(...f)),"aria-expanded":l.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...f)=>a.toggleOptions&&a.toggleOptions(...f),["prevent"])),onBlur:n[2]||(n[2]=(...f)=>a.onBlur&&a.onBlur(...f)),title:(d=a.optionIcon)==null?void 0:d.tooltip},[t.type==="country"&&a.optionCountry?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.pathFlag(a.optionCountry),alt:a.optionCountry,class:e.normalizeClass(["flag",a.optionCountry])},null,10,ic)):t.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+a.optionColor)},null,4)):e.createCommentVNode("",!0),(m=a.optionIcon)!=null&&m.iconClass?(e.openBlock(),e.createBlock(c,{key:2,type:(h=a.optionIcon)==null?void 0:h.iconType,iconClass:(u=a.optionIcon)==null?void 0:u.iconClass},null,8,["type","iconClass"])):e.createCommentVNode("",!0),a.optionName?(e.openBlock(),e.createElementBlock("span",{key:3,class:"option-name",style:e.normalizeStyle(l.limitWidthStyle)},e.toDisplayString(a.optionName),5)):e.createCommentVNode("",!0),t.iconDropdown?(e.openBlock(),e.createBlock(c,{key:4,iconClass:t.iconDropdown.iconClass,type:t.iconDropdown.iconType,title:t.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,sc),t.type==="default"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",rc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectData,(f,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,role:"option","aria-selected":f.value===t.modelValue},[t.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(p=>a.selectOption(f.value),["prevent"]),class:e.normalizeClass({active:f.value===t.modelValue}),title:f.tooltip},[f.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),f.text?(e.openBlock(),e.createElementBlock("span",mc,e.toDisplayString(f.text),1)):e.createCommentVNode("",!0)],10,dc)):e.createCommentVNode("",!0),t.optionLinkType==="router"?(e.openBlock(),e.createBlock(i,{key:1,to:"#",onClick:e.withModifiers(p=>a.selectOption(f.value),["prevent"]),class:e.normalizeClass({active:f.value===t.modelValue})},{default:e.withCtx(()=>[f.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(f.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,cc))),128))])):t.type!=="default"&&t.type!=="content"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":t.type==="checkboxOptions"}),"aria-expanded":l.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectData,(f,y)=>(e.openBlock(),e.createElementBlock("li",{key:y},[t.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(y+1),class:e.normalizeClass({active:t.modelValue.includes(`${f.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:f.value,onChange:n[3]||(n[3]=(...p)=>a.optionSelect&&a.optionSelect(...p)),checked:a.compareValues(f.value),id:"option-"+(y+1)},null,40,uc),e.createElementVNode("span",null,e.toDisplayString(f.text),1)],10,fc)):t.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(p=>a.selectOption(f.value),["prevent"]),class:e.normalizeClass({active:f.value===t.modelValue})},[e.createElementVNode("img",{class:"flag",src:a.pathFlag(f.value),alt:f.text},null,8,gc),e.createElementVNode("span",null,e.toDisplayString(f.text),1)],10,pc)):t.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(p=>a.selectOption(f.value),["prevent"]),class:e.normalizeClass({active:f.value===t.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+f.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(f.text),1)],10,yc)):e.createCommentVNode("",!0)]))),128)),t.showSelectAllOptions&&t.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",kc,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...f)=>a.toggleAllOptions&&a.toggleAllOptions(...f),["prevent"]))},[e.createVNode(c,{iconClass:o.selectAllOptionsIcon.iconClass,type:o.selectAllOptionsIcon.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(a.selectAllOptionsText),1)])])):e.createCommentVNode("",!0)],10,hc)):t.type==="content"&&l.showOptions?e.renderSlot(o.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,ac)],10,ec)}const lo=S(vr,[["render",Cc]]),Hu="",_c={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1}},props:{novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},methods:{onSubmit(o){this.useValidation&&(o.preventDefault(),o.target.checkValidity()?(this.errorOccurred=!1,this.$emit("submit",o)):this.errorOccurred=!0)}}},Bc=["data-use-validation","novalidate"],bc={class:"flex-container"};function wc(o,n,t,s,l,a){return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:l.errorOccurred}]),"data-use-validation":t.useValidation,onSubmit:n[0]||(n[0]=(...r)=>a.onSubmit&&a.onSubmit(...r)),novalidate:t.novalidate},[t.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",bc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegend),3),e.renderSlot(o.$slots,"default")]),e.renderSlot(o.$slots,"button-row")],64)):e.renderSlot(o.$slots,"default",{key:1})],42,Bc)}const Sc=S(_c,[["render",wc]]),zu="",Vc={name:"CmdFormFilters",data(){return{options:[]}},props:{modelValue:{type:Array,required:!0},linkDeleteAllFilters:{type:Object,default(){return{text:"Delete all filters",icon:{show:!0,iconClass:"icon-error-circle",tooltip:""}}}},deleteFilterIcon:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Delete this filter",type:"auto"}}},selectedOptionsName:{type:Function,required:!0}},methods:{deleteAllFilters(){this.options=[],this.updateSelectedOptions()},deleteClickedFilter(o){this.options.splice(o,1),this.updateSelectedOptions()},updateSelectedOptions(){this.$emit("update:modelValue",this.options)}},watch:{modelValue:{handler(){this.modelValue?this.options=JSON.parse(JSON.stringify(this.modelValue)):this.options=[]},immediate:!0,deep:!0}}},xc={key:0,class:"cmd-form-filters"},Ec={key:0},Nc={key:1},Tc=["onClick","title"];function Dc(o,n,t,s,l,a){const r=I;return l.options.length?(e.openBlock(),e.createElementBlock("ul",xc,[l.options.length>1?(e.openBlock(),e.createElementBlock("li",Ec,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...c)=>a.deleteAllFilters&&a.deleteAllFilters(...c),["prevent"]))},[t.linkDeleteAllFilters.icon&&t.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.linkDeleteAllFilters.icon.iconClass,title:t.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),t.linkDeleteAllFilters.text?(e.openBlock(),e.createElementBlock("span",Nc,e.toDisplayString(t.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,(c,i)=>(e.openBlock(),e.createElementBlock("li",{key:i},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(d=>a.deleteClickedFilter(i),["prevent"]),title:t.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(t.selectedOptionsName(c)),1),e.createVNode(r,{iconClass:t.deleteFilterIcon.iconClass,type:t.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,Tc)]))),128))])):e.createCommentVNode("",!0)}const ao=S(Vc,[["render",Dc]]),Ru="",Ic={name:"CmdGoogleMaps",props:{address:{type:Object,required:!0}},computed:{locateAddress(){if(this.address){const o=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return o.searchParams.set("hl","de"),o.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),o.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}}},Oc={class:"cmd-google-maps responsive-wrapper"},Mc=["src"];function Fc(o,n,t,s,l,a){return e.openBlock(),e.createElementBlock("div",Oc,[e.createElementVNode("iframe",{src:a.locateAddress},null,8,Mc)])}const Lc=S(Ic,[["render",Fc]]),qc={data(){return{defaultMessageProperties:{"cmdimagegallery.tooltip.open_large_image":"Open large image"}}}},ju="",Pc={name:"CmdImageGallery",mixins:[j,qc],props:{images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},methods:{showFancyBox(o){ke({fancyBoxGallery:this.images,defaultGalleryIndex:o})}}},Ac={class:"grid-container-create-columns cmd-image-gallery"},Hc=["onClick","title"];function zc(o,n,t,s,l,a){const r=K;return e.openBlock(),e.createElementBlock("div",Ac,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.images,(c,i)=>(e.openBlock(),e.createElementBlock("a",{key:i,onClick:e.withModifiers(d=>a.showFancyBox(i),["prevent"]),href:"#",title:o.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(r,{image:c.image,figcaption:c.figcaption},null,8,["image","figcaption"])],8,Hc))),128))])}const Rc=S(Pc,[["render",zc]]),Uu="",jc={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(o){this.showLargeImage=!0,this.$nextTick(()=>{const n=window.innerHeight-this.$el.getBoundingClientRect().y-10,t=this.$el.querySelector(".zoom-container");t.style.height=`${n}px`,so(this,o)})},onMouseMove(o){so(this,o)},onMouseOut(){this.showLargeImage=!1}}};function so(o,n){const t=o.$el.querySelector(".zoom-container"),s=t.querySelector("img"),l=o.$el.querySelector(".zoom-overlay"),a=n.target.getBoundingClientRect().width,r=n.target.getBoundingClientRect().height,c=s.getBoundingClientRect().width,i=s.getBoundingClientRect().height,d=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,m=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,h=Math.min(a,t.getBoundingClientRect().width/c*a),u=Math.min(r,t.getBoundingClientRect().height/i*r),f=io(d-h/2,0,a-h),y=io(m-u/2,0,r-u),p=-(f*(c/a)),k=-(y*(i/r));l.style.left=`${f}px`,l.style.top=`${y}px`,l.style.width=`${h}px`,l.style.height=`${u}px`,l.style.display="block",s.style.marginLeft=`${p}px`,s.style.marginTop=`${k}px`}function io(o,n,t){return o<n?n:o>t?t:o}const Uc={class:"cmd-imagezoom grid-container-create-columns"},Wc={class:"grid-small-item"},Gc={href:"#",class:"thumbnails-imagezoom"},Jc={key:0,class:"zoom-container grid-large-item"},Kc={key:1,class:"zoom-overlay"};function Xc(o,n,t,s,l,a){const r=K;return e.openBlock(),e.createElementBlock("div",Uc,[e.createElementVNode("div",Wc,[e.createElementVNode("a",Gc,[e.createVNode(r,{image:t.imageSmall.image,figcaption:t.imageSmall.figcaption,onMouseover:a.onMouseOver,onMousemove:a.onMouseMove,onMouseout:a.onMouseOut},null,8,["image","figcaption","onMouseover","onMousemove","onMouseout"])])]),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Jc,[e.createVNode(r,{image:t.imageLarge.image,figcaption:t.imageLarge.figcaption,onMouseover:a.onMouseOver,onMousemove:a.onMouseMove,onMouseout:a.onMouseOut},null,8,["image","figcaption","onMouseover","onMousemove","onMouseout"])])):e.createCommentVNode("",!0),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Kc)):e.createCommentVNode("",!0)])}const Yc=S(jc,[["render",Xc]]),Wu="",Qc={mixins:[Ue,se,Ge],data(){return{value:""}},props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio"},status:{type:String,required:!1},replaceInputType:{type:Boolean,default:!1},toggleSwitch:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var o;if(this.required){if((o=this.inputValue)!=null&&o.length){this.validationStatus="";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(o){this.$emit("update:modelValue",o)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},Zc=["aria-labelledby"],$c={class:"label-text"},vc=["id"],ed={key:0},td=["title","aria-errormessage","id"],od=["for"],nd=["type","id","name","value","disabled"],ld={key:1},ad={key:1,class:"flex-container no-flex"};function sd(o,n,t,s,l,a){const r=je,c=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-input-group label",o.validationStatus,{inline:t.labelInline,"multiple-switch":t.multipleSwitch,disabled:t.disabled,"toggle-switch":t.toggleSwitch,"has-state":o.validationStatus}]),"aria-labelledby":o.htmlId},[e.withDirectives(e.createElementVNode("span",$c,[e.createElementVNode("span",{id:o.htmlId},[e.createTextVNode(e.toDisplayString(t.labelText),1),t.required?(e.openBlock(),e.createElementBlock("sup",ed,"*")):e.createCommentVNode("",!0)],8,vc),o.useCustomTooltip&&(o.validationStatus===""||o.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{key:0,ref:"tooltip",showRequirements:o.showRequirements,cmdListOfRequirements:o.listOfRequirements,validationStatus:o.validationStatus,validationMessage:o.getValidationMessage,inputAttributes:o.$attrs,inputModelValue:t.modelValue,helplink:o.helplink,relatedId:o.tooltipId,role:o.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):e.createCommentVNode("",!0),t.required||o.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:a.validationTooltip,"aria-errormessage":o.tooltipId,"aria-live":"assertive",id:o.tooltipId},[e.createVNode(c,{iconClass:o.getStatusIconClass},null,8,["iconClass"])],8,td)):e.createCommentVNode("",!0)],512),[[e.vShow,t.showLabel]]),t.useSlot?(e.openBlock(),e.createElementBlock("div",ad,[e.renderSlot(o.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex-container",{"no-flex":!t.stretchHorizontally,"no-gap":t.multipleSwitch}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inputElements,(i,d)=>(e.openBlock(),e.createElementBlock("label",{key:d,for:i.id},[e.withDirectives(e.createElementVNode("input",{type:t.inputTypes,id:i.id,name:i.name,value:i.value,"onUpdate:modelValue":n[1]||(n[1]=m=>a.inputValue=m),disabled:t.disabled,class:e.normalizeClass({"replace-input-type":t.replaceInputType,"toggle-switch":t.toggleSwitch})},null,10,nd),[[e.vModelDynamic,a.inputValue]]),t.multipleSwitch&&i.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.labelText?(e.openBlock(),e.createElementBlock("span",ld,e.toDisplayString(i.labelText),1)):e.createCommentVNode("",!0)],8,od))),128))],2))],10,Zc)}const id=S(Qc,[["render",sd]]),Gu="",rd={name:"CmdLoginForm",data(){return{usernameValidationStatus:!1,passwordValidationStatus:!1,emailValidationStatus:!1,sendLoginMail:"",sendLogin:!1}},props:{modelValue:{type:Object,default(){return{username:"",password:""}}},textLegendLoginForm:{type:String,default:"Login form"},showLegend:{type:Boolean,default:!0},textLegendForgotLoginForm:{type:String,default:"Forgot login form"},cmdHeadlineLoginForm:{type:Object,required:!1},cmdHeadlineSendLoginForm:{type:Object,required:!1},cmdFormElementUsername:{type:Object,default(){return{labelText:"Username:",placeholder:"Type in username",innerIconClass:"icon-user-profile",name:"login-username",id:"login-username",required:!0}}},cmdFormElementPassword:{type:Object,default(){return{labelText:"Password:",placeholder:"Type in password",innerIconClass:"icon-security-settings",name:"login-password",id:"login-password",required:!0}}},cmdFormElementSendLogin:{type:Object,default(){return{labelText:"Email-address:",placeholder:"Type in email-address you are registered with",innerIconClass:"icon-mail",name:"login-send-login",id:"login-send-login",required:!0}}},options:{type:Object,default(){return{forgotPassword:{icon:{show:!0,iconClass:"icon-questionmark-circle",tooltip:""},text:"Forgot password"},createAccount:{linkType:"href",path:"#",icon:{show:!0,iconClass:"icon-register",tooltip:""},text:"Create new account"},backToLoginForm:{icon:{show:!0,iconClass:"icon-single-arrow-left",tooltip:""},text:"Back to login form"}}}},buttons:{type:Object,default(){return{login:{linkType:"button",type:"submit",path:"",text:"Login",primary:!0,icon:{show:!0,iconClass:"icon-logon",tooltip:""}},sendLogin:{linkType:"button",type:"submit",path:"",text:"Send login",primary:!0,icon:{show:!0,iconClass:"icon-mail",tooltip:""}}}}}},computed:{buttonLoginDisabled(){return!(this.usernameValidationStatus&&this.passwordValidationStatus)},buttonSendLoginDisabled(){return!this.emailValidationStatus},username:{get(){return this.modelValue.username},set(o){this.$emit("update:modelValue",{username:o,password:this.password})}},password:{get(){return this.modelValue.password},set(o){this.$emit("update:modelValue",{username:this.username,password:o})}}},methods:{modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(o){this.$emit("click",o)},getRoute(o){return Y(o)},checkValidationStatus(o,n){o!=null&&(n==="username"?this.usernameValidationStatus=o==="success":n==="password"?this.passwordValidationStatus=o==="success":this.emailValidationStatus=o==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},cd={class:"cmd-login-form flex-container"},dd={class:"flex-container"},md={class:"option-wrapper flex-container"},hd={key:1},fd=["href"],ud={key:1},pd=e.createTextVNode(" /> "),gd={key:1},yd=["type","disabled"],kd={key:1},Cd={class:"cmd-login-form flex-container"},_d={class:"option-wrapper flex-container"},Bd={key:1},bd=["type","disabled"],wd={key:1};function Sd(o,n,t,s,l,a){var m,h,u,f,y,p,k;const r=L,c=Q,i=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",cd,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegendLoginForm),3),t.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",dd,[e.createVNode(c,{element:"input",type:"text",name:t.cmdFormElementUsername.name,id:t.cmdFormElementUsername.id,modelValue:a.username,"onUpdate:modelValue":n[0]||(n[0]=C=>a.username=C),fieldIconClass:t.cmdFormElementUsername.innerIconClass,labelText:t.cmdFormElementUsername.labelText,placeholder:t.cmdFormElementUsername.placeholder,required:t.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=C=>a.checkValidationStatus(C,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(c,{element:"input",type:"password",name:t.cmdFormElementPassword.name,id:t.cmdFormElementPassword.id,fieldIconClass:t.cmdFormElementPassword.innerIconClass,modelValue:a.password,"onUpdate:modelValue":n[2]||(n[2]=C=>a.password=C),labelText:t.cmdFormElementPassword.labelText,placeholder:t.cmdFormElementPassword.placeholder,required:t.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=C=>a.checkValidationStatus(C,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",md,[t.options.forgotPassword||t.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers(C=>l.sendLogin=!0,["prevent"]))},[((m=t.options.forgotPassword.icon)==null?void 0:m.show)&&((h=t.options.forgotPassword.icon)==null?void 0:h.iconClass)?(e.openBlock(),e.createBlock(i,{key:0,iconClass:t.options.forgotPassword.icon.iconClass,type:t.options.forgotPassword.icon.iconType,title:t.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.options.forgotPassword.text?(e.openBlock(),e.createElementBlock("span",hd,e.toDisplayString(t.options.forgotPassword.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.options.createAccount&&t.options.createAccount.linkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:t.options.createAccount.path},[((u=t.options.createAccount.icon)==null?void 0:u.show)&&((f=t.options.createAccount.icon)==null?void 0:f.iconClass)?(e.openBlock(),e.createBlock(i,{key:0,iconClass:t.options.createAccount.icon.iconClass,type:t.options.createAccount.icon.iconType,title:t.options.createAccount.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",ud,e.toDisplayString(t.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,fd)):t.options.createAccount&&t.options.createAccount.linkType==="router"?(e.openBlock(),e.createBlock(d,{key:2,to:t.options.createAccount.path},{default:e.withCtx(()=>[t.options.createAccount.icon&&t.options.createAccount.icon.show&&t.options.createAccount.icon.iconClass?(e.openBlock(),e.createBlock(i,{key:0,class:e.normalizeClass(t.options.createAccount.icon.iconClass),type:t.options.createAccount.icon.iconType,title:t.options.createAccount.icon.tooltip},null,8,["class","type","title"])):e.createCommentVNode("",!0),pd,t.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",gd,e.toDisplayString(t.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:t.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:t.buttons.login.primary}]),onClick:n[5]||(n[5]=(...C)=>a.onClick&&a.onClick(...C)),disabled:a.buttonLoginDisabled},[t.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(i,{key:0,iconClass:t.buttons.login.icon.iconClass,type:t.buttons.login.icon.iconType,title:t.buttons.login.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.buttons.login.text?(e.openBlock(),e.createElementBlock("span",kd,e.toDisplayString(t.buttons.login.text),1)):e.createCommentVNode("",!0)],10,yd)):e.createCommentVNode("",!0)])],512),[[e.vShow,!l.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",Cd,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegendForgotLoginForm),3),t.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(c,{element:"input",type:"email",fieldIconClass:t.cmdFormElementSendLogin.innerIconClass,labelText:t.cmdFormElementSendLogin.labelText,placeholder:t.cmdFormElementSendLogin.placeholder,name:t.cmdFormElementSendLogin.name,required:t.cmdFormElementSendLogin.required,id:t.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=C=>a.checkValidationStatus(C,"email")),modelValue:l.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=C=>l.sendLoginMail=C)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",_d,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(C=>l.sendLogin=!1,["prevent"]))},[t.options.backToLoginForm&&t.options.backToLoginForm.icon&&t.options.backToLoginForm.icon.show&&t.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(i,{key:0,iconClass:t.options.backToLoginForm.icon.iconClass,type:t.options.backToLoginForm.icon.iconType,title:t.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.options.backToLoginForm.text?(e.openBlock(),e.createElementBlock("span",Bd,e.toDisplayString(t.options.backToLoginForm.text),1)):e.createCommentVNode("",!0)]),t.buttons.sendLogin.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:0,type:t.buttons.sendLogin.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:t.buttons.sendLogin.primary}]),disabled:a.buttonSendLoginDisabled},[(y=t.buttons.sendLogin.icon)!=null&&y.iconClass?(e.openBlock(),e.createBlock(i,{key:0,iconClass:(p=t.buttons.sendLogin.icon)==null?void 0:p.iconClass,title:(k=t.buttons.sendLogin.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),t.buttons.sendLogin.text?(e.openBlock(),e.createElementBlock("span",wd,e.toDisplayString(t.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,bd)):e.createCommentVNode("",!0)])],512),[[e.vShow,l.sendLogin]])],64)}const Vd=S(rd,[["render",Sd]]),Ju="",xd={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-single-arrow-down"},subSubentriesIconClass:{type:String,default:"icon-single-arrow-right"},showContentOverlay:{type:Boolean,default:!0}},methods:{closeAllSubentries(o){o||(this.openEntry=-1),this.openSubentry=-1},executeLink(o,n,t,s){var l;if(n.target||n.path.length>1)return this.showOffcanvas=!1,!0;if((l=n==null?void 0:n.subentries)!=null&&l.length){o.preventDefault(),s?this.openSubentry=this.openSubentry===t?-1:t:(this.openEntry=this.openEntry===t?-1:t,this.openSubentry=-1);return}(n.path==="#"||n.path==="")&&(o.preventDefault(),this.$emit("click",n.path)),this.showOffcanvas=!1},getRoute(o){return Y(o)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}}},Ed={key:0,class:"close-nav"},Nd=["href","title","target","onClick"],Td={key:1},Dd={key:1},Id=["aria-expanded"],Od=["href","title","target","onClick"],Md={key:1},Fd={key:1},Ld=["aria-expanded"],qd=["href","title","target","onClick"],Pd={key:1},Ad={key:1};function Hd(o,n,t,s,l,a){const r=I,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-main-navigation",{"hide-sub-navigation":!l.showSubNavigations,"open-off-canvas":l.showOffcanvas,"persist-on-mobile":t.persistOnMobile,"show-content-overlay":t.showContentOverlay}]),id:"main-navigation-wrapper"},[e.createElementVNode("nav",null,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-items":t.stretchMainItems})},[l.showOffcanvas?(e.openBlock(),e.createElementBlock("li",Ed,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...i)=>a.closeOffcanvasNavigation&&a.closeOffcanvasNavigation(...i),["prevent"]))},[t.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.closeOffcanvas.iconClass,type:t.closeOffcanvas.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({hidden:!t.closeOffcanvas.showText})},e.toDisplayString(t.closeOffcanvas.text),3)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.navigationEntries,(i,d)=>{var m,h,u;return e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:i.active,open:l.openEntry===d,"has-subentries":(m=i==null?void 0:i.subentries)==null?void 0:m.length})},[i.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:i.path,title:i.tooltip,target:i.target,onClick:f=>a.executeLink(f,i,d),onMouseover:n[1]||(n[1]=f=>a.closeAllSubentries()),onFocus:n[2]||(n[2]=f=>a.closeAllSubentries())},[i.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.text?(e.openBlock(),e.createElementBlock("span",Td,e.toDisplayString(i.text),1)):e.createCommentVNode("",!0),(h=i==null?void 0:i.subentries)!=null&&h.length?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Nd)):e.createCommentVNode("",!0),i.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(i),title:i.tooltip},{default:e.withCtx(()=>[i.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.text?(e.openBlock(),e.createElementBlock("span",Dd,e.toDisplayString(i.text),1)):e.createCommentVNode("",!0),i.subentries&&i.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),(u=i==null?void 0:i.subentries)!=null&&u.length?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":l.openEntry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.subentries,(f,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,class:e.normalizeClass({open:l.openSubentry===y})},[f.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:f.path,title:f.tooltip,target:f.target,onClick:p=>a.executeLink(p,f,y,1),onMouseover:n[3]||(n[3]=p=>a.closeAllSubentries(1)),onFocus:n[4]||(n[4]=p=>a.closeAllSubentries(1))},[f.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),f.text?(e.openBlock(),e.createElementBlock("span",Md,e.toDisplayString(f.text),1)):e.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Od)):e.createCommentVNode("",!0),f.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(f),title:f.tooltip},{default:e.withCtx(()=>[f.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:f.iconClass,type:f.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),f.text?(e.openBlock(),e.createElementBlock("span",Fd,e.toDisplayString(f.text),1)):e.createCommentVNode("",!0),f.subentries&&f.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),f.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":l.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.subentries,(p,k)=>(e.openBlock(),e.createElementBlock("li",{key:k},[i.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:C=>a.executeLink(C,p)},[p.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Pd,e.toDisplayString(p.text),1)):e.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],8,qd)):e.createCommentVNode("",!0),i.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(p),target:p.target},{default:e.withCtx(()=>[p.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Ad,e.toDisplayString(p.text),1)):e.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","target"])):e.createCommentVNode("",!0)]))),128))],8,Ld)):e.createCommentVNode("",!0)],2))),128))],8,Id)):e.createCommentVNode("",!0)],2)}),128))],2)]),t.persistOnMobile===!1?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:n[5]||(n[5]=e.withModifiers((...i)=>a.toggleOffcanvasNavigation&&a.toggleOffcanvasNavigation(...i),["prevent"]))},[e.createVNode(r,{iconClass:t.buttonOffcanvas.iconClass,type:t.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!t.buttonOffcanvas.showText})},e.toDisplayString(t.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const ro=S(xd,[["render",Hd]]),Ku="",zd={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}}},methods:{clickedStep(o,n){this.activeLink=n,this.$emit("click",{event:o,index:n,stepPath:this.multisteps[n].path})},getRoute(o){return Y(o)}}},Rd={class:"cmd-multistep-form-progress-bar"},jd=["href","onClick","title"],Ud={key:0,class:"number"},Wd={key:2},Gd={key:0,class:"number"},Jd={key:2},Kd=["type","name","title","formaction","onClick"],Xd={key:0,class:"number"},Yd={key:2};function Qd(o,n,t,s,l,a){const r=I,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",Rd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.multisteps,(i,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:l.activeLink===d})},[i.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:i.path,onClick:e.withModifiers(m=>a.clickedStep(m,d),["stop","prevent"]),title:i.tooltip},[t.showStepNumber?(e.openBlock(),e.createElementBlock("span",Ud,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),i.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.text?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString(i.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(t.separatorIconClass)},null,2)],8,jd)):e.createCommentVNode("",!0),i.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(i),title:i.tooltip},{default:e.withCtx(()=>[t.showStepNumber?(e.openBlock(),e.createElementBlock("span",Gd,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),i.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.text?(e.openBlock(),e.createElementBlock("span",Jd,e.toDisplayString(i.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(t.separatorIconClass)},null,2)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),i.type==="button"||i.type==="submit"?(e.openBlock(),e.createElementBlock("button",{key:2,class:"button",type:i.type,name:i.name,title:i.tooltip,formaction:i.formaction,onClick:e.withModifiers(m=>a.clickedStep(m,d),["stop","prevent"])},[t.showStepNumber?(e.openBlock(),e.createElementBlock("span",Xd,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),i.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.text?(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(i.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(t.separatorIconClass)},null,2)],8,Kd)):e.createCommentVNode("",!0)],2))),128))])}const Zd=S(zd,[["render",Qd]]),Xu="";function $d(o,n,t,s=!0){function l(a,r){return r&&a<10?"0"+a:a}return(a,r)=>{if(t){let c=a,i=n;return c>12&&(c-=12,i=t),l(c,s)+o+l(r,!0)+i}return l(a,s)+o+l(r,!0)+n}}const vd={name:"CmdOpeningHours",props:{link:{type:Object,required:!1},closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},openingHours:{type:Array,required:!0},textHolidaysClosed:{type:String,required:!1},textMiscInfo:{type:String,required:!1},cmdHeadline:{type:Object,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},data(){return{currentTime:new Date}},computed:{textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},openingHoursFormatted(){const o=[];for(let n=0;n<this.openingHours.length;n++){const t={},s=this.openingHours[n].fromTime.split(/[:.]/),l=this.openingHours[n].tillTime.split(/[:.]/);t.day=this.openingHours[n].day,t.fromTime={hours:parseInt(s[0]),mins:parseInt(s[1])},t.tillTime={hours:parseInt(l[0]),mins:parseInt(l[1])},o.push(t)}return o},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let o=this.currentTime.getDay();o===0?o=6:o-=1;const n=this.openingHoursFormatted[o];if(this.openingHoursFormatted[o]){const t=new Date;t.setHours(n.fromTime.hours,n.fromTime.mins);const s=new Date;if(s.setHours(n.tillTime.hours,n.tillTime.mins),t<=this.currentTime&&this.currentTime<=s)return!1}return!0}},methods:{getTime(o){return this.timeFormatter?this.timeFormatter(o.hours,o.mins):$d(":"," hrs","",!1)(o.hours,o.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},em={class:"cmd-opening-hours"},tm=["href"],om={key:3},nm={key:0},lm={key:1};function am(o,n,t,s,l,a){var i,d;const r=L,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",em,[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.link&&((i=t.link)==null?void 0:i.path)&&((d=t.link)==null?void 0:d.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.link.path,class:e.normalizeClass({closed:a.isClosed})},e.toDisplayString(a.textOpenClosed),11,tm)):e.createCommentVNode("",!0),t.link.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:t.link.path,class:e.normalizeClass({closed:a.isClosed})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.textOpenClosed),1)]),_:1},8,["to","class"])):e.createCommentVNode("",!0),t.link.type==="button"?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["button",{closed:a.isClosed}])},e.toDisplayString(a.textOpenClosed),3)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({closed:a.isClosed})},e.toDisplayString(a.textOpenClosed),3)),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.openingHoursFormatted,m=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m.day},[e.createElementVNode("dt",null,e.toDisplayString(m.day)+":",1),e.createElementVNode("dd",null,e.toDisplayString(a.getTime(m.fromTime))+"\u2013"+e.toDisplayString(a.getTime(m.tillTime)),1)],64))),128))]),t.textHolidaysClosed||t.textMiscInfo?(e.openBlock(),e.createElementBlock("div",om,[t.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",nm,[e.createElementVNode("strong",null,e.toDisplayString(t.textHolidaysClosed),1)])):e.createCommentVNode("",!0),t.textMiscInfo?(e.openBlock(),e.createElementBlock("p",lm,e.toDisplayString(t.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const sm=S(vd,[["render",am]]),im={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},Yu="",rm={name:"CmdPager",mixins:[j,im],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},linkType:{type:String,default:"href"},prevLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(o){return this.linkType!=="href"||this.currentPage===o?null:"#"},showPage(o){this.currentPage=o,this.$emit("click",o)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},cm={class:"cmd-pager"},dm=["href","title"],mm={key:0},hm={class:"page-index"},fm={class:"flex-container"},um=["href","title","onClick"],pm=["href","title"],gm={key:0};function ym(o,n,t,s,l,a){const r=I;return e.openBlock(),e.createElementBlock("div",cm,[e.createElementVNode("a",{href:a.getPreviousHref,class:e.normalizeClass(["page-change",{disabled:l.currentPage===1,button:t.linkType==="button"}]),onClick:n[0]||(n[0]=e.withModifiers((...c)=>a.previousPage&&a.previousPage(...c),["prevent"])),title:t.prevLink.showText?null:t.prevLink.text},[e.createVNode(r,{iconClass:t.prevLink.iconClass,type:t.prevLink.iconType},null,8,["iconClass","type"]),t.prevLink.showText?(e.openBlock(),e.createElementBlock("span",mm,e.toDisplayString(t.prevLink.text),1)):e.createCommentVNode("",!0)],10,dm),e.createElementVNode("div",hm,[e.createElementVNode("div",fm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pages,(c,i)=>(e.openBlock(),e.createElementBlock("a",{href:a.getHref(c),class:e.normalizeClass({disabled:l.currentPage===i+1,button:t.linkType==="button"}),title:l.currentPage!==i+1?o.getMessage("cmdpager.tooltip.go_to_page",i+1):o.getMessage("cmdpager.tooltip.not_possible"),key:i,onClick:e.withModifiers(d=>a.showPage(c),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(i+1),1)],10,um))),128))])]),e.createElementVNode("a",{href:a.getNextHref,class:e.normalizeClass(["page-change",{disabled:l.currentPage===a.numberOfPages,button:t.linkType==="button"}]),onClick:n[1]||(n[1]=e.withModifiers((...c)=>a.nextPage&&a.nextPage(...c),["prevent"])),title:t.nextLink.showText?null:t.nextLink.text},[t.nextLink.showText?(e.openBlock(),e.createElementBlock("span",gm,e.toDisplayString(t.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(r,{iconClass:t.nextLink.iconClass,type:t.nextLink.iconType},null,8,["iconClass","type"])],10,pm)])}const km=S(rm,[["render",ym]]),Qu="",Cm={name:"CmdProgressBar",inheritAttrs:!1,data(){return{loadingStatus:30}},props:{labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showLoadingStatus:{type:Boolean,default:!0},id:{type:String,required:!0}}},_m=["for"],Bm={class:"progressbar"},bm={key:0},wm=["id","value"];function Sm(o,n,t,s,l,a){return e.openBlock(),e.createElementBlock("label",{class:"cmd-progressbar",for:t.id},[e.createElementVNode("span",{class:e.normalizeClass(["label-text",{hidden:!t.showLabel}])},e.toDisplayString(t.labelText),3),e.createElementVNode("span",Bm,[t.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",bm,e.toDisplayString(l.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(o.$attrs,{id:t.id,value:l.loadingStatus}),null,16,wm)])],8,_m)}const Vm=S(Cm,[["render",Sm]]),Zu="",xm={name:"CmdSocialNetworks",data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,required:!1},useGap:{type:Boolean,default:!0},stretchButtons:{type:Boolean,default:!1},networks:{type:Array,required:!0},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},userMustAcceptDataPrivacy:{type:Boolean,default:!0},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"},cmdFormElement:{type:Object,default(){return{toggleSwitch:!0,labelText:"I accept that anonymous data will be send to the platform I share this page on!",required:!0}}},cmdHeadline:{type:Object,required:!1}},computed:{validNetworks(){return this.networks.filter(o=>o.path)}},methods:{getUrl(o){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?o.path+encodeURIComponent(this.page):o.path+encodeURIComponent(location.href):o.path:"#"},preventOnDisabled(o){let n=o.target;n.tagName!=="A"&&(n=n.closest("a")),n.getAttribute("href")==="#"&&o.preventDefault()},tooltip(o){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?o:this.tooltipAcceptDataPrivacy}}},Em=["id","href","title"],Nm={key:1};function Tm(o,n,t,s,l,a){const r=L,c=Q,i=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:t.stretchButtons,"align-right":t.align==="right"}])},[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(c,{key:1,element:"input",type:"checkbox","toggle-switch":t.cmdFormElement.toggleSwitch,labelText:t.cmdFormElement.labelText,required:t.cmdFormElement.required,modelValue:l.dataPrivacyAccepted,"onUpdate:modelValue":n[0]||(n[0]=d=>l.dataPrivacyAccepted=d)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container no-flex",{"no-gap":t.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.validNetworks,d=>(e.openBlock(),e.createElementBlock("li",null,[(e.openBlock(),e.createElementBlock("a",{key:d.path,class:e.normalizeClass(["button",{disabled:t.userMustAcceptDataPrivacy&&!l.dataPrivacyAccepted}]),id:d.id,href:a.getUrl(d),onClick:n[1]||(n[1]=(...m)=>a.preventOnDisabled&&a.preventOnDisabled(...m)),target:"_blank",title:a.tooltip(d.tooltip)},[d.iconClass&&d.iconPosition!=="right"?(e.openBlock(),e.createBlock(i,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.linkText?(e.openBlock(),e.createElementBlock("span",Nm,e.toDisplayString(d.linkText),1)):e.createCommentVNode("",!0),d.iconClass&&d.iconPosition==="right"?(e.openBlock(),e.createBlock(i,{key:2,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],10,Em))]))),256))],2)],2)}const Dm=S(xm,[["render",Tm]]),$u="",Im={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},Om={class:"cmd-site-footer"};function Mm(o,n,t,s,l,a){return e.openBlock(),e.createElementBlock("div",Om,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:t.orientation==="vertical"}])},[e.renderSlot(o.$slots,"default")],2)])}const Fm=S(Im,[["render",Mm]]),vu="",Lm={name:"CmdSiteHeader",props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}}},qm={key:0,class:"top-header"};function Pm(o,n,t,s,l,a){var i,d,m,h,u,f,y,p;const r=oo,c=ro;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-site-header",{sticky:t.sticky,"navigation-inline":t.navigationInline}]),role:"banner"},[o.$slots.topheader?(e.openBlock(),e.createElementBlock("div",qm,[e.renderSlot(o.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([t.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((d=(i=t.cmdMainNavigation)==null?void 0:i.navigationEntries)==null?void 0:d.length)&&t.navigationInline||o.$slots.navigation}])},[o.$slots.logo||o.$slots.header||o.$slots.navigation?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(o.$slots,"logo"),e.renderSlot(o.$slots,"header"),e.renderSlot(o.$slots,"navigation")],64)):e.createCommentVNode("",!0),t.cmdCompanyLogo||((h=(m=t.cmdMainNavigation)==null?void 0:m.navigationEntries)==null?void 0:h.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.cmdCompanyLogo?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),((f=(u=t.cmdMainNavigation)==null?void 0:u.navigationEntries)==null?void 0:f.length)&&t.navigationInline?(e.openBlock(),e.createBlock(c,{key:1,navigationEntries:t.cmdMainNavigation.navigationEntries,closeOffcanvas:t.closeOffcanvas},null,8,["navigationEntries","closeOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),((p=(y=t.cmdMainNavigation)==null?void 0:y.navigationEntries)==null?void 0:p.length)&&!t.navigationInline?(e.openBlock(),e.createBlock(c,{key:1,navigationEntries:t.cmdMainNavigation.navigationEntries,closeOffcanvas:t.closeOffcanvas},null,8,["navigationEntries","closeOffcanvas"])):e.createCommentVNode("",!0)],2)}const Am=S(Lm,[["render",Pm]]),Hm={data(){return{defaultMessageProperties:{"cmdsitesearch.labeltext.what_to_search":"What do you like to search for?","cmdsitesearch.placeholder.what_to_search":"Search","cmdsitesearch.labeltext.where_to_search":"Where do you want to search?","cmdsitesearch.placeholder.where_to_search":"Zip or city","cmdsitesearch.show_filter_options":"Show filter options","cmdsitesearch.hide_filter_options":"Hide filter options"}}}},ep="",zm={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[j,Hm],data(){return{showFilters:!1}},props:{modelValueInput1:{type:String,required:!1},modelValueInput2:{type:String,required:!1},modelValueRadius:{type:[String,Number],required:!1},modelValueSearchFilters:{type:Array,required:!1},useFilters:{type:Boolean,default:!0},textLegend:{type:String,required:!1},showLegend:{type:Boolean,default:!0},results:{type:[Function,Number],required:!1},cmdHeadline:{type:Object,required:!1},cmdFormElementInput1:{type:Object,default(){return{type:"search",showLabel:!1,required:!0,labelText:"What do you like to search for?",placeholder:"What do you like to search for?",showSearchButton:!1}}},cmdFormElementInput2:{type:Object,default(){return{show:!0,type:"text",showLabel:!1,required:!0,labelText:"Where do you like to search?",placeholder:"Enter city, zip, country"}}},cmdFormElementRadius:{type:Object,default(){return{show:!0,showLabel:!1,required:!1,labelText:"Radius",selectOptions:[{text:"None",value:0},{text:"5 Km",value:5},{text:"10 Km",value:10},{text:"15 Km",value:15},{text:"50 Km",value:50},{text:"100 Km",value:100}]}}},cmdFormElementSearchButton:{type:Object,default(){return{icon:{show:!0,position:"before",iconClass:"icon-search"},text:"Search"}}},cmdFakeSelect:{type:Object,required:!1},cmdIcon:{type:Object,default(){return{showFilters:{iconClass:"icon-single-arrow-up",type:"auto"},hideFilters:{iconClass:"icon-single-arrow-down",type:"auto"}}}}},computed:{searchValue1:{get(){return this.modelValueInput1},set(o){this.$emit("update:modelValueInput1",o)}},searchValue2:{get(){return this.modelValueInput2},set(o){this.$emit("update:modelValueInput2",o)}},radius:{get(){return this.modelValueRadius},set(o){this.$emit("update:modelValueRadius",o)}},searchFilters:{get(){return this.modelValueSearchFilters},set(o){this.$emit("update:modelValueSearchFilters",o)}},buttonSearchDisabled(){const o=!this.cmdFormElementInput1.required||this.searchValue1.trim(),n=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),t=!this.cmdFormElementRadius.show||!this.cmdFormElementRadius.required||this.radius;return!(o&&n&&t)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(o){for(let n=0;n<this.cmdFakeSelect.selectData.length;n++)if(o===this.cmdFakeSelect.selectData[n].value)return this.cmdFakeSelect.selectData[n].text;return null}},watch:{cmdFormElementRadius:{handler(){var o,n;((o=this.cmdFormElementRadius)==null?void 0:o.selectOptions)&&((n=this.cmdFormElementRadius)==null?void 0:n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},Rm={class:"cmd-box-site-search flex-container"},jm={class:"flex-container align-bottom"},Um={class:"flex-container align-bottom no-gap"},Wm={key:0},Gm={key:1},Jm={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Km(o,n,t,s,l,a){var h,u,f,y,p,k,C,V,O,g;const r=L,c=Q,i=I,d=lo,m=ao;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Rm,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegend),3),t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",jm,[e.createVNode(c,{element:"input",type:t.cmdFormElementInput1.type,"show-label":t.cmdFormElementInput1.showLabel,labelText:t.cmdFormElementInput1.labelText,placeholder:t.cmdFormElementInput1.placeholder,required:t.cmdFormElementInput1.required,showSearchButton:t.cmdFormElementInput1.showSearchButton,modelValue:a.searchValue1,"onUpdate:modelValue":n[0]||(n[0]=N=>a.searchValue1=N)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Um,[t.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(c,{key:0,element:"input",type:t.cmdFormElementInput2.type,"show-label":t.cmdFormElementInput2.showLabel,labelText:t.cmdFormElementInput2.labelText,placeholder:t.cmdFormElementInput2.placeholder,required:t.cmdFormElementInput2.required,modelValue:a.searchValue2,"onUpdate:modelValue":n[1]||(n[1]=N=>a.searchValue2=N)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),t.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(c,{key:1,element:"select",class:"no-flex",modelValue:a.radius,"onUpdate:modelValue":n[2]||(n[2]=N=>a.radius=N),"show-label":t.cmdFormElementRadius.showLabel,labelText:t.cmdFormElementRadius.labelText,"select-options":t.cmdFormElementRadius.selectOptions,required:t.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(c,{element:"button",nativeButton:t.cmdFormElementSearchButton,onClick:a.onSearchButtonClick,disabled:a.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),(h=t.cmdFakeSelect)!=null&&h.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(N=>l.showFilters=!l.showFilters,["prevent"]))},[e.createVNode(i,{iconClass:l.showFilters?(f=(u=t.cmdIcon)==null?void 0:u.showFilters)==null?void 0:f.iconClass:(p=(y=t.cmdIcon)==null?void 0:y.hideFilters)==null?void 0:p.iconClass,type:l.showFilters?(C=(k=t.cmdIcon)==null?void 0:k.showFilters)==null?void 0:C.iconType:(O=(V=t.cmdIcon)==null?void 0:V.hideFilters)==null?void 0:O.iconType},null,8,["iconClass","type"]),l.showFilters?(e.openBlock(),e.createElementBlock("span",Wm,e.toDisplayString(o.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Gm,e.toDisplayString(o.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var N,b,E,D,F;return[l.showFilters&&((N=t.cmdFakeSelect)==null?void 0:N.selectData.length)?(e.openBlock(),e.createElementBlock("div",Jm,[e.createVNode(d,{role:"option",selectData:(b=t.cmdFakeSelect)==null?void 0:b.selectData,modelValue:a.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=T=>a.searchFilters=T),defaultOptionName:(E=t.cmdFakeSelect)==null?void 0:E.defaultOptionName,type:(D=t.cmdFakeSelect)==null?void 0:D.type,labelText:(F=t.cmdFakeSelect)==null?void 0:F.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),(g=t.cmdFakeSelect)!=null&&g.show?(e.openBlock(),e.createBlock(m,{key:0,modelValue:a.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=N=>a.searchFilters=N),selectedOptionsName:a.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const Xm=S(zm,[["render",Km]]),tp="",Ym={name:"CmdSlideshow",data(){return{index:0,pause:!1,hnd:null,fullWidth:!1,currentSlotItem:0}},props:{useSlot:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:5e3},showQuickLinkIcons:{type:Boolean,default:!0},showCounter:{type:Boolean,default:!1},slideshowItems:{type:Array,required:!0},cmdSlideButtons:{type:Object,default(){return{next:{next:{iconClass:"icon-single-arrow-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-single-arrow-left",tooltip:"Previous"}}}}}},beforeUnmount(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},methods:{showPrevItem(){this.useSlot&&(this.currentSlotItem>0?this.currentSlotItem--:this.currentSlotItem=Object.keys(this.$slots).length-1),this.index>0?this.index--:this.index=this.slideshowItems.length-1},showItem(o){o>=0&&o<this.slideshowItems.length&&(this.index=o)},showNextItem(){this.useSlot&&(this.currentSlotItem<Object.keys(this.$slots).length-1?this.currentSlotItem++:this.currentSlotItem=0),this.index<this.slideshowItems.length-1?this.index++:this.index=0},setupSlider(){this.autoplay&&this.hnd===null&&(this.hnd=window.setInterval(()=>this.pause||this.showNextItem(),this.autoplayInterval))}},computed:{currentItem(){return this.slideshowItems.length<=this.index?null:this.slideshowItems[this.index]}},watch:{slideshowItems:{handler(){this.index=0,this.setupSlider()},immediate:!0}}},Qm=["href","title"],Zm={key:0,class:"slideshow-item"},$m={key:0},vm=["onClick","aria-label"],eh={key:1};function th(o,n,t,s,l,a){const r=ae,c=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":l.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[0]||(n[0]=i=>l.pause=!0),onMouseleave:n[1]||(n[1]=i=>l.pause=!1)},[e.createVNode(r,{onClick:e.withModifiers(a.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var i,d,m,h,u,f,y,p,k,C,V,O;return[(d=(i=a.currentItem)==null?void 0:i.link)!=null&&d.href?(e.openBlock(),e.createElementBlock("a",{href:(h=(m=a.currentItem)==null?void 0:m.link)==null?void 0:h.href,title:(f=(u=a.currentItem)==null?void 0:u.link)==null?void 0:f.tooltip,key:l.index},[a.currentItem&&!t.useSlot?(e.openBlock(),e.createElementBlock("figure",Zm,[e.createVNode(c,{image:(y=a.currentItem)==null?void 0:y.image,figcaption:(p=a.currentItem)==null?void 0:p.figcaption},null,8,["image","figcaption"])])):e.createCommentVNode("",!0)],8,Qm)):a.currentItem&&!((C=(k=a.currentItem)==null?void 0:k.link)!=null&&C.href)&&!t.useSlot?(e.openBlock(),e.createElementBlock("figure",{key:l.index,class:"slideshow-item"},[e.createVNode(c,{image:(V=a.currentItem)==null?void 0:V.image,figcaption:(O=a.currentItem)==null?void 0:O.figcaption},null,8,["image","figcaption"])])):a.currentItem&&t.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"image-wrapper",key:l.index,style:e.normalizeStyle("background-image: url("+a.currentItem.image.srcLarge+")")},[e.renderSlot(o.$slots,"item"+l.currentSlotItem)],4)):e.createCommentVNode("",!0)]}),_:3}),e.createVNode(r,{onClick:e.withModifiers(a.showNextItem,["prevent"])},null,8,["onClick"]),t.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",$m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.slideshowItems,(i,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:d===l.index})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.index=d,["prevent"]),"aria-label":l.index},null,8,vm)],2))),128))])):e.createCommentVNode("",!0),t.showCounter?(e.openBlock(),e.createElementBlock("span",eh,e.toDisplayString(l.index+1)+"/"+e.toDisplayString(t.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const oh=S(Ym,[["render",th]]),op="",nh={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(o){return Y(o)},activeLanguage(o){return o.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async o=>{const t="../assets/images/flags/flag-"+o.iso2+".svg",{default:s}=await import(t);this.imageSources.push(s)})},immediate:!0,deep:!0}}},lh={class:"cmd-switch-language"},ah=["href","title","onClick"],sh=["src","alt"],ih=["src","alt"];function rh(o,n,t,s,l,a){const r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",lh,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.languages,(c,i)=>(e.openBlock(),e.createElementBlock("li",{key:i},[c.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.link.path,class:e.normalizeClass(["flag",c.iso2,{active:a.activeLanguage(c)}]),title:c.tooltip,onClick:d=>o.$emit("click",{originalEvent:d,language:c})},[e.createElementVNode("img",{src:l.imageSources[i],alt:c.name},null,8,sh)],10,ah)):(e.openBlock(),e.createBlock(r,{key:1,class:e.normalizeClass(["flag",c.iso2]),to:a.getRoute(c),title:c.tooltip,onClick:d=>o.$emit("click",{originalEvent:d,language:c})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:l.imageSources[i],alt:c.name},null,8,ih)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const ch=S(nh,[["render",rh]]),np="",dh={name:"CmdSystemMessage",mixins:[se],data(){return{showSystemMessage:!0}},props:{validationStatus:{type:String,required:!0},fullWidth:{type:Boolean,default:!0},iconMessage:{type:Object,default:function(){return{show:!0,iconClass:"icon-warning",type:"auto"}}},systemMessage:{type:String,required:!1},messageHeadlineLevel:{type:[Number,String],default(){return 6}},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},mh=["role","aria-labelledby"],hh=["title"];function fh(o,n,t,s,l,a){const r=I,c=L;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":t.fullWidth},t.validationStatus]),role:t.validationStatus==="error"?"alert":"dialog","aria-labelledby":o.htmlId},[t.iconClose.show&&t.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(i=>l.showSystemMessage=!1,["prevent"])),title:t.iconClose.tooltip},[e.createVNode(r,{iconClass:t.iconClose.iconClass,type:t.iconClose.iconType},null,8,["iconClass","type"])],8,hh)):e.createCommentVNode("",!0),e.createVNode(c,{class:"message-headline",headlineIcon:a.headlineIcon,headlineText:t.systemMessage,headlineLevel:t.messageHeadlineLevel,id:o.htmlId},null,8,["headlineIcon","headlineText","headlineLevel","id"]),e.renderSlot(o.$slots,"default")],10,mh)):e.createCommentVNode("",!0)]),_:3})}const co=S(dh,[["render",fh]]),lp="",uh={name:"CmdTable",data(){return{showTableData:!0,fullWidth:this.fullWidthOnDefault}},props:{tableData:{type:Object,required:!0},caption:{type:Object,required:!1},collapsible:{type:Boolean,default:!1},fullWidthOnDefault:{type:Boolean,default:!1},userCanToggleWidth:{type:Boolean,default:!0},iconExpand:{type:Object,default:function(){return{iconClass:"icon-single-arrow-down",tooltip:"Expand table"}}},iconCollapse:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Collapse table"}}},iconToggleWidth:{type:Object,default:function(){return{iconClass:"icon-toggle-table-width",tooltip:"Toggle table width"}}},iconStretch:{type:Object,default:function(){return{iconClass:"icon-single-arrow-right",tooltip:"Stretch table"}}}},computed:{hasCaption(){var o,n;return this.hideCaption?!1:((o=this.tableData.caption)==null?void 0:o.text)||((n=this.caption)==null?void 0:n.text)},hideCaption(){var o,n,t;return((o=this.caption)==null?void 0:o.show)===!1||((n=this.caption)==null?void 0:n.show)!==!0&&!((t=this.tableData.caption)!=null&&t.show)}}},ph={key:0,class:"button-wrapper"},gh=["title"],yh=["title"],kh={class:"inner-wrapper"},Ch={"aria-expanded":"true"},_h={key:0,"aria-expanded":"true"};function Bh(o,n,t,s,l,a){var c,i,d,m;const r=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!l.showTableData,"full-width":l.fullWidth,"has-caption":a.hasCaption}])},[t.collapsible||t.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",ph,[t.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(h=>l.fullWidth=!l.fullWidth,["prevent"])),title:t.iconToggleWidth.tooltip},[e.createVNode(r,{iconClass:t.iconToggleWidth.iconClass,type:t.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,gh)):e.createCommentVNode("",!0),t.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(h=>l.showTableData=!l.showTableData,["prevent"])),title:l.showTableData?t.iconCollapse.tooltip:t.iconExpand.tooltip},[e.createVNode(r,{iconClass:l.showTableData?t.iconCollapse.iconClass:t.iconExpand.iconClass,type:l.showTableData?t.iconCollapse.iconType:t.iconExpand.iconType},null,8,["iconClass","type"])],8,yh)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",kh,[e.createElementVNode("table",{class:e.normalizeClass({"full-width":l.fullWidth})},[((c=t.tableData.caption)==null?void 0:c.text)||((i=t.caption)==null?void 0:i.text)?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:a.hideCaption})},e.toDisplayString(((d=t.caption)==null?void 0:d.text)||((m=t.tableData.caption)==null?void 0:m.text)),3)):e.createCommentVNode("",!0),e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tableData.thead,(h,u)=>(e.openBlock(),e.createElementBlock("th",{key:u},e.toDisplayString(h),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",Ch,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tableData.tbody,(h,u)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({highlighted:t.tableData.rowIndexHighlighted===u}),key:u},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h,(f,y)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:t.tableData.columnIndexHighlighted===y}),key:y},e.toDisplayString(f),3))),128))],2))),128))],512),[[e.vShow,l.showTableData]])]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[t.tableData.tfoot&&t.tableData.tfoot.length&&l.showTableData?(e.openBlock(),e.createElementBlock("tfoot",_h,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tableData.tfoot,(h,u)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:t.tableData.columnIndexHighlighted===u}),key:u},e.toDisplayString(h),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2)])],2)}const bh=S(uh,[["render",Bh]]),wh={prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
1
+ (function(B,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(B=typeof globalThis<"u"?globalThis:B||self,e(B["comand-component-library"]={},B.Vue))})(this,function(B,e){"use strict";(function(){const o="on",n="out",t="body",i="stop",l="click",a="apply",r="target",c="prototype",s="Propagation",d="setAttribute",m="relatedTarget",h="addEventListener",f=Symbol(n),u=Object,y=document,p=typeof TouchEvent<"u"?TouchEvent:void 0,k=HTMLElement,C=k[c],S=Event[c],E=[l,"dbl"+l,"mousedown","mouseup","touchstart","touchend","pointerdown","pointerup"],g=new Set(E),D=new Set(E.map(_=>o+_+n)),b=(_,I)=>!!I&&_ instanceof I,x=(_,I)=>_.contains(I),V=(_,I)=>{for(let O of _)I(O)},L=_=>{b(_,k)&&(_[f]?F(_):V(g,I=>{let O=o+I+n,z=_.getAttribute(O);z&&!T(_)[O]&&_[d](O,z)}),V(_.childNodes,L))},T=_=>_[f]=_[f]||{},F=_=>{T(_),H.includes(_)||(H.push(_),ee=!0)},P=(_,I)=>x(I,_)?1:x(_,I)?-1:0,Z=_=>{ee&&(H.sort(P),ee=!1);let I=_[r];b(_,p)?(_=new p(_.type+n,_))[m]=I:_=new _.constructor(_.type+n,u.assign({},_,{[m]:I})),_[i]=[],V(H,O=>{x(O,I)||_[i].some(z=>x(z,O))||O.dispatchEvent(_)})},U=_=>function(){let I=this,O=I.type;_[a](I),D.has(o+O)&&I[i].push(I[r])},Q=(_,I,O)=>_[I]=O(_[I]);function w(_){let I=this[f][o+_.type];I&&I[a](this,[_])}let H=[],ee=!1,ce=y.createElement(t);V(g,_=>{y[h](_,Z,{passive:!0,capture:!0});let I=o+_+n;u.defineProperty(C,I,{get(){return this[f][I]},set(O){this[h](_+n,w),this[f][I]=typeof O=="object"?O.handleEvent:O}})}),Q(C,h,_=>function(...I){D.has(o+I[0])&&F(this),_[a](this,I)}),Q(C,d,_=>function(I,O){D.has(I)?(_[a](ce,[o+l,O]),this[I]=ce[o+l]):_[a](this,[I,O])}),Q(S,i+s,U),Q(S,i+"Immediate"+s,U),new MutationObserver(_=>{V(_,I=>{V(I.addedNodes,L),V(I.removedNodes,O=>{b(O,k)&&(H=H.filter(z=>!x(O,z)))})})}).observe(y.documentElement,{childList:!0,subtree:!0}),L(y[t])})();const te=/^[a-z0-9]+(-[a-z0-9]+)*$/,de=(o,n,t,i="")=>{const l=o.split(":");if(o.slice(0,1)==="@"){if(l.length<2||l.length>3)return null;i=l.shift().slice(1)}if(l.length>3||!l.length)return null;if(l.length>1){const c=l.pop(),s=l.pop(),d={provider:l.length>0?l[0]:i,prefix:s,name:c};return n&&!me(d)?null:d}const a=l[0],r=a.split("-");if(r.length>1){const c={provider:i,prefix:r.shift(),name:r.join("-")};return n&&!me(c)?null:c}if(t&&i===""){const c={provider:i,prefix:"",name:a};return n&&!me(c,t)?null:c}return null},me=(o,n)=>o?!!((o.provider===""||o.provider.match(te))&&(n&&o.prefix===""||o.prefix.match(te))&&o.name.match(te)):!1,gt=Object.freeze({left:0,top:0,width:16,height:16}),he=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ue=Object.freeze({...gt,...he}),Se=Object.freeze({...ue,body:"",hidden:!1});function Wo(o,n){const t={};!o.hFlip!=!n.hFlip&&(t.hFlip=!0),!o.vFlip!=!n.vFlip&&(t.vFlip=!0);const i=((o.rotate||0)+(n.rotate||0))%4;return i&&(t.rotate=i),t}function yt(o,n){const t=Wo(o,n);for(const i in Se)i in he?i in o&&!(i in t)&&(t[i]=he[i]):i in n?t[i]=n[i]:i in o&&(t[i]=o[i]);return t}function Jo(o,n){const t=o.icons,i=o.aliases||{},l=Object.create(null);function a(r){if(t[r])return l[r]=[];if(!(r in l)){l[r]=null;const c=i[r]&&i[r].parent,s=c&&a(c);s&&(l[r]=[c].concat(s))}return l[r]}return(n||Object.keys(t).concat(Object.keys(i))).forEach(a),l}function Yo(o,n,t){const i=o.icons,l=o.aliases||{};let a={};function r(c){a=yt(i[c]||l[c],a)}return r(n),t.forEach(r),yt(o,a)}function kt(o,n){const t=[];if(typeof o!="object"||typeof o.icons!="object")return t;o.not_found instanceof Array&&o.not_found.forEach(l=>{n(l,null),t.push(l)});const i=Jo(o);for(const l in i){const a=i[l];a&&(n(l,Yo(o,l,a)),t.push(l))}return t}const Ko={provider:"",aliases:{},not_found:{},...gt};function Ie(o,n){for(const t in n)if(t in o&&typeof o[t]!=typeof n[t])return!1;return!0}function Ct(o){if(typeof o!="object"||o===null)return null;const n=o;if(typeof n.prefix!="string"||!o.icons||typeof o.icons!="object"||!Ie(o,Ko))return null;const t=n.icons;for(const l in t){const a=t[l];if(!l.match(te)||typeof a.body!="string"||!Ie(a,Se))return null}const i=n.aliases||{};for(const l in i){const a=i[l],r=a.parent;if(!l.match(te)||typeof r!="string"||!t[r]&&!i[r]||!Ie(a,Se))return null}return n}const _t=Object.create(null);function Xo(o,n){return{provider:o,prefix:n,icons:Object.create(null),missing:new Set}}function J(o,n){const t=_t[o]||(_t[o]=Object.create(null));return t[n]||(t[n]=Xo(o,n))}function xe(o,n){return Ct(n)?kt(n,(t,i)=>{i?o.icons[t]=i:o.missing.add(t)}):[]}function $o(o,n,t){try{if(typeof t.body=="string")return o.icons[n]={...t},!0}catch{}return!1}let oe=!1;function Bt(o){return typeof o=="boolean"&&(oe=o),oe}function vo(o){const n=typeof o=="string"?de(o,!0,oe):o;if(n){const t=J(n.provider,n.prefix),i=n.name;return t.icons[i]||(t.missing.has(i)?null:void 0)}}function en(o,n){const t=de(o,!0,oe);if(!t)return!1;const i=J(t.provider,t.prefix);return $o(i,t.name,n)}function bt(o,n){if(typeof o!="object")return!1;if(typeof n!="string"&&(n=o.provider||""),oe&&!n&&!o.prefix){let l=!1;return Ct(o)&&(o.prefix="",kt(o,(a,r)=>{r&&en(a,r)&&(l=!0)})),l}const t=o.prefix;if(!me({provider:n,prefix:t,name:"a"}))return!1;const i=J(n,t);return!!xe(i,o)}const wt=Object.freeze({width:null,height:null}),Nt=Object.freeze({...wt,...he}),tn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,on=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function St(o,n,t){if(n===1)return o;if(t=t||100,typeof o=="number")return Math.ceil(o*n*t)/t;if(typeof o!="string")return o;const i=o.split(tn);if(i===null||!i.length)return o;const l=[];let a=i.shift(),r=on.test(a);for(;;){if(r){const c=parseFloat(a);isNaN(c)?l.push(a):l.push(Math.ceil(c*n*t)/t)}else l.push(a);if(a=i.shift(),a===void 0)return l.join("");r=!r}}function nn(o,n){const t={...ue,...o},i={...Nt,...n},l={left:t.left,top:t.top,width:t.width,height:t.height};let a=t.body;[t,i].forEach(u=>{const y=[],p=u.hFlip,k=u.vFlip;let C=u.rotate;p?k?C+=2:(y.push("translate("+(l.width+l.left).toString()+" "+(0-l.top).toString()+")"),y.push("scale(-1 1)"),l.top=l.left=0):k&&(y.push("translate("+(0-l.left).toString()+" "+(l.height+l.top).toString()+")"),y.push("scale(1 -1)"),l.top=l.left=0);let S;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:S=l.height/2+l.top,y.unshift("rotate(90 "+S.toString()+" "+S.toString()+")");break;case 2:y.unshift("rotate(180 "+(l.width/2+l.left).toString()+" "+(l.height/2+l.top).toString()+")");break;case 3:S=l.width/2+l.left,y.unshift("rotate(-90 "+S.toString()+" "+S.toString()+")");break}C%2===1&&(l.left!==l.top&&(S=l.left,l.left=l.top,l.top=S),l.width!==l.height&&(S=l.width,l.width=l.height,l.height=S)),y.length&&(a='<g transform="'+y.join(" ")+'">'+a+"</g>")});const r=i.width,c=i.height,s=l.width,d=l.height;let m,h;return r===null?(h=c===null?"1em":c==="auto"?d:c,m=St(h,s/d)):(m=r==="auto"?s:r,h=c===null?St(m,d/s):c==="auto"?d:c),{attributes:{width:m.toString(),height:h.toString(),viewBox:l.left.toString()+" "+l.top.toString()+" "+s.toString()+" "+d.toString()},body:a}}const ln=/\sid="(\S+)"/g,an="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let sn=0;function rn(o,n=an){const t=[];let i;for(;i=ln.exec(o);)t.push(i[1]);return t.length&&t.forEach(l=>{const a=typeof n=="function"?n(l):n+(sn++).toString(),r=l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");o=o.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+a+"$3")}),o}const De=Object.create(null);function cn(o,n){De[o]=n}function Te(o){return De[o]||De[""]}function Ve(o){let n;if(typeof o.resources=="string")n=[o.resources];else if(n=o.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:o.path||"/",maxURL:o.maxURL||500,rotate:o.rotate||750,timeout:o.timeout||5e3,random:o.random===!0,index:o.index||0,dataAfterTimeout:o.dataAfterTimeout!==!1}}const Me=Object.create(null),ne=["https://api.simplesvg.com","https://api.unisvg.com"],fe=[];for(;ne.length>0;)ne.length===1||Math.random()>.5?fe.push(ne.shift()):fe.push(ne.pop());Me[""]=Ve({resources:["https://api.iconify.design"].concat(fe)});function dn(o,n){const t=Ve(n);return t===null?!1:(Me[o]=t,!0)}function Ee(o){return Me[o]}let It=(()=>{let o;try{if(o=fetch,typeof o=="function")return o}catch{}})();function mn(o,n){const t=Ee(o);if(!t)return 0;let i;if(!t.maxURL)i=0;else{let l=0;t.resources.forEach(r=>{l=Math.max(l,r.length)});const a=n+".json?icons=";i=t.maxURL-l-t.path.length-a.length}return i}function hn(o){return o===404}const un=(o,n,t)=>{const i=[],l=mn(o,n),a="icons";let r={type:a,provider:o,prefix:n,icons:[]},c=0;return t.forEach((s,d)=>{c+=s.length+1,c>=l&&d>0&&(i.push(r),r={type:a,provider:o,prefix:n,icons:[]},c=s.length),r.icons.push(s)}),i.push(r),i};function fn(o){if(typeof o=="string"){const n=Ee(o);if(n)return n.path}return"/"}const pn={prepare:un,send:(o,n,t)=>{if(!It){t("abort",424);return}let i=fn(n.provider);switch(n.type){case"icons":{const a=n.prefix,c=n.icons.join(","),s=new URLSearchParams({icons:c});i+=a+".json?"+s.toString();break}case"custom":{const a=n.uri;i+=a.slice(0,1)==="/"?a.slice(1):a;break}default:t("abort",400);return}let l=503;It(o+i).then(a=>{const r=a.status;if(r!==200){setTimeout(()=>{t(hn(r)?"abort":"next",r)});return}return l=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{t("next",l)});return}setTimeout(()=>{t("success",a)})}).catch(()=>{t("next",l)})}};function gn(o){const n={loaded:[],missing:[],pending:[]},t=Object.create(null);o.sort((l,a)=>l.provider!==a.provider?l.provider.localeCompare(a.provider):l.prefix!==a.prefix?l.prefix.localeCompare(a.prefix):l.name.localeCompare(a.name));let i={provider:"",prefix:"",name:""};return o.forEach(l=>{if(i.name===l.name&&i.prefix===l.prefix&&i.provider===l.provider)return;i=l;const a=l.provider,r=l.prefix,c=l.name,s=t[a]||(t[a]=Object.create(null)),d=s[r]||(s[r]=J(a,r));let m;c in d.icons?m=n.loaded:r===""||d.missing.has(c)?m=n.missing:m=n.pending;const h={provider:a,prefix:r,name:c};m.push(h)}),n}function xt(o,n){o.forEach(t=>{const i=t.loaderCallbacks;i&&(t.loaderCallbacks=i.filter(l=>l.id!==n))})}function yn(o){o.pendingCallbacksFlag||(o.pendingCallbacksFlag=!0,setTimeout(()=>{o.pendingCallbacksFlag=!1;const n=o.loaderCallbacks?o.loaderCallbacks.slice(0):[];if(!n.length)return;let t=!1;const i=o.provider,l=o.prefix;n.forEach(a=>{const r=a.icons,c=r.pending.length;r.pending=r.pending.filter(s=>{if(s.prefix!==l)return!0;const d=s.name;if(o.icons[d])r.loaded.push({provider:i,prefix:l,name:d});else if(o.missing.has(d))r.missing.push({provider:i,prefix:l,name:d});else return t=!0,!0;return!1}),r.pending.length!==c&&(t||xt([o],a.id),a.callback(r.loaded.slice(0),r.missing.slice(0),r.pending.slice(0),a.abort))})}))}let kn=0;function Cn(o,n,t){const i=kn++,l=xt.bind(null,t,i);if(!n.pending.length)return l;const a={id:i,icons:n,callback:o,abort:l};return t.forEach(r=>{(r.loaderCallbacks||(r.loaderCallbacks=[])).push(a)}),l}function _n(o,n=!0,t=!1){const i=[];return o.forEach(l=>{const a=typeof l=="string"?de(l,n,t):l;a&&i.push(a)}),i}var Bn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function bn(o,n,t,i){const l=o.resources.length,a=o.random?Math.floor(Math.random()*l):o.index;let r;if(o.random){let b=o.resources.slice(0);for(r=[];b.length>1;){const x=Math.floor(Math.random()*b.length);r.push(b[x]),b=b.slice(0,x).concat(b.slice(x+1))}r=r.concat(b)}else r=o.resources.slice(a).concat(o.resources.slice(0,a));const c=Date.now();let s="pending",d=0,m,h=null,f=[],u=[];typeof i=="function"&&u.push(i);function y(){h&&(clearTimeout(h),h=null)}function p(){s==="pending"&&(s="aborted"),y(),f.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),f=[]}function k(b,x){x&&(u=[]),typeof b=="function"&&u.push(b)}function C(){return{startTime:c,payload:n,status:s,queriesSent:d,queriesPending:f.length,subscribe:k,abort:p}}function S(){s="failed",u.forEach(b=>{b(void 0,m)})}function E(){f.forEach(b=>{b.status==="pending"&&(b.status="aborted")}),f=[]}function g(b,x,V){const L=x!=="success";switch(f=f.filter(T=>T!==b),s){case"pending":break;case"failed":if(L||!o.dataAfterTimeout)return;break;default:return}if(x==="abort"){m=V,S();return}if(L){m=V,f.length||(r.length?D():S());return}if(y(),E(),!o.random){const T=o.resources.indexOf(b.resource);T!==-1&&T!==o.index&&(o.index=T)}s="completed",u.forEach(T=>{T(V)})}function D(){if(s!=="pending")return;y();const b=r.shift();if(b===void 0){if(f.length){h=setTimeout(()=>{y(),s==="pending"&&(E(),S())},o.timeout);return}S();return}const x={status:"pending",resource:b,callback:(V,L)=>{g(x,V,L)}};f.push(x),d++,h=setTimeout(D,o.rotate),t(b,n,x.callback)}return setTimeout(D),C}function Dt(o){const n={...Bn,...o};let t=[];function i(){t=t.filter(c=>c().status==="pending")}function l(c,s,d){const m=bn(n,c,s,(h,f)=>{i(),d&&d(h,f)});return t.push(m),m}function a(c){return t.find(s=>c(s))||null}return{query:l,find:a,setIndex:c=>{n.index=c},getIndex:()=>n.index,cleanup:i}}function Tt(){}const Oe=Object.create(null);function wn(o){if(!Oe[o]){const n=Ee(o);if(!n)return;const t=Dt(n),i={config:n,redundancy:t};Oe[o]=i}return Oe[o]}function Nn(o,n,t){let i,l;if(typeof o=="string"){const a=Te(o);if(!a)return t(void 0,424),Tt;l=a.send;const r=wn(o);r&&(i=r.redundancy)}else{const a=Ve(o);if(a){i=Dt(a);const r=o.resources?o.resources[0]:"",c=Te(r);c&&(l=c.send)}}return!i||!l?(t(void 0,424),Tt):i.query(n,l,t)().abort}const Vt="iconify2",le="iconify",Mt=le+"-count",Et=le+"-version",Ot=36e5,Sn=168;function Le(o,n){try{return o.getItem(n)}catch{}}function je(o,n,t){try{return o.setItem(n,t),!0}catch{}}function Lt(o,n){try{o.removeItem(n)}catch{}}function Fe(o,n){return je(o,Mt,n.toString())}function Pe(o){return parseInt(Le(o,Mt))||0}const pe={local:!0,session:!0},jt={local:new Set,session:new Set};let ze=!1;function In(o){ze=o}let ge=typeof window>"u"?{}:window;function Ft(o){const n=o+"Storage";try{if(ge&&ge[n]&&typeof ge[n].length=="number")return ge[n]}catch{}pe[o]=!1}function Pt(o,n){const t=Ft(o);if(!t)return;const i=Le(t,Et);if(i!==Vt){if(i){const c=Pe(t);for(let s=0;s<c;s++)Lt(t,le+s.toString())}je(t,Et,Vt),Fe(t,0);return}const l=Math.floor(Date.now()/Ot)-Sn,a=c=>{const s=le+c.toString(),d=Le(t,s);if(typeof d=="string"){try{const m=JSON.parse(d);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>l&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&n(m,c))return!0}catch{}Lt(t,s)}};let r=Pe(t);for(let c=r-1;c>=0;c--)a(c)||(c===r-1?(r--,Fe(t,r)):jt[o].add(c))}function zt(){if(!ze){In(!0);for(const o in pe)Pt(o,n=>{const t=n.data,i=n.provider,l=t.prefix,a=J(i,l);if(!xe(a,t).length)return!1;const r=t.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,r):r,!0})}}function xn(o,n){const t=o.lastModifiedCached;if(t&&t>=n)return t===n;if(o.lastModifiedCached=n,t)for(const i in pe)Pt(i,l=>{const a=l.data;return l.provider!==o.provider||a.prefix!==o.prefix||a.lastModified===n});return!0}function Dn(o,n){ze||zt();function t(i){let l;if(!pe[i]||!(l=Ft(i)))return;const a=jt[i];let r;if(a.size)a.delete(r=Array.from(a).shift());else if(r=Pe(l),!Fe(l,r+1))return;const c={cached:Math.floor(Date.now()/Ot),provider:o.provider,data:n};return je(l,le+r.toString(),JSON.stringify(c))}n.lastModified&&!xn(o,n.lastModified)||!Object.keys(n.icons).length||(n.not_found&&(n=Object.assign({},n),delete n.not_found),t("local")||t("session"))}function At(){}function Tn(o){o.iconsLoaderFlag||(o.iconsLoaderFlag=!0,setTimeout(()=>{o.iconsLoaderFlag=!1,yn(o)}))}function Vn(o,n){o.iconsToLoad?o.iconsToLoad=o.iconsToLoad.concat(n).sort():o.iconsToLoad=n,o.iconsQueueFlag||(o.iconsQueueFlag=!0,setTimeout(()=>{o.iconsQueueFlag=!1;const{provider:t,prefix:i}=o,l=o.iconsToLoad;delete o.iconsToLoad;let a;if(!l||!(a=Te(t)))return;a.prepare(t,i,l).forEach(c=>{Nn(t,c,(s,d)=>{if(typeof s!="object"){if(d!==404)return;c.icons.forEach(m=>{o.missing.add(m)})}else try{const m=xe(o,s);if(!m.length)return;const h=o.pendingIcons;h&&m.forEach(f=>{h.delete(f)}),Dn(o,s)}catch(m){console.error(m)}Tn(o)})})}))}const Mn=(o,n)=>{const t=_n(o,!0,Bt()),i=gn(t);if(!i.pending.length){let s=!0;return n&&setTimeout(()=>{s&&n(i.loaded,i.missing,i.pending,At)}),()=>{s=!1}}const l=Object.create(null),a=[];let r,c;return i.pending.forEach(s=>{const{provider:d,prefix:m}=s;if(m===c&&d===r)return;r=d,c=m,a.push(J(d,m));const h=l[d]||(l[d]=Object.create(null));h[m]||(h[m]=[])}),i.pending.forEach(s=>{const{provider:d,prefix:m,name:h}=s,f=J(d,m),u=f.pendingIcons||(f.pendingIcons=new Set);u.has(h)||(u.add(h),l[d][m].push(h))}),a.forEach(s=>{const{provider:d,prefix:m}=s;l[d][m].length&&Vn(s,l[d][m])}),n?Cn(n,i,a):At};function En(o,n){const t={...o};for(const i in n){const l=n[i],a=typeof l;i in wt?(l===null||l&&(a==="string"||a==="number"))&&(t[i]=l):a===typeof t[i]&&(t[i]=i==="rotate"?l%4:l)}return t}const On=/[\s,]+/;function Ln(o,n){n.split(On).forEach(t=>{switch(t.trim()){case"horizontal":o.hFlip=!0;break;case"vertical":o.vFlip=!0;break}})}function jn(o,n=0){const t=o.replace(/^-?[0-9.]*/,"");function i(l){for(;l<0;)l+=4;return l%4}if(t===""){const l=parseInt(o);return isNaN(l)?0:i(l)}else if(t!==o){let l=0;switch(t){case"%":l=25;break;case"deg":l=90}if(l){let a=parseFloat(o.slice(0,o.length-t.length));return isNaN(a)?0:(a=a/l,a%1===0?i(a):0)}}return n}function Fn(o,n){let t=o.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in n)t+=" "+i+'="'+n[i]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+t+">"+o+"</svg>"}function Pn(o){return o.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function zn(o){return'url("data:image/svg+xml,'+Pn(o)+'")'}const qt={...Nt,inline:!1},An={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},qn={display:"inline-block"},Ae={backgroundColor:"currentColor"},Ht={backgroundColor:"transparent"},Rt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ut={webkitMask:Ae,mask:Ae,background:Ht};for(const o in Ut){const n=Ut[o];for(const t in Rt)n[o+t]=Rt[t]}const ye={};["horizontal","vertical"].forEach(o=>{const n=o.slice(0,1)+"Flip";ye[o+"-flip"]=n,ye[o.slice(0,1)+"-flip"]=n,ye[o+"Flip"]=n});function Gt(o){return o+(o.match(/^[-0-9.]+$/)?"px":"")}const Qt=(o,n)=>{const t=En(qt,n),i={...An},l=n.mode||"svg",a={},r=n.style,c=typeof r=="object"&&!(r instanceof Array)?r:{};for(let p in n){const k=n[p];if(k!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":t[p]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&Ln(t,k);break;case"color":a.color=k;break;case"rotate":typeof k=="string"?t[p]=jn(k):typeof k=="number"&&(t[p]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete i["aria-hidden"];break;default:{const C=ye[p];C?(k===!0||k==="true"||k===1)&&(t[C]=!0):qt[p]===void 0&&(i[p]=k)}}}const s=nn(o,t),d=s.attributes;if(t.inline&&(a.verticalAlign="-0.125em"),l==="svg"){i.style={...a,...c},Object.assign(i,d);let p=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),i.innerHTML=rn(s.body,k?()=>k+"ID"+p++:"iconifyVue"),e.h("svg",i)}const{body:m,width:h,height:f}=o,u=l==="mask"||(l==="bg"?!1:m.indexOf("currentColor")!==-1),y=Fn(m,{...d,width:h+"",height:f+""});return i.style={...a,"--svg":zn(y),width:Gt(d.width),height:Gt(d.height),...qn,...u?Ae:Ht,...c},e.h("span",i)};if(Bt(!0),cn("",pn),typeof document<"u"&&typeof window<"u"){zt();const o=window;if(o.IconifyPreload!==void 0){const n=o.IconifyPreload,t="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(i=>{try{(typeof i!="object"||i===null||i instanceof Array||typeof i.icons!="object"||typeof i.prefix!="string"||!bt(i))&&console.error(t)}catch{console.error(t)}})}if(o.IconifyProviders!==void 0){const n=o.IconifyProviders;if(typeof n=="object"&&n!==null)for(let t in n){const i="IconifyProviders["+t+"] is invalid.";try{const l=n[t];if(typeof l!="object"||!l||l.resources===void 0)continue;dn(t,l)||console.error(i)}catch{console.error(i)}}}}const Hn={...ue,body:""},Rn=e.defineComponent({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(o,n){if(typeof o=="object"&&o!==null&&typeof o.body=="string")return this._name="",this.abortLoading(),{data:o};let t;if(typeof o!="string"||(t=de(o,!1,!0))===null)return this.abortLoading(),null;const i=vo(t);if(!i)return(!this._loadingIcon||this._loadingIcon.name!==o)&&(this.abortLoading(),this._name="",i!==null&&(this._loadingIcon={name:o,abort:Mn([t],()=>{this.counter++})})),null;this.abortLoading(),this._name!==o&&(this._name=o,n&&n(o));const l=["iconify"];return t.prefix!==""&&l.push("iconify--"+t.prefix),t.provider!==""&&l.push("iconify--"+t.provider),{data:i,classes:l}}},render(){this.counter;const o=this.$attrs,n=this.iconMounted?this.getIcon(o.icon,o.onLoad):null;if(!n)return Qt(Hn,o);let t=o;return n.classes&&(t={...o,class:(typeof o.class=="string"?o.class+" ":"")+n.classes.join(" ")}),Qt({...ue,...n.data},t)}}),kf="",N=(o,n)=>{const t=o.__vccOpts||o;for(const[i,l]of n)t[i]=l;return t},Un={name:"CmdIcon",components:{Icon:Rn},props:{type:{type:String,default:"auto"},iconClass:{type:String,required:!0},tooltip:{type:String,required:!1}},computed:{isIconify(){return this.type==="iconify"?!0:this.type==="auto"?this.iconClass.includes(":"):!1}}},Gn=["title"];function Qn(o,n,t,i,l,a){const r=e.resolveComponent("Icon");return a.isIconify?(e.openBlock(),e.createBlock(r,{key:0,icon:t.iconClass,title:t.tooltip,class:e.normalizeClass(o.$attrs.class)},null,8,["icon","title","class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass([t.iconClass,o.$attrs.class]),title:t.tooltip},null,10,Gn))}const M=N(Un,[["render",Qn]]),Cf="",Zn={name:"CmdHeadline",props:{headlineText:{type:String,required:!1},headlineLevel:{type:[String,Number],required:!0},preHeadlineText:{type:String,required:!1},headlineIcon:{type:Object,required:!1},textAlign:{type:String,default:"left"}},computed:{getHeadlineTag(){return this.headlineLevel?"h"+this.headlineLevel:"h3"},getTextAlign(){return this.textAlign?"text-"+this.textAlign:""}}},Wn={key:1},Jn={class:"pre-headline-text"};function Yn(o,n,t,i,l,a){var c,s,d;const r=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":t.preHeadlineText,"has-icon":(c=t.headlineIcon)==null?void 0:c.iconClass},a.getTextAlign])},[t.headlineIcon?(e.openBlock(),e.createBlock(r,{key:0,iconClass:(s=t.headlineIcon)==null?void 0:s.iconClass,type:(d=t.headlineIcon)==null?void 0:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),t.preHeadlineText?(e.openBlock(),e.createElementBlock("div",Wn,[e.createElementVNode("span",Jn,e.toDisplayString(t.preHeadlineText),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.getHeadlineTag),null,{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.headlineText),1)])]),_:3}))])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.getHeadlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.headlineText),1)])]),_:3}))],2)}const j=N(Zn,[["render",Yn]]),R={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(o,...n){if(!o)return"";let t=this.i18n;if(typeof this.i18n=="function"&&(t=this.i18n.call(this,o,n),typeof t!="object"))return t;let i=t[o]||this.getDefaultMessageProperty(o)||o;return typeof i=="function"?i.call(this,n||[]):(Array.isArray(n)&&n.length&&n.forEach((l,a)=>i=i.replace("{"+a+"}",l)),i)},getDefaultMessageProperty(o){var t;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[o])return this.defaultMessageProperties[o];const n=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return n&&((t=this[n])==null?void 0:t[o])?this[n][o]:null}}},Kn={data(){return{defaultMessageProperties:{"cmdaddressdata.labeltext.company":"Company:","cmdaddressdata.labeltext.address":"Address:","cmdaddressdata.labeltext.telephone":"Telephone:","cmdaddressdata.labeltext.mobile_phone":"Mobile phone:","cmdaddressdata.labeltext.fax":"Fax:","cmdaddressdata.labeltext.email":"Email:","cmdaddressdata.labeltext.website":"Web site:","cmdaddressdata.labeltext.custom":"Custom:","cmdaddressdata.title.open_address_on_google_maps:":"Open address on GoogleMaps\u2122 (in new tab)","cmdaddressdata.title.call_number":"Call number","cmdaddressdata.title.send_email":"Send email","cmdaddressdata.title.visit_website":"Visit web site (in new tab)"}}}},_f="",Xn={name:"CmdAddressData",mixins:[R,Kn],props:{showIconsOnly:{type:Boolean,default:!1},showLabelIcons:{type:Boolean,default:!0},showLabelTexts:{type:Boolean,default:!0},showLabels:{type:Boolean,default:!0},addressData:{type:Object,required:!0},linkGoogleMaps:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1}},computed:{locateAddress(){return"https://www.google.com/maps/place/"+this.addressData.address.streetNo+", "+this.addressData.address.zip+" "+this.addressData.address.city},websiteUrlText(){var o;return(o=this.addressData.website)==null?void 0:o.text.replace("https://","")}}},$n={class:"cmd-address-data vcard"},vn={class:"adr"},el={key:0},tl={key:0},ol={key:1},nl={key:1,class:"org"},ll={class:"address"},al={key:1},il={key:0},sl=["href","title"],rl={class:"street-address"},cl=e.createElementVNode("br",null,null,-1),dl={key:1,class:"postal-code"},ml={class:"locality"},hl=e.createElementVNode("br",null,null,-1),ul=e.createElementVNode("br",null,null,-1),fl={key:4,class:"country-name"},pl={class:"street-address"},gl=e.createElementVNode("br",null,null,-1),yl={key:1,class:"postal-code"},kl={class:"locality"},Cl=e.createElementVNode("br",null,null,-1),_l=e.createElementVNode("br",null,null,-1),Bl={key:4,class:"country-name"},bl={key:3},wl={key:1},Nl={key:4},Sl=["href"],Il={key:5},xl={key:1},Dl={key:6},Tl=["href"],Vl={key:7},Ml={key:1},El={key:8,class:"fax"},Ol={key:9},Ll={key:1},jl={key:10,class:"email"},Fl=["href"],Pl={key:11},zl={key:1},Al={key:12},ql=["href","title"],Hl={key:13},Rl={key:1},Ul={key:14},Gl={key:1,class:"flex-container"},Ql={key:0},Zl={class:"org"},Wl=["href","title"],Jl={class:"street-address"},Yl=e.createElementVNode("br",null,null,-1),Kl={class:"postal-code"},Xl={class:"locality"},$l=e.createElementVNode("br",null,null,-1),vl=e.createElementVNode("br",null,null,-1),ea={key:3,class:"country-name"},ta={class:"street-address"},oa=e.createElementVNode("br",null,null,-1),na={class:"postal-code"},la={class:"locality"},aa=e.createElementVNode("br",null,null,-1),ia=e.createElementVNode("br",null,null,-1),sa={key:3,class:"country-name"},ra={key:1},ca=["href","title"],da={key:2},ma={class:"fax"},ha=["title"],ua=["href"],fa=["title"],pa=["href"],ga={key:5},ya={key:2},ka={key:0},Ca={class:"org"},_a={key:1},Ba=["href","title"],ba={class:"street-address"},wa=e.createElementVNode("br",null,null,-1),Na={class:"postal-code"},Sa={class:"locality"},Ia=e.createElementVNode("br",null,null,-1),xa=e.createElementVNode("br",null,null,-1),Da={key:3,class:"country-name"},Ta={class:"street-address"},Va=e.createElementVNode("br",null,null,-1),Ma={class:"postal-code"},Ea={class:"locality"},Oa=e.createElementVNode("br",null,null,-1),La=e.createElementVNode("br",null,null,-1),ja={key:3,class:"country-name"},Fa=e.createElementVNode("template",null,null,-1);function Pa(o,n,t,i,l,a){var d,m,h,f,u,y,p,k,C,S,E,g,D,b,x,V,L,T,F,P;const r=j,c=M,s=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock("div",$n,[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",vn,[t.showLabels?(e.openBlock(),e.createElementBlock("dl",el,[(d=t.addressData.company)!=null&&d.text?(e.openBlock(),e.createElementBlock("dt",tl,[t.addressData.company.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.company.iconClass,type:t.addressData.company.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.company")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",ol,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.company")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(m=t.addressData.company)!=null&&m.text?(e.openBlock(),e.createElementBlock("dd",nl,e.toDisplayString(t.addressData.company.text),1)):e.createCommentVNode("",!0),t.addressData.address&&t.addressData.address!==void 0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("dt",ll,[t.addressData.address.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.address.iconClass,type:t.addressData.address.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.address")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",al,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.address")),1)):e.createCommentVNode("",!0)]),t.addressData.address?(e.openBlock(),e.createElementBlock("dd",il,[t.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:a.locateAddress,target:"google-maps",title:o.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",rl,e.toDisplayString(t.addressData.address.streetNo),1),cl],64)):e.createCommentVNode("",!0),t.addressData.address.zip?(e.openBlock(),e.createElementBlock("span",dl,e.toDisplayString(t.addressData.address.zip),1)):e.createCommentVNode("",!0),t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",ml,e.toDisplayString(t.addressData.address.city),1),hl],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),ul],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",fl,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],8,sl)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",pl,e.toDisplayString(t.addressData.address.streetNo),1),gl],64)):e.createCommentVNode("",!0),t.addressData.address.zip?(e.openBlock(),e.createElementBlock("span",yl,e.toDisplayString(t.addressData.address.zip)+"\xA0",1)):e.createCommentVNode("",!0),t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",kl,e.toDisplayString(t.addressData.address.city),1),Cl],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),_l],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",Bl,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],64))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),(h=t.addressData.telephone)!=null&&h.text?(e.openBlock(),e.createElementBlock("dt",bl,[t.addressData.telephone.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.telephone.iconClass,type:t.addressData.telephone.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.telephone")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",wl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.telephone")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(f=t.addressData.telephone)!=null&&f.text?(e.openBlock(),e.createElementBlock("dd",Nl,[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"tel:"+t.addressData.telephone,title:"Call number",class:"tel"},[e.createTextVNode(e.toDisplayString(t.addressData.telephone.text),1)],8,Sl)),[[s,t.addressData.telephone.text]])])):e.createCommentVNode("",!0),(u=t.addressData.mobilephone)!=null&&u.text?(e.openBlock(),e.createElementBlock("dt",Il,[t.addressData.mobilephone.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.mobilephone.iconClass,type:t.addressData.mobilephone.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.mobile_phone")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",xl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.mobile_phone")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(y=t.addressData.mobilephone)!=null&&y.text?(e.openBlock(),e.createElementBlock("dd",Dl,[e.withDirectives((e.openBlock(),e.createElementBlock("a",{href:"tel:"+t.addressData.mobilephone,title:"Call number",class:"tel"},[e.createTextVNode(e.toDisplayString(t.addressData.mobilephone.text),1)],8,Tl)),[[s,t.addressData.mobilephone.text]])])):e.createCommentVNode("",!0),(p=t.addressData.fax)!=null&&p.text?(e.openBlock(),e.createElementBlock("dt",Vl,[t.addressData.fax.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.fax.iconClass,type:t.addressData.fax.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.fax")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Ml,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.fax")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(k=t.addressData.fax)!=null&&k.text?(e.openBlock(),e.createElementBlock("dd",El,e.toDisplayString(t.addressData.fax.text),1)):e.createCommentVNode("",!0),(C=t.addressData.email)!=null&&C.text?(e.openBlock(),e.createElementBlock("dt",Ol,[t.addressData.email.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.email.iconClass,type:t.addressData.email.iconType,tooltip:o.getMessage("cmdaddressdata.labeltext.email")},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Ll,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.email")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(S=t.addressData.email)!=null&&S.text?(e.openBlock(),e.createElementBlock("dd",jl,[e.createElementVNode("a",{href:"mailto:"+((E=t.addressData.email)==null?void 0:E.text),class:"email"},e.toDisplayString(t.addressData.email.text),9,Fl)])):e.createCommentVNode("",!0),(g=t.addressData.website)!=null&&g.text?(e.openBlock(),e.createElementBlock("dt",Pl,[t.addressData.website.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.website.iconClass,type:t.addressData.website.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",zl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.website")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(D=t.addressData.website)!=null&&D.text?(e.openBlock(),e.createElementBlock("dd",Al,[e.createElementVNode("a",{href:t.addressData.website.text,target:"_blank",title:o.getMessage("cmdaddressdata.title.visit_website")},e.toDisplayString(a.websiteUrlText),9,ql)])):e.createCommentVNode("",!0),(b=t.addressData.custom)!=null&&b.text?(e.openBlock(),e.createElementBlock("dt",Hl,[t.addressData.custom.iconClass&&t.showLabelIcons?(e.openBlock(),e.createBlock(c,{key:0,iconClass:t.addressData.custom.iconClass,type:t.addressData.custom.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),t.showLabelTexts?(e.openBlock(),e.createElementBlock("span",Rl,e.toDisplayString(o.getMessage("cmdaddressdata.labeltext.custom")),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),(x=t.addressData.custom)!=null&&x.text?(e.openBlock(),e.createElementBlock("dd",Ul,e.toDisplayString(t.addressData.custom.text),1)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("ul",Gl,[t.addressData.company?(e.openBlock(),e.createElementBlock("li",Ql,[e.createElementVNode("span",Zl,e.toDisplayString(t.addressData.company.text),1)])):e.createCommentVNode("",!0),e.createElementVNode("li",null,[t.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:a.locateAddress,target:"google-maps",title:o.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Jl,e.toDisplayString(t.addressData.address.streetNo),1),Yl],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Kl,e.toDisplayString(t.addressData.address.zip)+"\xA0",1),e.createElementVNode("span",Xl,e.toDisplayString(t.addressData.address.city),1),$l],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),vl],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",ea,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],8,Wl)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",ta,e.toDisplayString(t.addressData.address.streetNo),1),oa],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",na,e.toDisplayString(t.addressData.address.zip)+"\xA0",1),e.createElementVNode("span",la,e.toDisplayString(t.addressData.address.city),1),aa],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),ia],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",sa,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],64))]),(V=t.addressData.telephone)!=null&&V.text?(e.openBlock(),e.createElementBlock("li",ra,[e.createElementVNode("a",{href:"tel:"+t.addressData.telephone.text,title:o.getMessage("cmdaddressdata.title.call_number"),class:"tel"},e.toDisplayString(t.addressData.telephone.text),9,ca)])):e.createCommentVNode("",!0),(L=t.addressData.fax)!=null&&L.text?(e.openBlock(),e.createElementBlock("li",da,[e.createElementVNode("span",ma,e.toDisplayString(t.addressData.fax.text),1)])):e.createCommentVNode("",!0),(T=t.addressData.email)!=null&&T.text?(e.openBlock(),e.createElementBlock("li",{key:3,title:o.getMessage("cmdaddressdata.title.send_email")},[e.createElementVNode("a",{href:"mailto:"+t.addressData.email.text,class:"email"},e.toDisplayString(t.addressData.email.text),9,ua)],8,ha)):e.createCommentVNode("",!0),(F=t.addressData.website)!=null&&F.text?(e.openBlock(),e.createElementBlock("li",{key:4,title:o.getMessage("cmdaddressdata.title.visit_website")},[e.createElementVNode("a",{href:t.addressData.website.text,target:"_blank"},e.toDisplayString(a.websiteUrlText),9,pa)],8,fa)):e.createCommentVNode("",!0),(P=t.addressData.custom)!=null&&P.text?(e.openBlock(),e.createElementBlock("li",ga,e.toDisplayString(t.addressData.custom.text),1)):e.createCommentVNode("",!0)])),t.showIconsOnly?(e.openBlock(),e.createElementBlock("ul",ya,[t.addressData.company||t.addressData.address?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.addressData.company?(e.openBlock(),e.createElementBlock("li",ka,[e.createElementVNode("span",Ca,e.toDisplayString(t.addressData.company.text),1)])):e.createCommentVNode("",!0),t.addressData.address?(e.openBlock(),e.createElementBlock("li",_a,[t.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:a.locateAddress,target:"google-maps",title:o.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",ba,e.toDisplayString(t.addressData.address.streetNo),1),wa],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Na,e.toDisplayString(t.addressData.address.zip)+"\xA0",1),e.createElementVNode("span",Sa,e.toDisplayString(t.addressData.address.city),1),Ia],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),xa],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",Da,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],8,Ba)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.addressData.address.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Ta,e.toDisplayString(t.addressData.address.streetNo),1),Va],64)):e.createCommentVNode("",!0),t.addressData.address.zip||t.addressData.address.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ma,e.toDisplayString(t.addressData.address.zip)+"\xA0",1),e.createElementVNode("span",Ea,e.toDisplayString(t.addressData.address.city),1),Oa],64)):e.createCommentVNode("",!0),t.addressData.address.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(t.addressData.address.miscInfo),1),La],64)):e.createCommentVNode("",!0),t.addressData.address.country?(e.openBlock(),e.createElementBlock("span",ja,e.toDisplayString(t.addressData.address.country),1)):e.createCommentVNode("",!0)],64))])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),Fa])):e.createCommentVNode("",!0)])])}const za=N(Xn,[["render",Pa]]),Bf="",Aa={name:"CmdBackToTopButton",data(){return{windowInnerHeight:window.innerHeight,windowScrollY:window.scrollY,bodyScrollHeight:document.body.scrollHeight}},props:{iconBackToTop:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Back to top",iconType:"auto"}}}},created(){window.addEventListener("resize",this.onViewportChange),window.addEventListener("scroll",this.onViewportChange)},unmounted(){window.removeEventListener("resize",this.onViewportChange),window.removeEventListener("scroll",this.onViewportChange)},computed:{show(){return this.windowScrollY>0&&this.windowInnerHeight<this.bodyScrollHeight}},methods:{onViewportChange(){this.windowInnerHeight=window.innerHeight,this.windowScrollY=window.scrollY,this.bodyScrollHeight=document.body.scrollHeight},onBackToTop(){window.scrollTo({top:0,left:0,behavior:"smooth"})}}},qa=["title"];function Ha(o,n,t,i,l,a){const r=M;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[a.show?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cmd-back-to-top-button",href:"#",title:t.iconBackToTop.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...c)=>a.onBackToTop&&a.onBackToTop(...c),["prevent"]))},[e.createVNode(r,{iconClass:t.iconBackToTop.iconClass,type:t.iconBackToTop.iconType},null,8,["iconClass","type"])],8,qa)):e.createCommentVNode("",!0)]),_:1})}const Ra=N(Aa,[["render",Ha]]),bf="",Ua={name:"CmdBankAccountData",props:{accountData:{type:Array,required:!0},allowCopyByClick:{type:Boolean,default:!0},additionalInformation:{type:String,required:!1},iconCopy:{type:Object,default(){return{iconClass:"icon-file-copy",tooltip:"Copy data to clipboard!",iconType:"auto"}}},cmdHeadline:{type:Object,required:!1}},methods:{copyToClipboard(o){const n=o.replace(/\s/g,"");navigator.clipboard.writeText(n),alert(n+" was copied to clipboard")}}},Ga={class:"cmd-bank-account-data"},Qa={key:0},Za=["onClick","title"],Wa={key:1};function Ja(o,n,t,i,l,a){const r=j,c=M;return e.openBlock(),e.createElementBlock("div",Ga,[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.accountData,(s,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:d},[e.createElementVNode("dt",null,e.toDisplayString(s.text),1),t.allowCopyByClick&&s.allowCopy?(e.openBlock(),e.createElementBlock("dd",Qa,[e.createElementVNode("span",null,e.toDisplayString(s.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>a.copyToClipboard(s.value),["prevent"]),title:t.iconCopy.tooltip},[e.createVNode(c,{iconClass:t.iconCopy.iconClass,type:t.iconCopy.iconType},null,8,["iconClass","type"])],8,Za)])):(e.openBlock(),e.createElementBlock("dd",{key:d},e.toDisplayString(s.value),1))],64))),128))]),t.additionalInformation?(e.openBlock(),e.createElementBlock("p",Wa,e.toDisplayString(t.additionalInformation),1)):e.createCommentVNode("",!0)])}const Ya=N(Ua,[["render",Ja]]);function Y(o){return o.path?o.path:((o.route==null||typeof o.route!="object"||!o.route.path&&!o.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",o.route),o.route)}const wf="",Ka={data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth}},name:"CmdImage",props:{image:{type:Object,required:!0},figcaption:{type:Object,required:!1}},created(){window.addEventListener("resize",this.updateWindowWidth);const o=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(o.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(o.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{getTextAlign(){var o;return(o=this.figcaption)!=null&&o.textAlign?"text-"+this.figcaption.textAlign:""},imageSource(){const o=this.image.src;if(typeof o=="string")return o;const n=this.currentWindowWidth;return o.small&&n<=this.smallMaxWidth?o.small:o.medium&&n<=this.mediumMaxWidth?o.medium:o.large}},methods:{updateWindowWidth(){this.currentWindowWidth=window.innerWidth}}},Xa={key:0},$a=["src","alt","title"],va={key:1};function ei(o,n,t,i,l,a){var r,c,s,d,m,h;return e.openBlock(),e.createElementBlock("figure",{class:e.normalizeClass(["cmd-image",a.getTextAlign])},[((r=t.figcaption)==null?void 0:r.show)&&((c=t.figcaption)==null?void 0:c.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",Xa,e.toDisplayString((s=t.figcaption)==null?void 0:s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:a.imageSource,alt:t.image.alt,title:t.image.tooltip},null,8,$a),((d=t.figcaption)==null?void 0:d.show)&&((m=t.figcaption)==null?void 0:m.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",va,e.toDisplayString((h=t.figcaption)==null?void 0:h.text),1)):e.createCommentVNode("",!0)],2)}const W=N(Ka,[["render",ei]]),Nf="",ti={name:"CmdSlideButton",props:{slideButtonType:{type:String,default:"next"},slideButtons:{type:Object,default:function(){return{prev:{iconClass:"icon-single-arrow-left",tooltip:"Previous"},next:{iconClass:"icon-single-arrow-right",tooltip:"Next"},up:{iconClass:"icon-single-arrow-up",tooltip:"Previous"},down:{iconClass:"icon-single-arrow-down",tooltip:"Next"}}}}},computed:{getDirection(){return this.slideButtons[this.slideButtonType]?this.slideButtons[this.slideButtonType]:(console.warn("Property 'slideButtonType' does not match slideButtons-key"),{})}}},oi=["title"];function ni(o,n,t,i,l,a){const r=M;return e.openBlock(),e.createElementBlock("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),class:e.normalizeClass(["cmd-slide-button","button",t.slideButtonType]),title:a.getDirection.tooltip},[e.createVNode(r,{iconClass:a.getDirection.iconClass||"next"},null,8,["iconClass"])],10,oi)}const ae=N(ti,[["render",ni]]),li={data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image"}}}},Sf="",ai={name:"CmdThumbnailScroller",components:{CmdImage:W,CmdSlideButton:ae},mixins:[R,li],data(){return{thumbnails:[]}},props:{fullWidth:{type:Boolean,default:!1},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},imgIndex:{type:Number,required:!1},figcaption:{type:Object,default(){return{show:!0,position:"below-image"}}},cmdSlideButtons:{type:Object,default(){return{next:{next:{type:"next",iconClass:"icon-single-arrow-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-single-arrow-left",tooltip:"Previous"}}}}}},methods:{showNextItem(){const o=this.thumbnails.shift();o&&this.thumbnails.push(o)},showPrevItem(){const o=this.thumbnails.pop();o&&this.thumbnails.unshift(o)},showFancyBox(o){this.allowOpenFancyBox&&ke({fancyBoxGallery:this.thumbnails,defaultGalleryIndex:o}),this.$emit("click",this.thumbnails[o].id)}},watch:{thumbnailScrollerItems:{handler(){this.thumbnails=this.thumbnailScrollerItems.map(o=>{const n={image:{...o.image},figcaption:{...o.figcaption}};return n.image.src=n.image.srcImageSmall,n})},immediate:!0}}},ii=["onClick","title"];function si(o,n,t,i,l,a){const r=ae,c=W;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":!t.allowOpenFancyBox,"full-width":t.fullWidth}])},[e.createVNode(r,{onClick:e.withModifiers(a.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.thumbnails,(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:t.imgIndex===d})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>a.showFancyBox(d),["prevent"]),title:o.getMessage("cmdthumbnailscroller.tooltip.open_large_image")},[e.createVNode(c,{image:s.image,figcaption:s.figcaption},null,8,["image","figcaption"])],8,ii)],2))),128))]),_:1}),e.createVNode(r,{onClick:e.withModifiers(a.showNextItem,["prevent"]),slideButtons:t.cmdSlideButtons.next},null,8,["onClick","slideButtons"])],2)}const Zt=N(ai,[["render",si]]);function Wt(){let o=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const t=(o+Math.random()*16)%16|0;return o=Math.floor(o/16),(n==="x"?t:t&3|8).toString(16)})}function Jt(){return"cmd-"+Wt()}const ie={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Jt()}},methods:{buildHtmlId(...o){return o.map(n=>n.replace(/\s/g,"")).join("")}}},If="",ke=o=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Yt,{...o,show:!0}).mount(n)},Yt=e.defineComponent({name:"CmdFancyBox",mixins:[ie],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{ariaLabelText:{type:String,required:!0},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!0},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.allowEscapeKey&&(this.$_FancyBox_escapeKeyHandler=o=>(o.key==="Escape"||o.key==="Esc")&&this.close(),document.querySelector("body").addEventListener("keyup",this.$_FancyBox_escapeKeyHandler)),this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},beforeUnmount(){this.allowEscapeKey&&document.querySelector("body").removeEventListener("keyup",this.$_FancyBox_escapeKeyHandler)},computed:{largeGalleryImage(){const o={...this.fancyBoxGallery[this.index].image};return o.src=o.srcImageLarge,o},largeSingleImage(){var n;const o={...((n=this.cmdImage)==null?void 0:n.image)||{}};return o.src=this.fancyBoxImageUrl,o}},methods:{showDialog(){document.querySelector("body").classList.add("avoid-scrolling"),this.$refs.dialog.showModal(),this.$refs["close-dialog"].focus()},updateContentOnPropertyChange(){this.fancyBoxImageUrl=this.fancyBoxContent=this.fancyBoxElements=null,this.url?this.loadContent(this.url):this.content?this.fancyBoxContent=this.content:this.elements&&(this.fancyBoxElements=this.elements.map(o=>o.cloneNode(!0)),this.$nextTick(()=>{this.$el.querySelector(".content").append(...this.fancyBoxElements)}))},async loadContent(o){(await ri(o)).startsWith("image/")?this.fancyBoxImageUrl=o:fetch(o).then(t=>t.text()).then(t=>this.fancyBoxContent=t).catch(t=>console.error(`Error loading ${this.url}: ${t}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(o){for(let n=0;n<this.fancyBoxGallery.length;n++)if(this.fancyBoxGallery[n].id===o){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.$options.el?(this.$destroy(),this.$el.remove()):(this.showFancyBox=!1,this.$emit("update:show",!1)),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(o){this.showFancyBox=o},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function ri(o){const n=await fetch(o,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const ci=Yt,di=["aria-label"],mi={class:"flex-container"},hi={key:1,class:"button-wrapper no-flex"},ui=["title"],fi=["title"],pi=["title"],gi={key:0,class:"content"},yi=["innerHTML"],ki={key:2,class:"content"},Ci={key:3,class:"content"},_i={key:4,class:"content"},Bi={key:0,class:"flex-container no-flex"},bi=["title"],wi={key:1},Ni=["title"],Si={key:1};function Ii(o,n,t,i,l,a){var h,f,u,y,p,k,C,S,E,g,D,b,x,V,L,T,F,P,Z,U,Q,w,H,ee,ce,_,I,O;const r=j,c=M,s=W,d=ae,m=Zt;return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("dialog",{ref:"dialog",class:e.normalizeClass(["cmd-fancybox",{"show-overlay":o.showOverlay,image:o.fancyBoxImageUrl||o.fancyBoxGallery,"image-gallery":o.fancyBoxGallery}]),"aria-label":o.ariaLabelText},[e.createElementVNode("header",mi,[(h=o.cmdHeadline)!=null&&h.show?(e.openBlock(),e.createBlock(r,{key:0,headlineText:(f=o.cmdHeadline)==null?void 0:f.headlineText,headlineLevel:(u=o.cmdHeadline)==null?void 0:u.headlineLevel,id:o.htmlId},null,8,["headlineText","headlineLevel","id"])):e.createCommentVNode("",!0),((y=o.fancyboxOptions.printButtons)==null?void 0:y.color)||((p=o.fancyboxOptions.printButtons)==null?void 0:p.grayscale)||o.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",hi,[o.showPrintButtons&&((k=o.fancyboxOptions.printButtons)==null?void 0:k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(C=o.fancyboxOptions.printButtons.color)==null?void 0:C.tooltip,onClick:n[0]||(n[0]=e.withModifiers(z=>o.printInGrayscale=!1,["prevent"]))},[e.createVNode(c,{iconClass:(S=o.fancyboxOptions.printButtons.color)==null?void 0:S.iconClass,type:(E=o.fancyboxOptions.printButtons.color)==null?void 0:E.iconType},null,8,["iconClass","type"])],8,ui)):e.createCommentVNode("",!0),o.showPrintButtons&&((g=o.fancyboxOptions.printButtons)==null?void 0:g.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(D=o.fancyboxOptions.printButtons.grayscale)==null?void 0:D.tooltip,onClick:n[1]||(n[1]=e.withModifiers(z=>o.printInGrayscale=!0,["prevent"]))},[e.createVNode(c,{iconClass:(b=o.fancyboxOptions.printButtons.grayscale)==null?void 0:b.iconClass,type:(x=o.fancyboxOptions.printButtons.grayscale)==null?void 0:x.iconType},null,8,["iconClass","type"])],8,fi)):e.createCommentVNode("",!0),o.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"button primary",id:"close-dialog",title:o.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:n[2]||(n[2]=e.withModifiers((...z)=>o.close&&o.close(...z),["prevent"]))},[e.createVNode(c,{iconClass:o.fancyboxOptions.closeIcon.iconClass,type:o.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,pi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:o.printInGrayscale}])},[o.fancyBoxImageUrl?(e.openBlock(),e.createElementBlock("div",gi,[e.createVNode(s,{image:o.largeSingleImage,figcaption:(V=o.cmdImage)==null?void 0:V.figcaption},null,8,["image","figcaption"])])):o.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:o.fancyBoxContent},null,8,yi)):o.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",ki)):o.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",Ci,[e.createVNode(d,{onClick:e.withModifiers(o.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(s,{image:o.largeGalleryImage,figcaption:o.fancyBoxGallery[o.index].figcaption},null,8,["image","figcaption"]),e.createVNode(d,{onClick:e.withModifiers(o.showNextItem,["prevent"])},null,8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",_i,[e.renderSlot(o.$slots,"default")]))],2),o.showSubmitButtons&&o.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",Bi,[(L=o.fancyboxOptions.submitButtons)!=null&&L.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...z)=>o.cancel&&o.cancel(...z)),title:(T=o.fancyboxOptions.submitButtons.cancel)==null?void 0:T.tooltip},[(F=o.fancyboxOptions.submitButtons.cancel)!=null&&F.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(P=o.fancyboxOptions.submitButtons.cancel)==null?void 0:P.iconClass,type:(Z=o.fancyboxOptions.submitButtons.cancel)==null?void 0:Z.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(U=o.fancyboxOptions.submitButtons.cancel)!=null&&U.buttonText?(e.openBlock(),e.createElementBlock("span",wi,e.toDisplayString((Q=o.fancyboxOptions.submitButtons.cancel)==null?void 0:Q.buttonText),1)):e.createCommentVNode("",!0)],8,bi)):e.createCommentVNode("",!0),(w=o.fancyboxOptions.submitButtons)!=null&&w.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...z)=>o.confirm&&o.confirm(...z)),title:(H=o.fancyboxOptions.submitButtons.cancel)==null?void 0:H.tooltip},[(ee=o.fancyboxOptions.submitButtons.confirm)!=null&&ee.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(ce=o.fancyboxOptions.submitButtons.confirm)==null?void 0:ce.iconClass,type:(_=o.fancyboxOptions.submitButtons.confirm)==null?void 0:_.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(I=o.fancyboxOptions.submitButtons.confirm)!=null&&I.buttonText?(e.openBlock(),e.createElementBlock("span",Si,e.toDisplayString((O=o.fancyboxOptions.submitButtons.confirm)==null?void 0:O.buttonText),1)):e.createCommentVNode("",!0)],8,Ni)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...o.fancyBoxGallery],allowOpenFancyBox:!1,onClick:o.showItem,imgIndex:o.index},null,8,["thumbnailScrollerItems","onClick","imgIndex"])):e.createCommentVNode("",!0)],10,di)])}const xi=N(ci,[["render",Ii]]),xf="",Di={name:"CmdListOfLinks",props:{sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},align:{type:String,default:"left"},cmdHeadline:{type:Object,required:!1},links:{type:Array,required:!1},orientation:{type:String,default:"vertical"},useGap:{type:Boolean,default:!0},styleAsBox:{type:Boolean,default:!1}},methods:{getRoute(o){return Y(o)},executeLink(o,n){o.fancybox&&(n.preventDefault(),ke({url:o.path}))}}},Ti=["href","target","onClick","title"],Vi={key:1},Mi={key:1};function Ei(o,n,t,i,l,a){const r=j,c=M,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-list-of-links",{box:t.styleAsBox,horizontal:t.orientation==="horizontal","section-anchors":t.sectionAnchors}])},[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container",{"no-gap":!t.useGap},"align-"+t.align])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.links,(d,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:t.sectionAnchors&&t.activeSection===m})},[d.type==="href"||d.type===void 0?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.path,target:d.target,onClick:h=>a.executeLink(d,h),title:d.tooltip&&d.tooltip!==void 0?d.tooltip:void 0},[d.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",Vi,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)],8,Ti)):d.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:a.getRoute(d),title:d.tooltip},{default:e.withCtx(()=>[d.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.text?(e.openBlock(),e.createElementBlock("span",Mi,e.toDisplayString(d.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0)],2))),128))],2)],2)}const Kt=N(Di,[["render",Ei]]),Oi={data(){return{defaultMessageProperties:{"cmdbox.productbox.new":"New","cmdbox.productbox.article_no":"Article No:","cmdbox.contentbox.collapse_text":"Collapse text","cmdbox.contentbox.expand_text":"Expand text"}}}},Li={props:{globalCurrency:{type:Object,default(){return{symbol:"\u20AC",name:"Euro"}}}}},Df="",qe={name:"CmdBox",mixins:[R,Oi,Li],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.collapsingBoxesOpen:!0,active:!0,showCutOffText:!1,isRowView:!1}},props:{collapsingBoxesOpen:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},fadeLastLine:{type:Boolean,default:!0},useTransition:{type:Boolean,default:!0},defaultProfileIconClass:{type:String,default:"icon-user-profile"},product:{type:Object,required:!1},user:{type:Object,required:!1},profileType:{type:String,default:"business"},useSlots:{type:Array,required:!1},image:{type:Object,required:!1},textBody:{type:String,default:""},iconOpen:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Close content",iconType:"auto"}}},iconClosed:{type:Object,default:function(){return{iconClass:"icon-single-arrow-down",tooltip:"Show content",iconType:"auto"}}},stretchHorizontally:{type:Boolean,default:!0},stretchVertically:{type:Boolean,default:!0},cmdHeadline:{type:Object,required:!1}},computed:{toggleTransition(){return this.useTransition?"fade":""}},methods:{toggleContentVisibility(){this.open=!this.open,this.active=!this.active,this.$emit("toggle-collapse",this.open)},toggleCutOffText(){this.showCutOffText=!this.showCutOffText,this.$emit("toggle-cutofftext",this.showCutOffText)},clickOnProduct(o){this.$emit("click",o)}},watch:{collapsingBoxesOpen(){this.collapsible&&(this.open=this.collapsingBoxesOpen)},rowView:{handler(){this.isRowView=this.rowView},immediate:!0}}},Xt=()=>{e.useCssVars(o=>({"143db101":o.cutoffTextLines}))},$t=qe.setup;qe.setup=$t?(o,n)=>(Xt(),$t(o,n)):Xt;const ji=qe,Fi=["title"],Pi={key:1,class:"box-header"},zi={key:2,class:"box-body","aria-expanded":"true",role:"article"},Ai=["src","alt"],qi={key:2},Hi={key:3,class:"box-footer"},Ri={class:"box-header flex-container vertical"},Ui={key:0},Gi=["src","alt"],Qi={key:1},Zi={key:2,class:"ribbon-new"},Wi={key:3,class:"ribbon-discount"},Ji={class:"box-body"},Yi={key:0},Ki={key:1,class:"price"},Xi=["title"],$i={key:2},vi=e.createElementVNode("br",null,null,-1),es={class:"box-header flex-container vertical"},ts={key:0},os=["src","alt"],ns={key:0},ls={key:1},as=["title"],is={key:0},ss={class:"box-body"},rs={key:0},cs={key:1},ds={key:2},ms={key:3,class:"description"},hs={class:"tags"},us={key:0,class:"box-footer"};function fs(o,n,t,i,l,a){var d,m,h,f,u,y,p;const r=j,c=M,s=Kt;return t.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-box box content",{open:l.open,collapsible:t.collapsible,"stretch-vertically":t.stretchVertically&&!t.collapsible,"stretch-horizontally":t.stretchHorizontally,"row-view":l.isRowView}])},[t.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"box-header",title:l.open?t.iconOpen.tooltip:t.iconClosed.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...k)=>a.toggleContentVisibility&&a.toggleContentVisibility(...k),["prevent"]))},[(d=t.useSlots)!=null&&d.includes("header")?e.renderSlot(o.$slots,"header",{key:0}):(m=t.cmdHeadline)!=null&&m.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:1},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:l.open?t.iconOpen.iconClass:t.iconClosed.iconClass,type:l.open?t.iconOpen.iconType:t.iconClosed.iconType},null,8,["iconClass","type"])],8,Fi)):(e.openBlock(),e.createElementBlock("div",Pi,[(h=t.useSlots)!=null&&h.includes("header")?e.renderSlot(o.$slots,"header",{key:0}):(f=t.cmdHeadline)!=null&&f.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:1},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0)])),l.open?(e.openBlock(),e.createElementBlock("div",zi,[(u=t.useSlots)!=null&&u.includes("body")?e.renderSlot(o.$slots,"body",{key:0},()=>[e.createVNode(e.TransitionGroup,{name:a.toggleTransition},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass({"cutoff-text":t.cutoffTextLines>0,"fade-last-line":t.fadeLastLine&&!l.showCutOffText,"show-text":l.showCutOffText})},e.toDisplayString(t.textBody),3),t.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...k)=>a.toggleCutOffText&&a.toggleCutOffText(...k),["prevent"]))},e.toDisplayString(l.showCutOffText?o.getMessage("cmdbox.contentbox.collapse_text"):o.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])]):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.image?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.image.src,alt:t.image.altText},null,8,Ai)):e.createCommentVNode("",!0),(y=t.cmdHeadline)!=null&&y.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:1},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.textBody?(e.openBlock(),e.createElementBlock("p",qi,e.toDisplayString(t.textBody),1)):e.createCommentVNode("",!0)],64))])):e.createCommentVNode("",!0),(p=t.useSlots)!=null&&p.includes("footer")?(e.openBlock(),e.createElementBlock("div",Hi,[e.renderSlot(o.$slots,"footer")])):e.createCommentVNode("",!0)],2)):t.boxType==="product"&&t.product?(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["cmd-box box product",{"stretch-vertically":t.stretchVertically,"stretch-horizontally":t.stretchHorizontally,"row-view":l.isRowView}]),href:"#",onClick:n[2]||(n[2]=e.withModifiers(k=>a.clickOnProduct(t.product),["prevent"]))},[e.createElementVNode("div",Ri,[t.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Ui,[e.createElementVNode("img",{src:t.product.image.src,alt:t.product.image.alt},null,8,Gi),e.createElementVNode("figcaption",null,e.toDisplayString(t.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Qi,e.toDisplayString(t.product.name),1)),t.product.new?(e.openBlock(),e.createElementBlock("div",Zi,[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),t.product.discount?(e.openBlock(),e.createElementBlock("div",Wi,[e.createElementVNode("span",null,e.toDisplayString(t.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ji,[t.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Yi,e.toDisplayString(o.getMessage("cmdbox.productbox.article_no"))+" "+e.toDisplayString(t.product.articleNumber),1)):e.createCommentVNode("",!0),t.product.price?(e.openBlock(),e.createElementBlock("p",Ki,[e.createElementVNode("span",null,e.toDisplayString(t.product.price),1),e.createElementVNode("span",{title:o.globalCurrency.name},e.toDisplayString(o.globalCurrency.symbol),9,Xi)])):e.createCommentVNode("",!0),t.product.description?(e.openBlock(),e.createElementBlock("p",$i,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0)])],2)):t.boxType==="user"&&t.user?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["cmd-box box user",t.profileType,{"stretch-vertically":t.stretchVertically,"stretch-horizontally":t.stretchHorizontally,"row-view":l.isRowView},"row-view"])},[e.createTextVNode(" isRowView "+e.toDisplayString(l.isRowView),1),vi,e.createTextVNode(" rowView "+e.toDisplayString(t.rowView)+" ",1),e.createElementVNode("div",es,[t.user.image?(e.openBlock(),e.createElementBlock("figure",ts,[e.createElementVNode("img",{src:t.user.image.src,alt:t.user.image.alt},null,8,os),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(t.user.name)+" ",1),t.user.age?(e.openBlock(),e.createElementBlock("span",ns,", "+e.toDisplayString(t.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",ls,[e.createElementVNode("span",{class:e.normalizeClass(t.defaultProfileIconClass),title:t.user.name},null,10,as),l.isRowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",is,e.toDisplayString(t.user.name),1))]))]),e.createElementVNode("div",ss,[l.isRowView?(e.openBlock(),e.createElementBlock("p",rs,e.toDisplayString(t.user.name),1)):e.createCommentVNode("",!0),t.user.profession?(e.openBlock(),e.createElementBlock("p",cs,e.toDisplayString(t.user.profession),1)):e.createCommentVNode("",!0),t.user.position?(e.openBlock(),e.createElementBlock("p",ds,e.toDisplayString(t.user.position),1)):e.createCommentVNode("",!0),t.user.description?(e.openBlock(),e.createElementBlock("p",ms,e.toDisplayString(t.user.description),1)):e.createCommentVNode("",!0)]),e.createElementVNode("ul",hs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.user.tags,(k,C)=>(e.openBlock(),e.createElementBlock("li",{key:C},e.toDisplayString(k),1))),128))]),t.user.links?(e.openBlock(),e.createElementBlock("div",us,[e.createVNode(s,{links:t.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const vt=N(ji,[["render",fs]]),Tf="",He={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:0}},props:{useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},allowTogglingCollapsingBoxes:{type:Boolean,default:!1},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{boxesPerRowResponsive(o,n){return this.allowUserToToggleView&&this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?o===0?this.boxesPerRow:Math.min(this.boxesPerRow,n):this.boxesPerRow.length>o?this.boxesPerRow[o]:n},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(o,n){this.currentOpenBox=n?o:0}},watch:{useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},eo=()=>{e.useCssVars(o=>({"768e1d12":o.boxesPerRowLarge,"5d1c687e":o.boxesPerRowMedium,"76f5f6de":o.boxesPerRowSmall}))},to=He.setup;He.setup=to?(o,n)=>(eo(),to(o,n)):eo;const ps=He,gs={class:"cmd-box-wrapper"},ys={class:"flex-container no-flex headline-wrapper"},ks={key:1,class:"options-wrapper"},Cs=["title"],_s=["title"];function Bs(o,n,t,i,l,a){const r=j,c=M;return e.openBlock(),e.createElementBlock("div",gs,[e.createElementVNode("div",ys,[t.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.allowUserToToggleOrientation||t.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",ks,[t.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>a.toggleCollapsingBoxes&&a.toggleCollapsingBoxes(...s),["prevent"])),title:l.collapsingBoxesOpen?t.collapseBoxesIcon.tooltip:t.expandBoxesIcon.tooltip},[e.createVNode(c,{iconClass:l.collapsingBoxesOpen?t.expandBoxesIcon.iconClass:t.collapseBoxesIcon.iconClass,type:l.rowView?t.iconGridView.iconType:t.iconRowView.iconType},null,8,["iconClass","type"])],8,Cs)):e.createCommentVNode("",!0),t.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[1]||(n[1]=e.withModifiers(s=>l.rowView=!l.rowView,["prevent"])),title:l.rowView?t.iconRowView.tooltip:t.iconGridView.tooltip},[e.createVNode(c,{iconClass:l.rowView?t.iconGridView.iconClass:t.iconRowView.iconClass,type:l.rowView?t.iconGridView.iconType:t.iconRowView.iconType},null,8,["iconClass","type"])],8,_s)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass([t.useFlexbox?"flex-container":"grid-container-create-columns",{"row-view":l.rowView,"stretch-boxes-vertically":t.stretchBoxesVertically}])},[e.renderSlot(o.$slots,"default",{collapsingBoxesOpen:l.collapsingBoxesOpen,boxToggled:a.boxToggled,currentOpenBox:l.currentOpenBox,rowView:l.rowView})],2)])}const bs=N(ps,[["render",Bs]]),Vf="",ws={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(o){return Y(o)}}},Ns={class:"cmd-breadcrumbs"},Ss={key:0},Is=["href"],xs={key:1},Ds={key:1},Ts={key:2},Vs={key:1},Ms={key:3};function Es(o,n,t,i,l,a){const r=M,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",Ns,[t.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",Ss,e.toDisplayString(t.breadcrumbLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.breadcrumbLinks||[],(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:d},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path},[s.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",xs,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)],8,Is)):s.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(s)},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Ds,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",Ts,[s.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Vs,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)])),d<t.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Ms,e.toDisplayString(t.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const Os=N(ws,[["render",Es]]),Mf="",Ls={name:"CmdCompanyLogo",data(){return{prefersColorScheme:""}},props:{link:{type:Object,required:!1},pathDefaultLogo:{type:String,required:!0},pathDarkmodeLogo:{type:String,required:!1},altText:{type:String,required:!0}},computed:{pathCurrentLogo(){return this.prefersColorScheme==="light"||!this.pathDarkmodeLogo?this.pathDefaultLogo:this.pathDarkmodeLogo},image(){return{src:this.pathCurrentLogo,alt:this.altText}}},created(){this.toggleColorScheme(),window.matchMedia("(prefers-color-scheme: light)").addEventListener("change",this.onColorSchemeChange);const o=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(o,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onColorSchemeChange(o){this.prefersColorScheme=o.matches?"light":"dark"},observeDom(o){for(let n=0;n<o.length;n++)if(o[n].type==="attributes"){this.toggleColorScheme();break}},getRoute(o){return Y(o)},toggleColorScheme(){document.querySelector("html").classList.contains("light-mode")?this.prefersColorScheme="light":document.querySelector("html").classList.contains("dark-mode")?this.prefersColorScheme="dark":matchMedia("(prefers-color-scheme: light)").matches?this.prefersColorScheme="light":this.prefersColorScheme="dark"}}},js={class:"cmd-company-logo"},Fs=["href","title"];function Ps(o,n,t,i,l,a){var s,d,m,h,f,u;const r=W,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",js,[((s=t.link)==null?void 0:s.type)==="router"?(e.openBlock(),e.createBlock(c,{key:0,to:(d=t.link)==null?void 0:d.path,title:(m=t.link)==null?void 0:m.tooltip},{default:e.withCtx(()=>[e.createVNode(r,{image:a.image},null,8,["image"])]),_:1},8,["to","title"])):((h=t.link)==null?void 0:h.type)==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:(f=t.link)==null?void 0:f.path,title:(u=t.link)==null?void 0:u.tooltip},[e.createVNode(r,{image:a.image},null,8,["image"])],8,Fs)):(e.openBlock(),e.createBlock(r,{key:2,image:a.image},null,8,["image"]))])}const oo=N(Ls,[["render",Ps]]),Ef="",zs={name:"CmdTooltip",data(){return{tooltipVisibility:!1,pointerX:0,pointerY:0}},props:{cmdHeadline:{type:Object,default(){}},tooltipText:{type:String,required:!1},relatedId:{type:String,required:!1},status:{type:String,required:!1},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this tooltip!"}}},toggleVisibilityByClick:{type:Boolean,default:!1}},mounted(){if(this.relatedId){const o=document.getElementById(this.relatedId);o&&(o.addEventListener("mouseenter",this.showTooltip),document.addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?o.addEventListener("click",this.toggleTooltipVisibility):o.addEventListener("mouseleave",this.hideTooltip))}},methods:{toggleTooltipVisibility(o){this.getPointerPosition(o),this.tooltipVisibility=!this.tooltipVisibility},showTooltip(o){this.toggleVisibilityByClick||(this.tooltipVisibility=!0),this.getPointerPosition(o)},hideTooltipOnEsc(o){this.allowEscapeKey&&(o.key==="Escape"||o.key==="Esc")&&this.hideTooltip()},hideTooltip(){this.tooltipVisibility=!1},getPointerPosition(o){this.pointerX=o.clientX,this.pointerY=o.clientY}},unmounted(){if(this.relatedId){const o=document.getElementById(this.npm);o&&(o.removeEventListener("mouseenter",this.showTooltip),document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?o.removeEventListener("click",this.toggleTooltipVisibility):o.removeEventListener("mouseleave",this.showTooltip))}},watch:{tooltipVisibility(){this.tooltipVisibility&&this.$nextTick(()=>{this.$refs.tooltip.style.left=this.pointerX/10+"rem",this.$refs.tooltip.style.top=(this.pointerY+25)/10+"rem"})}}},As={key:0,class:"headline-wrapper"},qs=["title"];function Hs(o,n,t,i,l,a){const r=j,c=M;return l.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",t.status]),ref:"tooltip"},[t.cmdHeadline||t.iconClose.show?(e.openBlock(),e.createElementBlock("div",As,[t.cmdHeadline?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.cmdHeadline.iconClass,preHeadline:t.cmdHeadline.preHeadline,headlineLevel:t.cmdHeadline.headlineLevel,headlineText:t.cmdHeadline.headlineText},null,8,["iconClass","preHeadline","headlineLevel","headlineText"])):e.createCommentVNode("",!0),t.iconClose.show&&t.toggleVisibilityByClick?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>a.hideTooltip&&a.hideTooltip(...s),["prevent"])),title:t.iconClose.tooltip},[e.createVNode(c,{iconClass:t.iconClose.iconClass,type:t.iconClose.iconType},null,8,["iconClass","type"])],8,qs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(t.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const no=N(zs,[["render",Hs]]),Rs={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},Of="",Us={name:"CmdListOfRequirements",mixins:[R,Rs],props:{inputModelValue:{type:[String,Boolean,Array,Number],default:""},inputAttributes:{type:Object,required:!0},labelText:{type:String,required:!1},inputRequirements:{type:Array,required:!0},helplink:{type:Object,required:!1},iconSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"success"}}},iconError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"error"}}},showHeadline:{type:Boolean,default:!0},cmdHeadline:{type:Object,default(){return{headlineLevel:6}}}},computed:{headlineRequirements(){return this.inputRequirements.length>1?this.getMessage("cmdlistofrequirements.headline.requirements_for_input"):this.getMessage("cmdlistofrequirements.headline.requirement_for_input")}}},Gs={class:"cmd-list-of-requirements"},Qs=e.createElementVNode("br",null,null,-1),Zs=e.createElementVNode("hr",null,null,-1),Ws=["href","target"],Js={key:1};function Ys(o,n,t,i,l,a){var s,d,m;const r=j,c=M;return e.openBlock(),e.createElementBlock("div",Gs,[t.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-level":t.cmdHeadline.headlineLevel},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.headlineRequirements),1),t.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Qs,e.createElementVNode("em",null,e.toDisplayString(t.labelText),1)],64)):e.createCommentVNode("",!0)]),_:1},8,["headline-level"])):e.createCommentVNode("",!0),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inputRequirements,(h,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:f},[e.createElementVNode("dt",{"aria-live":"assertive",class:e.normalizeClass(h.valid(t.inputModelValue,t.inputAttributes)?"success":"error")},e.toDisplayString(h.message)+":",3),e.createElementVNode("dd",{class:e.normalizeClass(h.valid(t.inputModelValue,t.inputAttributes)?"success":"error")},[e.createVNode(c,{"aria-live":"assertive",iconClass:h.valid(t.inputModelValue,t.inputAttributes)?t.iconSuccess.iconClass:t.iconError.iconClass,type:h.valid(t.inputModelValue,t.inputAttributes)?t.iconSuccess.iconType:t.iconError.iconType,title:h.valid(t.inputModelValue,t.inputAttributes)?t.iconSuccess.tooltip:t.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),t.helplink&&t.helplink.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Zs,t.helplink.url?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.helplink.url,target:t.helplink.target,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"]))},[(s=t.helplink.icon)!=null&&s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,class:e.normalizeClass((d=t.helplink.icon)==null?void 0:d.iconClass),title:(m=t.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),t.helplink.text?(e.openBlock(),e.createElementBlock("span",Js,e.toDisplayString(t.helplink.text),1)):e.createCommentVNode("",!0)],8,Ws)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const Ks=N(Us,[["render",Ys]]),Xs={name:"CmdTooltipForInputElements",props:{relatedId:{type:String,default:""},validationStatus:{type:String,default:""},cmdListOfRequirements:{type:Object,default(){return{showRequirements:!0,validationTooltip:"",inputRequirements:[],inputAttributes:{},showHeadline:!0,inputModelValue:"",helplink:{},labelText:""}}}},methods:{hideTooltip(){this.$refs.tooltip.hideTooltip()}}};function $s(o,n,t,i,l,a){const r=Ks,c=no;return e.openBlock(),e.createBlock(c,{ref:"tooltip",class:e.normalizeClass(["box",t.validationStatus]),relatedId:t.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[t.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(r,{key:0,showHeadline:t.cmdListOfRequirements.showHeadline,inputRequirements:t.cmdListOfRequirements.inputRequirements,helplink:t.cmdListOfRequirements.helplink,inputModelValue:t.cmdListOfRequirements.inputModelValue,inputAttributes:t.cmdListOfRequirements.inputAttributes,validationTooltip:t.cmdListOfRequirements.validationTooltip,labelText:t.cmdListOfRequirements.labelText},null,8,["showHeadline","inputRequirements","helplink","inputModelValue","inputAttributes","validationTooltip","labelText"])):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const Re=N(Xs,[["render",$s]]),vs={data(){return{defaultMessageProperties:{"cmdformelement.headline.requirements_for_input":"Requirements for input","cmdformelement.validationTooltip.an_error_occurred":"An error occurred!","cmdformelement.validationTooltip.information_is_filled_correctly":"This information is filled correctly!","cmdformelement.validationTooltip.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdformelement.validationTooltip.open_field_requirements":"Open field requirements!","cmdformelement.validationTooltip.is_valid_email":"Is valid e-mail-address"}}}},Ue={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[R,{data(){return{fieldValidationDefaultMessageProperties:{"cmdfieldvalidation.open_detailed_help":"Open detailed help!","cmdfieldvalidation.information_not_filled_correctly":"This information is not filled correctly!","cmdfieldvalidation.information_filled_correctly":"This information is filled correctly!","cmdfieldvalidation.caps_lock_is_activated":"Attention: Caps lock is activated!","cmdfieldvalidation.required_field_is_filled":"Required field is filled!","cmdfieldvalidation.field_contains_special_character":"Field contains special character","cmdfieldvalidation.input_has_minimum_length":"Input has minimum length"}}}}],props:{validationMessage:{type:String,required:!1},helplink:{type:Object,default(){return{show:!0,url:"helpurl",target:"help",text:"Open help",icon:{iconClass:"icon-questionmark-circle",tooltip:"Open help in new tab",iconType:"auto"}}}},customRequirements:{type:Array,required:!1},showRequirements:{type:Boolean,default:!0},iconHasStateError:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Error",iconType:"auto"}}},iconHasStateWarning:{type:Object,default(){return{iconClass:"icon-exclamation-circle",tooltip:"Warning",iconType:"auto"}}},iconHasStateSuccess:{type:Object,default(){return{iconClass:"icon-check-circle",tooltip:"Success",iconType:"auto"}}},iconHasStateInfo:{type:Object,default(){return{iconClass:"icon-info-circle",tooltip:"Info",iconType:"auto"}}},iconCapsLock:{type:Object,default(){return{iconClass:"icon-caps-lock-circle",iconType:"auto"}}},iconPasswordVisible:{type:Object,default(){return{iconClass:"icon-visible",tooltip:"Show password",iconType:"auto"}}},iconPasswordInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},cmdListOfRequirements:{type:Object,required:!1}},computed:{listOfRequirements(){return this.cmdListOfRequirements==null?{showRequirements:!0,showHeadline:!0,validationTooltip:this.validationTooltip,inputRequirements:this.inputRequirements,inputAttributes:this.$attrs,inputModelValue:this.modelValue,helplink:{},labelText:this.labelText}:this.cmdListOfRequirements},getValidationMessage(){if(this.validationStatus!==""){if(this.validationStatus==="error")return this.validationMessage?this.validationMessage:this.getMessage("cmdfieldvalidation.information_not_filled_correctly");if(this.validationStatus==="warning"&&this.capsLockActivated)return this.getMessage("cmdfieldvalidation.caps_lock_is_activated");if(this.validationStatus==="success")return this.getMessage("cmdfieldvalidation.information_filled_correctly")}return null},getStatusIconClass(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconClass:this.validationStatus==="error"?this.iconHasStateError.iconClass:this.validationStatus==="warning"?this.iconHasStateWarning.iconClass:this.validationStatus==="success"?this.iconHasStateSuccess.iconClass:this.iconHasStateInfo.iconClass:this.helplink.icon.iconClass},getStatusIconType(){return this.validationStatus!==""?this.capsLockActivated?this.iconCapsLock.iconType:this.validationStatus==="error"?this.iconHasStateError.iconType:this.validationStatus==="warning"?this.iconHasStateWarning.iconType:this.validationStatus==="success"?this.iconHasStateSuccess.iconType:this.iconHasStateInfo.iconType:this.helplink.icon.iconType},inputRequirements(){const o=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const n=Object.hasOwn(this,"required")?this.required:this.$attrs.required;o.push({message:this.getRequirementMessage(),valid(t,i){return!i.required&&!n||t!=null&&String(t).length>0}})}return this.$attrs.minlength&&o.push({message:this.getMessage("cmdfieldvalidation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(n,t){return n.length>=t.minlength}}),[...o,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(o){["password","number","url","email"].includes(this.$attrs.type)&&o.getModifierState("CapsLock")?(this.capsLockActivated=!0,this.validationStatus="warning"):this.capsLockActivated&&this.validationStatus==="warning"&&(this.capsLockActivated=!1,this.validationStatus="")},additionalStandardRequirements(){return[]},getRequirementMessage(){return this.getMessage("cmdfieldvalidation.required_field_is_filled")}},watch:{validationStatus:{handler(){this.$emit("validation-status-change",this.validationStatus)}}}},Ge={};function er(o="defaultSequence"){const n=Ge[o]||0;return Ge[o]=n+1,Ge[o]}const Qe={data(){return{tooltip:!1,tooltipId:"tooltip-"+er()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},jf="",tr=["color","date","datetime-local","file","number","range"],or={inheritAttrs:!1,name:"CmdFormElement",mixins:[R,vs,Ue,ie,Qe],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(o){return o==="input"||o==="select"||o==="textarea"||o==="button"},required:!0},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!1},toggleSwitch:{type:Boolean,default:!1},onLabel:{type:String,required:!1},offLabel:{type:String,required:!1},colored:{type:Boolean,required:!1},inputValue:{type:[String,Number],required:!1},replaceInputType:{type:Boolean,default:!1},inputClass:{type:String,required:!1},datalist:{type:Object,required:!1},selectOptions:{type:Array,required:!1},nativeButton:{type:Object,default(){return{text:"",icon:{show:!0,iconClass:"",position:"left",tooltip:""}}}},tooltipText:{type:String,required:!1},fieldIconClass:{type:String,required:!1},displayLabelInline:{type:Boolean,required:!1},status:{type:String,required:!1},showCharactersTextarea:{type:Boolean,default:!0},textCharacters:{type:String,default:"Characters"},showSearchButton:{type:Boolean,default:!0},iconDelete:{type:Object,default(){return{show:!0,iconClass:"icon-cancel-circle",tooltip:"Delete term"}}},iconSearch:{type:Object,default(){return{show:!0,iconClass:"icon-search",tooltip:"Search"}}},iconHasStateError:{type:Object,default(){return{show:!0,iconClass:"icon-error-circle",tooltip:"Error"}}},iconHasStateWarning:{type:Object,default(){return{show:!0,iconClass:"icon-warning-circle",tooltip:"Warning"}}},iconHasStateSuccess:{type:Object,default(){return{show:!0,iconClass:"icon-check-circle",tooltip:"Success"}}},iconHasStateInfo:{type:Object,default(){return{show:!0,iconClass:"icon-info-circle",tooltip:"Info"}}},useIconsForToggleSwitch:{type:Boolean,default:!1},toggleSwitchCheckedIconClass:{type:String,default:"icon-check-circle"},toggleSwitchUncheckedIconClass:{type:String,default:"icon-cancel-circle"},iconPasswordVisible:{type:Object,default(){return{show:!0,iconClass:"icon-visible",tooltip:"Show password"}}},iconPasswordInvisible:{type:Object,default(){return{show:!0,iconClass:"icon-not-visible"}}}},computed:{elementAttributes(){const o=["name","required","readonly","disabled","autofocus"],n={input:[...o,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...o,"multiple"],textarea:[...o,"placeholder"]},t={};return n[this.element]&&Object.entries(this.$attrs).filter(([i])=>n[this.element].includes(i)).forEach(([i,l])=>t[i]=l),t},buttonAttrs(){var n,t;const o={...this.$attrs};return(n=this.nativeButton.icon)!=null&&n.tooltip&&(o.title=(t=this.nativeButton.icon)==null?void 0:t.tooltip),o},tooltipHeadline(){return{text:this.labelText,level:"5"}},isChecked(){return typeof this.modelValue=="boolean"?this.modelValue:typeof this.modelValue=="string"?this.modelValue===this.inputValue:typeof this.modelValue=="number"?this.modelValue===this.inputValue:this.modelValue!==void 0?this.modelValue.includes(this.inputValue):!1},charactersTextarea(){return this.textCharacters+" "+this.modelValue.length+"/"+this.getMaxLength()},validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.capsLockActivated?this.getMessage("cmdformelement.validationTooltip.caps_lock_is_activated"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},autocomplete(){return this.$attrs.type!=="file"?this.datalist?"off":"on":null},toggleSwitchIconClass(){return this.toggleSwitch&&this.useIconsForToggleSwitch&&this.toggleSwitchUncheckedIconClass&&this.toggleSwitchCheckedIconClass?this.isChecked?this.toggleSwitchCheckedIconClass:this.toggleSwitchUncheckedIconClass:null}},methods:{additionalStandardRequirements(){const o=[];return this.$attrs.type==="email"&&o.push({message:this.getMessage("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),o},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:tr.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(o){var t;((t=o.target.closest("form"))==null?void 0:t.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof o.target.checkValidity=="function"&&!o.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(l=>!l.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(o){this.validateInput(o),this.closeTooltipOnBlur()},onInput(o){this.validateInput(o),this.$emit("update:modelValue",o.target.value)},onChange(o){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",o.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",o.target.value);else if(this.modelValue!==void 0){let n=[...this.modelValue];o.target.checked?n.push(o.target.value):n=n.filter(t=>t!==o.target.value),this.$emit("update:modelValue",n)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const o=this.$refs.input,n=o.value;o.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),o.setAttribute("type","text"),o.setAttribute("value",n)},hidePassword(){this.$refs.input.nextElementSibling.classList.replace(this.iconPasswordInvisible.iconClass,this.iconPasswordVisible.iconClass),this.$refs.input.setAttribute("type","password")},executeSearch(){this.$emit("search",this.value)},closeTooltipOnBlur(){this.$refs.tooltip&&this.$refs.tooltip.hideTooltip()}},watch:{status:{handler(){this.validationStatus=this.status||""},immediate:!0}}},nr=["for","title"],lr={key:0,class:"label-text"},ar={key:2},ir=["title","aria-errormessage","id"],sr={key:1,class:"flex-container"},rr=["id","autocomplete","list","value","maxlength"],cr=["title"],dr=["id"],mr=["value"],hr=["checked","value","id","disabled","aria-invalid"],ur={key:2},fr={class:"switch-label-wrapper"},pr=["checked","value","id","disabled","aria-invalid"],gr={class:"label-text"},yr={class:"label-text"},kr={key:0,class:"label-text"},Cr={key:0},_r=["id"],Br=["value","selected"],br=["id","value","maxlength"],wr={key:6},Nr={key:7,class:"search-field-wrapper flex-container no-gap"},Sr=["id","maxlength","value"],Ir=["title"],xr=["title"],Dr={key:1};function Tr(o,n,t,i,l,a){var s,d,m,h,f,u,y,p,k,C,S,E,g,D,b,x,V,L,T,F,P,Z,U,Q;const r=Re,c=M;return t.element==="input"||t.element==="select"||t.element==="textarea"?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["cmd-form-element",o.validationStatus,o.$attrs.class,{disabled:o.$attrs.disabled,inline:t.displayLabelInline,checked:a.isChecked,"toggle-switch":t.toggleSwitch,colored:t.colored,on:t.colored&&a.isChecked,off:t.colored&&!a.isChecked,"has-state":o.validationStatus}]),for:o.htmlId,title:o.$attrs.title,ref:"label"},[(t.labelText||o.$slots.labeltext)&&o.$attrs.type!=="checkbox"&&o.$attrs.type!=="radio"?e.withDirectives((e.openBlock(),e.createElementBlock("span",lr,[e.createElementVNode("span",null,[t.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.labelText),1)],64)):e.renderSlot(o.$slots,"labeltext",{key:1}),o.$attrs.required?(e.openBlock(),e.createElementBlock("sup",ar,"*")):e.createCommentVNode("",!0)]),o.useCustomTooltip&&(o.validationStatus===""||o.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{key:0,ref:"tooltip",validationStatus:o.validationStatus,validationMessage:o.getValidationMessage,relatedId:o.tooltipId,cmdListOfRequirements:o.listOfRequirements,role:o.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),o.$attrs.required||o.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:a.validationTooltip,"aria-errormessage":o.tooltipId,"aria-live":"assertive",id:o.tooltipId},[e.createVNode(c,{iconClass:o.getStatusIconClass},null,8,["iconClass"])],8,ir)):e.createCommentVNode("",!0)],512)),[[e.vShow,t.showLabel]]):e.createCommentVNode("",!0),o.$attrs.type!=="checkbox"&&o.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",sr,[t.fieldIconClass?(e.openBlock(),e.createBlock(c,{key:0,class:"place-inside",iconClass:t.fieldIconClass},null,8,["iconClass"])):e.createCommentVNode("",!0),t.element==="input"&&o.$attrs.type!=="search"?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},a.elementAttributes,{id:o.htmlId,class:t.inputClass,onFocus:n[1]||(n[1]=w=>o.tooltip=!0),onBlur:n[2]||(n[2]=(...w)=>a.onBlur&&a.onBlur(...w)),onInput:n[3]||(n[3]=(...w)=>a.onInput&&a.onInput(...w)),onMouseover:n[4]||(n[4]=(...w)=>a.datalistFocus&&a.datalistFocus(...w)),onKeyup:n[5]||(n[5]=(...w)=>o.checkForCapsLock&&o.checkForCapsLock(...w)),onChange:n[6]||(n[6]=w=>o.$emit("change",w)),autocomplete:a.autocomplete,list:t.datalist?t.datalist.id:null,value:t.modelValue,maxlength:a.getMaxLength(),ref:"input"}),null,16,rr)):e.createCommentVNode("",!0),o.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((...w)=>a.showPassword&&a.showPassword(...w),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((...w)=>a.hidePassword&&a.hidePassword(...w),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((...w)=>a.hidePassword&&a.hidePassword(...w),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:t.iconPasswordVisible.tooltip},[e.createVNode(c,{iconClass:t.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,cr)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.datalist&&t.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:2,id:t.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.datalist.options,(w,H)=>(e.openBlock(),e.createElementBlock("option",{key:H,value:w},null,8,mr))),128))],8,dr)):t.element==="input"&&(o.$attrs.type==="checkbox"||o.$attrs.type==="radio")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[t.onLabel&&t.offLabel?t.onLabel&&t.offLabel?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",fr,[e.createElementVNode("input",e.mergeProps(a.elementAttributes,{onChange:n[13]||(n[13]=(...w)=>a.onChange&&a.onChange(...w)),onBlur:n[14]||(n[14]=(...w)=>a.onBlur&&a.onBlur(...w)),checked:a.isChecked,value:t.inputValue,class:{inputClass:t.inputClass,validationStatus:o.validationStatus},id:o.htmlId,disabled:o.$attrs.disabled,"aria-invalid":o.validationStatus==="error"}),null,16,pr),e.createElementVNode("span",gr,e.toDisplayString(t.onLabel),1),e.createElementVNode("span",yr,e.toDisplayString(t.offLabel),1)]),t.labelText?(e.openBlock(),e.createElementBlock("span",kr,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(t.labelText),1),o.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Cr,"*")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],64)):e.renderSlot(o.$slots,"default",{key:2}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(a.elementAttributes,{onChange:n[11]||(n[11]=(...w)=>a.onChange&&a.onChange(...w)),onBlur:n[12]||(n[12]=(...w)=>a.onBlur&&a.onBlur(...w)),checked:a.isChecked,value:t.inputValue,class:[t.inputClass,o.validationStatus,a.toggleSwitchIconClass,{"replace-input-type":t.replaceInputType,"toggle-switch":t.toggleSwitch}],id:o.htmlId,disabled:o.$attrs.disabled,"aria-invalid":o.validationStatus==="error"}),null,16,hr),t.labelText||o.$slots.labeltext?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!t.showLabel}])},[e.createElementVNode("span",null,[t.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.labelText),1)],64)):e.renderSlot(o.$slots,"labeltext",{key:1}),o.$attrs.required?(e.openBlock(),e.createElementBlock("sup",ur,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0),t.element==="select"?(e.openBlock(),e.createElementBlock("select",e.mergeProps({key:4},a.elementAttributes,{id:o.htmlId,onBlur:n[15]||(n[15]=(...w)=>a.onBlur&&a.onBlur(...w)),onChange:n[16]||(n[16]=w=>o.$emit("update:modelValue",w.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectOptions,(w,H)=>(e.openBlock(),e.createElementBlock("option",{key:H,value:w.value,selected:w.value===t.modelValue},e.toDisplayString(w.text),9,Br))),128))],16,_r)):e.createCommentVNode("",!0),t.element==="textarea"?(e.openBlock(),e.createElementBlock("textarea",e.mergeProps({key:5},a.elementAttributes,{id:o.htmlId,value:t.modelValue,maxlength:a.getMaxLength(),onInput:n[17]||(n[17]=(...w)=>a.onInput&&a.onInput(...w)),onFocus:n[18]||(n[18]=w=>o.tooltip=!0),onBlur:n[19]||(n[19]=(...w)=>a.onBlur&&a.onBlur(...w))}),`\r
2
+ `,16,br)):e.createCommentVNode("",!0),t.element==="textarea"&&t.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",wr,e.toDisplayString(a.charactersTextarea),1)):t.element==="input"&&o.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",Nr,[e.createElementVNode("input",e.mergeProps(a.elementAttributes,{id:o.htmlId,onInput:n[20]||(n[20]=(...w)=>a.onInput&&a.onInput(...w)),maxlength:a.getMaxLength(),value:t.modelValue}),null,16,Sr),t.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:o.$attrs.disabled}]),title:t.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((...w)=>a.executeSearch&&a.executeSearch(...w),["prevent"]))},[e.createVNode(c,{iconClass:t.iconSearch.iconClass},null,8,["iconClass"])],10,Ir)):e.createCommentVNode("",!0),(s=t.iconDelete)!=null&&s.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(w=>o.$emit("update:modelValue",""),["prevent"])),title:(d=t.iconDelete)==null?void 0:d.tooltip},[e.createVNode(c,{iconClass:(m=t.iconDelete)==null?void 0:m.iconClass,type:(h=t.iconDelete)==null?void 0:h.iconType},null,8,["iconClass","type"])],8,xr)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,nr)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},a.buttonAttrs),[((u=(f=t.nativeButton)==null?void 0:f.icon)==null?void 0:u.show)&&(((p=(y=t.nativeButton)==null?void 0:y.icon)==null?void 0:p.position)==="before"||!((C=(k=t.nativeButton)==null?void 0:k.icon)!=null&&C.position))?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(E=(S=t.nativeButton)==null?void 0:S.icon)==null?void 0:E.iconClass,type:(D=(g=t.nativeButton)==null?void 0:g.icon)==null?void 0:D.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((b=t.nativeButton)==null?void 0:b.icon)&&((x=t.nativeButton)==null?void 0:x.text)?(e.openBlock(),e.createElementBlock("span",Dr,e.toDisplayString(t.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(t.nativeButton.text),1)],64)),((L=(V=t.nativeButton)==null?void 0:V.icon)==null?void 0:L.show)&&((F=(T=t.nativeButton)==null?void 0:T.icon)==null?void 0:F.position)==="after"?(e.openBlock(),e.createBlock(c,{key:3,iconClass:(Z=(P=t.nativeButton)==null?void 0:P.icon)==null?void 0:Z.iconClass,type:(Q=(U=t.nativeButton)==null?void 0:U.icon)==null?void 0:Q.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const K=N(or,[["render",Tr]]),Vr={data(){return{defaultMessageProperties:{"cmdcookiedisclaimer.title.cookie_cannot_be_disabled":"This cookie cannot be disabled, because it is required for functionality!","cmdcookiedisclaimer.title.toggle_to_accept_cookie":"Toggle to accept or reject this cookie!"}}}},Ff="",Mr={name:"CmdCookieDisclaimer",mixins:[R,Vr],data(){return{showCookieDisclaimer:!0,dataPrivacyContent:""}},props:{modelValue:{type:Array,required:!1},cmdHeadlineCookieDisclaimer:{type:Object,default(){return{show:!0,headlineText:"Cookie disclaimer",headlineLevel:2}}},cmdBoxRequiredCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Required cookies",headlineLevel:3}}},cmdBoxOptionalCookies:{type:Object,default(){return{collapsible:!0,showHeadline:!0,headlineText:"Optional cookies",headlineLevel:3}}},cookieOptions:{type:Object,required:!1},buttonLabelAcceptAllCookies:{type:String,default:"Accept all cookies!"},buttonLabelAcceptCurrentSettings:{type:String,default:"Proceed with current settings!"}},computed:{acceptedCookies:{get(){var t,i;const o=this.modelValue?[...this.modelValue]:[],n=((i=(t=this.cookieOptions)==null?void 0:t.required)==null?void 0:i.cookies)||[];for(let l=0;l<n.length;l++)o.includes(n[l].value)||o.push(n[l].value);return o},set(o){this.$emit("update:modelValue",o)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var i,l,a,r;const o=[],n=(l=(i=this.cookieOptions)==null?void 0:i.required)==null?void 0:l.cookies;if(n)for(let c=0;c<n.length;c++)o.push(n[c].value);const t=(r=(a=this.cookieOptions)==null?void 0:a.optional)==null?void 0:r.cookies;if(t)for(let c=0;c<t.length;c++)o.push(t[c].value);this.$emit("close-cookie-disclaimer",o)},openDataPrivacy(o){o.target.target||(o.preventDefault(),fetch(o.target.href).then(n=>n.text()).then(n=>{this.dataPrivacyContent=n}))}}},Er={class:"cmd-cookie-disclaimer flex-container vertical"},Or={key:0,class:"flex-container vertical"},Lr={key:0},jr={key:1},Fr=["href","target"],Pr=["innerHTML"],zr=e.createElementVNode("hr",null,null,-1),Ar={key:1,class:"flex-container vertical"},qr={key:0},Hr={key:1},Rr=["href","target"],Ur=["innerHTML"],Gr={class:"button-wrapper align-center"};function Qr(o,n,t,i,l,a){const r=j,c=K,s=vt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var d,m,h;return[e.createElementVNode("div",Er,[((d=t.cmdHeadlineCookieDisclaimer)==null?void 0:d.show)&&((m=t.cmdHeadlineCookieDisclaimer)==null?void 0:m.headlineText)&&((h=t.cmdHeadlineCookieDisclaimer)==null?void 0:h.headlineLevel)?(e.openBlock(),e.createBlock(r,{key:0,headlineText:t.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:t.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"cookie-options",{},()=>{var f,u,y,p,k,C,S,E;return[(f=t.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Or,[(u=t.cmdBoxRequiredCookies)!=null&&u.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-text":(y=t.cmdBoxRequiredCookies)==null?void 0:y.headlineText,"headline-level":(p=t.cmdBoxRequiredCookies)==null?void 0:p.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.cookieOptions.required.cookies||[],(g,D)=>{var b;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(b=t.cmdBoxRequiredCookies)==null?void 0:b.collapsible,key:D},{header:e.withCtx(()=>[e.createVNode(c,{element:"input",type:"checkbox",modelValue:a.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=x=>a.acceptedCookies=x),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:o.getMessage("cmdcookiedisclaimer.title.cookie_cannot_be_disabled")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",Lr,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",jr,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...x)=>a.openDataPrivacy&&a.openDataPrivacy(...x)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Fr)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Pr)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),zr,(k=t.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",Ar,[(C=t.cmdBoxOptionalCookies)!=null&&C.showHeadline?(e.openBlock(),e.createBlock(r,{key:0,"headline-text":(S=t.cmdBoxOptionalCookies)==null?void 0:S.headlineText,"headline-level":(E=t.cmdBoxOptionalCookies)==null?void 0:E.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.cookieOptions.optional.cookies||[],(g,D)=>{var b;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(b=t.cmdBoxOptionalCookies)==null?void 0:b.collapsible,key:D},{header:e.withCtx(()=>[e.createVNode(c,{element:"input",type:"checkbox",modelValue:a.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=x=>a.acceptedCookies=x),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:o.getMessage("cmdcookiedisclaimer.title.toggle_to_accept_cookie")},null,8,["modelValue","inputValue","labelText","disabled","id","title"])]),body:e.withCtx(()=>[g.description?(e.openBlock(),e.createElementBlock("p",qr,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Hr,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...x)=>a.openDataPrivacy&&a.openDataPrivacy(...x)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Rr)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Ur)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(o.$slots,"privacy-text"),e.createElementVNode("div",Gr,[t.buttonLabelAcceptCurrentSettings?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",onClick:n[4]||(n[4]=(...f)=>a.acceptCurrentCookies&&a.acceptCurrentCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(t.buttonLabelAcceptCurrentSettings),1)])):e.createCommentVNode("",!0),t.buttonLabelAcceptAllCookies?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:n[5]||(n[5]=(...f)=>a.acceptAllCookies&&a.acceptAllCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(t.buttonLabelAcceptAllCookies),1)])):e.createCommentVNode("",!0)])])]}),_:3})}const Zr=N(Mr,[["render",Qr]]),Pf="",Wr={name:"CmdCopyrightWrapper"},Jr={class:"cmd-copyright-information",role:"contentinfo"},Yr=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function Kr(o,n,t,i,l,a){return e.openBlock(),e.createElementBlock("div",Jr,Yr)}const Xr=N(Wr,[["render",Kr]]),$r={data(){return{defaultMessageProperties:{"cmdfakeselect.headline.requirements_for_input":"Requirements for input","cmdfakeselect.linktext.deselect_all_options":"Deselect all options","cmdfakeselect.linktext.select_all_options":"Select all options","cmdfakeselect.headline.":"An option is selected"}}}},Af="",vr={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[R,$r,Ue,ie,Qe],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:{}}},props:{type:{type:String,default:"default"},optionLinkType:{type:String,default:"href"},modelValue:{type:[String,Number,Array],default:""},selectData:{type:Array,required:!1},showSelectAllOptions:{type:Boolean,default:!0},status:{type:String,required:!1},iconDropdown:{type:Object,default(){return{iconClass:"icon-single-arrow-down",tooltip:"Toggle dropdown visibility",iconType:"auto"}}},labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},pathFlags:{type:String,default:"/media/images/flags"},textPleaseSelect:{type:String,default:"Please select\u2026"},iconSelectAllOptions:{type:Object,default(){return{iconClass:"icon-check",iconType:"auto"}}}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},optionName(){var o,n;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const t=this.selectData.find(i=>i.value===this.modelValue);if(t)return t.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(o=this.selectData.find(t=>String(t.value)===String(this.modelValue[0])))==null?void 0:o.text;if(this.modelValue.length>1)return this.modelValue.length+" options selected"}else if((n=this.selectData)!=null&&n.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const o=this.selectData.find(n=>n.value===this.modelValue);return{iconClass:o==null?void 0:o.iconClass,tooltip:o==null?void 0:o.tooltip}}return null},optionCountry(){var o,n;return this.type==="country"?this.modelValue||((n=(o=this.selectData)==null?void 0:o[0])==null?void 0:n.value):null},optionColor(){var o,n;return this.type==="color"?this.modelValue||((n=(o=this.selectData)==null?void 0:o[0])==null?void 0:n.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?"Deselect all options":"Select all options"}},mounted(){const o=setInterval(()=>{this.$refs.fakeselect&&(clearInterval(o),this.limitWidth())},100)},methods:{toggleAllOptions(){this.validationStatus="success";const o=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let n=0;n<this.selectData.length;n++)o.push(String(this.selectData[n].value));this.$emit("update:modelValue",o)},limitWidth(){if(this.$refs.fakeselect){const o=this.$refs.fakeselect.offsetWidth;this.limitWidthStyle={width:o/100*90+"px"}}},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(o){return this.modelValue.some(n=>n===o||n===String(o))},selectOption(o){this.validationStatus="success",this.$attrs.required!==void 0&&(o||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",o)},optionSelect(o){this.validationStatus="success";let n=[...this.modelValue];o.target.checked?n.push(o.target.value):n=n.filter(t=>t!==o.target.value&&String(t)!==o.target.value),this.$attrs.required!==void 0&&!n.length&&(this.validationStatus="error"),this.$emit("update:modelValue",n)},closeOptions(){this.showOptions=!1},pathFlag(o){return this.pathFlags+"/flag-"+o+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return"An option is selected"}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var o;this.type==="default"&&((o=this.selectData)==null?void 0:o.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},ec=["title","aria-labelledby","aria-required"],tc={key:0,class:"label-text"},oc=["id"],nc={key:0},lc=["title","aria-errormessage","id"],ac=["aria-expanded"],ic=["title"],sc=["src","alt"],rc={key:0,role:"listbox"},cc=["aria-selected"],dc=["onClick","title"],mc={key:1},hc=["aria-expanded"],uc=["for"],fc=["value","checked","id"],pc=["onClick"],gc=["src","alt"],yc=["onClick"],kc={key:0,class:"select-all-options"};function Cc(o,n,t,i,l,a){var d,m,h,f;const r=Re,c=M,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([l.validationStatus,"cmd-fake-select label",{color:t.type==="color","has-state":l.validationStatus&&l.validationStatus!=="none",disabled:o.$attrs.disabled}]),title:o.$attrs.title,role:"listbox","aria-labelledby":o.htmlId,"aria-required":o.$attrs.required!==void 0,ref:"fakeselect"},[t.showLabel?(e.openBlock(),e.createElementBlock("span",tc,[e.createElementVNode("span",{id:o.htmlId},[e.createTextVNode(e.toDisplayString(t.labelText),1),o.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",nc,"*")):e.createCommentVNode("",!0)],8,oc),o.useCustomTooltip&&(l.validationStatus===""||l.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{key:0,ref:"tooltip",validationStatus:l.validationStatus,validationMessage:o.getValidationMessage,relatedId:o.tooltipId,cmdListOfRequirements:o.listOfRequirements,role:l.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),o.$attrs.required||o.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:o.useCustomTooltip?"":o.getValidationMessage,"aria-errormessage":o.tooltipId,"aria-live":"assertive",id:o.tooltipId},[e.createVNode(c,{iconClass:o.getStatusIconClass},null,8,["iconClass"])],8,lc)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:l.showOptions}),onClickout:n[5]||(n[5]=(...u)=>a.closeOptions&&a.closeOptions(...u)),"aria-expanded":l.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...u)=>a.toggleOptions&&a.toggleOptions(...u),["prevent"])),onBlur:n[2]||(n[2]=(...u)=>a.onBlur&&a.onBlur(...u)),title:(d=a.optionIcon)==null?void 0:d.tooltip},[t.type==="country"&&a.optionCountry?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.pathFlag(a.optionCountry),alt:a.optionCountry,class:e.normalizeClass(["flag",a.optionCountry])},null,10,sc)):t.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+a.optionColor)},null,4)):e.createCommentVNode("",!0),(m=a.optionIcon)!=null&&m.iconClass?(e.openBlock(),e.createBlock(c,{key:2,type:(h=a.optionIcon)==null?void 0:h.iconType,iconClass:(f=a.optionIcon)==null?void 0:f.iconClass},null,8,["type","iconClass"])):e.createCommentVNode("",!0),a.optionName?(e.openBlock(),e.createElementBlock("span",{key:3,class:"option-name",style:e.normalizeStyle(l.limitWidthStyle)},e.toDisplayString(a.optionName),5)):e.createCommentVNode("",!0),t.iconDropdown?(e.openBlock(),e.createBlock(c,{key:4,iconClass:t.iconDropdown.iconClass,type:t.iconDropdown.iconType,title:t.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,ic),t.type==="default"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",rc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectData,(u,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,role:"option","aria-selected":u.value===t.modelValue},[t.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(p=>a.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===t.modelValue}),title:u.tooltip},[u.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",mc,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0)],10,dc)):e.createCommentVNode("",!0),t.optionLinkType==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:"#",onClick:e.withModifiers(p=>a.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===t.modelValue})},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(u.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,cc))),128))])):t.type!=="default"&&t.type!=="content"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":t.type==="checkboxOptions"}),"aria-expanded":l.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.selectData,(u,y)=>(e.openBlock(),e.createElementBlock("li",{key:y},[t.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(y+1),class:e.normalizeClass({active:t.modelValue.includes(`${u.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:u.value,onChange:n[3]||(n[3]=(...p)=>a.optionSelect&&a.optionSelect(...p)),checked:a.compareValues(u.value),id:"option-"+(y+1)},null,40,fc),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,uc)):t.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(p=>a.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===t.modelValue})},[e.createElementVNode("img",{class:"flag",src:a.pathFlag(u.value),alt:u.text},null,8,gc),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,pc)):t.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(p=>a.selectOption(u.value),["prevent"]),class:e.normalizeClass({active:u.value===t.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+u.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(u.text),1)],10,yc)):e.createCommentVNode("",!0)]))),128)),t.showSelectAllOptions&&t.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",kc,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...u)=>a.toggleAllOptions&&a.toggleAllOptions(...u),["prevent"]))},[e.createVNode(c,{iconClass:o.selectAllOptionsIcon.iconClass,type:o.selectAllOptionsIcon.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(a.selectAllOptionsText),1)])])):e.createCommentVNode("",!0)],10,hc)):t.type==="content"&&l.showOptions?e.renderSlot(o.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,ac)],10,ec)}const lo=N(vr,[["render",Cc]]),qf="",_c={name:"CmdForm",emits:["submit"],data(){return{errorOccurred:!1}},props:{novalidate:{type:Boolean,default:!0},useValidation:{type:Boolean,default:!0},useFieldset:{type:Boolean,default:!0},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},methods:{onSubmit(o){this.useValidation&&(o.preventDefault(),o.target.checkValidity()?(this.errorOccurred=!1,this.$emit("submit",o)):this.errorOccurred=!0)}}},Bc=["data-use-validation","novalidate"],bc={class:"flex-container"};function wc(o,n,t,i,l,a){return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:l.errorOccurred}]),"data-use-validation":t.useValidation,onSubmit:n[0]||(n[0]=(...r)=>a.onSubmit&&a.onSubmit(...r)),novalidate:t.novalidate},[t.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",bc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegend),3),e.renderSlot(o.$slots,"default")]),e.renderSlot(o.$slots,"button-row")],64)):e.renderSlot(o.$slots,"default",{key:1})],42,Bc)}const Nc=N(_c,[["render",wc]]),Hf="",Sc={name:"CmdFormFilters",data(){return{options:[]}},props:{modelValue:{type:Array,required:!0},linkDeleteAllFilters:{type:Object,default(){return{text:"Delete all filters",icon:{show:!0,iconClass:"icon-error-circle",tooltip:""}}}},deleteFilterIcon:{type:Object,default(){return{iconClass:"icon-error-circle",tooltip:"Delete this filter",type:"auto"}}},selectedOptionsName:{type:Function,required:!0}},methods:{deleteAllFilters(){this.options=[],this.updateSelectedOptions()},deleteClickedFilter(o){this.options.splice(o,1),this.updateSelectedOptions()},updateSelectedOptions(){this.$emit("update:modelValue",this.options)}},watch:{modelValue:{handler(){this.modelValue?this.options=JSON.parse(JSON.stringify(this.modelValue)):this.options=[]},immediate:!0,deep:!0}}},Ic={key:0,class:"cmd-form-filters"},xc={key:0},Dc={key:1},Tc=["onClick","title"];function Vc(o,n,t,i,l,a){const r=M;return l.options.length?(e.openBlock(),e.createElementBlock("ul",Ic,[l.options.length>1?(e.openBlock(),e.createElementBlock("li",xc,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...c)=>a.deleteAllFilters&&a.deleteAllFilters(...c),["prevent"]))},[t.linkDeleteAllFilters.icon&&t.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.linkDeleteAllFilters.icon.iconClass,title:t.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),t.linkDeleteAllFilters.text?(e.openBlock(),e.createElementBlock("span",Dc,e.toDisplayString(t.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,(c,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(d=>a.deleteClickedFilter(s),["prevent"]),title:t.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(t.selectedOptionsName(c)),1),e.createVNode(r,{iconClass:t.deleteFilterIcon.iconClass,type:t.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,Tc)]))),128))])):e.createCommentVNode("",!0)}const ao=N(Sc,[["render",Vc]]),Rf="",Mc={name:"CmdGoogleMaps",props:{address:{type:Object,required:!0}},computed:{locateAddress(){if(this.address){const o=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return o.searchParams.set("hl","de"),o.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),o.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}}},Ec={class:"cmd-google-maps responsive-wrapper"},Oc=["src"];function Lc(o,n,t,i,l,a){return e.openBlock(),e.createElementBlock("div",Ec,[e.createElementVNode("iframe",{src:a.locateAddress},null,8,Oc)])}const jc=N(Mc,[["render",Lc]]),Fc={data(){return{defaultMessageProperties:{"cmdimagegallery.tooltip.open_large_image":"Open large image"}}}},Uf="",Pc={name:"CmdImageGallery",mixins:[R,Fc],props:{images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},methods:{showFancyBox(o){ke({fancyBoxGallery:this.images,defaultGalleryIndex:o})}}},zc={class:"grid-container-create-columns cmd-image-gallery"},Ac=["onClick","title"];function qc(o,n,t,i,l,a){const r=W;return e.openBlock(),e.createElementBlock("div",zc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.images,(c,s)=>(e.openBlock(),e.createElementBlock("a",{key:s,onClick:e.withModifiers(d=>a.showFancyBox(s),["prevent"]),href:"#",title:o.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(r,{image:c.image,figcaption:c.figcaption},null,8,["image","figcaption"])],8,Ac))),128))])}const Hc=N(Pc,[["render",qc]]),Gf="",Rc={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(o){this.showLargeImage=!0,this.$nextTick(()=>{const n=window.innerHeight-this.$el.getBoundingClientRect().y-10,t=this.$el.querySelector(".zoom-container");t.style.height=`${n}px`,io(this,o)})},onMouseMove(o){io(this,o)},onMouseOut(){this.showLargeImage=!1}}};function io(o,n){const t=o.$el.querySelector(".zoom-container"),i=t.querySelector("img"),l=o.$el.querySelector(".zoom-overlay"),a=n.target.getBoundingClientRect().width,r=n.target.getBoundingClientRect().height,c=i.getBoundingClientRect().width,s=i.getBoundingClientRect().height,d=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,m=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,h=Math.min(a,t.getBoundingClientRect().width/c*a),f=Math.min(r,t.getBoundingClientRect().height/s*r),u=so(d-h/2,0,a-h),y=so(m-f/2,0,r-f),p=-(u*(c/a)),k=-(y*(s/r));l.style.left=`${u}px`,l.style.top=`${y}px`,l.style.width=`${h}px`,l.style.height=`${f}px`,l.style.display="block",i.style.marginLeft=`${p}px`,i.style.marginTop=`${k}px`}function so(o,n,t){return o<n?n:o>t?t:o}const Uc={class:"cmd-imagezoom grid-container-create-columns"},Gc={class:"grid-small-item"},Qc={href:"#",class:"thumbnails-imagezoom"},Zc={key:0,class:"zoom-container grid-large-item"},Wc={key:1,class:"zoom-overlay"};function Jc(o,n,t,i,l,a){const r=W;return e.openBlock(),e.createElementBlock("div",Uc,[e.createElementVNode("div",Gc,[e.createElementVNode("a",Qc,[e.createVNode(r,{image:t.imageSmall.image,figcaption:t.imageSmall.figcaption,onMouseover:a.onMouseOver,onMousemove:a.onMouseMove,onMouseout:a.onMouseOut},null,8,["image","figcaption","onMouseover","onMousemove","onMouseout"])])]),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Zc,[e.createVNode(r,{image:t.imageLarge.image,figcaption:t.imageLarge.figcaption,onMouseover:a.onMouseOver,onMousemove:a.onMouseMove,onMouseout:a.onMouseOut},null,8,["image","figcaption","onMouseover","onMousemove","onMouseout"])])):e.createCommentVNode("",!0),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Wc)):e.createCommentVNode("",!0)])}const Yc=N(Rc,[["render",Jc]]),Qf="",Kc={mixins:[Ue,ie,Qe],data(){return{value:""}},props:{modelValue:{type:[Array,String],required:!1},required:{type:Boolean,default:!1},inputElements:{type:Array,required:!1},inputTypes:{type:String,default:"radio"},status:{type:String,required:!1},replaceInputType:{type:Boolean,default:!1},toggleSwitch:{type:Boolean,default:!1},useSlot:{type:Boolean,default:!1},multipleSwitch:{type:Boolean,default:!1},showLabel:{type:Boolean,default:!0},labelText:{type:String,required:!0},labelInline:{type:Boolean,default:!1},stretchHorizontally:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{updateStatus(){var o;if(this.required){if((o=this.inputValue)!=null&&o.length){this.validationStatus="";return}this.validationStatus="error";return}this.validationStatus=this.status}},computed:{validationTooltip(){return this.useCustomTooltip?this.validationStatus==="error"?this.getMessage("cmdformelement.validationTooltip.an_error_occurred"):this.validationStatus==="success"?this.getMessage("cmdformelement.validationTooltip.information_is_filled_correctly"):this.getMessage("cmdformelement.validationTooltip.open_field_requirements"):this.getValidationMessage},inputValue:{get(){return this.modelValue},set(o){this.$emit("update:modelValue",o)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},Xc=["aria-labelledby"],$c={class:"label-text"},vc=["id"],ed={key:0},td=["title","aria-errormessage","id"],od=["for"],nd=["type","id","name","value","disabled"],ld={key:1},ad={key:1,class:"flex-container no-flex"};function id(o,n,t,i,l,a){const r=Re,c=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-input-group label",o.validationStatus,{inline:t.labelInline,"multiple-switch":t.multipleSwitch,disabled:t.disabled,"toggle-switch":t.toggleSwitch,"has-state":o.validationStatus}]),"aria-labelledby":o.htmlId},[e.withDirectives(e.createElementVNode("span",$c,[e.createElementVNode("span",{id:o.htmlId},[e.createTextVNode(e.toDisplayString(t.labelText),1),t.required?(e.openBlock(),e.createElementBlock("sup",ed,"*")):e.createCommentVNode("",!0)],8,vc),o.useCustomTooltip&&(o.validationStatus===""||o.validationStatus==="error")?(e.openBlock(),e.createBlock(r,{key:0,ref:"tooltip",showRequirements:o.showRequirements,cmdListOfRequirements:o.listOfRequirements,validationStatus:o.validationStatus,validationMessage:o.getValidationMessage,inputAttributes:o.$attrs,inputModelValue:t.modelValue,helplink:o.helplink,relatedId:o.tooltipId,role:o.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):e.createCommentVNode("",!0),t.required||o.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:a.validationTooltip,"aria-errormessage":o.tooltipId,"aria-live":"assertive",id:o.tooltipId},[e.createVNode(c,{iconClass:o.getStatusIconClass},null,8,["iconClass"])],8,td)):e.createCommentVNode("",!0)],512),[[e.vShow,t.showLabel]]),t.useSlot?(e.openBlock(),e.createElementBlock("div",ad,[e.renderSlot(o.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex-container",{"no-flex":!t.stretchHorizontally,"no-gap":t.multipleSwitch}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.inputElements,(s,d)=>(e.openBlock(),e.createElementBlock("label",{key:d,for:s.id},[e.withDirectives(e.createElementVNode("input",{type:t.inputTypes,id:s.id,name:s.name,value:s.value,"onUpdate:modelValue":n[1]||(n[1]=m=>a.inputValue=m),disabled:t.disabled,class:e.normalizeClass({"replace-input-type":t.replaceInputType,"toggle-switch":t.toggleSwitch})},null,10,nd),[[e.vModelDynamic,a.inputValue]]),t.multipleSwitch&&s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.labelText?(e.openBlock(),e.createElementBlock("span",ld,e.toDisplayString(s.labelText),1)):e.createCommentVNode("",!0)],8,od))),128))],2))],10,Xc)}const sd=N(Kc,[["render",id]]),Zf="",rd={name:"CmdLoginForm",data(){return{usernameValidationStatus:!1,passwordValidationStatus:!1,emailValidationStatus:!1,sendLoginMail:"",sendLogin:!1}},props:{modelValue:{type:Object,default(){return{username:"",password:""}}},textLegendLoginForm:{type:String,default:"Login form"},showLegend:{type:Boolean,default:!0},textLegendForgotLoginForm:{type:String,default:"Forgot login form"},cmdHeadlineLoginForm:{type:Object,required:!1},cmdHeadlineSendLoginForm:{type:Object,required:!1},cmdFormElementUsername:{type:Object,default(){return{labelText:"Username:",placeholder:"Type in username",innerIconClass:"icon-user-profile",name:"login-username",id:"login-username",required:!0}}},cmdFormElementPassword:{type:Object,default(){return{labelText:"Password:",placeholder:"Type in password",innerIconClass:"icon-security-settings",name:"login-password",id:"login-password",required:!0}}},cmdFormElementSendLogin:{type:Object,default(){return{labelText:"Email-address:",placeholder:"Type in email-address you are registered with",innerIconClass:"icon-mail",name:"login-send-login",id:"login-send-login",required:!0}}},options:{type:Object,default(){return{forgotPassword:{icon:{show:!0,iconClass:"icon-questionmark-circle",tooltip:""},text:"Forgot password"},createAccount:{linkType:"href",path:"#",icon:{show:!0,iconClass:"icon-register",tooltip:""},text:"Create new account"},backToLoginForm:{icon:{show:!0,iconClass:"icon-single-arrow-left",tooltip:""},text:"Back to login form"}}}},buttons:{type:Object,default(){return{login:{linkType:"button",type:"submit",path:"",text:"Login",primary:!0,icon:{show:!0,iconClass:"icon-logon",tooltip:""}},sendLogin:{linkType:"button",type:"submit",path:"",text:"Send login",primary:!0,icon:{show:!0,iconClass:"icon-mail",tooltip:""}}}}}},computed:{buttonLoginDisabled(){return!(this.usernameValidationStatus&&this.passwordValidationStatus)},buttonSendLoginDisabled(){return!this.emailValidationStatus},username:{get(){return this.modelValue.username},set(o){this.$emit("update:modelValue",{username:o,password:this.password})}},password:{get(){return this.modelValue.password},set(o){this.$emit("update:modelValue",{username:this.username,password:o})}}},methods:{modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(o){this.$emit("click",o)},getRoute(o){return Y(o)},checkValidationStatus(o,n){o!=null&&(n==="username"?this.usernameValidationStatus=o==="success":n==="password"?this.passwordValidationStatus=o==="success":this.emailValidationStatus=o==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},cd={class:"cmd-login-form flex-container"},dd={class:"flex-container"},md={class:"option-wrapper flex-container"},hd={key:1},ud=["href"],fd={key:1},pd=e.createTextVNode(" /> "),gd={key:1},yd=["type","disabled"],kd={key:1},Cd={class:"cmd-login-form flex-container"},_d={class:"option-wrapper flex-container"},Bd={key:1},bd=["type","disabled"],wd={key:1};function Nd(o,n,t,i,l,a){var m,h,f,u,y,p,k;const r=j,c=K,s=M,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",cd,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegendLoginForm),3),t.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",dd,[e.createVNode(c,{element:"input",type:"text",name:t.cmdFormElementUsername.name,id:t.cmdFormElementUsername.id,modelValue:a.username,"onUpdate:modelValue":n[0]||(n[0]=C=>a.username=C),fieldIconClass:t.cmdFormElementUsername.innerIconClass,labelText:t.cmdFormElementUsername.labelText,placeholder:t.cmdFormElementUsername.placeholder,required:t.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=C=>a.checkValidationStatus(C,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(c,{element:"input",type:"password",name:t.cmdFormElementPassword.name,id:t.cmdFormElementPassword.id,fieldIconClass:t.cmdFormElementPassword.innerIconClass,modelValue:a.password,"onUpdate:modelValue":n[2]||(n[2]=C=>a.password=C),labelText:t.cmdFormElementPassword.labelText,placeholder:t.cmdFormElementPassword.placeholder,required:t.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=C=>a.checkValidationStatus(C,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",md,[t.options.forgotPassword||t.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers(C=>l.sendLogin=!0,["prevent"]))},[((m=t.options.forgotPassword.icon)==null?void 0:m.show)&&((h=t.options.forgotPassword.icon)==null?void 0:h.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:t.options.forgotPassword.icon.iconClass,type:t.options.forgotPassword.icon.iconType,title:t.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.options.forgotPassword.text?(e.openBlock(),e.createElementBlock("span",hd,e.toDisplayString(t.options.forgotPassword.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.options.createAccount&&t.options.createAccount.linkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:t.options.createAccount.path},[((f=t.options.createAccount.icon)==null?void 0:f.show)&&((u=t.options.createAccount.icon)==null?void 0:u.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:t.options.createAccount.icon.iconClass,type:t.options.createAccount.icon.iconType,title:t.options.createAccount.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",fd,e.toDisplayString(t.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,ud)):t.options.createAccount&&t.options.createAccount.linkType==="router"?(e.openBlock(),e.createBlock(d,{key:2,to:t.options.createAccount.path},{default:e.withCtx(()=>[t.options.createAccount.icon&&t.options.createAccount.icon.show&&t.options.createAccount.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass(t.options.createAccount.icon.iconClass),type:t.options.createAccount.icon.iconType,title:t.options.createAccount.icon.tooltip},null,8,["class","type","title"])):e.createCommentVNode("",!0),pd,t.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",gd,e.toDisplayString(t.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:t.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:t.buttons.login.primary}]),onClick:n[5]||(n[5]=(...C)=>a.onClick&&a.onClick(...C)),disabled:a.buttonLoginDisabled},[t.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:t.buttons.login.icon.iconClass,type:t.buttons.login.icon.iconType,title:t.buttons.login.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.buttons.login.text?(e.openBlock(),e.createElementBlock("span",kd,e.toDisplayString(t.buttons.login.text),1)):e.createCommentVNode("",!0)],10,yd)):e.createCommentVNode("",!0)])],512),[[e.vShow,!l.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",Cd,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegendForgotLoginForm),3),t.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(c,{element:"input",type:"email",fieldIconClass:t.cmdFormElementSendLogin.innerIconClass,labelText:t.cmdFormElementSendLogin.labelText,placeholder:t.cmdFormElementSendLogin.placeholder,name:t.cmdFormElementSendLogin.name,required:t.cmdFormElementSendLogin.required,id:t.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=C=>a.checkValidationStatus(C,"email")),modelValue:l.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=C=>l.sendLoginMail=C)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",_d,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(C=>l.sendLogin=!1,["prevent"]))},[t.options.backToLoginForm&&t.options.backToLoginForm.icon&&t.options.backToLoginForm.icon.show&&t.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:t.options.backToLoginForm.icon.iconClass,type:t.options.backToLoginForm.icon.iconType,title:t.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),t.options.backToLoginForm.text?(e.openBlock(),e.createElementBlock("span",Bd,e.toDisplayString(t.options.backToLoginForm.text),1)):e.createCommentVNode("",!0)]),t.buttons.sendLogin.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:0,type:t.buttons.sendLogin.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:t.buttons.sendLogin.primary}]),disabled:a.buttonSendLoginDisabled},[(y=t.buttons.sendLogin.icon)!=null&&y.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(p=t.buttons.sendLogin.icon)==null?void 0:p.iconClass,title:(k=t.buttons.sendLogin.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),t.buttons.sendLogin.text?(e.openBlock(),e.createElementBlock("span",wd,e.toDisplayString(t.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,bd)):e.createCommentVNode("",!0)])],512),[[e.vShow,l.sendLogin]])],64)}const Sd=N(rd,[["render",Nd]]),Wf="",Id={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},buttonOffcanvas:{type:Object,default:function(){return{iconClass:"icon-bars",text:"Open navigation",showText:!1}}},subentriesIconClass:{type:String,default:"icon-single-arrow-down"},subSubentriesIconClass:{type:String,default:"icon-single-arrow-right"},showContentOverlay:{type:Boolean,default:!0}},methods:{closeAllSubentries(o){o||(this.openEntry=-1),this.openSubentry=-1},executeLink(o,n,t,i){var l;if(n.target||n.path.length>1)return this.showOffcanvas=!1,!0;if((l=n==null?void 0:n.subentries)!=null&&l.length){o.preventDefault(),i?this.openSubentry=this.openSubentry===t?-1:t:(this.openEntry=this.openEntry===t?-1:t,this.openSubentry=-1);return}(n.path==="#"||n.path==="")&&(o.preventDefault(),this.$emit("click",n.path)),this.showOffcanvas=!1},getRoute(o){return Y(o)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}}},xd={key:0,class:"close-nav"},Dd=["href","title","target","onClick"],Td={key:1},Vd={key:1},Md=["aria-expanded"],Ed=["href","title","target","onClick"],Od={key:1},Ld={key:1},jd=["aria-expanded"],Fd=["href","title","target","onClick"],Pd={key:1},zd={key:1};function Ad(o,n,t,i,l,a){const r=M,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-main-navigation",{"hide-sub-navigation":!l.showSubNavigations,"open-off-canvas":l.showOffcanvas,"persist-on-mobile":t.persistOnMobile,"show-content-overlay":t.showContentOverlay}]),id:"main-navigation-wrapper"},[e.createElementVNode("nav",null,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-items":t.stretchMainItems})},[l.showOffcanvas?(e.openBlock(),e.createElementBlock("li",xd,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...s)=>a.closeOffcanvasNavigation&&a.closeOffcanvasNavigation(...s),["prevent"]))},[t.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:t.closeOffcanvas.iconClass,type:t.closeOffcanvas.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({hidden:!t.closeOffcanvas.showText})},e.toDisplayString(t.closeOffcanvas.text),3)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.navigationEntries,(s,d)=>{var m,h,f;return e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:s.active,open:l.openEntry===d,"has-subentries":(m=s==null?void 0:s.subentries)==null?void 0:m.length})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,title:s.tooltip,target:s.target,onClick:u=>a.executeLink(u,s,d),onMouseover:n[1]||(n[1]=u=>a.closeAllSubentries()),onFocus:n[2]||(n[2]=u=>a.closeAllSubentries())},[s.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Td,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),(h=s==null?void 0:s.subentries)!=null&&h.length?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Dd)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Vd,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),s.subentries&&s.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),(f=s==null?void 0:s.subentries)!=null&&f.length?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":l.openEntry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.subentries,(u,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,class:e.normalizeClass({open:l.openSubentry===y})},[u.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:u.path,title:u.tooltip,target:u.target,onClick:p=>a.executeLink(p,u,y,1),onMouseover:n[3]||(n[3]=p=>a.closeAllSubentries(1)),onFocus:n[4]||(n[4]=p=>a.closeAllSubentries(1))},[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Od,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Ed)):e.createCommentVNode("",!0),u.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(u),title:u.tooltip},{default:e.withCtx(()=>[u.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:u.iconClass,type:u.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),u.text?(e.openBlock(),e.createElementBlock("span",Ld,e.toDisplayString(u.text),1)):e.createCommentVNode("",!0),u.subentries&&u.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),u.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":l.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.subentries,(p,k)=>(e.openBlock(),e.createElementBlock("li",{key:k},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:C=>a.executeLink(C,p)},[p.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Pd,e.toDisplayString(p.text),1)):e.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],8,Fd)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(p),target:p.target},{default:e.withCtx(()=>[p.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",zd,e.toDisplayString(p.text),1)):e.createCommentVNode("",!0),p.subentries&&p.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",t.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","target"])):e.createCommentVNode("",!0)]))),128))],8,jd)):e.createCommentVNode("",!0)],2))),128))],8,Md)):e.createCommentVNode("",!0)],2)}),128))],2)]),t.persistOnMobile===!1?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:n[5]||(n[5]=e.withModifiers((...s)=>a.toggleOffcanvasNavigation&&a.toggleOffcanvasNavigation(...s),["prevent"]))},[e.createVNode(r,{iconClass:t.buttonOffcanvas.iconClass,type:t.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!t.buttonOffcanvas.showText})},e.toDisplayString(t.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const ro=N(Id,[["render",Ad]]),Jf="",qd={name:"CmdMultistepFormProgressBar",data(){return{activeLink:0}},props:{showStepNumber:{type:Boolean,default:!1},multisteps:{type:Array,required:!0},separatorIconClass:{type:String,default(){return"icon-single-arrow-right"}}},methods:{clickedStep(o,n){this.activeLink=n,this.$emit("click",{event:o,index:n,stepPath:this.multisteps[n].path})},getRoute(o){return Y(o)}}},Hd={class:"cmd-multistep-form-progress-bar"},Rd=["href","onClick","title"],Ud={key:0,class:"number"},Gd={key:2},Qd={key:0,class:"number"},Zd={key:2},Wd=["type","name","title","formaction","onClick"],Jd={key:0,class:"number"},Yd={key:2};function Kd(o,n,t,i,l,a){const r=M,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",Hd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.multisteps,(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:l.activeLink===d})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,onClick:e.withModifiers(m=>a.clickedStep(m,d),["stop","prevent"]),title:s.tooltip},[t.showStepNumber?(e.openBlock(),e.createElementBlock("span",Ud,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Gd,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(t.separatorIconClass)},null,2)],8,Rd)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:a.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[t.showStepNumber?(e.openBlock(),e.createElementBlock("span",Qd,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Zd,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(t.separatorIconClass)},null,2)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),s.type==="button"||s.type==="submit"?(e.openBlock(),e.createElementBlock("button",{key:2,class:"button",type:s.type,name:s.name,title:s.tooltip,formaction:s.formaction,onClick:e.withModifiers(m=>a.clickedStep(m,d),["stop","prevent"])},[t.showStepNumber?(e.openBlock(),e.createElementBlock("span",Jd,e.toDisplayString(d+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(r,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(t.separatorIconClass)},null,2)],8,Wd)):e.createCommentVNode("",!0)],2))),128))])}const Xd=N(qd,[["render",Kd]]),Yf="";function $d(o,n,t,i=!0){function l(a,r){return r&&a<10?"0"+a:a}return(a,r)=>{if(t){let c=a,s=n;return c>12&&(c-=12,s=t),l(c,i)+o+l(r,!0)+s}return l(a,i)+o+l(r,!0)+n}}const vd={name:"CmdOpeningHours",props:{link:{type:Object,required:!1},closed:{type:Boolean,default:!1},textOpen:{type:String,default:"Open right now!"},textClosed:{type:String,default:"Closed right now!"},openingHours:{type:Array,required:!0},textHolidaysClosed:{type:String,required:!1},textMiscInfo:{type:String,required:!1},cmdHeadline:{type:Object,required:!1},timeFormatter:{type:Function,required:!1},componentHandlesClosedStatus:{type:Boolean,default:!0},checkInterval:{type:Number,default:5e3}},mounted(){this.componentHandlesClosedStatus&&this.checkInterval>0&&(this.$_CmdOpeningHours_intervalId=setInterval(()=>{this.currentTime=new Date},this.checkInterval))},data(){return{currentTime:new Date}},computed:{textOpenClosed(){return this.isClosed?this.textClosed:this.textOpen},openingHoursFormatted(){const o=[];for(let n=0;n<this.openingHours.length;n++){const t={},i=this.openingHours[n].fromTime.split(/[:.]/),l=this.openingHours[n].tillTime.split(/[:.]/);t.day=this.openingHours[n].day,t.fromTime={hours:parseInt(i[0]),mins:parseInt(i[1])},t.tillTime={hours:parseInt(l[0]),mins:parseInt(l[1])},o.push(t)}return o},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let o=this.currentTime.getDay();o===0?o=6:o-=1;const n=this.openingHoursFormatted[o];if(this.openingHoursFormatted[o]){const t=new Date;t.setHours(n.fromTime.hours,n.fromTime.mins);const i=new Date;if(i.setHours(n.tillTime.hours,n.tillTime.mins),t<=this.currentTime&&this.currentTime<=i)return!1}return!0}},methods:{getTime(o){return this.timeFormatter?this.timeFormatter(o.hours,o.mins):$d(":"," hrs","",!1)(o.hours,o.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},em={class:"cmd-opening-hours"},tm=["href"],om={key:3},nm={key:0},lm={key:1};function am(o,n,t,i,l,a){var s,d;const r=j,c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",em,[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.link&&((s=t.link)==null?void 0:s.path)&&((d=t.link)==null?void 0:d.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:t.link.path,class:e.normalizeClass({closed:a.isClosed})},e.toDisplayString(a.textOpenClosed),11,tm)):e.createCommentVNode("",!0),t.link.type==="router"?(e.openBlock(),e.createBlock(c,{key:1,to:t.link.path,class:e.normalizeClass({closed:a.isClosed})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.textOpenClosed),1)]),_:1},8,["to","class"])):e.createCommentVNode("",!0),t.link.type==="button"?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["button",{closed:a.isClosed}])},e.toDisplayString(a.textOpenClosed),3)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({closed:a.isClosed})},e.toDisplayString(a.textOpenClosed),3)),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.openingHoursFormatted,m=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m.day},[e.createElementVNode("dt",null,e.toDisplayString(m.day)+":",1),e.createElementVNode("dd",null,e.toDisplayString(a.getTime(m.fromTime))+"\u2013"+e.toDisplayString(a.getTime(m.tillTime)),1)],64))),128))]),t.textHolidaysClosed||t.textMiscInfo?(e.openBlock(),e.createElementBlock("div",om,[t.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",nm,[e.createElementVNode("strong",null,e.toDisplayString(t.textHolidaysClosed),1)])):e.createCommentVNode("",!0),t.textMiscInfo?(e.openBlock(),e.createElementBlock("p",lm,e.toDisplayString(t.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const im=N(vd,[["render",am]]),sm={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},Kf="",rm={name:"CmdPager",mixins:[R,sm],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},linkType:{type:String,default:"href"},prevLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-left",text:"prev",showText:!0}}},nextLink:{type:Object,default:function(){return{iconClass:"icon-single-arrow-right",text:"next",showText:!0}}}},computed:{numberOfPages(){return Math.ceil(this.pages/this.itemsPerPage)},getPreviousHref(){return this.currentPage===1?null:"#"},getNextHref(){return this.currentPage===this.numberOfPages?null:"#"}},methods:{getHref(o){return this.linkType!=="href"||this.currentPage===o?null:"#"},showPage(o){this.currentPage=o,this.$emit("click",o)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},cm={class:"cmd-pager"},dm=["href","title"],mm={key:0},hm={class:"page-index"},um={class:"flex-container"},fm=["href","title","onClick"],pm=["href","title"],gm={key:0};function ym(o,n,t,i,l,a){const r=M;return e.openBlock(),e.createElementBlock("div",cm,[e.createElementVNode("a",{href:a.getPreviousHref,class:e.normalizeClass(["page-change",{disabled:l.currentPage===1,button:t.linkType==="button"}]),onClick:n[0]||(n[0]=e.withModifiers((...c)=>a.previousPage&&a.previousPage(...c),["prevent"])),title:t.prevLink.showText?null:t.prevLink.text},[e.createVNode(r,{iconClass:t.prevLink.iconClass,type:t.prevLink.iconType},null,8,["iconClass","type"]),t.prevLink.showText?(e.openBlock(),e.createElementBlock("span",mm,e.toDisplayString(t.prevLink.text),1)):e.createCommentVNode("",!0)],10,dm),e.createElementVNode("div",hm,[e.createElementVNode("div",um,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.pages,(c,s)=>(e.openBlock(),e.createElementBlock("a",{href:a.getHref(c),class:e.normalizeClass({disabled:l.currentPage===s+1,button:t.linkType==="button"}),title:l.currentPage!==s+1?o.getMessage("cmdpager.tooltip.go_to_page",s+1):o.getMessage("cmdpager.tooltip.not_possible"),key:s,onClick:e.withModifiers(d=>a.showPage(c),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(s+1),1)],10,fm))),128))])]),e.createElementVNode("a",{href:a.getNextHref,class:e.normalizeClass(["page-change",{disabled:l.currentPage===a.numberOfPages,button:t.linkType==="button"}]),onClick:n[1]||(n[1]=e.withModifiers((...c)=>a.nextPage&&a.nextPage(...c),["prevent"])),title:t.nextLink.showText?null:t.nextLink.text},[t.nextLink.showText?(e.openBlock(),e.createElementBlock("span",gm,e.toDisplayString(t.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(r,{iconClass:t.nextLink.iconClass,type:t.nextLink.iconType},null,8,["iconClass","type"])],10,pm)])}const km=N(rm,[["render",ym]]),Xf="",Cm={name:"CmdProgressBar",inheritAttrs:!1,data(){return{loadingStatus:30}},props:{labelText:{type:String,required:!1},showLabel:{type:Boolean,default:!0},showLoadingStatus:{type:Boolean,default:!0},id:{type:String,required:!0}}},_m=["for"],Bm={class:"progressbar"},bm={key:0},wm=["id","value"];function Nm(o,n,t,i,l,a){return e.openBlock(),e.createElementBlock("label",{class:"cmd-progressbar",for:t.id},[e.createElementVNode("span",{class:e.normalizeClass(["label-text",{hidden:!t.showLabel}])},e.toDisplayString(t.labelText),3),e.createElementVNode("span",Bm,[t.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",bm,e.toDisplayString(l.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(o.$attrs,{id:t.id,value:l.loadingStatus}),null,16,wm)])],8,_m)}const Sm=N(Cm,[["render",Nm]]),$f="",Im={name:"CmdSocialNetworks",data(){return{dataPrivacyAccepted:!1}},props:{modelValue:{type:[String,Number,Array],default:""},align:{type:String,required:!1},useGap:{type:Boolean,default:!0},stretchButtons:{type:Boolean,default:!1},networks:{type:Array,required:!0},page:{type:String,required:!1},appendPage:{type:Boolean,default:!0},userMustAcceptDataPrivacy:{type:Boolean,default:!0},tooltipAcceptDataPrivacy:{type:String,default:"You must accept data privacy conditions!"},cmdFormElement:{type:Object,default(){return{toggleSwitch:!0,labelText:"I accept that anonymous data will be send to the platform I share this page on!",required:!0}}},cmdHeadline:{type:Object,required:!1}},computed:{validNetworks(){return this.networks.filter(o=>o.path)}},methods:{getUrl(o){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?o.path+encodeURIComponent(this.page):o.path+encodeURIComponent(location.href):o.path:"#"},preventOnDisabled(o){let n=o.target;n.tagName!=="A"&&(n=n.closest("a")),n.getAttribute("href")==="#"&&o.preventDefault()},tooltip(o){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?o:this.tooltipAcceptDataPrivacy}}},xm=["id","href","title"],Dm={key:1};function Tm(o,n,t,i,l,a){const r=j,c=K,s=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:t.stretchButtons,"align-right":t.align==="right"}])},[t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),t.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(c,{key:1,element:"input",type:"checkbox","toggle-switch":t.cmdFormElement.toggleSwitch,labelText:t.cmdFormElement.labelText,required:t.cmdFormElement.required,modelValue:l.dataPrivacyAccepted,"onUpdate:modelValue":n[0]||(n[0]=d=>l.dataPrivacyAccepted=d)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container no-flex",{"no-gap":t.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.validNetworks,d=>(e.openBlock(),e.createElementBlock("li",null,[(e.openBlock(),e.createElementBlock("a",{key:d.path,class:e.normalizeClass(["button",{disabled:t.userMustAcceptDataPrivacy&&!l.dataPrivacyAccepted}]),id:d.id,href:a.getUrl(d),onClick:n[1]||(n[1]=(...m)=>a.preventOnDisabled&&a.preventOnDisabled(...m)),target:"_blank",title:a.tooltip(d.tooltip)},[d.iconClass&&d.iconPosition!=="right"?(e.openBlock(),e.createBlock(s,{key:0,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),d.linkText?(e.openBlock(),e.createElementBlock("span",Dm,e.toDisplayString(d.linkText),1)):e.createCommentVNode("",!0),d.iconClass&&d.iconPosition==="right"?(e.openBlock(),e.createBlock(s,{key:2,iconClass:d.iconClass,type:d.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],10,xm))]))),256))],2)],2)}const Vm=N(Im,[["render",Tm]]),vf="",Mm={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},Em={class:"cmd-site-footer"};function Om(o,n,t,i,l,a){return e.openBlock(),e.createElementBlock("div",Em,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:t.orientation==="vertical"}])},[e.renderSlot(o.$slots,"default")],2)])}const Lm=N(Mm,[["render",Om]]),ep="",jm={name:"CmdSiteHeader",props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}}},Fm={key:0,class:"top-header"};function Pm(o,n,t,i,l,a){var s,d,m,h,f,u,y,p;const r=oo,c=ro;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-site-header",{sticky:t.sticky,"navigation-inline":t.navigationInline}]),role:"banner"},[o.$slots.topheader?(e.openBlock(),e.createElementBlock("div",Fm,[e.renderSlot(o.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([t.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((d=(s=t.cmdMainNavigation)==null?void 0:s.navigationEntries)==null?void 0:d.length)&&t.navigationInline||o.$slots.navigation}])},[o.$slots.logo||o.$slots.header||o.$slots.navigation?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(o.$slots,"logo"),e.renderSlot(o.$slots,"header"),e.renderSlot(o.$slots,"navigation")],64)):e.createCommentVNode("",!0),t.cmdCompanyLogo||((h=(m=t.cmdMainNavigation)==null?void 0:m.navigationEntries)==null?void 0:h.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.cmdCompanyLogo?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),((u=(f=t.cmdMainNavigation)==null?void 0:f.navigationEntries)==null?void 0:u.length)&&t.navigationInline?(e.openBlock(),e.createBlock(c,{key:1,navigationEntries:t.cmdMainNavigation.navigationEntries,closeOffcanvas:t.closeOffcanvas},null,8,["navigationEntries","closeOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),((p=(y=t.cmdMainNavigation)==null?void 0:y.navigationEntries)==null?void 0:p.length)&&!t.navigationInline?(e.openBlock(),e.createBlock(c,{key:1,navigationEntries:t.cmdMainNavigation.navigationEntries,closeOffcanvas:t.closeOffcanvas},null,8,["navigationEntries","closeOffcanvas"])):e.createCommentVNode("",!0)],2)}const zm=N(jm,[["render",Pm]]),Am={data(){return{defaultMessageProperties:{"cmdsitesearch.labeltext.what_to_search":"What do you like to search for?","cmdsitesearch.placeholder.what_to_search":"Search","cmdsitesearch.labeltext.where_to_search":"Where do you want to search?","cmdsitesearch.placeholder.where_to_search":"Zip or city","cmdsitesearch.show_filter_options":"Show filter options","cmdsitesearch.hide_filter_options":"Hide filter options"}}}},tp="",qm={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[R,Am],data(){return{showFilters:!1}},props:{modelValueInput1:{type:String,required:!1},modelValueInput2:{type:String,required:!1},modelValueRadius:{type:[String,Number],required:!1},modelValueSearchFilters:{type:Array,required:!1},useFilters:{type:Boolean,default:!0},textLegend:{type:String,required:!1},showLegend:{type:Boolean,default:!0},results:{type:[Function,Number],required:!1},cmdHeadline:{type:Object,required:!1},cmdFormElementInput1:{type:Object,default(){return{type:"search",showLabel:!1,required:!0,labelText:"What do you like to search for?",placeholder:"What do you like to search for?",showSearchButton:!1}}},cmdFormElementInput2:{type:Object,default(){return{show:!0,type:"text",showLabel:!1,required:!0,labelText:"Where do you like to search?",placeholder:"Enter city, zip, country"}}},cmdFormElementRadius:{type:Object,default(){return{show:!0,showLabel:!1,required:!1,labelText:"Radius",selectOptions:[{text:"None",value:0},{text:"5 Km",value:5},{text:"10 Km",value:10},{text:"15 Km",value:15},{text:"50 Km",value:50},{text:"100 Km",value:100}]}}},cmdFormElementSearchButton:{type:Object,default(){return{icon:{show:!0,position:"before",iconClass:"icon-search"},text:"Search"}}},cmdFakeSelect:{type:Object,required:!1},cmdIcon:{type:Object,default(){return{showFilters:{iconClass:"icon-single-arrow-up",type:"auto"},hideFilters:{iconClass:"icon-single-arrow-down",type:"auto"}}}}},computed:{searchValue1:{get(){return this.modelValueInput1},set(o){this.$emit("update:modelValueInput1",o)}},searchValue2:{get(){return this.modelValueInput2},set(o){this.$emit("update:modelValueInput2",o)}},radius:{get(){return this.modelValueRadius},set(o){this.$emit("update:modelValueRadius",o)}},searchFilters:{get(){return this.modelValueSearchFilters},set(o){this.$emit("update:modelValueSearchFilters",o)}},buttonSearchDisabled(){const o=!this.cmdFormElementInput1.required||this.searchValue1.trim(),n=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),t=!this.cmdFormElementRadius.show||!this.cmdFormElementRadius.required||this.radius;return!(o&&n&&t)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(o){for(let n=0;n<this.cmdFakeSelect.selectData.length;n++)if(o===this.cmdFakeSelect.selectData[n].value)return this.cmdFakeSelect.selectData[n].text;return null}},watch:{cmdFormElementRadius:{handler(){var o,n;((o=this.cmdFormElementRadius)==null?void 0:o.selectOptions)&&((n=this.cmdFormElementRadius)==null?void 0:n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},Hm={class:"cmd-box-site-search flex-container"},Rm={class:"flex-container align-bottom"},Um={class:"flex-container align-bottom no-gap"},Gm={key:0},Qm={key:1},Zm={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Wm(o,n,t,i,l,a){var h,f,u,y,p,k,C,S,E,g;const r=j,c=K,s=M,d=lo,m=ao;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Hm,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegend),3),t.cmdHeadline?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",Rm,[e.createVNode(c,{element:"input",type:t.cmdFormElementInput1.type,"show-label":t.cmdFormElementInput1.showLabel,labelText:t.cmdFormElementInput1.labelText,placeholder:t.cmdFormElementInput1.placeholder,required:t.cmdFormElementInput1.required,showSearchButton:t.cmdFormElementInput1.showSearchButton,modelValue:a.searchValue1,"onUpdate:modelValue":n[0]||(n[0]=D=>a.searchValue1=D)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Um,[t.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(c,{key:0,element:"input",type:t.cmdFormElementInput2.type,"show-label":t.cmdFormElementInput2.showLabel,labelText:t.cmdFormElementInput2.labelText,placeholder:t.cmdFormElementInput2.placeholder,required:t.cmdFormElementInput2.required,modelValue:a.searchValue2,"onUpdate:modelValue":n[1]||(n[1]=D=>a.searchValue2=D)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),t.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(c,{key:1,element:"select",class:"no-flex",modelValue:a.radius,"onUpdate:modelValue":n[2]||(n[2]=D=>a.radius=D),"show-label":t.cmdFormElementRadius.showLabel,labelText:t.cmdFormElementRadius.labelText,"select-options":t.cmdFormElementRadius.selectOptions,required:t.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(c,{element:"button",nativeButton:t.cmdFormElementSearchButton,onClick:a.onSearchButtonClick,disabled:a.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),(h=t.cmdFakeSelect)!=null&&h.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(D=>l.showFilters=!l.showFilters,["prevent"]))},[e.createVNode(s,{iconClass:l.showFilters?(u=(f=t.cmdIcon)==null?void 0:f.showFilters)==null?void 0:u.iconClass:(p=(y=t.cmdIcon)==null?void 0:y.hideFilters)==null?void 0:p.iconClass,type:l.showFilters?(C=(k=t.cmdIcon)==null?void 0:k.showFilters)==null?void 0:C.iconType:(E=(S=t.cmdIcon)==null?void 0:S.hideFilters)==null?void 0:E.iconType},null,8,["iconClass","type"]),l.showFilters?(e.openBlock(),e.createElementBlock("span",Gm,e.toDisplayString(o.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Qm,e.toDisplayString(o.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var D,b,x,V,L;return[l.showFilters&&((D=t.cmdFakeSelect)==null?void 0:D.selectData.length)?(e.openBlock(),e.createElementBlock("div",Zm,[e.createVNode(d,{role:"option",selectData:(b=t.cmdFakeSelect)==null?void 0:b.selectData,modelValue:a.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=T=>a.searchFilters=T),defaultOptionName:(x=t.cmdFakeSelect)==null?void 0:x.defaultOptionName,type:(V=t.cmdFakeSelect)==null?void 0:V.type,labelText:(L=t.cmdFakeSelect)==null?void 0:L.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),(g=t.cmdFakeSelect)!=null&&g.show?(e.openBlock(),e.createBlock(m,{key:0,modelValue:a.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=D=>a.searchFilters=D),selectedOptionsName:a.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const Jm=N(qm,[["render",Wm]]),op="",Ym={name:"CmdSlideshow",data(){return{index:0,pause:!1,hnd:null,fullWidth:!1,currentSlotItem:0}},props:{useSlot:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},autoplayInterval:{type:Number,default:5e3},showQuickLinkIcons:{type:Boolean,default:!0},showCounter:{type:Boolean,default:!1},slideshowItems:{type:Array,required:!0},cmdSlideButtons:{type:Object,default(){return{next:{next:{iconClass:"icon-single-arrow-right",tooltip:"Next"}},prev:{prev:{type:"prev",iconClass:"icon-single-arrow-left",tooltip:"Previous"}}}}}},beforeUnmount(){this.hnd!==null&&(window.clearInterval(this.hnd),this.hnd=null)},methods:{showPrevItem(){this.useSlot&&(this.currentSlotItem>0?this.currentSlotItem--:this.currentSlotItem=Object.keys(this.$slots).length-1),this.index>0?this.index--:this.index=this.slideshowItems.length-1},showItem(o){o>=0&&o<this.slideshowItems.length&&(this.index=o)},showNextItem(){this.useSlot&&(this.currentSlotItem<Object.keys(this.$slots).length-1?this.currentSlotItem++:this.currentSlotItem=0),this.index<this.slideshowItems.length-1?this.index++:this.index=0},setupSlider(){this.autoplay&&this.hnd===null&&(this.hnd=window.setInterval(()=>this.pause||this.showNextItem(),this.autoplayInterval))}},computed:{currentItem(){return this.slideshowItems.length<=this.index?null:this.slideshowItems[this.index]}},watch:{slideshowItems:{handler(){this.index=0,this.setupSlider()},immediate:!0}}},Km=["href","title"],Xm={key:0,class:"slideshow-item"},$m={key:0},vm=["onClick","aria-label"],eh={key:1};function th(o,n,t,i,l,a){const r=ae,c=W;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":l.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[0]||(n[0]=s=>l.pause=!0),onMouseleave:n[1]||(n[1]=s=>l.pause=!1)},[e.createVNode(r,{onClick:e.withModifiers(a.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var s,d,m,h,f,u,y,p,k,C,S,E;return[(d=(s=a.currentItem)==null?void 0:s.link)!=null&&d.href?(e.openBlock(),e.createElementBlock("a",{href:(h=(m=a.currentItem)==null?void 0:m.link)==null?void 0:h.href,title:(u=(f=a.currentItem)==null?void 0:f.link)==null?void 0:u.tooltip,key:l.index},[a.currentItem&&!t.useSlot?(e.openBlock(),e.createElementBlock("figure",Xm,[e.createVNode(c,{image:(y=a.currentItem)==null?void 0:y.image,figcaption:(p=a.currentItem)==null?void 0:p.figcaption},null,8,["image","figcaption"])])):e.createCommentVNode("",!0)],8,Km)):a.currentItem&&!((C=(k=a.currentItem)==null?void 0:k.link)!=null&&C.href)&&!t.useSlot?(e.openBlock(),e.createElementBlock("figure",{key:l.index,class:"slideshow-item"},[e.createVNode(c,{image:(S=a.currentItem)==null?void 0:S.image,figcaption:(E=a.currentItem)==null?void 0:E.figcaption},null,8,["image","figcaption"])])):a.currentItem&&t.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"image-wrapper",key:l.index,style:e.normalizeStyle("background-image: url("+a.currentItem.image.srcLarge+")")},[e.renderSlot(o.$slots,"item"+l.currentSlotItem)],4)):e.createCommentVNode("",!0)]}),_:3}),e.createVNode(r,{onClick:e.withModifiers(a.showNextItem,["prevent"])},null,8,["onClick"]),t.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",$m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.slideshowItems,(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,class:e.normalizeClass({active:d===l.index})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.index=d,["prevent"]),"aria-label":l.index},null,8,vm)],2))),128))])):e.createCommentVNode("",!0),t.showCounter?(e.openBlock(),e.createElementBlock("span",eh,e.toDisplayString(l.index+1)+"/"+e.toDisplayString(t.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const oh=N(Ym,[["render",th]]),nh=Object.freeze(Object.defineProperty({__proto__:null,de:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSI4NTAuMzk0cHgiIGhlaWdodD0iNTY2LjkyOXB4IiB2aWV3Qm94PSIwIDAgODUwLjM5NCA1NjYuOTI5IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4NTAuMzk0IDU2Ni45MjkiDQoJIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGcgaWQ9Iml0Ij4NCgk8Zz4NCgkJPHJlY3QgZmlsbD0iIzA3OEU0NiIgd2lkdGg9IjI4My40NjUiIGhlaWdodD0iNTY2LjkyOSIvPg0KCQk8cmVjdCB4PSIyODMuNDY1IiBmaWxsPSIjRkJGREZGIiB3aWR0aD0iMjgzLjQ2NSIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJCTxyZWN0IHg9IjU2Ni45MyIgZmlsbD0iI0QzMjQyQyIgd2lkdGg9IjI4My40NjUiIGhlaWdodD0iNTY2LjkyOSIvPg0KCTwvZz4NCjwvZz4NCjxnIGlkPSJkZSI+DQoJPGc+DQoJCTxkZXNjPkZsYWcgb2YgR2VybWFueTwvZGVzYz4NCgkJPHJlY3QgaWQ9ImJsYWNrX3N0cmlwZSIgeD0iMC45MDEiIGZpbGw9IiMwMTAyMDIiIHdpZHRoPSI4NDkuNDkyIiBoZWlnaHQ9IjU2Ni45MjkiLz4NCgkJPHJlY3QgaWQ9InJlZF9zdHJpcGUiIHg9IjAuOTAxIiB5PSIxODguOTc3IiBmaWxsPSIjREQwQjE1IiB3aWR0aD0iODQ5LjQ5MiIgaGVpZ2h0PSIzNzcuOTUzIi8+DQoJCTxyZWN0IGlkPSJnb2xkX3N0cmlwZSIgeD0iMC45MDEiIHk9IjM3Ny45NTMiIGZpbGw9IiNGRkNFMDUiIHdpZHRoPSI4NDkuNDkyIiBoZWlnaHQ9IjE4OC45NzYiLz4NCgk8L2c+DQo8L2c+DQo8ZyBpZD0iZnIiIGRpc3BsYXk9Im5vbmUiPg0KCTxnIGRpc3BsYXk9ImlubGluZSI+DQoJCTxyZWN0IHg9IjAuOTAxIiBmaWxsPSIjQ0YxMzI3IiB3aWR0aD0iODQ5LjQ5MiIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJCTxyZWN0IHg9IjAuOTAxIiBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iNTY2LjMyOCIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJCTxyZWN0IHg9IjAuOTAxIiBmaWxsPSIjMUQyQzRFIiB3aWR0aD0iMjgzLjE2NCIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJPC9nPg0KPC9nPg0KPGcgaWQ9InJ1IiBkaXNwbGF5PSJub25lIj4NCgk8ZyBkaXNwbGF5PSJpbmxpbmUiPg0KCQk8cmVjdCBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iODUwLjM5NSIgaGVpZ2h0PSIyODMuNDY1Ii8+DQoJCTxyZWN0IHk9IjI4My40NjUiIGZpbGw9IiNENTJEMUUiIHdpZHRoPSI4NTAuMzk1IiBoZWlnaHQ9IjI4My40NjQiLz4NCgkJPHJlY3QgeT0iMTg4Ljk3NyIgZmlsbD0iIzFFNDI5NSIgd2lkdGg9Ijg1MC4zOTUiIGhlaWdodD0iMTg4Ljk3NyIvPg0KCTwvZz4NCjwvZz4NCjxnIGlkPSJjbiIgZGlzcGxheT0ibm9uZSI+DQoJPGcgZGlzcGxheT0iaW5saW5lIj4NCgkJPHJlY3QgeD0iMC45MDEiIGZpbGw9IiNERjJCMTQiIHdpZHRoPSI4NDkuNDkzIiBoZWlnaHQ9IjU2Ni45MjkiLz4NCgkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNSw1KSBzY2FsZSgzKSI+DQoJCQk8cGF0aCBpZD0icyIgZmlsbD0iI0ZGREUwOCIgZD0iTTE0Mi40ODMsNTYuNjkzbDQ5LjkzMiwxNTMuODM4TDYxLjY5MiwxMTUuNDU0aDE2MS41ODNMOTIuNTUxLDIxMC41MzFMMTQyLjQ4Myw1Ni42OTN6Ii8+DQoJCTwvZz4NCgkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAsMikgcm90YXRlKDIzLjAzNjI0MykiPg0KCQkJPHBhdGggaWQ9InNfMV8iIGZpbGw9IiNGRkRFMDgiIGQ9Ik0yOTUuMTQ2LDMwLjYwN2wtNC43MjgsNTMuNzFsLTI3LjcxMS00Ni4yMzRsNDkuNTY2LDIxLjA5OWwtNTIuNDg4LDEyLjA5NkwyOTUuMTQ2LDMwLjYwN3oiLz4NCgkJPC9nPg0KCQk8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiw0KSByb3RhdGUoNDUuODY5ODk4KSI+DQoJCQk8cGF0aCBpZD0ic18yXyIgZmlsbD0iI0ZGREUwOCIgZD0iTTM2MS4wMjIsOTMuNjQ4bC0yNS4xNzgsNDcuNjY1bC03LjYxNy01My4zNzZsMzcuNTAzLDM4LjcwMWwtNTMuMDY0LTkuMjQzTDM2MS4wMjIsOTMuNjQ4eiIvPg0KCQk8L2c+DQoJCTxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyLDcpIHJvdGF0ZSg2OS45NDUzOTYpIj4NCgkJCTxwYXRoIGlkPSJzXzNfIiBmaWxsPSIjRkZERTA4IiBkPSJNMzY3LjI5OCwxODguNzA1bC00Mi40MTIsMzMuMjM2bDE0Ljc5Ny01MS44NDRsMTguNDcsNTAuNjQ5bC00NC42ODItMzAuMTA4TDM2Ny4yOTgsMTg4LjcwNXoiDQoJCQkJLz4NCgkJPC9nPg0KCQk8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMCw5KSByb3RhdGUoMjAuNjU5ODA4KSI+DQoJCQk8cGF0aCBpZD0ic180XyIgZmlsbD0iI0ZGREUwOCIgZD0iTTI5NC4wNTYsMjI4LjU5NWwtMi41LDUzLjg2bC0yOS42MDMtNDUuMDQ1bDUwLjM5NywxOS4wMjRsLTUxLjk0MiwxNC4yNjRMMjk0LjA1NiwyMjguNTk1eiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPGcgaWQ9InVrIiBkaXNwbGF5PSJub25lIj4NCgk8ZyBkaXNwbGF5PSJpbmxpbmUiPg0KCQk8cmVjdCB5PSIwLjAwMiIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9Ijg1MC4xNiIgaGVpZ2h0PSI1NjYuODY1Ii8+DQoJCTxwb2x5Z29uIGZpbGw9IiNDRjE3MkMiIHBvaW50cz0iMzgyLjU2OSwwIDM4Mi41NjksMjI2LjYyNSAwLDIyNi42MjUgMCwzMzkuOTQ4IDM4Mi41NjksMzM5Ljk0OCAzODIuNTY5LDU2Ni44NjMgNDY3LjU5Miw1NjYuODYzIA0KCQkJNDY3LjU5MiwzMzkuOTQ4IDg1MC4xNiwzMzkuOTQ4IDg1MC4xNiwyMjYuNjI1IDQ2Ny41OTIsMjI2LjYyNSA0NjcuNTkyLDAgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSI0OTUuOTQ2LDAgNDk1Ljk0NiwxODMuNDk3IDc3MS4yMDIsMCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjQ5NS45NDYsNTY2Ljg2MyA3NzEuMjAyLDU2Ni44NjMgNDk1Ljk0NiwzODMuMzY4IAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiMyNTM0NkMiIHBvaW50cz0iNzguOTYsNTY2Ljg2MyAzNTQuMjE0LDU2Ni44NjMgMzU0LjIxNCwzODMuMzY4IAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiMyNTM0NkMiIHBvaW50cz0iNzguOTYsMCAzNTQuMjE0LDE4My40OTcgMzU0LjIxNCwwIAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiMyNTM0NkMiIHBvaW50cz0iMC4wMDMsMTg4Ljk1IDIwNC4zOTIsMTg4Ljk1IDAuMDAzLDUyLjY5OSAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjY0NS43NjgsMTg4Ljk1IDg1MC4xNiwxODguOTUgODUwLjE2LDUyLjY5OSAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjY0NS43NjgsMzc3LjkxMyA4NTAuMTYsNTE0LjE3MSA4NTAuMTYsMzc3LjkxMyAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjAsMzc3LjkxMyAwLDUxNC4xNzEgMjA0LjM5MiwzNzcuOTEzIAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiNDRjE3MkMiIHBvaW50cz0iODAyLjkzOCwwIDUyMC4wMDQsMTg4Ljk1IDU2Ny4yMjMsMTg4Ljk1IDg1MC42MDUsMCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjMzMC4xNTYsMzc3LjkwOSAyODIuOTM3LDM3Ny45MDkgMCw1NjYuODUyIDQ3LjIxOSw1NjYuODUyIDMzMC42MDIsMzc3LjkwOSAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjAsMCAwLDMxLjY5MiAyMzYuMDkxLDE4OS4wOTggMjgzLjMxMSwxODkuMDk4IAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiNDRjE3MkMiIHBvaW50cz0iNTY2LjY5NiwzNzcuODMyIDg1MC4wMDgsNTY2LjkyOSA4NTAuMDEsNTM1LjIzOSA2MTMuOTIsMzc3LjgzMiAJCSIvPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K"},Symbol.toStringTag,{value:"Module"})),en:Object.freeze(Object.defineProperty({__proto__:null,default:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSI4NTAuMzk0cHgiIGhlaWdodD0iNTY2LjkyOXB4IiB2aWV3Qm94PSIwIDAgODUwLjM5NCA1NjYuOTI5IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4NTAuMzk0IDU2Ni45MjkiDQoJIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGcgaWQ9Iml0Ij4NCgk8Zz4NCgkJPHJlY3QgZmlsbD0iIzA3OEU0NiIgd2lkdGg9IjI4My40NjUiIGhlaWdodD0iNTY2LjkyOSIvPg0KCQk8cmVjdCB4PSIyODMuNDY1IiBmaWxsPSIjRkJGREZGIiB3aWR0aD0iMjgzLjQ2NSIgaGVpZ2h0PSI1NjYuOTI5Ii8+DQoJCTxyZWN0IHg9IjU2Ni45MyIgZmlsbD0iI0QzMjQyQyIgd2lkdGg9IjI4My40NjUiIGhlaWdodD0iNTY2LjkyOSIvPg0KCTwvZz4NCjwvZz4NCjxnIGlkPSJkZSI+DQoJPGc+DQoJCTxkZXNjPkZsYWcgb2YgR2VybWFueTwvZGVzYz4NCgkJPHJlY3QgaWQ9ImJsYWNrX3N0cmlwZSIgeD0iMC45MDEiIGZpbGw9IiMwMTAyMDIiIHdpZHRoPSI4NDkuNDkyIiBoZWlnaHQ9IjU2Ni45MjkiLz4NCgkJPHJlY3QgaWQ9InJlZF9zdHJpcGUiIHg9IjAuOTAxIiB5PSIxODguOTc3IiBmaWxsPSIjREQwQjE1IiB3aWR0aD0iODQ5LjQ5MiIgaGVpZ2h0PSIzNzcuOTUzIi8+DQoJCTxyZWN0IGlkPSJnb2xkX3N0cmlwZSIgeD0iMC45MDEiIHk9IjM3Ny45NTMiIGZpbGw9IiNGRkNFMDUiIHdpZHRoPSI4NDkuNDkyIiBoZWlnaHQ9IjE4OC45NzYiLz4NCgk8L2c+DQo8L2c+DQo8ZyBpZD0iZnIiPg0KCTxnPg0KCQk8cmVjdCB4PSIwLjkwMSIgZmlsbD0iI0NGMTMyNyIgd2lkdGg9Ijg0OS40OTIiIGhlaWdodD0iNTY2LjkyOSIvPg0KCQk8cmVjdCB4PSIwLjkwMSIgZmlsbD0iI0ZGRkZGRiIgd2lkdGg9IjU2Ni4zMjgiIGhlaWdodD0iNTY2LjkyOSIvPg0KCQk8cmVjdCB4PSIwLjkwMSIgZmlsbD0iIzFEMkM0RSIgd2lkdGg9IjI4My4xNjQiIGhlaWdodD0iNTY2LjkyOSIvPg0KCTwvZz4NCjwvZz4NCjxnIGlkPSJydSI+DQoJPGc+DQoJCTxyZWN0IGZpbGw9IiNGRkZGRkYiIHdpZHRoPSI4NTAuMzk1IiBoZWlnaHQ9IjI4My40NjUiLz4NCgkJPHJlY3QgeT0iMjgzLjQ2NSIgZmlsbD0iI0Q1MkQxRSIgd2lkdGg9Ijg1MC4zOTUiIGhlaWdodD0iMjgzLjQ2NCIvPg0KCQk8cmVjdCB5PSIxODguOTc3IiBmaWxsPSIjMUU0Mjk1IiB3aWR0aD0iODUwLjM5NSIgaGVpZ2h0PSIxODguOTc3Ii8+DQoJPC9nPg0KPC9nPg0KPGcgaWQ9ImNuIj4NCgk8Zz4NCgkJPHJlY3QgeD0iMC45MDEiIGZpbGw9IiNERjJCMTQiIHdpZHRoPSI4NDkuNDkzIiBoZWlnaHQ9IjU2Ni45MjkiLz4NCgkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNSw1KSBzY2FsZSgzKSI+DQoJCQk8cGF0aCBpZD0icyIgZmlsbD0iI0ZGREUwOCIgZD0iTTE0Mi40ODMsNTYuNjkzbDQ5LjkzMiwxNTMuODM4TDYxLjY5MiwxMTUuNDU0aDE2MS41ODNMOTIuNTUxLDIxMC41MzFMMTQyLjQ4Myw1Ni42OTN6Ii8+DQoJCTwvZz4NCgkJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAsMikgcm90YXRlKDIzLjAzNjI0MykiPg0KCQkJPHBhdGggaWQ9InNfMV8iIGZpbGw9IiNGRkRFMDgiIGQ9Ik0yOTUuMTQ2LDMwLjYwN2wtNC43MjgsNTMuNzFsLTI3LjcxMS00Ni4yMzRsNDkuNTY2LDIxLjA5OWwtNTIuNDg4LDEyLjA5NkwyOTUuMTQ2LDMwLjYwN3oiLz4NCgkJPC9nPg0KCQk8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMiw0KSByb3RhdGUoNDUuODY5ODk4KSI+DQoJCQk8cGF0aCBpZD0ic18yXyIgZmlsbD0iI0ZGREUwOCIgZD0iTTM2MS4wMjIsOTMuNjQ4bC0yNS4xNzgsNDcuNjY1bC03LjYxNy01My4zNzZsMzcuNTAzLDM4LjcwMWwtNTMuMDY0LTkuMjQzTDM2MS4wMjIsOTMuNjQ4eiIvPg0KCQk8L2c+DQoJCTxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyLDcpIHJvdGF0ZSg2OS45NDUzOTYpIj4NCgkJCTxwYXRoIGlkPSJzXzNfIiBmaWxsPSIjRkZERTA4IiBkPSJNMzY3LjI5OCwxODguNzA1bC00Mi40MTIsMzMuMjM2bDE0Ljc5Ny01MS44NDRsMTguNDcsNTAuNjQ5bC00NC42ODItMzAuMTA4TDM2Ny4yOTgsMTg4LjcwNXoiDQoJCQkJLz4NCgkJPC9nPg0KCQk8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMCw5KSByb3RhdGUoMjAuNjU5ODA4KSI+DQoJCQk8cGF0aCBpZD0ic180XyIgZmlsbD0iI0ZGREUwOCIgZD0iTTI5NC4wNTYsMjI4LjU5NWwtMi41LDUzLjg2bC0yOS42MDMtNDUuMDQ1bDUwLjM5NywxOS4wMjRsLTUxLjk0MiwxNC4yNjRMMjk0LjA1NiwyMjguNTk1eiIvPg0KCQk8L2c+DQoJPC9nPg0KPC9nPg0KPGcgaWQ9InVrIj4NCgk8Zz4NCgkJPHJlY3QgeT0iMC4wMDIiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSI4NTAuMTYiIGhlaWdodD0iNTY2Ljg2NSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjM4Mi41NjksMCAzODIuNTY5LDIyNi42MjUgMCwyMjYuNjI1IDAsMzM5Ljk0OCAzODIuNTY5LDMzOS45NDggMzgyLjU2OSw1NjYuODYzIDQ2Ny41OTIsNTY2Ljg2MyANCgkJCTQ2Ny41OTIsMzM5Ljk0OCA4NTAuMTYsMzM5Ljk0OCA4NTAuMTYsMjI2LjYyNSA0NjcuNTkyLDIyNi42MjUgNDY3LjU5MiwwIAkJIi8+DQoJCTxwb2x5Z29uIGZpbGw9IiMyNTM0NkMiIHBvaW50cz0iNDk1Ljk0NiwwIDQ5NS45NDYsMTgzLjQ5NyA3NzEuMjAyLDAgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSI0OTUuOTQ2LDU2Ni44NjMgNzcxLjIwMiw1NjYuODYzIDQ5NS45NDYsMzgzLjM2OCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9Ijc4Ljk2LDU2Ni44NjMgMzU0LjIxNCw1NjYuODYzIDM1NC4yMTQsMzgzLjM2OCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9Ijc4Ljk2LDAgMzU0LjIxNCwxODMuNDk3IDM1NC4yMTQsMCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjMjUzNDZDIiBwb2ludHM9IjAuMDAzLDE4OC45NSAyMDQuMzkyLDE4OC45NSAwLjAwMyw1Mi42OTkgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSI2NDUuNzY4LDE4OC45NSA4NTAuMTYsMTg4Ljk1IDg1MC4xNiw1Mi42OTkgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSI2NDUuNzY4LDM3Ny45MTMgODUwLjE2LDUxNC4xNzEgODUwLjE2LDM3Ny45MTMgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iIzI1MzQ2QyIgcG9pbnRzPSIwLDM3Ny45MTMgMCw1MTQuMTcxIDIwNC4zOTIsMzc3LjkxMyAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjgwMi45MzgsMCA1MjAuMDA0LDE4OC45NSA1NjcuMjIzLDE4OC45NSA4NTAuNjA1LDAgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iI0NGMTcyQyIgcG9pbnRzPSIzMzAuMTU2LDM3Ny45MDkgMjgyLjkzNywzNzcuOTA5IDAsNTY2Ljg1MiA0Ny4yMTksNTY2Ljg1MiAzMzAuNjAyLDM3Ny45MDkgCQkiLz4NCgkJPHBvbHlnb24gZmlsbD0iI0NGMTcyQyIgcG9pbnRzPSIwLDAgMCwzMS42OTIgMjM2LjA5MSwxODkuMDk4IDI4My4zMTEsMTg5LjA5OCAJCSIvPg0KCQk8cG9seWdvbiBmaWxsPSIjQ0YxNzJDIiBwb2ludHM9IjU2Ni42OTYsMzc3LjgzMiA4NTAuMDA4LDU2Ni45MjkgODUwLjAxLDUzNS4yMzkgNjEzLjkyLDM3Ny44MzIgCQkiLz4NCgk8L2c+DQo8L2c+DQo8L3N2Zz4NCg=="},Symbol.toStringTag,{value:"Module"}))},Symbol.toStringTag,{value:"Module"})),sp="",lh={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(o){return Y(o)},activeLanguage(o){return o.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async o=>{const n=o.iso2;this.imageSources.push(nh[n].default)})},immediate:!0,deep:!0}}},ah={class:"cmd-switch-language"},ih=["href","title","onClick"],sh=["src","alt"],rh=["src","alt"];function ch(o,n,t,i,l,a){const r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",ah,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.languages,(c,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[c.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:c.link.path,class:e.normalizeClass(["flag",c.iso2,{active:a.activeLanguage(c)}]),title:c.tooltip,onClick:d=>o.$emit("click",{originalEvent:d,language:c})},[e.createElementVNode("img",{src:l.imageSources[s],alt:c.name},null,8,sh)],10,ih)):(e.openBlock(),e.createBlock(r,{key:1,class:e.normalizeClass(["flag",c.iso2]),to:a.getRoute(c),title:c.tooltip,onClick:d=>o.$emit("click",{originalEvent:d,language:c})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:l.imageSources[s],alt:c.name},null,8,rh)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const dh=N(lh,[["render",ch]]),rp="",mh={name:"CmdSystemMessage",mixins:[ie],data(){return{showSystemMessage:!0}},props:{validationStatus:{type:String,required:!0},fullWidth:{type:Boolean,default:!0},iconMessage:{type:Object,default:function(){return{show:!0,iconClass:"icon-warning",type:"auto"}}},systemMessage:{type:String,required:!1},messageHeadlineLevel:{type:[Number,String],default(){return 6}},iconClose:{type:Object,default(){return{show:!0,iconClass:"icon-cancel",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},hh=["role","aria-labelledby"],uh=["title"];function fh(o,n,t,i,l,a){const r=M,c=j;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":t.fullWidth},t.validationStatus]),role:t.validationStatus==="error"?"alert":"dialog","aria-labelledby":o.htmlId},[t.iconClose.show&&t.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>l.showSystemMessage=!1,["prevent"])),title:t.iconClose.tooltip},[e.createVNode(r,{iconClass:t.iconClose.iconClass,type:t.iconClose.iconType},null,8,["iconClass","type"])],8,uh)):e.createCommentVNode("",!0),e.createVNode(c,{class:"message-headline",headlineIcon:a.headlineIcon,headlineText:t.systemMessage,headlineLevel:t.messageHeadlineLevel,id:o.htmlId},null,8,["headlineIcon","headlineText","headlineLevel","id"]),e.renderSlot(o.$slots,"default")],10,hh)):e.createCommentVNode("",!0)]),_:3})}const co=N(mh,[["render",fh]]),cp="",ph={name:"CmdTable",data(){return{showTableData:!0,fullWidth:this.fullWidthOnDefault}},props:{tableData:{type:Object,required:!0},caption:{type:Object,required:!1},collapsible:{type:Boolean,default:!1},fullWidthOnDefault:{type:Boolean,default:!1},userCanToggleWidth:{type:Boolean,default:!0},iconExpand:{type:Object,default:function(){return{iconClass:"icon-single-arrow-down",tooltip:"Expand table"}}},iconCollapse:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Collapse table"}}},iconToggleWidth:{type:Object,default:function(){return{iconClass:"icon-toggle-table-width",tooltip:"Toggle table width"}}},iconStretch:{type:Object,default:function(){return{iconClass:"icon-single-arrow-right",tooltip:"Stretch table"}}}},computed:{hasCaption(){var o,n;return this.hideCaption?!1:((o=this.tableData.caption)==null?void 0:o.text)||((n=this.caption)==null?void 0:n.text)},hideCaption(){var o,n,t;return((o=this.caption)==null?void 0:o.show)===!1||((n=this.caption)==null?void 0:n.show)!==!0&&!((t=this.tableData.caption)!=null&&t.show)}}},gh={key:0,class:"button-wrapper"},yh=["title"],kh=["title"],Ch={class:"inner-wrapper"},_h={"aria-expanded":"true"},Bh={key:0,"aria-expanded":"true"};function bh(o,n,t,i,l,a){var c,s,d,m;const r=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!l.showTableData,"full-width":l.fullWidth,"has-caption":a.hasCaption}])},[t.collapsible||t.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",gh,[t.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(h=>l.fullWidth=!l.fullWidth,["prevent"])),title:t.iconToggleWidth.tooltip},[e.createVNode(r,{iconClass:t.iconToggleWidth.iconClass,type:t.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,yh)):e.createCommentVNode("",!0),t.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(h=>l.showTableData=!l.showTableData,["prevent"])),title:l.showTableData?t.iconCollapse.tooltip:t.iconExpand.tooltip},[e.createVNode(r,{iconClass:l.showTableData?t.iconCollapse.iconClass:t.iconExpand.iconClass,type:l.showTableData?t.iconCollapse.iconType:t.iconExpand.iconType},null,8,["iconClass","type"])],8,kh)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Ch,[e.createElementVNode("table",{class:e.normalizeClass({"full-width":l.fullWidth})},[((c=t.tableData.caption)==null?void 0:c.text)||((s=t.caption)==null?void 0:s.text)?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:a.hideCaption})},e.toDisplayString(((d=t.caption)==null?void 0:d.text)||((m=t.tableData.caption)==null?void 0:m.text)),3)):e.createCommentVNode("",!0),e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tableData.thead,(h,f)=>(e.openBlock(),e.createElementBlock("th",{key:f},e.toDisplayString(h),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",_h,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tableData.tbody,(h,f)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({highlighted:t.tableData.rowIndexHighlighted===f}),key:f},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h,(u,y)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:t.tableData.columnIndexHighlighted===y}),key:y},e.toDisplayString(u),3))),128))],2))),128))],512),[[e.vShow,l.showTableData]])]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[t.tableData.tfoot&&t.tableData.tfoot.length&&l.showTableData?(e.openBlock(),e.createElementBlock("tfoot",Bh,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tableData.tfoot,(h,f)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:t.tableData.columnIndexHighlighted===f}),key:f},e.toDisplayString(h),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2)])],2)}const wh=N(ph,[["render",bh]]),Nh={prefix:"cmd",icons:{"3d-cursor":{body:'<path d="M13 4H4v9.01h2V6h7V4z" fill="currentColor"/><path d="M29.49 13.12l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 10 14v10a1 1 0 0 0 .52.87l9 5A1 1 0 0 0 20 30a1.05 1.05 0 0 0 .49-.13l9-5A1 1 0 0 0 30 24V14a1 1 0 0 0-.51-.88zM19 27.3l-7-3.89v-7.72l7 3.89zm1-9.45L13.06 14L20 10.14L26.94 14zm8 5.56l-7 3.89v-7.72l7-3.89z" fill="currentColor"/>',hidden:!0},building:{body:'<path fill="currentColor" d="M28 2H16a2.002 2.002 0 0 0-2 2v10H4a2.002 2.002 0 0 0-2 2v14h28V4a2.002 2.002 0 0 0-2-2ZM9 28v-7h4v7Zm19 0H15v-8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v8H4V16h12V4h12Z"/><path fill="currentColor" d="M18 8h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2zm-6 6h2v2h-2zm6 0h2v2h-2z"/>'},linkedin:{body:`<path fill="currentColor" d="M12,12h5.535v2.837h0.078C18.384,13.456,20.27,12,23.078,12C28.92,12,30,15.637,30,20.367V30h-5.77v-8.54
3
3
  c0-2.037-0.041-4.657-3-4.657c-3.006,0-3.463,2.219-3.463,4.51V30H12V12z"/>
4
4
  <path fill="currentColor" d="M2,12h6v18H2V12z"/>
5
- <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32},cp="";bt(wh);const Sh={name:"CmdTabs",data(){return{showTab:this.activeTab}},emits:["active-tab"],props:{cmdHeadline:{type:Object,required:!1},stretchTabs:{type:Boolean,default:!1},tabs:{type:Array,required:!0},useSlot:{type:Boolean,default:!1},activeTab:{type:Number,default:0}},methods:{setActiveTab(o){this.showTab=o,this.$emit("active-tab",o)}},watch:{activeTab(){this.showTab=this.activeTab}}},Vh={class:"cmd-tabs"},xh=["onClick","title"],Eh={key:1},Nh={key:1,"aria-live":"assertive"},Th=["innerHTML"];function Dh(o,n,t,s,l,a){const r=I,c=L;return e.openBlock(),e.createElementBlock("div",Vh,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":t.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tabs,(i,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,role:"tab"},[e.createElementVNode("a",{class:e.normalizeClass({active:l.showTab===d}),onClick:e.withModifiers(m=>a.setActiveTab(d),["prevent"]),title:i.name?void 0:i.tooltip,href:"#"},[i.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:i.iconClass,type:i.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),i.name?(e.openBlock(),e.createElementBlock("span",Eh,e.toDisplayString(i.name),1)):e.createCommentVNode("",!0)],10,xh)]))),128))],2),t.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.tabs.length,i=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:i,"aria-live":"assertive"},[e.renderSlot(o.$slots,"tab-content-"+(i-1))])),[[e.vShow,l.showTab===i-1]])),128)):(e.openBlock(),e.createElementBlock("div",Nh,[t.cmdHeadline?(e.openBlock(),e.createBlock(c,e.mergeProps({key:0},t.cmdHeadline,{headlineText:t.tabs[l.showTab].headlineText,headlineLevel:t.tabs[l.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:t.tabs[l.showTab].htmlContent},null,8,Th)]))])}const Ih=S(Sh,[["render",Dh]]),dp="",Oh={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{showLabel:{type:Boolean,default:!1},useStyledLayout:{type:Boolean,default:!1},labelTextDarkMode:{type:String,default:"Dark-mode enabled"},labelTextLightMode:{type:String,default:"Light-mode enabled"}},created(){const o=window.matchMedia("(prefers-color-scheme: dark)");o.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(o);const n=window.localStorage.getItem("cmd-color-scheme");n&&(this.darkMode=n==="dark-mode"),document.documentElement.addEventListener("toggle-color-scheme",this.onToggleColorScheme)},beforeUnmount(){window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.onColorSchemeChange),document.documentElement.removeEventListener("toggle-color-scheme",this.onToggleColorScheme)},methods:{onColorSchemeChange(o){this.darkMode=o.matches,document.documentElement.classList.add(this.darkMode?"dark-mode":"light-mode")},setColorScheme(){window.localStorage.setItem("cmd-color-scheme",this.darkMode?"dark-mode":"light-mode")},onToggleColorScheme(o){this.darkMode=o.detail==="dark-mode"}},computed:{labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode}},watch:{darkMode:{handler(){const o=document.documentElement;this.darkMode?o.classList.replace("light-mode","dark-mode"):o.classList.replace("dark-mode","light-mode"),o.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}};function Mh(o,n,t,s,l,a){const r=Q;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":t.useStyledLayout,"dark-mode":l.darkMode}])},[e.createVNode(r,{element:"input",type:"checkbox",labelText:a.labelText,showLabel:t.showLabel,modelValue:l.darkMode,"onUpdate:modelValue":[n[0]||(n[0]=c=>l.darkMode=c),a.setColorScheme],"toggle-switch":!0,title:t.showLabel?"":a.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"])],2)}const Fh=S(Oh,[["render",Mh]]),Lh={data(){return{defaultMessageProperties:{"cmduploadform.no_file_to_upload":"No file selected to upload","cmduploadform.no_files_to_upload":"No files selected to upload","cmduploadform.labeltext.select_file":"Select file to upload","cmduploadform.labeltext.select_files":"Select files to upload","cmduploadform.labeltext.remove_file_from_list":"Remove file '{0}' from list","cmduploadform.labeltext.remove_all_files_from_list":"Remove all files from list","cmduploadform.labeltext.file_uploading":"file to upload","cmduploadform.labeltext.files_uploading":"files to upload","cmduploadform.labeltext.comment":"Comment:","cmduploadform.buttontext.upload_file":"Upload file","cmduploadform.buttontext.upload_files":"Upload files","cmduploadform.buttontext.cancel":"Cancel","cmduploadform.placeholder.comment":"Please type in a specific comment","cmduploadform.system_message.found_duplicate_file":"Found duplicate file (not added again)","cmduploadform.system_message.upload_success":"Upload successful","cmduploadform.system_message.upload_failed":"Upload failed","cmduploadform.system_message.fill_required":"Fill all required fields","cmduploadform.system_message.the_following_errors_occurred":"The following errors occurred!","cmduploadform.system_message.an_unknown_error_occurred":"An unknown error occurred!","cmduploadform.system_message.only_one_file_allowed":"Only one file allowed!","cmduploadform.system_message_total_size_of_files_too_large":"Total size of files too large!","cmduploadform.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"cmduploadform.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"cmduploadform.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","cmduploadform.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","cmduploadform.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"cmduploadform.headline.summary_of_all_files":"Summary of all files","cmduploadform.headline.list_of_selected_files":"List of selected files","cmduploadform.headline.select_additional_files":"Select additional files","cmduploadform.headline.select_new_file":"Chosen the wrong file? Select a new one","cmduploadform.allowed_file_types":"Allowed file types:","cmduploadform.max_total_upload_size":"Max. total upload size:","cmduploadform.max_file_upload_size":"Max. file upload size:","cmduploadform.or":"or","cmduploadform.drag_and_drop":"drag (and drop)","cmduploadform.additional":"additional","cmduploadform.new":"new","cmduploadform.files_to_this_area":"files to this area","cmduploadform.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","cmduploadform.reset_upload":"Reset upload","cmduploadform.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","cmduploadform.select_image":"Select image","cmduploadform.select_file":"Select file","cmduploadform.drag_and_drop_file_here":"Drag and drop file here","cmduploadform.max_upload_size":"Max. upload size:"}}}};function ie(o){if(o){const n=o.lastIndexOf(".");if(n>-1)return o.substring(n+1)}return""}function qh(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var mo={exports:{}},Je={exports:{}},ho=function(n,t){return function(){for(var l=new Array(arguments.length),a=0;a<l.length;a++)l[a]=arguments[a];return n.apply(t,l)}},Ph=ho,Z=Object.prototype.toString;function Ke(o){return Z.call(o)==="[object Array]"}function Xe(o){return typeof o>"u"}function Ah(o){return o!==null&&!Xe(o)&&o.constructor!==null&&!Xe(o.constructor)&&typeof o.constructor.isBuffer=="function"&&o.constructor.isBuffer(o)}function Hh(o){return Z.call(o)==="[object ArrayBuffer]"}function zh(o){return typeof FormData<"u"&&o instanceof FormData}function Rh(o){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(o):n=o&&o.buffer&&o.buffer instanceof ArrayBuffer,n}function jh(o){return typeof o=="string"}function Uh(o){return typeof o=="number"}function fo(o){return o!==null&&typeof o=="object"}function Ce(o){if(Z.call(o)!=="[object Object]")return!1;var n=Object.getPrototypeOf(o);return n===null||n===Object.prototype}function Wh(o){return Z.call(o)==="[object Date]"}function Gh(o){return Z.call(o)==="[object File]"}function Jh(o){return Z.call(o)==="[object Blob]"}function uo(o){return Z.call(o)==="[object Function]"}function Kh(o){return fo(o)&&uo(o.pipe)}function Xh(o){return typeof URLSearchParams<"u"&&o instanceof URLSearchParams}function Yh(o){return o.trim?o.trim():o.replace(/^\s+|\s+$/g,"")}function Qh(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ye(o,n){if(!(o===null||typeof o>"u"))if(typeof o!="object"&&(o=[o]),Ke(o))for(var t=0,s=o.length;t<s;t++)n.call(null,o[t],t,o);else for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&n.call(null,o[l],l,o)}function Qe(){var o={};function n(l,a){Ce(o[a])&&Ce(l)?o[a]=Qe(o[a],l):Ce(l)?o[a]=Qe({},l):Ke(l)?o[a]=l.slice():o[a]=l}for(var t=0,s=arguments.length;t<s;t++)Ye(arguments[t],n);return o}function Zh(o,n,t){return Ye(n,function(l,a){t&&typeof l=="function"?o[a]=Ph(l,t):o[a]=l}),o}function $h(o){return o.charCodeAt(0)===65279&&(o=o.slice(1)),o}var H={isArray:Ke,isArrayBuffer:Hh,isBuffer:Ah,isFormData:zh,isArrayBufferView:Rh,isString:jh,isNumber:Uh,isObject:fo,isPlainObject:Ce,isUndefined:Xe,isDate:Wh,isFile:Gh,isBlob:Jh,isFunction:uo,isStream:Kh,isURLSearchParams:Xh,isStandardBrowserEnv:Qh,forEach:Ye,merge:Qe,extend:Zh,trim:Yh,stripBOM:$h},$=H;function po(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var go=function(n,t,s){if(!t)return n;var l;if(s)l=s(t);else if($.isURLSearchParams(t))l=t.toString();else{var a=[];$.forEach(t,function(i,d){i===null||typeof i>"u"||($.isArray(i)?d=d+"[]":i=[i],$.forEach(i,function(h){$.isDate(h)?h=h.toISOString():$.isObject(h)&&(h=JSON.stringify(h)),a.push(po(d)+"="+po(h))}))}),l=a.join("&")}if(l){var r=n.indexOf("#");r!==-1&&(n=n.slice(0,r)),n+=(n.indexOf("?")===-1?"?":"&")+l}return n},vh=H;function _e(){this.handlers=[]}_e.prototype.use=function(n,t,s){return this.handlers.push({fulfilled:n,rejected:t,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1},_e.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},_e.prototype.forEach=function(n){vh.forEach(this.handlers,function(s){s!==null&&n(s)})};var ef=_e,tf=H,of=function(n,t){tf.forEach(n,function(l,a){a!==t&&a.toUpperCase()===t.toUpperCase()&&(n[t]=l,delete n[a])})},yo=function(n,t,s,l,a){return n.config=t,s&&(n.code=s),n.request=l,n.response=a,n.isAxiosError=!0,n.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},n},Ze,ko;function Co(){if(ko)return Ze;ko=1;var o=yo;return Ze=function(t,s,l,a,r){var c=new Error(t);return o(c,s,l,a,r)},Ze}var $e,_o;function nf(){if(_o)return $e;_o=1;var o=Co();return $e=function(t,s,l){var a=l.config.validateStatus;!l.status||!a||a(l.status)?t(l):s(o("Request failed with status code "+l.status,l.config,null,l.request,l))},$e}var ve,Bo;function lf(){if(Bo)return ve;Bo=1;var o=H;return ve=o.isStandardBrowserEnv()?function(){return{write:function(s,l,a,r,c,i){var d=[];d.push(s+"="+encodeURIComponent(l)),o.isNumber(a)&&d.push("expires="+new Date(a).toGMTString()),o.isString(r)&&d.push("path="+r),o.isString(c)&&d.push("domain="+c),i===!0&&d.push("secure"),document.cookie=d.join("; ")},read:function(s){var l=document.cookie.match(new RegExp("(^|;\\s*)("+s+")=([^;]*)"));return l?decodeURIComponent(l[3]):null},remove:function(s){this.write(s,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),ve}var et,bo;function af(){return bo||(bo=1,et=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),et}var tt,wo;function sf(){return wo||(wo=1,tt=function(n,t){return t?n.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):n}),tt}var ot,So;function rf(){if(So)return ot;So=1;var o=af(),n=sf();return ot=function(s,l){return s&&!o(l)?n(s,l):l},ot}var nt,Vo;function cf(){if(Vo)return nt;Vo=1;var o=H,n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return nt=function(s){var l={},a,r,c;return s&&o.forEach(s.split(`
6
- `),function(d){if(c=d.indexOf(":"),a=o.trim(d.substr(0,c)).toLowerCase(),r=o.trim(d.substr(c+1)),a){if(l[a]&&n.indexOf(a)>=0)return;a==="set-cookie"?l[a]=(l[a]?l[a]:[]).concat([r]):l[a]=l[a]?l[a]+", "+r:r}}),l},nt}var lt,xo;function df(){if(xo)return lt;xo=1;var o=H;return lt=o.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a"),l;function a(r){var c=r;return t&&(s.setAttribute("href",c),c=s.href),s.setAttribute("href",c),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:s.pathname.charAt(0)==="/"?s.pathname:"/"+s.pathname}}return l=a(window.location.href),function(c){var i=o.isString(c)?a(c):c;return i.protocol===l.protocol&&i.host===l.host}}():function(){return function(){return!0}}(),lt}var at,Eo;function Be(){if(Eo)return at;Eo=1;function o(n){this.message=n}return o.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},o.prototype.__CANCEL__=!0,at=o,at}var st,No;function To(){if(No)return st;No=1;var o=H,n=nf(),t=lf(),s=go,l=rf(),a=cf(),r=df(),c=Co(),i=be(),d=Be();return st=function(h){return new Promise(function(f,y){var p=h.data,k=h.headers,C=h.responseType,V;function O(){h.cancelToken&&h.cancelToken.unsubscribe(V),h.signal&&h.signal.removeEventListener("abort",V)}o.isFormData(p)&&delete k["Content-Type"];var g=new XMLHttpRequest;if(h.auth){var N=h.auth.username||"",b=h.auth.password?unescape(encodeURIComponent(h.auth.password)):"";k.Authorization="Basic "+btoa(N+":"+b)}var E=l(h.baseURL,h.url);g.open(h.method.toUpperCase(),s(E,h.params,h.paramsSerializer),!0),g.timeout=h.timeout;function D(){if(!!g){var T="getAllResponseHeaders"in g?a(g.getAllResponseHeaders()):null,q=!C||C==="text"||C==="json"?g.responseText:g.response,P={data:q,status:g.status,statusText:g.statusText,headers:T,config:h,request:g};n(function(U){f(U),O()},function(U){y(U),O()},P),g=null}}if("onloadend"in g?g.onloadend=D:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(D)},g.onabort=function(){!g||(y(c("Request aborted",h,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(c("Network Error",h,null,g)),g=null},g.ontimeout=function(){var q=h.timeout?"timeout of "+h.timeout+"ms exceeded":"timeout exceeded",P=h.transitional||i.transitional;h.timeoutErrorMessage&&(q=h.timeoutErrorMessage),y(c(q,h,P.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},o.isStandardBrowserEnv()){var F=(h.withCredentials||r(E))&&h.xsrfCookieName?t.read(h.xsrfCookieName):void 0;F&&(k[h.xsrfHeaderName]=F)}"setRequestHeader"in g&&o.forEach(k,function(q,P){typeof p>"u"&&P.toLowerCase()==="content-type"?delete k[P]:g.setRequestHeader(P,q)}),o.isUndefined(h.withCredentials)||(g.withCredentials=!!h.withCredentials),C&&C!=="json"&&(g.responseType=h.responseType),typeof h.onDownloadProgress=="function"&&g.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",h.onUploadProgress),(h.cancelToken||h.signal)&&(V=function(T){!g||(y(!T||T&&T.type?new d("canceled"):T),g.abort(),g=null)},h.cancelToken&&h.cancelToken.subscribe(V),h.signal&&(h.signal.aborted?V():h.signal.addEventListener("abort",V))),p||(p=null),g.send(p)})},st}var it,Do;function be(){if(Do)return it;Do=1;var o=H,n=of,t=yo,s={"Content-Type":"application/x-www-form-urlencoded"};function l(i,d){!o.isUndefined(i)&&o.isUndefined(i["Content-Type"])&&(i["Content-Type"]=d)}function a(){var i;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(i=To()),i}function r(i,d,m){if(o.isString(i))try{return(d||JSON.parse)(i),o.trim(i)}catch(h){if(h.name!=="SyntaxError")throw h}return(m||JSON.stringify)(i)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:a(),transformRequest:[function(d,m){return n(m,"Accept"),n(m,"Content-Type"),o.isFormData(d)||o.isArrayBuffer(d)||o.isBuffer(d)||o.isStream(d)||o.isFile(d)||o.isBlob(d)?d:o.isArrayBufferView(d)?d.buffer:o.isURLSearchParams(d)?(l(m,"application/x-www-form-urlencoded;charset=utf-8"),d.toString()):o.isObject(d)||m&&m["Content-Type"]==="application/json"?(l(m,"application/json"),r(d)):d}],transformResponse:[function(d){var m=this.transitional||c.transitional,h=m&&m.silentJSONParsing,u=m&&m.forcedJSONParsing,f=!h&&this.responseType==="json";if(f||u&&o.isString(d)&&d.length)try{return JSON.parse(d)}catch(y){if(f)throw y.name==="SyntaxError"?t(y,this,"E_JSON_PARSE"):y}return d}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(d){return d>=200&&d<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return o.forEach(["delete","get","head"],function(d){c.headers[d]={}}),o.forEach(["post","put","patch"],function(d){c.headers[d]=o.merge(s)}),it=c,it}var mf=H,hf=be(),ff=function(n,t,s){var l=this||hf;return mf.forEach(s,function(r){n=r.call(l,n,t)}),n},rt,Io;function Oo(){return Io||(Io=1,rt=function(n){return!!(n&&n.__CANCEL__)}),rt}var Mo=H,ct=ff,uf=Oo(),pf=be(),gf=Be();function dt(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new gf("canceled")}var yf=function(n){dt(n),n.headers=n.headers||{},n.data=ct.call(n,n.data,n.headers,n.transformRequest),n.headers=Mo.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),Mo.forEach(["delete","get","head","post","put","patch","common"],function(l){delete n.headers[l]});var t=n.adapter||pf.adapter;return t(n).then(function(l){return dt(n),l.data=ct.call(n,l.data,l.headers,n.transformResponse),l},function(l){return uf(l)||(dt(n),l&&l.response&&(l.response.data=ct.call(n,l.response.data,l.response.headers,n.transformResponse))),Promise.reject(l)})},z=H,Fo=function(n,t){t=t||{};var s={};function l(m,h){return z.isPlainObject(m)&&z.isPlainObject(h)?z.merge(m,h):z.isPlainObject(h)?z.merge({},h):z.isArray(h)?h.slice():h}function a(m){if(z.isUndefined(t[m])){if(!z.isUndefined(n[m]))return l(void 0,n[m])}else return l(n[m],t[m])}function r(m){if(!z.isUndefined(t[m]))return l(void 0,t[m])}function c(m){if(z.isUndefined(t[m])){if(!z.isUndefined(n[m]))return l(void 0,n[m])}else return l(void 0,t[m])}function i(m){if(m in t)return l(n[m],t[m]);if(m in n)return l(void 0,n[m])}var d={url:r,method:r,data:r,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:i};return z.forEach(Object.keys(n).concat(Object.keys(t)),function(h){var u=d[h]||a,f=u(h);z.isUndefined(f)&&u!==i||(s[h]=f)}),s},mt,Lo;function qo(){return Lo||(Lo=1,mt={version:"0.24.0"}),mt}var kf=qo().version,ht={};["object","boolean","number","function","string","symbol"].forEach(function(o,n){ht[o]=function(s){return typeof s===o||"a"+(n<1?"n ":" ")+o}});var Po={};ht.transitional=function(n,t,s){function l(a,r){return"[Axios v"+kf+"] Transitional option '"+a+"'"+r+(s?". "+s:"")}return function(a,r,c){if(n===!1)throw new Error(l(r," has been removed"+(t?" in "+t:"")));return t&&!Po[r]&&(Po[r]=!0,console.warn(l(r," has been deprecated since v"+t+" and will be removed in the near future"))),n?n(a,r,c):!0}};function Cf(o,n,t){if(typeof o!="object")throw new TypeError("options must be an object");for(var s=Object.keys(o),l=s.length;l-- >0;){var a=s[l],r=n[a];if(r){var c=o[a],i=c===void 0||r(c,a,o);if(i!==!0)throw new TypeError("option "+a+" must be "+i);continue}if(t!==!0)throw Error("Unknown option "+a)}}var _f={assertOptions:Cf,validators:ht},Ao=H,Bf=go,Ho=ef,zo=yf,we=Fo,Ro=_f,v=Ro.validators;function re(o){this.defaults=o,this.interceptors={request:new Ho,response:new Ho}}re.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=we(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var t=n.transitional;t!==void 0&&Ro.assertOptions(t,{silentJSONParsing:v.transitional(v.boolean),forcedJSONParsing:v.transitional(v.boolean),clarifyTimeoutError:v.transitional(v.boolean)},!1);var s=[],l=!0;this.interceptors.request.forEach(function(u){typeof u.runWhen=="function"&&u.runWhen(n)===!1||(l=l&&u.synchronous,s.unshift(u.fulfilled,u.rejected))});var a=[];this.interceptors.response.forEach(function(u){a.push(u.fulfilled,u.rejected)});var r;if(!l){var c=[zo,void 0];for(Array.prototype.unshift.apply(c,s),c=c.concat(a),r=Promise.resolve(n);c.length;)r=r.then(c.shift(),c.shift());return r}for(var i=n;s.length;){var d=s.shift(),m=s.shift();try{i=d(i)}catch(h){m(h);break}}try{r=zo(i)}catch(h){return Promise.reject(h)}for(;a.length;)r=r.then(a.shift(),a.shift());return r},re.prototype.getUri=function(n){return n=we(this.defaults,n),Bf(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},Ao.forEach(["delete","get","head","options"],function(n){re.prototype[n]=function(t,s){return this.request(we(s||{},{method:n,url:t,data:(s||{}).data}))}}),Ao.forEach(["post","put","patch"],function(n){re.prototype[n]=function(t,s,l){return this.request(we(l||{},{method:n,url:t,data:s}))}});var bf=re,ft,jo;function wf(){if(jo)return ft;jo=1;var o=Be();function n(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var s;this.promise=new Promise(function(r){s=r});var l=this;this.promise.then(function(a){if(!!l._listeners){var r,c=l._listeners.length;for(r=0;r<c;r++)l._listeners[r](a);l._listeners=null}}),this.promise.then=function(a){var r,c=new Promise(function(i){l.subscribe(i),r=i}).then(a);return c.cancel=function(){l.unsubscribe(r)},c},t(function(r){l.reason||(l.reason=new o(r),s(l.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(s){if(this.reason){s(this.reason);return}this._listeners?this._listeners.push(s):this._listeners=[s]},n.prototype.unsubscribe=function(s){if(!!this._listeners){var l=this._listeners.indexOf(s);l!==-1&&this._listeners.splice(l,1)}},n.source=function(){var s,l=new n(function(r){s=r});return{token:l,cancel:s}},ft=n,ft}var ut,Uo;function Sf(){return Uo||(Uo=1,ut=function(n){return function(s){return n.apply(null,s)}}),ut}var pt,Wo;function Vf(){return Wo||(Wo=1,pt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),pt}var Go=H,xf=ho,Se=bf,Ef=Fo,Nf=be();function Jo(o){var n=new Se(o),t=xf(Se.prototype.request,n);return Go.extend(t,Se.prototype,n),Go.extend(t,n),t.create=function(l){return Jo(Ef(o,l))},t}var W=Jo(Nf);W.Axios=Se,W.Cancel=Be(),W.CancelToken=wf(),W.isCancel=Oo(),W.VERSION=qo().version,W.all=function(n){return Promise.all(n)},W.spread=Sf(),W.isAxiosError=Vf(),Je.exports=W,Je.exports.default=W,function(o){o.exports=Je.exports}(mo);const Tf=qh(mo.exports),mp="",Df={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[j,Lh],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},deleteIcon:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},CmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},computed:{fileTypeImage(){return this.allowedFileExtensions.some(o=>o.includes("jpg"))},failedUpload(){return this.listOfFiles.some(o=>o.error)},totalBytesUploaded(){const o=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,t)=>[n[0]+t[0],n[1]+t[1]]);return this.formatSize(o[1])+"/"+this.formatSize(o[0])},totalSize(){let o=0;for(let n=0;n<this.listOfFiles.length;n++)o=o+this.listOfFiles[n].file.size;return o},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const o=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,t)=>[n[0]+t[0],n[1]+t[1]]);return o[1]/o[0]*100}},watch:{presetComment:{handler(o){this.comment=o},immediate:!0}},methods:{getPercentage(o){return o?o.toFixed(2)+"%":"0.00%"},getFileExtension(o){return ie(o)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(o){this.dragOver(o)},dragOver(o){if(o.dataTransfer&&o.dataTransfer.items&&o.dataTransfer.items.length>0){o.dataTransfer.dropEffect="none";let n=!0;for(let t=0,s=o.dataTransfer.items.length;t<s;++t)if(o.dataTransfer.items[t].kind!=="file"){n=!1;break}n&&(o.preventDefault(),o.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(o){this.allowDrop=!1,o.dataTransfer&&o.dataTransfer.files&&o.dataTransfer.files.length>0&&(o.preventDefault(),this.checkFiles(o.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(o=>{o.abortController&&o.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(o){this.checkFiles(o.target.files)},checkFiles(o){if(!!o.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<o.length;n++){const t={file:o[n],progress:null,uploadedBytes:0};if(o[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",o[n].name,o[n].size));continue}if(!this.allowedFileExtensions.includes(ie(o[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",o[n].name,ie(o[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(s=>this.compareFiles(s.file,o[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",o[n].name,ie(o[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(t);else{o.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[t];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(o,n){return o.name===n.name&&o.lastModified===n.lastModified&&o.size===n.size},removeFile(o){this.listOfFiles.splice(o,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(o){return o<1024?o:o<1048576?o=Math.round(o/1024*100)/100+" KB":o=Math.round(o/1048576*100)/100+" MB"},uploadFiles(){if(this.systemMessages=[],this.errors={},this.defaultSystemMessageStatus="",this.enableComment&&!this.comment&&this.commentRequired&&this.commentStatusMessage)this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const o=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([s,l])=>n.append(s,l)),this.enableComment&&n.append("comment",this.comment);const t=[];this.listOfFiles.forEach(s=>{t.push(this.uploadSingleFile(o,s,n))}),Promise.allSettled(t).then(s=>{const l=s.filter(a=>a.status==="rejected");this.uploadInitiated=!1,l.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!l.length})})}else{let o={};o.listOfFiles=this.listOfFiles,o.type="upload",o.comment=this.comment,this.$emit("click",o,this.showMessage)}},onUploadProgress(o,n){o.lengthComputable?(n.progress=o.loaded/o.total*100,n.uploadedBytes=o.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(o,n,t){return n.abortController=new AbortController,t.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),Tf.post(o,t,{signal:n.abortController.signal,onUploadProgress:s=>this.onUploadProgress(s,n)}).then(s=>(this.$emit("upload-file-success",n),s)).then(s=>{const l=this.listOfFiles.indexOf(n);return l!==-1&&this.listOfFiles.splice(l,1),s}).catch(s=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(s),n.error=!0,new Error})},showMessage(o){o===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):o===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const o=Object.keys(this.resetForm);for(let n of o)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},If={key:0},Of={key:1,class:"flex-container vertical"},Mf={key:0,class:"flex-container vertical list-files-wrapper"},Ff={key:0,class:"list-of-files total-files"},Lf={class:"flex-container no-flex"},qf=["title"],Pf={key:0,class:"progressbar"},Af=["value","title"],Hf=e.createElementVNode("hr",null,null,-1),zf={class:"flex-container vertical list-files-wrapper"},Rf={class:"list-of-files"},jf=["title","onClick"],Uf={key:0,class:"progressbar"},Wf=["value","title"],Gf=["title"],Jf=e.createElementVNode("hr",null,null,-1),Kf={class:"small"},Xf=["title"],Yf={key:0,class:"list-of-file-extensions"},Qf=["disabled"],Zf={key:0},$f={key:1},vf={class:"button-wrapper no-flex"},eu=["disabled"],tu={key:0},ou={key:1},nu={key:0,class:"progressbar"},lu=["value","title"];function au(o,n,t,s,l,a){const r=L,c=co,i=I,d=Q;return e.openBlock(),e.createElementBlock(e.Fragment,null,[t.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":l.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegend),3),t.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),a.systemMessageStatus&&a.allSystemMessages.length?(e.openBlock(),e.createBlock(c,{key:1,iconClose:{show:!1},validationStatus:a.systemMessageStatus,systemMessage:a.allSystemMessages.length===1?a.allSystemMessages[0]:o.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[a.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",If,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.allSystemMessages,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:h},e.toDisplayString(m),1))),128))])):e.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box drop-area flex-container vertical",{"allow-drop":l.allowDrop}]},e.toHandlers(a.dragAndDropHandler)),[l.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",Of,[t.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",Mf,[e.createVNode(r,e.mergeProps(t.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),t.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",Ff,[e.createElementVNode("li",Lf,[e.createElementVNode("a",{href:"#",title:o.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...m)=>a.cancelUpload&&a.cancelUpload(...m),["prevent"]))},[e.createVNode(i,{iconClass:t.deleteIcon.iconClass,type:t.deleteIcon.iconClass},null,8,["iconClass","type"])],8,qf),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(l.listOfFiles.length)+" ",1),t.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:t.maxTotalUploadSize>0&&a.totalSize>t.maxTotalUploadSize}])}," ("+e.toDisplayString(a.formatSize(a.totalSize))+") ",3),l.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Pf,[e.createElementVNode("span",null,e.toDisplayString(a.getPercentage(a.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:a.totalUploadProgress,title:a.totalBytesUploaded},null,8,Af)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Hf])):e.createCommentVNode("",!0),e.createElementVNode("div",zf,[e.createVNode(r,e.mergeProps(t.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),e.createElementVNode("ul",Rf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.listOfFiles,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:h,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:o.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:e.withModifiers(u=>a.removeFile(h),["prevent"])},[e.createVNode(i,{iconClass:o.iconDelete.iconClass,type:o.iconDelete.iconType},null,8,["iconClass","type"])],8,jf),e.createElementVNode("span",{class:e.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[e.createTextVNode(e.toDisplayString(m.file.name)+" ",1),e.createElementVNode("small",null,"("+e.toDisplayString(a.formatSize(m.file.size))+")",1)],2),l.uploadInitiated&&!m.error?(e.openBlock(),e.createElementBlock("span",Uf,[e.createElementVNode("span",null,e.toDisplayString(a.getPercentage(m.progress)),1),e.createElementVNode("progress",{max:"100",value:m.progress,title:a.formatSize(m.uploadedBytes)+"/"+a.formatSize(m.file.size)},null,8,Wf)])):e.createCommentVNode("",!0)]))),128))]),a.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...m)=>a.cancel&&a.cancel(...m),["prevent"])),title:o.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(o.getMessage("cmduploadform.reset_upload")),9,Gf)):e.createCommentVNode("",!0),Jf])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.allowMultipleFileUploads?(e.openBlock(),e.createBlock(r,e.mergeProps({key:0},t.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.no_files_to_upload")),1)]),_:1},16)):(e.openBlock(),e.createBlock(r,e.mergeProps({key:1},t.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.no_file_to_upload")),1)]),_:1},16))],64)),t.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createBlock(r,e.mergeProps({key:2},t.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!t.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createBlock(r,e.mergeProps({key:3},t.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",Kf,[t.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:a.totalSize>t.maxTotalUploadSize})},e.toDisplayString(o.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:a.totalSize>t.maxTotalUploadSize}])},e.toDisplayString(a.formatSize(t.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:l.errors.fileSize})},e.toDisplayString(o.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.errors.fileSize}])},e.toDisplayString(a.formatSize(t.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:l.errors.fileType})},e.toDisplayString(o.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(m=>l.showListOfFileExtensions=!l.showListOfFileExtensions,["prevent"])),title:o.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(i,{iconClass:l.showListOfFileExtensions?t.iconInvisible.iconClass:t.iconVisible.iconClass,type:l.showListOfFileExtensions?t.iconInvisible.iconType:t.iconVisible.iconType},null,8,["iconClass","type"])],8,Xf),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",Yf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.allowedFileExtensions,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:h,class:e.normalizeClass({error:l.errors.fileType})},e.toDisplayString(m),3))),128))])):e.createCommentVNode("",!0)]),_:1})])]),e.createElementVNode("div",null,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:l.uploadInitiated}]),disabled:l.uploadInitiated,onClick:n[3]||(n[3]=m=>a.selectFiles())},[e.createVNode(i,{iconClass:t.iconFileUpload.iconClass,type:t.iconFileUpload.iconType},null,8,["iconClass","type"]),t.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",Zf,e.toDisplayString(o.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",$f,e.toDisplayString(o.getMessage("cmduploadform.labeltext.select_file")),1))],10,Qf),t.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:l.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.drag_and_drop"))+" ",1),t.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!t.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(o.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),t.enableComment?(e.openBlock(),e.createBlock(d,{key:2,element:"textarea",labelText:o.getMessage("cmduploadform.labeltext.comment"),modelValue:l.comment,"onUpdate:modelValue":n[4]||(n[4]=m=>l.comment=m),required:t.commentRequired,validationMessage:t.commentStatusMessage,placeholder:o.getMessage("cmduploadform.placeholder.comment"),status:t.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",vf,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:l.listOfFiles.length===0||t.maxTotalUploadSize>0&&a.totalSize>t.maxTotalUploadSize||l.uploadInitiated}]),disabled:l.listOfFiles.length===0||t.maxTotalUploadSize>0&&a.totalSize>t.maxTotalUploadSize||l.uploadInitiated,onClick:n[5]||(n[5]=(...m)=>a.uploadFiles&&a.uploadFiles(...m))},[e.createVNode(i,{iconClass:t.iconUpload.iconClass,type:t.iconUpload.iconType},null,8,["iconClass","type"]),l.listOfFiles.length===1||!t.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",tu,e.toDisplayString(o.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",ou,e.toDisplayString(o.getMessage("cmduploadform.buttontext.upload_files")),1))],10,eu),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:l.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...m)=>a.cancel&&a.cancel(...m))},[e.createVNode(i,{iconClass:t.iconCancel.iconClass,type:t.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(e.openBlock(),e.createElementBlock("a",e.mergeProps({key:1,href:"#",onClick:n[7]||(n[7]=e.withModifiers((...m)=>a.selectFiles&&a.selectFiles(...m),["prevent"])),class:["cmd-upload-form drop-area",{"allow-drop":l.allowDrop}]},e.toHandlers(a.dragAndDropHandler)),[l.uploadInitiated?(e.openBlock(),e.createElementBlock("span",nu,[e.createElementVNode("span",null,e.toDisplayString(a.getPercentage(a.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:a.totalUploadProgress,title:a.totalBytesUploaded},null,8,lu)])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[t.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.select_image")),1),e.createVNode(i,{iconClass:t.iconImage.iconClass,type:t.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.select_file")),1),e.createVNode(i,{iconClass:t.iconFileUpload.iconClass,type:t.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(i,{iconClass:t.iconDragAndDrop.iconClass,type:t.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)),e.createElementVNode("small",null,e.toDisplayString(o.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(a.formatSize(t.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(o.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(t.allowedFileExtensions),1)])],16)),e.createVNode(d,{element:"input",type:"file",labelText:o.getMessage("cmduploadform.labeltext.select_files"),disabled:l.uploadInitiated,multiple:t.allowMultipleFileUploads,onChange:a.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const su=S(Df,[["render",au]]),hp="",iu={name:"CmdWidthLimitationWrapper",components:{CmdHeadline:L},props:{innerComponent:{type:String,default:"section",validator(o){return o}},innerWrapper:{type:Boolean,default:!0},sticky:{type:Boolean,default:!1},innerClass:{type:String,required:!1},anchorId:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){return this.innerClass?this.innerClass:this.innerComponent==="header"?"grid-container-create-columns":this.innerComponent==="footer"?"flex-container":""},setOuterId(){return this.innerComponent==="header"?"site-header":this.innerComponent==="footer"?"site-footer":""}}},ru=["id"],cu=["id"];function du(o,n,t,s,l,a){const r=L;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:t.sticky}])},[t.innerWrapper?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(a.setInnerClass)},[t.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:t.anchorId},null,8,ru)):e.createCommentVNode("",!0),t.cmdHeadline?(e.openBlock(),e.createBlock(r,{key:1,"pre-headline-text":t.cmdHeadline.preHeadlineText,"headline-text":t.cmdHeadline.headlineText,"headline-level":t.cmdHeadline.headlineLevel},null,8,["pre-headline-text","headline-text","headline-level"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:t.anchorId},null,8,cu)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")],64))],2)}const mu=S(iu,[["render",du]]),hu={mounted(o){if(o.tagName==="INPUT"||o.tagName==="SELECT"||o.tagName==="TEXTAREA"||o.tagName==="A")o.focus();else{const n=o.querySelector("input, select, textarea");n?n.focus():console.warn("No input-element for focus-directive on element "+o.tagName+" found!")}}},fu={mounted(o,n){if(n.value&&typeof n.value=="string"){let t=/[^\d]/g,s=n.value.replace(/^\s*\+/,"00");o.href="tel:"+s.replace(t,"")}}};function uu(){const o={};e.onBeforeUpdate(s);function n(l="defaultSequence"){const a=o[l]||0;return o[l]=a+1,o[l]}function t(l="defaultSequence"){return o[l]||0}function s(l="defaultSequence"){o[l]&&(o[l]=0)}return{nextSequenceValue:n,currentSequenceValue:t,resetSequence:s}}B.CmdAddressData=Aa,B.CmdBackToTopButton=ja,B.CmdBankAccountData=Ya,B.CmdBox=vt,B.CmdBoxWrapper=bi,B.CmdBreadcrumbs=Mi,B.CmdCompanyLogo=oo,B.CmdCookieDisclaimer=Jr,B.CmdCopyrightInformation=Zr,B.CmdFakeSelect=lo,B.CmdFancyBox=Es,B.CmdForm=Sc,B.CmdFormElement=Q,B.CmdFormFilters=ao,B.CmdGoogleMaps=Lc,B.CmdHeadline=L,B.CmdIcon=I,B.CmdImage=K,B.CmdImageGallery=Rc,B.CmdImageZoom=Yc,B.CmdInputGroup=id,B.CmdListOfLinks=Qt,B.CmdLoginForm=Vd,B.CmdMainNavigation=ro,B.CmdMultistepFormProgressBar=Zd,B.CmdOpeningHours=sm,B.CmdPager=km,B.CmdProgressBar=Vm,B.CmdSiteFooter=Fm,B.CmdSiteHeader=Am,B.CmdSiteSearch=Xm,B.CmdSlideButton=ae,B.CmdSlideshow=oh,B.CmdSocialNetworks=Dm,B.CmdSwitchLanguage=ch,B.CmdSystemMessage=co,B.CmdTable=bh,B.CmdTabs=Ih,B.CmdThumbnailScroller=Jt,B.CmdToggleDarkMode=Fh,B.CmdTooltip=no,B.CmdUploadForm=su,B.CmdWidthLimitationWrapper=mu,B.DirFocus=hu,B.DirTelephone=fu,B.createHtmlId=Xt,B.createUuid=Kt,B.getFileExtension=ie,B.openFancyBox=ke,B.useSequence=uu,Object.defineProperties(B,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
5
+ <path fill="currentColor" d="M8,7c0,1.657-1.343,3-3,3S2,8.657,2,7s1.343-3,3-3S8,5.343,8,7z"/>`}},width:32,height:32},fp="";bt(Nh);const Sh={name:"CmdTabs",data(){return{showTab:this.activeTab}},emits:["active-tab"],props:{cmdHeadline:{type:Object,required:!1},stretchTabs:{type:Boolean,default:!1},tabs:{type:Array,required:!0},useSlot:{type:Boolean,default:!1},activeTab:{type:Number,default:0}},methods:{setActiveTab(o){this.showTab=o,this.$emit("active-tab",o)}},watch:{activeTab(){this.showTab=this.activeTab}}},Ih={class:"cmd-tabs"},xh=["onClick","title"],Dh={key:1},Th={key:1,"aria-live":"assertive"},Vh=["innerHTML"];function Mh(o,n,t,i,l,a){const r=M,c=j;return e.openBlock(),e.createElementBlock("div",Ih,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":t.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.tabs,(s,d)=>(e.openBlock(),e.createElementBlock("li",{key:d,role:"tab"},[e.createElementVNode("a",{class:e.normalizeClass({active:l.showTab===d}),onClick:e.withModifiers(m=>a.setActiveTab(d),["prevent"]),title:s.name?void 0:s.tooltip,href:"#"},[s.iconClass?(e.openBlock(),e.createBlock(r,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.name?(e.openBlock(),e.createElementBlock("span",Dh,e.toDisplayString(s.name),1)):e.createCommentVNode("",!0)],10,xh)]))),128))],2),t.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.tabs.length,s=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:s,"aria-live":"assertive"},[e.renderSlot(o.$slots,"tab-content-"+(s-1))])),[[e.vShow,l.showTab===s-1]])),128)):(e.openBlock(),e.createElementBlock("div",Th,[t.cmdHeadline?(e.openBlock(),e.createBlock(c,e.mergeProps({key:0},t.cmdHeadline,{headlineText:t.tabs[l.showTab].headlineText,headlineLevel:t.tabs[l.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:t.tabs[l.showTab].htmlContent},null,8,Vh)]))])}const Eh=N(Sh,[["render",Mh]]),pp="",Oh={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{showLabel:{type:Boolean,default:!1},useStyledLayout:{type:Boolean,default:!1},labelTextDarkMode:{type:String,default:"Dark-mode enabled"},labelTextLightMode:{type:String,default:"Light-mode enabled"}},created(){const o=window.matchMedia("(prefers-color-scheme: dark)");o.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(o);const n=window.localStorage.getItem("cmd-color-scheme");n&&(this.darkMode=n==="dark-mode"),document.documentElement.addEventListener("toggle-color-scheme",this.onToggleColorScheme)},beforeUnmount(){window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",this.onColorSchemeChange),document.documentElement.removeEventListener("toggle-color-scheme",this.onToggleColorScheme)},methods:{onColorSchemeChange(o){this.darkMode=o.matches,document.documentElement.classList.add(this.darkMode?"dark-mode":"light-mode")},setColorScheme(){window.localStorage.setItem("cmd-color-scheme",this.darkMode?"dark-mode":"light-mode")},onToggleColorScheme(o){this.darkMode=o.detail==="dark-mode"}},computed:{labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode}},watch:{darkMode:{handler(){const o=document.documentElement;this.darkMode?o.classList.replace("light-mode","dark-mode"):o.classList.replace("dark-mode","light-mode"),o.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}};function Lh(o,n,t,i,l,a){const r=K;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":t.useStyledLayout,"dark-mode":l.darkMode}])},[e.createVNode(r,{element:"input",type:"checkbox",labelText:a.labelText,showLabel:t.showLabel,modelValue:l.darkMode,"onUpdate:modelValue":[n[0]||(n[0]=c=>l.darkMode=c),a.setColorScheme],"toggle-switch":!0,title:t.showLabel?"":a.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"])],2)}const jh=N(Oh,[["render",Lh]]),Fh={data(){return{defaultMessageProperties:{"cmduploadform.no_file_to_upload":"No file selected to upload","cmduploadform.no_files_to_upload":"No files selected to upload","cmduploadform.labeltext.select_file":"Select file to upload","cmduploadform.labeltext.select_files":"Select files to upload","cmduploadform.labeltext.remove_file_from_list":"Remove file '{0}' from list","cmduploadform.labeltext.remove_all_files_from_list":"Remove all files from list","cmduploadform.labeltext.file_uploading":"file to upload","cmduploadform.labeltext.files_uploading":"files to upload","cmduploadform.labeltext.comment":"Comment:","cmduploadform.buttontext.upload_file":"Upload file","cmduploadform.buttontext.upload_files":"Upload files","cmduploadform.buttontext.cancel":"Cancel","cmduploadform.placeholder.comment":"Please type in a specific comment","cmduploadform.system_message.found_duplicate_file":"Found duplicate file (not added again)","cmduploadform.system_message.upload_success":"Upload successful","cmduploadform.system_message.upload_failed":"Upload failed","cmduploadform.system_message.fill_required":"Fill all required fields","cmduploadform.system_message.the_following_errors_occurred":"The following errors occurred!","cmduploadform.system_message.an_unknown_error_occurred":"An unknown error occurred!","cmduploadform.system_message.only_one_file_allowed":"Only one file allowed!","cmduploadform.system_message_total_size_of_files_too_large":"Total size of files too large!","cmduploadform.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"cmduploadform.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"cmduploadform.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","cmduploadform.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","cmduploadform.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"cmduploadform.headline.summary_of_all_files":"Summary of all files","cmduploadform.headline.list_of_selected_files":"List of selected files","cmduploadform.headline.select_additional_files":"Select additional files","cmduploadform.headline.select_new_file":"Chosen the wrong file? Select a new one","cmduploadform.allowed_file_types":"Allowed file types:","cmduploadform.max_total_upload_size":"Max. total upload size:","cmduploadform.max_file_upload_size":"Max. file upload size:","cmduploadform.or":"or","cmduploadform.drag_and_drop":"drag (and drop)","cmduploadform.additional":"additional","cmduploadform.new":"new","cmduploadform.files_to_this_area":"files to this area","cmduploadform.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","cmduploadform.reset_upload":"Reset upload","cmduploadform.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","cmduploadform.select_image":"Select image","cmduploadform.select_file":"Select file","cmduploadform.drag_and_drop_file_here":"Drag and drop file here","cmduploadform.max_upload_size":"Max. upload size:"}}}};function se(o){if(o){const n=o.lastIndexOf(".");if(n>-1)return o.substring(n+1)}return""}function Ph(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var mo={exports:{}},Ze={exports:{}},ho=function(n,t){return function(){for(var l=new Array(arguments.length),a=0;a<l.length;a++)l[a]=arguments[a];return n.apply(t,l)}},zh=ho,X=Object.prototype.toString;function We(o){return X.call(o)==="[object Array]"}function Je(o){return typeof o>"u"}function Ah(o){return o!==null&&!Je(o)&&o.constructor!==null&&!Je(o.constructor)&&typeof o.constructor.isBuffer=="function"&&o.constructor.isBuffer(o)}function qh(o){return X.call(o)==="[object ArrayBuffer]"}function Hh(o){return typeof FormData<"u"&&o instanceof FormData}function Rh(o){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(o):n=o&&o.buffer&&o.buffer instanceof ArrayBuffer,n}function Uh(o){return typeof o=="string"}function Gh(o){return typeof o=="number"}function uo(o){return o!==null&&typeof o=="object"}function Ce(o){if(X.call(o)!=="[object Object]")return!1;var n=Object.getPrototypeOf(o);return n===null||n===Object.prototype}function Qh(o){return X.call(o)==="[object Date]"}function Zh(o){return X.call(o)==="[object File]"}function Wh(o){return X.call(o)==="[object Blob]"}function fo(o){return X.call(o)==="[object Function]"}function Jh(o){return uo(o)&&fo(o.pipe)}function Yh(o){return typeof URLSearchParams<"u"&&o instanceof URLSearchParams}function Kh(o){return o.trim?o.trim():o.replace(/^\s+|\s+$/g,"")}function Xh(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ye(o,n){if(!(o===null||typeof o>"u"))if(typeof o!="object"&&(o=[o]),We(o))for(var t=0,i=o.length;t<i;t++)n.call(null,o[t],t,o);else for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&n.call(null,o[l],l,o)}function Ke(){var o={};function n(l,a){Ce(o[a])&&Ce(l)?o[a]=Ke(o[a],l):Ce(l)?o[a]=Ke({},l):We(l)?o[a]=l.slice():o[a]=l}for(var t=0,i=arguments.length;t<i;t++)Ye(arguments[t],n);return o}function $h(o,n,t){return Ye(n,function(l,a){t&&typeof l=="function"?o[a]=zh(l,t):o[a]=l}),o}function vh(o){return o.charCodeAt(0)===65279&&(o=o.slice(1)),o}var A={isArray:We,isArrayBuffer:qh,isBuffer:Ah,isFormData:Hh,isArrayBufferView:Rh,isString:Uh,isNumber:Gh,isObject:uo,isPlainObject:Ce,isUndefined:Je,isDate:Qh,isFile:Zh,isBlob:Wh,isFunction:fo,isStream:Jh,isURLSearchParams:Yh,isStandardBrowserEnv:Xh,forEach:Ye,merge:Ke,extend:$h,trim:Kh,stripBOM:vh},$=A;function po(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var go=function(n,t,i){if(!t)return n;var l;if(i)l=i(t);else if($.isURLSearchParams(t))l=t.toString();else{var a=[];$.forEach(t,function(s,d){s===null||typeof s>"u"||($.isArray(s)?d=d+"[]":s=[s],$.forEach(s,function(h){$.isDate(h)?h=h.toISOString():$.isObject(h)&&(h=JSON.stringify(h)),a.push(po(d)+"="+po(h))}))}),l=a.join("&")}if(l){var r=n.indexOf("#");r!==-1&&(n=n.slice(0,r)),n+=(n.indexOf("?")===-1?"?":"&")+l}return n},eu=A;function _e(){this.handlers=[]}_e.prototype.use=function(n,t,i){return this.handlers.push({fulfilled:n,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1},_e.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},_e.prototype.forEach=function(n){eu.forEach(this.handlers,function(i){i!==null&&n(i)})};var tu=_e,ou=A,nu=function(n,t){ou.forEach(n,function(l,a){a!==t&&a.toUpperCase()===t.toUpperCase()&&(n[t]=l,delete n[a])})},yo=function(n,t,i,l,a){return n.config=t,i&&(n.code=i),n.request=l,n.response=a,n.isAxiosError=!0,n.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},n},Xe,ko;function Co(){if(ko)return Xe;ko=1;var o=yo;return Xe=function(t,i,l,a,r){var c=new Error(t);return o(c,i,l,a,r)},Xe}var $e,_o;function lu(){if(_o)return $e;_o=1;var o=Co();return $e=function(t,i,l){var a=l.config.validateStatus;!l.status||!a||a(l.status)?t(l):i(o("Request failed with status code "+l.status,l.config,null,l.request,l))},$e}var ve,Bo;function au(){if(Bo)return ve;Bo=1;var o=A;return ve=o.isStandardBrowserEnv()?function(){return{write:function(i,l,a,r,c,s){var d=[];d.push(i+"="+encodeURIComponent(l)),o.isNumber(a)&&d.push("expires="+new Date(a).toGMTString()),o.isString(r)&&d.push("path="+r),o.isString(c)&&d.push("domain="+c),s===!0&&d.push("secure"),document.cookie=d.join("; ")},read:function(i){var l=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return l?decodeURIComponent(l[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),ve}var et,bo;function iu(){return bo||(bo=1,et=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),et}var tt,wo;function su(){return wo||(wo=1,tt=function(n,t){return t?n.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):n}),tt}var ot,No;function ru(){if(No)return ot;No=1;var o=iu(),n=su();return ot=function(i,l){return i&&!o(l)?n(i,l):l},ot}var nt,So;function cu(){if(So)return nt;So=1;var o=A,n=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return nt=function(i){var l={},a,r,c;return i&&o.forEach(i.split(`
6
+ `),function(d){if(c=d.indexOf(":"),a=o.trim(d.substr(0,c)).toLowerCase(),r=o.trim(d.substr(c+1)),a){if(l[a]&&n.indexOf(a)>=0)return;a==="set-cookie"?l[a]=(l[a]?l[a]:[]).concat([r]):l[a]=l[a]?l[a]+", "+r:r}}),l},nt}var lt,Io;function du(){if(Io)return lt;Io=1;var o=A;return lt=o.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),l;function a(r){var c=r;return t&&(i.setAttribute("href",c),c=i.href),i.setAttribute("href",c),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return l=a(window.location.href),function(c){var s=o.isString(c)?a(c):c;return s.protocol===l.protocol&&s.host===l.host}}():function(){return function(){return!0}}(),lt}var at,xo;function Be(){if(xo)return at;xo=1;function o(n){this.message=n}return o.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},o.prototype.__CANCEL__=!0,at=o,at}var it,Do;function To(){if(Do)return it;Do=1;var o=A,n=lu(),t=au(),i=go,l=ru(),a=cu(),r=du(),c=Co(),s=be(),d=Be();return it=function(h){return new Promise(function(u,y){var p=h.data,k=h.headers,C=h.responseType,S;function E(){h.cancelToken&&h.cancelToken.unsubscribe(S),h.signal&&h.signal.removeEventListener("abort",S)}o.isFormData(p)&&delete k["Content-Type"];var g=new XMLHttpRequest;if(h.auth){var D=h.auth.username||"",b=h.auth.password?unescape(encodeURIComponent(h.auth.password)):"";k.Authorization="Basic "+btoa(D+":"+b)}var x=l(h.baseURL,h.url);g.open(h.method.toUpperCase(),i(x,h.params,h.paramsSerializer),!0),g.timeout=h.timeout;function V(){if(!!g){var T="getAllResponseHeaders"in g?a(g.getAllResponseHeaders()):null,F=!C||C==="text"||C==="json"?g.responseText:g.response,P={data:F,status:g.status,statusText:g.statusText,headers:T,config:h,request:g};n(function(U){u(U),E()},function(U){y(U),E()},P),g=null}}if("onloadend"in g?g.onloadend=V:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(V)},g.onabort=function(){!g||(y(c("Request aborted",h,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(c("Network Error",h,null,g)),g=null},g.ontimeout=function(){var F=h.timeout?"timeout of "+h.timeout+"ms exceeded":"timeout exceeded",P=h.transitional||s.transitional;h.timeoutErrorMessage&&(F=h.timeoutErrorMessage),y(c(F,h,P.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},o.isStandardBrowserEnv()){var L=(h.withCredentials||r(x))&&h.xsrfCookieName?t.read(h.xsrfCookieName):void 0;L&&(k[h.xsrfHeaderName]=L)}"setRequestHeader"in g&&o.forEach(k,function(F,P){typeof p>"u"&&P.toLowerCase()==="content-type"?delete k[P]:g.setRequestHeader(P,F)}),o.isUndefined(h.withCredentials)||(g.withCredentials=!!h.withCredentials),C&&C!=="json"&&(g.responseType=h.responseType),typeof h.onDownloadProgress=="function"&&g.addEventListener("progress",h.onDownloadProgress),typeof h.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",h.onUploadProgress),(h.cancelToken||h.signal)&&(S=function(T){!g||(y(!T||T&&T.type?new d("canceled"):T),g.abort(),g=null)},h.cancelToken&&h.cancelToken.subscribe(S),h.signal&&(h.signal.aborted?S():h.signal.addEventListener("abort",S))),p||(p=null),g.send(p)})},it}var st,Vo;function be(){if(Vo)return st;Vo=1;var o=A,n=nu,t=yo,i={"Content-Type":"application/x-www-form-urlencoded"};function l(s,d){!o.isUndefined(s)&&o.isUndefined(s["Content-Type"])&&(s["Content-Type"]=d)}function a(){var s;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(s=To()),s}function r(s,d,m){if(o.isString(s))try{return(d||JSON.parse)(s),o.trim(s)}catch(h){if(h.name!=="SyntaxError")throw h}return(m||JSON.stringify)(s)}var c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:a(),transformRequest:[function(d,m){return n(m,"Accept"),n(m,"Content-Type"),o.isFormData(d)||o.isArrayBuffer(d)||o.isBuffer(d)||o.isStream(d)||o.isFile(d)||o.isBlob(d)?d:o.isArrayBufferView(d)?d.buffer:o.isURLSearchParams(d)?(l(m,"application/x-www-form-urlencoded;charset=utf-8"),d.toString()):o.isObject(d)||m&&m["Content-Type"]==="application/json"?(l(m,"application/json"),r(d)):d}],transformResponse:[function(d){var m=this.transitional||c.transitional,h=m&&m.silentJSONParsing,f=m&&m.forcedJSONParsing,u=!h&&this.responseType==="json";if(u||f&&o.isString(d)&&d.length)try{return JSON.parse(d)}catch(y){if(u)throw y.name==="SyntaxError"?t(y,this,"E_JSON_PARSE"):y}return d}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(d){return d>=200&&d<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return o.forEach(["delete","get","head"],function(d){c.headers[d]={}}),o.forEach(["post","put","patch"],function(d){c.headers[d]=o.merge(i)}),st=c,st}var mu=A,hu=be(),uu=function(n,t,i){var l=this||hu;return mu.forEach(i,function(r){n=r.call(l,n,t)}),n},rt,Mo;function Eo(){return Mo||(Mo=1,rt=function(n){return!!(n&&n.__CANCEL__)}),rt}var Oo=A,ct=uu,fu=Eo(),pu=be(),gu=Be();function dt(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new gu("canceled")}var yu=function(n){dt(n),n.headers=n.headers||{},n.data=ct.call(n,n.data,n.headers,n.transformRequest),n.headers=Oo.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),Oo.forEach(["delete","get","head","post","put","patch","common"],function(l){delete n.headers[l]});var t=n.adapter||pu.adapter;return t(n).then(function(l){return dt(n),l.data=ct.call(n,l.data,l.headers,n.transformResponse),l},function(l){return fu(l)||(dt(n),l&&l.response&&(l.response.data=ct.call(n,l.response.data,l.response.headers,n.transformResponse))),Promise.reject(l)})},q=A,Lo=function(n,t){t=t||{};var i={};function l(m,h){return q.isPlainObject(m)&&q.isPlainObject(h)?q.merge(m,h):q.isPlainObject(h)?q.merge({},h):q.isArray(h)?h.slice():h}function a(m){if(q.isUndefined(t[m])){if(!q.isUndefined(n[m]))return l(void 0,n[m])}else return l(n[m],t[m])}function r(m){if(!q.isUndefined(t[m]))return l(void 0,t[m])}function c(m){if(q.isUndefined(t[m])){if(!q.isUndefined(n[m]))return l(void 0,n[m])}else return l(void 0,t[m])}function s(m){if(m in t)return l(n[m],t[m]);if(m in n)return l(void 0,n[m])}var d={url:r,method:r,data:r,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:s};return q.forEach(Object.keys(n).concat(Object.keys(t)),function(h){var f=d[h]||a,u=f(h);q.isUndefined(u)&&f!==s||(i[h]=u)}),i},mt,jo;function Fo(){return jo||(jo=1,mt={version:"0.24.0"}),mt}var ku=Fo().version,ht={};["object","boolean","number","function","string","symbol"].forEach(function(o,n){ht[o]=function(i){return typeof i===o||"a"+(n<1?"n ":" ")+o}});var Po={};ht.transitional=function(n,t,i){function l(a,r){return"[Axios v"+ku+"] Transitional option '"+a+"'"+r+(i?". "+i:"")}return function(a,r,c){if(n===!1)throw new Error(l(r," has been removed"+(t?" in "+t:"")));return t&&!Po[r]&&(Po[r]=!0,console.warn(l(r," has been deprecated since v"+t+" and will be removed in the near future"))),n?n(a,r,c):!0}};function Cu(o,n,t){if(typeof o!="object")throw new TypeError("options must be an object");for(var i=Object.keys(o),l=i.length;l-- >0;){var a=i[l],r=n[a];if(r){var c=o[a],s=c===void 0||r(c,a,o);if(s!==!0)throw new TypeError("option "+a+" must be "+s);continue}if(t!==!0)throw Error("Unknown option "+a)}}var _u={assertOptions:Cu,validators:ht},zo=A,Bu=go,Ao=tu,qo=yu,we=Lo,Ho=_u,v=Ho.validators;function re(o){this.defaults=o,this.interceptors={request:new Ao,response:new Ao}}re.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=we(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var t=n.transitional;t!==void 0&&Ho.assertOptions(t,{silentJSONParsing:v.transitional(v.boolean),forcedJSONParsing:v.transitional(v.boolean),clarifyTimeoutError:v.transitional(v.boolean)},!1);var i=[],l=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(l=l&&f.synchronous,i.unshift(f.fulfilled,f.rejected))});var a=[];this.interceptors.response.forEach(function(f){a.push(f.fulfilled,f.rejected)});var r;if(!l){var c=[qo,void 0];for(Array.prototype.unshift.apply(c,i),c=c.concat(a),r=Promise.resolve(n);c.length;)r=r.then(c.shift(),c.shift());return r}for(var s=n;i.length;){var d=i.shift(),m=i.shift();try{s=d(s)}catch(h){m(h);break}}try{r=qo(s)}catch(h){return Promise.reject(h)}for(;a.length;)r=r.then(a.shift(),a.shift());return r},re.prototype.getUri=function(n){return n=we(this.defaults,n),Bu(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},zo.forEach(["delete","get","head","options"],function(n){re.prototype[n]=function(t,i){return this.request(we(i||{},{method:n,url:t,data:(i||{}).data}))}}),zo.forEach(["post","put","patch"],function(n){re.prototype[n]=function(t,i,l){return this.request(we(l||{},{method:n,url:t,data:i}))}});var bu=re,ut,Ro;function wu(){if(Ro)return ut;Ro=1;var o=Be();function n(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var i;this.promise=new Promise(function(r){i=r});var l=this;this.promise.then(function(a){if(!!l._listeners){var r,c=l._listeners.length;for(r=0;r<c;r++)l._listeners[r](a);l._listeners=null}}),this.promise.then=function(a){var r,c=new Promise(function(s){l.subscribe(s),r=s}).then(a);return c.cancel=function(){l.unsubscribe(r)},c},t(function(r){l.reason||(l.reason=new o(r),i(l.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]},n.prototype.unsubscribe=function(i){if(!!this._listeners){var l=this._listeners.indexOf(i);l!==-1&&this._listeners.splice(l,1)}},n.source=function(){var i,l=new n(function(r){i=r});return{token:l,cancel:i}},ut=n,ut}var ft,Uo;function Nu(){return Uo||(Uo=1,ft=function(n){return function(i){return n.apply(null,i)}}),ft}var pt,Go;function Su(){return Go||(Go=1,pt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),pt}var Qo=A,Iu=ho,Ne=bu,xu=Lo,Du=be();function Zo(o){var n=new Ne(o),t=Iu(Ne.prototype.request,n);return Qo.extend(t,Ne.prototype,n),Qo.extend(t,n),t.create=function(l){return Zo(xu(o,l))},t}var G=Zo(Du);G.Axios=Ne,G.Cancel=Be(),G.CancelToken=wu(),G.isCancel=Eo(),G.VERSION=Fo().version,G.all=function(n){return Promise.all(n)},G.spread=Nu(),G.isAxiosError=Su(),Ze.exports=G,Ze.exports.default=G,function(o){o.exports=Ze.exports}(mo);const Tu=Ph(mo.exports),gp="",Vu={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[R,Fh],data(){return{comment:"",allowDrop:!1,listOfFiles:[],systemMessages:[],defaultSystemMessageStatus:"",showListOfFileExtensions:!1,resetForm:{},uploadInitiated:!1,errors:{}}},created(){this.resetForm.comment=this.presetComment,this.resetForm.allowDrop=this.allowDrop,this.resetForm.listOfFiles=JSON.parse(JSON.stringify(this.listOfFiles)),this.resetForm.systemMessages=this.systemMessages,this.resetForm.systemMessageStatus=this.systemMessageStatus},props:{showTotalUpload:{type:Boolean,default:!0},componentHandlesUpload:{type:Boolean,default:!0},allowedFileExtensions:{type:Array,required:!0},commentRequired:{type:Boolean,default:!0},commentStatusMessage:{type:String,default:""},enableDragAndDrop:{type:Boolean,default:!1},enableComment:{type:Boolean,default:!0},presetComment:{type:String,default:""},maxTotalUploadSize:{type:Number,default:5242880},maxFileUploadSize:{type:Number,default:10485760},allowMultipleFileUploads:{type:Boolean,default:!1},uploadOptions:{type:Object,required:!1},advancedMode:{type:Boolean,default:!0},deleteIcon:{type:Object,default(){return{iconClass:"icon-delete",iconType:"auto"}}},iconFileUpload:{type:Object,default(){return{iconClass:"icon-file-upload",iconType:"auto"}}},iconFile:{type:Object,default(){return{iconClass:"icon-file",iconType:"auto"}}},iconInvisible:{type:Object,default(){return{iconClass:"icon-not-visible",iconType:"auto"}}},iconVisible:{type:Object,default(){return{iconClass:"icon-visible",iconType:"auto"}}},iconImage:{type:Object,default(){return{iconClass:"icon-image",iconType:"auto"}}},iconUpload:{type:Object,default(){return{iconClass:"icon-upload",iconType:"auto"}}},iconDragAndDrop:{type:Object,default(){return{iconClass:"icon-drag-and-drop",iconType:"auto"}}},iconCancel:{type:Object,default(){return{iconClass:"icon-cancel",iconType:"auto"}}},cmdHeadlineFieldset:{type:Object,required:!1},cmdHeadlineNoFilesToUpload:{type:Object,required:!1},CmdHeadlineNoFileToUpload:{type:Object,required:!1},cmdHeadlineSummaryOfAllFiles:{type:Object,required:!1},cmdHeadlineListOfSelectedFiles:{type:Object,required:!1},cmdHeadlineSelectAdditionalFiles:{type:Object,required:!1},cmdHeadlineSelectNewFile:{type:Object,required:!1},showLegend:{type:Boolean,default:!0},textLegend:{type:String,required:!1}},computed:{fileTypeImage(){return this.allowedFileExtensions.some(o=>o.includes("jpg"))},failedUpload(){return this.listOfFiles.some(o=>o.error)},totalBytesUploaded(){const o=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,t)=>[n[0]+t[0],n[1]+t[1]]);return this.formatSize(o[1])+"/"+this.formatSize(o[0])},totalSize(){let o=0;for(let n=0;n<this.listOfFiles.length;n++)o=o+this.listOfFiles[n].file.size;return o},allSystemMessages(){return this.maxTotalUploadSize>0&&this.totalSize>this.maxTotalUploadSize?[this.getMessage("cmduploadform.system_message_total_size_of_files_too_large"),...this.systemMessages]:this.systemMessages},systemMessageStatus(){return this.defaultSystemMessageStatus||(this.allSystemMessages.length?"error":"")},dragAndDropHandler(){return this.enableDragAndDrop?{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}:{}},totalUploadProgress(){const o=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,t)=>[n[0]+t[0],n[1]+t[1]]);return o[1]/o[0]*100}},watch:{presetComment:{handler(o){this.comment=o},immediate:!0}},methods:{getPercentage(o){return o?o.toFixed(2)+"%":"0.00%"},getFileExtension(o){return se(o)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(o){this.dragOver(o)},dragOver(o){if(o.dataTransfer&&o.dataTransfer.items&&o.dataTransfer.items.length>0){o.dataTransfer.dropEffect="none";let n=!0;for(let t=0,i=o.dataTransfer.items.length;t<i;++t)if(o.dataTransfer.items[t].kind!=="file"){n=!1;break}n&&(o.preventDefault(),o.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(o){this.allowDrop=!1,o.dataTransfer&&o.dataTransfer.files&&o.dataTransfer.files.length>0&&(o.preventDefault(),this.checkFiles(o.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(o=>{o.abortController&&o.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(o){this.checkFiles(o.target.files)},checkFiles(o){if(!!o.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<o.length;n++){const t={file:o[n],progress:null,uploadedBytes:0};if(o[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",o[n].name,o[n].size));continue}if(!this.allowedFileExtensions.includes(se(o[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",o[n].name,se(o[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(i=>this.compareFiles(i.file,o[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",o[n].name,se(o[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(t);else{o.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[t];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(o,n){return o.name===n.name&&o.lastModified===n.lastModified&&o.size===n.size},removeFile(o){this.listOfFiles.splice(o,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(o){return o<1024?o:o<1048576?o=Math.round(o/1024*100)/100+" KB":o=Math.round(o/1048576*100)/100+" MB"},uploadFiles(){if(this.systemMessages=[],this.errors={},this.defaultSystemMessageStatus="",this.enableComment&&!this.comment&&this.commentRequired&&this.commentStatusMessage)this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.fill_required"));else if(this.uploadInitiated=!0,this.componentHandlesUpload&&this.uploadOptions&&this.uploadOptions.url){const o=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([i,l])=>n.append(i,l)),this.enableComment&&n.append("comment",this.comment);const t=[];this.listOfFiles.forEach(i=>{t.push(this.uploadSingleFile(o,i,n))}),Promise.allSettled(t).then(i=>{const l=i.filter(a=>a.status==="rejected");this.uploadInitiated=!1,l.length?(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.some_files_are_not_uploaded_successfully"))):(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.all_files_are_uploaded_successfully"))),this.$emit("upload-complete",{success:!l.length})})}else{let o={};o.listOfFiles=this.listOfFiles,o.type="upload",o.comment=this.comment,this.$emit("click",o,this.showMessage)}},onUploadProgress(o,n){o.lengthComputable?(n.progress=o.loaded/o.total*100,n.uploadedBytes=o.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(o,n,t){return n.abortController=new AbortController,t.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),Tu.post(o,t,{signal:n.abortController.signal,onUploadProgress:i=>this.onUploadProgress(i,n)}).then(i=>(this.$emit("upload-file-success",n),i)).then(i=>{const l=this.listOfFiles.indexOf(n);return l!==-1&&this.listOfFiles.splice(l,1),i}).catch(i=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(i),n.error=!0,new Error})},showMessage(o){o===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):o===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const o=Object.keys(this.resetForm);for(let n of o)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},Mu={key:0},Eu={key:1,class:"flex-container vertical"},Ou={key:0,class:"flex-container vertical list-files-wrapper"},Lu={key:0,class:"list-of-files total-files"},ju={class:"flex-container no-flex"},Fu=["title"],Pu={key:0,class:"progressbar"},zu=["value","title"],Au=e.createElementVNode("hr",null,null,-1),qu={class:"flex-container vertical list-files-wrapper"},Hu={class:"list-of-files"},Ru=["title","onClick"],Uu={key:0,class:"progressbar"},Gu=["value","title"],Qu=["title"],Zu=e.createElementVNode("hr",null,null,-1),Wu={class:"small"},Ju=["title"],Yu={key:0,class:"list-of-file-extensions"},Ku=["disabled"],Xu={key:0},$u={key:1},vu={class:"button-wrapper no-flex"},ef=["disabled"],tf={key:0},of={key:1},nf={key:0,class:"progressbar"},lf=["value","title"];function af(o,n,t,i,l,a){const r=j,c=co,s=M,d=K;return e.openBlock(),e.createElementBlock(e.Fragment,null,[t.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":l.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!t.showLegend})},e.toDisplayString(t.textLegend),3),t.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(r,e.normalizeProps(e.mergeProps({key:0},t.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),a.systemMessageStatus&&a.allSystemMessages.length?(e.openBlock(),e.createBlock(c,{key:1,iconClose:{show:!1},validationStatus:a.systemMessageStatus,systemMessage:a.allSystemMessages.length===1?a.allSystemMessages[0]:o.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[a.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",Mu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.allSystemMessages,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:h},e.toDisplayString(m),1))),128))])):e.createCommentVNode("",!0)]),_:1},8,["validationStatus","systemMessage"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box drop-area flex-container vertical",{"allow-drop":l.allowDrop}]},e.toHandlers(a.dragAndDropHandler)),[l.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",Eu,[t.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",Ou,[e.createVNode(r,e.mergeProps(t.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),t.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",Lu,[e.createElementVNode("li",ju,[e.createElementVNode("a",{href:"#",title:o.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...m)=>a.cancelUpload&&a.cancelUpload(...m),["prevent"]))},[e.createVNode(s,{iconClass:t.deleteIcon.iconClass,type:t.deleteIcon.iconClass},null,8,["iconClass","type"])],8,Fu),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(l.listOfFiles.length)+" ",1),t.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:t.maxTotalUploadSize>0&&a.totalSize>t.maxTotalUploadSize}])}," ("+e.toDisplayString(a.formatSize(a.totalSize))+") ",3),l.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Pu,[e.createElementVNode("span",null,e.toDisplayString(a.getPercentage(a.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:a.totalUploadProgress,title:a.totalBytesUploaded},null,8,zu)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Au])):e.createCommentVNode("",!0),e.createElementVNode("div",qu,[e.createVNode(r,e.mergeProps(t.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),e.createElementVNode("ul",Hu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.listOfFiles,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:h,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:o.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:e.withModifiers(f=>a.removeFile(h),["prevent"])},[e.createVNode(s,{iconClass:o.iconDelete.iconClass,type:o.iconDelete.iconType},null,8,["iconClass","type"])],8,Ru),e.createElementVNode("span",{class:e.normalizeClass(["text-align-right",m.allowedType?"allowed":"not-allowed",{error:m.error}])},[e.createTextVNode(e.toDisplayString(m.file.name)+" ",1),e.createElementVNode("small",null,"("+e.toDisplayString(a.formatSize(m.file.size))+")",1)],2),l.uploadInitiated&&!m.error?(e.openBlock(),e.createElementBlock("span",Uu,[e.createElementVNode("span",null,e.toDisplayString(a.getPercentage(m.progress)),1),e.createElementVNode("progress",{max:"100",value:m.progress,title:a.formatSize(m.uploadedBytes)+"/"+a.formatSize(m.file.size)},null,8,Gu)])):e.createCommentVNode("",!0)]))),128))]),a.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...m)=>a.cancel&&a.cancel(...m),["prevent"])),title:o.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(o.getMessage("cmduploadform.reset_upload")),9,Qu)):e.createCommentVNode("",!0),Zu])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.allowMultipleFileUploads?(e.openBlock(),e.createBlock(r,e.mergeProps({key:0},t.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.no_files_to_upload")),1)]),_:1},16)):(e.openBlock(),e.createBlock(r,e.mergeProps({key:1},t.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.no_file_to_upload")),1)]),_:1},16))],64)),t.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createBlock(r,e.mergeProps({key:2},t.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!t.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createBlock(r,e.mergeProps({key:3},t.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",Wu,[t.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:a.totalSize>t.maxTotalUploadSize})},e.toDisplayString(o.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:a.totalSize>t.maxTotalUploadSize}])},e.toDisplayString(a.formatSize(t.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:l.errors.fileSize})},e.toDisplayString(o.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.errors.fileSize}])},e.toDisplayString(a.formatSize(t.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:l.errors.fileType})},e.toDisplayString(o.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(m=>l.showListOfFileExtensions=!l.showListOfFileExtensions,["prevent"])),title:o.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(s,{iconClass:l.showListOfFileExtensions?t.iconInvisible.iconClass:t.iconVisible.iconClass,type:l.showListOfFileExtensions?t.iconInvisible.iconType:t.iconVisible.iconType},null,8,["iconClass","type"])],8,Ju),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",Yu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.allowedFileExtensions,(m,h)=>(e.openBlock(),e.createElementBlock("li",{key:h,class:e.normalizeClass({error:l.errors.fileType})},e.toDisplayString(m),3))),128))])):e.createCommentVNode("",!0)]),_:1})])]),e.createElementVNode("div",null,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:l.uploadInitiated}]),disabled:l.uploadInitiated,onClick:n[3]||(n[3]=m=>a.selectFiles())},[e.createVNode(s,{iconClass:t.iconFileUpload.iconClass,type:t.iconFileUpload.iconType},null,8,["iconClass","type"]),t.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",Xu,e.toDisplayString(o.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",$u,e.toDisplayString(o.getMessage("cmduploadform.labeltext.select_file")),1))],10,Ku),t.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:l.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.drag_and_drop"))+" ",1),t.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!t.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(o.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(o.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),t.enableComment?(e.openBlock(),e.createBlock(d,{key:2,element:"textarea",labelText:o.getMessage("cmduploadform.labeltext.comment"),modelValue:l.comment,"onUpdate:modelValue":n[4]||(n[4]=m=>l.comment=m),required:t.commentRequired,validationMessage:t.commentStatusMessage,placeholder:o.getMessage("cmduploadform.placeholder.comment"),status:t.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",vu,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:l.listOfFiles.length===0||t.maxTotalUploadSize>0&&a.totalSize>t.maxTotalUploadSize||l.uploadInitiated}]),disabled:l.listOfFiles.length===0||t.maxTotalUploadSize>0&&a.totalSize>t.maxTotalUploadSize||l.uploadInitiated,onClick:n[5]||(n[5]=(...m)=>a.uploadFiles&&a.uploadFiles(...m))},[e.createVNode(s,{iconClass:t.iconUpload.iconClass,type:t.iconUpload.iconType},null,8,["iconClass","type"]),l.listOfFiles.length===1||!t.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",tf,e.toDisplayString(o.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",of,e.toDisplayString(o.getMessage("cmduploadform.buttontext.upload_files")),1))],10,ef),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:l.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...m)=>a.cancel&&a.cancel(...m))},[e.createVNode(s,{iconClass:t.iconCancel.iconClass,type:t.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.buttontext.cancel")),1)],2)])],2)):(e.openBlock(),e.createElementBlock("a",e.mergeProps({key:1,href:"#",onClick:n[7]||(n[7]=e.withModifiers((...m)=>a.selectFiles&&a.selectFiles(...m),["prevent"])),class:["cmd-upload-form drop-area",{"allow-drop":l.allowDrop}]},e.toHandlers(a.dragAndDropHandler)),[l.uploadInitiated?(e.openBlock(),e.createElementBlock("span",nf,[e.createElementVNode("span",null,e.toDisplayString(a.getPercentage(a.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:a.totalUploadProgress,title:a.totalBytesUploaded},null,8,lf)])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[t.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[a.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.select_image")),1),e.createVNode(s,{iconClass:t.iconImage.iconClass,type:t.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.select_file")),1),e.createVNode(s,{iconClass:t.iconFileUpload.iconClass,type:t.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(o.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(s,{iconClass:t.iconDragAndDrop.iconClass,type:t.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)),e.createElementVNode("small",null,e.toDisplayString(o.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(a.formatSize(t.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(o.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(t.allowedFileExtensions),1)])],16)),e.createVNode(d,{element:"input",type:"file",labelText:o.getMessage("cmduploadform.labeltext.select_files"),disabled:l.uploadInitiated,multiple:t.allowMultipleFileUploads,onChange:a.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const sf=N(Vu,[["render",af]]),yp="",rf={name:"CmdWidthLimitationWrapper",components:{CmdHeadline:j},props:{innerComponent:{type:String,default:"section",validator(o){return o}},innerWrapper:{type:Boolean,default:!0},sticky:{type:Boolean,default:!1},innerClass:{type:String,required:!1},anchorId:{type:String,required:!1},cmdHeadline:{type:Object,required:!1}},computed:{setInnerClass(){return this.innerClass?this.innerClass:this.innerComponent==="header"?"grid-container-create-columns":this.innerComponent==="footer"?"flex-container":""},setOuterId(){return this.innerComponent==="header"?"site-header":this.innerComponent==="footer"?"site-footer":""}}},cf=["id"],df=["id"];function mf(o,n,t,i,l,a){const r=j;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:t.sticky}])},[t.innerWrapper?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(a.setInnerClass)},[t.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:t.anchorId},null,8,cf)):e.createCommentVNode("",!0),t.cmdHeadline?(e.openBlock(),e.createBlock(r,{key:1,"pre-headline-text":t.cmdHeadline.preHeadlineText,"headline-text":t.cmdHeadline.headlineText,"headline-level":t.cmdHeadline.headlineLevel},null,8,["pre-headline-text","headline-text","headline-level"])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:t.anchorId},null,8,df)):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default")],64))],2)}const hf=N(rf,[["render",mf]]),uf={mounted(o){if(o.tagName==="INPUT"||o.tagName==="SELECT"||o.tagName==="TEXTAREA"||o.tagName==="A")o.focus();else{const n=o.querySelector("input, select, textarea");n?n.focus():console.warn("No input-element for focus-directive on element "+o.tagName+" found!")}}},ff={mounted(o,n){if(n.value&&typeof n.value=="string"){let t=/[^\d]/g,i=n.value.replace(/^\s*\+/,"00");o.href="tel:"+i.replace(t,"")}}};function pf(){const o={};e.onBeforeUpdate(i);function n(l="defaultSequence"){const a=o[l]||0;return o[l]=a+1,o[l]}function t(l="defaultSequence"){return o[l]||0}function i(l="defaultSequence"){o[l]&&(o[l]=0)}return{nextSequenceValue:n,currentSequenceValue:t,resetSequence:i}}B.CmdAddressData=za,B.CmdBackToTopButton=Ra,B.CmdBankAccountData=Ya,B.CmdBox=vt,B.CmdBoxWrapper=bs,B.CmdBreadcrumbs=Os,B.CmdCompanyLogo=oo,B.CmdCookieDisclaimer=Zr,B.CmdCopyrightInformation=Xr,B.CmdFakeSelect=lo,B.CmdFancyBox=xi,B.CmdForm=Nc,B.CmdFormElement=K,B.CmdFormFilters=ao,B.CmdGoogleMaps=jc,B.CmdHeadline=j,B.CmdIcon=M,B.CmdImage=W,B.CmdImageGallery=Hc,B.CmdImageZoom=Yc,B.CmdInputGroup=sd,B.CmdListOfLinks=Kt,B.CmdLoginForm=Sd,B.CmdMainNavigation=ro,B.CmdMultistepFormProgressBar=Xd,B.CmdOpeningHours=im,B.CmdPager=km,B.CmdProgressBar=Sm,B.CmdSiteFooter=Lm,B.CmdSiteHeader=zm,B.CmdSiteSearch=Jm,B.CmdSlideButton=ae,B.CmdSlideshow=oh,B.CmdSocialNetworks=Vm,B.CmdSwitchLanguage=dh,B.CmdSystemMessage=co,B.CmdTable=wh,B.CmdTabs=Eh,B.CmdThumbnailScroller=Zt,B.CmdToggleDarkMode=jh,B.CmdTooltip=no,B.CmdUploadForm=sf,B.CmdWidthLimitationWrapper=hf,B.DirFocus=uf,B.DirTelephone=ff,B.createHtmlId=Jt,B.createUuid=Wt,B.getFileExtension=se,B.openFancyBox=ke,B.useSequence=pf,Object.defineProperties(B,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});