comand-component-library 3.3.74 → 3.3.76

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
- (function(C,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(C=typeof globalThis<"u"?globalThis:C||self,e(C["comand-component-library"]={},C.Vue))})(this,function(C,e){"use strict";const K=/^[a-z0-9]+(-[a-z0-9]+)*$/,le=(t,n,o,a="")=>{const l=t.split(":");if(t.slice(0,1)==="@"){if(l.length<2||l.length>3)return null;a=l.shift().slice(1)}if(l.length>3||!l.length)return null;if(l.length>1){const d=l.pop(),s=l.pop(),r={provider:l.length>0?l[0]:a,prefix:s,name:d};return n&&!ie(r)?null:r}const i=l[0],c=i.split("-");if(c.length>1){const d={provider:a,prefix:c.shift(),name:c.join("-")};return n&&!ie(d)?null:d}if(o&&a===""){const d={provider:a,prefix:"",name:i};return n&&!ie(d,o)?null:d}return null},ie=(t,n)=>t?!!((t.provider===""||t.provider.match(K))&&(n&&t.prefix===""||t.prefix.match(K))&&t.name.match(K)):!1,mt=Object.freeze({left:0,top:0,width:16,height:16}),ae=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),se=Object.freeze({...mt,...ae}),Be=Object.freeze({...se,body:"",hidden:!1});function Jo(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const a=((t.rotate||0)+(n.rotate||0))%4;return a&&(o.rotate=a),o}function ut(t,n){const o=Jo(t,n);for(const a in Be)a in ae?a in t&&!(a in o)&&(o[a]=ae[a]):a in n?o[a]=n[a]:a in t&&(o[a]=t[a]);return o}function Yo(t,n){const o=t.icons,a=t.aliases||{},l=Object.create(null);function i(c){if(o[c])return l[c]=[];if(!(c in l)){l[c]=null;const d=a[c]&&a[c].parent,s=d&&i(d);s&&(l[c]=[d].concat(s))}return l[c]}return(n||Object.keys(o).concat(Object.keys(a))).forEach(i),l}function Ko(t,n,o){const a=t.icons,l=t.aliases||{};let i={};function c(d){i=ut(a[d]||l[d],i)}return c(n),o.forEach(c),ut(t,i)}function ht(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(l=>{n(l,null),o.push(l)});const a=Yo(t);for(const l in a){const i=a[l];i&&(n(l,Ko(t,l,i)),o.push(l))}return o}const Xo={provider:"",aliases:{},not_found:{},...mt};function _e(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function ft(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!_e(t,Xo))return null;const o=n.icons;for(const l in o){const i=o[l];if(!l.match(K)||typeof i.body!="string"||!_e(i,Be))return null}const a=n.aliases||{};for(const l in a){const i=a[l],c=i.parent;if(!l.match(K)||typeof c!="string"||!o[c]&&!a[c]||!_e(i,Be))return null}return n}const pt=Object.create(null);function $o(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function q(t,n){const o=pt[t]||(pt[t]=Object.create(null));return o[n]||(o[n]=$o(t,n))}function be(t,n){return ft(n)?ht(n,(o,a)=>{a?t.icons[o]=a:t.missing.add(o)}):[]}function vo(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let X=!1;function gt(t){return typeof t=="boolean"&&(X=t),X}function en(t){const n=typeof t=="string"?le(t,!0,X):t;if(n){const o=q(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function tn(t,n){const o=le(t,!0,X);if(!o)return!1;const a=q(o.provider,o.prefix);return vo(a,o.name,n)}function yt(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),X&&!n&&!t.prefix){let l=!1;return ft(t)&&(t.prefix="",ht(t,(i,c)=>{c&&tn(i,c)&&(l=!0)})),l}const o=t.prefix;if(!ie({provider:n,prefix:o,name:"a"}))return!1;const a=q(n,o);return!!be(a,t)}const kt=Object.freeze({width:null,height:null}),Ct=Object.freeze({...kt,...ae}),on=/(-?[0-9.]*[0-9]+[0-9.]*)/g,nn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Bt(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const a=t.split(on);if(a===null||!a.length)return t;const l=[];let i=a.shift(),c=nn.test(i);for(;;){if(c){const d=parseFloat(i);isNaN(d)?l.push(i):l.push(Math.ceil(d*n*o)/o)}else l.push(i);if(i=a.shift(),i===void 0)return l.join("");c=!c}}function ln(t,n){const o={...se,...t},a={...Ct,...n},l={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,a].forEach(h=>{const y=[],p=h.hFlip,k=h.vFlip;let B=h.rotate;p?k?B+=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 N;switch(B<0&&(B-=Math.floor(B/4)*4),B=B%4,B){case 1:N=l.height/2+l.top,y.unshift("rotate(90 "+N.toString()+" "+N.toString()+")");break;case 2:y.unshift("rotate(180 "+(l.width/2+l.left).toString()+" "+(l.height/2+l.top).toString()+")");break;case 3:N=l.width/2+l.left,y.unshift("rotate(-90 "+N.toString()+" "+N.toString()+")");break}B%2===1&&(l.left!==l.top&&(N=l.left,l.left=l.top,l.top=N),l.width!==l.height&&(N=l.width,l.width=l.height,l.height=N)),y.length&&(i='<g transform="'+y.join(" ")+'">'+i+"</g>")});const c=a.width,d=a.height,s=l.width,r=l.height;let m,u;return c===null?(u=d===null?"1em":d==="auto"?r:d,m=Bt(u,s/r)):(m=c==="auto"?s:c,u=d===null?Bt(m,r/s):d==="auto"?r:d),{attributes:{width:m.toString(),height:u.toString(),viewBox:l.left.toString()+" "+l.top.toString()+" "+s.toString()+" "+r.toString()},body:i}}const an=/\sid="(\S+)"/g,sn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let rn=0;function cn(t,n=sn){const o=[];let a;for(;a=an.exec(t);)o.push(a[1]);return o.length&&o.forEach(l=>{const i=typeof n=="function"?n(l):n+(rn++).toString(),c=l.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+i+"$3")}),t}const we=Object.create(null);function dn(t,n){we[t]=n}function Ne(t){return we[t]||we[""]}function Se(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const Ie=Object.create(null),$=["https://api.simplesvg.com","https://api.unisvg.com"],re=[];for(;$.length>0;)$.length===1||Math.random()>.5?re.push($.shift()):re.push($.pop());Ie[""]=Se({resources:["https://api.iconify.design"].concat(re)});function mn(t,n){const o=Se(n);return o===null?!1:(Ie[t]=o,!0)}function xe(t){return Ie[t]}let _t=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function un(t,n){const o=xe(t);if(!o)return 0;let a;if(!o.maxURL)a=0;else{let l=0;o.resources.forEach(c=>{l=Math.max(l,c.length)});const i=n+".json?icons=";a=o.maxURL-l-o.path.length-i.length}return a}function hn(t){return t===404}const fn=(t,n,o)=>{const a=[],l=un(t,n),i="icons";let c={type:i,provider:t,prefix:n,icons:[]},d=0;return o.forEach((s,r)=>{d+=s.length+1,d>=l&&r>0&&(a.push(c),c={type:i,provider:t,prefix:n,icons:[]},d=s.length),c.icons.push(s)}),a.push(c),a};function pn(t){if(typeof t=="string"){const n=xe(t);if(n)return n.path}return"/"}const gn={prepare:fn,send:(t,n,o)=>{if(!_t){o("abort",424);return}let a=pn(n.provider);switch(n.type){case"icons":{const i=n.prefix,d=n.icons.join(","),s=new URLSearchParams({icons:d});a+=i+".json?"+s.toString();break}case"custom":{const i=n.uri;a+=i.slice(0,1)==="/"?i.slice(1):i;break}default:o("abort",400);return}let l=503;_t(t+a).then(i=>{const c=i.status;if(c!==200){setTimeout(()=>{o(hn(c)?"abort":"next",c)});return}return l=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{o("next",l)});return}setTimeout(()=>{o("success",i)})}).catch(()=>{o("next",l)})}};function yn(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((l,i)=>l.provider!==i.provider?l.provider.localeCompare(i.provider):l.prefix!==i.prefix?l.prefix.localeCompare(i.prefix):l.name.localeCompare(i.name));let a={provider:"",prefix:"",name:""};return t.forEach(l=>{if(a.name===l.name&&a.prefix===l.prefix&&a.provider===l.provider)return;a=l;const i=l.provider,c=l.prefix,d=l.name,s=o[i]||(o[i]=Object.create(null)),r=s[c]||(s[c]=q(i,c));let m;d in r.icons?m=n.loaded:c===""||r.missing.has(d)?m=n.missing:m=n.pending;const u={provider:i,prefix:c,name:d};m.push(u)}),n}function bt(t,n){t.forEach(o=>{const a=o.loaderCallbacks;a&&(o.loaderCallbacks=a.filter(l=>l.id!==n))})}function kn(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const a=t.provider,l=t.prefix;n.forEach(i=>{const c=i.icons,d=c.pending.length;c.pending=c.pending.filter(s=>{if(s.prefix!==l)return!0;const r=s.name;if(t.icons[r])c.loaded.push({provider:a,prefix:l,name:r});else if(t.missing.has(r))c.missing.push({provider:a,prefix:l,name:r});else return o=!0,!0;return!1}),c.pending.length!==d&&(o||bt([t],i.id),i.callback(c.loaded.slice(0),c.missing.slice(0),c.pending.slice(0),i.abort))})}))}let Cn=0;function Bn(t,n,o){const a=Cn++,l=bt.bind(null,o,a);if(!n.pending.length)return l;const i={id:a,icons:n,callback:t,abort:l};return o.forEach(c=>{(c.loaderCallbacks||(c.loaderCallbacks=[])).push(i)}),l}function _n(t,n=!0,o=!1){const a=[];return t.forEach(l=>{const i=typeof l=="string"?le(l,n,o):l;i&&a.push(i)}),a}var bn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function wn(t,n,o,a){const l=t.resources.length,i=t.random?Math.floor(Math.random()*l):t.index;let c;if(t.random){let w=t.resources.slice(0);for(c=[];w.length>1;){const S=Math.floor(Math.random()*w.length);c.push(w[S]),w=w.slice(0,S).concat(w.slice(S+1))}c=c.concat(w)}else c=t.resources.slice(i).concat(t.resources.slice(0,i));const d=Date.now();let s="pending",r=0,m,u=null,f=[],h=[];typeof a=="function"&&h.push(a);function y(){u&&(clearTimeout(u),u=null)}function p(){s==="pending"&&(s="aborted"),y(),f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function k(w,S){S&&(h=[]),typeof w=="function"&&h.push(w)}function B(){return{startTime:d,payload:n,status:s,queriesSent:r,queriesPending:f.length,subscribe:k,abort:p}}function N(){s="failed",h.forEach(w=>{w(void 0,m)})}function V(){f.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),f=[]}function g(w,S,E){const D=S!=="success";switch(f=f.filter(T=>T!==w),s){case"pending":break;case"failed":if(D||!t.dataAfterTimeout)return;break;default:return}if(S==="abort"){m=E,N();return}if(D){m=E,f.length||(c.length?x():N());return}if(y(),V(),!t.random){const T=t.resources.indexOf(w.resource);T!==-1&&T!==t.index&&(t.index=T)}s="completed",h.forEach(T=>{T(E)})}function x(){if(s!=="pending")return;y();const w=c.shift();if(w===void 0){if(f.length){u=setTimeout(()=>{y(),s==="pending"&&(V(),N())},t.timeout);return}N();return}const S={status:"pending",resource:w,callback:(E,D)=>{g(S,E,D)}};f.push(S),r++,u=setTimeout(x,t.rotate),o(w,n,S.callback)}return setTimeout(x),B}function wt(t){const n={...bn,...t};let o=[];function a(){o=o.filter(d=>d().status==="pending")}function l(d,s,r){const m=wn(n,d,s,(u,f)=>{a(),r&&r(u,f)});return o.push(m),m}function i(d){return o.find(s=>d(s))||null}return{query:l,find:i,setIndex:d=>{n.index=d},getIndex:()=>n.index,cleanup:a}}function Nt(){}const Te=Object.create(null);function Nn(t){if(!Te[t]){const n=xe(t);if(!n)return;const o=wt(n),a={config:n,redundancy:o};Te[t]=a}return Te[t]}function Sn(t,n,o){let a,l;if(typeof t=="string"){const i=Ne(t);if(!i)return o(void 0,424),Nt;l=i.send;const c=Nn(t);c&&(a=c.redundancy)}else{const i=Se(t);if(i){a=wt(i);const c=t.resources?t.resources[0]:"",d=Ne(c);d&&(l=d.send)}}return!a||!l?(o(void 0,424),Nt):a.query(n,l,o)().abort}const St="iconify2",v="iconify",It=v+"-count",xt=v+"-version",Tt=36e5,In=168;function Me(t,n){try{return t.getItem(n)}catch{}}function Ve(t,n,o){try{return t.setItem(n,o),!0}catch{}}function Mt(t,n){try{t.removeItem(n)}catch{}}function Ee(t,n){return Ve(t,It,n.toString())}function De(t){return parseInt(Me(t,It))||0}const ce={local:!0,session:!0},Vt={local:new Set,session:new Set};let Oe=!1;function xn(t){Oe=t}let de=typeof window>"u"?{}:window;function Et(t){const n=t+"Storage";try{if(de&&de[n]&&typeof de[n].length=="number")return de[n]}catch{}ce[t]=!1}function Dt(t,n){const o=Et(t);if(!o)return;const a=Me(o,xt);if(a!==St){if(a){const d=De(o);for(let s=0;s<d;s++)Mt(o,v+s.toString())}Ve(o,xt,St),Ee(o,0);return}const l=Math.floor(Date.now()/Tt)-In,i=d=>{const s=v+d.toString(),r=Me(o,s);if(typeof r=="string"){try{const m=JSON.parse(r);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,d))return!0}catch{}Mt(o,s)}};let c=De(o);for(let d=c-1;d>=0;d--)i(d)||(d===c-1?(c--,Ee(o,c)):Vt[t].add(d))}function Ot(){if(!Oe){xn(!0);for(const t in ce)Dt(t,n=>{const o=n.data,a=n.provider,l=o.prefix,i=q(a,l);if(!be(i,o).length)return!1;const c=o.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,c):c,!0})}}function Tn(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const a in ce)Dt(a,l=>{const i=l.data;return l.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===n});return!0}function Mn(t,n){Oe||Ot();function o(a){let l;if(!ce[a]||!(l=Et(a)))return;const i=Vt[a];let c;if(i.size)i.delete(c=Array.from(i).shift());else if(c=De(l),!Ee(l,c+1))return;const d={cached:Math.floor(Date.now()/Tt),provider:t.provider,data:n};return Ve(l,v+c.toString(),JSON.stringify(d))}n.lastModified&&!Tn(t,n.lastModified)||!Object.keys(n.icons).length||(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Lt(){}function Vn(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,kn(t)}))}function En(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:a}=t,l=t.iconsToLoad;delete t.iconsToLoad;let i;if(!l||!(i=Ne(o)))return;i.prepare(o,a,l).forEach(d=>{Sn(o,d,(s,r)=>{if(typeof s!="object"){if(r!==404)return;d.icons.forEach(m=>{t.missing.add(m)})}else try{const m=be(t,s);if(!m.length)return;const u=t.pendingIcons;u&&m.forEach(f=>{u.delete(f)}),Mn(t,s)}catch(m){console.error(m)}Vn(t)})})}))}const Dn=(t,n)=>{const o=_n(t,!0,gt()),a=yn(o);if(!a.pending.length){let s=!0;return n&&setTimeout(()=>{s&&n(a.loaded,a.missing,a.pending,Lt)}),()=>{s=!1}}const l=Object.create(null),i=[];let c,d;return a.pending.forEach(s=>{const{provider:r,prefix:m}=s;if(m===d&&r===c)return;c=r,d=m,i.push(q(r,m));const u=l[r]||(l[r]=Object.create(null));u[m]||(u[m]=[])}),a.pending.forEach(s=>{const{provider:r,prefix:m,name:u}=s,f=q(r,m),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(u)||(h.add(u),l[r][m].push(u))}),i.forEach(s=>{const{provider:r,prefix:m}=s;l[r][m].length&&En(s,l[r][m])}),n?Bn(n,a,i):Lt};function On(t,n){const o={...t};for(const a in n){const l=n[a],i=typeof l;a in kt?(l===null||l&&(i==="string"||i==="number"))&&(o[a]=l):i===typeof o[a]&&(o[a]=a==="rotate"?l%4:l)}return o}const Ln=/[\s,]+/;function jn(t,n){n.split(Ln).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Fn(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function a(l){for(;l<0;)l+=4;return l%4}if(o===""){const l=parseInt(t);return isNaN(l)?0:a(l)}else if(o!==t){let l=0;switch(o){case"%":l=25;break;case"deg":l=90}if(l){let i=parseFloat(t.slice(0,t.length-o.length));return isNaN(i)?0:(i=i/l,i%1===0?a(i):0)}}return n}function Pn(t,n){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const a in n)o+=" "+a+'="'+n[a]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function zn(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function An(t){return'url("data:image/svg+xml,'+zn(t)+'")'}const jt={...Ct,inline:!1},Hn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},qn={display:"inline-block"},Le={backgroundColor:"currentColor"},Ft={backgroundColor:"transparent"},Pt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},zt={webkitMask:Le,mask:Le,background:Ft};for(const t in zt){const n=zt[t];for(const o in Pt)n[t+o]=Pt[o]}const me={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";me[t+"-flip"]=n,me[t.slice(0,1)+"-flip"]=n,me[t+"Flip"]=n});function At(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Ht=(t,n)=>{const o=On(jt,n),a={...Hn},l=n.mode||"svg",i={},c=n.style,d=typeof c=="object"&&!(c instanceof Array)?c:{};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":o[p]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&jn(o,k);break;case"color":i.color=k;break;case"rotate":typeof k=="string"?o[p]=Fn(k):typeof k=="number"&&(o[p]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete a["aria-hidden"];break;default:{const B=me[p];B?(k===!0||k==="true"||k===1)&&(o[B]=!0):jt[p]===void 0&&(a[p]=k)}}}const s=ln(t,o),r=s.attributes;if(o.inline&&(i.verticalAlign="-0.125em"),l==="svg"){a.style={...i,...d},Object.assign(a,r);let p=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),a.innerHTML=cn(s.body,k?()=>k+"ID"+p++:"iconifyVue"),e.h("svg",a)}const{body:m,width:u,height:f}=t,h=l==="mask"||(l==="bg"?!1:m.indexOf("currentColor")!==-1),y=Pn(m,{...r,width:u+"",height:f+""});return a.style={...i,"--svg":An(y),width:At(r.width),height:At(r.height),...qn,...h?Le:Ft,...d},e.h("span",a)};if(gt(!0),dn("",gn),typeof document<"u"&&typeof window<"u"){Ot();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(a=>{try{(typeof a!="object"||a===null||a instanceof Array||typeof a.icons!="object"||typeof a.prefix!="string"||!yt(a))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const a="IconifyProviders["+o+"] is invalid.";try{const l=n[o];if(typeof l!="object"||!l||l.resources===void 0)continue;mn(o,l)||console.error(a)}catch{console.error(a)}}}}const Rn={...se,body:""},Un=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(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=le(t,!1,!0))===null)return this.abortLoading(),null;const a=en(o);if(!a)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",a!==null&&(this._loadingIcon={name:t,abort:Dn([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const l=["iconify"];return o.prefix!==""&&l.push("iconify--"+o.prefix),o.provider!==""&&l.push("iconify--"+o.provider),{data:a,classes:l}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!n)return Ht(Rn,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Ht({...se,...n.data},o)}}),Sh="",b=(t,n)=>{const o=t.__vccOpts||t;for(const[a,l]of n)o[a]=l;return o},Gn={name:"CmdIcon",components:{Icon:Un},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}}},Qn=["title"];function Wn(t,n,o,a,l,i){const c=e.resolveComponent("Icon");return i.isIconify?(e.openBlock(),e.createBlock(c,{key:0,icon:o.iconClass,title:o.tooltip,class:e.normalizeClass(t.$attrs.class)},null,8,["icon","title","class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass([o.iconClass,t.$attrs.class]),title:o.tooltip},null,10,Qn))}const I=b(Gn,[["render",Wn]]),Ih="",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:null}},computed:{getHeadlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},getTextAlign(){return this.textAlign?"text-"+this.textAlign:""}}},Jn={key:1},Yn={class:"pre-headline-text"};function Kn(t,n,o,a,l,i){var d,s,r;const c=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":o.preHeadlineText,"has-icon":(d=o.headlineIcon)==null?void 0:d.iconClass},i.getTextAlign])},[o.headlineIcon?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(s=o.headlineIcon)==null?void 0:s.iconClass,type:(r=o.headlineIcon)==null?void 0:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.preHeadlineText?(e.openBlock(),e.createElementBlock("div",Jn,[e.createElementVNode("span",Yn,e.toDisplayString(o.preHeadlineText),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.getHeadlineTag),null,{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3}))])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.getHeadlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3}))],2)}const M=b(Zn,[["render",Kn]]),F={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(t,...n){if(!t)return"";let o=this.i18n;if(typeof this.i18n=="function"&&(o=this.i18n.call(this,t,n),typeof o!="object"))return o;let a=o[t]||this.getDefaultMessageProperty(t)||t;return typeof a=="function"?a.call(this,n||[]):(Array.isArray(n)&&n.length&&n.forEach((l,i)=>a=a.replace("{"+i+"}",l)),a)},getDefaultMessageProperty(t){var o;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[t])return this.defaultMessageProperties[t];const n=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return n&&((o=this[n])==null?void 0:o[t])?this[n][t]:null}}},Xn={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)"}}}},xh="",$n={name:"CmdAddressData",mixins:[F,Xn],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:{websiteUrlText(){var t;return(t=this.addressData.website)==null?void 0:t.text.replace("https://","")}},methods:{locateAddress(t){return"https://www.google.com/maps/place/"+t.streetNo+", "+t.zip+" "+t.city},vCardClass(t){if(t.name==="company")return"org";if(t.name==="address"){if(t.streetNo)return"street-address";if(t.zip)return"postal-code";if(t.city)return"locality";if(t.country)return"country-name"}return null},getHref(t){return t.name==="telephone"||t.name==="mobilephone"?"tel:"+t.href:t.name==="email"?"mailto:"+t.href:t.name==="website"?t.href:null}}},vn={class:"cmd-address-data vcard"},el={class:"adr"},tl={key:0},ol={key:1},nl=["href","target","title"],ll=["innerHTML"],il={key:1},al=["href","title"],sl={class:"street-address"},rl=e.createElementVNode("br",null,null,-1),cl={key:1,class:"postal-code"},dl={class:"locality"},ml=e.createElementVNode("br",null,null,-1),ul=e.createElementVNode("br",null,null,-1),hl={key:4,class:"country-name"},fl={class:"street-address"},pl=e.createElementVNode("br",null,null,-1),gl={key:1,class:"postal-code"},yl={class:"locality"},kl=e.createElementVNode("br",null,null,-1),Cl=e.createElementVNode("br",null,null,-1),Bl={key:4,class:"country-name"},_l=["href","target","title"],bl=["innerHTML"],wl=["href","title"],Nl={class:"street-address"},Sl=e.createElementVNode("br",null,null,-1),Il={class:"postal-code"},xl={class:"locality"},Tl=e.createElementVNode("br",null,null,-1),Ml=e.createElementVNode("br",null,null,-1),Vl={key:3,class:"country-name"},El={class:"street-address"},Dl=e.createElementVNode("br",null,null,-1),Ol={class:"postal-code"},Ll={class:"locality"},jl=e.createElementVNode("br",null,null,-1),Fl=e.createElementVNode("br",null,null,-1),Pl={key:3,class:"country-name"};function zl(t,n,o,a,l,i){const c=M,d=I,s=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock("div",vn,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",el,[o.showLabels&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock("dl",tl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(r,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[e.createElementVNode("dt",{class:e.normalizeClass({address:r.name==="address"})},[r.iconClass&&o.showLabelIcons?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType,tooltip:r.labelText},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),o.showLabelTexts?(e.openBlock(),e.createElementBlock("span",ol,e.toDisplayString(r.labelText),1)):e.createCommentVNode("",!0)],2),r.name!=="address"&&r.data?(e.openBlock(),e.createElementBlock("dd",{key:0,class:e.normalizeClass(i.vCardClass(r))},[r.href?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:i.getHref(r),target:r.name==="website"?"_blank":null,title:r.tooltip},[e.createTextVNode(e.toDisplayString(r.href),1)],8,nl)),[[s,r.href]]):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.data},null,8,ll))],2)):(e.openBlock(),e.createElementBlock("dd",il,[o.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:i.locateAddress(r),target:"google-maps",title:t.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",sl,e.toDisplayString(r.streetNo),1),rl],64)):e.createCommentVNode("",!0),r.zip?(e.openBlock(),e.createElementBlock("span",cl,e.toDisplayString(r.zip),1)):e.createCommentVNode("",!0),r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",dl,e.toDisplayString(r.city),1),ml],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),ul],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",hl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],8,al)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",fl,e.toDisplayString(r.streetNo),1),pl],64)):e.createCommentVNode("",!0),r.zip?(e.openBlock(),e.createElementBlock("span",gl,e.toDisplayString(r.zip)+"\xA0",1)):e.createCommentVNode("",!0),r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",yl,e.toDisplayString(r.city),1),kl],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Cl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",Bl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64))]))],64))),128))])):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["flex-container",{vertical:!o.showIconsOnly}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(r,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[r.href||r.name==="address"||!o.showIconsOnly?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass({"no-flex":o.showIconsOnly})},[r.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:i.getHref(r),target:{_blank:r.name==="website"},title:r.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(r.href),1)],64))],8,_l)):o.showIconsOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.data},null,8,bl)),r.name==="address"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:i.locateAddress(r),target:"google-maps",title:r.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Nl,e.toDisplayString(r.streetNo),1),Sl],64)):e.createCommentVNode("",!0),r.zip||r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Il,e.toDisplayString(r.zip)+"\xA0",1),e.createElementVNode("span",xl,e.toDisplayString(r.city),1),Tl],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Ml],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",Vl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64))],8,wl)):e.createCommentVNode("",!0),!o.linkGoogleMaps&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",El,e.toDisplayString(r.streetNo),1),Dl],64)):e.createCommentVNode("",!0),r.zip||r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ol,e.toDisplayString(r.zip)+"\xA0",1),e.createElementVNode("span",Ll,e.toDisplayString(r.city),1),jl],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Fl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",Pl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64))),128))],2))])])}const Al=b($n,[["render",zl]]),Th="",Hl={name:"CmdBackToTopButton",data(){var t;return{windowInnerHeight:window.innerHeight,windowScrollY:this.getScrollY(),scrollHeight:((t=document.querySelector(this.scrollContainer))==null?void 0:t.scrollHeight)||0}},props:{scrollContainer:{type:String,default:"body"},iconBackToTop:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Back to top",iconType:"auto"}}}},mounted(){var t;window.addEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(t=document.querySelector(this.scrollContainer))==null||t.addEventListener("scroll",this.onViewportChange)},unmounted(){var t;window.removeEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(t=document.querySelector(this.scrollContainer))==null||t.removeEventListener("scroll",this.onViewportChange)},computed:{show(){return this.windowScrollY>0&&this.windowInnerHeight<this.scrollHeight}},methods:{getScrollY(){var t;return this.scrollContainer==="body"?window.scrollY:((t=document.querySelector(this.scrollContainer))==null?void 0:t.scrollTop)||0},onViewportChange(){var t;this.windowInnerHeight=window.innerHeight,this.windowScrollY=this.getScrollY(),this.scrollHeight=((t=document.querySelector(this.scrollContainer))==null?void 0:t.scrollHeight)||0},onBackToTop(){var t;this.scrollContainer==="body"?window.scrollTo({top:0,left:0,behavior:"smooth"}):(t=document.querySelector(this.scrollContainer))==null||t.scrollTo({top:0,left:0,behavior:"smooth"})}}},ql=["title"];function Rl(t,n,o,a,l,i){const c=I;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.show?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cmd-back-to-top-button",href:"#",title:o.iconBackToTop.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...d)=>i.onBackToTop&&i.onBackToTop(...d),["prevent"]))},[e.createVNode(c,{iconClass:o.iconBackToTop.iconClass,type:o.iconBackToTop.iconType},null,8,["iconClass","type"])],8,ql)):e.createCommentVNode("",!0)]),_:1})}const Ul=b(Hl,[["render",Rl]]),Mh="",Gl={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(t){const n=t.replace(/\s/g,"");navigator.clipboard.writeText(n),alert(n+" was copied to clipboard")}}},Ql={class:"cmd-bank-account-data"},Wl={key:0},Zl=["onClick","title"],Jl={key:1};function Yl(t,n,o,a,l,i){const c=M,d=I;return e.openBlock(),e.createElementBlock("div",Ql,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.accountData,(s,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[e.createElementVNode("dt",null,e.toDisplayString(s.text),1),o.allowCopyByClick&&s.allowCopy?(e.openBlock(),e.createElementBlock("dd",Wl,[e.createElementVNode("span",null,e.toDisplayString(s.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>i.copyToClipboard(s.value),["prevent"]),title:o.iconCopy.tooltip},[e.createVNode(d,{iconClass:o.iconCopy.iconClass,type:o.iconCopy.iconType},null,8,["iconClass","type"])],8,Zl)])):(e.openBlock(),e.createElementBlock("dd",{key:r},e.toDisplayString(s.value),1))],64))),128))]),o.additionalInformation?(e.openBlock(),e.createElementBlock("p",Jl,e.toDisplayString(o.additionalInformation),1)):e.createCommentVNode("",!0)])}const Kl=b(Gl,[["render",Yl]]);function R(t){return t.path?t.path:((t.route==null||typeof t.route!="object"||!t.route.path&&!t.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",t.route),t.route)}const Vh="",Xl={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 t=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(t.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(t.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{getTextAlign(){var t;return(t=this.figcaption)!=null&&t.textAlign?"text-"+this.figcaption.textAlign:""},imageSource(){const t=this.image.src;if(typeof t=="string")return t;const n=this.currentWindowWidth;return t.small&&n<=this.smallMaxWidth?t.small:t.medium&&n<=this.mediumMaxWidth?t.medium:t.large}},methods:{updateWindowWidth(){this.currentWindowWidth=window.innerWidth}}},$l={key:0},vl=["src","alt","title"],ei={key:1};function ti(t,n,o,a,l,i){var c,d,s,r,m,u;return e.openBlock(),e.createElementBlock("figure",{class:e.normalizeClass(["cmd-image",i.getTextAlign])},[((c=o.figcaption)==null?void 0:c.show)&&((d=o.figcaption)==null?void 0:d.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",$l,e.toDisplayString((s=o.figcaption)==null?void 0:s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:i.imageSource,alt:o.image.alt,title:o.image.tooltip},null,8,vl),((r=o.figcaption)==null?void 0:r.show)&&((m=o.figcaption)==null?void 0:m.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",ei,e.toDisplayString((u=o.figcaption)==null?void 0:u.text),1)):e.createCommentVNode("",!0)],2)}const W=b(Xl,[["render",ti]]),Eh="",oi={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"),{})}}},ni=["title"];function li(t,n,o,a,l,i){const c=I;return e.openBlock(),e.createElementBlock("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),class:e.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",o.slideButtonType]),title:i.getDirection.tooltip},[e.createVNode(c,{iconClass:i.getDirection.iconClass||"next"},null,8,["iconClass"])],10,ni)}const ue=b(oi,[["render",li]]),ii={data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image","cmdthumbnailscroller.tooltip.open_url":"Open URL in a new tab","cmdthumbnailscroller.tooltip.open":"Open"}}}},Dh="",ai={name:"CmdThumbnailScroller",emits:["click"],mixins:[F,ii],data(){return{items:[],showSlidebuttons:!0}},props:{fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image"},executeOnClick:{type:String,default:"fancybox"},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},activeItemIndex:{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"}}}}}},mounted(){const t=this.$refs["thumbnail-scroller"],n=t.querySelector(":scope > ul");new ResizeObserver(()=>this.toggleSlideButtons(n)).observe(t)},computed:{getTooltip(){return this.contentType==="image"?this.getMessage("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")}},methods:{toggleSlideButtons(t){this.showSlidebuttons=t.scrollWidth>t.clientWidth},showNextItem(){const t=this.items.shift();t&&this.items.push(t)},showPrevItem(){const t=this.items.pop();t&&this.items.unshift(t)},showFancyBox(t){this.allowOpenFancyBox&&he({fancyBoxGallery:this.items,defaultGalleryIndex:t}),this.emitCurrentItemId(t)},emitCurrentItemId(t){if(this.contentType==="image"){this.$emit("click",this.items[t].image.id);return}this.$emit("click",this.items[t].id)},executeLink(t,n){this.executeOnClick==="emit"?(n.preventDefault(),this.emitCurrentItemId(t)):this.executeOnClick==="fancybox"&&(n.preventDefault(),this.showFancyBox(t))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(t=>{let n;return this.contentType==="image"?(n={image:{...t.image},figcaption:{...t.figcaption}},n.image.srcImageSmall&&(n.image.src=n.image.srcImageSmall)):n={...t},n})},immediate:!0}}},si=["href","onClick","title","target"],ri={key:1};function ci(t,n,o,a,l,i){const c=ue,d=W,s=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":!o.allowOpenFancyBox,"full-width":o.fullWidth,"large-icons":o.largeIcons}]),ref:"thumbnail-scroller"},[e.createElementVNode("div",null,[l.showSlidebuttons?(e.openBlock(),e.createBlock(c,{key:0,onClick:e.withModifiers(i.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass([{active:o.activeItemIndex===m},r.id?"item-"+r.id:""])},[e.createElementVNode("a",{href:o.executeOnClick==="url"?r.url:"#",onClick:u=>i.executeLink(m,u),title:i.getTooltip,target:o.executeOnClick==="url"?"_blank":null},[o.contentType==="image"?(e.openBlock(),e.createBlock(d,{key:0,image:r.image,figcaption:r.figcaption},null,8,["image","figcaption"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",ri,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],64))],8,si)],2))),128))]),_:1}),l.showSlidebuttons?(e.openBlock(),e.createBlock(c,{key:1,onClick:e.withModifiers(i.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):e.createCommentVNode("",!0)])],2)}const qt=b(ai,[["render",ci]]);function Rt(){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const o=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(n==="x"?o:o&3|8).toString(16)})}function Ut(){return"cmd-"+Rt()}const ee={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Ut()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},Oh="",he=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Gt,{...t,show:!0}).mount(n)},Gt=e.defineComponent({name:"CmdFancyBox",mixins:[ee],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.$_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()},computed:{largeGalleryImage(){const t={...this.fancyBoxGallery[this.index].image};return t.src=t.srcImageLarge,t},largeSingleImage(){var n;const t={...((n=this.cmdImage)==null?void 0:n.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t}},methods:{onDialogCancel(t){if(!this.allowEscapeKey){t.preventDefault();return}this.close()},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(t=>t.cloneNode(!0)),this.$nextTick(()=>{this.$el.querySelector(".content").append(...this.fancyBoxElements)}))},async loadContent(t){(await di(t)).startsWith("image/")?this.fancyBoxImageUrl=t:fetch(t).then(o=>o.text()).then(o=>this.fancyBoxContent=o).catch(o=>console.error(`Error loading ${this.url}: ${o}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(t){for(let n=0;n<this.fancyBoxGallery.length;n++)if(this.fancyBoxGallery[n].image.id===t){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){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(t){this.showFancyBox=t},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function di(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const mi=Gt,ui=["aria-label"],hi={class:"flex-container"},fi={key:1,class:"button-wrapper no-flex"},pi=["title"],gi=["title"],yi=["title"],ki={key:0,class:"content"},Ci=["innerHTML"],Bi={key:2,class:"content"},_i={key:3,class:"content"},bi={key:4,class:"content"},wi={key:0,class:"flex-container no-flex"},Ni=["title"],Si={key:1},Ii=["title"],xi={key:1};function Ti(t,n,o,a,l,i){var u,f,h,y,p,k,B,N,V,g,x,w,S,E,D,T,P,j,Q,A,ne,_,Y,Ro,Uo,Go,Qo,Wo,Zo;const c=M,d=I,s=W,r=ue,m=qt;return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("dialog",{ref:"dialog",class:e.normalizeClass(["cmd-fancybox",{"show-overlay":t.showOverlay,image:t.fancyBoxImageUrl||t.fancyBoxGallery,"image-gallery":t.fancyBoxGallery}]),"aria-label":t.ariaLabelText,onCancel:n[5]||(n[5]=(...H)=>t.onDialogCancel&&t.onDialogCancel(...H))},[e.createElementVNode("header",hi,[(u=t.cmdHeadline)!=null&&u.show?(e.openBlock(),e.createBlock(c,{key:0,headlineText:(f=t.cmdHeadline)==null?void 0:f.headlineText,headlineLevel:(h=t.cmdHeadline)==null?void 0:h.headlineLevel,id:t.htmlId},null,8,["headlineText","headlineLevel","id"])):e.createCommentVNode("",!0),((y=t.fancyboxOptions.printButtons)==null?void 0:y.color)||((p=t.fancyboxOptions.printButtons)==null?void 0:p.grayscale)||t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",fi,[t.showPrintButtons&&((k=t.fancyboxOptions.printButtons)==null?void 0:k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(B=t.fancyboxOptions.printButtons.color)==null?void 0:B.tooltip,onClick:n[0]||(n[0]=e.withModifiers(H=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(d,{iconClass:(N=t.fancyboxOptions.printButtons.color)==null?void 0:N.iconClass,type:(V=t.fancyboxOptions.printButtons.color)==null?void 0:V.iconType},null,8,["iconClass","type"])],8,pi)):e.createCommentVNode("",!0),t.showPrintButtons&&((g=t.fancyboxOptions.printButtons)==null?void 0:g.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(x=t.fancyboxOptions.printButtons.grayscale)==null?void 0:x.tooltip,onClick:n[1]||(n[1]=e.withModifiers(H=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(d,{iconClass:(w=t.fancyboxOptions.printButtons.grayscale)==null?void 0:w.iconClass,type:(S=t.fancyboxOptions.printButtons.grayscale)==null?void 0:S.iconType},null,8,["iconClass","type"])],8,gi)):e.createCommentVNode("",!0),t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"button primary",id:"close-dialog",title:t.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:n[2]||(n[2]=e.withModifiers((...H)=>t.close&&t.close(...H),["prevent"]))},[e.createVNode(d,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,yi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||((E=t.cmdImage)==null?void 0:E.image)?(e.openBlock(),e.createElementBlock("div",ki,[e.createVNode(s,{image:t.largeSingleImage,figcaption:(D=t.cmdImage)==null?void 0:D.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,Ci)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",Bi)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",_i,[e.createVNode(r,{onClick:e.withModifiers(t.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(s,{image:t.largeGalleryImage,figcaption:t.fancyBoxGallery[t.index].figcaption},null,8,["image","figcaption"]),e.createVNode(r,{onClick:e.withModifiers(t.showNextItem,["prevent"])},null,8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",bi,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",wi,[(T=t.fancyboxOptions.submitButtons)!=null&&T.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...H)=>t.cancel&&t.cancel(...H)),title:(P=t.fancyboxOptions.submitButtons.cancel)==null?void 0:P.tooltip},[(j=t.fancyboxOptions.submitButtons.cancel)!=null&&j.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Q=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Q.iconClass,type:(A=t.fancyboxOptions.submitButtons.cancel)==null?void 0:A.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(ne=t.fancyboxOptions.submitButtons.cancel)!=null&&ne.buttonText?(e.openBlock(),e.createElementBlock("span",Si,e.toDisplayString((_=t.fancyboxOptions.submitButtons.cancel)==null?void 0:_.buttonText),1)):e.createCommentVNode("",!0)],8,Ni)):e.createCommentVNode("",!0),(Y=t.fancyboxOptions.submitButtons)!=null&&Y.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...H)=>t.confirm&&t.confirm(...H)),title:(Ro=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Ro.tooltip},[(Uo=t.fancyboxOptions.submitButtons.confirm)!=null&&Uo.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Go=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Go.iconClass,type:(Qo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Qo.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(Wo=t.fancyboxOptions.submitButtons.confirm)!=null&&Wo.buttonText?(e.openBlock(),e.createElementBlock("span",xi,e.toDisplayString((Zo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Zo.buttonText),1)):e.createCommentVNode("",!0)],8,Ii)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,activeItemIndex:t.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):e.createCommentVNode("",!0)],42,ui)])}const Mi=b(mi,[["render",Ti]]),Lh="",Vi={name:"CmdListOfLinks",emits:["click"],props:{sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},largeIcons:{type:Boolean,default:!1},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}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{getRoute(t){return R(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),he({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},Ei=["href","target","onClick","title"],Di={key:1},Oi={key:1};function Li(t,n,o,a,l,i){const c=M,d=I,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-list-of-links",{box:o.styleAsBox,horizontal:o.orientation==="horizontal","section-anchors":o.sectionAnchors,"large-icons":o.largeIcons}])},[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container",{"no-gap":!o.useGap},"align-"+o.align,i.setStretchClass])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.links,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===m})},[r.type==="href"||r.type===void 0?(e.openBlock(),e.createElementBlock("a",{key:0,href:r.path,target:r.target,onClick:u=>i.executeLink(r,u),title:r.tooltip&&r.tooltip!==void 0?r.tooltip:void 0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",Di,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],8,Ei)):r.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:i.getRoute(r),title:r.tooltip},{default:e.withCtx(()=>[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",Oi,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0)],2))),128))],2)],2)}const Qt=b(Vi,[["render",Li]]),ji={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"}}}},Fi={props:{globalCurrency:{type:Object,default(){return{symbol:"\u20AC",name:"Euro"}}}}},jh="",je={name:"CmdBox",mixins:[F,ji,Fi],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useDefaultPadding:{type:Boolean,default:!0},repeatHeadlineInBoxBody:{type:Boolean,default:!1},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(t){this.$emit("click",t)}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox)}}},Wt=()=>{e.useCssVars(t=>({"62c8b14e":t.cutoffTextLines}))},Zt=je.setup;je.setup=Zt?(t,n)=>(Wt(),Zt(t,n)):Wt;const Pi=je,zi=["title"],Ai={key:0,class:"box-header"},Hi=["src","alt"],qi={class:"text-wrapper"},Ri={key:1},Ui={key:3,class:"box-footer"},Gi={class:"box-header flex-container vertical"},Qi={key:0},Wi=["src","alt"],Zi={key:1},Ji={key:2,class:"ribbon-new"},Yi={key:3,class:"ribbon-discount"},Ki={class:"box-body"},Xi={key:0},$i={key:1,class:"price"},vi=["title"],ea={key:2},ta={class:"box-header flex-container vertical"},oa={key:0},na=["src","alt"],la={key:0},ia={key:1},aa=["title"],sa={key:0},ra={class:"box-body"},ca={key:0},da={key:1},ma={key:2},ua={key:3,class:"description"},ha={class:"tags"},fa={key:0,class:"box-footer"};function pa(t,n,o,a,l,i){var r,m,u,f,h,y,p,k,B;const c=M,d=I,s=Qt;return o.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-box box content",{open:l.open,collapsible:o.collapsible,"stretch-vertically":o.stretchVertically&&!o.collapsible,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}])},[o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"box-header",title:l.open?o.iconOpen.tooltip:o.iconClosed.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...N)=>i.toggleContentVisibility&&i.toggleContentVisibility(...N),["prevent"]))},[(r=o.useSlots)!=null&&r.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):(m=o.cmdHeadline)!=null&&m.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(d,{iconClass:l.open?o.iconOpen.iconClass:o.iconClosed.iconClass,type:l.open?o.iconOpen.iconType:o.iconClosed.iconType},null,8,["iconClass","type"])],8,zi)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[((u=o.useSlots)==null?void 0:u.includes("header"))||((f=o.cmdHeadline)==null?void 0:f.headlineText)?(e.openBlock(),e.createElementBlock("div",Ai,[(h=o.useSlots)!=null&&h.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):e.createCommentVNode("",!0),(y=o.cmdHeadline)!=null&&y.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],64)),l.open?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["box-body",{"default-padding":o.useDefaultPadding}]),"aria-expanded":"true",role:"article"},[(p=o.useSlots)!=null&&p.includes("body")?e.renderSlot(t.$slots,"body",{key:0},()=>[e.createVNode(e.TransitionGroup,{name:i.toggleTransition},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass({"cutoff-text":o.cutoffTextLines>0,"fade-last-line":o.fadeLastLine&&!l.showCutOffText,"show-text":l.showCutOffText})},e.toDisplayString(o.textBody),3),o.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...N)=>i.toggleCutOffText&&i.toggleCutOffText(...N),["prevent"]))},e.toDisplayString(l.showCutOffText?t.getMessage("cmdbox.contentbox.collapse_text"):t.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])]):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.image?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.image.src,alt:o.image.altText},null,8,Hi)):e.createCommentVNode("",!0),e.createElementVNode("div",qi,[((k=o.cmdHeadline)==null?void 0:k.headlineText)&&o.repeatHeadlineInBoxBody?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("p",Ri,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)])],64))],2)):e.createCommentVNode("",!0),(B=o.useSlots)!=null&&B.includes("footer")?(e.openBlock(),e.createElementBlock("div",Ui,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)],2)):o.boxType==="product"&&o.product?(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["cmd-box box product",{"stretch-vertically":o.stretchVertically,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}]),href:"#",onClick:n[2]||(n[2]=e.withModifiers(N=>i.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",Gi,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Qi,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,Wi),e.createElementVNode("figcaption",null,e.toDisplayString(o.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Zi,e.toDisplayString(o.product.name),1)),o.product.new?(e.openBlock(),e.createElementBlock("div",Ji,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Yi,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Ki,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Xi,e.toDisplayString(t.getMessage("cmdbox.productbox.article_no"))+" "+e.toDisplayString(o.product.articleNumber),1)):e.createCommentVNode("",!0),o.product.price?(e.openBlock(),e.createElementBlock("p",$i,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,vi)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",ea,e.toDisplayString(o.product.description),1)):e.createCommentVNode("",!0)])],2)):o.boxType==="user"&&o.user?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["cmd-box box user",o.profileType,{"stretch-vertically":o.stretchVertically,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}])},[e.createElementVNode("div",ta,[o.user.image?(e.openBlock(),e.createElementBlock("figure",oa,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,na),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",la,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",ia,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,aa),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",sa,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",ra,[o.rowView?(e.openBlock(),e.createElementBlock("p",ca,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",da,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",ma,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",ua,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),e.createElementVNode("ul",ha,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(N,V)=>(e.openBlock(),e.createElementBlock("li",{key:V},e.toDisplayString(N),1))),128))]),o.user.links?(e.openBlock(),e.createElementBlock("div",fa,[e.createVNode(s,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const Jt=b(Pi,[["render",pa]]),Fh="",Fe={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(t,n){return this.allowUserToToggleView&&this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?t===0?this.boxesPerRow:Math.min(this.boxesPerRow,n):this.boxesPerRow.length>t?this.boxesPerRow[t]:n},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(t,n){this.currentOpenBox=n?t:0}},watch:{useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},Yt=()=>{e.useCssVars(t=>({b9ce4c34:t.boxesPerRowLarge,"7c2d73ac":t.boxesPerRowMedium,b8fe989c:t.boxesPerRowSmall}))},Kt=Fe.setup;Fe.setup=Kt?(t,n)=>(Yt(),Kt(t,n)):Yt;const ga=Fe,ya={class:"cmd-box-wrapper"},ka={class:"flex-container headline-wrapper"},Ca={key:1,class:"options-wrapper"},Ba=["title"],_a=["title"];function ba(t,n,o,a,l,i){const c=M,d=I;return e.openBlock(),e.createElementBlock("div",ya,[e.createElementVNode("div",ka,[o.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",Ca,[o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>i.toggleCollapsingBoxes&&i.toggleCollapsingBoxes(...s),["prevent"])),title:l.collapsingBoxesOpen?o.collapseBoxesIcon.tooltip:o.expandBoxesIcon.tooltip},[e.createVNode(d,{iconClass:l.collapsingBoxesOpen?o.expandBoxesIcon.iconClass:o.collapseBoxesIcon.iconClass,type:l.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,Ba)):e.createCommentVNode("",!0),o.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?o.iconRowView.tooltip:o.iconGridView.tooltip},[e.createVNode(d,{iconClass:l.rowView?o.iconGridView.iconClass:o.iconRowView.iconClass,type:l.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,_a)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass([o.useFlexbox?"flex-container":"grid-container-create-columns",{"row-view":l.rowView,"stretch-boxes-vertically":o.stretchBoxesVertically}])},[e.renderSlot(t.$slots,"default",{collapsingBoxesOpen:l.collapsingBoxesOpen,boxToggled:i.boxToggled,currentOpenBox:l.currentOpenBox,rowView:l.rowView})],2)])}const wa=b(ga,[["render",ba]]),Ph="",Na={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return R(t)}}},Sa={class:"cmd-breadcrumbs"},Ia={key:0},xa=["href"],Ta={key:1},Ma={key:1},Va={key:2},Ea={key:1},Da={key:3};function Oa(t,n,o,a,l,i){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",Sa,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",Ia,e.toDisplayString(o.breadcrumbLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.breadcrumbLinks||[],(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Ta,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)],8,xa)):s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:i.getRoute(s)},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Ma,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",Va,[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Ea,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)])),r<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Da,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const La=b(Na,[["render",Oa]]),zh="",ja={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 t=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(t,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onColorSchemeChange(t){this.prefersColorScheme=t.matches?"light":"dark"},observeDom(t){for(let n=0;n<t.length;n++)if(t[n].type==="attributes"){this.toggleColorScheme();break}},getRoute(t){return R(t)},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"}}},Fa={class:"cmd-company-logo"},Pa=["href","title"];function za(t,n,o,a,l,i){var s,r,m,u,f,h;const c=W,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Fa,[((s=o.link)==null?void 0:s.type)==="router"?(e.openBlock(),e.createBlock(d,{key:0,to:(r=o.link)==null?void 0:r.path,title:(m=o.link)==null?void 0:m.tooltip},{default:e.withCtx(()=>[e.createVNode(c,{image:i.image},null,8,["image"])]),_:1},8,["to","title"])):((u=o.link)==null?void 0:u.type)==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:(f=o.link)==null?void 0:f.path,title:(h=o.link)==null?void 0:h.tooltip},[e.createVNode(c,{image:i.image},null,8,["image"])],8,Pa)):(e.openBlock(),e.createBlock(c,{key:2,image:i.image},null,8,["image"]))])}const Xt=b(ja,[["render",za]]),Ah="",Aa={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 t=document.getElementById(this.relatedId);t&&(t.addEventListener("mouseenter",this.showTooltip),document.addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.addEventListener("click",this.toggleTooltipVisibility):t.addEventListener("mouseleave",this.hideTooltip))}},methods:{toggleTooltipVisibility(t){this.getPointerPosition(t),this.tooltipVisibility=!this.tooltipVisibility},showTooltip(t){this.toggleVisibilityByClick||(this.tooltipVisibility=!0),this.getPointerPosition(t)},hideTooltipOnEsc(t){this.allowEscapeKey&&(t.key==="Escape"||t.key==="Esc")&&this.hideTooltip()},hideTooltip(){this.tooltipVisibility=!1},getPointerPosition(t){this.pointerX=t.clientX,this.pointerY=t.clientY}},unmounted(){if(this.relatedId){const t=document.getElementById(this.npm);t&&(t.removeEventListener("mouseenter",this.showTooltip),document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.removeEventListener("click",this.toggleTooltipVisibility):t.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"})}}},Ha={key:0,class:"headline-wrapper"},qa=["title"];function Ra(t,n,o,a,l,i){const c=M,d=I;return l.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",o.status]),ref:"tooltip"},[o.cmdHeadline||o.iconClose.show?(e.openBlock(),e.createElementBlock("div",Ha,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.cmdHeadline.iconClass,preHeadline:o.cmdHeadline.preHeadline,headlineLevel:o.cmdHeadline.headlineLevel,headlineText:o.cmdHeadline.headlineText},null,8,["iconClass","preHeadline","headlineLevel","headlineText"])):e.createCommentVNode("",!0),o.iconClose.show&&o.toggleVisibilityByClick?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>i.hideTooltip&&i.hideTooltip(...s),["prevent"])),title:o.iconClose.tooltip},[e.createVNode(d,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,qa)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const $t=b(Aa,[["render",Ra]]),Ua={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},Hh="",Ga={name:"CmdListOfRequirements",mixins:[F,Ua],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")}}},Qa={class:"cmd-list-of-requirements"},Wa=e.createElementVNode("br",null,null,-1),Za=e.createElementVNode("hr",null,null,-1),Ja=["href","target"],Ya={key:1};function Ka(t,n,o,a,l,i){var s,r,m;const c=M,d=I;return e.openBlock(),e.createElementBlock("div",Qa,[o.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-level":o.cmdHeadline.headlineLevel},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.headlineRequirements),1),o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[Wa,e.createElementVNode("em",null,e.toDisplayString(o.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(o.inputRequirements,(u,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:f},[e.createElementVNode("dt",{"aria-live":"assertive",class:e.normalizeClass(u.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},e.toDisplayString(u.message)+":",3),e.createElementVNode("dd",{class:e.normalizeClass(u.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},[e.createVNode(d,{"aria-live":"assertive",iconClass:u.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconClass:o.iconError.iconClass,type:u.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconType:o.iconError.iconType,title:u.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.tooltip:o.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),o.helplink&&o.helplink.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[Za,o.helplink.url?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.helplink.url,target:o.helplink.target,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"]))},[(s=o.helplink.icon)!=null&&s.iconClass?(e.openBlock(),e.createBlock(d,{key:0,class:e.normalizeClass((r=o.helplink.icon)==null?void 0:r.iconClass),title:(m=o.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),o.helplink.text?(e.openBlock(),e.createElementBlock("span",Ya,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,Ja)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const Xa=b(Ga,[["render",Ka]]),$a={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 va(t,n,o,a,l,i){const c=Xa,d=$t;return e.openBlock(),e.createBlock(d,{ref:"tooltip",class:e.normalizeClass(["box",o.validationStatus]),relatedId:o.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[o.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(c,{key:0,showHeadline:o.cmdListOfRequirements.showHeadline,inputRequirements:o.cmdListOfRequirements.inputRequirements,helplink:o.cmdListOfRequirements.helplink,inputModelValue:o.cmdListOfRequirements.inputModelValue,inputAttributes:o.cmdListOfRequirements.inputAttributes,validationTooltip:o.cmdListOfRequirements.validationTooltip,labelText:o.cmdListOfRequirements.labelText},null,8,["showHeadline","inputRequirements","helplink","inputModelValue","inputAttributes","validationTooltip","labelText"])):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const Pe=b($a,[["render",va]]),es={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"}}}},ze={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[F,{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 t=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const n=Object.hasOwn(this,"required")?this.required:this.$attrs.required;t.push({message:this.getRequirementMessage(),valid(o,a){return!a.required&&!n||o!=null&&String(o).length>0}})}return this.$attrs.minlength&&t.push({message:this.getMessage("cmdfieldvalidation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(n,o){return n.length>=o.minlength}}),[...t,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(t){["password","number","url","email"].includes(this.$attrs.type)&&t.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)}}}},Ae={};function ts(t="defaultSequence"){const n=Ae[t]||0;return Ae[t]=n+1,Ae[t]}const He={data(){return{tooltip:!1,tooltipId:"tooltip-"+ts()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},Rh="",os=["color","date","datetime-local","file","number","range"],ns={inheritAttrs:!1,name:"CmdFormElement",mixins:[F,es,ze,ee,He],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(t){return t==="input"||t==="select"||t==="textarea"||t==="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 t=["name","required","readonly","disabled","autofocus"],n={input:[...t,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...t,"multiple"],textarea:[...t,"placeholder"]},o={};return n[this.element]&&Object.entries(this.$attrs).filter(([a])=>n[this.element].includes(a)).forEach(([a,l])=>o[a]=l),o},buttonAttrs(){var n,o;const t={...this.$attrs};return(n=this.nativeButton.icon)!=null&&n.tooltip&&(t.title=(o=this.nativeButton.icon)==null?void 0:o.tooltip),t},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 t=[];return this.$attrs.type==="email"&&t.push({message:this.getMessage("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),t},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:os.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(t){var o;((o=t.target.closest("form"))==null?void 0:o.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof t.target.checkValidity=="function"&&!t.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(t){this.validateInput(t),this.closeTooltipOnBlur()},onInput(t){this.validateInput(t),this.$emit("update:modelValue",t.target.value)},onChange(t){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",t.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",t.target.value);else if(this.modelValue!==void 0){let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value),this.$emit("update:modelValue",n)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const t=this.$refs.input,n=t.value;t.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),t.setAttribute("type","text"),t.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}}},ls=["for","title"],is={key:0,class:"label-text"},as={key:2},ss=["title","aria-errormessage","id"],rs={key:1,class:"flex-container"},cs=["id","autocomplete","list","value","maxlength"],ds=["title"],ms=["id"],us=["value"],hs=["checked","value","id","disabled","aria-invalid"],fs={key:2},ps={class:"switch-label-wrapper"},gs=["checked","value","id","disabled","aria-invalid"],ys={class:"label-text"},ks={class:"label-text"},Cs={key:0,class:"label-text"},Bs={key:0},_s=["id"],bs=["value","selected"],ws=["id","value","maxlength"],Ns={key:6},Ss={key:7,class:"search-field-wrapper flex-container no-gap"},Is=["id","maxlength","value"],xs=["title"],Ts=["title"],Ms={key:1};function Vs(t,n,o,a,l,i){var s,r,m,u,f,h,y,p,k,B,N,V,g,x,w,S,E,D,T,P,j,Q,A,ne;const c=Pe,d=I;return o.element==="input"||o.element==="select"||o.element==="textarea"?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["cmd-form-element",t.validationStatus,t.$attrs.class,{disabled:t.$attrs.disabled,inline:o.displayLabelInline,checked:i.isChecked,"toggle-switch":o.toggleSwitch,colored:o.colored,on:o.colored&&i.isChecked,off:o.colored&&!i.isChecked,"has-state":t.validationStatus}]),for:t.htmlId,title:t.$attrs.title,ref:"label"},[(o.labelText||t.$slots.labeltext)&&t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?e.withDirectives((e.openBlock(),e.createElementBlock("span",is,[e.createElementVNode("span",null,[o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.labelText),1)],64)):e.renderSlot(t.$slots,"labeltext",{key:1}),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",as,"*")):e.createCommentVNode("",!0)]),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),t.$attrs.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:i.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,ss)):e.createCommentVNode("",!0)],512)),[[e.vShow,o.showLabel]]):e.createCommentVNode("",!0),t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",rs,[o.fieldIconClass?(e.openBlock(),e.createBlock(d,{key:0,class:"place-inside",iconClass:o.fieldIconClass},null,8,["iconClass"])):e.createCommentVNode("",!0),o.element==="input"&&t.$attrs.type!=="search"?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},i.elementAttributes,{id:t.htmlId,class:o.inputClass,onFocus:n[1]||(n[1]=_=>t.tooltip=!0),onBlur:n[2]||(n[2]=(..._)=>i.onBlur&&i.onBlur(..._)),onInput:n[3]||(n[3]=(..._)=>i.onInput&&i.onInput(..._)),onMouseover:n[4]||(n[4]=(..._)=>i.datalistFocus&&i.datalistFocus(..._)),onKeyup:n[5]||(n[5]=(..._)=>t.checkForCapsLock&&t.checkForCapsLock(..._)),onChange:n[6]||(n[6]=_=>t.$emit("change",_)),autocomplete:i.autocomplete,list:o.datalist?o.datalist.id:null,value:o.modelValue,maxlength:i.getMaxLength(),ref:"input"}),null,16,cs)):e.createCommentVNode("",!0),t.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((..._)=>i.showPassword&&i.showPassword(..._),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((..._)=>i.hidePassword&&i.hidePassword(..._),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((..._)=>i.hidePassword&&i.hidePassword(..._),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:o.iconPasswordVisible.tooltip},[e.createVNode(d,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,ds)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.datalist&&o.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:2,id:o.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.datalist.options,(_,Y)=>(e.openBlock(),e.createElementBlock("option",{key:Y,value:_},null,8,us))),128))],8,ms)):o.element==="input"&&(t.$attrs.type==="checkbox"||t.$attrs.type==="radio")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[o.onLabel&&o.offLabel?o.onLabel&&o.offLabel?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",ps,[e.createElementVNode("input",e.mergeProps(i.elementAttributes,{onChange:n[13]||(n[13]=(..._)=>i.onChange&&i.onChange(..._)),onBlur:n[14]||(n[14]=(..._)=>i.onBlur&&i.onBlur(..._)),checked:i.isChecked,value:o.inputValue,class:{inputClass:o.inputClass,validationStatus:t.validationStatus},id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,gs),e.createElementVNode("span",ys,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",ks,e.toDisplayString(o.offLabel),1)]),o.labelText?(e.openBlock(),e.createElementBlock("span",Cs,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Bs,"*")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],64)):e.renderSlot(t.$slots,"default",{key:2}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(i.elementAttributes,{onChange:n[11]||(n[11]=(..._)=>i.onChange&&i.onChange(..._)),onBlur:n[12]||(n[12]=(..._)=>i.onBlur&&i.onBlur(..._)),checked:i.isChecked,value:o.inputValue,class:[o.inputClass,t.validationStatus,i.toggleSwitchIconClass,{"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch}],id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,hs),o.labelText||t.$slots.labeltext?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.labelText),1)],64)):e.renderSlot(t.$slots,"labeltext",{key:1}),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",fs,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0),o.element==="select"?(e.openBlock(),e.createElementBlock("select",e.mergeProps({key:4},i.elementAttributes,{id:t.htmlId,onBlur:n[15]||(n[15]=(..._)=>i.onBlur&&i.onBlur(..._)),onChange:n[16]||(n[16]=_=>t.$emit("update:modelValue",_.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectOptions,(_,Y)=>(e.openBlock(),e.createElementBlock("option",{key:Y,value:_.value,selected:_.value===o.modelValue},e.toDisplayString(_.text),9,bs))),128))],16,_s)):e.createCommentVNode("",!0),o.element==="textarea"?(e.openBlock(),e.createElementBlock("textarea",e.mergeProps({key:5},i.elementAttributes,{id:t.htmlId,value:o.modelValue,maxlength:i.getMaxLength(),onInput:n[17]||(n[17]=(..._)=>i.onInput&&i.onInput(..._)),onFocus:n[18]||(n[18]=_=>t.tooltip=!0),onBlur:n[19]||(n[19]=(..._)=>i.onBlur&&i.onBlur(..._))}),`\r
2
- `,16,ws)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",Ns,e.toDisplayString(i.charactersTextarea),1)):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",Ss,[e.createElementVNode("input",e.mergeProps(i.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(..._)=>i.onInput&&i.onInput(..._)),maxlength:i.getMaxLength(),value:o.modelValue}),null,16,Is),o.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:t.$attrs.disabled}]),title:o.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((..._)=>i.executeSearch&&i.executeSearch(..._),["prevent"]))},[e.createVNode(d,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,xs)):e.createCommentVNode("",!0),(s=o.iconDelete)!=null&&s.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(_=>t.$emit("update:modelValue",""),["prevent"])),title:(r=o.iconDelete)==null?void 0:r.tooltip},[e.createVNode(d,{iconClass:(m=o.iconDelete)==null?void 0:m.iconClass,type:(u=o.iconDelete)==null?void 0:u.iconType},null,8,["iconClass","type"])],8,Ts)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,ls)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},i.buttonAttrs),[((h=(f=o.nativeButton)==null?void 0:f.icon)==null?void 0:h.show)&&(((p=(y=o.nativeButton)==null?void 0:y.icon)==null?void 0:p.position)==="before"||!((B=(k=o.nativeButton)==null?void 0:k.icon)!=null&&B.position))?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(V=(N=o.nativeButton)==null?void 0:N.icon)==null?void 0:V.iconClass,type:(x=(g=o.nativeButton)==null?void 0:g.icon)==null?void 0:x.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((w=o.nativeButton)==null?void 0:w.icon)&&((S=o.nativeButton)==null?void 0:S.text)?(e.openBlock(),e.createElementBlock("span",Ms,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),((D=(E=o.nativeButton)==null?void 0:E.icon)==null?void 0:D.show)&&((P=(T=o.nativeButton)==null?void 0:T.icon)==null?void 0:P.position)==="after"?(e.openBlock(),e.createBlock(d,{key:3,iconClass:(Q=(j=o.nativeButton)==null?void 0:j.icon)==null?void 0:Q.iconClass,type:(ne=(A=o.nativeButton)==null?void 0:A.icon)==null?void 0:ne.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const U=b(ns,[["render",Vs]]),Es={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!"}}}},Uh="",Ds={name:"CmdCookieDisclaimer",mixins:[F,Es],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 o,a;const t=this.modelValue?[...this.modelValue]:[],n=((a=(o=this.cookieOptions)==null?void 0:o.required)==null?void 0:a.cookies)||[];for(let l=0;l<n.length;l++)t.includes(n[l].value)||t.push(n[l].value);return t},set(t){this.$emit("update:modelValue",t)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var a,l,i,c;const t=[],n=(l=(a=this.cookieOptions)==null?void 0:a.required)==null?void 0:l.cookies;if(n)for(let d=0;d<n.length;d++)t.push(n[d].value);const o=(c=(i=this.cookieOptions)==null?void 0:i.optional)==null?void 0:c.cookies;if(o)for(let d=0;d<o.length;d++)t.push(o[d].value);this.$emit("close-cookie-disclaimer",t)},openDataPrivacy(t){t.target.target||(t.preventDefault(),fetch(t.target.href).then(n=>n.text()).then(n=>{this.dataPrivacyContent=n}))}}},Os={class:"cmd-cookie-disclaimer flex-container vertical"},Ls={key:0,class:"flex-container vertical"},js={key:0},Fs={key:1},Ps=["href","target"],zs=["innerHTML"],As=e.createElementVNode("hr",null,null,-1),Hs={key:1,class:"flex-container vertical"},qs={key:0},Rs={key:1},Us=["href","target"],Gs=["innerHTML"],Qs={class:"button-wrapper align-center"};function Ws(t,n,o,a,l,i){const c=M,d=U,s=Jt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var r,m,u;return[e.createElementVNode("div",Os,[((r=o.cmdHeadlineCookieDisclaimer)==null?void 0:r.show)&&((m=o.cmdHeadlineCookieDisclaimer)==null?void 0:m.headlineText)&&((u=o.cmdHeadlineCookieDisclaimer)==null?void 0:u.headlineLevel)?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:o.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"cookie-options",{},()=>{var f,h,y,p,k,B,N,V;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Ls,[(h=o.cmdBoxRequiredCookies)!=null&&h.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(y=o.cmdBoxRequiredCookies)==null?void 0:y.headlineText,"headline-level":(p=o.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(o.cookieOptions.required.cookies||[],(g,x)=>{var w;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(w=o.cmdBoxRequiredCookies)==null?void 0:w.collapsible,key:x},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:i.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=S=>i.acceptedCookies=S),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.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",js,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Fs,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...S)=>i.openDataPrivacy&&i.openDataPrivacy(...S)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Ps)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,zs)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),As,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",Hs,[(B=o.cmdBoxOptionalCookies)!=null&&B.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(N=o.cmdBoxOptionalCookies)==null?void 0:N.headlineText,"headline-level":(V=o.cmdBoxOptionalCookies)==null?void 0:V.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(g,x)=>{var w;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(w=o.cmdBoxOptionalCookies)==null?void 0:w.collapsible,key:x},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:i.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=S=>i.acceptedCookies=S),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.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",qs,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Rs,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...S)=>i.openDataPrivacy&&i.openDataPrivacy(...S)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Us)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Gs)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Qs,[o.buttonLabelAcceptCurrentSettings?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",onClick:n[4]||(n[4]=(...f)=>i.acceptCurrentCookies&&i.acceptCurrentCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptCurrentSettings),1)])):e.createCommentVNode("",!0),o.buttonLabelAcceptAllCookies?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:n[5]||(n[5]=(...f)=>i.acceptAllCookies&&i.acceptAllCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptAllCookies),1)])):e.createCommentVNode("",!0)])])]}),_:3})}const Zs=b(Ds,[["render",Ws]]),Gh="",Js={name:"CmdCopyrightWrapper"},Ys={class:"cmd-copyright-information",role:"contentinfo"},Ks=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function Xs(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Ys,Ks)}const $s=b(Js,[["render",Xs]]),vs={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":"An option is selected","cmdfakeselect.option.options_selected":"{0} options selected"}}}},Wh="",er={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[F,vs,ze,ee,He],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:{},allOptionsSelected:!1}},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"}}},iconDeselectAllOptions:{type:Object,default(){return{iconClass:"icon-cancel",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 t,n;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const o=this.selectData.find(a=>a.value===this.modelValue);if(o)return o.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(t=this.selectData.find(o=>String(o.value)===String(this.modelValue[0])))==null?void 0:t.text;if(this.modelValue.length>1)return this.getMessage("cmdfakeselect.option.options_selected",this.modelValue.length)}else if((n=this.selectData)!=null&&n.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const t=this.selectData.find(n=>n.value===this.modelValue);return{iconClass:t==null?void 0:t.iconClass,tooltip:t==null?void 0:t.tooltip}}return null},optionCountry(){var t,n;return this.type==="country"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},optionColor(){var t,n;return this.type==="color"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.linktext.select_all_options"))}},mounted(){const t=setInterval(()=>{this.$refs.fakeselect&&(clearInterval(t),this.limitWidth())},100)},methods:{toggleAllOptions(){this.validationStatus="success";const t=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let n=0;n<this.selectData.length;n++)t.push(String(this.selectData[n].value));this.$emit("update:modelValue",t)},limitWidth(){if(this.$refs.fakeselect){const t=this.$refs.fakeselect.offsetWidth;this.limitWidthStyle={width:t/100*90+"px"}}},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(t){return this.modelValue.some(n=>n===t||n===String(t))},selectOption(t){this.validationStatus="success",this.$attrs.required!==void 0&&(t||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",t)},optionSelect(t){this.validationStatus="success";let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value&&String(o)!==t.target.value),this.$attrs.required!==void 0&&!n.length&&(this.validationStatus="error"),this.$emit("update:modelValue",n)},closeOptions(){this.showOptions=!1},pathFlag(t){return this.pathFlags+"/flag-"+t+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return this.getMessage("cmdfakeselect.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var t;this.type==="default"&&((t=this.selectData)==null?void 0:t.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},tr=["title","aria-labelledby","aria-required"],or={key:0,class:"label-text"},nr=["id"],lr={key:0},ir=["title","aria-errormessage","id"],ar=["aria-expanded"],sr=["title"],rr=["src","alt"],cr={key:0,role:"listbox"},dr=["aria-selected"],mr=["onClick","title"],ur={key:1},hr=["aria-expanded"],fr=["for"],pr=["value","checked","id"],gr=["onClick"],yr=["src","alt"],kr=["onClick"],Cr={key:0,class:"select-all-options"};function Br(t,n,o,a,l,i){var r,m,u,f;const c=Pe,d=I,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([l.validationStatus,"cmd-fake-select label",{color:o.type==="color","has-state":l.validationStatus&&l.validationStatus!=="none",disabled:t.$attrs.disabled}]),title:t.$attrs.title,role:"listbox","aria-labelledby":t.htmlId,"aria-required":t.$attrs.required!==void 0,ref:"fakeselect"},[o.showLabel?(e.openBlock(),e.createElementBlock("span",or,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",lr,"*")):e.createCommentVNode("",!0)],8,nr),t.useCustomTooltip&&(l.validationStatus===""||l.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:l.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:l.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),t.$attrs.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:t.useCustomTooltip?"":t.getValidationMessage,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,ir)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:l.showOptions}),onClickout:n[5]||(n[5]=(...h)=>i.closeOptions&&i.closeOptions(...h)),"aria-expanded":l.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...h)=>i.toggleOptions&&i.toggleOptions(...h),["prevent"])),onBlur:n[2]||(n[2]=(...h)=>i.onBlur&&i.onBlur(...h)),title:(r=i.optionIcon)==null?void 0:r.tooltip},[o.type==="country"&&i.optionCountry?(e.openBlock(),e.createElementBlock("img",{key:0,src:i.pathFlag(i.optionCountry),alt:i.optionCountry,class:e.normalizeClass(["flag",i.optionCountry])},null,10,rr)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+i.optionColor)},null,4)):e.createCommentVNode("",!0),(m=i.optionIcon)!=null&&m.iconClass?(e.openBlock(),e.createBlock(d,{key:2,type:(u=i.optionIcon)==null?void 0:u.iconType,iconClass:(f=i.optionIcon)==null?void 0:f.iconClass},null,8,["type","iconClass"])):e.createCommentVNode("",!0),i.optionName?(e.openBlock(),e.createElementBlock("span",{key:3,class:"option-name",style:e.normalizeStyle(l.limitWidthStyle)},e.toDisplayString(i.optionName),5)):e.createCommentVNode("",!0),o.iconDropdown?(e.openBlock(),e.createBlock(d,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,sr),o.type==="default"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",cr,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,role:"option","aria-selected":h.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(p=>i.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue}),title:h.tooltip},[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",ur,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0)],10,mr)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:"#",onClick:e.withModifiers(p=>i.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(h.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,dr))),128))])):o.type!=="default"&&o.type!=="content"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":o.type==="checkboxOptions"}),"aria-expanded":l.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y},[o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(y+1),class:e.normalizeClass({active:o.modelValue.includes(`${h.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:h.value,onChange:n[3]||(n[3]=(...p)=>i.optionSelect&&i.optionSelect(...p)),checked:i.compareValues(h.value),id:"option-"+(y+1)},null,40,pr),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,fr)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(p=>i.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:i.pathFlag(h.value),alt:h.text},null,8,yr),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,gr)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(p=>i.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+h.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,kr)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",Cr,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...h)=>i.toggleAllOptions&&i.toggleAllOptions(...h),["prevent"]))},[l.allOptionsSelected?(e.openBlock(),e.createBlock(d,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(d,{key:0,iconClass:o.iconSelectAllOptions.iconClass,type:o.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),e.createElementVNode("span",null,e.toDisplayString(i.selectAllOptionsText),1)])])):e.createCommentVNode("",!0)],10,hr)):o.type==="content"&&l.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,ar)],10,tr)}const vt=b(er,[["render",Br]]),Zh="",_r={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(t){this.useValidation&&(t.preventDefault(),t.target.checkValidity()?(this.errorOccurred=!1,this.$emit("submit",t)):this.errorOccurred=!0)}}},br=["data-use-validation","novalidate"],wr={class:"flex-container"};function Nr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:l.errorOccurred}]),"data-use-validation":o.useValidation,onSubmit:n[0]||(n[0]=(...c)=>i.onSubmit&&i.onSubmit(...c)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",wr,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),e.renderSlot(t.$slots,"default")]),e.renderSlot(t.$slots,"button-row")],64)):e.renderSlot(t.$slots,"default",{key:1})],42,br)}const Sr=b(_r,[["render",Nr]]),Jh="",Ir={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(t){this.options.splice(t,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}}},xr={key:0,class:"cmd-form-filters"},Tr={key:0},Mr={key:1},Vr=["onClick","title"];function Er(t,n,o,a,l,i){const c=I;return l.options.length?(e.openBlock(),e.createElementBlock("ul",xr,[l.options.length>1?(e.openBlock(),e.createElementBlock("li",Tr,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...d)=>i.deleteAllFilters&&i.deleteAllFilters(...d),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.linkDeleteAllFilters.icon.iconClass,title:o.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.linkDeleteAllFilters.text?(e.openBlock(),e.createElementBlock("span",Mr,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.options,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(r=>i.deleteClickedFilter(s),["prevent"]),title:o.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(o.selectedOptionsName(d)),1),e.createVNode(c,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,Vr)]))),128))])):e.createCommentVNode("",!0)}const eo=b(Ir,[["render",Er]]),Yh="",Dr={name:"CmdGoogleMaps",props:{address:{type:Object,required:!0}},computed:{locateAddress(){if(this.address){const t=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return t.searchParams.set("hl","de"),t.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),t.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}}},Or={class:"cmd-google-maps responsive-wrapper"},Lr=["src"];function jr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Or,[e.createElementVNode("iframe",{src:i.locateAddress},null,8,Lr)])}const Fr=b(Dr,[["render",jr]]),Pr={data(){return{defaultMessageProperties:{"cmdimagegallery.tooltip.open_large_image":"Open large image"}}}},Kh="",zr={name:"CmdImageGallery",mixins:[F,Pr],props:{images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},methods:{showFancyBox(t){he({fancyBoxGallery:this.images,defaultGalleryIndex:t})}}},Ar={class:"grid-container-create-columns cmd-image-gallery"},Hr=["onClick","title"];function qr(t,n,o,a,l,i){const c=W;return e.openBlock(),e.createElementBlock("div",Ar,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.images,(d,s)=>(e.openBlock(),e.createElementBlock("a",{key:s,onClick:e.withModifiers(r=>i.showFancyBox(s),["prevent"]),href:"#",title:t.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(c,{image:d.image,figcaption:d.figcaption},null,8,["image","figcaption"])],8,Hr))),128))])}const Rr=b(zr,[["render",qr]]),Xh="",Ur={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(t){this.showLargeImage=!0,this.$nextTick(()=>{const n=window.innerHeight-this.$el.getBoundingClientRect().y-10,o=this.$el.querySelector(".zoom-container");o.style.height=`${n}px`,to(this,t)})},onMouseMove(t){to(this,t)},onMouseOut(){this.showLargeImage=!1}}};function to(t,n){const o=t.$el.querySelector(".zoom-container"),a=o.querySelector("img"),l=t.$el.querySelector(".zoom-overlay"),i=n.target.getBoundingClientRect().width,c=n.target.getBoundingClientRect().height,d=a.getBoundingClientRect().width,s=a.getBoundingClientRect().height,r=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,m=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,u=Math.min(i,o.getBoundingClientRect().width/d*i),f=Math.min(c,o.getBoundingClientRect().height/s*c),h=oo(r-u/2,0,i-u),y=oo(m-f/2,0,c-f),p=-(h*(d/i)),k=-(y*(s/c));l.style.left=`${h}px`,l.style.top=`${y}px`,l.style.width=`${u}px`,l.style.height=`${f}px`,l.style.display="block",a.style.marginLeft=`${p}px`,a.style.marginTop=`${k}px`}function oo(t,n,o){return t<n?n:t>o?o:t}const Gr={class:"cmd-imagezoom flex-container"},Qr=["title"],Wr=["src","alt"],Zr={key:0,class:"zoom-container"},Jr=["src","alt"],Yr={key:1,class:"zoom-overlay"};function Kr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Gr,[e.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:o.imageSmall.tooltip},[e.createElementVNode("img",{src:o.imageSmall.src,alt:o.imageSmall.alt,onMouseover:n[0]||(n[0]=(...c)=>i.onMouseOver&&i.onMouseOver(...c)),onMousemove:n[1]||(n[1]=(...c)=>i.onMouseMove&&i.onMouseMove(...c)),onMouseout:n[2]||(n[2]=(...c)=>i.onMouseOut&&i.onMouseOut(...c))},null,40,Wr)],8,Qr),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Zr,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,Jr)])):e.createCommentVNode("",!0),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Yr)):e.createCommentVNode("",!0)])}const Xr=b(Ur,[["render",Kr]]),$h="",$r={mixins:[ze,ee,He],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 t;if(this.required){if((t=this.inputValue)!=null&&t.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(t){this.$emit("update:modelValue",t)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},vr=["aria-labelledby"],ec={class:"label-text"},tc=["id"],oc={key:0},nc=["title","aria-errormessage","id"],lc=["for"],ic=["type","id","name","value","disabled"],ac={key:1},sc={key:1,class:"flex-container no-flex"};function rc(t,n,o,a,l,i){const c=Pe,d=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-input-group label",t.validationStatus,{inline:o.labelInline,"multiple-switch":o.multipleSwitch,disabled:o.disabled,"toggle-switch":o.toggleSwitch,"has-state":t.validationStatus}]),"aria-labelledby":t.htmlId},[e.withDirectives(e.createElementVNode("span",ec,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",oc,"*")):e.createCommentVNode("",!0)],8,tc),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",showRequirements:t.showRequirements,cmdListOfRequirements:t.listOfRequirements,validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,inputAttributes:t.$attrs,inputModelValue:o.modelValue,helplink:t.helplink,relatedId:t.tooltipId,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):e.createCommentVNode("",!0),o.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:i.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,nc)):e.createCommentVNode("",!0)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",sc,[e.renderSlot(t.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex-container",{"no-flex":!o.stretchHorizontally,"no-gap":o.multipleSwitch}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inputElements,(s,r)=>(e.openBlock(),e.createElementBlock("label",{key:r,for:s.id},[e.withDirectives(e.createElementVNode("input",{type:o.inputTypes,id:s.id,name:s.name,value:s.value,"onUpdate:modelValue":n[1]||(n[1]=m=>i.inputValue=m),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch})},null,10,ic),[[e.vModelDynamic,i.inputValue]]),o.multipleSwitch&&s.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.labelText?(e.openBlock(),e.createElementBlock("span",ac,e.toDisplayString(s.labelText),1)):e.createCommentVNode("",!0)],8,lc))),128))],2))],10,vr)}const cc=b($r,[["render",rc]]),vh="",dc={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(t){this.$emit("update:modelValue",{username:t,password:this.password})}},password:{get(){return this.modelValue.password},set(t){this.$emit("update:modelValue",{username:this.username,password:t})}}},methods:{modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(t){this.$emit("click",t)},getRoute(t){return R(t)},checkValidationStatus(t,n){t!=null&&(n==="username"?this.usernameValidationStatus=t==="success":n==="password"?this.passwordValidationStatus=t==="success":this.emailValidationStatus=t==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},mc={class:"cmd-login-form flex-container"},uc={class:"flex-container"},hc={class:"option-wrapper flex-container"},fc={key:1},pc=["href"],gc={key:1},yc=e.createTextVNode(" /> "),kc={key:1},Cc=["type","disabled"],Bc={key:1},_c={class:"cmd-login-form flex-container"},bc={class:"option-wrapper flex-container"},wc={key:1},Nc=["type","disabled"],Sc={key:1};function Ic(t,n,o,a,l,i){var m,u,f,h,y,p,k;const c=M,d=U,s=I,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",mc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendLoginForm),3),o.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",uc,[e.createVNode(d,{element:"input",type:"text",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:i.username,"onUpdate:modelValue":n[0]||(n[0]=B=>i.username=B),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=B=>i.checkValidationStatus(B,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(d,{element:"input",type:"password",name:o.cmdFormElementPassword.name,id:o.cmdFormElementPassword.id,fieldIconClass:o.cmdFormElementPassword.innerIconClass,modelValue:i.password,"onUpdate:modelValue":n[2]||(n[2]=B=>i.password=B),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=B=>i.checkValidationStatus(B,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",hc,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers(B=>l.sendLogin=!0,["prevent"]))},[((m=o.options.forgotPassword.icon)==null?void 0:m.show)&&((u=o.options.forgotPassword.icon)==null?void 0:u.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.forgotPassword.icon.iconClass,type:o.options.forgotPassword.icon.iconType,title:o.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.forgotPassword.text?(e.openBlock(),e.createElementBlock("span",fc,e.toDisplayString(o.options.forgotPassword.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.options.createAccount&&o.options.createAccount.linkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:o.options.createAccount.path},[((f=o.options.createAccount.icon)==null?void 0:f.show)&&((h=o.options.createAccount.icon)==null?void 0:h.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.createAccount.icon.iconClass,type:o.options.createAccount.icon.iconType,title:o.options.createAccount.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",gc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,pc)):o.options.createAccount&&o.options.createAccount.linkType==="router"?(e.openBlock(),e.createBlock(r,{key:2,to:o.options.createAccount.path},{default:e.withCtx(()=>[o.options.createAccount.icon&&o.options.createAccount.icon.show&&o.options.createAccount.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass(o.options.createAccount.icon.iconClass),type:o.options.createAccount.icon.iconType,title:o.options.createAccount.icon.tooltip},null,8,["class","type","title"])):e.createCommentVNode("",!0),yc,o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",kc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:o.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.login.primary}]),onClick:n[5]||(n[5]=(...B)=>i.onClick&&i.onClick(...B)),disabled:i.buttonLoginDisabled},[o.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.buttons.login.icon.iconClass,type:o.buttons.login.icon.iconType,title:o.buttons.login.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.buttons.login.text?(e.openBlock(),e.createElementBlock("span",Bc,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,Cc)):e.createCommentVNode("",!0)])],512),[[e.vShow,!l.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",_c,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendForgotLoginForm),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(d,{element:"input",type:"email",fieldIconClass:o.cmdFormElementSendLogin.innerIconClass,labelText:o.cmdFormElementSendLogin.labelText,placeholder:o.cmdFormElementSendLogin.placeholder,name:o.cmdFormElementSendLogin.name,required:o.cmdFormElementSendLogin.required,id:o.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=B=>i.checkValidationStatus(B,"email")),modelValue:l.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=B=>l.sendLoginMail=B)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",bc,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(B=>l.sendLogin=!1,["prevent"]))},[o.options.backToLoginForm&&o.options.backToLoginForm.icon&&o.options.backToLoginForm.icon.show&&o.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.backToLoginForm.icon.iconClass,type:o.options.backToLoginForm.icon.iconType,title:o.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.backToLoginForm.text?(e.openBlock(),e.createElementBlock("span",wc,e.toDisplayString(o.options.backToLoginForm.text),1)):e.createCommentVNode("",!0)]),o.buttons.sendLogin.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:0,type:o.buttons.sendLogin.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.sendLogin.primary}]),disabled:i.buttonSendLoginDisabled},[(y=o.buttons.sendLogin.icon)!=null&&y.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(p=o.buttons.sendLogin.icon)==null?void 0:p.iconClass,title:(k=o.buttons.sendLogin.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.buttons.sendLogin.text?(e.openBlock(),e.createElementBlock("span",Sc,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,Nc)):e.createCommentVNode("",!0)])],512),[[e.vShow,l.sendLogin]])],64)}const xc=b(dc,[["render",Ic]]),ef="",Tc={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},emits:["offcanvas"],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}}},offcanvasPosition:{type:String,default:"right"},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(t){t||(this.openEntry=-1),this.openSubentry=-1},executeLink(t,n,o,a){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){t.preventDefault(),a?this.openSubentry=this.openSubentry===o?-1:o:(this.openEntry=this.openEntry===o?-1:o,this.openSubentry=-1);return}(n.path==="#"||n.path==="")&&(t.preventDefault(),this.$emit("click",n.path)),this.showOffcanvas=!1},getRoute(t){return R(t)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}},watch:{showOffcanvas(){this.$emit("offcanvas",{open:this.showOffcanvas})}}},Mc={key:0,class:"close-nav"},Vc=["href","title","target","onClick"],Ec={key:1},Dc={key:1},Oc=["aria-expanded"],Lc=["href","title","target","onClick"],jc={key:1},Fc={key:1},Pc=["aria-expanded"],zc=["href","title","target","onClick"],Ac={key:1},Hc={key:1};function qc(t,n,o,a,l,i){const c=I,d=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":o.persistOnMobile,"show-content-overlay":o.showContentOverlay,"off-canvas-right":o.offcanvasPosition==="right"}]),id:"main-navigation-wrapper"},[e.createElementVNode("nav",null,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-items":o.stretchMainItems})},[l.showOffcanvas?(e.openBlock(),e.createElementBlock("li",Mc,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...s)=>i.closeOffcanvasNavigation&&i.closeOffcanvasNavigation(...s),["prevent"]))},[o.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.closeOffcanvas.iconClass,type:o.closeOffcanvas.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.closeOffcanvas.showText})},e.toDisplayString(o.closeOffcanvas.text),3)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.navigationEntries,(s,r)=>{var m,u,f;return e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:s.active,open:l.openEntry===r,"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:h=>i.executeLink(h,s,r),onMouseover:n[1]||(n[1]=h=>i.closeAllSubentries()),onFocus:n[2]||(n[2]=h=>i.closeAllSubentries())},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Ec,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),(u=s==null?void 0:s.subentries)!=null&&u.length?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Vc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:i.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Dc,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",o.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,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,class:e.normalizeClass({open:l.openSubentry===y})},[h.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:h.path,title:h.tooltip,target:h.target,onClick:p=>i.executeLink(p,h,y,1),onMouseover:n[3]||(n[3]=p=>i.closeAllSubentries(1)),onFocus:n[4]||(n[4]=p=>i.closeAllSubentries(1))},[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",jc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Lc)):e.createCommentVNode("",!0),h.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:i.getRoute(h),title:h.tooltip},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Fc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),h.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":l.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.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:B=>i.executeLink(B,p)},[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Ac,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",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],8,zc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:i.getRoute(p),target:p.target},{default:e.withCtx(()=>[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Hc,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",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","target"])):e.createCommentVNode("",!0)]))),128))],8,Pc)):e.createCommentVNode("",!0)],2))),128))],8,Oc)):e.createCommentVNode("",!0)],2)}),128))],2)]),o.persistOnMobile===!1?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:n[5]||(n[5]=e.withModifiers((...s)=>i.toggleOffcanvasNavigation&&i.toggleOffcanvasNavigation(...s),["prevent"]))},[e.createVNode(c,{iconClass:o.buttonOffcanvas.iconClass,type:o.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.buttonOffcanvas.showText})},e.toDisplayString(o.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const no=b(Tc,[["render",qc]]),tf="",Rc={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(t,n){this.activeLink=n,this.$emit("click",{event:t,index:n,stepPath:this.multisteps[n].path})},getRoute(t){return R(t)}}},Uc={class:"cmd-multistep-form-progress-bar"},Gc=["href","onClick","title"],Qc={key:0,class:"number"},Wc={key:2},Zc={key:0,class:"number"},Jc={key:2},Yc=["type","name","title","formaction","onClick"],Kc={key:0,class:"number"},Xc={key:2};function $c(t,n,o,a,l,i){const c=I,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",Uc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multisteps,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:l.activeLink===r})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,onClick:e.withModifiers(m=>i.clickedStep(m,r),["stop","prevent"]),title:s.tooltip},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Qc,e.toDisplayString(r+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Wc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Gc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:i.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Zc,e.toDisplayString(r+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Jc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.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=>i.clickedStep(m,r),["stop","prevent"])},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Kc,e.toDisplayString(r+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Xc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Yc)):e.createCommentVNode("",!0)],2))),128))])}const vc=b(Rc,[["render",$c]]),of="";function ed(t,n,o,a=!0){function l(i,c){return c&&i<10?"0"+i:i}return(i,c)=>{if(o){let d=i,s=n;return d>12&&(d-=12,s=o),l(d,a)+t+l(c,!0)+s}return l(i,a)+t+l(c,!0)+n}}const td={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 t=[];for(let n=0;n<this.openingHours.length;n++){const o={},a=this.openingHours[n].fromTime.split(/[:.]/),l=this.openingHours[n].tillTime.split(/[:.]/);o.day=this.openingHours[n].day,o.fromTime={hours:parseInt(a[0]),mins:parseInt(a[1])},o.tillTime={hours:parseInt(l[0]),mins:parseInt(l[1])},t.push(o)}return t},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let t=this.currentTime.getDay();t===0?t=6:t-=1;const n=this.openingHoursFormatted[t];if(this.openingHoursFormatted[t]){const o=new Date;o.setHours(n.fromTime.hours,n.fromTime.mins);const a=new Date;if(a.setHours(n.tillTime.hours,n.tillTime.mins),o<=this.currentTime&&this.currentTime<=a)return!1}return!0}},methods:{getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):ed(":"," hrs","",!1)(t.hours,t.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},od={class:"cmd-opening-hours"},nd=["href"],ld={key:3},id={key:0},ad={key:1};function sd(t,n,o,a,l,i){var s,r;const c=M,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",od,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.link&&((s=o.link)==null?void 0:s.path)&&((r=o.link)==null?void 0:r.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.link.path,class:e.normalizeClass({closed:i.isClosed})},e.toDisplayString(i.textOpenClosed),11,nd)):e.createCommentVNode("",!0),o.link.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:o.link.path,class:e.normalizeClass({closed:i.isClosed})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.textOpenClosed),1)]),_:1},8,["to","class"])):e.createCommentVNode("",!0),o.link.type==="button"?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["button",{closed:i.isClosed}])},e.toDisplayString(i.textOpenClosed),3)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({closed:i.isClosed})},e.toDisplayString(i.textOpenClosed),3)),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.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(i.getTime(m.fromTime))+"\u2013"+e.toDisplayString(i.getTime(m.tillTime)),1)],64))),128))]),o.textHolidaysClosed||o.textMiscInfo?(e.openBlock(),e.createElementBlock("div",ld,[o.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",id,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidaysClosed),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",ad,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const rd=b(td,[["render",sd]]),cd={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},nf="",dd={name:"CmdPager",mixins:[F,cd],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(t){return this.linkType!=="href"||this.currentPage===t?null:"#"},showPage(t){this.currentPage=t,this.$emit("click",t)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},md={class:"cmd-pager"},ud=["href","title"],hd={key:0},fd={class:"page-index"},pd={class:"flex-container"},gd=["href","title","onClick"],yd=["href","title"],kd={key:0};function Cd(t,n,o,a,l,i){const c=I;return e.openBlock(),e.createElementBlock("div",md,[e.createElementVNode("a",{href:i.getPreviousHref,class:e.normalizeClass(["page-change",{disabled:l.currentPage===1,button:o.linkType==="button"}]),onClick:n[0]||(n[0]=e.withModifiers((...d)=>i.previousPage&&i.previousPage(...d),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(c,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",hd,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,ud),e.createElementVNode("div",fd,[e.createElementVNode("div",pd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(d,s)=>(e.openBlock(),e.createElementBlock("a",{href:i.getHref(d),class:e.normalizeClass({disabled:l.currentPage===s+1,button:o.linkType==="button"}),title:l.currentPage!==s+1?t.getMessage("cmdpager.tooltip.go_to_page",s+1):t.getMessage("cmdpager.tooltip.not_possible"),key:s,onClick:e.withModifiers(r=>i.showPage(d),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",null,e.toDisplayString(s+1),1)],10,gd))),128))])]),e.createElementVNode("a",{href:i.getNextHref,class:e.normalizeClass(["page-change",{disabled:l.currentPage===i.numberOfPages,button:o.linkType==="button"}]),onClick:n[1]||(n[1]=e.withModifiers((...d)=>i.nextPage&&i.nextPage(...d),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",kd,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,yd)])}const Bd=b(dd,[["render",Cd]]),lf="",_d={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}}},bd=["for"],wd={class:"progressbar"},Nd={key:0},Sd=["id","value"];function Id(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("label",{class:"cmd-progressbar",for:o.id},[e.createElementVNode("span",{class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},e.toDisplayString(o.labelText),3),e.createElementVNode("span",wd,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",Nd,e.toDisplayString(l.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:l.loadingStatus}),null,16,Sd)])],8,bd)}const xd=b(_d,[["render",Id]]),af="",Td={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!"},textAlign:{type:String,default:"left"},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(t=>t.path)}},methods:{getUrl(t){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?t.path+encodeURIComponent(this.page):t.path+encodeURIComponent(location.href):t.path:"#"},preventOnDisabled(t){let n=t.target;n.tagName!=="A"&&(n=n.closest("a")),n.getAttribute("href")==="#"&&t.preventDefault()},tooltip(t){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?t:this.tooltipAcceptDataPrivacy:t}}},Md=["id","href","title"],Vd={key:1};function Ed(t,n,o,a,l,i){const c=M,d=U,s=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons,"align-right":o.align==="right"}])},[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox","toggle-switch":o.cmdFormElement.toggleSwitch,labelText:o.cmdFormElement.labelText,required:o.cmdFormElement.required,modelValue:l.dataPrivacyAccepted,"onUpdate:modelValue":n[0]||(n[0]=r=>l.dataPrivacyAccepted=r)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["button-wrapper no-flex",{"no-gap":!o.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.validNetworks,r=>(e.openBlock(),e.createElementBlock("li",null,[(e.openBlock(),e.createElementBlock("a",{key:r.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!l.dataPrivacyAccepted},{"text-align-right":o.textAlign==="right"}]),id:r.id,href:i.getUrl(r),onClick:n[1]||(n[1]=(...m)=>i.preventOnDisabled&&i.preventOnDisabled(...m)),target:"_blank",title:i.tooltip(r.tooltip)},[r.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.linkText?(e.openBlock(),e.createElementBlock("span",Vd,e.toDisplayString(r.linkText),1)):e.createCommentVNode("",!0)],10,Md))]))),256))],2)],2)}const Dd=b(Td,[["render",Ed]]),sf="",Od={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},Ld={class:"cmd-site-footer"};function jd(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Ld,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const Fd=b(Od,[["render",jd]]),rf="",Pd={name:"CmdSiteHeader",emits:["offcanvas"],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}},methods:{emitOffcanvasStatus(t){this.$emit("offcanvas",t)}}},zd={key:0,class:"top-header"};function Ad(t,n,o,a,l,i){var s,r,m,u,f,h,y,p,k;const c=Xt,d=no;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-site-header",{sticky:o.sticky,"navigation-inline":o.navigationInline,"off-canvas-right":((s=o.cmdMainNavigation)==null?void 0:s.offcanvasPosition)==="right"}]),role:"banner"},[t.$slots.topheader?(e.openBlock(),e.createElementBlock("div",zd,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(r=o.cmdMainNavigation)==null?void 0:r.navigationEntries)==null?void 0:m.length)&&o.navigationInline||t.$slots.navigation}])},[t.$slots.logo||t.$slots.header||t.$slots.navigation?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"logo"),e.renderSlot(t.$slots,"header"),e.renderSlot(t.$slots,"navigation")],64)):e.createCommentVNode("",!0),o.cmdCompanyLogo||((f=(u=o.cmdMainNavigation)==null?void 0:u.navigationEntries)==null?void 0:f.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdCompanyLogo?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),((y=(h=o.cmdMainNavigation)==null?void 0:h.navigationEntries)==null?void 0:y.length)&&o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:i.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),((k=(p=o.cmdMainNavigation)==null?void 0:p.navigationEntries)==null?void 0:k.length)&&!o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:i.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],2)}const Hd=b(Pd,[["render",Ad]]),qd={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"}}}},cf="",Rd={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[F,qd],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(t){this.$emit("update:modelValueInput1",t)}},searchValue2:{get(){return this.modelValueInput2},set(t){this.$emit("update:modelValueInput2",t)}},radius:{get(){return this.modelValueRadius},set(t){this.$emit("update:modelValueRadius",t)}},searchFilters:{get(){return this.modelValueSearchFilters},set(t){this.$emit("update:modelValueSearchFilters",t)}},buttonSearchDisabled(){const t=!this.cmdFormElementInput1.required||this.searchValue1.trim(),n=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),o=!this.cmdFormElementRadius.show||!this.cmdFormElementRadius.required||this.radius;return!(t&&n&&o)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(t){for(let n=0;n<this.cmdFakeSelect.selectData.length;n++)if(t===this.cmdFakeSelect.selectData[n].value)return this.cmdFakeSelect.selectData[n].text;return null}},watch:{cmdFormElementRadius:{handler(){var t,n;((t=this.cmdFormElementRadius)==null?void 0:t.selectOptions)&&((n=this.cmdFormElementRadius)==null?void 0:n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},Ud={class:"cmd-box-site-search flex-container"},Gd={class:"flex-container align-bottom"},Qd={class:"input-wrapper align-bottom"},Wd={key:0},Zd={key:1},Jd={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Yd(t,n,o,a,l,i){var u,f,h,y,p,k,B,N,V,g;const c=M,d=U,s=I,r=vt,m=eo;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Ud,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",Gd,[e.createVNode(d,{element:"input",type:o.cmdFormElementInput1.type,"show-label":o.cmdFormElementInput1.showLabel,labelText:o.cmdFormElementInput1.labelText,placeholder:o.cmdFormElementInput1.placeholder,required:o.cmdFormElementInput1.required,showSearchButton:o.cmdFormElementInput1.showSearchButton,modelValue:i.searchValue1,"onUpdate:modelValue":n[0]||(n[0]=x=>i.searchValue1=x)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Qd,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(d,{key:0,element:"input",type:o.cmdFormElementInput2.type,"show-label":o.cmdFormElementInput2.showLabel,labelText:o.cmdFormElementInput2.labelText,placeholder:o.cmdFormElementInput2.placeholder,required:o.cmdFormElementInput2.required,modelValue:i.searchValue2,"onUpdate:modelValue":n[1]||(n[1]=x=>i.searchValue2=x)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),o.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(d,{key:1,element:"select",class:"no-flex",modelValue:i.radius,"onUpdate:modelValue":n[2]||(n[2]=x=>i.radius=x),"show-label":o.cmdFormElementRadius.showLabel,labelText:o.cmdFormElementRadius.labelText,"select-options":o.cmdFormElementRadius.selectOptions,required:o.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(d,{element:"button",class:"stretch-on-small-devices",nativeButton:o.cmdFormElementSearchButton,onClick:i.onSearchButtonClick,disabled:i.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),(u=o.cmdFakeSelect)!=null&&u.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(x=>l.showFilters=!l.showFilters,["prevent"]))},[e.createVNode(s,{iconClass:l.showFilters?(h=(f=o.cmdIcon)==null?void 0:f.showFilters)==null?void 0:h.iconClass:(p=(y=o.cmdIcon)==null?void 0:y.hideFilters)==null?void 0:p.iconClass,type:l.showFilters?(B=(k=o.cmdIcon)==null?void 0:k.showFilters)==null?void 0:B.iconType:(V=(N=o.cmdIcon)==null?void 0:N.hideFilters)==null?void 0:V.iconType},null,8,["iconClass","type"]),l.showFilters?(e.openBlock(),e.createElementBlock("span",Wd,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Zd,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var x,w,S,E,D;return[l.showFilters&&((x=o.cmdFakeSelect)==null?void 0:x.selectData.length)?(e.openBlock(),e.createElementBlock("div",Jd,[e.createVNode(r,{role:"option",selectData:(w=o.cmdFakeSelect)==null?void 0:w.selectData,modelValue:i.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=T=>i.searchFilters=T),defaultOptionName:(S=o.cmdFakeSelect)==null?void 0:S.defaultOptionName,type:(E=o.cmdFakeSelect)==null?void 0:E.type,labelText:(D=o.cmdFakeSelect)==null?void 0:D.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),(g=o.cmdFakeSelect)!=null&&g.show?(e.openBlock(),e.createBlock(m,{key:0,modelValue:i.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=x=>i.searchFilters=x),selectedOptionsName:i.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const Kd=b(Rd,[["render",Yd]]),df="",Xd={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(t){t>=0&&t<this.slideshowItems.length&&(this.index=t)},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}}},$d=["href","title"],vd={key:0},em=["onClick","aria-label"],tm={key:1};function om(t,n,o,a,l,i){const c=ue,d=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(c,{onClick:e.withModifiers(i.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"fade"},{default:e.withCtx(()=>{var s,r,m,u,f,h,y,p,k,B;return[i.currentItem?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"image-wrapper",key:l.index,style:e.normalizeStyle("background-image: url("+i.currentItem.image.srcLarge+")")},[e.renderSlot(t.$slots,"item"+l.currentSlotItem)],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(r=(s=i.currentItem)==null?void 0:s.link)!=null&&r.href?(e.openBlock(),e.createElementBlock("a",{href:(u=(m=i.currentItem)==null?void 0:m.link)==null?void 0:u.href,title:(h=(f=i.currentItem)==null?void 0:f.link)==null?void 0:h.tooltip,key:l.index},[e.createVNode(d,{image:(y=i.currentItem)==null?void 0:y.image,figcaption:(p=i.currentItem)==null?void 0:p.figcaption},null,8,["image","figcaption"])],8,$d)):(e.openBlock(),e.createBlock(d,{image:(k=i.currentItem)==null?void 0:k.image,figcaption:(B=i.currentItem)==null?void 0:B.figcaption,key:l.index},null,8,["image","figcaption"]))],64))],64)):e.createCommentVNode("",!0)]}),_:3}),e.createVNode(c,{onClick:e.withModifiers(i.showNextItem,["prevent"])},null,8,["onClick"]),o.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",vd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.slideshowItems,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:r===l.index})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.index=r,["prevent"]),"aria-label":l.index},null,8,em)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",tm,e.toDisplayString(l.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const nm=b(Xd,[["render",om]]),lm=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"})),pf="",im={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return R(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(lm[n].default)})},immediate:!0,deep:!0}}},am={class:"cmd-switch-language"},sm=["href","title","onClick"],rm=["src","alt"],cm=["src","alt"];function dm(t,n,o,a,l,i){const c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",am,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[d.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.link.path,class:e.normalizeClass(["flag",d.iso2,{active:i.activeLanguage(d)}]),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},[e.createElementVNode("img",{src:l.imageSources[s],alt:d.name},null,8,rm)],10,sm)):(e.openBlock(),e.createBlock(c,{key:1,class:e.normalizeClass(["flag",d.iso2]),to:i.getRoute(d),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:l.imageSources[s],alt:d.name},null,8,cm)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const mm=b(im,[["render",dm]]),gf="",um={name:"CmdSystemMessage",mixins:[ee],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}}},hm=["role","aria-labelledby"],fm=["title"];function pm(t,n,o,a,l,i){const c=I,d=M;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":o.fullWidth},o.validationStatus]),role:o.validationStatus==="error"?"alert":"dialog","aria-labelledby":t.htmlId},[o.iconClose.show&&o.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>l.showSystemMessage=!1,["prevent"])),title:o.iconClose.tooltip},[e.createVNode(c,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,fm)):e.createCommentVNode("",!0),e.createVNode(d,{class:"message-headline",headlineIcon:i.headlineIcon,headlineText:o.systemMessage,headlineLevel:o.messageHeadlineLevel,id:t.htmlId},null,8,["headlineIcon","headlineText","headlineLevel","id"]),e.renderSlot(t.$slots,"default")],10,hm)):e.createCommentVNode("",!0)]),_:3})}const lo=b(um,[["render",pm]]),yf="",gm={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 t,n;return this.hideCaption?!1:((t=this.tableData.caption)==null?void 0:t.text)||((n=this.caption)==null?void 0:n.text)},hideCaption(){var t,n,o;return((t=this.caption)==null?void 0:t.show)===!1||((n=this.caption)==null?void 0:n.show)!==!0&&!((o=this.tableData.caption)!=null&&o.show)}}},ym={key:0,class:"button-wrapper"},km=["title"],Cm=["title"],Bm={class:"inner-wrapper"},_m={"aria-expanded":"true"},bm={key:0,"aria-expanded":"true"};function wm(t,n,o,a,l,i){var d,s,r,m;const c=I;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!l.showTableData,"full-width":l.fullWidth,"has-caption":i.hasCaption}])},[o.collapsible||o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",ym,[o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(u=>l.fullWidth=!l.fullWidth,["prevent"])),title:o.iconToggleWidth.tooltip},[e.createVNode(c,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,km)):e.createCommentVNode("",!0),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(u=>l.showTableData=!l.showTableData,["prevent"])),title:l.showTableData?o.iconCollapse.tooltip:o.iconExpand.tooltip},[e.createVNode(c,{iconClass:l.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:l.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,Cm)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Bm,[e.createElementVNode("table",{class:e.normalizeClass({"full-width":l.fullWidth})},[((d=o.tableData.caption)==null?void 0:d.text)||((s=o.caption)==null?void 0:s.text)?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:i.hideCaption})},e.toDisplayString(((r=o.caption)==null?void 0:r.text)||((m=o.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(o.tableData.thead,(u,f)=>(e.openBlock(),e.createElementBlock("th",{key:f},e.toDisplayString(u),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",_m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(u,f)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({highlighted:o.tableData.rowIndexHighlighted===f}),key:f},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u,(h,y)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:o.tableData.columnIndexHighlighted===y}),key:y},e.toDisplayString(h),3))),128))],2))),128))],512),[[e.vShow,l.showTableData]])]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.tableData.tfoot&&o.tableData.tfoot.length&&l.showTableData?(e.openBlock(),e.createElementBlock("tfoot",bm,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(u,f)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({highlighted:o.tableData.columnIndexHighlighted===f}),key:f},e.toDisplayString(u),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2)])],2)}const Nm=b(gm,[["render",wm]]),Sm={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";const X=/^[a-z0-9]+(-[a-z0-9]+)*$/,le=(t,n,o,a="")=>{const i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;a=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const d=i.pop(),s=i.pop(),r={provider:i.length>0?i[0]:a,prefix:s,name:d};return n&&!ie(r)?null:r}const l=i[0],c=l.split("-");if(c.length>1){const d={provider:a,prefix:c.shift(),name:c.join("-")};return n&&!ie(d)?null:d}if(o&&a===""){const d={provider:a,prefix:"",name:l};return n&&!ie(d,o)?null:d}return null},ie=(t,n)=>t?!!((t.provider===""||t.provider.match(X))&&(n&&t.prefix===""||t.prefix.match(X))&&t.name.match(X)):!1,mt=Object.freeze({left:0,top:0,width:16,height:16}),ae=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),se=Object.freeze({...mt,...ae}),Be=Object.freeze({...se,body:"",hidden:!1});function Yo(t,n){const o={};!t.hFlip!=!n.hFlip&&(o.hFlip=!0),!t.vFlip!=!n.vFlip&&(o.vFlip=!0);const a=((t.rotate||0)+(n.rotate||0))%4;return a&&(o.rotate=a),o}function ut(t,n){const o=Yo(t,n);for(const a in Be)a in ae?a in t&&!(a in o)&&(o[a]=ae[a]):a in n?o[a]=n[a]:a in t&&(o[a]=t[a]);return o}function Ko(t,n){const o=t.icons,a=t.aliases||{},i=Object.create(null);function l(c){if(o[c])return i[c]=[];if(!(c in i)){i[c]=null;const d=a[c]&&a[c].parent,s=d&&l(d);s&&(i[c]=[d].concat(s))}return i[c]}return(n||Object.keys(o).concat(Object.keys(a))).forEach(l),i}function Xo(t,n,o){const a=t.icons,i=t.aliases||{};let l={};function c(d){l=ut(a[d]||i[d],l)}return c(n),o.forEach(c),ut(t,l)}function ht(t,n){const o=[];if(typeof t!="object"||typeof t.icons!="object")return o;t.not_found instanceof Array&&t.not_found.forEach(i=>{n(i,null),o.push(i)});const a=Ko(t);for(const i in a){const l=a[i];l&&(n(i,Xo(t,i,l)),o.push(i))}return o}const $o={provider:"",aliases:{},not_found:{},...mt};function be(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function ft(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!be(t,$o))return null;const o=n.icons;for(const i in o){const l=o[i];if(!i.match(X)||typeof l.body!="string"||!be(l,Be))return null}const a=n.aliases||{};for(const i in a){const l=a[i],c=l.parent;if(!i.match(X)||typeof c!="string"||!o[c]&&!a[c]||!be(l,Be))return null}return n}const pt=Object.create(null);function vo(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function R(t,n){const o=pt[t]||(pt[t]=Object.create(null));return o[n]||(o[n]=vo(t,n))}function _e(t,n){return ft(n)?ht(n,(o,a)=>{a?t.icons[o]=a:t.missing.add(o)}):[]}function en(t,n,o){try{if(typeof o.body=="string")return t.icons[n]={...o},!0}catch{}return!1}let $=!1;function gt(t){return typeof t=="boolean"&&($=t),$}function tn(t){const n=typeof t=="string"?le(t,!0,$):t;if(n){const o=R(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function on(t,n){const o=le(t,!0,$);if(!o)return!1;const a=R(o.provider,o.prefix);return en(a,o.name,n)}function yt(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),$&&!n&&!t.prefix){let i=!1;return ft(t)&&(t.prefix="",ht(t,(l,c)=>{c&&on(l,c)&&(i=!0)})),i}const o=t.prefix;if(!ie({provider:n,prefix:o,name:"a"}))return!1;const a=R(n,o);return!!_e(a,t)}const kt=Object.freeze({width:null,height:null}),Ct=Object.freeze({...kt,...ae}),nn=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ln=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Bt(t,n,o){if(n===1)return t;if(o=o||100,typeof t=="number")return Math.ceil(t*n*o)/o;if(typeof t!="string")return t;const a=t.split(nn);if(a===null||!a.length)return t;const i=[];let l=a.shift(),c=ln.test(l);for(;;){if(c){const d=parseFloat(l);isNaN(d)?i.push(l):i.push(Math.ceil(d*n*o)/o)}else i.push(l);if(l=a.shift(),l===void 0)return i.join("");c=!c}}function an(t,n){const o={...se,...t},a={...Ct,...n},i={left:o.left,top:o.top,width:o.width,height:o.height};let l=o.body;[o,a].forEach(h=>{const y=[],p=h.hFlip,k=h.vFlip;let C=h.rotate;p?k?C+=2:(y.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),y.push("scale(-1 1)"),i.top=i.left=0):k&&(y.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),y.push("scale(1 -1)"),i.top=i.left=0);let b;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:b=i.height/2+i.top,y.unshift("rotate(90 "+b.toString()+" "+b.toString()+")");break;case 2:y.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:b=i.width/2+i.left,y.unshift("rotate(-90 "+b.toString()+" "+b.toString()+")");break}C%2===1&&(i.left!==i.top&&(b=i.left,i.left=i.top,i.top=b),i.width!==i.height&&(b=i.width,i.width=i.height,i.height=b)),y.length&&(l='<g transform="'+y.join(" ")+'">'+l+"</g>")});const c=a.width,d=a.height,s=i.width,r=i.height;let m,u;return c===null?(u=d===null?"1em":d==="auto"?r:d,m=Bt(u,s/r)):(m=c==="auto"?s:c,u=d===null?Bt(m,r/s):d==="auto"?r:d),{attributes:{width:m.toString(),height:u.toString(),viewBox:i.left.toString()+" "+i.top.toString()+" "+s.toString()+" "+r.toString()},body:l}}const sn=/\sid="(\S+)"/g,rn="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let cn=0;function dn(t,n=rn){const o=[];let a;for(;a=sn.exec(t);)o.push(a[1]);return o.length&&o.forEach(i=>{const l=typeof n=="function"?n(i):n+(cn++).toString(),c=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+c+')([")]|\\.[a-z])',"g"),"$1"+l+"$3")}),t}const we=Object.create(null);function mn(t,n){we[t]=n}function Se(t){return we[t]||we[""]}function Ne(t){let n;if(typeof t.resources=="string")n=[t.resources];else if(n=t.resources,!(n instanceof Array)||!n.length)return null;return{resources:n,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const xe=Object.create(null),v=["https://api.simplesvg.com","https://api.unisvg.com"],re=[];for(;v.length>0;)v.length===1||Math.random()>.5?re.push(v.shift()):re.push(v.pop());xe[""]=Ne({resources:["https://api.iconify.design"].concat(re)});function un(t,n){const o=Ne(n);return o===null?!1:(xe[t]=o,!0)}function Ie(t){return xe[t]}let bt=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function hn(t,n){const o=Ie(t);if(!o)return 0;let a;if(!o.maxURL)a=0;else{let i=0;o.resources.forEach(c=>{i=Math.max(i,c.length)});const l=n+".json?icons=";a=o.maxURL-i-o.path.length-l.length}return a}function fn(t){return t===404}const pn=(t,n,o)=>{const a=[],i=hn(t,n),l="icons";let c={type:l,provider:t,prefix:n,icons:[]},d=0;return o.forEach((s,r)=>{d+=s.length+1,d>=i&&r>0&&(a.push(c),c={type:l,provider:t,prefix:n,icons:[]},d=s.length),c.icons.push(s)}),a.push(c),a};function gn(t){if(typeof t=="string"){const n=Ie(t);if(n)return n.path}return"/"}const yn={prepare:pn,send:(t,n,o)=>{if(!bt){o("abort",424);return}let a=gn(n.provider);switch(n.type){case"icons":{const l=n.prefix,d=n.icons.join(","),s=new URLSearchParams({icons:d});a+=l+".json?"+s.toString();break}case"custom":{const l=n.uri;a+=l.slice(0,1)==="/"?l.slice(1):l;break}default:o("abort",400);return}let i=503;bt(t+a).then(l=>{const c=l.status;if(c!==200){setTimeout(()=>{o(fn(c)?"abort":"next",c)});return}return i=501,l.json()}).then(l=>{if(typeof l!="object"||l===null){setTimeout(()=>{o("next",i)});return}setTimeout(()=>{o("success",l)})}).catch(()=>{o("next",i)})}};function kn(t){const n={loaded:[],missing:[],pending:[]},o=Object.create(null);t.sort((i,l)=>i.provider!==l.provider?i.provider.localeCompare(l.provider):i.prefix!==l.prefix?i.prefix.localeCompare(l.prefix):i.name.localeCompare(l.name));let a={provider:"",prefix:"",name:""};return t.forEach(i=>{if(a.name===i.name&&a.prefix===i.prefix&&a.provider===i.provider)return;a=i;const l=i.provider,c=i.prefix,d=i.name,s=o[l]||(o[l]=Object.create(null)),r=s[c]||(s[c]=R(l,c));let m;d in r.icons?m=n.loaded:c===""||r.missing.has(d)?m=n.missing:m=n.pending;const u={provider:l,prefix:c,name:d};m.push(u)}),n}function _t(t,n){t.forEach(o=>{const a=o.loaderCallbacks;a&&(o.loaderCallbacks=a.filter(i=>i.id!==n))})}function Cn(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const n=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!n.length)return;let o=!1;const a=t.provider,i=t.prefix;n.forEach(l=>{const c=l.icons,d=c.pending.length;c.pending=c.pending.filter(s=>{if(s.prefix!==i)return!0;const r=s.name;if(t.icons[r])c.loaded.push({provider:a,prefix:i,name:r});else if(t.missing.has(r))c.missing.push({provider:a,prefix:i,name:r});else return o=!0,!0;return!1}),c.pending.length!==d&&(o||_t([t],l.id),l.callback(c.loaded.slice(0),c.missing.slice(0),c.pending.slice(0),l.abort))})}))}let Bn=0;function bn(t,n,o){const a=Bn++,i=_t.bind(null,o,a);if(!n.pending.length)return i;const l={id:a,icons:n,callback:t,abort:i};return o.forEach(c=>{(c.loaderCallbacks||(c.loaderCallbacks=[])).push(l)}),i}function _n(t,n=!0,o=!1){const a=[];return t.forEach(i=>{const l=typeof i=="string"?le(i,n,o):i;l&&a.push(l)}),a}var wn={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Sn(t,n,o,a){const i=t.resources.length,l=t.random?Math.floor(Math.random()*i):t.index;let c;if(t.random){let S=t.resources.slice(0);for(c=[];S.length>1;){const N=Math.floor(Math.random()*S.length);c.push(S[N]),S=S.slice(0,N).concat(S.slice(N+1))}c=c.concat(S)}else c=t.resources.slice(l).concat(t.resources.slice(0,l));const d=Date.now();let s="pending",r=0,m,u=null,f=[],h=[];typeof a=="function"&&h.push(a);function y(){u&&(clearTimeout(u),u=null)}function p(){s==="pending"&&(s="aborted"),y(),f.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),f=[]}function k(S,N){N&&(h=[]),typeof S=="function"&&h.push(S)}function C(){return{startTime:d,payload:n,status:s,queriesSent:r,queriesPending:f.length,subscribe:k,abort:p}}function b(){s="failed",h.forEach(S=>{S(void 0,m)})}function V(){f.forEach(S=>{S.status==="pending"&&(S.status="aborted")}),f=[]}function g(S,N,E){const D=N!=="success";switch(f=f.filter(T=>T!==S),s){case"pending":break;case"failed":if(D||!t.dataAfterTimeout)return;break;default:return}if(N==="abort"){m=E,b();return}if(D){m=E,f.length||(c.length?I():b());return}if(y(),V(),!t.random){const T=t.resources.indexOf(S.resource);T!==-1&&T!==t.index&&(t.index=T)}s="completed",h.forEach(T=>{T(E)})}function I(){if(s!=="pending")return;y();const S=c.shift();if(S===void 0){if(f.length){u=setTimeout(()=>{y(),s==="pending"&&(V(),b())},t.timeout);return}b();return}const N={status:"pending",resource:S,callback:(E,D)=>{g(N,E,D)}};f.push(N),r++,u=setTimeout(I,t.rotate),o(S,n,N.callback)}return setTimeout(I),C}function wt(t){const n={...wn,...t};let o=[];function a(){o=o.filter(d=>d().status==="pending")}function i(d,s,r){const m=Sn(n,d,s,(u,f)=>{a(),r&&r(u,f)});return o.push(m),m}function l(d){return o.find(s=>d(s))||null}return{query:i,find:l,setIndex:d=>{n.index=d},getIndex:()=>n.index,cleanup:a}}function St(){}const Te=Object.create(null);function Nn(t){if(!Te[t]){const n=Ie(t);if(!n)return;const o=wt(n),a={config:n,redundancy:o};Te[t]=a}return Te[t]}function xn(t,n,o){let a,i;if(typeof t=="string"){const l=Se(t);if(!l)return o(void 0,424),St;i=l.send;const c=Nn(t);c&&(a=c.redundancy)}else{const l=Ne(t);if(l){a=wt(l);const c=t.resources?t.resources[0]:"",d=Se(c);d&&(i=d.send)}}return!a||!i?(o(void 0,424),St):a.query(n,i,o)().abort}const Nt="iconify2",ee="iconify",xt=ee+"-count",It=ee+"-version",Tt=36e5,In=168;function Me(t,n){try{return t.getItem(n)}catch{}}function Ve(t,n,o){try{return t.setItem(n,o),!0}catch{}}function Mt(t,n){try{t.removeItem(n)}catch{}}function Ee(t,n){return Ve(t,xt,n.toString())}function De(t){return parseInt(Me(t,xt))||0}const ce={local:!0,session:!0},Vt={local:new Set,session:new Set};let Oe=!1;function Tn(t){Oe=t}let de=typeof window>"u"?{}:window;function Et(t){const n=t+"Storage";try{if(de&&de[n]&&typeof de[n].length=="number")return de[n]}catch{}ce[t]=!1}function Dt(t,n){const o=Et(t);if(!o)return;const a=Me(o,It);if(a!==Nt){if(a){const d=De(o);for(let s=0;s<d;s++)Mt(o,ee+s.toString())}Ve(o,It,Nt),Ee(o,0);return}const i=Math.floor(Date.now()/Tt)-In,l=d=>{const s=ee+d.toString(),r=Me(o,s);if(typeof r=="string"){try{const m=JSON.parse(r);if(typeof m=="object"&&typeof m.cached=="number"&&m.cached>i&&typeof m.provider=="string"&&typeof m.data=="object"&&typeof m.data.prefix=="string"&&n(m,d))return!0}catch{}Mt(o,s)}};let c=De(o);for(let d=c-1;d>=0;d--)l(d)||(d===c-1?(c--,Ee(o,c)):Vt[t].add(d))}function Ot(){if(!Oe){Tn(!0);for(const t in ce)Dt(t,n=>{const o=n.data,a=n.provider,i=o.prefix,l=R(a,i);if(!_e(l,o).length)return!1;const c=o.lastModified||-1;return l.lastModifiedCached=l.lastModifiedCached?Math.min(l.lastModifiedCached,c):c,!0})}}function Mn(t,n){const o=t.lastModifiedCached;if(o&&o>=n)return o===n;if(t.lastModifiedCached=n,o)for(const a in ce)Dt(a,i=>{const l=i.data;return i.provider!==t.provider||l.prefix!==t.prefix||l.lastModified===n});return!0}function Vn(t,n){Oe||Ot();function o(a){let i;if(!ce[a]||!(i=Et(a)))return;const l=Vt[a];let c;if(l.size)l.delete(c=Array.from(l).shift());else if(c=De(i),!Ee(i,c+1))return;const d={cached:Math.floor(Date.now()/Tt),provider:t.provider,data:n};return Ve(i,ee+c.toString(),JSON.stringify(d))}n.lastModified&&!Mn(t,n.lastModified)||!Object.keys(n.icons).length||(n.not_found&&(n=Object.assign({},n),delete n.not_found),o("local")||o("session"))}function Lt(){}function En(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,Cn(t)}))}function Dn(t,n){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:o,prefix:a}=t,i=t.iconsToLoad;delete t.iconsToLoad;let l;if(!i||!(l=Se(o)))return;l.prepare(o,a,i).forEach(d=>{xn(o,d,(s,r)=>{if(typeof s!="object"){if(r!==404)return;d.icons.forEach(m=>{t.missing.add(m)})}else try{const m=_e(t,s);if(!m.length)return;const u=t.pendingIcons;u&&m.forEach(f=>{u.delete(f)}),Vn(t,s)}catch(m){console.error(m)}En(t)})})}))}const On=(t,n)=>{const o=_n(t,!0,gt()),a=kn(o);if(!a.pending.length){let s=!0;return n&&setTimeout(()=>{s&&n(a.loaded,a.missing,a.pending,Lt)}),()=>{s=!1}}const i=Object.create(null),l=[];let c,d;return a.pending.forEach(s=>{const{provider:r,prefix:m}=s;if(m===d&&r===c)return;c=r,d=m,l.push(R(r,m));const u=i[r]||(i[r]=Object.create(null));u[m]||(u[m]=[])}),a.pending.forEach(s=>{const{provider:r,prefix:m,name:u}=s,f=R(r,m),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(u)||(h.add(u),i[r][m].push(u))}),l.forEach(s=>{const{provider:r,prefix:m}=s;i[r][m].length&&Dn(s,i[r][m])}),n?bn(n,a,l):Lt};function Ln(t,n){const o={...t};for(const a in n){const i=n[a],l=typeof i;a in kt?(i===null||i&&(l==="string"||l==="number"))&&(o[a]=i):l===typeof o[a]&&(o[a]=a==="rotate"?i%4:i)}return o}const Fn=/[\s,]+/;function jn(t,n){n.split(Fn).forEach(o=>{switch(o.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Pn(t,n=0){const o=t.replace(/^-?[0-9.]*/,"");function a(i){for(;i<0;)i+=4;return i%4}if(o===""){const i=parseInt(t);return isNaN(i)?0:a(i)}else if(o!==t){let i=0;switch(o){case"%":i=25;break;case"deg":i=90}if(i){let l=parseFloat(t.slice(0,t.length-o.length));return isNaN(l)?0:(l=l/i,l%1===0?a(l):0)}}return n}function zn(t,n){let o=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const a in n)o+=" "+a+'="'+n[a]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+t+"</svg>"}function An(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Hn(t){return'url("data:image/svg+xml,'+An(t)+'")'}const Ft={...Ct,inline:!1},qn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Rn={display:"inline-block"},Le={backgroundColor:"currentColor"},jt={backgroundColor:"transparent"},Pt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},zt={webkitMask:Le,mask:Le,background:jt};for(const t in zt){const n=zt[t];for(const o in Pt)n[t+o]=Pt[o]}const me={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";me[t+"-flip"]=n,me[t.slice(0,1)+"-flip"]=n,me[t+"Flip"]=n});function At(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Ht=(t,n)=>{const o=Ln(Ft,n),a={...qn},i=n.mode||"svg",l={},c=n.style,d=typeof c=="object"&&!(c instanceof Array)?c:{};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":o[p]=k===!0||k==="true"||k===1;break;case"flip":typeof k=="string"&&jn(o,k);break;case"color":l.color=k;break;case"rotate":typeof k=="string"?o[p]=Pn(k):typeof k=="number"&&(o[p]=k);break;case"ariaHidden":case"aria-hidden":k!==!0&&k!=="true"&&delete a["aria-hidden"];break;default:{const C=me[p];C?(k===!0||k==="true"||k===1)&&(o[C]=!0):Ft[p]===void 0&&(a[p]=k)}}}const s=an(t,o),r=s.attributes;if(o.inline&&(l.verticalAlign="-0.125em"),i==="svg"){a.style={...l,...d},Object.assign(a,r);let p=0,k=n.id;return typeof k=="string"&&(k=k.replace(/-/g,"_")),a.innerHTML=dn(s.body,k?()=>k+"ID"+p++:"iconifyVue"),e.h("svg",a)}const{body:m,width:u,height:f}=t,h=i==="mask"||(i==="bg"?!1:m.indexOf("currentColor")!==-1),y=zn(m,{...r,width:u+"",height:f+""});return a.style={...l,"--svg":Hn(y),width:At(r.width),height:At(r.height),...Rn,...h?Le:jt,...d},e.h("span",a)};if(gt(!0),mn("",yn),typeof document<"u"&&typeof window<"u"){Ot();const t=window;if(t.IconifyPreload!==void 0){const n=t.IconifyPreload,o="Invalid IconifyPreload syntax.";typeof n=="object"&&n!==null&&(n instanceof Array?n:[n]).forEach(a=>{try{(typeof a!="object"||a===null||a instanceof Array||typeof a.icons!="object"||typeof a.prefix!="string"||!yt(a))&&console.error(o)}catch{console.error(o)}})}if(t.IconifyProviders!==void 0){const n=t.IconifyProviders;if(typeof n=="object"&&n!==null)for(let o in n){const a="IconifyProviders["+o+"] is invalid.";try{const i=n[o];if(typeof i!="object"||!i||i.resources===void 0)continue;un(o,i)||console.error(a)}catch{console.error(a)}}}}const Un={...se,body:""},Gn=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(t,n){if(typeof t=="object"&&t!==null&&typeof t.body=="string")return this._name="",this.abortLoading(),{data:t};let o;if(typeof t!="string"||(o=le(t,!1,!0))===null)return this.abortLoading(),null;const a=tn(o);if(!a)return(!this._loadingIcon||this._loadingIcon.name!==t)&&(this.abortLoading(),this._name="",a!==null&&(this._loadingIcon={name:t,abort:On([o],()=>{this.counter++})})),null;this.abortLoading(),this._name!==t&&(this._name=t,n&&n(t));const i=["iconify"];return o.prefix!==""&&i.push("iconify--"+o.prefix),o.provider!==""&&i.push("iconify--"+o.provider),{data:a,classes:i}}},render(){this.counter;const t=this.$attrs,n=this.iconMounted?this.getIcon(t.icon,t.onLoad):null;if(!n)return Ht(Un,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Ht({...se,...n.data},o)}}),xh="",w=(t,n)=>{const o=t.__vccOpts||t;for(const[a,i]of n)o[a]=i;return o},Qn={name:"CmdIcon",components:{Icon:Gn},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 Zn(t,n,o,a,i,l){const c=e.resolveComponent("Icon");return l.isIconify?(e.openBlock(),e.createBlock(c,{key:0,icon:o.iconClass,title:o.tooltip,class:e.normalizeClass(t.$attrs.class)},null,8,["icon","title","class"])):(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass([o.iconClass,t.$attrs.class]),title:o.tooltip},null,10,Wn))}const x=w(Qn,[["render",Zn]]),Ih="",Jn={name:"CmdHeadline",inject:{editModeContext:{default:null}},data(){return{editableHeadlineText:this.headlineText}},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:null},editModeContextData:{type:Object}},mounted(){var t;(t=this.editModeContext)==null||t.addSaveHandler(this.onSave)},computed:{getHeadlineTag(){return this.headlineLevel?"h"+this.headlineLevel:""},getTextAlign(){return this.textAlign?"text-"+this.textAlign:""}},methods:{onSave(){const t=this.editableHeadlineText;return{editModeContextData:{...this.editModeContextData||{}},headlineText:t,update(n){n.headlineText=t}}}}},Yn={key:1},Kn={class:"pre-headline-text"};function Xn(t,n,o,a,i,l){var d,s,r,m;const c=x;return(d=l.editModeContext)!=null&&d.editing?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:1,type:"text",class:e.normalizeClass(["edit-mode","headline","h"+o.headlineLevel]),"onUpdate:modelValue":n[0]||(n[0]=u=>i.editableHeadlineText=u)},null,2)),[[e.vModelText,i.editableHeadlineText]]):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-headline",{"has-pre-headline-text":o.preHeadlineText,"has-icon":(s=o.headlineIcon)==null?void 0:s.iconClass},l.getTextAlign])},[o.headlineIcon?(e.openBlock(),e.createBlock(c,{key:0,iconClass:(r=o.headlineIcon)==null?void 0:r.iconClass,type:(m=o.headlineIcon)==null?void 0:m.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),o.preHeadlineText?(e.openBlock(),e.createElementBlock("div",Yn,[e.createElementVNode("span",Kn,e.toDisplayString(o.preHeadlineText),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.getHeadlineTag),null,{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3}))])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.getHeadlineTag),{key:2},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.headlineText),1)])]),_:3}))],2))}const M=w(Jn,[["render",Xn]]),P={props:{i18n:{type:[Object,Function],default:()=>({})}},methods:{getMessage(t,...n){if(!t)return"";let o=this.i18n;if(typeof this.i18n=="function"&&(o=this.i18n.call(this,t,n),typeof o!="object"))return o;let a=o[t]||this.getDefaultMessageProperty(t)||t;return typeof a=="function"?a.call(this,n||[]):(Array.isArray(n)&&n.length&&n.forEach((i,l)=>a=a.replace("{"+l+"}",i)),a)},getDefaultMessageProperty(t){var o;if(Object.hasOwn(this,"defaultMessageProperties")&&this.defaultMessageProperties&&this.defaultMessageProperties[t])return this.defaultMessageProperties[t];const n=Object.hasOwn(this,"fieldValidationDefaultMessageProperties")?"fieldValidationDefaultMessageProperties":null;return n&&((o=this[n])==null?void 0:o[t])?this[n][t]:null}}},$n={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)"}}}},Th="",vn={name:"CmdAddressData",mixins:[P,$n],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:{websiteUrlText(){var t;return(t=this.addressData.website)==null?void 0:t.text.replace("https://","")}},methods:{locateAddress(t){return"https://www.google.com/maps/place/"+t.streetNo+", "+t.zip+" "+t.city},vCardClass(t){if(t.name==="company")return"org";if(t.name==="address"){if(t.streetNo)return"street-address";if(t.zip)return"postal-code";if(t.city)return"locality";if(t.country)return"country-name"}return null},getHref(t){return t.name==="telephone"||t.name==="mobilephone"?"tel:"+t.href:t.name==="email"?"mailto:"+t.href:t.name==="website"?t.href:null}}},el={class:"cmd-address-data vcard"},tl={class:"adr"},ol={key:0},nl={key:1},ll=["href","target","title"],il=["innerHTML"],al={key:1},sl=["href","title"],rl={class:"street-address"},cl=e.createElementVNode("br",null,null,-1),dl={key:1,class:"postal-code"},ml={class:"locality"},ul=e.createElementVNode("br",null,null,-1),hl=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),Bl=e.createElementVNode("br",null,null,-1),bl={key:4,class:"country-name"},_l=["href","target","title"],wl=["innerHTML"],Sl=["href","title"],Nl={class:"street-address"},xl=e.createElementVNode("br",null,null,-1),Il={class:"postal-code"},Tl={class:"locality"},Ml=e.createElementVNode("br",null,null,-1),Vl=e.createElementVNode("br",null,null,-1),El={key:3,class:"country-name"},Dl={class:"street-address"},Ol=e.createElementVNode("br",null,null,-1),Ll={class:"postal-code"},Fl={class:"locality"},jl=e.createElementVNode("br",null,null,-1),Pl=e.createElementVNode("br",null,null,-1),zl={key:3,class:"country-name"};function Al(t,n,o,a,i,l){const c=M,d=x,s=e.resolveDirective("telephone");return e.openBlock(),e.createElementBlock("div",el,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("address",tl,[o.showLabels&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock("dl",ol,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(r,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[e.createElementVNode("dt",{class:e.normalizeClass({address:r.name==="address"})},[r.iconClass&&o.showLabelIcons?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType,tooltip:r.labelText},null,8,["iconClass","type","tooltip"])):e.createCommentVNode("",!0),o.showLabelTexts?(e.openBlock(),e.createElementBlock("span",nl,e.toDisplayString(r.labelText),1)):e.createCommentVNode("",!0)],2),r.name!=="address"&&r.data?(e.openBlock(),e.createElementBlock("dd",{key:0,class:e.normalizeClass(l.vCardClass(r))},[r.href?e.withDirectives((e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(r),target:r.name==="website"?"_blank":null,title:r.tooltip},[e.createTextVNode(e.toDisplayString(r.href),1)],8,ll)),[[s,r.href]]):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.data},null,8,il))],2)):(e.openBlock(),e.createElementBlock("dd",al,[o.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(r),target:"google-maps",title:t.getMessage("cmdaddressdata.title.open_address_on_google_maps")},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",rl,e.toDisplayString(r.streetNo),1),cl],64)):e.createCommentVNode("",!0),r.zip?(e.openBlock(),e.createElementBlock("span",dl,e.toDisplayString(r.zip),1)):e.createCommentVNode("",!0),r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",ml,e.toDisplayString(r.city),1),ul],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),hl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",fl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],8,sl)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",pl,e.toDisplayString(r.streetNo),1),gl],64)):e.createCommentVNode("",!0),r.zip?(e.openBlock(),e.createElementBlock("span",yl,e.toDisplayString(r.zip)+"\xA0",1)):e.createCommentVNode("",!0),r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",kl,e.toDisplayString(r.city),1),Cl],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Bl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",bl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64))]))],64))),128))])):(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass(["flex-container",{vertical:!o.showIconsOnly}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.addressData,(r,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:m},[r.href||r.name==="address"||!o.showIconsOnly?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass({"no-flex":o.showIconsOnly})},[r.href?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.getHref(r),target:{_blank:r.name==="website"},title:r.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(r.href),1)],64))],8,_l)):o.showIconsOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",{key:1,innerHTML:r.data},null,8,wl)),r.name==="address"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[o.linkGoogleMaps?(e.openBlock(),e.createElementBlock("a",{key:0,href:l.locateAddress(r),target:"google-maps",title:r.tooltip},[o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Nl,e.toDisplayString(r.streetNo),1),xl],64)):e.createCommentVNode("",!0),r.zip||r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Il,e.toDisplayString(r.zip)+"\xA0",1),e.createElementVNode("span",Tl,e.toDisplayString(r.city),1),Ml],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Vl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",El,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64))],8,Sl)):e.createCommentVNode("",!0),!o.linkGoogleMaps&&!o.showIconsOnly?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.streetNo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",Dl,e.toDisplayString(r.streetNo),1),Ol],64)):e.createCommentVNode("",!0),r.zip||r.city?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ll,e.toDisplayString(r.zip)+"\xA0",1),e.createElementVNode("span",Fl,e.toDisplayString(r.city),1),jl],64)):e.createCommentVNode("",!0),r.miscInfo?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("span",null,e.toDisplayString(r.miscInfo),1),Pl],64)):e.createCommentVNode("",!0),r.country?(e.openBlock(),e.createElementBlock("span",zl,e.toDisplayString(r.country),1)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)],64))),128))],2))])])}const Hl=w(vn,[["render",Al]]),ql={name:"CmdBackToTopButton",data(){var t;return{windowInnerHeight:window.innerHeight,windowScrollY:this.getScrollY(),scrollHeight:((t=document.querySelector(this.scrollContainer))==null?void 0:t.scrollHeight)||0}},props:{scrollContainer:{type:String,default:"body"},iconBackToTop:{type:Object,default:function(){return{iconClass:"icon-single-arrow-up",tooltip:"Back to top",iconType:"auto"}}}},mounted(){var t;window.addEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(t=document.querySelector(this.scrollContainer))==null||t.addEventListener("scroll",this.onViewportChange)},unmounted(){var t;window.removeEventListener("resize",this.onViewportChange),this.scrollContainer==="body"?window.addEventListener("scroll",this.onViewportChange):(t=document.querySelector(this.scrollContainer))==null||t.removeEventListener("scroll",this.onViewportChange)},computed:{show(){return this.windowScrollY>0&&this.windowInnerHeight<this.scrollHeight}},methods:{getScrollY(){var t;return this.scrollContainer==="body"?window.scrollY:((t=document.querySelector(this.scrollContainer))==null?void 0:t.scrollTop)||0},onViewportChange(){var t;this.windowInnerHeight=window.innerHeight,this.windowScrollY=this.getScrollY(),this.scrollHeight=((t=document.querySelector(this.scrollContainer))==null?void 0:t.scrollHeight)||0},onBackToTop(){var t;this.scrollContainer==="body"?window.scrollTo({top:0,left:0,behavior:"smooth"}):(t=document.querySelector(this.scrollContainer))==null||t.scrollTo({top:0,left:0,behavior:"smooth"})}}},Rl=["title"];function Ul(t,n,o,a,i,l){const c=x;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.show?(e.openBlock(),e.createElementBlock("a",{key:0,class:"cmd-back-to-top-button button",id:"back-to-top-button",href:"#",role:"button",title:o.iconBackToTop.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...d)=>l.onBackToTop&&l.onBackToTop(...d),["prevent"]))},[e.createVNode(c,{iconClass:o.iconBackToTop.iconClass,type:o.iconBackToTop.iconType},null,8,["iconClass","type"])],8,Rl)):e.createCommentVNode("",!0)]),_:1})}const Gl=w(ql,[["render",Ul]]),Mh="",Ql={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(t){const n=t.replace(/\s/g,"");navigator.clipboard.writeText(n),alert(n+" was copied to clipboard")}}},Wl={class:"cmd-bank-account-data"},Zl={key:0},Jl=["onClick","title"],Yl={key:1};function Kl(t,n,o,a,i,l){const c=M,d=x;return e.openBlock(),e.createElementBlock("div",Wl,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.accountData,(s,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:r},[e.createElementVNode("dt",null,e.toDisplayString(s.text),1),o.allowCopyByClick&&s.allowCopy?(e.openBlock(),e.createElementBlock("dd",Zl,[e.createElementVNode("span",null,e.toDisplayString(s.value),1),e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>l.copyToClipboard(s.value),["prevent"]),title:o.iconCopy.tooltip},[e.createVNode(d,{iconClass:o.iconCopy.iconClass,type:o.iconCopy.iconType},null,8,["iconClass","type"])],8,Jl)])):(e.openBlock(),e.createElementBlock("dd",{key:r},e.toDisplayString(s.value),1))],64))),128))]),o.additionalInformation?(e.openBlock(),e.createElementBlock("p",Yl,e.toDisplayString(o.additionalInformation),1)):e.createCommentVNode("",!0)])}const Xl=w(Ql,[["render",Kl]]);function U(t){return t.path?t.path:((t.route==null||typeof t.route!="object"||!t.route.path&&!t.route.name)&&console.error("Error in router configuration. Expected object with 'path' or 'name', got",t.route),t.route)}const Vh="",$l={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 t=document.getElementById(this.relatedId);t&&(t.addEventListener("mouseenter",this.showTooltip),document.addEventListener("scroll",this.hideTooltip),document.addEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.addEventListener("click",this.toggleTooltipVisibility):t.addEventListener("mouseleave",this.hideTooltip))}},methods:{toggleTooltipVisibility(t){this.getPointerPosition(t),this.tooltipVisibility=!this.tooltipVisibility},showTooltip(t){this.toggleVisibilityByClick||(this.tooltipVisibility=!0),this.getPointerPosition(t)},hideTooltipOnEsc(t){this.allowEscapeKey&&(t.key==="Escape"||t.key==="Esc")&&this.hideTooltip()},hideTooltip(){this.tooltipVisibility=!1},getPointerPosition(t){this.pointerX=t.clientX,this.pointerY=t.clientY}},unmounted(){if(this.relatedId){const t=document.getElementById(this.npm);t&&(t.removeEventListener("mouseenter",this.showTooltip),document.removeEventListener("scroll",this.hideTooltip),document.removeEventListener("keyup",this.hideTooltipOnEsc),this.toggleVisibilityByClick?t.removeEventListener("click",this.toggleTooltipVisibility):t.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"})}}},vl={key:0,class:"headline-wrapper"},ei=["title"];function ti(t,n,o,a,i,l){const c=M,d=x;return i.tooltipVisibility?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-tooltip",o.status]),ref:"tooltip"},[o.cmdHeadline||o.iconClose.show?(e.openBlock(),e.createElementBlock("div",vl,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.cmdHeadline.iconClass,preHeadline:o.cmdHeadline.preHeadline,headlineLevel:o.cmdHeadline.headlineLevel,headlineText:o.cmdHeadline.headlineText},null,8,["iconClass","preHeadline","headlineLevel","headlineText"])):e.createCommentVNode("",!0),o.iconClose.show&&o.toggleVisibilityByClick?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.hideTooltip&&l.hideTooltip(...s),["prevent"])),title:o.iconClose.tooltip},[e.createVNode(d,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,ei)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const qt=w($l,[["render",ti]]),oi={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},Eh="",ni={name:"CmdListOfRequirements",mixins:[P,oi],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")}}},li={class:"cmd-list-of-requirements"},ii=e.createElementVNode("br",null,null,-1),ai=e.createElementVNode("hr",null,null,-1),si=["href","target"],ri={key:1};function ci(t,n,o,a,i,l){var s,r,m;const c=M,d=x;return e.openBlock(),e.createElementBlock("div",li,[o.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-level":o.cmdHeadline.headlineLevel},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.headlineRequirements),1),o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[ii,e.createElementVNode("em",null,e.toDisplayString(o.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(o.inputRequirements,(u,f)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:f},[e.createElementVNode("dt",{"aria-live":"assertive",class:e.normalizeClass(u.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},e.toDisplayString(u.message)+":",3),e.createElementVNode("dd",{class:e.normalizeClass(u.valid(o.inputModelValue,o.inputAttributes)?"success":"error")},[e.createVNode(d,{"aria-live":"assertive",iconClass:u.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconClass:o.iconError.iconClass,type:u.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.iconType:o.iconError.iconType,title:u.valid(o.inputModelValue,o.inputAttributes)?o.iconSuccess.tooltip:o.iconError.tooltip},null,8,["iconClass","type","title"])],2)],64))),128))]),o.helplink&&o.helplink.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[ai,o.helplink.url?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.helplink.url,target:o.helplink.target,onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"]))},[(s=o.helplink.icon)!=null&&s.iconClass?(e.openBlock(),e.createBlock(d,{key:0,class:e.normalizeClass((r=o.helplink.icon)==null?void 0:r.iconClass),title:(m=o.helplink.icon)==null?void 0:m.tooltip},null,8,["class","title"])):e.createCommentVNode("",!0),o.helplink.text?(e.openBlock(),e.createElementBlock("span",ri,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,si)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const di=w(ni,[["render",ci]]),mi={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 ui(t,n,o,a,i,l){const c=di,d=qt;return e.openBlock(),e.createBlock(d,{ref:"tooltip",class:e.normalizeClass(["box",o.validationStatus]),relatedId:o.relatedId,"toggle-visibility-by-click":!0},{default:e.withCtx(()=>[o.cmdListOfRequirements.showRequirements?(e.openBlock(),e.createBlock(c,{key:0,showHeadline:o.cmdListOfRequirements.showHeadline,inputRequirements:o.cmdListOfRequirements.inputRequirements,helplink:o.cmdListOfRequirements.helplink,inputModelValue:o.cmdListOfRequirements.inputModelValue,inputAttributes:o.cmdListOfRequirements.inputAttributes,validationTooltip:o.cmdListOfRequirements.validationTooltip,labelText:o.cmdListOfRequirements.labelText},null,8,["showHeadline","inputRequirements","helplink","inputModelValue","inputAttributes","validationTooltip","labelText"])):e.createCommentVNode("",!0)]),_:1},8,["class","relatedId"])}const Fe=w(mi,[["render",ui]]),hi={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"}}}},je={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[P,{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 t=[];if(this.$attrs.required||Object.hasOwn(this,"required")&&this.required){const n=Object.hasOwn(this,"required")?this.required:this.$attrs.required;t.push({message:this.getRequirementMessage(),valid(o,a){return!a.required&&!n||o!=null&&String(o).length>0}})}return this.$attrs.minlength&&t.push({message:this.getMessage("cmdfieldvalidation.input_has_minimum_length")+" ("+this.modelValue.length+"/"+this.$attrs.minlength+")",valid(n,o){return n.length>=o.minlength}}),[...t,...this.additionalStandardRequirements()||[],...this.customRequirements||[]]}},methods:{checkForCapsLock(t){["password","number","url","email"].includes(this.$attrs.type)&&t.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)}}}};function Rt(){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const o=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(n==="x"?o:o&3|8).toString(16)})}function Ut(){return"cmd-"+Rt()}const te={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Ut()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},Pe={};function fi(t="defaultSequence"){const n=Pe[t]||0;return Pe[t]=n+1,Pe[t]}const ze={data(){return{tooltip:!1,tooltipId:"tooltip-"+fi()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},Oh="",pi=["color","date","datetime-local","file","number","range"],gi={inheritAttrs:!1,name:"CmdFormElement",mixins:[P,hi,je,te,ze],data(){return{errorOccurred:0}},props:{modelValue:{type:[String,Boolean,Array,Number],default:""},element:{type:String,validator(t){return t==="input"||t==="select"||t==="textarea"||t==="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 t=["name","required","readonly","disabled","autofocus"],n={input:[...t,"type","minlength","pattern","min","max","multiple","step","autocomplete","placeholder"],select:[...t,"multiple"],textarea:[...t,"placeholder"]},o={};return n[this.element]&&Object.entries(this.$attrs).filter(([a])=>n[this.element].includes(a)).forEach(([a,i])=>o[a]=i),o},buttonAttrs(){var n,o;const t={...this.$attrs};return(n=this.nativeButton.icon)!=null&&n.tooltip&&(t.title=(o=this.nativeButton.icon)==null?void 0:o.tooltip),t},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 t=[];return this.$attrs.type==="email"&&t.push({message:this.getMessage("cmdformelement.validationTooltip.is_valid_email"),valid:()=>this.$refs.input.checkValidity()}),t},getDomElement(){return this.$refs.label},getMaxLength(){return this.$attrs.element==="textarea"?this.$attrs.maxlength>0?this.$attrs.maxlength:5e3:pi.includes(this.$attrs.type)?null:this.$attrs.maxlength>0?this.$attrs.maxlength:255},validateInput(t){var o;((o=t.target.closest("form"))==null?void 0:o.dataset.useValidation)==="true"&&(!["checkbox","radio"].includes(this.$attrs.type)&&this.modelValue&&(this.validationStatus="success"),typeof t.target.checkValidity=="function"&&!t.target.checkValidity()?this.validationStatus="error":this.customRequirements&&this.customRequirements.some(i=>!i.valid(this.modelValue))&&(this.validationStatus="error"),this.$emit("validation-status-change",this.validationStatus))},onBlur(t){this.validateInput(t),this.closeTooltipOnBlur()},onInput(t){this.validateInput(t),this.$emit("update:modelValue",t.target.value)},onChange(t){if(typeof this.modelValue=="boolean")this.$emit("update:modelValue",t.target.checked);else if(typeof this.modelValue=="string")this.$emit("update:modelValue",t.target.value);else if(this.modelValue!==void 0){let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value),this.$emit("update:modelValue",n)}},datalistFocus(){this.datalist&&this.$refs.label.focus()},showPassword(){const t=this.$refs.input,n=t.value;t.nextElementSibling.classList.replace(this.iconPasswordVisible.iconClass,this.iconPasswordInvisible.iconClass),t.setAttribute("type","text"),t.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}}},yi=["for","title"],ki={key:2,"aria-hidden":"true"},Ci=["title","aria-errormessage","id"],Bi={key:1,class:"flex-container"},bi=["id","autocomplete","list","value","maxlength"],_i=["title"],wi=["id"],Si=["value"],Ni=["checked","value","id","disabled","aria-invalid"],xi={key:2},Ii={class:"switch-label-wrapper"},Ti=["checked","value","id","disabled","aria-invalid"],Mi={class:"label-text"},Vi={class:"label-text"},Ei={key:0},Di=["id"],Oi=["value","selected"],Li=["id","value","maxlength"],Fi={key:6},ji={key:7,class:"search-field-wrapper flex-container no-gap"},Pi=["id","maxlength","value"],zi=["title"],Ai=["title"],Hi={key:1};function qi(t,n,o,a,i,l){var s,r,m,u,f,h,y,p,k,C,b,V,g,I,S,N,E,D,T,j,F,Q,A,ne;const c=Fe,d=x;return o.element==="input"||o.element==="select"||o.element==="textarea"?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["cmd-form-element",t.validationStatus,t.$attrs.class,{disabled:t.$attrs.disabled,inline:o.displayLabelInline,checked:l.isChecked,"toggle-switch":o.toggleSwitch,colored:o.colored,on:o.colored&&l.isChecked,off:o.colored&&!l.isChecked,"has-state":t.validationStatus}]),for:t.htmlId,title:t.$attrs.title,ref:"label"},[(o.labelText||t.$slots.labeltext)&&t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.labelText),1)],64)):e.renderSlot(t.$slots,"labeltext",{key:1}),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",ki,"*")):e.createCommentVNode("",!0)]),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),t.$attrs.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,Ci)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",Bi,[o.fieldIconClass?(e.openBlock(),e.createBlock(d,{key:0,class:"place-inside",iconClass:o.fieldIconClass},null,8,["iconClass"])):e.createCommentVNode("",!0),o.element==="input"&&t.$attrs.type!=="search"?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:1},l.elementAttributes,{id:t.htmlId,class:o.inputClass,onFocus:n[1]||(n[1]=_=>t.tooltip=!0),onBlur:n[2]||(n[2]=(..._)=>l.onBlur&&l.onBlur(..._)),onInput:n[3]||(n[3]=(..._)=>l.onInput&&l.onInput(..._)),onMouseover:n[4]||(n[4]=(..._)=>l.datalistFocus&&l.datalistFocus(..._)),onKeyup:n[5]||(n[5]=(..._)=>t.checkForCapsLock&&t.checkForCapsLock(..._)),onChange:n[6]||(n[6]=_=>t.$emit("change",_)),autocomplete:l.autocomplete,list:o.datalist?o.datalist.id:null,value:o.modelValue,maxlength:l.getMaxLength(),ref:"input"}),null,16,bi)):e.createCommentVNode("",!0),t.$attrs.type==="password"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"place-inside",onMousedown:n[7]||(n[7]=e.withModifiers((..._)=>l.showPassword&&l.showPassword(..._),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((..._)=>l.hidePassword&&l.hidePassword(..._),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((..._)=>l.hidePassword&&l.hidePassword(..._),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:o.iconPasswordVisible.tooltip},[e.createVNode(d,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,_i)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.datalist&&o.datalist.options.length?(e.openBlock(),e.createElementBlock("datalist",{key:2,id:o.datalist.id},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.datalist.options,(_,K)=>(e.openBlock(),e.createElementBlock("option",{key:K,value:_},null,8,Si))),128))],8,wi)):o.element==="input"&&(t.$attrs.type==="checkbox"||t.$attrs.type==="radio")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[o.onLabel&&o.offLabel?o.onLabel&&o.offLabel?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",Ii,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[13]||(n[13]=(..._)=>l.onChange&&l.onChange(..._)),onBlur:n[14]||(n[14]=(..._)=>l.onBlur&&l.onBlur(..._)),checked:l.isChecked,value:o.inputValue,class:{inputClass:o.inputClass,validationStatus:t.validationStatus},id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,Ti),e.createElementVNode("span",Mi,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",Vi,e.toDisplayString(o.offLabel),1)]),o.labelText?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Ei,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64)):e.renderSlot(t.$slots,"default",{key:2}):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{onChange:n[11]||(n[11]=(..._)=>l.onChange&&l.onChange(..._)),onBlur:n[12]||(n[12]=(..._)=>l.onBlur&&l.onBlur(..._)),checked:l.isChecked,value:o.inputValue,class:[o.inputClass,t.validationStatus,l.toggleSwitchIconClass,{"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch}],id:t.htmlId,disabled:t.$attrs.disabled,"aria-invalid":t.validationStatus==="error"}),null,16,Ni),o.labelText||t.$slots.labeltext?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},[e.createElementVNode("span",null,[o.labelText?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(o.labelText),1)],64)):e.renderSlot(t.$slots,"labeltext",{key:1}),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",xi,"*")):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0)],64))],64)):e.createCommentVNode("",!0),o.element==="select"?(e.openBlock(),e.createElementBlock("select",e.mergeProps({key:4},l.elementAttributes,{id:t.htmlId,onBlur:n[15]||(n[15]=(..._)=>l.onBlur&&l.onBlur(..._)),onChange:n[16]||(n[16]=_=>t.$emit("update:modelValue",_.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectOptions,(_,K)=>(e.openBlock(),e.createElementBlock("option",{key:K,value:_.value,selected:_.value===o.modelValue},e.toDisplayString(_.text),9,Oi))),128))],16,Di)):e.createCommentVNode("",!0),o.element==="textarea"?(e.openBlock(),e.createElementBlock("textarea",e.mergeProps({key:5},l.elementAttributes,{id:t.htmlId,value:o.modelValue,maxlength:l.getMaxLength(),onInput:n[17]||(n[17]=(..._)=>l.onInput&&l.onInput(..._)),onFocus:n[18]||(n[18]=_=>t.tooltip=!0),onBlur:n[19]||(n[19]=(..._)=>l.onBlur&&l.onBlur(..._))}),`\r
2
+ `,16,Li)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",Fi,e.toDisplayString(l.charactersTextarea),1)):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",ji,[e.createElementVNode("input",e.mergeProps(l.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(..._)=>l.onInput&&l.onInput(..._)),maxlength:l.getMaxLength(),value:o.modelValue}),null,16,Pi),o.showSearchButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button no-flex",{disabled:t.$attrs.disabled}]),title:o.iconSearch.tooltip,onClick:n[21]||(n[21]=e.withModifiers((..._)=>l.executeSearch&&l.executeSearch(..._),["prevent"]))},[e.createVNode(d,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,zi)):e.createCommentVNode("",!0),(s=o.iconDelete)!=null&&s.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(_=>t.$emit("update:modelValue",""),["prevent"])),title:(r=o.iconDelete)==null?void 0:r.tooltip},[e.createVNode(d,{iconClass:(m=o.iconDelete)==null?void 0:m.iconClass,type:(u=o.iconDelete)==null?void 0:u.iconType},null,8,["iconClass","type"])],8,Ai)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,yi)):(e.openBlock(),e.createElementBlock("button",e.mergeProps({key:1,class:"button"},l.buttonAttrs),[((h=(f=o.nativeButton)==null?void 0:f.icon)==null?void 0:h.show)&&(((p=(y=o.nativeButton)==null?void 0:y.icon)==null?void 0:p.position)==="before"||!((C=(k=o.nativeButton)==null?void 0:k.icon)!=null&&C.position))?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(V=(b=o.nativeButton)==null?void 0:b.icon)==null?void 0:V.iconClass,type:(I=(g=o.nativeButton)==null?void 0:g.icon)==null?void 0:I.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((S=o.nativeButton)==null?void 0:S.icon)&&((N=o.nativeButton)==null?void 0:N.text)?(e.openBlock(),e.createElementBlock("span",Hi,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),((D=(E=o.nativeButton)==null?void 0:E.icon)==null?void 0:D.show)&&((j=(T=o.nativeButton)==null?void 0:T.icon)==null?void 0:j.position)==="after"?(e.openBlock(),e.createBlock(d,{key:3,iconClass:(Q=(F=o.nativeButton)==null?void 0:F.icon)==null?void 0:Q.iconClass,type:(ne=(A=o.nativeButton)==null?void 0:A.icon)==null?void 0:ne.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const q=w(gi,[["render",qi]]);function W(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}const Lh="",Ri={name:"CmdImage",inject:{editModeContext:{default:null}},data(){return{mediumMaxWidth:1023,smallMaxWidth:600,currentWindowWidth:window.innerWidth,allowedFileExtensions:["jpg","jpeg","png"],uploadInitiated:!1,allowDrop:!1,showFigcaption:!0,figcaptionPosition:null,figcaptionTextAlign:null,tooltip:null,alternativeText:null,positionOptions:[{text:"Above image",value:"top"},{text:"Below image",value:"bottom"}],textAlignOptions:[{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}],figcaptionText:null}},mounted(){var t;(t=this.editModeContext)==null||t.addSaveHandler(this.onSave)},props:{editModeContextData:{type:Object},image:{type:Object,required:!0},figcaption:{type:Object,required:!1},maxFileUploadSize:{type:Number,default:5e5},minImageWidth:{type:Number,default:1025}},created(){window.addEventListener("resize",this.updateWindowWidth);const t=getComputedStyle(document.documentElement);this.mediumMaxWidth=parseInt(t.getPropertyValue("--medium-max-width")),this.smallMaxWidth=parseInt(t.getPropertyValue("--small-max-width"))},beforeUnmount(){window.removeEventListener("resize",this.updateWindowWidth)},computed:{imageSource(){const t=this.image.src;if(typeof t=="string")return t;const n=this.currentWindowWidth;return t.small&&n<=this.smallMaxWidth?t.small:t.medium&&n<=this.mediumMaxWidth?t.medium:t.large},dragAndDropHandler(){return{dragenter:this.dragEnter,dragover:this.dragOver,dragleave:this.dragLeave,drop:this.drop}},getTextAlign(){var t;return(t=this.figcaption)!=null&&t.textAlign?"text-"+this.figcaption.textAlign:""},editableAlternativeText:{get(){return this.alternativeText==null?this.image.alt:this.alternativeText},set(t){this.alternativeText=t}},editableTooltip:{get(){return this.tooltip==null?this.image.tooltip:this.tooltip},set(t){this.tooltip=t}},editableShowFigcaption:{get(){return this.showFigcaption==null?this.figcaption.show:this.showFigcaption},set(t){this.showFigcaption=t}},editableFigcaptionPosition:{get(){return this.figcaptionPosition==null?this.figcaption.position:this.figcaptionPosition},set(t){this.figcaptionPosition=t}},editableFigcaptionTextAlign:{get(){return this.figcaptionTextAlign||this.figcaption.textAlign},set(t){this.figcaptionTextAlign=t}},editableFigcaptionText:{get(){return this.figcaptionText||this.figcaption.text},set(t){this.figcaptionText=t}}},methods:{updateWindowWidth(){this.currentWindowWidth=window.innerWidth},getImage(){return{image:{...this.image},figcaption:{show:this.editableShowFigcaption,position:this.editableFigcaptionPosition,textAlign:this.editableFigcaptionTextAlign,text:this.editableFigcaptionText}}},fileSelected(t){t.target.files.length>0&&this.checkAndUploadFile(t.target.files[0])},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(t){this.dragOver(t)},dragOver(t){t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0&&(t.dataTransfer.dropEffect="none",t.dataTransfer.items[0].kind==="file"&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0))},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),this.checkAndUploadFile(t.dataTransfer.files[0]))},onSave(){const t={image:{alt:this.editableAlternativeText,tooltip:this.editableTooltip},figcaption:{position:this.editableFigcaptionPosition,textAlign:this.editableFigcaptionTextAlign,text:this.editableFigcaptionText,show:this.editableShowFigcaption}};return{editModeContextData:this.editModeContextData,...t,update(n){console.log("CmdImage.update",n),n.image||(n.image={}),n.image.alt=t.image.alt,n.image.tooltip=t.image.tooltip,n.figcaption||(n.figcaption={}),n.figcaption.position=t.figcaption.position,n.figcaption.textAlign=t.figcaption.textAlign,n.figcaption.text=t.figcaption.text,n.figcaption.show=t.figcaption.show}}},checkAndUploadFile(t){const n=[];if(t.size>this.maxFileUploadSize&&n.push("file too large"),this.allowedFileExtensions.includes(W(t.name))||n.push("disallowed file extension"),n.length){alert(n);return}const o=new Image;o.onload=()=>{if(o.width<this.minImageWidth&&!confirm("width ("+o.width+" px) too small - at least "+this.minImageWidth+" px required! Use trotzdem!")){alert("Abbruch");return}URL.revokeObjectURL(o.src),this.$refs.contentImage.src=o.src},o.src=URL.createObjectURL(t)}}},Ui=e.createElementVNode("span",{class:"icon-image"},null,-1),Gi=["src","alt","title"],Qi=["disabled"],Wi=e.createElementVNode("span",null,"Select image",-1),Zi={key:0},Ji=["src","alt","title"],Yi={key:1};function Ki(t,n,o,a,i,l){var s,r,m,u,f,h,y,p,k,C;const c=q,d=x;return e.openBlock(),e.createElementBlock(e.Fragment,null,[(s=l.editModeContext)!=null&&s.editing?(e.openBlock(),e.createElementBlock("figure",{key:0,class:e.normalizeClass(["cmd-image flex-container vertical",l.getTextAlign])},[e.createVNode(c,{element:"input",type:"checkbox",toggleSwitch:!0,labelText:"Show figcaption",modelValue:l.editableShowFigcaption,"onUpdate:modelValue":n[0]||(n[0]=b=>l.editableShowFigcaption=b)},null,8,["modelValue"]),e.createVNode(c,{element:"select",labelText:"Figcaption Position",selectOptions:i.positionOptions,disabled:!i.showFigcaption,modelValue:l.editableFigcaptionPosition,"onUpdate:modelValue":n[1]||(n[1]=b=>l.editableFigcaptionPosition=b)},null,8,["selectOptions","disabled","modelValue"]),e.createVNode(c,{element:"select",labelText:"Figcaption text alignment",selectOptions:i.textAlignOptions,disabled:!i.showFigcaption,modelValue:l.editableFigcaptionTextAlign,"onUpdate:modelValue":n[2]||(n[2]=b=>l.editableFigcaptionTextAlign=b)},null,8,["selectOptions","disabled","modelValue"]),e.createVNode(c,{element:"input",type:"text",required:!0,labelText:"Alternative Text",modelValue:l.editableAlternativeText,"onUpdate:modelValue":n[3]||(n[3]=b=>l.editableAlternativeText=b)},null,8,["modelValue"]),e.createVNode(c,{element:"input",type:"text",required:!1,labelText:"Tooltip",modelValue:l.editableTooltip,"onUpdate:modelValue":n[4]||(n[4]=b=>l.editableTooltip=b)},null,8,["modelValue"]),((r=o.figcaption)==null?void 0:r.position)==="top"?(e.openBlock(),e.createBlock(c,{key:0,element:"input",type:"text",required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[5]||(n[5]=b=>l.editableFigcaptionText=b)},null,8,["modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("div",e.mergeProps({class:["box drop-area flex-container vertical",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler),{title:"Drag new image to this area to replace old one!"}),[Ui,e.createElementVNode("img",{ref:"contentImage",src:o.image.src,alt:o.image.alt,title:o.image.tooltip},null,8,Gi)],16),e.createElementVNode("button",{type:"button",class:e.normalizeClass(["button upload primary",{disabled:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:n[6]||(n[6]=b=>l.selectFiles())},[e.createVNode(d,{iconClass:"icon-loop"}),Wi],10,Qi),((m=o.figcaption)==null?void 0:m.position)!=="top"?(e.openBlock(),e.createBlock(c,{key:1,element:"input",type:"text",class:e.normalizeClass(l.getTextAlign),required:!0,labelText:"Text figcaption",modelValue:l.editableFigcaptionText,"onUpdate:modelValue":n[7]||(n[7]=b=>l.editableFigcaptionText=b)},null,8,["class","modelValue"])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),(u=l.editModeContext)!=null&&u.editing?(e.openBlock(),e.createBlock(c,{key:1,class:"hidden",element:"input",type:"file",labelText:"Select file",disabled:i.uploadInitiated,onChange:l.fileSelected,ref:"formElement"},null,8,["disabled","onChange"])):(e.openBlock(),e.createElementBlock("figure",{key:2,class:e.normalizeClass(["cmd-image",l.getTextAlign])},[((f=o.figcaption)==null?void 0:f.show)&&((h=o.figcaption)==null?void 0:h.position)==="top"?(e.openBlock(),e.createElementBlock("figcaption",Zi,e.toDisplayString((y=o.figcaption)==null?void 0:y.text),1)):e.createCommentVNode("",!0),e.createElementVNode("img",{src:l.imageSource,alt:o.image.alt,title:o.image.tooltip},null,8,Ji),((p=o.figcaption)==null?void 0:p.show)&&((k=o.figcaption)==null?void 0:k.position)!=="top"?(e.openBlock(),e.createElementBlock("figcaption",Yi,e.toDisplayString((C=o.figcaption)==null?void 0:C.text),1)):e.createCommentVNode("",!0)],2))],64)}const Z=w(Ri,[["render",Ki]]),Fh="",Xi={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"),{})}}},$i=["title"];function vi(t,n,o,a,i,l){const c=x;return e.openBlock(),e.createElementBlock("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),class:e.normalizeClass(["cmd-slide-button","button","keep-behavior-on-small-devices",o.slideButtonType]),title:l.getDirection.tooltip},[e.createVNode(c,{iconClass:l.getDirection.iconClass||"next"},null,8,["iconClass"])],10,$i)}const ue=w(Xi,[["render",vi]]),ea={data(){return{defaultMessageProperties:{"cmdthumbnailscroller.tooltip.open_large_image":"Open large image","cmdthumbnailscroller.tooltip.open_url":"Open URL in a new tab","cmdthumbnailscroller.tooltip.open":"Open"}}}},jh="",ta={name:"CmdThumbnailScroller",emits:["click"],mixins:[P,ea],data(){return{items:[],showSlidebuttons:!0}},props:{fullWidth:{type:Boolean,default:!1},largeIcons:{type:Boolean,default:!1},contentType:{type:String,default:"image"},executeOnClick:{type:String,default:"fancybox"},thumbnailScrollerItems:{type:Array,required:!0},allowOpenFancyBox:{type:Boolean,default:!0},activeItemIndex:{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"}}}}}},mounted(){const t=this.$refs["thumbnail-scroller"],n=t.querySelector(":scope > ul");new ResizeObserver(()=>this.toggleSlideButtons(n)).observe(t)},computed:{getTooltip(){return this.contentType==="image"?this.getMessage("cmdthumbnailscroller.tooltip.open_large_image"):this.executeOnClick==="url"?this.getMessage("cmdthumbnailscroller.tooltip.open_url"):this.getMessage("cmdthumbnailscroller.tooltip.open")}},methods:{toggleSlideButtons(t){this.showSlidebuttons=t.scrollWidth>t.clientWidth},showNextItem(){const t=this.items.shift();t&&this.items.push(t)},showPrevItem(){const t=this.items.pop();t&&this.items.unshift(t)},showFancyBox(t){this.allowOpenFancyBox&&he({fancyBoxGallery:this.items,defaultGalleryIndex:t}),this.emitCurrentItemId(t)},emitCurrentItemId(t){if(this.contentType==="image"){this.$emit("click",this.items[t].image.id);return}this.$emit("click",this.items[t].id)},executeLink(t,n){this.executeOnClick==="emit"?(n.preventDefault(),this.emitCurrentItemId(t)):this.executeOnClick==="fancybox"&&(n.preventDefault(),this.showFancyBox(t))}},watch:{thumbnailScrollerItems:{handler(){this.items=this.thumbnailScrollerItems.map(t=>{let n;return this.contentType==="image"?(n={image:{...t.image},figcaption:{...t.figcaption}},n.image.srcImageSmall&&(n.image.src=n.image.srcImageSmall)):n={...t},n})},immediate:!0}}},oa=["href","onClick","title","target"],na={key:1};function la(t,n,o,a,i,l){const c=ue,d=Z,s=x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":!o.allowOpenFancyBox,"full-width":o.fullWidth,"large-icons":o.largeIcons}]),ref:"thumbnail-scroller"},[e.createElementVNode("div",null,[i.showSlidebuttons?(e.openBlock(),e.createBlock(c,{key:0,onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.items,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass([{active:o.activeItemIndex===m},r.id?"item-"+r.id:""])},[e.createElementVNode("a",{href:o.executeOnClick==="url"?r.url:"#",onClick:u=>l.executeLink(m,u),title:l.getTooltip,target:o.executeOnClick==="url"?"_blank":null},[o.contentType==="image"?(e.openBlock(),e.createBlock(d,{key:0,image:r.image,figcaption:r.figcaption},null,8,["image","figcaption"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[r.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",na,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],64))],8,oa)],2))),128))]),_:1}),i.showSlidebuttons?(e.openBlock(),e.createBlock(c,{key:1,onClick:e.withModifiers(l.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])):e.createCommentVNode("",!0)])],2)}const Gt=w(ta,[["render",la]]),Ph="",he=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Qt,{...t,show:!0}).mount(n)},Qt=e.defineComponent({name:"CmdFancyBox",mixins:[te],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.$_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()},computed:{largeGalleryImage(){const t={...this.fancyBoxGallery[this.index].image};return t.src=t.srcImageLarge,t},largeSingleImage(){var n;const t={...((n=this.cmdImage)==null?void 0:n.image)||{}};return this.fancyBoxImageUrl&&(t.src=this.fancyBoxImageUrl),t}},methods:{onDialogCancel(t){if(!this.allowEscapeKey){t.preventDefault();return}this.close()},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(t=>t.cloneNode(!0)),this.$nextTick(()=>{this.$el.querySelector(".content").append(...this.fancyBoxElements)}))},async loadContent(t){(await ia(t)).startsWith("image/")?this.fancyBoxImageUrl=t:fetch(t).then(o=>o.text()).then(o=>this.fancyBoxContent=o).catch(o=>console.error(`Error loading ${this.url}: ${o}`))},showPrevItem(){this.index>0?this.index--:this.index=this.fancyBoxGallery.length-1},showItem(t){for(let n=0;n<this.fancyBoxGallery.length;n++)if(this.fancyBoxGallery[n].image.id===t){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){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(t){this.showFancyBox=t},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function ia(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const aa=Qt,sa=["aria-label"],ra={class:"flex-container"},ca={key:1,class:"button-wrapper no-flex"},da=["title"],ma=["title"],ua=["title"],ha={key:0,class:"content"},fa=["innerHTML"],pa={key:2,class:"content"},ga={key:3,class:"content"},ya={key:4,class:"content"},ka={key:0,class:"flex-container no-flex"},Ca=["title"],Ba={key:1},ba=["title"],_a={key:1};function wa(t,n,o,a,i,l){var u,f,h,y,p,k,C,b,V,g,I,S,N,E,D,T,j,F,Q,A,ne,_,K,Uo,Go,Qo,Wo,Zo,Jo;const c=M,d=x,s=Z,r=ue,m=Gt;return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("dialog",{ref:"dialog",class:e.normalizeClass(["cmd-fancybox",{"show-overlay":t.showOverlay,image:t.fancyBoxImageUrl||t.fancyBoxGallery,"image-gallery":t.fancyBoxGallery}]),"aria-label":t.ariaLabelText,onCancel:n[5]||(n[5]=(...H)=>t.onDialogCancel&&t.onDialogCancel(...H))},[e.createElementVNode("header",ra,[(u=t.cmdHeadline)!=null&&u.show?(e.openBlock(),e.createBlock(c,{key:0,headlineText:(f=t.cmdHeadline)==null?void 0:f.headlineText,headlineLevel:(h=t.cmdHeadline)==null?void 0:h.headlineLevel,id:t.htmlId},null,8,["headlineText","headlineLevel","id"])):e.createCommentVNode("",!0),((y=t.fancyboxOptions.printButtons)==null?void 0:y.color)||((p=t.fancyboxOptions.printButtons)==null?void 0:p.grayscale)||t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("div",ca,[t.showPrintButtons&&((k=t.fancyboxOptions.printButtons)==null?void 0:k.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(C=t.fancyboxOptions.printButtons.color)==null?void 0:C.tooltip,onClick:n[0]||(n[0]=e.withModifiers(H=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(d,{iconClass:(b=t.fancyboxOptions.printButtons.color)==null?void 0:b.iconClass,type:(V=t.fancyboxOptions.printButtons.color)==null?void 0:V.iconType},null,8,["iconClass","type"])],8,da)):e.createCommentVNode("",!0),t.showPrintButtons&&((g=t.fancyboxOptions.printButtons)==null?void 0:g.grayscale)?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",class:"button print-grayscale",title:(I=t.fancyboxOptions.printButtons.grayscale)==null?void 0:I.tooltip,onClick:n[1]||(n[1]=e.withModifiers(H=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(d,{iconClass:(S=t.fancyboxOptions.printButtons.grayscale)==null?void 0:S.iconClass,type:(N=t.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconType},null,8,["iconClass","type"])],8,ma)):e.createCommentVNode("",!0),t.fancyboxOptions.closeIcon?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",class:"button primary",id:"close-dialog",title:t.fancyboxOptions.closeIcon.tooltip,ref:"close-dialog",onClick:n[2]||(n[2]=e.withModifiers((...H)=>t.close&&t.close(...H),["prevent"]))},[e.createVNode(d,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,ua)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||((E=t.cmdImage)==null?void 0:E.image)?(e.openBlock(),e.createElementBlock("div",ha,[e.createVNode(s,{image:t.largeSingleImage,figcaption:(D=t.cmdImage)==null?void 0:D.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,fa)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",pa)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",ga,[e.createVNode(r,{onClick:e.withModifiers(t.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(s,{image:t.largeGalleryImage,figcaption:t.fancyBoxGallery[t.index].figcaption},null,8,["image","figcaption"]),e.createVNode(r,{onClick:e.withModifiers(t.showNextItem,["prevent"])},null,8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",ya,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",ka,[(T=t.fancyboxOptions.submitButtons)!=null&&T.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...H)=>t.cancel&&t.cancel(...H)),title:(j=t.fancyboxOptions.submitButtons.cancel)==null?void 0:j.tooltip},[(F=t.fancyboxOptions.submitButtons.cancel)!=null&&F.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Q=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Q.iconClass,type:(A=t.fancyboxOptions.submitButtons.cancel)==null?void 0:A.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(ne=t.fancyboxOptions.submitButtons.cancel)!=null&&ne.buttonText?(e.openBlock(),e.createElementBlock("span",Ba,e.toDisplayString((_=t.fancyboxOptions.submitButtons.cancel)==null?void 0:_.buttonText),1)):e.createCommentVNode("",!0)],8,Ca)):e.createCommentVNode("",!0),(K=t.fancyboxOptions.submitButtons)!=null&&K.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...H)=>t.confirm&&t.confirm(...H)),title:(Uo=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Uo.tooltip},[(Go=t.fancyboxOptions.submitButtons.confirm)!=null&&Go.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Qo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Qo.iconClass,type:(Wo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Wo.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(Zo=t.fancyboxOptions.submitButtons.confirm)!=null&&Zo.buttonText?(e.openBlock(),e.createElementBlock("span",_a,e.toDisplayString((Jo=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Jo.buttonText),1)):e.createCommentVNode("",!0)],8,ba)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,activeItemIndex:t.index},null,8,["thumbnailScrollerItems","onClick","activeItemIndex"])):e.createCommentVNode("",!0)],42,sa)])}const Sa=w(aa,[["render",wa]]),zh="",Na={name:"CmdListOfLinks",emits:["click"],props:{sectionAnchors:{type:Boolean,default:!1},activeSection:{type:Number,default:0},largeIcons:{type:Boolean,default:!1},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}},computed:{setStretchClass(){return this.largeIcons&&this.orientation==="horizontal"?"stretch":null}},methods:{getRoute(t){return U(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),he({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},xa=["href","target","onClick","title"],Ia={key:1},Ta={key:1};function Ma(t,n,o,a,i,l){const c=M,d=x,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-list-of-links",{box:o.styleAsBox,horizontal:o.orientation==="horizontal","section-anchors":o.sectionAnchors,"large-icons":o.largeIcons}])},[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["flex-container",{"no-gap":!o.useGap},"align-"+o.align,l.setStretchClass])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.links,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:o.sectionAnchors&&o.activeSection===m})},[r.type==="href"||r.type===void 0?(e.openBlock(),e.createElementBlock("a",{key:0,href:r.path,target:r.target,onClick:u=>l.executeLink(r,u),title:r.tooltip&&r.tooltip!==void 0?r.tooltip:void 0},[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",Ia,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],8,xa)):r.type==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:l.getRoute(r),title:r.tooltip},{default:e.withCtx(()=>[r.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.text?(e.openBlock(),e.createElementBlock("span",Ta,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0)],2))),128))],2)],2)}const Wt=w(Na,[["render",Ma]]),Va={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"}}}},Ea={props:{globalCurrency:{type:Object,default(){return{symbol:"\u20AC",name:"Euro"}}}}},Ah="",Ae={name:"CmdBox",mixins:[P,Va,Ea],emits:["click","toggle-collapse"],data(){return{open:this.collapsible?this.openCollapsedBox:!0,active:!0,showCutOffText:!1}},props:{openCollapsedBox:{type:Boolean,required:!1},rowView:{type:Boolean,default:!1},boxType:{type:String,default:"content"},collapsible:{type:Boolean,default:!1},cutoffTextLines:{type:Number,default:0},useDefaultPadding:{type:Boolean,default:!0},repeatHeadlineInBoxBody:{type:Boolean,default:!1},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(t){this.$emit("click",t)}},watch:{openCollapsedBox(){this.collapsible&&(this.open=this.openCollapsedBox)}}},Zt=()=>{e.useCssVars(t=>({a2eada34:t.cutoffTextLines}))},Jt=Ae.setup;Ae.setup=Jt?(t,n)=>(Zt(),Jt(t,n)):Zt;const Da=Ae,Oa=["title"],La={key:0,class:"box-header"},Fa=["src","alt"],ja={class:"text-wrapper"},Pa={key:1},za={key:3,class:"box-footer"},Aa={class:"box-header flex-container vertical"},Ha={key:0},qa=["src","alt"],Ra={key:1},Ua={key:2,class:"ribbon-new"},Ga={key:3,class:"ribbon-discount"},Qa={class:"box-body"},Wa={key:0},Za={key:1,class:"price"},Ja=["title"],Ya={key:2},Ka={class:"box-header flex-container vertical"},Xa={key:0},$a=["src","alt"],va={key:0},es={key:1},ts=["title"],os={key:0},ns={class:"box-body"},ls={key:0},is={key:1},as={key:2},ss={key:3,class:"description"},rs={class:"tags"},cs={key:0,class:"box-footer"};function ds(t,n,o,a,i,l){var r,m,u,f,h,y,p,k,C;const c=M,d=x,s=Wt;return o.boxType==="content"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-box box content",{open:i.open,collapsible:o.collapsible,"stretch-vertically":o.stretchVertically&&!o.collapsible,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}])},[o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"box-header",title:i.open?o.iconOpen.tooltip:o.iconClosed.tooltip,onClick:n[0]||(n[0]=e.withModifiers((...b)=>l.toggleContentVisibility&&l.toggleContentVisibility(...b),["prevent"]))},[(r=o.useSlots)!=null&&r.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):(m=o.cmdHeadline)!=null&&m.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createVNode(d,{iconClass:i.open?o.iconOpen.iconClass:o.iconClosed.iconClass,type:i.open?o.iconOpen.iconType:o.iconClosed.iconType},null,8,["iconClass","type"])],8,Oa)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[((u=o.useSlots)==null?void 0:u.includes("header"))||((f=o.cmdHeadline)==null?void 0:f.headlineText)?(e.openBlock(),e.createElementBlock("div",La,[(h=o.useSlots)!=null&&h.includes("header")?e.renderSlot(t.$slots,"header",{key:0}):e.createCommentVNode("",!0),(y=o.cmdHeadline)!=null&&y.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:1},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],64)),i.open?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["box-body",{"default-padding":o.useDefaultPadding}]),"aria-expanded":"true",role:"article"},[(p=o.useSlots)!=null&&p.includes("body")?e.renderSlot(t.$slots,"body",{key:0},()=>[e.createVNode(e.TransitionGroup,{name:l.toggleTransition},{default:e.withCtx(()=>[e.createElementVNode("p",{class:e.normalizeClass({"cutoff-text":o.cutoffTextLines>0,"fade-last-line":o.fadeLastLine&&!i.showCutOffText,"show-text":i.showCutOffText})},e.toDisplayString(o.textBody),3),o.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...b)=>l.toggleCutOffText&&l.toggleCutOffText(...b),["prevent"]))},e.toDisplayString(i.showCutOffText?t.getMessage("cmdbox.contentbox.collapse_text"):t.getMessage("cmdbox.contentbox.expand_text")),1)):e.createCommentVNode("",!0)]),_:1},8,["name"])]):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.image?(e.openBlock(),e.createElementBlock("img",{key:0,src:o.image.src,alt:o.image.altText},null,8,Fa)):e.createCommentVNode("",!0),e.createElementVNode("div",ja,[((k=o.cmdHeadline)==null?void 0:k.headlineText)&&o.repeatHeadlineInBoxBody?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("p",Pa,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)])],64))],2)):e.createCommentVNode("",!0),(C=o.useSlots)!=null&&C.includes("footer")?(e.openBlock(),e.createElementBlock("div",za,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)],2)):o.boxType==="product"&&o.product?(e.openBlock(),e.createElementBlock("a",{key:1,class:e.normalizeClass(["cmd-box box product",{"stretch-vertically":o.stretchVertically,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}]),href:"#",onClick:n[2]||(n[2]=e.withModifiers(b=>l.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",Aa,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Ha,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,qa),e.createElementVNode("figcaption",null,e.toDisplayString(o.product.name),1)])):(e.openBlock(),e.createElementBlock("p",Ra,e.toDisplayString(o.product.name),1)),o.product.new?(e.openBlock(),e.createElementBlock("div",Ua,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Ga,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Qa,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Wa,e.toDisplayString(t.getMessage("cmdbox.productbox.article_no"))+" "+e.toDisplayString(o.product.articleNumber),1)):e.createCommentVNode("",!0),o.product.price?(e.openBlock(),e.createElementBlock("p",Za,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,Ja)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",Ya,e.toDisplayString(o.product.description),1)):e.createCommentVNode("",!0)])],2)):o.boxType==="user"&&o.user?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["cmd-box box user",o.profileType,{"stretch-vertically":o.stretchVertically,"stretch-horizontally":o.stretchHorizontally,"row-view":o.rowView}])},[e.createElementVNode("div",Ka,[o.user.image?(e.openBlock(),e.createElementBlock("figure",Xa,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,$a),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",va,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",es,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,ts),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",os,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",ns,[o.rowView?(e.openBlock(),e.createElementBlock("p",ls,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",is,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",as,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",ss,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),e.createElementVNode("ul",rs,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(b,V)=>(e.openBlock(),e.createElementBlock("li",{key:V},e.toDisplayString(b),1))),128))]),o.user.links?(e.openBlock(),e.createElementBlock("div",cs,[e.createVNode(s,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const Yt=w(Da,[["render",ds]]),Hh="",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(t,n){return this.allowUserToToggleView&&this.oneBoxPerRow?1:typeof this.boxesPerRow=="number"?t===0?this.boxesPerRow:Math.min(this.boxesPerRow,n):this.boxesPerRow.length>t?this.boxesPerRow[t]:n},toggleCollapsingBoxes(){this.collapsingBoxesOpen=!this.collapsingBoxesOpen},boxToggled(t,n){this.currentOpenBox=n?t:0}},watch:{useRowViewAsDefault:{handler(){this.oneBoxPerRow=this.useRowViewAsDefault},immediate:!0}}},Kt=()=>{e.useCssVars(t=>({b9ce4c34:t.boxesPerRowLarge,"7c2d73ac":t.boxesPerRowMedium,b8fe989c:t.boxesPerRowSmall}))},Xt=He.setup;He.setup=Xt?(t,n)=>(Kt(),Xt(t,n)):Kt;const ms=He,us={class:"cmd-box-wrapper"},hs={class:"flex-container headline-wrapper"},fs={key:1,class:"options-wrapper"},ps=["title"],gs=["title"];function ys(t,n,o,a,i,l){const c=M,d=x;return e.openBlock(),e.createElementBlock("div",us,[e.createElementVNode("div",hs,[o.cmdHeadline.headlineText?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation||o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("div",fs,[o.allowTogglingCollapsingBoxes?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.toggleCollapsingBoxes&&l.toggleCollapsingBoxes(...s),["prevent"])),title:i.collapsingBoxesOpen?o.collapseBoxesIcon.tooltip:o.expandBoxesIcon.tooltip},[e.createVNode(d,{iconClass:i.collapsingBoxesOpen?o.expandBoxesIcon.iconClass:o.collapseBoxesIcon.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,ps)):e.createCommentVNode("",!0),o.allowUserToToggleOrientation?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[1]||(n[1]=e.withModifiers(s=>i.rowView=!i.rowView,["prevent"])),title:i.rowView?o.iconRowView.tooltip:o.iconGridView.tooltip},[e.createVNode(d,{iconClass:i.rowView?o.iconGridView.iconClass:o.iconRowView.iconClass,type:i.rowView?o.iconGridView.iconType:o.iconRowView.iconType},null,8,["iconClass","type"])],8,gs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass([o.useFlexbox?"flex-container":"grid-container-create-columns",{"row-view":i.rowView,"stretch-boxes-vertically":o.stretchBoxesVertically}])},[e.renderSlot(t.$slots,"default",{collapsingBoxesOpen:i.collapsingBoxesOpen,boxToggled:l.boxToggled,currentOpenBox:i.currentOpenBox,rowView:i.rowView})],2)])}const ks=w(ms,[["render",ys]]),qh="",Cs={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return U(t)}}},Bs={class:"cmd-breadcrumbs"},bs={key:0},_s=["href"],ws={key:1},Ss={key:1},Ns={key:2},xs={key:1},Is={key:3};function Ts(t,n,o,a,i,l){const c=x,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",Bs,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",bs,e.toDisplayString(o.breadcrumbLabel),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.breadcrumbLinks||[],(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",ws,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)],8,_s)):s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(s)},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Ss,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",Ns,[s.iconClass?(e.openBlock(),e.createBlock(c,{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)])),r<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Is,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const Ms=w(Cs,[["render",Ts]]),Rh="",Vs={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 t=document.querySelector("html");this.$_observer=new MutationObserver(this.observeDom),this.$_observer.observe(t,{attributes:!0})},beforeUnmount(){window.matchMedia("(prefers-color-scheme: light)").removeEventListener("change",this.onColorSchemeChange),this.$_observer.disconnect()},methods:{onColorSchemeChange(t){this.prefersColorScheme=t.matches?"light":"dark"},observeDom(t){for(let n=0;n<t.length;n++)if(t[n].type==="attributes"){this.toggleColorScheme();break}},getRoute(t){return U(t)},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"}}},Es={class:"cmd-company-logo"},Ds=["href","title"];function Os(t,n,o,a,i,l){var s,r,m,u,f,h;const c=Z,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",Es,[((s=o.link)==null?void 0:s.type)==="router"?(e.openBlock(),e.createBlock(d,{key:0,to:(r=o.link)==null?void 0:r.path,title:(m=o.link)==null?void 0:m.tooltip},{default:e.withCtx(()=>[e.createVNode(c,{image:l.image},null,8,["image"])]),_:1},8,["to","title"])):((u=o.link)==null?void 0:u.type)==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:(f=o.link)==null?void 0:f.path,title:(h=o.link)==null?void 0:h.tooltip},[e.createVNode(c,{image:l.image},null,8,["image"])],8,Ds)):(e.openBlock(),e.createBlock(c,{key:2,image:l.image},null,8,["image"]))])}const $t=w(Vs,[["render",Os]]),Ls={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!"}}}},Uh="",Fs={name:"CmdCookieDisclaimer",mixins:[P,Ls],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 o,a;const t=this.modelValue?[...this.modelValue]:[],n=((a=(o=this.cookieOptions)==null?void 0:o.required)==null?void 0:a.cookies)||[];for(let i=0;i<n.length;i++)t.includes(n[i].value)||t.push(n[i].value);return t},set(t){this.$emit("update:modelValue",t)}}},methods:{acceptCurrentCookies(){this.$emit("close-cookie-disclaimer",this.acceptedCookies)},acceptAllCookies(){var a,i,l,c;const t=[],n=(i=(a=this.cookieOptions)==null?void 0:a.required)==null?void 0:i.cookies;if(n)for(let d=0;d<n.length;d++)t.push(n[d].value);const o=(c=(l=this.cookieOptions)==null?void 0:l.optional)==null?void 0:c.cookies;if(o)for(let d=0;d<o.length;d++)t.push(o[d].value);this.$emit("close-cookie-disclaimer",t)},openDataPrivacy(t){t.target.target||(t.preventDefault(),fetch(t.target.href).then(n=>n.text()).then(n=>{this.dataPrivacyContent=n}))}}},js={class:"cmd-cookie-disclaimer flex-container vertical"},Ps={key:0,class:"flex-container vertical"},zs={key:0},As={key:1},Hs=["href","target"],qs=["innerHTML"],Rs=e.createElementVNode("hr",null,null,-1),Us={key:1,class:"flex-container vertical"},Gs={key:0},Qs={key:1},Ws=["href","target"],Zs=["innerHTML"],Js={class:"button-wrapper align-center"};function Ys(t,n,o,a,i,l){const c=M,d=q,s=Yt;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var r,m,u;return[e.createElementVNode("div",js,[((r=o.cmdHeadlineCookieDisclaimer)==null?void 0:r.show)&&((m=o.cmdHeadlineCookieDisclaimer)==null?void 0:m.headlineText)&&((u=o.cmdHeadlineCookieDisclaimer)==null?void 0:u.headlineLevel)?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadlineCookieDisclaimer.headlineText,headlineLevel:o.cmdHeadlineCookieDisclaimer.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"cookie-options",{},()=>{var f,h,y,p,k,C,b,V;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Ps,[(h=o.cmdBoxRequiredCookies)!=null&&h.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(y=o.cmdBoxRequiredCookies)==null?void 0:y.headlineText,"headline-level":(p=o.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(o.cookieOptions.required.cookies||[],(g,I)=>{var S;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(S=o.cmdBoxRequiredCookies)==null?void 0:S.collapsible,key:I},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=N=>l.acceptedCookies=N),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.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",zs,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",As,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Hs)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,qs)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),Rs,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",Us,[(C=o.cmdBoxOptionalCookies)!=null&&C.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(b=o.cmdBoxOptionalCookies)==null?void 0:b.headlineText,"headline-level":(V=o.cmdBoxOptionalCookies)==null?void 0:V.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(g,I)=>{var S;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(S=o.cmdBoxOptionalCookies)==null?void 0:S.collapsible,key:I},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:l.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=N=>l.acceptedCookies=N),inputValue:g.value,labelText:g.labelText,disabled:g.disabled,id:g.id,toggleSwitch:!0,title:t.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",Gs,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",Qs,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[3]||(n[3]=(...N)=>l.openDataPrivacy&&l.openDataPrivacy(...N)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Ws)])):e.createCommentVNode("",!0),i.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:i.dataPrivacyContent},null,8,Zs)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Js,[o.buttonLabelAcceptCurrentSettings?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",onClick:n[4]||(n[4]=(...f)=>l.acceptCurrentCookies&&l.acceptCurrentCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptCurrentSettings),1)])):e.createCommentVNode("",!0),o.buttonLabelAcceptAllCookies?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",class:"primary",onClick:n[5]||(n[5]=(...f)=>l.acceptAllCookies&&l.acceptAllCookies(...f))},[e.createElementVNode("span",null,e.toDisplayString(o.buttonLabelAcceptAllCookies),1)])):e.createCommentVNode("",!0)])])]}),_:3})}const Ks=w(Fs,[["render",Ys]]),Gh="",Xs={name:"CmdCopyrightWrapper"},$s={class:"cmd-copyright-information",role:"contentinfo"},vs=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function er(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",$s,vs)}const tr=w(Xs,[["render",er]]),or={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":"An option is selected","cmdfakeselect.option.options_selected":"{0} options selected"}}}},Wh="",nr={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[P,or,je,te,ze],data(){return{showOptions:!1,validationStatus:"",limitWidthStyle:{},allOptionsSelected:!1}},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"}}},iconDeselectAllOptions:{type:Object,default(){return{iconClass:"icon-cancel",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 t,n;if(this.type!=="checkboxOptions"&&this.type!=="content"&&this.modelValue){const o=this.selectData.find(a=>a.value===this.modelValue);if(o)return o.text}else if(this.type==="checkboxOptions"){if(this.modelValue.length===1)return(t=this.selectData.find(o=>String(o.value)===String(this.modelValue[0])))==null?void 0:t.text;if(this.modelValue.length>1)return this.getMessage("cmdfakeselect.option.options_selected",this.modelValue.length)}else if((n=this.selectData)!=null&&n.length)return this.selectData[0].text;return this.textPleaseSelect},optionIcon(){if(this.type==="default"){const t=this.selectData.find(n=>n.value===this.modelValue);return{iconClass:t==null?void 0:t.iconClass,tooltip:t==null?void 0:t.tooltip}}return null},optionCountry(){var t,n;return this.type==="country"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},optionColor(){var t,n;return this.type==="color"?this.modelValue||((n=(t=this.selectData)==null?void 0:t[0])==null?void 0:n.value):null},selectAllOptionsText(){return Array.isArray(this.modelValue)&&this.modelValue.length===this.selectData.length?(this.allOptionsSelected=!0,this.getMessage("cmdfakeselect.linktext.deselect_all_options")):(this.allOptionsSelected=!1,this.getMessage("cmdfakeselect.linktext.select_all_options"))}},mounted(){const t=setInterval(()=>{this.$refs.fakeselect&&(clearInterval(t),this.limitWidth())},100)},methods:{toggleAllOptions(){this.validationStatus="success";const t=[];if(this.modelValue.length===this.selectData.length)this.$attrs.required&&(this.validationStatus="error");else for(let n=0;n<this.selectData.length;n++)t.push(String(this.selectData[n].value));this.$emit("update:modelValue",t)},limitWidth(){if(this.$refs.fakeselect){const t=this.$refs.fakeselect.offsetWidth;this.limitWidthStyle={width:t/100*90+"px"}}},toggleOptions(){this.$attrs.disabled!=="disabled"&&(this.showOptions=!this.showOptions)},compareValues(t){return this.modelValue.some(n=>n===t||n===String(t))},selectOption(t){this.validationStatus="success",this.$attrs.required!==void 0&&(t||(this.validationStatus="error")),this.showOptions=!1,this.$emit("update:modelValue",t)},optionSelect(t){this.validationStatus="success";let n=[...this.modelValue];t.target.checked?n.push(t.target.value):n=n.filter(o=>o!==t.target.value&&String(o)!==t.target.value),this.$attrs.required!==void 0&&!n.length&&(this.validationStatus="error"),this.$emit("update:modelValue",n)},closeOptions(){this.showOptions=!1},pathFlag(t){return this.pathFlags+"/flag-"+t+".svg"},onBlur(){this.validationStatus="success",this.$attrs.required!==void 0&&(!this.modelValue||this.modelValue.length===0)&&(this.validationStatus="error")},getRequirementMessage(){return this.getMessage("cmdfakeselect.headline.an_option_is_selected")}},watch:{status:{handler(){this.validationStatus=this.status},immediate:!0},selectData:{handler(){var t;this.type==="default"&&((t=this.selectData)==null?void 0:t.length)&&!this.selectData.some(n=>n.value===this.modelValue)&&this.$emit("update:modelValue",this.selectData[0].value)},immediate:!0,deep:!0}}},lr=["title","aria-labelledby","aria-required"],ir={key:0,class:"label-text"},ar=["id"],sr={key:0},rr=["title","aria-errormessage","id"],cr=["aria-expanded"],dr=["title"],mr=["src","alt"],ur={key:0,role:"listbox"},hr=["aria-selected"],fr=["onClick","title"],pr={key:1},gr=["aria-expanded"],yr=["for"],kr=["value","checked","id"],Cr=["onClick"],Br=["src","alt"],br=["onClick"],_r={key:0,class:"select-all-options"};function wr(t,n,o,a,i,l){var r,m,u,f;const c=Fe,d=x,s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([i.validationStatus,"cmd-fake-select label",{color:o.type==="color","has-state":i.validationStatus&&i.validationStatus!=="none",disabled:t.$attrs.disabled}]),title:t.$attrs.title,role:"listbox","aria-labelledby":t.htmlId,"aria-required":t.$attrs.required!==void 0,ref:"fakeselect"},[o.showLabel?(e.openBlock(),e.createElementBlock("span",ir,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",sr,"*")):e.createCommentVNode("",!0)],8,ar),t.useCustomTooltip&&(i.validationStatus===""||i.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",validationStatus:i.validationStatus,validationMessage:t.getValidationMessage,relatedId:t.tooltipId,cmdListOfRequirements:t.listOfRequirements,role:i.validationStatus==="error"?"alert":"dialog"},null,8,["validationStatus","validationMessage","relatedId","cmdListOfRequirements","role"])):e.createCommentVNode("",!0),t.$attrs.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:t.useCustomTooltip?"":t.getValidationMessage,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,rr)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass({open:i.showOptions}),onClickout:n[5]||(n[5]=(...h)=>l.closeOptions&&l.closeOptions(...h)),"aria-expanded":i.showOptions},[e.createElementVNode("li",null,[e.createElementVNode("a",{href:"#",onClick:n[1]||(n[1]=e.withModifiers((...h)=>l.toggleOptions&&l.toggleOptions(...h),["prevent"])),onBlur:n[2]||(n[2]=(...h)=>l.onBlur&&l.onBlur(...h)),title:(r=l.optionIcon)==null?void 0:r.tooltip},[o.type==="country"&&l.optionCountry?(e.openBlock(),e.createElementBlock("img",{key:0,src:l.pathFlag(l.optionCountry),alt:l.optionCountry,class:e.normalizeClass(["flag",l.optionCountry])},null,10,mr)):o.type==="color"?(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle("background: "+l.optionColor)},null,4)):e.createCommentVNode("",!0),(m=l.optionIcon)!=null&&m.iconClass?(e.openBlock(),e.createBlock(d,{key:2,type:(u=l.optionIcon)==null?void 0:u.iconType,iconClass:(f=l.optionIcon)==null?void 0:f.iconClass},null,8,["type","iconClass"])):e.createCommentVNode("",!0),l.optionName?(e.openBlock(),e.createElementBlock("span",{key:3,class:"option-name",style:e.normalizeStyle(i.limitWidthStyle)},e.toDisplayString(l.optionName),5)):e.createCommentVNode("",!0),o.iconDropdown?(e.openBlock(),e.createBlock(d,{key:4,iconClass:o.iconDropdown.iconClass,type:o.iconDropdown.iconType,title:o.iconDropdown.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0)],40,dr),o.type==="default"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",ur,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,role:"option","aria-selected":h.value===o.modelValue},[o.optionLinkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue}),title:h.tooltip},[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",pr,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0)],10,fr)):e.createCommentVNode("",!0),o.optionLinkType==="router"?(e.openBlock(),e.createBlock(s,{key:1,to:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(h.text),1)]),_:2},1032,["onClick","class"])):e.createCommentVNode("",!0)],8,hr))),128))])):o.type!=="default"&&o.type!=="content"&&i.showOptions?(e.openBlock(),e.createElementBlock("ul",{key:1,class:e.normalizeClass({"checkbox-options":o.type==="checkboxOptions"}),"aria-expanded":i.showOptions},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectData,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y},[o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("label",{key:0,for:"option-"+(y+1),class:e.normalizeClass({active:o.modelValue.includes(`${h.value}`)})},[e.createElementVNode("input",{type:"checkbox",value:h.value,onChange:n[3]||(n[3]=(...p)=>l.optionSelect&&l.optionSelect(...p)),checked:l.compareValues(h.value),id:"option-"+(y+1)},null,40,kr),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,yr)):o.type==="country"?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("img",{class:"flag",src:l.pathFlag(h.value),alt:h.text},null,8,Br),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,Cr)):o.type==="color"?(e.openBlock(),e.createElementBlock("a",{key:2,href:"#",onClick:e.withModifiers(p=>l.selectOption(h.value),["prevent"]),class:e.normalizeClass({active:h.value===o.modelValue})},[e.createElementVNode("span",{class:"color",style:e.normalizeStyle("background: "+h.value)},null,4),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,br)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",_r,[e.createElementVNode("a",{href:"#",onClick:n[4]||(n[4]=e.withModifiers((...h)=>l.toggleAllOptions&&l.toggleAllOptions(...h),["prevent"]))},[i.allOptionsSelected?(e.openBlock(),e.createBlock(d,{key:1,iconClass:o.iconDeselectAllOptions.iconClass,type:o.iconDeselectAllOptions.iconType},null,8,["iconClass","type"])):(e.openBlock(),e.createBlock(d,{key:0,iconClass:o.iconSelectAllOptions.iconClass,type:o.iconSelectAllOptions.iconType},null,8,["iconClass","type"])),e.createElementVNode("span",null,e.toDisplayString(l.selectAllOptionsText),1)])])):e.createCommentVNode("",!0)],10,gr)):o.type==="content"&&i.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,cr)],10,lr)}const vt=w(nr,[["render",wr]]),Zh="",Sr={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(t){this.useValidation&&(t.preventDefault(),t.target.checkValidity()?(this.errorOccurred=!1,this.$emit("submit",t)):this.errorOccurred=!0)}}},Nr=["data-use-validation","novalidate"],xr={class:"flex-container"};function Ir(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("form",{class:e.normalizeClass(["cmd-form",{error:i.errorOccurred}]),"data-use-validation":o.useValidation,onSubmit:n[0]||(n[0]=(...c)=>l.onSubmit&&l.onSubmit(...c)),novalidate:o.novalidate},[o.useFieldset?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("fieldset",xr,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),e.renderSlot(t.$slots,"default")]),e.renderSlot(t.$slots,"button-row")],64)):e.renderSlot(t.$slots,"default",{key:1})],42,Nr)}const Tr=w(Sr,[["render",Ir]]),Jh="",Mr={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(t){this.options.splice(t,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}}},Vr={key:0,class:"cmd-form-filters"},Er={key:0},Dr={key:1},Or=["onClick","title"];function Lr(t,n,o,a,i,l){const c=x;return i.options.length?(e.openBlock(),e.createElementBlock("ul",Vr,[i.options.length>1?(e.openBlock(),e.createElementBlock("li",Er,[e.createElementVNode("a",{href:"#",onClick:n[0]||(n[0]=e.withModifiers((...d)=>l.deleteAllFilters&&l.deleteAllFilters(...d),["prevent"]))},[o.linkDeleteAllFilters.icon&&o.linkDeleteAllFilters.icon.show?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.linkDeleteAllFilters.icon.iconClass,title:o.linkDeleteAllFilters.icon.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.linkDeleteAllFilters.text?(e.openBlock(),e.createElementBlock("span",Dr,e.toDisplayString(o.linkDeleteAllFilters.text),1)):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(r=>l.deleteClickedFilter(s),["prevent"]),title:o.deleteFilterIcon.tooltip},[e.createElementVNode("span",null,e.toDisplayString(o.selectedOptionsName(d)),1),e.createVNode(c,{iconClass:o.deleteFilterIcon.iconClass,type:o.deleteFilterIcon.iconType},null,8,["iconClass","type"])],8,Or)]))),128))])):e.createCommentVNode("",!0)}const eo=w(Mr,[["render",Lr]]),Yh="",Fr={name:"CmdGoogleMaps",props:{address:{type:Object,required:!0}},computed:{locateAddress(){if(this.address){const t=new URL("https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed");return t.searchParams.set("hl","de"),t.searchParams.set("q",[this.address.streetNo,this.address.zip,this.address.city,this.address.latitude,this.address.longitude,this.address.location].join(" ").trim()),t.href}return"https://maps.google.de/maps?ie=UTF8&t=&z=17&iwloc=B&output=embed"}}},jr={class:"cmd-google-maps responsive-wrapper"},Pr=["src"];function zr(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",jr,[e.createElementVNode("iframe",{src:l.locateAddress},null,8,Pr)])}const Ar=w(Fr,[["render",zr]]);function to(t,n,o){const a=e.ref(!!(t!=null&&t.editing)),i=[];function l(){const s=[];i.forEach(r=>{const m=r();m&&s.push(m)}),c(s)}function c(s){let r=s;o&&(r=o(s)),t&&r!=null&&t.callPersistHandler(r)}function d(s){i.includes(s)||i.push(s)}return t&&t.addSaveHandler(l),e.watchEffect(()=>a.value=!!(t!=null&&t.editing)),{editing:a,props:{...(t==null?void 0:t.props)||{},...n||{}},addSaveHandler:d,save:l,callPersistHandler:c}}const Kh="",Hr={name:"CmdImageGallery",mixins:[],provide(){return{editModeContext:this.context}},inject:{editModeContext:{default:null}},props:{editModeContextData:{type:Object},cmdHeadline:{type:Object,required:!1},useFancyboxForLargeImages:{type:Boolean,default:!0},images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},data(){return{context:to(this.editModeContext,{},this.onSave)}},methods:{componentIdentifier(t){const n=[];return n.push(this.editModeContext.props.sectionId),n.push(this.editModeContextData.componentIndex),this.editModeContextData.childComponentIndex!=null&&n.push(this.editModeContextData.childComponentIndex),n.push(t),n.join(".")},showFancyBox(t){he({fancyBoxGallery:this.images,defaultGalleryIndex:t})},getMessage(){return""},onSave(t){const n=t[0].editModeContextData.imageIndex;return{editModeContextData:{...this.editModeContextData||{}},update(o){o.images[n].image={...o.images[n].image,...t[0].image},o.images[n].figcaption={...o.images[n].figcaption,...t[0].figcaption}}}}}},qr={class:"grid-container-create-columns cmd-image-gallery"},Rr=["onClick","title"];function Ur(t,n,o,a,i,l){const c=M,d=Z,s=e.resolveComponent("EditComponentWrapper");return e.openBlock(),e.createElementBlock("div",qr,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),l.editModeContext?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(o.images,(r,m)=>(e.openBlock(),e.createBlock(s,{class:"image-wrapper",key:"x"+m,componentIdentifier:l.componentIdentifier(m)},{default:e.withCtx(()=>[e.createVNode(d,{image:r.image,figcaption:r.figcaption,editModeContextData:{imageIndex:m}},null,8,["image","figcaption","editModeContextData"])]),_:2},1032,["componentIdentifier"]))),128)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.useFancyboxForLargeImages?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.images,(r,m)=>(e.openBlock(),e.createElementBlock("a",{class:"image-wrapper",key:m,href:"#",onClick:e.withModifiers(u=>l.showFancyBox(m),["prevent"]),title:l.getMessage("cmdimagegallery.tooltip.open_large_image")},[e.createVNode(d,{image:r.image,figcaption:r.figcaption},null,8,["image","figcaption"])],8,Rr))),128)):(e.openBlock(),e.createBlock(d,{key:1,image:t.image.image,figcaption:t.image.figcaption},null,8,["image","figcaption"]))],64))])}const Gr=w(Hr,[["render",Ur]]),Xh="",Qr={name:"CmdImageZoom",props:{imageSmall:{type:Object,required:!0},imageLarge:{type:Object,required:!0}},data(){return{showLargeImage:!1}},methods:{onMouseOver(t){this.showLargeImage=!0,this.$nextTick(()=>{const n=window.innerHeight-this.$el.getBoundingClientRect().y-10,o=this.$el.querySelector(".zoom-container");o.style.height=`${n}px`,oo(this,t)})},onMouseMove(t){oo(this,t)},onMouseOut(){this.showLargeImage=!1}}};function oo(t,n){const o=t.$el.querySelector(".zoom-container"),a=o.querySelector("img"),i=t.$el.querySelector(".zoom-overlay"),l=n.target.getBoundingClientRect().width,c=n.target.getBoundingClientRect().height,d=a.getBoundingClientRect().width,s=a.getBoundingClientRect().height,r=n.pageX-n.target.getBoundingClientRect().x-window.pageXOffset,m=n.pageY-n.target.getBoundingClientRect().y-window.pageYOffset,u=Math.min(l,o.getBoundingClientRect().width/d*l),f=Math.min(c,o.getBoundingClientRect().height/s*c),h=no(r-u/2,0,l-u),y=no(m-f/2,0,c-f),p=-(h*(d/l)),k=-(y*(s/c));i.style.left=`${h}px`,i.style.top=`${y}px`,i.style.width=`${u}px`,i.style.height=`${f}px`,i.style.display="block",a.style.marginLeft=`${p}px`,a.style.marginTop=`${k}px`}function no(t,n,o){return t<n?n:t>o?o:t}const Wr={class:"cmd-imagezoom flex-container"},Zr=["title"],Jr=["src","alt"],Yr={key:0,class:"zoom-container"},Kr=["src","alt"],Xr={key:1,class:"zoom-overlay"};function $r(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Wr,[e.createElementVNode("a",{href:"#",class:"no-flex thumbnails-imagezoom",title:o.imageSmall.tooltip},[e.createElementVNode("img",{src:o.imageSmall.src,alt:o.imageSmall.alt,onMouseover:n[0]||(n[0]=(...c)=>l.onMouseOver&&l.onMouseOver(...c)),onMousemove:n[1]||(n[1]=(...c)=>l.onMouseMove&&l.onMouseMove(...c)),onMouseout:n[2]||(n[2]=(...c)=>l.onMouseOut&&l.onMouseOut(...c))},null,40,Jr)],8,Zr),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",Yr,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,Kr)])):e.createCommentVNode("",!0),i.showLargeImage?(e.openBlock(),e.createElementBlock("div",Xr)):e.createCommentVNode("",!0)])}const vr=w(Qr,[["render",$r]]),$h="",ec={mixins:[je,te,ze],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 t;if(this.required){if((t=this.inputValue)!=null&&t.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(t){this.$emit("update:modelValue",t)}}},watch:{status:{handler(){this.updateStatus()},immediate:!0},modelValue:{handler(){this.updateStatus()},immediate:!0}}},tc=["aria-labelledby"],oc={class:"label-text"},nc=["id"],lc={key:0},ic=["title","aria-errormessage","id"],ac=["for"],sc=["type","id","name","value","disabled"],rc={key:1},cc={key:1,class:"flex-container no-flex"};function dc(t,n,o,a,i,l){const c=Fe,d=x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-input-group label",t.validationStatus,{inline:o.labelInline,"multiple-switch":o.multipleSwitch,disabled:o.disabled,"toggle-switch":o.toggleSwitch,"has-state":t.validationStatus}]),"aria-labelledby":t.htmlId},[e.withDirectives(e.createElementVNode("span",oc,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",lc,"*")):e.createCommentVNode("",!0)],8,nc),t.useCustomTooltip&&(t.validationStatus===""||t.validationStatus==="error")?(e.openBlock(),e.createBlock(c,{key:0,ref:"tooltip",showRequirements:t.showRequirements,cmdListOfRequirements:t.listOfRequirements,validationStatus:t.validationStatus,validationMessage:t.getValidationMessage,inputAttributes:t.$attrs,inputModelValue:o.modelValue,helplink:t.helplink,relatedId:t.tooltipId,role:t.validationStatus==="error"?"alert":"dialog"},null,8,["showRequirements","cmdListOfRequirements","validationStatus","validationMessage","inputAttributes","inputModelValue","helplink","relatedId","role"])):e.createCommentVNode("",!0),o.required||t.inputRequirements.length?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[0]||(n[0]=e.withModifiers(()=>{},["prevent"])),title:l.validationTooltip,"aria-errormessage":t.tooltipId,"aria-live":"assertive",id:t.tooltipId},[e.createVNode(d,{iconClass:t.getStatusIconClass},null,8,["iconClass"])],8,ic)):e.createCommentVNode("",!0)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",cc,[e.renderSlot(t.$slots,"default")])):(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["flex-container",{"no-flex":!o.stretchHorizontally,"no-gap":o.multipleSwitch}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.inputElements,(s,r)=>(e.openBlock(),e.createElementBlock("label",{key:r,for:s.id},[e.withDirectives(e.createElementVNode("input",{type:o.inputTypes,id:s.id,name:s.name,value:s.value,"onUpdate:modelValue":n[1]||(n[1]=m=>l.inputValue=m),disabled:o.disabled,class:e.normalizeClass({"replace-input-type":o.replaceInputType,"toggle-switch":o.toggleSwitch})},null,10,sc),[[e.vModelDynamic,l.inputValue]]),o.multipleSwitch&&s.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.labelText?(e.openBlock(),e.createElementBlock("span",rc,e.toDisplayString(s.labelText),1)):e.createCommentVNode("",!0)],8,ac))),128))],2))],10,tc)}const mc=w(ec,[["render",dc]]),vh="",uc={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(t){this.$emit("update:modelValue",{username:t,password:this.password})}},password:{get(){return this.modelValue.password},set(t){this.$emit("update:modelValue",{username:this.username,password:t})}}},methods:{modelChange(){this.$emit("update:modelValue",{username:this.username,password:this.password})},onClick(t){this.$emit("click",t)},getRoute(t){return U(t)},checkValidationStatus(t,n){t!=null&&(n==="username"?this.usernameValidationStatus=t==="success":n==="password"?this.passwordValidationStatus=t==="success":this.emailValidationStatus=t==="success")}},watch:{username(){this.modelChange()},password(){this.modelChange()}}},hc={class:"cmd-login-form flex-container"},fc={class:"flex-container"},pc={class:"option-wrapper flex-container"},gc={key:1},yc=["href"],kc={key:1},Cc=e.createTextVNode(" /> "),Bc={key:1},bc=["type","disabled"],_c={key:1},wc={class:"cmd-login-form flex-container"},Sc={class:"option-wrapper flex-container"},Nc={key:1},xc=["type","disabled"],Ic={key:1};function Tc(t,n,o,a,i,l){var m,u,f,h,y,p,k;const c=M,d=q,s=x,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",hc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendLoginForm),3),o.cmdHeadlineLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineLoginForm)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",fc,[e.createVNode(d,{element:"input",type:"text",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:l.username,"onUpdate:modelValue":n[0]||(n[0]=C=>l.username=C),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=C=>l.checkValidationStatus(C,"username"))},null,8,["name","id","modelValue","fieldIconClass","labelText","placeholder","required"]),e.createVNode(d,{element:"input",type:"password",name:o.cmdFormElementPassword.name,id:o.cmdFormElementPassword.id,fieldIconClass:o.cmdFormElementPassword.innerIconClass,modelValue:l.password,"onUpdate:modelValue":n[2]||(n[2]=C=>l.password=C),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=C=>l.checkValidationStatus(C,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",pc,[o.options.forgotPassword||o.options.createAccount?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.options.forgotPassword?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[4]||(n[4]=e.withModifiers(C=>i.sendLogin=!0,["prevent"]))},[((m=o.options.forgotPassword.icon)==null?void 0:m.show)&&((u=o.options.forgotPassword.icon)==null?void 0:u.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.forgotPassword.icon.iconClass,type:o.options.forgotPassword.icon.iconType,title:o.options.forgotPassword.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.forgotPassword.text?(e.openBlock(),e.createElementBlock("span",gc,e.toDisplayString(o.options.forgotPassword.text),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),o.options.createAccount&&o.options.createAccount.linkType==="href"?(e.openBlock(),e.createElementBlock("a",{key:1,href:o.options.createAccount.path},[((f=o.options.createAccount.icon)==null?void 0:f.show)&&((h=o.options.createAccount.icon)==null?void 0:h.iconClass)?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.createAccount.icon.iconClass,type:o.options.createAccount.icon.iconType,title:o.options.createAccount.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",kc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,yc)):o.options.createAccount&&o.options.createAccount.linkType==="router"?(e.openBlock(),e.createBlock(r,{key:2,to:o.options.createAccount.path},{default:e.withCtx(()=>[o.options.createAccount.icon&&o.options.createAccount.icon.show&&o.options.createAccount.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass(o.options.createAccount.icon.iconClass),type:o.options.createAccount.icon.iconType,title:o.options.createAccount.icon.tooltip},null,8,["class","type","title"])):e.createCommentVNode("",!0),Cc,o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",Bc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)]),_:1},8,["to"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),o.buttons.login.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:1,type:o.buttons.login.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.login.primary}]),onClick:n[5]||(n[5]=(...C)=>l.onClick&&l.onClick(...C)),disabled:l.buttonLoginDisabled},[o.buttons.login.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.buttons.login.icon.iconClass,type:o.buttons.login.icon.iconType,title:o.buttons.login.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.buttons.login.text?(e.openBlock(),e.createElementBlock("span",_c,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,bc)):e.createCommentVNode("",!0)])],512),[[e.vShow,!i.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",wc,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegendForgotLoginForm),3),o.cmdHeadlineSendLoginForm?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineSendLoginForm)),null,16)):e.createCommentVNode("",!0),e.createVNode(d,{element:"input",type:"email",fieldIconClass:o.cmdFormElementSendLogin.innerIconClass,labelText:o.cmdFormElementSendLogin.labelText,placeholder:o.cmdFormElementSendLogin.placeholder,name:o.cmdFormElementSendLogin.name,required:o.cmdFormElementSendLogin.required,id:o.cmdFormElementSendLogin.id,onValidationStatusChange:n[6]||(n[6]=C=>l.checkValidationStatus(C,"email")),modelValue:i.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=C=>i.sendLoginMail=C)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",Sc,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(C=>i.sendLogin=!1,["prevent"]))},[o.options.backToLoginForm&&o.options.backToLoginForm.icon&&o.options.backToLoginForm.icon.show&&o.options.backToLoginForm.icon.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:o.options.backToLoginForm.icon.iconClass,type:o.options.backToLoginForm.icon.iconType,title:o.options.backToLoginForm.icon.tooltip},null,8,["iconClass","type","title"])):e.createCommentVNode("",!0),o.options.backToLoginForm.text?(e.openBlock(),e.createElementBlock("span",Nc,e.toDisplayString(o.options.backToLoginForm.text),1)):e.createCommentVNode("",!0)]),o.buttons.sendLogin.linkType==="button"?(e.openBlock(),e.createElementBlock("button",{key:0,type:o.buttons.sendLogin.type==="submit"?"submit":"button",class:e.normalizeClass(["button",{primary:o.buttons.sendLogin.primary}]),disabled:l.buttonSendLoginDisabled},[(y=o.buttons.sendLogin.icon)!=null&&y.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:(p=o.buttons.sendLogin.icon)==null?void 0:p.iconClass,title:(k=o.buttons.sendLogin.icon)==null?void 0:k.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.buttons.sendLogin.text?(e.openBlock(),e.createElementBlock("span",Ic,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,xc)):e.createCommentVNode("",!0)])],512),[[e.vShow,i.sendLogin]])],64)}const Mc=w(uc,[["render",Tc]]),ef="",Vc={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},emits:["offcanvas"],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}}},offcanvasPosition:{type:String,default:"right"},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(t){t||(this.openEntry=-1),this.openSubentry=-1},executeLink(t,n,o,a){var i;if(n.target||n.path.length>1)return this.showOffcanvas=!1,!0;if((i=n==null?void 0:n.subentries)!=null&&i.length){t.preventDefault(),a?this.openSubentry=this.openSubentry===o?-1:o:(this.openEntry=this.openEntry===o?-1:o,this.openSubentry=-1);return}(n.path==="#"||n.path==="")&&(t.preventDefault(),this.$emit("click",n.path)),this.showOffcanvas=!1},getRoute(t){return U(t)},closeOffcanvasNavigation(){this.showOffcanvas=!1,document.getElementById("toggle-offcanvas").focus()},toggleOffcanvasNavigation(){this.showOffcanvas?this.closeOffcanvasNavigation():(this.showOffcanvas=!0,this.$nextTick(()=>document.getElementById("close-offcanvas").focus()))}},watch:{showOffcanvas(){this.$emit("offcanvas",{open:this.showOffcanvas})}}},Ec={key:0,class:"close-nav"},Dc=["href","title","target","onClick"],Oc={key:1},Lc={key:1},Fc=["aria-expanded"],jc=["href","title","target","onClick"],Pc={key:1},zc={key:1},Ac=["aria-expanded"],Hc=["href","title","target","onClick"],qc={key:1},Rc={key:1};function Uc(t,n,o,a,i,l){const c=x,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-main-navigation",{"hide-sub-navigation":!i.showSubNavigations,"open-off-canvas":i.showOffcanvas,"persist-on-mobile":o.persistOnMobile,"show-content-overlay":o.showContentOverlay,"off-canvas-right":o.offcanvasPosition==="right"}]),id:"main-navigation-wrapper"},[e.createElementVNode("nav",null,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-items":o.stretchMainItems})},[i.showOffcanvas?(e.openBlock(),e.createElementBlock("li",Ec,[e.createElementVNode("a",{href:"#",id:"close-offcanvas",role:"button",onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.closeOffcanvasNavigation&&l.closeOffcanvasNavigation(...s),["prevent"]))},[o.closeOffcanvas.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:o.closeOffcanvas.iconClass,type:o.closeOffcanvas.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.closeOffcanvas.showText})},e.toDisplayString(o.closeOffcanvas.text),3)])])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.navigationEntries,(s,r)=>{var m,u,f;return e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:s.active,open:i.openEntry===r,"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:h=>l.executeLink(h,s,r),onMouseover:n[1]||(n[1]=h=>l.closeAllSubentries()),onFocus:n[2]||(n[2]=h=>l.closeAllSubentries())},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Oc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),(u=s==null?void 0:s.subentries)!=null&&u.length?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,Dc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Lc,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",o.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":i.openEntry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.subentries,(h,y)=>(e.openBlock(),e.createElementBlock("li",{key:y,class:e.normalizeClass({open:i.openSubentry===y})},[h.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:h.path,title:h.tooltip,target:h.target,onClick:p=>l.executeLink(p,h,y,1),onMouseover:n[3]||(n[3]=p=>l.closeAllSubentries(1)),onFocus:n[4]||(n[4]=p=>l.closeAllSubentries(1))},[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",Pc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],40,jc)):e.createCommentVNode("",!0),h.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(h),title:h.tooltip},{default:e.withCtx(()=>[h.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:h.iconClass,type:h.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),h.text?(e.openBlock(),e.createElementBlock("span",zc,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0),h.subentries&&h.subentries.length>0?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(["subentry-icon",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0),h.subentries?(e.openBlock(),e.createElementBlock("ul",{key:2,"aria-expanded":i.openSubentry?"true":"false"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.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=>l.executeLink(C,p)},[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",qc,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",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)],8,Hc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(p),target:p.target},{default:e.withCtx(()=>[p.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:p.iconClass,type:p.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),p.text?(e.openBlock(),e.createElementBlock("span",Rc,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",o.subentriesIconClass])},null,2)):e.createCommentVNode("",!0)]),_:2},1032,["to","target"])):e.createCommentVNode("",!0)]))),128))],8,Ac)):e.createCommentVNode("",!0)],2))),128))],8,Fc)):e.createCommentVNode("",!0)],2)}),128))],2)]),o.persistOnMobile===!1?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button",id:"toggle-offcanvas",onClick:n[5]||(n[5]=e.withModifiers((...s)=>l.toggleOffcanvasNavigation&&l.toggleOffcanvasNavigation(...s),["prevent"]))},[e.createVNode(c,{iconClass:o.buttonOffcanvas.iconClass,type:o.buttonOffcanvas.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.buttonOffcanvas.showText})},e.toDisplayString(o.buttonOffcanvas.text),3)])):e.createCommentVNode("",!0)],2)}const lo=w(Vc,[["render",Uc]]),tf="",Gc={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(t,n){this.activeLink=n,this.$emit("click",{event:t,index:n,stepPath:this.multisteps[n].path})},getRoute(t){return U(t)}}},Qc={class:"cmd-multistep-form-progress-bar"},Wc=["href","onClick","title"],Zc={key:0,class:"number"},Jc={key:2},Yc={key:0,class:"number"},Kc={key:2},Xc=["type","name","title","formaction","onClick"],$c={key:0,class:"number"},vc={key:2};function ed(t,n,o,a,i,l){const c=x,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",Qc,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.multisteps,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:i.activeLink===r})},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.path,onClick:e.withModifiers(m=>l.clickedStep(m,r),["stop","prevent"]),title:s.tooltip},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Zc,e.toDisplayString(r+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Jc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Wc)):e.createCommentVNode("",!0),s.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:l.getRoute(s),title:s.tooltip},{default:e.withCtx(()=>[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",Yc,e.toDisplayString(r+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",Kc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.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=>l.clickedStep(m,r),["stop","prevent"])},[o.showStepNumber?(e.openBlock(),e.createElementBlock("span",$c,e.toDisplayString(r+1),1)):e.createCommentVNode("",!0),s.iconClass?(e.openBlock(),e.createBlock(c,{key:1,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.text?(e.openBlock(),e.createElementBlock("span",vc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Xc)):e.createCommentVNode("",!0)],2))),128))])}const td=w(Gc,[["render",ed]]),of="";function od(t,n,o,a=!0){function i(l,c){return c&&l<10?"0"+l:l}return(l,c)=>{if(o){let d=l,s=n;return d>12&&(d-=12,s=o),i(d,a)+t+i(c,!0)+s}return i(l,a)+t+i(c,!0)+n}}const nd={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 t=[];for(let n=0;n<this.openingHours.length;n++){const o={},a=this.openingHours[n].fromTime.split(/[:.]/),i=this.openingHours[n].tillTime.split(/[:.]/);o.day=this.openingHours[n].day,o.fromTime={hours:parseInt(a[0]),mins:parseInt(a[1])},o.tillTime={hours:parseInt(i[0]),mins:parseInt(i[1])},t.push(o)}return t},isClosed(){if(!this.componentHandlesClosedStatus)return this.closed;let t=this.currentTime.getDay();t===0?t=6:t-=1;const n=this.openingHoursFormatted[t];if(this.openingHoursFormatted[t]){const o=new Date;o.setHours(n.fromTime.hours,n.fromTime.mins);const a=new Date;if(a.setHours(n.tillTime.hours,n.tillTime.mins),o<=this.currentTime&&this.currentTime<=a)return!1}return!0}},methods:{getTime(t){return this.timeFormatter?this.timeFormatter(t.hours,t.mins):od(":"," hrs","",!1)(t.hours,t.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},ld={class:"cmd-opening-hours"},id=["href"],ad={key:3},sd={key:0},rd={key:1};function cd(t,n,o,a,i,l){var s,r;const c=M,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",ld,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.link&&((s=o.link)==null?void 0:s.path)&&((r=o.link)==null?void 0:r.show)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:o.link.path,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),11,id)):e.createCommentVNode("",!0),o.link.type==="router"?(e.openBlock(),e.createBlock(d,{key:1,to:o.link.path,class:e.normalizeClass({closed:l.isClosed})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.textOpenClosed),1)]),_:1},8,["to","class"])):e.createCommentVNode("",!0),o.link.type==="button"?(e.openBlock(),e.createElementBlock("button",{key:2,class:e.normalizeClass(["button",{closed:l.isClosed}])},e.toDisplayString(l.textOpenClosed),3)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({closed:l.isClosed})},e.toDisplayString(l.textOpenClosed),3)),e.createElementVNode("dl",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.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(l.getTime(m.fromTime))+"\u2013"+e.toDisplayString(l.getTime(m.tillTime)),1)],64))),128))]),o.textHolidaysClosed||o.textMiscInfo?(e.openBlock(),e.createElementBlock("div",ad,[o.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",sd,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidaysClosed),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",rd,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const dd=w(nd,[["render",cd]]),md={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},nf="",ud={name:"CmdPager",mixins:[P,md],emits:["click"],data(){return{currentPage:1}},props:{pages:{type:Number,required:!0},itemsPerPage:{type:Number,required:!0},showPageNumbers:{type:Boolean,default:!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(t){return this.linkType!=="href"||this.currentPage===t?null:"#"},showPage(t){this.currentPage=t,this.$emit("click",t)},nextPage(){this.currentPage<this.numberOfPages&&this.showPage(this.currentPage+1)},previousPage(){this.currentPage>1&&this.showPage(this.currentPage-1)}}},hd={class:"cmd-pager"},fd=["href","title"],pd={key:0},gd={class:"page-index"},yd={class:"flex-container"},kd=["href","title","onClick"],Cd=["href","title"],Bd={key:0};function bd(t,n,o,a,i,l){const c=x;return e.openBlock(),e.createElementBlock("div",hd,[e.createElementVNode("a",{href:l.getPreviousHref,class:e.normalizeClass(["page-change",{disabled:i.currentPage===1,button:o.linkType==="button"}]),onClick:n[0]||(n[0]=e.withModifiers((...d)=>l.previousPage&&l.previousPage(...d),["prevent"])),title:o.prevLink.showText?null:o.prevLink.text},[e.createVNode(c,{iconClass:o.prevLink.iconClass,type:o.prevLink.iconType},null,8,["iconClass","type"]),o.prevLink.showText?(e.openBlock(),e.createElementBlock("span",pd,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,fd),e.createElementVNode("div",gd,[e.createElementVNode("div",yd,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.pages,(d,s)=>(e.openBlock(),e.createElementBlock("a",{href:l.getHref(d),class:e.normalizeClass({disabled:i.currentPage===s+1,button:o.linkType==="button"}),title:i.currentPage!==s+1?t.getMessage("cmdpager.tooltip.go_to_page",s+1):t.getMessage("cmdpager.tooltip.not_possible"),key:s,onClick:e.withModifiers(r=>l.showPage(d),["stop","prevent"]),"aria-live":"polite"},[e.createElementVNode("span",{class:e.normalizeClass({hidden:!o.showPageNumbers})},e.toDisplayString(s+1),3)],10,kd))),128))])]),e.createElementVNode("a",{href:l.getNextHref,class:e.normalizeClass(["page-change",{disabled:i.currentPage===l.numberOfPages,button:o.linkType==="button"}]),onClick:n[1]||(n[1]=e.withModifiers((...d)=>l.nextPage&&l.nextPage(...d),["prevent"])),title:o.nextLink.showText?null:o.nextLink.text},[o.nextLink.showText?(e.openBlock(),e.createElementBlock("span",Bd,e.toDisplayString(o.nextLink.text),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:o.nextLink.iconClass,type:o.nextLink.iconType},null,8,["iconClass","type"])],10,Cd)])}const _d=w(ud,[["render",bd]]),lf="",wd={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}}},Sd=["for"],Nd={class:"progressbar"},xd={key:0},Id=["id","value"];function Td(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("label",{class:"cmd-progressbar",for:o.id},[e.createElementVNode("span",{class:e.normalizeClass(["label-text",{hidden:!o.showLabel}])},e.toDisplayString(o.labelText),3),e.createElementVNode("span",Nd,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",xd,e.toDisplayString(i.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:i.loadingStatus}),null,16,Id)])],8,Sd)}const Md=w(wd,[["render",Td]]),af="",Vd={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!"},textAlign:{type:String,default:"left"},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(t=>t.path)}},methods:{getUrl(t){return this.userMustAcceptDataPrivacy&&this.dataPrivacyAccepted?this.appendPage?this.page?t.path+encodeURIComponent(this.page):t.path+encodeURIComponent(location.href):t.path:"#"},preventOnDisabled(t){let n=t.target;n.tagName!=="A"&&(n=n.closest("a")),n.getAttribute("href")==="#"&&t.preventDefault()},tooltip(t){return this.userMustAcceptDataPrivacy?this.dataPrivacyAccepted?t:this.tooltipAcceptDataPrivacy:t}}},Ed=["id","href","title"],Dd={key:1};function Od(t,n,o,a,i,l){const c=M,d=q,s=x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-social-networks",{stretch:o.stretchButtons,"align-right":o.align==="right"}])},[o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),o.userMustAcceptDataPrivacy?(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox","toggle-switch":o.cmdFormElement.toggleSwitch,labelText:o.cmdFormElement.labelText,required:o.cmdFormElement.required,modelValue:i.dataPrivacyAccepted,"onUpdate:modelValue":n[0]||(n[0]=r=>i.dataPrivacyAccepted=r)},null,8,["toggle-switch","labelText","required","modelValue"])):e.createCommentVNode("",!0),e.createElementVNode("ul",{class:e.normalizeClass(["button-wrapper no-flex",{"no-gap":!o.useGap}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.validNetworks,r=>(e.openBlock(),e.createElementBlock("li",null,[(e.openBlock(),e.createElementBlock("a",{key:r.path,class:e.normalizeClass(["button",{disabled:o.userMustAcceptDataPrivacy&&!i.dataPrivacyAccepted},{"text-align-right":o.textAlign==="right"}]),id:r.id,href:l.getUrl(r),onClick:n[1]||(n[1]=(...m)=>l.preventOnDisabled&&l.preventOnDisabled(...m)),target:"_blank",title:l.tooltip(r.tooltip)},[r.iconClass?(e.openBlock(),e.createBlock(s,{key:0,iconClass:r.iconClass,type:r.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),r.linkText?(e.openBlock(),e.createElementBlock("span",Dd,e.toDisplayString(r.linkText),1)):e.createCommentVNode("",!0)],10,Ed))]))),256))],2)],2)}const Ld=w(Vd,[["render",Od]]),sf="",Fd={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},jd={class:"cmd-site-footer"};function Pd(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",jd,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const zd=w(Fd,[["render",Pd]]),rf="",Ad={name:"CmdSiteHeader",emits:["offcanvas"],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}},methods:{emitOffcanvasStatus(t){this.$emit("offcanvas",t)}}},Hd={key:0,class:"top-header"};function qd(t,n,o,a,i,l){var s,r,m,u,f,h,y,p,k;const c=$t,d=lo;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-site-header",{sticky:o.sticky,"navigation-inline":o.navigationInline,"off-canvas-right":((s=o.cmdMainNavigation)==null?void 0:s.offcanvasPosition)==="right"}]),role:"banner"},[t.$slots.topheader?(e.openBlock(),e.createElementBlock("div",Hd,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((m=(r=o.cmdMainNavigation)==null?void 0:r.navigationEntries)==null?void 0:m.length)&&o.navigationInline||t.$slots.navigation}])},[t.$slots.logo||t.$slots.header||t.$slots.navigation?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"logo"),e.renderSlot(t.$slots,"header"),e.renderSlot(t.$slots,"navigation")],64)):e.createCommentVNode("",!0),o.cmdCompanyLogo||((f=(u=o.cmdMainNavigation)==null?void 0:u.navigationEntries)==null?void 0:f.length)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.cmdCompanyLogo?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdCompanyLogo)),null,16)):e.createCommentVNode("",!0),((y=(h=o.cmdMainNavigation)==null?void 0:h.navigationEntries)==null?void 0:y.length)&&o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),((k=(p=o.cmdMainNavigation)==null?void 0:p.navigationEntries)==null?void 0:k.length)&&!o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,offcanvasPosition:o.cmdMainNavigation.offcanvasPosition,closeOffcanvas:o.closeOffcanvas,onOffcanvas:l.emitOffcanvasStatus},null,8,["navigationEntries","offcanvasPosition","closeOffcanvas","onOffcanvas"])):e.createCommentVNode("",!0)],2)}const Rd=w(Ad,[["render",qd]]),Ud={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"}}}},cf="",Gd={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[P,Ud],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(t){this.$emit("update:modelValueInput1",t)}},searchValue2:{get(){return this.modelValueInput2},set(t){this.$emit("update:modelValueInput2",t)}},radius:{get(){return this.modelValueRadius},set(t){this.$emit("update:modelValueRadius",t)}},searchFilters:{get(){return this.modelValueSearchFilters},set(t){this.$emit("update:modelValueSearchFilters",t)}},buttonSearchDisabled(){const t=!this.cmdFormElementInput1.required||this.searchValue1.trim(),n=!this.cmdFormElementInput2.show||!this.cmdFormElementInput2.required||this.searchValue2.trim(),o=!this.cmdFormElementRadius.show||!this.cmdFormElementRadius.required||this.radius;return!(t&&n&&o)}},methods:{onSearchButtonClick(){this.$emit("search",{searchValue1:this.searchValue1,searchValue2:this.searchValue2,searchFilters:this.searchFilters,radius:this.radius})},getOptionName(t){for(let n=0;n<this.cmdFakeSelect.selectData.length;n++)if(t===this.cmdFakeSelect.selectData[n].value)return this.cmdFakeSelect.selectData[n].text;return null}},watch:{cmdFormElementRadius:{handler(){var t,n;((t=this.cmdFormElementRadius)==null?void 0:t.selectOptions)&&((n=this.cmdFormElementRadius)==null?void 0:n.selectOptions.length)&&this.modelValueRadius==null&&(this.radius=this.cmdFormElementRadius.selectOptions[0].value)},immediate:!0,deep:!0}}},Qd={class:"cmd-box-site-search flex-container"},Wd={class:"flex-container align-bottom"},Zd={class:"input-wrapper align-bottom"},Jd={key:0},Yd={key:1},Kd={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Xd(t,n,o,a,i,l){var u,f,h,y,p,k,C,b,V,g;const c=M,d=q,s=x,r=vt,m=eo;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Qd,[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadline?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadline)),null,16)):e.createCommentVNode("",!0),e.createElementVNode("div",Wd,[e.createVNode(d,{element:"input",type:o.cmdFormElementInput1.type,"show-label":o.cmdFormElementInput1.showLabel,labelText:o.cmdFormElementInput1.labelText,placeholder:o.cmdFormElementInput1.placeholder,required:o.cmdFormElementInput1.required,showSearchButton:o.cmdFormElementInput1.showSearchButton,modelValue:l.searchValue1,"onUpdate:modelValue":n[0]||(n[0]=I=>l.searchValue1=I)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Zd,[o.cmdFormElementInput2.show?(e.openBlock(),e.createBlock(d,{key:0,element:"input",type:o.cmdFormElementInput2.type,"show-label":o.cmdFormElementInput2.showLabel,labelText:o.cmdFormElementInput2.labelText,placeholder:o.cmdFormElementInput2.placeholder,required:o.cmdFormElementInput2.required,modelValue:l.searchValue2,"onUpdate:modelValue":n[1]||(n[1]=I=>l.searchValue2=I)},null,8,["type","show-label","labelText","placeholder","required","modelValue"])):e.createCommentVNode("",!0),o.cmdFormElementRadius.show?(e.openBlock(),e.createBlock(d,{key:1,element:"select",class:"no-flex",modelValue:l.radius,"onUpdate:modelValue":n[2]||(n[2]=I=>l.radius=I),"show-label":o.cmdFormElementRadius.showLabel,labelText:o.cmdFormElementRadius.labelText,"select-options":o.cmdFormElementRadius.selectOptions,required:o.cmdFormElementRadius.required},null,8,["modelValue","show-label","labelText","select-options","required"])):e.createCommentVNode("",!0)]),e.createVNode(d,{element:"button",class:"stretch-on-small-devices",nativeButton:o.cmdFormElementSearchButton,onClick:l.onSearchButtonClick,disabled:l.buttonSearchDisabled,"aria-live":"assertive"},null,8,["nativeButton","onClick","disabled"])]),(u=o.cmdFakeSelect)!=null&&u.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("a",{href:"#",onClick:n[3]||(n[3]=e.withModifiers(I=>i.showFilters=!i.showFilters,["prevent"]))},[e.createVNode(s,{iconClass:i.showFilters?(h=(f=o.cmdIcon)==null?void 0:f.showFilters)==null?void 0:h.iconClass:(p=(y=o.cmdIcon)==null?void 0:y.hideFilters)==null?void 0:p.iconClass,type:i.showFilters?(C=(k=o.cmdIcon)==null?void 0:k.showFilters)==null?void 0:C.iconType:(V=(b=o.cmdIcon)==null?void 0:b.hideFilters)==null?void 0:V.iconType},null,8,["iconClass","type"]),i.showFilters?(e.openBlock(),e.createElementBlock("span",Jd,e.toDisplayString(t.getMessage("cmdsitesearch.hide_filter_options")),1)):(e.openBlock(),e.createElementBlock("span",Yd,e.toDisplayString(t.getMessage("cmdsitesearch.show_filter_options")),1))]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var I,S,N,E,D;return[i.showFilters&&((I=o.cmdFakeSelect)==null?void 0:I.selectData.length)?(e.openBlock(),e.createElementBlock("div",Kd,[e.createVNode(r,{role:"option",selectData:(S=o.cmdFakeSelect)==null?void 0:S.selectData,modelValue:l.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=T=>l.searchFilters=T),defaultOptionName:(N=o.cmdFakeSelect)==null?void 0:N.defaultOptionName,type:(E=o.cmdFakeSelect)==null?void 0:E.type,labelText:(D=o.cmdFakeSelect)==null?void 0:D.labelText},null,8,["selectData","modelValue","defaultOptionName","type","labelText"])])):e.createCommentVNode("",!0)]}),_:1})],64)):e.createCommentVNode("",!0)]),(g=o.cmdFakeSelect)!=null&&g.show?(e.openBlock(),e.createBlock(m,{key:0,modelValue:l.searchFilters,"onUpdate:modelValue":n[5]||(n[5]=I=>l.searchFilters=I),selectedOptionsName:l.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const $d=w(Gd,[["render",Xd]]),df="",vd={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(t){t>=0&&t<this.slideshowItems.length&&(this.index=t)},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}}},em=["href","title"],tm={key:0},om=["onClick","aria-label"],nm={key:1};function lm(t,n,o,a,i,l){const c=ue,d=Z;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-slideshow",{"full-width":i.fullWidth}])},[e.createElementVNode("div",{class:"inner-slideshow-wrapper",onMouseenter:n[0]||(n[0]=s=>i.pause=!0),onMouseleave:n[1]||(n[1]=s=>i.pause=!1)},[e.createVNode(c,{onClick:e.withModifiers(l.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"fade"},{default:e.withCtx(()=>{var s,r,m,u,f,h,y,p,k,C;return[l.currentItem?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.useSlot?(e.openBlock(),e.createElementBlock("div",{class:"image-wrapper",key:i.index,style:e.normalizeStyle("background-image: url("+l.currentItem.image.srcLarge+")")},[e.renderSlot(t.$slots,"item"+i.currentSlotItem)],4)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(r=(s=l.currentItem)==null?void 0:s.link)!=null&&r.href?(e.openBlock(),e.createElementBlock("a",{href:(u=(m=l.currentItem)==null?void 0:m.link)==null?void 0:u.href,title:(h=(f=l.currentItem)==null?void 0:f.link)==null?void 0:h.tooltip,key:i.index},[e.createVNode(d,{image:(y=l.currentItem)==null?void 0:y.image,figcaption:(p=l.currentItem)==null?void 0:p.figcaption},null,8,["image","figcaption"])],8,em)):(e.openBlock(),e.createBlock(d,{image:(k=l.currentItem)==null?void 0:k.image,figcaption:(C=l.currentItem)==null?void 0:C.figcaption,key:i.index},null,8,["image","figcaption"]))],64))],64)):e.createCommentVNode("",!0)]}),_:3}),e.createVNode(c,{onClick:e.withModifiers(l.showNextItem,["prevent"])},null,8,["onClick"]),o.showQuickLinkIcons?(e.openBlock(),e.createElementBlock("ol",tm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.slideshowItems,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,class:e.normalizeClass({active:r===i.index})},[e.createElementVNode("a",{href:"#",onClick:e.withModifiers(m=>i.index=r,["prevent"]),"aria-label":i.index},null,8,om)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",nm,e.toDisplayString(i.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const im=w(vd,[["render",lm]]),am=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"})),pf="",sm={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return U(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(am[n].default)})},immediate:!0,deep:!0}}},rm={class:"cmd-switch-language"},cm=["href","title","onClick"],dm=["src","alt"],mm=["src","alt"];function um(t,n,o,a,i,l){const c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",rm,[e.createElementVNode("ul",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.languages,(d,s)=>(e.openBlock(),e.createElementBlock("li",{key:s},[d.link.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:d.link.path,class:e.normalizeClass(["flag",d.iso2,{active:l.activeLanguage(d)}]),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},[e.createElementVNode("img",{src:i.imageSources[s],alt:d.name},null,8,dm)],10,cm)):(e.openBlock(),e.createBlock(c,{key:1,class:e.normalizeClass(["flag",d.iso2]),to:l.getRoute(d),title:d.tooltip,onClick:r=>t.$emit("click",{originalEvent:r,language:d})},{default:e.withCtx(()=>[e.createElementVNode("img",{src:i.imageSources[s],alt:d.name},null,8,mm)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const hm=w(sm,[["render",um]]),gf="",fm={name:"CmdSystemMessage",mixins:[te],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-circle",tooltip:"Close this message"}}}},computed:{headlineIcon(){return this.iconMessage.show?{iconClass:this.iconMessage.iconClass,type:this.iconMessage.type}:null}},watch:{message(){this.showSystemMessage=!0}}},pm=["role","aria-labelledby"],gm=["title"];function ym(t,n,o,a,i,l){const c=x,d=M;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":o.fullWidth},o.validationStatus]),role:o.validationStatus==="error"?"alert":"dialog","aria-labelledby":t.htmlId},[o.iconClose.show&&o.iconClose.iconClass?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[0]||(n[0]=e.withModifiers(s=>i.showSystemMessage=!1,["prevent"])),title:o.iconClose.tooltip},[e.createVNode(c,{iconClass:o.iconClose.iconClass,type:o.iconClose.iconType},null,8,["iconClass","type"])],8,gm)):e.createCommentVNode("",!0),e.createVNode(d,{class:"message-headline",headlineIcon:l.headlineIcon,headlineText:o.systemMessage,headlineLevel:o.messageHeadlineLevel,id:t.htmlId},null,8,["headlineIcon","headlineText","headlineLevel","id"]),e.renderSlot(t.$slots,"default")],10,pm)):e.createCommentVNode("",!0)]),_:3})}const io=w(fm,[["render",ym]]),yf="",km={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 t,n;return this.hideCaption?!1:((t=this.tableData.caption)==null?void 0:t.text)||((n=this.caption)==null?void 0:n.text)},hideCaption(){var t,n,o;return((t=this.caption)==null?void 0:t.show)===!1||((n=this.caption)==null?void 0:n.show)!==!0&&!((o=this.tableData.caption)!=null&&o.show)}}},Cm={key:0,class:"button-wrapper"},Bm=["title"],bm=["title"],_m={class:"inner-wrapper"},wm={"aria-expanded":"true"},Sm={key:0,"aria-expanded":"true"};function Nm(t,n,o,a,i,l){var d,s,r,m;const c=x;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-table-wrapper",{collapsed:!i.showTableData,"full-width":i.fullWidth,"has-caption":l.hasCaption}])},[o.collapsible||o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("div",Cm,[o.userCanToggleWidth?(e.openBlock(),e.createElementBlock("a",{key:0,class:"button",href:"#",onClick:n[0]||(n[0]=e.withModifiers(u=>i.fullWidth=!i.fullWidth,["prevent"])),title:o.iconToggleWidth.tooltip},[e.createVNode(c,{iconClass:o.iconToggleWidth.iconClass,type:o.iconToggleWidth.iconType},null,8,["iconClass","type"])],8,Bm)):e.createCommentVNode("",!0),o.collapsible?(e.openBlock(),e.createElementBlock("a",{key:1,class:"button",href:"#",onClick:n[1]||(n[1]=e.withModifiers(u=>i.showTableData=!i.showTableData,["prevent"])),title:i.showTableData?o.iconCollapse.tooltip:o.iconExpand.tooltip},[e.createVNode(c,{iconClass:i.showTableData?o.iconCollapse.iconClass:o.iconExpand.iconClass,type:i.showTableData?o.iconCollapse.iconType:o.iconExpand.iconType},null,8,["iconClass","type"])],8,bm)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",_m,[e.createElementVNode("table",{class:e.normalizeClass({"full-width":i.fullWidth})},[((d=o.tableData.caption)==null?void 0:d.text)||((s=o.caption)==null?void 0:s.text)?(e.openBlock(),e.createElementBlock("caption",{key:0,class:e.normalizeClass({hidden:l.hideCaption})},e.toDisplayString(((r=o.caption)==null?void 0:r.text)||((m=o.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(o.tableData.thead,(u,f)=>(e.openBlock(),e.createElementBlock("th",{key:f},e.toDisplayString(u),1))),128))])]),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("tbody",wm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tbody,(u,f)=>(e.openBlock(),e.createElementBlock("tr",{class:e.normalizeClass({active:o.tableData.rowIndexHighlighted===f}),key:f},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u,(h,y)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===y}),key:y},e.toDisplayString(h),3))),128))],2))),128))],512),[[e.vShow,i.showTableData]])]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[o.tableData.tfoot&&o.tableData.tfoot.length&&i.showTableData?(e.openBlock(),e.createElementBlock("tfoot",Sm,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tableData.tfoot,(u,f)=>(e.openBlock(),e.createElementBlock("td",{class:e.normalizeClass({active:o.tableData.columnIndexHighlighted===f}),key:f},e.toDisplayString(u),3))),128))])])):e.createCommentVNode("",!0)]),_:1})],2)])],2)}const xm=w(km,[["render",Nm]]),Im={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},bf="";yt(Sm);const Im={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(t){this.showTab=t,this.$emit("active-tab",t)}},watch:{activeTab(){this.showTab=this.activeTab}}},xm={class:"cmd-tabs"},Tm=["onClick","title"],Mm={key:1},Vm={key:1,"aria-live":"assertive"},Em=["innerHTML"];function Dm(t,n,o,a,l,i){const c=I,d=M;return e.openBlock(),e.createElementBlock("div",xm,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":o.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,role:"tab"},[e.createElementVNode("a",{class:e.normalizeClass({active:l.showTab===r}),onClick:e.withModifiers(m=>i.setActiveTab(r),["prevent"]),title:s.name?void 0:s.tooltip,href:"#"},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.name?(e.openBlock(),e.createElementBlock("span",Mm,e.toDisplayString(s.name),1)):e.createCommentVNode("",!0)],10,Tm)]))),128))],2),o.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.tabs.length,s=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:s,"aria-live":"assertive"},[e.renderSlot(t.$slots,"tab-content-"+(s-1))])),[[e.vShow,l.showTab===s-1]])),128)):(e.openBlock(),e.createElementBlock("div",Vm,[o.cmdHeadline?(e.openBlock(),e.createBlock(d,e.mergeProps({key:0},o.cmdHeadline,{headlineText:o.tabs[l.showTab].headlineText,headlineLevel:o.tabs[l.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:o.tabs[l.showTab].htmlContent},null,8,Em)]))])}const Om=b(Im,[["render",Dm]]),Lm={name:"CmdTextBlock",data(){return{editableHtmlHeadline:"",editableText:"",editableHtmlContent:""}},props:{editContent:{type:Boolean,default:!1},cmdHeadline:{type:Object,required:!1},textContent:{type:String,required:!1},htmlContent:{type:String,required:!0}}},jm={class:"cmd-text-block flex-container vertical"},Fm={key:3},Pm=["innerHTML"];function zm(t,n,o,a,l,i){const c=M;return e.openBlock(),e.createElementBlock("div",jm,[o.editContent?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,class:"edit-mode headline",type:"text","onUpdate:modelValue":n[0]||(n[0]=d=>l.editableHtmlHeadline=d)},null,512)),[[e.vModelText,l.editableHtmlHeadline]]):o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:1,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),o.editContent?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:2,class:"edit-mode",type:"text","onUpdate:modelValue":n[1]||(n[1]=d=>l.editableText=d)},null,512)),[[e.vModelText,l.editableText]]):e.createCommentVNode("",!0),o.textContent?(e.openBlock(),e.createElementBlock("p",Fm,e.toDisplayString(o.textContent),1)):e.createCommentVNode("",!0),o.editContent?e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:4,class:"edit-mode","onUpdate:modelValue":n[2]||(n[2]=d=>l.editableHtmlContent=d)},null,512)),[[e.vModelText,l.editableHtmlContent]]):o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:5,innerHTML:o.htmlContent},null,8,Pm)):e.createCommentVNode("",!0)])}const Am=b(Lm,[["render",zm]]),wf="",Hm={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkMode:{default(){return{iconClass:"icon-moon",iconType:"auto"}}},iconLightMode:{default(){return{iconClass:"icon-sun",iconType:"auto"}}},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 t=window.matchMedia("(prefers-color-scheme: dark)");t.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(t),this.$nextTick(()=>{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(t){this.darkMode=t.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(t){this.darkMode=t.detail==="dark-mode"},toggleColorScheme(){this.darkMode=!this.darkMode,this.setColorScheme()}},computed:{labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode},iconClass(){return this.darkMode?this.iconDarkMode.iconClass:this.iconLightMode.iconClass},iconType(){return this.darkMode?this.iconDarkMode.iconType:this.iconLightMode.iconType}},watch:{darkMode:{handler(){const t=document.documentElement;this.darkMode?t.classList.replace("light-mode","dark-mode"):t.classList.replace("dark-mode","light-mode"),t.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},qm={key:0};function Rm(t,n,o,a,l,i){const c=I,d=U;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":o.useStyledLayout,"dark-mode":l.darkMode}])},[o.styledAsButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button",{"dark-mode":l.darkMode}]),onClick:n[0]||(n[0]=e.withModifiers((...s)=>i.toggleColorScheme&&i.toggleColorScheme(...s),["prevent"]))},[o.showLabel?(e.openBlock(),e.createElementBlock("span",qm,e.toDisplayString(i.labelText),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:i.iconClass,type:i.iconType,tooltip:o.showLabel?"":i.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox",labelText:i.labelText,showLabel:o.showLabel,modelValue:l.darkMode,"onUpdate:modelValue":[n[1]||(n[1]=s=>l.darkMode=s),i.setColorScheme],"toggle-switch":!0,title:o.showLabel?"":i.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],2)}const Um=b(Hm,[["render",Rm]]),Gm={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 te(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function Qm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var io={exports:{}},qe={exports:{}},ao=function(n,o){return function(){for(var l=new Array(arguments.length),i=0;i<l.length;i++)l[i]=arguments[i];return n.apply(o,l)}},Wm=ao,G=Object.prototype.toString;function Re(t){return G.call(t)==="[object Array]"}function Ue(t){return typeof t>"u"}function Zm(t){return t!==null&&!Ue(t)&&t.constructor!==null&&!Ue(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Jm(t){return G.call(t)==="[object ArrayBuffer]"}function Ym(t){return typeof FormData<"u"&&t instanceof FormData}function Km(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function Xm(t){return typeof t=="string"}function $m(t){return typeof t=="number"}function so(t){return t!==null&&typeof t=="object"}function fe(t){if(G.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function vm(t){return G.call(t)==="[object Date]"}function eu(t){return G.call(t)==="[object File]"}function tu(t){return G.call(t)==="[object Blob]"}function ro(t){return G.call(t)==="[object Function]"}function ou(t){return so(t)&&ro(t.pipe)}function nu(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function lu(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function iu(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ge(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Re(t))for(var o=0,a=t.length;o<a;o++)n.call(null,t[o],o,t);else for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&n.call(null,t[l],l,t)}function Qe(){var t={};function n(l,i){fe(t[i])&&fe(l)?t[i]=Qe(t[i],l):fe(l)?t[i]=Qe({},l):Re(l)?t[i]=l.slice():t[i]=l}for(var o=0,a=arguments.length;o<a;o++)Ge(arguments[o],n);return t}function au(t,n,o){return Ge(n,function(l,i){o&&typeof l=="function"?t[i]=Wm(l,o):t[i]=l}),t}function su(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var O={isArray:Re,isArrayBuffer:Jm,isBuffer:Zm,isFormData:Ym,isArrayBufferView:Km,isString:Xm,isNumber:$m,isObject:so,isPlainObject:fe,isUndefined:Ue,isDate:vm,isFile:eu,isBlob:tu,isFunction:ro,isStream:ou,isURLSearchParams:nu,isStandardBrowserEnv:iu,forEach:Ge,merge:Qe,extend:au,trim:lu,stripBOM:su},Z=O;function co(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var mo=function(n,o,a){if(!o)return n;var l;if(a)l=a(o);else if(Z.isURLSearchParams(o))l=o.toString();else{var i=[];Z.forEach(o,function(s,r){s===null||typeof s>"u"||(Z.isArray(s)?r=r+"[]":s=[s],Z.forEach(s,function(u){Z.isDate(u)?u=u.toISOString():Z.isObject(u)&&(u=JSON.stringify(u)),i.push(co(r)+"="+co(u))}))}),l=i.join("&")}if(l){var c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+l}return n},ru=O;function pe(){this.handlers=[]}pe.prototype.use=function(n,o,a){return this.handlers.push({fulfilled:n,rejected:o,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1},pe.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},pe.prototype.forEach=function(n){ru.forEach(this.handlers,function(a){a!==null&&n(a)})};var cu=pe,du=O,mu=function(n,o){du.forEach(n,function(l,i){i!==o&&i.toUpperCase()===o.toUpperCase()&&(n[o]=l,delete n[i])})},uo=function(n,o,a,l,i){return n.config=o,a&&(n.code=a),n.request=l,n.response=i,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},We,ho;function fo(){if(ho)return We;ho=1;var t=uo;return We=function(o,a,l,i,c){var d=new Error(o);return t(d,a,l,i,c)},We}var Ze,po;function uu(){if(po)return Ze;po=1;var t=fo();return Ze=function(o,a,l){var i=l.config.validateStatus;!l.status||!i||i(l.status)?o(l):a(t("Request failed with status code "+l.status,l.config,null,l.request,l))},Ze}var Je,go;function hu(){if(go)return Je;go=1;var t=O;return Je=t.isStandardBrowserEnv()?function(){return{write:function(a,l,i,c,d,s){var r=[];r.push(a+"="+encodeURIComponent(l)),t.isNumber(i)&&r.push("expires="+new Date(i).toGMTString()),t.isString(c)&&r.push("path="+c),t.isString(d)&&r.push("domain="+d),s===!0&&r.push("secure"),document.cookie=r.join("; ")},read:function(a){var l=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return l?decodeURIComponent(l[3]):null},remove:function(a){this.write(a,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Je}var Ye,yo;function fu(){return yo||(yo=1,Ye=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),Ye}var Ke,ko;function pu(){return ko||(ko=1,Ke=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),Ke}var Xe,Co;function gu(){if(Co)return Xe;Co=1;var t=fu(),n=pu();return Xe=function(a,l){return a&&!t(l)?n(a,l):l},Xe}var $e,Bo;function yu(){if(Bo)return $e;Bo=1;var t=O,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 $e=function(a){var l={},i,c,d;return a&&t.forEach(a.split(`
6
- `),function(r){if(d=r.indexOf(":"),i=t.trim(r.substr(0,d)).toLowerCase(),c=t.trim(r.substr(d+1)),i){if(l[i]&&n.indexOf(i)>=0)return;i==="set-cookie"?l[i]=(l[i]?l[i]:[]).concat([c]):l[i]=l[i]?l[i]+", "+c:c}}),l},$e}var ve,_o;function ku(){if(_o)return ve;_o=1;var t=O;return ve=t.isStandardBrowserEnv()?function(){var o=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),l;function i(c){var d=c;return o&&(a.setAttribute("href",d),d=a.href),a.setAttribute("href",d),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return l=i(window.location.href),function(d){var s=t.isString(d)?i(d):d;return s.protocol===l.protocol&&s.host===l.host}}():function(){return function(){return!0}}(),ve}var et,bo;function ge(){if(bo)return et;bo=1;function t(n){this.message=n}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,et=t,et}var tt,wo;function No(){if(wo)return tt;wo=1;var t=O,n=uu(),o=hu(),a=mo,l=gu(),i=yu(),c=ku(),d=fo(),s=ye(),r=ge();return tt=function(u){return new Promise(function(h,y){var p=u.data,k=u.headers,B=u.responseType,N;function V(){u.cancelToken&&u.cancelToken.unsubscribe(N),u.signal&&u.signal.removeEventListener("abort",N)}t.isFormData(p)&&delete k["Content-Type"];var g=new XMLHttpRequest;if(u.auth){var x=u.auth.username||"",w=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";k.Authorization="Basic "+btoa(x+":"+w)}var S=l(u.baseURL,u.url);g.open(u.method.toUpperCase(),a(S,u.params,u.paramsSerializer),!0),g.timeout=u.timeout;function E(){if(!!g){var T="getAllResponseHeaders"in g?i(g.getAllResponseHeaders()):null,P=!B||B==="text"||B==="json"?g.responseText:g.response,j={data:P,status:g.status,statusText:g.statusText,headers:T,config:u,request:g};n(function(A){h(A),V()},function(A){y(A),V()},j),g=null}}if("onloadend"in g?g.onloadend=E:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(E)},g.onabort=function(){!g||(y(d("Request aborted",u,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(d("Network Error",u,null,g)),g=null},g.ontimeout=function(){var P=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",j=u.transitional||s.transitional;u.timeoutErrorMessage&&(P=u.timeoutErrorMessage),y(d(P,u,j.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},t.isStandardBrowserEnv()){var D=(u.withCredentials||c(S))&&u.xsrfCookieName?o.read(u.xsrfCookieName):void 0;D&&(k[u.xsrfHeaderName]=D)}"setRequestHeader"in g&&t.forEach(k,function(P,j){typeof p>"u"&&j.toLowerCase()==="content-type"?delete k[j]:g.setRequestHeader(j,P)}),t.isUndefined(u.withCredentials)||(g.withCredentials=!!u.withCredentials),B&&B!=="json"&&(g.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&g.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(N=function(T){!g||(y(!T||T&&T.type?new r("canceled"):T),g.abort(),g=null)},u.cancelToken&&u.cancelToken.subscribe(N),u.signal&&(u.signal.aborted?N():u.signal.addEventListener("abort",N))),p||(p=null),g.send(p)})},tt}var ot,So;function ye(){if(So)return ot;So=1;var t=O,n=mu,o=uo,a={"Content-Type":"application/x-www-form-urlencoded"};function l(s,r){!t.isUndefined(s)&&t.isUndefined(s["Content-Type"])&&(s["Content-Type"]=r)}function i(){var s;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(s=No()),s}function c(s,r,m){if(t.isString(s))try{return(r||JSON.parse)(s),t.trim(s)}catch(u){if(u.name!=="SyntaxError")throw u}return(m||JSON.stringify)(s)}var d={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:i(),transformRequest:[function(r,m){return n(m,"Accept"),n(m,"Content-Type"),t.isFormData(r)||t.isArrayBuffer(r)||t.isBuffer(r)||t.isStream(r)||t.isFile(r)||t.isBlob(r)?r:t.isArrayBufferView(r)?r.buffer:t.isURLSearchParams(r)?(l(m,"application/x-www-form-urlencoded;charset=utf-8"),r.toString()):t.isObject(r)||m&&m["Content-Type"]==="application/json"?(l(m,"application/json"),c(r)):r}],transformResponse:[function(r){var m=this.transitional||d.transitional,u=m&&m.silentJSONParsing,f=m&&m.forcedJSONParsing,h=!u&&this.responseType==="json";if(h||f&&t.isString(r)&&r.length)try{return JSON.parse(r)}catch(y){if(h)throw y.name==="SyntaxError"?o(y,this,"E_JSON_PARSE"):y}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return t.forEach(["delete","get","head"],function(r){d.headers[r]={}}),t.forEach(["post","put","patch"],function(r){d.headers[r]=t.merge(a)}),ot=d,ot}var Cu=O,Bu=ye(),_u=function(n,o,a){var l=this||Bu;return Cu.forEach(a,function(c){n=c.call(l,n,o)}),n},nt,Io;function xo(){return Io||(Io=1,nt=function(n){return!!(n&&n.__CANCEL__)}),nt}var To=O,lt=_u,bu=xo(),wu=ye(),Nu=ge();function it(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Nu("canceled")}var Su=function(n){it(n),n.headers=n.headers||{},n.data=lt.call(n,n.data,n.headers,n.transformRequest),n.headers=To.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),To.forEach(["delete","get","head","post","put","patch","common"],function(l){delete n.headers[l]});var o=n.adapter||wu.adapter;return o(n).then(function(l){return it(n),l.data=lt.call(n,l.data,l.headers,n.transformResponse),l},function(l){return bu(l)||(it(n),l&&l.response&&(l.response.data=lt.call(n,l.response.data,l.response.headers,n.transformResponse))),Promise.reject(l)})},L=O,Mo=function(n,o){o=o||{};var a={};function l(m,u){return L.isPlainObject(m)&&L.isPlainObject(u)?L.merge(m,u):L.isPlainObject(u)?L.merge({},u):L.isArray(u)?u.slice():u}function i(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return l(void 0,n[m])}else return l(n[m],o[m])}function c(m){if(!L.isUndefined(o[m]))return l(void 0,o[m])}function d(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return l(void 0,n[m])}else return l(void 0,o[m])}function s(m){if(m in o)return l(n[m],o[m]);if(m in n)return l(void 0,n[m])}var r={url:c,method:c,data:c,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:s};return L.forEach(Object.keys(n).concat(Object.keys(o)),function(u){var f=r[u]||i,h=f(u);L.isUndefined(h)&&f!==s||(a[u]=h)}),a},at,Vo;function Eo(){return Vo||(Vo=1,at={version:"0.24.0"}),at}var Iu=Eo().version,st={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){st[t]=function(a){return typeof a===t||"a"+(n<1?"n ":" ")+t}});var Do={};st.transitional=function(n,o,a){function l(i,c){return"[Axios v"+Iu+"] Transitional option '"+i+"'"+c+(a?". "+a:"")}return function(i,c,d){if(n===!1)throw new Error(l(c," has been removed"+(o?" in "+o:"")));return o&&!Do[c]&&(Do[c]=!0,console.warn(l(c," has been deprecated since v"+o+" and will be removed in the near future"))),n?n(i,c,d):!0}};function xu(t,n,o){if(typeof t!="object")throw new TypeError("options must be an object");for(var a=Object.keys(t),l=a.length;l-- >0;){var i=a[l],c=n[i];if(c){var d=t[i],s=d===void 0||c(d,i,t);if(s!==!0)throw new TypeError("option "+i+" must be "+s);continue}if(o!==!0)throw Error("Unknown option "+i)}}var Tu={assertOptions:xu,validators:st},Oo=O,Mu=mo,Lo=cu,jo=Su,ke=Mo,Fo=Tu,J=Fo.validators;function oe(t){this.defaults=t,this.interceptors={request:new Lo,response:new Lo}}oe.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=ke(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var o=n.transitional;o!==void 0&&Fo.assertOptions(o,{silentJSONParsing:J.transitional(J.boolean),forcedJSONParsing:J.transitional(J.boolean),clarifyTimeoutError:J.transitional(J.boolean)},!1);var a=[],l=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(l=l&&f.synchronous,a.unshift(f.fulfilled,f.rejected))});var i=[];this.interceptors.response.forEach(function(f){i.push(f.fulfilled,f.rejected)});var c;if(!l){var d=[jo,void 0];for(Array.prototype.unshift.apply(d,a),d=d.concat(i),c=Promise.resolve(n);d.length;)c=c.then(d.shift(),d.shift());return c}for(var s=n;a.length;){var r=a.shift(),m=a.shift();try{s=r(s)}catch(u){m(u);break}}try{c=jo(s)}catch(u){return Promise.reject(u)}for(;i.length;)c=c.then(i.shift(),i.shift());return c},oe.prototype.getUri=function(n){return n=ke(this.defaults,n),Mu(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},Oo.forEach(["delete","get","head","options"],function(n){oe.prototype[n]=function(o,a){return this.request(ke(a||{},{method:n,url:o,data:(a||{}).data}))}}),Oo.forEach(["post","put","patch"],function(n){oe.prototype[n]=function(o,a,l){return this.request(ke(l||{},{method:n,url:o,data:a}))}});var Vu=oe,rt,Po;function Eu(){if(Po)return rt;Po=1;var t=ge();function n(o){if(typeof o!="function")throw new TypeError("executor must be a function.");var a;this.promise=new Promise(function(c){a=c});var l=this;this.promise.then(function(i){if(!!l._listeners){var c,d=l._listeners.length;for(c=0;c<d;c++)l._listeners[c](i);l._listeners=null}}),this.promise.then=function(i){var c,d=new Promise(function(s){l.subscribe(s),c=s}).then(i);return d.cancel=function(){l.unsubscribe(c)},d},o(function(c){l.reason||(l.reason=new t(c),a(l.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]},n.prototype.unsubscribe=function(a){if(!!this._listeners){var l=this._listeners.indexOf(a);l!==-1&&this._listeners.splice(l,1)}},n.source=function(){var a,l=new n(function(c){a=c});return{token:l,cancel:a}},rt=n,rt}var ct,zo;function Du(){return zo||(zo=1,ct=function(n){return function(a){return n.apply(null,a)}}),ct}var dt,Ao;function Ou(){return Ao||(Ao=1,dt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),dt}var Ho=O,Lu=ao,Ce=Vu,ju=Mo,Fu=ye();function qo(t){var n=new Ce(t),o=Lu(Ce.prototype.request,n);return Ho.extend(o,Ce.prototype,n),Ho.extend(o,n),o.create=function(l){return qo(ju(t,l))},o}var z=qo(Fu);z.Axios=Ce,z.Cancel=ge(),z.CancelToken=Eu(),z.isCancel=xo(),z.VERSION=Eo().version,z.all=function(n){return Promise.all(n)},z.spread=Du(),z.isAxiosError=Ou(),qe.exports=z,qe.exports.default=z,function(t){t.exports=qe.exports}(io);const Pu=Qm(io.exports),Nf="",zu={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[F,Gm],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(t=>t.includes("jpg"))},failedUpload(){return this.listOfFiles.some(t=>t.error)},totalBytesUploaded(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return this.formatSize(t[1])+"/"+this.formatSize(t[0])},totalSize(){let t=0;for(let n=0;n<this.listOfFiles.length;n++)t=t+this.listOfFiles[n].file.size;return t},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 t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return t[1]/t[0]*100}},watch:{presetComment:{handler(t){this.comment=t},immediate:!0}},methods:{getPercentage(t){return t?t.toFixed(2)+"%":"0.00%"},getFileExtension(t){return te(t)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(t){this.dragOver(t)},dragOver(t){if(t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0){t.dataTransfer.dropEffect="none";let n=!0;for(let o=0,a=t.dataTransfer.items.length;o<a;++o)if(t.dataTransfer.items[o].kind!=="file"){n=!1;break}n&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),this.checkFiles(t.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(t=>{t.abortController&&t.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(t){this.checkFiles(t.target.files)},checkFiles(t){if(!!t.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<t.length;n++){const o={file:t[n],progress:null,uploadedBytes:0};if(t[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",t[n].name,t[n].size));continue}if(!this.allowedFileExtensions.includes(te(t[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",t[n].name,te(t[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(a=>this.compareFiles(a.file,t[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",t[n].name,te(t[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(o);else{t.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[o];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(t,n){return t.name===n.name&&t.lastModified===n.lastModified&&t.size===n.size},removeFile(t){this.listOfFiles.splice(t,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(t){return t<1024?t:t<1048576?t=Math.round(t/1024*100)/100+" KB":t=Math.round(t/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 t=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([a,l])=>n.append(a,l)),this.enableComment&&n.append("comment",this.comment);const o=[];this.listOfFiles.forEach(a=>{o.push(this.uploadSingleFile(t,a,n))}),Promise.allSettled(o).then(a=>{const l=a.filter(i=>i.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 t={};t.listOfFiles=this.listOfFiles,t.type="upload",t.comment=this.comment,this.$emit("click",t,this.showMessage)}},onUploadProgress(t,n){t.lengthComputable?(n.progress=t.loaded/t.total*100,n.uploadedBytes=t.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(t,n,o){return n.abortController=new AbortController,o.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),Pu.post(t,o,{signal:n.abortController.signal,onUploadProgress:a=>this.onUploadProgress(a,n)}).then(a=>(this.$emit("upload-file-success",n),a)).then(a=>{const l=this.listOfFiles.indexOf(n);return l!==-1&&this.listOfFiles.splice(l,1),a}).catch(a=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(a),n.error=!0,new Error})},showMessage(t){t===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):t===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const t=Object.keys(this.resetForm);for(let n of t)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},Au={key:0},Hu={key:1,class:"flex-container vertical"},qu={key:0,class:"flex-container vertical list-files-wrapper"},Ru={key:0,class:"list-of-files total-files"},Uu={class:"flex-container no-flex"},Gu=["title"],Qu={key:0,class:"progressbar"},Wu=["value","title"],Zu=e.createElementVNode("hr",null,null,-1),Ju={class:"flex-container vertical list-files-wrapper"},Yu={class:"list-of-files"},Ku=["title","onClick"],Xu={key:0,class:"progressbar"},$u=["value","title"],vu=["title"],eh=e.createElementVNode("hr",null,null,-1),th={class:"small"},oh=["title"],nh={key:0,class:"list-of-file-extensions"},lh=["disabled"],ih={key:0},ah={key:1},sh={class:"button-wrapper no-flex"},rh=["disabled"],ch={key:0},dh={key:1},mh={key:0,class:"progressbar"},uh=["value","title"];function hh(t,n,o,a,l,i){const c=M,d=lo,s=I,r=U;return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.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:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),i.systemMessageStatus&&i.allSystemMessages.length?(e.openBlock(),e.createBlock(d,{key:1,iconClose:{show:!1},validationStatus:i.systemMessageStatus,systemMessage:i.allSystemMessages.length===1?i.allSystemMessages[0]:t.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[i.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",Au,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.allSystemMessages,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u},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(i.dragAndDropHandler)),[l.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",Hu,[o.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",qu,[e.createVNode(c,e.mergeProps(o.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),o.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",Ru,[e.createElementVNode("li",Uu,[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...m)=>i.cancelUpload&&i.cancelUpload(...m),["prevent"]))},[e.createVNode(s,{iconClass:o.deleteIcon.iconClass,type:o.deleteIcon.iconClass},null,8,["iconClass","type"])],8,Gu),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(l.listOfFiles.length)+" ",1),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:o.maxTotalUploadSize>0&&i.totalSize>o.maxTotalUploadSize}])}," ("+e.toDisplayString(i.formatSize(i.totalSize))+") ",3),l.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Qu,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(i.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:i.totalUploadProgress,title:i.totalBytesUploaded},null,8,Wu)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Zu])):e.createCommentVNode("",!0),e.createElementVNode("div",Ju,[e.createVNode(c,e.mergeProps(o.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),e.createElementVNode("ul",Yu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.listOfFiles,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:e.withModifiers(f=>i.removeFile(u),["prevent"])},[e.createVNode(s,{iconClass:t.iconDelete.iconClass,type:t.iconDelete.iconType},null,8,["iconClass","type"])],8,Ku),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(i.formatSize(m.file.size))+")",1)],2),l.uploadInitiated&&!m.error?(e.openBlock(),e.createElementBlock("span",Xu,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(m.progress)),1),e.createElementVNode("progress",{max:"100",value:m.progress,title:i.formatSize(m.uploadedBytes)+"/"+i.formatSize(m.file.size)},null,8,$u)])):e.createCommentVNode("",!0)]))),128))]),i.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...m)=>i.cancel&&i.cancel(...m),["prevent"])),title:t.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(t.getMessage("cmduploadform.reset_upload")),9,vu)):e.createCommentVNode("",!0),eh])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.allowMultipleFileUploads?(e.openBlock(),e.createBlock(c,e.mergeProps({key:0},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_files_to_upload")),1)]),_:1},16)):(e.openBlock(),e.createBlock(c,e.mergeProps({key:1},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_file_to_upload")),1)]),_:1},16))],64)),o.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:2},o.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:3},o.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",th,[o.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:i.totalSize>o.maxTotalUploadSize})},e.toDisplayString(t.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:i.totalSize>o.maxTotalUploadSize}])},e.toDisplayString(i.formatSize(o.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:l.errors.fileSize})},e.toDisplayString(t.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.errors.fileSize}])},e.toDisplayString(i.formatSize(o.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:l.errors.fileType})},e.toDisplayString(t.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:t.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(s,{iconClass:l.showListOfFileExtensions?o.iconInvisible.iconClass:o.iconVisible.iconClass,type:l.showListOfFileExtensions?o.iconInvisible.iconType:o.iconVisible.iconType},null,8,["iconClass","type"])],8,oh),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",nh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.allowedFileExtensions,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,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=>i.selectFiles())},[e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"]),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",ih,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",ah,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,lh),o.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:l.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop"))+" ",1),o.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&l.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),o.enableComment?(e.openBlock(),e.createBlock(r,{key:2,element:"textarea",labelText:t.getMessage("cmduploadform.labeltext.comment"),modelValue:l.comment,"onUpdate:modelValue":n[4]||(n[4]=m=>l.comment=m),required:o.commentRequired,validationMessage:o.commentStatusMessage,placeholder:t.getMessage("cmduploadform.placeholder.comment"),status:o.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",sh,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:l.listOfFiles.length===0||o.maxTotalUploadSize>0&&i.totalSize>o.maxTotalUploadSize||l.uploadInitiated}]),disabled:l.listOfFiles.length===0||o.maxTotalUploadSize>0&&i.totalSize>o.maxTotalUploadSize||l.uploadInitiated,onClick:n[5]||(n[5]=(...m)=>i.uploadFiles&&i.uploadFiles(...m))},[e.createVNode(s,{iconClass:o.iconUpload.iconClass,type:o.iconUpload.iconType},null,8,["iconClass","type"]),l.listOfFiles.length===1||!o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",ch,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",dh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,rh),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:l.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...m)=>i.cancel&&i.cancel(...m))},[e.createVNode(s,{iconClass:o.iconCancel.iconClass,type:o.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(t.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)=>i.selectFiles&&i.selectFiles(...m),["prevent"])),class:["cmd-upload-form drop-area",{"allow-drop":l.allowDrop}]},e.toHandlers(i.dragAndDropHandler)),[l.uploadInitiated?(e.openBlock(),e.createElementBlock("span",mh,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(i.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:i.totalUploadProgress,title:i.totalBytesUploaded},null,8,uh)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[o.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[i.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_image")),1),e.createVNode(s,{iconClass:o.iconImage.iconClass,type:o.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_file")),1),e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(s,{iconClass:o.iconDragAndDrop.iconClass,type:o.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(i.formatSize(o.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(o.allowedFileExtensions),1)])],16)),e.createVNode(r,{element:"input",type:"file",labelText:t.getMessage("cmduploadform.labeltext.select_files"),disabled:l.uploadInitiated,multiple:o.allowMultipleFileUploads,onChange:i.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const fh=b(zu,[["render",hh]]),Sf="",ph={name:"CmdWidthLimitationWrapper",props:{innerComponent:{type:String,default:"section",validator(t){return t}},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":""}}},gh=["id"],yh=["id"];function kh(t,n,o,a,l,i){const c=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:o.sticky}])},[o.innerWrapper?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(i.setInnerClass)},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,gh)):e.createCommentVNode("",!0),o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:1,"pre-headline-text":o.cmdHeadline.preHeadlineText,"headline-text":o.cmdHeadline.headlineText,"headline-level":o.cmdHeadline.headlineLevel},null,8,["pre-headline-text","headline-text","headline-level"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,yh)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const Ch=b(ph,[["render",kh]]),Bh={mounted(t){if(t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA"||t.tagName==="A")t.focus();else{const n=t.querySelector("input, select, textarea");n?n.focus():console.warn("No input-element for focus-directive on element "+t.tagName+" found!")}}},_h={mounted(t,n){if(n.value&&typeof n.value=="string"){let o=/[^\d]/g,a=n.value.replace(/^\s*\+/,"00");t.href="tel:"+a.replace(o,"")}}};function bh(){const t={};e.onBeforeUpdate(a);function n(l="defaultSequence"){const i=t[l]||0;return t[l]=i+1,t[l]}function o(l="defaultSequence"){return t[l]||0}function a(l="defaultSequence"){t[l]&&(t[l]=0)}return{nextSequenceValue:n,currentSequenceValue:o,resetSequence:a}}C.CmdAddressData=Al,C.CmdBackToTopButton=Ul,C.CmdBankAccountData=Kl,C.CmdBox=Jt,C.CmdBoxWrapper=wa,C.CmdBreadcrumbs=La,C.CmdCompanyLogo=Xt,C.CmdCookieDisclaimer=Zs,C.CmdCopyrightInformation=$s,C.CmdFakeSelect=vt,C.CmdFancyBox=Mi,C.CmdForm=Sr,C.CmdFormElement=U,C.CmdFormFilters=eo,C.CmdGoogleMaps=Fr,C.CmdHeadline=M,C.CmdIcon=I,C.CmdImage=W,C.CmdImageGallery=Rr,C.CmdImageZoom=Xr,C.CmdInputGroup=cc,C.CmdListOfLinks=Qt,C.CmdLoginForm=xc,C.CmdMainNavigation=no,C.CmdMultistepFormProgressBar=vc,C.CmdOpeningHours=rd,C.CmdPager=Bd,C.CmdProgressBar=xd,C.CmdSiteFooter=Fd,C.CmdSiteHeader=Hd,C.CmdSiteSearch=Kd,C.CmdSlideButton=ue,C.CmdSlideshow=nm,C.CmdSocialNetworks=Dd,C.CmdSwitchLanguage=mm,C.CmdSystemMessage=lo,C.CmdTable=Nm,C.CmdTabs=Om,C.CmdTextBlock=Am,C.CmdThumbnailScroller=qt,C.CmdToggleDarkMode=Um,C.CmdTooltip=$t,C.CmdUploadForm=fh,C.CmdWidthLimitationWrapper=Ch,C.DirFocus=Bh,C.DirTelephone=_h,C.createHtmlId=Ut,C.createUuid=Rt,C.getFileExtension=te,C.openFancyBox=he,C.useSequence=bh,Object.defineProperties(C,{__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},_f="";yt(Im);const Tm={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(t){this.showTab=t,this.$emit("active-tab",t)}},watch:{activeTab(){this.showTab=this.activeTab}}},Mm={class:"cmd-tabs"},Vm=["onClick","title"],Em={key:1},Dm={key:1,"aria-live":"assertive"},Om=["innerHTML"];function Lm(t,n,o,a,i,l){const c=x,d=M;return e.openBlock(),e.createElementBlock("div",Mm,[e.createElementVNode("ul",{class:e.normalizeClass({"stretch-tabs":o.stretchTabs}),role:"tablist"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tabs,(s,r)=>(e.openBlock(),e.createElementBlock("li",{key:r,role:"tab"},[e.createElementVNode("a",{class:e.normalizeClass({active:i.showTab===r}),onClick:e.withModifiers(m=>l.setActiveTab(r),["prevent"]),title:s.name?void 0:s.tooltip,href:"#"},[s.iconClass?(e.openBlock(),e.createBlock(c,{key:0,iconClass:s.iconClass,type:s.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),s.name?(e.openBlock(),e.createElementBlock("span",Em,e.toDisplayString(s.name),1)):e.createCommentVNode("",!0)],10,Vm)]))),128))],2),o.useSlot?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.tabs.length,s=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:s,"aria-live":"assertive"},[e.renderSlot(t.$slots,"tab-content-"+(s-1))])),[[e.vShow,i.showTab===s-1]])),128)):(e.openBlock(),e.createElementBlock("div",Dm,[o.cmdHeadline?(e.openBlock(),e.createBlock(d,e.mergeProps({key:0},o.cmdHeadline,{headlineText:o.tabs[i.showTab].headlineText,headlineLevel:o.tabs[i.showTab].headlineLevel}),null,16,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),e.createElementVNode("div",{innerHTML:o.tabs[i.showTab].htmlContent},null,8,Om)]))])}const Fm=w(Tm,[["render",Lm]]),jm={name:"CmdTextBlock",provide(){return{editModeContext:this.context}},inject:{editModeContext:{default:null}},data(){var t;return{context:to(this.editModeContext,{tb:!0},this.onPersist),editableHtmlHeadline:((t=this.cmdHeadline)==null?void 0:t.headlineText)||"",editableHtmlContent:this.htmlContent}},props:{editModeContextData:{type:Object},cmdHeadline:{type:Object,required:!1},htmlContent:{type:String,required:!0}},methods:{onPersist(t){const n=this.editableHtmlContent;return{editModeContextData:{...this.editModeContextData||{}},update(o){o.cmdHeadline={...o.cmdHeadline||{}},o.cmdHeadline.headlineText=t[0].headlineText,o.htmlContent=n}}}}},Pm={class:"cmd-text-block flex-container vertical"},zm=["innerHTML"];function Am(t,n,o,a,i,l){var d;const c=M;return e.openBlock(),e.createElementBlock("div",Pm,[o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:0,headlineText:o.cmdHeadline.headlineText,headlineLevel:o.cmdHeadline.headlineLevel},null,8,["headlineText","headlineLevel"])):e.createCommentVNode("",!0),(d=l.editModeContext)!=null&&d.editing?e.withDirectives((e.openBlock(),e.createElementBlock("textarea",{key:1,class:"edit-mode","onUpdate:modelValue":n[0]||(n[0]=s=>i.editableHtmlContent=s)},null,512)),[[e.vModelText,i.editableHtmlContent]]):o.htmlContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:o.htmlContent},null,8,zm)):e.createCommentVNode("",!0)])}const Hm=w(jm,[["render",Am]]),wf="",qm={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkMode:{default(){return{iconClass:"icon-moon",iconType:"auto"}}},iconLightMode:{default(){return{iconClass:"icon-sun",iconType:"auto"}}},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 t=window.matchMedia("(prefers-color-scheme: dark)");t.addEventListener("change",this.onColorSchemeChange),this.onColorSchemeChange(t),this.$nextTick(()=>{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(t){this.darkMode=t.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(t){this.darkMode=t.detail==="dark-mode"},toggleColorScheme(){this.darkMode=!this.darkMode,this.setColorScheme()}},computed:{labelText(){return this.darkMode?this.labelTextDarkMode:this.labelTextLightMode},iconClass(){return this.darkMode?this.iconDarkMode.iconClass:this.iconLightMode.iconClass},iconType(){return this.darkMode?this.iconDarkMode.iconType:this.iconLightMode.iconType}},watch:{darkMode:{handler(){const t=document.documentElement;this.darkMode?t.classList.replace("light-mode","dark-mode"):t.classList.replace("dark-mode","light-mode"),t.dispatchEvent(new CustomEvent("toggle-color-scheme",{detail:this.darkMode?"dark-mode":"light-mode"}))},immediate:!0}}},Rm={key:0};function Um(t,n,o,a,i,l){const c=x,d=q;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-toggle-dark-mode",{"styled-layout":o.useStyledLayout,"dark-mode":i.darkMode}])},[o.styledAsButton?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:e.normalizeClass(["button",{"dark-mode":i.darkMode}]),onClick:n[0]||(n[0]=e.withModifiers((...s)=>l.toggleColorScheme&&l.toggleColorScheme(...s),["prevent"]))},[o.showLabel?(e.openBlock(),e.createElementBlock("span",Rm,e.toDisplayString(l.labelText),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:l.iconClass,type:l.iconType,tooltip:o.showLabel?"":l.labelText},null,8,["iconClass","type","tooltip"])],2)):(e.openBlock(),e.createBlock(d,{key:1,element:"input",type:"checkbox",labelText:l.labelText,showLabel:o.showLabel,modelValue:i.darkMode,"onUpdate:modelValue":[n[1]||(n[1]=s=>i.darkMode=s),l.setColorScheme],"toggle-switch":!0,title:o.showLabel?"":l.labelText},null,8,["labelText","showLabel","modelValue","title","onUpdate:modelValue"]))],2)}const Gm=w(qm,[["render",Um]]),Qm={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 Wm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ao={exports:{}},qe={exports:{}},so=function(n,o){return function(){for(var i=new Array(arguments.length),l=0;l<i.length;l++)i[l]=arguments[l];return n.apply(o,i)}},Zm=so,G=Object.prototype.toString;function Re(t){return G.call(t)==="[object Array]"}function Ue(t){return typeof t>"u"}function Jm(t){return t!==null&&!Ue(t)&&t.constructor!==null&&!Ue(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Ym(t){return G.call(t)==="[object ArrayBuffer]"}function Km(t){return typeof FormData<"u"&&t instanceof FormData}function Xm(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function $m(t){return typeof t=="string"}function vm(t){return typeof t=="number"}function ro(t){return t!==null&&typeof t=="object"}function fe(t){if(G.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function eu(t){return G.call(t)==="[object Date]"}function tu(t){return G.call(t)==="[object File]"}function ou(t){return G.call(t)==="[object Blob]"}function co(t){return G.call(t)==="[object Function]"}function nu(t){return ro(t)&&co(t.pipe)}function lu(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function iu(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function au(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ge(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Re(t))for(var o=0,a=t.length;o<a;o++)n.call(null,t[o],o,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.call(null,t[i],i,t)}function Qe(){var t={};function n(i,l){fe(t[l])&&fe(i)?t[l]=Qe(t[l],i):fe(i)?t[l]=Qe({},i):Re(i)?t[l]=i.slice():t[l]=i}for(var o=0,a=arguments.length;o<a;o++)Ge(arguments[o],n);return t}function su(t,n,o){return Ge(n,function(i,l){o&&typeof i=="function"?t[l]=Zm(i,o):t[l]=i}),t}function ru(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var O={isArray:Re,isArrayBuffer:Ym,isBuffer:Jm,isFormData:Km,isArrayBufferView:Xm,isString:$m,isNumber:vm,isObject:ro,isPlainObject:fe,isUndefined:Ue,isDate:eu,isFile:tu,isBlob:ou,isFunction:co,isStream:nu,isURLSearchParams:lu,isStandardBrowserEnv:au,forEach:Ge,merge:Qe,extend:su,trim:iu,stripBOM:ru},J=O;function mo(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var uo=function(n,o,a){if(!o)return n;var i;if(a)i=a(o);else if(J.isURLSearchParams(o))i=o.toString();else{var l=[];J.forEach(o,function(s,r){s===null||typeof s>"u"||(J.isArray(s)?r=r+"[]":s=[s],J.forEach(s,function(u){J.isDate(u)?u=u.toISOString():J.isObject(u)&&(u=JSON.stringify(u)),l.push(mo(r)+"="+mo(u))}))}),i=l.join("&")}if(i){var c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+i}return n},cu=O;function pe(){this.handlers=[]}pe.prototype.use=function(n,o,a){return this.handlers.push({fulfilled:n,rejected:o,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1},pe.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},pe.prototype.forEach=function(n){cu.forEach(this.handlers,function(a){a!==null&&n(a)})};var du=pe,mu=O,uu=function(n,o){mu.forEach(n,function(i,l){l!==o&&l.toUpperCase()===o.toUpperCase()&&(n[o]=i,delete n[l])})},ho=function(n,o,a,i,l){return n.config=o,a&&(n.code=a),n.request=i,n.response=l,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},We,fo;function po(){if(fo)return We;fo=1;var t=ho;return We=function(o,a,i,l,c){var d=new Error(o);return t(d,a,i,l,c)},We}var Ze,go;function hu(){if(go)return Ze;go=1;var t=po();return Ze=function(o,a,i){var l=i.config.validateStatus;!i.status||!l||l(i.status)?o(i):a(t("Request failed with status code "+i.status,i.config,null,i.request,i))},Ze}var Je,yo;function fu(){if(yo)return Je;yo=1;var t=O;return Je=t.isStandardBrowserEnv()?function(){return{write:function(a,i,l,c,d,s){var r=[];r.push(a+"="+encodeURIComponent(i)),t.isNumber(l)&&r.push("expires="+new Date(l).toGMTString()),t.isString(c)&&r.push("path="+c),t.isString(d)&&r.push("domain="+d),s===!0&&r.push("secure"),document.cookie=r.join("; ")},read:function(a){var i=document.cookie.match(new RegExp("(^|;\\s*)("+a+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(a){this.write(a,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Je}var Ye,ko;function pu(){return ko||(ko=1,Ye=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),Ye}var Ke,Co;function gu(){return Co||(Co=1,Ke=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),Ke}var Xe,Bo;function yu(){if(Bo)return Xe;Bo=1;var t=pu(),n=gu();return Xe=function(a,i){return a&&!t(i)?n(a,i):i},Xe}var $e,bo;function ku(){if(bo)return $e;bo=1;var t=O,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 $e=function(a){var i={},l,c,d;return a&&t.forEach(a.split(`
6
+ `),function(r){if(d=r.indexOf(":"),l=t.trim(r.substr(0,d)).toLowerCase(),c=t.trim(r.substr(d+1)),l){if(i[l]&&n.indexOf(l)>=0)return;l==="set-cookie"?i[l]=(i[l]?i[l]:[]).concat([c]):i[l]=i[l]?i[l]+", "+c:c}}),i},$e}var ve,_o;function Cu(){if(_o)return ve;_o=1;var t=O;return ve=t.isStandardBrowserEnv()?function(){var o=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a"),i;function l(c){var d=c;return o&&(a.setAttribute("href",d),d=a.href),a.setAttribute("href",d),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return i=l(window.location.href),function(d){var s=t.isString(d)?l(d):d;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}(),ve}var et,wo;function ge(){if(wo)return et;wo=1;function t(n){this.message=n}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,et=t,et}var tt,So;function No(){if(So)return tt;So=1;var t=O,n=hu(),o=fu(),a=uo,i=yu(),l=ku(),c=Cu(),d=po(),s=ye(),r=ge();return tt=function(u){return new Promise(function(h,y){var p=u.data,k=u.headers,C=u.responseType,b;function V(){u.cancelToken&&u.cancelToken.unsubscribe(b),u.signal&&u.signal.removeEventListener("abort",b)}t.isFormData(p)&&delete k["Content-Type"];var g=new XMLHttpRequest;if(u.auth){var I=u.auth.username||"",S=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";k.Authorization="Basic "+btoa(I+":"+S)}var N=i(u.baseURL,u.url);g.open(u.method.toUpperCase(),a(N,u.params,u.paramsSerializer),!0),g.timeout=u.timeout;function E(){if(!!g){var T="getAllResponseHeaders"in g?l(g.getAllResponseHeaders()):null,j=!C||C==="text"||C==="json"?g.responseText:g.response,F={data:j,status:g.status,statusText:g.statusText,headers:T,config:u,request:g};n(function(A){h(A),V()},function(A){y(A),V()},F),g=null}}if("onloadend"in g?g.onloadend=E:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(E)},g.onabort=function(){!g||(y(d("Request aborted",u,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(d("Network Error",u,null,g)),g=null},g.ontimeout=function(){var j=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",F=u.transitional||s.transitional;u.timeoutErrorMessage&&(j=u.timeoutErrorMessage),y(d(j,u,F.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},t.isStandardBrowserEnv()){var D=(u.withCredentials||c(N))&&u.xsrfCookieName?o.read(u.xsrfCookieName):void 0;D&&(k[u.xsrfHeaderName]=D)}"setRequestHeader"in g&&t.forEach(k,function(j,F){typeof p>"u"&&F.toLowerCase()==="content-type"?delete k[F]:g.setRequestHeader(F,j)}),t.isUndefined(u.withCredentials)||(g.withCredentials=!!u.withCredentials),C&&C!=="json"&&(g.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&g.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(b=function(T){!g||(y(!T||T&&T.type?new r("canceled"):T),g.abort(),g=null)},u.cancelToken&&u.cancelToken.subscribe(b),u.signal&&(u.signal.aborted?b():u.signal.addEventListener("abort",b))),p||(p=null),g.send(p)})},tt}var ot,xo;function ye(){if(xo)return ot;xo=1;var t=O,n=uu,o=ho,a={"Content-Type":"application/x-www-form-urlencoded"};function i(s,r){!t.isUndefined(s)&&t.isUndefined(s["Content-Type"])&&(s["Content-Type"]=r)}function l(){var s;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(s=No()),s}function c(s,r,m){if(t.isString(s))try{return(r||JSON.parse)(s),t.trim(s)}catch(u){if(u.name!=="SyntaxError")throw u}return(m||JSON.stringify)(s)}var d={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(r,m){return n(m,"Accept"),n(m,"Content-Type"),t.isFormData(r)||t.isArrayBuffer(r)||t.isBuffer(r)||t.isStream(r)||t.isFile(r)||t.isBlob(r)?r:t.isArrayBufferView(r)?r.buffer:t.isURLSearchParams(r)?(i(m,"application/x-www-form-urlencoded;charset=utf-8"),r.toString()):t.isObject(r)||m&&m["Content-Type"]==="application/json"?(i(m,"application/json"),c(r)):r}],transformResponse:[function(r){var m=this.transitional||d.transitional,u=m&&m.silentJSONParsing,f=m&&m.forcedJSONParsing,h=!u&&this.responseType==="json";if(h||f&&t.isString(r)&&r.length)try{return JSON.parse(r)}catch(y){if(h)throw y.name==="SyntaxError"?o(y,this,"E_JSON_PARSE"):y}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return t.forEach(["delete","get","head"],function(r){d.headers[r]={}}),t.forEach(["post","put","patch"],function(r){d.headers[r]=t.merge(a)}),ot=d,ot}var Bu=O,bu=ye(),_u=function(n,o,a){var i=this||bu;return Bu.forEach(a,function(c){n=c.call(i,n,o)}),n},nt,Io;function To(){return Io||(Io=1,nt=function(n){return!!(n&&n.__CANCEL__)}),nt}var Mo=O,lt=_u,wu=To(),Su=ye(),Nu=ge();function it(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Nu("canceled")}var xu=function(n){it(n),n.headers=n.headers||{},n.data=lt.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(i){delete n.headers[i]});var o=n.adapter||Su.adapter;return o(n).then(function(i){return it(n),i.data=lt.call(n,i.data,i.headers,n.transformResponse),i},function(i){return wu(i)||(it(n),i&&i.response&&(i.response.data=lt.call(n,i.response.data,i.response.headers,n.transformResponse))),Promise.reject(i)})},L=O,Vo=function(n,o){o=o||{};var a={};function i(m,u){return L.isPlainObject(m)&&L.isPlainObject(u)?L.merge(m,u):L.isPlainObject(u)?L.merge({},u):L.isArray(u)?u.slice():u}function l(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return i(void 0,n[m])}else return i(n[m],o[m])}function c(m){if(!L.isUndefined(o[m]))return i(void 0,o[m])}function d(m){if(L.isUndefined(o[m])){if(!L.isUndefined(n[m]))return i(void 0,n[m])}else return i(void 0,o[m])}function s(m){if(m in o)return i(n[m],o[m]);if(m in n)return i(void 0,n[m])}var r={url:c,method:c,data:c,baseURL:d,transformRequest:d,transformResponse:d,paramsSerializer:d,timeout:d,timeoutMessage:d,withCredentials:d,adapter:d,responseType:d,xsrfCookieName:d,xsrfHeaderName:d,onUploadProgress:d,onDownloadProgress:d,decompress:d,maxContentLength:d,maxBodyLength:d,transport:d,httpAgent:d,httpsAgent:d,cancelToken:d,socketPath:d,responseEncoding:d,validateStatus:s};return L.forEach(Object.keys(n).concat(Object.keys(o)),function(u){var f=r[u]||l,h=f(u);L.isUndefined(h)&&f!==s||(a[u]=h)}),a},at,Eo;function Do(){return Eo||(Eo=1,at={version:"0.24.0"}),at}var Iu=Do().version,st={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){st[t]=function(a){return typeof a===t||"a"+(n<1?"n ":" ")+t}});var Oo={};st.transitional=function(n,o,a){function i(l,c){return"[Axios v"+Iu+"] Transitional option '"+l+"'"+c+(a?". "+a:"")}return function(l,c,d){if(n===!1)throw new Error(i(c," has been removed"+(o?" in "+o:"")));return o&&!Oo[c]&&(Oo[c]=!0,console.warn(i(c," has been deprecated since v"+o+" and will be removed in the near future"))),n?n(l,c,d):!0}};function Tu(t,n,o){if(typeof t!="object")throw new TypeError("options must be an object");for(var a=Object.keys(t),i=a.length;i-- >0;){var l=a[i],c=n[l];if(c){var d=t[l],s=d===void 0||c(d,l,t);if(s!==!0)throw new TypeError("option "+l+" must be "+s);continue}if(o!==!0)throw Error("Unknown option "+l)}}var Mu={assertOptions:Tu,validators:st},Lo=O,Vu=uo,Fo=du,jo=xu,ke=Vo,Po=Mu,Y=Po.validators;function oe(t){this.defaults=t,this.interceptors={request:new Fo,response:new Fo}}oe.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=ke(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var o=n.transitional;o!==void 0&&Po.assertOptions(o,{silentJSONParsing:Y.transitional(Y.boolean),forcedJSONParsing:Y.transitional(Y.boolean),clarifyTimeoutError:Y.transitional(Y.boolean)},!1);var a=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(n)===!1||(i=i&&f.synchronous,a.unshift(f.fulfilled,f.rejected))});var l=[];this.interceptors.response.forEach(function(f){l.push(f.fulfilled,f.rejected)});var c;if(!i){var d=[jo,void 0];for(Array.prototype.unshift.apply(d,a),d=d.concat(l),c=Promise.resolve(n);d.length;)c=c.then(d.shift(),d.shift());return c}for(var s=n;a.length;){var r=a.shift(),m=a.shift();try{s=r(s)}catch(u){m(u);break}}try{c=jo(s)}catch(u){return Promise.reject(u)}for(;l.length;)c=c.then(l.shift(),l.shift());return c},oe.prototype.getUri=function(n){return n=ke(this.defaults,n),Vu(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},Lo.forEach(["delete","get","head","options"],function(n){oe.prototype[n]=function(o,a){return this.request(ke(a||{},{method:n,url:o,data:(a||{}).data}))}}),Lo.forEach(["post","put","patch"],function(n){oe.prototype[n]=function(o,a,i){return this.request(ke(i||{},{method:n,url:o,data:a}))}});var Eu=oe,rt,zo;function Du(){if(zo)return rt;zo=1;var t=ge();function n(o){if(typeof o!="function")throw new TypeError("executor must be a function.");var a;this.promise=new Promise(function(c){a=c});var i=this;this.promise.then(function(l){if(!!i._listeners){var c,d=i._listeners.length;for(c=0;c<d;c++)i._listeners[c](l);i._listeners=null}}),this.promise.then=function(l){var c,d=new Promise(function(s){i.subscribe(s),c=s}).then(l);return d.cancel=function(){i.unsubscribe(c)},d},o(function(c){i.reason||(i.reason=new t(c),a(i.reason))})}return n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]},n.prototype.unsubscribe=function(a){if(!!this._listeners){var i=this._listeners.indexOf(a);i!==-1&&this._listeners.splice(i,1)}},n.source=function(){var a,i=new n(function(c){a=c});return{token:i,cancel:a}},rt=n,rt}var ct,Ao;function Ou(){return Ao||(Ao=1,ct=function(n){return function(a){return n.apply(null,a)}}),ct}var dt,Ho;function Lu(){return Ho||(Ho=1,dt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),dt}var qo=O,Fu=so,Ce=Eu,ju=Vo,Pu=ye();function Ro(t){var n=new Ce(t),o=Fu(Ce.prototype.request,n);return qo.extend(o,Ce.prototype,n),qo.extend(o,n),o.create=function(i){return Ro(ju(t,i))},o}var z=Ro(Pu);z.Axios=Ce,z.Cancel=ge(),z.CancelToken=Du(),z.isCancel=To(),z.VERSION=Do().version,z.all=function(n){return Promise.all(n)},z.spread=Ou(),z.isAxiosError=Lu(),qe.exports=z,qe.exports.default=z,function(t){t.exports=qe.exports}(ao);const zu=Wm(ao.exports),Sf="",Au={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[P,Qm],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(t=>t.includes("jpg"))},failedUpload(){return this.listOfFiles.some(t=>t.error)},totalBytesUploaded(){const t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return this.formatSize(t[1])+"/"+this.formatSize(t[0])},totalSize(){let t=0;for(let n=0;n<this.listOfFiles.length;n++)t=t+this.listOfFiles[n].file.size;return t},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 t=this.listOfFiles.map(n=>[n.file.size,(n.progress||0)*n.file.size/100]).reduce((n,o)=>[n[0]+o[0],n[1]+o[1]]);return t[1]/t[0]*100}},watch:{presetComment:{handler(t){this.comment=t},immediate:!0}},methods:{getPercentage(t){return t?t.toFixed(2)+"%":"0.00%"},getFileExtension(t){return W(t)},selectFiles(){this.$refs.formElement.getDomElement().querySelector("input[type='file']").click()},dragEnter(t){this.dragOver(t)},dragOver(t){if(t.dataTransfer&&t.dataTransfer.items&&t.dataTransfer.items.length>0){t.dataTransfer.dropEffect="none";let n=!0;for(let o=0,a=t.dataTransfer.items.length;o<a;++o)if(t.dataTransfer.items[o].kind!=="file"){n=!1;break}n&&(t.preventDefault(),t.dataTransfer.dropEffect="copy",this.allowDrop=!0)}},dragLeave(){this.allowDrop=!1},drop(t){this.allowDrop=!1,t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0&&(t.preventDefault(),this.checkFiles(t.dataTransfer.files))},cancelUpload(){this.listOfFiles.forEach(t=>{t.abortController&&t.abortController.abort()}),this.errors={},this.listOfFiles=[],this.hideAllSystemMessages(),this.uploadInitiated=!1},cancel(){this.cancelUpload(),this.$emit("click","cancel")},filesSelected(t){this.checkFiles(t.target.files)},checkFiles(t){if(!!t.length){this.defaultSystemMessageStatus="",this.systemMessages=[],this.errors={};for(let n=0;n<t.length;n++){const o={file:t[n],progress:null,uploadedBytes:0};if(t[n].size>this.maxFileUploadSize){this.errors.fileSize=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.file_size_too_large",t[n].name,t[n].size));continue}if(!this.allowedFileExtensions.includes(W(t[n].name))){this.showListOfFileExtensions=!0,this.errors.fileType=!0,this.systemMessages.push(this.getMessage("cmduploadform.system_message.not_allowed_file_type",t[n].name,W(t[n].name)));continue}if(this.allowMultipleFileUploads&&this.listOfFiles.some(a=>this.compareFiles(a.file,t[n]))){this.systemMessages.push(this.getMessage("cmduploadform.system_message.duplicate_file",t[n].name,W(t[n].name)));continue}if(this.allowMultipleFileUploads)this.listOfFiles.push(o);else{t.length>1&&this.systemMessages.push(this.getMessage("cmduploadform.system_message.only_one_file_allowed")),this.listOfFiles=[o];break}}if(!this.advancedMode){if(this.systemMessages.length){this.$emit("error",{messages:this.systemMessages});return}this.listOfFiles.length&&this.uploadFiles()}}},compareFiles(t,n){return t.name===n.name&&t.lastModified===n.lastModified&&t.size===n.size},removeFile(t){this.listOfFiles.splice(t,1),this.listOfFiles.length||(this.uploadInitiated=!1),this.hideAllSystemMessages()},hideAllSystemMessages(){this.listOfFiles.length||(this.systemMessages=[])},formatSize(t){return t<1024?t:t<1048576?t=Math.round(t/1024*100)/100+" KB":t=Math.round(t/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 t=new URL(this.uploadOptions.url,location.href),n=new FormData;Object.entries(this.uploadOptions.additionalParams||{}).forEach(([a,i])=>n.append(a,i)),this.enableComment&&n.append("comment",this.comment);const o=[];this.listOfFiles.forEach(a=>{o.push(this.uploadSingleFile(t,a,n))}),Promise.allSettled(o).then(a=>{const i=a.filter(l=>l.status==="rejected");this.uploadInitiated=!1,i.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:!i.length})})}else{let t={};t.listOfFiles=this.listOfFiles,t.type="upload",t.comment=this.comment,this.$emit("click",t,this.showMessage)}},onUploadProgress(t,n){t.lengthComputable?(n.progress=t.loaded/t.total*100,n.uploadedBytes=t.loaded):(n.progress=null,n.uploadedBytes=0),this.$forceUpdate()},uploadSingleFile(t,n,o){return n.abortController=new AbortController,o.set(this.uploadOptions.filesParam?this.uploadOptions.filesParam:"files",n.file),zu.post(t,o,{signal:n.abortController.signal,onUploadProgress:a=>this.onUploadProgress(a,n)}).then(a=>(this.$emit("upload-file-success",n),a)).then(a=>{const i=this.listOfFiles.indexOf(n);return i!==-1&&this.listOfFiles.splice(i,1),a}).catch(a=>{throw this.defaultSystemMessageStatus="error",this.systemMessages.push(a),n.error=!0,new Error})},showMessage(t){t===!0?(this.defaultSystemMessageStatus="success",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_success"))):t===!1&&(this.defaultSystemMessageStatus="error",this.systemMessages.push(this.getMessage("cmduploadform.system_message.upload_failed")))},resetFields(){if(typeof this.resetForm=="object"){const t=Object.keys(this.resetForm);for(let n of t)typeof this.resetForm[n]=="object"?this[n]=JSON.parse(JSON.stringify(this.resetForm[n])):this[n]=this.resetForm[n]}}}},Hu={key:0},qu={key:1,class:"flex-container vertical"},Ru={key:0,class:"flex-container vertical list-files-wrapper"},Uu={key:0,class:"list-of-files total-files"},Gu={class:"flex-container no-flex"},Qu=["title"],Wu={key:0,class:"progressbar"},Zu=["value","title"],Ju=e.createElementVNode("hr",null,null,-1),Yu={class:"flex-container vertical list-files-wrapper"},Ku={class:"list-of-files"},Xu=["title","onClick"],$u={key:0,class:"progressbar"},vu=["value","title"],eh=["title"],th=e.createElementVNode("hr",null,null,-1),oh={class:"small"},nh=["title"],lh={key:0,class:"list-of-file-extensions"},ih=["disabled"],ah={key:0},sh={key:1},rh={class:"button-wrapper no-flex"},ch=["disabled"],dh={key:0},mh={key:1},uh={key:0,class:"progressbar"},hh=["value","title"];function fh(t,n,o,a,i,l){const c=M,d=io,s=x,r=q;return e.openBlock(),e.createElementBlock(e.Fragment,null,[o.advancedMode?(e.openBlock(),e.createElementBlock("fieldset",{key:0,class:e.normalizeClass(["cmd-upload-form flex-container",{"upload-initiated":i.uploadInitiated}])},[e.createElementVNode("legend",{class:e.normalizeClass({hidden:!o.showLegend})},e.toDisplayString(o.textLegend),3),o.cmdHeadlineFieldset?(e.openBlock(),e.createBlock(c,e.normalizeProps(e.mergeProps({key:0},o.cmdHeadlineFieldset)),null,16)):e.createCommentVNode("",!0),l.systemMessageStatus&&l.allSystemMessages.length?(e.openBlock(),e.createBlock(d,{key:1,iconClose:{show:!1},validationStatus:l.systemMessageStatus,systemMessage:l.allSystemMessages.length===1?l.allSystemMessages[0]:t.getMessage("cmduploadform.system_message.the_following_errors_occurred")},{default:e.withCtx(()=>[l.allSystemMessages.length>1?(e.openBlock(),e.createElementBlock("ul",Hu,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.allSystemMessages,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u},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":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler)),[i.listOfFiles.length?(e.openBlock(),e.createElementBlock("div",qu,[o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",Ru,[e.createVNode(c,e.mergeProps(o.cmdHeadlineSummaryOfAllFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.summary_of_all_files")),1)]),_:1},16),o.showTotalUpload&&i.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("ul",Uu,[e.createElementVNode("li",Gu,[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_all_files_from_list"),onClick:n[0]||(n[0]=e.withModifiers((...m)=>l.cancelUpload&&l.cancelUpload(...m),["prevent"]))},[e.createVNode(s,{iconClass:o.deleteIcon.iconClass,type:o.deleteIcon.iconClass},null,8,["iconClass","type"])],8,Qu),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(i.listOfFiles.length)+" ",1),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.files_uploading")),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.labeltext.file_uploading")),1)],64))]),e.createElementVNode("small",{class:e.normalizeClass(["text-align-right",{error:o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize}])}," ("+e.toDisplayString(l.formatSize(l.totalSize))+") ",3),i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",Wu,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,Zu)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Ju])):e.createCommentVNode("",!0),e.createElementVNode("div",Yu,[e.createVNode(c,e.mergeProps(o.cmdHeadlineListOfSelectedFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.list_of_selected_files")),1)]),_:1},16),e.createElementVNode("ul",Ku,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.listOfFiles,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,class:"flex-container no-flex"},[e.createElementVNode("a",{href:"#",title:t.getMessage("cmduploadform.labeltext.remove_file_from_list",m.file.name),onClick:e.withModifiers(f=>l.removeFile(u),["prevent"])},[e.createVNode(s,{iconClass:t.iconDelete.iconClass,type:t.iconDelete.iconType},null,8,["iconClass","type"])],8,Xu),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(l.formatSize(m.file.size))+")",1)],2),i.uploadInitiated&&!m.error?(e.openBlock(),e.createElementBlock("span",$u,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(m.progress)),1),e.createElementVNode("progress",{max:"100",value:m.progress,title:l.formatSize(m.uploadedBytes)+"/"+l.formatSize(m.file.size)},null,8,vu)])):e.createCommentVNode("",!0)]))),128))]),l.failedUpload?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...m)=>l.cancel&&l.cancel(...m),["prevent"])),title:t.getMessage("cmduploadform.all_files_will_be_removed")},e.toDisplayString(t.getMessage("cmduploadform.reset_upload")),9,eh)):e.createCommentVNode("",!0),th])])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.allowMultipleFileUploads?(e.openBlock(),e.createBlock(c,e.mergeProps({key:0},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_files_to_upload")),1)]),_:1},16)):(e.openBlock(),e.createBlock(c,e.mergeProps({key:1},o.cmdHeadlineNoFilesToUpload,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.no_file_to_upload")),1)]),_:1},16))],64)),o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:2},o.cmdHeadlineSelectAdditionalFiles,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_additional_files")),1)]),_:1},16)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createBlock(c,e.mergeProps({key:3},o.cmdHeadlineSelectNewFile,{headlineLevel:"4"}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.headline.select_new_file")),1)]),_:1},16)):e.createCommentVNode("",!0),e.createElementVNode("dl",oh,[o.maxTotalUploadSize>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("dt",{class:e.normalizeClass({error:l.totalSize>o.maxTotalUploadSize})},e.toDisplayString(t.getMessage("cmduploadform.max_total_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:l.totalSize>o.maxTotalUploadSize}])},e.toDisplayString(l.formatSize(o.maxTotalUploadSize)),3)],64)):e.createCommentVNode("",!0),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileSize})},e.toDisplayString(t.getMessage("cmduploadform.max_file_upload_size")),3),e.createElementVNode("dd",{class:e.normalizeClass(["text-align-right",{error:i.errors.fileSize}])},e.toDisplayString(l.formatSize(o.maxFileUploadSize)),3),e.createElementVNode("dt",{class:e.normalizeClass({error:i.errors.fileType})},e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types")),3),e.createElementVNode("dd",null,[e.createElementVNode("a",{href:"#",onClick:n[2]||(n[2]=e.withModifiers(m=>i.showListOfFileExtensions=!i.showListOfFileExtensions,["prevent"])),title:t.getMessage("cmduploadform.tooltip.toggle_list_of_allowed_file_types")},[e.createVNode(s,{iconClass:i.showListOfFileExtensions?o.iconInvisible.iconClass:o.iconVisible.iconClass,type:i.showListOfFileExtensions?o.iconInvisible.iconType:o.iconVisible.iconType},null,8,["iconClass","type"])],8,nh),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[i.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",lh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.allowedFileExtensions,(m,u)=>(e.openBlock(),e.createElementBlock("li",{key:u,class:e.normalizeClass({error:i.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:i.uploadInitiated}]),disabled:i.uploadInitiated,onClick:n[3]||(n[3]=m=>l.selectFiles())},[e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"]),o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",ah,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",sh,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,ih),o.enableDragAndDrop?(e.openBlock(),e.createElementBlock("p",{key:0,class:e.normalizeClass(["text-drag-and-drop",{disabled:i.uploadInitiated}])},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.or")),1),e.createElementVNode("strong",null,[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop"))+" ",1),o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.additional")),1)],64)):e.createCommentVNode("",!0),!o.allowMultipleFileUploads&&i.listOfFiles.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.getMessage("cmduploadform.new")),1)],64)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t.getMessage("cmduploadform.files_to_this_area")),1)])],2)):e.createCommentVNode("",!0)])],16),o.enableComment?(e.openBlock(),e.createBlock(r,{key:2,element:"textarea",labelText:t.getMessage("cmduploadform.labeltext.comment"),modelValue:i.comment,"onUpdate:modelValue":n[4]||(n[4]=m=>i.comment=m),required:o.commentRequired,validationMessage:o.commentStatusMessage,placeholder:t.getMessage("cmduploadform.placeholder.comment"),status:o.commentStatusMessage?"error":""},null,8,["labelText","modelValue","required","validationMessage","placeholder","status"])):e.createCommentVNode("",!0),e.createElementVNode("div",rh,[e.createElementVNode("button",{class:e.normalizeClass(["button primary",{disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated}]),disabled:i.listOfFiles.length===0||o.maxTotalUploadSize>0&&l.totalSize>o.maxTotalUploadSize||i.uploadInitiated,onClick:n[5]||(n[5]=(...m)=>l.uploadFiles&&l.uploadFiles(...m))},[e.createVNode(s,{iconClass:o.iconUpload.iconClass,type:o.iconUpload.iconType},null,8,["iconClass","type"]),i.listOfFiles.length===1||!o.allowMultipleFileUploads?(e.openBlock(),e.createElementBlock("span",dh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",mh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,ch),e.createElementVNode("button",{class:e.normalizeClass(["button",{disabled:i.listOfFiles.length===0}]),onClick:n[6]||(n[6]=(...m)=>l.cancel&&l.cancel(...m))},[e.createVNode(s,{iconClass:o.iconCancel.iconClass,type:o.iconCancel.iconType},null,8,["iconClass","type"]),e.createElementVNode("span",null,e.toDisplayString(t.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)=>l.selectFiles&&l.selectFiles(...m),["prevent"])),class:["cmd-upload-form drop-area",{"allow-drop":i.allowDrop}]},e.toHandlers(l.dragAndDropHandler)),[i.uploadInitiated?(e.openBlock(),e.createElementBlock("span",uh,[e.createElementVNode("span",null,e.toDisplayString(l.getPercentage(l.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:l.totalUploadProgress,title:l.totalBytesUploaded},null,8,hh)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[o.enableDragAndDrop?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.fileTypeImage?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_image")),1),e.createVNode(s,{iconClass:o.iconImage.iconClass,type:o.iconImage.iconType},null,8,["iconClass","type"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.select_file")),1),e.createVNode(s,{iconClass:o.iconFileUpload.iconClass,type:o.iconFileUpload.iconType},null,8,["iconClass","type"])],64))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmduploadform.drag_and_drop_file_here")),1),e.createVNode(s,{iconClass:o.iconDragAndDrop.iconClass,type:o.iconDragAndDrop.iconType},null,8,["iconClass","type"])],64)),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.max_upload_size"))+" "+e.toDisplayString(l.formatSize(o.maxFileUploadSize)),1),e.createElementVNode("small",null,e.toDisplayString(t.getMessage("cmduploadform.allowed_file_types"))+" "+e.toDisplayString(o.allowedFileExtensions),1)])],16)),e.createVNode(r,{element:"input",type:"file",labelText:t.getMessage("cmduploadform.labeltext.select_files"),disabled:i.uploadInitiated,multiple:o.allowMultipleFileUploads,onChange:l.filesSelected,ref:"formElement"},null,8,["labelText","disabled","multiple","onChange"])],64)}const ph=w(Au,[["render",fh]]),Nf="",gh={name:"CmdWidthLimitationWrapper",props:{innerComponent:{type:String,default:"section",validator(t){return t}},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":""}}},yh=["id"],kh=["id"];function Ch(t,n,o,a,i,l){const c=M;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-width-limitation-wrapper",{sticky:o.sticky}])},[o.innerWrapper?(e.openBlock(),e.createElementBlock("section",{key:0,class:e.normalizeClass(l.setInnerClass)},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,yh)):e.createCommentVNode("",!0),o.cmdHeadline?(e.openBlock(),e.createBlock(c,{key:1,"pre-headline-text":o.cmdHeadline.preHeadlineText,"headline-text":o.cmdHeadline.headlineText,"headline-level":o.cmdHeadline.headlineLevel},null,8,["pre-headline-text","headline-text","headline-level"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.anchorId?(e.openBlock(),e.createElementBlock("a",{key:0,id:o.anchorId},null,8,kh)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const Bh=w(gh,[["render",Ch]]),bh={mounted(t){if(t.tagName==="INPUT"||t.tagName==="SELECT"||t.tagName==="TEXTAREA"||t.tagName==="A")t.focus();else{const n=t.querySelector("input, select, textarea");n?n.focus():console.warn("No input-element for focus-directive on element "+t.tagName+" found!")}}},_h={mounted(t,n){if(n.value&&typeof n.value=="string"){let o=/[^\d]/g,a=n.value.replace(/^\s*\+/,"00");t.href="tel:"+a.replace(o,"")}}};function wh(){const t={};e.onBeforeUpdate(a);function n(i="defaultSequence"){const l=t[i]||0;return t[i]=l+1,t[i]}function o(i="defaultSequence"){return t[i]||0}function a(i="defaultSequence"){t[i]&&(t[i]=0)}return{nextSequenceValue:n,currentSequenceValue:o,resetSequence:a}}B.CmdAddressData=Hl,B.CmdBackToTopButton=Gl,B.CmdBankAccountData=Xl,B.CmdBox=Yt,B.CmdBoxWrapper=ks,B.CmdBreadcrumbs=Ms,B.CmdCompanyLogo=$t,B.CmdCookieDisclaimer=Ks,B.CmdCopyrightInformation=tr,B.CmdFakeSelect=vt,B.CmdFancyBox=Sa,B.CmdForm=Tr,B.CmdFormElement=q,B.CmdFormFilters=eo,B.CmdGoogleMaps=Ar,B.CmdHeadline=M,B.CmdIcon=x,B.CmdImage=Z,B.CmdImageGallery=Gr,B.CmdImageZoom=vr,B.CmdInputGroup=mc,B.CmdListOfLinks=Wt,B.CmdLoginForm=Mc,B.CmdMainNavigation=lo,B.CmdMultistepFormProgressBar=td,B.CmdOpeningHours=dd,B.CmdPager=_d,B.CmdProgressBar=Md,B.CmdSiteFooter=zd,B.CmdSiteHeader=Rd,B.CmdSiteSearch=$d,B.CmdSlideButton=ue,B.CmdSlideshow=im,B.CmdSocialNetworks=Ld,B.CmdSwitchLanguage=hm,B.CmdSystemMessage=io,B.CmdTable=xm,B.CmdTabs=Fm,B.CmdTextBlock=Hm,B.CmdThumbnailScroller=Gt,B.CmdToggleDarkMode=Gm,B.CmdTooltip=qt,B.CmdUploadForm=ph,B.CmdWidthLimitationWrapper=Bh,B.DirFocus=bh,B.DirTelephone=_h,B.createHtmlId=Ut,B.createUuid=Rt,B.getFileExtension=W,B.openFancyBox=he,B.useSequence=wh,Object.defineProperties(B,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});