comand-component-library 3.3.46 → 3.3.48
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
|
|
1
|
-
(function(_,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(_=typeof globalThis<"u"?globalThis:_||self,e(_["comand-component-library"]={},_.Vue))})(this,function(_,e){"use strict";(function(){const t="on",n="out",o="body",a="stop",l="click",i="apply",c="target",d="prototype",s="Propagation",r="setAttribute",m="relatedTarget",u="addEventListener",f=Symbol(n),h=Object,y=document,p=typeof TouchEvent<"u"?TouchEvent:void 0,k=HTMLElement,C=k[d],I=Event[d],O=[l,"dbl"+l,"mousedown","mouseup","touchstart","touchend","pointerdown","pointerup"],g=new Set(O),T=new Set(O.map(B=>t+B+n)),N=(B,S)=>!!S&&B instanceof S,x=(B,S)=>B.contains(S),D=(B,S)=>{for(let E of B)S(E)},L=B=>{N(B,k)&&(B[f]?F(B):D(g,S=>{let E=t+S+n,Z=B.getAttribute(E);Z&&!M(B)[E]&&B[r](E,Z)}),D(B.childNodes,L))},M=B=>B[f]=B[f]||{},F=B=>{M(B),H.includes(B)||(H.push(B),te=!0)},P=(B,S)=>x(S,B)?1:x(B,S)?-1:0,Q=B=>{te&&(H.sort(P),te=!1);let S=B[c];N(B,p)?(B=new p(B.type+n,B))[m]=S:B=new B.constructor(B.type+n,h.assign({},B,{[m]:S})),B[a]=[],D(H,E=>{x(E,S)||B[a].some(Z=>x(Z,E))||E.dispatchEvent(B)})},R=B=>function(){let S=this,E=S.type;B[i](S),T.has(t+E)&&S[a].push(S[c])},G=(B,S,E)=>B[S]=E(B[S]);function b(B){let S=this[f][t+B.type];S&&S[i](this,[B])}let H=[],te=!1,ce=y.createElement(o);D(g,B=>{y[u](B,Q,{passive:!0,capture:!0});let S=t+B+n;h.defineProperty(C,S,{get(){return this[f][S]},set(E){this[u](B+n,b),this[f][S]=typeof E=="object"?E.handleEvent:E}})}),G(C,u,B=>function(...S){T.has(t+S[0])&&F(this),B[i](this,S)}),G(C,r,B=>function(S,E){T.has(S)?(B[i](ce,[t+l,E]),this[S]=ce[t+l]):B[i](this,[S,E])}),G(I,a+s,R),G(I,a+"Immediate"+s,R),new MutationObserver(B=>{D(B,S=>{D(S.addedNodes,L),D(S.removedNodes,E=>{N(E,k)&&(H=H.filter(Z=>!x(E,Z)))})})}).observe(y.documentElement,{childList:!0,subtree:!0}),L(y[o])})();const oe=/^[a-z0-9]+(-[a-z0-9]+)*$/,de=(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&&!me(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&&!me(d)?null:d}if(o&&a===""){const d={provider:a,prefix:"",name:i};return n&&!me(d,o)?null:d}return null},me=(t,n)=>t?!!((t.provider===""||t.provider.match(oe))&&(n&&t.prefix===""||t.prefix.match(oe))&&t.name.match(oe)):!1,yt=Object.freeze({left:0,top:0,width:16,height:16}),ue=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),he=Object.freeze({...yt,...ue}),Ie=Object.freeze({...he,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 kt(t,n){const o=Jo(t,n);for(const a in Ie)a in ue?a in t&&!(a in o)&&(o[a]=ue[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=kt(a[d]||l[d],i)}return c(n),o.forEach(c),kt(t,i)}function Ct(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:{},...yt};function xe(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function Bt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!xe(t,Xo))return null;const o=n.icons;for(const l in o){const i=o[l];if(!l.match(oe)||typeof i.body!="string"||!xe(i,Ie))return null}const a=n.aliases||{};for(const l in a){const i=a[l],c=i.parent;if(!l.match(oe)||typeof c!="string"||!o[c]&&!a[c]||!xe(i,Ie))return null}return n}const _t=Object.create(null);function $o(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function W(t,n){const o=_t[t]||(_t[t]=Object.create(null));return o[n]||(o[n]=$o(t,n))}function Te(t,n){return Bt(n)?Ct(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 ne=!1;function bt(t){return typeof t=="boolean"&&(ne=t),ne}function en(t){const n=typeof t=="string"?de(t,!0,ne):t;if(n){const o=W(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function tn(t,n){const o=de(t,!0,ne);if(!o)return!1;const a=W(o.provider,o.prefix);return vo(a,o.name,n)}function wt(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),ne&&!n&&!t.prefix){let l=!1;return Bt(t)&&(t.prefix="",Ct(t,(i,c)=>{c&&tn(i,c)&&(l=!0)})),l}const o=t.prefix;if(!me({provider:n,prefix:o,name:"a"}))return!1;const a=W(n,o);return!!Te(a,t)}const Nt=Object.freeze({width:null,height:null}),St=Object.freeze({...Nt,...ue}),on=/(-?[0-9.]*[0-9]+[0-9.]*)/g,nn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function It(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={...he,...t},a={...St,...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 C=h.rotate;p?k?C+=2:(y.push("translate("+(l.width+l.left).toString()+" "+(0-l.top).toString()+")"),y.push("scale(-1 1)"),l.top=l.left=0):k&&(y.push("translate("+(0-l.left).toString()+" "+(l.height+l.top).toString()+")"),y.push("scale(1 -1)"),l.top=l.left=0);let I;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:I=l.height/2+l.top,y.unshift("rotate(90 "+I.toString()+" "+I.toString()+")");break;case 2:y.unshift("rotate(180 "+(l.width/2+l.left).toString()+" "+(l.height/2+l.top).toString()+")");break;case 3:I=l.width/2+l.left,y.unshift("rotate(-90 "+I.toString()+" "+I.toString()+")");break}C%2===1&&(l.left!==l.top&&(I=l.left,l.left=l.top,l.top=I),l.width!==l.height&&(I=l.width,l.width=l.height,l.height=I)),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=It(u,s/r)):(m=c==="auto"?s:c,u=d===null?It(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 Me=Object.create(null);function dn(t,n){Me[t]=n}function Ve(t){return Me[t]||Me[""]}function Ee(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 De=Object.create(null),le=["https://api.simplesvg.com","https://api.unisvg.com"],fe=[];for(;le.length>0;)le.length===1||Math.random()>.5?fe.push(le.shift()):fe.push(le.pop());De[""]=Ee({resources:["https://api.iconify.design"].concat(fe)});function mn(t,n){const o=Ee(n);return o===null?!1:(De[t]=o,!0)}function Oe(t){return De[t]}let xt=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function un(t,n){const o=Oe(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=Oe(t);if(n)return n.path}return"/"}const gn={prepare:fn,send:(t,n,o)=>{if(!xt){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;xt(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]=W(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 Tt(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||Tt([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=Tt.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"?de(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 N=t.resources.slice(0);for(c=[];N.length>1;){const x=Math.floor(Math.random()*N.length);c.push(N[x]),N=N.slice(0,x).concat(N.slice(x+1))}c=c.concat(N)}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(N=>{N.status==="pending"&&(N.status="aborted")}),f=[]}function k(N,x){x&&(h=[]),typeof N=="function"&&h.push(N)}function C(){return{startTime:d,payload:n,status:s,queriesSent:r,queriesPending:f.length,subscribe:k,abort:p}}function I(){s="failed",h.forEach(N=>{N(void 0,m)})}function O(){f.forEach(N=>{N.status==="pending"&&(N.status="aborted")}),f=[]}function g(N,x,D){const L=x!=="success";switch(f=f.filter(M=>M!==N),s){case"pending":break;case"failed":if(L||!t.dataAfterTimeout)return;break;default:return}if(x==="abort"){m=D,I();return}if(L){m=D,f.length||(c.length?T():I());return}if(y(),O(),!t.random){const M=t.resources.indexOf(N.resource);M!==-1&&M!==t.index&&(t.index=M)}s="completed",h.forEach(M=>{M(D)})}function T(){if(s!=="pending")return;y();const N=c.shift();if(N===void 0){if(f.length){u=setTimeout(()=>{y(),s==="pending"&&(O(),I())},t.timeout);return}I();return}const x={status:"pending",resource:N,callback:(D,L)=>{g(x,D,L)}};f.push(x),r++,u=setTimeout(T,t.rotate),o(N,n,x.callback)}return setTimeout(T),C}function Mt(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 Vt(){}const Le=Object.create(null);function Nn(t){if(!Le[t]){const n=Oe(t);if(!n)return;const o=Mt(n),a={config:n,redundancy:o};Le[t]=a}return Le[t]}function Sn(t,n,o){let a,l;if(typeof t=="string"){const i=Ve(t);if(!i)return o(void 0,424),Vt;l=i.send;const c=Nn(t);c&&(a=c.redundancy)}else{const i=Ee(t);if(i){a=Mt(i);const c=t.resources?t.resources[0]:"",d=Ve(c);d&&(l=d.send)}}return!a||!l?(o(void 0,424),Vt):a.query(n,l,o)().abort}const Et="iconify2",ie="iconify",Dt=ie+"-count",Ot=ie+"-version",Lt=36e5,In=168;function je(t,n){try{return t.getItem(n)}catch{}}function Fe(t,n,o){try{return t.setItem(n,o),!0}catch{}}function jt(t,n){try{t.removeItem(n)}catch{}}function Pe(t,n){return Fe(t,Dt,n.toString())}function ze(t){return parseInt(je(t,Dt))||0}const pe={local:!0,session:!0},Ft={local:new Set,session:new Set};let Ae=!1;function xn(t){Ae=t}let ge=typeof window>"u"?{}:window;function Pt(t){const n=t+"Storage";try{if(ge&&ge[n]&&typeof ge[n].length=="number")return ge[n]}catch{}pe[t]=!1}function zt(t,n){const o=Pt(t);if(!o)return;const a=je(o,Ot);if(a!==Et){if(a){const d=ze(o);for(let s=0;s<d;s++)jt(o,ie+s.toString())}Fe(o,Ot,Et),Pe(o,0);return}const l=Math.floor(Date.now()/Lt)-In,i=d=>{const s=ie+d.toString(),r=je(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{}jt(o,s)}};let c=ze(o);for(let d=c-1;d>=0;d--)i(d)||(d===c-1?(c--,Pe(o,c)):Ft[t].add(d))}function At(){if(!Ae){xn(!0);for(const t in pe)zt(t,n=>{const o=n.data,a=n.provider,l=o.prefix,i=W(a,l);if(!Te(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 pe)zt(a,l=>{const i=l.data;return l.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===n});return!0}function Mn(t,n){Ae||At();function o(a){let l;if(!pe[a]||!(l=Pt(a)))return;const i=Ft[a];let c;if(i.size)i.delete(c=Array.from(i).shift());else if(c=ze(l),!Pe(l,c+1))return;const d={cached:Math.floor(Date.now()/Lt),provider:t.provider,data:n};return Fe(l,ie+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 Ht(){}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=Ve(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=Te(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,bt()),a=yn(o);if(!a.pending.length){let s=!0;return n&&setTimeout(()=>{s&&n(a.loaded,a.missing,a.pending,Ht)}),()=>{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(W(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=W(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):Ht};function On(t,n){const o={...t};for(const a in n){const l=n[a],i=typeof l;a in Nt?(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 qt={...St,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"},He={backgroundColor:"currentColor"},Rt={backgroundColor:"transparent"},Ut={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Gt={webkitMask:He,mask:He,background:Rt};for(const t in Gt){const n=Gt[t];for(const o in Ut)n[t+o]=Ut[o]}const ye={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";ye[t+"-flip"]=n,ye[t.slice(0,1)+"-flip"]=n,ye[t+"Flip"]=n});function Qt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Zt=(t,n)=>{const o=On(qt,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 C=ye[p];C?(k===!0||k==="true"||k===1)&&(o[C]=!0):qt[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:Qt(r.width),height:Qt(r.height),...qn,...h?He:Rt,...d},e.h("span",a)};if(bt(!0),dn("",gn),typeof document<"u"&&typeof window<"u"){At();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"||!wt(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={...he,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=de(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 Zt(Rn,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Zt({...he,...n.data},o)}}),Nh="",w=(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 Zn(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 V=w(Gn,[["render",Zn]]),Sh="",Wn={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=V;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 j=w(Wn,[["render",Kn]]),q={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.tooltip.open_address_on_google_maps:":"Open address on GoogleMaps\u2122 (in new tab)","cmdaddressdata.tooltip.call_number":"Call number","cmdaddressdata.tooltip.send_email":"Send email","cmdaddressdata.tooltip.visit_website":"Visit web site (in new tab)"}}}},Ih="",$n={name:"CmdAddressData",mixins:[q,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=j,d=V,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=w($n,[["render",zl]]),xh="",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=V;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=w(Hl,[["render",Rl]]),Th="",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){navigator.permissions.query({name:"clipboard-write"}).then(n=>{if(n.state==="granted"||n.state==="prompt"){const o=t.replace(/\s/g,"");navigator.clipboard.writeText(o),alert(o+" was copied to clipboard")}}).catch(n=>console.error(n))}}},Ql={class:"cmd-bank-account-data"},Zl={key:0},Wl=["onClick","title"],Jl={key:1};function Yl(t,n,o,a,l,i){const c=j,d=V;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",Zl,[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,Wl)])):(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=w(Gl,[["render",Yl]]);function J(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 Mh="",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(Xl,[["render",ti]]),Vh="",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=V;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 ke=w(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"}}}},Eh="",ai={name:"CmdThumbnailScroller",emits:["click"],mixins:[q,ii],data(){return{items:[]}},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"}}}}}},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:{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&&Ce({fancyBoxGallery:this.items,defaultGalleryIndex:t}),this.emitCurrentItemId(t)},emitCurrentItemId(t){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.src=n.image.srcImageSmall):n={...t},n})},immediate:!0}}},si=["href","onClick","title","target"];function ri(t,n,o,a,l,i){const c=ke,d=$,s=V;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":!o.allowOpenFancyBox,"full-width":o.fullWidth,"large-icons":o.largeIcons}])},[e.createVNode(c,{onClick:e.withModifiers(i.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:o.activeItemIndex===m})},[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(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(r.text),1)],64)):e.createCommentVNode("",!0)],64))],8,si)],2))),128))]),_:1}),e.createVNode(c,{onClick:e.withModifiers(i.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])],2)}const Wt=w(ai,[["render",ri]]);function Jt(){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 Yt(){return"cmd-"+Jt()}const ae={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Yt()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},Dh="",Ce=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Kt,{...t,show:!0}).mount(n)},Kt=e.defineComponent({name:"CmdFancyBox",mixins:[ae],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{ariaLabelText:{type:String,required:!0},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!0},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.allowEscapeKey&&(this.$_FancyBox_escapeKeyHandler=t=>(t.key==="Escape"||t.key==="Esc")&&this.close(),document.querySelector("body").addEventListener("keyup",this.$_FancyBox_escapeKeyHandler)),this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},beforeUnmount(){this.allowEscapeKey&&document.querySelector("body").removeEventListener("keyup",this.$_FancyBox_escapeKeyHandler)},computed:{largeGalleryImage(){const 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:{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 ci(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].id===t){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.$options.el?(this.$destroy(),this.$el.remove()):(this.showFancyBox=!1,this.$emit("update:show",!1)),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(t){this.showFancyBox=t},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function ci(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const di=Kt,mi=["aria-label"],ui={class:"flex-container"},hi={key:1,class:"button-wrapper no-flex"},fi=["title"],pi=["title"],gi=["title"],yi={key:0,class:"content"},ki=["innerHTML"],Ci={key:2,class:"content"},Bi={key:3,class:"content"},_i={key:4,class:"content"},bi={key:0,class:"flex-container no-flex"},wi=["title"],Ni={key:1},Si=["title"],Ii={key:1};function xi(t,n,o,a,l,i){var u,f,h,y,p,k,C,I,O,g,T,N,x,D,L,M,F,P,Q,R,G,b,H,te,ce,B,S,E,Z;const c=j,d=V,s=$,r=ke,m=Wt;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},[e.createElementVNode("header",ui,[(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",hi,[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(X=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(d,{iconClass:(I=t.fancyboxOptions.printButtons.color)==null?void 0:I.iconClass,type:(O=t.fancyboxOptions.printButtons.color)==null?void 0:O.iconType},null,8,["iconClass","type"])],8,fi)):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:(T=t.fancyboxOptions.printButtons.grayscale)==null?void 0:T.tooltip,onClick:n[1]||(n[1]=e.withModifiers(X=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(d,{iconClass:(N=t.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconClass,type:(x=t.fancyboxOptions.printButtons.grayscale)==null?void 0:x.iconType},null,8,["iconClass","type"])],8,pi)):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((...X)=>t.close&&t.close(...X),["prevent"]))},[e.createVNode(d,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,gi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||((D=t.cmdImage)==null?void 0:D.image)?(e.openBlock(),e.createElementBlock("div",yi,[e.createVNode(s,{image:t.largeSingleImage,figcaption:(L=t.cmdImage)==null?void 0:L.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,ki)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",Ci)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",Bi,[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",_i,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",bi,[(M=t.fancyboxOptions.submitButtons)!=null&&M.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...X)=>t.cancel&&t.cancel(...X)),title:(F=t.fancyboxOptions.submitButtons.cancel)==null?void 0:F.tooltip},[(P=t.fancyboxOptions.submitButtons.cancel)!=null&&P.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Q=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Q.iconClass,type:(R=t.fancyboxOptions.submitButtons.cancel)==null?void 0:R.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(G=t.fancyboxOptions.submitButtons.cancel)!=null&&G.buttonText?(e.openBlock(),e.createElementBlock("span",Ni,e.toDisplayString((b=t.fancyboxOptions.submitButtons.cancel)==null?void 0:b.buttonText),1)):e.createCommentVNode("",!0)],8,wi)):e.createCommentVNode("",!0),(H=t.fancyboxOptions.submitButtons)!=null&&H.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...X)=>t.confirm&&t.confirm(...X)),title:(te=t.fancyboxOptions.submitButtons.cancel)==null?void 0:te.tooltip},[(ce=t.fancyboxOptions.submitButtons.confirm)!=null&&ce.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(B=t.fancyboxOptions.submitButtons.confirm)==null?void 0:B.iconClass,type:(S=t.fancyboxOptions.submitButtons.confirm)==null?void 0:S.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(E=t.fancyboxOptions.submitButtons.confirm)!=null&&E.buttonText?(e.openBlock(),e.createElementBlock("span",Ii,e.toDisplayString((Z=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Z.buttonText),1)):e.createCommentVNode("",!0)],8,Si)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,imgIndex:t.index},null,8,["thumbnailScrollerItems","onClick","imgIndex"])):e.createCommentVNode("",!0)],10,mi)])}const Ti=w(di,[["render",xi]]),Oh="",Mi={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 J(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),Ce({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},Vi=["href","target","onClick","title"],Ei={key:1},Di={key:1};function Oi(t,n,o,a,l,i){const c=j,d=V,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",Ei,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],8,Vi)):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",Di,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0)],2))),128))],2)],2)}const Xt=w(Mi,[["render",Oi]]),Li={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"}}}},ji={props:{globalCurrency:{type:Object,default(){return{symbol:"\u20AC",name:"Euro"}}}}},Lh="",qe={name:"CmdBox",mixins:[q,Li,ji],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:!1},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)}}},$t=()=>{e.useCssVars(t=>({"09a4c4ef":t.cutoffTextLines}))},vt=qe.setup;qe.setup=vt?(t,n)=>($t(),vt(t,n)):$t;const Fi=qe,Pi=["title"],zi={key:0,class:"box-header"},Ai=["src","alt"],Hi={key:1,class:"text-wrapper"},qi={key:1},Ri={key:3,class:"box-footer"},Ui={class:"box-header flex-container vertical"},Gi={key:0},Qi=["src","alt"],Zi={key:1},Wi={key:2,class:"ribbon-new"},Ji={key:3,class:"ribbon-discount"},Yi={class:"box-body"},Ki={key:0},Xi={key:1,class:"price"},$i=["title"],vi={key:2},ea={class:"box-header flex-container vertical"},ta={key:0},oa=["src","alt"],na={key:0},la={key:1},ia=["title"],aa={key:0},sa={class:"box-body"},ra={key:0},ca={key:1},da={key:2},ma={key:3,class:"description"},ua={class:"tags"},ha={key:0,class:"box-footer"};function fa(t,n,o,a,l,i){var r,m,u,f,h,y,p,k;const c=j,d=V,s=Xt;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((...C)=>i.toggleContentVisibility&&i.toggleContentVisibility(...C),["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,Pi)):(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",zi,[(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"},[e.createVNode(e.TransitionGroup,{name:i.toggleTransition},{default:e.withCtx(()=>{var C,I;return[o.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cutoff-text",{"fade-last-line":o.fadeLastLine&&!l.showCutOffText,"show-text":l.showCutOffText}])},[(C=o.useSlots)!=null&&C.includes("body")?e.renderSlot(t.$slots,"body",{key:0},()=>[e.createElementVNode("p",null,e.toDisplayString(o.textBody),1)]):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(I=o.useSlots)!=null&&I.includes("body")?e.renderSlot(t.$slots,"body",{key:0},()=>[e.createElementVNode("p",null,e.toDisplayString(o.textBody),1)]):e.createCommentVNode("",!0)],64))]}),_:3},8,["name"]),o.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...C)=>i.toggleCutOffText&&i.toggleCutOffText(...C),["prevent"]))},e.toDisplayString(l.showCutOffText?t.getMessage("cmdbox.contentbox.collapse_text"):t.getMessage("cmdbox.contentbox.expand_text")),1)):(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,Ai)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("div",Hi,[((p=o.cmdHeadline)==null?void 0:p.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",qi,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],64))],2)):e.createCommentVNode("",!0),(k=o.useSlots)!=null&&k.includes("footer")?(e.openBlock(),e.createElementBlock("div",Ri,[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(C=>i.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",Ui,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Gi,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,Qi),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",Wi,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Ji,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Yi,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Ki,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",Xi,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,$i)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",vi,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",ea,[o.user.image?(e.openBlock(),e.createElementBlock("figure",ta,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,oa),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",na,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",la,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,ia),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",aa,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",sa,[o.rowView?(e.openBlock(),e.createElementBlock("p",ra,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",ca,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",da,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",ma,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),e.createElementVNode("ul",ua,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(C,I)=>(e.openBlock(),e.createElementBlock("li",{key:I},e.toDisplayString(C),1))),128))]),o.user.links?(e.openBlock(),e.createElementBlock("div",ha,[e.createVNode(s,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const eo=w(Fi,[["render",fa]]),jh="",Re={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:0}},props:{useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},allowTogglingCollapsingBoxes:{type:Boolean,default:!1},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{boxesPerRowResponsive(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}}},to=()=>{e.useCssVars(t=>({b9ce4c34:t.boxesPerRowLarge,"7c2d73ac":t.boxesPerRowMedium,b8fe989c:t.boxesPerRowSmall}))},oo=Re.setup;Re.setup=oo?(t,n)=>(to(),oo(t,n)):to;const pa=Re,ga={class:"cmd-box-wrapper"},ya={class:"flex-container headline-wrapper"},ka={key:1,class:"options-wrapper"},Ca=["title"],Ba=["title"];function _a(t,n,o,a,l,i){const c=j,d=V;return e.openBlock(),e.createElementBlock("div",ga,[e.createElementVNode("div",ya,[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",ka,[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,Ca)):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,Ba)):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 ba=w(pa,[["render",_a]]),Fh="",wa={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return J(t)}}},Na={class:"cmd-breadcrumbs"},Sa={key:0},Ia=["href"],xa={key:1},Ta={key:1},Ma={key:2},Va={key:1},Ea={key:3};function Da(t,n,o,a,l,i){const c=V,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",Na,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",Sa,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",xa,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)],8,Ia)):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",Ta,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",Ma,[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",Va,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)])),r<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Ea,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const Oa=w(wa,[["render",Da]]),Ph="",La={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 J(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"}}},ja={class:"cmd-company-logo"},Fa=["href","title"];function Pa(t,n,o,a,l,i){var s,r,m,u,f,h;const c=$,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",ja,[((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,Fa)):(e.openBlock(),e.createBlock(c,{key:2,image:i.image},null,8,["image"]))])}const no=w(La,[["render",Pa]]),zh="",za={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"})}}},Aa={key:0,class:"headline-wrapper"},Ha=["title"];function qa(t,n,o,a,l,i){const c=j,d=V;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",Aa,[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,Ha)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const lo=w(za,[["render",qa]]),Ra={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},Ah="",Ua={name:"CmdListOfRequirements",mixins:[q,Ra],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")}}},Ga={class:"cmd-list-of-requirements"},Qa=e.createElementVNode("br",null,null,-1),Za=e.createElementVNode("hr",null,null,-1),Wa=["href","target"],Ja={key:1};function Ya(t,n,o,a,l,i){var s,r,m;const c=j,d=V;return e.openBlock(),e.createElementBlock("div",Ga,[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},[Qa,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",Ja,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,Wa)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const Ka=w(Ua,[["render",Ya]]),Xa={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 $a(t,n,o,a,l,i){const c=Ka,d=lo;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 Ue=w(Xa,[["render",$a]]),va={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"}}}},Ge={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[q,{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)}}}},Qe={};function es(t="defaultSequence"){const n=Qe[t]||0;return Qe[t]=n+1,Qe[t]}const Ze={data(){return{tooltip:!1,tooltipId:"tooltip-"+es()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},qh="",ts=["color","date","datetime-local","file","number","range"],os={inheritAttrs:!1,name:"CmdFormElement",mixins:[q,va,Ge,ae,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:""}}}},showStatusIcon:{type:Boolean,default:!0},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:ts.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}}},ns=["for","title"],ls={key:0,class:"label-text"},is={key:2},as=["title","aria-errormessage","id"],ss={key:1,class:"flex-container"},rs=["id","autocomplete","list","value","maxlength"],cs=["title"],ds=["id"],ms=["value"],us=["checked","value","id","disabled","aria-invalid"],hs={key:2},fs={class:"switch-label-wrapper"},ps=["checked","value","id","disabled","aria-invalid"],gs={class:"label-text"},ys={class:"label-text"},ks={key:0,class:"label-text"},Cs={key:0},Bs=["id"],_s=["value","selected"],bs=["id","value","maxlength"],ws={key:6},Ns={key:7,class:"search-field-wrapper flex-container no-gap"},Ss=["id","maxlength","value"],Is=["title"],xs=["title"],Ts={key:1};function Ms(t,n,o,a,l,i){var s,r,m,u,f,h,y,p,k,C,I,O,g,T,N,x,D,L,M,F,P,Q,R,G;const c=Ue,d=V;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",ls,[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",is,"*")):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),o.showStatusIcon&&(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,as)):e.createCommentVNode("",!0)],512)),[[e.vShow,o.showLabel]]):e.createCommentVNode("",!0),t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",ss,[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]=b=>t.tooltip=!0),onBlur:n[2]||(n[2]=(...b)=>i.onBlur&&i.onBlur(...b)),onInput:n[3]||(n[3]=(...b)=>i.onInput&&i.onInput(...b)),onMouseover:n[4]||(n[4]=(...b)=>i.datalistFocus&&i.datalistFocus(...b)),onKeyup:n[5]||(n[5]=(...b)=>t.checkForCapsLock&&t.checkForCapsLock(...b)),onChange:n[6]||(n[6]=b=>t.$emit("change",b)),autocomplete:i.autocomplete,list:o.datalist?o.datalist.id:null,value:o.modelValue,maxlength:i.getMaxLength(),ref:"input"}),null,16,rs)):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((...b)=>i.showPassword&&i.showPassword(...b),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((...b)=>i.hidePassword&&i.hidePassword(...b),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((...b)=>i.hidePassword&&i.hidePassword(...b),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:o.iconPasswordVisible.tooltip},[e.createVNode(d,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,cs)):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,(b,H)=>(e.openBlock(),e.createElementBlock("option",{key:H,value:b},null,8,ms))),128))],8,ds)):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",fs,[e.createElementVNode("input",e.mergeProps(i.elementAttributes,{onChange:n[13]||(n[13]=(...b)=>i.onChange&&i.onChange(...b)),onBlur:n[14]||(n[14]=(...b)=>i.onBlur&&i.onBlur(...b)),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,ps),e.createElementVNode("span",gs,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",ys,e.toDisplayString(o.offLabel),1)]),o.labelText?(e.openBlock(),e.createElementBlock("span",ks,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Cs,"*")):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]=(...b)=>i.onChange&&i.onChange(...b)),onBlur:n[12]||(n[12]=(...b)=>i.onBlur&&i.onBlur(...b)),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,us),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",hs,"*")):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]=(...b)=>i.onBlur&&i.onBlur(...b)),onChange:n[16]||(n[16]=b=>t.$emit("update:modelValue",b.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectOptions,(b,H)=>(e.openBlock(),e.createElementBlock("option",{key:H,value:b.value,selected:b.value===o.modelValue},e.toDisplayString(b.text),9,_s))),128))],16,Bs)):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]=(...b)=>i.onInput&&i.onInput(...b)),onFocus:n[18]||(n[18]=b=>t.tooltip=!0),onBlur:n[19]||(n[19]=(...b)=>i.onBlur&&i.onBlur(...b))}),`\r
|
2
|
-
`,16,bs)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",ws,e.toDisplayString(i.charactersTextarea),1)):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",Ns,[e.createElementVNode("input",e.mergeProps(i.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(...b)=>i.onInput&&i.onInput(...b)),maxlength:i.getMaxLength(),value:o.modelValue}),null,16,Ss),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((...b)=>i.executeSearch&&i.executeSearch(...b),["prevent"]))},[e.createVNode(d,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,Is)):e.createCommentVNode("",!0),(s=o.iconDelete)!=null&&s.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(b=>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,xs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,ns)):(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"||!((C=(k=o.nativeButton)==null?void 0:k.icon)!=null&&C.position))?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(O=(I=o.nativeButton)==null?void 0:I.icon)==null?void 0:O.iconClass,type:(T=(g=o.nativeButton)==null?void 0:g.icon)==null?void 0:T.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((N=o.nativeButton)==null?void 0:N.icon)&&((x=o.nativeButton)==null?void 0:x.text)?(e.openBlock(),e.createElementBlock("span",Ts,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),((L=(D=o.nativeButton)==null?void 0:D.icon)==null?void 0:L.show)&&((F=(M=o.nativeButton)==null?void 0:M.icon)==null?void 0:F.position)==="after"?(e.openBlock(),e.createBlock(d,{key:3,iconClass:(Q=(P=o.nativeButton)==null?void 0:P.icon)==null?void 0:Q.iconClass,type:(G=(R=o.nativeButton)==null?void 0:R.icon)==null?void 0:G.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const Y=w(os,[["render",Ms]]),Vs={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!"}}}},Rh="",Es={name:"CmdCookieDisclaimer",mixins:[q,Vs],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}))}}},Ds={class:"cmd-cookie-disclaimer flex-container vertical"},Os={key:0,class:"flex-container vertical"},Ls={key:0},js={key:1},Fs=["href","target"],Ps=["innerHTML"],zs=e.createElementVNode("hr",null,null,-1),As={key:1,class:"flex-container vertical"},Hs={key:0},qs={key:1},Rs=["href","target"],Us=["innerHTML"],Gs={class:"button-wrapper align-center"};function Qs(t,n,o,a,l,i){const c=j,d=Y,s=eo;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var r,m,u;return[e.createElementVNode("div",Ds,[((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,I,O;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Os,[(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,T)=>{var N;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(N=o.cmdBoxRequiredCookies)==null?void 0:N.collapsible,key:T},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:i.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=x=>i.acceptedCookies=x),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",Ls,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",js,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...x)=>i.openDataPrivacy&&i.openDataPrivacy(...x)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Fs)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Ps)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),zs,(k=o.cookieOptions)!=null&&k.optional?(e.openBlock(),e.createElementBlock("div",As,[(C=o.cmdBoxOptionalCookies)!=null&&C.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(I=o.cmdBoxOptionalCookies)==null?void 0:I.headlineText,"headline-level":(O=o.cmdBoxOptionalCookies)==null?void 0:O.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(g,T)=>{var N;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(N=o.cmdBoxOptionalCookies)==null?void 0:N.collapsible,key:T},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:i.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=x=>i.acceptedCookies=x),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",Hs,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]=(...x)=>i.openDataPrivacy&&i.openDataPrivacy(...x)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Rs)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Us)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Gs,[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=w(Es,[["render",Qs]]),Uh="",Ws={name:"CmdCopyrightWrapper"},Js={class:"cmd-copyright-information",role:"contentinfo"},Ys=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function Ks(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Js,Ys)}const Xs=w(Ws,[["render",Ks]]),$s={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"}}}},Qh="",vs={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[q,$s,Ge,ae,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}}},er=["title","aria-labelledby","aria-required"],tr={key:0,class:"label-text"},or=["id"],nr={key:0},lr=["title","aria-errormessage","id"],ir=["aria-expanded"],ar=["title"],sr=["src","alt"],rr={key:0,role:"listbox"},cr=["aria-selected"],dr=["onClick","title"],mr={key:1},ur=["aria-expanded"],hr=["for"],fr=["value","checked","id"],pr=["onClick"],gr=["src","alt"],yr=["onClick"],kr={key:0,class:"select-all-options"};function Cr(t,n,o,a,l,i){var r,m,u,f;const c=Ue,d=V,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",tr,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",nr,"*")):e.createCommentVNode("",!0)],8,or),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,lr)):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,sr)):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,ar),o.type==="default"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",rr,[(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",mr,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0)],10,dr)):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,cr))),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,fr),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,hr)):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,gr),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,pr)):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,yr)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",kr,[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,ur)):o.type==="content"&&l.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,ir)],10,er)}const io=w(vs,[["render",Cr]]),Zh="",Br={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)}}},_r=["data-use-validation","novalidate"],br={class:"flex-container"};function wr(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",br,[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,_r)}const Nr=w(Br,[["render",wr]]),Wh="",Sr={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}}},Ir={key:0,class:"cmd-form-filters"},xr={key:0},Tr={key:1},Mr=["onClick","title"];function Vr(t,n,o,a,l,i){const c=V;return l.options.length?(e.openBlock(),e.createElementBlock("ul",Ir,[l.options.length>1?(e.openBlock(),e.createElementBlock("li",xr,[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",Tr,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,Mr)]))),128))])):e.createCommentVNode("",!0)}const ao=w(Sr,[["render",Vr]]),Jh="",Er={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"}}},Dr={class:"cmd-google-maps responsive-wrapper"},Or=["src"];function Lr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Dr,[e.createElementVNode("iframe",{src:i.locateAddress},null,8,Or)])}const jr=w(Er,[["render",Lr]]),Fr={data(){return{defaultMessageProperties:{"cmdimagegallery.tooltip.open_large_image":"Open large image"}}}},Yh="",Pr={name:"CmdImageGallery",mixins:[q,Fr],props:{images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},methods:{showFancyBox(t){Ce({fancyBoxGallery:this.images,defaultGalleryIndex:t})}}},zr={class:"grid-container-create-columns cmd-image-gallery"},Ar=["onClick","title"];function Hr(t,n,o,a,l,i){const c=$;return e.openBlock(),e.createElementBlock("div",zr,[(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,Ar))),128))])}const qr=w(Pr,[["render",Hr]]),Kh="",Rr={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`,so(this,t)})},onMouseMove(t){so(this,t)},onMouseOut(){this.showLargeImage=!1}}};function so(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=ro(r-u/2,0,i-u),y=ro(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 ro(t,n,o){return t<n?n:t>o?o:t}const Ur={class:"cmd-imagezoom flex-container"},Gr=["title"],Qr=["src","alt"],Zr={key:0,class:"zoom-container"},Wr=["src","alt"],Jr={key:1,class:"zoom-overlay"};function Yr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Ur,[e.createElementVNode("a",{href:"#",class:"no-flex",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,Qr)],8,Gr),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Zr,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,Wr)])):e.createCommentVNode("",!0),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Jr)):e.createCommentVNode("",!0)])}const Kr=w(Rr,[["render",Yr]]),Xh="",Xr={mixins:[Ge,ae,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}}},$r=["aria-labelledby"],vr={class:"label-text"},ec=["id"],tc={key:0},oc=["title","aria-errormessage","id"],nc=["for"],lc=["type","id","name","value","disabled"],ic={key:1},ac={key:1,class:"flex-container no-flex"};function sc(t,n,o,a,l,i){const c=Ue,d=V;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",vr,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",tc,"*")):e.createCommentVNode("",!0)],8,ec),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,oc)):e.createCommentVNode("",!0)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",ac,[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,lc),[[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",ic,e.toDisplayString(s.labelText),1)):e.createCommentVNode("",!0)],8,nc))),128))],2))],10,$r)}const rc=w(Xr,[["render",sc]]),$h="",cc={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 J(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()}}},dc={class:"cmd-login-form flex-container"},mc={class:"flex-container"},uc={class:"option-wrapper flex-container"},hc={key:1},fc=["href"],pc={key:1},gc=e.createTextVNode(" /> "),yc={key:1},kc=["type","disabled"],Cc={key:1},Bc={class:"cmd-login-form flex-container"},_c={class:"option-wrapper flex-container"},bc={key:1},wc=["type","disabled"],Nc={key:1};function Sc(t,n,o,a,l,i){var m,u,f,h,y,p,k;const c=j,d=Y,s=V,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",dc,[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",mc,[e.createVNode(d,{element:"input",type:"text",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:i.username,"onUpdate:modelValue":n[0]||(n[0]=C=>i.username=C),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=C=>i.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:i.password,"onUpdate:modelValue":n[2]||(n[2]=C=>i.password=C),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=C=>i.checkValidationStatus(C,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",uc,[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=>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",hc,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",pc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,fc)):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),gc,o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",yc,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)=>i.onClick&&i.onClick(...C)),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",Cc,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,kc)):e.createCommentVNode("",!0)])],512),[[e.vShow,!l.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",Bc,[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=>i.checkValidationStatus(C,"email")),modelValue:l.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=C=>l.sendLoginMail=C)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",_c,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(C=>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",bc,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",Nc,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,wc)):e.createCommentVNode("",!0)])],512),[[e.vShow,l.sendLogin]])],64)}const Ic=w(cc,[["render",Sc]]),vh="",xc={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},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 J(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()))}}},Tc={key:0,class:"close-nav"},Mc=["href","title","target","onClick"],Vc={key:1},Ec={key:1},Dc=["aria-expanded"],Oc=["href","title","target","onClick"],Lc={key:1},jc={key:1},Fc=["aria-expanded"],Pc=["href","title","target","onClick"],zc={key:1},Ac={key:1};function Hc(t,n,o,a,l,i){const c=V,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",Tc,[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",Vc,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,Mc)):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",Ec,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",Lc,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,Oc)):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",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)]),_: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:C=>i.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",zc,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,Pc)):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",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)]),_:2},1032,["to","target"])):e.createCommentVNode("",!0)]))),128))],8,Fc)):e.createCommentVNode("",!0)],2))),128))],8,Dc)):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 co=w(xc,[["render",Hc]]),ef="",qc={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 J(t)}}},Rc={class:"cmd-multistep-form-progress-bar"},Uc=["href","onClick","title"],Gc={key:0,class:"number"},Qc={key:2},Zc={key:0,class:"number"},Wc={key:2},Jc=["type","name","title","formaction","onClick"],Yc={key:0,class:"number"},Kc={key:2};function Xc(t,n,o,a,l,i){const c=V,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",Rc,[(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",Gc,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",Qc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Uc)):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",Wc,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",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)],8,Jc)):e.createCommentVNode("",!0)],2))),128))])}const $c=w(qc,[["render",Xc]]),tf="";function vc(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 ed={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):vc(":"," hrs","",!1)(t.hours,t.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},td={class:"cmd-opening-hours"},od=["href"],nd={key:3},ld={key:0},id={key:1};function ad(t,n,o,a,l,i){var s,r;const c=j,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",td,[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,od)):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",nd,[o.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",ld,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidaysClosed),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",id,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const sd=w(ed,[["render",ad]]),rd={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},of="",cd={name:"CmdPager",mixins:[q,rd],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)}}},dd={class:"cmd-pager"},md=["href","title"],ud={key:0},hd={class:"page-index"},fd={class:"flex-container"},pd=["href","title","onClick"],gd=["href","title"],yd={key:0};function kd(t,n,o,a,l,i){const c=V;return e.openBlock(),e.createElementBlock("div",dd,[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",ud,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,md),e.createElementVNode("div",hd,[e.createElementVNode("div",fd,[(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,pd))),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",yd,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,gd)])}const Cd=w(cd,[["render",kd]]),nf="",Bd={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}}},_d=["for"],bd={class:"progressbar"},wd={key:0},Nd=["id","value"];function Sd(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",bd,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",wd,e.toDisplayString(l.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:l.loadingStatus}),null,16,Nd)])],8,_d)}const Id=w(Bd,[["render",Sd]]),lf="",xd={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}}},Td=["id","href","title"],Md={key:1};function Vd(t,n,o,a,l,i){const c=j,d=Y,s=V;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",Md,e.toDisplayString(r.linkText),1)):e.createCommentVNode("",!0)],10,Td))]))),256))],2)],2)}const Ed=w(xd,[["render",Vd]]),af="",Dd={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},Od={class:"cmd-site-footer"};function Ld(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Od,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const jd=w(Dd,[["render",Ld]]),sf="",Fd={name:"CmdSiteHeader",props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}}},Pd={key:0,class:"top-header"};function zd(t,n,o,a,l,i){var s,r,m,u,f,h,y,p,k;const c=no,d=co;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",Pd,[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,e.mergeProps({key:1,closeOffcanvas:o.closeOffcanvas},o.cmdMainNavigation),null,16,["closeOffcanvas"])):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,closeOffcanvas:o.closeOffcanvas},null,8,["navigationEntries","closeOffcanvas"])):e.createCommentVNode("",!0)],2)}const Ad=w(Fd,[["render",zd]]),Hd={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"}}}},rf="",qd={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[q,Hd],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}}},Rd={class:"cmd-box-site-search flex-container"},Ud={class:"flex-container align-bottom"},Gd={class:"input-wrapper align-bottom"},Qd={key:0},Zd={key:1},Wd={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Jd(t,n,o,a,l,i){var u,f,h,y,p,k,C,I,O,g;const c=j,d=Y,s=V,r=io,m=ao;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Rd,[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",Ud,[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]=T=>i.searchValue1=T)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Gd,[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]=T=>i.searchValue2=T)},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]=T=>i.radius=T),"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(T=>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?(C=(k=o.cmdIcon)==null?void 0:k.showFilters)==null?void 0:C.iconType:(O=(I=o.cmdIcon)==null?void 0:I.hideFilters)==null?void 0:O.iconType},null,8,["iconClass","type"]),l.showFilters?(e.openBlock(),e.createElementBlock("span",Qd,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 T,N,x,D,L;return[l.showFilters&&((T=o.cmdFakeSelect)==null?void 0:T.selectData.length)?(e.openBlock(),e.createElementBlock("div",Wd,[e.createVNode(r,{role:"option",selectData:(N=o.cmdFakeSelect)==null?void 0:N.selectData,modelValue:i.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=M=>i.searchFilters=M),defaultOptionName:(x=o.cmdFakeSelect)==null?void 0:x.defaultOptionName,type:(D=o.cmdFakeSelect)==null?void 0:D.type,labelText:(L=o.cmdFakeSelect)==null?void 0:L.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]=T=>i.searchFilters=T),selectedOptionsName:i.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const Yd=w(qd,[["render",Jd]]),cf="",Kd={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}}},Xd=["href","title"],$d={key:0},vd=["onClick","aria-label"],em={key:1};function tm(t,n,o,a,l,i){const c=ke,d=$;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,C;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,Xd)):(e.openBlock(),e.createBlock(d,{image:(k=i.currentItem)==null?void 0:k.image,figcaption:(C=i.currentItem)==null?void 0:C.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",$d,[(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,vd)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",em,e.toDisplayString(l.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const om=w(Kd,[["render",tm]]),nm=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"})),ff="",lm={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return J(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(nm[n].default)})},immediate:!0,deep:!0}}},im={class:"cmd-switch-language"},am=["href","title","onClick"],sm=["src","alt"],rm=["src","alt"];function cm(t,n,o,a,l,i){const c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",im,[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,sm)],10,am)):(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,rm)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const dm=w(lm,[["render",cm]]),pf="",mm={name:"CmdSystemMessage",mixins:[ae],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}}},um=["role","aria-labelledby"],hm=["title"];function fm(t,n,o,a,l,i){const c=V,d=j;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":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,hm)):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,um)):e.createCommentVNode("",!0)]),_:3})}const mo=w(mm,[["render",fm]]),gf="",pm={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)}}},gm={key:0,class:"button-wrapper"},ym=["title"],km=["title"],Cm={class:"inner-wrapper"},Bm={"aria-expanded":"true"},_m={key:0,"aria-expanded":"true"};function bm(t,n,o,a,l,i){var d,s,r,m;const c=V;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",gm,[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,ym)):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,km)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Cm,[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",Bm,[(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",_m,[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 wm=w(pm,[["render",bm]]),Nm={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(_,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(_=typeof globalThis<"u"?globalThis:_||self,e(_["comand-component-library"]={},_.Vue))})(this,function(_,e){"use strict";(function(){const t="on",n="out",o="body",a="stop",l="click",i="apply",c="target",d="prototype",s="Propagation",r="setAttribute",m="relatedTarget",u="addEventListener",f=Symbol(n),h=Object,y=document,p=typeof TouchEvent<"u"?TouchEvent:void 0,C=HTMLElement,k=C[d],I=Event[d],O=[l,"dbl"+l,"mousedown","mouseup","touchstart","touchend","pointerdown","pointerup"],g=new Set(O),T=new Set(O.map(B=>t+B+n)),N=(B,S)=>!!S&&B instanceof S,x=(B,S)=>B.contains(S),D=(B,S)=>{for(let E of B)S(E)},L=B=>{N(B,C)&&(B[f]?F(B):D(g,S=>{let E=t+S+n,Z=B.getAttribute(E);Z&&!M(B)[E]&&B[r](E,Z)}),D(B.childNodes,L))},M=B=>B[f]=B[f]||{},F=B=>{M(B),H.includes(B)||(H.push(B),te=!0)},P=(B,S)=>x(S,B)?1:x(B,S)?-1:0,Q=B=>{te&&(H.sort(P),te=!1);let S=B[c];N(B,p)?(B=new p(B.type+n,B))[m]=S:B=new B.constructor(B.type+n,h.assign({},B,{[m]:S})),B[a]=[],D(H,E=>{x(E,S)||B[a].some(Z=>x(Z,E))||E.dispatchEvent(B)})},R=B=>function(){let S=this,E=S.type;B[i](S),T.has(t+E)&&S[a].push(S[c])},G=(B,S,E)=>B[S]=E(B[S]);function b(B){let S=this[f][t+B.type];S&&S[i](this,[B])}let H=[],te=!1,ce=y.createElement(o);D(g,B=>{y[u](B,Q,{passive:!0,capture:!0});let S=t+B+n;h.defineProperty(k,S,{get(){return this[f][S]},set(E){this[u](B+n,b),this[f][S]=typeof E=="object"?E.handleEvent:E}})}),G(k,u,B=>function(...S){T.has(t+S[0])&&F(this),B[i](this,S)}),G(k,r,B=>function(S,E){T.has(S)?(B[i](ce,[t+l,E]),this[S]=ce[t+l]):B[i](this,[S,E])}),G(I,a+s,R),G(I,a+"Immediate"+s,R),new MutationObserver(B=>{D(B,S=>{D(S.addedNodes,L),D(S.removedNodes,E=>{N(E,C)&&(H=H.filter(Z=>!x(E,Z)))})})}).observe(y.documentElement,{childList:!0,subtree:!0}),L(y[o])})();const oe=/^[a-z0-9]+(-[a-z0-9]+)*$/,de=(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&&!me(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&&!me(d)?null:d}if(o&&a===""){const d={provider:a,prefix:"",name:i};return n&&!me(d,o)?null:d}return null},me=(t,n)=>t?!!((t.provider===""||t.provider.match(oe))&&(n&&t.prefix===""||t.prefix.match(oe))&&t.name.match(oe)):!1,yt=Object.freeze({left:0,top:0,width:16,height:16}),ue=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),he=Object.freeze({...yt,...ue}),Ie=Object.freeze({...he,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 kt(t,n){const o=Jo(t,n);for(const a in Ie)a in ue?a in t&&!(a in o)&&(o[a]=ue[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=kt(a[d]||l[d],i)}return c(n),o.forEach(c),kt(t,i)}function Ct(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:{},...yt};function xe(t,n){for(const o in n)if(o in t&&typeof t[o]!=typeof n[o])return!1;return!0}function Bt(t){if(typeof t!="object"||t===null)return null;const n=t;if(typeof n.prefix!="string"||!t.icons||typeof t.icons!="object"||!xe(t,Xo))return null;const o=n.icons;for(const l in o){const i=o[l];if(!l.match(oe)||typeof i.body!="string"||!xe(i,Ie))return null}const a=n.aliases||{};for(const l in a){const i=a[l],c=i.parent;if(!l.match(oe)||typeof c!="string"||!o[c]&&!a[c]||!xe(i,Ie))return null}return n}const _t=Object.create(null);function $o(t,n){return{provider:t,prefix:n,icons:Object.create(null),missing:new Set}}function W(t,n){const o=_t[t]||(_t[t]=Object.create(null));return o[n]||(o[n]=$o(t,n))}function Te(t,n){return Bt(n)?Ct(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 ne=!1;function bt(t){return typeof t=="boolean"&&(ne=t),ne}function en(t){const n=typeof t=="string"?de(t,!0,ne):t;if(n){const o=W(n.provider,n.prefix),a=n.name;return o.icons[a]||(o.missing.has(a)?null:void 0)}}function tn(t,n){const o=de(t,!0,ne);if(!o)return!1;const a=W(o.provider,o.prefix);return vo(a,o.name,n)}function wt(t,n){if(typeof t!="object")return!1;if(typeof n!="string"&&(n=t.provider||""),ne&&!n&&!t.prefix){let l=!1;return Bt(t)&&(t.prefix="",Ct(t,(i,c)=>{c&&tn(i,c)&&(l=!0)})),l}const o=t.prefix;if(!me({provider:n,prefix:o,name:"a"}))return!1;const a=W(n,o);return!!Te(a,t)}const Nt=Object.freeze({width:null,height:null}),St=Object.freeze({...Nt,...ue}),on=/(-?[0-9.]*[0-9]+[0-9.]*)/g,nn=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function It(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={...he,...t},a={...St,...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,C=h.vFlip;let k=h.rotate;p?C?k+=2:(y.push("translate("+(l.width+l.left).toString()+" "+(0-l.top).toString()+")"),y.push("scale(-1 1)"),l.top=l.left=0):C&&(y.push("translate("+(0-l.left).toString()+" "+(l.height+l.top).toString()+")"),y.push("scale(1 -1)"),l.top=l.left=0);let I;switch(k<0&&(k-=Math.floor(k/4)*4),k=k%4,k){case 1:I=l.height/2+l.top,y.unshift("rotate(90 "+I.toString()+" "+I.toString()+")");break;case 2:y.unshift("rotate(180 "+(l.width/2+l.left).toString()+" "+(l.height/2+l.top).toString()+")");break;case 3:I=l.width/2+l.left,y.unshift("rotate(-90 "+I.toString()+" "+I.toString()+")");break}k%2===1&&(l.left!==l.top&&(I=l.left,l.left=l.top,l.top=I),l.width!==l.height&&(I=l.width,l.width=l.height,l.height=I)),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=It(u,s/r)):(m=c==="auto"?s:c,u=d===null?It(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 Me=Object.create(null);function dn(t,n){Me[t]=n}function Ve(t){return Me[t]||Me[""]}function Ee(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 De=Object.create(null),le=["https://api.simplesvg.com","https://api.unisvg.com"],fe=[];for(;le.length>0;)le.length===1||Math.random()>.5?fe.push(le.shift()):fe.push(le.pop());De[""]=Ee({resources:["https://api.iconify.design"].concat(fe)});function mn(t,n){const o=Ee(n);return o===null?!1:(De[t]=o,!0)}function Oe(t){return De[t]}let xt=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function un(t,n){const o=Oe(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=Oe(t);if(n)return n.path}return"/"}const gn={prepare:fn,send:(t,n,o)=>{if(!xt){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;xt(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]=W(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 Tt(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||Tt([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=Tt.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"?de(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 N=t.resources.slice(0);for(c=[];N.length>1;){const x=Math.floor(Math.random()*N.length);c.push(N[x]),N=N.slice(0,x).concat(N.slice(x+1))}c=c.concat(N)}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(N=>{N.status==="pending"&&(N.status="aborted")}),f=[]}function C(N,x){x&&(h=[]),typeof N=="function"&&h.push(N)}function k(){return{startTime:d,payload:n,status:s,queriesSent:r,queriesPending:f.length,subscribe:C,abort:p}}function I(){s="failed",h.forEach(N=>{N(void 0,m)})}function O(){f.forEach(N=>{N.status==="pending"&&(N.status="aborted")}),f=[]}function g(N,x,D){const L=x!=="success";switch(f=f.filter(M=>M!==N),s){case"pending":break;case"failed":if(L||!t.dataAfterTimeout)return;break;default:return}if(x==="abort"){m=D,I();return}if(L){m=D,f.length||(c.length?T():I());return}if(y(),O(),!t.random){const M=t.resources.indexOf(N.resource);M!==-1&&M!==t.index&&(t.index=M)}s="completed",h.forEach(M=>{M(D)})}function T(){if(s!=="pending")return;y();const N=c.shift();if(N===void 0){if(f.length){u=setTimeout(()=>{y(),s==="pending"&&(O(),I())},t.timeout);return}I();return}const x={status:"pending",resource:N,callback:(D,L)=>{g(x,D,L)}};f.push(x),r++,u=setTimeout(T,t.rotate),o(N,n,x.callback)}return setTimeout(T),k}function Mt(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 Vt(){}const Le=Object.create(null);function Nn(t){if(!Le[t]){const n=Oe(t);if(!n)return;const o=Mt(n),a={config:n,redundancy:o};Le[t]=a}return Le[t]}function Sn(t,n,o){let a,l;if(typeof t=="string"){const i=Ve(t);if(!i)return o(void 0,424),Vt;l=i.send;const c=Nn(t);c&&(a=c.redundancy)}else{const i=Ee(t);if(i){a=Mt(i);const c=t.resources?t.resources[0]:"",d=Ve(c);d&&(l=d.send)}}return!a||!l?(o(void 0,424),Vt):a.query(n,l,o)().abort}const Et="iconify2",ie="iconify",Dt=ie+"-count",Ot=ie+"-version",Lt=36e5,In=168;function je(t,n){try{return t.getItem(n)}catch{}}function Fe(t,n,o){try{return t.setItem(n,o),!0}catch{}}function jt(t,n){try{t.removeItem(n)}catch{}}function Pe(t,n){return Fe(t,Dt,n.toString())}function ze(t){return parseInt(je(t,Dt))||0}const pe={local:!0,session:!0},Ft={local:new Set,session:new Set};let Ae=!1;function xn(t){Ae=t}let ge=typeof window>"u"?{}:window;function Pt(t){const n=t+"Storage";try{if(ge&&ge[n]&&typeof ge[n].length=="number")return ge[n]}catch{}pe[t]=!1}function zt(t,n){const o=Pt(t);if(!o)return;const a=je(o,Ot);if(a!==Et){if(a){const d=ze(o);for(let s=0;s<d;s++)jt(o,ie+s.toString())}Fe(o,Ot,Et),Pe(o,0);return}const l=Math.floor(Date.now()/Lt)-In,i=d=>{const s=ie+d.toString(),r=je(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{}jt(o,s)}};let c=ze(o);for(let d=c-1;d>=0;d--)i(d)||(d===c-1?(c--,Pe(o,c)):Ft[t].add(d))}function At(){if(!Ae){xn(!0);for(const t in pe)zt(t,n=>{const o=n.data,a=n.provider,l=o.prefix,i=W(a,l);if(!Te(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 pe)zt(a,l=>{const i=l.data;return l.provider!==t.provider||i.prefix!==t.prefix||i.lastModified===n});return!0}function Mn(t,n){Ae||At();function o(a){let l;if(!pe[a]||!(l=Pt(a)))return;const i=Ft[a];let c;if(i.size)i.delete(c=Array.from(i).shift());else if(c=ze(l),!Pe(l,c+1))return;const d={cached:Math.floor(Date.now()/Lt),provider:t.provider,data:n};return Fe(l,ie+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 Ht(){}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=Ve(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=Te(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,bt()),a=yn(o);if(!a.pending.length){let s=!0;return n&&setTimeout(()=>{s&&n(a.loaded,a.missing,a.pending,Ht)}),()=>{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(W(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=W(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):Ht};function On(t,n){const o={...t};for(const a in n){const l=n[a],i=typeof l;a in Nt?(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 qt={...St,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"},He={backgroundColor:"currentColor"},Rt={backgroundColor:"transparent"},Ut={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Gt={webkitMask:He,mask:He,background:Rt};for(const t in Gt){const n=Gt[t];for(const o in Ut)n[t+o]=Ut[o]}const ye={};["horizontal","vertical"].forEach(t=>{const n=t.slice(0,1)+"Flip";ye[t+"-flip"]=n,ye[t.slice(0,1)+"-flip"]=n,ye[t+"Flip"]=n});function Qt(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}const Zt=(t,n)=>{const o=On(qt,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 C=n[p];if(C!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":o[p]=C===!0||C==="true"||C===1;break;case"flip":typeof C=="string"&&jn(o,C);break;case"color":i.color=C;break;case"rotate":typeof C=="string"?o[p]=Fn(C):typeof C=="number"&&(o[p]=C);break;case"ariaHidden":case"aria-hidden":C!==!0&&C!=="true"&&delete a["aria-hidden"];break;default:{const k=ye[p];k?(C===!0||C==="true"||C===1)&&(o[k]=!0):qt[p]===void 0&&(a[p]=C)}}}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,C=n.id;return typeof C=="string"&&(C=C.replace(/-/g,"_")),a.innerHTML=cn(s.body,C?()=>C+"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:Qt(r.width),height:Qt(r.height),...qn,...h?He:Rt,...d},e.h("span",a)};if(bt(!0),dn("",gn),typeof document<"u"&&typeof window<"u"){At();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"||!wt(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={...he,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=de(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 Zt(Rn,t);let o=t;return n.classes&&(o={...t,class:(typeof t.class=="string"?t.class+" ":"")+n.classes.join(" ")}),Zt({...he,...n.data},o)}}),Nh="",w=(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 Zn(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 V=w(Gn,[["render",Zn]]),Sh="",Wn={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=V;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 j=w(Wn,[["render",Kn]]),q={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.tooltip.open_address_on_google_maps:":"Open address on GoogleMaps\u2122 (in new tab)","cmdaddressdata.tooltip.call_number":"Call number","cmdaddressdata.tooltip.send_email":"Send email","cmdaddressdata.tooltip.visit_website":"Visit web site (in new tab)"}}}},Ih="",$n={name:"CmdAddressData",mixins:[q,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=j,d=V,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=w($n,[["render",zl]]),xh="",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=V;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=w(Hl,[["render",Rl]]),Th="",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){navigator.permissions.query({name:"clipboard-write"}).then(n=>{if(n.state==="granted"||n.state==="prompt"){const o=t.replace(/\s/g,"");navigator.clipboard.writeText(o),alert(o+" was copied to clipboard")}}).catch(n=>console.error(n))}}},Ql={class:"cmd-bank-account-data"},Zl={key:0},Wl=["onClick","title"],Jl={key:1};function Yl(t,n,o,a,l,i){const c=j,d=V;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",Zl,[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,Wl)])):(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=w(Gl,[["render",Yl]]);function J(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 Mh="",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(Xl,[["render",ti]]),Vh="",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=V;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 ke=w(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"}}}},Eh="",ai={name:"CmdThumbnailScroller",emits:["click"],mixins:[q,ii],data(){return{items:[]}},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"}}}}}},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:{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&&Ce({fancyBoxGallery:this.items,defaultGalleryIndex:t}),this.emitCurrentItemId(t)},emitCurrentItemId(t){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.src=n.image.srcImageSmall):n={...t},n})},immediate:!0}}},si=["href","onClick","title","target"];function ri(t,n,o,a,l,i){const c=ke,d=$,s=V;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-thumbnail-scroller",{"gallery-scroller":!o.allowOpenFancyBox,"full-width":o.fullWidth,"large-icons":o.largeIcons}])},[e.createVNode(c,{onClick:e.withModifiers(i.showPrevItem,["prevent"]),slideButtonType:"prev"},null,8,["onClick"]),e.createVNode(e.TransitionGroup,{name:"slide",tag:"ul"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.items,(r,m)=>(e.openBlock(),e.createElementBlock("li",{key:m,class:e.normalizeClass({active:o.activeItemIndex===m})},[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(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(r.text),1)],64)):e.createCommentVNode("",!0)],64))],8,si)],2))),128))]),_:1}),e.createVNode(c,{onClick:e.withModifiers(i.showNextItem,["prevent"]),slideButtons:o.cmdSlideButtons.next},null,8,["onClick","slideButtons"])],2)}const Wt=w(ai,[["render",ri]]);function Jt(){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 Yt(){return"cmd-"+Jt()}const ae={props:{id:{type:String,required:!1}},computed:{htmlId(){return this.id||Yt()}},methods:{buildHtmlId(...t){return t.map(n=>n.replace(/\s/g,"")).join("")}}},Dh="",Ce=t=>{const n=document.createElement("div");document.querySelector("body").appendChild(n),e.createApp(Kt,{...t,show:!0}).mount(n)},Kt=e.defineComponent({name:"CmdFancyBox",mixins:[ae],emits:["cancel","confirm"],data(){return{fancyBoxContent:null,fancyBoxElements:null,fancyBoxImageUrl:null,index:this.defaultGalleryIndex,printInGrayscale:!1,showFancyBox:this.show}},props:{ariaLabelText:{type:String,required:!0},url:{type:String,required:!1},showPrintButtons:{type:Boolean,default:!1},showSubmitButtons:{type:Boolean,default:!0},fancyboxOptions:{type:Object,default(){return{closeIcon:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Close"},printButtons:{color:{iconClass:"icon-print",iconType:"auto",tooltip:"print in color"},grayscale:{iconClass:"icon-print",iconType:"auto",tooltip:"print in grayscale"}},submitButtons:{cancel:{iconClass:"icon-cancel",iconType:"auto",tooltip:"Cancel",buttonText:"Cancel"},confirm:{iconClass:"icon-check",iconType:"auto",buttonText:"Confirm",tooltip:"Confirm",buttonType:"primary"}}}}},allowEscapeKey:{type:Boolean,default:!0},content:{type:String,required:!1},elements:{type:Array,required:!1},fancyBoxGallery:{type:Array,required:!1},defaultGalleryIndex:{type:Number,required:!1},show:{type:Boolean,default:!1},showOverlay:{type:Boolean,default:!0},cmdImage:{type:Object,required:!1},cmdHeadline:{type:Object,required:!1}},created(){this.allowEscapeKey&&(this.$_FancyBox_escapeKeyHandler=t=>(t.key==="Escape"||t.key==="Esc")&&this.close(),document.querySelector("body").addEventListener("keyup",this.$_FancyBox_escapeKeyHandler)),this.$_FancyBox_scrollHandler=()=>{window.scrollTo(0,this.$_FancyBox_verticalScrollPosition)},this.$watch(()=>[this.url,this.content,this.elements],this.updateContentOnPropertyChange,{immediate:!0})},mounted(){this.showFancyBox&&this.showDialog()},beforeUnmount(){this.allowEscapeKey&&document.querySelector("body").removeEventListener("keyup",this.$_FancyBox_escapeKeyHandler)},computed:{largeGalleryImage(){const 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:{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 ci(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].id===t){this.index=n;break}},showNextItem(){this.index<this.fancyBoxGallery.length-1?this.index++:this.index=0},close(){this.$options.el?(this.$destroy(),this.$el.remove()):(this.showFancyBox=!1,this.$emit("update:show",!1)),document.querySelector("body").classList.remove("avoid-scrolling")},cancel(){this.$emit("cancel",!0),this.close()},confirm(){this.$emit("confirm",!0),this.close()}},watch:{show(t){this.showFancyBox=t},showFancyBox:{handler(){this.showFancyBox?this.showDialog():(document.querySelector("body").classList.remove("avoid-scrolling"),this.$refs.dialog.close())}}}});async function ci(t){const n=await fetch(t,{method:"HEAD"});return n.ok?(n.headers.get("Content-Type")||"").split(";")[0]:"text/html"}const di=Kt,mi=["aria-label"],ui={class:"flex-container"},hi={key:1,class:"button-wrapper no-flex"},fi=["title"],pi=["title"],gi=["title"],yi={key:0,class:"content"},ki=["innerHTML"],Ci={key:2,class:"content"},Bi={key:3,class:"content"},_i={key:4,class:"content"},bi={key:0,class:"flex-container no-flex"},wi=["title"],Ni={key:1},Si=["title"],Ii={key:1};function xi(t,n,o,a,l,i){var u,f,h,y,p,C,k,I,O,g,T,N,x,D,L,M,F,P,Q,R,G,b,H,te,ce,B,S,E,Z;const c=j,d=V,s=$,r=ke,m=Wt;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},[e.createElementVNode("header",ui,[(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",hi,[t.showPrintButtons&&((C=t.fancyboxOptions.printButtons)==null?void 0:C.color)?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",class:"button print-color",title:(k=t.fancyboxOptions.printButtons.color)==null?void 0:k.tooltip,onClick:n[0]||(n[0]=e.withModifiers(X=>t.printInGrayscale=!1,["prevent"]))},[e.createVNode(d,{iconClass:(I=t.fancyboxOptions.printButtons.color)==null?void 0:I.iconClass,type:(O=t.fancyboxOptions.printButtons.color)==null?void 0:O.iconType},null,8,["iconClass","type"])],8,fi)):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:(T=t.fancyboxOptions.printButtons.grayscale)==null?void 0:T.tooltip,onClick:n[1]||(n[1]=e.withModifiers(X=>t.printInGrayscale=!0,["prevent"]))},[e.createVNode(d,{iconClass:(N=t.fancyboxOptions.printButtons.grayscale)==null?void 0:N.iconClass,type:(x=t.fancyboxOptions.printButtons.grayscale)==null?void 0:x.iconType},null,8,["iconClass","type"])],8,pi)):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((...X)=>t.close&&t.close(...X),["prevent"]))},[e.createVNode(d,{iconClass:t.fancyboxOptions.closeIcon.iconClass,type:t.fancyboxOptions.closeIcon.iconType},null,8,["iconClass","type"])],8,gi)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:e.normalizeClass(["outer-content-wrapper",{grayscale:t.printInGrayscale}])},[t.fancyBoxImageUrl||((D=t.cmdImage)==null?void 0:D.image)?(e.openBlock(),e.createElementBlock("div",yi,[e.createVNode(s,{image:t.largeSingleImage,figcaption:(L=t.cmdImage)==null?void 0:L.figcaption},null,8,["image","figcaption"])])):t.fancyBoxContent?(e.openBlock(),e.createElementBlock("div",{key:1,class:"content",innerHTML:t.fancyBoxContent},null,8,ki)):t.fancyBoxElements?(e.openBlock(),e.createElementBlock("div",Ci)):t.fancyBoxGallery?(e.openBlock(),e.createElementBlock("div",Bi,[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",_i,[e.renderSlot(t.$slots,"default")]))],2),t.showSubmitButtons&&t.fancyboxOptions.submitButtons?(e.openBlock(),e.createElementBlock("footer",bi,[(M=t.fancyboxOptions.submitButtons)!=null&&M.cancel?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[3]||(n[3]=(...X)=>t.cancel&&t.cancel(...X)),title:(F=t.fancyboxOptions.submitButtons.cancel)==null?void 0:F.tooltip},[(P=t.fancyboxOptions.submitButtons.cancel)!=null&&P.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(Q=t.fancyboxOptions.submitButtons.cancel)==null?void 0:Q.iconClass,type:(R=t.fancyboxOptions.submitButtons.cancel)==null?void 0:R.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(G=t.fancyboxOptions.submitButtons.cancel)!=null&&G.buttonText?(e.openBlock(),e.createElementBlock("span",Ni,e.toDisplayString((b=t.fancyboxOptions.submitButtons.cancel)==null?void 0:b.buttonText),1)):e.createCommentVNode("",!0)],8,wi)):e.createCommentVNode("",!0),(H=t.fancyboxOptions.submitButtons)!=null&&H.confirm?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[4]||(n[4]=(...X)=>t.confirm&&t.confirm(...X)),title:(te=t.fancyboxOptions.submitButtons.cancel)==null?void 0:te.tooltip},[(ce=t.fancyboxOptions.submitButtons.confirm)!=null&&ce.iconClass?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(B=t.fancyboxOptions.submitButtons.confirm)==null?void 0:B.iconClass,type:(S=t.fancyboxOptions.submitButtons.confirm)==null?void 0:S.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),(E=t.fancyboxOptions.submitButtons.confirm)!=null&&E.buttonText?(e.openBlock(),e.createElementBlock("span",Ii,e.toDisplayString((Z=t.fancyboxOptions.submitButtons.confirm)==null?void 0:Z.buttonText),1)):e.createCommentVNode("",!0)],8,Si)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.fancyBoxGallery?(e.openBlock(),e.createBlock(m,{key:1,thumbnailScrollerItems:[...t.fancyBoxGallery],allowOpenFancyBox:!1,onClick:t.showItem,imgIndex:t.index},null,8,["thumbnailScrollerItems","onClick","imgIndex"])):e.createCommentVNode("",!0)],10,mi)])}const Ti=w(di,[["render",xi]]),Oh="",Mi={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 J(t)},executeLink(t,n){if(t.fancybox){n.preventDefault(),Ce({url:t.path,showSubmitButtons:t.showSubmitButtons});return}this.$emit("click",{link:t,originalEvent:n})}}},Vi=["href","target","onClick","title"],Ei={key:1},Di={key:1};function Oi(t,n,o,a,l,i){const c=j,d=V,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",Ei,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)],8,Vi)):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",Di,e.toDisplayString(r.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to","title"])):e.createCommentVNode("",!0)],2))),128))],2)],2)}const Xt=w(Mi,[["render",Oi]]),Li={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"}}}},ji={props:{globalCurrency:{type:Object,default(){return{symbol:"\u20AC",name:"Euro"}}}}},Lh="",qe={name:"CmdBox",mixins:[q,Li,ji],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:!1},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)}}},$t=()=>{e.useCssVars(t=>({"09a4c4ef":t.cutoffTextLines}))},vt=qe.setup;qe.setup=vt?(t,n)=>($t(),vt(t,n)):$t;const Fi=qe,Pi=["title"],zi={key:0,class:"box-header"},Ai=["src","alt"],Hi={key:1,class:"text-wrapper"},qi={key:1},Ri={key:3,class:"box-footer"},Ui={class:"box-header flex-container vertical"},Gi={key:0},Qi=["src","alt"],Zi={key:1},Wi={key:2,class:"ribbon-new"},Ji={key:3,class:"ribbon-discount"},Yi={class:"box-body"},Ki={key:0},Xi={key:1,class:"price"},$i=["title"],vi={key:2},ea={class:"box-header flex-container vertical"},ta={key:0},oa=["src","alt"],na={key:0},la={key:1},ia=["title"],aa={key:0},sa={class:"box-body"},ra={key:0},ca={key:1},da={key:2},ma={key:3,class:"description"},ua={class:"tags"},ha={key:0,class:"box-footer"};function fa(t,n,o,a,l,i){var r,m,u,f,h,y,p,C;const c=j,d=V,s=Xt;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((...k)=>i.toggleContentVisibility&&i.toggleContentVisibility(...k),["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,Pi)):(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",zi,[(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"},[e.createVNode(e.TransitionGroup,{name:i.toggleTransition},{default:e.withCtx(()=>{var k,I;return[o.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cutoff-text",{"fade-last-line":o.fadeLastLine&&!l.showCutOffText,"show-text":l.showCutOffText}])},[(k=o.useSlots)!=null&&k.includes("body")?e.renderSlot(t.$slots,"body",{key:0},()=>[e.createElementVNode("p",null,e.toDisplayString(o.textBody),1)]):e.createCommentVNode("",!0)],2)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(I=o.useSlots)!=null&&I.includes("body")?e.renderSlot(t.$slots,"body",{key:0},()=>[e.createElementVNode("p",null,e.toDisplayString(o.textBody),1)]):e.createCommentVNode("",!0)],64))]}),_:3},8,["name"]),o.cutoffTextLines>0?(e.openBlock(),e.createElementBlock("a",{key:0,href:"#",onClick:n[1]||(n[1]=e.withModifiers((...k)=>i.toggleCutOffText&&i.toggleCutOffText(...k),["prevent"]))},e.toDisplayString(l.showCutOffText?t.getMessage("cmdbox.contentbox.collapse_text"):t.getMessage("cmdbox.contentbox.expand_text")),1)):(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,Ai)):e.createCommentVNode("",!0),o.textBody?(e.openBlock(),e.createElementBlock("div",Hi,[((p=o.cmdHeadline)==null?void 0:p.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",qi,e.toDisplayString(o.textBody),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],64))],2)):e.createCommentVNode("",!0),(C=o.useSlots)!=null&&C.includes("footer")?(e.openBlock(),e.createElementBlock("div",Ri,[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(k=>i.clickOnProduct(o.product),["prevent"]))},[e.createElementVNode("div",Ui,[o.product.image!==void 0?(e.openBlock(),e.createElementBlock("figure",Gi,[e.createElementVNode("img",{src:o.product.image.src,alt:o.product.image.alt},null,8,Qi),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",Wi,[e.createElementVNode("span",null,e.toDisplayString(t.getMessage("cmdbox.productbox.new")),1)])):e.createCommentVNode("",!0),o.product.discount?(e.openBlock(),e.createElementBlock("div",Ji,[e.createElementVNode("span",null,e.toDisplayString(o.product.discount),1)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Yi,[o.product.articleNumber?(e.openBlock(),e.createElementBlock("p",Ki,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",Xi,[e.createElementVNode("span",null,e.toDisplayString(o.product.price),1),e.createElementVNode("span",{title:t.globalCurrency.name},e.toDisplayString(t.globalCurrency.symbol),9,$i)])):e.createCommentVNode("",!0),o.product.description?(e.openBlock(),e.createElementBlock("p",vi,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",ea,[o.user.image?(e.openBlock(),e.createElementBlock("figure",ta,[e.createElementVNode("img",{src:o.user.image.src,alt:o.user.image.alt},null,8,oa),e.createElementVNode("figcaption",null,[e.createTextVNode(e.toDisplayString(o.user.name)+" ",1),o.user.age?(e.openBlock(),e.createElementBlock("span",na,", "+e.toDisplayString(o.user.age),1)):e.createCommentVNode("",!0)])])):(e.openBlock(),e.createElementBlock("div",la,[e.createElementVNode("span",{class:e.normalizeClass(o.defaultProfileIconClass),title:o.user.name},null,10,ia),o.rowView?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("p",aa,e.toDisplayString(o.user.name),1))]))]),e.createElementVNode("div",sa,[o.rowView?(e.openBlock(),e.createElementBlock("p",ra,e.toDisplayString(o.user.name),1)):e.createCommentVNode("",!0),o.user.profession?(e.openBlock(),e.createElementBlock("p",ca,e.toDisplayString(o.user.profession),1)):e.createCommentVNode("",!0),o.user.position?(e.openBlock(),e.createElementBlock("p",da,e.toDisplayString(o.user.position),1)):e.createCommentVNode("",!0),o.user.description?(e.openBlock(),e.createElementBlock("p",ma,e.toDisplayString(o.user.description),1)):e.createCommentVNode("",!0)]),e.createElementVNode("ul",ua,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.user.tags,(k,I)=>(e.openBlock(),e.createElementBlock("li",{key:I},e.toDisplayString(k),1))),128))]),o.user.links?(e.openBlock(),e.createElementBlock("div",ha,[e.createVNode(s,{links:o.user.links,orientation:"horizontal",useGap:!1},null,8,["links"])])):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0)}const eo=w(Fi,[["render",fa]]),jh="",Re={name:"CmdBoxWrapper",data(){return{rowView:this.useRowViewAsDefault,collapsingBoxesOpen:!0,currentOpenBox:0}},props:{useRowViewAsDefault:{type:Boolean,default:!1},stretchBoxesVertically:{type:Boolean,default:!0},allowUserToToggleOrientation:{type:Boolean,default:!0},allowTogglingCollapsingBoxes:{type:Boolean,default:!1},collapseBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-down",tooltip:"Collapse all boxes"}}},expandBoxesIcon:{type:Object,default(){return{iconClass:"icon-double-arrow-up",tooltip:"Expand all boxes"}}},useFlexbox:{type:Boolean,default:!1},boxesPerRow:{type:[Number,Array],default:4},iconGridView:{type:Object,default(){return{iconClass:"icon-blocks-small",tooltip:"Toggle to row view"}}},iconRowView:{type:Object,default(){return{iconClass:"icon-rows",tooltip:"Toggle to grid view"}}},cmdHeadline:{type:Object,default(){return{headlineText:"",headlineLevel:4}}}},computed:{boxesPerRowLarge(){return this.boxesPerRowResponsive(0,4)},boxesPerRowMedium(){return this.boxesPerRowResponsive(1,3)},boxesPerRowSmall(){return this.boxesPerRowResponsive(2,1)}},methods:{boxesPerRowResponsive(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}}},to=()=>{e.useCssVars(t=>({b9ce4c34:t.boxesPerRowLarge,"7c2d73ac":t.boxesPerRowMedium,b8fe989c:t.boxesPerRowSmall}))},oo=Re.setup;Re.setup=oo?(t,n)=>(to(),oo(t,n)):to;const pa=Re,ga={class:"cmd-box-wrapper"},ya={class:"flex-container headline-wrapper"},ka={key:1,class:"options-wrapper"},Ca=["title"],Ba=["title"];function _a(t,n,o,a,l,i){const c=j,d=V;return e.openBlock(),e.createElementBlock("div",ga,[e.createElementVNode("div",ya,[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",ka,[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,Ca)):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,Ba)):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 ba=w(pa,[["render",_a]]),Fh="",wa={name:"CmdBreadcrumbs",props:{breadcrumbLabel:{type:String,required:!1},breadcrumbLinks:{type:Array,required:!1},breadcrumbSeparator:{type:String,default:">"}},methods:{getRoute(t){return J(t)}}},Na={class:"cmd-breadcrumbs"},Sa={key:0},Ia=["href"],xa={key:1},Ta={key:1},Ma={key:2},Va={key:1},Ea={key:3};function Da(t,n,o,a,l,i){const c=V,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ul",Na,[o.breadcrumbLabel?(e.openBlock(),e.createElementBlock("li",Sa,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",xa,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)],8,Ia)):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",Ta,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",Ma,[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",Va,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0)])),r<o.breadcrumbLinks.length-1?(e.openBlock(),e.createElementBlock("span",Ea,e.toDisplayString(o.breadcrumbSeparator),1)):e.createCommentVNode("",!0)]))),128))])}const Oa=w(wa,[["render",Da]]),Ph="",La={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 J(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"}}},ja={class:"cmd-company-logo"},Fa=["href","title"];function Pa(t,n,o,a,l,i){var s,r,m,u,f,h;const c=$,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",ja,[((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,Fa)):(e.openBlock(),e.createBlock(c,{key:2,image:i.image},null,8,["image"]))])}const no=w(La,[["render",Pa]]),zh="",za={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"})}}},Aa={key:0,class:"headline-wrapper"},Ha=["title"];function qa(t,n,o,a,l,i){const c=j,d=V;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",Aa,[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,Ha)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.tooltipText),1)])],2)):e.createCommentVNode("",!0)}const lo=w(za,[["render",qa]]),Ra={data(){return{defaultMessageProperties:{"cmdlistofrequirements.headline.requirement_for_input":"Requirement for input","cmdlistofrequirements.headline.requirements_for_input":"Requirements for input"}}}},Ah="",Ua={name:"CmdListOfRequirements",mixins:[q,Ra],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")}}},Ga={class:"cmd-list-of-requirements"},Qa=e.createElementVNode("br",null,null,-1),Za=e.createElementVNode("hr",null,null,-1),Wa=["href","target"],Ja={key:1};function Ya(t,n,o,a,l,i){var s,r,m;const c=j,d=V;return e.openBlock(),e.createElementBlock("div",Ga,[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},[Qa,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",Ja,e.toDisplayString(o.helplink.text),1)):e.createCommentVNode("",!0)],8,Wa)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)])}const Ka=w(Ua,[["render",Ya]]),Xa={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 $a(t,n,o,a,l,i){const c=Ka,d=lo;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 Ue=w(Xa,[["render",$a]]),va={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"}}}},Ge={data(){return{validationStatus:"",capsLockActivated:!1}},mixins:[q,{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)}}}},Qe={};function es(t="defaultSequence"){const n=Qe[t]||0;return Qe[t]=n+1,Qe[t]}const Ze={data(){return{tooltip:!1,tooltipId:"tooltip-"+es()}},props:{useCustomTooltip:{type:Boolean,default:!0},allowEscapeKey:{type:Boolean,default:!0}}},qh="",ts=["color","date","datetime-local","file","number","range"],os={inheritAttrs:!1,name:"CmdFormElement",mixins:[q,va,Ge,ae,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:""}}}},showStatusIcon:{type:Boolean,default:!0},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:ts.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}}},ns=["for","title"],ls={key:0,class:"label-text"},is={key:2},as=["title","aria-errormessage","id"],ss={key:1,class:"flex-container"},rs=["id","autocomplete","list","value","maxlength"],cs=["title"],ds=["id"],ms=["value"],us=["checked","value","id","disabled","aria-invalid"],hs={key:2},fs={class:"switch-label-wrapper"},ps=["checked","value","id","disabled","aria-invalid"],gs={class:"label-text"},ys={class:"label-text"},ks={key:0,class:"label-text"},Cs={key:0},Bs=["id"],_s=["value","selected"],bs=["id","value","maxlength"],ws={key:6},Ns={key:7,class:"search-field-wrapper flex-container no-gap"},Ss=["id","maxlength","value"],Is=["title"],xs=["title"],Ts={key:1};function Ms(t,n,o,a,l,i){var s,r,m,u,f,h,y,p,C,k,I,O,g,T,N,x,D,L,M,F,P,Q,R,G;const c=Ue,d=V;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",ls,[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",is,"*")):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),o.showStatusIcon&&(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,as)):e.createCommentVNode("",!0)],512)),[[e.vShow,o.showLabel]]):e.createCommentVNode("",!0),t.$attrs.type!=="checkbox"&&t.$attrs.type!=="radio"?(e.openBlock(),e.createElementBlock("span",ss,[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]=b=>t.tooltip=!0),onBlur:n[2]||(n[2]=(...b)=>i.onBlur&&i.onBlur(...b)),onInput:n[3]||(n[3]=(...b)=>i.onInput&&i.onInput(...b)),onMouseover:n[4]||(n[4]=(...b)=>i.datalistFocus&&i.datalistFocus(...b)),onKeyup:n[5]||(n[5]=(...b)=>t.checkForCapsLock&&t.checkForCapsLock(...b)),onChange:n[6]||(n[6]=b=>t.$emit("change",b)),autocomplete:i.autocomplete,list:o.datalist?o.datalist.id:null,value:o.modelValue,maxlength:i.getMaxLength(),ref:"input"}),null,16,rs)):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((...b)=>i.showPassword&&i.showPassword(...b),["prevent"])),onMouseup:n[8]||(n[8]=e.withModifiers((...b)=>i.hidePassword&&i.hidePassword(...b),["prevent"])),onMouseleave:n[9]||(n[9]=e.withModifiers((...b)=>i.hidePassword&&i.hidePassword(...b),["prevent"])),onClick:n[10]||(n[10]=e.withModifiers(()=>{},["prevent"])),title:o.iconPasswordVisible.tooltip},[e.createVNode(d,{iconClass:o.iconPasswordVisible.iconClass},null,8,["iconClass"])],40,cs)):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,(b,H)=>(e.openBlock(),e.createElementBlock("option",{key:H,value:b},null,8,ms))),128))],8,ds)):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",fs,[e.createElementVNode("input",e.mergeProps(i.elementAttributes,{onChange:n[13]||(n[13]=(...b)=>i.onChange&&i.onChange(...b)),onBlur:n[14]||(n[14]=(...b)=>i.onBlur&&i.onBlur(...b)),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,ps),e.createElementVNode("span",gs,e.toDisplayString(o.onLabel),1),e.createElementVNode("span",ys,e.toDisplayString(o.offLabel),1)]),o.labelText?(e.openBlock(),e.createElementBlock("span",ks,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required?(e.openBlock(),e.createElementBlock("sup",Cs,"*")):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]=(...b)=>i.onChange&&i.onChange(...b)),onBlur:n[12]||(n[12]=(...b)=>i.onBlur&&i.onBlur(...b)),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,us),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",hs,"*")):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]=(...b)=>i.onBlur&&i.onBlur(...b)),onChange:n[16]||(n[16]=b=>t.$emit("update:modelValue",b.target.value))}),[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.selectOptions,(b,H)=>(e.openBlock(),e.createElementBlock("option",{key:H,value:b.value,selected:b.value===o.modelValue},e.toDisplayString(b.text),9,_s))),128))],16,Bs)):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]=(...b)=>i.onInput&&i.onInput(...b)),onFocus:n[18]||(n[18]=b=>t.tooltip=!0),onBlur:n[19]||(n[19]=(...b)=>i.onBlur&&i.onBlur(...b))}),`\r
|
2
|
+
`,16,bs)):e.createCommentVNode("",!0),o.element==="textarea"&&o.showCharactersTextarea?(e.openBlock(),e.createElementBlock("span",ws,e.toDisplayString(i.charactersTextarea),1)):o.element==="input"&&t.$attrs.type==="search"?(e.openBlock(),e.createElementBlock("span",Ns,[e.createElementVNode("input",e.mergeProps(i.elementAttributes,{id:t.htmlId,onInput:n[20]||(n[20]=(...b)=>i.onInput&&i.onInput(...b)),maxlength:i.getMaxLength(),value:o.modelValue}),null,16,Ss),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((...b)=>i.executeSearch&&i.executeSearch(...b),["prevent"]))},[e.createVNode(d,{iconClass:o.iconSearch.iconClass},null,8,["iconClass"])],10,Is)):e.createCommentVNode("",!0),(s=o.iconDelete)!=null&&s.show?(e.openBlock(),e.createElementBlock("a",{key:1,href:"#",onClick:n[22]||(n[22]=e.withModifiers(b=>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,xs)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],10,ns)):(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"||!((k=(C=o.nativeButton)==null?void 0:C.icon)!=null&&k.position))?(e.openBlock(),e.createBlock(d,{key:0,iconClass:(O=(I=o.nativeButton)==null?void 0:I.icon)==null?void 0:O.iconClass,type:(T=(g=o.nativeButton)==null?void 0:g.icon)==null?void 0:T.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0),((N=o.nativeButton)==null?void 0:N.icon)&&((x=o.nativeButton)==null?void 0:x.text)?(e.openBlock(),e.createElementBlock("span",Ts,e.toDisplayString(o.nativeButton.text),1)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(o.nativeButton.text),1)],64)),((L=(D=o.nativeButton)==null?void 0:D.icon)==null?void 0:L.show)&&((F=(M=o.nativeButton)==null?void 0:M.icon)==null?void 0:F.position)==="after"?(e.openBlock(),e.createBlock(d,{key:3,iconClass:(Q=(P=o.nativeButton)==null?void 0:P.icon)==null?void 0:Q.iconClass,type:(G=(R=o.nativeButton)==null?void 0:R.icon)==null?void 0:G.iconType},null,8,["iconClass","type"])):e.createCommentVNode("",!0)],16))}const Y=w(os,[["render",Ms]]),Vs={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!"}}}},Rh="",Es={name:"CmdCookieDisclaimer",mixins:[q,Vs],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}))}}},Ds={class:"cmd-cookie-disclaimer flex-container vertical"},Os={key:0,class:"flex-container vertical"},Ls={key:0},js={key:1},Fs=["href","target"],Ps=["innerHTML"],zs=e.createElementVNode("hr",null,null,-1),As={key:1,class:"flex-container vertical"},Hs={key:0},qs={key:1},Rs=["href","target"],Us=["innerHTML"],Gs={class:"button-wrapper align-center"};function Qs(t,n,o,a,l,i){const c=j,d=Y,s=eo;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>{var r,m,u;return[e.createElementVNode("div",Ds,[((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,C,k,I,O;return[(f=o.cookieOptions)!=null&&f.required?(e.openBlock(),e.createElementBlock("div",Os,[(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,T)=>{var N;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(N=o.cmdBoxRequiredCookies)==null?void 0:N.collapsible,key:T},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:i.acceptedCookies,"onUpdate:modelValue":n[0]||(n[0]=x=>i.acceptedCookies=x),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",Ls,e.toDisplayString(g.description),1)):e.createCommentVNode("",!0),g.linkDataPrivacy?(e.openBlock(),e.createElementBlock("p",js,[e.createTextVNode(e.toDisplayString(g.linkDataPrivacy.label)+" ",1),e.createElementVNode("a",{onClick:n[1]||(n[1]=(...x)=>i.openDataPrivacy&&i.openDataPrivacy(...x)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Fs)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Ps)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0),zs,(C=o.cookieOptions)!=null&&C.optional?(e.openBlock(),e.createElementBlock("div",As,[(k=o.cmdBoxOptionalCookies)!=null&&k.showHeadline?(e.openBlock(),e.createBlock(c,{key:0,"headline-text":(I=o.cmdBoxOptionalCookies)==null?void 0:I.headlineText,"headline-level":(O=o.cmdBoxOptionalCookies)==null?void 0:O.headlineLevel},null,8,["headline-text","headline-level"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.cookieOptions.optional.cookies||[],(g,T)=>{var N;return e.openBlock(),e.createBlock(s,{useSlots:["header","body"],collapsible:(N=o.cmdBoxOptionalCookies)==null?void 0:N.collapsible,key:T},{header:e.withCtx(()=>[e.createVNode(d,{element:"input",type:"checkbox",modelValue:i.acceptedCookies,"onUpdate:modelValue":n[2]||(n[2]=x=>i.acceptedCookies=x),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",Hs,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]=(...x)=>i.openDataPrivacy&&i.openDataPrivacy(...x)),href:g.linkDataPrivacy.link,target:g.linkDataPrivacy.target},e.toDisplayString(g.linkDataPrivacy.linkText),9,Rs)])):e.createCommentVNode("",!0),l.dataPrivacyContent?(e.openBlock(),e.createElementBlock("div",{key:2,innerHTML:l.dataPrivacyContent},null,8,Us)):e.createCommentVNode("",!0)]),_:2},1032,["collapsible"])}),128))])):e.createCommentVNode("",!0)]}),e.renderSlot(t.$slots,"privacy-text"),e.createElementVNode("div",Gs,[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=w(Es,[["render",Qs]]),Uh="",Ws={name:"CmdCopyrightWrapper"},Js={class:"cmd-copyright-information",role:"contentinfo"},Ys=[e.createElementVNode("a",{href:"http://www.comand-cms.com",target:"_blank",lang:"en",title:"CoManD-Website"},"\xA9 CoManD",-1)];function Ks(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Js,Ys)}const Xs=w(Ws,[["render",Ks]]),$s={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"}}}},Qh="",vs={name:"CmdFakeSelect",inheritAttrs:!1,mixins:[q,$s,Ge,ae,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}}},er=["title","aria-labelledby","aria-required"],tr={key:0,class:"label-text"},or=["id"],nr={key:0},lr=["title","aria-errormessage","id"],ir=["aria-expanded"],ar=["title"],sr=["src","alt"],rr={key:0,role:"listbox"},cr=["aria-selected"],dr=["onClick","title"],mr={key:1},ur=["aria-expanded"],hr=["for"],fr=["value","checked","id"],pr=["onClick"],gr=["src","alt"],yr=["onClick"],kr={key:0,class:"select-all-options"};function Cr(t,n,o,a,l,i){var r,m,u,f;const c=Ue,d=V,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",tr,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),t.$attrs.required!==void 0?(e.openBlock(),e.createElementBlock("sup",nr,"*")):e.createCommentVNode("",!0)],8,or),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,lr)):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,sr)):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,ar),o.type==="default"&&l.showOptions?(e.openBlock(),e.createElementBlock("ul",rr,[(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",mr,e.toDisplayString(h.text),1)):e.createCommentVNode("",!0)],10,dr)):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,cr))),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,fr),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,hr)):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,gr),e.createElementVNode("span",null,e.toDisplayString(h.text),1)],10,pr)):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,yr)):e.createCommentVNode("",!0)]))),128)),o.showSelectAllOptions&&o.type==="checkboxOptions"?(e.openBlock(),e.createElementBlock("li",kr,[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,ur)):o.type==="content"&&l.showOptions?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("",!0)])],42,ir)],10,er)}const io=w(vs,[["render",Cr]]),Zh="",Br={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)}}},_r=["data-use-validation","novalidate"],br={class:"flex-container"};function wr(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",br,[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,_r)}const Nr=w(Br,[["render",wr]]),Wh="",Sr={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}}},Ir={key:0,class:"cmd-form-filters"},xr={key:0},Tr={key:1},Mr=["onClick","title"];function Vr(t,n,o,a,l,i){const c=V;return l.options.length?(e.openBlock(),e.createElementBlock("ul",Ir,[l.options.length>1?(e.openBlock(),e.createElementBlock("li",xr,[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",Tr,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,Mr)]))),128))])):e.createCommentVNode("",!0)}const ao=w(Sr,[["render",Vr]]),Jh="",Er={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"}}},Dr={class:"cmd-google-maps responsive-wrapper"},Or=["src"];function Lr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Dr,[e.createElementVNode("iframe",{src:i.locateAddress},null,8,Or)])}const jr=w(Er,[["render",Lr]]),Fr={data(){return{defaultMessageProperties:{"cmdimagegallery.tooltip.open_large_image":"Open large image"}}}},Yh="",Pr={name:"CmdImageGallery",mixins:[q,Fr],props:{images:{type:Array,required:!0},figcaptionPosition:{type:String,default:"bottom"}},methods:{showFancyBox(t){Ce({fancyBoxGallery:this.images,defaultGalleryIndex:t})}}},zr={class:"grid-container-create-columns cmd-image-gallery"},Ar=["onClick","title"];function Hr(t,n,o,a,l,i){const c=$;return e.openBlock(),e.createElementBlock("div",zr,[(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,Ar))),128))])}const qr=w(Pr,[["render",Hr]]),Kh="",Rr={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`,so(this,t)})},onMouseMove(t){so(this,t)},onMouseOut(){this.showLargeImage=!1}}};function so(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=ro(r-u/2,0,i-u),y=ro(m-f/2,0,c-f),p=-(h*(d/i)),C=-(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=`${C}px`}function ro(t,n,o){return t<n?n:t>o?o:t}const Ur={class:"cmd-imagezoom flex-container"},Gr=["title"],Qr=["src","alt"],Zr={key:0,class:"zoom-container"},Wr=["src","alt"],Jr={key:1,class:"zoom-overlay"};function Yr(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Ur,[e.createElementVNode("a",{href:"#",class:"no-flex",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,Qr)],8,Gr),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Zr,[e.createElementVNode("img",{src:o.imageLarge.src,alt:o.imageLarge.alt},null,8,Wr)])):e.createCommentVNode("",!0),l.showLargeImage?(e.openBlock(),e.createElementBlock("div",Jr)):e.createCommentVNode("",!0)])}const Kr=w(Rr,[["render",Yr]]),Xh="",Xr={mixins:[Ge,ae,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}}},$r=["aria-labelledby"],vr={class:"label-text"},ec=["id"],tc={key:0},oc=["title","aria-errormessage","id"],nc=["for"],lc=["type","id","name","value","disabled"],ic={key:1},ac={key:1,class:"flex-container no-flex"};function sc(t,n,o,a,l,i){const c=Ue,d=V;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",vr,[e.createElementVNode("span",{id:t.htmlId},[e.createTextVNode(e.toDisplayString(o.labelText),1),o.required?(e.openBlock(),e.createElementBlock("sup",tc,"*")):e.createCommentVNode("",!0)],8,ec),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,oc)):e.createCommentVNode("",!0)],512),[[e.vShow,o.showLabel]]),o.useSlot?(e.openBlock(),e.createElementBlock("div",ac,[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,lc),[[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",ic,e.toDisplayString(s.labelText),1)):e.createCommentVNode("",!0)],8,nc))),128))],2))],10,$r)}const rc=w(Xr,[["render",sc]]),$h="",cc={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 J(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()}}},dc={class:"cmd-login-form flex-container"},mc={class:"flex-container"},uc={class:"option-wrapper flex-container"},hc={key:1},fc=["href"],pc={key:1},gc=e.createTextVNode(" /> "),yc={key:1},kc=["type","disabled"],Cc={key:1},Bc={class:"cmd-login-form flex-container"},_c={class:"option-wrapper flex-container"},bc={key:1},wc=["type","disabled"],Nc={key:1};function Sc(t,n,o,a,l,i){var m,u,f,h,y,p,C;const c=j,d=Y,s=V,r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives(e.createElementVNode("fieldset",dc,[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",mc,[e.createVNode(d,{element:"input",type:"text",name:o.cmdFormElementUsername.name,id:o.cmdFormElementUsername.id,modelValue:i.username,"onUpdate:modelValue":n[0]||(n[0]=k=>i.username=k),fieldIconClass:o.cmdFormElementUsername.innerIconClass,labelText:o.cmdFormElementUsername.labelText,placeholder:o.cmdFormElementUsername.placeholder,required:o.cmdFormElementUsername.required,onValidationStatusChange:n[1]||(n[1]=k=>i.checkValidationStatus(k,"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]=k=>i.password=k),labelText:o.cmdFormElementPassword.labelText,placeholder:o.cmdFormElementPassword.placeholder,required:o.cmdFormElementPassword.required,onValidationStatusChange:n[3]||(n[3]=k=>i.checkValidationStatus(k,"password"))},null,8,["name","id","fieldIconClass","modelValue","labelText","placeholder","required"])]),e.createElementVNode("div",uc,[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(k=>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",hc,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",pc,e.toDisplayString(o.options.createAccount.text),1)):e.createCommentVNode("",!0)],8,fc)):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),gc,o.options.createAccount.text?(e.openBlock(),e.createElementBlock("span",yc,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]=(...k)=>i.onClick&&i.onClick(...k)),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",Cc,e.toDisplayString(o.buttons.login.text),1)):e.createCommentVNode("",!0)],10,kc)):e.createCommentVNode("",!0)])],512),[[e.vShow,!l.sendLogin]]),e.withDirectives(e.createElementVNode("fieldset",Bc,[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]=k=>i.checkValidationStatus(k,"email")),modelValue:l.sendLoginMail,"onUpdate:modelValue":n[7]||(n[7]=k=>l.sendLoginMail=k)},null,8,["fieldIconClass","labelText","placeholder","name","required","id","modelValue"]),e.createElementVNode("div",_c,[e.createElementVNode("a",{href:"#",onClick:n[8]||(n[8]=e.withModifiers(k=>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",bc,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:(C=o.buttons.sendLogin.icon)==null?void 0:C.tooltip},null,8,["iconClass","title"])):e.createCommentVNode("",!0),o.buttons.sendLogin.text?(e.openBlock(),e.createElementBlock("span",Nc,e.toDisplayString(o.buttons.sendLogin.text),1)):e.createCommentVNode("",!0)],10,wc)):e.createCommentVNode("",!0)])],512),[[e.vShow,l.sendLogin]])],64)}const Ic=w(cc,[["render",Sc]]),vh="",xc={name:"CmdMainNavigation",data(){return{showOffcanvas:!1,showSubNavigations:!0,openEntry:-1,openSubentry:-1}},props:{stretchMainItems:{type:Boolean,default:!1},persistOnMobile:{type:Boolean,default:!1},navigationEntries:{type:Array,required:!0},closeOffcanvas:{type:Object,default:function(){return{iconClass:"icon-cancel",text:"Close navigation",showText:!0}}},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 J(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()))}}},Tc={key:0,class:"close-nav"},Mc=["href","title","target","onClick"],Vc={key:1},Ec={key:1},Dc=["aria-expanded"],Oc=["href","title","target","onClick"],Lc={key:1},jc={key:1},Fc=["aria-expanded"],Pc=["href","title","target","onClick"],zc={key:1},Ac={key:1};function Hc(t,n,o,a,l,i){const c=V,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",Tc,[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",Vc,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,Mc)):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",Ec,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",Lc,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,Oc)):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",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)]),_: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,C)=>(e.openBlock(),e.createElementBlock("li",{key:C},[s.type==="href"?(e.openBlock(),e.createElementBlock("a",{key:0,href:p.path,title:p.tooltip,target:p.target,onClick:k=>i.executeLink(k,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",zc,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,Pc)):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",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)]),_:2},1032,["to","target"])):e.createCommentVNode("",!0)]))),128))],8,Fc)):e.createCommentVNode("",!0)],2))),128))],8,Dc)):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 co=w(xc,[["render",Hc]]),ef="",qc={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 J(t)}}},Rc={class:"cmd-multistep-form-progress-bar"},Uc=["href","onClick","title"],Gc={key:0,class:"number"},Qc={key:2},Zc={key:0,class:"number"},Wc={key:2},Jc=["type","name","title","formaction","onClick"],Yc={key:0,class:"number"},Kc={key:2};function Xc(t,n,o,a,l,i){const c=V,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",Rc,[(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",Gc,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",Qc,e.toDisplayString(s.text),1)):e.createCommentVNode("",!0),e.createElementVNode("span",{class:e.normalizeClass(o.separatorIconClass)},null,2)],8,Uc)):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",Wc,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",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)],8,Jc)):e.createCommentVNode("",!0)],2))),128))])}const $c=w(qc,[["render",Xc]]),tf="";function vc(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 ed={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):vc(":"," hrs","",!1)(t.hours,t.mins)}},beforeUnmount(){this.$_CmdOpeningHours_intervalId&&(clearInterval(this.$_CmdOpeningHours_intervalId),this.$_CmdOpeningHours_intervalId=null)}},td={class:"cmd-opening-hours"},od=["href"],nd={key:3},ld={key:0},id={key:1};function ad(t,n,o,a,l,i){var s,r;const c=j,d=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",td,[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,od)):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",nd,[o.textHolidaysClosed?(e.openBlock(),e.createElementBlock("p",ld,[e.createElementVNode("strong",null,e.toDisplayString(o.textHolidaysClosed),1)])):e.createCommentVNode("",!0),o.textMiscInfo?(e.openBlock(),e.createElementBlock("p",id,e.toDisplayString(o.textMiscInfo),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])}const sd=w(ed,[["render",ad]]),rd={data(){return{defaultMessageProperties:{"cmdpager.tooltip.go_to_page":"Go to page {0}","cmdpager.tooltip.not_possible":"Not possible (current page is shown already)"}}}},of="",cd={name:"CmdPager",mixins:[q,rd],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)}}},dd={class:"cmd-pager"},md=["href","title"],ud={key:0},hd={class:"page-index"},fd={class:"flex-container"},pd=["href","title","onClick"],gd=["href","title"],yd={key:0};function kd(t,n,o,a,l,i){const c=V;return e.openBlock(),e.createElementBlock("div",dd,[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",ud,e.toDisplayString(o.prevLink.text),1)):e.createCommentVNode("",!0)],10,md),e.createElementVNode("div",hd,[e.createElementVNode("div",fd,[(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,pd))),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",yd,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,gd)])}const Cd=w(cd,[["render",kd]]),nf="",Bd={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}}},_d=["for"],bd={class:"progressbar"},wd={key:0},Nd=["id","value"];function Sd(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",bd,[o.showLoadingStatus?(e.openBlock(),e.createElementBlock("span",wd,e.toDisplayString(l.loadingStatus)+" %",1)):e.createCommentVNode("",!0),e.createElementVNode("progress",e.mergeProps(t.$attrs,{id:o.id,value:l.loadingStatus}),null,16,Nd)])],8,_d)}const Id=w(Bd,[["render",Sd]]),lf="",xd={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}}},Td=["id","href","title"],Md={key:1};function Vd(t,n,o,a,l,i){const c=j,d=Y,s=V;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",Md,e.toDisplayString(r.linkText),1)):e.createCommentVNode("",!0)],10,Td))]))),256))],2)],2)}const Ed=w(xd,[["render",Vd]]),af="",Dd={name:"CmdSiteFooter",props:{orientation:{type:String,default:"horizontal"}}},Od={class:"cmd-site-footer"};function Ld(t,n,o,a,l,i){return e.openBlock(),e.createElementBlock("div",Od,[e.createElementVNode("footer",{class:e.normalizeClass(["flex-container",{vertical:o.orientation==="vertical"}])},[e.renderSlot(t.$slots,"default")],2)])}const jd=w(Dd,[["render",Ld]]),sf="",Fd={name:"CmdSiteHeader",props:{closeOffcanvas:{type:Object,required:!1},sticky:{type:Boolean,default:!0},navigationInline:{type:Boolean,default:!1},useGrid:{type:Boolean,default:!0},cmdCompanyLogo:{type:Object,required:!1},cmdMainNavigation:{type:Object,required:!1}}},Pd={key:0,class:"top-header"};function zd(t,n,o,a,l,i){var s,r,m,u,f,h,y,p;const c=no,d=co;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cmd-site-header",{sticky:o.sticky,"navigation-inline":o.navigationInline}]),role:"banner"},[t.$slots.topheader?(e.openBlock(),e.createElementBlock("div",Pd,[e.renderSlot(t.$slots,"topheader")])):e.createCommentVNode("",!0),e.createElementVNode("header",{class:e.normalizeClass([o.useGrid?"grid-container-create-columns":"flex-container",{"has-navigation":((r=(s=o.cmdMainNavigation)==null?void 0:s.navigationEntries)==null?void 0:r.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||((u=(m=o.cmdMainNavigation)==null?void 0:m.navigationEntries)==null?void 0:u.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),((h=(f=o.cmdMainNavigation)==null?void 0:f.navigationEntries)==null?void 0:h.length)&&o.navigationInline?(e.openBlock(),e.createBlock(d,e.mergeProps({key:1,closeOffcanvas:o.closeOffcanvas},o.cmdMainNavigation),null,16,["closeOffcanvas"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],2),((p=(y=o.cmdMainNavigation)==null?void 0:y.navigationEntries)==null?void 0:p.length)&&!o.navigationInline?(e.openBlock(),e.createBlock(d,{key:1,navigationEntries:o.cmdMainNavigation.navigationEntries,closeOffcanvas:o.closeOffcanvas},null,8,["navigationEntries","closeOffcanvas"])):e.createCommentVNode("",!0)],2)}const Ad=w(Fd,[["render",zd]]),Hd={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"}}}},rf="",qd={emits:["search","update:modelValueInput1","update:modelValueInput2","update:modelValueRadius","update:modelValueSearchFilters"],name:"CmdBoxSiteSearch",mixins:[q,Hd],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}}},Rd={class:"cmd-box-site-search flex-container"},Ud={class:"flex-container align-bottom"},Gd={class:"input-wrapper align-bottom"},Qd={key:0},Zd={key:1},Wd={key:0,class:"flex-container no-flex",role:"listbox","aria-expanded":"true"};function Jd(t,n,o,a,l,i){var u,f,h,y,p,C,k,I,O,g;const c=j,d=Y,s=V,r=io,m=ao;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("fieldset",Rd,[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",Ud,[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]=T=>i.searchValue1=T)},null,8,["type","show-label","labelText","placeholder","required","showSearchButton","modelValue"]),e.createElementVNode("div",Gd,[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]=T=>i.searchValue2=T)},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]=T=>i.radius=T),"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(T=>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?(k=(C=o.cmdIcon)==null?void 0:C.showFilters)==null?void 0:k.iconType:(O=(I=o.cmdIcon)==null?void 0:I.hideFilters)==null?void 0:O.iconType},null,8,["iconClass","type"]),l.showFilters?(e.openBlock(),e.createElementBlock("span",Qd,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 T,N,x,D,L;return[l.showFilters&&((T=o.cmdFakeSelect)==null?void 0:T.selectData.length)?(e.openBlock(),e.createElementBlock("div",Wd,[e.createVNode(r,{role:"option",selectData:(N=o.cmdFakeSelect)==null?void 0:N.selectData,modelValue:i.searchFilters,"onUpdate:modelValue":n[4]||(n[4]=M=>i.searchFilters=M),defaultOptionName:(x=o.cmdFakeSelect)==null?void 0:x.defaultOptionName,type:(D=o.cmdFakeSelect)==null?void 0:D.type,labelText:(L=o.cmdFakeSelect)==null?void 0:L.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]=T=>i.searchFilters=T),selectedOptionsName:i.getOptionName},null,8,["modelValue","selectedOptionsName"])):e.createCommentVNode("",!0)],64)}const Yd=w(qd,[["render",Jd]]),cf="",Kd={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}}},Xd=["href","title"],$d={key:0},vd=["onClick","aria-label"],em={key:1};function tm(t,n,o,a,l,i){const c=ke,d=$;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,C,k;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,Xd)):(e.openBlock(),e.createBlock(d,{image:(C=i.currentItem)==null?void 0:C.image,figcaption:(k=i.currentItem)==null?void 0:k.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",$d,[(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,vd)],2))),128))])):e.createCommentVNode("",!0),o.showCounter?(e.openBlock(),e.createElementBlock("span",em,e.toDisplayString(l.index+1)+"/"+e.toDisplayString(o.slideshowItems.length),1)):e.createCommentVNode("",!0)],32)],2)}const om=w(Kd,[["render",tm]]),nm=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"})),ff="",lm={name:"CmdSwitchLanguage",emits:["click"],data(){return{imageSources:[]}},props:{languages:{type:Array,required:!0}},methods:{getRoute(t){return J(t)},activeLanguage(t){return t.active}},watch:{languages:{handler(){this.imageSources=[],this.languages.forEach(async t=>{const n=t.iso2;this.imageSources.push(nm[n].default)})},immediate:!0,deep:!0}}},im={class:"cmd-switch-language"},am=["href","title","onClick"],sm=["src","alt"],rm=["src","alt"];function cm(t,n,o,a,l,i){const c=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",im,[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,sm)],10,am)):(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,rm)]),_:2},1032,["class","to","title","onClick"]))]))),128))])])}const dm=w(lm,[["render",cm]]),pf="",mm={name:"CmdSystemMessage",mixins:[ae],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}}},um=["role","aria-labelledby"],hm=["title"];function fm(t,n,o,a,l,i){const c=V,d=j;return e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showSystemMessage?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["cmd-system-message","system-message","flex-container","vertical",{"full-width":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,hm)):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,um)):e.createCommentVNode("",!0)]),_:3})}const mo=w(mm,[["render",fm]]),gf="",pm={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)}}},gm={key:0,class:"button-wrapper"},ym=["title"],km=["title"],Cm={class:"inner-wrapper"},Bm={"aria-expanded":"true"},_m={key:0,"aria-expanded":"true"};function bm(t,n,o,a,l,i){var d,s,r,m;const c=V;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",gm,[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,ym)):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,km)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",Cm,[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",Bm,[(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",_m,[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 wm=w(pm,[["render",bm]]),Nm={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
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="";wt(Nm);const Sm={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}}},Im={class:"cmd-tabs"},xm=["onClick","title"],Tm={key:1},Mm={key:1,"aria-live":"assertive"},Vm=["innerHTML"];function Em(t,n,o,a,l,i){const c=V,d=j;return e.openBlock(),e.createElementBlock("div",Im,[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",Tm,e.toDisplayString(s.name),1)):e.createCommentVNode("",!0)],10,xm)]))),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",Mm,[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,Vm)]))])}const Dm=w(Sm,[["render",Em]]),Om={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:!1}}},Lm={class:"cmd-text-block flex-container vertical"},jm={key:3},Fm=["innerHTML"];function Pm(t,n,o,a,l,i){const c=j;return e.openBlock(),e.createElementBlock("div",Lm,[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",jm,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,Fm)):e.createCommentVNode("",!0)])}const zm=w(Om,[["render",Pm]]),bf="",Am={name:"ToggleDarkMode",data(){return{darkMode:!1}},props:{styledAsButton:{type:Boolean,default:!1},iconDarkModeActivated:{default(){return{iconClass:"icon-sun",iconType:"auto",tooltip:"Activate light mode"}}},iconLightModeActivated:{default(){return{iconClass:"icon-moon",iconType:"auto",tooltip:"Activate dark mode"}}},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);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.iconDarkModeActivated.iconClass:this.iconLightModeActivated.iconClass},iconType(){return this.darkMode?this.iconDarkModeActivated.iconType:this.iconLightModeActivated.iconType},iconTooltip(){return this.darkMode?this.iconDarkModeActivated.tooltip:this.iconLightModeActivated.tooltip}},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}}},Hm={key:0};function qm(t,n,o,a,l,i){const c=V,d=Y;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",Hm,e.toDisplayString(i.labelText),1)):e.createCommentVNode("",!0),e.createVNode(c,{iconClass:i.iconClass,type:i.iconType,tooltip:i.iconTooltip},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 Rm=w(Am,[["render",qm]]),Um={data(){return{defaultMessageProperties:{"cmduploadform.no_file_to_upload":"No file selected to upload","cmduploadform.no_files_to_upload":"No files selected to upload","cmduploadform.labeltext.select_file":"Select file to upload","cmduploadform.labeltext.select_files":"Select files to upload","cmduploadform.labeltext.remove_file_from_list":"Remove file '{0}' from list","cmduploadform.labeltext.remove_all_files_from_list":"Remove all files from list","cmduploadform.labeltext.file_uploading":"file to upload","cmduploadform.labeltext.files_uploading":"files to upload","cmduploadform.labeltext.comment":"Comment:","cmduploadform.buttontext.upload_file":"Upload file","cmduploadform.buttontext.upload_files":"Upload files","cmduploadform.buttontext.cancel":"Cancel","cmduploadform.placeholder.comment":"Please type in a specific comment","cmduploadform.system_message.found_duplicate_file":"Found duplicate file (not added again)","cmduploadform.system_message.upload_success":"Upload successful","cmduploadform.system_message.upload_failed":"Upload failed","cmduploadform.system_message.fill_required":"Fill all required fields","cmduploadform.system_message.the_following_errors_occurred":"The following errors occurred!","cmduploadform.system_message.an_unknown_error_occurred":"An unknown error occurred!","cmduploadform.system_message.only_one_file_allowed":"Only one file allowed!","cmduploadform.system_message_total_size_of_files_too_large":"Total size of files too large!","cmduploadform.system_message.duplicate_file":'Duplicate file "{0}" found (not added to list again)',"cmduploadform.system_message.not_allowed_file_type":'File "{0}" has not allowed file type ({1})',"cmduploadform.system_message.all_files_are_uploaded_successfully":"All files are uploaded successfully","cmduploadform.system_message.some_files_are_not_uploaded_successfully":"Some files are not uploaded successfully","cmduploadform.system_message.file_size_too_large":'File size of "{0}" too large ({1})',"cmduploadform.headline.summary_of_all_files":"Summary of all files","cmduploadform.headline.list_of_selected_files":"List of selected files","cmduploadform.headline.select_additional_files":"Select additional files","cmduploadform.headline.select_new_file":"Chosen the wrong file? Select a new one","cmduploadform.allowed_file_types":"Allowed file types:","cmduploadform.max_total_upload_size":"Max. total upload size:","cmduploadform.max_file_upload_size":"Max. file upload size:","cmduploadform.or":"or","cmduploadform.drag_and_drop":"drag (and drop)","cmduploadform.additional":"additional","cmduploadform.new":"new","cmduploadform.files_to_this_area":"files to this area","cmduploadform.tooltip.toggle_list_of_allowed_file_types":"Toggle list of allowed file types","cmduploadform.reset_upload":"Reset upload","cmduploadform.tooltip.all_files_will_be_removed":"All files will be remove from upload-list!","cmduploadform.select_image":"Select image","cmduploadform.select_file":"Select file","cmduploadform.drag_and_drop_file_here":"Drag and drop file here","cmduploadform.max_upload_size":"Max. upload size:"}}}};function se(t){if(t){const n=t.lastIndexOf(".");if(n>-1)return t.substring(n+1)}return""}function Gm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var uo={exports:{}},We={exports:{}},ho=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)}},Qm=ho,K=Object.prototype.toString;function Je(t){return K.call(t)==="[object Array]"}function Ye(t){return typeof t>"u"}function Zm(t){return t!==null&&!Ye(t)&&t.constructor!==null&&!Ye(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Wm(t){return K.call(t)==="[object ArrayBuffer]"}function Jm(t){return typeof FormData<"u"&&t instanceof FormData}function Ym(t){var n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&t.buffer instanceof ArrayBuffer,n}function Km(t){return typeof t=="string"}function Xm(t){return typeof t=="number"}function fo(t){return t!==null&&typeof t=="object"}function Be(t){if(K.call(t)!=="[object Object]")return!1;var n=Object.getPrototypeOf(t);return n===null||n===Object.prototype}function $m(t){return K.call(t)==="[object Date]"}function vm(t){return K.call(t)==="[object File]"}function eu(t){return K.call(t)==="[object Blob]"}function po(t){return K.call(t)==="[object Function]"}function tu(t){return fo(t)&&po(t.pipe)}function ou(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}function nu(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function lu(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function Ke(t,n){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),Je(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 Xe(){var t={};function n(l,i){Be(t[i])&&Be(l)?t[i]=Xe(t[i],l):Be(l)?t[i]=Xe({},l):Je(l)?t[i]=l.slice():t[i]=l}for(var o=0,a=arguments.length;o<a;o++)Ke(arguments[o],n);return t}function iu(t,n,o){return Ke(n,function(l,i){o&&typeof l=="function"?t[i]=Qm(l,o):t[i]=l}),t}function au(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var z={isArray:Je,isArrayBuffer:Wm,isBuffer:Zm,isFormData:Jm,isArrayBufferView:Ym,isString:Km,isNumber:Xm,isObject:fo,isPlainObject:Be,isUndefined:Ye,isDate:$m,isFile:vm,isBlob:eu,isFunction:po,isStream:tu,isURLSearchParams:ou,isStandardBrowserEnv:lu,forEach:Ke,merge:Xe,extend:iu,trim:nu,stripBOM:au},v=z;function go(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var yo=function(n,o,a){if(!o)return n;var l;if(a)l=a(o);else if(v.isURLSearchParams(o))l=o.toString();else{var i=[];v.forEach(o,function(s,r){s===null||typeof s>"u"||(v.isArray(s)?r=r+"[]":s=[s],v.forEach(s,function(u){v.isDate(u)?u=u.toISOString():v.isObject(u)&&(u=JSON.stringify(u)),i.push(go(r)+"="+go(u))}))}),l=i.join("&")}if(l){var c=n.indexOf("#");c!==-1&&(n=n.slice(0,c)),n+=(n.indexOf("?")===-1?"?":"&")+l}return n},su=z;function _e(){this.handlers=[]}_e.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},_e.prototype.eject=function(n){this.handlers[n]&&(this.handlers[n]=null)},_e.prototype.forEach=function(n){su.forEach(this.handlers,function(a){a!==null&&n(a)})};var ru=_e,cu=z,du=function(n,o){cu.forEach(n,function(l,i){i!==o&&i.toUpperCase()===o.toUpperCase()&&(n[o]=l,delete n[i])})},ko=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},$e,Co;function Bo(){if(Co)return $e;Co=1;var t=ko;return $e=function(o,a,l,i,c){var d=new Error(o);return t(d,a,l,i,c)},$e}var ve,_o;function mu(){if(_o)return ve;_o=1;var t=Bo();return ve=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))},ve}var et,bo;function uu(){if(bo)return et;bo=1;var t=z;return et=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(){}}}(),et}var tt,wo;function hu(){return wo||(wo=1,tt=function(n){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(n)}),tt}var ot,No;function fu(){return No||(No=1,ot=function(n,o){return o?n.replace(/\/+$/,"")+"/"+o.replace(/^\/+/,""):n}),ot}var nt,So;function pu(){if(So)return nt;So=1;var t=hu(),n=fu();return nt=function(a,l){return a&&!t(l)?n(a,l):l},nt}var lt,Io;function gu(){if(Io)return lt;Io=1;var t=z,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 lt=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},lt}var it,xo;function yu(){if(xo)return it;xo=1;var t=z;return it=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}}(),it}var at,To;function be(){if(To)return at;To=1;function t(n){this.message=n}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,at=t,at}var st,Mo;function Vo(){if(Mo)return st;Mo=1;var t=z,n=mu(),o=uu(),a=yo,l=pu(),i=gu(),c=yu(),d=Bo(),s=we(),r=be();return st=function(u){return new Promise(function(h,y){var p=u.data,k=u.headers,C=u.responseType,I;function O(){u.cancelToken&&u.cancelToken.unsubscribe(I),u.signal&&u.signal.removeEventListener("abort",I)}t.isFormData(p)&&delete k["Content-Type"];var g=new XMLHttpRequest;if(u.auth){var T=u.auth.username||"",N=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";k.Authorization="Basic "+btoa(T+":"+N)}var x=l(u.baseURL,u.url);g.open(u.method.toUpperCase(),a(x,u.params,u.paramsSerializer),!0),g.timeout=u.timeout;function D(){if(!!g){var M="getAllResponseHeaders"in g?i(g.getAllResponseHeaders()):null,F=!C||C==="text"||C==="json"?g.responseText:g.response,P={data:F,status:g.status,statusText:g.statusText,headers:M,config:u,request:g};n(function(R){h(R),O()},function(R){y(R),O()},P),g=null}}if("onloadend"in g?g.onloadend=D:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(D)},g.onabort=function(){!g||(y(d("Request aborted",u,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(d("Network Error",u,null,g)),g=null},g.ontimeout=function(){var F=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",P=u.transitional||s.transitional;u.timeoutErrorMessage&&(F=u.timeoutErrorMessage),y(d(F,u,P.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},t.isStandardBrowserEnv()){var L=(u.withCredentials||c(x))&&u.xsrfCookieName?o.read(u.xsrfCookieName):void 0;L&&(k[u.xsrfHeaderName]=L)}"setRequestHeader"in g&&t.forEach(k,function(F,P){typeof p>"u"&&P.toLowerCase()==="content-type"?delete k[P]:g.setRequestHeader(P,F)}),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)&&(I=function(M){!g||(y(!M||M&&M.type?new r("canceled"):M),g.abort(),g=null)},u.cancelToken&&u.cancelToken.subscribe(I),u.signal&&(u.signal.aborted?I():u.signal.addEventListener("abort",I))),p||(p=null),g.send(p)})},st}var rt,Eo;function we(){if(Eo)return rt;Eo=1;var t=z,n=du,o=ko,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=Vo()),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)}),rt=d,rt}var ku=z,Cu=we(),Bu=function(n,o,a){var l=this||Cu;return ku.forEach(a,function(c){n=c.call(l,n,o)}),n},ct,Do;function Oo(){return Do||(Do=1,ct=function(n){return!!(n&&n.__CANCEL__)}),ct}var Lo=z,dt=Bu,_u=Oo(),bu=we(),wu=be();function mt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new wu("canceled")}var Nu=function(n){mt(n),n.headers=n.headers||{},n.data=dt.call(n,n.data,n.headers,n.transformRequest),n.headers=Lo.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),Lo.forEach(["delete","get","head","post","put","patch","common"],function(l){delete n.headers[l]});var o=n.adapter||bu.adapter;return o(n).then(function(l){return mt(n),l.data=dt.call(n,l.data,l.headers,n.transformResponse),l},function(l){return _u(l)||(mt(n),l&&l.response&&(l.response.data=dt.call(n,l.response.data,l.response.headers,n.transformResponse))),Promise.reject(l)})},A=z,jo=function(n,o){o=o||{};var a={};function l(m,u){return A.isPlainObject(m)&&A.isPlainObject(u)?A.merge(m,u):A.isPlainObject(u)?A.merge({},u):A.isArray(u)?u.slice():u}function i(m){if(A.isUndefined(o[m])){if(!A.isUndefined(n[m]))return l(void 0,n[m])}else return l(n[m],o[m])}function c(m){if(!A.isUndefined(o[m]))return l(void 0,o[m])}function d(m){if(A.isUndefined(o[m])){if(!A.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 A.forEach(Object.keys(n).concat(Object.keys(o)),function(u){var f=r[u]||i,h=f(u);A.isUndefined(h)&&f!==s||(a[u]=h)}),a},ut,Fo;function Po(){return Fo||(Fo=1,ut={version:"0.24.0"}),ut}var Su=Po().version,ht={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){ht[t]=function(a){return typeof a===t||"a"+(n<1?"n ":" ")+t}});var zo={};ht.transitional=function(n,o,a){function l(i,c){return"[Axios v"+Su+"] 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&&!zo[c]&&(zo[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 Iu(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 xu={assertOptions:Iu,validators:ht},Ao=z,Tu=yo,Ho=ru,qo=Nu,Ne=jo,Ro=xu,ee=Ro.validators;function re(t){this.defaults=t,this.interceptors={request:new Ho,response:new Ho}}re.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=Ne(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&&Ro.assertOptions(o,{silentJSONParsing:ee.transitional(ee.boolean),forcedJSONParsing:ee.transitional(ee.boolean),clarifyTimeoutError:ee.transitional(ee.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=[qo,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=qo(s)}catch(u){return Promise.reject(u)}for(;i.length;)c=c.then(i.shift(),i.shift());return c},re.prototype.getUri=function(n){return n=Ne(this.defaults,n),Tu(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},Ao.forEach(["delete","get","head","options"],function(n){re.prototype[n]=function(o,a){return this.request(Ne(a||{},{method:n,url:o,data:(a||{}).data}))}}),Ao.forEach(["post","put","patch"],function(n){re.prototype[n]=function(o,a,l){return this.request(Ne(l||{},{method:n,url:o,data:a}))}});var Mu=re,ft,Uo;function Vu(){if(Uo)return ft;Uo=1;var t=be();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}},ft=n,ft}var pt,Go;function Eu(){return Go||(Go=1,pt=function(n){return function(a){return n.apply(null,a)}}),pt}var gt,Qo;function Du(){return Qo||(Qo=1,gt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),gt}var Zo=z,Ou=ho,Se=Mu,Lu=jo,ju=we();function Wo(t){var n=new Se(t),o=Ou(Se.prototype.request,n);return Zo.extend(o,Se.prototype,n),Zo.extend(o,n),o.create=function(l){return Wo(Lu(t,l))},o}var U=Wo(ju);U.Axios=Se,U.Cancel=be(),U.CancelToken=Vu(),U.isCancel=Oo(),U.VERSION=Po().version,U.all=function(n){return Promise.all(n)},U.spread=Eu(),U.isAxiosError=Du(),We.exports=U,We.exports.default=U,function(t){t.exports=We.exports}(uo);const Fu=Gm(uo.exports),wf="",Pu={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[q,Um],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 se(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(se(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,se(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,se(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),Fu.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]}}}},zu={key:0},Au={key:1,class:"flex-container vertical"},Hu={key:0,class:"flex-container vertical list-files-wrapper"},qu={key:0,class:"list-of-files total-files"},Ru={class:"flex-container no-flex"},Uu=["title"],Gu={key:0,class:"progressbar"},Qu=["value","title"],Zu=e.createElementVNode("hr",null,null,-1),Wu={class:"flex-container vertical list-files-wrapper"},Ju={class:"list-of-files"},Yu=["title","onClick"],Ku={key:0,class:"progressbar"},Xu=["value","title"],$u=["title"],vu=e.createElementVNode("hr",null,null,-1),eh={class:"small"},th=["title"],oh={key:0,class:"list-of-file-extensions"},nh=["disabled"],lh={key:0},ih={key:1},ah={class:"button-wrapper no-flex"},sh=["disabled"],rh={key:0},ch={key:1},dh={key:0,class:"progressbar"},mh=["value","title"];function uh(t,n,o,a,l,i){const c=j,d=mo,s=V,r=Y;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",zu,[(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",Au,[o.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",Hu,[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",qu,[e.createElementVNode("li",Ru,[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,Uu),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",Gu,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(i.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:i.totalUploadProgress,title:i.totalBytesUploaded},null,8,Qu)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Zu])):e.createCommentVNode("",!0),e.createElementVNode("div",Wu,[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",Ju,[(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,Yu),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",Ku,[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,Xu)])):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,$u)):e.createCommentVNode("",!0),vu])])):(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",eh,[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,th),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",oh,[(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",lh,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",ih,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,nh),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",ah,[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",rh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",ch,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,sh),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",dh,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(i.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:i.totalUploadProgress,title:i.totalBytesUploaded},null,8,mh)])):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 hh=w(Pu,[["render",uh]]),Nf="",fh={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":""}}},ph=["id"],gh=["id"];function yh(t,n,o,a,l,i){const c=j;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,ph)):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,gh)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const kh=w(fh,[["render",yh]]),Ch={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!")}}},Bh={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 _h(){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}}_.CmdAddressData=Al,_.CmdBackToTopButton=Ul,_.CmdBankAccountData=Kl,_.CmdBox=eo,_.CmdBoxWrapper=ba,_.CmdBreadcrumbs=Oa,_.CmdCompanyLogo=no,_.CmdCookieDisclaimer=Zs,_.CmdCopyrightInformation=Xs,_.CmdFakeSelect=io,_.CmdFancyBox=Ti,_.CmdForm=Nr,_.CmdFormElement=Y,_.CmdFormFilters=ao,_.CmdGoogleMaps=jr,_.CmdHeadline=j,_.CmdIcon=V,_.CmdImage=$,_.CmdImageGallery=qr,_.CmdImageZoom=Kr,_.CmdInputGroup=rc,_.CmdListOfLinks=Xt,_.CmdLoginForm=Ic,_.CmdMainNavigation=co,_.CmdMultistepFormProgressBar=$c,_.CmdOpeningHours=sd,_.CmdPager=Cd,_.CmdProgressBar=Id,_.CmdSiteFooter=jd,_.CmdSiteHeader=Ad,_.CmdSiteSearch=Yd,_.CmdSlideButton=ke,_.CmdSlideshow=om,_.CmdSocialNetworks=Ed,_.CmdSwitchLanguage=dm,_.CmdSystemMessage=mo,_.CmdTable=wm,_.CmdTabs=Dm,_.CmdTextBlock=zm,_.CmdThumbnailScroller=Wt,_.CmdToggleDarkMode=Rm,_.CmdTooltip=lo,_.CmdUploadForm=hh,_.CmdWidthLimitationWrapper=kh,_.DirFocus=Ch,_.DirTelephone=Bh,_.createHtmlId=Yt,_.createUuid=Jt,_.getFileExtension=se,_.openFancyBox=Ce,_.useSequence=_h,Object.defineProperties(_,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
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},lt}var it,xo;function yu(){if(xo)return it;xo=1;var t=z;return it=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}}(),it}var at,To;function be(){if(To)return at;To=1;function t(n){this.message=n}return t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,at=t,at}var st,Mo;function Vo(){if(Mo)return st;Mo=1;var t=z,n=mu(),o=uu(),a=yo,l=pu(),i=gu(),c=yu(),d=Bo(),s=we(),r=be();return st=function(u){return new Promise(function(h,y){var p=u.data,C=u.headers,k=u.responseType,I;function O(){u.cancelToken&&u.cancelToken.unsubscribe(I),u.signal&&u.signal.removeEventListener("abort",I)}t.isFormData(p)&&delete C["Content-Type"];var g=new XMLHttpRequest;if(u.auth){var T=u.auth.username||"",N=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";C.Authorization="Basic "+btoa(T+":"+N)}var x=l(u.baseURL,u.url);g.open(u.method.toUpperCase(),a(x,u.params,u.paramsSerializer),!0),g.timeout=u.timeout;function D(){if(!!g){var M="getAllResponseHeaders"in g?i(g.getAllResponseHeaders()):null,F=!k||k==="text"||k==="json"?g.responseText:g.response,P={data:F,status:g.status,statusText:g.statusText,headers:M,config:u,request:g};n(function(R){h(R),O()},function(R){y(R),O()},P),g=null}}if("onloadend"in g?g.onloadend=D:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(D)},g.onabort=function(){!g||(y(d("Request aborted",u,"ECONNABORTED",g)),g=null)},g.onerror=function(){y(d("Network Error",u,null,g)),g=null},g.ontimeout=function(){var F=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",P=u.transitional||s.transitional;u.timeoutErrorMessage&&(F=u.timeoutErrorMessage),y(d(F,u,P.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},t.isStandardBrowserEnv()){var L=(u.withCredentials||c(x))&&u.xsrfCookieName?o.read(u.xsrfCookieName):void 0;L&&(C[u.xsrfHeaderName]=L)}"setRequestHeader"in g&&t.forEach(C,function(F,P){typeof p>"u"&&P.toLowerCase()==="content-type"?delete C[P]:g.setRequestHeader(P,F)}),t.isUndefined(u.withCredentials)||(g.withCredentials=!!u.withCredentials),k&&k!=="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)&&(I=function(M){!g||(y(!M||M&&M.type?new r("canceled"):M),g.abort(),g=null)},u.cancelToken&&u.cancelToken.subscribe(I),u.signal&&(u.signal.aborted?I():u.signal.addEventListener("abort",I))),p||(p=null),g.send(p)})},st}var rt,Eo;function we(){if(Eo)return rt;Eo=1;var t=z,n=du,o=ko,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=Vo()),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)}),rt=d,rt}var ku=z,Cu=we(),Bu=function(n,o,a){var l=this||Cu;return ku.forEach(a,function(c){n=c.call(l,n,o)}),n},ct,Do;function Oo(){return Do||(Do=1,ct=function(n){return!!(n&&n.__CANCEL__)}),ct}var Lo=z,dt=Bu,_u=Oo(),bu=we(),wu=be();function mt(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new wu("canceled")}var Nu=function(n){mt(n),n.headers=n.headers||{},n.data=dt.call(n,n.data,n.headers,n.transformRequest),n.headers=Lo.merge(n.headers.common||{},n.headers[n.method]||{},n.headers),Lo.forEach(["delete","get","head","post","put","patch","common"],function(l){delete n.headers[l]});var o=n.adapter||bu.adapter;return o(n).then(function(l){return mt(n),l.data=dt.call(n,l.data,l.headers,n.transformResponse),l},function(l){return _u(l)||(mt(n),l&&l.response&&(l.response.data=dt.call(n,l.response.data,l.response.headers,n.transformResponse))),Promise.reject(l)})},A=z,jo=function(n,o){o=o||{};var a={};function l(m,u){return A.isPlainObject(m)&&A.isPlainObject(u)?A.merge(m,u):A.isPlainObject(u)?A.merge({},u):A.isArray(u)?u.slice():u}function i(m){if(A.isUndefined(o[m])){if(!A.isUndefined(n[m]))return l(void 0,n[m])}else return l(n[m],o[m])}function c(m){if(!A.isUndefined(o[m]))return l(void 0,o[m])}function d(m){if(A.isUndefined(o[m])){if(!A.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 A.forEach(Object.keys(n).concat(Object.keys(o)),function(u){var f=r[u]||i,h=f(u);A.isUndefined(h)&&f!==s||(a[u]=h)}),a},ut,Fo;function Po(){return Fo||(Fo=1,ut={version:"0.24.0"}),ut}var Su=Po().version,ht={};["object","boolean","number","function","string","symbol"].forEach(function(t,n){ht[t]=function(a){return typeof a===t||"a"+(n<1?"n ":" ")+t}});var zo={};ht.transitional=function(n,o,a){function l(i,c){return"[Axios v"+Su+"] 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&&!zo[c]&&(zo[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 Iu(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 xu={assertOptions:Iu,validators:ht},Ao=z,Tu=yo,Ho=ru,qo=Nu,Ne=jo,Ro=xu,ee=Ro.validators;function re(t){this.defaults=t,this.interceptors={request:new Ho,response:new Ho}}re.prototype.request=function(n){typeof n=="string"?(n=arguments[1]||{},n.url=arguments[0]):n=n||{},n=Ne(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&&Ro.assertOptions(o,{silentJSONParsing:ee.transitional(ee.boolean),forcedJSONParsing:ee.transitional(ee.boolean),clarifyTimeoutError:ee.transitional(ee.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=[qo,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=qo(s)}catch(u){return Promise.reject(u)}for(;i.length;)c=c.then(i.shift(),i.shift());return c},re.prototype.getUri=function(n){return n=Ne(this.defaults,n),Tu(n.url,n.params,n.paramsSerializer).replace(/^\?/,"")},Ao.forEach(["delete","get","head","options"],function(n){re.prototype[n]=function(o,a){return this.request(Ne(a||{},{method:n,url:o,data:(a||{}).data}))}}),Ao.forEach(["post","put","patch"],function(n){re.prototype[n]=function(o,a,l){return this.request(Ne(l||{},{method:n,url:o,data:a}))}});var Mu=re,ft,Uo;function Vu(){if(Uo)return ft;Uo=1;var t=be();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}},ft=n,ft}var pt,Go;function Eu(){return Go||(Go=1,pt=function(n){return function(a){return n.apply(null,a)}}),pt}var gt,Qo;function Du(){return Qo||(Qo=1,gt=function(n){return typeof n=="object"&&n.isAxiosError===!0}),gt}var Zo=z,Ou=ho,Se=Mu,Lu=jo,ju=we();function Wo(t){var n=new Se(t),o=Ou(Se.prototype.request,n);return Zo.extend(o,Se.prototype,n),Zo.extend(o,n),o.create=function(l){return Wo(Lu(t,l))},o}var U=Wo(ju);U.Axios=Se,U.Cancel=be(),U.CancelToken=Vu(),U.isCancel=Oo(),U.VERSION=Po().version,U.all=function(n){return Promise.all(n)},U.spread=Eu(),U.isAxiosError=Du(),We.exports=U,We.exports.default=U,function(t){t.exports=We.exports}(uo);const Fu=Gm(uo.exports),wf="",Pu={name:"CmdUploadForm",emits:["click","error","upload-complete","upload-file-success"],mixins:[q,Um],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 se(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(se(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,se(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,se(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),Fu.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]}}}},zu={key:0},Au={key:1,class:"flex-container vertical"},Hu={key:0,class:"flex-container vertical list-files-wrapper"},qu={key:0,class:"list-of-files total-files"},Ru={class:"flex-container no-flex"},Uu=["title"],Gu={key:0,class:"progressbar"},Qu=["value","title"],Zu=e.createElementVNode("hr",null,null,-1),Wu={class:"flex-container vertical list-files-wrapper"},Ju={class:"list-of-files"},Yu=["title","onClick"],Ku={key:0,class:"progressbar"},Xu=["value","title"],$u=["title"],vu=e.createElementVNode("hr",null,null,-1),eh={class:"small"},th=["title"],oh={key:0,class:"list-of-file-extensions"},nh=["disabled"],lh={key:0},ih={key:1},ah={class:"button-wrapper no-flex"},sh=["disabled"],rh={key:0},ch={key:1},dh={key:0,class:"progressbar"},mh=["value","title"];function uh(t,n,o,a,l,i){const c=j,d=mo,s=V,r=Y;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",zu,[(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",Au,[o.showTotalUpload&&l.listOfFiles.length!==1?(e.openBlock(),e.createElementBlock("div",Hu,[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",qu,[e.createElementVNode("li",Ru,[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,Uu),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",Gu,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(i.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:i.totalUploadProgress,title:i.totalBytesUploaded},null,8,Qu)])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),Zu])):e.createCommentVNode("",!0),e.createElementVNode("div",Wu,[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",Ju,[(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,Yu),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",Ku,[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,Xu)])):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,$u)):e.createCommentVNode("",!0),vu])])):(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",eh,[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,th),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[l.showListOfFileExtensions?(e.openBlock(),e.createElementBlock("ul",oh,[(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",lh,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_files")),1)):(e.openBlock(),e.createElementBlock("span",ih,e.toDisplayString(t.getMessage("cmduploadform.labeltext.select_file")),1))],10,nh),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",ah,[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",rh,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_file")),1)):(e.openBlock(),e.createElementBlock("span",ch,e.toDisplayString(t.getMessage("cmduploadform.buttontext.upload_files")),1))],10,sh),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",dh,[e.createElementVNode("span",null,e.toDisplayString(i.getPercentage(i.totalUploadProgress)),1),e.createElementVNode("progress",{max:"100",value:i.totalUploadProgress,title:i.totalBytesUploaded},null,8,mh)])):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 hh=w(Pu,[["render",uh]]),Nf="",fh={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":""}}},ph=["id"],gh=["id"];function yh(t,n,o,a,l,i){const c=j;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,ph)):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,gh)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"default")],64))],2)}const kh=w(fh,[["render",yh]]),Ch={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!")}}},Bh={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 _h(){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}}_.CmdAddressData=Al,_.CmdBackToTopButton=Ul,_.CmdBankAccountData=Kl,_.CmdBox=eo,_.CmdBoxWrapper=ba,_.CmdBreadcrumbs=Oa,_.CmdCompanyLogo=no,_.CmdCookieDisclaimer=Zs,_.CmdCopyrightInformation=Xs,_.CmdFakeSelect=io,_.CmdFancyBox=Ti,_.CmdForm=Nr,_.CmdFormElement=Y,_.CmdFormFilters=ao,_.CmdGoogleMaps=jr,_.CmdHeadline=j,_.CmdIcon=V,_.CmdImage=$,_.CmdImageGallery=qr,_.CmdImageZoom=Kr,_.CmdInputGroup=rc,_.CmdListOfLinks=Xt,_.CmdLoginForm=Ic,_.CmdMainNavigation=co,_.CmdMultistepFormProgressBar=$c,_.CmdOpeningHours=sd,_.CmdPager=Cd,_.CmdProgressBar=Id,_.CmdSiteFooter=jd,_.CmdSiteHeader=Ad,_.CmdSiteSearch=Yd,_.CmdSlideButton=ke,_.CmdSlideshow=om,_.CmdSocialNetworks=Ed,_.CmdSwitchLanguage=dm,_.CmdSystemMessage=mo,_.CmdTable=wm,_.CmdTabs=Dm,_.CmdTextBlock=zm,_.CmdThumbnailScroller=Wt,_.CmdToggleDarkMode=Rm,_.CmdTooltip=lo,_.CmdUploadForm=hh,_.CmdWidthLimitationWrapper=kh,_.DirFocus=Ch,_.DirTelephone=Bh,_.createHtmlId=Yt,_.createUuid=Jt,_.getFileExtension=se,_.openFancyBox=Ce,_.useSequence=_h,Object.defineProperties(_,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|